1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,920932,e=>{"use strict";var t=e.i(876387),r=e.i(828420),n=e.i(776639),o=e.i(520133),a=e.i(77607),l=e.i(26048),i=e.i(290897),s=e.i(270428);e.s(["LoginWrapper",0,({children:e,mode:d="redirect",callbackUrl:c,beforeOpen:u,variant:p,open:f,onOpenChange:m})=>{let g=(0,i.useTranslations)("AuthPage.login"),h=(0,o.useLocaleRouter)(),[v,x]=(0,l.useState)(!1),[y,w]=(0,l.useState)(!1),[b,S]=(0,l.useState)(!1),C=void 0!==f,j=e=>{C||w(e),m?.(e)};(0,l.useEffect)(()=>{x(!0)},[]);let k=async()=>{if(!b){S(!0);try{await u?.(),j(!0)}finally{S(!1)}}};return v?"modal"===d?(0,t.jsxs)(n.Dialog,{open:C?f:y,onOpenChange:j,children:[e&&(0,t.jsx)("span",{className:"contents",onClick:()=>void k(),"aria-busy":b,children:e}),(0,t.jsxs)(n.DialogContent,{className:`p-0 sm:max-w-[484px] ${s.default.dialog}`,children:[(0,t.jsxs)(n.DialogHeader,{className:"sr-only",children:[(0,t.jsx)(n.DialogTitle,{children:g("title")}),(0,t.jsx)(n.DialogDescription,{children:g("description")})]}),(0,t.jsx)(r.LoginForm,{callbackUrl:c,variant:p,surface:"dialog"})]})]}):(0,t.jsx)("span",{onClick:()=>{let e=c?`${a.Routes.Login}?callbackUrl=${encodeURIComponent(c)}`:`${a.Routes.Login}`;h.push(e)},className:"cursor-pointer",children:e}):(0,t.jsx)(t.Fragment,{children:e??null})}])},776639,e=>{"use strict";var t=e.i(876387),r=e.i(552454),n=e.i(975157),o=e.i(519455),a=e.i(276344);function l({...e}){return(0,t.jsx)(r.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function i({className:e,...o}){return(0,t.jsx)(r.Dialog.Overlay,{"data-slot":"dialog-overlay",className:(0,n.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...o})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(r.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(l,{children:[(0,t.jsx)(i,{}),(0,t.jsxs)(r.Dialog.Content,{"data-slot":"dialog-content",className:(0,n.cn)("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-background p-4 text-sm ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...c,children:[s,d&&(0,t.jsx)(r.Dialog.Close,{"data-slot":"dialog-close",asChild:!0,children:(0,t.jsxs)(o.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm",children:[(0,t.jsx)(a.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...o}){return(0,t.jsx)(r.Dialog.Description,{"data-slot":"dialog-description",className:(0,n.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...o})},"DialogFooter",0,function({className:e,showCloseButton:a=!1,children:l,...i}){return(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),...i,children:[l,a&&(0,t.jsx)(r.Dialog.Close,{asChild:!0,children:(0,t.jsx)(o.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2",e),...r})},"DialogTitle",0,function({className:e,...o}){return(0,t.jsx)(r.Dialog.Title,{"data-slot":"dialog-title",className:(0,n.cn)("text-base leading-none font-medium",e),...o})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(r.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},547885,e=>{"use strict";let t=(0,e.i(126297).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},360918,e=>{"use strict";let t=(0,e.i(126297).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},312891,e=>{"use strict";let t=(0,e.i(126297).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["default",0,t])},276355,e=>{"use strict";let t=(0,e.i(126297).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,t])},459843,e=>{"use strict";var t=e.i(876387),r=e.i(920932),n=e.i(336845),o=e.i(77607),a=e.i(568571);e.s(["GuestUpgradeLogin",0,function({children:e,open:l,onOpenChange:i}){let s=(0,a.useLocale)(),d=(0,n.getPathWithLocale)(`${o.Routes.Upgrade}/start`,s),c=(0,n.getPathWithLocale)(`${o.Routes.Upgrade}/complete`,s),u=async()=>{if(!(await fetch(d,{credentials:"same-origin"})).ok)throw Error("Unable to prepare guest planbook upgrade")};return(0,t.jsx)(r.LoginWrapper,{mode:"modal",beforeOpen:u,callbackUrl:c,variant:"upgrade",open:l,onOpenChange:i,children:e})}])},12687,e=>{"use strict";var t=e.i(26048),r=e.i(291967),n=e.i(991577),o=e.i(384517),a=e.i(800683),l=e.i(323453),i=e.i(827548),s=e.i(712402),d=e.i(545632),c=e.i(876387),u="Collapsible",[p,f]=(0,n.createContextScope)(u),[m,g]=p(u),h=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:a,defaultOpen:l,disabled:s,onOpenChange:p,...f}=e,[g,h]=(0,o.useControllableState)({prop:a,defaultProp:l??!1,onChange:p,caller:u});return(0,c.jsx)(m,{scope:n,disabled:s,contentId:(0,d.useId)(),open:g,onOpenToggle:t.useCallback(()=>h(e=>!e),[h]),children:(0,c.jsx)(i.Primitive.div,{"data-state":S(g),"data-disabled":s?"":void 0,...f,ref:r})})});h.displayName=u;var v="CollapsibleTrigger",x=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...o}=e,a=g(v,n);return(0,c.jsx)(i.Primitive.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":S(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...o,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,a.onOpenToggle)})});x.displayName=v;var y="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=g(y,e.__scopeCollapsible);return(0,c.jsx)(s.Presence,{present:r||o.open,children:({present:e})=>(0,c.jsx)(b,{...n,ref:t,present:e})})});w.displayName=y;var b=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:o,children:s,...d}=e,u=g(y,n),[p,f]=t.useState(o),m=t.useRef(null),h=(0,l.useComposedRefs)(r,m),v=t.useRef(0),x=v.current,w=t.useRef(0),b=w.current,C=u.open||p,j=t.useRef(C),k=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,a.useLayoutEffect)(()=>{let e=m.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,w.current=t.width,j.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),f(o)}},[u.open,o]),(0,c.jsx)(i.Primitive.div,{"data-state":S(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!C,...d,ref:h,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:C&&s})});function S(e){return e?"open":"closed"}e.s(["Collapsible",0,h,"CollapsibleContent",0,w,"CollapsibleTrigger",0,x,"Content",0,w,"Root",0,h,"Trigger",0,x,"createCollapsibleScope",0,f])},194126,e=>{"use strict";var t=e.i(26048);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])}])},240099,283633,e=>{"use strict";var t=e.i(547885);e.s(["ChevronDownIcon",()=>t.default],240099);var r=e.i(360918);e.s(["ChevronUpIcon",()=>r.default],283633)},967489,e=>{"use strict";var t=e.i(876387),r=e.i(26048),n=e.i(990434);function o(e,[t,r]){return Math.min(r,Math.max(t,e))}var a=e.i(291967),l=e.i(128352),i=e.i(323453),s=e.i(991577),d=e.i(527840),c=e.i(455038),u=e.i(375986),p=e.i(471808),f=e.i(545632),m=e.i(460120),g=e.i(471854),h=e.i(827548),v=e.i(157967),x=e.i(258167),y=e.i(384517),w=e.i(800683),b=e.i(194126),S=e.i(71394),C=e.i(73772),j=e.i(2228),k=[" ","Enter","ArrowUp","ArrowDown"],I=[" ","Enter"],R="Select",[D,P,E]=(0,l.createCollection)(R),[T,N]=(0,s.createContextScope)(R,[E,m.createPopperScope]),L=(0,m.createPopperScope)(),[H,z]=T(R),[M,A]=T(R),_=e=>{let{__scopeSelect:n,children:o,open:a,defaultOpen:l,onOpenChange:i,value:s,defaultValue:c,onValueChange:u,dir:p,name:g,autoComplete:h,disabled:v,required:x,form:w}=e,b=L(n),[S,C]=r.useState(null),[j,k]=r.useState(null),[I,P]=r.useState(!1),E=(0,d.useDirection)(p),[T,N]=(0,y.useControllableState)({prop:a,defaultProp:l??!1,onChange:i,caller:R}),[z,A]=(0,y.useControllableState)({prop:s,defaultProp:c,onChange:u,caller:R}
1),_=r.useRef(null),U=!S||w||!!S.closest("form"),[B,V]=r.useState(new Set),O=Array.from(B).map(e=>e.props.value).join(";");return(0,t.jsx)(m.Root,{...b,children:(0,t.jsxs)(H,{required:x,scope:n,trigger:S,onTriggerChange:C,valueNode:j,onValueNodeChange:k,valueNodeHasChildren:I,onValueNodeHasChildrenChange:P,contentId:(0,f.useId)(),value:z,onValueChange:A,open:T,onOpenChange:N,dir:E,triggerPointerDownPosRef:_,disabled:v,children:[(0,t.jsx)(D.Provider,{scope:n,children:(0,t.jsx)(M,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{V(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{V(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:o})}),U?(0,t.jsxs)(ek,{"aria-hidden":!0,required:x,tabIndex:-1,name:g,autoComplete:h,value:z,onChange:e=>A(e.target.value),disabled:v,form:w,children:[void 0===z?(0,t.jsx)("option",{value:""}):null,Array.from(B)]},O):null]})})};_.displayName=R;var U="SelectTrigger",B=r.forwardRef((e,n)=>{let{__scopeSelect:o,disabled:l=!1,...s}=e,d=L(o),c=z(U,o),u=c.disabled||l,p=(0,i.useComposedRefs)(n,c.onTriggerChange),f=P(o),g=r.useRef("touch"),[v,x,y]=eR(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===c.value),n=eD(t,e,r);void 0!==n&&c.onValueChange(n.value)}),w=e=>{u||(c.onOpenChange(!0),y()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,t.jsx)(m.Anchor,{asChild:!0,...d,children:(0,t.jsx)(h.Primitive.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":eI(c.value)?"":void 0,...s,ref:p,onClick:(0,a.composeEventHandlers)(s.onClick,e=>{e.currentTarget.focus(),"mouse"!==g.current&&w(e)}),onPointerDown:(0,a.composeEventHandlers)(s.onPointerDown,e=>{g.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,a.composeEventHandlers)(s.onKeyDown,e=>{let t=""!==v.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),(!t||" "!==e.key)&&k.includes(e.key)&&(w(),e.preventDefault())})})})});B.displayName=U;var V="SelectValue",O=r.forwardRef((e,r)=>{let{__scopeSelect:n,className:o,style:a,children:l,placeholder:s="",...d}=e,c=z(V,n),{onValueNodeHasChildrenChange:u}=c,p=void 0!==l,f=(0,i.useComposedRefs)(r,c.onValueNodeChange);return(0,w.useLayoutEffect)(()=>{u(p)},[u,p]),(0,t.jsx)(h.Primitive.span,{...d,ref:f,style:{pointerEvents:"none"},children:eI(c.value)?(0,t.jsx)(t.Fragment,{children:s}):l})});O.displayName=V;var F=r.forwardRef((e,r)=>{let{__scopeSelect:n,children:o,...a}=e;return(0,t.jsx)(h.Primitive.span,{"aria-hidden":!0,...a,ref:r,children:o||"â¼"})});F.displayName="SelectIcon";var K=e=>(0,t.jsx)(g.Portal,{asChild:!0,...e});K.displayName="SelectPortal";var W="SelectContent",$=r.forwardRef((e,o)=>{let a=z(W,e.__scopeSelect),[l,i]=r.useState();return((0,w.useLayoutEffect)(()=>{i(new DocumentFragment)},[]),a.open)?(0,t.jsx)(X,{...e,ref:o}):l?n.createPortal((0,t.jsx)(q,{scope:e.__scopeSelect,children:(0,t.jsx)(D.Slot,{scope:e.__scopeSelect,children:(0,t.jsx)("div",{children:e.children})})}),l):null});$.displayName=W;var[q,G]=T(W),Y=(0,v.createSlot)("SelectContent.RemoveScroll"),X=r.forwardRef((e,n)=>{let{__scopeSelect:o,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:d,onPointerDownOutside:f,side:m,sideOffset:g,align:h,alignOffset:v,arrowPadding:x,collisionBoundary:y,collisionPadding:w,sticky:b,hideWhenDetached:S,avoidCollisions:k,...I}=e,R=z(W,o),[D,E]=r.useState(null),[T,N]=r.useState(null),L=(0,i.useComposedRefs)(n,e=>E(e)),[H,M]=r.useState(null),[A,_]=r.useState(null),U=P(o),[B,V]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{if(D)return(0,C.hideOthers)(D)},[D]),(0,u.useFocusGuards)();let F=r.useCallback(e=>{let[t,...r]=U().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(r?.scrollIntoView({block:"nearest"}),r===t&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),r?.focus(),document.activeElement!==o))return},[U,T]),K=r.useCallback(()=>F([H,D]),[F,H,D]);r.useEffect(()=>{B&&K()},[B,K]);let{onOpenChange:$,triggerPointerDownPosRef:G}=R;r.useEffect(()=>{if(D){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(G.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(G.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():D.contains(r.target)||$(!1),document.removeEventListener("pointermove",t),G.current=null};return null!==G.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[D,$,G]),r.useEffect(()=>{let e=()=>$(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[$]);let[X,Q]=eR(e=>{let t=U().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eD(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),ee=r.useCallback((e,t,r)=>{let n=!O.current&&!r;(void 0!==R.value&&R.value===t||n)&&(M(e),n&&(O.current=!0))},[R.value]),et=r.useCallback(()=>D?.focus(),[D]),er=r.useCallback((e,t,r)=>{let n=!O.current&&!r;(void 0!==R.value&&R.value===t||n)&&_(e)},[R.value]),en="popper"===l?J:Z,eo=en===J?{side:m,sideOffset:g,align:h,alignOffset:v,arrowPadding:x,collisionBoundary:y,collisionPadding:w,sticky:b,hideWhenDetached:S,avoidCollisions:k}:{};return(0,t.jsx)(q,{scope:o,content:D,viewport:T,onViewportChange:N,itemRefCallback:ee,selectedItem:H,onItemLeave:et,itemTextRefCallback:er,focusSelectedItem:K,selectedItemText:A,position:l,isPositioned:B,searchRef:X,children:(0,t.jsx)(j.RemoveScroll,{as:Y,allowPinchZoom:!0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.composeEventHandlers)(s,e=>{R.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,t.jsx)(en,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...I,...eo,onPlaced:()=>V(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...I.style},onKeyDown:(0,a.composeEventHandlers)(I.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=U().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});X.displayName="SelectContentImpl";var Z=r.forwardRef((e,n)=>{let{__scopeSelect:a,onPlaced:l,...s}=e,d=z(W,a),c=G(W,a),[u,p]=r.useState(null),[f,m]=r.useState(null),g=(0,i.useComposedRefs)(n,e=>m(e)),v=P(a),x=r.useRef(!1),y=r.useRef(!0),{viewport:b,selectedItem:S,selectedItemText:C,focusSelectedItem:j}=c,k=r.useCallback(()=>{if(d.trigger&&d.valueNode&&u&&f&&b&&S&&C){let e=d.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),r=d.valueNode.getBoundingClientRect(),n=C.getBoundingClientRect();if("rtl"!==d.dir){let a=n.left-t.left,l=r.left-a,i=e.left-l,s=e.width+i,d=Math.max(s,t.width),c=o(l,[10,Math.max(10,window.innerWidth-10-d)]);u.style.minWidth=s+"px",u.style.left=c+"px"}else{let a=t.right-n.right,l=window.innerWidth-r.right-a,i=window.innerWidth-e.right-l,s=e.width+i,d=Math.max(s,t.width),c=o(l,[10,Math.max(10,window.innerWidth-10-d)]);u.style.minWidth=s+"px",u.style.right=c+"px"}let a=v(),i=window.innerHeight-20,s=b.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),m=parseInt(c.paddingTop,10),g=parseInt(c.borderBottomWidth,10),h=p+m+s+parseInt(c.paddingBottom,10)+g,y=Math.min(5*S.offsetHeight,h),w=window.getComputedStyle(b),j=parseInt(w.paddingTop,10),k=parseInt(w.paddingBottom,10),I=e.top+e.height/2-10,R=S.offsetHeight/2,D=p+m+(S.offsetTop+R);if(D<=I){let e=a.length>0&&S===a[a.length-1].ref.current;u.style.bottom="0px";let t=Math.max(i-I,R+(e?k:0)+(f.clientHeight-b.offsetTop-b.offsetHeight)+g);u.style.height=D+t+"px"}else{let e=a.length>0&&S===a[0].ref.current;u.style.top="0px";let t=Math.max(I,p+b.offsetTop+(e?j:0)+R);u.style.height=t+(h-D)+"px",b.scrollTop=D-I+b.offsetTop}u.style.margin="10px 0",u.style.minHeight=y+"px",u.style.maxHeight=i+"px",l?.(),requestAnimationFrame(()=>x.current=!0)}},[v,d.trigger,d.valueNode,u,f,b,S,C,d.dir,l]);(0,w.useLayoutEffect)(()=>k(),[k]);let[I,R]=r.useState();(0,w.useLayoutEffect)(()=>{f&&R(window.getComputedStyle(f).zIndex)},[f]);let D=r.useCallback(e=>{e&&!0===y.current&&(k(),j?.(),y.current=!1)},[k,j]);return(0,t.jsx)(Q,{scope:a,contentWrapper:u,shouldExpandOnScrollRef:x,onScrollButtonChange:D,children:(0,t.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:I},children:(0,t.jsx)(h.Primitive.div,{...s,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});Z.displayName="SelectItemAlignedPosition";var J=r.forwardRef((e,r)=>{let{__scopeSelect:n,align:o="start",collisionPadding:a=10,...l}=e,i=L(n);return(0,t.jsx)(m.Content,{...i,...l,ref:r,align:o,collisionPadding:a,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});J.displayName="SelectPopperPosition";var[Q,ee]=T(W,{}),et="SelectViewport",er=r.forwardRef((e,n)=>{let{__scopeSelect:o,nonce:l,...s}=e,d=G(et,o),c=ee(et,o),u=(0,i.useComposedRefs)(n,d.onViewportChange),p=r.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,t.jsx)(D.Slot,{scope:o,children:(0,t.jsx)(h.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:(0,a.composeEventHandlers)(s.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=c;if(n?.current&&r){let e=Math.abs(p.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let a=o+e,l=Math.min(n,a),i=a-l;r.style.height=l+"px","0px"===r.style.bottom&&(t.scrollTop=i>0?i:0,r.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});er.displayName=et;var en="SelectGroup",[eo,ea]=T(en),el=r.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,a=(0,f.useId)();return(0,t.jsx)(eo,{scope:n,id:a,children:(0,t.jsx)(h.Primitive.div,{role:"group","aria-labelledby":a,...o,ref:r})})});el.displayName=en;var ei="SelectLabel",es=r.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,a=ea(ei,n);return(0,t.jsx)(h.Primitive.div,{id:a.id,...o,ref:r})});es.displayName=ei;
1var ed="SelectItem",[ec,eu]=T(ed),ep=r.forwardRef((e,n)=>{let{__scopeSelect:o,value:l,disabled:s=!1,textValue:d,...c}=e,u=z(ed,o),p=G(ed,o),m=u.value===l,[g,v]=r.useState(d??""),[x,y]=r.useState(!1),w=(0,i.useComposedRefs)(n,e=>p.itemRefCallback?.(e,l,s)),b=(0,f.useId)(),S=r.useRef("touch"),C=()=>{s||(u.onValueChange(l),u.onOpenChange(!1))};if(""===l)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,t.jsx)(ec,{scope:o,value:l,disabled:s,textId:b,isSelected:m,onItemTextChange:r.useCallback(e=>{v(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(D.ItemSlot,{scope:o,value:l,disabled:s,textValue:g,children:(0,t.jsx)(h.Primitive.div,{role:"option","aria-labelledby":b,"data-highlighted":x?"":void 0,"aria-selected":m&&x,"data-state":m?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:w,onFocus:(0,a.composeEventHandlers)(c.onFocus,()=>y(!0)),onBlur:(0,a.composeEventHandlers)(c.onBlur,()=>y(!1)),onClick:(0,a.composeEventHandlers)(c.onClick,()=>{"mouse"!==S.current&&C()}),onPointerUp:(0,a.composeEventHandlers)(c.onPointerUp,()=>{"mouse"===S.current&&C()}),onPointerDown:(0,a.composeEventHandlers)(c.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:(0,a.composeEventHandlers)(c.onPointerMove,e=>{S.current=e.pointerType,s?p.onItemLeave?.():"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.composeEventHandlers)(c.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,a.composeEventHandlers)(c.onKeyDown,e=>{(p.searchRef?.current===""||" "!==e.key)&&(I.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});ep.displayName=ed;var ef="SelectItemText",em=r.forwardRef((e,o)=>{let{__scopeSelect:a,className:l,style:s,...d}=e,c=z(ef,a),u=G(ef,a),p=eu(ef,a),f=A(ef,a),[m,g]=r.useState(null),v=(0,i.useComposedRefs)(o,e=>g(e),p.onItemTextChange,e=>u.itemTextRefCallback?.(e,p.value,p.disabled)),x=m?.textContent,y=r.useMemo(()=>(0,t.jsx)("option",{value:p.value,disabled:p.disabled,children:x},p.value),[p.disabled,p.value,x]),{onNativeOptionAdd:b,onNativeOptionRemove:S}=f;return(0,w.useLayoutEffect)(()=>(b(y),()=>S(y)),[b,S,y]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Primitive.span,{id:p.textId,...d,ref:v}),p.isSelected&&c.valueNode&&!c.valueNodeHasChildren?n.createPortal(d.children,c.valueNode):null]})});em.displayName=ef;var eg="SelectItemIndicator",eh=r.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e;return eu(eg,n).isSelected?(0,t.jsx)(h.Primitive.span,{"aria-hidden":!0,...o,ref:r}):null});eh.displayName=eg;var ev="SelectScrollUpButton",ex=r.forwardRef((e,n)=>{let o=G(ev,e.__scopeSelect),a=ee(ev,e.__scopeSelect),[l,s]=r.useState(!1),d=(0,i.useComposedRefs)(n,a.onScrollButtonChange);return(0,w.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){s(t.scrollTop>0)},t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),l?(0,t.jsx)(eb,{...e,ref:d,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ex.displayName=ev;var ey="SelectScrollDownButton",ew=r.forwardRef((e,n)=>{let o=G(ey,e.__scopeSelect),a=ee(ey,e.__scopeSelect),[l,s]=r.useState(!1),d=(0,i.useComposedRefs)(n,a.onScrollButtonChange);return(0,w.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)},t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),l?(0,t.jsx)(eb,{...e,ref:d,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ew.displayName=ey;var eb=r.forwardRef((e,n)=>{let{__scopeSelect:o,onAutoScroll:l,...i}=e,s=G("SelectScrollButton",o),d=r.useRef(null),c=P(o),u=r.useCallback(()=>{null!==d.current&&(window.clearInterval(d.current),d.current=null)},[]);return r.useEffect(()=>()=>u(),[u]),(0,w.useLayoutEffect)(()=>{let e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,t.jsx)(h.Primitive.div,{"aria-hidden":!0,...i,ref:n,style:{flexShrink:0,...i.style},onPointerDown:(0,a.composeEventHandlers)(i.onPointerDown,()=>{null===d.current&&(d.current=window.setInterval(l,50))}),onPointerMove:(0,a.composeEventHandlers)(i.onPointerMove,()=>{s.onItemLeave?.(),null===d.current&&(d.current=window.setInterval(l,50))}),onPointerLeave:(0,a.composeEventHandlers)(i.onPointerLeave,()=>{u()})})}),eS=r.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e;return(0,t.jsx)(h.Primitive.div,{"aria-hidden":!0,...o,ref:r})});eS.displayName="SelectSeparator";var eC="SelectArrow",ej=r.forwardRef((e,r)=>{let{__scopeSelect:n,...o}=e,a=L(n),l=z(eC,n),i=G(eC,n);return l.open&&"popper"===i.position?(0,t.jsx)(m.Arrow,{...a,...o,ref:r}):null});ej.displayName=eC;var ek=r.forwardRef(({__scopeSelect:e,value:n,...o},a)=>{let l=r.useRef(null),s=(0,i.useComposedRefs)(a,l),d=(0,b.usePrevious)(n);return r.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(d!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[d,n]),(0,t.jsx)(h.Primitive.select,{...o,style:{...S.VISUALLY_HIDDEN_STYLES,...o.style},ref:s,defaultValue:n})});function eI(e){return""===e||void 0===e}function eR(e){let t=(0,x.useCallbackRef)(e),n=r.useRef(""),o=r.useRef(0),a=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),l=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,a,l]}function eD(e,t,r){var n,o;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=r?e.indexOf(r):-1,i=(n=e,o=Math.max(l,0),n.map((e,t)=>n[(o+t)%n.length]));1===a.length&&(i=i.filter(e=>e!==r));let s=i.find(e=>e.textValue.toLowerCase().startsWith(a.toLowerCase()));return s!==r?s:void 0}ek.displayName="SelectBubbleInput",e.s(["Arrow",0,ej,"Content",0,$,"Group",0,el,"Icon",0,F,"Item",0,ep,"ItemIndicator",0,eh,"ItemText",0,em,"Label",0,es,"Portal",0,K,"Root",0,_,"ScrollDownButton",0,ew,"ScrollUpButton",0,ex,"Select",0,_,"SelectArrow",0,ej,"
1SelectContent",0,$,"SelectGroup",0,el,"SelectIcon",0,F,"SelectItem",0,ep,"SelectItemIndicator",0,eh,"SelectItemText",0,em,"SelectLabel",0,es,"SelectPortal",0,K,"SelectScrollDownButton",0,ew,"SelectScrollUpButton",0,ex,"SelectSeparator",0,eS,"SelectTrigger",0,B,"SelectValue",0,O,"SelectViewport",0,er,"Separator",0,eS,"Trigger",0,B,"Value",0,O,"Viewport",0,er,"createSelectScope",0,N],494008);var eP=e.i(494008),eP=eP,eE=e.i(975157),eT=e.i(240099),eN=e.i(794846),eL=e.i(283633);function eH({className:e,...r}){return(0,t.jsx)(eP.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,eE.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...r,children:(0,t.jsx)(eL.ChevronUpIcon,{})})}function ez({className:e,...r}){return(0,t.jsx)(eP.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,eE.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...r,children:(0,t.jsx)(eT.ChevronDownIcon,{})})}e.s(["Select",0,function({...e}){return(0,t.jsx)(eP.Root,{"data-slot":"select",...e})},"SelectContent",0,function({className:e,children:r,position:n="item-aligned",align:o="center",...a}){return(0,t.jsx)(eP.Portal,{children:(0,t.jsxs)(eP.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===n,className:(0,eE.cn)("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,align:o,...a,children:[(0,t.jsx)(eH,{}),(0,t.jsx)(eP.Viewport,{"data-position":n,className:(0,eE.cn)("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===n&&""),children:r}),(0,t.jsx)(ez,{})]})})},"SelectItem",0,function({className:e,children:r,...n}){return(0,t.jsxs)(eP.Item,{"data-slot":"select-item",className:(0,eE.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[(0,t.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,t.jsx)(eP.ItemIndicator,{children:(0,t.jsx)(eN.CheckIcon,{className:"pointer-events-none"})})}),(0,t.jsx)(eP.ItemText,{children:r})]})},"SelectTrigger",0,function({className:e,size:r="default",children:n,...o}){return(0,t.jsxs)(eP.Trigger,{"data-slot":"select-trigger","data-size":r,className:(0,eE.cn)("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[n,(0,t.jsx)(eP.Icon,{asChild:!0,children:(0,t.jsx)(eT.ChevronDownIcon,{className:"pointer-events-none size-4 text-muted-foreground"})})]})},"SelectValue",0,function({...e}){return(0,t.jsx)(eP.Value,{"data-slot":"select-value",...e})}],967489)},911183,e=>{"use strict";function t(e){return!0===e.isAnonymous}e.s(["canUsePlanner",0,function(e){return t(e)||e.emailVerified},"isAnonymousUser",0,t])},782408,e=>{"use strict";let t=(0,e.i(126297).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}
1],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["User2Icon",0,t],782408)},225123,e=>{"use strict";var t=e.i(876387),r=e.i(975157),n=e.i(782408);e.s(["UserAvatar",0,function({name:e,image:o,className:a,...l}){return(0,t.jsxs)("div",{className:(0,r.cn)("relative flex size-8 shrink-0 overflow-hidden rounded-full bg-muted",a),...l,children:[(0,t.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center",children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsx)(n.User2Icon,{className:"size-4"})]}),o&&(0,t.jsx)("img",{alt:e,title:e,src:o,className:"absolute inset-0 size-full object-cover",loading:"lazy",onLoad:e=>{let t=e.currentTarget.previousElementSibling;t&&(t.style.opacity="0")},onError:e=>{let t=e.currentTarget.previousElementSibling;t&&(t.style.opacity="1"),e.currentTarget.style.display="none"}})]})}])},169648,e=>{"use strict";let t=(0,e.i(126297).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCardIcon",0,t],169648)},959411,e=>{"use strict";let t=(0,e.i(126297).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboardIcon",0,t],959411)},686253,e=>{"use strict";var t=e.i(312891);e.s(["Settings2Icon",()=>t.default])},855194,e=>{"use strict";var t=e.i(276355);e.s(["SparklesIcon",()=>t.default])},4900,e=>{"use strict";let t=(0,e.i(126297).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["default",0,t])},249788,e=>{e.v(t=>Promise.all(["static/chunks/0px3rufix15c8.js"].map(t=>e.l(t))).then(()=>t(16371)))}]);
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.