1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86163,e=>{"use strict";e.s(["HashLink",()=>o,"default",()=>a]);var t=e.i(30527),n=e.i(64254),r=e.i(71837);let o=e=>{let{href:o,onClick:a,...i}=e,s=(0,r.usePathname)();return(0,t.jsx)(n.default,{href:o,onClick:e=>{if(a&&a(e),e.defaultPrevented||!o.startsWith("/#")||"/"!==s)return;let t=o.slice(2);if(!t)return;let n=document.getElementById(t);n&&(e.preventDefault(),n.scrollIntoView({behavior:"smooth"}))},...i})},a=o},69178,e=>{"use strict";e.s(["FocusScope",()=>c]);var t=e.i(26772),n=e.i(11757),r=e.i(43041),o=e.i(32091),a=e.i(30527),i="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},c=t.forwardRef((e,c)=>{let{loop:m=!1,trapped:p=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[b,x]=t.useState(null),w=(0,o.useCallbackRef)(v),E=(0,o.useCallbackRef)(g),j=t.useRef(null),C=(0,n.useComposedRefs)(c,e=>x(e)),k=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(p){let e=function(e){if(k.paused||!b)return;let t=e.target;b.contains(t)?j.current=t:f(j.current,{select:!0})},t=function(e){if(k.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||f(j.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&f(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[p,b,k.paused]),t.useEffect(()=>{if(b){h.add(k);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(i,l);b.addEventListener(i,w),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(f(r,{select:t}),document.activeElement!==n)return}(u(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&f(b))}return()=>{b.removeEventListener(i,w),setTimeout(()=>{let t=new CustomEvent(s,l);b.addEventListener(s,E),b.dispatchEvent(t),t.defaultPrevented||f(null!=e?e:document.body,{select:!0}),b.removeEventListener(s,E),h.remove(k)},0)}}},[b,w,E,k]);let N=t.useCallback(e=>{if(!m&&!p||k.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=function(e){let t=u(e);return[d(t,e),d(t.reverse(),e)]}(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),m&&f(o,{select:!0})):(e.preventDefault(),m&&f(r,{select:!0})):n===t&&e.preventDefault()}},[m,p,k.paused]);return(0,a.jsx)(r.Primitive.div,{tabIndex:-1,...y,ref:C,onKeyDown:N})});function u(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function d(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function f(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}c.displayName="FocusScope";var h=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=m(e,t)).unshift(t)},remove(t){var n;null==(n=(e=m(e,t))[0])||n.resume()}}}();function m(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},31234,e=>{"use strict";e.s(["useFocusGuards",()=>r]);var t=e.i(26772),n=0;function r(){t.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=r[0])?e:o()),document.body.insertAdjacentElement("beforeend",null!=(t=r[1])?t:o()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),n--}},[])}function o(){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}},95637,e=>{"use strict";e.s(["RemoveScroll",()=>X],95637);var t,n,r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var a=("function"==typeof SuppressedError&&SuppressedError,e.i(26772)),i="right-scroll-bar-position",s="width-before-scroll-bar";function l(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,u=new WeakMap;function d(e){return e}var f=function(e){void 0===e&&(e={});var t,n,o,a=(void 0===t&&(t=d),n=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return a.options=r({async:!0,ssr:!1},e),a}(),h=function(){},m=a.forwardRef(function(e,t){var n,i,s,d,m=a.useRef(null),p=a.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),v=p[0],g=p[1],y=e.forwardProps,b=e.children,x=e.className,w=e.removeScrollBar,E=e.enabled,j=e.shards,C=e.sideCar,k=e.noRelative,N=e.noIsolation,R=e.inert,S=e.allowPinchZoom,A=e.as,M=e.gapMode,O=o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=(n=[m,t],i=function(e){return n.forEach(function(t){return l(t,e)})},(s=(0,a.useState)(function(){return{value:null,callback:i,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=i,d=s.facade,c(function(){var e=u.get(d);if(e){var t=new Set(e),r=new Set(n),o=d.current;t.forEach(function(e){r.has(e)||l(e,null)}),r.forEach(function(e){t.has(e)||l(e,o)})}u.set(d,n)},[n]),d),T=r(r({},O),v);return a.createElement(a.Fragment,null,E&&a.createElement(C,{sideCar:f,removeScrollBar:w,shards:j,noRelative:k,noIsolation:N,inert:R,setCallbacks:g,allowPinchZoom:!!S,lockRef:m,gapMode:M}),y?a.cloneElement(a.Children.only(b),r(r({},T),{ref:P})):a.createElement(void 0===A?"div":A,r({},T,{className:x,ref:P}),b))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:s,zeroRight:i};var p=function(e){var t=e.sideCar,n=o(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return a.createElement(i,r({},n))};p.isSideCarExport=!0;var v=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},g=function(){var e=v();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},y=function(){var e=g();return function(t){return e(t.styles,t.dynamic),null}},b={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},w=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},E=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return b;var t=w(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},j=y(),C="data-scroll-locked",k=function(e,t,n,r){var o=e.left,a=e.top,l=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(C,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(i," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(s," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(i," .").concat(i," {\n right: 0 ").concat(r,";\n }\n \n .").concat(s," .").concat(s," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(C,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},N=function(){var e=parseInt(document.body.getAttribute(C)||"0",10);return isFinite(e)?e:0},R=function(){a.useEffect(function(){return document.body.setAttribute(C,(N()+1).toString()),function(){var e=N()-1;e<=0?document.body.removeAttribute(C):document.body.setAttribute(C,e.toString())}},[])},S=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;R();var i=a.useMemo(function(){return E(o)},[o]);return a.createElement(j,{styles:k(i,!t,o,n?"":"!important")})},A=!1;if("undefined"!=typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){A=!1}var O=!!A&&{passive:!1},P=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},T=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),D(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},D=function(e,t){return"v"===e?P(t,"overflowY"):P(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},L=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=i*r,l=n.target,c=t.contains(l),u=!1,d=s>0,f=0,h=0;do{if(!l)break;var m=I(e,l),p=m[0],v=m[1]-m[2]-i*p;(p||v)&&D(e,l)&&(f+=v,h+=p);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&s>f)?u=!0:!d&&(o&&1>Math.abs(h)||!o&&-s>h)&&(u=!0),u},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},_=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},W=0,z=[];let H=(t=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(W++)[0],i=a.useState(y)[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(B),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,a=F(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=T(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=T(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var h=r.current||o;return L(h,t,e,"h"===h?l:c,!0)},[]),c=a.useCallback(function(e){if(z.length&&z[z.length-1]===i){var n="deltaY"in e?_(e):F(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(s.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=a.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=a.useCallback(function(e){n.current=F(e),r.current=void 0},[]),f=a.useCallback(function(t){u(t.type,_(t),t.target,l(t,e.lockRef.current))},[]),h=a.useCallback(function(t){u(t.type,F(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return z.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",c,O),document.addEventListener("touchmove",c,O),document.addEventListener("touchstart",d,O),function(){z=z.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,O),document.removeEventListener("touchmove",c,O),document.removeEventListener("touchstart",d,O)}},[]);var m=e.removeScrollBar,p=e.inert;return a.createElement(a.Fragment,null,p?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?a.createElement(S,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(t),p);var K=a.forwardRef(function(e,t){return a.createElement(m,r({},e,{ref:t,sideCar:H}))});K.classNames=m.classNames;let X=K},73772,e=>{"use strict";e.s(["hideOthers",()=>s]);var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,s,l){var c=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,h=new Set(c),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};
1c.forEach(m);var p=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var r=e.getAttribute(l),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(u.get(e)||0)+1;t.set(e,a),u.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(s,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=u.get(e)-1;t.set(e,r),u.set(e,o),r||(n.has(e)||e.removeAttribute(l),n.delete(e)),o||e.removeAttribute(s)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),i(r,o,n,"aria-hidden")):function(){return null}}},6776,85204,66631,17245,e=>{"use strict";e.s(["SiteHeader",()=>eR,"default",()=>eS],6776);var t=e.i(30527),n=e.i(64254),r=e.i(71837),o=e.i(15026);e.s(["Close",()=>ei,"Content",()=>er,"Description",()=>ea,"Overlay",()=>en,"Portal",()=>et,"Root",()=>$,"Title",()=>eo,"Trigger",()=>ee],85204);var a=e.i(26772),i=e.i(91967),s=e.i(11757),l=e.i(59407),c=e.i(86825),u=e.i(93369),d=e.i(92995),f=e.i(69178),h=e.i(79811),m=e.i(8670),p=e.i(43041),v=e.i(31234),g=e.i(95637),y=e.i(73772),b=e.i(8880),x="Dialog",[w,E]=(0,l.createContextScope)(x),[j,C]=w(x),k=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,d=a.useRef(null),f=a.useRef(null),[h,m]=(0,u.useControllableState)({prop:o,defaultProp:null!=i&&i,onChange:s,caller:x});return(0,t.jsx)(j,{scope:n,triggerRef:d,contentRef:f,contentId:(0,c.useId)(),titleId:(0,c.useId)(),descriptionId:(0,c.useId)(),open:h,onOpenChange:m,onOpenToggle:a.useCallback(()=>m(e=>!e),[m]),modal:l,children:r})};k.displayName=x;var N="DialogTrigger",R=a.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=C(N,r),l=(0,s.useComposedRefs)(n,a.triggerRef);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":U(a.open),...o,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,a.onOpenToggle)})});R.displayName=N;var S="DialogPortal",[A,M]=w(S,{forceMount:void 0}),O=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:i}=e,s=C(S,n);return(0,t.jsx)(A,{scope:n,forceMount:r,children:a.Children.map(o,e=>(0,t.jsx)(m.Presence,{present:r||s.open,children:(0,t.jsx)(h.Portal,{asChild:!0,container:i,children:e})}))})};O.displayName=S;var P="DialogOverlay",T=a.forwardRef((e,n)=>{let r=M(P,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=C(P,e.__scopeDialog);return i.modal?(0,t.jsx)(m.Presence,{present:o||i.open,children:(0,t.jsx)(I,{...a,ref:n})}):null});T.displayName=P;var D=(0,b.createSlot)("DialogOverlay.RemoveScroll"),I=a.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=C(P,r);return(0,t.jsx)(g.RemoveScroll,{as:D,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(p.Primitive.div,{"data-state":U(a.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),L="DialogContent",F=a.forwardRef((e,n)=>{let r=M(L,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=C(L,e.__scopeDialog);return(0,t.jsx)(m.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(_,{...a,ref:n}):(0,t.jsx)(B,{...a,ref:n})})});F.displayName=L;var _=a.forwardRef((e,n)=>{let r=C(L,e.__scopeDialog),o=a.useRef(null),l=(0,s.useComposedRefs)(n,r.contentRef,o);return a.useEffect(()=>{let e=o.current;if(e)return(0,y.hideOthers)(e)},[]),(0,t.jsx)(W,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),B=a.forwardRef((e,n)=>{let r=C(L,e.__scopeDialog),o=a.useRef(!1),i=a.useRef(!1);return(0,t.jsx)(W,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(o.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let s=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}
1),W=a.forwardRef((e,n)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...c}=e,u=C(L,r),h=a.useRef(null),m=(0,s.useComposedRefs)(n,h);return(0,v.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,t.jsx)(d.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":U(u.open),...c,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q,{titleId:u.titleId}),(0,t.jsx)(J,{contentRef:h,descriptionId:u.descriptionId})]})]})}),z="DialogTitle",H=a.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=C(z,r);return(0,t.jsx)(p.Primitive.h2,{id:a.titleId,...o,ref:n})});H.displayName=z;var K="DialogDescription",X=a.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=C(K,r);return(0,t.jsx)(p.Primitive.p,{id:a.descriptionId,...o,ref:n})});X.displayName=K;var Y="DialogClose",q=a.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=C(Y,r);return(0,t.jsx)(p.Primitive.button,{type:"button",...o,ref:n,onClick:(0,i.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}q.displayName=Y;var Z="DialogTitleWarning",[V,G]=(0,l.createContext)(Z,{contentName:L,titleName:z,docsSlug:"dialog"}),Q=e=>{let{titleId:t}=e,n=G(Z),r="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return a.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},J=e=>{let{contentRef:t,descriptionId:n}=e,r=G("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return a.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(o))},[o,t,n]),null},$=k,ee=R,et=O,en=T,er=F,eo=H,ea=X,ei=q,es=e.i(94237),el=e.i(98163),ec=e.i(75114);let eu=a.forwardRef((e,n)=>{let{className:r,...o}=e;return(0,t.jsx)(en,{className:(0,ec.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...o,ref:n})});eu.displayName=en.displayName;let ed=(0,es.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ef=a.forwardRef((e,n)=>{let{side:r="right",className:o,children:a,...i}=e;return(0,t.jsxs)(et,{children:[(0,t.jsx)(eu,{}),(0,t.jsxs)(er,{ref:n,className:(0,ec.cn)(ed({side:r}),o),...i,children:[a,(0,t.jsxs)(ei,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[(0,t.jsx)(el.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});ef.displayName=er.displayName,a.forwardRef((e,n)=>{let{className:r,...o}=e;return(0,t.jsx)(eo,{ref:n,className:(0,ec.cn)("text-lg font-semibold text-foreground",r),...o})}).displayName=eo.displayName,a.forwardRef((e,n)=>{let{className:r,...o}=e;return(0,t.jsx)(ea,{ref:n,className:(0,ec.cn)("text-sm text-muted-foreground",r),...o})}).displayName=ea.displayName,e.s(["Chrome",()=>em],66631);var eh=e.i(16181);let em=(0,eh.default)("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]),ep=(0,eh.default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]),ev=(0,eh.default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),eg=(0,eh.default)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),ey=(0,eh.default)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var eb=e.i(11056),ex=e.i(62343);e.i(53006);var ew=e.i(88096),eE=e.i(10162);e.i(4904);var ej=e.i(99346),eC=e.i(6564);e.s(["EdgeLogo",()=>ek],17245);let ek=e=>{let{className:n="h-4 w-4"}=e;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"mdi-microsoft-edge",width:"24",height:"24",viewBox:"0 0 24 24",className:n,children:(0,t.jsx)("path",{d:"M10.86 15.37C10.17 14.6 9.7 13.68 9.55 12.65C9.25 13.11 9 13.61 8.82 14.15C7.9 16.9 9.5 20.33 12.22 21.33C14.56 22.11 17.19 20.72 18.92 19.2C19.18 18.85 21.23 17.04 20.21 16.84C17.19 18.39 13.19 17.95 10.86 15.37M11.46 9.56C12.5 9.55 11.5 9.13 11.07 8.81C10.03 8.24 8.81 7.96 7.63 7.96C3.78 8 .995 10.41 2.3 14.4C3.24 18.28 6.61 21.4 10.59 21.9C8.54 20.61 7.3 18.19 7.3 15.78C7.38 13.25 8.94 10.28 11.46 9.56M2.78 8.24C5.82 6 10.66 6.18 13.28 9C14.3 10.11 15 12 14.07 13.37C12.33 15.25 17.15 15.5 18.18 15.22C21.92 14.5 22.91 10.15 21.13 7.15C19.43 3.75 15.66 1.97 11.96 2C7.9 1.93 4.25 4.5 2.78 8.24Z",fill:"currentColor"})})};var eN=e.i(86163);let eR=e=>{let{hideNavLinks:i=!1,isSignedIn:s}=e,{theme:l,setTheme:c}=(0,eb.useTheme)(),u=(0,eE.useFirebase)(),[d,f]=(0,a.useState)(!1),[h,m]=(0,a.useState)(""),p=(0,r.usePathname)(),v=(0,r.useRouter)(),{toast:g}=(0,ej.useToast)(),{user:y}=(0,ex.useAuth)(),b=null!=s?s:!!y,[x,w]=(0,a.useState)(!1),E="/dashboard"===p,j=(0,a.useMemo)(()=>[{label:"How it Works",href:"/#how-it-works",id:"how-it-works"},{label:"Features",href:"/#features",id:"features"},{label:"Pricing",href:"/#pricing",id:"pricing"},{label:"FAQ",href:"/#faq",id:"faq"}],[]);(0,a.useEffect)(()=>{if("/"!==p)return void m("");let e=()=>{let e=j.map(e=>document.getElementById(e.id)),t=window.scrollY+100;for(let n=e.length-1;n>=0;n--){let r=e[n];if(r&&r.offsetTop<=t)return void m(j[n].id)}m("")};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[p,j]);let C=async()=>{if(!x)try{w(!0),await (0,ew.signOut)(u.auth),f(!1),v.replace("/")}catch(e){g({title:"Sign-out failed",description:e instanceof Error?e.message:"Please try again later.",variant:"destructive"})}finally{w(!1)}};return(0,t.jsx)("header",{className:"sticky top-0 z-50 w-full border-b border-extension-border bg-extension-bg/95 backdrop-blur-sm supports-backdrop-filter:bg-extension-bg/60",children:(0,t.jsxs)("div",{className:"container flex h-16 items-center justify-between max-w-7xl mx-auto px-4",children:[(0,t.jsxs)(n.default,{href:"/",className:"flex items-center space-x-2",children:[(0,t.jsx)(eC.Logo,{className:"h-8 w-8"}),(0,t.jsx)("span",{className:"font-bold text-lg",children:"Assignmate AI"})]}),!i&&(0,t.jsx)("nav",{className:"hidden md:flex items-center space-x-6",children:j.map(e=>(0,t.jsx)(eN.HashLink,{href:e.href,className:"text-sm font-medium transition-colors ".concat(h===e.id?"text-extension-text font-semibold":"text-extension-text-muted hover:text-extension-text"),children:e.label},e.href))}),(0,t.jsxs)("div",{className:"hidden md:flex items-center space-x-3",children:[(0,t.jsxs)(o.Button,{variant:"ghost",size:"icon",onClick:()=>c("dark"===l?"light":"dark"),"aria-label":"Toggle theme",children:[(0,t.jsx)(ey,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,t.jsx)(eg,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"})]}),(0,t.jsx)(o.Button,{size:"sm",className:"gap-2",asChild:!0,children:(0,t.jsxs)("a",{href:"https://chromewebstore.google.com/detail/assignmate-ai/ojhhehdimoopigbmiljpjjplinjihgkh",target:"_blank",rel:"noopener noreferrer","aria-label":"Add to Chrome (opens Chrome Web Store)",children:[(0,t.jsx)(em,{className:"h-4 w-4"}),"Add to Chrome"]})}),(0,t.jsx)(o.Button,{variant:"outline",size:"sm",asChild:!0,children:(0,t.jsxs)("a",{href:"https://microsoftedge.microsoft.com/addons",target:"_blank",rel:"noopener noreferrer","aria-label":"Add to Edge (opens
1Edge Add-ons)",children:[(0,t.jsx)(ek,{}),"Add to Edge"]})}),b?E?(0,t.jsxs)(o.Button,{size:"sm",variant:"outline",className:"gap-2 border-extension-border",onClick:C,disabled:x,children:[(0,t.jsx)(ep,{className:"h-4 w-4"}),"Sign Out"]}):(0,t.jsx)(o.Button,{size:"sm",asChild:!0,children:(0,t.jsx)(n.default,{href:"/dashboard",children:"Dashboard"})}):(0,t.jsx)(o.Button,{size:"sm",asChild:!0,children:(0,t.jsx)(n.default,{href:"/signin",children:"Sign In"})})]}),(0,t.jsxs)("div",{className:"flex md:hidden items-center space-x-2",children:[(0,t.jsxs)(o.Button,{variant:"ghost",size:"icon",onClick:()=>c("dark"===l?"light":"dark"),"aria-label":"Toggle theme",children:[(0,t.jsx)(ey,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,t.jsx)(eg,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"})]}),(0,t.jsxs)($,{open:d,onOpenChange:f,children:[(0,t.jsx)(ee,{asChild:!0,children:(0,t.jsx)(o.Button,{variant:"ghost",size:"icon","aria-label":"Open menu",children:(0,t.jsx)(ev,{className:"h-5 w-5"})})}),(0,t.jsx)(ef,{side:"right",className:"w-[300px]",children:(0,t.jsxs)("nav",{className:"flex flex-col space-y-4 mt-8",children:[!i&&j.map(e=>(0,t.jsx)(eN.HashLink,{href:e.href,onClick:()=>{f(!1)},className:"text-lg font-medium transition-colors ".concat(h===e.id?"text-extension-text font-semibold":"text-extension-text-muted hover:text-extension-text"),children:e.label},e.href)),(0,t.jsxs)("div",{className:"pt-4 space-y-2",children:[(0,t.jsx)(o.Button,{className:"w-full gap-2",asChild:!0,children:(0,t.jsxs)("a",{href:"https://chromewebstore.google.com/detail/assignmate-ai/ojhhehdimoopigbmiljpjjplinjihgkh",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(em,{className:"h-4 w-4"}),"Add to Chrome"]})}),(0,t.jsx)(o.Button,{variant:"outline",className:"w-full",asChild:!0,children:(0,t.jsxs)("a",{href:"https://microsoftedge.microsoft.com/addons",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(ek,{}),"Add to Edge"]})}),b?E?(0,t.jsxs)(o.Button,{className:"w-full gap-2",variant:"outline",onClick:C,disabled:x,children:[(0,t.jsx)(ep,{className:"h-4 w-4"}),"Sign Out"]}):(0,t.jsx)(o.Button,{className:"w-full",asChild:!0,children:(0,t.jsx)(n.default,{href:"/dashboard",children:"Dashboard"})}):(0,t.jsx)(o.Button,{className:"w-full",asChild:!0,children:(0,t.jsx)(n.default,{href:"/signin",children:"Sign In"})})]})]})})]})]})]})})},eS=eR}]);
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.