";t2=t2.removeChild(t2.firstChild);break;case"select":t2="string"===typeof n.is?a2.createElement("select",{is:n.is}):a2.createElement("select");n.multiple?t2.multiple=true:n.size&&(t2.size=n.size);break;default:t2="string"===typeof n.is?a2.createElement(l,{is:n.is}):a2.createElement(l)}}t2[It2]=e7;t2[ae4]=n;t:for(a2=e7.child;null!==a2;){if(5===a2.tag||6===a2.tag)t2.appendChild(a2.stateNode);else if(4!==a2.tag&&27!==a2.tag&&null!==a2.child){a2.child.return=a2;a2=a2.child;continue}if(a2===e7)break t;for(;null===a2.sibling;){if(null===a2.return||a2.return===e7)break t;a2=a2.return}a2.sibling.return=a2.return;a2=a2.sibling}e7.stateNode=t2;t:switch(Pt(t2,l,n),l){case"button":case"input":case"select":case"textarea":t2=!!n.autoFocus;break t;case"img":t2=true;break t;default:t2=false}t2&&ul(e7)}}Bt(e7);e7.flags&=-16777217;return null;case 6:if(t2&&null!=e7.stateNode)t2.memoizedProps!==n&&ul(e7);else{if("string"!==typeof n&&null===e7.stateNode)throw Error(o5(166));t2=ut3.current;if(Ta(e7)){t2=e7.stateNode;l=e7.memoizedProps;n=null;a2=ne2;if(null!==a2)switch(a2.tag){case 27:case 5:n=a2.memoizedProps}t2[It2]=e7;t2=t2.nodeValue===l||null!==n&&true===n.suppressHydrationWarning||vm(t2.nodeValue,l)?true:false;t2||Pl(e7)}else t2=hi(t2).createTextNode(n),t2[It2]=e7,e7.stateNode=t2}Bt(e7);return null;case 13:n=e7.memoizedState;if(null===t2||null!==t2.memoizedState&&null!==t2.memoizedState.dehydrated){a2=Ta(e7);if(null!==n&&null!==n.dehydrated){if(null===t2){if(!a2)throw Error(o5(318));a2=e7.memoizedState;a2=null!==a2?a2.dehydrated:null;if(!a2)throw Error(o5(317));a2[It2]=e7}else Oa(),0===(e7.flags&128)&&(e7.memoizedState=null),e7.flags|=4;Bt(e7);a2=false}else a2=ts(),null!==t2&&null!==t2.memoizedState&&(t2.memoizedState.hydrationErrors=a2),a2=true;if(!a2){if(e7.flags&256)return nl(e7),e7;nl(e7);return null}}nl(e7);if(0!==(e7.flags&128))return e7.lanes=l,e7;l=null!==n;t2=null!==t2&&null!==t2.memoizedState;if(l){n=e7.child;a2=null;null!==n.alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(a2=n.alternate.memoizedState.cachePool.pool);var c5=null;null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(c5=n.memoizedState.cachePool.pool);c5!==a2&&(n.flags|=2048)}l!==t2&&l&&(e7.child.flags|=8192);ei(e7,e7.updateQueue);Bt(e7);return null;case 4:return le3(),null===t2&&Xr(e7.stateNode.containerInfo),Bt(e7),null;case 10:return el(e7.type),Bt(e7),null;case 19:$3(Qt2);a2=e7.memoizedState;if(null===a2)return Bt(e7),null;n=0!==(e7.flags&128);c5=a2.rendering;if(null===c5)if(n)Ga(a2,false);else{if(0!==qt2||null!==t2&&0!==(t2.flags&128))for(t2=e7.child;null!==t2;){c5=$u(t2);if(null!==c5){e7.flags|=128;Ga(a2,false);t2=c5.updateQueue;e7.updateQueue=t2;ei(e7,t2);e7.subtreeFlags=0;t2=l;for(l=e7.child;null!==l;)$f(l,t2),l=l.sibling;K3(Qt2,Qt2.current&1|2);return e7.child}t2=t2.sibling}null!==a2.tail&&qe3()>ai&&(e7.flags|=128,n=true,Ga(a2,false),e7.lanes=4194304)}else{if(!n)if(t2=$u(c5),null!==t2){if(e7.flags|=128,n=true,t2=t2.updateQueue,e7.updateQueue=t2,ei(e7,t2),Ga(a2,true),null===a2.tail&&"hidden"===a2.tailMode&&!c5.alternate&&!Tt2)return Bt(e7),null}else 2*qe3()-a2.renderingStartTime>ai&&536870912!==l&&(e7.flags|=128,n=true,Ga(a2,false),e7.lanes=4194304);a2.isBackwards?(c5.sibling=e7.child,e7.child=c5):(t2=a2.last,null!==t2?t2.sibling=c5:e7.child=c5,a2.last=c5)}if(null!==a2.tail)return e7=a2.tail,a2.rendering=e7,a2.tail=e7.sibling,a2.renderingStartTime=qe3(),e7.sibling=null,t2=Qt2.current,K3(Qt2,n?t2&1|2:t2&1),e7;Bt(e7);return null;case 22:case 23:return nl(e7),Qc(),n=null!==e7.memoizedState,null!==t2?null!==t2.memoizedState!==n&&(e7.flags|=8192):n&&(e7.flags|=8192),n?0!==(l&536870912)&&0===(e7.flags&128)&&(Bt(e7),e7.subtreeFlags&6&&(e7.flags|=8192)):Bt(e7),l=e7.updateQueue,null!==l&&ei(e7,l.retryQueue),l=null,null!==t2&&null!==t2.memoizedState&&null!==t2.memoizedState.cachePool&&(l=t2.memoizedState.cachePool.pool),n=null,null!==e7.memoizedState&&null!==e7.memoizedState.cachePool&&(n=e7.memoizedState.cachePool.pool),n!==l&&(e7.flags|=2048),null!==t2&&$3(en2),null;case 24:return l=null,null!==t2&&(l=t2.memoizedState.cache),e7.memoizedState.cache!==l&&(e7.flags|=2048),el(Vt2),Bt(e7),null;case 25:return null;case 30:return null}throw Error(o5(156,e7.tag))}__name(ry,"ry");i(ry,"completeWork");function oy(t2,e7){_c(e7);switch(e7.tag){case 1:return t2=e7.flags,t2&65536?(e7.flags=t2&-65537|128,e7):null;case 3:return el(Vt2),le3(),t2=e7.flags,0!==(t2&65536)&&0===(t2&128)?(e7.flags=t2&-65537|128,e7):null;case 26:case 27:case 5:return Be3(e7),null;case 13:nl(e7);t2=e7.memoizedState;if(null!==t2&&null!==t2.dehydrated){if(null===e7.alternate)throw Error(o5(340));Oa()}t2=e7.flags;return t2&65536?(e7.flags=t2&-65537|128,e7):null;case 19:return $3(Qt2),null;case 4:return le3(),null;case 10:return el(e7.type),null;case 22:case 23:return nl(e7),Qc(),null!==t2&&$3(en2),t2=e7.flags,t2&65536?(e7.flags=t2&-65537|128,e7):null;case 24:return el(Vt2),null;case 25:return null;default:return null}}__name(oy,"oy");i(oy,"unwindWork");function Ad(t2,e7){_c(e7);switch(e7.tag){case 3:el(Vt2);le3();break;case 26:case 27:case 5:Be3(e7);break;case 4:le3();break;case 13:nl(e7);break;case 19:$3(Qt2);break;case 10:el(e7.type);break;case 22:case 23:nl(e7);Qc();null!==t2&&$3(en2);break;case 24:el(Vt2)}}__name(Ad,"Ad");i(Ad,"unwindInterruptedWork");function Xa(t2,e7){try{var l=e7.updateQueue,n=null!==l?l.lastEffect:null;if(null!==n){var a2=n.next;l=a2;do{if((l.tag&t2)===t2){n=void 0;var c5=l.create,s2=l.inst;n=c5();s2.destroy=n}l=l.next}while(l!==a2)}}catch(m){Dt2(e7,e7.return,m)}}__name(Xa,"Xa");i(Xa,"commitHookEffectListMount");function Ol(t2,e7,l){try{var n=e7.updateQueue,a2=null!==n?n.lastEffect:null;if(null!==a2){var c5=a2.next;n=c5;do{if((n.tag&t2)===t2){var s2=n.inst,m=s2.destroy;if(void 0!==m){s2.destroy=void 0;a2=e7;var b=l,M3=m;try{M3()}catch(L2){Dt2(a2,b,L2)}}}n=n.next}while(n!==c5)}}catch(L2){Dt2(e7,e7.return,L2)}}__name(Ol,"Ol");i(Ol,"commitHookEffectListUnmount");function Td(t2){var e7=t2.updateQueue;if(null!==e7){var l=t2.stateNode;try{ss(e7,l)}catch(n){Dt2(t2,t2.return,n)}}}__name(Td,"Td");i(Td,"commitClassCallbacks");function Od(t2,e7,l){l.props=nn2(t2.type,t2.memoizedProps);l.state=t2.memoizedState;try{l.componentWillUnmount()}catch(n){Dt2(t2,e7,n)}}__name(Od,"Od");i(Od,"safelyCallComponentWillUnmount");function Va(t2,e7){try{var l=t2.ref;if(null!==l){switch(t2.tag){case 26:case 27:case 5:var n=t2.stateNode;break;case 30:n=t2.stateNode;break;default:n=t2.stateNode}"function"===typeof l?t2.refCleanup=l(n):l.current=n}}catch(a2){Dt2(t2,e7,a2)}}__name(Va,"Va");i(Va,"safelyAttachRef");function Ge3(t2,e7){var l=t2.ref,n=t2.refCleanup;if(null!==l)if("function"===typeof n)try{n()}catch(a2){Dt2(t2,e7,a2)}finally{t2.refCleanup=null,t2=t2.alternate,null!=t2&&(t2.refCleanup=null)}else if("function"===typeof l)try{l(null)}catch(a2){Dt2(t2,e7,a2)}else l.current=null}__name(Ge3,"Ge");i(Ge3,"safelyDetachRef");function wd(t2){var e7=t2.type,l=t2.memoizedProps,n=t2.stateNode;try{t:switch(e7){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a2){Dt2(t2,t2.return,a2)}}__name(wd,"wd");i(wd,"commitHostMount");function pr(t2,e7,l){try{var n=t2.stateNode;_y(n,t2.type,l,e7);n[ae4]=e7}catch(a2){Dt2(t2,t2.return,a2)}}__name(pr,"pr");i(pr,"commitHostUpdate");function Rd(t2){return 5===t2.tag||3===t2.tag||26===t2.tag||27===t2.tag&&Nl(t2.type)||4===t2.tag}__name(Rd,"Rd");i(Rd,"isHostParent");function br(t2){t:for(;;){for(;null===t2.sibling;){if(null===t2.return||Rd(t2.return))return null;t2=t2.return}t2.sibling.return=t2.return;for(t2=t2.sibling;5!==t2.tag&&6!==t2.tag&&18!==t2.tag;){if(27===t2.tag&&Nl(t2.type))continue t;if(t2.flags&2)continue t;if(null===t2.child||4===t2.tag)continue t;else t2.child.return=t2,t2=t2.child}if(!(t2.flags&2))return t2.stateNode}}__name(br,"br");i(br,"getHostSibling");function Sr(t2,e7,l){var n=t2.tag;if(5===n||6===n)t2=t2.stateNode,e7?(9===l.nodeType?l.body:"HTML"===l.nodeName?l.ownerDocument.body:l).insertBefore(t2,e7):(e7=9===l.nodeType?l.body:"HTML"===l.nodeName?l.ownerDocument.body:l,e7.appendChild(t2),l=l._reactRootContainer,null!==l&&void 0!==l||null!==e7.onclick||(e7.onclick=mi));else if(4!==n&&(27===n&&Nl(t2.type)&&(l=t2.stateNode,e7=null),t2=t2.child,null!==t2))for(Sr(t2,e7,l),t2=t2.sibling;null!==t2;)Sr(t2,e7,l),t2=t2.sibling}__name(Sr,"Sr");i(Sr,"insertOrAppendPlacementNodeIntoContainer");function li(t2,e7,l){var n=t2.tag;if(5===n||6===n)t2=t2.stateNode,e7?l.insertBefore(t2,e7):l.appendChild(t2);else if(4!==n&&(27===n&&Nl(t2.type)&&(l=t2.stateNode),t2=t2.child,null!==t2))for(li(t2,e7,l),t2=t2.sibling;null!==t2;)li(t2,e7,l),t2=t2.sibling}__name(li,"li");i(li,"insertOrAppendPlacementNode");function Md(t2){var e7=t2.stateNode,l=t2.memoizedProps;try{for(var n=t2.type,a2=e7.attributes;a2.length;)e7.removeAttributeNode(a2[0]);Pt(e7,n,l);e7[It2]=t2;e7[ae4]=l}catch(c5){Dt2(t2,t2.return,c5)}}__name(Md,"Md");i(Md,"commitHostSingletonAcquisition");var il=false,jt=false,Er=false,zd="function"===typeof WeakSet?WeakSet:Set,Jt2=null;function fy(t2,e7){t2=t2.containerInfo;Zr=Si;t2=jf(t2);if(bc(t2)){if("selectionStart"in t2)var l={start:t2.selectionStart,end:t2.selectionEnd};else t:{l=(l=t2.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&0!==n.rangeCount){l=n.anchorNode;var a2=n.anchorOffset,c5=n.focusNode;n=n.focusOffset;try{l.nodeType,c5.nodeType}catch(nt3){l=null;break t}var s2=0,m=-1,b=-1,M3=0,L2=0,j2=t2,_2=null;e:for(;;){for(var N2;;){j2!==l||0!==a2&&3!==j2.nodeType||(m=s2+a2);j2!==c5||0!==n&&3!==j2.nodeType||(b=s2+n);3===j2.nodeType&&(s2+=j2.nodeValue.length);if(null===(N2=j2.firstChild))break;_2=j2;j2=N2}for(;;){if(j2===t2)break e;_2===l&&++M3===a2&&(m=s2);_2===c5&&++L2===n&&(b=s2);if(null!==(N2=j2.nextSibling))break;j2=_2;_2=j2.parentNode}j2=N2}l=-1===m||-1===b?null:{start:m,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;kr={focusedElem:t2,selectionRange:l};Si=false;for(Jt2=e7;null!==Jt2;)if(e7=Jt2,t2=e7.child,0!==(e7.subtreeFlags&1024)&&null!==t2)t2.return=e7,Jt2=t2;else for(;null!==Jt2;){e7=Jt2;c5=e7.alternate;t2=e7.flags;switch(e7.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(t2&1024)&&null!==c5){t2=void 0;l=e7;a2=c5.memoizedProps;c5=c5.memoizedState;n=l.stateNode;try{var it3=nn2(l.type,a2,l.elementType===l.type);t2=n.getSnapshotBeforeUpdate(it3,c5);n.__reactInternalSnapshotBeforeUpdate=t2}catch(nt3){Dt2(l,l.return,nt3)}}break;case 3:if(0!==(t2&1024)){if(t2=e7.stateNode.containerInfo,l=t2.nodeType,9===l)Wr(t2);else if(1===l)switch(t2.nodeName){case"HEAD":case"HTML":case"BODY":Wr(t2);break;default:t2.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(t2&1024))throw Error(o5(163))}t2=e7.sibling;if(null!==t2){t2.return=e7.return;Jt2=t2;break}Jt2=e7.return}}__name(fy,"fy");i(fy,"commitBeforeMutationEffects");function _d(t2,e7,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:wl(t2,l);n&4&&Xa(5,l);break;case 1:wl(t2,l);if(n&4)if(t2=l.stateNode,null===e7)try{t2.componentDidMount()}catch(s2){Dt2(l,l.return,s2)}else{var a2=nn2(l.type,e7.memoizedProps);e7=e7.memoizedState;try{t2.componentDidUpdate(a2,e7,t2.__reactInternalSnapshotBeforeUpdate)}catch(s2){Dt2(l,l.return,s2)}}n&64&&Td(l);n&512&&Va(l,l.return);break;case 3:wl(t2,l);if(n&64&&(t2=l.updateQueue,null!==t2)){e7=null;if(null!==l.child)switch(l.child.tag){case 27:case 5:e7=l.child.stateNode;break;case 1:e7=l.child.stateNode}try{ss(t2,e7)}catch(s2){Dt2(l,l.return,s2)}}break;case 27:null===e7&&n&4&&Md(l);case 26:case 5:wl(t2,l);null===e7&&n&4&&wd(l);n&512&&Va(l,l.return);break;case 12:wl(t2,l);break;case 13:wl(t2,l);n&4&&Nd(t2,l);n&64&&(t2=l.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2&&(l=by.bind(null,l),Ly(t2,l))));break;case 22:n=null!==l.memoizedState||il;if(!n){e7=null!==e7&&null!==e7.memoizedState||jt;a2=il;var c5=jt;il=n;(jt=e7)&&!c5?Rl(t2,l,0!==(l.subtreeFlags&8772)):wl(t2,l);il=a2;jt=c5}break;case 30:break;default:wl(t2,l)}}__name(_d,"_d");i(_d,"commitLayoutEffectOnFiber");function Cd(t2){var e7=t2.alternate;null!==e7&&(t2.alternate=null,Cd(e7));t2.child=null;t2.deletions=null;t2.sibling=null;5===t2.tag&&(e7=t2.stateNode,null!==e7&&tc(e7));t2.stateNode=null;t2.return=null;t2.dependencies=null;t2.memoizedProps=null;t2.memoizedState=null;t2.pendingProps=null;t2.stateNode=null;t2.updateQueue=null}__name(Cd,"Cd");i(Cd,"detachFiberAfterEffects");var Ut=null,ce3=false;function cl(t2,e7,l){for(l=l.child;null!==l;)Dd(t2,e7,l),l=l.sibling}__name(cl,"cl");i(cl,"recursivelyTraverseDeletionEffects");function Dd(t2,e7,l){if(oe3&&"function"===typeof oe3.onCommitFiberUnmount)try{oe3.onCommitFiberUnmount(fa,l)}catch(c5){}switch(l.tag){case 26:jt||Ge3(l,e7);cl(t2,e7,l);l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:jt||Ge3(l,e7);var n=Ut,a2=ce3;Nl(l.type)&&(Ut=l.stateNode,ce3=false);cl(t2,e7,l);Pa(l.stateNode);Ut=n;ce3=a2;break;case 5:jt||Ge3(l,e7);case 6:n=Ut;a2=ce3;Ut=null;cl(t2,e7,l);Ut=n;ce3=a2;if(null!==Ut)if(ce3)try{(9===Ut.nodeType?Ut.body:"HTML"===Ut.nodeName?Ut.ownerDocument.body:Ut).removeChild(l.stateNode)}catch(c5){Dt2(l,e7,c5)}else try{Ut.removeChild(l.stateNode)}catch(c5){Dt2(l,e7,c5)}break;case 18:null!==Ut&&(ce3?(t2=Ut,Sm(9===t2.nodeType?t2.body:"HTML"===t2.nodeName?t2.ownerDocument.body:t2,l.stateNode),iu(t2)):Sm(Ut,l.stateNode));break;case 4:n=Ut;a2=ce3;Ut=l.stateNode.containerInfo;ce3=true;cl(t2,e7,l);Ut=n;ce3=a2;break;case 0:case 11:case 14:case 15:jt||Ol(2,l,e7);jt||Ol(4,l,e7);cl(t2,e7,l);break;case 1:jt||(Ge3(l,e7),n=l.stateNode,"function"===typeof n.componentWillUnmount&&Od(l,e7,n));cl(t2,e7,l);break;case 21:cl(t2,e7,l);break;case 22:jt=(n=jt)||null!==l.memoizedState;cl(t2,e7,l);jt=n;break;default:cl(t2,e7,l)}}__name(Dd,"Dd");i(Dd,"commitDeletionEffectsOnFiber");function Nd(t2,e7){if(null===e7.memoizedState&&(t2=e7.alternate,null!==t2&&(t2=t2.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2))))try{iu(t2)}catch(l){Dt2(e7,e7.return,l)}}__name(Nd,"Nd");i(Nd,"commitSuspenseHydrationCallbacks");function sy(t2){switch(t2.tag){case 13:case 19:var e7=t2.stateNode;null===e7&&(e7=t2.stateNode=new zd);return e7;case 22:return t2=t2.stateNode,e7=t2._retryCache,null===e7&&(e7=t2._retryCache=new zd),e7;default:throw Error(o5(435,t2.tag))}}__name(sy,"sy");i(sy,"getRetryCache");function xr(t2,e7){var l=sy(t2);e7.forEach(function(n){var a2=Sy.bind(null,t2,n);l.has(n)||(l.add(n),n.then(a2,a2))})}__name(xr,"xr");i(xr,"attachSuspenseRetryListeners");function me2(t2,e7){var l=e7.deletions;if(null!==l)for(var n=0;n title"));Pt(c5,n,l);c5[It2]=t2;kt(c5);n=c5;break t;case"link":var s2=Mm("link","href",a2).get(n+(l.href||""));if(s2){for(var m=0;mCt2&&(s2=Ct2,Ct2=nt3,nt3=s2);var T2=qf(m,nt3),x=qf(m,Ct2);if(T2&&x&&(1!==N2.rangeCount||N2.anchorNode!==T2.node||N2.anchorOffset!==T2.offset||N2.focusNode!==x.node||N2.focusOffset!==x.offset)){var R2=j2.createRange();R2.setStart(T2.node,T2.offset);N2.removeAllRanges();nt3>Ct2?(N2.addRange(R2),N2.extend(x.node,x.offset)):(R2.setEnd(x.node,x.offset),N2.addRange(R2))}}}}j2=[];for(N2=m;N2=N2.parentNode;)1===N2.nodeType&&j2.push({element:N2,left:N2.scrollLeft,top:N2.scrollTop});"function"===typeof m.focus&&m.focus();for(m=0;ml?32:l;C.T=null;l=_r;_r=null;var c5=Cl,s2=Vn2;Ft=0;Xn2=Cl=null;Vn2=0;if(0!==(wt2&6))throw Error(o5(331));var m=wt2;wt2|=4;Yd(c5.current);Bd(c5,c5.current,s2,l);wt2=m;Wa(0,false);if(oe3&&"function"===typeof oe3.onPostCommitFiberRoot)try{oe3.onPostCommitFiberRoot(fa,c5)}catch(b){}return true}finally{V2.p=a2,C.T=n,em(t2,e7)}}__name(lm,"lm");i(lm,"flushPassiveEffects");function nm(t2,e7,l){e7=xe(l,e7);e7=or(t2.stateNode,e7,2);t2=El(t2,e7,2);null!==t2&&(da(t2,2),Ve3(t2))}__name(nm,"nm");i(nm,"captureCommitPhaseErrorOnRoot");function Dt2(t2,e7,l){if(3===t2.tag)nm(t2,t2,l);else for(;null!==e7;){if(3===e7.tag){nm(e7,t2,l);break}else if(1===e7.tag){var n=e7.stateNode;if("function"===typeof e7.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===_l||!_l.has(n))){t2=xe(l,t2);l=cd(2);n=El(e7,l,2);null!==n&&(rd(l,n,e7,t2),da(n,2),Ve3(n));break}}e7=e7.return}}__name(Dt2,"Dt");i(Dt2,"captureCommitPhaseError");function Hr(t2,e7,l){var n=t2.pingCache;if(null===n){n=t2.pingCache=new my;var a2=new Set;n.set(e7,a2)}else a2=n.get(e7),void 0===a2&&(a2=new Set,n.set(e7,a2));a2.has(l)||(Or=true,a2.add(l),t2=py.bind(null,t2,e7,l),e7.then(t2,t2))}__name(Hr,"Hr");i(Hr,"attachPingListener");function py(t2,e7,l){var n=t2.pingCache;null!==n&&n.delete(e7);t2.pingedLanes|=t2.suspendedLanes&l;t2.warmLanes&=~l;Nt2===t2&&(bt3&l)===l&&(4===qt2||3===qt2&&(bt3&62914560)===bt3&&300>qe3()-Mr?0===(wt2&2)&&Qn2(t2,0):wr|=l,Gn2===bt3&&(Gn2=0));Ve3(t2)}__name(py,"py");i(py,"pingSuspendedRoot");function am(t2,e7){0===e7&&(e7=Io());t2=wn2(t2,e7);null!==t2&&(da(t2,e7),Ve3(t2))}__name(am,"am");i(am,"retryTimedOutBoundary");function by(t2){var e7=t2.memoizedState,l=0;null!==e7&&(l=e7.retryLane);am(t2,l)}__name(by,"by");i(by,"retryDehydratedSuspenseBoundary");function Sy(t2,e7){var l=0;switch(t2.tag){case 13:var n=t2.stateNode;var a2=t2.memoizedState;null!==a2&&(l=a2.retryLane);break;case 19:n=t2.stateNode;break;case 22:n=t2.stateNode._retryCache;break;default:throw Error(o5(314))}null!==n&&n.delete(e7);am(t2,l)}__name(Sy,"Sy");i(Sy,"resolveRetryWakeable");function Ey(t2,e7){return hl(t2,e7)}__name(Ey,"Ey");i(Ey,"scheduleCallback$1");var oi=null,kn2=null,Br=false,fi=false,Lr=false,cn2=0;function Ve3(t2){t2!==kn2&&null===t2.next&&(null===kn2?oi=kn2=t2:kn2=kn2.next=t2);fi=true;Br||(Br=true,Ay())}__name(Ve3,"Ve");i(Ve3,"ensureRootIsScheduled");function Wa(t2,e7){if(!Lr&&fi){Lr=true;do{var l=false;for(var n=oi;null!==n;){if(0!==t2){var a2=n.pendingLanes;if(0===a2)var c5=0;else{var s2=n.suspendedLanes,m=n.pingedLanes;c5=(1<<31-fe2(42|t2)+1)-1;c5&=a2&~(s2&~m);c5=c5&201326741?c5&201326741|1:c5?c5|2:0}0!==c5&&(l=true,rm(n,c5))}else c5=bt3,c5=gu(n,n===Nt2?c5:0,null!==n.cancelPendingCommit||-1!==n.timeoutHandle),0===(c5&3)||sa(n,c5)||(l=true,rm(n,c5));n=n.next}}while(l);Lr=false}}__name(Wa,"Wa");i(Wa,"flushSyncWorkAcrossRoots_impl");function xy(){um()}__name(xy,"xy");i(xy,"processRootScheduleInImmediateTask");function um(){fi=Br=false;var t2=0;0!==cn2&&(Cy()&&(t2=cn2),cn2=0);for(var e7=qe3(),l=null,n=oi;null!==n;){var a2=n.next,c5=im(n,e7);if(0===c5)n.next=null,null===l?oi=a2:l.next=a2,null===a2&&(kn2=l);else if(l=n,0!==t2||0!==(c5&3))fi=true;n=a2}Wa(t2)}__name(um,"um");i(um,"processRootScheduleInMicrotask");function im(t2,e7){for(var l=t2.suspendedLanes,n=t2.pingedLanes,a2=t2.expirationTimes,c5=t2.pendingLanes&-62914561;0n){l=n;var s2=t2.ownerDocument;l&1&&Pa(s2.documentElement);l&2&&Pa(s2.body);if(l&4)for(l=s2.head,Pa(l),s2=l.firstChild;s2;){var m=s2.nextSibling,b=s2.nodeName;s2[ma]||"SCRIPT"===b||"STYLE"===b||"LINK"===b&&"stylesheet"===s2.rel.toLowerCase()||l.removeChild(s2);s2=m}}if(0===a2){t2.removeChild(c5);iu(e7);return}a2--}else"$"===l||"$?"===l||"$!"===l?a2++:n=l.charCodeAt(0)-48;else n=0;l=c5}while(l);iu(e7)}__name(Sm,"Sm");i(Sm,"clearSuspenseBoundary");function Wr(t2){var e7=t2.firstChild;e7&&10===e7.nodeType&&(e7=e7.nextSibling);for(;e7;){var l=e7;e7=e7.nextSibling;switch(l.nodeName){case"HTML":case"HEAD":case"BODY":Wr(l);tc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===l.rel.toLowerCase())continue}t2.removeChild(l)}}__name(Wr,"Wr");i(Wr,"clearContainerSparingly");function Hy(t2,e7,l,n){for(;1===t2.nodeType;){var a2=l;if(t2.nodeName.toLowerCase()!==e7.toLowerCase()){if(!n&&("INPUT"!==t2.nodeName||"hidden"!==t2.type))break}else if(!n)if("input"===e7&&"hidden"===t2.type){var c5=null==a2.name?null:""+a2.name;if("hidden"===a2.type&&t2.getAttribute("name")===c5)return t2}else return t2;else if(!t2[ma])switch(e7){case"meta":if(!t2.hasAttribute("itemprop"))break;return t2;case"link":c5=t2.getAttribute("rel");if("stylesheet"===c5&&t2.hasAttribute("data-precedence"))break;else if(c5!==a2.rel||t2.getAttribute("href")!==(null==a2.href||""===a2.href?null:a2.href)||t2.getAttribute("crossorigin")!==(null==a2.crossOrigin?null:a2.crossOrigin)||t2.getAttribute("title")!==(null==a2.title?null:a2.title))break;return t2;case"style":if(t2.hasAttribute("data-precedence"))break;return t2;case"script":c5=t2.getAttribute("src");if((c5!==(null==a2.src?null:a2.src)||t2.getAttribute("type")!==(null==a2.type?null:a2.type)||t2.getAttribute("crossorigin")!==(null==a2.crossOrigin?null:a2.crossOrigin))&&c5&&t2.hasAttribute("async")&&!t2.hasAttribute("itemprop"))break;return t2;default:return t2}t2=Ce2(t2.nextSibling);if(null===t2)break}return null}__name(Hy,"Hy");i(Hy,"canHydrateInstance");function By(t2,e7,l){if(""===e7)return null;for(;3!==t2.nodeType;){if((1!==t2.nodeType||"INPUT"!==t2.nodeName||"hidden"!==t2.type)&&!l)return null;t2=Ce2(t2.nextSibling);if(null===t2)return null}return t2}__name(By,"By");i(By,"canHydrateTextInstance");function $r(t2){return"$!"===t2.data||"$?"===t2.data&&"complete"===t2.ownerDocument.readyState}__name($r,"$r");i($r,"isSuspenseInstanceFallback");function Ly(t2,e7){var l=t2.ownerDocument;if("$?"!==t2.data||"complete"===l.readyState)e7();else{var n=i(function(){e7();l.removeEventListener("DOMContentLoaded",n)},"listener");l.addEventListener("DOMContentLoaded",n);t2._reactRetry=n}}__name(Ly,"Ly");i(Ly,"registerSuspenseInstanceRetry");function Ce2(t2){for(;null!=t2;t2=t2.nextSibling){var e7=t2.nodeType;if(1===e7||3===e7)break;if(8===e7){e7=t2.data;if("$"===e7||"$!"===e7||"$?"===e7||"F!"===e7||"F"===e7)break;if("/$"===e7)return null}}return t2}__name(Ce2,"Ce");i(Ce2,"getNextHydratable");var Fr=null;function Em(t2){t2=t2.previousSibling;for(var e7=0;t2;){if(8===t2.nodeType){var l=t2.data;if("$"===l||"$!"===l||"$?"===l){if(0===e7)return t2;e7--}else"/$"===l&&e7++}t2=t2.previousSibling}return null}__name(Em,"Em");i(Em,"getParentSuspenseInstance");function xm(t2,e7,l){e7=hi(l);switch(t2){case"html":t2=e7.documentElement;if(!t2)throw Error(o5(452));return t2;case"head":t2=e7.head;if(!t2)throw Error(o5(453));return t2;case"body":t2=e7.body;if(!t2)throw Error(o5(454));return t2;default:throw Error(o5(451))}}__name(xm,"xm");i(xm,"resolveSingletonInstance");function Pa(t2){for(var e7=t2.attributes;e7.length;)t2.removeAttributeNode(e7[0]);tc(t2)}__name(Pa,"Pa");i(Pa,"releaseSingletonInstance");var Me3=new Map,Am=new Set;function vi(t2){return"function"===typeof t2.getRootNode?t2.getRootNode():9===t2.nodeType?t2:t2.ownerDocument}__name(vi,"vi");i(vi,"getHoistableRoot");var ol=V2.d;V2.d={f:qy,r:Yy,D:jy,C:Gy,L:Xy,m:Vy,X:Zy,S:Qy,M:ky};function qy(){var t2=ol.f(),e7=ii();return t2||e7}__name(qy,"qy");i(qy,"flushSyncWork");function Yy(t2){var e7=hn2(t2);null!==e7&&5===e7.tag&&"form"===e7.type?Vs(e7):ol.r(t2)}__name(Yy,"Yy");i(Yy,"requestFormReset");var Jn2="undefined"===typeof document?null:document;function Tm(t2,e7,l){var n=Jn2;if(n&&"string"===typeof e7&&e7){var a2=Ee(e7);a2='link[rel="'+t2+'"][href="'+a2+'"]';"string"===typeof l&&(a2+='[crossorigin="'+l+'"]');Am.has(a2)||(Am.add(a2),t2={rel:t2,crossOrigin:l,href:e7},null===n.querySelector(a2)&&(e7=n.createElement("link"),Pt(e7,"link",t2),kt(e7),n.head.appendChild(e7)))}}__name(Tm,"Tm");i(Tm,"preconnectAs");function jy(t2){ol.D(t2);Tm("dns-prefetch",t2,null)}__name(jy,"jy");i(jy,"prefetchDNS");function Gy(t2,e7){ol.C(t2,e7);Tm("preconnect",t2,e7)}__name(Gy,"Gy");i(Gy,"preconnect");function Xy(t2,e7,l){ol.L(t2,e7,l);var n=Jn2;if(n&&t2&&e7){var a2='link[rel="preload"][as="'+Ee(e7)+'"]';"image"===e7?l&&l.imageSrcSet?(a2+='[imagesrcset="'+Ee(l.imageSrcSet)+'"]',"string"===typeof l.imageSizes&&(a2+='[imagesizes="'+Ee(l.imageSizes)+'"]')):a2+='[href="'+Ee(t2)+'"]':a2+='[href="'+Ee(t2)+'"]';var c5=a2;switch(e7){case"style":c5=Wn2(t2);break;case"script":c5=$n2(t2)}Me3.has(c5)||(t2=S4({rel:"preload",href:"image"===e7&&l&&l.imageSrcSet?void 0:t2,as:e7},l),Me3.set(c5,t2),null!==n.querySelector(a2)||"style"===e7&&n.querySelector(Ia(c5))||"script"===e7&&n.querySelector(tu(c5))||(e7=n.createElement("link"),Pt(e7,"link",t2),kt(e7),n.head.appendChild(e7)))}}__name(Xy,"Xy");i(Xy,"preload");function Vy(t2,e7){ol.m(t2,e7);var l=Jn2;if(l&&t2){var n=e7&&"string"===typeof e7.as?e7.as:"script",a2='link[rel="modulepreload"][as="'+Ee(n)+'"][href="'+Ee(t2)+'"]',c5=a2;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c5=$n2(t2)}if(!Me3.has(c5)&&(t2=S4({rel:"modulepreload",href:t2},e7),Me3.set(c5,t2),null===l.querySelector(a2))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(tu(c5)))return}n=l.createElement("link");Pt(n,"link",t2);kt(n);l.head.appendChild(n)}}}__name(Vy,"Vy");i(Vy,"preloadModule");function Qy(t2,e7,l){ol.S(t2,e7,l);var n=Jn2;if(n&&t2){var a2=vn2(n).hoistableStyles,c5=Wn2(t2);e7=e7||"default";var s2=a2.get(c5);if(!s2){var m={loading:0,preload:null};if(s2=n.querySelector(Ia(c5)))m.loading=5;else{t2=S4({rel:"stylesheet",href:t2,"data-precedence":e7},l);(l=Me3.get(c5))&&Pr(t2,l);var b=s2=n.createElement("link");kt(b);Pt(b,"link",t2);b._p=new Promise(function(M3,L2){b.onload=M3;b.onerror=L2});b.addEventListener("load",function(){m.loading|=1});b.addEventListener("error",function(){m.loading|=2});m.loading|=4;gi(s2,e7,n)}s2={type:"stylesheet",instance:s2,count:1,state:m};a2.set(c5,s2)}}}__name(Qy,"Qy");i(Qy,"preinitStyle");function Zy(t2,e7){ol.X(t2,e7);var l=Jn2;if(l&&t2){var n=vn2(l).hoistableScripts,a2=$n2(t2),c5=n.get(a2);c5||(c5=l.querySelector(tu(a2)),c5||(t2=S4({src:t2,async:true},e7),(e7=Me3.get(a2))&&Ir(t2,e7),c5=l.createElement("script"),kt(c5),Pt(c5,"link",t2),l.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n.set(a2,c5))}}__name(Zy,"Zy");i(Zy,"preinitScript");function ky(t2,e7){ol.M(t2,e7);var l=Jn2;if(l&&t2){var n=vn2(l).hoistableScripts,a2=$n2(t2),c5=n.get(a2);c5||(c5=l.querySelector(tu(a2)),c5||(t2=S4({src:t2,async:true,type:"module"},e7),(e7=Me3.get(a2))&&Ir(t2,e7),c5=l.createElement("script"),kt(c5),Pt(c5,"link",t2),l.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n.set(a2,c5))}}__name(ky,"ky");i(ky,"preinitModuleScript");function Om(t2,e7,l,n){var a2=(a2=ut3.current)?vi(a2):null;if(!a2)throw Error(o5(446));switch(t2){case"meta":case"title":return null;case"style":return"string"===typeof l.precedence&&"string"===typeof l.href?(e7=Wn2(l.href),l=vn2(a2).hoistableStyles,n=l.get(e7),n||(n={type:"style",instance:null,count:0,state:null},l.set(e7,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===l.rel&&"string"===typeof l.href&&"string"===typeof l.precedence){t2=Wn2(l.href);var c5=vn2(a2).hoistableStyles,s2=c5.get(t2);s2||(a2=a2.ownerDocument||a2,s2={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c5.set(t2,s2),(c5=a2.querySelector(Ia(t2)))&&!c5._p&&(s2.instance=c5,s2.state.loading=5),Me3.has(t2)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Me3.set(t2,l),c5||Ky(a2,t2,l,s2.state)));if(e7&&null===n)throw Error(o5(528,""));return s2}if(e7&&null!==n)throw Error(o5(529,""));return null;case"script":return e7=l.async,l=l.src,"string"===typeof l&&e7&&"function"!==typeof e7&&"symbol"!==typeof e7?(e7=$n2(l),l=vn2(a2).hoistableScripts,n=l.get(e7),n||(n={type:"script",instance:null,count:0,state:null},l.set(e7,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o5(444,t2))}}__name(Om,"Om");i(Om,"getResource");function Wn2(t2){return'href="'+Ee(t2)+'"'}__name(Wn2,"Wn");i(Wn2,"getStyleKey");function Ia(t2){return'link[rel="stylesheet"]['+t2+"]"}__name(Ia,"Ia");i(Ia,"getStylesheetSelectorFromKey");function wm(t2){return S4({},t2,{"data-precedence":t2.precedence,precedence:null})}__name(wm,"wm");i(wm,"stylesheetPropsFromRawProps");function Ky(t2,e7,l,n){t2.querySelector('link[rel="preload"][as="style"]['+e7+"]")?n.loading=1:(e7=t2.createElement("link"),n.preload=e7,e7.addEventListener("load",function(){return n.loading|=1}),e7.addEventListener("error",function(){return n.loading|=2}),Pt(e7,"link",l),kt(e7),t2.head.appendChild(e7))}__name(Ky,"Ky");i(Ky,"preloadStylesheet");function $n2(t2){return'[src="'+Ee(t2)+'"]'}__name($n2,"$n");i($n2,"getScriptKey");function tu(t2){return"script[async]"+t2}__name(tu,"tu");i(tu,"getScriptSelectorFromKey");function Rm(t2,e7,l){e7.count++;if(null===e7.instance)switch(e7.type){case"style":var n=t2.querySelector('style[data-href~="'+Ee(l.href)+'"]');if(n)return e7.instance=n,kt(n),n;var a2=S4({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});n=(t2.ownerDocument||t2).createElement("style");kt(n);Pt(n,"style",a2);gi(n,l.precedence,t2);return e7.instance=n;case"stylesheet":a2=Wn2(l.href);var c5=t2.querySelector(Ia(a2));if(c5)return e7.state.loading|=4,e7.instance=c5,kt(c5),c5;n=wm(l);(a2=Me3.get(a2))&&Pr(n,a2);c5=(t2.ownerDocument||t2).createElement("link");kt(c5);var s2=c5;s2._p=new Promise(function(m,b){s2.onload=m;s2.onerror=b});Pt(c5,"link",n);e7.state.loading|=4;gi(c5,l.precedence,t2);return e7.instance=c5;case"script":c5=$n2(l.src);if(a2=t2.querySelector(tu(c5)))return e7.instance=a2,kt(a2),a2;n=l;if(a2=Me3.get(c5))n=S4({},l),Ir(n,a2);t2=t2.ownerDocument||t2;a2=t2.createElement("script");kt(a2);Pt(a2,"link",n);t2.head.appendChild(a2);return e7.instance=a2;case"void":return null;default:throw Error(o5(443,e7.type))}else"stylesheet"===e7.type&&0===(e7.state.loading&4)&&(n=e7.instance,e7.state.loading|=4,gi(n,l.precedence,t2));return e7.instance}__name(Rm,"Rm");i(Rm,"acquireResource");function gi(t2,e7,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a2=n.length?n[n.length-1]:null,c5=a2,s2=0;s2 title"):null)}__name(zm,"zm");i(zm,"mountHoistable");function Jy(t2,e7,l){if(1===l||null!=e7.itemProp)return false;switch(t2){case"meta":case"title":return true;case"style":if("string"!==typeof e7.precedence||"string"!==typeof e7.href||""===e7.href)break;return true;case"link":if("string"!==typeof e7.rel||"string"!==typeof e7.href||""===e7.href||e7.onLoad||e7.onError)break;switch(e7.rel){case"stylesheet":return t2=e7.disabled,"string"===typeof e7.precedence&&null==t2;default:return true}case"script":if(e7.async&&"function"!==typeof e7.async&&"symbol"!==typeof e7.async&&!e7.onLoad&&!e7.onError&&e7.src&&"string"===typeof e7.src)return true}return false}__name(Jy,"Jy");i(Jy,"isHostHoistableType");function _m(t2){return"stylesheet"===t2.type&&0===(t2.state.loading&3)?false:true}__name(_m,"_m");i(_m,"preloadResource");var eu=null;function Wy(){}__name(Wy,"Wy");i(Wy,"noop");function $y(t2,e7,l){if(null===eu)throw Error(o5(475));var n=eu;if("stylesheet"===e7.type&&("string"!==typeof l.media||false!==matchMedia(l.media).matches)&&0===(e7.state.loading&4)){if(null===e7.instance){var a2=Wn2(l.href),c5=t2.querySelector(Ia(a2));if(c5){t2=c5._p;null!==t2&&"object"===typeof t2&&"function"===typeof t2.then&&(n.count++,n=pi.bind(n),t2.then(n,n));e7.state.loading|=4;e7.instance=c5;kt(c5);return}c5=t2.ownerDocument||t2;l=wm(l);(a2=Me3.get(a2))&&Pr(l,a2);c5=c5.createElement("link");kt(c5);var s2=c5;s2._p=new Promise(function(m,b){s2.onload=m;s2.onerror=b});Pt(c5,"link",l);e7.instance=c5}null===n.stylesheets&&(n.stylesheets=new Map);n.stylesheets.set(e7,t2);(t2=e7.state.preload)&&0===(e7.state.loading&3)&&(n.count++,e7=pi.bind(n),t2.addEventListener("load",e7),t2.addEventListener("error",e7))}}__name($y,"$y");i($y,"suspendResource");function Fy(){if(null===eu)throw Error(o5(475));var t2=eu;t2.stylesheets&&0===t2.count&&to2(t2,t2.stylesheets);return 0S4(w,typeof w==="string"?null:w.state,H===0?"default":void 0));let h3=p2(f2==null?d3.length-1:f2);let v=De.Pop;let y2=null;function p2(w){return Math.min(Math.max(w,0),d3.length-1)}__name(p2,"p");i(p2,"clampIndex");function g(){return d3[h3]}__name(g,"g");i(g,"getCurrentLocation");function S4(w,H,O3){if(H===void 0){H=null}let U3=qi(d3?g().pathname:"/",w,H,O3);S0(U3.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w));return U3}__name(S4,"S");i(S4,"createMemoryLocation");function A2(w){return typeof w==="string"?w:Lo(w)}__name(A2,"A");i(A2,"createHref");let D2={get index(){return h3},get action(){return v},get location(){return g()},createHref:A2,createURL(w){return new URL(A2(w),"http://localhost")},encodeLocation(w){let H=typeof w==="string"?qo(w):w;return{pathname:H.pathname||"",search:H.search||"",hash:H.hash||""}},push(w,H){v=De.Push;let O3=S4(w,H);h3+=1;d3.splice(h3,d3.length,O3);if(o5&&y2){y2({action:v,location:O3,delta:1})}},replace(w,H){v=De.Replace;let O3=S4(w,H);d3[h3]=O3;if(o5&&y2){y2({action:v,location:O3,delta:0})}},go(w){v=De.Pop;let H=p2(h3+w);let O3=d3[H];h3=H;if(y2){y2({action:v,location:O3,delta:w})}},listen(w){y2=w;return()=>{y2=null}}};return D2}__name(p0,"p0");i(p0,"createMemoryHistory");function b0(u5){if(u5===void 0){u5={}}function r2(o5,d3){let{pathname:h3,search:v,hash:y2}=o5.location;return qi("",{pathname:h3,search:v,hash:y2},d3.state&&d3.state.usr||null,d3.state&&d3.state.key||"default")}__name(r2,"r");i(r2,"createBrowserLocation");function f2(o5,d3){return typeof d3==="string"?d3:Lo(d3)}__name(f2,"f");i(f2,"createBrowserHref");return x0(r2,f2,null,u5)}__name(b0,"b0");i(b0,"createBrowserHistory");function Lh(u5,r2){if(u5===false||u5===null||typeof u5==="undefined"){throw new Error(r2)}}__name(Lh,"Lh");i(Lh,"invariant");function S0(u5,r2){if(!u5){if(typeof console!=="undefined")console.warn(r2);try{throw new Error(r2)}catch(f2){}}}__name(S0,"S0");i(S0,"warning");function E0(){return Math.random().toString(36).substr(2,8)}__name(E0,"E0");i(E0,"createKey");function Im(u5,r2){return{usr:u5.state,key:u5.key,idx:r2}}__name(Im,"Im");i(Im,"getHistoryState");function qi(u5,r2,f2,o5){if(f2===void 0){f2=null}let d3=Li({pathname:typeof u5==="string"?u5:u5.pathname,search:"",hash:""},typeof r2==="string"?qo(r2):r2,{state:f2,key:r2&&r2.key||o5||E0()});return d3}__name(qi,"qi");i(qi,"createLocation");function Lo(u5){let{pathname:r2="/",search:f2="",hash:o5=""}=u5;if(f2&&f2!=="?")r2+=f2.charAt(0)==="?"?f2:"?"+f2;if(o5&&o5!=="#")r2+=o5.charAt(0)==="#"?o5:"#"+o5;return r2}__name(Lo,"Lo");i(Lo,"createPath");function qo(u5){let r2={};if(u5){let f2=u5.indexOf("#");if(f2>=0){r2.hash=u5.substr(f2);u5=u5.substr(0,f2)}let o5=u5.indexOf("?");if(o5>=0){r2.search=u5.substr(o5);u5=u5.substr(0,o5)}if(u5){r2.pathname=u5}}return r2}__name(qo,"qo");i(qo,"parsePath");function x0(u5,r2,f2,o5){if(o5===void 0){o5={}}let{window:d3=document.defaultView,v5Compat:h3=false}=o5;let v=d3.history;let y2=De.Pop;let p2=null;let g=S4();if(g==null){g=0;v.replaceState(Li({},v.state,{idx:g}),"")}function S4(){let U3=v.state||{idx:null};return U3.idx}__name(S4,"S");i(S4,"getIndex");function A2(){y2=De.Pop;let U3=S4();let Y3=U3==null?null:U3-g;g=U3;if(p2){p2({action:y2,location:O3.location,delta:Y3})}}__name(A2,"A");i(A2,"handlePop");function D2(U3,Y3){y2=De.Push;let Q3=qi(O3.location,U3,Y3);g=S4()+1;let Z3=Im(Q3,g);let k3=O3.createHref(Q3);try{v.pushState(Z3,"",k3)}catch(X4){if(X4 instanceof DOMException&&X4.name==="DataCloneError"){throw X4}d3.location.assign(k3)}if(h3&&p2){p2({action:y2,location:O3.location,delta:1})}}__name(D2,"D");i(D2,"push");function w(U3,Y3){y2=De.Replace;let Q3=qi(O3.location,U3,Y3);g=S4();let Z3=Im(Q3,g);let k3=O3.createHref(Q3);v.replaceState(Z3,"",k3);if(h3&&p2){p2({action:y2,location:O3.location,delta:0})}}__name(w,"w");i(w,"replace");function H(U3){let Y3=d3.location.origin!=="null"?d3.location.origin:d3.location.href;let Q3=typeof U3==="string"?U3:Lo(U3);Q3=Q3.replace(/ $/,"%20");Lh(Y3,"No window.location.(origin|href) available to create URL for href: "+Q3);return new URL(Q3,Y3)}__name(H,"H");i(H,"createURL");let O3={get action(){return y2},get location(){return u5(d3,v)},listen(U3){if(p2){throw new Error("A history only accepts one active listener")}d3.addEventListener(Pm,A2);p2=U3;return()=>{d3.removeEventListener(Pm,A2);p2=null}},createHref(U3){return r2(d3,U3)},createURL:H,encodeLocation(U3){let Y3=H(U3);return{pathname:Y3.pathname,search:Y3.search,hash:Y3.hash}},push:D2,replace:w,go(U3){return v.go(U3)}};return O3}__name(x0,"x0");i(x0,"getUrlBasedHistory");var th;(function(u5){u5["data"]="data";u5["deferred"]="deferred";u5["redirect"]="redirect";u5["error"]="error"})(th||(th={}));function A0(u5,r2){if(r2==="/")return u5;if(!u5.toLowerCase().startsWith(r2.toLowerCase())){return null}let f2=r2.endsWith("/")?r2.length-1:r2.length;let o5=u5.charAt(f2);if(o5&&o5!=="/"){return null}return u5.slice(f2)||"/"}__name(A0,"A0");i(A0,"stripBasename");var qh=["post","put","patch","delete"];new Set(qh);var T0=["get",...qh];new Set(T0);function wo(){wo=Object.assign?Object.assign.bind():function(u5){for(var r2=1;r2{S4&&eh?eh(()=>g(D2)):g(D2)},[g,S4]);z.useLayoutEffect(()=>y2.listen(A2),[y2,A2]);z.useEffect(()=>jh(h3),[h3]);return z.createElement(Gh,{basename:r2,children:f2,location:p2.location,navigationType:p2.action,navigator:y2,future:h3})}__name(uS,"uS");i(uS,"MemoryRouter");function Gh(u5){let{basename:r2="/",children:f2=null,location:o5,navigationType:d3=De.Pop,navigator:h3,static:v=false,future:y2}=u5;!!w0()?Lh(false):void 0;let p2=r2.replace(/^/*/,"/");let g=z.useMemo(()=>({basename:p2,navigator:h3,static:v,future:wo({v7_relativeSplatPath:false},y2)}),[p2,y2,h3,v]);if(typeof o5==="string"){o5=qo(o5)}let{pathname:S4="/",search:A2="",hash:D2="",state:w=null,key:H="default"}=o5;let O3=z.useMemo(()=>{let U3=A0(S4,p2);if(U3==null){return null}return{location:{pathname:U3,search:A2,hash:D2,state:w,key:H},navigationType:d3}},[p2,S4,A2,D2,w,H,d3]);if(O3==null){return null}return z.createElement(O0.Provider,{value:g},z.createElement(Yh.Provider,{children:f2,value:O3}))}__name(Gh,"Gh");i(Gh,"Router");new Promise(()=>{});var M0="6";try{window.__reactRouterVersion=M0}catch(u5){}var z0="startTransition";var lh=Qi[z0];function iS(u5){let{basename:r2,children:f2,future:o5,window:d3}=u5;let h3=z.useRef();if(h3.current==null){h3.current=b0({window:d3,v5Compat:true})}let v=h3.current;let[y2,p2]=z.useState({action:v.action,location:v.location});let{v7_startTransition:g}=o5||{};let S4=z.useCallback(A2=>{g&&lh?lh(()=>p2(A2)):p2(A2)},[p2,g]);z.useLayoutEffect(()=>v.listen(S4),[v,S4]);z.useEffect(()=>jh(o5),[o5]);return z.createElement(Gh,{basename:r2,children:f2,location:y2.location,navigationType:y2.action,navigator:v,future:o5})}__name(iS,"iS");i(iS,"BrowserRouter");var nh;(function(u5){u5["UseScrollRestoration"]="useScrollRestoration";u5["UseSubmit"]="useSubmit";u5["UseSubmitFetcher"]="useSubmitFetcher";u5["UseFetcher"]="useFetcher";u5["useViewTransitionState"]="useViewTransitionState"})(nh||(nh={}));var ah;(function(u5){u5["UseFetcher"]="useFetcher";u5["UseFetchers"]="useFetchers";u5["UseScrollRestoration"]="useScrollRestoration"})(ah||(ah={}));var cS=sl.forwardRef(({to:u5,newTab:r2=false,target:f2,rel:o5,children:d3,...h3},v)=>{const y2=r2?f2??"_blank":f2;const p2=r2?o5??"noopener noreferrer":o5;return Ht.jsx("a",{href:u5,target:y2,rel:p2,ref:v,...h3,children:d3})});function uh(u5,r2){if(typeof u5==="function"){return u5(r2)}else if(u5!==null&&u5!==void 0){u5.current=r2}}__name(uh,"uh");i(uh,"setRef");function Xh(...u5){return r2=>{let f2=false;const o5=u5.map(d3=>{const h3=uh(d3,r2);if(!f2&&typeof h3=="function"){f2=true}return h3});if(f2){return()=>{for(let d3=0;d3{const{children:h3,...v}=o5;const y2=z.Children.toArray(h3);const p2=y2.find(D0);if(p2){const g=p2.props.children;const S4=y2.map(A2=>{if(A2===p2){if(z.Children.count(g)>1)return z.Children.only(null);return z.isValidElement(g)?g.props.children:null}else{return A2}});return Ht.jsx(r2,{...v,ref:d3,children:z.isValidElement(g)?z.cloneElement(g,void 0,S4):null})}return Ht.jsx(r2,{...v,ref:d3,children:h3})});f2.displayName=`${u5}.Slot`;return f2}__name(Yi,"Yi");i(Yi,"createSlot");var Vh=Yi("Slot");function _0(u5){const r2=z.forwardRef((f2,o5)=>{const{children:d3,...h3}=f2;if(z.isValidElement(d3)){const v=U0(d3);const y2=N0(h3,d3.props);if(d3.type!==z.Fragment){y2.ref=o5?Xh(o5,v):v}return z.cloneElement(d3,y2)}return z.Children.count(d3)>1?z.Children.only(null):null});r2.displayName=`${u5}.SlotClone`;return r2}__name(_0,"_0");i(_0,"createSlotClone");var C0=Symbol("radix.slottable");function D0(u5){return z.isValidElement(u5)&&typeof u5.type==="function"&&"__radixId"in u5.type&&u5.type.__radixId===C0}__name(D0,"D0");i(D0,"isSlottable");function N0(u5,r2){const f2={...r2};for(const o5 in r2){const d3=u5[o5];const h3=r2[o5];const v=/^on[A-Z]/.test(o5);if(v){if(d3&&h3){f2[o5]=(...y2)=>{const p2=h3(...y2);d3(...y2);return p2}}else if(d3){f2[o5]=d3}}else if(o5==="style"){f2[o5]={...d3,...h3}}else if(o5==="className"){f2[o5]=[d3,h3].filter(Boolean).join(" ")}}return{...u5,...f2}}__name(N0,"N0");i(N0,"mergeProps");function U0(u5){let r2=Object.getOwnPropertyDescriptor(u5.props,"ref")?.get;let f2=r2&&"isReactWarning"in r2&&r2.isReactWarning;if(f2){return u5.ref}r2=Object.getOwnPropertyDescriptor(u5,"ref")?.get;f2=r2&&"isReactWarning"in r2&&r2.isReactWarning;if(f2){return u5.props.ref}return u5.props.ref||u5.ref}__name(U0,"U0");i(U0,"getElementRef");function Qh(u5){var r2,f2,o5="";if("string"==typeof u5||"number"==typeof u5)o5+=u5;else if("object"==typeof u5)if(Array.isArray(u5)){var d3=u5.length;for(r2=0;r2typeof u5==="boolean"?`${u5}`:u5===0?"0":u5,"falsyToString");var ch=Zh;var kh=i((u5,r2)=>f2=>{var o5;if((r2===null||r2===void 0?void 0:r2.variants)==null)return ch(u5,f2===null||f2===void 0?void 0:f2.class,f2===null||f2===void 0?void 0:f2.className);const{variants:d3,defaultVariants:h3}=r2;const v=Object.keys(d3).map(g=>{const S4=f2===null||f2===void 0?void 0:f2[g];const A2=h3===null||h3===void 0?void 0:h3[g];if(S4===null)return null;const D2=ih(S4)||ih(A2);return d3[g][D2]});const y2=f2&&Object.entries(f2).reduce((g,S4)=>{let[A2,D2]=S4;if(D2===void 0){return g}g[A2]=D2;return g},{});const p2=r2===null||r2===void 0?void 0:(o5=r2.compoundVariants)===null||o5===void 0?void 0:o5.reduce((g,S4)=>{let{class:A2,className:D2,...w}=S4;return Object.entries(w).every(H=>{let[O3,U3]=H;return Array.isArray(U3)?U3.includes({...h3,...y2}[O3]):{...h3,...y2}[O3]===U3})?[...g,A2,D2]:g},[]);return ch(u5,v,p2,f2===null||f2===void 0?void 0:f2.class,f2===null||f2===void 0?void 0:f2.className)},"cva");var Yo="-";var H0=i(u5=>{const r2=L0(u5);const{conflictingClassGroups:f2,conflictingClassGroupModifiers:o5}=u5;const d3=i(v=>{const y2=v.split(Yo);if(y2[0]===""&&y2.length!==1){y2.shift()}return Kh(y2,r2)||B0(v)},"getClassGroupId");const h3=i((v,y2)=>{const p2=f2[v]||[];if(y2&&o5[v]){return[...p2,...o5[v]]}return p2},"getConflictingClassGroupIds");return{getClassGroupId:d3,getConflictingClassGroupIds:h3}},"createClassGroupUtils");var Kh=i((u5,r2)=>{if(u5.length===0){return r2.classGroupId}const f2=u5[0];const o5=r2.nextPart.get(f2);const d3=o5?Kh(u5.slice(1),o5):void 0;if(d3){return d3}if(r2.validators.length===0){return void 0}const h3=u5.join(Yo);return r2.validators.find(({validator:v})=>v(h3))?.classGroupId},"getGroupRecursive");var rh=/^[(.+)]$/;var B0=i(u5=>{if(rh.test(u5)){const r2=rh.exec(u5)[1];const f2=r2?.substring(0,r2.indexOf(":"));if(f2){return"arbitrary.."+f2}}},"getGroupIdForArbitraryProperty");var L0=i(u5=>{const{theme:r2,classGroups:f2}=u5;const o5={nextPart:new Map,validators:[]};for(const d3 in f2){Ro(f2[d3],o5,d3,r2)}return o5},"createClassMap");var Ro=i((u5,r2,f2,o5)=>{u5.forEach(d3=>{if(typeof d3==="string"){const h3=d3===""?r2:oh(r2,d3);h3.classGroupId=f2;return}if(typeof d3==="function"){if(q0(d3)){Ro(d3(o5),r2,f2,o5);return}r2.validators.push({validator:d3,classGroupId:f2});return}Object.entries(d3).forEach(([h3,v])=>{Ro(v,oh(r2,h3),f2,o5)})})},"processClassesRecursively");var oh=i((u5,r2)=>{let f2=u5;r2.split(Yo).forEach(o5=>{if(!f2.nextPart.has(o5)){f2.nextPart.set(o5,{nextPart:new Map,validators:[]})}f2=f2.nextPart.get(o5)});return f2},"getPart");var q0=i(u5=>u5.isThemeGetter,"isThemeGetter");var Y0=i(u5=>{if(u5<1){return{get:i(()=>void 0,"get"),set:i(()=>{},"set")}}let r2=0;let f2=new Map;let o5=new Map;const d3=i((h3,v)=>{f2.set(h3,v);r2++;if(r2>u5){r2=0;o5=f2;f2=new Map}},"update");return{get(h3){let v=f2.get(h3);if(v!==void 0){return v}if((v=o5.get(h3))!==void 0){d3(h3,v);return v}},set(h3,v){if(f2.has(h3)){f2.set(h3,v)}else{d3(h3,v)}}}},"createLruCache");var Mo="!";var zo=":";var j0=zo.length;var G0=i(u5=>{const{prefix:r2,experimentalParseClassName:f2}=u5;let o5=i(d3=>{const h3=[];let v=0;let y2=0;let p2=0;let g;for(let H=0;Hp2?g-p2:void 0;return{modifiers:h3,hasImportantModifier:D2,baseClassName:A2,maybePostfixModifierPosition:w}},"parseClassName");if(r2){const d3=r2+zo;const h3=o5;o5=i(v=>v.startsWith(d3)?h3(v.substring(d3.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:v,maybePostfixModifierPosition:void 0},"parseClassName")}if(f2){const d3=o5;o5=i(h3=>f2({className:h3,parseClassName:d3}),"parseClassName")}return o5},"createParseClassName");var X0=i(u5=>{if(u5.endsWith(Mo)){return u5.substring(0,u5.length-1)}if(u5.startsWith(Mo)){return u5.substring(1)}return u5},"stripImportantModifier");var V0=i(u5=>{const r2=Object.fromEntries(u5.orderSensitiveModifiers.map(o5=>[o5,true]));const f2=i(o5=>{if(o5.length<=1){return o5}const d3=[];let h3=[];o5.forEach(v=>{const y2=v[0]==="["||r2[v];if(y2){d3.push(...h3.sort(),v);h3=[]}else{h3.push(v)}});d3.push(...h3.sort());return d3},"sortModifiers");return f2},"createSortModifiers");var Q0=i(u5=>({cache:Y0(u5.cacheSize),parseClassName:G0(u5),sortModifiers:V0(u5),...H0(u5)}),"createConfigUtils");var Z0=/s+/;var k0=i((u5,r2)=>{const{parseClassName:f2,getClassGroupId:o5,getConflictingClassGroupIds:d3,sortModifiers:h3}=r2;const v=[];const y2=u5.trim().split(Z0);let p2="";for(let g=y2.length-1;g>=0;g-=1){const S4=y2[g];const{isExternal:A2,modifiers:D2,hasImportantModifier:w,baseClassName:H,maybePostfixModifierPosition:O3}=f2(S4);if(A2){p2=S4+(p2.length>0?" "+p2:p2);continue}let U3=!!O3;let Y3=o5(U3?H.substring(0,O3):H);if(!Y3){if(!U3){p2=S4+(p2.length>0?" "+p2:p2);continue}Y3=o5(H);if(!Y3){p2=S4+(p2.length>0?" "+p2:p2);continue}U3=false}const Q3=h3(D2).join(":");const Z3=w?Q3+Mo:Q3;const k3=Z3+Y3;if(v.includes(k3)){continue}v.push(k3);const X4=d3(Y3,U3);for(let et3=0;et30?" "+p2:p2)}return p2},"mergeClassList");function K0(){let u5=0;let r2;let f2;let o5="";while(u5{if(typeof u5==="string"){return u5}let r2;let f2="";for(let o5=0;o5A2(S4),u5());f2=Q0(g);o5=f2.cache.get;d3=f2.cache.set;h3=y2;return y2(p2)}__name(v,"v");i(v,"initTailwindMerge");function y2(p2){const g=o5(p2);if(g){return g}const S4=k0(p2,f2);d3(p2,S4);return S4}__name(y2,"y");i(y2,"tailwindMerge");return i(__name(function p2(){return h3(K0.apply(null,arguments))},"p"),"callTailwindMerge")}__name(J0,"J0");i(J0,"createTailwindMerge");var Zt=i(u5=>{const r2=i(f2=>f2[u5]||[],"themeGetter");r2.isThemeGetter=true;return r2},"fromTheme");var Wh=/^[(?:(w[w-]*):)?(.+)]$/i;var $h=/^((?:(w[w-]*):)?(.+))$/i;var W0=/^d+/d+$/;var $0=/^(d+(.d+)?)?(xs|sm|md|lg|xl)$/;var F0=/d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|b(calc|min|max|clamp)(.+)|^0$/;var P0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)(.+)$/;var I0=/^(inset_)?-?((d+)?.?(d+)[a-z]+|0)_-?((d+)?.?(d+)[a-z]+|0)/;var tp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)(.+)$/;var Fn=i(u5=>W0.test(u5),"isFraction");var dt=i(u5=>!!u5&&!Number.isNaN(Number(u5)),"isNumber");var Yl=i(u5=>!!u5&&Number.isInteger(Number(u5)),"isInteger");var ho=i(u5=>u5.endsWith("%")&&dt(u5.slice(0,-1)),"isPercent");var fl=i(u5=>$0.test(u5),"isTshirtSize");var ep=i(()=>true,"isAny");var lp=i(u5=>F0.test(u5)&&!P0.test(u5),"isLengthOnly");var Fh=i(()=>false,"isNever");var np=i(u5=>I0.test(u5),"isShadow");var ap=i(u5=>tp.test(u5),"isImage");var up=i(u5=>!I(u5)&&!tt(u5),"isAnyNonArbitrary");var ip=i(u5=>ia(u5,tv,Fh),"isArbitrarySize");var I=i(u5=>Wh.test(u5),"isArbitraryValue");var rn=i(u5=>ia(u5,ev,lp),"isArbitraryLength");var vo=i(u5=>ia(u5,sp,dt),"isArbitraryNumber");var fh=i(u5=>ia(u5,Ph,Fh),"isArbitraryPosition");var cp=i(u5=>ia(u5,Ih,ap),"isArbitraryImage");var Ri=i(u5=>ia(u5,lv,np),"isArbitraryShadow");var tt=i(u5=>$h.test(u5),"isArbitraryVariable");var ou=i(u5=>ca(u5,ev),"isArbitraryVariableLength");var rp=i(u5=>ca(u5,dp),"isArbitraryVariableFamilyName");var sh=i(u5=>ca(u5,Ph),"isArbitraryVariablePosition");var op=i(u5=>ca(u5,tv),"isArbitraryVariableSize");var fp=i(u5=>ca(u5,Ih),"isArbitraryVariableImage");var Mi=i(u5=>ca(u5,lv,true),"isArbitraryVariableShadow");var ia=i((u5,r2,f2)=>{const o5=Wh.exec(u5);if(o5){if(o5[1]){return r2(o5[1])}return f2(o5[2])}return false},"getIsArbitraryValue");var ca=i((u5,r2,f2=false)=>{const o5=$h.exec(u5);if(o5){if(o5[1]){return r2(o5[1])}return f2}return false},"getIsArbitraryVariable");var Ph=i(u5=>u5==="position"||u5==="percentage","isLabelPosition");var Ih=i(u5=>u5==="image"||u5==="url","isLabelImage");var tv=i(u5=>u5==="length"||u5==="size"||u5==="bg-size","isLabelSize");var ev=i(u5=>u5==="length","isLabelLength");var sp=i(u5=>u5==="number","isLabelNumber");var dp=i(u5=>u5==="family-name","isLabelFamilyName");var lv=i(u5=>u5==="shadow","isLabelShadow");var mp=i(()=>{const u5=Zt("color");const r2=Zt("font");const f2=Zt("text");const o5=Zt("font-weight");const d3=Zt("tracking");const h3=Zt("leading");const v=Zt("breakpoint");const y2=Zt("container");const p2=Zt("spacing");const g=Zt("radius");const S4=Zt("shadow");const A2=Zt("inset-shadow");const D2=Zt("text-shadow");const w=Zt("drop-shadow");const H=Zt("blur");const O3=Zt("perspective");const U3=Zt("aspect");const Y3=Zt("ease");const Q3=Zt("animate");const Z3=i(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak");const k3=i(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition");const X4=i(()=>[...k3(),tt,I],"scalePositionWithArbitrary");const et3=i(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow");const W4=i(()=>["auto","contain","none"],"scaleOverscroll");const J2=i(()=>[tt,I,p2],"scaleUnambiguousSpacing");const rt3=i(()=>[Fn,"full","auto",...J2()],"scaleInset");const Et2=i(()=>[Yl,"none","subgrid",tt,I],"scaleGridTemplateColsRows");const Mt=i(()=>["auto",{span:["full",Yl,tt,I]},Yl,tt,I],"scaleGridColRowStartAndEnd");const vt=i(()=>[Yl,"auto",tt,I],"scaleGridColRowStartOrEnd");const Ot=i(()=>["auto","min","max","fr",tt,I],"scaleGridAutoColsRows");const St=i(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis");const gt2=i(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis");const C=i(()=>["auto",...J2()],"scaleMargin");const V2=i(()=>[Fn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J2()],"scaleSizing");const B2=i(()=>[u5,tt,I],"scaleColor");const ct3=i(()=>[...k3(),sh,fh,{position:[tt,I]}],"scaleBgPosition");const E4=i(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat");const G3=i(()=>["auto","cover","contain",op,ip,{size:[tt,I]}],"scaleBgSize");const $3=i(()=>[ho,ou,rn],"scaleGradientStopPosition");const K3=i(()=>["","none","full",g,tt,I],"scaleRadius");const F2=i(()=>["",dt,ou,rn],"scaleBorderWidth");const ft2=i(()=>["solid","dashed","dotted","double"],"scaleLineStyle");const ut3=i(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode");const mt2=i(()=>[dt,ho,sh,fh],"scaleMaskImagePosition");const At=i(()=>["","none",H,tt,I],"scaleBlur");const le3=i(()=>["none",dt,tt,I],"scaleRotate");const He3=i(()=>["none",dt,tt,I],"scaleScale");const Be3=i(()=>[dt,tt,I],"scaleSkew");const Le3=i(()=>[Fn,"full",...J2()],"scaleTranslate");return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fl],breakpoint:[fl],color:[ep],container:[fl],"drop-shadow":[fl],ease:["in","out","in-out"],font:[up],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fl],shadow:[fl],spacing:["px",dt],text:[fl],"text-shadow":[fl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Fn,I,tt,U3]}],container:["container"],columns:[{columns:[dt,I,tt,y2]}],"break-after":[{"break-after":Z3()}],"break-before":[{"break-before":Z3()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X4()}],overflow:[{overflow:et3()}],"overflow-x":[{"overflow-x":et3()}],"overflow-y":[{"overflow-y":et3()}],overscroll:[{overscroll:W4()}],"overscroll-x":[{"overscroll-x":W4()}],"overscroll-y":[{"overscroll-y":W4()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:rt3()}],"inset-x":[{"inset-x":rt3()}],"inset-y":[{"inset-y":rt3()}],start:[{start:rt3()}],end:[{end:rt3()}],top:[{top:rt3()}],right:[{right:rt3()}],bottom:[{bottom:rt3()}],left:[{left:rt3()}],visibility:["visible","invisible","collapse"],z:[{z:[Yl,"auto",tt,I]}],basis:[{basis:[Fn,"full","auto",y2,...J2()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,Fn,"auto","initial","none",I]}],grow:[{grow:["",dt,tt,I]}],shrink:[{shrink:["",dt,tt,I]}],order:[{order:[Yl,"first","last","none",tt,I]}],"grid-cols":[{"grid-cols":Et2()}],"col-start-end":[{col:Mt()}],"col-start":[{"col-start":vt()}],"col-end":[{"col-end":vt()}],"grid-rows":[{"grid-rows":Et2()}],"row-start-end":[{row:Mt()}],"row-start":[{"row-start":vt()}],"row-end":[{"row-end":vt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot()}],"auto-rows":[{"auto-rows":Ot()}],gap:[{gap:J2()}],"gap-x":[{"gap-x":J2()}],"gap-y":[{"gap-y":J2()}],"justify-content":[{justify:[...St(),"normal"]}],"justify-items":[{"justify-items":[...gt2(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt2()]}],"align-content":[{content:["normal",...St()]}],"align-items":[{items:[...gt2(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt2(),{baseline:["","last"]}]}],"place-content":[{"place-content":St()}],"place-items":[{"place-items":[...gt2(),"baseline"]}],"place-self":[{"place-self":["auto",...gt2()]}],p:[{p:J2()}],px:[{px:J2()}],py:[{py:J2()}],ps:[{ps:J2()}],pe:[{pe:J2()}],pt:[{pt:J2()}],pr:[{pr:J2()}],pb:[{pb:J2()}],pl:[{pl:J2()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":J2()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J2()}],"space-y-reverse":["space-y-reverse"],size:[{size:V2()}],w:[{w:[y2,"screen",...V2()]}],"min-w":[{"min-w":[y2,"screen","none",...V2()]}],"max-w":[{"max-w":[y2,"screen","none","prose",{screen:[v]},...V2()]}],h:[{h:["screen","lh",...V2()]}],"min-h":[{"min-h":["screen","lh","none",...V2()]}],"max-h":[{"max-h":["screen","lh",...V2()]}],"font-size":[{text:["base",f2,ou,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o5,tt,vo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ho,I]}],"font-family":[{font:[rp,I,r2]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d3,tt,I]}],"line-clamp":[{"line-clamp":[dt,"none",tt,vo]}],leading:[{leading:[h3,...J2()]}],"list-image":[{"list-image":["none",tt,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tt,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B2()}],"text-color":[{text:B2()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ft2(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",tt,rn]}],"text-decoration-color":[{decoration:B2()}],"underline-offset":[{"underline-offset":[dt,"auto",tt,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J2()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tt,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",tt,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ct3()}],"bg-repeat":[{bg:E4()}],"bg-size":[{bg:G3()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yl,tt,I],radial:["",tt,I],conic:[Yl,tt,I]},fp,cp]}],"bg-color":[{bg:B2()}],"gradient-from-pos":[{from:$3()}],"gradient-via-pos":[{via:$3()}],"gradient-to-pos":[{to:$3()}],"gradient-from":[{from:B2()}],"gradient-via":[{via:B2()}],"gradient-to":[{to:B2()}],rounded:[{rounded:K3()}],"rounded-s":[{"rounded-s":K3()}],"rounded-e":[{"rounded-e":K3()}],"rounded-t":[{"rounded-t":K3()}],"rounded-r":[{"rounded-r":K3()}],"rounded-b":[{"rounded-b":K3()}],"rounded-l":[{"rounded-l":K3()}],"rounded-ss":[{"rounded-ss":K3()}],"rounded-se":[{"rounded-se":K3()}],"rounded-ee":[{"rounded-ee":K3()}],"rounded-es":[{"rounded-es":K3()}],"rounded-tl":[{"rounded-tl":K3()}],"rounded-tr":[{"rounded-tr":K3()}],"rounded-br":[{"rounded-br":K3()}],"rounded-bl":[{"rounded-bl":K3()}],"border-w":[{border:F2()}],"border-w-x":[{"border-x":F2()}],"border-w-y":[{"border-y":F2()}],"border-w-s":[{"border-s":F2()}],"border-w-e":[{"border-e":F2()}],"border-w-t":[{"border-t":F2()}],"border-w-r":[{"border-r":F2()}],"border-w-b":[{"border-b":F2()}],"border-w-l":[{"border-l":F2()}],"divide-x":[{"divide-x":F2()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F2()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ft2(),"hidden","none"]}],"divide-style":[{divide:[...ft2(),"hidden","none"]}],"border-color":[{border:B2()}],"border-color-x":[{"border-x":B2()}],"border-color-y":[{"border-y":B2()}],"border-color-s":[{"border-s":B2()}],"border-color-e":[{"border-e":B2()}],"border-color-t":[{"border-t":B2()}],"border-color-r":[{"border-r":B2()}],"border-color-b":[{"border-b":B2()}],"border-color-l":[{"border-l":B2()}],"divide-color":[{divide:B2()}],"outline-style":[{outline:[...ft2(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,tt,I]}],"outline-w":[{outline:["",dt,ou,rn]}],"outline-color":[{outline:B2()}],shadow:[{shadow:["","none",S4,Mi,Ri]}],"shadow-color":[{shadow:B2()}],"inset-shadow":[{"inset-shadow":["none",A2,Mi,Ri]}],"inset-shadow-color":[{"inset-shadow":B2()}],"ring-w":[{ring:F2()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B2()}],"ring-offset-w":[{"ring-offset":[dt,rn]}],"ring-offset-color":[{"ring-offset":B2()}],"inset-ring-w":[{"inset-ring":F2()}],"inset-ring-color":[{"inset-ring":B2()}],"text-shadow":[{"text-shadow":["none",D2,Mi,Ri]}],"text-shadow-color":[{"text-shadow":B2()}],opacity:[{opacity:[dt,tt,I]}],"mix-blend":[{"mix-blend":[...ut3(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ut3()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":mt2()}],"mask-image-linear-to-pos":[{"mask-linear-to":mt2()}],"mask-image-linear-from-color":[{"mask-linear-from":B2()}],"mask-image-linear-to-color":[{"mask-linear-to":B2()}],"mask-image-t-from-pos":[{"mask-t-from":mt2()}],"mask-image-t-to-pos":[{"mask-t-to":mt2()}],"mask-image-t-from-color":[{"mask-t-from":B2()}],"mask-image-t-to-color":[{"mask-t-to":B2()}],"mask-image-r-from-pos":[{"mask-r-from":mt2()}],"mask-image-r-to-pos":[{"mask-r-to":mt2()}],"mask-image-r-from-color":[{"mask-r-from":B2()}],"mask-image-r-to-color":[{"mask-r-to":B2()}],"mask-image-b-from-pos":[{"mask-b-from":mt2()}],"mask-image-b-to-pos":[{"mask-b-to":mt2()}],"mask-image-b-from-color":[{"mask-b-from":B2()}],"mask-image-b-to-color":[{"mask-b-to":B2()}],"mask-image-l-from-pos":[{"mask-l-from":mt2()}],"mask-image-l-to-pos":[{"mask-l-to":mt2()}],"mask-image-l-from-color":[{"mask-l-from":B2()}],"mask-image-l-to-color":[{"mask-l-to":B2()}],"mask-image-x-from-pos":[{"mask-x-from":mt2()}],"mask-image-x-to-pos":[{"mask-x-to":mt2()}],"mask-image-x-from-color":[{"mask-x-from":B2()}],"mask-image-x-to-color":[{"mask-x-to":B2()}],"mask-image-y-from-pos":[{"mask-y-from":mt2()}],"mask-image-y-to-pos":[{"mask-y-to":mt2()}],"mask-image-y-from-color":[{"mask-y-from":B2()}],"mask-image-y-to-color":[{"mask-y-to":B2()}],"mask-image-radial":[{"mask-radial":[tt,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":mt2()}],"mask-image-radial-to-pos":[{"mask-radial-to":mt2()}],"mask-image-radial-from-color":[{"mask-radial-from":B2()}],"mask-image-radial-to-color":[{"mask-radial-to":B2()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k3()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":mt2()}],"mask-image-conic-to-pos":[{"mask-conic-to":mt2()}],"mask-image-conic-from-color":[{"mask-conic-from":B2()}],"mask-image-conic-to-color":[{"mask-conic-to":B2()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ct3()}],"mask-repeat":[{mask:E4()}],"mask-size":[{mask:G3()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",tt,I]}],filter:[{filter:["","none",tt,I]}],blur:[{blur:At()}],brightness:[{brightness:[dt,tt,I]}],contrast:[{contrast:[dt,tt,I]}],"drop-shadow":[{"drop-shadow":["","none",w,Mi,Ri]}],"drop-shadow-color":[{"drop-shadow":B2()}],grayscale:[{grayscale:["",dt,tt,I]}],"hue-rotate":[{"hue-rotate":[dt,tt,I]}],invert:[{invert:["",dt,tt,I]}],saturate:[{saturate:[dt,tt,I]}],sepia:[{sepia:["",dt,tt,I]}],"backdrop-filter":[{"backdrop-filter":["","none",tt,I]}],"backdrop-blur":[{"backdrop-blur":At()}],"backdrop-brightness":[{"backdrop-brightness":[dt,tt,I]}],"backdrop-contrast":[{"backdrop-contrast":[dt,tt,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,tt,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,tt,I]}],"backdrop-invert":[{"backdrop-invert":["",dt,tt,I]}],"backdrop-opacity":[{"backdrop-opacity":[dt,tt,I]}],"backdrop-saturate":[{"backdrop-saturate":[dt,tt,I]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,tt,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J2()}],"border-spacing-x":[{"border-spacing-x":J2()}],"border-spacing-y":[{"border-spacing-y":J2()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",tt,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",tt,I]}],ease:[{ease:["linear","initial",Y3,tt,I]}],delay:[{delay:[dt,tt,I]}],animate:[{animate:["none",Q3,tt,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[O3,tt,I]}],"perspective-origin":[{"perspective-origin":X4()}],rotate:[{rotate:le3()}],"rotate-x":[{"rotate-x":le3()}],"rotate-y":[{"rotate-y":le3()}],"rotate-z":[{"rotate-z":le3()}],scale:[{scale:He3()}],"scale-x":[{"scale-x":He3()}],"scale-y":[{"scale-y":He3()}],"scale-z":[{"scale-z":He3()}],"scale-3d":["scale-3d"],skew:[{skew:Be3()}],"skew-x":[{"skew-x":Be3()}],"skew-y":[{"skew-y":Be3()}],transform:[{transform:[tt,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:X4()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Le3()}],"translate-x":[{"translate-x":Le3()}],"translate-y":[{"translate-y":Le3()}],"translate-z":[{"translate-z":Le3()}],"translate-none":["translate-none"],accent:[{accent:B2()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B2()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",tt,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J2()}],"scroll-mx":[{"scroll-mx":J2()}],"scroll-my":[{"scroll-my":J2()}],"scroll-ms":[{"scroll-ms":J2()}],"scroll-me":[{"scroll-me":J2()}],"scroll-mt":[{"scroll-mt":J2()}],"scroll-mr":[{"scroll-mr":J2()}],"scroll-mb":[{"scroll-mb":J2()}],"scroll-ml":[{"scroll-ml":J2()}],"scroll-p":[{"scroll-p":J2()}],"scroll-px":[{"scroll-px":J2()}],"scroll-py":[{"scroll-py":J2()}],"scroll-ps":[{"scroll-ps":J2()}],"scroll-pe":[{"scroll-pe":J2()}],"scroll-pt":[{"scroll-pt":J2()}],"scroll-pr":[{"scroll-pr":J2()}],"scroll-pb":[{"scroll-pb":J2()}],"scroll-pl":[{"scroll-pl":J2()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",tt,I]}],fill:[{fill:["none",...B2()]}],"stroke-w":[{stroke:[dt,ou,rn,vo]}],stroke:[{stroke:["none",...B2()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},"getDefaultConfig");var hp=J0(mp);function nv(...u5){return hp(Zh(u5))}__name(nv,"nv");i(nv,"cn");function rS(u5){if(!u5)return u5;const r2=document.createElement("textarea");r2.innerHTML=u5;const f2=r2.value;r2.remove();return f2}__name(rS,"rS");i(rS,"decodeHtmlEntities");var vp=kh("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function oS({className:u5,variant:r2,asChild:f2=false,...o5}){const d3=f2?Vh:"span";return Ht.jsx(d3,{"data-slot":"badge",className:nv(vp({variant:r2}),u5),...o5})}__name(oS,"oS");i(oS,"Badge");var gp=kh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function fS({className:u5,variant:r2,size:f2,asChild:o5=false,...d3}){const h3=o5?Vh:"button";return Ht.jsx(h3,{"data-slot":"button",className:nv(gp({variant:r2,size:f2,className:u5})),...d3})}__name(fS,"fS");i(fS,"Button");function go(u5,r2,{checkForDefaultPrevented:f2=true}={}){return i(__name(function o5(d3){u5?.(d3);if(f2===false||!d3.defaultPrevented){return r2?.(d3)}},"o"),"handleEvent")}__name(go,"go");i(go,"composeEventHandlers");function sS(u5,r2){const f2=z.createContext(r2);const o5=i(h3=>{const{children:v,...y2}=h3;const p2=z.useMemo(()=>y2,Object.values(y2));return Ht.jsx(f2.Provider,{value:p2,children:v})},"Provider");o5.displayName=u5+"Provider";function d3(h3){const v=z.useContext(f2);if(v)return v;if(r2!==void 0)return r2;throw new Error(``${h3}` must be used within `${u5}``)}__name(d3,"d");i(d3,"useContext2");return[o5,d3]}__name(sS,"sS");i(sS,"createContext2");function av(u5,r2=[]){let f2=[];function o5(h3,v){const y2=z.createContext(v);const p2=f2.length;f2=[...f2,v];const g=i(A2=>{const{scope:D2,children:w,...H}=A2;const O3=D2?.[u5]?.[p2]||y2;const U3=z.useMemo(()=>H,Object.values(H));return Ht.jsx(O3.Provider,{value:U3,children:w})},"Provider");g.displayName=h3+"Provider";function S4(A2,D2){const w=D2?.[u5]?.[p2]||y2;const H=z.useContext(w);if(H)return H;if(v!==void 0)return v;throw new Error(``${A2}` must be used within `${h3}``)}__name(S4,"S");i(S4,"useContext2");return[g,S4]}__name(o5,"o");i(o5,"createContext3");const d3=i(()=>{const h3=f2.map(v=>{return z.createContext(v)});return i(__name(function v(y2){const p2=y2?.[u5]||h3;return z.useMemo(()=>({[`__scope${u5}`]:{...y2,[u5]:p2}}),[y2,p2])},"v"),"useScope")},"createScope");d3.scopeName=u5;return[o5,yp(d3,...r2)]}__name(av,"av");i(av,"createContextScope");function yp(...u5){const r2=u5[0];if(u5.length===1)return r2;const f2=i(()=>{const o5=u5.map(d3=>({useScope:d3(),scopeName:d3.scopeName}));return i(__name(function d3(h3){const v=o5.reduce((y2,{useScope:p2,scopeName:g})=>{const S4=p2(h3);const A2=S4[`__scope${g}`];return{...y2,...A2}},{});return z.useMemo(()=>({[`__scope${r2.scopeName}`]:v}),[v])},"d"),"useComposedScopes")},"createScope");f2.scopeName=r2.scopeName;return f2}__name(yp,"yp");i(yp,"composeContextScopes");var na=globalThis?.document?z.useLayoutEffect:()=>{};var pp=Qi[" useInsertionEffect ".trim().toString()]||na;function dS({prop:u5,defaultProp:r2,onChange:f2=i(()=>{},"onChange"),caller:o5}){const[d3,h3,v]=bp({defaultProp:r2,onChange:f2});const y2=u5!==void 0;const p2=y2?u5:d3;{const S4=z.useRef(u5!==void 0);z.useEffect(()=>{const A2=S4.current;if(A2!==y2){const D2=A2?"controlled":"uncontrolled";const w=y2?"controlled":"uncontrolled";console.warn(`${o5} is changing from ${D2} to ${w}. 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.`)}S4.current=y2},[y2,o5])}const g=z.useCallback(S4=>{if(y2){const A2=Sp(S4)?S4(u5):S4;if(A2!==u5){v.current?.(A2)}}else{h3(S4)}},[y2,u5,h3,v]);return[p2,g]}__name(dS,"dS");i(dS,"useControllableState");function bp({defaultProp:u5,onChange:r2}){const[f2,o5]=z.useState(u5);const d3=z.useRef(f2);const h3=z.useRef(r2);pp(()=>{h3.current=r2},[r2]);z.useEffect(()=>{if(d3.current!==f2){h3.current?.(f2);d3.current=f2}},[f2,d3]);return[f2,o5,h3]}__name(bp,"bp");i(bp,"useUncontrolledState");function Sp(u5){return typeof u5==="function"}__name(Sp,"Sp");i(Sp,"isFunction");var Ep=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"];var sn=Ep.reduce((u5,r2)=>{const f2=Yi(`Primitive.${r2}`);const o5=z.forwardRef((d3,h3)=>{const{asChild:v,...y2}=d3;const p2=v?f2:r2;if(typeof window!=="undefined"){window[Symbol.for("radix-ui")]=true}return Ht.jsx(p2,{...y2,ref:h3})});o5.displayName=`Primitive.${r2}`;return{...u5,[r2]:o5}},{});function xp(u5,r2){if(u5)Bo.flushSync(()=>u5.dispatchEvent(r2))}__name(xp,"xp");i(xp,"dispatchDiscreteCustomEvent");function mS(u5){const r2=u5+"CollectionProvider";const[f2,o5]=av(r2);const[d3,h3]=f2(r2,{collectionRef:{current:null},itemMap:new Map});const v=i(O3=>{const{scope:U3,children:Y3}=O3;const Q3=sl.useRef(null);const Z3=sl.useRef(new Map).current;return Ht.jsx(d3,{scope:U3,itemMap:Z3,collectionRef:Q3,children:Y3})},"CollectionProvider");v.displayName=r2;const y2=u5+"CollectionSlot";const p2=Yi(y2);const g=sl.forwardRef((O3,U3)=>{const{scope:Y3,children:Q3}=O3;const Z3=h3(y2,Y3);const k3=on(U3,Z3.collectionRef);return Ht.jsx(p2,{ref:k3,children:Q3})});g.displayName=y2;const S4=u5+"CollectionItemSlot";const A2="data-radix-collection-item";const D2=Yi(S4);const w=sl.forwardRef((O3,U3)=>{const{scope:Y3,children:Q3,...Z3}=O3;const k3=sl.useRef(null);const X4=on(U3,k3);const et3=h3(S4,Y3);sl.useEffect(()=>{et3.itemMap.set(k3,{ref:k3,...Z3});return()=>void et3.itemMap.delete(k3)});return Ht.jsx(D2,{...{[A2]:""},ref:X4,children:Q3})});w.displayName=S4;function H(O3){const U3=h3(u5+"CollectionConsumer",O3);const Y3=sl.useCallback(()=>{const Q3=U3.collectionRef.current;if(!Q3)return[];const Z3=Array.from(Q3.querySelectorAll(`[${A2}]`));const k3=Array.from(U3.itemMap.values());const X4=k3.sort((et3,W4)=>Z3.indexOf(et3.ref.current)-Z3.indexOf(W4.ref.current));return X4},[U3.collectionRef,U3.itemMap]);return Y3}__name(H,"H");i(H,"useCollection");return[{Provider:v,Slot:g,ItemSlot:w},H,o5]}__name(mS,"mS");i(mS,"createCollection");var Ap=z.createContext(void 0);function hS(u5){const r2=z.useContext(Ap);return u5||r2||"ltr"}__name(hS,"hS");i(hS,"useDirection");function aa(u5){const r2=z.useRef(u5);z.useEffect(()=>{r2.current=u5});return z.useMemo(()=>(...f2)=>r2.current?.(...f2),[])}__name(aa,"aa");i(aa,"useCallbackRef$1");function Tp(u5,r2=globalThis?.document){const f2=aa(u5);z.useEffect(()=>{const o5=i(d3=>{if(d3.key==="Escape"){f2(d3)}},"handleKeyDown");r2.addEventListener("keydown",o5,{capture:true});return()=>r2.removeEventListener("keydown",o5,{capture:true})},[f2,r2])}__name(Tp,"Tp");i(Tp,"useEscapeKeydown");var Op="DismissableLayer";var _o="dismissableLayer.update";var wp="dismissableLayer.pointerDownOutside";var Rp="dismissableLayer.focusOutside";var dh;var uv=z.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var Mp=z.forwardRef((u5,r2)=>{const{disableOutsidePointerEvents:f2=false,onEscapeKeyDown:o5,onPointerDownOutside:d3,onFocusOutside:h3,onInteractOutside:v,onDismiss:y2,...p2}=u5;const g=z.useContext(uv);const[S4,A2]=z.useState(null);const D2=S4?.ownerDocument??globalThis?.document;const[,w]=z.useState({});const H=on(r2,W4=>A2(W4));const O3=Array.from(g.layers);const[U3]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1);const Y3=O3.indexOf(U3);const Q3=S4?O3.indexOf(S4):-1;const Z3=g.layersWithOutsidePointerEventsDisabled.size>0;const k3=Q3>=Y3;const X4=Cp(W4=>{const J2=W4.target;const rt3=[...g.branches].some(Et2=>Et2.contains(J2));if(!k3||rt3)return;d3?.(W4);v?.(W4);if(!W4.defaultPrevented)y2?.()},D2);const et3=Dp(W4=>{const J2=W4.target;const rt3=[...g.branches].some(Et2=>Et2.contains(J2));if(rt3)return;h3?.(W4);v?.(W4);if(!W4.defaultPrevented)y2?.()},D2);Tp(W4=>{const J2=Q3===g.layers.size-1;if(!J2)return;o5?.(W4);if(!W4.defaultPrevented&&y2){W4.preventDefault();y2()}},D2);z.useEffect(()=>{if(!S4)return;if(f2){if(g.layersWithOutsidePointerEventsDisabled.size===0){dh=D2.body.style.pointerEvents;D2.body.style.pointerEvents="none"}g.layersWithOutsidePointerEventsDisabled.add(S4)}g.layers.add(S4);mh();return()=>{if(f2&&g.layersWithOutsidePointerEventsDisabled.size===1){D2.body.style.pointerEvents=dh}}},[S4,D2,f2,g]);z.useEffect(()=>{return()=>{if(!S4)return;g.layers.delete(S4);g.layersWithOutsidePointerEventsDisabled.delete(S4);mh()}},[S4,g]);z.useEffect(()=>{const W4=i(()=>w({}),"handleUpdate");document.addEventListener(_o,W4);return()=>document.removeEventListener(_o,W4)},[]);return Ht.jsx(sn.div,{...p2,ref:H,style:{pointerEvents:Z3?k3?"auto":"none":void 0,...u5.style},onFocusCapture:go(u5.onFocusCapture,et3.onFocusCapture),onBlurCapture:go(u5.onBlurCapture,et3.onBlurCapture),onPointerDownCapture:go(u5.onPointerDownCapture,X4.onPointerDownCapture)})});Mp.displayName=Op;var zp="DismissableLayerBranch";var _p=z.forwardRef((u5,r2)=>{const f2=z.useContext(uv);const o5=z.useRef(null);const d3=on(r2,o5);z.useEffect(()=>{const h3=o5.current;if(h3){f2.branches.add(h3);return()=>{f2.branches.delete(h3)}}},[f2.branches]);return Ht.jsx(sn.div,{...u5,ref:d3})});_p.displayName=zp;function Cp(u5,r2=globalThis?.document){const f2=aa(u5);const o5=z.useRef(false);const d3=z.useRef(()=>{});z.useEffect(()=>{const h3=i(y2=>{if(y2.target&&!o5.current){let p2=i(function(){iv(wp,f2,g,{discrete:true})},"handleAndDispatchPointerDownOutsideEvent2");const g={originalEvent:y2};if(y2.pointerType==="touch"){r2.removeEventListener("click",d3.current);d3.current=p2;r2.addEventListener("click",d3.current,{once:true})}else{p2()}}else{r2.removeEventListener("click",d3.current)}o5.current=false},"handlePointerDown");const v=window.setTimeout(()=>{r2.addEventListener("pointerdown",h3)},0);return()=>{window.clearTimeout(v);r2.removeEventListener("pointerdown",h3);r2.removeEventListener("click",d3.current)}},[r2,f2]);return{onPointerDownCapture:i(()=>o5.current=true,"onPointerDownCapture")}}__name(Cp,"Cp");i(Cp,"usePointerDownOutside");function Dp(u5,r2=globalThis?.document){const f2=aa(u5);const o5=z.useRef(false);z.useEffect(()=>{const d3=i(h3=>{if(h3.target&&!o5.current){const v={originalEvent:h3};iv(Rp,f2,v,{discrete:false})}},"handleFocus");r2.addEventListener("focusin",d3);return()=>r2.removeEventListener("focusin",d3)},[r2,f2]);return{onFocusCapture:i(()=>o5.current=true,"onFocusCapture"),onBlurCapture:i(()=>o5.current=false,"onBlurCapture")}}__name(Dp,"Dp");i(Dp,"useFocusOutside");function mh(){const u5=new CustomEvent(_o);document.dispatchEvent(u5)}__name(mh,"mh");i(mh,"dispatchUpdate");function iv(u5,r2,f2,{discrete:o5}){const d3=f2.originalEvent.target;const h3=new CustomEvent(u5,{bubbles:false,cancelable:true,detail:f2});if(r2)d3.addEventListener(u5,r2,{once:true});if(o5){xp(d3,h3)}else{d3.dispatchEvent(h3)}}__name(iv,"iv");i(iv,"handleAndDispatchCustomEvent");var yo=0;function vS(){z.useEffect(()=>{const u5=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",u5[0]??hh());document.body.insertAdjacentElement("beforeend",u5[1]??hh());yo++;return()=>{if(yo===1){document.querySelectorAll("[data-radix-focus-guard]").forEach(r2=>r2.remove())}yo--}},[])}__name(vS,"vS");i(vS,"useFocusGuards");function hh(){const u5=document.createElement("span");u5.setAttribute("data-radix-focus-guard","");u5.tabIndex=0;u5.style.outline="none";u5.style.opacity="0";u5.style.position="fixed";u5.style.pointerEvents="none";return u5}__name(hh,"hh");i(hh,"createFocusGuard");var po="focusScope.autoFocusOnMount";var bo="focusScope.autoFocusOnUnmount";var vh={bubbles:false,cancelable:true};var Np="FocusScope";var Up=z.forwardRef((u5,r2)=>{const{loop:f2=false,trapped:o5=false,onMountAutoFocus:d3,onUnmountAutoFocus:h3,...v}=u5;const[y2,p2]=z.useState(null);const g=aa(d3);const S4=aa(h3);const A2=z.useRef(null);const D2=on(r2,O3=>p2(O3));const w=z.useRef({paused:false,pause(){this.paused=true},resume(){this.paused=false}}).current;z.useEffect(()=>{if(o5){let O3=i(function(Z3){if(w.paused||!y2)return;const k3=Z3.target;if(y2.contains(k3)){A2.current=k3}else{jl(A2.current,{select:true})}},"handleFocusIn2"),U3=i(function(Z3){if(w.paused||!y2)return;const k3=Z3.relatedTarget;if(k3===null)return;if(!y2.contains(k3)){jl(A2.current,{select:true})}},"handleFocusOut2"),Y3=i(function(Z3){const k3=document.activeElement;if(k3!==document.body)return;for(const X4 of Z3){if(X4.removedNodes.length>0)jl(y2)}},"handleMutations2");document.addEventListener("focusin",O3);document.addEventListener("focusout",U3);const Q3=new MutationObserver(Y3);if(y2)Q3.observe(y2,{childList:true,subtree:true});return()=>{document.removeEventListener("focusin",O3);document.removeEventListener("focusout",U3);Q3.disconnect()}}},[o5,y2,w.paused]);z.useEffect(()=>{if(y2){yh.add(w);const O3=document.activeElement;const U3=y2.contains(O3);if(!U3){const Y3=new CustomEvent(po,vh);y2.addEventListener(po,g);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){Hp(jp(cv(y2)),{select:true});if(document.activeElement===O3){jl(y2)}}}return()=>{y2.removeEventListener(po,g);setTimeout(()=>{const Y3=new CustomEvent(bo,vh);y2.addEventListener(bo,S4);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){jl(O3??document.body,{select:true})}y2.removeEventListener(bo,S4);yh.remove(w)},0)}}},[y2,g,S4,w]);const H=z.useCallback(O3=>{if(!f2&&!o5)return;if(w.paused)return;const U3=O3.key==="Tab"&&!O3.altKey&&!O3.ctrlKey&&!O3.metaKey;const Y3=document.activeElement;if(U3&&Y3){const Q3=O3.currentTarget;const[Z3,k3]=Bp(Q3);const X4=Z3&&k3;if(!X4){if(Y3===Q3)O3.preventDefault()}else{if(!O3.shiftKey&&Y3===k3){O3.preventDefault();if(f2)jl(Z3,{select:true})}else if(O3.shiftKey&&Y3===Z3){O3.preventDefault();if(f2)jl(k3,{select:true})}}}},[f2,o5,w.paused]);return Ht.jsx(sn.div,{tabIndex:-1,...v,ref:D2,onKeyDown:H})});Up.displayName=Np;function Hp(u5,{select:r2=false}={}){const f2=document.activeElement;for(const o5 of u5){jl(o5,{select:r2});if(document.activeElement!==f2)return}}__name(Hp,"Hp");i(Hp,"focusFirst");function Bp(u5){const r2=cv(u5);const f2=gh(r2,u5);const o5=gh(r2.reverse(),u5);return[f2,o5]}__name(Bp,"Bp");i(Bp,"getTabbableEdges");function cv(u5){const r2=[];const f2=document.createTreeWalker(u5,NodeFilter.SHOW_ELEMENT,{acceptNode:i(o5=>{const d3=o5.tagName==="INPUT"&&o5.type==="hidden";if(o5.disabled||o5.hidden||d3)return NodeFilter.FILTER_SKIP;return o5.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(f2.nextNode())r2.push(f2.currentNode);return r2}__name(cv,"cv");i(cv,"getTabbableCandidates");function gh(u5,r2){for(const f2 of u5){if(!Lp(f2,{upTo:r2}))return f2}}__name(gh,"gh");i(gh,"findVisible");function Lp(u5,{upTo:r2}){if(getComputedStyle(u5).visibility==="hidden")return true;while(u5){if(r2!==void 0&&u5===r2)return false;if(getComputedStyle(u5).display==="none")return true;u5=u5.parentElement}return false}__name(Lp,"Lp");i(Lp,"isHidden");function qp(u5){return u5 instanceof HTMLInputElement&&"select"in u5}__name(qp,"qp");i(qp,"isSelectableInput");function jl(u5,{select:r2=false}={}){if(u5&&u5.focus){const f2=document.activeElement;u5.focus({preventScroll:true});if(u5!==f2&&qp(u5)&&r2)u5.select()}}__name(jl,"jl");i(jl,"focus");var yh=Yp();function Yp(){let u5=[];return{add(r2){const f2=u5[0];if(r2!==f2){f2?.pause()}u5=ph(u5,r2);u5.unshift(r2)},remove(r2){u5=ph(u5,r2);u5[0]?.resume()}}}__name(Yp,"Yp");i(Yp,"createFocusScopesStack");function ph(u5,r2){const f2=[...u5];const o5=f2.indexOf(r2);if(o5!==-1){f2.splice(o5,1)}return f2}__name(ph,"ph");i(ph,"arrayRemove");function jp(u5){return u5.filter(r2=>r2.tagName!=="A")}__name(jp,"jp");i(jp,"removeLinks");var Gp=Qi[" useId ".trim().toString()]||(()=>void 0);var Xp=0;function gS(u5){const[r2,f2]=z.useState(Gp());na(()=>{f2(o5=>o5??String(Xp++))},[u5]);return u5||(r2?`radix-${r2}`:"")}__name(gS,"gS");i(gS,"useId");var Vp=["top","right","bottom","left"];var Gl=Math.min;var pe=Math.max;var ji=Math.round;var zi=Math.floor;var ke=i(u5=>({x:u5,y:u5}),"createCoords");var Qp={left:"right",right:"left",bottom:"top",top:"bottom"};var Zp={start:"end",end:"start"};function Co(u5,r2,f2){return pe(u5,Gl(r2,f2))}__name(Co,"Co");i(Co,"clamp");function dl(u5,r2){return typeof u5==="function"?u5(r2):u5}__name(dl,"dl");i(dl,"evaluate");function ml(u5){return u5.split("-")[0]}__name(ml,"ml");i(ml,"getSide");function ra(u5){return u5.split("-")[1]}__name(ra,"ra");i(ra,"getAlignment");function jo(u5){return u5==="x"?"y":"x"}__name(jo,"jo");i(jo,"getOppositeAxis");function Go(u5){return u5==="y"?"height":"width"}__name(Go,"Go");i(Go,"getAxisLength");var kp=new Set(["top","bottom"]);function Ze(u5){return kp.has(ml(u5))?"y":"x"}__name(Ze,"Ze");i(Ze,"getSideAxis");function Xo(u5){return jo(Ze(u5))}__name(Xo,"Xo");i(Xo,"getAlignmentAxis");function Kp(u5,r2,f2){if(f2===void 0){f2=false}const o5=ra(u5);const d3=Xo(u5);const h3=Go(d3);let v=d3==="x"?o5===(f2?"end":"start")?"right":"left":o5==="start"?"bottom":"top";if(r2.reference[h3]>r2.floating[h3]){v=Gi(v)}return[v,Gi(v)]}__name(Kp,"Kp");i(Kp,"getAlignmentSides");function Jp(u5){const r2=Gi(u5);return[Do(u5),r2,Do(r2)]}__name(Jp,"Jp");i(Jp,"getExpandedPlacements");function Do(u5){return u5.replace(/start|end/g,r2=>Zp[r2])}__name(Do,"Do");i(Do,"getOppositeAlignmentPlacement");var bh=["left","right"];var Sh=["right","left"];var Wp=["top","bottom"];var $p=["bottom","top"];function Fp(u5,r2,f2){switch(u5){case"top":case"bottom":if(f2)return r2?Sh:bh;return r2?bh:Sh;case"left":case"right":return r2?Wp:$p;default:return[]}}__name(Fp,"Fp");i(Fp,"getSideList");function Pp(u5,r2,f2,o5){const d3=ra(u5);let h3=Fp(ml(u5),f2==="start",o5);if(d3){h3=h3.map(v=>v+"-"+d3);if(r2){h3=h3.concat(h3.map(Do))}}return h3}__name(Pp,"Pp");i(Pp,"getOppositeAxisPlacements");function Gi(u5){return u5.replace(/left|right|bottom|top/g,r2=>Qp[r2])}__name(Gi,"Gi");i(Gi,"getOppositePlacement");function Ip(u5){return{top:0,right:0,bottom:0,left:0,...u5}}__name(Ip,"Ip");i(Ip,"expandPaddingObject");function rv(u5){return typeof u5!=="number"?Ip(u5):{top:u5,right:u5,bottom:u5,left:u5}}__name(rv,"rv");i(rv,"getPaddingObject");function Xi(u5){const{x:r2,y:f2,width:o5,height:d3}=u5;return{width:o5,height:d3,top:f2,left:r2,right:r2+o5,bottom:f2+d3,x:r2,y:f2}}__name(Xi,"Xi");i(Xi,"rectToClientRect");function Eh(u5,r2,f2){let{reference:o5,floating:d3}=u5;const h3=Ze(r2);const v=Xo(r2);const y2=Go(v);const p2=ml(r2);const g=h3==="y";const S4=o5.x+o5.width/2-d3.width/2;const A2=o5.y+o5.height/2-d3.height/2;const D2=o5[y2]/2-d3[y2]/2;let w;switch(p2){case"top":w={x:S4,y:o5.y-d3.height};break;case"bottom":w={x:S4,y:o5.y+o5.height};break;case"right":w={x:o5.x+o5.width,y:A2};break;case"left":w={x:o5.x-d3.width,y:A2};break;default:w={x:o5.x,y:o5.y}}switch(ra(r2)){case"start":w[v]-=D2*(f2&&g?-1:1);break;case"end":w[v]+=D2*(f2&&g?-1:1);break}return w}__name(Eh,"Eh");i(Eh,"computeCoordsFromPlacement");var tb=i(async(u5,r2,f2)=>{const{placement:o5="bottom",strategy:d3="absolute",middleware:h3=[],platform:v}=f2;const y2=h3.filter(Boolean);const p2=await(v.isRTL==null?void 0:v.isRTL(r2));let g=await v.getElementRects({reference:u5,floating:r2,strategy:d3});let{x:S4,y:A2}=Eh(g,o5,p2);let D2=o5;let w={};let H=0;for(let O3=0;O3({name:"arrow",options:u5,async fn(r2){const{x:f2,y:o5,placement:d3,rects:h3,platform:v,elements:y2,middlewareData:p2}=r2;const{element:g,padding:S4=0}=dl(u5,r2)||{};if(g==null){return{}}const A2=rv(S4);const D2={x:f2,y:o5};const w=Xo(d3);const H=Go(w);const O3=await v.getDimensions(g);const U3=w==="y";const Y3=U3?"top":"left";const Q3=U3?"bottom":"right";const Z3=U3?"clientHeight":"clientWidth";const k3=h3.reference[H]+h3.reference[w]-D2[w]-h3.floating[H];const X4=D2[w]-h3.reference[w];const et3=await(v.getOffsetParent==null?void 0:v.getOffsetParent(g));let W4=et3?et3[Z3]:0;if(!W4||!await(v.isElement==null?void 0:v.isElement(et3))){W4=y2.floating[Z3]||h3.floating[H]}const J2=k3/2-X4/2;const rt3=W4/2-O3[H]/2-1;const Et2=Gl(A2[Y3],rt3);const Mt=Gl(A2[Q3],rt3);const vt=Et2;const Ot=W4-O3[H]-Mt;const St=W4/2-O3[H]/2+J2;const gt2=Co(vt,St,Ot);const C=!p2.arrow&&ra(d3)!=null&&St!==gt2&&h3.reference[H]/2-(StSt<=0)){var Mt,vt;const St=(((Mt=h3.flip)==null?void 0:Mt.index)||0)+1;const gt2=W4[St];if(gt2){const V2=A2==="alignment"?Q3!==Ze(gt2):false;if(!V2||Et2.every(B2=>B2.overflows[0]>0&&Ze(B2.placement)===Q3)){return{data:{index:St,overflows:Et2},reset:{placement:gt2}}}}let C=(vt=Et2.filter(V2=>V2.overflows[0]<=0).sort((V2,B2)=>V2.overflows[1]-B2.overflows[1])[0])==null?void 0:vt.placement;if(!C){switch(w){case"bestFit":{var Ot;const V2=(Ot=Et2.filter(B2=>{if(et3){const ct3=Ze(B2.placement);return ct3===Q3||ct3==="y"}return true}).map(B2=>[B2.placement,B2.overflows.filter(ct3=>ct3>0).reduce((ct3,E4)=>ct3+E4,0)]).sort((B2,ct3)=>B2[1]-ct3[1])[0])==null?void 0:Ot[0];if(V2){C=V2}break}case"initialPlacement":C=y2;break}}if(d3!==C){return{reset:{placement:C}}}}return{}}}},"flip$2");function xh(u5,r2){return{top:u5.top-r2.height,right:u5.right-r2.width,bottom:u5.bottom-r2.height,left:u5.left-r2.width}}__name(xh,"xh");i(xh,"getSideOffsets");function Ah(u5){return Vp.some(r2=>u5[r2]>=0)}__name(Ah,"Ah");i(Ah,"isAnySideFullyClipped");var nb=i(function(u5){if(u5===void 0){u5={}}return{name:"hide",options:u5,async fn(r2){const{rects:f2}=r2;const{strategy:o5="referenceHidden",...d3}=dl(u5,r2);switch(o5){case"referenceHidden":{const h3=await fu(r2,{...d3,elementContext:"reference"});const v=xh(h3,f2.reference);return{data:{referenceHiddenOffsets:v,referenceHidden:Ah(v)}}}case"escaped":{const h3=await fu(r2,{...d3,altBoundary:true});const v=xh(h3,f2.floating);return{data:{escapedOffsets:v,escaped:Ah(v)}}}default:{return{}}}}}},"hide$2");var ov=new Set(["left","top"]);async function ab(u5,r2){const{placement:f2,platform:o5,elements:d3}=u5;const h3=await(o5.isRTL==null?void 0:o5.isRTL(d3.floating));const v=ml(f2);const y2=ra(f2);const p2=Ze(f2)==="y";const g=ov.has(v)?-1:1;const S4=h3&&p2?-1:1;const A2=dl(r2,u5);let{mainAxis:D2,crossAxis:w,alignmentAxis:H}=typeof A2==="number"?{mainAxis:A2,crossAxis:0,alignmentAxis:null}:{mainAxis:A2.mainAxis||0,crossAxis:A2.crossAxis||0,alignmentAxis:A2.alignmentAxis};if(y2&&typeof H==="number"){w=y2==="end"?H*-1:H}return p2?{x:w*S4,y:D2*g}:{x:D2*g,y:w*S4}}__name(ab,"ab");i(ab,"convertValueToCoords");var ub=i(function(u5){if(u5===void 0){u5=0}return{name:"offset",options:u5,async fn(r2){var f2,o5;const{x:d3,y:h3,placement:v,middlewareData:y2}=r2;const p2=await ab(r2,u5);if(v===((f2=y2.offset)==null?void 0:f2.placement)&&(o5=y2.arrow)!=null&&o5.alignmentOffset){return{}}return{x:d3+p2.x,y:h3+p2.y,data:{...p2,placement:v}}}}},"offset$2");var ib=i(function(u5){if(u5===void 0){u5={}}return{name:"shift",options:u5,async fn(r2){const{x:f2,y:o5,placement:d3}=r2;const{mainAxis:h3=true,crossAxis:v=false,limiter:y2={fn:i(U3=>{let{x:Y3,y:Q3}=U3;return{x:Y3,y:Q3}},"fn")},...p2}=dl(u5,r2);const g={x:f2,y:o5};const S4=await fu(r2,p2);const A2=Ze(ml(d3));const D2=jo(A2);let w=g[D2];let H=g[A2];if(h3){const U3=D2==="y"?"top":"left";const Y3=D2==="y"?"bottom":"right";const Q3=w+S4[U3];const Z3=w-S4[Y3];w=Co(Q3,w,Z3)}if(v){const U3=A2==="y"?"top":"left";const Y3=A2==="y"?"bottom":"right";const Q3=H+S4[U3];const Z3=H-S4[Y3];H=Co(Q3,H,Z3)}const O3=y2.fn({...r2,[D2]:w,[A2]:H});return{...O3,data:{x:O3.x-f2,y:O3.y-o5,enabled:{[D2]:h3,[A2]:v}}}}}},"shift$2");var cb=i(function(u5){if(u5===void 0){u5={}}return{options:u5,fn(r2){const{x:f2,y:o5,placement:d3,rects:h3,middlewareData:v}=r2;const{offset:y2=0,mainAxis:p2=true,crossAxis:g=true}=dl(u5,r2);const S4={x:f2,y:o5};const A2=Ze(d3);const D2=jo(A2);let w=S4[D2];let H=S4[A2];const O3=dl(y2,r2);const U3=typeof O3==="number"?{mainAxis:O3,crossAxis:0}:{mainAxis:0,crossAxis:0,...O3};if(p2){const Z3=D2==="y"?"height":"width";const k3=h3.reference[D2]-h3.floating[Z3]+U3.mainAxis;const X4=h3.reference[D2]+h3.reference[Z3]-U3.mainAxis;if(wX4){w=X4}}if(g){var Y3,Q3;const Z3=D2==="y"?"width":"height";const k3=ov.has(ml(d3));const X4=h3.reference[A2]-h3.floating[Z3]+(k3?((Y3=v.offset)==null?void 0:Y3[A2])||0:0)+(k3?0:U3.crossAxis);const et3=h3.reference[A2]+h3.reference[Z3]+(k3?0:((Q3=v.offset)==null?void 0:Q3[A2])||0)-(k3?U3.crossAxis:0);if(Het3){H=et3}}return{[D2]:w,[A2]:H}}}},"limitShift$2");var rb=i(function(u5){if(u5===void 0){u5={}}return{name:"size",options:u5,async fn(r2){var f2,o5;const{placement:d3,rects:h3,platform:v,elements:y2}=r2;const{apply:p2=i(()=>{},"apply"),...g}=dl(u5,r2);const S4=await fu(r2,g);const A2=ml(d3);const D2=ra(d3);const w=Ze(d3)==="y";const{width:H,height:O3}=h3.floating;let U3;let Y3;if(A2==="top"||A2==="bottom"){U3=A2;Y3=D2===(await(v.isRTL==null?void 0:v.isRTL(y2.floating))?"start":"end")?"left":"right"}else{Y3=A2;U3=D2==="end"?"top":"bottom"}const Q3=O3-S4.top-S4.bottom;const Z3=H-S4.left-S4.right;const k3=Gl(O3-S4[U3],Q3);const X4=Gl(H-S4[Y3],Z3);const et3=!r2.middlewareData.shift;let W4=k3;let J2=X4;if((f2=r2.middlewareData.shift)!=null&&f2.enabled.x){J2=Z3}if((o5=r2.middlewareData.shift)!=null&&o5.enabled.y){W4=Q3}if(et3&&!D2){const Et2=pe(S4.left,0);const Mt=pe(S4.right,0);const vt=pe(S4.top,0);const Ot=pe(S4.bottom,0);if(w){J2=H-2*(Et2!==0||Mt!==0?Et2+Mt:pe(S4.left,S4.right))}else{W4=O3-2*(vt!==0||Ot!==0?vt+Ot:pe(S4.top,S4.bottom))}}await p2({...r2,availableWidth:J2,availableHeight:W4});const rt3=await v.getDimensions(y2.floating);if(H!==rt3.width||O3!==rt3.height){return{reset:{rects:true}}}return{}}}},"size$2");function Zi(){return typeof window!=="undefined"}__name(Zi,"Zi");i(Zi,"hasWindow");function oa(u5){if(fv(u5)){return(u5.nodeName||"").toLowerCase()}return"#document"}__name(oa,"oa");i(oa,"getNodeName");function be(u5){var r2;return(u5==null||(r2=u5.ownerDocument)==null?void 0:r2.defaultView)||window}__name(be,"be");i(be,"getWindow");function Je(u5){var r2;return(r2=(fv(u5)?u5.ownerDocument:u5.document)||window.document)==null?void 0:r2.documentElement}__name(Je,"Je");i(Je,"getDocumentElement");function fv(u5){if(!Zi()){return false}return u5 instanceof Node||u5 instanceof be(u5).Node}__name(fv,"fv");i(fv,"isNode");function Ne(u5){if(!Zi()){return false}return u5 instanceof Element||u5 instanceof be(u5).Element}__name(Ne,"Ne");i(Ne,"isElement");function Ke(u5){if(!Zi()){return false}return u5 instanceof HTMLElement||u5 instanceof be(u5).HTMLElement}__name(Ke,"Ke");i(Ke,"isHTMLElement");function Th(u5){if(!Zi()||typeof ShadowRoot==="undefined"){return false}return u5 instanceof ShadowRoot||u5 instanceof be(u5).ShadowRoot}__name(Th,"Th");i(Th,"isShadowRoot");var ob=new Set(["inline","contents"]);function du(u5){const{overflow:r2,overflowX:f2,overflowY:o5,display:d3}=Ue(u5);return/auto|scroll|overlay|hidden|clip/.test(r2+o5+f2)&&!ob.has(d3)}__name(du,"du");i(du,"isOverflowElement");var fb=new Set(["table","td","th"]);function sb(u5){return fb.has(oa(u5))}__name(sb,"sb");i(sb,"isTableElement");var db=[":popover-open",":modal"];function ki(u5){return db.some(r2=>{try{return u5.matches(r2)}catch(f2){return false}})}__name(ki,"ki");i(ki,"isTopLayer");var mb=["transform","translate","scale","rotate","perspective"];var hb=["transform","translate","scale","rotate","perspective","filter"];var vb=["paint","layout","strict","content"];function Vo(u5){const r2=Qo();const f2=Ne(u5)?Ue(u5):u5;return mb.some(o5=>f2[o5]?f2[o5]!=="none":false)||(f2.containerType?f2.containerType!=="normal":false)||!r2&&(f2.backdropFilter?f2.backdropFilter!=="none":false)||!r2&&(f2.filter?f2.filter!=="none":false)||hb.some(o5=>(f2.willChange||"").includes(o5))||vb.some(o5=>(f2.contain||"").includes(o5))}__name(Vo,"Vo");i(Vo,"isContainingBlock");function gb(u5){let r2=Xl(u5);while(Ke(r2)&&!ua(r2)){if(Vo(r2)){return r2}else if(ki(r2)){return null}r2=Xl(r2)}return null}__name(gb,"gb");i(gb,"getContainingBlock");function Qo(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}__name(Qo,"Qo");i(Qo,"isWebKit");var yb=new Set(["html","body","#document"]);function ua(u5){return yb.has(oa(u5))}__name(ua,"ua");i(ua,"isLastTraversableNode");function Ue(u5){return be(u5).getComputedStyle(u5)}__name(Ue,"Ue");i(Ue,"getComputedStyle$1");function Ki(u5){if(Ne(u5)){return{scrollLeft:u5.scrollLeft,scrollTop:u5.scrollTop}}return{scrollLeft:u5.scrollX,scrollTop:u5.scrollY}}__name(Ki,"Ki");i(Ki,"getNodeScroll");function Xl(u5){if(oa(u5)==="html"){return u5}const r2=u5.assignedSlot||u5.parentNode||Th(u5)&&u5.host||Je(u5);return Th(r2)?r2.host:r2}__name(Xl,"Xl");i(Xl,"getParentNode");function sv(u5){const r2=Xl(u5);if(ua(r2)){return u5.ownerDocument?u5.ownerDocument.body:u5.body}if(Ke(r2)&&du(r2)){return r2}return sv(r2)}__name(sv,"sv");i(sv,"getNearestOverflowAncestor");function su(u5,r2,f2){var o5;if(r2===void 0){r2=[]}if(f2===void 0){f2=true}const d3=sv(u5);const h3=d3===((o5=u5.ownerDocument)==null?void 0:o5.body);const v=be(d3);if(h3){const y2=No(v);return r2.concat(v,v.visualViewport||[],du(d3)?d3:[],y2&&f2?su(y2):[])}return r2.concat(d3,su(d3,[],f2))}__name(su,"su");i(su,"getOverflowAncestors");function No(u5){return u5.parent&&Object.getPrototypeOf(u5.parent)?u5.frameElement:null}__name(No,"No");i(No,"getFrameElement");function dv(u5){const r2=Ue(u5);let f2=parseFloat(r2.width)||0;let o5=parseFloat(r2.height)||0;const d3=Ke(u5);const h3=d3?u5.offsetWidth:f2;const v=d3?u5.offsetHeight:o5;const y2=ji(f2)!==h3||ji(o5)!==v;if(y2){f2=h3;o5=v}return{width:f2,height:o5,$:y2}}__name(dv,"dv");i(dv,"getCssDimensions");function Zo(u5){return!Ne(u5)?u5.contextElement:u5}__name(Zo,"Zo");i(Zo,"unwrapElement");function ea(u5){const r2=Zo(u5);if(!Ke(r2)){return ke(1)}const f2=r2.getBoundingClientRect();const{width:o5,height:d3,$:h3}=dv(r2);let v=(h3?ji(f2.width):f2.width)/o5;let y2=(h3?ji(f2.height):f2.height)/d3;if(!v||!Number.isFinite(v)){v=1}if(!y2||!Number.isFinite(y2)){y2=1}return{x:v,y:y2}}__name(ea,"ea");i(ea,"getScale");var pb=ke(0);function mv(u5){const r2=be(u5);if(!Qo()||!r2.visualViewport){return pb}return{x:r2.visualViewport.offsetLeft,y:r2.visualViewport.offsetTop}}__name(mv,"mv");i(mv,"getVisualOffsets");function bb(u5,r2,f2){if(r2===void 0){r2=false}if(!f2||r2&&f2!==be(u5)){return false}return r2}__name(bb,"bb");i(bb,"shouldAddVisualOffsets");function fn(u5,r2,f2,o5){if(r2===void 0){r2=false}if(f2===void 0){f2=false}const d3=u5.getBoundingClientRect();const h3=Zo(u5);let v=ke(1);if(r2){if(o5){if(Ne(o5)){v=ea(o5)}}else{v=ea(u5)}}const y2=bb(h3,f2,o5)?mv(h3):ke(0);let p2=(d3.left+y2.x)/v.x;let g=(d3.top+y2.y)/v.y;let S4=d3.width/v.x;let A2=d3.height/v.y;if(h3){const D2=be(h3);const w=o5&&Ne(o5)?be(o5):o5;let H=D2;let O3=No(H);while(O3&&o5&&w!==H){const U3=ea(O3);const Y3=O3.getBoundingClientRect();const Q3=Ue(O3);const Z3=Y3.left+(O3.clientLeft+parseFloat(Q3.paddingLeft))*U3.x;const k3=Y3.top+(O3.clientTop+parseFloat(Q3.paddingTop))*U3.y;p2*=U3.x;g*=U3.y;S4*=U3.x;A2*=U3.y;p2+=Z3;g+=k3;H=be(O3);O3=No(H)}}return Xi({width:S4,height:A2,x:p2,y:g})}__name(fn,"fn");i(fn,"getBoundingClientRect");function ko(u5,r2){const f2=Ki(u5).scrollLeft;if(!r2){return fn(Je(u5)).left+f2}return r2.left+f2}__name(ko,"ko");i(ko,"getWindowScrollBarX");function hv(u5,r2,f2){if(f2===void 0){f2=false}const o5=u5.getBoundingClientRect();const d3=o5.left+r2.scrollLeft-(f2?0:ko(u5,o5));const h3=o5.top+r2.scrollTop;return{x:d3,y:h3}}__name(hv,"hv");i(hv,"getHTMLOffset");function Sb(u5){let{elements:r2,rect:f2,offsetParent:o5,strategy:d3}=u5;const h3=d3==="fixed";const v=Je(o5);const y2=r2?ki(r2.floating):false;if(o5===v||y2&&h3){return f2}let p2={scrollLeft:0,scrollTop:0};let g=ke(1);const S4=ke(0);const A2=Ke(o5);if(A2||!A2&&!h3){if(oa(o5)!=="body"||du(v)){p2=Ki(o5)}if(Ke(o5)){const w=fn(o5);g=ea(o5);S4.x=w.x+o5.clientLeft;S4.y=w.y+o5.clientTop}}const D2=v&&!A2&&!h3?hv(v,p2,true):ke(0);return{width:f2.width*g.x,height:f2.height*g.y,x:f2.x*g.x-p2.scrollLeft*g.x+S4.x+D2.x,y:f2.y*g.y-p2.scrollTop*g.y+S4.y+D2.y}}__name(Sb,"Sb");i(Sb,"convertOffsetParentRelativeRectToViewportRelativeRect");function Eb(u5){return Array.from(u5.getClientRects())}__name(Eb,"Eb");i(Eb,"getClientRects");function xb(u5){const r2=Je(u5);const f2=Ki(u5);const o5=u5.ownerDocument.body;const d3=pe(r2.scrollWidth,r2.clientWidth,o5.scrollWidth,o5.clientWidth);const h3=pe(r2.scrollHeight,r2.clientHeight,o5.scrollHeight,o5.clientHeight);let v=-f2.scrollLeft+ko(u5);const y2=-f2.scrollTop;if(Ue(o5).direction==="rtl"){v+=pe(r2.clientWidth,o5.clientWidth)-d3}return{width:d3,height:h3,x:v,y:y2}}__name(xb,"xb");i(xb,"getDocumentRect");function Ab(u5,r2){const f2=be(u5);const o5=Je(u5);const d3=f2.visualViewport;let h3=o5.clientWidth;let v=o5.clientHeight;let y2=0;let p2=0;if(d3){h3=d3.width;v=d3.height;const g=Qo();if(!g||g&&r2==="fixed"){y2=d3.offsetLeft;p2=d3.offsetTop}}return{width:h3,height:v,x:y2,y:p2}}__name(Ab,"Ab");i(Ab,"getViewportRect");var Tb=new Set(["absolute","fixed"]);function Ob(u5,r2){const f2=fn(u5,true,r2==="fixed");const o5=f2.top+u5.clientTop;const d3=f2.left+u5.clientLeft;const h3=Ke(u5)?ea(u5):ke(1);const v=u5.clientWidth*h3.x;const y2=u5.clientHeight*h3.y;const p2=d3*h3.x;const g=o5*h3.y;return{width:v,height:y2,x:p2,y:g}}__name(Ob,"Ob");i(Ob,"getInnerBoundingClientRect");function Oh(u5,r2,f2){let o5;if(r2==="viewport"){o5=Ab(u5,f2)}else if(r2==="document"){o5=xb(Je(u5))}else if(Ne(r2)){o5=Ob(r2,f2)}else{const d3=mv(u5);o5={x:r2.x-d3.x,y:r2.y-d3.y,width:r2.width,height:r2.height}}return Xi(o5)}__name(Oh,"Oh");i(Oh,"getClientRectFromClippingAncestor");function vv(u5,r2){const f2=Xl(u5);if(f2===r2||!Ne(f2)||ua(f2)){return false}return Ue(f2).position==="fixed"||vv(f2,r2)}__name(vv,"vv");i(vv,"hasFixedPositionAncestor");function wb(u5,r2){const f2=r2.get(u5);if(f2){return f2}let o5=su(u5,[],false).filter(y2=>Ne(y2)&&oa(y2)!=="body");let d3=null;const h3=Ue(u5).position==="fixed";let v=h3?Xl(u5):u5;while(Ne(v)&&!ua(v)){const y2=Ue(v);const p2=Vo(v);if(!p2&&y2.position==="fixed"){d3=null}const g=h3?!p2&&!d3:!p2&&y2.position==="static"&&!!d3&&Tb.has(d3.position)||du(v)&&!p2&&vv(u5,v);if(g){o5=o5.filter(S4=>S4!==v)}else{d3=y2}v=Xl(v)}r2.set(u5,o5);return o5}__name(wb,"wb");i(wb,"getClippingElementAncestors");function Rb(u5){let{element:r2,boundary:f2,rootBoundary:o5,strategy:d3}=u5;const h3=f2==="clippingAncestors"?ki(r2)?[]:wb(r2,this._c):[].concat(f2);const v=[...h3,o5];const y2=v[0];const p2=v.reduce((g,S4)=>{const A2=Oh(r2,S4,d3);g.top=pe(A2.top,g.top);g.right=Gl(A2.right,g.right);g.bottom=Gl(A2.bottom,g.bottom);g.left=pe(A2.left,g.left);return g},Oh(r2,y2,d3));return{width:p2.right-p2.left,height:p2.bottom-p2.top,x:p2.left,y:p2.top}}__name(Rb,"Rb");i(Rb,"getClippingRect");function Mb(u5){const{width:r2,height:f2}=dv(u5);return{width:r2,height:f2}}__name(Mb,"Mb");i(Mb,"getDimensions");function zb(u5,r2,f2){const o5=Ke(r2);const d3=Je(r2);const h3=f2==="fixed";const v=fn(u5,true,h3,r2);let y2={scrollLeft:0,scrollTop:0};const p2=ke(0);function g(){p2.x=ko(d3)}__name(g,"g");i(g,"setLeftRTLScrollbarOffset");if(o5||!o5&&!h3){if(oa(r2)!=="body"||du(d3)){y2=Ki(r2)}if(o5){const w=fn(r2,true,h3,r2);p2.x=w.x+r2.clientLeft;p2.y=w.y+r2.clientTop}else if(d3){g()}}if(h3&&!o5&&d3){g()}const S4=d3&&!o5&&!h3?hv(d3,y2):ke(0);const A2=v.left+y2.scrollLeft-p2.x-S4.x;const D2=v.top+y2.scrollTop-p2.y-S4.y;return{x:A2,y:D2,width:v.width,height:v.height}}__name(zb,"zb");i(zb,"getRectRelativeToOffsetParent");function So(u5){return Ue(u5).position==="static"}__name(So,"So");i(So,"isStaticPositioned");function wh(u5,r2){if(!Ke(u5)||Ue(u5).position==="fixed"){return null}if(r2){return r2(u5)}let f2=u5.offsetParent;if(Je(u5)===f2){f2=f2.ownerDocument.body}return f2}__name(wh,"wh");i(wh,"getTrueOffsetParent");function gv(u5,r2){const f2=be(u5);if(ki(u5)){return f2}if(!Ke(u5)){let d3=Xl(u5);while(d3&&!ua(d3)){if(Ne(d3)&&!So(d3)){return d3}d3=Xl(d3)}return f2}let o5=wh(u5,r2);while(o5&&sb(o5)&&So(o5)){o5=wh(o5,r2)}if(o5&&ua(o5)&&So(o5)&&!Vo(o5)){return f2}return o5||gb(u5)||f2}__name(gv,"gv");i(gv,"getOffsetParent");var _b=i(async function(u5){const r2=this.getOffsetParent||gv;const f2=this.getDimensions;const o5=await f2(u5.floating);return{reference:zb(u5.reference,await r2(u5.floating),u5.strategy),floating:{x:0,y:0,width:o5.width,height:o5.height}}},"getElementRects");function Cb(u5){return Ue(u5).direction==="rtl"}__name(Cb,"Cb");i(Cb,"isRTL");var Db={convertOffsetParentRelativeRectToViewportRelativeRect:Sb,getDocumentElement:Je,getClippingRect:Rb,getOffsetParent:gv,getElementRects:_b,getClientRects:Eb,getDimensions:Mb,getScale:ea,isElement:Ne,isRTL:Cb};function yv(u5,r2){return u5.x===r2.x&&u5.y===r2.y&&u5.width===r2.width&&u5.height===r2.height}__name(yv,"yv");i(yv,"rectsAreEqual");function Nb(u5,r2){let f2=null;let o5;const d3=Je(u5);function h3(){var y2;clearTimeout(o5);(y2=f2)==null||y2.disconnect();f2=null}__name(h3,"h");i(h3,"cleanup");function v(y2,p2){if(y2===void 0){y2=false}if(p2===void 0){p2=1}h3();const g=u5.getBoundingClientRect();const{left:S4,top:A2,width:D2,height:w}=g;if(!y2){r2()}if(!D2||!w){return}const H=zi(A2);const O3=zi(d3.clientWidth-(S4+D2));const U3=zi(d3.clientHeight-(A2+w));const Y3=zi(S4);const Q3=-H+"px "+-O3+"px "+-U3+"px "+-Y3+"px";const Z3={rootMargin:Q3,threshold:pe(0,Gl(1,p2))||1};let k3=true;function X4(et3){const W4=et3[0].intersectionRatio;if(W4!==p2){if(!k3){return v()}if(!W4){o5=setTimeout(()=>{v(false,1e-7)},1e3)}else{v(false,W4)}}if(W4===1&&!yv(g,u5.getBoundingClientRect())){v()}k3=false}__name(X4,"X");i(X4,"handleObserve");try{f2=new IntersectionObserver(X4,{...Z3,root:d3.ownerDocument})}catch(et3){f2=new IntersectionObserver(X4,Z3)}f2.observe(u5)}__name(v,"v");i(v,"refresh");v(true);return h3}__name(Nb,"Nb");i(Nb,"observeMove");function Ub(u5,r2,f2,o5){if(o5===void 0){o5={}}const{ancestorScroll:d3=true,ancestorResize:h3=true,elementResize:v=typeof ResizeObserver==="function",layoutShift:y2=typeof IntersectionObserver==="function",animationFrame:p2=false}=o5;const g=Zo(u5);const S4=d3||h3?[...g?su(g):[],...su(r2)]:[];S4.forEach(Y3=>{d3&&Y3.addEventListener("scroll",f2,{passive:true});h3&&Y3.addEventListener("resize",f2)});const A2=g&&y2?Nb(g,f2):null;let D2=-1;let w=null;if(v){w=new ResizeObserver(Y3=>{let[Q3]=Y3;if(Q3&&Q3.target===g&&w){w.unobserve(r2);cancelAnimationFrame(D2);D2=requestAnimationFrame(()=>{var Z3;(Z3=w)==null||Z3.observe(r2)})}f2()});if(g&&!p2){w.observe(g)}w.observe(r2)}let H;let O3=p2?fn(u5):null;if(p2){U3()}function U3(){const Y3=fn(u5);if(O3&&!yv(O3,Y3)){f2()}O3=Y3;H=requestAnimationFrame(U3)}__name(U3,"U");i(U3,"frameLoop");f2();return()=>{var Y3;S4.forEach(Q3=>{d3&&Q3.removeEventListener("scroll",f2);h3&&Q3.removeEventListener("resize",f2)});A2==null||A2();(Y3=w)==null||Y3.disconnect();w=null;if(p2){cancelAnimationFrame(H)}}}__name(Ub,"Ub");i(Ub,"autoUpdate");var Hb=ub;var Bb=ib;var Lb=lb;var qb=rb;var Yb=nb;var Rh=eb;var jb=cb;var Gb=i((u5,r2,f2)=>{const o5=new Map;const d3={platform:Db,...f2};const h3={...d3.platform,_c:o5};return tb(u5,r2,{...d3,platform:h3})},"computePosition");var Xb=typeof document!=="undefined";var Vb=i(__name(function u(){},"u"),"noop");var Ui=Xb?z.useLayoutEffect:Vb;function Vi(u5,r2){if(u5===r2){return true}if(typeof u5!==typeof r2){return false}if(typeof u5==="function"&&u5.toString()===r2.toString()){return true}let f2;let o5;let d3;if(u5&&r2&&typeof u5==="object"){if(Array.isArray(u5)){f2=u5.length;if(f2!==r2.length)return false;for(o5=f2;o5--!==0;){if(!Vi(u5[o5],r2[o5])){return false}}return true}d3=Object.keys(u5);f2=d3.length;if(f2!==Object.keys(r2).length){return false}for(o5=f2;o5--!==0;){if(!{}.hasOwnProperty.call(r2,d3[o5])){return false}}for(o5=f2;o5--!==0;){const h3=d3[o5];if(h3==="_owner"&&u5.$$typeof){continue}if(!Vi(u5[h3],r2[h3])){return false}}return true}return u5!==u5&&r2!==r2}__name(Vi,"Vi");i(Vi,"deepEqual");function pv(u5){if(typeof window==="undefined"){return 1}const r2=u5.ownerDocument.defaultView||window;return r2.devicePixelRatio||1}__name(pv,"pv");i(pv,"getDPR");function Mh(u5,r2){const f2=pv(u5);return Math.round(r2*f2)/f2}__name(Mh,"Mh");i(Mh,"roundByDPR");function Eo(u5){const r2=z.useRef(u5);Ui(()=>{r2.current=u5});return r2}__name(Eo,"Eo");i(Eo,"useLatestRef");function Qb(u5){if(u5===void 0){u5={}}const{placement:r2="bottom",strategy:f2="absolute",middleware:o5=[],platform:d3,elements:{reference:h3,floating:v}={},transform:y2=true,whileElementsMounted:p2,open:g}=u5;const[S4,A2]=z.useState({x:0,y:0,strategy:f2,placement:r2,middlewareData:{},isPositioned:false});const[D2,w]=z.useState(o5);if(!Vi(D2,o5)){w(o5)}const[H,O3]=z.useState(null);const[U3,Y3]=z.useState(null);const Q3=z.useCallback(B2=>{if(B2!==et3.current){et3.current=B2;O3(B2)}},[]);const Z3=z.useCallback(B2=>{if(B2!==W4.current){W4.current=B2;Y3(B2)}},[]);const k3=h3||H;const X4=v||U3;const et3=z.useRef(null);const W4=z.useRef(null);const J2=z.useRef(S4);const rt3=p2!=null;const Et2=Eo(p2);const Mt=Eo(d3);const vt=Eo(g);const Ot=z.useCallback(()=>{if(!et3.current||!W4.current){return}const B2={placement:r2,strategy:f2,middleware:D2};if(Mt.current){B2.platform=Mt.current}Gb(et3.current,W4.current,B2).then(ct3=>{const E4={...ct3,isPositioned:vt.current!==false};if(St.current&&!Vi(J2.current,E4)){J2.current=E4;Bo.flushSync(()=>{A2(E4)})}})},[D2,r2,f2,Mt,vt]);Ui(()=>{if(g===false&&J2.current.isPositioned){J2.current.isPositioned=false;A2(B2=>({...B2,isPositioned:false}))}},[g]);const St=z.useRef(false);Ui(()=>{St.current=true;return()=>{St.current=false}},[]);Ui(()=>{if(k3)et3.current=k3;if(X4)W4.current=X4;if(k3&&X4){if(Et2.current){return Et2.current(k3,X4,Ot)}Ot()}},[k3,X4,Ot,Et2,rt3]);const gt2=z.useMemo(()=>({reference:et3,floating:W4,setReference:Q3,setFloating:Z3}),[Q3,Z3]);const C=z.useMemo(()=>({reference:k3,floating:X4}),[k3,X4]);const V2=z.useMemo(()=>{const B2={position:f2,left:0,top:0};if(!C.floating){return B2}const ct3=Mh(C.floating,S4.x);const E4=Mh(C.floating,S4.y);if(y2){return{...B2,transform:"translate("+ct3+"px, "+E4+"px)",...pv(C.floating)>=1.5&&{willChange:"transform"}}}return{position:f2,left:ct3,top:E4}},[f2,y2,C.floating,S4.x,S4.y]);return z.useMemo(()=>({...S4,update:Ot,refs:gt2,elements:C,floatingStyles:V2}),[S4,Ot,gt2,C,V2])}__name(Qb,"Qb");i(Qb,"useFloating");var Zb=i(u5=>{function r2(f2){return{}.hasOwnProperty.call(f2,"current")}__name(r2,"r");i(r2,"isRef");return{name:"arrow",options:u5,fn(f2){const{element:o5,padding:d3}=typeof u5==="function"?u5(f2):u5;if(o5&&r2(o5)){if(o5.current!=null){return Rh({element:o5.current,padding:d3}).fn(f2)}return{}}if(o5){return Rh({element:o5,padding:d3}).fn(f2)}return{}}}},"arrow$1");var kb=i((u5,r2)=>({...Hb(u5),options:[u5,r2]}),"offset");var Kb=i((u5,r2)=>({...Bb(u5),options:[u5,r2]}),"shift");var Jb=i((u5,r2)=>({...jb(u5),options:[u5,r2]}),"limitShift");var Wb=i((u5,r2)=>({...Lb(u5),options:[u5,r2]}),"flip");var $b=i((u5,r2)=>({...qb(u5),options:[u5,r2]}),"size");var Fb=i((u5,r2)=>({...Yb(u5),options:[u5,r2]}),"hide");var Pb=i((u5,r2)=>({...Zb(u5),options:[u5,r2]}),"arrow");var Ib="Arrow";var bv=z.forwardRef((u5,r2)=>{const{children:f2,width:o5=10,height:d3=5,...h3}=u5;return Ht.jsx(sn.svg,{...h3,ref:r2,width:o5,height:d3,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:u5.asChild?f2:Ht.jsx("polygon",{points:"0,0 30,0 15,10"})})});bv.displayName=Ib;var t1=bv;function e1(u5){const[r2,f2]=z.useState(void 0);na(()=>{if(u5){f2({width:u5.offsetWidth,height:u5.offsetHeight});const o5=new ResizeObserver(d3=>{if(!Array.isArray(d3)){return}if(!d3.length){return}const h3=d3[0];let v;let y2;if("borderBoxSize"in h3){const p2=h3["borderBoxSize"];const g=Array.isArray(p2)?p2[0]:p2;v=g["inlineSize"];y2=g["blockSize"]}else{v=u5.offsetWidth;y2=u5.offsetHeight}f2({width:v,height:y2})});o5.observe(u5,{box:"border-box"});return()=>o5.unobserve(u5)}else{f2(void 0)}},[u5]);return r2}__name(e1,"e1");i(e1,"useSize");var Ko="Popper";var[Sv,yS]=av(Ko);var[l1,Ev]=Sv(Ko);var xv=i(u5=>{const{__scopePopper:r2,children:f2}=u5;const[o5,d3]=z.useState(null);return Ht.jsx(l1,{scope:r2,anchor:o5,onAnchorChange:d3,children:f2})},"Popper");xv.displayName=Ko;var Av="PopperAnchor";var Tv=z.forwardRef((u5,r2)=>{const{__scopePopper:f2,virtualRef:o5,...d3}=u5;const h3=Ev(Av,f2);const v=z.useRef(null);const y2=on(r2,v);z.useEffect(()=>{h3.onAnchorChange(o5?.current||v.current)});return o5?null:Ht.jsx(sn.div,{...d3,ref:y2})});Tv.displayName=Av;var Jo="PopperContent";var[n1,a1]=Sv(Jo);var Ov=z.forwardRef((u5,r2)=>{const{__scopePopper:f2,side:o5="bottom",sideOffset:d3=0,align:h3="center",alignOffset:v=0,arrowPadding:y2=0,avoidCollisions:p2=true,collisionBoundary:g=[],collisionPadding:S4=0,sticky:A2="partial",hideWhenDetached:D2=false,updatePositionStrategy:w="optimized",onPlaced:H,...O3}=u5;const U3=Ev(Jo,f2);const[Y3,Q3]=z.useState(null);const Z3=on(r2,mt2=>Q3(mt2));const[k3,X4]=z.useState(null);const et3=e1(k3);const W4=et3?.width??0;const J2=et3?.height??0;const rt3=o5+(h3!=="center"?"-"+h3:"");const Et2=typeof S4==="number"?S4:{top:0,right:0,bottom:0,left:0,...S4};const Mt=Array.isArray(g)?g:[g];const vt=Mt.length>0;const Ot={padding:Et2,boundary:Mt.filter(i1),altBoundary:vt};const{refs:St,floatingStyles:gt2,placement:C,isPositioned:V2,middlewareData:B2}=Qb({strategy:"fixed",placement:rt3,whileElementsMounted:i((...mt2)=>{const At=Ub(...mt2,{animationFrame:w==="always"});return At},"whileElementsMounted"),elements:{reference:U3.anchor},middleware:[kb({mainAxis:d3+J2,alignmentAxis:v}),p2&&Kb({mainAxis:true,crossAxis:false,limiter:A2==="partial"?Jb():void 0,...Ot}),p2&&Wb({...Ot}),$b({...Ot,apply:i(({elements:mt2,rects:At,availableWidth:le3,availableHeight:He3})=>{const{width:Be3,height:Le3}=At.reference;const hl=mt2.floating.style;hl.setProperty("--radix-popper-available-width",`${le3}px`);hl.setProperty("--radix-popper-available-height",`${He3}px`);hl.setProperty("--radix-popper-anchor-width",`${Be3}px`);hl.setProperty("--radix-popper-anchor-height",`${Le3}px`)},"apply")}),k3&&Pb({element:k3,padding:y2}),c1({arrowWidth:W4,arrowHeight:J2}),D2&&Fb({strategy:"referenceHidden",...Ot})]});const[ct3,E4]=Mv(C);const G3=aa(H);na(()=>{if(V2){G3?.()}},[V2,G3]);const $3=B2.arrow?.x;const K3=B2.arrow?.y;const F2=B2.arrow?.centerOffset!==0;const[ft2,ut3]=z.useState();na(()=>{if(Y3)ut3(window.getComputedStyle(Y3).zIndex)},[Y3]);return Ht.jsx("div",{ref:St.setFloating,"data-radix-popper-content-wrapper":"",style:{...gt2,transform:V2?gt2.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ft2,["--radix-popper-transform-origin"]:[B2.transformOrigin?.x,B2.transformOrigin?.y].join(" "),...B2.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:u5.dir,children:Ht.jsx(n1,{scope:f2,placedSide:ct3,onArrowChange:X4,arrowX:$3,arrowY:K3,shouldHideArrow:F2,children:Ht.jsx(sn.div,{"data-side":ct3,"data-align":E4,...O3,ref:Z3,style:{...O3.style,animation:!V2?"none":void 0}})})})});Ov.displayName=Jo;var wv="PopperArrow";var u1={top:"bottom",right:"left",bottom:"top",left:"right"};var Rv=z.forwardRef(i(__name(function u2(r2,f2){const{__scopePopper:o5,...d3}=r2;const h3=a1(wv,o5);const v=u1[h3.placedSide];return Ht.jsx("span",{ref:h3.onArrowChange,style:{position:"absolute",left:h3.arrowX,top:h3.arrowY,[v]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h3.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:`rotate(180deg)`,left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h3.placedSide],visibility:h3.shouldHideArrow?"hidden":void 0},children:Ht.jsx(t1,{...d3,ref:f2,style:{...d3.style,display:"block"}})})},"u"),"PopperArrow2"));Rv.displayName=wv;function i1(u5){return u5!==null}__name(i1,"i1");i(i1,"isNotNull");var c1=i(u5=>({name:"transformOrigin",options:u5,fn(r2){const{placement:f2,rects:o5,middlewareData:d3}=r2;const h3=d3.arrow?.centerOffset!==0;const v=h3;const y2=v?0:u5.arrowWidth;const p2=v?0:u5.arrowHeight;const[g,S4]=Mv(f2);const A2={start:"0%",center:"50%",end:"100%"}[S4];const D2=(d3.arrow?.x??0)+y2/2;const w=(d3.arrow?.y??0)+p2/2;let H="";let O3="";if(g==="bottom"){H=v?A2:`${D2}px`;O3=`${-p2}px`}else if(g==="top"){H=v?A2:`${D2}px`;O3=`${o5.floating.height+p2}px`}else if(g==="right"){H=`${-p2}px`;O3=v?A2:`${w}px`}else if(g==="left"){H=`${o5.floating.width+p2}px`;O3=v?A2:`${w}px`}return{data:{x:H,y:O3}}}}),"transformOrigin");function Mv(u5){const[r2,f2="center"]=u5.split("-");return[r2,f2]}__name(Mv,"Mv");i(Mv,"getSideAndAlignFromPlacement");var pS=xv;var bS=Tv;var SS=Ov;var ES=Rv;var r1="Portal";var o1=z.forwardRef((u5,r2)=>{const{container:f2,...o5}=u5;const[d3,h3]=z.useState(false);na(()=>h3(true),[]);const v=f2||d3&&globalThis?.document?.body;return v?y0.createPortal(Ht.jsx(sn.div,{...o5,ref:r2}),v):null});o1.displayName=r1;var f1=i(function(u5){if(typeof document==="undefined"){return null}var r2=Array.isArray(u5)?u5[0]:u5;return r2.ownerDocument.body},"getDefaultParent");var Pn=new WeakMap;var _i=new WeakMap;var Ci={};var xo=0;var zv=i(function(u5){return u5&&(u5.host||zv(u5.parentNode))},"unwrapHost");var s1=i(function(u5,r2){return r2.map(function(f2){if(u5.contains(f2)){return f2}var o5=zv(f2);if(o5&&u5.contains(o5)){return o5}console.error("aria-hidden",f2,"in not contained inside",u5,". Doing nothing");return null}).filter(function(f2){return Boolean(f2)})},"correctTargets");var d1=i(function(u5,r2,f2,o5){var d3=s1(r2,Array.isArray(u5)?u5:[u5]);if(!Ci[f2]){Ci[f2]=new WeakMap}var h3=Ci[f2];var v=[];var y2=new Set;var p2=new Set(d3);var g=i(function(A2){if(!A2||y2.has(A2)){return}y2.add(A2);g(A2.parentNode)},"keep");d3.forEach(g);var S4=i(function(A2){if(!A2||p2.has(A2)){return}Array.prototype.forEach.call(A2.children,function(D2){if(y2.has(D2)){S4(D2)}else{try{var w=D2.getAttribute(o5);var H=w!==null&&w!=="false";var O3=(Pn.get(D2)||0)+1;var U3=(h3.get(D2)||0)+1;Pn.set(D2,O3);h3.set(D2,U3);v.push(D2);if(O3===1&&H){_i.set(D2,true)}if(U3===1){D2.setAttribute(f2,"true")}if(!H){D2.setAttribute(o5,"true")}}catch(Y3){console.error("aria-hidden: cannot operate on ",D2,Y3)}}})},"deep");S4(r2);y2.clear();xo++;return function(){v.forEach(function(A2){var D2=Pn.get(A2)-1;var w=h3.get(A2)-1;Pn.set(A2,D2);h3.set(A2,w);if(!D2){if(!_i.has(A2)){A2.removeAttribute(o5)}_i.delete(A2)}if(!w){A2.removeAttribute(f2)}});xo--;if(!xo){Pn=new WeakMap;Pn=new WeakMap;_i=new WeakMap;Ci={}}}},"applyAttributeToOthers");var xS=i(function(u5,r2,f2){if(f2===void 0){f2="data-aria-hidden"}var o5=Array.from(Array.isArray(u5)?u5:[u5]);var d3=f1(u5);if(!d3){return function(){return null}}o5.push.apply(o5,Array.from(d3.querySelectorAll("[aria-live], script")));return d1(o5,d3,f2,"aria-hidden")},"hideOthers");var Qe=i(function(){Qe=Object.assign||i(__name(function u5(r2){for(var f2,o5=1,d3=arguments.length;o5y2){return true}}o5=o5.parentNode}while(o5&&o5!==f2.body);return false},"locationCouldBeScrolled");var Y1=i(function(u5){var r2=u5.scrollTop,f2=u5.scrollHeight,o5=u5.clientHeight;return[r2,f2,o5]},"getVScrollVariables");var j1=i(function(u5){var r2=u5.scrollLeft,f2=u5.scrollWidth,o5=u5.clientWidth;return[r2,f2,o5]},"getHScrollVariables");var Hv=i(function(u5,r2){return u5==="v"?L1(r2):q1(r2)},"elementCouldBeScrolled");var Bv=i(function(u5,r2){return u5==="v"?Y1(r2):j1(r2)},"getScrollVariables");var G1=i(function(u5,r2){return u5==="h"&&r2==="rtl"?-1:1},"getDirectionFactor");var X1=i(function(u5,r2,f2,o5,d3){var h3=G1(u5,window.getComputedStyle(r2).direction);var v=h3*o5;var y2=f2.target;var p2=r2.contains(y2);var g=false;var S4=v>0;var A2=0;var D2=0;do{if(!y2){break}var w=Bv(u5,y2),H=w[0],O3=w[1],U3=w[2];var Y3=O3-U3-h3*H;if(H||Y3){if(Hv(u5,y2)){A2+=Y3;D2+=H}}var Q3=y2.parentNode;y2=Q3&&Q3.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q3.host:Q3}while(!p2&&y2!==document.body||p2&&(r2.contains(y2)||r2===y2));if(S4&&(Math.abs(A2)<1||false)){g=true}else if(!S4&&(Math.abs(D2)<1||false)){g=true}return g},"handleScroll");var Ni=i(function(u5){return"changedTouches"in u5?[u5.changedTouches[0].clientX,u5.changedTouches[0].clientY]:[0,0]},"getTouchXY");var Dh=i(function(u5){return[u5.deltaX,u5.deltaY]},"getDeltaXY");var Nh=i(function(u5){return u5&&"current"in u5?u5.current:u5},"extractRef");var V1=i(function(u5,r2){return u5[0]===r2[0]&&u5[1]===r2[1]},"deltaCompare");var Q1=i(function(u5){return"n .block-interactivity-".concat(u5," {pointer-events: none;}n .allow-interactivity-").concat(u5," {pointer-events: all;}n")},"generateStyle");var Z1=0;var ta=[];function k1(u5){var r2=z.useRef([]);var f2=z.useRef([0,0]);var o5=z.useRef();var d3=z.useState(Z1++)[0];var h3=z.useState(Nv)[0];var v=z.useRef(u5);z.useEffect(function(){v.current=u5},[u5]);z.useEffect(function(){if(u5.inert){document.body.classList.add("block-interactivity-".concat(d3));var O3=m1([u5.lockRef.current],(u5.shards||[]).map(Nh),true).filter(Boolean);O3.forEach(function(U3){return U3.classList.add("allow-interactivity-".concat(d3))});return function(){document.body.classList.remove("block-interactivity-".concat(d3));O3.forEach(function(U3){return U3.classList.remove("allow-interactivity-".concat(d3))})}}return},[u5.inert,u5.lockRef.current,u5.shards]);var y2=z.useCallback(function(O3,U3){if("touches"in O3&&O3.touches.length===2||O3.type==="wheel"&&O3.ctrlKey){return!v.current.allowPinchZoom}var Y3=Ni(O3);var Q3=f2.current;var Z3="deltaX"in O3?O3.deltaX:Q3[0]-Y3[0];var k3="deltaY"in O3?O3.deltaY:Q3[1]-Y3[1];var X4;var et3=O3.target;var W4=Math.abs(Z3)>Math.abs(k3)?"h":"v";if("touches"in O3&&W4==="h"&&et3.type==="range"){return false}var J2=Ch(W4,et3);if(!J2){return true}if(J2){X4=W4}else{X4=W4==="v"?"h":"v";J2=Ch(W4,et3)}if(!J2){return false}if(!o5.current&&"changedTouches"in O3&&(Z3||k3)){o5.current=X4}if(!X4){return true}var rt3=o5.current||X4;return X1(rt3,U3,O3,rt3==="h"?Z3:k3)},[]);var p2=z.useCallback(function(O3){var U3=O3;if(!ta.length||ta[ta.length-1]!==h3){return}var Y3="deltaY"in U3?Dh(U3):Ni(U3);var Q3=r2.current.filter(function(X4){return X4.name===U3.type&&(X4.target===U3.target||U3.target===X4.shadowParent)&&V1(X4.delta,Y3)})[0];if(Q3&&Q3.should){if(U3.cancelable){U3.preventDefault()}return}if(!Q3){var Z3=(v.current.shards||[]).map(Nh).filter(Boolean).filter(function(X4){return X4.contains(U3.target)});var k3=Z3.length>0?y2(U3,Z3[0]):!v.current.noIsolation;if(k3){if(U3.cancelable){U3.preventDefault()}}}},[]);var g=z.useCallback(function(O3,U3,Y3,Q3){var Z3={name:O3,delta:U3,target:Y3,should:Q3,shadowParent:K1(Y3)};r2.current.push(Z3);setTimeout(function(){r2.current=r2.current.filter(function(k3){return k3!==Z3})},1)},[]);var S4=z.useCallback(function(O3){f2.current=Ni(O3);o5.current=void 0},[]);var A2=z.useCallback(function(O3){g(O3.type,Dh(O3),O3.target,y2(O3,u5.lockRef.current))},[]);var D2=z.useCallback(function(O3){g(O3.type,Ni(O3),O3.target,y2(O3,u5.lockRef.current))},[]);z.useEffect(function(){ta.push(h3);u5.setCallbacks({onScrollCapture:A2,onWheelCapture:A2,onTouchMoveCapture:D2});document.addEventListener("wheel",p2,In);document.addEventListener("touchmove",p2,In);document.addEventListener("touchstart",S4,In);return function(){ta=ta.filter(function(O3){return O3!==h3});document.removeEventListener("wheel",p2,In);document.removeEventListener("touchmove",p2,In);document.removeEventListener("touchstart",S4,In)}},[]);var w=u5.removeScrollBar,H=u5.inert;return z.createElement(z.Fragment,null,H?z.createElement(h3,{styles:Q1(d3)}):null,w?z.createElement(H1,{noRelative:u5.noRelative,gapMode:u5.gapMode}):null)}__name(k1,"k1");i(k1,"RemoveScrollSideCar");function K1(u5){var r2=null;while(u5!==null){if(u5 instanceof ShadowRoot){r2=u5.host;u5=u5.host}u5=u5.parentNode}return r2}__name(K1,"K1");i(K1,"getOutermostShadowParent");var J1=x1(Dv,k1);var W1=z.forwardRef(function(u5,r2){return z.createElement(Ji,Qe({},u5,{ref:r2,sideCar:J1}))});W1.classNames=Ji.classNames;var $1=i(u5=>u5.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase");var F1=i(u5=>u5.replace(/^([A-Z])|[s-_]+(w)/g,(r2,f2,o5)=>o5?o5.toUpperCase():f2.toLowerCase()),"toCamelCase");var Uh=i(u5=>{const r2=F1(u5);return r2.charAt(0).toUpperCase()+r2.slice(1)},"toPascalCase");var Lv=i((...u5)=>u5.filter((r2,f2,o5)=>{return Boolean(r2)&&r2.trim()!==""&&o5.indexOf(r2)===f2}).join(" ").trim(),"mergeClasses");var P1=i(u5=>{for(const r2 in u5){if(r2.startsWith("aria-")||r2==="role"||r2==="title"){return true}}},"hasA11yProp");var I1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var tS=z.forwardRef(({color:u5="currentColor",size:r2=24,strokeWidth:f2=2,absoluteStrokeWidth:o5,className:d3="",children:h3,iconNode:v,...y2},p2)=>z.createElement("svg",{ref:p2,...I1,width:r2,height:r2,stroke:u5,strokeWidth:o5?Number(f2)*24/Number(r2):f2,className:Lv("lucide",d3),...!h3&&!P1(y2)&&{"aria-hidden":"true"},...y2},[...v.map(([g,S4])=>z.createElement(g,S4)),...Array.isArray(h3)?h3:[h3]]));var qv=i((u5,r2)=>{const f2=z.forwardRef(({className:o5,...d3},h3)=>z.createElement(tS,{ref:h3,iconNode:r2,className:Lv(`lucide-${$1(Uh(u5))}`,`lucide-${u5}`,o5),...d3}));f2.displayName=Uh(u5);return f2},"createLucideIcon");var eS=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]];var AS=qv("chevron-down",eS);var lS=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]];var TS=qv("chevron-up",lS);var ye=Object.defineProperty;var c=__name((e7,t2)=>ye(e7,"name",{value:t2,configurable:true}),"c");function Me(e7,t2){return z.useReducer((o5,n)=>{const a2=t2[o5][n];return a2??o5},e7)}__name(Me,"Me");c(Me,"useStateMachine");var j=c(e7=>{const{present:t2,children:o5}=e7;const n=je(t2);const a2=typeof o5==="function"?o5({present:n.isPresent}):z.Children.only(o5);const r2=on(n.ref,ke2(a2));const u5=typeof o5==="function";return u5||n.isPresent?z.cloneElement(a2,{ref:r2}):null},"Presence");j.displayName="Presence";function je(e7){const[t2,o5]=z.useState();const n=z.useRef(null);const a2=z.useRef(e7);const r2=z.useRef("none");const u5=e7?"mounted":"unmounted";const[d3,p2]=Me(u5,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});z.useEffect(()=>{const l=S(n.current);r2.current=d3==="mounted"?l:"none"},[d3]);na(()=>{const l=n.current;const f2=a2.current;const m=f2!==e7;if(m){const N2=r2.current;const h3=S(l);if(e7){p2("MOUNT")}else if(h3==="none"||l?.display==="none"){p2("UNMOUNT")}else{const I2=N2!==h3;if(f2&&I2){p2("ANIMATION_OUT")}else{p2("UNMOUNT")}}a2.current=e7}},[e7,p2]);na(()=>{if(t2){let l;const f2=t2.ownerDocument.defaultView??window;const m=c(h3=>{const I2=S(n.current);const _2=I2.includes(h3.animationName);if(h3.target===t2&&_2){p2("ANIMATION_END");if(!a2.current){const g=t2.style.animationFillMode;t2.style.animationFillMode="forwards";l=f2.setTimeout(()=>{if(t2.style.animationFillMode==="forwards"){t2.style.animationFillMode=g}})}}},"handleAnimationEnd");const N2=c(h3=>{if(h3.target===t2){r2.current=S(n.current)}},"handleAnimationStart");t2.addEventListener("animationstart",N2);t2.addEventListener("animationcancel",m);t2.addEventListener("animationend",m);return()=>{f2.clearTimeout(l);t2.removeEventListener("animationstart",N2);t2.removeEventListener("animationcancel",m);t2.removeEventListener("animationend",m)}}else{p2("ANIMATION_END")}},[t2,p2]);return{isPresent:["mounted","unmountSuspended"].includes(d3),ref:z.useCallback(l=>{n.current=l?getComputedStyle(l):null;o5(l)},[])}}__name(je,"je");c(je,"usePresence");function S(e7){return e7?.animationName||"none"}__name(S,"S");c(S,"getAnimationName");function ke2(e7){let t2=Object.getOwnPropertyDescriptor(e7.props,"ref")?.get;let o5=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o5){return e7.ref}t2=Object.getOwnPropertyDescriptor(e7,"ref")?.get;o5=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o5){return e7.props.ref}return e7.props.ref||e7.ref}__name(ke2,"ke");c(ke2,"getElementRef");var U="rovingFocusGroup.onEntryFocus";var Le={bubbles:false,cancelable:true};var F="RovingFocusGroup";var[W,X,Ge]=mS(F);var[Ue2,xt]=av(F,[Ge]);var[We,Ke2]=Ue2(F);var Z=z.forwardRef((e7,t2)=>{return Ht.jsx(W.Provider,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(W.Slot,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(Be,{...e7,ref:t2})})})});Z.displayName=F;var Be=z.forwardRef((e7,t2)=>{const{__scopeRovingFocusGroup:o5,orientation:n,loop:a2=false,dir:r2,currentTabStopId:u5,defaultCurrentTabStopId:d3,onCurrentTabStopIdChange:p2,onEntryFocus:l,preventScrollOnEntryFocus:f2=false,...m}=e7;const N2=z.useRef(null);const h3=on(t2,N2);const I2=hS(r2);const[_2,g]=dS({prop:u5,defaultProp:d3??null,onChange:p2,caller:F});const[y2,O3]=z.useState(false);const x=aa(l);const D2=X(o5);const L2=z.useRef(false);const[he,z4]=z.useState(0);z.useEffect(()=>{const v=N2.current;if(v){v.addEventListener(U,x);return()=>v.removeEventListener(U,x)}},[x]);return Ht.jsx(We,{scope:o5,orientation:n,dir:I2,loop:a2,currentTabStopId:_2,onItemFocus:z.useCallback(v=>g(v),[g]),onItemShiftTab:z.useCallback(()=>O3(true),[]),onFocusableItemAdd:z.useCallback(()=>z4(v=>v+1),[]),onFocusableItemRemove:z.useCallback(()=>z4(v=>v-1),[]),children:Ht.jsx(sn.div,{tabIndex:y2||he===0?-1:0,"data-orientation":n,...m,ref:h3,style:{outline:"none",...e7.style},onMouseDown:go(e7.onMouseDown,()=>{L2.current=true}),onFocus:go(e7.onFocus,v=>{const xe=!L2.current;if(v.target===v.currentTarget&&xe&&!y2){const V2=new CustomEvent(U,Le);v.currentTarget.dispatchEvent(V2);if(!V2.defaultPrevented){const G3=D2().filter(C=>C.focusable);const be2=G3.find(C=>C.active);const Re=G3.find(C=>C.id===_2);const Ne3=[be2,Re,...G3].filter(Boolean);const Ie2=Ne3.map(C=>C.ref.current);te(Ie2,f2)}}L2.current=false}),onBlur:go(e7.onBlur,()=>O3(false))})})});var Q="RovingFocusGroupItem";var ee2=z.forwardRef((e7,t2)=>{const{__scopeRovingFocusGroup:o5,focusable:n=true,active:a2=false,tabStopId:r2,children:u5,...d3}=e7;const p2=gS();const l=r2||p2;const f2=Ke2(Q,o5);const m=f2.currentTabStopId===l;const N2=X(o5);const{onFocusableItemAdd:h3,onFocusableItemRemove:I2,currentTabStopId:_2}=f2;z.useEffect(()=>{if(n){h3();return()=>I2()}},[n,h3,I2]);return Ht.jsx(W.ItemSlot,{scope:o5,id:l,focusable:n,active:a2,children:Ht.jsx(sn.span,{tabIndex:m?0:-1,"data-orientation":f2.orientation,...d3,ref:t2,onMouseDown:go(e7.onMouseDown,g=>{if(!n)g.preventDefault();else f2.onItemFocus(l)}),onFocus:go(e7.onFocus,()=>f2.onItemFocus(l)),onKeyDown:go(e7.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){f2.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const y2=Ve(g,f2.orientation,f2.dir);if(y2!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();const O3=N2().filter(D2=>D2.focusable);let x=O3.map(D2=>D2.ref.current);if(y2==="last")x.reverse();else if(y2==="prev"||y2==="next"){if(y2==="prev")x.reverse();const D2=x.indexOf(g.currentTarget);x=f2.loop?He(x,D2+1):x.slice(D2+1)}setTimeout(()=>te(x))}}),children:typeof u5==="function"?u5({isCurrentTabStop:m,hasTabStop:_2!=null}):u5})})});ee2.displayName=Q;var $e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ze(e7,t2){if(t2!=="rtl")return e7;return e7==="ArrowLeft"?"ArrowRight":e7==="ArrowRight"?"ArrowLeft":e7}__name(ze,"ze");c(ze,"getDirectionAwareKey");function Ve(e7,t2,o5){const n=ze(e7.key,o5);if(t2==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))return void 0;if(t2==="horizontal"&&["ArrowUp","ArrowDown"].includes(n))return void 0;return $e[n]}__name(Ve,"Ve");c(Ve,"getFocusIntent");function te(e7,t2=false){const o5=document.activeElement;for(const n of e7){if(n===o5)return;n.focus({preventScroll:t2});if(document.activeElement!==o5)return}}__name(te,"te");c(te,"focusFirst");function He(e7,t2){return e7.map((o5,n)=>e7[(t2+n)%e7.length])}__name(He,"He");c(He,"wrapArray");var bt=Z;var Rt=ee2;var Ye=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]];var Nt=qv("chevron-right",Ye);var qe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]];var Je2=qv("x",qe);function It({className:e7,type:t2,...o5}){return Ht.jsx("input",{type:t2,"data-slot":"input",className:nv("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e7),...o5})}__name(It,"It");c(It,"Input");var k="Dialog";var[oe,yt]=av(k);var[Xe,R]=oe(k);var ne=c(e7=>{const{__scopeDialog:t2,children:o5,open:n,defaultOpen:a2,onOpenChange:r2,modal:u5=true}=e7;const d3=z.useRef(null);const p2=z.useRef(null);const[l,f2]=dS({prop:n,defaultProp:a2??false,onChange:r2,caller:k});return Ht.jsx(Xe,{scope:t2,triggerRef:d3,contentRef:p2,contentId:gS(),titleId:gS(),descriptionId:gS(),open:l,onOpenChange:f2,onOpenToggle:z.useCallback(()=>f2(m=>!m),[f2]),modal:u5,children:o5})},"Dialog");ne.displayName=k;var re="DialogTrigger";var ae=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,...n}=e7;const a2=R(re,o5);const r2=on(t2,a2.triggerRef);return Ht.jsx(sn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a2.open,"aria-controls":a2.contentId,"data-state":$(a2.open),...n,ref:r2,onClick:go(e7.onClick,a2.onOpenToggle)})});ae.displayName=re;var K="DialogPortal";var[Ze2,se]=oe(K,{forceMount:void 0});var ie=c(e7=>{const{__scopeDialog:t2,forceMount:o5,children:n,container:a2}=e7;const r2=R(K,t2);return Ht.jsx(Ze2,{scope:t2,forceMount:o5,children:z.Children.map(n,u5=>Ht.jsx(j,{present:o5||r2.open,children:Ht.jsx(o1,{asChild:true,container:a2,children:u5})}))})},"DialogPortal");ie.displayName=K;var M="DialogOverlay";var ce=z.forwardRef((e7,t2)=>{const o5=se(M,e7.__scopeDialog);const{forceMount:n=o5.forceMount,...a2}=e7;const r2=R(M,e7.__scopeDialog);return r2.modal?Ht.jsx(j,{present:n||r2.open,children:Ht.jsx(et,{...a2,ref:t2})}):null});ce.displayName=M;var Qe2=Yi("DialogOverlay.RemoveScroll");var et=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,...n}=e7;const a2=R(M,o5);return Ht.jsx(W1,{as:Qe2,allowPinchZoom:true,shards:[a2.contentRef],children:Ht.jsx(sn.div,{"data-state":$(a2.open),...n,ref:t2,style:{pointerEvents:"auto",...n.style}})})});var E="DialogContent";var le=z.forwardRef((e7,t2)=>{const o5=se(E,e7.__scopeDialog);const{forceMount:n=o5.forceMount,...a2}=e7;const r2=R(E,e7.__scopeDialog);return Ht.jsx(j,{present:n||r2.open,children:r2.modal?Ht.jsx(tt2,{...a2,ref:t2}):Ht.jsx(ot2,{...a2,ref:t2})})});le.displayName=E;var tt2=z.forwardRef((e7,t2)=>{const o5=R(E,e7.__scopeDialog);const n=z.useRef(null);const a2=on(t2,o5.contentRef,n);z.useEffect(()=>{const r2=n.current;if(r2)return xS(r2)},[]);return Ht.jsx(ue,{...e7,ref:a2,trapFocus:o5.open,disableOutsidePointerEvents:true,onCloseAutoFocus:go(e7.onCloseAutoFocus,r2=>{r2.preventDefault();o5.triggerRef.current?.focus()}),onPointerDownOutside:go(e7.onPointerDownOutside,r2=>{const u5=r2.detail.originalEvent;const d3=u5.button===0&&u5.ctrlKey===true;const p2=u5.button===2||d3;if(p2)r2.preventDefault()}),onFocusOutside:go(e7.onFocusOutside,r2=>r2.preventDefault())})});var ot2=z.forwardRef((e7,t2)=>{const o5=R(E,e7.__scopeDialog);const n=z.useRef(false);const a2=z.useRef(false);return Ht.jsx(ue,{...e7,ref:t2,trapFocus:false,disableOutsidePointerEvents:false,onCloseAutoFocus:c(r2=>{e7.onCloseAutoFocus?.(r2);if(!r2.defaultPrevented){if(!n.current)o5.triggerRef.current?.focus();r2.preventDefault()}n.current=false;a2.current=false},"onCloseAutoFocus"),onInteractOutside:c(r2=>{e7.onInteractOutside?.(r2);if(!r2.defaultPrevented){n.current=true;if(r2.detail.originalEvent.type==="pointerdown"){a2.current=true}}const u5=r2.target;const d3=o5.triggerRef.current?.contains(u5);if(d3)r2.preventDefault();if(r2.detail.originalEvent.type==="focusin"&&a2.current){r2.preventDefault()}},"onInteractOutside")})});var ue=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,trapFocus:n,onOpenAutoFocus:a2,onCloseAutoFocus:r2,...u5}=e7;const d3=R(E,o5);const p2=z.useRef(null);const l=on(t2,p2);vS();return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Up,{asChild:true,loop:true,trapped:n,onMountAutoFocus:a2,onUnmountAutoFocus:r2,children:Ht.jsx(Mp,{role:"dialog",id:d3.contentId,"aria-describedby":d3.descriptionId,"aria-labelledby":d3.titleId,"data-state":$(d3.open),...u5,ref:l,onDismiss:c(()=>d3.onOpenChange(false),"onDismiss")})}),Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(rt,{titleId:d3.titleId}),Ht.jsx(st,{contentRef:p2,descriptionId:d3.descriptionId})]})]})});var B="DialogTitle";var de=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,...n}=e7;const a2=R(B,o5);return Ht.jsx(sn.h2,{id:a2.titleId,...n,ref:t2})});de.displayName=B;var fe="DialogDescription";var nt=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,...n}=e7;const a2=R(fe,o5);return Ht.jsx(sn.p,{id:a2.descriptionId,...n,ref:t2})});nt.displayName=fe;var pe2="DialogClose";var ge=z.forwardRef((e7,t2)=>{const{__scopeDialog:o5,...n}=e7;const a2=R(pe2,o5);return Ht.jsx(sn.button,{type:"button",...n,ref:t2,onClick:go(e7.onClick,()=>a2.onOpenChange(false))})});ge.displayName=pe2;function $(e7){return e7?"open":"closed"}__name($,"$");c($,"getState");var me="DialogTitleWarning";var[Dt,ve]=sS(me,{contentName:E,titleName:B,docsSlug:"dialog"});var rt=c(({titleId:e7})=>{const t2=ve(me);const o5=``${t2.contentName}` requires a `${t2.titleName}` for the component to be accessible for screen reader users.
If you want to hide the `${t2.titleName}`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t2.docsSlug}`;z.useEffect(()=>{if(e7){const n=document.getElementById(e7);if(!n)console.error(o5)}},[o5,e7]);return null},"TitleWarning");var at="DialogDescriptionWarning";var st=c(({contentRef:e7,descriptionId:t2})=>{const o5=ve(at);const n=`Warning: Missing `Description` or `aria-describedby={undefined}` for {${o5.contentName}}.`;z.useEffect(()=>{const a2=e7.current?.getAttribute("aria-describedby");if(t2&&a2){const r2=document.getElementById(t2);if(!r2)console.warn(n)}},[n,e7,t2]);return null},"DescriptionWarning");var it=ne;var ct=ae;var lt=ie;var ut=ce;var dt2=le;var ft=de;var pt=ge;function Ct({...e7}){return Ht.jsx(it,{"data-slot":"sheet",...e7})}__name(Ct,"Ct");c(Ct,"Sheet");function Et({...e7}){return Ht.jsx(ct,{"data-slot":"sheet-trigger",...e7})}__name(Et,"Et");c(Et,"SheetTrigger");function gt({...e7}){return Ht.jsx(lt,{"data-slot":"sheet-portal",...e7})}__name(gt,"gt");c(gt,"SheetPortal");function mt({className:e7,...t2}){return Ht.jsx(ut,{"data-slot":"sheet-overlay",className:nv("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e7),...t2})}__name(mt,"mt");c(mt,"SheetOverlay");function Tt({className:e7,children:t2,side:o5="right",...n}){return Ht.jsxs(gt,{children:[Ht.jsx(mt,{}),Ht.jsxs(dt2,{"data-slot":"sheet-content",className:nv("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o5==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o5==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o5==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o5==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e7),...n,children:[t2,Ht.jsxs(pt,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[Ht.jsx(Je2,{className:"size-4"}),Ht.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}__name(Tt,"Tt");c(Tt,"SheetContent");function _t({className:e7,...t2}){return Ht.jsx("div",{"data-slot":"sheet-header",className:nv("flex flex-col gap-1.5 p-4",e7),...t2})}__name(_t,"_t");c(_t,"SheetHeader");function wt({className:e7,...t2}){return Ht.jsx(ft,{"data-slot":"sheet-title",className:nv("text-foreground font-semibold",e7),...t2})}__name(wt,"wt");c(wt,"SheetTitle");var bt2=Object.defineProperty;var u3=__name((t2,o5)=>bt2(t2,"name",{value:o5,configurable:true}),"u");var re2=["Enter"," "];var Wt=["ArrowDown","PageUp","Home"];var Ie=["ArrowUp","PageDown","End"];var zt=[...Wt,...Ie];var Vt={ltr:[...re2,"ArrowRight"],rtl:[...re2,"ArrowLeft"]};var Xt={ltr:["ArrowLeft"],rtl:["ArrowRight"]};var U2="Menu";var[T,Yt,qt]=mS(U2);var[S2,Ae]=av(U2,[qt,yS,xt]);var X2=yS();var ke3=xt();var[Qt,E2]=S2(U2);var[Jt,G]=S2(U2);var Te=u3(t2=>{const{__scopeMenu:o5,open:n=false,children:r2,dir:s2,onOpenChange:c5,modal:i2=true}=t2;const d3=X2(o5);const[f2,m]=z.useState(null);const x=z.useRef(false);const l=aa(c5);const h3=hS(s2);z.useEffect(()=>{const w=u3(()=>{x.current=true;document.addEventListener("pointerdown",v,{capture:true,once:true});document.addEventListener("pointermove",v,{capture:true,once:true})},"handleKeyDown");const v=u3(()=>x.current=false,"handlePointer");document.addEventListener("keydown",w,{capture:true});return()=>{document.removeEventListener("keydown",w,{capture:true});document.removeEventListener("pointerdown",v,{capture:true});document.removeEventListener("pointermove",v,{capture:true})}},[]);return Ht.jsx(pS,{...d3,children:Ht.jsx(Qt,{scope:o5,open:n,onOpenChange:l,content:f2,onContentChange:m,children:Ht.jsx(Jt,{scope:o5,onClose:z.useCallback(()=>l(false),[l]),isUsingKeyboardRef:x,dir:h3,modal:i2,children:r2})})})},"Menu$1");Te.displayName=U2;var Zt2="MenuAnchor";var se2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,...r2}=t2;const s2=X2(n);return Ht.jsx(bS,{...s2,...r2,ref:o5})});se2.displayName=Zt2;var ae2="MenuPortal";var[en,Oe]=S2(ae2,{forceMount:void 0});var Le2=u3(t2=>{const{__scopeMenu:o5,forceMount:n,children:r2,container:s2}=t2;const c5=E2(ae2,o5);return Ht.jsx(en,{scope:o5,forceMount:n,children:Ht.jsx(j,{present:n||c5.open,children:Ht.jsx(o1,{asChild:true,container:s2,children:r2})})})},"MenuPortal");Le2.displayName=ae2;var y="MenuContent";var[tn,ie2]=S2(y);var Be2=z.forwardRef((t2,o5)=>{const n=Oe(y,t2.__scopeMenu);const{forceMount:r2=n.forceMount,...s2}=t2;const c5=E2(y,t2.__scopeMenu);const i2=G(y,t2.__scopeMenu);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r2||c5.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:i2.modal?Ht.jsx(nn,{...s2,ref:o5}):Ht.jsx(on2,{...s2,ref:o5})})})})});var nn=z.forwardRef((t2,o5)=>{const n=E2(y,t2.__scopeMenu);const r2=z.useRef(null);const s2=on(o5,r2);z.useEffect(()=>{const c5=r2.current;if(c5)return xS(c5)},[]);return Ht.jsx(ce2,{...t2,ref:s2,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:true,onFocusOutside:go(t2.onFocusOutside,c5=>c5.preventDefault(),{checkForDefaultPrevented:false}),onDismiss:u3(()=>n.onOpenChange(false),"onDismiss")})});var on2=z.forwardRef((t2,o5)=>{const n=E2(y,t2.__scopeMenu);return Ht.jsx(ce2,{...t2,ref:o5,trapFocus:false,disableOutsidePointerEvents:false,disableOutsideScroll:false,onDismiss:u3(()=>n.onOpenChange(false),"onDismiss")})});var rn2=Yi("MenuContent.ScrollLock");var ce2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,loop:r2=false,trapFocus:s2,onOpenAutoFocus:c5,onCloseAutoFocus:i2,disableOutsidePointerEvents:d3,onEntryFocus:f2,onEscapeKeyDown:m,onPointerDownOutside:x,onFocusOutside:l,onInteractOutside:h3,onDismiss:w,disableOutsideScroll:v,...N2}=t2;const C=E2(y,n);const _2=G(y,n);const Q3=X2(n);const pt2=ke3(n);const pe3=Yt(n);const[xt2,xe]=z.useState(null);const K3=z.useRef(null);const ft2=on(o5,K3,C.onContentChange);const $3=z.useRef(0);const H=z.useRef("");const mt2=z.useRef(0);const J2=z.useRef(null);const fe2=z.useRef("right");const Z3=z.useRef(0);const ht=v?W1:z.Fragment;const gt2=v?{as:rn2,allowPinchZoom:true}:void 0;const vt=u3(p2=>{const F2=H.current+p2;const R2=pe3().filter(j2=>!j2.disabled);const I2=document.activeElement;const ee4=R2.find(j2=>j2.ref.current===I2)?.textValue;const te3=R2.map(j2=>j2.textValue);const ne2=gn(te3,F2,ee4);const A2=R2.find(j2=>j2.textValue===ne2)?.ref.current;u3(__name(function j2(me2){H.current=me2;window.clearTimeout($3.current);if(me2!=="")$3.current=window.setTimeout(()=>j2(""),1e3)},"j"),"updateSearch")(F2);if(A2){setTimeout(()=>A2.focus())}},"handleTypeaheadSearch");z.useEffect(()=>{return()=>window.clearTimeout($3.current)},[]);vS();const P=z.useCallback(p2=>{const F2=fe2.current===J2.current?.side;return F2&&bn(p2,J2.current?.area)},[]);return Ht.jsx(tn,{scope:n,searchRef:H,onItemEnter:z.useCallback(p2=>{if(P(p2))p2.preventDefault()},[P]),onItemLeave:z.useCallback(p2=>{if(P(p2))return;K3.current?.focus();xe(null)},[P]),onTriggerLeave:z.useCallback(p2=>{if(P(p2))p2.preventDefault()},[P]),pointerGraceTimerRef:mt2,onPointerGraceIntentChange:z.useCallback(p2=>{J2.current=p2},[]),children:Ht.jsx(ht,{...gt2,children:Ht.jsx(Up,{asChild:true,trapped:s2,onMountAutoFocus:go(c5,p2=>{p2.preventDefault();K3.current?.focus({preventScroll:true})}),onUnmountAutoFocus:i2,children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:d3,onEscapeKeyDown:m,onPointerDownOutside:x,onFocusOutside:l,onInteractOutside:h3,onDismiss:w,children:Ht.jsx(bt,{asChild:true,...pt2,dir:_2.dir,orientation:"vertical",loop:r2,currentTabStopId:xt2,onCurrentTabStopIdChange:xe,onEntryFocus:go(f2,p2=>{if(!_2.isUsingKeyboardRef.current)p2.preventDefault()}),preventScrollOnEntryFocus:true,children:Ht.jsx(SS,{role:"menu","aria-orientation":"vertical","data-state":tt3(C.open),"data-radix-menu-content":"",dir:_2.dir,...Q3,...N2,ref:ft2,style:{outline:"none",...N2.style},onKeyDown:go(N2.onKeyDown,p2=>{const F2=p2.target;const R2=F2.closest("[data-radix-menu-content]")===p2.currentTarget;const I2=p2.ctrlKey||p2.altKey||p2.metaKey;const ee4=p2.key.length===1;if(R2){if(p2.key==="Tab")p2.preventDefault();if(!I2&&ee4)vt(p2.key)}const te3=K3.current;if(p2.target!==te3)return;if(!zt.includes(p2.key))return;p2.preventDefault();const ne2=pe3().filter(j2=>!j2.disabled);const A2=ne2.map(j2=>j2.ref.current);if(Ie.includes(p2.key))A2.reverse();mn(A2)}),onBlur:go(t2.onBlur,p2=>{if(!p2.currentTarget.contains(p2.target)){window.clearTimeout($3.current);H.current=""}}),onPointerMove:go(t2.onPointerMove,O(p2=>{const F2=p2.target;const R2=Z3.current!==p2.clientX;if(p2.currentTarget.contains(F2)&&R2){const I2=p2.clientX>Z3.current?"right":"left";fe2.current=I2;Z3.current=p2.clientX}}))})})})})})})});Be2.displayName=y;var sn2="MenuGroup";var le2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,...r2}=t2;return Ht.jsx(sn.div,{role:"group",...r2,ref:o5})});le2.displayName=sn2;var an="MenuLabel";var Ue3=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,...r2}=t2;return Ht.jsx(sn.div,{...r2,ref:o5})});Ue3.displayName=an;var W2="MenuItem";var we="menu.itemSelect";var Y=z.forwardRef((t2,o5)=>{const{disabled:n=false,onSelect:r2,...s2}=t2;const c5=z.useRef(null);const i2=G(W2,t2.__scopeMenu);const d3=ie2(W2,t2.__scopeMenu);const f2=on(o5,c5);const m=z.useRef(false);const x=u3(()=>{const l=c5.current;if(!n&&l){const h3=new CustomEvent(we,{bubbles:true,cancelable:true});l.addEventListener(we,w=>r2?.(w),{once:true});xp(l,h3);if(h3.defaultPrevented){m.current=false}else{i2.onClose()}}},"handleSelect");return Ht.jsx(Ge2,{...s2,ref:f2,disabled:n,onClick:go(t2.onClick,x),onPointerDown:u3(l=>{t2.onPointerDown?.(l);m.current=true},"onPointerDown"),onPointerUp:go(t2.onPointerUp,l=>{if(!m.current)l.currentTarget?.click()}),onKeyDown:go(t2.onKeyDown,l=>{const h3=d3.searchRef.current!=="";if(n||h3&&l.key===" ")return;if(re2.includes(l.key)){l.currentTarget.click();l.preventDefault()}})})});Y.displayName=W2;var Ge2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,disabled:r2=false,textValue:s2,...c5}=t2;const i2=ie2(W2,n);const d3=ke3(n);const f2=z.useRef(null);const m=on(o5,f2);const[x,l]=z.useState(false);const[h3,w]=z.useState("");z.useEffect(()=>{const v=f2.current;if(v){w((v.textContent??"").trim())}},[c5.children]);return Ht.jsx(T.ItemSlot,{scope:n,disabled:r2,textValue:s2??h3,children:Ht.jsx(Rt,{asChild:true,...d3,focusable:!r2,children:Ht.jsx(sn.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":r2||void 0,"data-disabled":r2?"":void 0,...c5,ref:m,onPointerMove:go(t2.onPointerMove,O(v=>{if(r2){i2.onItemLeave(v)}else{i2.onItemEnter(v);if(!v.defaultPrevented){const N2=v.currentTarget;N2.focus({preventScroll:true})}}})),onPointerLeave:go(t2.onPointerLeave,O(v=>i2.onItemLeave(v))),onFocus:go(t2.onFocus,()=>l(true)),onBlur:go(t2.onBlur,()=>l(false))})})})});var cn="MenuCheckboxItem";var Ke3=z.forwardRef((t2,o5)=>{const{checked:n=false,onCheckedChange:r2,...s2}=t2;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:n,children:Ht.jsx(Y,{role:"menuitemcheckbox","aria-checked":z2(n)?"mixed":n,...s2,ref:o5,"data-state":ue2(n),onSelect:go(s2.onSelect,()=>r2?.(z2(n)?true:!n),{checkForDefaultPrevented:false})})})});Ke3.displayName=cn;var $e2="MenuRadioGroup";var[ln,dn]=S2($e2,{value:void 0,onValueChange:u3(()=>{},"onValueChange")});var He2=z.forwardRef((t2,o5)=>{const{value:n,onValueChange:r2,...s2}=t2;const c5=aa(r2);return Ht.jsx(ln,{scope:t2.__scopeMenu,value:n,onValueChange:c5,children:Ht.jsx(le2,{...s2,ref:o5})})});He2.displayName=$e2;var We2="MenuRadioItem";var ze2=z.forwardRef((t2,o5)=>{const{value:n,...r2}=t2;const s2=dn(We2,t2.__scopeMenu);const c5=n===s2.value;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:c5,children:Ht.jsx(Y,{role:"menuitemradio","aria-checked":c5,...r2,ref:o5,"data-state":ue2(c5),onSelect:go(r2.onSelect,()=>s2.onValueChange?.(n),{checkForDefaultPrevented:false})})})});ze2.displayName=We2;var de2="MenuItemIndicator";var[Ve2,un]=S2(de2,{checked:false});var Xe2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,forceMount:r2,...s2}=t2;const c5=un(de2,n);return Ht.jsx(j,{present:r2||z2(c5.checked)||c5.checked===true,children:Ht.jsx(sn.span,{...s2,ref:o5,"data-state":ue2(c5.checked)})})});Xe2.displayName=de2;var pn="MenuSeparator";var Ye2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,...r2}=t2;return Ht.jsx(sn.div,{role:"separator","aria-orientation":"horizontal",...r2,ref:o5})});Ye2.displayName=pn;var xn="MenuArrow";var qe2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n,...r2}=t2;const s2=X2(n);return Ht.jsx(ES,{...s2,...r2,ref:o5})});qe2.displayName=xn;var fn2="MenuSub";var[Ro2,Qe3]=S2(fn2);var k2="MenuSubTrigger";var Je3=z.forwardRef((t2,o5)=>{const n=E2(k2,t2.__scopeMenu);const r2=G(k2,t2.__scopeMenu);const s2=Qe3(k2,t2.__scopeMenu);const c5=ie2(k2,t2.__scopeMenu);const i2=z.useRef(null);const{pointerGraceTimerRef:d3,onPointerGraceIntentChange:f2}=c5;const m={__scopeMenu:t2.__scopeMenu};const x=z.useCallback(()=>{if(i2.current)window.clearTimeout(i2.current);i2.current=null},[]);z.useEffect(()=>x,[x]);z.useEffect(()=>{const l=d3.current;return()=>{window.clearTimeout(l);f2(null)}},[d3,f2]);return Ht.jsx(se2,{asChild:true,...m,children:Ht.jsx(Ge2,{id:s2.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s2.contentId,"data-state":tt3(n.open),...t2,ref:Xh(o5,s2.onTriggerChange),onClick:u3(l=>{t2.onClick?.(l);if(t2.disabled||l.defaultPrevented)return;l.currentTarget.focus();if(!n.open)n.onOpenChange(true)},"onClick"),onPointerMove:go(t2.onPointerMove,O(l=>{c5.onItemEnter(l);if(l.defaultPrevented)return;if(!t2.disabled&&!n.open&&!i2.current){c5.onPointerGraceIntentChange(null);i2.current=window.setTimeout(()=>{n.onOpenChange(true);x()},100)}})),onPointerLeave:go(t2.onPointerLeave,O(l=>{x();const h3=n.content?.getBoundingClientRect();if(h3){const w=n.content?.dataset.side;const v=w==="right";const N2=v?-5:5;const C=h3[v?"left":"right"];const _2=h3[v?"right":"left"];c5.onPointerGraceIntentChange({area:[{x:l.clientX+N2,y:l.clientY},{x:C,y:h3.top},{x:_2,y:h3.top},{x:_2,y:h3.bottom},{x:C,y:h3.bottom}],side:w});window.clearTimeout(d3.current);d3.current=window.setTimeout(()=>c5.onPointerGraceIntentChange(null),300)}else{c5.onTriggerLeave(l);if(l.defaultPrevented)return;c5.onPointerGraceIntentChange(null)}})),onKeyDown:go(t2.onKeyDown,l=>{const h3=c5.searchRef.current!=="";if(t2.disabled||h3&&l.key===" ")return;if(Vt[r2.dir].includes(l.key)){n.onOpenChange(true);n.content?.focus();l.preventDefault()}})})})});Je3.displayName=k2;var Ze3="MenuSubContent";var et2=z.forwardRef((t2,o5)=>{const n=Oe(y,t2.__scopeMenu);const{forceMount:r2=n.forceMount,...s2}=t2;const c5=E2(y,t2.__scopeMenu);const i2=G(y,t2.__scopeMenu);const d3=Qe3(Ze3,t2.__scopeMenu);const f2=z.useRef(null);const m=on(o5,f2);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r2||c5.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:Ht.jsx(ce2,{id:d3.contentId,"aria-labelledby":d3.triggerId,...s2,ref:m,align:"start",side:i2.dir==="rtl"?"left":"right",disableOutsidePointerEvents:false,disableOutsideScroll:false,trapFocus:false,onOpenAutoFocus:u3(x=>{if(i2.isUsingKeyboardRef.current)f2.current?.focus();x.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:u3(x=>x.preventDefault(),"onCloseAutoFocus"),onFocusOutside:go(t2.onFocusOutside,x=>{if(x.target!==d3.trigger)c5.onOpenChange(false)}),onEscapeKeyDown:go(t2.onEscapeKeyDown,x=>{i2.onClose();x.preventDefault()}),onKeyDown:go(t2.onKeyDown,x=>{const l=x.currentTarget.contains(x.target);const h3=Xt[i2.dir].includes(x.key);if(l&&h3){c5.onOpenChange(false);d3.trigger?.focus();x.preventDefault()}})})})})})});et2.displayName=Ze3;function tt3(t2){return t2?"open":"closed"}__name(tt3,"tt");u3(tt3,"getOpenState");function z2(t2){return t2==="indeterminate"}__name(z2,"z");u3(z2,"isIndeterminate");function ue2(t2){return z2(t2)?"indeterminate":t2?"checked":"unchecked"}__name(ue2,"ue");u3(ue2,"getCheckedState");function mn(t2){const o5=document.activeElement;for(const n of t2){if(n===o5)return;n.focus();if(document.activeElement!==o5)return}}__name(mn,"mn");u3(mn,"focusFirst");function hn(t2,o5){return t2.map((n,r2)=>t2[(o5+r2)%t2.length])}__name(hn,"hn");u3(hn,"wrapArray");function gn(t2,o5,n){const r2=o5.length>1&&Array.from(o5).every(m=>m===o5[0]);const s2=r2?o5[0]:o5;const c5=n?t2.indexOf(n):-1;let i2=hn(t2,Math.max(c5,0));const d3=s2.length===1;if(d3)i2=i2.filter(m=>m!==n);const f2=i2.find(m=>m.toLowerCase().startsWith(s2.toLowerCase()));return f2!==n?f2:void 0}__name(gn,"gn");u3(gn,"getNextMatch");function vn(t2,o5){const{x:n,y:r2}=t2;let s2=false;for(let c5=0,i2=o5.length-1;c5r2!==h3>r2&&n<(l-m)*(r2-x)/(h3-x)+m;if(w)s2=!s2}return s2}__name(vn,"vn");u3(vn,"isPointInPolygon");function bn(t2,o5){if(!o5)return false;const n={x:t2.clientX,y:t2.clientY};return vn(n,o5)}__name(bn,"bn");u3(bn,"isPointerInGraceArea");function O(t2){return o5=>o5.pointerType==="mouse"?t2(o5):void 0}__name(O,"O");u3(O,"whenMouse");var wn=Te;var Mn=se2;var jn=Le2;var yn=Be2;var Cn=le2;var Nn=Ue3;var _n=Y;var Fn2=Ke3;var Rn=He2;var Sn=ze2;var En=Xe2;var Pn2=Ye2;var Dn=qe2;var In2=Je3;var An=et2;var q="DropdownMenu";var[kn,So2]=av(q,[Ae]);var M2=Ae();var[Tn,nt2]=kn(q);var ot3=u3(t2=>{const{__scopeDropdownMenu:o5,children:n,dir:r2,open:s2,defaultOpen:c5,onOpenChange:i2,modal:d3=true}=t2;const f2=M2(o5);const m=z.useRef(null);const[x,l]=dS({prop:s2,defaultProp:c5??false,onChange:i2,caller:q});return Ht.jsx(Tn,{scope:o5,triggerId:gS(),triggerRef:m,contentId:gS(),open:x,onOpenChange:l,onOpenToggle:z.useCallback(()=>l(h3=>!h3),[l]),modal:d3,children:Ht.jsx(wn,{...f2,open:x,onOpenChange:l,dir:r2,modal:d3,children:n})})},"DropdownMenu$1");ot3.displayName=q;var rt2="DropdownMenuTrigger";var st2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,disabled:r2=false,...s2}=t2;const c5=nt2(rt2,n);const i2=M2(n);return Ht.jsx(Mn,{asChild:true,...i2,children:Ht.jsx(sn.button,{type:"button",id:c5.triggerId,"aria-haspopup":"menu","aria-expanded":c5.open,"aria-controls":c5.open?c5.contentId:void 0,"data-state":c5.open?"open":"closed","data-disabled":r2?"":void 0,disabled:r2,...s2,ref:Xh(o5,c5.triggerRef),onPointerDown:go(t2.onPointerDown,d3=>{if(!r2&&d3.button===0&&d3.ctrlKey===false){c5.onOpenToggle();if(!c5.open)d3.preventDefault()}}),onKeyDown:go(t2.onKeyDown,d3=>{if(r2)return;if(["Enter"," "].includes(d3.key))c5.onOpenToggle();if(d3.key==="ArrowDown")c5.onOpenChange(true);if(["Enter"," ","ArrowDown"].includes(d3.key))d3.preventDefault()})})})});st2.displayName=rt2;var On="DropdownMenuPortal";var at2=u3(t2=>{const{__scopeDropdownMenu:o5,...n}=t2;const r2=M2(o5);return Ht.jsx(jn,{...r2,...n})},"DropdownMenuPortal");at2.displayName=On;var it2="DropdownMenuContent";var ct2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=nt2(it2,n);const c5=M2(n);const i2=z.useRef(false);return Ht.jsx(yn,{id:s2.contentId,"aria-labelledby":s2.triggerId,...c5,...r2,ref:o5,onCloseAutoFocus:go(t2.onCloseAutoFocus,d3=>{if(!i2.current)s2.triggerRef.current?.focus();i2.current=false;d3.preventDefault()}),onInteractOutside:go(t2.onInteractOutside,d3=>{const f2=d3.detail.originalEvent;const m=f2.button===0&&f2.ctrlKey===true;const x=f2.button===2||m;if(!s2.modal||x)i2.current=true}),style:{...t2.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ct2.displayName=it2;var Ln="DropdownMenuGroup";var Bn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Cn,{...s2,...r2,ref:o5})});Bn.displayName=Ln;var Un="DropdownMenuLabel";var Gn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Nn,{...s2,...r2,ref:o5})});Gn.displayName=Un;var Kn="DropdownMenuItem";var lt2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(_n,{...s2,...r2,ref:o5})});lt2.displayName=Kn;var $n="DropdownMenuCheckboxItem";var Hn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Fn2,{...s2,...r2,ref:o5})});Hn.displayName=$n;var Wn="DropdownMenuRadioGroup";var zn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Rn,{...s2,...r2,ref:o5})});zn.displayName=Wn;var Vn="DropdownMenuRadioItem";var Xn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Sn,{...s2,...r2,ref:o5})});Xn.displayName=Vn;var Yn="DropdownMenuItemIndicator";var qn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(En,{...s2,...r2,ref:o5})});qn.displayName=Yn;var Qn="DropdownMenuSeparator";var Jn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Pn2,{...s2,...r2,ref:o5})});Jn.displayName=Qn;var Zn="DropdownMenuArrow";var eo=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(Dn,{...s2,...r2,ref:o5})});eo.displayName=Zn;var to="DropdownMenuSubTrigger";var no=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(In2,{...s2,...r2,ref:o5})});no.displayName=to;var oo2="DropdownMenuSubContent";var ro2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n,...r2}=t2;const s2=M2(n);return Ht.jsx(An,{...s2,...r2,ref:o5,style:{...t2.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ro2.displayName=oo2;var so2=ot3;var ao=st2;var io=at2;var co2=ct2;var lo=lt2;var uo=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]];var po2=qv("heart",uo);var xo2=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]];var Me2=qv("menu",xo2);var fo2=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]];var mo2=qv("package",fo2);var ho2=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]];var go2=qv("shopping-bag",ho2);var vo2=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]];var bo2=qv("user",vo2);function je2({...t2}){return Ht.jsx(so2,{"data-slot":"dropdown-menu",...t2})}__name(je2,"je");u3(je2,"DropdownMenu");function ye2({...t2}){return Ht.jsx(ao,{"data-slot":"dropdown-menu-trigger",...t2})}__name(ye2,"ye");u3(ye2,"DropdownMenuTrigger");function Ce({className:t2,sideOffset:o5=4,...n}){return Ht.jsx(io,{children:Ht.jsx(co2,{"data-slot":"dropdown-menu-content",sideOffset:o5,className:nv("bg-popover text-popover-foreground 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t2),...n})})}__name(Ce,"Ce");u3(Ce,"DropdownMenuContent");function Ne2({className:t2,inset:o5,variant:n="default",...r2}){return Ht.jsx(lo,{"data-slot":"dropdown-menu-item","data-inset":o5,"data-variant":n,className:nv("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t2),...r2})}__name(Ne2,"Ne");u3(Ne2,"DropdownMenuItem");var dt3=u3(t2=>{return{id:String(t2.id),label:rS(String(t2.title)),href:t2.resolved_url,children:Array.isArray(t2.children)?t2.children.map(dt3):void 0}},"createMenuItem");var ut2=z.createContext(null);var wo2=u3(()=>{const t2=z.useContext(ut2);if(!t2){throw new Error("useMenu must be used within a MenuProvider")}return t2},"useMenu");var Mo2=u3(({children:t2,menu_id:o5,...n})=>{const[r2,s2]=z.useState([]);const[c5,i2]=z.useState(true);const[d3,f2]=z.useState(null);const[m,x]=z.useState(false);const l=z.useRef(null);const h3=z.useCallback(()=>{const C="Failed to fetch menu items";f2(C)},[]);const w=u3(async C=>{if(m)return;i2(true);x(true);f2(null);try{const _2=await wvcClient.getMenuItems({menuId:parseInt(o5)});const Q3=_2.map(dt3);s2(Q3)}catch{h3()}finally{i2(false);x(false)}},"fetchMenuItems");z.useEffect(()=>{l.current=new AbortController;w(l.current.signal);const C=u3(()=>{v()},"handleMenuRefresh");window.addEventListener("WVC_MENU_REFRESH",C);return()=>{if(l.current){l.current.abort()}window.removeEventListener("WVC_MENU_REFRESH",C)}},[]);const v=u3(async()=>{if(l.current){l.current.abort()}l.current=new AbortController;await w(l.current.signal)},"refetch");const N2={menuItems:r2,loading:c5,error:d3,refetch:v,isRefetching:m};return Ht.jsx(ut2.Provider,{value:N2,children:Ht.jsx("div",{...n,"data-wvc-dynamic":"MenuProvider","data-wvc-menu_id":o5,children:t2})})},"WordpressMenuProvider");var jo2=Mo2;var yo2=[{label:"Home",href:"/",active:true},{label:"Shop",href:"/shop",hasDropdown:true,dropdownItems:[{label:"Fibre Filler",href:"/shop/fibre-filler"},{label:"Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Primers",href:"/shop/primers"},{label:"Wall and Roof Paint",href:"/shop/wall-and-roof-paint"}]},{label:"Waterproofing Solutions",href:"/waterproofing-solutions"},{label:"How It Works",href:"/how-it-works"},{label:"Applications",href:"/applications"},{label:"Help & Advice",href:"/help-advice"},{label:"About us",href:"/about-us"},{label:"Contact",href:"/contact"}];var _e=[{label:"Shop Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Shop Fibre Filler",href:"/shop/fibre-filler"},{label:"Shop Primers",href:"/shop/primers"},{label:"Shop Wall & Roof Paint",href:"/shop/wall-and-roof-paint"},{label:"Seamless Liquid Rubber Waterproofing",href:"/shop/liquid-rubber"},{label:"Reinforce Cracks, Joints & Leak Points",href:"/shop/fibre-filler"},{label:"Prepare Surfaces for Stronger Adhesion",href:"/shop/primers"},{label:"Durable Wall & Roof Protection That Lasts",href:"/shop/wall-and-roof-paint"}];function Co2(){const[t2,o5]=z.useState("");const[n,r2]=z.useState(false);const{menuItems:s2}=wo2();const c5=s2&&s2.length>0?s2.map(i2=>({label:i2.label||i2.title||"",href:i2.href||i2.url||"#",dropdownItems:i2.children?.map(d3=>({label:d3.label||d3.title||"",href:d3.href||d3.url||"#"})),hasDropdown:Boolean(i2.children&&i2.children.length>0),active:false})):yo2;return Ht.jsxs("header",{id:"header",className:"w-full bg-white text-[#4B5563] relative z-50 overflow-visible",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:[Ht.jsx("section",{className:"w-full bg-white border-b border-[#EBEFF5]",children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 py-4 md:py-6 flex flex-wrap items-center justify-between gap-4",children:[Ht.jsx("div",{className:"flex-shrink-0 flex items-center",children:Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block","aria-label":"U-Proof Home",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"U-Proof Waterproofing Solutions Logo",className:"w-auto h-8 md:h-12 max-w-[200px] object-contain"})})}),Ht.jsx("div",{className:"hidden md:flex flex-1 max-w-[500px] mx-4 items-center",children:Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none text-[#0046BE]",children:Ht.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 26 26","aria-hidden":"true",className:"stroke-[#0046BE]",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"})]})}),Ht.jsx(It,{type:"text",placeholder:"Find product",value:t2,onChange:u3(i2=>o5(i2.target.value),"onChange"),className:"w-full bg-[#EDF0F2] border-[#F3F4F6] text-[#6F7C8E] text-[15px] pl-10 pr-4 h-11 rounded focus-visible:ring-1 focus-visible:ring-[#0071A2] placeholder:text-[#6F7C8E]"})]})}),Ht.jsxs("div",{className:"flex items-center gap-4 md:gap-6",children:[Ht.jsxs(cS,{to:"/wishlist",className:"group flex items-center gap-2 text-left","aria-label":"Wishlist Products",children:[Ht.jsxs("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:[Ht.jsx(po2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"}),Ht.jsx(oS,{className:"absolute -top-2 -right-2 bg-[#FFC501] text-[#4B5563] text-[11px] font-bold h-4 min-w-[16px] px-1 rounded-full flex items-center justify-center p-0 border-none",children:"0"})]}),Ht.jsxs("div",{className:"hidden lg:flex flex-col leading-tight",children:[Ht.jsx("span",{className:"text-[11px] text-[#757575] font-normal",children:"Wishlist"}),Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"Products"})]})]}),Ht.jsxs(cS,{to:"/my-account",className:"group flex items-center gap-2 text-left","aria-label":"My Account",children:[Ht.jsx("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:Ht.jsx(bo2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"})}),Ht.jsxs("div",{className:"hidden lg:flex flex-col leading-tight",children:[Ht.jsx("span",{className:"text-[11px] text-[#757575] font-normal",children:"Account"}),Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"Sign in"})]})]}),Ht.jsxs(cS,{to:"/cart",className:"group flex items-center gap-2 text-left","aria-label":"Shopping Cart",children:[Ht.jsxs("div",{className:"relative w-10 h-10 rounded-lg border border-[#EDF0F2] flex items-center justify-center text-[#111827] group-hover:border-[#FFD401] transition-colors",children:[Ht.jsx(go2,{className:"w-5 h-5 text-[#333333] stroke-[1.5]"}),Ht.jsx(oS,{className:"absolute -top-2 -right-2 bg-[#FFC501] text-[#4B5563] text-[11px] font-bold h-4 min-w-[16px] px-1 rounded-full flex items-center justify-center p-0 border-none",children:"0"})]}),Ht.jsx("div",{className:"hidden lg:flex flex-col leading-tight",children:Ht.jsx("span",{className:"text-sm font-semibold text-[#111827] group-hover:text-[#FFC501] transition-colors",children:"R0,00"})})]}),Ht.jsxs(Ct,{open:n,onOpenChange:r2,children:[Ht.jsx(Et,{asChild:true,children:Ht.jsxs(fS,{variant:"outline",size:"icon",className:"lg:hidden h-10 w-10 rounded-lg border border-[#EDF0F2]",children:[Ht.jsx(Me2,{className:"w-5 h-5 text-[#111827]"}),Ht.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),Ht.jsxs(Tt,{side:"right",className:"w-[300px] sm:w-[360px] p-0",children:[Ht.jsx(_t,{className:"p-4 border-b border-[#EDF0F2] text-left",children:Ht.jsx(wt,{className:"text-lg font-bold text-[#111827]",children:"Menu"})}),Ht.jsxs("div",{className:"p-4 space-y-4 overflow-y-auto max-h-[calc(100vh-80px)]",children:[Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx(It,{type:"text",placeholder:"Find product",className:"w-full bg-[#EDF0F2] border-[#F3F4F6] text-[14px] pl-9 h-10"}),Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:Ht.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 26 26",className:"stroke-[#0046BE]","aria-hidden":"true",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2"})]})})]}),Ht.jsxs("div",{className:"pt-2",children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Categories"}),Ht.jsx("div",{className:"space-y-1",children:_e.slice(0,4).map(i2=>Ht.jsxs(cS,{to:i2.href,onClick:u3(()=>r2(false),"onClick"),className:"flex items-center justify-between py-2 text-sm text-[#111827] hover:text-[#0071A2] font-medium",children:[Ht.jsx("span",{children:i2.label}),Ht.jsx(Nt,{className:"w-4 h-4 text-gray-400"})]},i2.label))})]}),Ht.jsx("hr",{className:"border-[#EDF0F2]"}),Ht.jsxs("div",{children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Navigation"}),Ht.jsx("div",{className:"space-y-1",children:c5.map(i2=>Ht.jsx(cS,{to:i2.href,onClick:u3(()=>r2(false),"onClick"),className:`block py-2 text-sm font-semibold transition-colors ${i2.active?"text-[#0071A2]":"text-[#14181F] hover:text-[#0071A2]"}`,children:i2.label},i2.label))})]})]})]})]})]})]})}),Ht.jsx("nav",{"aria-label":"Main Navigation",className:"hidden lg:block w-full bg-white border-t border-[#EDF0F2] shadow-[0_16px_32px_-4px_rgba(12,12,13,0.08)] relative z-40",style:{boxShadow:"rgba(12, 12, 13, 0.08) 0px 16px 32px -4px"},children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 flex items-stretch justify-start",children:[Ht.jsx("div",{className:"flex items-stretch flex-1 overflow-x-auto scrollbar-none",children:c5.map(i2=>{if(i2.hasDropdown&&i2.dropdownItems&&i2.dropdownItems.length>0){return Ht.jsxs(je2,{children:[Ht.jsx(ye2,{asChild:true,children:Ht.jsxs("button",{type:"button",className:"h-[59px] px-5 flex items-center gap-1 text-[14.4px] font-semibold text-[#14181F] hover:bg-[#0071A2] hover:text-white border-r border-[#EDF0F2] transition-colors cursor-pointer outline-none",children:[Ht.jsx("span",{children:i2.label}),Ht.jsx(AS,{className:"w-3.5 h-3.5 opacity-70"})]})}),Ht.jsx(Ce,{align:"start",className:"w-[220px] bg-white p-2 rounded-md shadow-lg border border-[#EDF0F2]",children:i2.dropdownItems.map(d3=>Ht.jsx(Ne2,{asChild:true,children:Ht.jsx(cS,{to:d3.href,className:"block py-2 px-3 text-sm font-medium text-[#111827] hover:bg-[#F3F4F6] rounded",children:d3.label})},d3.label))})]},i2.label)}return Ht.jsx(cS,{to:i2.href,className:`h-[59px] px-5 flex items-center justify-center text-[14.4px] font-semibold border-r border-[#EDF0F2] transition-colors whitespace-nowrap ${i2.active?"bg-[#0071A2] text-white":"text-[#14181F] hover:bg-[#0071A2] hover:text-white"}`,style:i2.active?{backgroundColor:"rgb(0, 113, 162)",color:"#FFFFFF"}:void 0,children:i2.label},i2.label)})})]})})]})}__name(Co2,"Co");u3(Co2,"HeaderContent");function Eo2(){return Ht.jsx(jo2,{menu_id:"16",children:Ht.jsx(Co2,{})})}__name(Eo2,"Eo");u3(Eo2,"Header");function Po(){const t2=u3(()=>{window.scrollTo({top:0,behavior:"smooth"})},"scrollToTop");return Ht.jsx("footer",{id:"mfn-footer-template",className:"w-full bg-white text-[#4B5563]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsxs("div",{className:"w-full max-w-[1260px] mx-auto px-4 md:px-6 pt-16 pb-8",children:[Ht.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-8 lg:gap-12 items-start",children:[Ht.jsxs("div",{className:"md:col-span-5 lg:col-span-5 flex flex-col space-y-4 pr-0 lg:pr-8",children:[Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block mb-2 w-fit",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",className:"w-[228px] h-auto object-contain"})}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"U-Proof supplies high-performance waterproofing products designed to protect roofs, walls, gutters, concrete, metal and exposed surfaces from leaks, weather damage and long-term deterioration."}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Built for South African conditions, our waterproofing range is suitable for homeowners, contractors, builders and property maintenance teams."})]}),Ht.jsxs("div",{className:"md:col-span-7 lg:col-span-7 grid grid-cols-1 sm:grid-cols-3 gap-8",children:[Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Shop Products"}),Ht.jsx("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:Ht.jsx("li",{children:Ht.jsx(cS,{to:"/products",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Products"})})})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Solutions"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/roof-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Roof Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/metal-roof-protection",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Metal Roof Protection"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/concrete-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Concrete Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/gutters-flashings",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Gutters & Flashings"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/balconies-terraces",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Balconies & Terraces"})})]})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Legal"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/terms-conditions",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Terms & Conditions"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/privacy-policy",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Privacy Policy"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/about-us",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"About us"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/contact",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Contact"})})]})]})]})]}),Ht.jsxs("div",{className:"mt-12 py-[25px] border-t border-b border-[#EDF0F2] flex items-center justify-between",children:[Ht.jsxs("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Visa.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Maestro.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Mastercard.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/PayPal.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"})]}),Ht.jsx(fS,{variant:"ghost",size:"icon",onClick:t2,className:"text-[#4B5563] hover:text-[#FFC501] hover:bg-transparent h-8 w-8 p-0","aria-label":"Back to top",children:Ht.jsx(TS,{className:"w-5 h-5"})})]}),Ht.jsxs("div",{className:"pt-6 text-center text-[14px] leading-[22px] text-[#7A838F]",children:["xA9 2026 U-Proof | All Rights Reserved |"," ",Ht.jsx(cS,{to:"/privacy-policy",className:"text-[#7A838F] hover:text-[#FFC501] transition-colors duration-150",children:"Privacy Policy"})]})]})})}__name(Po,"Po");u3(Po,"Footer");var e=[["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"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]];var o=qv("shield-check",e);var e2=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]];var h=qv("sun",e2);var e3=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]];var c2=qv("layers",e3);var t=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]];var e4=qv("paintbrush",t);var o2=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]];var e5=qv("droplets",o2);var e6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]];var o3=qv("circle-question-mark",e6);var c3=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]];var r=qv("hammer",c3);var c4=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]];var d=qv("sun-medium",c4);var o4=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]];var a=qv("mail",o4);var S3=Object.defineProperty;var s=__name((t2,o5)=>S3(t2,"name",{value:o5,configurable:true}),"s");var z3=[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]];var W3=qv("anchor",z3);var O2=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]];var h2=qv("calendar",O2);var A=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]];var L=qv("truck",A);function q2(){return Ht.jsxs("section",{className:"relative w-full overflow-hidden",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',color:"rgb(75, 85, 99)"},children:[Ht.jsx("style",{children:`@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');`}),Ht.jsxs("div",{className:"relative w-full min-h-[600px] flex items-center overflow-hidden",style:{background:"#004E70"},children:[Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/6_1f2cdfd1b4.png",alt:"U-Proof technician applying liquid rubber waterproofing",className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"75% center"}}),Ht.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(90deg, rgba(0,49,71,0.94) 0%, rgba(0,78,112,0.90) 32%, rgba(0,113,162,0.55) 58%, rgba(0,113,162,0.12) 78%, rgba(0,113,162,0) 92%)"}}),Ht.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(0deg, rgba(0,49,71,0.55) 0%, rgba(0,49,71,0) 35%)"}}),Ht.jsx("div",{className:"relative z-10 w-full max-w-[1260px] mx-auto px-6 md:px-12 py-16 md:py-24",children:Ht.jsxs("div",{className:"flex flex-col items-start gap-6 max-w-[640px]",children:[Ht.jsxs("div",{className:"flex items-center gap-4",children:[Ht.jsx("div",{className:"flex items-center justify-center flex-shrink-0",style:{width:"60px",height:"60px",background:"#FFD401",borderRadius:"14px",boxShadow:"0 10px 24px rgba(0,20,30,0.35)"},children:Ht.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#06202C",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[Ht.jsx("path",{d:"M3 11l9-8 9 8"}),Ht.jsx("path",{d:"M5 10v10h14V10"})]})}),Ht.jsxs("div",{className:"flex flex-col",style:{gap:"3px"},children:[Ht.jsx("span",{style:{fontSize:"32px",fontWeight:800,color:"#ffffff",letterSpacing:"-0.02em",lineHeight:1},children:"U-PROOF"}),Ht.jsx("span",{style:{fontSize:"11.5px",fontWeight:700,letterSpacing:"0.16em",color:"#FFD401",textTransform:"uppercase",lineHeight:1},children:"Waterproofing Specialists"})]})]}),Ht.jsxs("div",{className:"flex items-center gap-2",style:{background:"rgba(255,255,255,0.10)",border:"1px solid rgba(255,255,255,0.22)",borderRadius:"999px",padding:"7px 16px 7px 12px"},children:[Ht.jsx("span",{style:{width:"7px",height:"7px",borderRadius:"50%",background:"#FFD401",flexShrink:0}}),Ht.jsx("span",{style:{fontSize:"12.5px",fontWeight:700,letterSpacing:"0.04em",color:"#ffffff",textTransform:"uppercase"},children:"South Africa's Waterproofing Specialists"})]}),Ht.jsx("h1",{style:{margin:0,fontSize:"44px",lineHeight:1.1,fontWeight:800,letterSpacing:"-0.02em",color:"#ffffff"},children:"Waterproofing that actually stops leaks"}),Ht.jsx("p",{style:{margin:0,fontSize:"17px",lineHeight:1.55,color:"rgba(255,255,255,0.85)",maxWidth:"480px"},children:"Liquid rubber, primers and sealants engineered for South African roofs, walls and concrete — shop online and get it delivered nationwide."}),Ht.jsxs("div",{className:"flex items-center gap-3 flex-wrap",style:{marginTop:"4px"},children:[Ht.jsx(fS,{asChild:true,className:"bg-[#FFD401] hover:bg-[#ebd000] text-[#1C1C1C] hover:text-[#1C1C1C] rounded-[4px] font-semibold text-[15px] leading-[18px] px-6 py-5 h-auto transition-all shadow-sm hover:scale-[1.02]",style:{fontFamily:"Inter, sans-serif"},children:Ht.jsx(cS,{to:"/shop",children:"Shop Waterproofing Products"})}),Ht.jsx(fS,{asChild:true,variant:"outline",className:"border-white/40 text-white hover:bg-white/10 rounded-[4px] font-semibold text-[15px] leading-[18px] px-5 py-5 h-auto transition-all bg-transparent",style:{fontFamily:"Inter, sans-serif"},children:Ht.jsx(cS,{to:"/how-it-works",children:"See How It Works"})})]}),Ht.jsxs("div",{className:"flex items-center gap-5 flex-wrap",style:{marginTop:"10px"},children:[Ht.jsxs("div",{className:"flex items-center gap-2",children:[Ht.jsxs("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:Ht.jsx("path",{d:"M20 6 9 17l-5-5"})}),Ht.jsx("span",{style:{fontSize:"13.5px",fontWeight:600,color:"rgba(255,255,255,0.9)"},children:"DIY & Contractor Approved"})]})]})]})})]})]})}__name(q2,"q");s(q2,"HeroSection");var D=[{id:"seal",title:"Stops Leaks for Good",description:"Creates a seamless waterproof membrane that seals cracks and stops leaks before they start.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:Ht.jsx("path",{d:"M12 2 20 6 20 13 12 22 4 13 4 6 Z"})})},{id:"conditions",title:"Built for SA Conditions",description:"Engineered to handle intense UV, summer storms and temperature swings without breaking down.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:[Ht.jsx("circle",{cx:12,cy:12,r:4}),Ht.jsx("line",{x1:12,y1:1,x2:12,y2:4}),Ht.jsx("line",{x1:12,y1:20,x2:12,y2:23}),Ht.jsx("line",{x1:1,y1:12,x2:4,y2:12}),Ht.jsx("line",{x1:20,y1:12,x2:23,y2:12}),Ht.jsx("line",{x1:18.36,y1:5.64,x2:20.48,y2:3.52}),Ht.jsx("line",{x1:3.52,y1:20.48,x2:5.64,y2:18.36}),Ht.jsx("line",{x1:5.64,y1:5.64,x2:3.52,y2:3.52}),Ht.jsx("line",{x1:20.48,y1:20.48,x2:18.36,y2:18.36})]})},{id:"flexible",title:"Bends, Doesn't Crack",description:"Stays flexible through years of expansion and contraction, so it won't crack, peel or fail.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:Ht.jsx("path",{d:"M2 12c2-4 4-4 6 0s4 4 6 0 4-4 6 0"})})},{id:"easy",title:"Roller, Brush or Spray",description:"Apply it your way u2014 no special tools or training needed, just a roller, brush or spray gun.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:[Ht.jsx("rect",{x:3,y:4,width:13,height:6,rx:1}),Ht.jsx("line",{x1:9,y1:10,x2:9,y2:14}),Ht.jsx("line",{x1:9,y1:14,x2:15,y2:14}),Ht.jsx("line",{x1:15,y1:14,x2:15,y2:20})]})},{id:"adhesion",title:"Sticks to Almost Anything",description:"Bonds to concrete, metal, tiles, brick and more for long-lasting, reliable protection.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:[Ht.jsx("circle",{cx:8,cy:12,r:5}),Ht.jsx("circle",{cx:16,cy:12,r:5})]})},{id:"safe",title:"Low-Odour & Water-Based",description:"A safe, water-based formula with low odour u2014 ideal for occupied homes and businesses.",icon:Ht.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"#FFD401",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:"up-icon w-6 h-6 text-[#FFD401]","aria-hidden":"true",children:Ht.jsx("path",{d:"M12 22c4.97 0 9-3.582 9-8 0-4.418-9-13-9-13S3 9.582 3 14c0 4.418 4.03 8 9 8z"})})}];function _(){return Ht.jsx("section",{className:"w-full bg-white relative py-12 md:py-16",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 md:px-8",children:[Ht.jsxs("div",{className:"mb-10 md:mb-12 text-left",children:[Ht.jsx("span",{className:"block text-[13px] font-bold tracking-[0.12em] text-[#0071A2] uppercase mb-3",children:"Why U-Proof"}),Ht.jsx("h2",{className:"text-[32px] md:text-[40px] font-semibold tracking-[-1px] leading-[40px] md:leading-[48px] text-[#111827]",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"A small leak today is a big repair bill tomorrow"}),Ht.jsx("p",{className:"mt-3 text-[16px] leading-[24px] text-[#4B5563] max-w-4xl",children:"U-Proof supplies liquid rubber, fibre-reinforced filler, primers and weatherproof paint in 5L and 20L, delivered nationwide u2014 the same products contractors use, without the call-out fee."})]}),Ht.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 border-t border-l border-[#EDF0F2]",children:D.map(t2=>Ht.jsxs("div",{className:"p-6 md:p-8 flex items-start gap-5 border-r border-b border-[#EDF0F2] bg-white transition-colors duration-200",children:[Ht.jsx("div",{className:"w-12 h-16 shrink-0 border border-[#FFD401] flex items-center justify-center rounded-[2px] bg-transparent",children:t2.icon}),Ht.jsxs("div",{className:"flex-1",children:[Ht.jsx("h3",{className:"text-[18px] md:text-[20px] font-semibold leading-[27px] tracking-[-0.5px] text-[#111827] mb-2",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:t2.title}),Ht.jsx("p",{className:"text-[14px] md:text-[15px] font-normal leading-[22px] text-[#767676]",children:t2.description})]})]},t2.id))}),Ht.jsx("div",{className:"mt-12 flex justify-center",children:Ht.jsx(fS,{asChild:true,className:"bg-[#FFD401] hover:bg-[#e6be00] text-[#1C1C1C] text-[15px] font-semibold px-8 py-6 rounded-[4px] shadow-none h-auto transition-all duration-200 hover:scale-[1.02]",style:{fontFamily:"Inter, sans-serif"},children:Ht.jsx(cS,{to:"/shop",children:"Shop Waterproofing Products"})})})]})})}__name(_,"_");s(_,"WhyChooseUsSection");var E3=[{id:"liquid-rubber",title:"Liquid Rubber",description:"Seamless, flexible waterproofing membrane designed to protect roofs, walls, and foundations.",buttonText:"Shop Liquid Rubber",href:"#liquid-rubber",imageSrc:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/ecommerce_category_14b13408.png",imageAlt:"Liquid Rubber",icon:e5},{id:"fibre-filler",title:"Fibre Filler",description:"Reinforced liquid rubber designed for repairing cracks, joints, and problem areas requiring extra strength and durability.",buttonText:"Shop Fibre Filler",href:"#fibre-filler",imageSrc:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/ecommerce_category_a40f2663.png",imageAlt:"Fibre Filler",icon:c2},{id:"primers",title:"Primers",description:"Specialised primers that improve adhesion, protect surfaces, and prepare substrates for optimal waterproofing performance.",buttonText:"Shop Primers",href:"#primers",imageSrc:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/ecommerce_category_0d802eaa.png",imageAlt:"Primers",icon:o},{id:"wall-roof-paint",title:"Wall & Roof Paint",description:"Durable, weather-resistant coating designed to enhance and protect both interior and exterior surfaces.",buttonText:"Shop Paint",href:"#wall-roof-paint",imageSrc:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/ecommerce_category_228fd30d.png",imageAlt:"Wall & Roof Paint",icon:e4}];function G2(){return Ht.jsx("section",{id:"our-waterproofing-solutions",className:"w-full bg-[#f3f4f6] text-[#4b5563] py-16 px-4 md:px-8",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto",children:[Ht.jsxs("div",{className:"mb-10 max-w-3xl",children:[Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-[40px] font-bold text-[#111827] tracking-tight leading-tight mb-3 font-sans",children:"Our Waterproofing Solutions"}),Ht.jsx("p",{className:"text-[#4b5563] text-base md:text-lg leading-relaxed",children:"A complete range of waterproofing products designed to work together for long-lasting protection and performance."})]}),Ht.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 items-stretch",children:E3.map(t2=>{const o5=t2.icon;return Ht.jsxs("div",{className:"group flex flex-col justify-between bg-white rounded-none border border-transparent shadow-sm hover:shadow-md transition-shadow duration-300",children:[Ht.jsxs("div",{children:[Ht.jsxs("div",{className:"relative w-full h-44 overflow-hidden bg-white",children:[Ht.jsx("div",{className:"absolute top-0 left-0 bottom-0 w-[80px] bg-[#FFD401] z-10 flex items-center justify-center transition-transform duration-300 group-hover:-translate-x-2",children:Ht.jsx(o5,{className:"w-8 h-8 text-white stroke-[2.2]"})}),Ht.jsx("div",{className:"w-full h-full flex items-center justify-center pl-16 pr-3 overflow-hidden",children:Ht.jsx("img",{src:t2.imageSrc,alt:t2.imageAlt,className:"w-full h-full object-contain transform translate-x-2 group-hover:translate-x-0 transition-transform duration-300"})})]}),Ht.jsxs("div",{className:"p-6",children:[Ht.jsx("h4",{className:"text-[26px] sm:text-[28px] font-semibold text-[#111827] leading-[34px] tracking-[-1px] mb-3",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:t2.title}),Ht.jsx("p",{className:"text-sm sm:text-base text-[#4b5563] leading-6 font-normal",children:t2.description})]})]}),Ht.jsx("div",{className:"mt-auto px-0 pb-0",children:Ht.jsx(fS,{asChild:true,className:"w-full h-auto py-5 px-6 rounded-none bg-[#FFD401] hover:bg-[#e6be00] text-[#1c1c1c] font-semibold text-[15px] leading-[18px] tracking-normal transition-colors border-0 shadow-none text-center block",children:Ht.jsx(cS,{to:t2.href,className:"w-full flex items-center justify-center",children:Ht.jsx("span",{children:t2.buttonText})})})})]},t2.id)})})]})})}__name(G2,"G");s(G2,"WaterproofingSolutionsSection");var J=[{id:"roof-waterproofing",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-roof-waterproofing.png",title:"Roof Waterproofing",description:"Stop leaks and protect your roof against rain, UV exposure and weather-related damage.",link:"#"},{id:"metal-roof-protection",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-metal-roof-protection.png",title:"Metal Roof Protection",description:"Prevent corrosion, seal joints and extend the lifespan of metal roofing systems.",link:"#"},{id:"concrete-waterproofing",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-concrete-waterproofing.png",title:"Concrete Waterproofing",description:"Protect concrete surfaces from water ingress, cracking and long-term deterioration.",link:"#"},{id:"gutters-flashings",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-gutters-flashings.png",title:"Gutters & Flashings",description:"Seal vulnerable joints, gutters and flashing details where leaks commonly occur.",link:"#"},{id:"balconies-terraces",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-balconies-terraces.png",title:"Balconies & Terraces",description:"Create a durable waterproof barrier for exposed outdoor living spaces.",link:"#"},{id:"parapet-walls",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/09/uproof-mb1-parapet-walls.png",title:"Parapet Walls",description:"Prevent moisture penetration and protect structural surfaces from water damage.",link:"#"}];function $2(){return Ht.jsxs("section",{className:"w-full bg-white relative py-12 md:py-16",style:{backgroundPosition:"0% 0%",backgroundRepeat:"no-repeat",color:"rgb(75, 85, 99)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',border:"0px none rgb(75, 85, 99)",paddingBottom:"50px"},children:[Ht.jsx("style",{children:`
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
`}),Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 md:px-6",children:[Ht.jsxs("div",{className:"text-center mb-10 md:mb-12",children:[Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-[40px] font-bold text-[#111827] tracking-tight leading-tight mb-3",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',letterSpacing:"-1px"},children:"Where Can U-Proof Be Used?"}),Ht.jsx("p",{className:"text-base text-[#4B5563] max-w-3xl mx-auto leading-relaxed",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Protect and waterproof a wide range of residential, commercial, and industrial surfaces with U-Proof's versatile waterproofing solutions."})]}),Ht.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:J.map(t2=>Ht.jsxs("div",{className:"bg-[#F3F4F6] rounded-[10px] p-[10px] flex flex-col justify-between transition-shadow duration-300 hover:shadow-md",children:[Ht.jsxs("div",{className:"flex flex-col items-center",children:[Ht.jsx("div",{className:"w-full overflow-hidden rounded-[8px] bg-neutral-200 aspect-square",children:Ht.jsx("img",{src:t2.image,alt:t2.title,className:"w-full h-full object-cover",loading:"lazy"})}),Ht.jsxs("div",{className:"pt-6 pb-4 px-3 text-center flex flex-col items-center flex-grow",children:[Ht.jsx("h3",{className:"text-2xl lg:text-[32px] font-semibold text-[#111827] leading-[38px] mb-3",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',letterSpacing:"-1px",color:"rgb(17, 24, 39)"},children:t2.title}),Ht.jsx("p",{className:"text-[16px] leading-[24px] text-[#4B5563]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',color:"rgb(75, 85, 99)"},children:t2.description})]})]}),Ht.jsx("div",{className:"w-full pt-3",children:Ht.jsx(fS,{asChild:true,className:"w-full bg-[#FFD401] hover:bg-[#e6be00] text-[#1C1C1C] font-semibold rounded-[4px] h-auto py-5 text-[15px] leading-[18px] transition-colors border-0 shadow-none cursor-pointer",style:{fontFamily:"Inter, sans-serif"},children:Ht.jsx(cS,{to:t2.link,children:"Read more"})})})]},t2.id))})]})]})}__name($2,"$");s($2,"ApplicationsGridSection");var V=[{id:"bonding-liquid-20l",title:"Bonding Liquid Primer 20L",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/uproof-20lt-bonding-liquid-front.jpg",alt:"Bonding Liquid Primer 20L",buttonText:"Read more",isAddToCart:false},{id:"bonding-liquid-5l",title:"Bonding Liquid Primer 5L",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/uproof-5lt-bonding-liquid-front.jpg",alt:"Bonding Liquid Primer 5L",buttonText:"Read more",isAddToCart:false},{id:"fibre-filler-20l",title:"Fibre Filler 20L",image:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/uproof-20lt-fiber-filler-front-300x300-1.jpg",alt:"Fibre Filler 20L",price:"R500,00",buttonText:"Add to cart",isAddToCart:true}];function Y2(){const[t2,o5]=z.useState({});const l=s(a2=>{o5(r2=>({...r2,[a2]:!r2[a2]}))},"toggleWishlist");return Ht.jsxs("section",{className:"w-full relative",style:{backgroundColor:"rgb(243, 244, 246)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',paddingTop:"64px",paddingBottom:"64px",marginBottom:"64px",color:"rgb(75, 85, 99)"},children:[Ht.jsx("style",{children:`
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@500;600;700&display=swap');
`}),Ht.jsx("div",{className:"max-w-[1260px] mx-auto px-4 sm:px-6 lg:px-8",children:Ht.jsxs("div",{className:"flex flex-col lg:flex-row items-stretch gap-6 lg:gap-0",children:[Ht.jsxs("div",{className:"w-full lg:w-[40%] flex flex-col justify-between relative overflow-hidden rounded-[4px] p-8 md:p-10 shadow-xs",style:{backgroundColor:"rgb(219, 233, 255)",minHeight:"420px"},children:[Ht.jsx("div",{className:"absolute inset-0 pointer-events-none bg-no-repeat bg-right-bottom bg-contain",style:{backgroundImage:'url("https://www.legacy-uproof.creativetouchdigital.co.za/wp-content/uploads/2026/08/hardwarestore-home-wrapbg1.webp")',backgroundPosition:"right bottom",backgroundSize:"75% auto"}}),Ht.jsxs("div",{className:"relative z-10 max-w-[340px]",children:[Ht.jsxs("h3",{className:"mb-4 tracking-[-1px]",style:{color:"rgb(17, 24, 39)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:"32px",fontWeight:600,lineHeight:"38px"},children:["Get Your Roof",Ht.jsx("br",{}),"Rain-Ready"]}),Ht.jsx("p",{className:"text-[16px] leading-[24px] font-normal",style:{color:"rgb(17, 24, 39)",fontFamily:'"Inter Tight", sans-serif'},children:"Protect your home or project before the next downpour with U-Proof waterproofing products designed to seal leaks, reinforce problem areas, and withstand South African weather conditions."})]}),Ht.jsx("div",{className:"relative z-10 pt-6",children:Ht.jsx(fS,{asChild:true,className:"w-full sm:w-auto h-auto py-[16px] px-[24px] text-[15px] font-semibold text-[#1C1C1C] rounded-[4px] transition-transform hover:scale-[1.02] active:scale-[0.98]",style:{backgroundColor:"rgb(255, 212, 1)",border:"0px solid rgba(0, 0, 0, 0)",fontFamily:"Inter, sans-serif"},children:Ht.jsx(cS,{to:"#shop",className:"text-center",children:"Shop Waterproofing Products"})})})]}),Ht.jsx("div",{className:"w-full lg:w-[60%] grid grid-cols-1 md:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-[#EDF0F2]",children:V.map(a2=>{const r2=!!t2[a2.id];return Ht.jsxs("div",{className:"flex flex-col justify-between px-4 sm:px-6 py-6 md:py-0 bg-transparent group",children:[Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx(cS,{to:`#product-${a2.id}`,className:"block overflow-hidden bg-white rounded-[4px] p-2 mb-4 aspect-square flex items-center justify-center transition-transform duration-300 group-hover:scale-[1.02]",children:Ht.jsx("img",{src:a2.image,alt:a2.alt,className:"w-full h-auto max-h-[219px] object-contain",loading:"lazy"})}),Ht.jsx(cS,{to:`#product-${a2.id}`,className:"transition-colors hover:text-[#0071A2]",children:Ht.jsx("h4",{className:"text-[20px] font-semibold leading-[27px] tracking-[-1px] mb-2",style:{color:"rgb(17, 24, 39)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:a2.title})}),a2.price?Ht.jsx("p",{className:"text-[16px] font-semibold leading-[16px] mb-4",style:{color:"rgb(17, 24, 39)",fontFamily:'"Inter Tight", sans-serif'},children:a2.price}):Ht.jsx("div",{className:"min-h-[16px] mb-4"})]}),Ht.jsxs("div",{className:"flex items-center gap-2 pt-2",children:[Ht.jsx(fS,{asChild:true,className:"flex-1 h-[46px] text-[15px] font-semibold text-[#1C1C1C] rounded-[4px] hover:bg-[#ebd522] transition-colors shadow-none",style:{backgroundColor:"rgb(255, 212, 1)",fontFamily:'"Inter Tight", sans-serif'},children:Ht.jsx(cS,{to:`#action-${a2.id}`,children:a2.buttonText})}),Ht.jsx(fS,{variant:"ghost",size:"icon",onClick:s(()=>l(a2.id),"onClick"),className:"h-[46px] w-[46px] rounded-[4px] shrink-0 text-slate-400 hover:text-red-500 hover:bg-slate-200/50","aria-label":"Add to Wishlist",children:Ht.jsx(po2,{className:`w-5 h-5 transition-colors ${r2?"fill-red-500 text-red-500":"text-slate-400"}`,strokeWidth:1.5})})]})]},a2.id)})})]})})]})}__name(Y2,"Y");s(Y2,"RainReadyProductShowcase");function Q2(){return Ht.jsx("section",{className:"relative w-full overflow-hidden bg-white py-6 md:py-10",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsx("div",{className:"mx-auto max-w-[1260px] px-4 sm:px-6 lg:px-8",children:Ht.jsxs("div",{className:"relative min-h-[358px] w-full overflow-hidden rounded-none sm:rounded-lg",style:{backgroundColor:"rgb(0, 70, 190)",backgroundImage:'url("https://www.legacy-uproof.creativetouchdigital.co.za/wp-content/uploads/2026/08/hardwarestore-banner-wrapbg1.svg")',backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},children:[Ht.jsx("div",{className:"pointer-events-none absolute inset-0 z-0 overflow-hidden",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/hardwarestore-banner-pic1.webp",alt:"","aria-hidden":"true",className:"absolute -right-6 top-1/2 -translate-y-1/2 w-[280px] sm:w-[320px] md:w-[375px] h-auto object-contain opacity-90 sm:opacity-100"})}),Ht.jsxs("div",{className:"relative z-10 flex min-h-[358px] flex-col justify-center px-6 py-10 sm:px-12 md:py-12 md:pl-16 lg:max-w-[65%]",children:[Ht.jsx("h3",{className:"text-[26px] font-semibold tracking-[-1px] text-white sm:text-[30px] md:text-[32px]",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',lineHeight:"1.2"},children:"Seal Leaks. Protect Surfaces. Extend Roof Life."}),Ht.jsx("p",{className:"mt-4 text-[15px] font-normal leading-[24px] text-white sm:text-[16px] max-w-[540px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"From minor roof repairs to full waterproofing projects, U-Proof gives homeowners, contractors and property managers the products they need to create a durable, weather-resistant seal."}),Ht.jsx("div",{className:"mt-7",children:Ht.jsx(fS,{asChild:true,className:"h-auto bg-[#FFD401] px-6 py-[18px] text-[15px] font-semibold text-[#1C1C1C] rounded-[4px] shadow-none hover:bg-[#ffe033] hover:scale-[1.02] active:scale-[0.98] transition-all duration-200",children:Ht.jsx(cS,{to:"/solutions",children:Ht.jsx("span",{className:"font-semibold leading-[18px]",children:"Explore Waterproofing Solutions"})})})})]})]})})})}__name(Q2,"Q");s(Q2,"SealLeaksCallToActionBanner");function K2(){return Ht.jsxs("section",{className:"w-full bg-white relative",style:{backgroundPosition:"0% 0%",backgroundRepeat:"no-repeat",color:"rgb(75, 85, 99)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',border:"0px none rgb(75, 85, 99)",paddingTop:"64px",paddingBottom:"64px"},children:[Ht.jsx("style",{children:`@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300..900;1,300..900&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');`}),Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 sm:px-6 lg:px-0",children:[Ht.jsxs("div",{className:"w-full relative overflow-hidden bg-[#36393d] rounded-none min-h-[520px] md:min-h-[630px] flex flex-col md:flex-row items-center justify-between",style:{backgroundColor:"rgb(54, 57, 61)"},children:[Ht.jsxs("div",{className:"w-full md:w-1/2 p-8 sm:p-12 md:p-16 lg:p-20 z-10 flex flex-col justify-center",children:[Ht.jsx("h3",{className:"text-[28px] md:text-[32px] font-semibold leading-[34px] md:leading-[38px] tracking-[-1px] mb-6",style:{color:"rgb(204, 204, 204)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Protect Your Roof Before the Next Rain"}),Ht.jsx("p",{className:"text-[15px] md:text-[16px] leading-[24px] mb-10 max-w-[500px]",style:{color:"rgb(204, 204, 204)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Donu2019t wait for leaks to become costly damage. Shop U-Proof waterproofing products for durable, flexible protection across roofs, gutters, concrete, metal and exposed surfaces."}),Ht.jsx("div",{children:Ht.jsx(fS,{asChild:true,className:"w-full sm:w-auto font-semibold transition-all duration-200 hover:brightness-95 hover:scale-[1.01] active:scale-[0.99] border-0",style:{color:"rgb(28, 28, 28)",fontFamily:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:"15px",fontWeight:600,lineHeight:"18px",backgroundColor:"rgb(255, 212, 1)",borderRadius:"4px",padding:"20px 24px",height:"auto"},children:Ht.jsx(cS,{to:"/shop",className:"inline-block text-center",children:Ht.jsx("span",{children:"Shop Waterproofing Products"})})})})]}),Ht.jsx("div",{className:"w-full md:w-1/2 h-full min-h-[300px] md:min-h-[630px] relative self-stretch flex items-center justify-center overflow-hidden",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/ChatGPT-Image-Jun-26-2026-10_31_33-AM.png",alt:"Roof waterproofing protection",className:"w-full h-full object-cover object-center pointer-events-none select-none opacity-90 md:opacity-100",style:{backgroundColor:"rgba(0, 0, 0, 0)",border:"0px none rgb(75, 85, 99)",boxShadow:"none"}})})]})]})]})}__name(K2,"K");s(K2,"ProductFinderAndProtectionBannerSection");var X3=[{id:"guidance",icon:o3,text:"Product Guidance"},{id:"contractor",icon:r,text:"DIY & Contractor Friendly"},{id:"weather",icon:d,text:"Built for South African Weather"},{id:"delivery",icon:L,text:"Nationwide Delivery"}];function Z2(){return Ht.jsxs("section",{className:"relative w-full bg-white text-[#4b5563] overflow-hidden",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',paddingTop:"110px",paddingBottom:"70px"},children:[Ht.jsx("style",{children:`@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Poppins:wght@600&display=swap');`}),Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 sm:px-6 lg:px-8",children:[Ht.jsxs("div",{className:"max-w-[920px] mb-12",children:[Ht.jsx("h3",{className:"text-[32px] font-semibold leading-[38px] tracking-[-1px] text-[#111827] mb-3",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Trusted Waterproofing Support"}),Ht.jsx("p",{className:"text-[16px] leading-[24px] text-[#4b5563] font-normal",children:"From choosing the right product to understanding the correct application process, U-Proof helps homeowners, contractors and maintenance teams protect roofs, walls and surfaces with confidence."})]}),Ht.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 pt-2",children:X3.map(t2=>{const o5=t2.icon;return Ht.jsxs("div",{className:"flex items-center gap-3 py-2 px-1 transition-colors duration-200",children:[Ht.jsx("div",{className:"shrink-0 flex items-center justify-center text-[#FFD401]",children:Ht.jsx(o5,{className:"w-8 h-8 stroke-[2]"})}),Ht.jsx("span",{className:"text-[16px] font-normal leading-[24px] text-[#4b5563]",children:t2.text})]},t2.id)})})]})]})}__name(Z2,"Z");s(Z2,"TrustedWaterproofingSupport");function u4({children:t2}){const[o5,l]=z.useState(false);z.useEffect(()=>l(true),[]);return o5?Ht.jsx(Ht.Fragment,{children:t2}):null}__name(u4,"u");s(u4,"SafeHydrate");var d2={title:"Surface Preparation Guide",author:"ctsa-admin",date:"December 17, 2025",imageUrl:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/7-960x424-1.png",link:"/surface-preparation-guide",authorLink:"/author/ctsa-admin"};var ee3=[{id:"how-to-apply-liquid-rubber",title:"How to Apply Liquid Rubber",author:"ctsa-admin",date:"June 26, 2026",imageUrl:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/8-960x424-1.png",link:"/how-to-apply-liquid-rubber",authorLink:"/author/ctsa-admin"},{id:"faqs",title:"FAQs",author:"ctsa-admin",date:"June 26, 2026",imageUrl:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/photo_2026-08-10_09-44-16-3-960x424-1.jpg",link:"/faqs",authorLink:"/author/ctsa-admin"}];function te2(){return Ht.jsxs("section",{className:"w-full relative py-16 px-4 md:px-6 lg:px-8",style:{backgroundColor:"rgb(243, 244, 246)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:[Ht.jsx("style",{children:`
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter+Tight:wght@400;500;600;700&display=swap');
`}),Ht.jsxs("div",{className:"max-w-[1260px] mx-auto",children:[Ht.jsxs("div",{className:"mb-8 text-left",children:[Ht.jsx("h3",{className:"mb-2",style:{color:"rgb(17, 24, 39)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',fontSize:"32px",fontWeight:"600",lineHeight:"38px",letterSpacing:"-1px"},children:"Waterproofing Tips & Advice"}),Ht.jsx("p",{style:{color:"rgb(75, 85, 99)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',fontSize:"16px",fontWeight:"400",lineHeight:"24px"},children:"Practical guides, product advice and waterproofing tips to help you protect your roof, walls and surfaces with confidence."})]}),Ht.jsxs("div",{className:"flex flex-col lg:flex-row gap-4",children:[Ht.jsx("div",{className:"w-full lg:w-2/3",children:Ht.jsxs("article",{className:"group relative overflow-hidden rounded-[4px] bg-slate-900 h-[280px] sm:h-[340px] lg:h-[380px] transition-all duration-300",children:[Ht.jsx("img",{src:d2.imageUrl,alt:d2.title,className:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-105",style:{backgroundColor:"rgba(0, 0, 0, 0)",border:"0px none rgb(75, 85, 99)",boxShadow:"none"}}),Ht.jsx("div",{className:"absolute inset-0 bg-black/20 opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"}),Ht.jsx("div",{className:"absolute inset-x-0 bottom-0 pointer-events-none",style:{height:"70%",background:"linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.6) 50%, rgba(17, 24, 39, 0) 100%)"}}),Ht.jsxs("div",{className:"absolute inset-x-0 bottom-0 p-6 z-10 transform translate-y-0 lg:translate-y-2 group-hover:translate-y-0 transition-transform duration-400 ease-out",children:[Ht.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 text-sm mb-2",style:{color:"rgba(255, 255, 255, 0.7)"},children:[Ht.jsx(bo2,{className:"w-3.5 h-3.5 inline-block text-white/70"}),Ht.jsx(cS,{to:d2.authorLink,className:"hover:text-white transition-colors duration-150 inline-block",style:{color:"rgba(255, 255, 255, 0.7)"},children:d2.author}),Ht.jsx("span",{className:"mx-1 text-white/50",children:"on"}),Ht.jsx(u4,{children:Ht.jsx(h2,{className:"w-3.5 h-3.5 inline-block text-white/70 ml-1"})}),Ht.jsx("span",{className:"text-white/80",children:d2.date})]}),Ht.jsx("h4",{className:"text-xl font-semibold tracking-tight",children:Ht.jsx(cS,{to:d2.link,className:"hover:underline transition-colors block",style:{color:"rgb(255, 255, 255)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',fontSize:"20px",fontWeight:"600",lineHeight:"27px",letterSpacing:"-1px"},children:d2.title})}),Ht.jsx("div",{className:"h-[3px] bg-white w-0 group-hover:w-10 transition-all duration-400 ease-out mt-3"})]})]})}),Ht.jsx("div",{className:"w-full lg:w-1/3 flex flex-col gap-4",children:ee3.map(t2=>Ht.jsxs("article",{className:"group relative overflow-hidden rounded-[4px] bg-slate-900 h-[180px] sm:h-[182px] flex-1 transition-all duration-300",children:[Ht.jsx("img",{src:t2.imageUrl,alt:t2.title,className:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-105",style:{backgroundColor:"rgba(0, 0, 0, 0)",border:"0px none rgb(75, 85, 99)",boxShadow:"none"}}),Ht.jsx("div",{className:"absolute inset-0 bg-black/20 opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"}),Ht.jsx("div",{className:"absolute inset-x-0 bottom-0 pointer-events-none",style:{height:"80%",background:"linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.6) 55%, rgba(17, 24, 39, 0) 100%)"}}),Ht.jsxs("div",{className:"absolute inset-x-0 bottom-0 p-5 z-10 transform translate-y-0 lg:translate-y-2 group-hover:translate-y-0 transition-transform duration-400 ease-out",children:[Ht.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 text-sm mb-1.5",style:{color:"rgba(255, 255, 255, 0.7)"},children:[Ht.jsx(bo2,{className:"w-3.5 h-3.5 inline-block text-white/70"}),Ht.jsx(cS,{to:t2.authorLink,className:"hover:text-white transition-colors duration-150 inline-block",style:{color:"rgba(255, 255, 255, 0.7)"},children:t2.author}),Ht.jsx("span",{className:"mx-1 text-white/50",children:"on"}),Ht.jsx(u4,{children:Ht.jsx(h2,{className:"w-3.5 h-3.5 inline-block text-white/70 ml-1"})}),Ht.jsx("span",{className:"text-white/80",children:t2.date})]}),Ht.jsx("h4",{className:"text-xl font-semibold tracking-tight",children:Ht.jsx(cS,{to:t2.link,className:"hover:underline transition-colors block",style:{color:"rgb(255, 255, 255)",fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',fontSize:"20px",fontWeight:"600",lineHeight:"27px",letterSpacing:"-1px"},children:t2.title})}),Ht.jsx("div",{className:"h-[3px] bg-white w-0 group-hover:w-10 transition-all duration-400 ease-out mt-2.5"})]})]},t2.id))})]})]})]})}__name(te2,"te");s(te2,"WaterproofingTipsSection");function se3(){const[t2,o5]=z.useState("");const[l,a2]=z.useState(false);const r2=s(c5=>{c5.preventDefault();if(t2.trim()){a2(true)}},"handleSubmit");return Ht.jsxs("section",{className:"w-full relative overflow-hidden py-10 md:py-12",style:{backgroundColor:"rgb(254, 196, 0)",color:"rgb(75, 85, 99)",fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:[Ht.jsx("style",{children:`
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@600;700&display=swap');
`}),Ht.jsx("div",{className:"max-w-[1260px] mx-auto px-6 md:px-12 flex justify-center items-center",children:Ht.jsxs("div",{className:"w-full max-w-[840px] flex flex-col items-start text-left",children:[Ht.jsx("h3",{className:"text-[26px] sm:text-[30px] md:text-[32px] font-semibold leading-[34px] sm:leading-[38px] tracking-[-1px] text-[#111827] mb-2",style:{fontFamily:'Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',color:"rgb(17, 24, 39)"},children:"Get Waterproofing Tips & Product Updates"}),Ht.jsx("p",{className:"text-sm sm:text-base leading-6 text-[#111827] font-normal mb-5 max-w-[760px]",style:{color:"rgb(17, 24, 39)"},children:"Sign up for practical waterproofing advice, product updates and seasonal maintenance tips from U-Proof."}),Ht.jsxs("form",{onSubmit:r2,className:"w-full max-w-[620px] flex flex-col sm:flex-row items-stretch shadow-sm rounded-[4px] overflow-hidden",children:[Ht.jsxs("div",{className:"relative flex-1 bg-white flex items-center",children:[Ht.jsx(a,{className:"absolute left-3.5 h-4 w-4 text-slate-500 pointer-events-none"}),Ht.jsx(It,{type:"email",required:true,value:t2,onChange:s(c5=>o5(c5.target.value),"onChange"),placeholder:"Your e-mail address",className:"w-full h-12 pl-10 pr-4 bg-white text-[#111827] placeholder:text-slate-500 border-0 rounded-none focus-visible:ring-0 focus-visible:ring-offset-0 text-sm"})]}),Ht.jsx(fS,{type:"submit",className:"h-12 px-8 font-semibold text-white transition-colors duration-200 rounded-none sm:rounded-r-[4px] shrink-0 text-sm sm:text-base border-0",style:{backgroundColor:"rgb(0, 70, 190)"},onMouseEnter:s(c5=>{c5.currentTarget.style.backgroundColor="rgb(0, 60, 163)"},"onMouseEnter"),onMouseLeave:s(c5=>{c5.currentTarget.style.backgroundColor="rgb(0, 70, 190)"},"onMouseLeave"),children:l?"Subscribed":"Subscribe"})]})]})})]})}__name(se3,"se");s(se3,"NewsletterSubscriptionBanner");function f(){return Ht.jsxs("div",{children:[Ht.jsx(Eo2,{}),Ht.jsx(q2,{}),Ht.jsx(_,{}),Ht.jsx(G2,{}),Ht.jsx($2,{}),Ht.jsx(Y2,{}),Ht.jsx(K2,{}),Ht.jsx(Z2,{}),Ht.jsx(te2,{}),Ht.jsx(se3,{}),Ht.jsx(Po,{})]})}__name(f,"f");s(f,"HomePage");var p=null;function N(t2){const{router:o5="memory",basename:l,initialEntries:a2,...r2}=t2;if(o5==="memory"){return Ht.jsx(uS,{initialEntries:a2??["/"],children:Ht.jsx(f,{...r2})})}return Ht.jsx(iS,{basename:l,children:Ht.jsx(f,{...r2})})}__name(N,"N");s(N,"App");function ae3(t2,o5={}){console.log("Rendering......");p=aS.createRoot(t2);p.render(Ht.jsx(N,{...o5}))}__name(ae3,"ae");s(ae3,"mount");function oe2(t2,o5={}){console.log("Hydrating......");p=aS.hydrateRoot(t2,Ht.jsx(N,{...o5}))}__name(oe2,"oe");s(oe2,"hydrate");function ie3(){p?.unmount?.();p=null}__name(ie3,"ie");s(ie3,"unmount");if(typeof window!=="undefined")window.HomeVC={mount:ae3,hydrate:oe2,unmount:ie3};
U-PROOF Waterproofing Specialists
South Africa’s Waterproofing Specialists
Waterproofing that actually stops leaks Liquid rubber, primers and sealants engineered for South African roofs, walls and concrete — shop online and get it delivered nationwide.
DIY & Contractor Approved Why U-Proof A small leak today is a big repair bill tomorrow U-Proof supplies liquid rubber, fibre-reinforced filler, primers and weatherproof paint in 5L and 20L, delivered nationwide — the same products contractors use, without the call-out fee.
Stops Leaks for Good Creates a seamless waterproof membrane that seals cracks and stops leaks before they start.
Built for SA Conditions Engineered to handle intense UV, summer storms and temperature swings without breaking down.
Bends, Doesn't Crack Stays flexible through years of expansion and contraction, so it won't crack, peel or fail.
Roller, Brush or Spray Apply it your way — no special tools or training needed, just a roller, brush or spray gun.
Sticks to Almost Anything Bonds to concrete, metal, tiles, brick and more for long-lasting, reliable protection.
Low-Odour & Water-Based A safe, water-based formula with low odour — ideal for occupied homes and businesses.
Our Waterproofing Solutions A complete range of waterproofing products designed to work together for long-lasting protection and performance.
Liquid Rubber Seamless, flexible waterproofing membrane designed to protect roofs, walls, and foundations.
Fibre Filler Reinforced liquid rubber designed for repairing cracks, joints, and problem areas requiring extra strength and durability.
Primers Specialised primers that improve adhesion, protect surfaces, and prepare substrates for optimal waterproofing performance.
Wall & Roof Paint Durable, weather-resistant coating designed to enhance and protect both interior and exterior surfaces.
Where Can U-Proof Be Used? Protect and waterproof a wide range of residential, commercial, and industrial surfaces with U-Proof's versatile waterproofing solutions.
Roof Waterproofing Stop leaks and protect your roof against rain, UV exposure and weather-related damage.
Metal Roof Protection Prevent corrosion, seal joints and extend the lifespan of metal roofing systems.
Concrete Waterproofing Protect concrete surfaces from water ingress, cracking and long-term deterioration.
Gutters & Flashings Seal vulnerable joints, gutters and flashing details where leaks commonly occur.
Balconies & Terraces Create a durable waterproof barrier for exposed outdoor living spaces.
Parapet Walls Prevent moisture penetration and protect structural surfaces from water damage.
Get Your Roof Rain-Ready Protect your home or project before the next downpour with U-Proof waterproofing products designed to seal leaks, reinforce problem areas, and withstand South African weather conditions.
Protect Your Roof Before the Next Rain Don’t wait for leaks to become costly damage. Shop U-Proof waterproofing products for durable, flexible protection across roofs, gutters, concrete, metal and exposed surfaces.
Trusted Waterproofing Support From choosing the right product to understanding the correct application process, U-Proof helps homeowners, contractors and maintenance teams protect roofs, walls and surfaces with confidence.
DIY & Contractor Friendly Built for South African Weather Waterproofing Tips & Advice Practical guides, product advice and waterproofing tips to help you protect your roof, walls and surfaces with confidence.
Get Waterproofing Tips & Product Updates Sign up for practical waterproofing advice, product updates and seasonal maintenance tips from U-Proof.