vendor: 5,674 bytes, lines 1-16
1import{c as ut,r as s,G as nt,H as B,j as t,P as A,I as te,J as Rt,K as cn,N as Pt,O as D,Q as pt,S as Dt,T as dn,U as At,V as _t,W as ot,a as O,X as un,b as pn,Y as fn,Z as Mt,$ as mn,a0 as re,a1 as Ot,a2 as hn,a3 as gn,a4 as xn,a5 as vn,L as yn,m as pe,A as Lt,s as bn,a6 as wn}from"./index-DCO7RIdX.js";import{B as Sn}from"./button-muoTijDH.js";import{u as be,a as Nn,b as Cn}from"./index-SfMDqvh0.js";import{C as Ft}from"./chevron-down-Bft3YYSw.js";import{C as jn}from"./chevron-up-15gURgcm.js";import{C as En}from"./check-Cce4pn0o.js";import{A as Tn}from"./arrow-left-SYib8U8V.js";import{L as kn}from"./layers-CVKySQiJ.js";import{L as In}from"./lock-CFdtn-XH.js";import{U as Rn}from"./users-BBtCGAWu.js";import{P as Pn}from"./play-Dp3jBMpN.js";import{C as Dn}from"./chevron-left-BKKphSc-.js";import{C as An}from"./chevron-right-C0Rz2QcE.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const _n=ut("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Mn=ut("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const On=ut("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);var ze="focusScope.autoFocusOnMount",Xe="focusScope.autoFocusOnUnmount",yt={bubbles:!1,cancelable:!0},Ln="FocusScope",ft=s.forwardRef((e,r)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...c}=e,[i,u]=s.useState(null),p=nt(a),x=nt(l),g=s.useRef(null),b=B(r,d=>u(d)),w=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(o){let d=function(h){if(w.paused||!i)return;const C=h.target;i.contains(C)?g.current=C:ee(g.current,{select:!0})},m=function(h){if(w.paused||!i)return;const C=h.relatedTarget;C!==null&&(i.contains(C)||ee(g.current,{select:!0}))},v=function(h){if(document.activeElement===document.body)for(const j of h)j.removedNodes.length>0&&ee(i)};document.addEventListener("focusin",d),document.addEventListener("focusout",m);const f=new MutationObserver(v);return i&&f.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",m),f.disconnect()}}},[o,i,w.paused]),s.useEffect(()=>{if(i){wt.add(w);const d=document.activeElement;if(!i.contains(d)){const v=new CustomEvent(ze,yt);i.addEventListener(ze,p),i.dispatchEvent(v),v.defaultPrevented||(Fn($n(Bt(i)),{select:!0}),document.activeElement===d&&ee(i))}return()=>{i.removeEventListener(ze,p),setTimeout(()=>{const v=new CustomEvent(Xe,yt);i.addEventListener(Xe,x),i.dispatchEvent(v),v.defaultPrevented||ee(d??document.body,{select:!0}),i.removeEventListener(Xe,x),wt.remove(w)},0)}}},[i,p,x,w]);const N=s.useCallback(d=>{if(!n&&!o||w.paused)return;const m=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,v=document.activeElement;if(m&&v){const f=d.currentTarget,[h,C]=Bn(f);h&&C?!d.shiftKey&&v===C?(d.preventDefault(),n&&ee(h,{select:!0})):d.shiftKey&&v===h&&(d.preventDefault(),n&&ee(C,{select:!0})):v===f&&d.preventDefault()}},[n,o,w.paused]);return t.jsx(A.div,{tabIndex:-1,...c,ref:b,onKeyDown:N})});ft.displayName=Ln;function Fn(e,{select:r=!1}={}){const n=document.activeElement;for(const o of e)if(ee(o,{select:r}),document.activeElement!==n)return}function Bn(e){const r=Bt(e),n=bt(r,e),o=bt(r.reverse(),e);return[n,o]}function Bt(e){const r=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)r.push(n.currentNode);return r}function bt(e,r){for(const n of e)if(!Wn(n,{upTo:r}))return n}function Wn(e,{upTo:r}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(r!==void 0&&e===r)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Hn(e){return e instanceof HTMLInputElement&&"select"in e}function ee(e,{select:r=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Hn(e)&&r&&e.select()}}var wt=Vn();function Vn(){let e=[];return{add(r){const n=e[0];r!==n&&(n==null||n.pause()),e=St(e,r),e.unshift(r)},remove(r){var n;e=St(e,r),(n=e[0])==null||n.resume()}}}function St(e,r){const n=[...e],o=n.indexOf(r);return o!==-1&&n.splice(o,1),n}function $n(e){return e.filter(r=>r.tagName!=="A")}var Ze=0;function Wt(){s.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Nt()),document.body.insertAdjacentElement("beforeend",e[1]??Nt()),Ze++,()=>{Ze===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ze--}},[])}function Nt(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 3,546 bytes, line 16
16style.position="fixed",e.style.pointerEvents="none",e}var Ae="right-scroll-bar-position",_e="width-before-scroll-bar",Un="with-scroll-bars-hidden",Kn="--removed-body-scroll-bar-size";function Qe(e,r){return typeof e=="function"?e(r):e&&(e.current=r),e}function Gn(e,r){var n=s.useState(function(){return{value:e,callback:r,facade:{get current(){return n.value},set current(o){var a=n.value;a!==o&&(n.value=o,n.callback(o,a))}}}})[0];return n.callback=r,n.facade}var Yn=typeof window<"u"?s.useLayoutEffect:s.useEffect,Ct=new WeakMap;function qn(e,r){var n=Gn(null,function(o){return e.forEach(function(a){return Qe(a,o)})});return Yn(function(){var o=Ct.get(n);if(o){var a=new Set(o),l=new Set(e),c=n.current;a.forEach(function(i){l.has(i)||Qe(i,null)}),l.forEach(function(i){a.has(i)||Qe(i,c)})}Ct.set(n,e)},[e]),n}function zn(e){return e}function Xn(e,r){r===void 0&&(r=zn);var n=[],o=!1,a={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(l){var c=r(l,o);return n.push(c),function(){n=n.filter(function(i){return i!==c})}},assignSyncMedium:function(l){for(o=!0;n.length;){var c=n;n=[],c.forEach(l)}n={push:function(i){return l(i)},filter:function(){return n}}},assignMedium:function(l){o=!0;var c=[];if(n.length){var i=n;n=[],i.forEach(l),c=n}var u=function(){var x=c;c=[],x.forEach(l)},p=function(){return Promise.resolve().then(u)};p(),n={push:function(x){c.push(x),p()},filter:function(x){return c=c.filter(x),n}}}};return a}function Zn(e){e===void 0&&(e={});var r=Xn(null);return r.options=te({async:!0,ssr:!1},e),r}var Ht=function(e){var r=e.sideCar,n=Rt(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=r.read();if(!o)throw new Error("Sidecar medium not found");return s.createElement(o,te({},n))};Ht.isSideCarExport=!0;function Qn(e,r){return e.useMedium(r),Ht}var Vt=Zn(),Je=function(){},Le=s.forwardRef(function(e,r){var n=s.useRef(null),o=s.useState({onScrollCapture:Je,onWheelCapture:Je,onTouchMoveCapture:Je}),a=o[0],l=o[1],c=e.forwardProps,i=e.children,u=e.className,p=e.removeScrollBar,x=e.enabled,g=e.shards,b=e.sideCar,w=e.noRelative,N=e.noIsolation,d=e.inert,m=e.allowPinchZoom,v=e.as,f=v===void 0?"div":v,h=e.gapMode,C=Rt(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=b,V=qn([n,r]),I=te(te({},C),a);return s.createElement(s.Fragment,null,x&&s.createElement(j,{sideCar:Vt,removeScrollBar:p,shards:g,noRelative:w,noIsolation:N,inert:d,setCallbacks:l,allowPinchZoom:!!m,lockRef:n,gapMode:h}),c?s.cloneElement(s.Children.only(i),te(te({},I),{ref:V})):s.createElement(f,te({},I,{className:u,ref:V}),i))});Le.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Le.classNames={fullWidth:_e,zeroRight:Ae};var Jn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function eo(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Jn();return r&&e.setAttribute("nonce",r),e}function to(e,r){e.styleSheet?e.styleSheet.cssText=r:e.appendChild(document.createTextNode(r))}function ro(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var no=function(){var e=0,r=null;return{add:function(n){e==0&&(r=eo())&&(to(r,n),ro(r)),e++},remove:function(){e--,!e&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},oo=function(){var e=no();
vendor: 9,804 bytes, lines 16-56
16return function(r,n){s.useEffect(function(){return e.add(r),function(){e.remove()}},[r&&n])}},$t=function(){var e=oo(),r=function(n){var o=n.styles,a=n.dynamic;return e(o,a),null};return r},ao={left:0,top:0,right:0,gap:0},et=function(e){return parseInt(e||"",10)||0},so=function(e){var r=window.getComputedStyle(document.body),n=r[e==="padding"?"paddingLeft":"marginLeft"],o=r[e==="padding"?"paddingTop":"marginTop"],a=r[e==="padding"?"paddingRight":"marginRight"];return[et(n),et(o),et(a)]},io=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ao;var r=so(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,o-n+r[2]-r[0])}},lo=$t(),we="data-scroll-locked",co=function(e,r,n,o){var a=e.left,l=e.top,c=e.right,i=e.gap;return n===void 0&&(n="margin"),` 17 .`.concat(Un,` { 18 overflow: hidden `).concat(o,`; 19 padding-right: `).concat(i,"px ").concat(o,`; 20 } 21 body[`).concat(we,`] { 22 overflow: hidden `).concat(o,`; 23 overscroll-behavior: contain; 24 `).concat([r&&"position: relative ".concat(o,";"),n==="margin"&&` 25 padding-left: `.concat(a,`px; 26 padding-top: `).concat(l,`px; 27 padding-right: `).concat(c,`px; 28 margin-left:0; 29 margin-top:0; 30 margin-right: `).concat(i,"px ").concat(o,`; 31 `),n==="padding"&&"padding-right: ".concat(i,"px ").concat(o,";")].filter(Boolean).join(""),` 32 } 33 34 .`).concat(Ae,` { 35 right: `).concat(i,"px ").concat(o,`; 36 } 37 38 .`).concat(_e,` { 39 margin-right: `).concat(i,"px ").concat(o,`; 40 } 41 42 .`).concat(Ae," .").concat(Ae,` { 43 right: 0 `).concat(o,`; 44 } 45 46 .`).concat(_e," .").concat(_e,` { 47 margin-right: 0 `).concat(o,`; 48 } 49 50 body[`).concat(we,`] { 51 `).concat(Kn,": ").concat(i,`px; 52 } 53`)},jt=function(){var e=parseInt(document.body.getAttribute(we)||"0",10);return isFinite(e)?e:0},uo=function(){s.useEffect(function(){return document.body.setAttribute(we,(jt()+1).toString()),function(){var e=jt()-1;e<=0?document.body.removeAttribute(we):document.body.setAttribute(we,e.toString())}},[])},po=function(e){var r=e.noRelative,n=e.noImportant,o=e.gapMode,a=o===void 0?"margin":o;uo();var l=s.useMemo(function(){return io(a)},[a]);return s.createElement(lo,{styles:co(l,!r,a,n?"":"!important")})},at=!1;if(typeof window<"u")try{var Ie=Object.defineProperty({},"passive",{get:function(){return at=!0,!0}});window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch{at=!1}var me=at?{passive:!1}:!1,fo=function(e){return e.tagName==="TEXTAREA"},Ut=function(e,r){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[r]!=="hidden"&&!(n.overflowY===n.overflowX&&!fo(e)&&n[r]==="visible")},mo=function(e){return Ut(e,"overflowY")},ho=function(e){return Ut(e,"overflowX")},Et=function(e,r){var n=r.ownerDocument,o=r;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var a=Kt(e,o);if(a){var l=Gt(e,o),c=l[1],i=l[2];if(c>i)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},go=function(e){var r=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[r,n,o]},xo=function(e){var r=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[r,n,o]},Kt=function(e,r){return e==="v"?mo(r):ho(r)},Gt=function(e,r){return e==="v"?go(r):xo(r)},vo=function(e,r){return e==="h"&&r==="rtl"?-1:1},yo=function(e,r,n,o,a){var l=vo(e,window.getComputedStyle(r).direction),c=l*o,i=n.target,u=r.contains(i),p=!1,x=c>0,g=0,b=0;do{if(!i)break;var w=Gt(e,i),N=w[0],d=w[1],m=w[2],v=d-m-l*N;(N||v)&&Kt(e,i)&&(g+=v,b+=N);var f=i.parentNode;i=f&&f.nodeType===Node.DOCUMENT_FRAGMENT_NODE?f.host:f}while(!u&&i!==document.body||u&&(r.contains(i)||r===i));return(x&&(Math.abs(g)<1||!a)||!x&&(Math.abs(b)<1||!a))&&(p=!0),p},Re=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tt=function(e){return[e.deltaX,e.deltaY]},kt=function(e){return e&&"current"in e?e.current:e},bo=function(e,r){return e[0]===r[0]&&e[1]===r[1]},wo=function(e){return` 54 .block-interactivity-`.concat(e,` {pointer-events: none;} 55 .allow-interactivity-`).concat(e,` {pointer-events: all;} 56`)},So=0,he=[];function No(e){var r=s.useRef([]),n=s.useRef([0,0]),o=s.useRef(),a=s.useState(So++)[0],l=s.useState($t)[0],c=s.useRef(e);s.useEffect(function(){c.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var d=cn([e.lockRef.current],(e.shards||[]).map(kt),!0).filter(Boolean);return d.forEach(function(m){return m.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),d.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var i=s.useCallback(function(d,m){if("touches"in d&&d.touches.length===2||d.type==="wheel"&&d.ctrlKey)return!c.current.allowPinchZoom;var v=Re(d),f=n.current,h="deltaX"in d?d.deltaX:f[0]-v[0],C="deltaY"in d?d.deltaY:f[1]-v[1],j,V=d.target,I=Math.abs(h)>Math.abs(C)?"h":"v";if("touches"in d&&I==="h"&&V.type==="range")return!1;var L=Et(I,V);if(!L)return!0;if(L?j=I:(j=I==="v"?"h":"v",L=Et(I,V)),!L)return!1;if(!o.current&&"changedTouches"in d&&(h||C)&&(o.current=j),!j)return!0;var $=o.current||j;return yo($,m,d,$==="h"?h:C,!0)},[]),u=s.useCallback(function(d){var m=d;if(!(!he.length||he[he.length-1]!==l)){var v="deltaY"in m?Tt(m):Re(m),f=r.current.filter(function(j){return j.name===m.type&&(j.target===m.target||m.target===j.shadowParent)&&bo(j.delta,v)})[0];if(f&&f.should){m.cancelable&&m.preventDefault();return}if(!f){var h=(c.current.shards||[]).map(kt).filter(Boolean).filter(function(j){return j.contains(m.target)}),C=h.length>0?i(m,h[0]):!c.current.noIsolation;C&&m.cancelable&&m.preventDefault()}}},[]),p=s.useCallback(function(d,m,v,f){var h={name:d,delta:m,target:v,should:f,shadowParent:Co(v)};r.current.push(h),setTimeout(function(){r.current=r.current.filter(function(C){return C!==h})},1)},[]),x=s.useCallback(function(d){n.current=Re(d),o.current=void 0},[]),g=s.useCallback(function(d){p(d.type,Tt(d),d.target,i(d,e.lockRef.current))},[]),b=s.useCallback(function(d){p(d.type,Re(d),d.target,i(d,e.lockRef.current))},[]);s.useEffect(function(){return he.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",u,me),document.addEventListener("touchmove",u,me),document.addEventListener("touchstart",x,me),function(){he=he.filter(function(d){return d!==l}),document.removeEventListener("wheel",u,me),document.removeEventListener("touchmove",u,me),document.removeEventListener("touchstart",x,me)}},[]);var w=e.removeScrollBar,N=e.inert;return s.createElement(s.Fragment,null,N?s.createElement(l,{styles:wo(a)}):null,w?s.createElement(po,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Co(e){for(var r=null;e!==null;)e instanceof ShadowRoot&&(r=e.host,e=e.host),e=e.parentNode;return r}const jo=Qn(Vt,No);var mt=s.forwardRef(function(e,r){return s.createElement(Le,te({},e,{ref:r,sideCar:jo}))});mt.classNames=Le.classNames;var Eo=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},ge=new WeakMap,Pe=new WeakMap,De={},tt=0,Yt=function(e){return e&&(e.host||Yt(e.parentNode))},To=function(e,r){return r.map(function(n){if(e.contains(n))return n;var o=Yt(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ko=function(e,r,n,o){var a=To(r,Array.isArray(e)?e:[e]);De[n]||(De[n]=new WeakMap);var l=De[n],c=[],i=new Set,u=new Set(a),p=function(g){!g||i.has(g)||(i.add(g),p(g.parentNode))};a.forEach(p);var x=function(g){!g||u.has(g)||Array.prototype.forEach.call(g.children,function(b){if(i.has(b))x(b);else try{var w=b.getAttribute(o),N=w!==null&&w!=="false",d=(ge.get(b)||0)+1,m=(l.get(b)||0)+1;ge.set(b,d),l.set(b,m),c.push(b),d===1&&N&&Pe.set(b,!0),m===1&&b.setAttribute(n,"true"),N||b.setAttribute(o,"true")}catch(v){console.error("aria-hidden: cannot operate on ",b,v)}})};return x(r),i.clear(),tt++,function(){c.forEach(function(g){var b=ge.get(g)-1,w=l.get(g)-1;ge.set(g,b),l.set(g,w),b||(Pe.has(g)||g.removeAttribute(o),Pe.delete(g)),w||g.removeAttribute(n)}),tt--,tt||(ge=new WeakMap,ge=new WeakMap,Pe=new WeakMap,De={})}},qt=function(e,r,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),a=Eo(e);return a?(o.push.apply(o,Array.from(a.querySelectorAll("[aria-live]"))),ko(o,a,n,"aria-hidden")):function(){return null}},Fe="Dialog",[zt,Ga]=Pt(Fe),[Io,K]=zt(Fe),Xt=e=>{const{__scopeDialog:r,children:n,open:o,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,i=s.useRef(null),u=s.useRef(null),[p,x]=ot({prop:o,defaultProp:a??!1,onChange:l,caller:Fe});return t.jsx(Io,{scope:r,triggerRef:i,contentRef:u,contentId:be(),titleId:be(),descriptionId:be(),open:p,onOpenChange:x,onOpenToggle:s.useCallback(()=>x(g=>!g),[x]),modal:c,children:n})};Xt.displayName=Fe;var Zt="DialogTrigger",Qt=s.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=K(Zt,n),l=B(r,a.triggerRef);return t.jsx(A.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":xt(a.open),...o,ref:l,onClick:D(e.onClick,a.onOpenToggle)})});Qt.displayName=Zt;var ht="DialogPortal",[Ro,Jt]=zt(ht,{forceMount:void 0}),er=e=>{const{__scopeDialog:r,forceMount:n,children:o,container:a}=e,l=K(ht,r);return t.jsx(Ro,{scope:r,forceMount:n,children:s.Children.map(o,c=>t.jsx(pt,{present:n||l.open,children:t.jsx(At,{asChild:!0,container:a,children:c})}))})};er.displayName=ht;var Me="DialogOverlay",tr=s.forwardRef((e,r)=>{const n=Jt(Me,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,l=K(Me,e.__scopeDialog);return l.modal?t.jsx(pt,{present:o||l.open,children:t.jsx(Do,{...a,ref:r})}):null});
vendor: 4,701 bytes, lines 56-60
56tr.displayName=Me;var Po=_t("DialogOverlay.RemoveScroll"),Do=s.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=K(Me,n);return t.jsx(mt,{as:Po,allowPinchZoom:!0,shards:[a.contentRef],children:t.jsx(A.div,{"data-state":xt(a.open),...o,ref:r,style:{pointerEvents:"auto",...o.style}})})}),ce="DialogContent",rr=s.forwardRef((e,r)=>{const n=Jt(ce,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,l=K(ce,e.__scopeDialog);return t.jsx(pt,{present:o||l.open,children:l.modal?t.jsx(Ao,{...a,ref:r}):t.jsx(_o,{...a,ref:r})})});rr.displayName=ce;var Ao=s.forwardRef((e,r)=>{const n=K(ce,e.__scopeDialog),o=s.useRef(null),a=B(r,n.contentRef,o);return s.useEffect(()=>{const l=o.current;if(l)return qt(l)},[]),t.jsx(nr,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:D(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:D(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,i=c.button===0&&c.ctrlKey===!0;(c.button===2||i)&&l.preventDefault()}),onFocusOutside:D(e.onFocusOutside,l=>l.preventDefault())})}),_o=s.forwardRef((e,r)=>{const n=K(ce,e.__scopeDialog),o=s.useRef(!1),a=s.useRef(!1);return t.jsx(nr,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var c,i;(c=e.onCloseAutoFocus)==null||c.call(e,l),l.defaultPrevented||(o.current||(i=n.triggerRef.current)==null||i.focus(),l.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:l=>{var u,p;(u=e.onInteractOutside)==null||u.call(e,l),l.defaultPrevented||(o.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=l.target;((p=n.triggerRef.current)==null?void 0:p.contains(c))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}})}),nr=s.forwardRef((e,r)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,i=K(ce,n),u=s.useRef(null),p=B(r,u);return Wt(),t.jsxs(t.Fragment,{children:[t.jsx(ft,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:t.jsx(Dt,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":xt(i.open),...c,ref:p,onDismiss:()=>i.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(Mo,{titleId:i.titleId}),t.jsx(Lo,{contentRef:u,descriptionId:i.descriptionId})]})]})}),gt="DialogTitle",or=s.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=K(gt,n);return t.jsx(A.h2,{id:a.titleId,...o,ref:r})});or.displayName=gt;var ar="DialogDescription",sr=s.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=K(ar,n);return t.jsx(A.p,{id:a.descriptionId,...o,ref:r})});sr.displayName=ar;var ir="DialogClose",lr=s.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=K(ir,n);return t.jsx(A.button,{type:"button",...o,ref:r,onClick:D(e.onClick,()=>a.onOpenChange(!1))})});lr.displayName=ir;function xt(e){return e?"open":"closed"}var cr="DialogTitleWarning",[Ya,dr]=dn(cr,{contentName:ce,titleName:gt,docsSlug:"dialog"}),Mo=({titleId:e})=>{const r=dr(cr),n=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users. 57 58If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component. 59 60For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return s.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Oo="DialogDescriptionWarning",Lo=({contentRef:e,descriptionId:r})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${dr(Oo).contentName}}.`;return s.useEffect(()=>{var l;const a=(l=e.current)==null?void 0:l.getAttribute("aria-describedby");r&&a&&(document.getElementById(r)||console.warn(o))},[o,e,r]),null},Fo=Xt,Bo=Qt,Wo=er,ur=tr,pr=rr,fr=or,mr=sr,Ho=lr;const Vo=Fo,$o=Bo,Uo=Wo,hr=s.forwardRef(({className:e,...r},n)=>t.jsx(ur,{ref:n,className:O("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),...r}));hr.displayName=ur.displayName;const gr=s.forwardRef(({className:e,children:r,...n},o)=>t.jsxs(Uo,{children:[t.jsx(hr,{}),t.jsxs(pr,{ref:o,className:O("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
60nded-lg",e),...n,children:[r,t.jsxs(Ho,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[t.jsx(un,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));gr.displayName=pr.displayName;const xr=({className:e,...r})=>t.jsx("div",{className:O("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});xr.displayName="DialogHeader";const vr=s.forwardRef(({className:e,...r},n)=>t.jsx(fr,{ref:n,className:O("text-lg font-semibold leading-none tracking-tight",e),...r}));vr.displayName=fr.displayName;const Ko=s.forwardRef(({className:e,...r},n)=>t.jsx(mr,{ref:n,className:O("text-sm text-muted-foreground",e),...r}));Ko.displayName=mr.displayName;const Ce=s.forwardRef(({className:e,type:r,...n},o)=>t.jsx("input",{type:r,className:O("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:o,...n}));Ce.displayName="Input";var Go="Label",yr=s.forwardRef((e,r)=>t.jsx(A.label,{...e,ref:r,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=e.onMouseDown)==null||a.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));yr.displayName=Go;var br=yr;const Yo=pn("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),le=s.forwardRef(({className:e,...r},n)=>t.jsx(br,{ref:n,className:O(Yo(),e),...r}));le.displayName=br.displayName;const wr=s.forwardRef(({className:e,...r},n)=>t.jsx("textarea",{className:O("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
60ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...r}));wr.displayName="Textarea";function It(e,[r,n]){return Math.min(n,Math.max(r,e))}var qo=[" ","Enter","ArrowUp","ArrowDown"],zo=[" ","Enter"],de="Select",[Be,We,Xo]=fn(de),[Se,qa]=Pt(de,[Xo,Mt]),He=Mt(),[Zo,ne]=Se(de),[Qo,Jo]=Se(de),Sr=e=>{const{__scopeSelect:r,children:n,open:o,defaultOpen:a,onOpenChange:l,value:c,defaultValue:i,onValueChange:u,dir:p,name:x,autoComplete:g,disabled:b,required:w,form:N}=e,d=He(r),[m,v]=s.useState(null),[f,h]=s.useState(null),[C,j]=s.useState(!1),V=Cn(p),[I,L]=ot({prop:o,defaultProp:a??!1,onChange:l,caller:de}),[$,ae]=ot({prop:c,defaultProp:i,onChange:u,caller:de}),Y=s.useRef(null),q=m?N||!!m.closest("form"):!0,[Q,z]=s.useState(new Set),X=Array.from(Q).map(F=>F.props.value).join(";");return t.jsx(vn,{...d,children:t.jsxs(Zo,{required:w,scope:r,trigger:m,onTriggerChange:v,valueNode:f,onValueNodeChange:h,valueNodeHasChildren:C,onValueNodeHasChildrenChange:j,contentId:be(),value:$,onValueChange:ae,open:I,onOpenChange:L,dir:V,triggerPointerDownPosRef:Y,disabled:b,children:[t.jsx(Be.Provider,{scope:r,children:t.jsx(Qo,{scope:e.__scopeSelect,onNativeOptionAdd:s.useCallback(F=>{z(G=>new Set(G).add(F))},[]),onNativeOptionRemove:s.useCallback(F=>{z(G=>{const Z=new Set(G);return Z.delete(F),Z})},[]),children:n})}),q?t.jsxs(Gr,{"aria-hidden":!0,required:w,tabIndex:-1,name:x,autoComplete:g,value:$,onChange:F=>ae(F.target.value),disabled:b,form:N,children:[$===void 0?t.jsx("option",{value:""}):null,Array.from(Q)]},X):null]})})};Sr.displayName=de;var Nr="SelectTrigger",Cr=s.forwardRef((e,r)=>{const{__scopeSelect:n,disabled:o=!1,...a}=e,l=He(n),c=ne(Nr,n),i=c.disabled||o,u=B(r,c.onTriggerChange),p=We(n),x=s.useRef("touch"),[g,b,w]=qr(d=>{const m=p().filter(h=>!h.disabled),v=m.find(h=>h.value===c.value),f=zr(m,d,v);f!==void 0&&c.onValueChange(f.value)}),N=d=>{i||(c.onOpenChange(!0),w()),d&&(c.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return t.jsx(mn,{asChild:!0,...l,children:t.jsx(A.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":Yr(c.value)?"":void 0,...a,ref:u,onClick:D(a.onClick,d=>{d.currentTarget.focus(),x.current!=="mouse"&&N(d)}),onPointerDown:D(a.onPointerDown,d=>{x.current=d.pointerType;const m=d.target;m.hasPointerCapture(d.pointerId)&&m.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(N(d),d.preventDefault())}),onKeyDown:D(a.onKeyDown,d=>{const m=g.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&b(d.key),!(m&&d.key===" ")&&qo.includes(d.key)&&(N(),d.preventDefault())})})})});Cr.displayName=Nr;var jr="SelectValue",Er=s.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:a,children:l,placeholder:c="",...i}=e,u=ne(jr,n),{onValueNodeHasChildrenChange:p}=u,x=l!==void 0,g=B(r,u.onValueNodeChange);return re(()=>{p(x)},[p,x]),t.jsx(A.span,{...i,ref:g,style:{pointerEvents:"none"},children:Yr(u.value)?t.jsx(t.Fragment,{children:c}):l})});Er.displayName=jr;var ea="SelectIcon",Tr=s.forwardRef((e,r)=>{const{__scopeSelect:n,children:o,...a}=e;return t.jsx(A.span,{"aria-hidden":!0,...a,ref:r,children:o||"â¼"})});Tr.displayName=ea;var ta="SelectPortal",kr=e=>t.jsx(At,{asChild:!0,...e});kr.displayName=ta;var ue="SelectContent",Ir=s.forwardRef((e,r)=>{const n=ne(ue,e.__scopeSelect),[o,a]=s.useState();if(re(()=>{a(new DocumentFragment)},[]),!n.open){const l=o;return l?Ot.createPortal(t.jsx(Rr,{scope:e.__scopeSelect,children:t.jsx(Be.Slot,{scope:e.__scopeSelect,children:t.jsx("div",{children:e.children})})}),l):null}return t.jsx(Pr,{...e,ref:r})});Ir.displayName=ue;var U=10,[Rr,oe]=Se(ue),ra="SelectContentImpl",na=_t("SelectContent.RemoveScroll"),Pr=s.forwardRef((e,r)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:l,onPointerDownOutside:c,side:i,sideOffset:u,align:p,alignOffset:x,arrowPadding:g,collisionBoundary:b,collisionPadding:w,sticky:N,hideWhenDetached:d,avoidCollisions:m,...v}=e,f=ne(ue,n),[h,C]=s.useState(null),[j,V]=s.useState(null),I=B(r,S=>C(S)),[L,$]=s.useState(null),[ae,Y]=s.useState(null),q=We(n),[Q,z]=s.useState(!1),X=s.useRef(!1);s.useEffect(()=>{if(h)return qt(h)},[h]),Wt();const F=s.useCallback(S=>{const[P,...W]=q().map(T=>
vendor: 13,851 bytes, line 60
60T.ref.current),[R]=W.slice(-1),E=document.activeElement;for(const T of S)if(T===E||(T==null||T.scrollIntoView({block:"nearest"}),T===P&&j&&(j.scrollTop=0),T===R&&j&&(j.scrollTop=j.scrollHeight),T==null||T.focus(),document.activeElement!==E))return},[q,j]),G=s.useCallback(()=>F([L,h]),[F,L,h]);s.useEffect(()=>{Q&&G()},[Q,G]);const{onOpenChange:Z,triggerPointerDownPosRef:J}=f;s.useEffect(()=>{if(h){let S={x:0,y:0};const P=R=>{var E,T;S={x:Math.abs(Math.round(R.pageX)-(((E=J.current)==null?void 0:E.x)??0)),y:Math.abs(Math.round(R.pageY)-(((T=J.current)==null?void 0:T.y)??0))}},W=R=>{S.x<=10&&S.y<=10?R.preventDefault():h.contains(R.target)||Z(!1),document.removeEventListener("pointermove",P),J.current=null};return J.current!==null&&(document.addEventListener("pointermove",P),document.addEventListener("pointerup",W,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",P),document.removeEventListener("pointerup",W,{capture:!0})}}},[h,Z,J]),s.useEffect(()=>{const S=()=>Z(!1);return window.addEventListener("blur",S),window.addEventListener("resize",S),()=>{window.removeEventListener("blur",S),window.removeEventListener("resize",S)}},[Z]);const[$e,Te]=qr(S=>{const P=q().filter(E=>!E.disabled),W=P.find(E=>E.ref.current===document.activeElement),R=zr(P,S,W);R&&setTimeout(()=>R.ref.current.focus())}),Ue=s.useCallback((S,P,W)=>{const R=!X.current&&!W;(f.value!==void 0&&f.value===P||R)&&($(S),R&&(X.current=!0))},[f.value]),Ke=s.useCallback(()=>h==null?void 0:h.focus(),[h]),fe=s.useCallback((S,P,W)=>{const R=!X.current&&!W;(f.value!==void 0&&f.value===P||R)&&Y(S)},[f.value]),ke=o==="popper"?st:Dr,Ne=ke===st?{side:i,sideOffset:u,align:p,alignOffset:x,arrowPadding:g,collisionBoundary:b,collisionPadding:w,sticky:N,hideWhenDetached:d,avoidCollisions:m}:{};return t.jsx(Rr,{scope:n,content:h,viewport:j,onViewportChange:V,itemRefCallback:Ue,selectedItem:L,onItemLeave:Ke,itemTextRefCallback:fe,focusSelectedItem:G,selectedItemText:ae,position:o,isPositioned:Q,searchRef:$e,children:t.jsx(mt,{as:na,allowPinchZoom:!0,children:t.jsx(ft,{asChild:!0,trapped:f.open,onMountAutoFocus:S=>{S.preventDefault()},onUnmountAutoFocus:D(a,S=>{var P;(P=f.trigger)==null||P.focus({preventScroll:!0}),S.preventDefault()}),children:t.jsx(Dt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:S=>S.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:t.jsx(ke,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:S=>S.preventDefault(),...v,...Ne,onPlaced:()=>z(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:D(v.onKeyDown,S=>{const P=S.ctrlKey||S.altKey||S.metaKey;if(S.key==="Tab"&&S.preventDefault(),!P&&S.key.length===1&&Te(S.key),["ArrowUp","ArrowDown","Home","End"].includes(S.key)){let R=q().filter(E=>!E.disabled).map(E=>E.ref.current);if(["ArrowUp","End"].includes(S.key)&&(R=R.slice().reverse()),["ArrowUp","ArrowDown"].includes(S.key)){const E=S.target,T=R.indexOf(E);R=R.slice(T+1)}setTimeout(()=>F(R)),S.preventDefault()}})})})})})})});Pr.displayName=ra;var oa="SelectItemAlignedPosition",Dr=s.forwardRef((e,r)=>{const{__scopeSelect:n,onPlaced:o,...a}=e,l=ne(ue,n),c=oe(ue,n),[i,u]=s.useState(null),[p,x]=s.useState(null),g=B(r,I=>x(I)),b=We(n),w=s.useRef(!1),N=s.useRef(!0),{viewport:d,selectedItem:m,selectedItemText:v,focusSelectedItem:f}=c,h=s.useCallback(()=>{if(l.trigger&&l.valueNode&&i&&p&&d&&m&&v){const I=l.trigger.getBoundingClientRect(),L=p.getBoundingClientRect(),$=l.valueNode.getBoundingClientRect(),ae=v.getBoundingClientRect();if(l.dir!=="rtl"){const E=ae.left-L.left,T=$.left-E,se=I.left-T,ie=I.width+se,Ge=Math.max(ie,L.width),Ye=window.innerWidth-U,qe=It(T,[U,Math.max(U,Ye-Ge)]);i.style.minWidth=ie+"px",i.style.left=qe+"px"}else{const E=L.right-ae.right,T=window.innerWidth-$.right-E,se=window.innerWidth-I.right-T,ie=I.width+se,Ge=Math.max(ie,L.width),Ye=window.innerWidth-U,qe=It(T,[U,Math.max(U,Ye-Ge)]);i.style.minWidth=ie+"px",i.style.right=qe+"px"}const Y=b(),q=window.innerHeight-U*2,Q=d.scrollHeight,z=window.getComputedStyle(p),X=parseInt(z.borderTopWidth,10),F=parseInt(z.paddingTop,10),G=parseInt(z.borderBottomWidth,10),Z=parseInt(z.paddingBottom,10),J=X+F+Q+Z+G,$e=Math.min(m.offsetHeight*5,J),Te=window.getComputedStyle(d),Ue=parseInt(Te.paddingTop,10),Ke=parseInt(Te.paddingBottom,10),fe=I.top+I.height/2-U,ke=q-fe,Ne=m.offsetHeight/2,S=m.offsetTop+Ne,P=X+F+S,W=J-P;if(P<=fe){const E=Y.length>0&&m===Y[Y.length-1].ref.current;i.style.bottom="0px";const T=p.clientHeight-d.offsetTop-d.offsetHeight,se=Math.max(ke,Ne+(E?Ke:0)+T+G),ie=P+se;i.style.height=ie+"px"}else{const E=Y.length>0&&m===Y[0].ref.current;i.style.top="0px";const se=Math.max(fe,X+d.offsetTop+(E?Ue:0)+Ne)+W;i.style.height=se+"px",d.scrollTop=P-fe+d.offsetTop}i.style.margin=`${U}px 0`,i.style.minHeight=$e+"px",i.style.maxHeight=q+"px",o==null||o(),requestAnimationFrame(()=>w.current=!0)}},[b,l.trigger,l.valueNode,i,p,d,m,v,l.dir,o]);re(()=>h(),[h]);const[C,j]=s.useState();re(()=>{p&&j(window.getComputedStyle(p).zIndex)},[p]);const V=s.useCallback(I=>{I&&N.current===!0&&(h(),f==null||f(),N.current=!1)},[h,f]);return t.jsx(sa,{scope:n,contentWrapper:i,shouldExpandOnScrollRef:w,onScrollButtonChange:V,children:t.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:t.jsx(A.div,{...a,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Dr.displayName=oa;var aa="SelectPopperPosition",st=s.forwardRef((e,r)=>{const{__scopeSelect:n,align:o="start",collisionPadding:a=U,...l}=e,c=He(n);return t.jsx(hn,{...c,...l,ref:r,align:o,collisionPadding:a,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});st.displayName=aa;var[sa,vt]=Se(ue,{}),it="SelectViewport",Ar=s.forwardRef((e,r)=>{const{__scopeSelect:n,nonce:o,...a}=e,l=oe(it,n),c=vt(it,n),i=B(r,l.onViewportChange),u=s.useRef(0);return t.jsxs(t.Fragment,{children:[t.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),t.jsx(Be.Slot,{scope:n,children:t.jsx(A.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:i,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:D(a.onScroll,p=>{const x=p.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:b}=c;if(b!=null&&b.current&&g){const w=Math.abs(u.current-x.scrollTop);if(w>0){const N=window.innerHeight-U*2,d=parseFloat(g.style.minHeight),m=parseFloat(g.style.height),v=Math.max(d,m);if(v<N){const f=v+w,h=Math.min(N,f),C=f-h;g.style.height=h+"px",g.style.bottom==="0px"&&(x.scrollTop=C>0?C:0,g.style.justifyContent="flex-end")}}}u.current=x.scrollTop})})})]})});Ar.displayName=it;var _r="SelectGroup",[ia,la]=Se(_r),ca=s.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=be();return t.jsx(ia,{scope:n,id:a,children:t.jsx(A.div,{role:"group","aria-labelledby":a,...o,ref:r})})});ca.displayName=_r;var Mr="SelectLabel",Or=s.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=la(Mr,n);return t.jsx(A.div,{id:a.id,...o,ref:r})});Or.displayName=Mr;var Oe="SelectItem",[da,Lr]=Se(Oe),Fr=s.forwardRef((e,r)=>{const{__scopeSelect:n,value:o,disabled:a=!1,textValue:l,...c}=e,i=ne(Oe,n),u=oe(Oe,n),p=i.value===o,[x,g]=s.useState(l??""),[b,w]=s.useState(!1),N=B(r,f=>{var h;return(h=u.itemRefCallback)==null?void 0:h.call(u,f,o,a)}),d=be(),m=s.useRef("touch"),v=()=>{a||(i.onValueChange(o),i.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.jsx(da,{scope:n,value:o,disabled:a,textId:d,isSelected:p,onItemTextChange:s.useCallback(f=>{g(h=>h||((f==null?void 0:f.textContent)??"").trim())},[]),children:t.jsx(Be.ItemSlot,{scope:n,value:o,disabled:a,textValue:x,children:t.jsx(A.div,{role:"option","aria-labelledby":d,"data-highlighted":b?"":void 0,"aria-selected":p&&b,"data-state":p?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...c,ref:N,onFocus:D(c.onFocus,()=>w(!0)),onBlur:D(c.onBlur,()=>w(!1)),onClick:D(c.onClick,()=>{m.current!=="mouse"&&v()}),onPointerUp:D(c.onPointerUp,()=>{m.current==="mouse"&&v()}),onPointerDown:D(c.onPointerDown,f=>{m.current=f.pointerType}),onPointerMove:D(c.onPointerMove,f=>{var h;m.current=f.pointerType,a?(h=u.onItemLeave)==null||h.call(u):m.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:D(c.onPointerLeave,f=>{var h;f.currentTarget===document.activeElement&&((h=u.onItemLeave)==null||h.call(u))}),onKeyDown:D(c.onKeyDown,f=>{var C;((C=u.searchRef)==null?void 0:C.current)!==""&&f.key===" "||(zo.includes(f.key)&&v(),f.key===" "&&f.preventDefault())})})})})});Fr.displayName=Oe;var je="SelectItemText",Br=s.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:a,...l}=e,c=ne(je,n),i=oe(je,n),u=Lr(je,n),p=Jo(je,n),[x,g]=s.useState(null),b=B(r,v=>g(v),u.onItemTextChange,v=>{var f;return(f=i.itemTextRefCallback)==null?void 0:f.call(i,v,u.value,u.disabled)}),w=x==null?void 0:x.textContent,N=s.useMemo(()=>t.jsx("option",{value:u.value,disabled:u.disabled,children:w},u.value),[u.disabled,u.value,w]),{onNativeOptionAdd:d,onNativeOptionRemove:m}=p;return re(()=>(d(N),()=>m(N)),[d,m,N]),t.jsxs(t.Fragment,{children:[t.jsx(A.span,{id:u.textId,...l,ref:b}),u.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Ot.createPortal(l.children,c.valueNode):null]})});Br.displayName=je;var Wr="SelectItemIndicator",Hr=s.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return Lr(Wr,n).isSelected?t.jsx(A.span,{"aria-hidden":!0,...o,ref:r}):null});Hr.displayName=Wr;var lt="SelectScrollUpButton",Vr=s.forwardRef((e,r)=>{const n=oe(lt,e.__scopeSelect),o=vt(lt,e.__scopeSelect),[a,l]=s.useState(!1),c=B(r,o.onScrollButtonChange);return re(()=>{if(n.viewport&&n.isPositioned){let i=function(){const p=u.scrollTop>0;l(p)};const u=n.viewport;return i(),u.addEventListener("scroll",i),()=>u.removeEventListener("scroll",i)}},[n.viewport,n.isPositioned]),a?t.jsx(Ur,{...e,ref:c,onAutoScroll:()=>{const{viewport:i,selectedItem:u}=n;i&&u&&(i.scrollTop=i.scrollTop-u.offsetHeight)}}):null});Vr.displayName=lt;var ct="SelectScrollDownButton",$r=s.forwardRef((e,r)=>{const n=oe(ct,e.__scopeSelect),o=vt(ct,e.__scopeSelect),[a,l]=s.useState(!1),c=B(r,o.onScrollButtonChange);return re(()=>{if(n.viewport&&n.isPositioned){let i=function(){const p=u.scrollHeight-u.clientHeight,x=Math.ceil(u.scrollTop)<p;l(x)};const u=n.viewport;return i(),u.addEventListener("scroll",i),()=>u.removeEventListener("scroll",i)}},[n.viewport,n.isPositioned]),a?t.jsx(Ur,{...e,ref:c,onAutoScroll:()=>{const{viewport:i,selectedItem:u}=n;i&&u&&(i.scrollTop=i.scrollTop+u.offsetHeight)}}):null});$r.displayName=ct;var Ur=s.forwardRef((e,r)=>{const{__scopeSelect:n,onAutoScroll:o,...a}=e,l=oe("SelectScrollButton",n),c=s.useRef(null),i=We(n),u=s.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return s.useEffect(()=>()=>u(),[u]),re(()=>{var x;const p=i().find(g=>g.ref.current===document.activeElement);(x=p==null?void 0:p.ref.current)==null||x.scrollIntoView({block:"nearest"})},[i]),t.jsx(A.div,{"aria-hidden":!0,...a,ref:r,style:{flexShrink:0,...a.style},onPointerDown:D(a.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(o,50))}),onPointerMove:D(a.onPointerMove,()=>{var p;(p=l.onItemLeave)==null||p.call(l),c.current===null&&(c.current=window.setInterval(o,50))}),onPointerLeave:D(a.onPointerLeave,()=>{u()})})}),ua="SelectSeparator",Kr=s.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return t.jsx(A.div,{"aria-hidden":!0,...o,ref:r})});Kr.displayName=ua;var dt="SelectArrow",pa=s.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=He(n),l=ne(dt,n),c=oe(dt,n);return l.open&&c.position==="popper"?t.jsx(gn,{...a,...o,ref:r}):null});pa.displayName=dt;var fa="SelectBubbleInput",Gr=s.forwardRef(({__scopeSelect:e,value:r,...n},o)=>{const a=s.useRef(null),l=B(o,a),c=Nn(r);return s.useEffect(()=>{const i=a.current;if(!i)return;const u=window.HTMLSelectElement.prototype,x=Object.getOwnPropertyDescriptor(u,"value").set;if(c!==r&&x){const g=new Event("change",{bubbles:!0});x.call(i,r),i.dispatchEvent(g)}},[c,r]),t.jsx(A.select,{...n,style:{...xn,...n.style},ref:l,defaultValue:r})});Gr.displayName=fa;function Yr(e){return e===""||e===void 0}function qr(e){const r=nt(e),n=s.useRef(""),o=s.useRef(0),a=s.useCallback(c=>{const i=n.current+c;r(i),function u(p){n.current=p,window.clearTimeout(o.current),p!==""&&(o.current=window.setTimeout(()=>u(""),1e3))}(i)},[r]),l=s.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return s.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,a,l]}function zr(e,r,n){const a=r.length>1&&Array.from(r).every(p=>p===r[0])?r[0]:r,l=n?e.indexOf(n):-1;let c=ma(e,Math.max(l,0));a.length===1&&(c=c.filter(p=>p!==n));const u=c.find(p=>p.textValue.toLowerCase().startsWith(a.toLowerCase()));return u!==n?u:void 0}function ma(e,r){return e.map((n,o)=>e[(r+o)%e.length])}var ha=Sr,Xr=Cr,ga=Er,xa=Tr,va=kr,Zr=Ir,ya=Ar,Qr=Or,Jr=Fr,ba=Br,wa=Hr,en=Vr,tn=$r,rn=Kr;const Sa=ha,Na=ga,nn=s.forwardRef(({className:e,children:r,...n},o)=>t.jsxs(Xr,{ref:o,className:O("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
60ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[r,t.jsx(xa,{asChild:!0,children:t.jsx(Ft,{className:"h-4 w-4 opacity-50"})})]}));nn.displayName=Xr.displayName;const on=s.forwardRef(({className:e,...r},n)=>t.jsx(en,{ref:n,className:O("flex cursor-default items-center justify-center py-1",e),...r,children:t.jsx(jn,{className:"h-4 w-4"})}));on.displayName=en.displayName;const an=s.forwardRef(({className:e,...r},n)=>t.jsx(tn,{ref:n,className:O("flex cursor-default items-center justify-center py-1",e),...r,children:t.jsx(Ft,{className:"h-4 w-4"})}));an.displayName=tn.displayName;const sn=s.forwardRef(({className:e,children:r,position:n="popper",...o},a)=>t.jsx(va,{children:t.jsxs(Zr,{ref:a,className:O("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...o,children:[t.jsx(on,{}),t.jsx(ya,{className:O("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),t.jsx(an,{})]})}));sn.displayName=Zr.displayName;const Ca=s.forwardRef(({className:e,...r},n)=>t.jsx(Qr,{ref:n,className:O("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...r}));Ca.displayName=Qr.displayName;const ye=s.forwardRef(({className:e,children:r,...n},o)=>t.jsxs(Jr,{ref:o,className:O("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[t.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(wa,{children:t.jsx(En,{className:"h-4 w-4"})})}),t.jsx(ba,{children:r})]}));ye.displayName=Jr.displayName;const ja=s.forwardRef(({className:e,...r},n)=>t.jsx(rn,{ref:n,className:O("-mx-1 my-1 h-px bg-muted",e),...r}));ja.displayName=rn.displayName;const Ea="#FAFAF7",y="#0E0E0E",H="rgba(14,14,14,0.62)",k="rgba(14,14,14,0.08)",M={mint:"#D6F0E0",butter:"#F5E9B8",peach:"#F6D9C8",lilac:"#E2D8F2",sky:"#D4E4F2",blush:"#F3D5DC",sand:"#EFE6D6",sage:"#DCE7D6"},Ve={fontFamily:"'Inter', ui-sans-serif, system-ui, sans-serif"},ln=({size:e=26})=>{const r=e*.13,n=e*.78,o=e*.08,a=r*4+o*3,l=(e-a)/2,c=e/2;return t.jsx("span",{"aria-hidden":!0,className:"inline-flex items-center justify-center",style:{width:e,height:e},children:t.jsx("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,children:[0,1,2,3].map(i=>t.jsx(pe.rect,{x:l+i*(r+o),y:c-n/2,width:r,height:n,rx:r/2,fill:y,initial:{scaleY:1},animate:{scaleY:[1,.55,1]},transition:{duration:1.4,repeat:1/0,ease:"easeInOut",delay:i*.15},style:{transformOrigin:`${l+i*(r+o)+r/2}px ${c}px`}},i))})})},Ta=({onSuccess:e})=>{const[r,n]=s.useState(!1),[o,a]=s.useState({first_name:"",last_name:"",work_email:"",company:"",employees:"",problem:""}),l=async c=>{c.preventDefault(),n(!0);try{await bn.from("waitlist_signups").insert({linkedin_url:`demo:${o.work_email}`,source:"lp/talent-os",metadata:o})}catch{}n(!1),wn.success("Request received. We'll respond within one business day."),e()};return t.jsxs("form",{onSubmit:l,className:"space-y-4",style:Ve,children:[t.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[t.jsxs("div",{children:[t.jsx(le,{htmlFor:"fn",children:"First name"}),t.jsx(Ce,{id:"fn",required:!0,value:o.first_name,onChange:c=>a({...o,first_name:c.target.value})})]}),t.jsxs("div",{children:[t.jsx(le,{htmlFor:"ln",children:"Last name"}),t.jsx(Ce,{id:"ln",required:!0,value:o.last_name,onChange:c=>a({...o,last_name:c.target.value})})]})]}),t.jsxs("div",{children:[t.jsx(le,{htmlFor:"em",children:"Work email"}),t.jsx(Ce,{id:"em",type:"email",required:!0,value:o.work_email,onChange:c=>a({...o,work_email:c.target.value})})]}),t.jsxs("div",{children:[t.jsx(le,{htmlFor:"co",children:"Company"}),t.jsx(Ce,{id:"co",required:!0,value:o.company,onChange:c=>a({...o,company:c.target.value})})]}),t.jsxs("div",{children:[t.jsx(le,{htmlFor:"emp",children:"Number of employees"}),t.jsxs(Sa,{value:o.employees,onValueChange:c=>a({...o,employees:c}),children:[t.jsx(nn,{id:"emp",children:t.jsx(Na,{placeholder:"Select range"})}),t.jsxs(sn,{children:[t.jsx(ye,{value:"1-10",children:"1â10"}),t.jsx(ye,{value:"11-50",children:"11â50"}),t.jsx(ye,{value:"51-200",children:"51â200"}),t.jsx(ye,{value:"201-1000",children:"201â1000"}),t.jsx(ye,{value:"1000+",children:"1000+"})]})]})]}),t.jsxs("div",{children:[t.jsx(le,{htmlFor:"pr",children:"What are you trying to solve?"}),t.jsx(wr,{id:"pr",rows:4,value:o.problem,onChange:c=>a({...o,problem:c.target.value})})]}),t.jsx(Sn,{type:"submit",disabled:r,className:"w-full text-white",style:{background:y},children:r?"Submittingâ¦":"Request demo"}),t.jsx("p",{className:"text-xs text-center",style:{color:H},children:"We'll respond within one business day."})]})},Ee=({children:e="Get a demo",variant:r="primary",className:n=""})=>{const[o,a]=s.useState(!1),l="inline-flex items-center gap-2 rounded-full px-5 py-3 text-sm font-medium transition-all",c=r==="primary"?{background:y,color:"#fff"}:{background:"transparent",color:y,border:`1px solid ${y}`};return t.jsxs(Vo,{open:o,onOpenChange:a,children:[t.jsx($o,{asChild:!0,children:t.jsxs("button",{className:`${l} ${n} hover:opacity-90`,style:c,children:[r==="ghost"&&t.jsx(Pn,{className:"w-4 h-4"}),e]})}),t.jsxs(gr,{className:"max-w-md",children:[t.jsx(xr,{children:t.jsx(vr,{style:Ve,children:"Request a demo"})}),t.jsx(Ta,{onSuccess:()=>a(!1)})]})]})},ka=()=>{const[e,r]=s.useState(!1);return s.useEffect(()=>{const n=()=>r(window.scrollY>40);return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)},[]),t.jsx("nav",{className:"fixed top-0 inset-x-0 z-50 transition-all",style:{background:e?"rgba(250,250,247,0.85)":"transparent",backdropFilter:e?"blur(12px)":"none",borderBottom:e?`1px solid ${k}`:"1px solid transparent"},children:t.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-16 flex items-center justify-between",style:Ve,children:[t.jsxs("a",{href:"#top",className:"flex items-center gap-2 font-medium tracking-tight",style:{color:y},children:[t.jsx(ln,{size:22}),t.jsx("span",{children:"Not a Black Box"})]}),t.jsx("div",{className:"hidden md:flex items-center gap-7 text-sm",style:{color:y},children:[["Product","#product"],["How it works","#how"],["Security","#security"],["Pricing","#pricing"],["Customers","#customers"]].map(([n,o])=>t.jsx("a",{href:o,className:"hover:opacity-60 transition-opacity",children:n},n))}),t.jsxs("div",{className:"flex items-center gap-4 text-sm",style:{color:y},children:[t.jsx("a",{href:"#",className:"hidden sm:inline hover:opacity-60",children:"Sign in"}),t.jsx(Ee,{children:"Get a demo"})]})]})})},_=({children:e,delay:r=0})=>t.jsx(pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:r,ease:[.22,1,.36,1]},children:e}),Ia=()=>t.jsxs("div",{className:"relative grid md:grid-cols-2 gap-4 items-stretch",children:[t.jsxs("div",{className:"rounded-3xl p-6 border",style:{background:"#fff",borderColor:k,boxShadow:"0 2px 24px -8px rgba(0,0,0,0.08)"},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:H},children:"Candidate record"}
60),t.jsx("div",{className:"space-y-3 text-sm",children:[["Name","Maya Okafor"],["Stage","Onsite · Panel 2"],["Score","4.6 / 5"],["Owner","J. Patel"]].map(([e,r])=>t.jsxs("div",{className:"flex justify-between border-b pb-2",style:{borderColor:k},children:[t.jsx("span",{style:{color:H},children:e}),t.jsx("span",{style:{color:y},children:r})]},e))})]}),t.jsxs("div",{className:"rounded-3xl p-6 border",style:{background:y,borderColor:k,boxShadow:"0 2px 24px -8px rgba(0,0,0,0.18)"},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:"rgba(255,255,255,0.55)"},children:"Code-form record"}),t.jsx("pre",{className:"text-[12px] leading-relaxed font-mono whitespace-pre-wrap",style:{color:"#E8E6DD"},children:`candidate: 61 id: cand_8f21 62 name: "Maya Okafor" 63 stage: onsite.panel_2 64 score: 4.6 65 owner: jpatel 66policy: 67 comp_band: L5 68 geo_allowed: [US, CA] 69 approvals: [recruiter, hm, vp] 70audit: 71 - { actor: screening_claw, op: write, ts: ...} 72 - { actor: scoring_claw, op: grade, ts: ...}`})]}),t.jsx("div",{className:"hidden md:flex absolute inset-0 items-center justify-center pointer-events-none",children:t.jsx(pe.div,{className:"rounded-full px-3 py-1 text-[11px] font-medium",style:{background:"#fff",color:y,border:`1px solid ${k}`,boxShadow:"0 2px 12px -4px rgba(0,0,0,0.12)"},animate:{scale:[1,1.04,1]},transition:{duration:2.2,repeat:1/0,ease:"easeInOut"},children:"â Two views. One source of truth."})})]}),rt=[{id:"sourcing",name:"Sourcing",bg:M.mint,h:"Find the right people, not more people.",p:"Multi-channel sourcing across job boards, referrals, and your CRM, ranked against your role criteria · not keywords."},{id:"screening",name:"Screening",bg:M.butter,h:"A real conversation, at scale.",p:"Conversational screens that probe for signal, written into the candidate record as structured evidence."},{id:"interviewing",name:"Interviewing",bg:M.peach,h:"Structured interviews, every time.",p:"Coordinates panels, generates rubric-aligned questions, and grades transcripts against role-specific success criteria."},{id:"scoring",name:"Scoring",bg:M.lilac,h:"Defensible decisions.",p:"Every score is traceable to evidence, policy, and rubric · with the reasoning written to your audit log."},{id:"coordination",name:"Coordination",bg:M.sky,h:"Scheduling, comms, and follow-up · gone.",p:"Handles the calendar Tetris and candidate experience without a human in the loop."},{id:"onboarding",name:"Onboarding",bg:M.blush,h:"Day-zero, automated.",p:"Triggers offer, BGC, equipment, IT, and HRIS handoff the moment a decision is approved."},{id:"compliance",name:"Compliance",bg:M.sand,h:"Audit-ready by default.",p:"Every agent action is a versioned mutation to the code-form record. Compliance is a byproduct, not a project."},{id:"analytics",name:"Analytics",bg:M.sage,h:"Insights from the system that did the work.",p:"Funnel, source ROI, DEI, time-to-fill · drawn from the same record the agents executed against."}],Ra=()=>{const[e,r]=s.useState(0),[n,o]=s.useState(!1);s.useEffect(()=>{if(n)return;const l=setInterval(()=>r(c=>(c+1)%rt.length),1e4);return()=>clearInterval(l)},[n]);const a=rt[e];return t.jsxs("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:rt.map((l,c)=>t.jsxs("button",{onClick:()=>{r(c),o(!0)},className:"rounded-full px-4 py-2 text-sm transition-all border",style:{background:c===e?y:"transparent",color:c===e?"#fff":y,borderColor:c===e?y:k},children:[l.name," Claw"]},l.id))}),t.jsx(Lt,{mode:"wait",children:t.jsx(pe.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.4},className:"rounded-3xl p-10 md:p-14 border",style:{background:a.bg,borderColor:k},children:t.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-center",children:[t.jsxs("div",{children:[t.jsxs("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:y,opacity:.6},children:[a.name," Claw"]}),t.jsx("h3",{className:"text-3xl md:text-4xl font-medium tracking-tight mb-4",style:{color:y},children:a.h}),t.jsx("p",{className:"text-base md:text-lg mb-6",style:{color:"rgba(14,14,14,0.72)"},children:a.p}),t.jsx(Ee,{children:"Get a demo"})]}),t.jsxs("div",{className:"rounded-2xl p-5 bg-white/60 border",style:{borderColor:k,minHeight:220},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:H},children:"Live trace"}),t.jsx("pre",{className:"text-[12px] leading-relaxed font-mono whitespace-pre-wrap",style:{color:y},children:`claw: ${a.id}_claw 73state: running 74policy_check: passed 75last_action: 76 op: write 77 target: candidate.${a.id} 78 evidence: â`})]})]})},a.id)})]})},xe=[{id:"interpret",color:M.mint,label:"Interpret",body:"Claws read TalentOps intent, role specs, and policy from the code-form stack · not from a chat prompt."},{id:"execute",color:M.lilac,label:"Execute",body:"Claws act inside policy boun
78daries: source, screen, schedule, decide. Every action is a versioned mutation."},{id:"prove",color:M.peach,label:"Prove",body:"Every decision writes its reasoning, evidence, and policy check to the audit log. Defensibility by construction."}],Pa=()=>{const[e,r]=s.useState(0),[n,o]=s.useState(!1);return s.useEffect(()=>{if(n)return;const a=setInterval(()=>r(l=>(l+1)%xe.length),1e4);return()=>clearInterval(a)},[n]),t.jsxs("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[t.jsx("div",{className:"grid md:grid-cols-3 gap-3 mb-8",children:xe.map((a,l)=>t.jsxs("button",{onClick:()=>{r(l),o(!0)},className:"text-left rounded-2xl p-5 border transition-all",style:{background:l===e?a.color:"transparent",borderColor:k},children:[t.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[t.jsx("span",{className:"w-2 h-2 rounded-full",style:{background:y}}),t.jsx("span",{className:"text-sm font-medium",style:{color:y},children:a.label})]}),t.jsx("div",{className:"h-1 rounded-full overflow-hidden",style:{background:"rgba(14,14,14,0.08)"},children:l===e&&t.jsx(pe.div,{initial:{width:0},animate:{width:"100%"},transition:{duration:10,ease:"linear"},style:{height:"100%",background:y}},`bar-${e}`)})]},a.id))}),t.jsx("div",{className:"rounded-3xl p-10 md:p-14 border",style:{background:xe[e].color,borderColor:k},children:t.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-center",children:[t.jsxs("div",{children:[t.jsxs("h3",{className:"text-3xl md:text-4xl font-medium tracking-tight mb-4",style:{color:y},children:[xe[e].label,"."]}),t.jsx("p",{className:"text-base md:text-lg",style:{color:"rgba(14,14,14,0.72)"},children:xe[e].body})]}),t.jsxs("div",{className:"rounded-2xl p-5 bg-white/60 border",style:{borderColor:k,minHeight:220},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:H},children:"Claw runtime"}),t.jsx("pre",{className:"text-[12px] leading-relaxed font-mono whitespace-pre-wrap",style:{color:y},children:`step: ${xe[e].label.toLowerCase()} 79input: code-form record 80policy_check: â 81output: versioned mutation`})]})]})})]})},ve=[{q:"We replaced four point tools with TalentClaw OS. Time-to-fill dropped 38%, and our auditors had a better trail than we used to write by hand.",n:"Head of Talent",r:"Series C SaaS"},{q:"The dual-stack is the unlock. The CRUD view is what my team uses. The code view is what makes the agents trustworthy enough to ship.",n:"VP People",r:"public fintech"},{q:"Every other vendor sold us a copilot. Not a Black Box sold us a recruiter.",n:"CHRO",r:"AI infrastructure company"},{q:"We turned six weeks of compliance prep into a button. The audit log is the work.",n:"Director of TA",r:"global marketplace"},{q:"TalentOps managers stopped fighting the tool. The agents do the workflow; the team does the judgment.",n:"Head of People Ops",r:"Series B AI startup"}],Da=()=>{const[e,r]=s.useState(0),n=()=>r(a=>(a+1)%ve.length),o=()=>r(a=>(a-1+ve.length)%ve.length);return t.jsxs("div",{className:"relative",children:[t.jsx(Lt,{mode:"wait",children:t.jsxs(pe.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.4},className:"rounded-3xl p-10 md:p-16 border bg-white",style:{borderColor:k,boxShadow:"0 2px 24px -8px rgba(0,0,0,0.08)"},children:[t.jsxs("p",{className:"text-2xl md:text-3xl font-medium tracking-tight leading-snug mb-6",style:{color:y},children:['"',ve[e].q,'"']}),t.jsxs("p",{className:"text-sm",style:{color:H},children:[ve[e].n," · ",ve[e].r]})]},e)}),t.jsxs("div",{className:"flex justify-end gap-2 mt-4",children:[t.jsx("button",{onClick:o,className:"rounded-full p-3 border",style:{borderColor:k,color:y},children:t.jsx(Dn,{className:"w-4 h-4"})}),t.jsx("button",{onClick:n,className:"rounded-full p-3 border",style:{borderColor:k,color:y},children:t.jsx(An,{className:"w-4 h-4"})})]})]})},za=()=>(s.useEffect(()=>{document.title="TalentClaw OS · The agentic Talent Operating System | Not a Black Box",(document.querySelector('meta[name="description"]')||(()=>{const r=document.createElement("meta");return r.setAttribute("name","description"),document.head.appendChild(r),r})()).setAttribute("content","TalentClaw OS runs every step of TalentOps from a single agentic system · built on a patent-pending dual representation. Humans see records. Agents see code.")},[]),t.jsxs("div",{id:"top",className:"min-h-screen",style:{background:Ea,color:y,...Ve},children:[t.jsx(ka,{}),t.jsx("div",{className:"max-w-7xl mx-auto px-6 pt-20",children:t.jsxs(yn,{to:"/",className:"inline-flex items-center gap-2 text-xs hover:opacity-60",style:{color:H},children:[t.jsx(Tn,{className:"w-3 h-3"})," Back"]})}),t.jsxs("section",{className:"max-w-7xl mx-auto px-6 pt-12 md:pt-20 pb-24 md:pb-32",children:[t.jsx(_,{children:t.jsx("span",{className:"inline-block rounded-full border px-3 py-1 text-xs mb-8",style:{borderColor:k,color:y},children:"Patent-pending agentic Talent OS"})}),t.jsx(_,{delay:.05,children:t.jsxs("h1",{className:"font-medium tracking-tight leading-[1.02]",style:{color:y,fontSize:"clamp(40px, 7vw, 84px)",letterSpacing:"-0.035em"},children:["The ATS is dead.",t.jsx("br",{}),"Meet the Talent OS."]})}),t.jsx(_,{delay:.1,children:t.jsx("p",{className:"mt-8 max-w-2xl text-lg md:text-xl",style:{color:"rgba(14,14,14,0.7)"},children:"Forget everything you know about HR software. TalentClaw OS runs every step of TalentOps from a single agentic system · built on a patent-pending system of record expressed as code. The agents are the system."})}),t.jsx(_,{delay:.15,children:t.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-3",children:[t.jsx(Ee,{children:"Get a demo"}),t.jsx(Ee,{variant:"ghost",children:"Watch video"})]})}),t.jsx(_,{delay:.2,children:t.jsx("div",{className:"mt-16 md:mt-20",children:t.jsx(Ia,{})})})]}),t.jsxs("section",{className:"max-w-7xl mx-auto px-6 pb-20",children:[t.jsx("p",{className:"text-center text-xs uppercase tracking-widest mb-6",style:{color:H},children:"Trusted by talent teams that ship"}),t.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-12 gap-y-4 opacity-50",style:{color:y},children:["Anthropic","Ramp","Vercel","Linear","Notion","Stripe"].map(e=>t.jsx("span",{className:"text-lg font-medium tracking-tight",children:e},e))})]}),t.jsxs("section",{id:"product",className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsxs(_,{children:[t.jsx("h2",{className:"font-medium tracking-tight",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"One Talent OS for the entire TalentOps lifecycle"}),t.jsx("p",{className:"mt-6 max-w-3xl text-lg",style:{color:"rgba(14,14,14,0.7)"}
81,children:"TalentClaw OS owns the work end-to-end. Every step is run by a persistent agent · a claw · that operates within your policy and writes every move to a versioned audit log."})]}),t.jsx("div",{className:"mt-12",children:t.jsx(Ra,{})})]}),t.jsxs("section",{className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsxs(_,{children:[t.jsx("h2",{className:"font-medium tracking-tight",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"Two views. One source of truth."}),t.jsx("p",{className:"mt-6 max-w-3xl text-lg",style:{color:"rgba(14,14,14,0.7)"},children:"Every other HR system makes you choose: a database humans can read, or a workflow agents can execute. TalentClaw OS holds both · synchronized, bidirectional, patent-pending."})]}),t.jsxs("div",{className:"mt-12 grid lg:grid-cols-2 gap-6",children:[t.jsx(_,{children:t.jsxs("div",{className:"rounded-3xl p-8 md:p-10 border h-full",style:{background:M.sky,borderColor:k},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:y,opacity:.6},children:"Humans see records"}),t.jsx("h3",{className:"text-2xl md:text-3xl font-medium tracking-tight mb-6",style:{color:y},children:"The dashboard your team already knows."}),t.jsx("div",{className:"rounded-2xl p-5 bg-white/70 border",style:{borderColor:k},children:[["Name","Maya Okafor"],["Role","Staff Eng, Platform"],["Stage","Onsite"],["Score","4.6 / 5"],["Last touch","2h ago · Coordination Claw"],["Owner","J. Patel"]].map(([e,r])=>t.jsxs("div",{className:"flex justify-between text-sm py-2 border-b",style:{borderColor:k},children:[t.jsx("span",{style:{color:H},children:e}),t.jsx("span",{style:{color:y},children:r})]},e))}),t.jsx("p",{className:"mt-5 text-sm",style:{color:"rgba(14,14,14,0.7)"},children:"Your team works in the dashboards, profiles, and approvals they already know."})]})}),t.jsx(_,{delay:.1,children:t.jsxs("div",{className:"rounded-3xl p-8 md:p-10 border h-full",style:{background:y,borderColor:k},children:[t.jsx("div",{className:"text-[11px] uppercase tracking-widest mb-3",style:{color:"rgba(255,255,255,0.55)"},children:"Agents see code"}),t.jsx("h3",{className:"text-2xl md:text-3xl font-medium tracking-tight mb-6",style:{color:"#fff"},children:"The structured representation agents reason against."}),t.jsx("div",{className:"rounded-2xl p-5 border",style:{background:"rgba(255,255,255,0.04)",borderColor:"rgba(255,255,255,0.1)"},children:t.jsx("pre",{className:"text-[12px] leading-relaxed font-mono whitespace-pre-wrap",style:{color:"#E8E6DD"},children:`record: 82 candidate: cand_8f21 83 role: staff_eng_platform 84 stage: onsite 85 score: 4.6 86policy: 87 comp_band: L5 88 approvals: [recruiter, hm, vp] 89 geo_allowed: [US, CA] 90audit: 91 - { actor: scoring_claw, op: grade, evidence: 12, ts: ...} 92 - { actor: policy_engine, op: validate, result: pass }`})}),t.jsx("p",{className:"mt-5 text-sm",style:{color:"rgba(255,255,255,0.7)"},children:"Agents plan, reason, and execute against a structured, versioned, policy-constrained representation of state."})]})})]}),t.jsx(_,{delay:.15,children:t.jsx("div",{className:"mt-6 rounded-3xl p-8 md:p-10 border",style:{background:M.sage,borderColor:k},children:t.jsxs("div",{className:"flex items-start gap-4",children:[t.jsx(pe.div,{animate:{scale:[1,1.15,1]},transition:{duration:2.4,repeat:1/0},className:"rounded-full px-3 py-1 text-xs font-medium",style:{background:y,color:"#fff"},children:"â"}),t.jsxs("div",{children:[t.jsx("h4",{className:"text-xl font-medium tracking-tight mb-2",style:{color:y},children:"Bidirectional sync."}),t.jsx("p",{className:"text-base",style:{color:"rgba(14,14,14,0.72)"},children:"Mutations from either side propagate. Policy boundaries are enforced before any agent action lands."})]})]})})})]}),t.jsxs("section",{className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsx(_,{children:t.jsx("h2",{className:"font-medium tracking-tight mb-12",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"Your stack, your policy, your pace."})}),t.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{bg:M.butter,h:"Your data, your shape.",p:"Candidate, role, and pipeline schemas you control · claws read and write against the same source of truth your humans use."},{bg:M.lilac,h:"Your policy, encoded.",p:"Approval chains, comp bands, DEI guardrails, geo restrictions · encoded as machine-legible policy. Agents are constrained before they're capable."},{bg:M.peach,h:"Your pace, your modules.",p:"Add or remove claws as you grow. No binding modules, no implementation tax. Most teams are live in days."}].map((e,r)=>t.jsx(_,{delay:r*.05,children:t.jsxs("div",{className:"rounded-3xl p-8 border h-full",style:{background:e.bg,borderColor:k},children:[t.jsx("h3",{className:"text-xl font-medium tracking-tight mb-3",style:{color:y},children:e.h}),t.jsx("p",{className:"text-base",style:{color:"rgba(14,14,14,0.72)"},children:e.p})]})},e.h))})]}),t.jsxs("section",{id:"how",className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsxs(_,{children:[t.jsx("h2",{className:"font-medium tracking-tight",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"Meet your AI TalentOps workforce."}),t.jsx("p",{className:"mt-6 max-w-3xl text-lg",style:{color:"rgba(14,14,14,0.7)"},children:"Three-step loop, repeating across every claw, behind every hire."})]}),t.jsx("div",{className:"mt-12",children:t.jsx(Pa,{})})]}),t.jsxs("section",{id:"security",className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsx(_,{children:t.jsx("h2",{className:"font-medium tracking-tight mb-12",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"Built for talent leaders of the agentic era."})}),t.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{I:kn,h:"Patent-pending dual stack.",p:"Humans see records. Agents see code. Both stay in sync. Nobody else has it."},{I:On,h:"Policy-constrained by default.",p:"Agents are constrained before they're capable. Every action is validated against your encoded policy."},{I:_n,h:"Audit-ready by construction.",p:"Every agent action is a versioned mutation. Compliance logs are a byproduct, not a project."},{I:In,h:"ATS-native, not an overlay.",p:"TalentClaw OS replaces the ATS · it doesn't sit on top of one. The agents are the system."},{I:Rn,h:"Human override, always.",p:"Approve, intervene, override, or pause any claw at any time. Humans stay in the loop where it matters."},{I:Mn,h:"Works with your stack.",p:"SSO, HRIS, calendar, comms, BGC, e-sign · connected on day one through a documented MCP and API surface."}].map(({I:e,h:r,p:n},o)=>t.jsx(_,{delay:o*.04,children:t.jsxs("div",{className:"rounded-3xl p-8 border h-full",style:{background:"#fff",borderColor:k},children:[t.jsx(e,{className:"w-5 h-5 mb-4",strokeWidth:1.5,style:{color:y}}),t.jsx("h3",{className:"text-lg font-medium tracking-tight mb-2",style:{color:y},children:r}),t.jsx("p",{className:"text-sm",style:{color:"rgba(14,14,14,0.7)"},children:n})]})},r))})]}),t.jsxs("section",{id:"customers",className:"max-w-7xl mx-auto px-6 py-24 md:py-32",children:[t.jsx(_,{children:t.jsx("h2",{className:"font-medium tracking-tight mb-12",style:{fontSize:"clamp(32px, 5vw, 56px)",letterSpacing:"-0.025em",color:y},children:"From the people who run TalentOps."})}),t.jsx(Da,{})]}),t.jsxs("section",{className:"max-w-7xl mx-auto px-6 py-20",children:[t.jsx("p",{className:"text-center text-xs uppercase tracking-widest mb-6",style:{color:H},children:"Works with your favourite tech stack"}),t.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-10 gap-y-4 opacity-55",style:{color:y}
92,children:["Workday","Greenhouse","Google Workspace","Microsoft 365","Slack","Zoom","Checkr","DocuSign","Okta","Rippling","Deel","Anthropic"].map(e=>t.jsx("span",{className:"text-base font-medium tracking-tight",children:e},e))})]}),t.jsx("section",{id:"pricing",className:"max-w-7xl mx-auto px-6 py-32 md:py-40 text-center",children:t.jsxs(_,{children:[t.jsx("h2",{className:"font-medium tracking-tight mx-auto",style:{fontSize:"clamp(40px, 7vw, 84px)",letterSpacing:"-0.035em",color:y,maxWidth:1e3},children:"The new era of talent operations."}),t.jsx("p",{className:"mt-8 max-w-2xl mx-auto text-lg md:text-xl",style:{color:"rgba(14,14,14,0.7)"},children:"Stop pushing candidates through workflows. Run a Talent OS that runs itself · under your policy, with your controls, in your audit log."}),t.jsx("div",{className:"mt-10 inline-block",children:t.jsx(Ee,{children:t.jsx("span",{className:"text-base px-2",children:"Get a demo"})})})]})}),t.jsxs("footer",{className:"border-t",style:{borderColor:k},children:[t.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16 grid md:grid-cols-4 gap-10",children:[t.jsxs("div",{children:[t.jsxs("div",{className:"flex items-center gap-2 font-medium tracking-tight",style:{color:y},children:[t.jsx(ln,{size:22}),t.jsx("span",{children:"Not a Black Box®"})]}),t.jsx("p",{className:"mt-3 text-sm max-w-xs",style:{color:H},children:"The agentic Talent Operating System. Patent pending."})]}),[{h:"Product",links:["TalentClaw OS","The Claws","Dual-Stack","Security"]},{h:"Resources",links:["MCP","API Documentation","Changelog","Research"]},{h:"Company",links:["About","Careers","Press","Contact"]}].map(e=>t.jsxs("div",{children:[t.jsx("div",{className:"text-xs uppercase tracking-widest mb-4",style:{color:H},children:e.h}),t.jsx("ul",{className:"space-y-2 text-sm",style:{color:y},children:e.links.map(r=>t.jsx("li",{children:t.jsx("a",{href:"#",className:"hover:opacity-60",children:r})},r))})]},e.h))]}),t.jsx("div",{className:"border-t",style:{borderColor:k},children:t.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-6 text-xs flex flex-col md:flex-row gap-3 md:items-center md:justify-between",style:{color:H},children:[t.jsx("p",{children:"© 2026 Not a Black Box, Inc. All Rights Reserved. · Terms · Privacy"}),t.jsx("p",{className:"max-w-xl",children:"Patent pending: Dual-Representation Workflow Engine for Human and Machine Legible Execution of Agentic Processes."})]})})]})]}));export{za as default};
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.