1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19455,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(91918),o=e.i(25913),a=e.i(75157);let i=(0,o.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef(({className:e,variant:r,size:o,asChild:l=!1,...s},c)=>{let u=l?n.Slot:"button";return(0,t.jsx)(u,{className:(0,a.cn)(i({variant:r,size:o,className:e})),ref:c,...s})});l.displayName="Button",e.s(["Button",0,l])},90571,59700,32286,86252,41352,15070,74687,7507,97712,86312,e=>{"use strict";var t,r=function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>r,"__rest",0,n,"__spreadArray",0,function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}],90571);var o="right-scroll-bar-position",a="width-before-scroll-bar",i="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";e.s(["fullWidthClassName",0,a,"noScrollbarsClassName",0,i,"removedBarSizeVariable",0,l,"zeroRightClassName",0,o],59700);var s=e.i(71645);function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var u="u">typeof window?s.useLayoutEffect:s.useEffect,d=new WeakMap;function f(e){return e}e.s(["useMergeRefs",0,function(e,t){var r,n,o,a=(r=t||null,n=function(t){return e.forEach(function(e){return c(e,t)})}
1,(o=(0,s.useState)(function(){return{value:r,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,o.facade);return u(function(){var t=d.get(a);if(t){var r=new Set(t),n=new Set(e),o=a.current;r.forEach(function(e){n.has(e)||c(e,null)}),n.forEach(function(e){r.has(e)||c(e,o)})}d.set(a,e)},[e]),a}],32286),e.s(["createSidecarMedium",0,function(e){void 0===e&&(e={});var t,n,o,a=(void 0===t&&(t=f),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 r=t;t=[],r.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}],86252);var p=function(e){var t=e.sideCar,o=n(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw Error("Sidecar medium not found");return s.createElement(a,r({},o))};p.isSideCarExport=!0,e.s(["exportSidecar",0,function(e,t){return e.useMedium(t),p}],41352);var m=function(){var e=0,r=null;return{add:function(n){if(0==e&&(r=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=t||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return r&&e.setAttribute("nonce",r),e}())){var o,a;(o=r).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),a=r,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!r||(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},h=function(){var e=m();return function(t,r){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},v=function(){var e=h();return function(t){return e(t.styles,t.dynamic),null}};e.s(["styleSingleton",0,v],15070),e.s([],74687);var g={left:0,top:0,right:0,gap:0},y=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[y(r),y(n),y(o)]},b=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return g;var t=x(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},w=v(),E="data-scroll-locked",N=function(e,t,r,n){var s=e.left,c=e.top,u=e.right,d=e.gap;return void 0===r&&(r="margin"),"\n .".concat(i," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(d,"px ").concat(n,";\n }\n body[").concat(E,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(s,"px;\n padding-top: ").concat(c,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(d,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(d,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(o," {\n right: ").concat(d,"px ").concat(n,";\n }\n \n .").concat(a," {\n margin-right: ").concat(d,"px ").concat(n,";\n }\n \n .").concat(o," .").concat(o," {\n right: 0 ").concat(n,";\n }\n \n .").concat(a," .").concat(a," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(E,"] {\n ").concat(l,": ").concat(d,"px;\n }\n")},j=function(){var e=parseInt(document.body.getAttribute(E)||"0",10);return isFinite(e)?e:0},C=function(){s.useEffect(function(){return document.body.setAttribute(E,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(E):document.body.setAttribute(E,e.toString())}},[])};e.s(["RemoveScrollBar",0,function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;C();var a=s.useMemo(function(){return b(o)},[o]);return s.createElement(w,{styles:N(a,!t,o,r?"":"!important")})}],7507),e.s([],97712);var _=new WeakMap,S=new WeakMap,R={},k=0,O=function(e){return e&&(e.host||O(e.parentNode))},I=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=O(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});R[r]||(R[r]=new WeakMap);var a=R[r],i=[],l=new Set,s=new Set(o),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,s=(_.get(e)||0)+1,c=(a.get(e)||0)+1;_.set(e,s),a.set(e,c),i.push(e),1===s&&o&&S.set(e,!0),1===c&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return u(t),l.clear(),k++,function(){i.forEach(function(e){var t=_.get(e)-1,o=a.get(e)-1;_.set(e,t),a.set(e,o),t||(S.has(e)||e.removeAttribute(n),S.delete(e)),o||e.removeAttribute(r)}),--k||(_=new WeakMap,_=new WeakMap,S=new WeakMap,R={})}};e.s(["hideOthers",0,function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),I(n,o,r,"aria-hidden")):function(){return null}}],86312)},72520,26999,76639,49943,e=>{"use strict";let t,r,n,o=(0,e.i(75254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,o],72520);var a,i,l=e.i(43476),s=e.i(19455),c=e.i(71645);function u(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function f(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():d(e[t],null)}}}}function p(...e){return c.useCallback(f(...e),e)}"u">typeof window&&window.document&&window.document.createElement;var m=globalThis?.document?c.useLayoutEffect:()=>{},h=c[" useId ".trim().toString()]||(()=>void 0),v=0;function g(e){let[t,r]=c.useState(h());return m(()=>{e||r(e=>e??String(v++))},[e]),e||(t?`radix-${t}`:"")}globalThis?.document&&c.useLayoutEffect,c[" useEffectEvent ".trim().toString()],c[" useInsertionEffect ".trim().toString()];var y=c[" useInsertionEffect ".trim().toString()]||m;function x(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}Symbol("RADIX:SYNC_STATE"),"u">typeof window&&window.document&&window.document.createElement;var b=e.i(74080);function w(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function E(...e){return t=>{let r=!1,n=e.map(e=>{let n=w(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():w(e[t],null)}}}}function N(...e){return c.useCallback(E(...e),e)}var j=Symbol("radix.slottable");function C(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===j}var _=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,n;let o,a,i,s=(n=r=`Primitive.${t}`,(o=c.forwardRef((e,t)=>{let{children:r,...n}=e;if(c.isValidElement(r)){var o;let e,a,i=(o=r,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(l.ref=t?E(t,i):i),c.cloneElement(r,l)}return c.Children.count(r)>1?c.Children.only(null):null})).displayName=`${n}.SlotClone`,a=o,(i=c.forwardRef((e,t)=>{let{children:r,...n}=e,o=c.Children.toArray(r),i=o.find(C);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...n,ref:t,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,l.jsx)(a,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,i),u=c.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n?s:t,{...o,ref:r})});return u.displayName=`Primitive.${t}`,{...e,[t]:u}},{});function S(e){let t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...e)=>t.current?.(...e),[])}var R="dismissableLayer.update",k=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),O=c.forwardRef((e,t)=>
1{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...d}=e,f=c.useContext(k),[p,m]=c.useState(null),h=p?.ownerDocument??globalThis?.document,[,v]=c.useState({}),g=N(t,e=>m(e)),y=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=y.indexOf(b),E=p?y.indexOf(p):-1,j=f.layersWithOutsidePointerEventsDisabled.size>0,C=E>=w,O=function(e,t=globalThis?.document){let r=S(e),n=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){P("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...f.branches].some(e=>e.contains(t));C&&!r&&(o?.(e),s?.(e),e.defaultPrevented||u?.())},h),A=function(e,t=globalThis?.document){let r=S(e),n=c.useRef(!1);return c.useEffect(()=>{let e=e=>{e.target&&!n.current&&P("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...f.branches].some(e=>e.contains(t))&&(i?.(e),s?.(e),e.defaultPrevented||u?.())},h);return!function(e,t=globalThis?.document){let r,n=(r=c.useRef(e),c.useEffect(()=>{r.current=e}),c.useMemo(()=>(...e)=>r.current?.(...e),[]));c.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=>{E===f.layers.size-1&&(n?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},h),c.useEffect(()=>{if(p)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(a=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),I(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=a)}},[p,h,r,f]),c.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),I())},[p,f]),c.useEffect(()=>{let e=()=>v({});return document.addEventListener(R,e),()=>document.removeEventListener(R,e)},[]),(0,l.jsx)(_.div,{...d,ref:g,style:{pointerEvents:j?C?"auto":"none":void 0,...e.style},onFocusCapture:x(e.onFocusCapture,A.onFocusCapture),onBlurCapture:x(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:x(e.onPointerDownCapture,O.onPointerDownCapture)})});function I(){let e=new CustomEvent(R);document.dispatchEvent(e)}function P(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&o.addEventListener(e,t,{once:!0}),n)o&&b.flushSync(()=>o.dispatchEvent(a));else o.dispatchEvent(a)}function A(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function D(...e){return t=>{let r=!1,n=e.map(e=>{let n=A(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():A(e[t],null)}}}}O.displayName="DismissableLayer",c.forwardRef((e,t)=>{let r=c.useContext(k),n=c.useRef(null),o=N(t,n);return c.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,l.jsx)(_.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var T=Symbol("radix.slottable");function M(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===T}var L=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,n;let o,a,i,s=(n=r=`Primitive.${t}`,(o=c.forwardRef((e,t)=>{let{children:r,...n}=e;if(c.isValidElement(r)){var o;let e,a,i=(o=r,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(l.ref=t?D(t,i):i),c.cloneElement(r,l)}return c.Children.count(r)>1?c.Children.only(null):null})).displayName=`${n}.SlotClone`,a=o,(i=c.forwardRef((e,t)=>{let{children:r,...n}=e,o=c.Children.toArray(r),i=o.find(M);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...n,ref:t,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,l.jsx)(a,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,i),u=c.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n?s:t,{...o,ref:r})});return u.displayName=`Primitive.${t}`,{...e,[t]:u}},{});function F(e){let t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...e)=>t.current?.(...e),[])}var W="focusScope.autoFocusOnMount",$="focusScope.autoFocusOnUnmount",B={bubbles:!1,cancelable:!0},U=c.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,u]=c.useState(null),d=F(o),f=F(a),p=c.useRef(null),m=function(...e){return c.useCallback(D(...e),e)}(t,e=>u(e)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(n){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?p.current=t:V(p.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||V(p.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&&V(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,h.paused]),c.useEffect(()=>{if(s){K.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(W,B);s.addEventListener(W,d),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(V(n,{select:t}),document.activeElement!==r)return}(z(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&V(s))}return()=>{s.removeEventListener(W,d),setTimeout(()=>{let t=new CustomEvent($,B);s.addEventListener($,f),s.dispatchEvent(t),t.defaultPrevented||V(e??document.body,{select:!0}),s.removeEventListener($,f),K.remove(h)},0)}}},[s,d,f,h]);let v=c.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var a;let t,n=e.currentTarget,[i,l]=[H(t=z(a=n),a),H(t.reverse(),a)];i&&l?e.shiftKey||o!==l?e.shiftKey&&o===i&&(e.preventDefault(),r&&V(l,{select:!0})):(e.preventDefault(),r&&V(i,{select:!0})):o===n&&e.preventDefault()}},[r,n,h.paused]);return(0,l.jsx)(L.div,{tabIndex:-1,...i,ref:m,onKeyDown:v})});function z(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 H(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 V(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()}}U.displayName="FocusScope";var K=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=q(t,e)).unshift(e)},remove(e){t=q(t,e),t[0]?.resume()}});function q(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}function X(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var Y=Symbol("radix.slottable");function Z(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Y}var G=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{var r,n;let o,a,i,s=(n=r=`Primitive.${t}`,(o=c.forwardRef((e,t)=>{let{children:r,...n}=e;if(c.isValidElement(r)){var o;let e,a,i=(o=r,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(l.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=X(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():X(e[t],null)}}}}(t,i):i),c.cloneElement(r,l)}return c.Children.count(r)>1?c.Children.only(null):null})).displayName=`${n}.SlotClone`,a=o,(i=c.forwardRef((e,t)=>{let{children:r,...n}=e,o=c.Children.toArray(r),i=o.find(Z);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...n,ref:t,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,l.jsx)(a,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,i),u=c.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n?s:t,{...o,ref:r})});return u.displayName=`Primitive.${t}`,{...e,[t]:u}},{}),J=globalThis?.document?c.useLayoutEffect:()=>{},Q=c.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=c.useState(!1);J(()=>a(!0),[]);let i=r||o&&globalThis?.document?.body;return i?b.default.createPortal((0,l.jsx)(G.div,{...n,ref:t}),i):null});Q.displayName="Portal";var ee=e=>{var t;let r,n,{present:o,children:a}=e,i=function(e){var t,r;let[n,o]=c.useState(),a=c.useRef(null),i=c.useRef(e),l=c.useRef("none"),[s,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},c.useReducer((e,t)=>r[e][t]??e,t));return c.useEffect(()=>{let e=et(a.current);l.current="mounted"===s?e:"none"},[s]),m(()=>{let t=a.current,r=i.current;if(r!==e){let n=l.current,o=et(t);e?u("MOUNT"):"none"===o||t?.display==="none"?u("UNMOUNT"):r&&n!==o?u("ANIMATION_OUT"):u("UNMOUNT"),i.current=e}},[e,u]),m(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let o=et(a.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(u("ANIMATION_END"),!i.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},o=e=>{e.target===n&&(l.current=et(a.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(e=>{a.current=e?getComputedStyle(e):null,o(e)},[])}}(o),l="function"==typeof a?a({present:i.isPresent}):c.Children.only(a),s=p(i.ref,(t=l,(n=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(n=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof a||i.isPresent?c.cloneElement(l,{ref:s}):null};function et(e){return e?.animationName||"none"}function er(e){var t;let r,n=(t=e,(r=c.forwardRef((e,t)=>{let{children:r,...n}=e;if(c.isValidElement(r)){var o;let e,a,i=(o=r,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}
1:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(l.ref=t?f(t,i):i),c.cloneElement(r,l)}return c.Children.count(r)>1?c.Children.only(null):null})).displayName=`${t}.SlotClone`,r),o=c.forwardRef((e,t)=>{let{children:r,...o}=e,a=c.Children.toArray(r),i=a.find(eo);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,l.jsx)(n,{...o,ref:t,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,l.jsx)(n,{...o,ref:t,children:r})});return o.displayName=`${e}.Slot`,o}ee.displayName="Presence";var en=Symbol("radix.slottable");function eo(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===en}var ea=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=er(`Primitive.${t}`),n=c.forwardRef((e,n)=>{let{asChild:o,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?r:t,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),ei=0;function el(){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}var es=e.i(90571),ec=e.i(59700),eu=e.i(32286),ed=(0,e.i(86252).createSidecarMedium)(),ef=function(){},ep=c.forwardRef(function(e,t){var r=c.useRef(null),n=c.useState({onScrollCapture:ef,onWheelCapture:ef,onTouchMoveCapture:ef}),o=n[0],a=n[1],i=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,v=e.inert,g=e.allowPinchZoom,y=e.as,x=e.gapMode,b=(0,es.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,eu.useMergeRefs)([r,t]),E=(0,es.__assign)((0,es.__assign)({},b),o);return c.createElement(c.Fragment,null,d&&c.createElement(p,{sideCar:ed,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:v,setCallbacks:a,allowPinchZoom:!!g,lockRef:r,gapMode:x}),i?c.cloneElement(c.Children.only(l),(0,es.__assign)((0,es.__assign)({},E),{ref:w})):c.createElement(void 0===y?"div":y,(0,es.__assign)({},E,{className:s,ref:w}),l))});ep.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ep.classNames={fullWidth:ec.fullWidthClassName,zeroRight:ec.zeroRightClassName};var em=e.i(41352);e.i(97712);var eh=e.i(7507);e.i(74687);var ev=e.i(15070),eg=!1;if("u">typeof window)try{var ey=Object.defineProperty({},"passive",{get:function(){return eg=!0,!0}});window.addEventListener("test",ey,ey),window.removeEventListener("test",ey,ey)}catch(e){eg=!1}var ex=!!eg&&{passive:!1},eb=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},ew=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eE(e,n)){var o=eN(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},eE=function(e,t){return"v"===e?eb(t,"overflowY"):eb(t,"overflowX")},eN=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ej=function(e,t,r,n,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*n,s=r.target,c=t.contains(s),u=!1,d=l>0,f=0,p=0;do{if(!s)break;var m=eN(e,s),h=m[0],v=m[1]-m[2]-i*h;(h||v)&&eE(e,s)&&(f+=v,p+=h);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},eC=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},e_=function(e){return[e.deltaX,e.deltaY]},eS=function(e){return e&&"current"in e?e.current:e},eR=0,ek=[];let eO=(0,em.exportSidecar)(ed,function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),o=c.useState(eR++)[0],a=c.useState(ev.styleSingleton)[0],i=c.useRef(e);c.useEffect(function(){i.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,es.__spreadArray)([e.lockRef.current],(e.shards||[]).map(eS),!0).filter(
1Boolean);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=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=eC(e),l=r.current,s="deltaX"in e?e.deltaX:l[0]-a[0],c="deltaY"in e?e.deltaY:l[1]-a[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=ew(d,u);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=ew(d,u)),!m)return!1;if(!n.current&&"changedTouches"in e&&(s||c)&&(n.current=o),!o)return!0;var h=n.current||o;return ej(h,t,e,"h"===h?s:c,!0)},[]),s=c.useCallback(function(e){if(ek.length&&ek[ek.length-1]===a){var r="deltaY"in e?e_(e):eC(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(i.current.shards||[]).map(eS).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=c.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,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}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=c.useCallback(function(e){r.current=eC(e),n.current=void 0},[]),f=c.useCallback(function(t){u(t.type,e_(t),t.target,l(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,eC(t),t.target,l(t,e.lockRef.current))},[]);c.useEffect(function(){return ek.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,ex),document.addEventListener("touchmove",s,ex),document.addEventListener("touchstart",d,ex),function(){ek=ek.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,ex),document.removeEventListener("touchmove",s,ex),document.removeEventListener("touchstart",d,ex)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?c.createElement(eh.RemoveScrollBar,{noRelative:e.noRelative,gapMode:e.gapMode}):null)});var eI=c.forwardRef(function(e,t){return c.createElement(ep,(0,es.__assign)({},e,{ref:t,sideCar:eO}))});eI.classNames=ep.classNames;var eP=e.i(86312),eA="Dialog",[eD,eT]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>c.createContext(e));return function(r){let n=r?.[e]||t;return c.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=c.createContext(n),a=r.length;r=[...r,n];let i=t=>{let{scope:r,children:n,...i}=t,s=r?.[e]?.[a]||o,u=c.useMemo(()=>i,Object.values(i));return(0,l.jsx)(s.Provider,{value:u,children:n})};return i.displayName=t+"Provider",[i,function(r,i){let l=i?.[e]?.[a]||o,s=c.useContext(l);if(s)return s;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(eA),[eM,eL]=eD(eA),eF=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=c.useRef(null),u=c.useRef(null),[d,f]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,a,i]=function({defaultProp:e,onChange:t}){let[r,n]=c.useState(e),o=c.useRef(r),a=c.useRef(t);return y(()=>{a.current=t},[t]),c.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}({defaultProp:t,onChange:r}),l=void 0!==e,s=l?e:o;{let t=c.useRef(void 0!==e);c.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}return[s,c.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&i.current?.(r)}else a(t)},[l,e,a,i])]}({prop:n,defaultProp:o??!1,onChange:a,caller:eA});return(0,l.jsx)(eM,{scope:t,triggerRef:s,contentRef:u,contentId:g(),titleId:g(),descriptionId:g(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(e=>!e),[f]),modal:i,children:r})};eF.displayName=eA;var eW="DialogTrigger",e$=c.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=eL(eW,r),a=p(t,o.triggerRef);return(0,l.jsx)(ea.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":e7(o.open),...n,ref:a,onClick:u(e.onClick,o.onOpenToggle)})});e$.displayName=eW;var eB="DialogPortal",[eU,ez]=eD(eB,{forceMount:void 0}),eH=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=eL(eB,t);return(0,l.jsx)(eU,{scope:t,forceMount:r,children:c.Children.map(n,e=>(0,l.jsx)(ee,{present:r||a.open,children:(0,l.jsx)(Q,{asChild:!0,container:o,children:e})}))})};eH.displayName=eB;var eV="DialogOverlay",eK=c.forwardRef((e,t)=>{let r=ez(eV,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=eL(eV,e.__scopeDialog);return a.modal?(0,l.jsx)(ee,{present:n||a.open,children:(0,l.jsx)(eX,{...o,ref:t})}):null});eK.displayName=eV;var eq=er("DialogOverlay.RemoveScroll"),eX=c.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eL(eV,r);return(0,l.jsx)(eI,{as:eq,allowPinchZoom:!0,shards:[o.contentRef],children:(0,l.jsx)(ea.div,{"data-state":e7(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),eY="DialogContent",eZ=c.forwardRef((e,t)=>{let r=ez(eY,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=eL(eY,e.__scopeDialog);return(0,l.jsx)(ee,{present:n||a.open,children:a.modal?(0,l.jsx)(eG,{...o,ref:t}):(0,l.jsx)(eJ,{...o,ref:t})})});eZ.displayName=eY;var eG=c.forwardRef((e,t)=>{let r=eL(eY,e.__scopeDialog),n=c.useRef(null),o=p(t,r.contentRef,n);return c.useEffect(()=>{let e=n.current;if(e)return(0,eP.hideOthers)(e)},[]),(0,l.jsx)(eQ,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:u(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:u(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:u(e.onFocusOutside,e=>e.preventDefault())})}),eJ=c.forwardRef((e,t)=>{let r=eL(eY,e.__scopeDialog),n=c.useRef(!1),o=c.useRef(!1);return(0,l.jsx)(eQ,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),eQ=c.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=eL(eY,r),u=c.useRef(null),d=p(t,u);return c.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??el()),document.body.insertAdjacentElement("beforeend",e[1]??el()),ei++,()=>{1===ei&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ei--}},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(U,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,l.jsx)(O,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":e7(s.open),...i,ref:d,onDismiss:()=>s.onOpenChange(!1)})}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(te,{titleId:s.titleId}),(0,l.jsx)(tt,{contentRef:u,descriptionId:s.descriptionId})]})]})}),e0="DialogTitle",e1=c.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eL(e0,r);return(0,l.jsx)(ea.h2,{id:o.titleId,...n,ref:t})});e1.displayName=e0;var e2="DialogDescription",e5=c.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eL(e2,r);return(0,l.jsx)(ea.p,{id:o.descriptionId,...n,ref:t})});e5.displayName=e2;var e8="DialogClose",e4=c.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eL(e8,r);return(0,l.jsx)(ea.button,{type:"button",...n,ref:t,onClick:u(e.onClick,()=>o.onOpenChange(!1))})});function e7(e){return e?"open":"closed"}e4.displayName=e8;var e3="DialogTitleWarning",[e6,e9]=(i={contentName:eY,titleName:e0,docsSlug:"dialog"},r=c.createContext(i),(n=e=>{let{children:t,...n}=e,o=c.useMemo(()=>n,Object.values(n));return(0,l.jsx)(r.Provider,{value:o,children:t})}).displayName=e3+"Provider",[n,function(e){let t=c.useContext(r);if(t)return t;if(void 0!==i)return i;throw Error(`\`${e}\` must be used within \`${e3}\``)}]),te=({titleId:e})=>{let t=e9(e3),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},tt=({contentRef:e,descriptionId:t})=>{let r=e9("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return c.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",0,e4,"Content",0,eZ,"Description",0,e5,"Overlay",0,eK,"Portal",0,eH,"Root",0,eF,"Title",0,e1,"Trigger",0,e$],26999);var tr=e.i(37727),tn=e.i(75157);let to=c.forwardRef(({className:e,...t},r)=>(0,l.jsx)(eK,{ref:r,className:(0,tn.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",e),...t}));to.displayName=eK.displayName;let ta=c.forwardRef(({className:e,children:t,...r},n)=>(0,l.jsxs)(eH,{children:[(0,l.jsx)(to,{}),(0,l.jsxs)(eZ,{ref:n,className:(0,tn.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
5nded-lg",e),...r,children:[t,(0,l.jsxs)(e4,{className:"absolute right-4 top-4 rounded-full p-2 bg-gray-100/50 hover:bg-gray-100 transition-colors focus:outline-none disabled:pointer-events-none",children:[(0,l.jsx)(tr.X,{className:"h-4 w-4 text-gray-500"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ta.displayName=eZ.displayName;let ti=({className:e,...t})=>(0,l.jsx)("div",{className:(0,tn.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ti.displayName="DialogHeader";let tl=c.forwardRef(({className:e,...t},r)=>(0,l.jsx)(e1,{ref:r,className:(0,tn.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));tl.displayName=e1.displayName;let ts=c.forwardRef(({className:e,...t},r)=>(0,l.jsx)(e5,{ref:r,className:(0,tn.cn)("text-sm text-muted-foreground",e),...t}));ts.displayName=e5.displayName,e.s(["Dialog",0,eF,"DialogContent",0,ta,"DialogDescription",0,ts,"DialogHeader",0,ti,"DialogTitle",0,tl,"DialogTrigger",0,e$],76639);let tc=(e,t)=>`https://interactor.ai/${e}?create_interactor_with_message=${encodeURIComponent(t)}`;e.s(["default",0,({message:e,open:t,onOpenChange:r,onSignupClick:n,onLoginClick:o})=>(0,l.jsx)(eF,{open:t,onOpenChange:r,children:(0,l.jsxs)(ta,{className:"w-[90vw] max-w-[400px] rounded-2xl border-2 border-[#122018] bg-[#f3f4ef] p-6 shadow-[8px_8px_0_#122018] md:p-8",children:[(0,l.jsxs)(ti,{children:[(0,l.jsx)(tl,{className:"text-center text-xl font-bold md:text-2xl",children:"Meet your Interactor"}),(0,l.jsx)(ts,{className:"mt-2 text-center text-sm text-gray-600 md:text-base",children:"Create a free account to continue with Interactor. No credit card required."})]}),(0,l.jsxs)("div",{className:"mt-4 flex flex-col gap-3",children:[(0,l.jsx)(s.Button,{asChild:!0,className:"w-full rounded-xl border-2 border-[#122018] bg-[#122018] py-5 text-base font-bold text-white hover:bg-[#24242b] md:py-6 md:text-lg",children:(0,l.jsx)("a",{href:tc("signup",e),onClick:n,children:"Sign up"})}),(0,l.jsx)(s.Button,{asChild:!0,variant:"secondary",className:"w-full rounded-xl border-2 border-[#122018] bg-white py-5 text-base font-bold text-[#122018] transition-colors duration-200 hover:border-[#0B7A43]/40 hover:bg-[#edf3ec] active:bg-[#e3ebe1] md:py-6 md:text-lg",children:(0,l.jsx)("a",{href:tc("login",e),onClick:o,children:"Log in"})})]}),(0,l.jsxs)("div",{className:"mt-4 text-center text-xs text-gray-500 md:text-sm",children:[(0,l.jsx)("a",{href:"/policies/terms",className:"hover:underline",children:"Terms"})," ·"," ",(0,l.jsx)("a",{href:"/policies/privacy",className:"hover:underline",children:"Privacy"})]})]})})],49943)},82813,14877,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(72520);function o(){let[e,t]=r.useState(void 0);return r.useEffect(()=>{let e=window.matchMedia("(max-width: 767px)"),r=()=>{t(window.innerWidth<768)};return e.addEventListener("change",r),t(window.innerWidth<768),()=>e.removeEventListener("change",r)},[]),!!e}e.s(["useIsMobile",0,o],14877);var a=e.i(18566),i=e.i(49943);let l=["I manage a venue and need to handle event inquiries...","I'm an ecommerce brand and want to offer concierge shopping..","I'm a contractor and need to qualify leads for renovations...","I run a landscaping business and want to give instant estimates...","I'm a hair and makeup artist and need to manage bookings...","I'm a mobile pet groomer and want to schedule appointments..."],s=()=>{let[e,s]=(0,r.useState)(""),[c,u]=(0,r.useState)(!0),[d,f]=(0,r.useState)(""),[p,m]=(0,r.useState)(!1),h=(0,r.useRef)(null),v=o(),[g,y]=(0,r.useState)(!1),x=(0,a.usePathname)();(0,r.useEffect)(()=>{let e,t=0,r=0,n=!1,o=()=>{let a=l[t],i=n?15:30;n?(f(a.substring(0,r-1)),r--):(f(a.substring(0,r+1)),r++),n||r!==a.length?n&&0===r&&(n=!1,t=(t+1)%l.length,i=300):(n=!0,i=1200),e=setTimeout(o,i)};return e=setTimeout(o,1e3),()=>clearTimeout(e)},[]),(0,r.useEffect)(()=>{"#create"===window.location.hash&&h.current&&setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"}),h.current?.focus({preventScroll:!0})},100)},[x]);let b=()=>{e.trim()&&y(!0)};return(0,t.jsxs)("div",{className:"w-full max-w-3xl mx-auto",children:[(0,t.jsxs)("div",{className:`relative mx-auto mt-0 w-full max-w-3xl cursor-text rounded-[24px] rounded-bl-md border bg-white/95 backdrop-blur-md transition-[border-color,background-color] duration-300 ${p?"border-[#A0FF29] bg-white":"border-white/60"}`,onClick:()=>{h.current&&h.current.focus()},children:[c&&(0,t.jsx)("div",{className:"absolute inset-0 px-4 py-3 text-left text-base font-medium text-[#122018]/[0.45] pointer-events-none md:px-6 md:py-4 md:text-lg",children:(0,t.jsx)("span",{className:"whitespace-pre-wrap",children:d})}),(0,t.jsx)("div",{ref:h,contentEditable:!0,role:"textbox","aria-label":"Tell us about your business","aria-multiline":"true",suppressContentEditableWarning:!0,onInput:e=>{let t=e.currentTarget.textContent||"";s(t),u(!t.trim())},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),b())},onFocus:()=>m(!0),onBlur:()=>m(!1),className:"min-h-[100px] max-h-[220px] w-full overflow-y-auto px-4 py-3 text-left text-base font-medium text-[#122018] outline-none md:min-h-[112px] md:max-h-[260px] md:px-6 md:py-4 md:text-lg",style:{whiteSpace:"pre-wrap",wordBreak:"break-word"}}),(0,t.jsx)("button",{type:"button","aria-label":"Continue to create your Interactor",className:"absolute bottom-2 right-2 flex h-9 w-9 items-center justify-center rounded-full border border-[#8FE625] bg-[#A0FF29] transition-colors duration-200 hover:border-[#7FD21F] hover:bg-[#8FE625] md:bottom-3 md:right-3 md:h-10 md:w-10",onClick:b,children:(0,t.jsx)(n.ArrowRight,{size:v?18:20,className:"text-[#122018]",strokeWidth:2.5})})]}),(0,t.jsx)(i.default,{message:e,open:g,onOpenChange:y})]})};var c=e.i(76639);
5e.s(["default",0,({children:e})=>(0,t.jsxs)(c.Dialog,{children:[(0,t.jsx)(c.DialogTrigger,{asChild:!0,children:e}),(0,t.jsxs)(c.DialogContent,{className:"w-[calc(100vw-2rem)] max-w-3xl gap-0 overflow-hidden rounded-[28px] border border-[#122018]/12 bg-[#f3f4ef] px-5 pb-7 pt-12 text-[#122018] shadow-[0_28px_90px_rgba(0,0,0,0.32)] sm:px-8 sm:pb-9 sm:pt-14",children:[(0,t.jsxs)(c.DialogHeader,{className:"items-center text-center",children:[(0,t.jsx)(c.DialogTitle,{className:"rounded-2xl rounded-br-md bg-[#A0FF29] px-5 py-2.5 text-base font-semibold leading-normal text-[#122018] sm:text-lg",children:"Tell me about your business."}),(0,t.jsx)(c.DialogDescription,{className:"sr-only",children:"Describe your business to start creating your Interactor."})]}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(s,{})}),(0,t.jsxs)("p",{className:"mt-4 text-center text-sm font-medium text-[#122018]/60",children:["Get started now."," ",(0,t.jsx)("strong",{className:"font-semibold text-[#122018]",children:"No credit card required."})]})]})]})],82813)},50020,e=>{"use strict";var t=e.i(47167);let r="AW-18325980771";t.default.env.NEXT_PUBLIC_OPENAI_ADS_PIXEL_ID?.trim(),t.default.env.NEXT_PUBLIC_META_PIXEL_ID?.trim();let n=`${r}/d8TvCNiLoNIcEOOMwaJE`,o=`${r}/m-XUCMOH2dMcEOOMwaJE`,a=`${r}/0pICCJ2B29gcEOOMwaJE`,i=`${r}/xSiwCOHB6tgcEOOMwaJE`,l=t.default.env.NEXT_PUBLIC_GOOGLE_ADS_GENERAL_DEMO_CONVERSION_ID?.trim()||`${r}/fiLsCLOh0NccEOOMwaJE`;function s(e,t,r){try{window.oaiq?.("measure",e,t,r)}catch{}}function c(e,t,r){try{window.fbq?.(e,t,r)}catch{}}function u({contentName:e="Interactor demo",contentCategory:t="General",googleAdsConversionId:r=l}={}){s("lead_created",{type:"customer_action"}),c("track","Lead",{content_name:e,content_category:t}),r&&window.gtag?.("event","conversion",{send_to:r,value:1,currency:"USD"})}e.s(["trackDemoRequest",0,u,"trackHomeServicesDemoRequest",0,function(){u({contentName:"Interactor for Home Services demo",contentCategory:"Home Services",googleAdsConversionId:i})},"trackHomeServicesLandingPageView",0,function(){s("page_viewed",{type:"contents",contents:[{id:"interactor-home-services",name:"Interactor for Home Services",content_type:"page"}]}),c("track","ViewContent",{content_name:"Interactor for Home Services",content_category:"Home Services"})},"trackHomeServicesPrimaryCtaClick",0,function(){s("custom",{type:"custom"},{custom_event_name:"home_services_primary_cta_clicked"}),c("trackCustom","HomeServicesPrimaryCtaClicked",{content_name:"Interactor for Home Services"}),window.gtag?.("event","conversion",{send_to:a,value:1,currency:"USD"})},"trackShopifyAppStoreClick",0,function(){s("custom",{type:"custom"},{custom_event_name:"shopify_app_store_clicked"}),c("trackCustom","ShopifyAppStoreClicked",{content_name:"Interactor for Shopify"}),window.gtag?.("event","conversion",{send_to:n,value:1,currency:"USD"})},"trackShopifyDemoRequest",0,function(){u({contentName:"Interactor for Shopify demo",contentCategory:"Shopify",googleAdsConversionId:o})},"trackShopifyLandingPageView",0,function(){s("page_viewed",{type:"contents",contents:[{id:"interactor-shopify",name:"Interactor for Shopify",content_type:"page"}]}),c("track","ViewContent",{content_name:"Interactor for Shopify",content_category:"Shopify"})},"trackShopifyOnboardingClick",0,function(e){s("custom",{type:"custom"},{custom_event_name:"shopify_onboarding_started"}),c("trackCustom","ShopifyOnboardingStarted",{content_name:"Interactor for Shopify"});let t=!1,r=()=>{t||(t=!0,window.location.assign(e))},o=window.gtag;if(!o)return void r();let a=window.setTimeout(r,2100);o("event","conversion",{send_to:n,value:1,currency:"USD",event_callback:()=>{window.clearTimeout(a),r()},event_timeout:2e3})},"trackShopifyPrimaryCtaClick",0,function(){s("custom",{type:"custom"},{custom_event_name:"shopify_primary_cta_clicked"}),c("trackCustom","ShopifyPrimaryCtaClicked",{content_name:"Interactor for Shopify"})}])},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(a.urlQueryToSearchParams(s)));let u=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${o}${u}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},18581,(e,t,r)=>{"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),i=e.r(43476),l=a._(e.r(71645)),s=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(88540),m=e.r(91949),h=e.r(73668),v=e.r(9396);function g(t){var r,n;let o,a,g,[x,b]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,l.useRef)(null),{href:E,as:N,children:j,prefetch:C=null,passHref:_,replace:S,shallow:R,scroll:k,onClick:O,onMouseEnter:I,onTouchStart:P,legacyBehavior:A=!1,onNavigate:D,transitionTypes:T,ref:M,unstable_dynamicOnHover:L,...F}=t;o=j,A&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let W=l.default.useContext(c.AppRouterContext),$=!1!==C,B=!1!==C?null===(n=C)||"auto"===n?v.FetchStrategy.PPR:v.FetchStrategy.Full:v.FetchStrategy.PPR,U="string"==typeof(r=N||E)?r:(0,s.formatUrl)(r);if(A){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(o)}let z=A?a&&"object"==typeof a&&a.ref:M,H=l.default.useCallback(e=>(null!==W&&(w.current=(0,m.mountLinkInstance)(e,U,W,B,$,b)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(e)}),[$,U,W,B,b]),V={ref:(0,u.useMergedRef)(H,z),onClick(t){A||"function"!=typeof O||O(t),A&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!W||t.defaultPrevented||function(t,r,n,o,a,i,s){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);l.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,s)})}}(t,U,w,S,k,D,T)},onMouseEnter(e){A||"function"!=typeof I||I(e),A&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),W&&$&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){A||"function"!=typeof P||P(e),A&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),W&&$&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,d.isAbsoluteUrl)(U)?V.href=U:A&&!_&&("a"!==a.type||"href"in a.props)||(V.href=(0,f.addBasePath)(U)),g=A?l.default.cloneElement(a,V):(0,i.jsx)("a",{...F,...V,children:o}),(0,i.jsx)(y.Provider,{value:x,children:g})}e.r(84508);let y=(0,l.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
5dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13642,e=>{"use strict";var t=e.i(43476),r=e.i(22016);let n=(0,e.i(75254).default)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),o=({size:e=24,color:r="currentColor",...n})=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:e,height:e,fill:r,...n,children:(0,t.jsx)("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z",fill:r})}),a=({size:e=24,color:r="currentColor",...n})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"1 1 22 22",fill:r,xmlns:"http://www.w3.org/2000/svg",focusable:"false",...n,children:(0,t.jsx)("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})});var i=e.i(14877),l=e.i(50020),s=e.i(82813);e.s(["default",0,({showShopifyAppStoreBadge:e=!0})=>{let c=(0,i.useIsMobile)()?18:20;return(0,t.jsxs)("footer",{className:"relative w-full overflow-hidden border-t border-white/10 bg-[#080908] text-white",children:[(0,t.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-6xl px-5 py-16 md:px-8 md:py-24",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 md:gap-8 mb-16",children:[(0,t.jsxs)("div",{className:"md:col-span-5 flex flex-col space-y-6",children:[(0,t.jsx)(r.default,{href:"/",className:"font-poppins text-3xl font-semibold tracking-tighter text-white",children:"Interactor"}),(0,t.jsx)("p",{className:"max-w-xs text-lg font-medium leading-relaxed text-white/[0.62]",children:"The AI concierge for your business."}),(0,t.jsxs)("div",{className:"flex space-x-4 pt-2",children:[(0,t.jsx)("a",{href:"https://x.com/interactorai",target:"_blank",rel:"noopener noreferrer","aria-label":"Interactor on X",className:"rounded-full border border-white/14 bg-white/[0.05] p-2 text-white/[0.58] transition-colors hover:border-[#A0FF29]/50 hover:bg-[#A0FF29] hover:text-[#0b0c0b]",children:(0,t.jsx)(o,{size:c})}),(0,t.jsx)("a",{href:"https://linkedin.com/company/interactor-ai",target:"_blank",rel:"noopener noreferrer","aria-label":"Interactor on LinkedIn",className:"rounded-full border border-white/14 bg-white/[0.05] p-2 text-white/[0.58] transition-colors hover:border-[#A0FF29]/50 hover:bg-[#A0FF29] hover:text-[#0b0c0b]",children:(0,t.jsx)(a,{size:c})}),(0,t.jsx)("a",{href:"https://instagram.com/interactorai",target:"_blank",rel:"noopener noreferrer","aria-label":"Interactor on Instagram",className:"rounded-full border border-white/14 bg-white/[0.05] p-2 text-white/[0.58] transition-colors hover:border-[#A0FF29]/50 hover:bg-[#A0FF29] hover:text-[#0b0c0b]",children:(0,t.jsx)(n,{size:c})})]}),e&&(0,t.jsx)("a",{href:"https://apps.shopify.com/interactor",target:"_blank",rel:"noopener noreferrer",onClick:l.trackShopifyAppStoreClick,"aria-label":"Install Interactor from the Shopify App Store",className:"block h-11 w-[166px] shrink-0 transition-opacity hover:opacity-80",children:(0,t.jsx)("img",{src:"/ia-home/assets/shopify/badge-shopify-app-store-dark.svg",alt:"Available on Shopify App Store",className:"h-11 w-[166px]"})})]}),(0,t.jsxs)("div",{className:"md:col-span-7 grid grid-cols-2 md:grid-cols-3 gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,t.jsx)("h4",{className:"font-mono text-[11px] font-medium uppercase tracking-[0.18em] text-[#A0FF29]",children:"Product"}),(0,t.jsx)(r.default,{href:"/how-it-works",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"How It Works"}),(0,t.jsx)(r.default,{href:"/shopify",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Shopify"}),(0,t.jsx)(r.default,{href:"/pricing",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Pricing"}),(0,t.jsx)(s.default,{children:(0,t.jsx)("button",{type:"button",className:"w-fit text-left text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Get Started"})}),(0,t.jsx)("a",{href:"https://add.interactor.ai",target:"_blank",rel:"noopener noreferrer",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Add to Your Site"}),(0,t.jsx)(r.default,{href:"/operator",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Operator"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,t.jsx)("h4",{className:"font-mono text-[11px] font-medium uppercase tracking-[0.18em] text-[#A0FF29]",children:"Company"}),(0,t.jsx)(r.default,{href:"/who-we-help",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Who We Help"}),(0,t.jsx)(r.default,{href:"/get-support",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Support"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,t.jsx)("h4",{className:"font-mono text-[11px] font-medium uppercase tracking-[0.18em] text-[#A0FF29]",children:"Legal"}),(0,t.jsx)(r.default,{href:"/policies/terms",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Terms of Service"}),(0,t.jsx)(r.default,{href:"/policies/privacy",className:"text-sm font-medium text-white/[0.58] transition-colors hover:text-white",children:"Privacy Policy"})]})]})]}),(0,t.jsx)("div",{className:"flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0 mt-8",children:(0,t.jsxs)("p",{className:"text-sm text-white/[0.42]",children:["© ",new Date().getFullYear()," Interactor AI, Inc. All rights reserved."]})})]}),(0,t.jsx)("div",{className:"absolute bottom-[-5vw] left-0 right-0 flex justify-center pointer-events-none select-none overflow-hidden",children:(0,t.jsx)("span",{className:"font-poppins whitespace-nowrap text-[22vw] font-semibold leading-none tracking-tighter text-white/[0.035]",children:"Interactor"})})]})}],13642)},45678,78917,e=>{"use strict";var t=e.i(43476),r=e.i(22016);
5let n=(0,e.i(75254).default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,n],78917);let o=[{label:"How It Works",href:"/how-it-works"},{label:"Who We Help",href:"/who-we-help"},{label:"Pricing",href:"/pricing"}];e.s(["default",0,({ctaHref:e="/signup",ctaLabel:a="Get Started",ctaExternal:i=!1,showNavItems:l=!0,showCtaIcon:s=!1,tone:c="dark",mobileTone:u=c,onCtaClick:d})=>{let f="light"===c,p="light"===u;return(0,t.jsxs)("header",{className:"absolute left-0 right-0 top-0 z-30",children:[(0,t.jsx)("div",{className:`absolute inset-x-0 top-0 h-px ${p?"bg-white/25":"bg-[#0b0c0b]/10"} ${f?"md:bg-white/25":"md:bg-[#0b0c0b]/10"}`}),l&&(0,t.jsx)("nav",{className:"absolute inset-y-0 left-1/2 z-10 hidden items-center gap-2 md:flex",style:{transform:"translateX(-50%)"},children:o.map(e=>(0,t.jsx)(r.default,{href:e.href,className:`px-3 py-2 text-sm font-medium transition-colors ${f?"text-white/70 hover:text-white":"text-[#0b0c0b]/60 hover:text-[#0b0c0b]"}`,children:e.label},e.href))}),(0,t.jsxs)("div",{className:"relative mx-auto flex max-w-7xl items-center justify-between px-4 py-4 md:px-8 md:py-7",children:[(0,t.jsx)(r.default,{href:"/",className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:`font-poppins text-[1.7rem] font-semibold leading-none tracking-tighter md:text-3xl ${p?"text-white":"text-[#0b0c0b]"} ${f?"md:text-white":"md:text-[#0b0c0b]"}`,children:"Interactor"})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(r.default,{href:"/login",className:`inline text-sm font-medium transition-colors ${p?"text-white/70 hover:text-white":"text-[#0b0c0b]/60 hover:text-[#0b0c0b]"} ${f?"md:text-white/70 md:hover:text-white":"md:text-[#0b0c0b]/60 md:hover:text-[#0b0c0b]"}`,children:"Log in"}),(0,t.jsxs)("a",{href:e,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,onClick:d,className:"inline-flex h-9 items-center justify-center gap-2 rounded-full px-3.5 text-sm font-semibold transition-colors duration-200 md:h-10 md:px-4 bg-[#A0FF29] text-[#0b0c0b] hover:bg-[#b5ff58]",children:[a,s&&(0,t.jsx)(n,{className:`h-3.5 w-3.5 ${f?"text-[#0b0c0b]/[0.55]":"text-white/70"}`})]})]})]})]})}],45678)}]);
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.