";t3=t3.removeChild(t3.firstChild);break;case"select":t3="string"===typeof n2.is?a3.createElement("select",{is:n2.is}):a3.createElement("select");n2.multiple?t3.multiple=true:n2.size&&(t3.size=n2.size);break;default:t3="string"===typeof n2.is?a3.createElement(l2,{is:n2.is}):a3.createElement(l2)}}t3[It3]=e6;t3[ae4]=n2;t:for(a3=e6.child;null!==a3;){if(5===a3.tag||6===a3.tag)t3.appendChild(a3.stateNode);else if(4!==a3.tag&&27!==a3.tag&&null!==a3.child){a3.child.return=a3;a3=a3.child;continue}if(a3===e6)break t;for(;null===a3.sibling;){if(null===a3.return||a3.return===e6)break t;a3=a3.return}a3.sibling.return=a3.return;a3=a3.sibling}e6.stateNode=t3;t:switch(Pt2(t3,l2,n2),l2){case"button":case"input":case"select":case"textarea":t3=!!n2.autoFocus;break t;case"img":t3=true;break t;default:t3=false}t3&&ul2(e6)}}Bt2(e6);e6.flags&=-16777217;return null;case 6:if(t3&&null!=e6.stateNode)t3.memoizedProps!==n2&&ul2(e6);else{if("string"!==typeof n2&&null===e6.stateNode)throw Error(o7(166));t3=ut4.current;if(Ta2(e6)){t3=e6.stateNode;l2=e6.memoizedProps;n2=null;a3=ne3;if(null!==a3)switch(a3.tag){case 27:case 5:n2=a3.memoizedProps}t3[It3]=e6;t3=t3.nodeValue===l2||null!==n2&&true===n2.suppressHydrationWarning||vm(t3.nodeValue,l2)?true:false;t3||Pl2(e6)}else t3=hi2(t3).createTextNode(n2),t3[It3]=e6,e6.stateNode=t3}Bt2(e6);return null;case 13:n2=e6.memoizedState;if(null===t3||null!==t3.memoizedState&&null!==t3.memoizedState.dehydrated){a3=Ta2(e6);if(null!==n2&&null!==n2.dehydrated){if(null===t3){if(!a3)throw Error(o7(318));a3=e6.memoizedState;a3=null!==a3?a3.dehydrated:null;if(!a3)throw Error(o7(317));a3[It3]=e6}else Oa2(),0===(e6.flags&128)&&(e6.memoizedState=null),e6.flags|=4;Bt2(e6);a3=false}else a3=ts3(),null!==t3&&null!==t3.memoizedState&&(t3.memoizedState.hydrationErrors=a3),a3=true;if(!a3){if(e6.flags&256)return nl2(e6),e6;nl2(e6);return null}}nl2(e6);if(0!==(e6.flags&128))return e6.lanes=l2,e6;l2=null!==n2;t3=null!==t3&&null!==t3.memoizedState;if(l2){n2=e6.child;a3=null;null!==n2.alternate&&null!==n2.alternate.memoizedState&&null!==n2.alternate.memoizedState.cachePool&&(a3=n2.alternate.memoizedState.cachePool.pool);var c5=null;null!==n2.memoizedState&&null!==n2.memoizedState.cachePool&&(c5=n2.memoizedState.cachePool.pool);c5!==a3&&(n2.flags|=2048)}l2!==t3&&l2&&(e6.child.flags|=8192);ei2(e6,e6.updateQueue);Bt2(e6);return null;case 4:return le4(),null===t3&&Xr2(e6.stateNode.containerInfo),Bt2(e6),null;case 10:return el2(e6.type),Bt2(e6),null;case 19:$3(Qt3);a3=e6.memoizedState;if(null===a3)return Bt2(e6),null;n2=0!==(e6.flags&128);c5=a3.rendering;if(null===c5)if(n2)Ga2(a3,false);else{if(0!==qt3||null!==t3&&0!==(t3.flags&128))for(t3=e6.child;null!==t3;){c5=$u(t3);if(null!==c5){e6.flags|=128;Ga2(a3,false);t3=c5.updateQueue;e6.updateQueue=t3;ei2(e6,t3);e6.subtreeFlags=0;t3=l2;for(l2=e6.child;null!==l2;)$f(l2,t3),l2=l2.sibling;K3(Qt3,Qt3.current&1|2);return e6.child}t3=t3.sibling}null!==a3.tail&&qe4()>ai2&&(e6.flags|=128,n2=true,Ga2(a3,false),e6.lanes=4194304)}else{if(!n2)if(t3=$u(c5),null!==t3){if(e6.flags|=128,n2=true,t3=t3.updateQueue,e6.updateQueue=t3,ei2(e6,t3),Ga2(a3,true),null===a3.tail&&"hidden"===a3.tailMode&&!c5.alternate&&!Tt3)return Bt2(e6),null}else 2*qe4()-a3.renderingStartTime>ai2&&536870912!==l2&&(e6.flags|=128,n2=true,Ga2(a3,false),e6.lanes=4194304);a3.isBackwards?(c5.sibling=e6.child,e6.child=c5):(t3=a3.last,null!==t3?t3.sibling=c5:e6.child=c5,a3.last=c5)}if(null!==a3.tail)return e6=a3.tail,a3.rendering=e6,a3.tail=e6.sibling,a3.renderingStartTime=qe4(),e6.sibling=null,t3=Qt3.current,K3(Qt3,n2?t3&1|2:t3&1),e6;Bt2(e6);return null;case 22:case 23:return nl2(e6),Qc2(),n2=null!==e6.memoizedState,null!==t3?null!==t3.memoizedState!==n2&&(e6.flags|=8192):n2&&(e6.flags|=8192),n2?0!==(l2&536870912)&&0===(e6.flags&128)&&(Bt2(e6),e6.subtreeFlags&6&&(e6.flags|=8192)):Bt2(e6),l2=e6.updateQueue,null!==l2&&ei2(e6,l2.retryQueue),l2=null,null!==t3&&null!==t3.memoizedState&&null!==t3.memoizedState.cachePool&&(l2=t3.memoizedState.cachePool.pool),n2=null,null!==e6.memoizedState&&null!==e6.memoizedState.cachePool&&(n2=e6.memoizedState.cachePool.pool),n2!==l2&&(e6.flags|=2048),null!==t3&&$3(en3),null;case 24:return l2=null,null!==t3&&(l2=t3.memoizedState.cache),e6.memoizedState.cache!==l2&&(e6.flags|=2048),el2(Vt3),Bt2(e6),null;case 25:return null;case 30:return null}throw Error(o7(156,e6.tag))}__name(ry,"ry");i(ry,"completeWork");function oy(t3,e6){_c2(e6);switch(e6.tag){case 1:return t3=e6.flags,t3&65536?(e6.flags=t3&-65537|128,e6):null;case 3:return el2(Vt3),le4(),t3=e6.flags,0!==(t3&65536)&&0===(t3&128)?(e6.flags=t3&-65537|128,e6):null;case 26:case 27:case 5:return Be4(e6),null;case 13:nl2(e6);t3=e6.memoizedState;if(null!==t3&&null!==t3.dehydrated){if(null===e6.alternate)throw Error(o7(340));Oa2()}t3=e6.flags;return t3&65536?(e6.flags=t3&-65537|128,e6):null;case 19:return $3(Qt3),null;case 4:return le4(),null;case 10:return el2(e6.type),null;case 22:case 23:return nl2(e6),Qc2(),null!==t3&&$3(en3),t3=e6.flags,t3&65536?(e6.flags=t3&-65537|128,e6):null;case 24:return el2(Vt3),null;case 25:return null;default:return null}}__name(oy,"oy");i(oy,"unwindWork");function Ad(t3,e6){_c2(e6);switch(e6.tag){case 3:el2(Vt3);le4();break;case 26:case 27:case 5:Be4(e6);break;case 4:le4();break;case 13:nl2(e6);break;case 19:$3(Qt3);break;case 10:el2(e6.type);break;case 22:case 23:nl2(e6);Qc2();null!==t3&&$3(en3);break;case 24:el2(Vt3)}}__name(Ad,"Ad");i(Ad,"unwindInterruptedWork");function Xa2(t3,e6){try{var l2=e6.updateQueue,n2=null!==l2?l2.lastEffect:null;if(null!==n2){var a3=n2.next;l2=a3;do{if((l2.tag&t3)===t3){n2=void 0;var c5=l2.create,s=l2.inst;n2=c5();s.destroy=n2}l2=l2.next}while(l2!==a3)}}catch(m2){Dt3(e6,e6.return,m2)}}__name(Xa2,"Xa");i(Xa2,"commitHookEffectListMount");function Ol2(t3,e6,l2){try{var n2=e6.updateQueue,a3=null!==n2?n2.lastEffect:null;if(null!==a3){var c5=a3.next;n2=c5;do{if((n2.tag&t3)===t3){var s=n2.inst,m2=s.destroy;if(void 0!==m2){s.destroy=void 0;a3=e6;var b=l2,M5=m2;try{M5()}catch(L2){Dt3(a3,b,L2)}}}n2=n2.next}while(n2!==c5)}}catch(L2){Dt3(e6,e6.return,L2)}}__name(Ol2,"Ol");i(Ol2,"commitHookEffectListUnmount");function Td(t3){var e6=t3.updateQueue;if(null!==e6){var l2=t3.stateNode;try{ss3(e6,l2)}catch(n2){Dt3(t3,t3.return,n2)}}}__name(Td,"Td");i(Td,"commitClassCallbacks");function Od(t3,e6,l2){l2.props=nn3(t3.type,t3.memoizedProps);l2.state=t3.memoizedState;try{l2.componentWillUnmount()}catch(n2){Dt3(t3,e6,n2)}}__name(Od,"Od");i(Od,"safelyCallComponentWillUnmount");function Va2(t3,e6){try{var l2=t3.ref;if(null!==l2){switch(t3.tag){case 26:case 27:case 5:var n2=t3.stateNode;break;case 30:n2=t3.stateNode;break;default:n2=t3.stateNode}"function"===typeof l2?t3.refCleanup=l2(n2):l2.current=n2}}catch(a3){Dt3(t3,e6,a3)}}__name(Va2,"Va");i(Va2,"safelyAttachRef");function Ge4(t3,e6){var l2=t3.ref,n2=t3.refCleanup;if(null!==l2)if("function"===typeof n2)try{n2()}catch(a3){Dt3(t3,e6,a3)}finally{t3.refCleanup=null,t3=t3.alternate,null!=t3&&(t3.refCleanup=null)}else if("function"===typeof l2)try{l2(null)}catch(a3){Dt3(t3,e6,a3)}else l2.current=null}__name(Ge4,"Ge");i(Ge4,"safelyDetachRef");function wd(t3){var e6=t3.type,l2=t3.memoizedProps,n2=t3.stateNode;try{t:switch(e6){case"button":case"input":case"select":case"textarea":l2.autoFocus&&n2.focus();break t;case"img":l2.src?n2.src=l2.src:l2.srcSet&&(n2.srcset=l2.srcSet)}}catch(a3){Dt3(t3,t3.return,a3)}}__name(wd,"wd");i(wd,"commitHostMount");function pr2(t3,e6,l2){try{var n2=t3.stateNode;_y(n2,t3.type,l2,e6);n2[ae4]=e6}catch(a3){Dt3(t3,t3.return,a3)}}__name(pr2,"pr");i(pr2,"commitHostUpdate");function Rd(t3){return 5===t3.tag||3===t3.tag||26===t3.tag||27===t3.tag&&Nl2(t3.type)||4===t3.tag}__name(Rd,"Rd");i(Rd,"isHostParent");function br2(t3){t:for(;;){for(;null===t3.sibling;){if(null===t3.return||Rd(t3.return))return null;t3=t3.return}t3.sibling.return=t3.return;for(t3=t3.sibling;5!==t3.tag&&6!==t3.tag&&18!==t3.tag;){if(27===t3.tag&&Nl2(t3.type))continue t;if(t3.flags&2)continue t;if(null===t3.child||4===t3.tag)continue t;else t3.child.return=t3,t3=t3.child}if(!(t3.flags&2))return t3.stateNode}}__name(br2,"br");i(br2,"getHostSibling");function Sr2(t3,e6,l2){var n2=t3.tag;if(5===n2||6===n2)t3=t3.stateNode,e6?(9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2).insertBefore(t3,e6):(e6=9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2,e6.appendChild(t3),l2=l2._reactRootContainer,null!==l2&&void 0!==l2||null!==e6.onclick||(e6.onclick=mi2));else if(4!==n2&&(27===n2&&Nl2(t3.type)&&(l2=t3.stateNode,e6=null),t3=t3.child,null!==t3))for(Sr2(t3,e6,l2),t3=t3.sibling;null!==t3;)Sr2(t3,e6,l2),t3=t3.sibling}__name(Sr2,"Sr");i(Sr2,"insertOrAppendPlacementNodeIntoContainer");function li2(t3,e6,l2){var n2=t3.tag;if(5===n2||6===n2)t3=t3.stateNode,e6?l2.insertBefore(t3,e6):l2.appendChild(t3);else if(4!==n2&&(27===n2&&Nl2(t3.type)&&(l2=t3.stateNode),t3=t3.child,null!==t3))for(li2(t3,e6,l2),t3=t3.sibling;null!==t3;)li2(t3,e6,l2),t3=t3.sibling}__name(li2,"li");i(li2,"insertOrAppendPlacementNode");function Md(t3){var e6=t3.stateNode,l2=t3.memoizedProps;try{for(var n2=t3.type,a3=e6.attributes;a3.length;)e6.removeAttributeNode(a3[0]);Pt2(e6,n2,l2);e6[It3]=t3;e6[ae4]=l2}catch(c5){Dt3(t3,t3.return,c5)}}__name(Md,"Md");i(Md,"commitHostSingletonAcquisition");var il2=false,jt2=false,Er2=false,zd="function"===typeof WeakSet?WeakSet:Set,Jt3=null;function fy(t3,e6){t3=t3.containerInfo;Zr2=Si2;t3=jf(t3);if(bc2(t3)){if("selectionStart"in t3)var l2={start:t3.selectionStart,end:t3.selectionEnd};else t:{l2=(l2=t3.ownerDocument)&&l2.defaultView||window;var n2=l2.getSelection&&l2.getSelection();if(n2&&0!==n2.rangeCount){l2=n2.anchorNode;var a3=n2.anchorOffset,c5=n2.focusNode;n2=n2.focusOffset;try{l2.nodeType,c5.nodeType}catch(nt4){l2=null;break t}var s=0,m2=-1,b=-1,M5=0,L2=0,j2=t3,_2=null;e:for(;;){for(var N;;){j2!==l2||0!==a3&&3!==j2.nodeType||(m2=s+a3);j2!==c5||0!==n2&&3!==j2.nodeType||(b=s+n2);3===j2.nodeType&&(s+=j2.nodeValue.length);if(null===(N=j2.firstChild))break;_2=j2;j2=N}for(;;){if(j2===t3)break e;_2===l2&&++M5===a3&&(m2=s);_2===c5&&++L2===n2&&(b=s);if(null!==(N=j2.nextSibling))break;j2=_2;_2=j2.parentNode}j2=N}l2=-1===m2||-1===b?null:{start:m2,end:b}}else l2=null}l2=l2||{start:0,end:0}}else l2=null;kr2={focusedElem:t3,selectionRange:l2};Si2=false;for(Jt3=e6;null!==Jt3;)if(e6=Jt3,t3=e6.child,0!==(e6.subtreeFlags&1024)&&null!==t3)t3.return=e6,Jt3=t3;else for(;null!==Jt3;){e6=Jt3;c5=e6.alternate;t3=e6.flags;switch(e6.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(t3&1024)&&null!==c5){t3=void 0;l2=e6;a3=c5.memoizedProps;c5=c5.memoizedState;n2=l2.stateNode;try{var it4=nn3(l2.type,a3,l2.elementType===l2.type);t3=n2.getSnapshotBeforeUpdate(it4,c5);n2.__reactInternalSnapshotBeforeUpdate=t3}catch(nt4){Dt3(l2,l2.return,nt4)}}break;case 3:if(0!==(t3&1024)){if(t3=e6.stateNode.containerInfo,l2=t3.nodeType,9===l2)Wr2(t3);else if(1===l2)switch(t3.nodeName){case"HEAD":case"HTML":case"BODY":Wr2(t3);break;default:t3.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(t3&1024))throw Error(o7(163))}t3=e6.sibling;if(null!==t3){t3.return=e6.return;Jt3=t3;break}Jt3=e6.return}}__name(fy,"fy");i(fy,"commitBeforeMutationEffects");function _d(t3,e6,l2){var n2=l2.flags;switch(l2.tag){case 0:case 11:case 15:wl2(t3,l2);n2&4&&Xa2(5,l2);break;case 1:wl2(t3,l2);if(n2&4)if(t3=l2.stateNode,null===e6)try{t3.componentDidMount()}catch(s){Dt3(l2,l2.return,s)}else{var a3=nn3(l2.type,e6.memoizedProps);e6=e6.memoizedState;try{t3.componentDidUpdate(a3,e6,t3.__reactInternalSnapshotBeforeUpdate)}catch(s){Dt3(l2,l2.return,s)}}n2&64&&Td(l2);n2&512&&Va2(l2,l2.return);break;case 3:wl2(t3,l2);if(n2&64&&(t3=l2.updateQueue,null!==t3)){e6=null;if(null!==l2.child)switch(l2.child.tag){case 27:case 5:e6=l2.child.stateNode;break;case 1:e6=l2.child.stateNode}try{ss3(t3,e6)}catch(s){Dt3(l2,l2.return,s)}}break;case 27:null===e6&&n2&4&&Md(l2);case 26:case 5:wl2(t3,l2);null===e6&&n2&4&&wd(l2);n2&512&&Va2(l2,l2.return);break;case 12:wl2(t3,l2);break;case 13:wl2(t3,l2);n2&4&&Nd(t3,l2);n2&64&&(t3=l2.memoizedState,null!==t3&&(t3=t3.dehydrated,null!==t3&&(l2=by.bind(null,l2),Ly(t3,l2))));break;case 22:n2=null!==l2.memoizedState||il2;if(!n2){e6=null!==e6&&null!==e6.memoizedState||jt2;a3=il2;var c5=jt2;il2=n2;(jt2=e6)&&!c5?Rl2(t3,l2,0!==(l2.subtreeFlags&8772)):wl2(t3,l2);il2=a3;jt2=c5}break;case 30:break;default:wl2(t3,l2)}}__name(_d,"_d");i(_d,"commitLayoutEffectOnFiber");function Cd(t3){var e6=t3.alternate;null!==e6&&(t3.alternate=null,Cd(e6));t3.child=null;t3.deletions=null;t3.sibling=null;5===t3.tag&&(e6=t3.stateNode,null!==e6&&tc2(e6));t3.stateNode=null;t3.return=null;t3.dependencies=null;t3.memoizedProps=null;t3.memoizedState=null;t3.pendingProps=null;t3.stateNode=null;t3.updateQueue=null}__name(Cd,"Cd");i(Cd,"detachFiberAfterEffects");var Ut2=null,ce4=false;function cl2(t3,e6,l2){for(l2=l2.child;null!==l2;)Dd(t3,e6,l2),l2=l2.sibling}__name(cl2,"cl");i(cl2,"recursivelyTraverseDeletionEffects");function Dd(t3,e6,l2){if(oe3&&"function"===typeof oe3.onCommitFiberUnmount)try{oe3.onCommitFiberUnmount(fa2,l2)}catch(c5){}switch(l2.tag){case 26:jt2||Ge4(l2,e6);cl2(t3,e6,l2);l2.memoizedState?l2.memoizedState.count--:l2.stateNode&&(l2=l2.stateNode,l2.parentNode.removeChild(l2));break;case 27:jt2||Ge4(l2,e6);var n2=Ut2,a3=ce4;Nl2(l2.type)&&(Ut2=l2.stateNode,ce4=false);cl2(t3,e6,l2);Pa2(l2.stateNode);Ut2=n2;ce4=a3;break;case 5:jt2||Ge4(l2,e6);case 6:n2=Ut2;a3=ce4;Ut2=null;cl2(t3,e6,l2);Ut2=n2;ce4=a3;if(null!==Ut2)if(ce4)try{(9===Ut2.nodeType?Ut2.body:"HTML"===Ut2.nodeName?Ut2.ownerDocument.body:Ut2).removeChild(l2.stateNode)}catch(c5){Dt3(l2,e6,c5)}else try{Ut2.removeChild(l2.stateNode)}catch(c5){Dt3(l2,e6,c5)}break;case 18:null!==Ut2&&(ce4?(t3=Ut2,Sm(9===t3.nodeType?t3.body:"HTML"===t3.nodeName?t3.ownerDocument.body:t3,l2.stateNode),iu2(t3)):Sm(Ut2,l2.stateNode));break;case 4:n2=Ut2;a3=ce4;Ut2=l2.stateNode.containerInfo;ce4=true;cl2(t3,e6,l2);Ut2=n2;ce4=a3;break;case 0:case 11:case 14:case 15:jt2||Ol2(2,l2,e6);jt2||Ol2(4,l2,e6);cl2(t3,e6,l2);break;case 1:jt2||(Ge4(l2,e6),n2=l2.stateNode,"function"===typeof n2.componentWillUnmount&&Od(l2,e6,n2));cl2(t3,e6,l2);break;case 21:cl2(t3,e6,l2);break;case 22:jt2=(n2=jt2)||null!==l2.memoizedState;cl2(t3,e6,l2);jt2=n2;break;default:cl2(t3,e6,l2)}}__name(Dd,"Dd");i(Dd,"commitDeletionEffectsOnFiber");function Nd(t3,e6){if(null===e6.memoizedState&&(t3=e6.alternate,null!==t3&&(t3=t3.memoizedState,null!==t3&&(t3=t3.dehydrated,null!==t3))))try{iu2(t3)}catch(l2){Dt3(e6,e6.return,l2)}}__name(Nd,"Nd");i(Nd,"commitSuspenseHydrationCallbacks");function sy(t3){switch(t3.tag){case 13:case 19:var e6=t3.stateNode;null===e6&&(e6=t3.stateNode=new zd);return e6;case 22:return t3=t3.stateNode,e6=t3._retryCache,null===e6&&(e6=t3._retryCache=new zd),e6;default:throw Error(o7(435,t3.tag))}}__name(sy,"sy");i(sy,"getRetryCache");function xr2(t3,e6){var l2=sy(t3);e6.forEach(function(n2){var a3=Sy.bind(null,t3,n2);l2.has(n2)||(l2.add(n2),n2.then(a3,a3))})}__name(xr2,"xr");i(xr2,"attachSuspenseRetryListeners");function me3(t3,e6){var l2=e6.deletions;if(null!==l2)for(var n2=0;n2 title"));Pt2(c5,n2,l2);c5[It3]=t3;kt2(c5);n2=c5;break t;case"link":var s=Mm("link","href",a3).get(n2+(l2.href||""));if(s){for(var m2=0;m2Ct3&&(s=Ct3,Ct3=nt4,nt4=s);var T3=qf(m2,nt4),x2=qf(m2,Ct3);if(T3&&x2&&(1!==N.rangeCount||N.anchorNode!==T3.node||N.anchorOffset!==T3.offset||N.focusNode!==x2.node||N.focusOffset!==x2.offset)){var R3=j2.createRange();R3.setStart(T3.node,T3.offset);N.removeAllRanges();nt4>Ct3?(N.addRange(R3),N.extend(x2.node,x2.offset)):(R3.setEnd(x2.node,x2.offset),N.addRange(R3))}}}}j2=[];for(N=m2;N=N.parentNode;)1===N.nodeType&&j2.push({element:N,left:N.scrollLeft,top:N.scrollTop});"function"===typeof m2.focus&&m2.focus();for(m2=0;m2l2?32:l2;C2.T=null;l2=_r2;_r2=null;var c5=Cl2,s=Vn3;Ft2=0;Xn4=Cl2=null;Vn3=0;if(0!==(wt3&6))throw Error(o7(331));var m2=wt3;wt3|=4;Yd(c5.current);Bd(c5,c5.current,s,l2);wt3=m2;Wa2(0,false);if(oe3&&"function"===typeof oe3.onPostCommitFiberRoot)try{oe3.onPostCommitFiberRoot(fa2,c5)}catch(b){}return true}finally{V.p=a3,C2.T=n2,em(t3,e6)}}__name(lm,"lm");i(lm,"flushPassiveEffects");function nm(t3,e6,l2){e6=xe2(l2,e6);e6=or2(t3.stateNode,e6,2);t3=El2(t3,e6,2);null!==t3&&(da2(t3,2),Ve4(t3))}__name(nm,"nm");i(nm,"captureCommitPhaseErrorOnRoot");function Dt3(t3,e6,l2){if(3===t3.tag)nm(t3,t3,l2);else for(;null!==e6;){if(3===e6.tag){nm(e6,t3,l2);break}else if(1===e6.tag){var n2=e6.stateNode;if("function"===typeof e6.type.getDerivedStateFromError||"function"===typeof n2.componentDidCatch&&(null===_l2||!_l2.has(n2))){t3=xe2(l2,t3);l2=cd(2);n2=El2(e6,l2,2);null!==n2&&(rd(l2,n2,e6,t3),da2(n2,2),Ve4(n2));break}}e6=e6.return}}__name(Dt3,"Dt");i(Dt3,"captureCommitPhaseError");function Hr2(t3,e6,l2){var n2=t3.pingCache;if(null===n2){n2=t3.pingCache=new my;var a3=new Set;n2.set(e6,a3)}else a3=n2.get(e6),void 0===a3&&(a3=new Set,n2.set(e6,a3));a3.has(l2)||(Or2=true,a3.add(l2),t3=py.bind(null,t3,e6,l2),e6.then(t3,t3))}__name(Hr2,"Hr");i(Hr2,"attachPingListener");function py(t3,e6,l2){var n2=t3.pingCache;null!==n2&&n2.delete(e6);t3.pingedLanes|=t3.suspendedLanes&l2;t3.warmLanes&=~l2;Nt3===t3&&(bt4&l2)===l2&&(4===qt3||3===qt3&&(bt4&62914560)===bt4&&300>qe4()-Mr2?0===(wt3&2)&&Qn4(t3,0):wr2|=l2,Gn4===bt4&&(Gn4=0));Ve4(t3)}__name(py,"py");i(py,"pingSuspendedRoot");function am(t3,e6){0===e6&&(e6=Io2());t3=wn3(t3,e6);null!==t3&&(da2(t3,e6),Ve4(t3))}__name(am,"am");i(am,"retryTimedOutBoundary");function by(t3){var e6=t3.memoizedState,l2=0;null!==e6&&(l2=e6.retryLane);am(t3,l2)}__name(by,"by");i(by,"retryDehydratedSuspenseBoundary");function Sy(t3,e6){var l2=0;switch(t3.tag){case 13:var n2=t3.stateNode;var a3=t3.memoizedState;null!==a3&&(l2=a3.retryLane);break;case 19:n2=t3.stateNode;break;case 22:n2=t3.stateNode._retryCache;break;default:throw Error(o7(314))}null!==n2&&n2.delete(e6);am(t3,l2)}__name(Sy,"Sy");i(Sy,"resolveRetryWakeable");function Ey(t3,e6){return hl2(t3,e6)}__name(Ey,"Ey");i(Ey,"scheduleCallback$1");var oi2=null,kn3=null,Br2=false,fi2=false,Lr2=false,cn3=0;function Ve4(t3){t3!==kn3&&null===t3.next&&(null===kn3?oi2=kn3=t3:kn3=kn3.next=t3);fi2=true;Br2||(Br2=true,Ay())}__name(Ve4,"Ve");i(Ve4,"ensureRootIsScheduled");function Wa2(t3,e6){if(!Lr2&&fi2){Lr2=true;do{var l2=false;for(var n2=oi2;null!==n2;){if(0!==t3){var a3=n2.pendingLanes;if(0===a3)var c5=0;else{var s=n2.suspendedLanes,m2=n2.pingedLanes;c5=(1<<31-fe3(42|t3)+1)-1;c5&=a3&~(s&~m2);c5=c5&201326741?c5&201326741|1:c5?c5|2:0}0!==c5&&(l2=true,rm(n2,c5))}else c5=bt4,c5=gu(n2,n2===Nt3?c5:0,null!==n2.cancelPendingCommit||-1!==n2.timeoutHandle),0===(c5&3)||sa2(n2,c5)||(l2=true,rm(n2,c5));n2=n2.next}}while(l2);Lr2=false}}__name(Wa2,"Wa");i(Wa2,"flushSyncWorkAcrossRoots_impl");function xy(){um()}__name(xy,"xy");i(xy,"processRootScheduleInImmediateTask");function um(){fi2=Br2=false;var t3=0;0!==cn3&&(Cy()&&(t3=cn3),cn3=0);for(var e6=qe4(),l2=null,n2=oi2;null!==n2;){var a3=n2.next,c5=im(n2,e6);if(0===c5)n2.next=null,null===l2?oi2=a3:l2.next=a3,null===a3&&(kn3=l2);else if(l2=n2,0!==t3||0!==(c5&3))fi2=true;n2=a3}Wa2(t3)}__name(um,"um");i(um,"processRootScheduleInMicrotask");function im(t3,e6){for(var l2=t3.suspendedLanes,n2=t3.pingedLanes,a3=t3.expirationTimes,c5=t3.pendingLanes&-62914561;0n2){l2=n2;var s=t3.ownerDocument;l2&1&&Pa2(s.documentElement);l2&2&&Pa2(s.body);if(l2&4)for(l2=s.head,Pa2(l2),s=l2.firstChild;s;){var m2=s.nextSibling,b=s.nodeName;s[ma2]||"SCRIPT"===b||"STYLE"===b||"LINK"===b&&"stylesheet"===s.rel.toLowerCase()||l2.removeChild(s);s=m2}}if(0===a3){t3.removeChild(c5);iu2(e6);return}a3--}else"$"===l2||"$?"===l2||"$!"===l2?a3++:n2=l2.charCodeAt(0)-48;else n2=0;l2=c5}while(l2);iu2(e6)}__name(Sm,"Sm");i(Sm,"clearSuspenseBoundary");function Wr2(t3){var e6=t3.firstChild;e6&&10===e6.nodeType&&(e6=e6.nextSibling);for(;e6;){var l2=e6;e6=e6.nextSibling;switch(l2.nodeName){case"HTML":case"HEAD":case"BODY":Wr2(l2);tc2(l2);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===l2.rel.toLowerCase())continue}t3.removeChild(l2)}}__name(Wr2,"Wr");i(Wr2,"clearContainerSparingly");function Hy(t3,e6,l2,n2){for(;1===t3.nodeType;){var a3=l2;if(t3.nodeName.toLowerCase()!==e6.toLowerCase()){if(!n2&&("INPUT"!==t3.nodeName||"hidden"!==t3.type))break}else if(!n2)if("input"===e6&&"hidden"===t3.type){var c5=null==a3.name?null:""+a3.name;if("hidden"===a3.type&&t3.getAttribute("name")===c5)return t3}else return t3;else if(!t3[ma2])switch(e6){case"meta":if(!t3.hasAttribute("itemprop"))break;return t3;case"link":c5=t3.getAttribute("rel");if("stylesheet"===c5&&t3.hasAttribute("data-precedence"))break;else if(c5!==a3.rel||t3.getAttribute("href")!==(null==a3.href||""===a3.href?null:a3.href)||t3.getAttribute("crossorigin")!==(null==a3.crossOrigin?null:a3.crossOrigin)||t3.getAttribute("title")!==(null==a3.title?null:a3.title))break;return t3;case"style":if(t3.hasAttribute("data-precedence"))break;return t3;case"script":c5=t3.getAttribute("src");if((c5!==(null==a3.src?null:a3.src)||t3.getAttribute("type")!==(null==a3.type?null:a3.type)||t3.getAttribute("crossorigin")!==(null==a3.crossOrigin?null:a3.crossOrigin))&&c5&&t3.hasAttribute("async")&&!t3.hasAttribute("itemprop"))break;return t3;default:return t3}t3=Ce3(t3.nextSibling);if(null===t3)break}return null}__name(Hy,"Hy");i(Hy,"canHydrateInstance");function By(t3,e6,l2){if(""===e6)return null;for(;3!==t3.nodeType;){if((1!==t3.nodeType||"INPUT"!==t3.nodeName||"hidden"!==t3.type)&&!l2)return null;t3=Ce3(t3.nextSibling);if(null===t3)return null}return t3}__name(By,"By");i(By,"canHydrateTextInstance");function $r2(t3){return"$!"===t3.data||"$?"===t3.data&&"complete"===t3.ownerDocument.readyState}__name($r2,"$r");i($r2,"isSuspenseInstanceFallback");function Ly(t3,e6){var l2=t3.ownerDocument;if("$?"!==t3.data||"complete"===l2.readyState)e6();else{var n2=i(function(){e6();l2.removeEventListener("DOMContentLoaded",n2)},"listener");l2.addEventListener("DOMContentLoaded",n2);t3._reactRetry=n2}}__name(Ly,"Ly");i(Ly,"registerSuspenseInstanceRetry");function Ce3(t3){for(;null!=t3;t3=t3.nextSibling){var e6=t3.nodeType;if(1===e6||3===e6)break;if(8===e6){e6=t3.data;if("$"===e6||"$!"===e6||"$?"===e6||"F!"===e6||"F"===e6)break;if("/$"===e6)return null}}return t3}__name(Ce3,"Ce");i(Ce3,"getNextHydratable");var Fr2=null;function Em(t3){t3=t3.previousSibling;for(var e6=0;t3;){if(8===t3.nodeType){var l2=t3.data;if("$"===l2||"$!"===l2||"$?"===l2){if(0===e6)return t3;e6--}else"/$"===l2&&e6++}t3=t3.previousSibling}return null}__name(Em,"Em");i(Em,"getParentSuspenseInstance");function xm(t3,e6,l2){e6=hi2(l2);switch(t3){case"html":t3=e6.documentElement;if(!t3)throw Error(o7(452));return t3;case"head":t3=e6.head;if(!t3)throw Error(o7(453));return t3;case"body":t3=e6.body;if(!t3)throw Error(o7(454));return t3;default:throw Error(o7(451))}}__name(xm,"xm");i(xm,"resolveSingletonInstance");function Pa2(t3){for(var e6=t3.attributes;e6.length;)t3.removeAttributeNode(e6[0]);tc2(t3)}__name(Pa2,"Pa");i(Pa2,"releaseSingletonInstance");var Me4=new Map,Am=new Set;function vi2(t3){return"function"===typeof t3.getRootNode?t3.getRootNode():9===t3.nodeType?t3:t3.ownerDocument}__name(vi2,"vi");i(vi2,"getHoistableRoot");var ol2=V.d;V.d={f:qy,r:Yy,D:jy,C:Gy,L:Xy,m:Vy,X:Zy,S:Qy,M:ky};function qy(){var t3=ol2.f(),e6=ii2();return t3||e6}__name(qy,"qy");i(qy,"flushSyncWork");function Yy(t3){var e6=hn3(t3);null!==e6&&5===e6.tag&&"form"===e6.type?Vs2(e6):ol2.r(t3)}__name(Yy,"Yy");i(Yy,"requestFormReset");var Jn4="undefined"===typeof document?null:document;function Tm(t3,e6,l2){var n2=Jn4;if(n2&&"string"===typeof e6&&e6){var a3=Ee2(e6);a3='link[rel="'+t3+'"][href="'+a3+'"]';"string"===typeof l2&&(a3+='[crossorigin="'+l2+'"]');Am.has(a3)||(Am.add(a3),t3={rel:t3,crossOrigin:l2,href:e6},null===n2.querySelector(a3)&&(e6=n2.createElement("link"),Pt2(e6,"link",t3),kt2(e6),n2.head.appendChild(e6)))}}__name(Tm,"Tm");i(Tm,"preconnectAs");function jy(t3){ol2.D(t3);Tm("dns-prefetch",t3,null)}__name(jy,"jy");i(jy,"prefetchDNS");function Gy(t3,e6){ol2.C(t3,e6);Tm("preconnect",t3,e6)}__name(Gy,"Gy");i(Gy,"preconnect");function Xy(t3,e6,l2){ol2.L(t3,e6,l2);var n2=Jn4;if(n2&&t3&&e6){var a3='link[rel="preload"][as="'+Ee2(e6)+'"]';"image"===e6?l2&&l2.imageSrcSet?(a3+='[imagesrcset="'+Ee2(l2.imageSrcSet)+'"]',"string"===typeof l2.imageSizes&&(a3+='[imagesizes="'+Ee2(l2.imageSizes)+'"]')):a3+='[href="'+Ee2(t3)+'"]':a3+='[href="'+Ee2(t3)+'"]';var c5=a3;switch(e6){case"style":c5=Wn4(t3);break;case"script":c5=$n4(t3)}Me4.has(c5)||(t3=S3({rel:"preload",href:"image"===e6&&l2&&l2.imageSrcSet?void 0:t3,as:e6},l2),Me4.set(c5,t3),null!==n2.querySelector(a3)||"style"===e6&&n2.querySelector(Ia2(c5))||"script"===e6&&n2.querySelector(tu2(c5))||(e6=n2.createElement("link"),Pt2(e6,"link",t3),kt2(e6),n2.head.appendChild(e6)))}}__name(Xy,"Xy");i(Xy,"preload");function Vy(t3,e6){ol2.m(t3,e6);var l2=Jn4;if(l2&&t3){var n2=e6&&"string"===typeof e6.as?e6.as:"script",a3='link[rel="modulepreload"][as="'+Ee2(n2)+'"][href="'+Ee2(t3)+'"]',c5=a3;switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c5=$n4(t3)}if(!Me4.has(c5)&&(t3=S3({rel:"modulepreload",href:t3},e6),Me4.set(c5,t3),null===l2.querySelector(a3))){switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l2.querySelector(tu2(c5)))return}n2=l2.createElement("link");Pt2(n2,"link",t3);kt2(n2);l2.head.appendChild(n2)}}}__name(Vy,"Vy");i(Vy,"preloadModule");function Qy(t3,e6,l2){ol2.S(t3,e6,l2);var n2=Jn4;if(n2&&t3){var a3=vn3(n2).hoistableStyles,c5=Wn4(t3);e6=e6||"default";var s=a3.get(c5);if(!s){var m2={loading:0,preload:null};if(s=n2.querySelector(Ia2(c5)))m2.loading=5;else{t3=S3({rel:"stylesheet",href:t3,"data-precedence":e6},l2);(l2=Me4.get(c5))&&Pr2(t3,l2);var b=s=n2.createElement("link");kt2(b);Pt2(b,"link",t3);b._p=new Promise(function(M5,L2){b.onload=M5;b.onerror=L2});b.addEventListener("load",function(){m2.loading|=1});b.addEventListener("error",function(){m2.loading|=2});m2.loading|=4;gi2(s,e6,n2)}s={type:"stylesheet",instance:s,count:1,state:m2};a3.set(c5,s)}}}__name(Qy,"Qy");i(Qy,"preinitStyle");function Zy(t3,e6){ol2.X(t3,e6);var l2=Jn4;if(l2&&t3){var n2=vn3(l2).hoistableScripts,a3=$n4(t3),c5=n2.get(a3);c5||(c5=l2.querySelector(tu2(a3)),c5||(t3=S3({src:t3,async:true},e6),(e6=Me4.get(a3))&&Ir2(t3,e6),c5=l2.createElement("script"),kt2(c5),Pt2(c5,"link",t3),l2.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n2.set(a3,c5))}}__name(Zy,"Zy");i(Zy,"preinitScript");function ky(t3,e6){ol2.M(t3,e6);var l2=Jn4;if(l2&&t3){var n2=vn3(l2).hoistableScripts,a3=$n4(t3),c5=n2.get(a3);c5||(c5=l2.querySelector(tu2(a3)),c5||(t3=S3({src:t3,async:true,type:"module"},e6),(e6=Me4.get(a3))&&Ir2(t3,e6),c5=l2.createElement("script"),kt2(c5),Pt2(c5,"link",t3),l2.head.appendChild(c5)),c5={type:"script",instance:c5,count:1,state:null},n2.set(a3,c5))}}__name(ky,"ky");i(ky,"preinitModuleScript");function Om(t3,e6,l2,n2){var a3=(a3=ut4.current)?vi2(a3):null;if(!a3)throw Error(o7(446));switch(t3){case"meta":case"title":return null;case"style":return"string"===typeof l2.precedence&&"string"===typeof l2.href?(e6=Wn4(l2.href),l2=vn3(a3).hoistableStyles,n2=l2.get(e6),n2||(n2={type:"style",instance:null,count:0,state:null},l2.set(e6,n2)),n2):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===l2.rel&&"string"===typeof l2.href&&"string"===typeof l2.precedence){t3=Wn4(l2.href);var c5=vn3(a3).hoistableStyles,s=c5.get(t3);s||(a3=a3.ownerDocument||a3,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c5.set(t3,s),(c5=a3.querySelector(Ia2(t3)))&&!c5._p&&(s.instance=c5,s.state.loading=5),Me4.has(t3)||(l2={rel:"preload",as:"style",href:l2.href,crossOrigin:l2.crossOrigin,integrity:l2.integrity,media:l2.media,hrefLang:l2.hrefLang,referrerPolicy:l2.referrerPolicy},Me4.set(t3,l2),c5||Ky(a3,t3,l2,s.state)));if(e6&&null===n2)throw Error(o7(528,""));return s}if(e6&&null!==n2)throw Error(o7(529,""));return null;case"script":return e6=l2.async,l2=l2.src,"string"===typeof l2&&e6&&"function"!==typeof e6&&"symbol"!==typeof e6?(e6=$n4(l2),l2=vn3(a3).hoistableScripts,n2=l2.get(e6),n2||(n2={type:"script",instance:null,count:0,state:null},l2.set(e6,n2)),n2):{type:"void",instance:null,count:0,state:null};default:throw Error(o7(444,t3))}}__name(Om,"Om");i(Om,"getResource");function Wn4(t3){return'href="'+Ee2(t3)+'"'}__name(Wn4,"Wn");i(Wn4,"getStyleKey");function Ia2(t3){return'link[rel="stylesheet"]['+t3+"]"}__name(Ia2,"Ia");i(Ia2,"getStylesheetSelectorFromKey");function wm(t3){return S3({},t3,{"data-precedence":t3.precedence,precedence:null})}__name(wm,"wm");i(wm,"stylesheetPropsFromRawProps");function Ky(t3,e6,l2,n2){t3.querySelector('link[rel="preload"][as="style"]['+e6+"]")?n2.loading=1:(e6=t3.createElement("link"),n2.preload=e6,e6.addEventListener("load",function(){return n2.loading|=1}),e6.addEventListener("error",function(){return n2.loading|=2}),Pt2(e6,"link",l2),kt2(e6),t3.head.appendChild(e6))}__name(Ky,"Ky");i(Ky,"preloadStylesheet");function $n4(t3){return'[src="'+Ee2(t3)+'"]'}__name($n4,"$n");i($n4,"getScriptKey");function tu2(t3){return"script[async]"+t3}__name(tu2,"tu");i(tu2,"getScriptSelectorFromKey");function Rm(t3,e6,l2){e6.count++;if(null===e6.instance)switch(e6.type){case"style":var n2=t3.querySelector('style[data-href~="'+Ee2(l2.href)+'"]');if(n2)return e6.instance=n2,kt2(n2),n2;var a3=S3({},l2,{"data-href":l2.href,"data-precedence":l2.precedence,href:null,precedence:null});n2=(t3.ownerDocument||t3).createElement("style");kt2(n2);Pt2(n2,"style",a3);gi2(n2,l2.precedence,t3);return e6.instance=n2;case"stylesheet":a3=Wn4(l2.href);var c5=t3.querySelector(Ia2(a3));if(c5)return e6.state.loading|=4,e6.instance=c5,kt2(c5),c5;n2=wm(l2);(a3=Me4.get(a3))&&Pr2(n2,a3);c5=(t3.ownerDocument||t3).createElement("link");kt2(c5);var s=c5;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c5,"link",n2);e6.state.loading|=4;gi2(c5,l2.precedence,t3);return e6.instance=c5;case"script":c5=$n4(l2.src);if(a3=t3.querySelector(tu2(c5)))return e6.instance=a3,kt2(a3),a3;n2=l2;if(a3=Me4.get(c5))n2=S3({},l2),Ir2(n2,a3);t3=t3.ownerDocument||t3;a3=t3.createElement("script");kt2(a3);Pt2(a3,"link",n2);t3.head.appendChild(a3);return e6.instance=a3;case"void":return null;default:throw Error(o7(443,e6.type))}else"stylesheet"===e6.type&&0===(e6.state.loading&4)&&(n2=e6.instance,e6.state.loading|=4,gi2(n2,l2.precedence,t3));return e6.instance}__name(Rm,"Rm");i(Rm,"acquireResource");function gi2(t3,e6,l2){for(var n2=l2.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a3=n2.length?n2[n2.length-1]:null,c5=a3,s=0;s title"):null)}__name(zm,"zm");i(zm,"mountHoistable");function Jy(t3,e6,l2){if(1===l2||null!=e6.itemProp)return false;switch(t3){case"meta":case"title":return true;case"style":if("string"!==typeof e6.precedence||"string"!==typeof e6.href||""===e6.href)break;return true;case"link":if("string"!==typeof e6.rel||"string"!==typeof e6.href||""===e6.href||e6.onLoad||e6.onError)break;switch(e6.rel){case"stylesheet":return t3=e6.disabled,"string"===typeof e6.precedence&&null==t3;default:return true}case"script":if(e6.async&&"function"!==typeof e6.async&&"symbol"!==typeof e6.async&&!e6.onLoad&&!e6.onError&&e6.src&&"string"===typeof e6.src)return true}return false}__name(Jy,"Jy");i(Jy,"isHostHoistableType");function _m(t3){return"stylesheet"===t3.type&&0===(t3.state.loading&3)?false:true}__name(_m,"_m");i(_m,"preloadResource");var eu2=null;function Wy(){}__name(Wy,"Wy");i(Wy,"noop");function $y(t3,e6,l2){if(null===eu2)throw Error(o7(475));var n2=eu2;if("stylesheet"===e6.type&&("string"!==typeof l2.media||false!==matchMedia(l2.media).matches)&&0===(e6.state.loading&4)){if(null===e6.instance){var a3=Wn4(l2.href),c5=t3.querySelector(Ia2(a3));if(c5){t3=c5._p;null!==t3&&"object"===typeof t3&&"function"===typeof t3.then&&(n2.count++,n2=pi2.bind(n2),t3.then(n2,n2));e6.state.loading|=4;e6.instance=c5;kt2(c5);return}c5=t3.ownerDocument||t3;l2=wm(l2);(a3=Me4.get(a3))&&Pr2(l2,a3);c5=c5.createElement("link");kt2(c5);var s=c5;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c5,"link",l2);e6.instance=c5}null===n2.stylesheets&&(n2.stylesheets=new Map);n2.stylesheets.set(e6,t3);(t3=e6.state.preload)&&0===(e6.state.loading&3)&&(n2.count++,e6=pi2.bind(n2),t3.addEventListener("load",e6),t3.addEventListener("error",e6))}}__name($y,"$y");i($y,"suspendResource");function Fy(){if(null===eu2)throw Error(o7(475));var t3=eu2;t3.stylesheets&&0===t3.count&&to2(t3,t3.stylesheets);return 0S3(w,typeof w==="string"?null:w.state,H2===0?"default":void 0));let h=p3(f3==null?d2.length-1:f3);let v2=De.Pop;let y2=null;function p3(w){return Math.min(Math.max(w,0),d2.length-1)}__name(p3,"p");i(p3,"clampIndex");function g2(){return d2[h]}__name(g2,"g");i(g2,"getCurrentLocation");function S3(w,H2,O4){if(H2===void 0){H2=null}let U4=qi(d2?g2().pathname:"/",w,H2,O4);S0(U4.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w));return U4}__name(S3,"S");i(S3,"createMemoryLocation");function A(w){return typeof w==="string"?w:Lo(w)}__name(A,"A");i(A,"createHref");let D2={get index(){return h},get action(){return v2},get location(){return g2()},createHref:A,createURL(w){return new URL(A(w),"http://localhost")},encodeLocation(w){let H2=typeof w==="string"?qo(w):w;return{pathname:H2.pathname||"",search:H2.search||"",hash:H2.hash||""}},push(w,H2){v2=De.Push;let O4=S3(w,H2);h+=1;d2.splice(h,d2.length,O4);if(o7&&y2){y2({action:v2,location:O4,delta:1})}},replace(w,H2){v2=De.Replace;let O4=S3(w,H2);d2[h]=O4;if(o7&&y2){y2({action:v2,location:O4,delta:0})}},go(w){v2=De.Pop;let H2=p3(h+w);let O4=d2[H2];h=H2;if(y2){y2({action:v2,location:O4,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 r4(o7,d2){let{pathname:h,search:v2,hash:y2}=o7.location;return qi("",{pathname:h,search:v2,hash:y2},d2.state&&d2.state.usr||null,d2.state&&d2.state.key||"default")}__name(r4,"r");i(r4,"createBrowserLocation");function f3(o7,d2){return typeof d2==="string"?d2:Lo(d2)}__name(f3,"f");i(f3,"createBrowserHref");return x0(r4,f3,null,u5)}__name(b0,"b0");i(b0,"createBrowserHistory");function Lh(u5,r4){if(u5===false||u5===null||typeof u5==="undefined"){throw new Error(r4)}}__name(Lh,"Lh");i(Lh,"invariant");function S0(u5,r4){if(!u5){if(typeof console!=="undefined")console.warn(r4);try{throw new Error(r4)}catch(f3){}}}__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,r4){return{usr:u5.state,key:u5.key,idx:r4}}__name(Im,"Im");i(Im,"getHistoryState");function qi(u5,r4,f3,o7){if(f3===void 0){f3=null}let d2=Li({pathname:typeof u5==="string"?u5:u5.pathname,search:"",hash:""},typeof r4==="string"?qo(r4):r4,{state:f3,key:r4&&r4.key||o7||E0()});return d2}__name(qi,"qi");i(qi,"createLocation");function Lo(u5){let{pathname:r4="/",search:f3="",hash:o7=""}=u5;if(f3&&f3!=="?")r4+=f3.charAt(0)==="?"?f3:"?"+f3;if(o7&&o7!=="#")r4+=o7.charAt(0)==="#"?o7:"#"+o7;return r4}__name(Lo,"Lo");i(Lo,"createPath");function qo(u5){let r4={};if(u5){let f3=u5.indexOf("#");if(f3>=0){r4.hash=u5.substr(f3);u5=u5.substr(0,f3)}let o7=u5.indexOf("?");if(o7>=0){r4.search=u5.substr(o7);u5=u5.substr(0,o7)}if(u5){r4.pathname=u5}}return r4}__name(qo,"qo");i(qo,"parsePath");function x0(u5,r4,f3,o7){if(o7===void 0){o7={}}let{window:d2=document.defaultView,v5Compat:h=false}=o7;let v2=d2.history;let y2=De.Pop;let p3=null;let g2=S3();if(g2==null){g2=0;v2.replaceState(Li({},v2.state,{idx:g2}),"")}function S3(){let U4=v2.state||{idx:null};return U4.idx}__name(S3,"S");i(S3,"getIndex");function A(){y2=De.Pop;let U4=S3();let Y3=U4==null?null:U4-g2;g2=U4;if(p3){p3({action:y2,location:O4.location,delta:Y3})}}__name(A,"A");i(A,"handlePop");function D2(U4,Y3){y2=De.Push;let Q3=qi(O4.location,U4,Y3);g2=S3()+1;let Z3=Im(Q3,g2);let k4=O4.createHref(Q3);try{v2.pushState(Z3,"",k4)}catch(X4){if(X4 instanceof DOMException&&X4.name==="DataCloneError"){throw X4}d2.location.assign(k4)}if(h&&p3){p3({action:y2,location:O4.location,delta:1})}}__name(D2,"D");i(D2,"push");function w(U4,Y3){y2=De.Replace;let Q3=qi(O4.location,U4,Y3);g2=S3();let Z3=Im(Q3,g2);let k4=O4.createHref(Q3);v2.replaceState(Z3,"",k4);if(h&&p3){p3({action:y2,location:O4.location,delta:0})}}__name(w,"w");i(w,"replace");function H2(U4){let Y3=d2.location.origin!=="null"?d2.location.origin:d2.location.href;let Q3=typeof U4==="string"?U4:Lo(U4);Q3=Q3.replace(/ $/,"%20");Lh(Y3,"No window.location.(origin|href) available to create URL for href: "+Q3);return new URL(Q3,Y3)}__name(H2,"H");i(H2,"createURL");let O4={get action(){return y2},get location(){return u5(d2,v2)},listen(U4){if(p3){throw new Error("A history only accepts one active listener")}d2.addEventListener(Pm,A);p3=U4;return()=>{d2.removeEventListener(Pm,A);p3=null}},createHref(U4){return r4(d2,U4)},createURL:H2,encodeLocation(U4){let Y3=H2(U4);return{pathname:Y3.pathname,search:Y3.search,hash:Y3.hash}},push:D2,replace:w,go(U4){return v2.go(U4)}};return O4}__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,r4){if(r4==="/")return u5;if(!u5.toLowerCase().startsWith(r4.toLowerCase())){return null}let f3=r4.endsWith("/")?r4.length-1:r4.length;let o7=u5.charAt(f3);if(o7&&o7!=="/"){return null}return u5.slice(f3)||"/"}__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 r4=1;r4{S3&&eh?eh(()=>g2(D2)):g2(D2)},[g2,S3]);z.useLayoutEffect(()=>y2.listen(A),[y2,A]);z.useEffect(()=>jh(h),[h]);return z.createElement(Gh,{basename:r4,children:f3,location:p3.location,navigationType:p3.action,navigator:y2,future:h})}__name(uS,"uS");i(uS,"MemoryRouter");function Gh(u5){let{basename:r4="/",children:f3=null,location:o7,navigationType:d2=De.Pop,navigator:h,static:v2=false,future:y2}=u5;!!w0()?Lh(false):void 0;let p3=r4.replace(/^/*/,"/");let g2=z.useMemo(()=>({basename:p3,navigator:h,static:v2,future:wo({v7_relativeSplatPath:false},y2)}),[p3,y2,h,v2]);if(typeof o7==="string"){o7=qo(o7)}let{pathname:S3="/",search:A="",hash:D2="",state:w=null,key:H2="default"}=o7;let O4=z.useMemo(()=>{let U4=A0(S3,p3);if(U4==null){return null}return{location:{pathname:U4,search:A,hash:D2,state:w,key:H2},navigationType:d2}},[p3,S3,A,D2,w,H2,d2]);if(O4==null){return null}return z.createElement(O0.Provider,{value:g2},z.createElement(Yh.Provider,{children:f3,value:O4}))}__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:r4,children:f3,future:o7,window:d2}=u5;let h=z.useRef();if(h.current==null){h.current=b0({window:d2,v5Compat:true})}let v2=h.current;let[y2,p3]=z.useState({action:v2.action,location:v2.location});let{v7_startTransition:g2}=o7||{};let S3=z.useCallback(A=>{g2&&lh?lh(()=>p3(A)):p3(A)},[p3,g2]);z.useLayoutEffect(()=>v2.listen(S3),[v2,S3]);z.useEffect(()=>jh(o7),[o7]);return z.createElement(Gh,{basename:r4,children:f3,location:y2.location,navigationType:y2.action,navigator:v2,future:o7})}__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:r4=false,target:f3,rel:o7,children:d2,...h},v2)=>{const y2=r4?f3??"_blank":f3;const p3=r4?o7??"noopener noreferrer":o7;return Ht.jsx("a",{href:u5,target:y2,rel:p3,ref:v2,...h,children:d2})});function uh(u5,r4){if(typeof u5==="function"){return u5(r4)}else if(u5!==null&&u5!==void 0){u5.current=r4}}__name(uh,"uh");i(uh,"setRef");function Xh(...u5){return r4=>{let f3=false;const o7=u5.map(d2=>{const h=uh(d2,r4);if(!f3&&typeof h=="function"){f3=true}return h});if(f3){return()=>{for(let d2=0;d2{const{children:h,...v2}=o7;const y2=z.Children.toArray(h);const p3=y2.find(D0);if(p3){const g2=p3.props.children;const S3=y2.map(A=>{if(A===p3){if(z.Children.count(g2)>1)return z.Children.only(null);return z.isValidElement(g2)?g2.props.children:null}else{return A}});return Ht.jsx(r4,{...v2,ref:d2,children:z.isValidElement(g2)?z.cloneElement(g2,void 0,S3):null})}return Ht.jsx(r4,{...v2,ref:d2,children:h})});f3.displayName=`${u5}.Slot`;return f3}__name(Yi,"Yi");i(Yi,"createSlot");var Vh=Yi("Slot");function _0(u5){const r4=z.forwardRef((f3,o7)=>{const{children:d2,...h}=f3;if(z.isValidElement(d2)){const v2=U0(d2);const y2=N0(h,d2.props);if(d2.type!==z.Fragment){y2.ref=o7?Xh(o7,v2):v2}return z.cloneElement(d2,y2)}return z.Children.count(d2)>1?z.Children.only(null):null});r4.displayName=`${u5}.SlotClone`;return r4}__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,r4){const f3={...r4};for(const o7 in r4){const d2=u5[o7];const h=r4[o7];const v2=/^on[A-Z]/.test(o7);if(v2){if(d2&&h){f3[o7]=(...y2)=>{const p3=h(...y2);d2(...y2);return p3}}else if(d2){f3[o7]=d2}}else if(o7==="style"){f3[o7]={...d2,...h}}else if(o7==="className"){f3[o7]=[d2,h].filter(Boolean).join(" ")}}return{...u5,...f3}}__name(N0,"N0");i(N0,"mergeProps");function U0(u5){let r4=Object.getOwnPropertyDescriptor(u5.props,"ref")?.get;let f3=r4&&"isReactWarning"in r4&&r4.isReactWarning;if(f3){return u5.ref}r4=Object.getOwnPropertyDescriptor(u5,"ref")?.get;f3=r4&&"isReactWarning"in r4&&r4.isReactWarning;if(f3){return u5.props.ref}return u5.props.ref||u5.ref}__name(U0,"U0");i(U0,"getElementRef");function Qh(u5){var r4,f3,o7="";if("string"==typeof u5||"number"==typeof u5)o7+=u5;else if("object"==typeof u5)if(Array.isArray(u5)){var d2=u5.length;for(r4=0;r4typeof u5==="boolean"?`${u5}`:u5===0?"0":u5,"falsyToString");var ch=Zh;var kh=i((u5,r4)=>f3=>{var o7;if((r4===null||r4===void 0?void 0:r4.variants)==null)return ch(u5,f3===null||f3===void 0?void 0:f3.class,f3===null||f3===void 0?void 0:f3.className);const{variants:d2,defaultVariants:h}=r4;const v2=Object.keys(d2).map(g2=>{const S3=f3===null||f3===void 0?void 0:f3[g2];const A=h===null||h===void 0?void 0:h[g2];if(S3===null)return null;const D2=ih(S3)||ih(A);return d2[g2][D2]});const y2=f3&&Object.entries(f3).reduce((g2,S3)=>{let[A,D2]=S3;if(D2===void 0){return g2}g2[A]=D2;return g2},{});const p3=r4===null||r4===void 0?void 0:(o7=r4.compoundVariants)===null||o7===void 0?void 0:o7.reduce((g2,S3)=>{let{class:A,className:D2,...w}=S3;return Object.entries(w).every(H2=>{let[O4,U4]=H2;return Array.isArray(U4)?U4.includes({...h,...y2}[O4]):{...h,...y2}[O4]===U4})?[...g2,A,D2]:g2},[]);return ch(u5,v2,p3,f3===null||f3===void 0?void 0:f3.class,f3===null||f3===void 0?void 0:f3.className)},"cva");var Yo="-";var H0=i(u5=>{const r4=L0(u5);const{conflictingClassGroups:f3,conflictingClassGroupModifiers:o7}=u5;const d2=i(v2=>{const y2=v2.split(Yo);if(y2[0]===""&&y2.length!==1){y2.shift()}return Kh(y2,r4)||B0(v2)},"getClassGroupId");const h=i((v2,y2)=>{const p3=f3[v2]||[];if(y2&&o7[v2]){return[...p3,...o7[v2]]}return p3},"getConflictingClassGroupIds");return{getClassGroupId:d2,getConflictingClassGroupIds:h}},"createClassGroupUtils");var Kh=i((u5,r4)=>{if(u5.length===0){return r4.classGroupId}const f3=u5[0];const o7=r4.nextPart.get(f3);const d2=o7?Kh(u5.slice(1),o7):void 0;if(d2){return d2}if(r4.validators.length===0){return void 0}const h=u5.join(Yo);return r4.validators.find(({validator:v2})=>v2(h))?.classGroupId},"getGroupRecursive");var rh=/^[(.+)]$/;var B0=i(u5=>{if(rh.test(u5)){const r4=rh.exec(u5)[1];const f3=r4?.substring(0,r4.indexOf(":"));if(f3){return"arbitrary.."+f3}}},"getGroupIdForArbitraryProperty");var L0=i(u5=>{const{theme:r4,classGroups:f3}=u5;const o7={nextPart:new Map,validators:[]};for(const d2 in f3){Ro(f3[d2],o7,d2,r4)}return o7},"createClassMap");var Ro=i((u5,r4,f3,o7)=>{u5.forEach(d2=>{if(typeof d2==="string"){const h=d2===""?r4:oh(r4,d2);h.classGroupId=f3;return}if(typeof d2==="function"){if(q0(d2)){Ro(d2(o7),r4,f3,o7);return}r4.validators.push({validator:d2,classGroupId:f3});return}Object.entries(d2).forEach(([h,v2])=>{Ro(v2,oh(r4,h),f3,o7)})})},"processClassesRecursively");var oh=i((u5,r4)=>{let f3=u5;r4.split(Yo).forEach(o7=>{if(!f3.nextPart.has(o7)){f3.nextPart.set(o7,{nextPart:new Map,validators:[]})}f3=f3.nextPart.get(o7)});return f3},"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 r4=0;let f3=new Map;let o7=new Map;const d2=i((h,v2)=>{f3.set(h,v2);r4++;if(r4>u5){r4=0;o7=f3;f3=new Map}},"update");return{get(h){let v2=f3.get(h);if(v2!==void 0){return v2}if((v2=o7.get(h))!==void 0){d2(h,v2);return v2}},set(h,v2){if(f3.has(h)){f3.set(h,v2)}else{d2(h,v2)}}}},"createLruCache");var Mo="!";var zo=":";var j0=zo.length;var G0=i(u5=>{const{prefix:r4,experimentalParseClassName:f3}=u5;let o7=i(d2=>{const h=[];let v2=0;let y2=0;let p3=0;let g2;for(let H2=0;H2p3?g2-p3:void 0;return{modifiers:h,hasImportantModifier:D2,baseClassName:A,maybePostfixModifierPosition:w}},"parseClassName");if(r4){const d2=r4+zo;const h=o7;o7=i(v2=>v2.startsWith(d2)?h(v2.substring(d2.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:v2,maybePostfixModifierPosition:void 0},"parseClassName")}if(f3){const d2=o7;o7=i(h=>f3({className:h,parseClassName:d2}),"parseClassName")}return o7},"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 r4=Object.fromEntries(u5.orderSensitiveModifiers.map(o7=>[o7,true]));const f3=i(o7=>{if(o7.length<=1){return o7}const d2=[];let h=[];o7.forEach(v2=>{const y2=v2[0]==="["||r4[v2];if(y2){d2.push(...h.sort(),v2);h=[]}else{h.push(v2)}});d2.push(...h.sort());return d2},"sortModifiers");return f3},"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,r4)=>{const{parseClassName:f3,getClassGroupId:o7,getConflictingClassGroupIds:d2,sortModifiers:h}=r4;const v2=[];const y2=u5.trim().split(Z0);let p3="";for(let g2=y2.length-1;g2>=0;g2-=1){const S3=y2[g2];const{isExternal:A,modifiers:D2,hasImportantModifier:w,baseClassName:H2,maybePostfixModifierPosition:O4}=f3(S3);if(A){p3=S3+(p3.length>0?" "+p3:p3);continue}let U4=!!O4;let Y3=o7(U4?H2.substring(0,O4):H2);if(!Y3){if(!U4){p3=S3+(p3.length>0?" "+p3:p3);continue}Y3=o7(H2);if(!Y3){p3=S3+(p3.length>0?" "+p3:p3);continue}U4=false}const Q3=h(D2).join(":");const Z3=w?Q3+Mo:Q3;const k4=Z3+Y3;if(v2.includes(k4)){continue}v2.push(k4);const X4=d2(Y3,U4);for(let et3=0;et30?" "+p3:p3)}return p3},"mergeClassList");function K0(){let u5=0;let r4;let f3;let o7="";while(u5{if(typeof u5==="string"){return u5}let r4;let f3="";for(let o7=0;o7A(S3),u5());f3=Q0(g2);o7=f3.cache.get;d2=f3.cache.set;h=y2;return y2(p3)}__name(v2,"v");i(v2,"initTailwindMerge");function y2(p3){const g2=o7(p3);if(g2){return g2}const S3=k0(p3,f3);d2(p3,S3);return S3}__name(y2,"y");i(y2,"tailwindMerge");return i(__name(function p3(){return h(K0.apply(null,arguments))},"p"),"callTailwindMerge")}__name(J0,"J0");i(J0,"createTailwindMerge");var Zt=i(u5=>{const r4=i(f3=>f3[u5]||[],"themeGetter");r4.isThemeGetter=true;return r4},"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,r4,f3)=>{const o7=Wh.exec(u5);if(o7){if(o7[1]){return r4(o7[1])}return f3(o7[2])}return false},"getIsArbitraryValue");var ca=i((u5,r4,f3=false)=>{const o7=$h.exec(u5);if(o7){if(o7[1]){return r4(o7[1])}return f3}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 r4=Zt("font");const f3=Zt("text");const o7=Zt("font-weight");const d2=Zt("tracking");const h=Zt("leading");const v2=Zt("breakpoint");const y2=Zt("container");const p3=Zt("spacing");const g2=Zt("radius");const S3=Zt("shadow");const A=Zt("inset-shadow");const D2=Zt("text-shadow");const w=Zt("drop-shadow");const H2=Zt("blur");const O4=Zt("perspective");const U4=Zt("aspect");const Y3=Zt("ease");const Q3=Zt("animate");const Z3=i(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak");const k4=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(()=>[...k4(),tt,I],"scalePositionWithArbitrary");const et3=i(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow");const W5=i(()=>["auto","contain","none"],"scaleOverscroll");const J2=i(()=>[tt,I,p3],"scaleUnambiguousSpacing");const rt4=i(()=>[Fn,"full","auto",...J2()],"scaleInset");const Et3=i(()=>[Yl,"none","subgrid",tt,I],"scaleGridTemplateColsRows");const Mt2=i(()=>["auto",{span:["full",Yl,tt,I]},Yl,tt,I],"scaleGridColRowStartAndEnd");const vt2=i(()=>[Yl,"auto",tt,I],"scaleGridColRowStartOrEnd");const Ot2=i(()=>["auto","min","max","fr",tt,I],"scaleGridAutoColsRows");const St2=i(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis");const gt3=i(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis");const C2=i(()=>["auto",...J2()],"scaleMargin");const V=i(()=>[Fn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J2()],"scaleSizing");const B4=i(()=>[u5,tt,I],"scaleColor");const ct4=i(()=>[...k4(),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",g2,tt,I],"scaleRadius");const F4=i(()=>["",dt,ou,rn],"scaleBorderWidth");const ft3=i(()=>["solid","dashed","dotted","double"],"scaleLineStyle");const ut4=i(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode");const mt3=i(()=>[dt,ho,sh,fh],"scaleMaskImagePosition");const At2=i(()=>["","none",H2,tt,I],"scaleBlur");const le4=i(()=>["none",dt,tt,I],"scaleRotate");const He4=i(()=>["none",dt,tt,I],"scaleScale");const Be4=i(()=>[dt,tt,I],"scaleSkew");const Le4=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,U4]}],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:W5()}],"overscroll-x":[{"overscroll-x":W5()}],"overscroll-y":[{"overscroll-y":W5()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:rt4()}],"inset-x":[{"inset-x":rt4()}],"inset-y":[{"inset-y":rt4()}],start:[{start:rt4()}],end:[{end:rt4()}],top:[{top:rt4()}],right:[{right:rt4()}],bottom:[{bottom:rt4()}],left:[{left:rt4()}],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":Et3()}],"col-start-end":[{col:Mt2()}],"col-start":[{"col-start":vt2()}],"col-end":[{"col-end":vt2()}],"grid-rows":[{"grid-rows":Et3()}],"row-start-end":[{row:Mt2()}],"row-start":[{"row-start":vt2()}],"row-end":[{"row-end":vt2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot2()}],"auto-rows":[{"auto-rows":Ot2()}],gap:[{gap:J2()}],"gap-x":[{"gap-x":J2()}],"gap-y":[{"gap-y":J2()}],"justify-content":[{justify:[...St2(),"normal"]}],"justify-items":[{"justify-items":[...gt3(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt3()]}],"align-content":[{content:["normal",...St2()]}],"align-items":[{items:[...gt3(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt3(),{baseline:["","last"]}]}],"place-content":[{"place-content":St2()}],"place-items":[{"place-items":[...gt3(),"baseline"]}],"place-self":[{"place-self":["auto",...gt3()]}],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:C2()}],mx:[{mx:C2()}],my:[{my:C2()}],ms:[{ms:C2()}],me:[{me:C2()}],mt:[{mt:C2()}],mr:[{mr:C2()}],mb:[{mb:C2()}],ml:[{ml:C2()}],"space-x":[{"space-x":J2()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J2()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[y2,"screen",...V()]}],"min-w":[{"min-w":[y2,"screen","none",...V()]}],"max-w":[{"max-w":[y2,"screen","none","prose",{screen:[v2]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",f3,ou,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o7,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,r4]}],"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:[d2,tt,I]}],"line-clamp":[{"line-clamp":[dt,"none",tt,vo]}],leading:[{leading:[h,...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:B4()}],"text-color":[{text:B4()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ft3(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",tt,rn]}],"text-decoration-color":[{decoration:B4()}],"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:ct4()}],"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:B4()}],"gradient-from-pos":[{from:$3()}],"gradient-via-pos":[{via:$3()}],"gradient-to-pos":[{to:$3()}],"gradient-from":[{from:B4()}],"gradient-via":[{via:B4()}],"gradient-to":[{to:B4()}],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:F4()}],"border-w-x":[{"border-x":F4()}],"border-w-y":[{"border-y":F4()}],"border-w-s":[{"border-s":F4()}],"border-w-e":[{"border-e":F4()}],"border-w-t":[{"border-t":F4()}],"border-w-r":[{"border-r":F4()}],"border-w-b":[{"border-b":F4()}],"border-w-l":[{"border-l":F4()}],"divide-x":[{"divide-x":F4()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F4()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ft3(),"hidden","none"]}],"divide-style":[{divide:[...ft3(),"hidden","none"]}],"border-color":[{border:B4()}],"border-color-x":[{"border-x":B4()}],"border-color-y":[{"border-y":B4()}],"border-color-s":[{"border-s":B4()}],"border-color-e":[{"border-e":B4()}],"border-color-t":[{"border-t":B4()}],"border-color-r":[{"border-r":B4()}],"border-color-b":[{"border-b":B4()}],"border-color-l":[{"border-l":B4()}],"divide-color":[{divide:B4()}],"outline-style":[{outline:[...ft3(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,tt,I]}],"outline-w":[{outline:["",dt,ou,rn]}],"outline-color":[{outline:B4()}],shadow:[{shadow:["","none",S3,Mi,Ri]}],"shadow-color":[{shadow:B4()}],"inset-shadow":[{"inset-shadow":["none",A,Mi,Ri]}],"inset-shadow-color":[{"inset-shadow":B4()}],"ring-w":[{ring:F4()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B4()}],"ring-offset-w":[{"ring-offset":[dt,rn]}],"ring-offset-color":[{"ring-offset":B4()}],"inset-ring-w":[{"inset-ring":F4()}],"inset-ring-color":[{"inset-ring":B4()}],"text-shadow":[{"text-shadow":["none",D2,Mi,Ri]}],"text-shadow-color":[{"text-shadow":B4()}],opacity:[{opacity:[dt,tt,I]}],"mix-blend":[{"mix-blend":[...ut4(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ut4()}],"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":mt3()}],"mask-image-linear-to-pos":[{"mask-linear-to":mt3()}],"mask-image-linear-from-color":[{"mask-linear-from":B4()}],"mask-image-linear-to-color":[{"mask-linear-to":B4()}],"mask-image-t-from-pos":[{"mask-t-from":mt3()}],"mask-image-t-to-pos":[{"mask-t-to":mt3()}],"mask-image-t-from-color":[{"mask-t-from":B4()}],"mask-image-t-to-color":[{"mask-t-to":B4()}],"mask-image-r-from-pos":[{"mask-r-from":mt3()}],"mask-image-r-to-pos":[{"mask-r-to":mt3()}],"mask-image-r-from-color":[{"mask-r-from":B4()}],"mask-image-r-to-color":[{"mask-r-to":B4()}],"mask-image-b-from-pos":[{"mask-b-from":mt3()}],"mask-image-b-to-pos":[{"mask-b-to":mt3()}],"mask-image-b-from-color":[{"mask-b-from":B4()}],"mask-image-b-to-color":[{"mask-b-to":B4()}],"mask-image-l-from-pos":[{"mask-l-from":mt3()}],"mask-image-l-to-pos":[{"mask-l-to":mt3()}],"mask-image-l-from-color":[{"mask-l-from":B4()}],"mask-image-l-to-color":[{"mask-l-to":B4()}],"mask-image-x-from-pos":[{"mask-x-from":mt3()}],"mask-image-x-to-pos":[{"mask-x-to":mt3()}],"mask-image-x-from-color":[{"mask-x-from":B4()}],"mask-image-x-to-color":[{"mask-x-to":B4()}],"mask-image-y-from-pos":[{"mask-y-from":mt3()}],"mask-image-y-to-pos":[{"mask-y-to":mt3()}],"mask-image-y-from-color":[{"mask-y-from":B4()}],"mask-image-y-to-color":[{"mask-y-to":B4()}],"mask-image-radial":[{"mask-radial":[tt,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":mt3()}],"mask-image-radial-to-pos":[{"mask-radial-to":mt3()}],"mask-image-radial-from-color":[{"mask-radial-from":B4()}],"mask-image-radial-to-color":[{"mask-radial-to":B4()}],"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":k4()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":mt3()}],"mask-image-conic-to-pos":[{"mask-conic-to":mt3()}],"mask-image-conic-from-color":[{"mask-conic-from":B4()}],"mask-image-conic-to-color":[{"mask-conic-to":B4()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ct4()}],"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:At2()}],brightness:[{brightness:[dt,tt,I]}],contrast:[{contrast:[dt,tt,I]}],"drop-shadow":[{"drop-shadow":["","none",w,Mi,Ri]}],"drop-shadow-color":[{"drop-shadow":B4()}],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":At2()}],"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:[O4,tt,I]}],"perspective-origin":[{"perspective-origin":X4()}],rotate:[{rotate:le4()}],"rotate-x":[{"rotate-x":le4()}],"rotate-y":[{"rotate-y":le4()}],"rotate-z":[{"rotate-z":le4()}],scale:[{scale:He4()}],"scale-x":[{"scale-x":He4()}],"scale-y":[{"scale-y":He4()}],"scale-z":[{"scale-z":He4()}],"scale-3d":["scale-3d"],skew:[{skew:Be4()}],"skew-x":[{"skew-x":Be4()}],"skew-y":[{"skew-y":Be4()}],transform:[{transform:[tt,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:X4()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Le4()}],"translate-x":[{"translate-x":Le4()}],"translate-y":[{"translate-y":Le4()}],"translate-z":[{"translate-z":Le4()}],"translate-none":["translate-none"],accent:[{accent:B4()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B4()}],"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",...B4()]}],"stroke-w":[{stroke:[dt,ou,rn,vo]}],stroke:[{stroke:["none",...B4()]}],"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 r4=document.createElement("textarea");r4.innerHTML=u5;const f3=r4.value;r4.remove();return f3}__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:r4,asChild:f3=false,...o7}){const d2=f3?Vh:"span";return Ht.jsx(d2,{"data-slot":"badge",className:nv(vp({variant:r4}),u5),...o7})}__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:r4,size:f3,asChild:o7=false,...d2}){const h=o7?Vh:"button";return Ht.jsx(h,{"data-slot":"button",className:nv(gp({variant:r4,size:f3,className:u5})),...d2})}__name(fS,"fS");i(fS,"Button");function go(u5,r4,{checkForDefaultPrevented:f3=true}={}){return i(__name(function o7(d2){u5?.(d2);if(f3===false||!d2.defaultPrevented){return r4?.(d2)}},"o"),"handleEvent")}__name(go,"go");i(go,"composeEventHandlers");function sS(u5,r4){const f3=z.createContext(r4);const o7=i(h=>{const{children:v2,...y2}=h;const p3=z.useMemo(()=>y2,Object.values(y2));return Ht.jsx(f3.Provider,{value:p3,children:v2})},"Provider");o7.displayName=u5+"Provider";function d2(h){const v2=z.useContext(f3);if(v2)return v2;if(r4!==void 0)return r4;throw new Error(``${h}` must be used within `${u5}``)}__name(d2,"d");i(d2,"useContext2");return[o7,d2]}__name(sS,"sS");i(sS,"createContext2");function av(u5,r4=[]){let f3=[];function o7(h,v2){const y2=z.createContext(v2);const p3=f3.length;f3=[...f3,v2];const g2=i(A=>{const{scope:D2,children:w,...H2}=A;const O4=D2?.[u5]?.[p3]||y2;const U4=z.useMemo(()=>H2,Object.values(H2));return Ht.jsx(O4.Provider,{value:U4,children:w})},"Provider");g2.displayName=h+"Provider";function S3(A,D2){const w=D2?.[u5]?.[p3]||y2;const H2=z.useContext(w);if(H2)return H2;if(v2!==void 0)return v2;throw new Error(``${A}` must be used within `${h}``)}__name(S3,"S");i(S3,"useContext2");return[g2,S3]}__name(o7,"o");i(o7,"createContext3");const d2=i(()=>{const h=f3.map(v2=>{return z.createContext(v2)});return i(__name(function v2(y2){const p3=y2?.[u5]||h;return z.useMemo(()=>({[`__scope${u5}`]:{...y2,[u5]:p3}}),[y2,p3])},"v"),"useScope")},"createScope");d2.scopeName=u5;return[o7,yp(d2,...r4)]}__name(av,"av");i(av,"createContextScope");function yp(...u5){const r4=u5[0];if(u5.length===1)return r4;const f3=i(()=>{const o7=u5.map(d2=>({useScope:d2(),scopeName:d2.scopeName}));return i(__name(function d2(h){const v2=o7.reduce((y2,{useScope:p3,scopeName:g2})=>{const S3=p3(h);const A=S3[`__scope${g2}`];return{...y2,...A}},{});return z.useMemo(()=>({[`__scope${r4.scopeName}`]:v2}),[v2])},"d"),"useComposedScopes")},"createScope");f3.scopeName=r4.scopeName;return f3}__name(yp,"yp");i(yp,"composeContextScopes");var na=globalThis?.document?z.useLayoutEffect:()=>{};var pp=Qi[" useInsertionEffect ".trim().toString()]||na;function dS({prop:u5,defaultProp:r4,onChange:f3=i(()=>{},"onChange"),caller:o7}){const[d2,h,v2]=bp({defaultProp:r4,onChange:f3});const y2=u5!==void 0;const p3=y2?u5:d2;{const S3=z.useRef(u5!==void 0);z.useEffect(()=>{const A=S3.current;if(A!==y2){const D2=A?"controlled":"uncontrolled";const w=y2?"controlled":"uncontrolled";console.warn(`${o7} 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.`)}S3.current=y2},[y2,o7])}const g2=z.useCallback(S3=>{if(y2){const A=Sp(S3)?S3(u5):S3;if(A!==u5){v2.current?.(A)}}else{h(S3)}},[y2,u5,h,v2]);return[p3,g2]}__name(dS,"dS");i(dS,"useControllableState");function bp({defaultProp:u5,onChange:r4}){const[f3,o7]=z.useState(u5);const d2=z.useRef(f3);const h=z.useRef(r4);pp(()=>{h.current=r4},[r4]);z.useEffect(()=>{if(d2.current!==f3){h.current?.(f3);d2.current=f3}},[f3,d2]);return[f3,o7,h]}__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,r4)=>{const f3=Yi(`Primitive.${r4}`);const o7=z.forwardRef((d2,h)=>{const{asChild:v2,...y2}=d2;const p3=v2?f3:r4;if(typeof window!=="undefined"){window[Symbol.for("radix-ui")]=true}return Ht.jsx(p3,{...y2,ref:h})});o7.displayName=`Primitive.${r4}`;return{...u5,[r4]:o7}},{});function xp(u5,r4){if(u5)Bo.flushSync(()=>u5.dispatchEvent(r4))}__name(xp,"xp");i(xp,"dispatchDiscreteCustomEvent");function mS(u5){const r4=u5+"CollectionProvider";const[f3,o7]=av(r4);const[d2,h]=f3(r4,{collectionRef:{current:null},itemMap:new Map});const v2=i(O4=>{const{scope:U4,children:Y3}=O4;const Q3=sl.useRef(null);const Z3=sl.useRef(new Map).current;return Ht.jsx(d2,{scope:U4,itemMap:Z3,collectionRef:Q3,children:Y3})},"CollectionProvider");v2.displayName=r4;const y2=u5+"CollectionSlot";const p3=Yi(y2);const g2=sl.forwardRef((O4,U4)=>{const{scope:Y3,children:Q3}=O4;const Z3=h(y2,Y3);const k4=on(U4,Z3.collectionRef);return Ht.jsx(p3,{ref:k4,children:Q3})});g2.displayName=y2;const S3=u5+"CollectionItemSlot";const A="data-radix-collection-item";const D2=Yi(S3);const w=sl.forwardRef((O4,U4)=>{const{scope:Y3,children:Q3,...Z3}=O4;const k4=sl.useRef(null);const X4=on(U4,k4);const et3=h(S3,Y3);sl.useEffect(()=>{et3.itemMap.set(k4,{ref:k4,...Z3});return()=>void et3.itemMap.delete(k4)});return Ht.jsx(D2,{...{[A]:""},ref:X4,children:Q3})});w.displayName=S3;function H2(O4){const U4=h(u5+"CollectionConsumer",O4);const Y3=sl.useCallback(()=>{const Q3=U4.collectionRef.current;if(!Q3)return[];const Z3=Array.from(Q3.querySelectorAll(`[${A}]`));const k4=Array.from(U4.itemMap.values());const X4=k4.sort((et3,W5)=>Z3.indexOf(et3.ref.current)-Z3.indexOf(W5.ref.current));return X4},[U4.collectionRef,U4.itemMap]);return Y3}__name(H2,"H");i(H2,"useCollection");return[{Provider:v2,Slot:g2,ItemSlot:w},H2,o7]}__name(mS,"mS");i(mS,"createCollection");var Ap=z.createContext(void 0);function hS(u5){const r4=z.useContext(Ap);return u5||r4||"ltr"}__name(hS,"hS");i(hS,"useDirection");function aa(u5){const r4=z.useRef(u5);z.useEffect(()=>{r4.current=u5});return z.useMemo(()=>(...f3)=>r4.current?.(...f3),[])}__name(aa,"aa");i(aa,"useCallbackRef$1");function Tp(u5,r4=globalThis?.document){const f3=aa(u5);z.useEffect(()=>{const o7=i(d2=>{if(d2.key==="Escape"){f3(d2)}},"handleKeyDown");r4.addEventListener("keydown",o7,{capture:true});return()=>r4.removeEventListener("keydown",o7,{capture:true})},[f3,r4])}__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,r4)=>{const{disableOutsidePointerEvents:f3=false,onEscapeKeyDown:o7,onPointerDownOutside:d2,onFocusOutside:h,onInteractOutside:v2,onDismiss:y2,...p3}=u5;const g2=z.useContext(uv);const[S3,A]=z.useState(null);const D2=S3?.ownerDocument??globalThis?.document;const[,w]=z.useState({});const H2=on(r4,W5=>A(W5));const O4=Array.from(g2.layers);const[U4]=[...g2.layersWithOutsidePointerEventsDisabled].slice(-1);const Y3=O4.indexOf(U4);const Q3=S3?O4.indexOf(S3):-1;const Z3=g2.layersWithOutsidePointerEventsDisabled.size>0;const k4=Q3>=Y3;const X4=Cp(W5=>{const J2=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J2));if(!k4||rt4)return;d2?.(W5);v2?.(W5);if(!W5.defaultPrevented)y2?.()},D2);const et3=Dp(W5=>{const J2=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J2));if(rt4)return;h?.(W5);v2?.(W5);if(!W5.defaultPrevented)y2?.()},D2);Tp(W5=>{const J2=Q3===g2.layers.size-1;if(!J2)return;o7?.(W5);if(!W5.defaultPrevented&&y2){W5.preventDefault();y2()}},D2);z.useEffect(()=>{if(!S3)return;if(f3){if(g2.layersWithOutsidePointerEventsDisabled.size===0){dh=D2.body.style.pointerEvents;D2.body.style.pointerEvents="none"}g2.layersWithOutsidePointerEventsDisabled.add(S3)}g2.layers.add(S3);mh();return()=>{if(f3&&g2.layersWithOutsidePointerEventsDisabled.size===1){D2.body.style.pointerEvents=dh}}},[S3,D2,f3,g2]);z.useEffect(()=>{return()=>{if(!S3)return;g2.layers.delete(S3);g2.layersWithOutsidePointerEventsDisabled.delete(S3);mh()}},[S3,g2]);z.useEffect(()=>{const W5=i(()=>w({}),"handleUpdate");document.addEventListener(_o,W5);return()=>document.removeEventListener(_o,W5)},[]);return Ht.jsx(sn.div,{...p3,ref:H2,style:{pointerEvents:Z3?k4?"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,r4)=>{const f3=z.useContext(uv);const o7=z.useRef(null);const d2=on(r4,o7);z.useEffect(()=>{const h=o7.current;if(h){f3.branches.add(h);return()=>{f3.branches.delete(h)}}},[f3.branches]);return Ht.jsx(sn.div,{...u5,ref:d2})});_p.displayName=zp;function Cp(u5,r4=globalThis?.document){const f3=aa(u5);const o7=z.useRef(false);const d2=z.useRef(()=>{});z.useEffect(()=>{const h=i(y2=>{if(y2.target&&!o7.current){let p3=i(function(){iv(wp,f3,g2,{discrete:true})},"handleAndDispatchPointerDownOutsideEvent2");const g2={originalEvent:y2};if(y2.pointerType==="touch"){r4.removeEventListener("click",d2.current);d2.current=p3;r4.addEventListener("click",d2.current,{once:true})}else{p3()}}else{r4.removeEventListener("click",d2.current)}o7.current=false},"handlePointerDown");const v2=window.setTimeout(()=>{r4.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(v2);r4.removeEventListener("pointerdown",h);r4.removeEventListener("click",d2.current)}},[r4,f3]);return{onPointerDownCapture:i(()=>o7.current=true,"onPointerDownCapture")}}__name(Cp,"Cp");i(Cp,"usePointerDownOutside");function Dp(u5,r4=globalThis?.document){const f3=aa(u5);const o7=z.useRef(false);z.useEffect(()=>{const d2=i(h=>{if(h.target&&!o7.current){const v2={originalEvent:h};iv(Rp,f3,v2,{discrete:false})}},"handleFocus");r4.addEventListener("focusin",d2);return()=>r4.removeEventListener("focusin",d2)},[r4,f3]);return{onFocusCapture:i(()=>o7.current=true,"onFocusCapture"),onBlurCapture:i(()=>o7.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,r4,f3,{discrete:o7}){const d2=f3.originalEvent.target;const h=new CustomEvent(u5,{bubbles:false,cancelable:true,detail:f3});if(r4)d2.addEventListener(u5,r4,{once:true});if(o7){xp(d2,h)}else{d2.dispatchEvent(h)}}__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(r4=>r4.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,r4)=>{const{loop:f3=false,trapped:o7=false,onMountAutoFocus:d2,onUnmountAutoFocus:h,...v2}=u5;const[y2,p3]=z.useState(null);const g2=aa(d2);const S3=aa(h);const A=z.useRef(null);const D2=on(r4,O4=>p3(O4));const w=z.useRef({paused:false,pause(){this.paused=true},resume(){this.paused=false}}).current;z.useEffect(()=>{if(o7){let O4=i(function(Z3){if(w.paused||!y2)return;const k4=Z3.target;if(y2.contains(k4)){A.current=k4}else{jl(A.current,{select:true})}},"handleFocusIn2"),U4=i(function(Z3){if(w.paused||!y2)return;const k4=Z3.relatedTarget;if(k4===null)return;if(!y2.contains(k4)){jl(A.current,{select:true})}},"handleFocusOut2"),Y3=i(function(Z3){const k4=document.activeElement;if(k4!==document.body)return;for(const X4 of Z3){if(X4.removedNodes.length>0)jl(y2)}},"handleMutations2");document.addEventListener("focusin",O4);document.addEventListener("focusout",U4);const Q3=new MutationObserver(Y3);if(y2)Q3.observe(y2,{childList:true,subtree:true});return()=>{document.removeEventListener("focusin",O4);document.removeEventListener("focusout",U4);Q3.disconnect()}}},[o7,y2,w.paused]);z.useEffect(()=>{if(y2){yh.add(w);const O4=document.activeElement;const U4=y2.contains(O4);if(!U4){const Y3=new CustomEvent(po,vh);y2.addEventListener(po,g2);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){Hp(jp(cv(y2)),{select:true});if(document.activeElement===O4){jl(y2)}}}return()=>{y2.removeEventListener(po,g2);setTimeout(()=>{const Y3=new CustomEvent(bo,vh);y2.addEventListener(bo,S3);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){jl(O4??document.body,{select:true})}y2.removeEventListener(bo,S3);yh.remove(w)},0)}}},[y2,g2,S3,w]);const H2=z.useCallback(O4=>{if(!f3&&!o7)return;if(w.paused)return;const U4=O4.key==="Tab"&&!O4.altKey&&!O4.ctrlKey&&!O4.metaKey;const Y3=document.activeElement;if(U4&&Y3){const Q3=O4.currentTarget;const[Z3,k4]=Bp(Q3);const X4=Z3&&k4;if(!X4){if(Y3===Q3)O4.preventDefault()}else{if(!O4.shiftKey&&Y3===k4){O4.preventDefault();if(f3)jl(Z3,{select:true})}else if(O4.shiftKey&&Y3===Z3){O4.preventDefault();if(f3)jl(k4,{select:true})}}}},[f3,o7,w.paused]);return Ht.jsx(sn.div,{tabIndex:-1,...v2,ref:D2,onKeyDown:H2})});Up.displayName=Np;function Hp(u5,{select:r4=false}={}){const f3=document.activeElement;for(const o7 of u5){jl(o7,{select:r4});if(document.activeElement!==f3)return}}__name(Hp,"Hp");i(Hp,"focusFirst");function Bp(u5){const r4=cv(u5);const f3=gh(r4,u5);const o7=gh(r4.reverse(),u5);return[f3,o7]}__name(Bp,"Bp");i(Bp,"getTabbableEdges");function cv(u5){const r4=[];const f3=document.createTreeWalker(u5,NodeFilter.SHOW_ELEMENT,{acceptNode:i(o7=>{const d2=o7.tagName==="INPUT"&&o7.type==="hidden";if(o7.disabled||o7.hidden||d2)return NodeFilter.FILTER_SKIP;return o7.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(f3.nextNode())r4.push(f3.currentNode);return r4}__name(cv,"cv");i(cv,"getTabbableCandidates");function gh(u5,r4){for(const f3 of u5){if(!Lp(f3,{upTo:r4}))return f3}}__name(gh,"gh");i(gh,"findVisible");function Lp(u5,{upTo:r4}){if(getComputedStyle(u5).visibility==="hidden")return true;while(u5){if(r4!==void 0&&u5===r4)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:r4=false}={}){if(u5&&u5.focus){const f3=document.activeElement;u5.focus({preventScroll:true});if(u5!==f3&&qp(u5)&&r4)u5.select()}}__name(jl,"jl");i(jl,"focus");var yh=Yp();function Yp(){let u5=[];return{add(r4){const f3=u5[0];if(r4!==f3){f3?.pause()}u5=ph(u5,r4);u5.unshift(r4)},remove(r4){u5=ph(u5,r4);u5[0]?.resume()}}}__name(Yp,"Yp");i(Yp,"createFocusScopesStack");function ph(u5,r4){const f3=[...u5];const o7=f3.indexOf(r4);if(o7!==-1){f3.splice(o7,1)}return f3}__name(ph,"ph");i(ph,"arrayRemove");function jp(u5){return u5.filter(r4=>r4.tagName!=="A")}__name(jp,"jp");i(jp,"removeLinks");var Gp=Qi[" useId ".trim().toString()]||(()=>void 0);var Xp=0;function gS(u5){const[r4,f3]=z.useState(Gp());na(()=>{f3(o7=>o7??String(Xp++))},[u5]);return u5||(r4?`radix-${r4}`:"")}__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,r4,f3){return pe(u5,Gl(r4,f3))}__name(Co,"Co");i(Co,"clamp");function dl(u5,r4){return typeof u5==="function"?u5(r4):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,r4,f3){if(f3===void 0){f3=false}const o7=ra(u5);const d2=Xo(u5);const h=Go(d2);let v2=d2==="x"?o7===(f3?"end":"start")?"right":"left":o7==="start"?"bottom":"top";if(r4.reference[h]>r4.floating[h]){v2=Gi(v2)}return[v2,Gi(v2)]}__name(Kp,"Kp");i(Kp,"getAlignmentSides");function Jp(u5){const r4=Gi(u5);return[Do(u5),r4,Do(r4)]}__name(Jp,"Jp");i(Jp,"getExpandedPlacements");function Do(u5){return u5.replace(/start|end/g,r4=>Zp[r4])}__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,r4,f3){switch(u5){case"top":case"bottom":if(f3)return r4?Sh:bh;return r4?bh:Sh;case"left":case"right":return r4?Wp:$p;default:return[]}}__name(Fp,"Fp");i(Fp,"getSideList");function Pp(u5,r4,f3,o7){const d2=ra(u5);let h=Fp(ml(u5),f3==="start",o7);if(d2){h=h.map(v2=>v2+"-"+d2);if(r4){h=h.concat(h.map(Do))}}return h}__name(Pp,"Pp");i(Pp,"getOppositeAxisPlacements");function Gi(u5){return u5.replace(/left|right|bottom|top/g,r4=>Qp[r4])}__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:r4,y:f3,width:o7,height:d2}=u5;return{width:o7,height:d2,top:f3,left:r4,right:r4+o7,bottom:f3+d2,x:r4,y:f3}}__name(Xi,"Xi");i(Xi,"rectToClientRect");function Eh(u5,r4,f3){let{reference:o7,floating:d2}=u5;const h=Ze(r4);const v2=Xo(r4);const y2=Go(v2);const p3=ml(r4);const g2=h==="y";const S3=o7.x+o7.width/2-d2.width/2;const A=o7.y+o7.height/2-d2.height/2;const D2=o7[y2]/2-d2[y2]/2;let w;switch(p3){case"top":w={x:S3,y:o7.y-d2.height};break;case"bottom":w={x:S3,y:o7.y+o7.height};break;case"right":w={x:o7.x+o7.width,y:A};break;case"left":w={x:o7.x-d2.width,y:A};break;default:w={x:o7.x,y:o7.y}}switch(ra(r4)){case"start":w[v2]-=D2*(f3&&g2?-1:1);break;case"end":w[v2]+=D2*(f3&&g2?-1:1);break}return w}__name(Eh,"Eh");i(Eh,"computeCoordsFromPlacement");var tb=i(async(u5,r4,f3)=>{const{placement:o7="bottom",strategy:d2="absolute",middleware:h=[],platform:v2}=f3;const y2=h.filter(Boolean);const p3=await(v2.isRTL==null?void 0:v2.isRTL(r4));let g2=await v2.getElementRects({reference:u5,floating:r4,strategy:d2});let{x:S3,y:A}=Eh(g2,o7,p3);let D2=o7;let w={};let H2=0;for(let O4=0;O4({name:"arrow",options:u5,async fn(r4){const{x:f3,y:o7,placement:d2,rects:h,platform:v2,elements:y2,middlewareData:p3}=r4;const{element:g2,padding:S3=0}=dl(u5,r4)||{};if(g2==null){return{}}const A=rv(S3);const D2={x:f3,y:o7};const w=Xo(d2);const H2=Go(w);const O4=await v2.getDimensions(g2);const U4=w==="y";const Y3=U4?"top":"left";const Q3=U4?"bottom":"right";const Z3=U4?"clientHeight":"clientWidth";const k4=h.reference[H2]+h.reference[w]-D2[w]-h.floating[H2];const X4=D2[w]-h.reference[w];const et3=await(v2.getOffsetParent==null?void 0:v2.getOffsetParent(g2));let W5=et3?et3[Z3]:0;if(!W5||!await(v2.isElement==null?void 0:v2.isElement(et3))){W5=y2.floating[Z3]||h.floating[H2]}const J2=k4/2-X4/2;const rt4=W5/2-O4[H2]/2-1;const Et3=Gl(A[Y3],rt4);const Mt2=Gl(A[Q3],rt4);const vt2=Et3;const Ot2=W5-O4[H2]-Mt2;const St2=W5/2-O4[H2]/2+J2;const gt3=Co(vt2,St2,Ot2);const C2=!p3.arrow&&ra(d2)!=null&&St2!==gt3&&h.reference[H2]/2-(St2St2<=0)){var Mt2,vt2;const St2=(((Mt2=h.flip)==null?void 0:Mt2.index)||0)+1;const gt3=W5[St2];if(gt3){const V=A==="alignment"?Q3!==Ze(gt3):false;if(!V||Et3.every(B4=>B4.overflows[0]>0&&Ze(B4.placement)===Q3)){return{data:{index:St2,overflows:Et3},reset:{placement:gt3}}}}let C2=(vt2=Et3.filter(V=>V.overflows[0]<=0).sort((V,B4)=>V.overflows[1]-B4.overflows[1])[0])==null?void 0:vt2.placement;if(!C2){switch(w){case"bestFit":{var Ot2;const V=(Ot2=Et3.filter(B4=>{if(et3){const ct4=Ze(B4.placement);return ct4===Q3||ct4==="y"}return true}).map(B4=>[B4.placement,B4.overflows.filter(ct4=>ct4>0).reduce((ct4,E4)=>ct4+E4,0)]).sort((B4,ct4)=>B4[1]-ct4[1])[0])==null?void 0:Ot2[0];if(V){C2=V}break}case"initialPlacement":C2=y2;break}}if(d2!==C2){return{reset:{placement:C2}}}}return{}}}},"flip$2");function xh(u5,r4){return{top:u5.top-r4.height,right:u5.right-r4.width,bottom:u5.bottom-r4.height,left:u5.left-r4.width}}__name(xh,"xh");i(xh,"getSideOffsets");function Ah(u5){return Vp.some(r4=>u5[r4]>=0)}__name(Ah,"Ah");i(Ah,"isAnySideFullyClipped");var nb=i(function(u5){if(u5===void 0){u5={}}return{name:"hide",options:u5,async fn(r4){const{rects:f3}=r4;const{strategy:o7="referenceHidden",...d2}=dl(u5,r4);switch(o7){case"referenceHidden":{const h=await fu(r4,{...d2,elementContext:"reference"});const v2=xh(h,f3.reference);return{data:{referenceHiddenOffsets:v2,referenceHidden:Ah(v2)}}}case"escaped":{const h=await fu(r4,{...d2,altBoundary:true});const v2=xh(h,f3.floating);return{data:{escapedOffsets:v2,escaped:Ah(v2)}}}default:{return{}}}}}},"hide$2");var ov=new Set(["left","top"]);async function ab(u5,r4){const{placement:f3,platform:o7,elements:d2}=u5;const h=await(o7.isRTL==null?void 0:o7.isRTL(d2.floating));const v2=ml(f3);const y2=ra(f3);const p3=Ze(f3)==="y";const g2=ov.has(v2)?-1:1;const S3=h&&p3?-1:1;const A=dl(r4,u5);let{mainAxis:D2,crossAxis:w,alignmentAxis:H2}=typeof A==="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};if(y2&&typeof H2==="number"){w=y2==="end"?H2*-1:H2}return p3?{x:w*S3,y:D2*g2}:{x:D2*g2,y:w*S3}}__name(ab,"ab");i(ab,"convertValueToCoords");var ub=i(function(u5){if(u5===void 0){u5=0}return{name:"offset",options:u5,async fn(r4){var f3,o7;const{x:d2,y:h,placement:v2,middlewareData:y2}=r4;const p3=await ab(r4,u5);if(v2===((f3=y2.offset)==null?void 0:f3.placement)&&(o7=y2.arrow)!=null&&o7.alignmentOffset){return{}}return{x:d2+p3.x,y:h+p3.y,data:{...p3,placement:v2}}}}},"offset$2");var ib=i(function(u5){if(u5===void 0){u5={}}return{name:"shift",options:u5,async fn(r4){const{x:f3,y:o7,placement:d2}=r4;const{mainAxis:h=true,crossAxis:v2=false,limiter:y2={fn:i(U4=>{let{x:Y3,y:Q3}=U4;return{x:Y3,y:Q3}},"fn")},...p3}=dl(u5,r4);const g2={x:f3,y:o7};const S3=await fu(r4,p3);const A=Ze(ml(d2));const D2=jo(A);let w=g2[D2];let H2=g2[A];if(h){const U4=D2==="y"?"top":"left";const Y3=D2==="y"?"bottom":"right";const Q3=w+S3[U4];const Z3=w-S3[Y3];w=Co(Q3,w,Z3)}if(v2){const U4=A==="y"?"top":"left";const Y3=A==="y"?"bottom":"right";const Q3=H2+S3[U4];const Z3=H2-S3[Y3];H2=Co(Q3,H2,Z3)}const O4=y2.fn({...r4,[D2]:w,[A]:H2});return{...O4,data:{x:O4.x-f3,y:O4.y-o7,enabled:{[D2]:h,[A]:v2}}}}}},"shift$2");var cb=i(function(u5){if(u5===void 0){u5={}}return{options:u5,fn(r4){const{x:f3,y:o7,placement:d2,rects:h,middlewareData:v2}=r4;const{offset:y2=0,mainAxis:p3=true,crossAxis:g2=true}=dl(u5,r4);const S3={x:f3,y:o7};const A=Ze(d2);const D2=jo(A);let w=S3[D2];let H2=S3[A];const O4=dl(y2,r4);const U4=typeof O4==="number"?{mainAxis:O4,crossAxis:0}:{mainAxis:0,crossAxis:0,...O4};if(p3){const Z3=D2==="y"?"height":"width";const k4=h.reference[D2]-h.floating[Z3]+U4.mainAxis;const X4=h.reference[D2]+h.reference[Z3]-U4.mainAxis;if(wX4){w=X4}}if(g2){var Y3,Q3;const Z3=D2==="y"?"width":"height";const k4=ov.has(ml(d2));const X4=h.reference[A]-h.floating[Z3]+(k4?((Y3=v2.offset)==null?void 0:Y3[A])||0:0)+(k4?0:U4.crossAxis);const et3=h.reference[A]+h.reference[Z3]+(k4?0:((Q3=v2.offset)==null?void 0:Q3[A])||0)-(k4?U4.crossAxis:0);if(H2et3){H2=et3}}return{[D2]:w,[A]:H2}}}},"limitShift$2");var rb=i(function(u5){if(u5===void 0){u5={}}return{name:"size",options:u5,async fn(r4){var f3,o7;const{placement:d2,rects:h,platform:v2,elements:y2}=r4;const{apply:p3=i(()=>{},"apply"),...g2}=dl(u5,r4);const S3=await fu(r4,g2);const A=ml(d2);const D2=ra(d2);const w=Ze(d2)==="y";const{width:H2,height:O4}=h.floating;let U4;let Y3;if(A==="top"||A==="bottom"){U4=A;Y3=D2===(await(v2.isRTL==null?void 0:v2.isRTL(y2.floating))?"start":"end")?"left":"right"}else{Y3=A;U4=D2==="end"?"top":"bottom"}const Q3=O4-S3.top-S3.bottom;const Z3=H2-S3.left-S3.right;const k4=Gl(O4-S3[U4],Q3);const X4=Gl(H2-S3[Y3],Z3);const et3=!r4.middlewareData.shift;let W5=k4;let J2=X4;if((f3=r4.middlewareData.shift)!=null&&f3.enabled.x){J2=Z3}if((o7=r4.middlewareData.shift)!=null&&o7.enabled.y){W5=Q3}if(et3&&!D2){const Et3=pe(S3.left,0);const Mt2=pe(S3.right,0);const vt2=pe(S3.top,0);const Ot2=pe(S3.bottom,0);if(w){J2=H2-2*(Et3!==0||Mt2!==0?Et3+Mt2:pe(S3.left,S3.right))}else{W5=O4-2*(vt2!==0||Ot2!==0?vt2+Ot2:pe(S3.top,S3.bottom))}}await p3({...r4,availableWidth:J2,availableHeight:W5});const rt4=await v2.getDimensions(y2.floating);if(H2!==rt4.width||O4!==rt4.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 r4;return(u5==null||(r4=u5.ownerDocument)==null?void 0:r4.defaultView)||window}__name(be,"be");i(be,"getWindow");function Je(u5){var r4;return(r4=(fv(u5)?u5.ownerDocument:u5.document)||window.document)==null?void 0:r4.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:r4,overflowX:f3,overflowY:o7,display:d2}=Ue(u5);return/auto|scroll|overlay|hidden|clip/.test(r4+o7+f3)&&!ob.has(d2)}__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(r4=>{try{return u5.matches(r4)}catch(f3){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 r4=Qo();const f3=Ne(u5)?Ue(u5):u5;return mb.some(o7=>f3[o7]?f3[o7]!=="none":false)||(f3.containerType?f3.containerType!=="normal":false)||!r4&&(f3.backdropFilter?f3.backdropFilter!=="none":false)||!r4&&(f3.filter?f3.filter!=="none":false)||hb.some(o7=>(f3.willChange||"").includes(o7))||vb.some(o7=>(f3.contain||"").includes(o7))}__name(Vo,"Vo");i(Vo,"isContainingBlock");function gb(u5){let r4=Xl(u5);while(Ke(r4)&&!ua(r4)){if(Vo(r4)){return r4}else if(ki(r4)){return null}r4=Xl(r4)}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 r4=u5.assignedSlot||u5.parentNode||Th(u5)&&u5.host||Je(u5);return Th(r4)?r4.host:r4}__name(Xl,"Xl");i(Xl,"getParentNode");function sv(u5){const r4=Xl(u5);if(ua(r4)){return u5.ownerDocument?u5.ownerDocument.body:u5.body}if(Ke(r4)&&du(r4)){return r4}return sv(r4)}__name(sv,"sv");i(sv,"getNearestOverflowAncestor");function su(u5,r4,f3){var o7;if(r4===void 0){r4=[]}if(f3===void 0){f3=true}const d2=sv(u5);const h=d2===((o7=u5.ownerDocument)==null?void 0:o7.body);const v2=be(d2);if(h){const y2=No(v2);return r4.concat(v2,v2.visualViewport||[],du(d2)?d2:[],y2&&f3?su(y2):[])}return r4.concat(d2,su(d2,[],f3))}__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 r4=Ue(u5);let f3=parseFloat(r4.width)||0;let o7=parseFloat(r4.height)||0;const d2=Ke(u5);const h=d2?u5.offsetWidth:f3;const v2=d2?u5.offsetHeight:o7;const y2=ji(f3)!==h||ji(o7)!==v2;if(y2){f3=h;o7=v2}return{width:f3,height:o7,$: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 r4=Zo(u5);if(!Ke(r4)){return ke(1)}const f3=r4.getBoundingClientRect();const{width:o7,height:d2,$:h}=dv(r4);let v2=(h?ji(f3.width):f3.width)/o7;let y2=(h?ji(f3.height):f3.height)/d2;if(!v2||!Number.isFinite(v2)){v2=1}if(!y2||!Number.isFinite(y2)){y2=1}return{x:v2,y:y2}}__name(ea,"ea");i(ea,"getScale");var pb=ke(0);function mv(u5){const r4=be(u5);if(!Qo()||!r4.visualViewport){return pb}return{x:r4.visualViewport.offsetLeft,y:r4.visualViewport.offsetTop}}__name(mv,"mv");i(mv,"getVisualOffsets");function bb(u5,r4,f3){if(r4===void 0){r4=false}if(!f3||r4&&f3!==be(u5)){return false}return r4}__name(bb,"bb");i(bb,"shouldAddVisualOffsets");function fn(u5,r4,f3,o7){if(r4===void 0){r4=false}if(f3===void 0){f3=false}const d2=u5.getBoundingClientRect();const h=Zo(u5);let v2=ke(1);if(r4){if(o7){if(Ne(o7)){v2=ea(o7)}}else{v2=ea(u5)}}const y2=bb(h,f3,o7)?mv(h):ke(0);let p3=(d2.left+y2.x)/v2.x;let g2=(d2.top+y2.y)/v2.y;let S3=d2.width/v2.x;let A=d2.height/v2.y;if(h){const D2=be(h);const w=o7&&Ne(o7)?be(o7):o7;let H2=D2;let O4=No(H2);while(O4&&o7&&w!==H2){const U4=ea(O4);const Y3=O4.getBoundingClientRect();const Q3=Ue(O4);const Z3=Y3.left+(O4.clientLeft+parseFloat(Q3.paddingLeft))*U4.x;const k4=Y3.top+(O4.clientTop+parseFloat(Q3.paddingTop))*U4.y;p3*=U4.x;g2*=U4.y;S3*=U4.x;A*=U4.y;p3+=Z3;g2+=k4;H2=be(O4);O4=No(H2)}}return Xi({width:S3,height:A,x:p3,y:g2})}__name(fn,"fn");i(fn,"getBoundingClientRect");function ko(u5,r4){const f3=Ki(u5).scrollLeft;if(!r4){return fn(Je(u5)).left+f3}return r4.left+f3}__name(ko,"ko");i(ko,"getWindowScrollBarX");function hv(u5,r4,f3){if(f3===void 0){f3=false}const o7=u5.getBoundingClientRect();const d2=o7.left+r4.scrollLeft-(f3?0:ko(u5,o7));const h=o7.top+r4.scrollTop;return{x:d2,y:h}}__name(hv,"hv");i(hv,"getHTMLOffset");function Sb(u5){let{elements:r4,rect:f3,offsetParent:o7,strategy:d2}=u5;const h=d2==="fixed";const v2=Je(o7);const y2=r4?ki(r4.floating):false;if(o7===v2||y2&&h){return f3}let p3={scrollLeft:0,scrollTop:0};let g2=ke(1);const S3=ke(0);const A=Ke(o7);if(A||!A&&!h){if(oa(o7)!=="body"||du(v2)){p3=Ki(o7)}if(Ke(o7)){const w=fn(o7);g2=ea(o7);S3.x=w.x+o7.clientLeft;S3.y=w.y+o7.clientTop}}const D2=v2&&!A&&!h?hv(v2,p3,true):ke(0);return{width:f3.width*g2.x,height:f3.height*g2.y,x:f3.x*g2.x-p3.scrollLeft*g2.x+S3.x+D2.x,y:f3.y*g2.y-p3.scrollTop*g2.y+S3.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 r4=Je(u5);const f3=Ki(u5);const o7=u5.ownerDocument.body;const d2=pe(r4.scrollWidth,r4.clientWidth,o7.scrollWidth,o7.clientWidth);const h=pe(r4.scrollHeight,r4.clientHeight,o7.scrollHeight,o7.clientHeight);let v2=-f3.scrollLeft+ko(u5);const y2=-f3.scrollTop;if(Ue(o7).direction==="rtl"){v2+=pe(r4.clientWidth,o7.clientWidth)-d2}return{width:d2,height:h,x:v2,y:y2}}__name(xb,"xb");i(xb,"getDocumentRect");function Ab(u5,r4){const f3=be(u5);const o7=Je(u5);const d2=f3.visualViewport;let h=o7.clientWidth;let v2=o7.clientHeight;let y2=0;let p3=0;if(d2){h=d2.width;v2=d2.height;const g2=Qo();if(!g2||g2&&r4==="fixed"){y2=d2.offsetLeft;p3=d2.offsetTop}}return{width:h,height:v2,x:y2,y:p3}}__name(Ab,"Ab");i(Ab,"getViewportRect");var Tb=new Set(["absolute","fixed"]);function Ob(u5,r4){const f3=fn(u5,true,r4==="fixed");const o7=f3.top+u5.clientTop;const d2=f3.left+u5.clientLeft;const h=Ke(u5)?ea(u5):ke(1);const v2=u5.clientWidth*h.x;const y2=u5.clientHeight*h.y;const p3=d2*h.x;const g2=o7*h.y;return{width:v2,height:y2,x:p3,y:g2}}__name(Ob,"Ob");i(Ob,"getInnerBoundingClientRect");function Oh(u5,r4,f3){let o7;if(r4==="viewport"){o7=Ab(u5,f3)}else if(r4==="document"){o7=xb(Je(u5))}else if(Ne(r4)){o7=Ob(r4,f3)}else{const d2=mv(u5);o7={x:r4.x-d2.x,y:r4.y-d2.y,width:r4.width,height:r4.height}}return Xi(o7)}__name(Oh,"Oh");i(Oh,"getClientRectFromClippingAncestor");function vv(u5,r4){const f3=Xl(u5);if(f3===r4||!Ne(f3)||ua(f3)){return false}return Ue(f3).position==="fixed"||vv(f3,r4)}__name(vv,"vv");i(vv,"hasFixedPositionAncestor");function wb(u5,r4){const f3=r4.get(u5);if(f3){return f3}let o7=su(u5,[],false).filter(y2=>Ne(y2)&&oa(y2)!=="body");let d2=null;const h=Ue(u5).position==="fixed";let v2=h?Xl(u5):u5;while(Ne(v2)&&!ua(v2)){const y2=Ue(v2);const p3=Vo(v2);if(!p3&&y2.position==="fixed"){d2=null}const g2=h?!p3&&!d2:!p3&&y2.position==="static"&&!!d2&&Tb.has(d2.position)||du(v2)&&!p3&&vv(u5,v2);if(g2){o7=o7.filter(S3=>S3!==v2)}else{d2=y2}v2=Xl(v2)}r4.set(u5,o7);return o7}__name(wb,"wb");i(wb,"getClippingElementAncestors");function Rb(u5){let{element:r4,boundary:f3,rootBoundary:o7,strategy:d2}=u5;const h=f3==="clippingAncestors"?ki(r4)?[]:wb(r4,this._c):[].concat(f3);const v2=[...h,o7];const y2=v2[0];const p3=v2.reduce((g2,S3)=>{const A=Oh(r4,S3,d2);g2.top=pe(A.top,g2.top);g2.right=Gl(A.right,g2.right);g2.bottom=Gl(A.bottom,g2.bottom);g2.left=pe(A.left,g2.left);return g2},Oh(r4,y2,d2));return{width:p3.right-p3.left,height:p3.bottom-p3.top,x:p3.left,y:p3.top}}__name(Rb,"Rb");i(Rb,"getClippingRect");function Mb(u5){const{width:r4,height:f3}=dv(u5);return{width:r4,height:f3}}__name(Mb,"Mb");i(Mb,"getDimensions");function zb(u5,r4,f3){const o7=Ke(r4);const d2=Je(r4);const h=f3==="fixed";const v2=fn(u5,true,h,r4);let y2={scrollLeft:0,scrollTop:0};const p3=ke(0);function g2(){p3.x=ko(d2)}__name(g2,"g");i(g2,"setLeftRTLScrollbarOffset");if(o7||!o7&&!h){if(oa(r4)!=="body"||du(d2)){y2=Ki(r4)}if(o7){const w=fn(r4,true,h,r4);p3.x=w.x+r4.clientLeft;p3.y=w.y+r4.clientTop}else if(d2){g2()}}if(h&&!o7&&d2){g2()}const S3=d2&&!o7&&!h?hv(d2,y2):ke(0);const A=v2.left+y2.scrollLeft-p3.x-S3.x;const D2=v2.top+y2.scrollTop-p3.y-S3.y;return{x:A,y:D2,width:v2.width,height:v2.height}}__name(zb,"zb");i(zb,"getRectRelativeToOffsetParent");function So(u5){return Ue(u5).position==="static"}__name(So,"So");i(So,"isStaticPositioned");function wh(u5,r4){if(!Ke(u5)||Ue(u5).position==="fixed"){return null}if(r4){return r4(u5)}let f3=u5.offsetParent;if(Je(u5)===f3){f3=f3.ownerDocument.body}return f3}__name(wh,"wh");i(wh,"getTrueOffsetParent");function gv(u5,r4){const f3=be(u5);if(ki(u5)){return f3}if(!Ke(u5)){let d2=Xl(u5);while(d2&&!ua(d2)){if(Ne(d2)&&!So(d2)){return d2}d2=Xl(d2)}return f3}let o7=wh(u5,r4);while(o7&&sb(o7)&&So(o7)){o7=wh(o7,r4)}if(o7&&ua(o7)&&So(o7)&&!Vo(o7)){return f3}return o7||gb(u5)||f3}__name(gv,"gv");i(gv,"getOffsetParent");var _b=i(async function(u5){const r4=this.getOffsetParent||gv;const f3=this.getDimensions;const o7=await f3(u5.floating);return{reference:zb(u5.reference,await r4(u5.floating),u5.strategy),floating:{x:0,y:0,width:o7.width,height:o7.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,r4){return u5.x===r4.x&&u5.y===r4.y&&u5.width===r4.width&&u5.height===r4.height}__name(yv,"yv");i(yv,"rectsAreEqual");function Nb(u5,r4){let f3=null;let o7;const d2=Je(u5);function h(){var y2;clearTimeout(o7);(y2=f3)==null||y2.disconnect();f3=null}__name(h,"h");i(h,"cleanup");function v2(y2,p3){if(y2===void 0){y2=false}if(p3===void 0){p3=1}h();const g2=u5.getBoundingClientRect();const{left:S3,top:A,width:D2,height:w}=g2;if(!y2){r4()}if(!D2||!w){return}const H2=zi(A);const O4=zi(d2.clientWidth-(S3+D2));const U4=zi(d2.clientHeight-(A+w));const Y3=zi(S3);const Q3=-H2+"px "+-O4+"px "+-U4+"px "+-Y3+"px";const Z3={rootMargin:Q3,threshold:pe(0,Gl(1,p3))||1};let k4=true;function X4(et3){const W5=et3[0].intersectionRatio;if(W5!==p3){if(!k4){return v2()}if(!W5){o7=setTimeout(()=>{v2(false,1e-7)},1e3)}else{v2(false,W5)}}if(W5===1&&!yv(g2,u5.getBoundingClientRect())){v2()}k4=false}__name(X4,"X");i(X4,"handleObserve");try{f3=new IntersectionObserver(X4,{...Z3,root:d2.ownerDocument})}catch(et3){f3=new IntersectionObserver(X4,Z3)}f3.observe(u5)}__name(v2,"v");i(v2,"refresh");v2(true);return h}__name(Nb,"Nb");i(Nb,"observeMove");function Ub(u5,r4,f3,o7){if(o7===void 0){o7={}}const{ancestorScroll:d2=true,ancestorResize:h=true,elementResize:v2=typeof ResizeObserver==="function",layoutShift:y2=typeof IntersectionObserver==="function",animationFrame:p3=false}=o7;const g2=Zo(u5);const S3=d2||h?[...g2?su(g2):[],...su(r4)]:[];S3.forEach(Y3=>{d2&&Y3.addEventListener("scroll",f3,{passive:true});h&&Y3.addEventListener("resize",f3)});const A=g2&&y2?Nb(g2,f3):null;let D2=-1;let w=null;if(v2){w=new ResizeObserver(Y3=>{let[Q3]=Y3;if(Q3&&Q3.target===g2&&w){w.unobserve(r4);cancelAnimationFrame(D2);D2=requestAnimationFrame(()=>{var Z3;(Z3=w)==null||Z3.observe(r4)})}f3()});if(g2&&!p3){w.observe(g2)}w.observe(r4)}let H2;let O4=p3?fn(u5):null;if(p3){U4()}function U4(){const Y3=fn(u5);if(O4&&!yv(O4,Y3)){f3()}O4=Y3;H2=requestAnimationFrame(U4)}__name(U4,"U");i(U4,"frameLoop");f3();return()=>{var Y3;S3.forEach(Q3=>{d2&&Q3.removeEventListener("scroll",f3);h&&Q3.removeEventListener("resize",f3)});A==null||A();(Y3=w)==null||Y3.disconnect();w=null;if(p3){cancelAnimationFrame(H2)}}}__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,r4,f3)=>{const o7=new Map;const d2={platform:Db,...f3};const h={...d2.platform,_c:o7};return tb(u5,r4,{...d2,platform:h})},"computePosition");var Xb=typeof document!=="undefined";var Vb=i(__name(function u(){},"u"),"noop");var Ui=Xb?z.useLayoutEffect:Vb;function Vi(u5,r4){if(u5===r4){return true}if(typeof u5!==typeof r4){return false}if(typeof u5==="function"&&u5.toString()===r4.toString()){return true}let f3;let o7;let d2;if(u5&&r4&&typeof u5==="object"){if(Array.isArray(u5)){f3=u5.length;if(f3!==r4.length)return false;for(o7=f3;o7--!==0;){if(!Vi(u5[o7],r4[o7])){return false}}return true}d2=Object.keys(u5);f3=d2.length;if(f3!==Object.keys(r4).length){return false}for(o7=f3;o7--!==0;){if(!{}.hasOwnProperty.call(r4,d2[o7])){return false}}for(o7=f3;o7--!==0;){const h=d2[o7];if(h==="_owner"&&u5.$$typeof){continue}if(!Vi(u5[h],r4[h])){return false}}return true}return u5!==u5&&r4!==r4}__name(Vi,"Vi");i(Vi,"deepEqual");function pv(u5){if(typeof window==="undefined"){return 1}const r4=u5.ownerDocument.defaultView||window;return r4.devicePixelRatio||1}__name(pv,"pv");i(pv,"getDPR");function Mh(u5,r4){const f3=pv(u5);return Math.round(r4*f3)/f3}__name(Mh,"Mh");i(Mh,"roundByDPR");function Eo(u5){const r4=z.useRef(u5);Ui(()=>{r4.current=u5});return r4}__name(Eo,"Eo");i(Eo,"useLatestRef");function Qb(u5){if(u5===void 0){u5={}}const{placement:r4="bottom",strategy:f3="absolute",middleware:o7=[],platform:d2,elements:{reference:h,floating:v2}={},transform:y2=true,whileElementsMounted:p3,open:g2}=u5;const[S3,A]=z.useState({x:0,y:0,strategy:f3,placement:r4,middlewareData:{},isPositioned:false});const[D2,w]=z.useState(o7);if(!Vi(D2,o7)){w(o7)}const[H2,O4]=z.useState(null);const[U4,Y3]=z.useState(null);const Q3=z.useCallback(B4=>{if(B4!==et3.current){et3.current=B4;O4(B4)}},[]);const Z3=z.useCallback(B4=>{if(B4!==W5.current){W5.current=B4;Y3(B4)}},[]);const k4=h||H2;const X4=v2||U4;const et3=z.useRef(null);const W5=z.useRef(null);const J2=z.useRef(S3);const rt4=p3!=null;const Et3=Eo(p3);const Mt2=Eo(d2);const vt2=Eo(g2);const Ot2=z.useCallback(()=>{if(!et3.current||!W5.current){return}const B4={placement:r4,strategy:f3,middleware:D2};if(Mt2.current){B4.platform=Mt2.current}Gb(et3.current,W5.current,B4).then(ct4=>{const E4={...ct4,isPositioned:vt2.current!==false};if(St2.current&&!Vi(J2.current,E4)){J2.current=E4;Bo.flushSync(()=>{A(E4)})}})},[D2,r4,f3,Mt2,vt2]);Ui(()=>{if(g2===false&&J2.current.isPositioned){J2.current.isPositioned=false;A(B4=>({...B4,isPositioned:false}))}},[g2]);const St2=z.useRef(false);Ui(()=>{St2.current=true;return()=>{St2.current=false}},[]);Ui(()=>{if(k4)et3.current=k4;if(X4)W5.current=X4;if(k4&&X4){if(Et3.current){return Et3.current(k4,X4,Ot2)}Ot2()}},[k4,X4,Ot2,Et3,rt4]);const gt3=z.useMemo(()=>({reference:et3,floating:W5,setReference:Q3,setFloating:Z3}),[Q3,Z3]);const C2=z.useMemo(()=>({reference:k4,floating:X4}),[k4,X4]);const V=z.useMemo(()=>{const B4={position:f3,left:0,top:0};if(!C2.floating){return B4}const ct4=Mh(C2.floating,S3.x);const E4=Mh(C2.floating,S3.y);if(y2){return{...B4,transform:"translate("+ct4+"px, "+E4+"px)",...pv(C2.floating)>=1.5&&{willChange:"transform"}}}return{position:f3,left:ct4,top:E4}},[f3,y2,C2.floating,S3.x,S3.y]);return z.useMemo(()=>({...S3,update:Ot2,refs:gt3,elements:C2,floatingStyles:V}),[S3,Ot2,gt3,C2,V])}__name(Qb,"Qb");i(Qb,"useFloating");var Zb=i(u5=>{function r4(f3){return{}.hasOwnProperty.call(f3,"current")}__name(r4,"r");i(r4,"isRef");return{name:"arrow",options:u5,fn(f3){const{element:o7,padding:d2}=typeof u5==="function"?u5(f3):u5;if(o7&&r4(o7)){if(o7.current!=null){return Rh({element:o7.current,padding:d2}).fn(f3)}return{}}if(o7){return Rh({element:o7,padding:d2}).fn(f3)}return{}}}},"arrow$1");var kb=i((u5,r4)=>({...Hb(u5),options:[u5,r4]}),"offset");var Kb=i((u5,r4)=>({...Bb(u5),options:[u5,r4]}),"shift");var Jb=i((u5,r4)=>({...jb(u5),options:[u5,r4]}),"limitShift");var Wb=i((u5,r4)=>({...Lb(u5),options:[u5,r4]}),"flip");var $b=i((u5,r4)=>({...qb(u5),options:[u5,r4]}),"size");var Fb=i((u5,r4)=>({...Yb(u5),options:[u5,r4]}),"hide");var Pb=i((u5,r4)=>({...Zb(u5),options:[u5,r4]}),"arrow");var Ib="Arrow";var bv=z.forwardRef((u5,r4)=>{const{children:f3,width:o7=10,height:d2=5,...h}=u5;return Ht.jsx(sn.svg,{...h,ref:r4,width:o7,height:d2,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:u5.asChild?f3:Ht.jsx("polygon",{points:"0,0 30,0 15,10"})})});bv.displayName=Ib;var t1=bv;function e1(u5){const[r4,f3]=z.useState(void 0);na(()=>{if(u5){f3({width:u5.offsetWidth,height:u5.offsetHeight});const o7=new ResizeObserver(d2=>{if(!Array.isArray(d2)){return}if(!d2.length){return}const h=d2[0];let v2;let y2;if("borderBoxSize"in h){const p3=h["borderBoxSize"];const g2=Array.isArray(p3)?p3[0]:p3;v2=g2["inlineSize"];y2=g2["blockSize"]}else{v2=u5.offsetWidth;y2=u5.offsetHeight}f3({width:v2,height:y2})});o7.observe(u5,{box:"border-box"});return()=>o7.unobserve(u5)}else{f3(void 0)}},[u5]);return r4}__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:r4,children:f3}=u5;const[o7,d2]=z.useState(null);return Ht.jsx(l1,{scope:r4,anchor:o7,onAnchorChange:d2,children:f3})},"Popper");xv.displayName=Ko;var Av="PopperAnchor";var Tv=z.forwardRef((u5,r4)=>{const{__scopePopper:f3,virtualRef:o7,...d2}=u5;const h=Ev(Av,f3);const v2=z.useRef(null);const y2=on(r4,v2);z.useEffect(()=>{h.onAnchorChange(o7?.current||v2.current)});return o7?null:Ht.jsx(sn.div,{...d2,ref:y2})});Tv.displayName=Av;var Jo="PopperContent";var[n1,a1]=Sv(Jo);var Ov=z.forwardRef((u5,r4)=>{const{__scopePopper:f3,side:o7="bottom",sideOffset:d2=0,align:h="center",alignOffset:v2=0,arrowPadding:y2=0,avoidCollisions:p3=true,collisionBoundary:g2=[],collisionPadding:S3=0,sticky:A="partial",hideWhenDetached:D2=false,updatePositionStrategy:w="optimized",onPlaced:H2,...O4}=u5;const U4=Ev(Jo,f3);const[Y3,Q3]=z.useState(null);const Z3=on(r4,mt3=>Q3(mt3));const[k4,X4]=z.useState(null);const et3=e1(k4);const W5=et3?.width??0;const J2=et3?.height??0;const rt4=o7+(h!=="center"?"-"+h:"");const Et3=typeof S3==="number"?S3:{top:0,right:0,bottom:0,left:0,...S3};const Mt2=Array.isArray(g2)?g2:[g2];const vt2=Mt2.length>0;const Ot2={padding:Et3,boundary:Mt2.filter(i1),altBoundary:vt2};const{refs:St2,floatingStyles:gt3,placement:C2,isPositioned:V,middlewareData:B4}=Qb({strategy:"fixed",placement:rt4,whileElementsMounted:i((...mt3)=>{const At2=Ub(...mt3,{animationFrame:w==="always"});return At2},"whileElementsMounted"),elements:{reference:U4.anchor},middleware:[kb({mainAxis:d2+J2,alignmentAxis:v2}),p3&&Kb({mainAxis:true,crossAxis:false,limiter:A==="partial"?Jb():void 0,...Ot2}),p3&&Wb({...Ot2}),$b({...Ot2,apply:i(({elements:mt3,rects:At2,availableWidth:le4,availableHeight:He4})=>{const{width:Be4,height:Le4}=At2.reference;const hl2=mt3.floating.style;hl2.setProperty("--radix-popper-available-width",`${le4}px`);hl2.setProperty("--radix-popper-available-height",`${He4}px`);hl2.setProperty("--radix-popper-anchor-width",`${Be4}px`);hl2.setProperty("--radix-popper-anchor-height",`${Le4}px`)},"apply")}),k4&&Pb({element:k4,padding:y2}),c1({arrowWidth:W5,arrowHeight:J2}),D2&&Fb({strategy:"referenceHidden",...Ot2})]});const[ct4,E4]=Mv(C2);const G3=aa(H2);na(()=>{if(V){G3?.()}},[V,G3]);const $3=B4.arrow?.x;const K3=B4.arrow?.y;const F4=B4.arrow?.centerOffset!==0;const[ft3,ut4]=z.useState();na(()=>{if(Y3)ut4(window.getComputedStyle(Y3).zIndex)},[Y3]);return Ht.jsx("div",{ref:St2.setFloating,"data-radix-popper-content-wrapper":"",style:{...gt3,transform:V?gt3.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ft3,["--radix-popper-transform-origin"]:[B4.transformOrigin?.x,B4.transformOrigin?.y].join(" "),...B4.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:u5.dir,children:Ht.jsx(n1,{scope:f3,placedSide:ct4,onArrowChange:X4,arrowX:$3,arrowY:K3,shouldHideArrow:F4,children:Ht.jsx(sn.div,{"data-side":ct4,"data-align":E4,...O4,ref:Z3,style:{...O4.style,animation:!V?"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(r4,f3){const{__scopePopper:o7,...d2}=r4;const h=a1(wv,o7);const v2=u1[h.placedSide];return Ht.jsx("span",{ref:h.onArrowChange,style:{position:"absolute",left:h.arrowX,top:h.arrowY,[v2]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:`rotate(180deg)`,left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h.placedSide],visibility:h.shouldHideArrow?"hidden":void 0},children:Ht.jsx(t1,{...d2,ref:f3,style:{...d2.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(r4){const{placement:f3,rects:o7,middlewareData:d2}=r4;const h=d2.arrow?.centerOffset!==0;const v2=h;const y2=v2?0:u5.arrowWidth;const p3=v2?0:u5.arrowHeight;const[g2,S3]=Mv(f3);const A={start:"0%",center:"50%",end:"100%"}[S3];const D2=(d2.arrow?.x??0)+y2/2;const w=(d2.arrow?.y??0)+p3/2;let H2="";let O4="";if(g2==="bottom"){H2=v2?A:`${D2}px`;O4=`${-p3}px`}else if(g2==="top"){H2=v2?A:`${D2}px`;O4=`${o7.floating.height+p3}px`}else if(g2==="right"){H2=`${-p3}px`;O4=v2?A:`${w}px`}else if(g2==="left"){H2=`${o7.floating.width+p3}px`;O4=v2?A:`${w}px`}return{data:{x:H2,y:O4}}}}),"transformOrigin");function Mv(u5){const[r4,f3="center"]=u5.split("-");return[r4,f3]}__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,r4)=>{const{container:f3,...o7}=u5;const[d2,h]=z.useState(false);na(()=>h(true),[]);const v2=f3||d2&&globalThis?.document?.body;return v2?y0.createPortal(Ht.jsx(sn.div,{...o7,ref:r4}),v2):null});o1.displayName=r1;var f1=i(function(u5){if(typeof document==="undefined"){return null}var r4=Array.isArray(u5)?u5[0]:u5;return r4.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,r4){return r4.map(function(f3){if(u5.contains(f3)){return f3}var o7=zv(f3);if(o7&&u5.contains(o7)){return o7}console.error("aria-hidden",f3,"in not contained inside",u5,". Doing nothing");return null}).filter(function(f3){return Boolean(f3)})},"correctTargets");var d1=i(function(u5,r4,f3,o7){var d2=s1(r4,Array.isArray(u5)?u5:[u5]);if(!Ci[f3]){Ci[f3]=new WeakMap}var h=Ci[f3];var v2=[];var y2=new Set;var p3=new Set(d2);var g2=i(function(A){if(!A||y2.has(A)){return}y2.add(A);g2(A.parentNode)},"keep");d2.forEach(g2);var S3=i(function(A){if(!A||p3.has(A)){return}Array.prototype.forEach.call(A.children,function(D2){if(y2.has(D2)){S3(D2)}else{try{var w=D2.getAttribute(o7);var H2=w!==null&&w!=="false";var O4=(Pn.get(D2)||0)+1;var U4=(h.get(D2)||0)+1;Pn.set(D2,O4);h.set(D2,U4);v2.push(D2);if(O4===1&&H2){_i.set(D2,true)}if(U4===1){D2.setAttribute(f3,"true")}if(!H2){D2.setAttribute(o7,"true")}}catch(Y3){console.error("aria-hidden: cannot operate on ",D2,Y3)}}})},"deep");S3(r4);y2.clear();xo++;return function(){v2.forEach(function(A){var D2=Pn.get(A)-1;var w=h.get(A)-1;Pn.set(A,D2);h.set(A,w);if(!D2){if(!_i.has(A)){A.removeAttribute(o7)}_i.delete(A)}if(!w){A.removeAttribute(f3)}});xo--;if(!xo){Pn=new WeakMap;Pn=new WeakMap;_i=new WeakMap;Ci={}}}},"applyAttributeToOthers");var xS=i(function(u5,r4,f3){if(f3===void 0){f3="data-aria-hidden"}var o7=Array.from(Array.isArray(u5)?u5:[u5]);var d2=f1(u5);if(!d2){return function(){return null}}o7.push.apply(o7,Array.from(d2.querySelectorAll("[aria-live], script")));return d1(o7,d2,f3,"aria-hidden")},"hideOthers");var Qe=i(function(){Qe=Object.assign||i(__name(function u5(r4){for(var f3,o7=1,d2=arguments.length;o7y2){return true}}o7=o7.parentNode}while(o7&&o7!==f3.body);return false},"locationCouldBeScrolled");var Y1=i(function(u5){var r4=u5.scrollTop,f3=u5.scrollHeight,o7=u5.clientHeight;return[r4,f3,o7]},"getVScrollVariables");var j1=i(function(u5){var r4=u5.scrollLeft,f3=u5.scrollWidth,o7=u5.clientWidth;return[r4,f3,o7]},"getHScrollVariables");var Hv=i(function(u5,r4){return u5==="v"?L1(r4):q1(r4)},"elementCouldBeScrolled");var Bv=i(function(u5,r4){return u5==="v"?Y1(r4):j1(r4)},"getScrollVariables");var G1=i(function(u5,r4){return u5==="h"&&r4==="rtl"?-1:1},"getDirectionFactor");var X1=i(function(u5,r4,f3,o7,d2){var h=G1(u5,window.getComputedStyle(r4).direction);var v2=h*o7;var y2=f3.target;var p3=r4.contains(y2);var g2=false;var S3=v2>0;var A=0;var D2=0;do{if(!y2){break}var w=Bv(u5,y2),H2=w[0],O4=w[1],U4=w[2];var Y3=O4-U4-h*H2;if(H2||Y3){if(Hv(u5,y2)){A+=Y3;D2+=H2}}var Q3=y2.parentNode;y2=Q3&&Q3.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q3.host:Q3}while(!p3&&y2!==document.body||p3&&(r4.contains(y2)||r4===y2));if(S3&&(Math.abs(A)<1||false)){g2=true}else if(!S3&&(Math.abs(D2)<1||false)){g2=true}return g2},"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,r4){return u5[0]===r4[0]&&u5[1]===r4[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 r4=z.useRef([]);var f3=z.useRef([0,0]);var o7=z.useRef();var d2=z.useState(Z1++)[0];var h=z.useState(Nv)[0];var v2=z.useRef(u5);z.useEffect(function(){v2.current=u5},[u5]);z.useEffect(function(){if(u5.inert){document.body.classList.add("block-interactivity-".concat(d2));var O4=m1([u5.lockRef.current],(u5.shards||[]).map(Nh),true).filter(Boolean);O4.forEach(function(U4){return U4.classList.add("allow-interactivity-".concat(d2))});return function(){document.body.classList.remove("block-interactivity-".concat(d2));O4.forEach(function(U4){return U4.classList.remove("allow-interactivity-".concat(d2))})}}return},[u5.inert,u5.lockRef.current,u5.shards]);var y2=z.useCallback(function(O4,U4){if("touches"in O4&&O4.touches.length===2||O4.type==="wheel"&&O4.ctrlKey){return!v2.current.allowPinchZoom}var Y3=Ni(O4);var Q3=f3.current;var Z3="deltaX"in O4?O4.deltaX:Q3[0]-Y3[0];var k4="deltaY"in O4?O4.deltaY:Q3[1]-Y3[1];var X4;var et3=O4.target;var W5=Math.abs(Z3)>Math.abs(k4)?"h":"v";if("touches"in O4&&W5==="h"&&et3.type==="range"){return false}var J2=Ch(W5,et3);if(!J2){return true}if(J2){X4=W5}else{X4=W5==="v"?"h":"v";J2=Ch(W5,et3)}if(!J2){return false}if(!o7.current&&"changedTouches"in O4&&(Z3||k4)){o7.current=X4}if(!X4){return true}var rt4=o7.current||X4;return X1(rt4,U4,O4,rt4==="h"?Z3:k4)},[]);var p3=z.useCallback(function(O4){var U4=O4;if(!ta.length||ta[ta.length-1]!==h){return}var Y3="deltaY"in U4?Dh(U4):Ni(U4);var Q3=r4.current.filter(function(X4){return X4.name===U4.type&&(X4.target===U4.target||U4.target===X4.shadowParent)&&V1(X4.delta,Y3)})[0];if(Q3&&Q3.should){if(U4.cancelable){U4.preventDefault()}return}if(!Q3){var Z3=(v2.current.shards||[]).map(Nh).filter(Boolean).filter(function(X4){return X4.contains(U4.target)});var k4=Z3.length>0?y2(U4,Z3[0]):!v2.current.noIsolation;if(k4){if(U4.cancelable){U4.preventDefault()}}}},[]);var g2=z.useCallback(function(O4,U4,Y3,Q3){var Z3={name:O4,delta:U4,target:Y3,should:Q3,shadowParent:K1(Y3)};r4.current.push(Z3);setTimeout(function(){r4.current=r4.current.filter(function(k4){return k4!==Z3})},1)},[]);var S3=z.useCallback(function(O4){f3.current=Ni(O4);o7.current=void 0},[]);var A=z.useCallback(function(O4){g2(O4.type,Dh(O4),O4.target,y2(O4,u5.lockRef.current))},[]);var D2=z.useCallback(function(O4){g2(O4.type,Ni(O4),O4.target,y2(O4,u5.lockRef.current))},[]);z.useEffect(function(){ta.push(h);u5.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:D2});document.addEventListener("wheel",p3,In);document.addEventListener("touchmove",p3,In);document.addEventListener("touchstart",S3,In);return function(){ta=ta.filter(function(O4){return O4!==h});document.removeEventListener("wheel",p3,In);document.removeEventListener("touchmove",p3,In);document.removeEventListener("touchstart",S3,In)}},[]);var w=u5.removeScrollBar,H2=u5.inert;return z.createElement(z.Fragment,null,H2?z.createElement(h,{styles:Q1(d2)}):null,w?z.createElement(H1,{noRelative:u5.noRelative,gapMode:u5.gapMode}):null)}__name(k1,"k1");i(k1,"RemoveScrollSideCar");function K1(u5){var r4=null;while(u5!==null){if(u5 instanceof ShadowRoot){r4=u5.host;u5=u5.host}u5=u5.parentNode}return r4}__name(K1,"K1");i(K1,"getOutermostShadowParent");var J1=x1(Dv,k1);var W1=z.forwardRef(function(u5,r4){return z.createElement(Ji,Qe({},u5,{ref:r4,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,(r4,f3,o7)=>o7?o7.toUpperCase():f3.toLowerCase()),"toCamelCase");var Uh=i(u5=>{const r4=F1(u5);return r4.charAt(0).toUpperCase()+r4.slice(1)},"toPascalCase");var Lv=i((...u5)=>u5.filter((r4,f3,o7)=>{return Boolean(r4)&&r4.trim()!==""&&o7.indexOf(r4)===f3}).join(" ").trim(),"mergeClasses");var P1=i(u5=>{for(const r4 in u5){if(r4.startsWith("aria-")||r4==="role"||r4==="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:r4=24,strokeWidth:f3=2,absoluteStrokeWidth:o7,className:d2="",children:h,iconNode:v2,...y2},p3)=>z.createElement("svg",{ref:p3,...I1,width:r4,height:r4,stroke:u5,strokeWidth:o7?Number(f3)*24/Number(r4):f3,className:Lv("lucide",d2),...!h&&!P1(y2)&&{"aria-hidden":"true"},...y2},[...v2.map(([g2,S3])=>z.createElement(g2,S3)),...Array.isArray(h)?h:[h]]));var qv=i((u5,r4)=>{const f3=z.forwardRef(({className:o7,...d2},h)=>z.createElement(tS,{ref:h,iconNode:r4,className:Lv(`lucide-${$1(Uh(u5))}`,`lucide-${u5}`,o7),...d2}));f3.displayName=Uh(u5);return f3},"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((e6,t3)=>ye(e6,"name",{value:t3,configurable:true}),"c");function Me(e6,t3){return z.useReducer((o7,n2)=>{const a3=t3[o7][n2];return a3??o7},e6)}__name(Me,"Me");c(Me,"useStateMachine");var j=c(e6=>{const{present:t3,children:o7}=e6;const n2=je(t3);const a3=typeof o7==="function"?o7({present:n2.isPresent}):z.Children.only(o7);const r4=on(n2.ref,ke2(a3));const u5=typeof o7==="function";return u5||n2.isPresent?z.cloneElement(a3,{ref:r4}):null},"Presence");j.displayName="Presence";function je(e6){const[t3,o7]=z.useState();const n2=z.useRef(null);const a3=z.useRef(e6);const r4=z.useRef("none");const u5=e6?"mounted":"unmounted";const[d2,p3]=Me(u5,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});z.useEffect(()=>{const l2=S(n2.current);r4.current=d2==="mounted"?l2:"none"},[d2]);na(()=>{const l2=n2.current;const f3=a3.current;const m2=f3!==e6;if(m2){const N=r4.current;const h=S(l2);if(e6){p3("MOUNT")}else if(h==="none"||l2?.display==="none"){p3("UNMOUNT")}else{const I4=N!==h;if(f3&&I4){p3("ANIMATION_OUT")}else{p3("UNMOUNT")}}a3.current=e6}},[e6,p3]);na(()=>{if(t3){let l2;const f3=t3.ownerDocument.defaultView??window;const m2=c(h=>{const I4=S(n2.current);const _2=I4.includes(h.animationName);if(h.target===t3&&_2){p3("ANIMATION_END");if(!a3.current){const g2=t3.style.animationFillMode;t3.style.animationFillMode="forwards";l2=f3.setTimeout(()=>{if(t3.style.animationFillMode==="forwards"){t3.style.animationFillMode=g2}})}}},"handleAnimationEnd");const N=c(h=>{if(h.target===t3){r4.current=S(n2.current)}},"handleAnimationStart");t3.addEventListener("animationstart",N);t3.addEventListener("animationcancel",m2);t3.addEventListener("animationend",m2);return()=>{f3.clearTimeout(l2);t3.removeEventListener("animationstart",N);t3.removeEventListener("animationcancel",m2);t3.removeEventListener("animationend",m2)}}else{p3("ANIMATION_END")}},[t3,p3]);return{isPresent:["mounted","unmountSuspended"].includes(d2),ref:z.useCallback(l2=>{n2.current=l2?getComputedStyle(l2):null;o7(l2)},[])}}__name(je,"je");c(je,"usePresence");function S(e6){return e6?.animationName||"none"}__name(S,"S");c(S,"getAnimationName");function ke2(e6){let t3=Object.getOwnPropertyDescriptor(e6.props,"ref")?.get;let o7=t3&&"isReactWarning"in t3&&t3.isReactWarning;if(o7){return e6.ref}t3=Object.getOwnPropertyDescriptor(e6,"ref")?.get;o7=t3&&"isReactWarning"in t3&&t3.isReactWarning;if(o7){return e6.props.ref}return e6.props.ref||e6.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((e6,t3)=>{return Ht.jsx(W.Provider,{scope:e6.__scopeRovingFocusGroup,children:Ht.jsx(W.Slot,{scope:e6.__scopeRovingFocusGroup,children:Ht.jsx(Be,{...e6,ref:t3})})})});Z.displayName=F;var Be=z.forwardRef((e6,t3)=>{const{__scopeRovingFocusGroup:o7,orientation:n2,loop:a3=false,dir:r4,currentTabStopId:u5,defaultCurrentTabStopId:d2,onCurrentTabStopIdChange:p3,onEntryFocus:l2,preventScrollOnEntryFocus:f3=false,...m2}=e6;const N=z.useRef(null);const h=on(t3,N);const I4=hS(r4);const[_2,g2]=dS({prop:u5,defaultProp:d2??null,onChange:p3,caller:F});const[y2,O4]=z.useState(false);const x2=aa(l2);const D2=X(o7);const L2=z.useRef(false);const[he2,z4]=z.useState(0);z.useEffect(()=>{const v2=N.current;if(v2){v2.addEventListener(U,x2);return()=>v2.removeEventListener(U,x2)}},[x2]);return Ht.jsx(We,{scope:o7,orientation:n2,dir:I4,loop:a3,currentTabStopId:_2,onItemFocus:z.useCallback(v2=>g2(v2),[g2]),onItemShiftTab:z.useCallback(()=>O4(true),[]),onFocusableItemAdd:z.useCallback(()=>z4(v2=>v2+1),[]),onFocusableItemRemove:z.useCallback(()=>z4(v2=>v2-1),[]),children:Ht.jsx(sn.div,{tabIndex:y2||he2===0?-1:0,"data-orientation":n2,...m2,ref:h,style:{outline:"none",...e6.style},onMouseDown:go(e6.onMouseDown,()=>{L2.current=true}),onFocus:go(e6.onFocus,v2=>{const xe2=!L2.current;if(v2.target===v2.currentTarget&&xe2&&!y2){const V=new CustomEvent(U,Le);v2.currentTarget.dispatchEvent(V);if(!V.defaultPrevented){const G3=D2().filter(C2=>C2.focusable);const be3=G3.find(C2=>C2.active);const Re2=G3.find(C2=>C2.id===_2);const Ne4=[be3,Re2,...G3].filter(Boolean);const Ie3=Ne4.map(C2=>C2.ref.current);te(Ie3,f3)}}L2.current=false}),onBlur:go(e6.onBlur,()=>O4(false))})})});var Q="RovingFocusGroupItem";var ee2=z.forwardRef((e6,t3)=>{const{__scopeRovingFocusGroup:o7,focusable:n2=true,active:a3=false,tabStopId:r4,children:u5,...d2}=e6;const p3=gS();const l2=r4||p3;const f3=Ke2(Q,o7);const m2=f3.currentTabStopId===l2;const N=X(o7);const{onFocusableItemAdd:h,onFocusableItemRemove:I4,currentTabStopId:_2}=f3;z.useEffect(()=>{if(n2){h();return()=>I4()}},[n2,h,I4]);return Ht.jsx(W.ItemSlot,{scope:o7,id:l2,focusable:n2,active:a3,children:Ht.jsx(sn.span,{tabIndex:m2?0:-1,"data-orientation":f3.orientation,...d2,ref:t3,onMouseDown:go(e6.onMouseDown,g2=>{if(!n2)g2.preventDefault();else f3.onItemFocus(l2)}),onFocus:go(e6.onFocus,()=>f3.onItemFocus(l2)),onKeyDown:go(e6.onKeyDown,g2=>{if(g2.key==="Tab"&&g2.shiftKey){f3.onItemShiftTab();return}if(g2.target!==g2.currentTarget)return;const y2=Ve(g2,f3.orientation,f3.dir);if(y2!==void 0){if(g2.metaKey||g2.ctrlKey||g2.altKey||g2.shiftKey)return;g2.preventDefault();const O4=N().filter(D2=>D2.focusable);let x2=O4.map(D2=>D2.ref.current);if(y2==="last")x2.reverse();else if(y2==="prev"||y2==="next"){if(y2==="prev")x2.reverse();const D2=x2.indexOf(g2.currentTarget);x2=f3.loop?He(x2,D2+1):x2.slice(D2+1)}setTimeout(()=>te(x2))}}),children:typeof u5==="function"?u5({isCurrentTabStop:m2,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(e6,t3){if(t3!=="rtl")return e6;return e6==="ArrowLeft"?"ArrowRight":e6==="ArrowRight"?"ArrowLeft":e6}__name(ze,"ze");c(ze,"getDirectionAwareKey");function Ve(e6,t3,o7){const n2=ze(e6.key,o7);if(t3==="vertical"&&["ArrowLeft","ArrowRight"].includes(n2))return void 0;if(t3==="horizontal"&&["ArrowUp","ArrowDown"].includes(n2))return void 0;return $e[n2]}__name(Ve,"Ve");c(Ve,"getFocusIntent");function te(e6,t3=false){const o7=document.activeElement;for(const n2 of e6){if(n2===o7)return;n2.focus({preventScroll:t3});if(document.activeElement!==o7)return}}__name(te,"te");c(te,"focusFirst");function He(e6,t3){return e6.map((o7,n2)=>e6[(t3+n2)%e6.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:e6,type:t3,...o7}){return Ht.jsx("input",{type:t3,"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",e6),...o7})}__name(It,"It");c(It,"Input");var k="Dialog";var[oe,yt]=av(k);var[Xe,R]=oe(k);var ne=c(e6=>{const{__scopeDialog:t3,children:o7,open:n2,defaultOpen:a3,onOpenChange:r4,modal:u5=true}=e6;const d2=z.useRef(null);const p3=z.useRef(null);const[l2,f3]=dS({prop:n2,defaultProp:a3??false,onChange:r4,caller:k});return Ht.jsx(Xe,{scope:t3,triggerRef:d2,contentRef:p3,contentId:gS(),titleId:gS(),descriptionId:gS(),open:l2,onOpenChange:f3,onOpenToggle:z.useCallback(()=>f3(m2=>!m2),[f3]),modal:u5,children:o7})},"Dialog");ne.displayName=k;var re="DialogTrigger";var ae=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,...n2}=e6;const a3=R(re,o7);const r4=on(t3,a3.triggerRef);return Ht.jsx(sn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a3.open,"aria-controls":a3.contentId,"data-state":$(a3.open),...n2,ref:r4,onClick:go(e6.onClick,a3.onOpenToggle)})});ae.displayName=re;var K="DialogPortal";var[Ze2,se]=oe(K,{forceMount:void 0});var ie=c(e6=>{const{__scopeDialog:t3,forceMount:o7,children:n2,container:a3}=e6;const r4=R(K,t3);return Ht.jsx(Ze2,{scope:t3,forceMount:o7,children:z.Children.map(n2,u5=>Ht.jsx(j,{present:o7||r4.open,children:Ht.jsx(o1,{asChild:true,container:a3,children:u5})}))})},"DialogPortal");ie.displayName=K;var M="DialogOverlay";var ce=z.forwardRef((e6,t3)=>{const o7=se(M,e6.__scopeDialog);const{forceMount:n2=o7.forceMount,...a3}=e6;const r4=R(M,e6.__scopeDialog);return r4.modal?Ht.jsx(j,{present:n2||r4.open,children:Ht.jsx(et,{...a3,ref:t3})}):null});ce.displayName=M;var Qe2=Yi("DialogOverlay.RemoveScroll");var et=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,...n2}=e6;const a3=R(M,o7);return Ht.jsx(W1,{as:Qe2,allowPinchZoom:true,shards:[a3.contentRef],children:Ht.jsx(sn.div,{"data-state":$(a3.open),...n2,ref:t3,style:{pointerEvents:"auto",...n2.style}})})});var E="DialogContent";var le=z.forwardRef((e6,t3)=>{const o7=se(E,e6.__scopeDialog);const{forceMount:n2=o7.forceMount,...a3}=e6;const r4=R(E,e6.__scopeDialog);return Ht.jsx(j,{present:n2||r4.open,children:r4.modal?Ht.jsx(tt2,{...a3,ref:t3}):Ht.jsx(ot2,{...a3,ref:t3})})});le.displayName=E;var tt2=z.forwardRef((e6,t3)=>{const o7=R(E,e6.__scopeDialog);const n2=z.useRef(null);const a3=on(t3,o7.contentRef,n2);z.useEffect(()=>{const r4=n2.current;if(r4)return xS(r4)},[]);return Ht.jsx(ue,{...e6,ref:a3,trapFocus:o7.open,disableOutsidePointerEvents:true,onCloseAutoFocus:go(e6.onCloseAutoFocus,r4=>{r4.preventDefault();o7.triggerRef.current?.focus()}),onPointerDownOutside:go(e6.onPointerDownOutside,r4=>{const u5=r4.detail.originalEvent;const d2=u5.button===0&&u5.ctrlKey===true;const p3=u5.button===2||d2;if(p3)r4.preventDefault()}),onFocusOutside:go(e6.onFocusOutside,r4=>r4.preventDefault())})});var ot2=z.forwardRef((e6,t3)=>{const o7=R(E,e6.__scopeDialog);const n2=z.useRef(false);const a3=z.useRef(false);return Ht.jsx(ue,{...e6,ref:t3,trapFocus:false,disableOutsidePointerEvents:false,onCloseAutoFocus:c(r4=>{e6.onCloseAutoFocus?.(r4);if(!r4.defaultPrevented){if(!n2.current)o7.triggerRef.current?.focus();r4.preventDefault()}n2.current=false;a3.current=false},"onCloseAutoFocus"),onInteractOutside:c(r4=>{e6.onInteractOutside?.(r4);if(!r4.defaultPrevented){n2.current=true;if(r4.detail.originalEvent.type==="pointerdown"){a3.current=true}}const u5=r4.target;const d2=o7.triggerRef.current?.contains(u5);if(d2)r4.preventDefault();if(r4.detail.originalEvent.type==="focusin"&&a3.current){r4.preventDefault()}},"onInteractOutside")})});var ue=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,trapFocus:n2,onOpenAutoFocus:a3,onCloseAutoFocus:r4,...u5}=e6;const d2=R(E,o7);const p3=z.useRef(null);const l2=on(t3,p3);vS();return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Up,{asChild:true,loop:true,trapped:n2,onMountAutoFocus:a3,onUnmountAutoFocus:r4,children:Ht.jsx(Mp,{role:"dialog",id:d2.contentId,"aria-describedby":d2.descriptionId,"aria-labelledby":d2.titleId,"data-state":$(d2.open),...u5,ref:l2,onDismiss:c(()=>d2.onOpenChange(false),"onDismiss")})}),Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(rt,{titleId:d2.titleId}),Ht.jsx(st,{contentRef:p3,descriptionId:d2.descriptionId})]})]})});var B="DialogTitle";var de=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,...n2}=e6;const a3=R(B,o7);return Ht.jsx(sn.h2,{id:a3.titleId,...n2,ref:t3})});de.displayName=B;var fe="DialogDescription";var nt=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,...n2}=e6;const a3=R(fe,o7);return Ht.jsx(sn.p,{id:a3.descriptionId,...n2,ref:t3})});nt.displayName=fe;var pe2="DialogClose";var ge=z.forwardRef((e6,t3)=>{const{__scopeDialog:o7,...n2}=e6;const a3=R(pe2,o7);return Ht.jsx(sn.button,{type:"button",...n2,ref:t3,onClick:go(e6.onClick,()=>a3.onOpenChange(false))})});ge.displayName=pe2;function $(e6){return e6?"open":"closed"}__name($,"$");c($,"getState");var me="DialogTitleWarning";var[Dt,ve]=sS(me,{contentName:E,titleName:B,docsSlug:"dialog"});var rt=c(({titleId:e6})=>{const t3=ve(me);const o7=``${t3.contentName}` requires a `${t3.titleName}` for the component to be accessible for screen reader users.
If you want to hide the `${t3.titleName}`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t3.docsSlug}`;z.useEffect(()=>{if(e6){const n2=document.getElementById(e6);if(!n2)console.error(o7)}},[o7,e6]);return null},"TitleWarning");var at="DialogDescriptionWarning";var st=c(({contentRef:e6,descriptionId:t3})=>{const o7=ve(at);const n2=`Warning: Missing `Description` or `aria-describedby={undefined}` for {${o7.contentName}}.`;z.useEffect(()=>{const a3=e6.current?.getAttribute("aria-describedby");if(t3&&a3){const r4=document.getElementById(t3);if(!r4)console.warn(n2)}},[n2,e6,t3]);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({...e6}){return Ht.jsx(it,{"data-slot":"sheet",...e6})}__name(Ct,"Ct");c(Ct,"Sheet");function Et({...e6}){return Ht.jsx(ct,{"data-slot":"sheet-trigger",...e6})}__name(Et,"Et");c(Et,"SheetTrigger");function gt({...e6}){return Ht.jsx(lt,{"data-slot":"sheet-portal",...e6})}__name(gt,"gt");c(gt,"SheetPortal");function mt({className:e6,...t3}){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",e6),...t3})}__name(mt,"mt");c(mt,"SheetOverlay");function Tt({className:e6,children:t3,side:o7="right",...n2}){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",o7==="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",o7==="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",o7==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o7==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e6),...n2,children:[t3,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:e6,...t3}){return Ht.jsx("div",{"data-slot":"sheet-header",className:nv("flex flex-col gap-1.5 p-4",e6),...t3})}__name(_t,"_t");c(_t,"SheetHeader");function wt({className:e6,...t3}){return Ht.jsx(ft,{"data-slot":"sheet-title",className:nv("text-foreground font-semibold",e6),...t3})}__name(wt,"wt");c(wt,"SheetTitle");var bt2=Object.defineProperty;var u3=__name((t3,o7)=>bt2(t3,"name",{value:o7,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(t3=>{const{__scopeMenu:o7,open:n2=false,children:r4,dir:s,onOpenChange:c5,modal:i4=true}=t3;const d2=X2(o7);const[f3,m2]=z.useState(null);const x2=z.useRef(false);const l2=aa(c5);const h=hS(s);z.useEffect(()=>{const w=u3(()=>{x2.current=true;document.addEventListener("pointerdown",v2,{capture:true,once:true});document.addEventListener("pointermove",v2,{capture:true,once:true})},"handleKeyDown");const v2=u3(()=>x2.current=false,"handlePointer");document.addEventListener("keydown",w,{capture:true});return()=>{document.removeEventListener("keydown",w,{capture:true});document.removeEventListener("pointerdown",v2,{capture:true});document.removeEventListener("pointermove",v2,{capture:true})}},[]);return Ht.jsx(pS,{...d2,children:Ht.jsx(Qt,{scope:o7,open:n2,onOpenChange:l2,content:f3,onContentChange:m2,children:Ht.jsx(Jt,{scope:o7,onClose:z.useCallback(()=>l2(false),[l2]),isUsingKeyboardRef:x2,dir:h,modal:i4,children:r4})})})},"Menu$1");Te.displayName=U2;var Zt2="MenuAnchor";var se2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,...r4}=t3;const s=X2(n2);return Ht.jsx(bS,{...s,...r4,ref:o7})});se2.displayName=Zt2;var ae2="MenuPortal";var[en,Oe]=S2(ae2,{forceMount:void 0});var Le2=u3(t3=>{const{__scopeMenu:o7,forceMount:n2,children:r4,container:s}=t3;const c5=E2(ae2,o7);return Ht.jsx(en,{scope:o7,forceMount:n2,children:Ht.jsx(j,{present:n2||c5.open,children:Ht.jsx(o1,{asChild:true,container:s,children:r4})})})},"MenuPortal");Le2.displayName=ae2;var y="MenuContent";var[tn,ie2]=S2(y);var Be2=z.forwardRef((t3,o7)=>{const n2=Oe(y,t3.__scopeMenu);const{forceMount:r4=n2.forceMount,...s}=t3;const c5=E2(y,t3.__scopeMenu);const i4=G(y,t3.__scopeMenu);return Ht.jsx(T.Provider,{scope:t3.__scopeMenu,children:Ht.jsx(j,{present:r4||c5.open,children:Ht.jsx(T.Slot,{scope:t3.__scopeMenu,children:i4.modal?Ht.jsx(nn,{...s,ref:o7}):Ht.jsx(on2,{...s,ref:o7})})})})});var nn=z.forwardRef((t3,o7)=>{const n2=E2(y,t3.__scopeMenu);const r4=z.useRef(null);const s=on(o7,r4);z.useEffect(()=>{const c5=r4.current;if(c5)return xS(c5)},[]);return Ht.jsx(ce2,{...t3,ref:s,trapFocus:n2.open,disableOutsidePointerEvents:n2.open,disableOutsideScroll:true,onFocusOutside:go(t3.onFocusOutside,c5=>c5.preventDefault(),{checkForDefaultPrevented:false}),onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var on2=z.forwardRef((t3,o7)=>{const n2=E2(y,t3.__scopeMenu);return Ht.jsx(ce2,{...t3,ref:o7,trapFocus:false,disableOutsidePointerEvents:false,disableOutsideScroll:false,onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var rn2=Yi("MenuContent.ScrollLock");var ce2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,loop:r4=false,trapFocus:s,onOpenAutoFocus:c5,onCloseAutoFocus:i4,disableOutsidePointerEvents:d2,onEntryFocus:f3,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h,onDismiss:w,disableOutsideScroll:v2,...N}=t3;const C2=E2(y,n2);const _2=G(y,n2);const Q3=X2(n2);const pt3=ke3(n2);const pe4=Yt(n2);const[xt3,xe2]=z.useState(null);const K3=z.useRef(null);const ft3=on(o7,K3,C2.onContentChange);const $3=z.useRef(0);const H2=z.useRef("");const mt3=z.useRef(0);const J2=z.useRef(null);const fe3=z.useRef("right");const Z3=z.useRef(0);const ht2=v2?W1:z.Fragment;const gt3=v2?{as:rn2,allowPinchZoom:true}:void 0;const vt2=u3(p3=>{const F4=H2.current+p3;const R3=pe4().filter(j2=>!j2.disabled);const I4=document.activeElement;const ee4=R3.find(j2=>j2.ref.current===I4)?.textValue;const te3=R3.map(j2=>j2.textValue);const ne3=gn(te3,F4,ee4);const A=R3.find(j2=>j2.textValue===ne3)?.ref.current;u3(__name(function j2(me3){H2.current=me3;window.clearTimeout($3.current);if(me3!=="")$3.current=window.setTimeout(()=>j2(""),1e3)},"j"),"updateSearch")(F4);if(A){setTimeout(()=>A.focus())}},"handleTypeaheadSearch");z.useEffect(()=>{return()=>window.clearTimeout($3.current)},[]);vS();const P2=z.useCallback(p3=>{const F4=fe3.current===J2.current?.side;return F4&&bn(p3,J2.current?.area)},[]);return Ht.jsx(tn,{scope:n2,searchRef:H2,onItemEnter:z.useCallback(p3=>{if(P2(p3))p3.preventDefault()},[P2]),onItemLeave:z.useCallback(p3=>{if(P2(p3))return;K3.current?.focus();xe2(null)},[P2]),onTriggerLeave:z.useCallback(p3=>{if(P2(p3))p3.preventDefault()},[P2]),pointerGraceTimerRef:mt3,onPointerGraceIntentChange:z.useCallback(p3=>{J2.current=p3},[]),children:Ht.jsx(ht2,{...gt3,children:Ht.jsx(Up,{asChild:true,trapped:s,onMountAutoFocus:go(c5,p3=>{p3.preventDefault();K3.current?.focus({preventScroll:true})}),onUnmountAutoFocus:i4,children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:d2,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h,onDismiss:w,children:Ht.jsx(bt,{asChild:true,...pt3,dir:_2.dir,orientation:"vertical",loop:r4,currentTabStopId:xt3,onCurrentTabStopIdChange:xe2,onEntryFocus:go(f3,p3=>{if(!_2.isUsingKeyboardRef.current)p3.preventDefault()}),preventScrollOnEntryFocus:true,children:Ht.jsx(SS,{role:"menu","aria-orientation":"vertical","data-state":tt3(C2.open),"data-radix-menu-content":"",dir:_2.dir,...Q3,...N,ref:ft3,style:{outline:"none",...N.style},onKeyDown:go(N.onKeyDown,p3=>{const F4=p3.target;const R3=F4.closest("[data-radix-menu-content]")===p3.currentTarget;const I4=p3.ctrlKey||p3.altKey||p3.metaKey;const ee4=p3.key.length===1;if(R3){if(p3.key==="Tab")p3.preventDefault();if(!I4&&ee4)vt2(p3.key)}const te3=K3.current;if(p3.target!==te3)return;if(!zt.includes(p3.key))return;p3.preventDefault();const ne3=pe4().filter(j2=>!j2.disabled);const A=ne3.map(j2=>j2.ref.current);if(Ie.includes(p3.key))A.reverse();mn(A)}),onBlur:go(t3.onBlur,p3=>{if(!p3.currentTarget.contains(p3.target)){window.clearTimeout($3.current);H2.current=""}}),onPointerMove:go(t3.onPointerMove,O(p3=>{const F4=p3.target;const R3=Z3.current!==p3.clientX;if(p3.currentTarget.contains(F4)&&R3){const I4=p3.clientX>Z3.current?"right":"left";fe3.current=I4;Z3.current=p3.clientX}}))})})})})})})});Be2.displayName=y;var sn2="MenuGroup";var le2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,...r4}=t3;return Ht.jsx(sn.div,{role:"group",...r4,ref:o7})});le2.displayName=sn2;var an="MenuLabel";var Ue3=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,...r4}=t3;return Ht.jsx(sn.div,{...r4,ref:o7})});Ue3.displayName=an;var W2="MenuItem";var we="menu.itemSelect";var Y=z.forwardRef((t3,o7)=>{const{disabled:n2=false,onSelect:r4,...s}=t3;const c5=z.useRef(null);const i4=G(W2,t3.__scopeMenu);const d2=ie2(W2,t3.__scopeMenu);const f3=on(o7,c5);const m2=z.useRef(false);const x2=u3(()=>{const l2=c5.current;if(!n2&&l2){const h=new CustomEvent(we,{bubbles:true,cancelable:true});l2.addEventListener(we,w=>r4?.(w),{once:true});xp(l2,h);if(h.defaultPrevented){m2.current=false}else{i4.onClose()}}},"handleSelect");return Ht.jsx(Ge2,{...s,ref:f3,disabled:n2,onClick:go(t3.onClick,x2),onPointerDown:u3(l2=>{t3.onPointerDown?.(l2);m2.current=true},"onPointerDown"),onPointerUp:go(t3.onPointerUp,l2=>{if(!m2.current)l2.currentTarget?.click()}),onKeyDown:go(t3.onKeyDown,l2=>{const h=d2.searchRef.current!=="";if(n2||h&&l2.key===" ")return;if(re2.includes(l2.key)){l2.currentTarget.click();l2.preventDefault()}})})});Y.displayName=W2;var Ge2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,disabled:r4=false,textValue:s,...c5}=t3;const i4=ie2(W2,n2);const d2=ke3(n2);const f3=z.useRef(null);const m2=on(o7,f3);const[x2,l2]=z.useState(false);const[h,w]=z.useState("");z.useEffect(()=>{const v2=f3.current;if(v2){w((v2.textContent??"").trim())}},[c5.children]);return Ht.jsx(T.ItemSlot,{scope:n2,disabled:r4,textValue:s??h,children:Ht.jsx(Rt,{asChild:true,...d2,focusable:!r4,children:Ht.jsx(sn.div,{role:"menuitem","data-highlighted":x2?"":void 0,"aria-disabled":r4||void 0,"data-disabled":r4?"":void 0,...c5,ref:m2,onPointerMove:go(t3.onPointerMove,O(v2=>{if(r4){i4.onItemLeave(v2)}else{i4.onItemEnter(v2);if(!v2.defaultPrevented){const N=v2.currentTarget;N.focus({preventScroll:true})}}})),onPointerLeave:go(t3.onPointerLeave,O(v2=>i4.onItemLeave(v2))),onFocus:go(t3.onFocus,()=>l2(true)),onBlur:go(t3.onBlur,()=>l2(false))})})})});var cn="MenuCheckboxItem";var Ke3=z.forwardRef((t3,o7)=>{const{checked:n2=false,onCheckedChange:r4,...s}=t3;return Ht.jsx(Ve2,{scope:t3.__scopeMenu,checked:n2,children:Ht.jsx(Y,{role:"menuitemcheckbox","aria-checked":z2(n2)?"mixed":n2,...s,ref:o7,"data-state":ue2(n2),onSelect:go(s.onSelect,()=>r4?.(z2(n2)?true:!n2),{checkForDefaultPrevented:false})})})});Ke3.displayName=cn;var $e2="MenuRadioGroup";var[ln,dn]=S2($e2,{value:void 0,onValueChange:u3(()=>{},"onValueChange")});var He2=z.forwardRef((t3,o7)=>{const{value:n2,onValueChange:r4,...s}=t3;const c5=aa(r4);return Ht.jsx(ln,{scope:t3.__scopeMenu,value:n2,onValueChange:c5,children:Ht.jsx(le2,{...s,ref:o7})})});He2.displayName=$e2;var We2="MenuRadioItem";var ze2=z.forwardRef((t3,o7)=>{const{value:n2,...r4}=t3;const s=dn(We2,t3.__scopeMenu);const c5=n2===s.value;return Ht.jsx(Ve2,{scope:t3.__scopeMenu,checked:c5,children:Ht.jsx(Y,{role:"menuitemradio","aria-checked":c5,...r4,ref:o7,"data-state":ue2(c5),onSelect:go(r4.onSelect,()=>s.onValueChange?.(n2),{checkForDefaultPrevented:false})})})});ze2.displayName=We2;var de2="MenuItemIndicator";var[Ve2,un]=S2(de2,{checked:false});var Xe2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,forceMount:r4,...s}=t3;const c5=un(de2,n2);return Ht.jsx(j,{present:r4||z2(c5.checked)||c5.checked===true,children:Ht.jsx(sn.span,{...s,ref:o7,"data-state":ue2(c5.checked)})})});Xe2.displayName=de2;var pn="MenuSeparator";var Ye2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,...r4}=t3;return Ht.jsx(sn.div,{role:"separator","aria-orientation":"horizontal",...r4,ref:o7})});Ye2.displayName=pn;var xn="MenuArrow";var qe2=z.forwardRef((t3,o7)=>{const{__scopeMenu:n2,...r4}=t3;const s=X2(n2);return Ht.jsx(ES,{...s,...r4,ref:o7})});qe2.displayName=xn;var fn2="MenuSub";var[Ro2,Qe3]=S2(fn2);var k2="MenuSubTrigger";var Je3=z.forwardRef((t3,o7)=>{const n2=E2(k2,t3.__scopeMenu);const r4=G(k2,t3.__scopeMenu);const s=Qe3(k2,t3.__scopeMenu);const c5=ie2(k2,t3.__scopeMenu);const i4=z.useRef(null);const{pointerGraceTimerRef:d2,onPointerGraceIntentChange:f3}=c5;const m2={__scopeMenu:t3.__scopeMenu};const x2=z.useCallback(()=>{if(i4.current)window.clearTimeout(i4.current);i4.current=null},[]);z.useEffect(()=>x2,[x2]);z.useEffect(()=>{const l2=d2.current;return()=>{window.clearTimeout(l2);f3(null)}},[d2,f3]);return Ht.jsx(se2,{asChild:true,...m2,children:Ht.jsx(Ge2,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n2.open,"aria-controls":s.contentId,"data-state":tt3(n2.open),...t3,ref:Xh(o7,s.onTriggerChange),onClick:u3(l2=>{t3.onClick?.(l2);if(t3.disabled||l2.defaultPrevented)return;l2.currentTarget.focus();if(!n2.open)n2.onOpenChange(true)},"onClick"),onPointerMove:go(t3.onPointerMove,O(l2=>{c5.onItemEnter(l2);if(l2.defaultPrevented)return;if(!t3.disabled&&!n2.open&&!i4.current){c5.onPointerGraceIntentChange(null);i4.current=window.setTimeout(()=>{n2.onOpenChange(true);x2()},100)}})),onPointerLeave:go(t3.onPointerLeave,O(l2=>{x2();const h=n2.content?.getBoundingClientRect();if(h){const w=n2.content?.dataset.side;const v2=w==="right";const N=v2?-5:5;const C2=h[v2?"left":"right"];const _2=h[v2?"right":"left"];c5.onPointerGraceIntentChange({area:[{x:l2.clientX+N,y:l2.clientY},{x:C2,y:h.top},{x:_2,y:h.top},{x:_2,y:h.bottom},{x:C2,y:h.bottom}],side:w});window.clearTimeout(d2.current);d2.current=window.setTimeout(()=>c5.onPointerGraceIntentChange(null),300)}else{c5.onTriggerLeave(l2);if(l2.defaultPrevented)return;c5.onPointerGraceIntentChange(null)}})),onKeyDown:go(t3.onKeyDown,l2=>{const h=c5.searchRef.current!=="";if(t3.disabled||h&&l2.key===" ")return;if(Vt[r4.dir].includes(l2.key)){n2.onOpenChange(true);n2.content?.focus();l2.preventDefault()}})})})});Je3.displayName=k2;var Ze3="MenuSubContent";var et2=z.forwardRef((t3,o7)=>{const n2=Oe(y,t3.__scopeMenu);const{forceMount:r4=n2.forceMount,...s}=t3;const c5=E2(y,t3.__scopeMenu);const i4=G(y,t3.__scopeMenu);const d2=Qe3(Ze3,t3.__scopeMenu);const f3=z.useRef(null);const m2=on(o7,f3);return Ht.jsx(T.Provider,{scope:t3.__scopeMenu,children:Ht.jsx(j,{present:r4||c5.open,children:Ht.jsx(T.Slot,{scope:t3.__scopeMenu,children:Ht.jsx(ce2,{id:d2.contentId,"aria-labelledby":d2.triggerId,...s,ref:m2,align:"start",side:i4.dir==="rtl"?"left":"right",disableOutsidePointerEvents:false,disableOutsideScroll:false,trapFocus:false,onOpenAutoFocus:u3(x2=>{if(i4.isUsingKeyboardRef.current)f3.current?.focus();x2.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:u3(x2=>x2.preventDefault(),"onCloseAutoFocus"),onFocusOutside:go(t3.onFocusOutside,x2=>{if(x2.target!==d2.trigger)c5.onOpenChange(false)}),onEscapeKeyDown:go(t3.onEscapeKeyDown,x2=>{i4.onClose();x2.preventDefault()}),onKeyDown:go(t3.onKeyDown,x2=>{const l2=x2.currentTarget.contains(x2.target);const h=Xt[i4.dir].includes(x2.key);if(l2&&h){c5.onOpenChange(false);d2.trigger?.focus();x2.preventDefault()}})})})})})});et2.displayName=Ze3;function tt3(t3){return t3?"open":"closed"}__name(tt3,"tt");u3(tt3,"getOpenState");function z2(t3){return t3==="indeterminate"}__name(z2,"z");u3(z2,"isIndeterminate");function ue2(t3){return z2(t3)?"indeterminate":t3?"checked":"unchecked"}__name(ue2,"ue");u3(ue2,"getCheckedState");function mn(t3){const o7=document.activeElement;for(const n2 of t3){if(n2===o7)return;n2.focus();if(document.activeElement!==o7)return}}__name(mn,"mn");u3(mn,"focusFirst");function hn(t3,o7){return t3.map((n2,r4)=>t3[(o7+r4)%t3.length])}__name(hn,"hn");u3(hn,"wrapArray");function gn(t3,o7,n2){const r4=o7.length>1&&Array.from(o7).every(m2=>m2===o7[0]);const s=r4?o7[0]:o7;const c5=n2?t3.indexOf(n2):-1;let i4=hn(t3,Math.max(c5,0));const d2=s.length===1;if(d2)i4=i4.filter(m2=>m2!==n2);const f3=i4.find(m2=>m2.toLowerCase().startsWith(s.toLowerCase()));return f3!==n2?f3:void 0}__name(gn,"gn");u3(gn,"getNextMatch");function vn(t3,o7){const{x:n2,y:r4}=t3;let s=false;for(let c5=0,i4=o7.length-1;c5r4!==h>r4&&n2<(l2-m2)*(r4-x2)/(h-x2)+m2;if(w)s=!s}return s}__name(vn,"vn");u3(vn,"isPointInPolygon");function bn(t3,o7){if(!o7)return false;const n2={x:t3.clientX,y:t3.clientY};return vn(n2,o7)}__name(bn,"bn");u3(bn,"isPointerInGraceArea");function O(t3){return o7=>o7.pointerType==="mouse"?t3(o7):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(t3=>{const{__scopeDropdownMenu:o7,children:n2,dir:r4,open:s,defaultOpen:c5,onOpenChange:i4,modal:d2=true}=t3;const f3=M2(o7);const m2=z.useRef(null);const[x2,l2]=dS({prop:s,defaultProp:c5??false,onChange:i4,caller:q});return Ht.jsx(Tn,{scope:o7,triggerId:gS(),triggerRef:m2,contentId:gS(),open:x2,onOpenChange:l2,onOpenToggle:z.useCallback(()=>l2(h=>!h),[l2]),modal:d2,children:Ht.jsx(wn,{...f3,open:x2,onOpenChange:l2,dir:r4,modal:d2,children:n2})})},"DropdownMenu$1");ot3.displayName=q;var rt2="DropdownMenuTrigger";var st2=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,disabled:r4=false,...s}=t3;const c5=nt2(rt2,n2);const i4=M2(n2);return Ht.jsx(Mn,{asChild:true,...i4,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":r4?"":void 0,disabled:r4,...s,ref:Xh(o7,c5.triggerRef),onPointerDown:go(t3.onPointerDown,d2=>{if(!r4&&d2.button===0&&d2.ctrlKey===false){c5.onOpenToggle();if(!c5.open)d2.preventDefault()}}),onKeyDown:go(t3.onKeyDown,d2=>{if(r4)return;if(["Enter"," "].includes(d2.key))c5.onOpenToggle();if(d2.key==="ArrowDown")c5.onOpenChange(true);if(["Enter"," ","ArrowDown"].includes(d2.key))d2.preventDefault()})})})});st2.displayName=rt2;var On="DropdownMenuPortal";var at2=u3(t3=>{const{__scopeDropdownMenu:o7,...n2}=t3;const r4=M2(o7);return Ht.jsx(jn,{...r4,...n2})},"DropdownMenuPortal");at2.displayName=On;var it2="DropdownMenuContent";var ct2=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=nt2(it2,n2);const c5=M2(n2);const i4=z.useRef(false);return Ht.jsx(yn,{id:s.contentId,"aria-labelledby":s.triggerId,...c5,...r4,ref:o7,onCloseAutoFocus:go(t3.onCloseAutoFocus,d2=>{if(!i4.current)s.triggerRef.current?.focus();i4.current=false;d2.preventDefault()}),onInteractOutside:go(t3.onInteractOutside,d2=>{const f3=d2.detail.originalEvent;const m2=f3.button===0&&f3.ctrlKey===true;const x2=f3.button===2||m2;if(!s.modal||x2)i4.current=true}),style:{...t3.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((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Cn,{...s,...r4,ref:o7})});Bn.displayName=Ln;var Un="DropdownMenuLabel";var Gn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Nn,{...s,...r4,ref:o7})});Gn.displayName=Un;var Kn="DropdownMenuItem";var lt2=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(_n,{...s,...r4,ref:o7})});lt2.displayName=Kn;var $n="DropdownMenuCheckboxItem";var Hn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Fn2,{...s,...r4,ref:o7})});Hn.displayName=$n;var Wn="DropdownMenuRadioGroup";var zn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Rn,{...s,...r4,ref:o7})});zn.displayName=Wn;var Vn="DropdownMenuRadioItem";var Xn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Sn,{...s,...r4,ref:o7})});Xn.displayName=Vn;var Yn="DropdownMenuItemIndicator";var qn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(En,{...s,...r4,ref:o7})});qn.displayName=Yn;var Qn="DropdownMenuSeparator";var Jn=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Pn2,{...s,...r4,ref:o7})});Jn.displayName=Qn;var Zn="DropdownMenuArrow";var eo=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(Dn,{...s,...r4,ref:o7})});eo.displayName=Zn;var to="DropdownMenuSubTrigger";var no=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(In2,{...s,...r4,ref:o7})});no.displayName=to;var oo2="DropdownMenuSubContent";var ro2=z.forwardRef((t3,o7)=>{const{__scopeDropdownMenu:n2,...r4}=t3;const s=M2(n2);return Ht.jsx(An,{...s,...r4,ref:o7,style:{...t3.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({...t3}){return Ht.jsx(so2,{"data-slot":"dropdown-menu",...t3})}__name(je2,"je");u3(je2,"DropdownMenu");function ye2({...t3}){return Ht.jsx(ao,{"data-slot":"dropdown-menu-trigger",...t3})}__name(ye2,"ye");u3(ye2,"DropdownMenuTrigger");function Ce({className:t3,sideOffset:o7=4,...n2}){return Ht.jsx(io,{children:Ht.jsx(co2,{"data-slot":"dropdown-menu-content",sideOffset:o7,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",t3),...n2})})}__name(Ce,"Ce");u3(Ce,"DropdownMenuContent");function Ne2({className:t3,inset:o7,variant:n2="default",...r4}){return Ht.jsx(lo,{"data-slot":"dropdown-menu-item","data-inset":o7,"data-variant":n2,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",t3),...r4})}__name(Ne2,"Ne");u3(Ne2,"DropdownMenuItem");var dt3=u3(t3=>{return{id:String(t3.id),label:rS(String(t3.title)),href:t3.resolved_url,children:Array.isArray(t3.children)?t3.children.map(dt3):void 0}},"createMenuItem");var ut2=z.createContext(null);var wo2=u3(()=>{const t3=z.useContext(ut2);if(!t3){throw new Error("useMenu must be used within a MenuProvider")}return t3},"useMenu");var Mo2=u3(({children:t3,menu_id:o7,...n2})=>{const[r4,s]=z.useState([]);const[c5,i4]=z.useState(true);const[d2,f3]=z.useState(null);const[m2,x2]=z.useState(false);const l2=z.useRef(null);const h=z.useCallback(()=>{const C2="Failed to fetch menu items";f3(C2)},[]);const w=u3(async C2=>{if(m2)return;i4(true);x2(true);f3(null);try{const _2=await wvcClient.getMenuItems({menuId:parseInt(o7)});const Q3=_2.map(dt3);s(Q3)}catch{h()}finally{i4(false);x2(false)}},"fetchMenuItems");z.useEffect(()=>{l2.current=new AbortController;w(l2.current.signal);const C2=u3(()=>{v2()},"handleMenuRefresh");window.addEventListener("WVC_MENU_REFRESH",C2);return()=>{if(l2.current){l2.current.abort()}window.removeEventListener("WVC_MENU_REFRESH",C2)}},[]);const v2=u3(async()=>{if(l2.current){l2.current.abort()}l2.current=new AbortController;await w(l2.current.signal)},"refetch");const N={menuItems:r4,loading:c5,error:d2,refetch:v2,isRefetching:m2};return Ht.jsx(ut2.Provider,{value:N,children:Ht.jsx("div",{...n2,"data-wvc-dynamic":"MenuProvider","data-wvc-menu_id":o7,children:t3})})},"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[t3,o7]=z.useState("");const[n2,r4]=z.useState(false);const{menuItems:s}=wo2();const c5=s&&s.length>0?s.map(i4=>({label:i4.label||i4.title||"",href:i4.href||i4.url||"#",dropdownItems:i4.children?.map(d2=>({label:d2.label||d2.title||"",href:d2.href||d2.url||"#"})),hasDropdown:Boolean(i4.children&&i4.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:t3,onChange:u3(i4=>o7(i4.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:n2,onOpenChange:r4,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(i4=>Ht.jsxs(cS,{to:i4.href,onClick:u3(()=>r4(false),"onClick"),className:"flex items-center justify-between py-2 text-sm text-[#111827] hover:text-[#0071A2] font-medium",children:[Ht.jsx("span",{children:i4.label}),Ht.jsx(Nt,{className:"w-4 h-4 text-gray-400"})]},i4.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(i4=>Ht.jsx(cS,{to:i4.href,onClick:u3(()=>r4(false),"onClick"),className:`block py-2 text-sm font-semibold transition-colors ${i4.active?"text-[#0071A2]":"text-[#14181F] hover:text-[#0071A2]"}`,children:i4.label},i4.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(i4=>{if(i4.hasDropdown&&i4.dropdownItems&&i4.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:i4.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:i4.dropdownItems.map(d2=>Ht.jsx(Ne2,{asChild:true,children:Ht.jsx(cS,{to:d2.href,className:"block py-2 px-3 text-sm font-medium text-[#111827] hover:bg-[#F3F4F6] rounded",children:d2.label})},d2.label))})]},i4.label)}return Ht.jsx(cS,{to:i4.href,className:`h-[59px] px-5 flex items-center justify-center text-[14.4px] font-semibold border-r border-[#EDF0F2] transition-colors whitespace-nowrap ${i4.active?"bg-[#0071A2] text-white":"text-[#14181F] hover:bg-[#0071A2] hover:text-white"}`,style:i4.active?{backgroundColor:"rgb(0, 113, 162)",color:"#FFFFFF"}:void 0,children:i4.label},i4.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 t3=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:t3,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 eo2=Object.defineProperty;var i2=__name((t3,e6)=>eo2(t3,"name",{value:e6,configurable:true}),"i");var Si=z.createContext({});function no2(t3){const e6=z.useRef(null);if(e6.current===null){e6.current=t3()}return e6.current}__name(no2,"no");i2(no2,"useConstant");var ln2=typeof window!=="undefined";var so3=ln2?z.useLayoutEffect:z.useEffect;var cn2=z.createContext(null);function un2(t3,e6){if(t3.indexOf(e6)===-1)t3.push(e6)}__name(un2,"un");i2(un2,"addUniqueItem");function hn2(t3,e6){const n2=t3.indexOf(e6);if(n2>-1)t3.splice(n2,1)}__name(hn2,"hn");i2(hn2,"removeItem");var q2=i2((t3,e6,n2)=>{if(n2>e6)return e6;if(n2{},"invariant");var _={};var wi=i2(t3=>/^-?(?:d+(?:.d+)?|.d+)$/u.test(t3),"isNumericalString");function Ai(t3){return typeof t3==="object"&&t3!==null}__name(Ai,"Ai");i2(Ai,"isObject");var Vi2=i2(t3=>/^0[^.s]+$/u.test(t3),"isZeroValueString");function dn2(t3){let e6;return()=>{if(e6===void 0)e6=t3();return e6}}__name(dn2,"dn");i2(dn2,"memo");var H=i2(t3=>t3,"noop");var io2=i2((t3,e6)=>n2=>e6(t3(n2)),"combineFunctions");var jt=i2((...t3)=>t3.reduce(io2),"pipe");var Ct2=i2((t3,e6,n2)=>{const s=e6-t3;return s===0?1:(n2-t3)/s},"progress");var In3=class In4{static{__name(this,"In")}constructor(){this.subscriptions=[]}add(e6){un2(this.subscriptions,e6);return()=>hn2(this.subscriptions,e6)}notify(e6,n2,s){const r4=this.subscriptions.length;if(!r4)return;if(r4===1){this.subscriptions[0](e6,n2,s)}else{for(let o7=0;o7t3*1e3,"secondsToMilliseconds");var $2=i2(t3=>t3/1e3,"millisecondsToSeconds");function Ci2(t3,e6){return e6?t3*(1e3/e6):0}__name(Ci2,"Ci");i2(Ci2,"velocityPerSecond");var Di=i2((t3,e6,n2)=>(((1-3*n2+3*e6)*t3+(3*n2-6*e6))*t3+3*e6)*t3,"calcBezier");var ro3=1e-7;var oo3=12;function ao2(t3,e6,n2,s,r4){let o7;let c5;let a3=0;do{c5=e6+(n2-e6)/2;o7=Di(c5,s,r4)-t3;if(o7>0){n2=c5}else{e6=c5}}while(Math.abs(o7)>ro3&&++a3ao2(o7,0,1,t3,n2),"getTForX");return o7=>o7===0||o7===1?o7:Di(r4(o7),e6,s)}__name(Ot,"Ot");i2(Ot,"cubicBezier");var Mi2=i2(t3=>e6=>e6<=.5?t3(2*e6)/2:(2-t3(2*(1-e6)))/2,"mirrorEasing");var Ri2=i2(t3=>e6=>1-t3(1-e6),"reverseEasing");var Ei=Ot(.33,1.53,.69,.99);var mn2=Ri2(Ei);var Li2=Mi2(mn2);var ki2=i2(t3=>(t3*=2)<1?.5*mn2(t3):.5*(2-Math.pow(2,-10*(t3-1))),"anticipate");var pn2=i2(t3=>1-Math.sin(Math.acos(t3)),"circIn");var Bi2=Ri2(pn2);var Fi=Mi2(pn2);var lo2=Ot(.42,0,1,1);var co3=Ot(0,0,.58,1);var Ii=Ot(.42,0,.58,1);var uo2=i2(t3=>{return Array.isArray(t3)&&typeof t3[0]!=="number"},"isEasingArray");var ji2=i2(t3=>Array.isArray(t3)&&typeof t3[0]==="number","isBezierDefinition");var ho3={linear:H,easeIn:lo2,easeInOut:Ii,easeOut:co3,circIn:pn2,circInOut:Fi,circOut:Bi2,backIn:mn2,backInOut:Li2,backOut:Ei,anticipate:ki2};var fo3=i2(t3=>{return typeof t3==="string"},"isValidEasing");var fs=i2(t3=>{if(ji2(t3)){fn3(t3.length===4);const[e6,n2,s,r4]=t3;return Ot(e6,n2,s,r4)}else if(fo3(t3)){return ho3[t3]}return t3},"easingDefinitionToFunction");var Kt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mo3(t3,e6){let n2=new Set;let s=new Set;let r4=false;let o7=false;const c5=new WeakSet;let a3={delta:0,timestamp:0,isProcessing:false};function l2(u5){if(c5.has(u5)){h.schedule(u5);t3()}u5(a3)}__name(l2,"l");i2(l2,"triggerCallback");const h={schedule:i2((u5,f3=false,d2=false)=>{const m2=d2&&r4;const p3=m2?n2:s;if(f3)c5.add(u5);if(!p3.has(u5))p3.add(u5);return u5},"schedule"),cancel:i2(u5=>{s.delete(u5);c5.delete(u5)},"cancel"),process:i2(u5=>{a3=u5;if(r4){o7=true;return}r4=true;[n2,s]=[s,n2];n2.forEach(l2);n2.clear();r4=false;if(o7){o7=false;h.process(u5)}},"process")};return h}__name(mo3,"mo");i2(mo3,"createRenderStep");var po3=40;function Oi(t3,e6){let n2=false;let s=true;const r4={delta:0,timestamp:0,isProcessing:false};const o7=i2(()=>n2=true,"flagRunNextFrame");const c5=Kt.reduce((y2,w)=>{y2[w]=mo3(o7);return y2},{});const{setup:a3,read:l2,resolveKeyframes:h,preUpdate:u5,update:f3,preRender:d2,render:m2,postRender:p3}=c5;const v2=i2(()=>{const y2=_.useManualTiming?r4.timestamp:performance.now();n2=false;if(!_.useManualTiming){r4.delta=s?1e3/60:Math.max(Math.min(y2-r4.timestamp,po3),1)}r4.timestamp=y2;r4.isProcessing=true;a3.process(r4);l2.process(r4);h.process(r4);u5.process(r4);f3.process(r4);d2.process(r4);m2.process(r4);p3.process(r4);r4.isProcessing=false;if(n2&&e6){s=false;t3(v2)}},"processBatch");const T3=i2(()=>{n2=true;s=true;if(!r4.isProcessing){t3(v2)}},"wake");const g2=Kt.reduce((y2,w)=>{const b=c5[w];y2[w]=(V,L2=false,A=false)=>{if(!n2)T3();return b.schedule(V,L2,A)};return y2},{});const x2=i2(y2=>{for(let w=0;w{if(Ht2===void 0){O2.set(B2.isProcessing||_.useManualTiming?B2.timestamp:performance.now())}return Ht2},"now"),set:i2(t3=>{Ht2=t3;queueMicrotask(go3)},"set")};var Ni2=i2(t3=>e6=>typeof e6==="string"&&e6.startsWith(t3),"checkStringStartsWith");var gn2=Ni2("--");var yo3=Ni2("var(--");var yn2=i2(t3=>{const e6=yo3(t3);if(!e6)return false;return vo3.test(t3.split("/*")[0].trim())},"isCSSVariableToken");var vo3=/var(--(?:[w-]+s*|[w-]+s*,(?:s*[^)(s]|s*((?:[^)(]|([^)(]*))*))+s*))$/iu;var yt2={test:i2(t3=>typeof t3==="number","test"),parse:parseFloat,transform:i2(t3=>t3,"transform")};var Mt={...yt2,transform:i2(t3=>q2(0,1,t3),"transform")};var Wt2={...yt2,default:1};var bt3=i2(t3=>Math.round(t3*1e5)/1e5,"sanitize");var vn2=/-?(?:d+(?:.d+)?|.d+)/gu;function To2(t3){return t3==null}__name(To2,"To");i2(To2,"isNullish");var xo3=/^(?:#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?))$/iu;var Tn2=i2((t3,e6)=>n2=>{return Boolean(typeof n2==="string"&&xo3.test(n2)&&n2.startsWith(t3)||e6&&!To2(n2)&&Object.prototype.hasOwnProperty.call(n2,e6))},"isColorString");var Ui2=i2((t3,e6,n2)=>s=>{if(typeof s!=="string")return s;const[r4,o7,c5,a3]=s.match(vn2);return{[t3]:parseFloat(r4),[e6]:parseFloat(o7),[n2]:parseFloat(c5),alpha:a3!==void 0?parseFloat(a3):1}},"splitColor");var Po2=i2(t3=>q2(0,255,t3),"clampRgbUnit");var re3={...yt2,transform:i2(t3=>Math.round(Po2(t3)),"transform")};var it3={test:Tn2("rgb","red"),parse:Ui2("red","green","blue"),transform:i2(({red:t3,green:e6,blue:n2,alpha:s=1})=>"rgba("+re3.transform(t3)+", "+re3.transform(e6)+", "+re3.transform(n2)+", "+bt3(Mt.transform(s))+")","transform")};function bo3(t3){let e6="";let n2="";let s="";let r4="";if(t3.length>5){e6=t3.substring(1,3);n2=t3.substring(3,5);s=t3.substring(5,7);r4=t3.substring(7,9)}else{e6=t3.substring(1,2);n2=t3.substring(2,3);s=t3.substring(3,4);r4=t3.substring(4,5);e6+=e6;n2+=n2;s+=s;r4+=r4}return{red:parseInt(e6,16),green:parseInt(n2,16),blue:parseInt(s,16),alpha:r4?parseInt(r4,16)/255:1}}__name(bo3,"bo");i2(bo3,"parseHex");var xe={test:Tn2("#"),parse:bo3,transform:it3.transform};var Nt2=i2(t3=>({test:i2(e6=>typeof e6==="string"&&e6.endsWith(t3)&&e6.split(" ").length===1,"test"),parse:parseFloat,transform:i2(e6=>`${e6}${t3}`,"transform")}),"createUnitType");var Z2=Nt2("deg");var Y2=Nt2("%");var P=Nt2("px");var So3=Nt2("vh");var wo3=Nt2("vw");var ds=(()=>({...Y2,parse:i2(t3=>Y2.parse(t3)/100,"parse"),transform:i2(t3=>Y2.transform(t3*100),"transform")}))();var ct3={test:Tn2("hsl","hue"),parse:Ui2("hue","saturation","lightness"),transform:i2(({hue:t3,saturation:e6,lightness:n2,alpha:s=1})=>{return"hsla("+Math.round(t3)+", "+Y2.transform(bt3(e6))+", "+Y2.transform(bt3(n2))+", "+bt3(Mt.transform(s))+")"},"transform")};var E3={test:i2(t3=>it3.test(t3)||xe.test(t3)||ct3.test(t3),"test"),parse:i2(t3=>{if(it3.test(t3)){return it3.parse(t3)}else if(ct3.test(t3)){return ct3.parse(t3)}else{return xe.parse(t3)}},"parse"),transform:i2(t3=>{return typeof t3==="string"?t3:t3.hasOwnProperty("red")?it3.transform(t3):ct3.transform(t3)},"transform"),getAnimatableNone:i2(t3=>{const e6=E3.parse(t3);e6.alpha=0;return E3.transform(e6)},"getAnimatableNone")};var Ao2=/(?:#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?))/giu;function Vo2(t3){return isNaN(t3)&&typeof t3==="string"&&(t3.match(vn2)?.length||0)+(t3.match(Ao2)?.length||0)>0}__name(Vo2,"Vo");i2(Vo2,"test");var Ki2="number";var Wi="color";var Co3="var";var Do2="var(";var ms="${}";var Mo3=/vars*(s*--(?:[w-]+s*|[w-]+s*,(?:s*[^)(s]|s*((?:[^)(]|([^)(]*))*))+s*))|#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?)|-?(?:d+(?:.d+)?|.d+)/giu;function Rt2(t3){const e6=t3.toString();const n2=[];const s={color:[],number:[],var:[]};const r4=[];let o7=0;const c5=e6.replace(Mo3,l2=>{if(E3.test(l2)){s.color.push(o7);r4.push(Wi);n2.push(E3.parse(l2))}else if(l2.startsWith(Do2)){s.var.push(o7);r4.push(Co3);n2.push(l2)}else{s.number.push(o7);r4.push(Ki2);n2.push(parseFloat(l2))}++o7;return ms});const a3=c5.split(ms);return{values:n2,split:a3,indexes:s,types:r4}}__name(Rt2,"Rt");i2(Rt2,"analyseComplexValue");function $i(t3){return Rt2(t3).values}__name($i,"$i");i2($i,"parseComplexValue");function Hi2(t3){const{split:e6,types:n2}=Rt2(t3);const s=e6.length;return r4=>{let o7="";for(let c5=0;c5typeof t3==="number"?0:E3.test(t3)?E3.getAnimatableNone(t3):t3,"convertNumbersToZero");function Eo3(t3){const e6=$i(t3);const n2=Hi2(t3);return n2(e6.map(Ro3))}__name(Eo3,"Eo");i2(Eo3,"getAnimatableNone$1");var J={test:Vo2,parse:$i,createTransformer:Hi2,getAnimatableNone:Eo3};function oe2(t3,e6,n2){if(n2<0)n2+=1;if(n2>1)n2-=1;if(n2<1/6)return t3+(e6-t3)*6*n2;if(n2<1/2)return e6;if(n2<2/3)return t3+(e6-t3)*(2/3-n2)*6;return t3}__name(oe2,"oe");i2(oe2,"hueToRgb");function Lo2({hue:t3,saturation:e6,lightness:n2,alpha:s}){t3/=360;e6/=100;n2/=100;let r4=0;let o7=0;let c5=0;if(!e6){r4=o7=c5=n2}else{const a3=n2<.5?n2*(1+e6):n2+e6-n2*e6;const l2=2*n2-a3;r4=oe2(l2,a3,t3+1/3);o7=oe2(l2,a3,t3);c5=oe2(l2,a3,t3-1/3)}return{red:Math.round(r4*255),green:Math.round(o7*255),blue:Math.round(c5*255),alpha:s}}__name(Lo2,"Lo");i2(Lo2,"hslaToRgba");function Gt(t3,e6){return n2=>n2>0?e6:t3}__name(Gt,"Gt");i2(Gt,"mixImmediate");var D=i2((t3,e6,n2)=>{return t3+(e6-t3)*n2},"mixNumber$1");var ae3=i2((t3,e6,n2)=>{const s=t3*t3;const r4=n2*(e6*e6-s)+s;return r4<0?0:Math.sqrt(r4)},"mixLinearColor");var ko2=[xe,it3,ct3];var Bo2=i2(t3=>ko2.find(e6=>e6.test(t3)),"getColorType");function ps(t3){const e6=Bo2(t3);if(!Boolean(e6))return false;let n2=e6.parse(t3);if(e6===ct3){n2=Lo2(n2)}return n2}__name(ps,"ps");i2(ps,"asRGBA");var gs=i2((t3,e6)=>{const n2=ps(t3);const s=ps(e6);if(!n2||!s){return Gt(t3,e6)}const r4={...n2};return o7=>{r4.red=ae3(n2.red,s.red,o7);r4.green=ae3(n2.green,s.green,o7);r4.blue=ae3(n2.blue,s.blue,o7);r4.alpha=D(n2.alpha,s.alpha,o7);return it3.transform(r4)}},"mixColor");var Pe=new Set(["none","hidden"]);function Fo(t3,e6){if(Pe.has(t3)){return n2=>n2<=0?t3:e6}else{return n2=>n2>=1?e6:t3}}__name(Fo,"Fo");i2(Fo,"mixVisibility");function Io(t3,e6){return n2=>D(t3,e6,n2)}__name(Io,"Io");i2(Io,"mixNumber");function xn2(t3){if(typeof t3==="number"){return Io}else if(typeof t3==="string"){return yn2(t3)?Gt:E3.test(t3)?gs:No2}else if(Array.isArray(t3)){return zi2}else if(typeof t3==="object"){return E3.test(t3)?gs:jo3}return Gt}__name(xn2,"xn");i2(xn2,"getMixer");function zi2(t3,e6){const n2=[...t3];const s=n2.length;const r4=t3.map((o7,c5)=>xn2(o7)(o7,e6[c5]));return o7=>{for(let c5=0;c5{for(const o7 in s){n2[o7]=s[o7](r4)}return n2}}__name(jo3,"jo");i2(jo3,"mixObject");function Oo2(t3,e6){const n2=[];const s={color:0,var:0,number:0};for(let r4=0;r4{const n2=J.createTransformer(e6);const s=Rt2(t3);const r4=Rt2(e6);const o7=s.indexes.var.length===r4.indexes.var.length&&s.indexes.color.length===r4.indexes.color.length&&s.indexes.number.length>=r4.indexes.number.length;if(o7){if(Pe.has(t3)&&!r4.values.length||Pe.has(e6)&&!s.values.length){return Fo(t3,e6)}return jt(zi2(Oo2(s,r4),r4.values),n2)}else{return Gt(t3,e6)}},"mixComplex");function Xi2(t3,e6,n2){if(typeof t3==="number"&&typeof e6==="number"&&typeof n2==="number"){return D(t3,e6,n2)}const s=xn2(t3);return s(t3,e6)}__name(Xi2,"Xi");i2(Xi2,"mix");var Uo2=i2(t3=>{const e6=i2(({timestamp:n2})=>t3(n2),"passTimestamp");return{start:i2((n2=true)=>C.update(e6,n2),"start"),stop:i2(()=>Q2(e6),"stop"),now:i2(()=>B2.isProcessing?B2.timestamp:O2.now(),"now")}},"frameloopDriver");var Yi2=i2((t3,e6,n2=10)=>{let s="";const r4=Math.max(Math.round(e6/n2),2);for(let o7=0;o7=qt2?Infinity:e6}__name(Pn3,"Pn");i2(Pn3,"calcGeneratorDuration");function Ko2(t3,e6=100,n2){const s=n2({...t3,keyframes:[0,e6]});const r4=Math.min(Pn3(s),qt2);return{type:"keyframes",ease:i2(o7=>{return s.next(r4*o7).value/e6},"ease"),duration:$2(r4)}}__name(Ko2,"Ko");i2(Ko2,"createGeneratorEasing");var Wo=5;function Gi2(t3,e6,n2){const s=Math.max(e6-Wo,0);return Ci2(n2-t3(s),e6-s)}__name(Gi2,"Gi");i2(Gi2,"calcGeneratorVelocity");var M3={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var le3=.001;function $o({duration:t3=M3.duration,bounce:e6=M3.bounce,velocity:n2=M3.velocity,mass:s=M3.mass}){let r4;let o7;let c5=1-e6;c5=q2(M3.minDamping,M3.maxDamping,c5);t3=q2(M3.minDuration,M3.maxDuration,$2(t3));if(c5<1){r4=i2(h=>{const u5=h*c5;const f3=u5*t3;const d2=u5-n2;const m2=be2(h,c5);const p3=Math.exp(-f3);return le3-d2/m2*p3},"envelope");o7=i2(h=>{const u5=h*c5;const f3=u5*t3;const d2=f3*n2+n2;const m2=Math.pow(c5,2)*Math.pow(h,2)*t3;const p3=Math.exp(-f3);const v2=be2(Math.pow(h,2),c5);const T3=-r4(h)+le3>0?-1:1;return T3*((d2-m2)*p3)/v2},"derivative")}else{r4=i2(h=>{const u5=Math.exp(-h*t3);const f3=(h-n2)*t3+1;return-le3+u5*f3},"envelope");o7=i2(h=>{const u5=Math.exp(-h*t3);const f3=(n2-h)*(t3*t3);return u5*f3},"derivative")}const a3=5/t3;const l2=zo2(r4,o7,a3);t3=X3(t3);if(isNaN(l2)){return{stiffness:M3.stiffness,damping:M3.damping,duration:t3}}else{const h=Math.pow(l2,2)*s;return{stiffness:h,damping:c5*2*Math.sqrt(s*h),duration:t3}}}__name($o,"$o");i2($o,"findSpring");var Ho2=12;function zo2(t3,e6,n2){let s=n2;for(let r4=1;r4t3[n2]!==void 0)}__name(ys,"ys");i2(ys,"isSpringType");function Go2(t3){let e6={velocity:M3.velocity,stiffness:M3.stiffness,damping:M3.damping,mass:M3.mass,isResolvedFromDuration:false,...t3};if(!ys(t3,Yo2)&&ys(t3,Xo2)){if(t3.visualDuration){const n2=t3.visualDuration;const s=2*Math.PI/(n2*1.2);const r4=s*s;const o7=2*q2(.05,1,1-(t3.bounce||0))*Math.sqrt(r4);e6={...e6,mass:M3.mass,stiffness:r4,damping:o7}}else{const n2=$o(t3);e6={...e6,...n2,mass:M3.mass};e6.isResolvedFromDuration=true}}return e6}__name(Go2,"Go");i2(Go2,"getSpringOptions");function _t2(t3=M3.visualDuration,e6=M3.bounce){const n2=typeof t3!=="object"?{visualDuration:t3,keyframes:[0,1],bounce:e6}:t3;let{restSpeed:s,restDelta:r4}=n2;const o7=n2.keyframes[0];const c5=n2.keyframes[n2.keyframes.length-1];const a3={done:false,value:o7};const{stiffness:l2,damping:h,mass:u5,duration:f3,velocity:d2,isResolvedFromDuration:m2}=Go2({...n2,velocity:-$2(n2.velocity||0)});const p3=d2||0;const v2=h/(2*Math.sqrt(l2*u5));const T3=c5-o7;const g2=$2(Math.sqrt(l2/u5));const x2=Math.abs(T3)<5;s||(s=x2?M3.restSpeed.granular:M3.restSpeed.default);r4||(r4=x2?M3.restDelta.granular:M3.restDelta.default);let y2;if(v2<1){const b=be2(g2,v2);y2=i2(V=>{const L2=Math.exp(-v2*g2*V);return c5-L2*((p3+v2*g2*T3)/b*Math.sin(b*V)+T3*Math.cos(b*V))},"resolveSpring")}else if(v2===1){y2=i2(b=>c5-Math.exp(-g2*b)*(T3+(p3+g2*T3)*b),"resolveSpring")}else{const b=g2*Math.sqrt(v2*v2-1);y2=i2(V=>{const L2=Math.exp(-v2*g2*V);const A=Math.min(b*V,300);return c5-L2*((p3+v2*g2*T3)*Math.sinh(A)+b*T3*Math.cosh(A))/b},"resolveSpring")}const w={calculatedDuration:m2?f3||null:null,next:i2(b=>{const V=y2(b);if(!m2){let L2=b===0?p3:0;if(v2<1){L2=b===0?X3(p3):Gi2(y2,b,V)}const A=Math.abs(L2)<=s;const j2=Math.abs(c5-V)<=r4;a3.done=A&&j2}else{a3.done=b>=f3}a3.value=a3.done?c5:V;return a3},"next"),toString:i2(()=>{const b=Math.min(Pn3(w),qt2);const V=Yi2(L2=>w.next(b*L2).value,b,30);return b+"ms "+V},"toString"),toTransition:i2(()=>{},"toTransition")};return w}__name(_t2,"_t");i2(_t2,"spring");_t2.applyToOptions=t3=>{const e6=Ko2(t3,100,_t2);t3.ease=e6.ease;t3.duration=X3(e6.duration);t3.type="keyframes";return t3};function Se({keyframes:t3,velocity:e6=0,power:n2=.8,timeConstant:s=325,bounceDamping:r4=10,bounceStiffness:o7=500,modifyTarget:c5,min:a3,max:l2,restDelta:h=.5,restSpeed:u5}){const f3=t3[0];const d2={done:false,value:f3};const m2=i2(A=>a3!==void 0&&Al2,"isOutOfBounds");const p3=i2(A=>{if(a3===void 0)return l2;if(l2===void 0)return a3;return Math.abs(a3-A)-v2*Math.exp(-A/s),"calcDelta");const y2=i2(A=>g2+x2(A),"calcLatest");const w=i2(A=>{const j2=x2(A);const N=y2(A);d2.done=Math.abs(j2)<=h;d2.value=d2.done?g2:N},"applyFriction");let b;let V;const L2=i2(A=>{if(!m2(d2.value))return;b=A;V=_t2({keyframes:[d2.value,p3(d2.value)],velocity:Gi2(y2,A,d2.value),damping:r4,stiffness:o7,restDelta:h,restSpeed:u5})},"checkCatchBoundary");L2(0);return{calculatedDuration:null,next:i2(A=>{let j2=false;if(!V&&b===void 0){j2=true;w(A);L2(A)}if(b!==void 0&&A>=b){return V.next(A-b)}else{!j2&&w(A);return d2}},"next")}}__name(Se,"Se");i2(Se,"inertia");function qo2(t3,e6,n2){const s=[];const r4=n2||_.mix||Xi2;const o7=t3.length-1;for(let c5=0;c5e6[0];if(o7===2&&e6[0]===e6[1])return()=>e6[1];const c5=t3[0]===t3[1];if(t3[0]>t3[o7-1]){t3=[...t3].reverse();e6=[...e6].reverse()}const a3=qo2(e6,s,r4);const l2=a3.length;const h=i2(u5=>{if(c5&&u51){for(;f3h(q2(t3[0],t3[o7-1],u5)):h}__name(_o2,"_o");i2(_o2,"interpolate");function Zo2(t3,e6){const n2=t3[t3.length-1];for(let s=1;s<=e6;s++){const r4=Ct2(0,e6,s);t3.push(D(n2,1,r4))}}__name(Zo2,"Zo");i2(Zo2,"fillOffset");function Qo2(t3){const e6=[0];Zo2(e6,t3.length-1);return e6}__name(Qo2,"Qo");i2(Qo2,"defaultOffset");function Jo2(t3,e6){return t3.map(n2=>n2*e6)}__name(Jo2,"Jo");i2(Jo2,"convertOffsetToTimes");function ta2(t3,e6){return t3.map(()=>e6||Ii).splice(0,t3.length-1)}__name(ta2,"ta");i2(ta2,"defaultEasing");function St({duration:t3=300,keyframes:e6,times:n2,ease:s="easeInOut"}){const r4=uo2(s)?s.map(fs):fs(s);const o7={done:false,value:e6[0]};const c5=Jo2(n2&&n2.length===e6.length?n2:Qo2(e6),t3);const a3=_o2(c5,e6,{ease:Array.isArray(r4)?r4:ta2(e6,r4)});return{calculatedDuration:t3,next:i2(l2=>{o7.value=a3(l2);o7.done=l2>=t3;return o7},"next")}}__name(St,"St");i2(St,"keyframes");var ea2=i2(t3=>t3!==null,"isNotNull$1");function bn2(t3,{repeat:e6,repeatType:n2="loop"},s,r4=1){const o7=t3.filter(ea2);const c5=r4<0||e6&&n2!=="loop"&&e6%2===1;const a3=c5?0:o7.length-1;return!a3||s===void 0?o7[a3]:s}__name(bn2,"bn");i2(bn2,"getFinalKeyframe$1");var na2={decay:Se,inertia:Se,tween:St,keyframes:St,spring:_t2};function qi2(t3){if(typeof t3.type==="string"){t3.type=na2[t3.type]}}__name(qi2,"qi");i2(qi2,"replaceTransitionType");var jn2=class jn3{static{__name(this,"jn")}constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e6=>{this.resolve=e6})}notifyFinished(){this.resolve()}then(e6,n2){return this.finished.then(e6,n2)}};i2(jn2,"WithPromise");var Et2=jn2;var sa=i2(t3=>t3/100,"percentToProgress");var On2=class On3 extends Et2{static{__name(this,"On")}constructor(e6){super();this.state="idle";this.startTime=null;this.isStopped=false;this.currentTime=0;this.holdTime=null;this.playbackSpeed=1;this.stop=()=>{const{motionValue:n2}=this.options;if(n2&&n2.updatedAt!==O2.now()){this.tick(O2.now())}this.isStopped=true;if(this.state==="idle")return;this.teardown();this.options.onStop?.()};this.options=e6;this.initAnimation();this.play();if(e6.autoplay===false)this.pause()}initAnimation(){const{options:e6}=this;qi2(e6);const{type:n2=St,repeat:s=0,repeatDelay:r4=0,repeatType:o7,velocity:c5=0}=e6;let{keyframes:a3}=e6;const l2=n2||St;if(l2!==St&&typeof a3[0]!=="number"){this.mixKeyframes=jt(sa,Xi2(a3[0],a3[1]));a3=[0,100]}const h=l2({...e6,keyframes:a3});if(o7==="mirror"){this.mirroredGenerator=l2({...e6,keyframes:[...a3].reverse(),velocity:-c5})}if(h.calculatedDuration===null){h.calculatedDuration=Pn3(h)}const{calculatedDuration:u5}=h;this.calculatedDuration=u5;this.resolvedDuration=u5+r4;this.totalDuration=this.resolvedDuration*(s+1)-r4;this.generator=h}updateTime(e6){const n2=Math.round(e6-this.startTime)*this.playbackSpeed;if(this.holdTime!==null){this.currentTime=this.holdTime}else{this.currentTime=n2}}tick(e6,n2=false){const{generator:s,totalDuration:r4,mixKeyframes:o7,mirroredGenerator:c5,resolvedDuration:a3,calculatedDuration:l2}=this;if(this.startTime===null)return s.next(0);const{delay:h=0,keyframes:u5,repeat:f3,repeatType:d2,repeatDelay:m2,type:p3,onUpdate:v2,finalKeyframe:T3}=this.options;if(this.speed>0){this.startTime=Math.min(this.startTime,e6)}else if(this.speed<0){this.startTime=Math.min(e6-r4/this.speed,this.startTime)}if(n2){this.currentTime=e6}else{this.updateTime(e6)}const g2=this.currentTime-h*(this.playbackSpeed>=0?1:-1);const x2=this.playbackSpeed>=0?g2<0:g2>r4;this.currentTime=Math.max(g2,0);if(this.state==="finished"&&this.holdTime===null){this.currentTime=r4}let y2=this.currentTime;let w=s;if(f3){const A=Math.min(this.currentTime,r4)/a3;let j2=Math.floor(A);let N=A%1;if(!N&&A>=1){N=1}N===1&&j2--;j2=Math.min(j2,f3+1);const tt4=Boolean(j2%2);if(tt4){if(d2==="reverse"){N=1-N;if(m2){N-=m2/a3}}else if(d2==="mirror"){w=c5}}y2=q2(0,1,N)*a3}const b=x2?{done:false,value:u5[0]}:w.next(y2);if(o7){b.value=o7(b.value)}let{done:V}=b;if(!x2&&l2!==null){V=this.playbackSpeed>=0?this.currentTime>=r4:this.currentTime<=0}const L2=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);if(L2&&p3!==Se){b.value=bn2(u5,this.options,T3,this.speed)}if(v2){v2(b.value)}if(L2){this.finish()}return b}then(e6,n2){return this.finished.then(e6,n2)}get duration(){return $2(this.calculatedDuration)}get iterationDuration(){const{delay:e6=0}=this.options||{};return this.duration+$2(e6)}get time(){return $2(this.currentTime)}set time(e6){e6=X3(e6);this.currentTime=e6;if(this.startTime===null||this.holdTime!==null||this.playbackSpeed===0){this.holdTime=e6}else if(this.driver){this.startTime=this.driver.now()-e6/this.playbackSpeed}this.driver?.start(false)}get speed(){return this.playbackSpeed}set speed(e6){this.updateTime(O2.now());const n2=this.playbackSpeed!==e6;this.playbackSpeed=e6;if(n2){this.time=$2(this.currentTime)}}play(){if(this.isStopped)return;const{driver:e6=Uo2,startTime:n2}=this.options;if(!this.driver){this.driver=e6(r4=>this.tick(r4))}this.options.onPlay?.();const s=this.driver.now();if(this.state==="finished"){this.updateFinished();this.startTime=s}else if(this.holdTime!==null){this.startTime=s-this.holdTime}else if(!this.startTime){this.startTime=n2??s}if(this.state==="finished"&&this.speed<0){this.startTime+=this.calculatedDuration}this.holdTime=null;this.state="running";this.driver.start()}pause(){this.state="paused";this.updateTime(O2.now());this.holdTime=this.currentTime}complete(){if(this.state!=="running"){this.play()}this.state="finished";this.holdTime=null}finish(){this.notifyFinished();this.teardown();this.state="finished";this.options.onComplete?.()}cancel(){this.holdTime=null;this.startTime=0;this.tick(0);this.teardown();this.options.onCancel?.()}teardown(){this.state="idle";this.stopDriver();this.startTime=this.holdTime=null}stopDriver(){if(!this.driver)return;this.driver.stop();this.driver=void 0}sample(e6){this.startTime=0;return this.tick(e6,true)}attachTimeline(e6){if(this.options.allowFlatten){this.options.type="keyframes";this.options.ease="linear";this.initAnimation()}this.driver?.stop();return e6.observe(this)}};i2(On2,"JSAnimation");var Lt=On2;function ia2(t3){for(let e6=1;e6t3*180/Math.PI,"radToDeg");var we2=i2(t3=>{const e6=rt3(Math.atan2(t3[1],t3[0]));return Ae2(e6)},"rotate");var ra2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i2(t3=>(Math.abs(t3[0])+Math.abs(t3[3]))/2,"scale"),rotate:we2,rotateZ:we2,skewX:i2(t3=>rt3(Math.atan(t3[1])),"skewX"),skewY:i2(t3=>rt3(Math.atan(t3[2])),"skewY"),skew:i2(t3=>(Math.abs(t3[1])+Math.abs(t3[2]))/2,"skew")};var Ae2=i2(t3=>{t3=t3%360;if(t3<0)t3+=360;return t3},"rebaseAngle");var vs=we2;var Ts=i2(t3=>Math.sqrt(t3[0]*t3[0]+t3[1]*t3[1]),"scaleX");var xs=i2(t3=>Math.sqrt(t3[4]*t3[4]+t3[5]*t3[5]),"scaleY");var oa2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ts,scaleY:xs,scale:i2(t3=>(Ts(t3)+xs(t3))/2,"scale"),rotateX:i2(t3=>Ae2(rt3(Math.atan2(t3[6],t3[5]))),"rotateX"),rotateY:i2(t3=>Ae2(rt3(Math.atan2(-t3[2],t3[0]))),"rotateY"),rotateZ:vs,rotate:vs,skewX:i2(t3=>rt3(Math.atan(t3[4])),"skewX"),skewY:i2(t3=>rt3(Math.atan(t3[1])),"skewY"),skew:i2(t3=>(Math.abs(t3[1])+Math.abs(t3[4]))/2,"skew")};function Ve3(t3){return t3.includes("scale")?1:0}__name(Ve3,"Ve");i2(Ve3,"defaultTransformValue");function Ce2(t3,e6){if(!t3||t3==="none"){return Ve3(e6)}const n2=t3.match(/^matrix3d(([-d.es,]+))$/u);let s;let r4;if(n2){s=oa2;r4=n2}else{const a3=t3.match(/^matrix(([-d.es,]+))$/u);s=ra2;r4=a3}if(!r4){return Ve3(e6)}const o7=s[e6];const c5=r4[1].split(",").map(la2);return typeof o7==="function"?o7(c5):c5[o7]}__name(Ce2,"Ce");i2(Ce2,"parseValueFromTransform");var aa2=i2((t3,e6)=>{const{transform:n2="none"}=getComputedStyle(t3);return Ce2(n2,e6)},"readTransformValue");function la2(t3){return parseFloat(t3.trim())}__name(la2,"la");i2(la2,"convertTransformToNumber");var vt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];var Tt2=(()=>new Set(vt))();var Ps=i2(t3=>t3===yt2||t3===P,"isNumOrPxType");var ca2=new Set(["x","y","z"]);var ua2=vt.filter(t3=>!ca2.has(t3));function ha(t3){const e6=[];ua2.forEach(n2=>{const s=t3.getValue(n2);if(s!==void 0){e6.push([n2,s.get()]);s.set(n2.startsWith("scale")?1:0)}});return e6}__name(ha,"ha");i2(ha,"removeNonTranslationalTransform");var ot4={width:i2(({x:t3},{paddingLeft:e6="0",paddingRight:n2="0"})=>t3.max-t3.min-parseFloat(e6)-parseFloat(n2),"width"),height:i2(({y:t3},{paddingTop:e6="0",paddingBottom:n2="0"})=>t3.max-t3.min-parseFloat(e6)-parseFloat(n2),"height"),top:i2((t3,{top:e6})=>parseFloat(e6),"top"),left:i2((t3,{left:e6})=>parseFloat(e6),"left"),bottom:i2(({y:t3},{top:e6})=>parseFloat(e6)+(t3.max-t3.min),"bottom"),right:i2(({x:t3},{left:e6})=>parseFloat(e6)+(t3.max-t3.min),"right"),x:i2((t3,{transform:e6})=>Ce2(e6,"x"),"x"),y:i2((t3,{transform:e6})=>Ce2(e6,"y"),"y")};ot4.translateX=ot4.x;ot4.translateY=ot4.y;var at3=new Set;var De2=false;var Me3=false;var Re=false;function _i2(){if(Me3){const t3=Array.from(at3).filter(s=>s.needsMeasurement);const e6=new Set(t3.map(s=>s.element));const n2=new Map;e6.forEach(s=>{const r4=ha(s);if(!r4.length)return;n2.set(s,r4);s.render()});t3.forEach(s=>s.measureInitialState());e6.forEach(s=>{s.render();const r4=n2.get(s);if(r4){r4.forEach(([o7,c5])=>{s.getValue(o7)?.set(c5)})}});t3.forEach(s=>s.measureEndState());t3.forEach(s=>{if(s.suspendedScrollY!==void 0){window.scrollTo(0,s.suspendedScrollY)}})}Me3=false;De2=false;at3.forEach(t3=>t3.complete(Re));at3.clear()}__name(_i2,"_i");i2(_i2,"measureAllKeyframes");function Zi2(){at3.forEach(t3=>{t3.readKeyframes();if(t3.needsMeasurement){Me3=true}})}__name(Zi2,"Zi");i2(Zi2,"readAllKeyframes");function fa(){Re=true;Zi2();_i2();Re=false}__name(fa,"fa");i2(fa,"flushKeyframeResolvers");var Nn2=class Nn3{static{__name(this,"Nn")}constructor(e6,n2,s,r4,o7,c5=false){this.state="pending";this.isAsync=false;this.needsMeasurement=false;this.unresolvedKeyframes=[...e6];this.onComplete=n2;this.name=s;this.motionValue=r4;this.element=o7;this.isAsync=c5}scheduleResolve(){this.state="scheduled";if(this.isAsync){at3.add(this);if(!De2){De2=true;C.read(Zi2);C.resolveKeyframes(_i2)}}else{this.readKeyframes();this.complete()}}readKeyframes(){const{unresolvedKeyframes:e6,name:n2,element:s,motionValue:r4}=this;if(e6[0]===null){const o7=r4?.get();const c5=e6[e6.length-1];if(o7!==void 0){e6[0]=o7}else if(s&&n2){const a3=s.readValue(n2,c5);if(a3!==void 0&&a3!==null){e6[0]=a3}}if(e6[0]===void 0){e6[0]=c5}if(r4&&o7===void 0){r4.set(e6[0])}}ia2(e6)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e6=false){this.state="complete";this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e6);at3.delete(this)}cancel(){if(this.state==="scheduled"){at3.delete(this);this.state="pending"}}resume(){if(this.state==="pending")this.scheduleResolve()}};i2(Nn2,"KeyframeResolver");var kt=Nn2;var da=i2(t3=>t3.startsWith("--"),"isCSSVar");function ma(t3,e6,n2){da(e6)?t3.style.setProperty(e6,n2):t3.style[e6]=n2}__name(ma,"ma");i2(ma,"setStyle");var pa=dn2(()=>window.ScrollTimeline!==void 0);var ga={};function ya(t3,e6){const n2=dn2(t3);return()=>ga[e6]??n2()}__name(ya,"ya");i2(ya,"memoSupports");var Qi2=ya(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t3){return false}return true},"linearEasing");var Pt=i2(([t3,e6,n2,s])=>`cubic-bezier(${t3}, ${e6}, ${n2}, ${s})`,"cubicBezierAsString");var bs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Pt([0,.65,.55,1]),circOut:Pt([.55,0,1,.45]),backIn:Pt([.31,.01,.66,-.59]),backOut:Pt([.33,1.53,.69,.99])};function Ji2(t3,e6){if(!t3){return void 0}else if(typeof t3==="function"){return Qi2()?Yi2(t3,e6):"ease-out"}else if(ji2(t3)){return Pt(t3)}else if(Array.isArray(t3)){return t3.map(n2=>Ji2(n2,e6)||bs.easeOut)}else{return bs[t3]}}__name(Ji2,"Ji");i2(Ji2,"mapEasingToNativeEasing");function va(t3,e6,n2,{delay:s=0,duration:r4=300,repeat:o7=0,repeatType:c5="loop",ease:a3="easeOut",times:l2}={},h=void 0){const u5={[e6]:n2};if(l2)u5.offset=l2;const f3=Ji2(a3,r4);if(Array.isArray(f3))u5.easing=f3;const d2={delay:s,duration:r4,easing:!Array.isArray(f3)?f3:"linear",fill:"both",iterations:o7+1,direction:c5==="reverse"?"alternate":"normal"};if(h)d2.pseudoElement=h;const m2=t3.animate(u5,d2);return m2}__name(va,"va");i2(va,"startWaapiAnimation");function tr(t3){return typeof t3==="function"&&"applyToOptions"in t3}__name(tr,"tr");i2(tr,"isGenerator");function Ta({type:t3,...e6}){if(tr(t3)&&Qi2()){return t3.applyToOptions(e6)}else{e6.duration??(e6.duration=300);e6.ease??(e6.ease="easeOut")}return e6}__name(Ta,"Ta");i2(Ta,"applyGeneratorOptions");var Un2=class Un3 extends Et2{static{__name(this,"Un")}constructor(e6){super();this.finishedTime=null;this.isStopped=false;if(!e6)return;const{element:n2,name:s,keyframes:r4,pseudoElement:o7,allowFlatten:c5=false,finalKeyframe:a3,onComplete:l2}=e6;this.isPseudoElement=Boolean(o7);this.allowFlatten=c5;this.options=e6;fn3(typeof e6.type!=="string");const h=Ta(e6);this.animation=va(n2,s,r4,h,o7);if(h.autoplay===false){this.animation.pause()}this.animation.onfinish=()=>{this.finishedTime=this.time;if(!o7){const u5=bn2(r4,this.options,a3,this.speed);if(this.updateMotionValue){this.updateMotionValue(u5)}else{ma(n2,s,u5)}this.animation.cancel()}l2?.();this.notifyFinished()}}play(){if(this.isStopped)return;this.animation.play();if(this.state==="finished"){this.updateFinished()}}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e6){}}stop(){if(this.isStopped)return;this.isStopped=true;const{state:e6}=this;if(e6==="idle"||e6==="finished"){return}if(this.updateMotionValue){this.updateMotionValue()}else{this.commitStyles()}if(!this.isPseudoElement)this.cancel()}commitStyles(){if(!this.isPseudoElement){this.animation.commitStyles?.()}}get duration(){const e6=this.animation.effect?.getComputedTiming?.().duration||0;return $2(Number(e6))}get iterationDuration(){const{delay:e6=0}=this.options||{};return this.duration+$2(e6)}get time(){return $2(Number(this.animation.currentTime)||0)}set time(e6){this.finishedTime=null;this.animation.currentTime=X3(e6)}get speed(){return this.animation.playbackRate}set speed(e6){if(e6<0)this.finishedTime=null;this.animation.playbackRate=e6}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e6){this.animation.startTime=e6}attachTimeline({timeline:e6,observe:n2}){if(this.allowFlatten){this.animation.effect?.updateTiming({easing:"linear"})}this.animation.onfinish=null;if(e6&&pa()){this.animation.timeline=e6;return H}else{return n2(this)}}};i2(Un2,"NativeAnimation");var Ee=Un2;var er={anticipate:ki2,backInOut:Li2,circInOut:Fi};function xa(t3){return t3 in er}__name(xa,"xa");i2(xa,"isUnsupportedEase");function Pa(t3){if(typeof t3.ease==="string"&&xa(t3.ease)){t3.ease=er[t3.ease]}}__name(Pa,"Pa");i2(Pa,"replaceStringEasing");var Ss=10;var Kn2=class Kn3 extends Ee{static{__name(this,"Kn")}constructor(e6){Pa(e6);qi2(e6);super(e6);if(e6.startTime){this.startTime=e6.startTime}this.options=e6}updateMotionValue(e6){const{motionValue:n2,onUpdate:s,onComplete:r4,element:o7,...c5}=this.options;if(!n2)return;if(e6!==void 0){n2.set(e6);return}const a3=new Lt({...c5,autoplay:false});const l2=X3(this.finishedTime??this.time);n2.setWithVelocity(a3.sample(l2-Ss).value,a3.sample(l2).value,Ss);a3.stop()}};i2(Kn2,"NativeAnimationExtended");var Le3=Kn2;var ws=i2((t3,e6)=>{if(e6==="zIndex")return false;if(typeof t3==="number"||Array.isArray(t3))return true;if(typeof t3==="string"&&(J.test(t3)||t3==="0")&&!t3.startsWith("url(")){return true}return false},"isAnimatable");function ba(t3){const e6=t3[0];if(t3.length===1)return true;for(let n2=0;n2Object.hasOwnProperty.call(Element.prototype,"animate"));function Va(t3){const{motionValue:e6,name:n2,repeatDelay:s,repeatType:r4,damping:o7,type:c5}=t3;const a3=e6?.owner?.current;if(!(a3 instanceof HTMLElement)){return false}const{onUpdate:l2,transformTemplate:h}=e6.owner.getProps();return Aa()&&n2&&wa.has(n2)&&(n2!=="transform"||!h)&&!l2&&!s&&r4!=="mirror"&&o7!==0&&c5!=="inertia"}__name(Va,"Va");i2(Va,"supportsBrowserAnimation");var Ca=40;var Wn2=class Wn3 extends Et2{static{__name(this,"Wn")}constructor({autoplay:e6=true,delay:n2=0,type:s="keyframes",repeat:r4=0,repeatDelay:o7=0,repeatType:c5="loop",keyframes:a3,name:l2,motionValue:h,element:u5,...f3}){super();this.stop=()=>{if(this._animation){this._animation.stop();this.stopTimeline?.()}this.keyframeResolver?.cancel()};this.createdAt=O2.now();const d2={autoplay:e6,delay:n2,type:s,repeat:r4,repeatDelay:o7,repeatType:c5,name:l2,motionValue:h,element:u5,...f3};const m2=u5?.KeyframeResolver||kt;this.keyframeResolver=new m2(a3,(p3,v2,T3)=>this.onKeyframesResolved(p3,v2,d2,!T3),l2,h,u5);this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e6,n2,s,r4){this.keyframeResolver=void 0;const{name:o7,type:c5,velocity:a3,delay:l2,isHandoff:h,onUpdate:u5}=s;this.resolvedAt=O2.now();if(!Sa(e6,o7,c5,a3)){if(_.instantAnimations||!l2){u5?.(bn2(e6,s,n2))}e6[0]=e6[e6.length-1];ke4(s);s.repeat=0}const f3=r4?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>Ca?this.resolvedAt:this.createdAt:void 0;const d2={startTime:f3,finalKeyframe:n2,...s,keyframes:e6};const m2=!h&&Va(d2)?new Le3({...d2,element:d2.motionValue.owner.current}):new Lt(d2);m2.finished.then(()=>this.notifyFinished()).catch(H);if(this.pendingTimeline){this.stopTimeline=m2.attachTimeline(this.pendingTimeline);this.pendingTimeline=void 0}this._animation=m2}get finished(){if(!this._animation){return this._finished}else{return this.animation.finished}}then(e6,n2){return this.finished.finally(e6).then(()=>{})}get animation(){if(!this._animation){this.keyframeResolver?.resume();fa()}return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e6){this.animation.time=e6}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e6){this.animation.speed=e6}get startTime(){return this.animation.startTime}attachTimeline(e6){if(this._animation){this.stopTimeline=this.animation.attachTimeline(e6)}else{this.pendingTimeline=e6}return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation){this.animation.cancel()}this.keyframeResolver?.cancel()}};i2(Wn2,"AsyncMotionValueAnimation");var Be3=Wn2;var Da=/^var(--(?:([w-]+)|([w-]+), ?([a-zA-Zd ()%#.,-]+)))/u;function Ma(t3){const e6=Da.exec(t3);if(!e6)return[,];const[,n2,s,r4]=e6;return[`--${n2??s}`,r4]}__name(Ma,"Ma");i2(Ma,"parseCSSVariable");function nr(t3,e6,n2=1){const[s,r4]=Ma(t3);if(!s)return;const o7=window.getComputedStyle(e6).getPropertyValue(s);if(o7){const c5=o7.trim();return wi(c5)?parseFloat(c5):c5}return yn2(r4)?nr(r4,e6,n2+1):r4}__name(nr,"nr");i2(nr,"getVariableValue");function Sn2(t3,e6){return t3?.[e6]??t3?.["default"]??t3}__name(Sn2,"Sn");i2(Sn2,"getValueTransition");var sr=new Set(["width","height","top","left","right","bottom",...vt]);var Ra={test:i2(t3=>t3==="auto","test"),parse:i2(t3=>t3,"parse")};var ir=i2(t3=>e6=>e6.test(t3),"testValueType");var rr=[yt2,P,Y2,Z2,wo3,So3,Ra];var As=i2(t3=>rr.find(ir(t3)),"findDimensionValueType");function Ea(t3){if(typeof t3==="number"){return t3===0}else if(t3!==null){return t3==="none"||t3==="0"||Vi2(t3)}else{return true}}__name(Ea,"Ea");i2(Ea,"isNone");var La=new Set(["brightness","contrast","saturate","opacity"]);function ka(t3){const[e6,n2]=t3.slice(0,-1).split("(");if(e6==="drop-shadow")return t3;const[s]=n2.match(vn2)||[];if(!s)return t3;const r4=n2.replace(s,"");let o7=La.has(e6)?1:0;if(s!==n2)o7*=100;return e6+"("+o7+r4+")"}__name(ka,"ka");i2(ka,"applyDefaultFilter");var Ba=/b([a-z-]*)(.*?)/gu;var Fe={...J,getAnimatableNone:i2(t3=>{const e6=t3.match(Ba);return e6?e6.map(ka).join(" "):t3},"getAnimatableNone")};var Vs={...yt2,transform:Math.round};var Fa={rotate:Z2,rotateX:Z2,rotateY:Z2,rotateZ:Z2,scale:Wt2,scaleX:Wt2,scaleY:Wt2,scaleZ:Wt2,skew:Z2,skewX:Z2,skewY:Z2,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:Mt,originX:ds,originY:ds,originZ:P};var wn2={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,radius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,backgroundPositionX:P,backgroundPositionY:P,...Fa,zIndex:Vs,fillOpacity:Mt,strokeOpacity:Mt,numOctaves:Vs};var Ia={...wn2,color:E3,backgroundColor:E3,outlineColor:E3,fill:E3,stroke:E3,borderColor:E3,borderTopColor:E3,borderRightColor:E3,borderBottomColor:E3,borderLeftColor:E3,filter:Fe,WebkitFilter:Fe};var or=i2(t3=>Ia[t3],"getDefaultValueType");function ar(t3,e6){let n2=or(t3);if(n2!==Fe)n2=J;return n2.getAnimatableNone?n2.getAnimatableNone(e6):void 0}__name(ar,"ar");i2(ar,"getAnimatableNone");var ja=new Set(["auto","none","0"]);function Oa(t3,e6,n2){let s=0;let r4=void 0;while(s{e6.getValue(a3).set(l2)})}this.resolveNoneKeyframes()}};i2($n2,"DOMKeyframesResolver");var Ie2=$n2;function Na(t3,e6,n2){if(t3 instanceof EventTarget){return[t3]}else if(typeof t3==="string"){let s=document;const r4=n2?.[t3]??s.querySelectorAll(t3);return r4?Array.from(r4):[]}return Array.from(t3)}__name(Na,"Na");i2(Na,"resolveElements");var lr=i2((t3,e6)=>{return e6&&typeof t3==="number"?e6.transform(t3):t3},"getValueAsType");function Ua(t3){return Ai(t3)&&"offsetHeight"in t3}__name(Ua,"Ua");i2(Ua,"isHTMLElement");var Cs=30;var Ka=i2(t3=>{return!isNaN(parseFloat(t3))},"isFloat");var Hn2=class Hn3{static{__name(this,"Hn")}constructor(e6,n2={}){this.canTrackVelocity=null;this.events={};this.updateAndNotify=s=>{const r4=O2.now();if(this.updatedAt!==r4){this.setPrevFrameValue()}this.prev=this.current;this.setCurrent(s);if(this.current!==this.prev){this.events.change?.notify(this.current);if(this.dependents){for(const o7 of this.dependents){o7.dirty()}}}};this.hasAnimated=false;this.setCurrent(e6);this.owner=n2.owner}setCurrent(e6){this.current=e6;this.updatedAt=O2.now();if(this.canTrackVelocity===null&&e6!==void 0){this.canTrackVelocity=Ka(this.current)}}setPrevFrameValue(e6=this.current){this.prevFrameValue=e6;this.prevUpdatedAt=this.updatedAt}onChange(e6){return this.on("change",e6)}on(e6,n2){if(!this.events[e6]){this.events[e6]=new Dt2}const s=this.events[e6].add(n2);if(e6==="change"){return()=>{s();C.read(()=>{if(!this.events.change.getSize()){this.stop()}})}}return s}clearListeners(){for(const e6 in this.events){this.events[e6].clear()}}attach(e6,n2){this.passiveEffect=e6;this.stopPassiveEffect=n2}set(e6){if(!this.passiveEffect){this.updateAndNotify(e6)}else{this.passiveEffect(e6,this.updateAndNotify)}}setWithVelocity(e6,n2,s){this.set(n2);this.prev=void 0;this.prevFrameValue=e6;this.prevUpdatedAt=this.updatedAt-s}jump(e6,n2=true){this.updateAndNotify(e6);this.prev=e6;this.prevUpdatedAt=this.prevFrameValue=void 0;n2&&this.stop();if(this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e6){if(!this.dependents){this.dependents=new Set}this.dependents.add(e6)}removeDependent(e6){if(this.dependents){this.dependents.delete(e6)}}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e6=O2.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e6-this.updatedAt>Cs){return 0}const n2=Math.min(this.updatedAt-this.prevUpdatedAt,Cs);return Ci2(parseFloat(this.current)-parseFloat(this.prevFrameValue),n2)}start(e6){this.stop();return new Promise(n2=>{this.hasAnimated=true;this.animation=e6(n2);if(this.events.animationStart){this.events.animationStart.notify()}}).then(()=>{if(this.events.animationComplete){this.events.animationComplete.notify()}this.clearAnimation()})}stop(){if(this.animation){this.animation.stop();if(this.events.animationCancel){this.events.animationCancel.notify()}}this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear();this.events.destroy?.notify();this.clearListeners();this.stop();if(this.stopPassiveEffect){this.stopPassiveEffect()}}};i2(Hn2,"MotionValue");var je3=Hn2;function pt2(t3,e6){return new je3(t3,e6)}__name(pt2,"pt");i2(pt2,"motionValue");var{schedule:An2}=Oi(queueMicrotask,false);var z3={x:false,y:false};function cr(){return z3.x||z3.y}__name(cr,"cr");i2(cr,"isDragActive");function Wa(t3){if(t3==="x"||t3==="y"){if(z3[t3]){return null}else{z3[t3]=true;return()=>{z3[t3]=false}}}else{if(z3.x||z3.y){return null}else{z3.x=z3.y=true;return()=>{z3.x=z3.y=false}}}}__name(Wa,"Wa");i2(Wa,"setDragLock");function ur(t3,e6){const n2=Na(t3);const s=new AbortController;const r4={passive:true,...e6,signal:s.signal};const o7=i2(()=>s.abort(),"cancel");return[n2,r4,o7]}__name(ur,"ur");i2(ur,"setupGesture");function Ds(t3){return!(t3.pointerType==="touch"||cr())}__name(Ds,"Ds");i2(Ds,"isValidHover");function $a(t3,e6,n2={}){const[s,r4,o7]=ur(t3,n2);const c5=i2(a3=>{if(!Ds(a3))return;const{target:l2}=a3;const h=e6(l2,a3);if(typeof h!=="function"||!l2)return;const u5=i2(f3=>{if(!Ds(f3))return;h(f3);l2.removeEventListener("pointerleave",u5)},"onPointerLeave");l2.addEventListener("pointerleave",u5,r4)},"onPointerEnter");s.forEach(a3=>{a3.addEventListener("pointerenter",c5,r4)});return o7}__name($a,"$a");i2($a,"hover");var hr=i2((t3,e6)=>{if(!e6){return false}else if(t3===e6){return true}else{return hr(t3,e6.parentElement)}},"isNodeOrChild");var Vn2=i2(t3=>{if(t3.pointerType==="mouse"){return typeof t3.button!=="number"||t3.button<=0}else{return t3.isPrimary!==false}},"isPrimaryPointer");var Ha=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function za(t3){return Ha.has(t3.tagName)||t3.tabIndex!==-1}__name(za,"za");i2(za,"isElementKeyboardAccessible");var zt2=new WeakSet;function Ms(t3){return e6=>{if(e6.key!=="Enter")return;t3(e6)}}__name(Ms,"Ms");i2(Ms,"filterEvents");function ce3(t3,e6){t3.dispatchEvent(new PointerEvent("pointer"+e6,{isPrimary:true,bubbles:true}))}__name(ce3,"ce");i2(ce3,"firePointerEvent");var Xa=i2((t3,e6)=>{const n2=t3.currentTarget;if(!n2)return;const s=Ms(()=>{if(zt2.has(n2))return;ce3(n2,"down");const r4=Ms(()=>{ce3(n2,"up")});const o7=i2(()=>ce3(n2,"cancel"),"handleBlur");n2.addEventListener("keyup",r4,e6);n2.addEventListener("blur",o7,e6)});n2.addEventListener("keydown",s,e6);n2.addEventListener("blur",()=>n2.removeEventListener("keydown",s),e6)},"enableKeyboardPress");function Rs(t3){return Vn2(t3)&&!cr()}__name(Rs,"Rs");i2(Rs,"isValidPressEvent");function Ya(t3,e6,n2={}){const[s,r4,o7]=ur(t3,n2);const c5=i2(a3=>{const l2=a3.currentTarget;if(!Rs(a3))return;zt2.add(l2);const h=e6(l2,a3);const u5=i2((m2,p3)=>{window.removeEventListener("pointerup",f3);window.removeEventListener("pointercancel",d2);if(zt2.has(l2)){zt2.delete(l2)}if(!Rs(m2)){return}if(typeof h==="function"){h(m2,{success:p3})}},"onPointerEnd");const f3=i2(m2=>{u5(m2,l2===window||l2===document||n2.useGlobalTarget||hr(l2,m2.target))},"onPointerUp");const d2=i2(m2=>{u5(m2,false)},"onPointerCancel");window.addEventListener("pointerup",f3,r4);window.addEventListener("pointercancel",d2,r4)},"startPress");s.forEach(a3=>{const l2=n2.useGlobalTarget?window:a3;l2.addEventListener("pointerdown",c5,r4);if(Ua(a3)){a3.addEventListener("focus",h=>Xa(h,r4));if(!za(a3)&&!a3.hasAttribute("tabindex")){a3.tabIndex=0}}});return o7}__name(Ya,"Ya");i2(Ya,"press");function fr(t3){return Ai(t3)&&"ownerSVGElement"in t3}__name(fr,"fr");i2(fr,"isSVGElement");function Ga(t3){return fr(t3)&&t3.tagName==="svg"}__name(Ga,"Ga");i2(Ga,"isSVGSVGElement");var F2=i2(t3=>Boolean(t3&&t3.getVelocity),"isMotionValue");var qa=[...rr,E3,J];var _a=i2(t3=>qa.find(ir(t3)),"findValueType");var dr=z.createContext({transformPagePoint:i2(t3=>t3,"transformPagePoint"),isStatic:false,reducedMotion:"never"});function Za(t3=true){const e6=z.useContext(cn2);if(e6===null)return[true,null];const{isPresent:n2,onExitComplete:s,register:r4}=e6;const o7=z.useId();z.useEffect(()=>{if(t3){return r4(o7)}},[t3]);const c5=z.useCallback(()=>t3&&s&&s(o7),[o7,s,t3]);return!n2&&s?[false,c5]:[true]}__name(Za,"Za");i2(Za,"usePresence");var mr=z.createContext({strict:false});var Es={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};var gt2={};for(const t3 in Es){gt2[t3]={isEnabled:i2(e6=>Es[t3].some(n2=>!!e6[n2]),"isEnabled")}}function Qa(t3){for(const e6 in t3){gt2[e6]={...gt2[e6],...t3[e6]}}}__name(Qa,"Qa");i2(Qa,"loadFeatures");var Ja=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Zt3(t3){return t3.startsWith("while")||t3.startsWith("drag")&&t3!=="draggable"||t3.startsWith("layout")||t3.startsWith("onTap")||t3.startsWith("onPan")||t3.startsWith("onLayout")||Ja.has(t3)}__name(Zt3,"Zt");i2(Zt3,"isValidMotionProp");var pr=i2(t3=>!Zt3(t3),"shouldForward");function tl(t3){if(typeof t3!=="function")return;pr=i2(e6=>e6.startsWith("on")?!Zt3(e6):t3(e6),"shouldForward")}__name(tl,"tl");i2(tl,"loadExternalIsValidProp");try{tl(__require("@emotion/is-prop-valid").default)}catch{}function el(t3,e6,n2){const s={};for(const r4 in t3){if(r4==="values"&&typeof t3.values==="object")continue;if(pr(r4)||n2===true&&Zt3(r4)||!e6&&!Zt3(r4)||t3["draggable"]&&r4.startsWith("onDrag")){s[r4]=t3[r4]}}return s}__name(el,"el");i2(el,"filterProps");var ee3=z.createContext({});function ne2(t3){return t3!==null&&typeof t3==="object"&&typeof t3.start==="function"}__name(ne2,"ne");i2(ne2,"isAnimationControls");function Bt(t3){return typeof t3==="string"||Array.isArray(t3)}__name(Bt,"Bt");i2(Bt,"isVariantLabel");var Cn2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];var Dn2=["initial",...Cn2];function se3(t3){return ne2(t3.animate)||Dn2.some(e6=>Bt(t3[e6]))}__name(se3,"se");i2(se3,"isControllingVariants");function gr(t3){return Boolean(se3(t3)||t3.variants)}__name(gr,"gr");i2(gr,"isVariantNode");function nl(t3,e6){if(se3(t3)){const{initial:n2,animate:s}=t3;return{initial:n2===false||Bt(n2)?n2:void 0,animate:Bt(s)?s:void 0}}return t3.inherit!==false?e6:{}}__name(nl,"nl");i2(nl,"getCurrentTreeVariants");function sl2(t3){const{initial:e6,animate:n2}=nl(t3,z.useContext(ee3));return z.useMemo(()=>({initial:e6,animate:n2}),[Ls(e6),Ls(n2)])}__name(sl2,"sl");i2(sl2,"useCreateMotionContext");function Ls(t3){return Array.isArray(t3)?t3.join(" "):t3}__name(Ls,"Ls");i2(Ls,"variantLabelsAsDependency");var Ft={};function il(t3){for(const e6 in t3){Ft[e6]=t3[e6];if(gn2(e6)){Ft[e6].isCSSVariable=true}}}__name(il,"il");i2(il,"addScaleCorrector");function yr(t3,{layout:e6,layoutId:n2}){return Tt2.has(t3)||t3.startsWith("origin")||(e6||n2!==void 0)&&(!!Ft[t3]||t3==="opacity")}__name(yr,"yr");i2(yr,"isForcedMotionValue");var rl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};var ol=vt.length;function al(t3,e6,n2){let s="";let r4=true;for(let o7=0;o7({style:{},transform:{},transformOrigin:{},vars:{}}),"createHtmlRenderState");function vr(t3,e6,n2){for(const s in e6){if(!F2(e6[s])&&!yr(s,n2)){t3[s]=e6[s]}}}__name(vr,"vr");i2(vr,"copyRawValuesOnly");function ll({transformTemplate:t3},e6){return z.useMemo(()=>{const n2=Rn2();Mn2(n2,e6,t3);return Object.assign({},n2.vars,n2.style)},[e6])}__name(ll,"ll");i2(ll,"useInitialMotionValues");function cl(t3,e6){const n2=t3.style||{};const s={};vr(s,n2,t3);Object.assign(s,ll(t3,e6));return s}__name(cl,"cl");i2(cl,"useStyle");function ul(t3,e6){const n2={};const s=cl(t3,e6);if(t3.drag&&t3.dragListener!==false){n2.draggable=false;s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none";s.touchAction=t3.drag===true?"none":`pan-${t3.drag==="x"?"y":"x"}`}if(t3.tabIndex===void 0&&(t3.onTap||t3.onTapStart||t3.whileTap)){n2.tabIndex=0}n2.style=s;return n2}__name(ul,"ul");i2(ul,"useHTMLProps");var hl={offset:"stroke-dashoffset",array:"stroke-dasharray"};var fl2={offset:"strokeDashoffset",array:"strokeDasharray"};function dl2(t3,e6,n2=1,s=0,r4=true){t3.pathLength=1;const o7=r4?hl:fl2;t3[o7.offset]=P.transform(-s);const c5=P.transform(e6);const a3=P.transform(n2);t3[o7.array]=`${c5} ${a3}`}__name(dl2,"dl");i2(dl2,"buildSVGPath");function Tr(t3,{attrX:e6,attrY:n2,attrScale:s,pathLength:r4,pathSpacing:o7=1,pathOffset:c5=0,...a3},l2,h,u5){Mn2(t3,a3,h);if(l2){if(t3.style.viewBox){t3.attrs.viewBox=t3.style.viewBox}return}t3.attrs=t3.style;t3.style={};const{attrs:f3,style:d2}=t3;if(f3.transform){d2.transform=f3.transform;delete f3.transform}if(d2.transform||f3.transformOrigin){d2.transformOrigin=f3.transformOrigin??"50% 50%";delete f3.transformOrigin}if(d2.transform){d2.transformBox=u5?.transformBox??"fill-box";delete f3.transformBox}if(e6!==void 0)f3.x=e6;if(n2!==void 0)f3.y=n2;if(s!==void 0)f3.scale=s;if(r4!==void 0){dl2(f3,r4,o7,c5,false)}}__name(Tr,"Tr");i2(Tr,"buildSVGAttrs");var xr=i2(()=>({...Rn2(),attrs:{}}),"createSvgRenderState");var Pr=i2(t3=>typeof t3==="string"&&t3.toLowerCase()==="svg","isSVGTag");function ml2(t3,e6,n2,s){const r4=z.useMemo(()=>{const o7=xr();Tr(o7,e6,Pr(s),t3.transformTemplate,t3.style);return{...o7.attrs,style:{...o7.style}}},[e6]);if(t3.style){const o7={};vr(o7,t3.style,t3);r4.style={...o7,...r4.style}}return r4}__name(ml2,"ml");i2(ml2,"useSVGProps");var pl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function En2(t3){if(typeof t3!=="string"||t3.includes("-")){return false}else if(pl.indexOf(t3)>-1||/[A-Z]/u.test(t3)){return true}return false}__name(En2,"En");i2(En2,"isSVGComponent");function gl(t3,e6,n2,{latestValues:s},r4,o7=false){const c5=En2(t3)?ml2:ul;const a3=c5(e6,s,r4,t3);const l2=el(e6,typeof t3==="string",o7);const h=t3!==z.Fragment?{...l2,...a3,ref:n2}:{};const{children:u5}=e6;const f3=z.useMemo(()=>F2(u5)?u5.get():u5,[u5]);return z.createElement(t3,{...h,children:f3})}__name(gl,"gl");i2(gl,"useRender");function ks(t3){const e6=[{},{}];t3?.values.forEach((n2,s)=>{e6[0][s]=n2.get();e6[1][s]=n2.getVelocity()});return e6}__name(ks,"ks");i2(ks,"getValueState");function Ln2(t3,e6,n2,s){if(typeof e6==="function"){const[r4,o7]=ks(s);e6=e6(n2!==void 0?n2:t3.custom,r4,o7)}if(typeof e6==="string"){e6=t3.variants&&t3.variants[e6]}if(typeof e6==="function"){const[r4,o7]=ks(s);e6=e6(n2!==void 0?n2:t3.custom,r4,o7)}return e6}__name(Ln2,"Ln");i2(Ln2,"resolveVariantFromProps");function Xt2(t3){return F2(t3)?t3.get():t3}__name(Xt2,"Xt");i2(Xt2,"resolveMotionValue");function yl({scrapeMotionValuesFromProps:t3,createRenderState:e6},n2,s,r4){const o7={latestValues:vl(n2,s,r4,t3),renderState:e6()};return o7}__name(yl,"yl");i2(yl,"makeState");function vl(t3,e6,n2,s){const r4={};const o7=s(t3,{});for(const d2 in o7){r4[d2]=Xt2(o7[d2])}let{initial:c5,animate:a3}=t3;const l2=se3(t3);const h=gr(t3);if(e6&&h&&!l2&&t3.inherit!==false){if(c5===void 0)c5=e6.initial;if(a3===void 0)a3=e6.animate}let u5=n2?n2.initial===false:false;u5=u5||c5===false;const f3=u5?a3:c5;if(f3&&typeof f3!=="boolean"&&!ne2(f3)){const d2=Array.isArray(f3)?f3:[f3];for(let m2=0;m2(e6,n2)=>{const s=z.useContext(ee3);const r4=z.useContext(cn2);const o7=i2(()=>yl(t3,e6,s,r4),"make");return n2?o7():no2(o7)},"makeUseVisualState");function kn2(t3,e6,n2){const{style:s}=t3;const r4={};for(const o7 in s){if(F2(s[o7])||e6.style&&F2(e6.style[o7])||yr(o7,t3)||n2?.getValue(o7)?.liveStyle!==void 0){r4[o7]=s[o7]}}return r4}__name(kn2,"kn");i2(kn2,"scrapeMotionValuesFromProps$1");var Tl=br({scrapeMotionValuesFromProps:kn2,createRenderState:Rn2});function Sr(t3,e6,n2){const s=kn2(t3,e6,n2);for(const r4 in t3){if(F2(t3[r4])||F2(e6[r4])){const o7=vt.indexOf(r4)!==-1?"attr"+r4.charAt(0).toUpperCase()+r4.substring(1):r4;s[o7]=t3[r4]}}return s}__name(Sr,"Sr");i2(Sr,"scrapeMotionValuesFromProps");var xl=br({scrapeMotionValuesFromProps:Sr,createRenderState:xr});var Pl=Symbol.for("motionComponentSymbol");function ut3(t3){return t3&&typeof t3==="object"&&Object.prototype.hasOwnProperty.call(t3,"current")}__name(ut3,"ut");i2(ut3,"isRefObject");function bl(t3,e6,n2){return z.useCallback(s=>{if(s){t3.onMount&&t3.onMount(s)}if(e6){if(s){e6.mount(s)}else{e6.unmount()}}if(n2){if(typeof n2==="function"){n2(s)}else if(ut3(n2)){n2.current=s}}},[e6])}__name(bl,"bl");i2(bl,"useMotionRef");var Bn2=i2(t3=>t3.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),"camelToDash");var Sl="framerAppearId";var wr="data-"+Bn2(Sl);var Ar=z.createContext({});function wl(t3,e6,n2,s,r4){const{visualElement:o7}=z.useContext(ee3);const c5=z.useContext(mr);const a3=z.useContext(cn2);const l2=z.useContext(dr).reducedMotion;const h=z.useRef(null);s=s||c5.renderer;if(!h.current&&s){h.current=s(t3,{visualState:e6,parent:o7,props:n2,presenceContext:a3,blockInitialAnimation:a3?a3.initial===false:false,reducedMotionConfig:l2})}const u5=h.current;const f3=z.useContext(Ar);if(u5&&!u5.projection&&r4&&(u5.type==="html"||u5.type==="svg")){Al(h.current,n2,r4,f3)}const d2=z.useRef(false);z.useInsertionEffect(()=>{if(u5&&d2.current){u5.update(n2,a3)}});const m2=n2[wr];const p3=z.useRef(Boolean(m2)&&!window.MotionHandoffIsComplete?.(m2)&&window.MotionHasOptimisedAnimation?.(m2));so3(()=>{if(!u5)return;d2.current=true;window.MotionIsMounted=true;u5.updateFeatures();u5.scheduleRenderMicrotask();if(p3.current&&u5.animationState){u5.animationState.animateChanges()}});z.useEffect(()=>{if(!u5)return;if(!p3.current&&u5.animationState){u5.animationState.animateChanges()}if(p3.current){queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m2)});p3.current=false}u5.enteringChildren=void 0});return u5}__name(wl,"wl");i2(wl,"useVisualElement");function Al(t3,e6,n2,s){const{layoutId:r4,layout:o7,drag:c5,dragConstraints:a3,layoutScroll:l2,layoutRoot:h,layoutCrossfade:u5}=e6;t3.projection=new n2(t3.latestValues,e6["data-framer-portal-id"]?void 0:Vr(t3.parent));t3.projection.setOptions({layoutId:r4,layout:o7,alwaysMeasureLayout:Boolean(c5)||a3&&ut3(a3),visualElement:t3,animationType:typeof o7==="string"?o7:"both",initialPromotionConfig:s,crossfade:u5,layoutScroll:l2,layoutRoot:h})}__name(Al,"Al");i2(Al,"createProjectionNode$1");function Vr(t3){if(!t3)return void 0;return t3.options.allowProjection!==false?t3.projection:Vr(t3.parent)}__name(Vr,"Vr");i2(Vr,"getClosestProjectingNode");function ue3(t3,{forwardMotionProps:e6=false}={},n2,s){n2&&Qa(n2);const r4=En2(t3)?xl:Tl;function o7(a3,l2){let h;const u5={...z.useContext(dr),...a3,layoutId:Vl(a3)};const{isStatic:f3}=u5;const d2=sl2(a3);const m2=r4(a3,f3);if(!f3&&ln2){Cl();const p3=Dl(u5);h=p3.MeasureLayout;d2.visualElement=wl(t3,m2,u5,s,p3.ProjectionNode)}return Ht.jsxs(ee3.Provider,{value:d2,children:[h&&d2.visualElement?Ht.jsx(h,{visualElement:d2.visualElement,...u5}):null,gl(t3,a3,bl(m2,d2.visualElement,l2),m2,f3,e6)]})}__name(o7,"o");i2(o7,"MotionDOMComponent");o7.displayName=`motion.${typeof t3==="string"?t3:`create(${t3.displayName??t3.name??""})`}`;const c5=z.forwardRef(o7);c5[Pl]=t3;return c5}__name(ue3,"ue");i2(ue3,"createMotionComponent");function Vl({layoutId:t3}){const e6=z.useContext(Si).id;return e6&&t3!==void 0?e6+"-"+t3:t3}__name(Vl,"Vl");i2(Vl,"useLayoutId");function Cl(t3,e6){z.useContext(mr).strict}__name(Cl,"Cl");i2(Cl,"useStrictMode");function Dl(t3){const{drag:e6,layout:n2}=gt2;if(!e6&&!n2)return{};const s={...e6,...n2};return{MeasureLayout:e6?.isEnabled(t3)||n2?.isEnabled(t3)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}__name(Dl,"Dl");i2(Dl,"getProjectionFunctionality");function Ml(t3,e6){if(typeof Proxy==="undefined"){return ue3}const n2=new Map;const s=i2((o7,c5)=>{return ue3(o7,c5,t3,e6)},"factory");const r4=i2((o7,c5)=>{return s(o7,c5)},"deprecatedFactoryFunction");return new Proxy(r4,{get:i2((o7,c5)=>{if(c5==="create")return s;if(!n2.has(c5)){n2.set(c5,ue3(c5,void 0,t3,e6))}return n2.get(c5)},"get")})}__name(Ml,"Ml");i2(Ml,"createMotionProxy");function Cr({top:t3,left:e6,right:n2,bottom:s}){return{x:{min:e6,max:n2},y:{min:t3,max:s}}}__name(Cr,"Cr");i2(Cr,"convertBoundingBoxToBox");function Rl({x:t3,y:e6}){return{top:e6.min,right:t3.max,bottom:e6.max,left:t3.min}}__name(Rl,"Rl");i2(Rl,"convertBoxToBoundingBox");function El(t3,e6){if(!e6)return t3;const n2=e6({x:t3.left,y:t3.top});const s=e6({x:t3.right,y:t3.bottom});return{top:n2.y,left:n2.x,bottom:s.y,right:s.x}}__name(El,"El");i2(El,"transformBoxPoints");function he(t3){return t3===void 0||t3===1}__name(he,"he");i2(he,"isIdentityScale");function Oe2({scale:t3,scaleX:e6,scaleY:n2}){return!he(t3)||!he(e6)||!he(n2)}__name(Oe2,"Oe");i2(Oe2,"hasScale");function st3(t3){return Oe2(t3)||Dr(t3)||t3.z||t3.rotate||t3.rotateX||t3.rotateY||t3.skewX||t3.skewY}__name(st3,"st");i2(st3,"hasTransform");function Dr(t3){return Bs(t3.x)||Bs(t3.y)}__name(Dr,"Dr");i2(Dr,"has2DTranslate");function Bs(t3){return t3&&t3!=="0%"}__name(Bs,"Bs");i2(Bs,"is2DTranslate");function Qt2(t3,e6,n2){const s=t3-n2;const r4=e6*s;return n2+r4}__name(Qt2,"Qt");i2(Qt2,"scalePoint");function Fs(t3,e6,n2,s,r4){if(r4!==void 0){t3=Qt2(t3,r4,s)}return Qt2(t3,n2,s)+e6}__name(Fs,"Fs");i2(Fs,"applyPointDelta");function Ne3(t3,e6=0,n2=1,s,r4){t3.min=Fs(t3.min,e6,n2,s,r4);t3.max=Fs(t3.max,e6,n2,s,r4)}__name(Ne3,"Ne");i2(Ne3,"applyAxisDelta");function Mr(t3,{x:e6,y:n2}){Ne3(t3.x,e6.translate,e6.scale,e6.originPoint);Ne3(t3.y,n2.translate,n2.scale,n2.originPoint)}__name(Mr,"Mr");i2(Mr,"applyBoxDelta");var Is=.999999999999;var js=1.0000000000001;function Ll(t3,e6,n2,s=false){const r4=n2.length;if(!r4)return;e6.x=e6.y=1;let o7;let c5;for(let a3=0;a3Is){e6.x=1}if(e6.yIs){e6.y=1}}__name(Ll,"Ll");i2(Ll,"applyTreeDeltas");function ht(t3,e6){t3.min=t3.min+e6;t3.max=t3.max+e6}__name(ht,"ht");i2(ht,"translateAxis");function Os(t3,e6,n2,s,r4=.5){const o7=D(t3.min,t3.max,r4);Ne3(t3,e6,n2,o7,s)}__name(Os,"Os");i2(Os,"transformAxis");function ft2(t3,e6){Os(t3.x,e6.x,e6.scaleX,e6.scale,e6.originX);Os(t3.y,e6.y,e6.scaleY,e6.scale,e6.originY)}__name(ft2,"ft");i2(ft2,"transformBox");function Rr(t3,e6){return Cr(El(t3.getBoundingClientRect(),e6))}__name(Rr,"Rr");i2(Rr,"measureViewportBox");function kl(t3,e6,n2){const s=Rr(t3,n2);const{scroll:r4}=e6;if(r4){ht(s.x,r4.offset.x);ht(s.y,r4.offset.y)}return s}__name(kl,"kl");i2(kl,"measurePageBox");var Ns=i2(()=>({translate:0,scale:1,origin:0,originPoint:0}),"createAxisDelta");var dt4=i2(()=>({x:Ns(),y:Ns()}),"createDelta");var Us=i2(()=>({min:0,max:0}),"createAxis");var R2=i2(()=>({x:Us(),y:Us()}),"createBox");var Ue4={current:null};var Er={current:false};function Bl(){Er.current=true;if(!ln2)return;if(window.matchMedia){const t3=window.matchMedia("(prefers-reduced-motion)");const e6=i2(()=>Ue4.current=t3.matches,"setReducedMotionPreferences");t3.addEventListener("change",e6);e6()}else{Ue4.current=false}}__name(Bl,"Bl");i2(Bl,"initPrefersReducedMotion");var Fl=new WeakMap;function Il(t3,e6,n2){for(const s in e6){const r4=e6[s];const o7=n2[s];if(F2(r4)){t3.addValue(s,r4)}else if(F2(o7)){t3.addValue(s,pt2(r4,{owner:t3}))}else if(o7!==r4){if(t3.hasValue(s)){const c5=t3.getValue(s);if(c5.liveStyle===true){c5.jump(r4)}else if(!c5.hasAnimated){c5.set(r4)}}else{const c5=t3.getStaticValue(s);t3.addValue(s,pt2(c5!==void 0?c5:r4,{owner:t3}))}}}for(const s in n2){if(e6[s]===void 0)t3.removeValue(s)}return e6}__name(Il,"Il");i2(Il,"updateMotionValuesFromProps");var Ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];var zn2=class zn3{static{__name(this,"zn")}scrapeMotionValuesFromProps(e6,n2,s){return{}}constructor({parent:e6,props:n2,presenceContext:s,reducedMotionConfig:r4,blockInitialAnimation:o7,visualState:c5},a3={}){this.current=null;this.children=new Set;this.isVariantNode=false;this.isControllingVariants=false;this.shouldReduceMotion=null;this.values=new Map;this.KeyframeResolver=kt;this.features={};this.valueSubscriptions=new Map;this.prevMotionValues={};this.events={};this.propEventSubscriptions={};this.notifyUpdate=()=>this.notify("Update",this.latestValues);this.render=()=>{if(!this.current)return;this.triggerBuild();this.renderInstance(this.current,this.renderState,this.props.style,this.projection)};this.renderScheduledAt=0;this.scheduleRender=()=>{const d2=O2.now();if(this.renderScheduledAtthis.bindToMotionValue(s,n2));if(!Er.current){Bl()}this.shouldReduceMotion=this.reducedMotionConfig==="never"?false:this.reducedMotionConfig==="always"?true:Ue4.current;this.parent?.addChild(this);this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount();Q2(this.notifyUpdate);Q2(this.render);this.valueSubscriptions.forEach(e6=>e6());this.valueSubscriptions.clear();this.removeFromVariantTree&&this.removeFromVariantTree();this.parent?.removeChild(this);for(const e6 in this.events){this.events[e6].clear()}for(const e6 in this.features){const n2=this.features[e6];if(n2){n2.unmount();n2.isMounted=false}}this.current=null}addChild(e6){this.children.add(e6);this.enteringChildren??(this.enteringChildren=new Set);this.enteringChildren.add(e6)}removeChild(e6){this.children.delete(e6);this.enteringChildren&&this.enteringChildren.delete(e6)}bindToMotionValue(e6,n2){if(this.valueSubscriptions.has(e6)){this.valueSubscriptions.get(e6)()}const s=Tt2.has(e6);if(s&&this.onBindTransform){this.onBindTransform()}const r4=n2.on("change",c5=>{this.latestValues[e6]=c5;this.props.onUpdate&&C.preRender(this.notifyUpdate);if(s&&this.projection){this.projection.isTransformDirty=true}this.scheduleRender()});let o7;if(window.MotionCheckAppearSync){o7=window.MotionCheckAppearSync(this,e6,n2)}this.valueSubscriptions.set(e6,()=>{r4();if(o7)o7();if(n2.owner)n2.stop()})}sortNodePosition(e6){if(!this.current||!this.sortInstanceNodePosition||this.type!==e6.type){return 0}return this.sortInstanceNodePosition(this.current,e6.current)}updateFeatures(){let e6="animation";for(e6 in gt2){const n2=gt2[e6];if(!n2)continue;const{isEnabled:s,Feature:r4}=n2;if(!this.features[e6]&&r4&&s(this.props)){this.features[e6]=new r4(this)}if(this.features[e6]){const o7=this.features[e6];if(o7.isMounted){o7.update()}else{o7.mount();o7.isMounted=true}}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R2()}getStaticValue(e6){return this.latestValues[e6]}setStaticValue(e6,n2){this.latestValues[e6]=n2}update(e6,n2){if(e6.transformTemplate||this.props.transformTemplate){this.scheduleRender()}this.prevProps=this.props;this.props=e6;this.prevPresenceContext=this.presenceContext;this.presenceContext=n2;for(let s=0;sn2.variantChildren.delete(e6)}}addValue(e6,n2){const s=this.values.get(e6);if(n2!==s){if(s)this.removeValue(e6);this.bindToMotionValue(e6,n2);this.values.set(e6,n2);this.latestValues[e6]=n2.get()}}removeValue(e6){this.values.delete(e6);const n2=this.valueSubscriptions.get(e6);if(n2){n2();this.valueSubscriptions.delete(e6)}delete this.latestValues[e6];this.removeValueFromRenderState(e6,this.renderState)}hasValue(e6){return this.values.has(e6)}getValue(e6,n2){if(this.props.values&&this.props.values[e6]){return this.props.values[e6]}let s=this.values.get(e6);if(s===void 0&&n2!==void 0){s=pt2(n2===null?void 0:n2,{owner:this});this.addValue(e6,s)}return s}readValue(e6,n2){let s=this.latestValues[e6]!==void 0||!this.current?this.latestValues[e6]:this.getBaseTargetFromProps(this.props,e6)??this.readValueFromInstance(this.current,e6,this.options);if(s!==void 0&&s!==null){if(typeof s==="string"&&(wi(s)||Vi2(s))){s=parseFloat(s)}else if(!_a(s)&&J.test(n2)){s=ar(e6,n2)}this.setBaseTarget(e6,F2(s)?s.get():s)}return F2(s)?s.get():s}setBaseTarget(e6,n2){this.baseTarget[e6]=n2}getBaseTarget(e6){const{initial:n2}=this.props;let s;if(typeof n2==="string"||typeof n2==="object"){const o7=Ln2(this.props,n2,this.presenceContext?.custom);if(o7){s=o7[e6]}}if(n2&&s!==void 0){return s}const r4=this.getBaseTargetFromProps(this.props,e6);if(r4!==void 0&&!F2(r4))return r4;return this.initialValues[e6]!==void 0&&s===void 0?void 0:this.baseTarget[e6]}on(e6,n2){if(!this.events[e6]){this.events[e6]=new Dt2}return this.events[e6].add(n2)}notify(e6,...n2){if(this.events[e6]){this.events[e6].notify(...n2)}}scheduleRenderMicrotask(){An2.render(this.render)}};i2(zn2,"VisualElement");var Ke4=zn2;var Xn2=class Xn3 extends Ke4{static{__name(this,"Xn")}constructor(){super(...arguments);this.KeyframeResolver=Ie2}sortInstanceNodePosition(e6,n2){return e6.compareDocumentPosition(n2)&2?1:-1}getBaseTargetFromProps(e6,n2){return e6.style?e6.style[n2]:void 0}removeValueFromRenderState(e6,{vars:n2,style:s}){delete n2[e6];delete s[e6]}handleChildMotionValue(){if(this.childSubscription){this.childSubscription();delete this.childSubscription}const{children:e6}=this.props;if(F2(e6)){this.childSubscription=e6.on("change",n2=>{if(this.current){this.current.textContent=`${n2}`}})}}};i2(Xn2,"DOMVisualElement");var Jt2=Xn2;function Lr(t3,{style:e6,vars:n2},s,r4){const o7=t3.style;let c5;for(c5 in e6){o7[c5]=e6[c5]}r4?.applyProjectionStyles(o7,s);for(c5 in n2){o7.setProperty(c5,n2[c5])}}__name(Lr,"Lr");i2(Lr,"renderHTML");function jl2(t3){return window.getComputedStyle(t3)}__name(jl2,"jl");i2(jl2,"getComputedStyle$1");var Yn2=class Yn3 extends Jt2{static{__name(this,"Yn")}constructor(){super(...arguments);this.type="html";this.renderInstance=Lr}readValueFromInstance(e6,n2){if(Tt2.has(n2)){return this.projection?.isProjecting?Ve3(n2):aa2(e6,n2)}else{const s=jl2(e6);const r4=(gn2(n2)?s.getPropertyValue(n2):s[n2])||0;return typeof r4==="string"?r4.trim():r4}}measureInstanceViewportBox(e6,{transformPagePoint:n2}){return Rr(e6,n2)}build(e6,n2,s){Mn2(e6,n2,s.transformTemplate)}scrapeMotionValuesFromProps(e6,n2,s){return kn2(e6,n2,s)}};i2(Yn2,"HTMLVisualElement");var We3=Yn2;var kr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ol(t3,e6,n2,s){Lr(t3,e6,void 0,s);for(const r4 in e6.attrs){t3.setAttribute(!kr.has(r4)?Bn2(r4):r4,e6.attrs[r4])}}__name(Ol,"Ol");i2(Ol,"renderSVG");var Gn2=class Gn3 extends Jt2{static{__name(this,"Gn")}constructor(){super(...arguments);this.type="svg";this.isSVGTag=false;this.measureInstanceViewportBox=R2}getBaseTargetFromProps(e6,n2){return e6[n2]}readValueFromInstance(e6,n2){if(Tt2.has(n2)){const s=or(n2);return s?s.default||0:0}n2=!kr.has(n2)?Bn2(n2):n2;return e6.getAttribute(n2)}scrapeMotionValuesFromProps(e6,n2,s){return Sr(e6,n2,s)}build(e6,n2,s){Tr(e6,n2,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e6,n2,s,r4){Ol(e6,n2,s,r4)}mount(e6){this.isSVGTag=Pr(e6.tagName);super.mount(e6)}};i2(Gn2,"SVGVisualElement");var $e3=Gn2;var Nl=i2((t3,e6)=>{return En2(t3)?new $e3(e6):new We3(e6,{allowProjection:t3!==z.Fragment})},"createDomVisualElement");function mt2(t3,e6,n2){const s=t3.getProps();return Ln2(s,e6,n2!==void 0?n2:s.custom,t3)}__name(mt2,"mt");i2(mt2,"resolveVariant");var He3=i2(t3=>{return Array.isArray(t3)},"isKeyframesTarget");function Ul(t3,e6,n2){if(t3.hasValue(e6)){t3.getValue(e6).set(n2)}else{t3.addValue(e6,pt2(n2))}}__name(Ul,"Ul");i2(Ul,"setMotionValue");function Kl(t3){return He3(t3)?t3[t3.length-1]||0:t3}__name(Kl,"Kl");i2(Kl,"resolveFinalValueInKeyframes");function Wl(t3,e6){const n2=mt2(t3,e6);let{transitionEnd:s={},transition:r4={},...o7}=n2||{};o7={...o7,...s};for(const c5 in o7){const a3=Kl(o7[c5]);Ul(t3,c5,a3)}}__name(Wl,"Wl");i2(Wl,"setTarget");function $l(t3){return Boolean(F2(t3)&&t3.add)}__name($l,"$l");i2($l,"isWillChangeMotionValue");function ze3(t3,e6){const n2=t3.getValue("willChange");if($l(n2)){return n2.add(e6)}else if(!n2&&_.WillChange){const s=new _.WillChange("auto");t3.addValue("willChange",s);s.add(e6)}}__name(ze3,"ze");i2(ze3,"addValueToWillChange");function Br(t3){return t3.props[wr]}__name(Br,"Br");i2(Br,"getOptimisedAppearId");var Hl=i2(t3=>t3!==null,"isNotNull");function zl(t3,{repeat:e6,repeatType:n2="loop"},s){const r4=t3.filter(Hl);const o7=e6&&n2!=="loop"&&e6%2===1?0:r4.length-1;return r4[o7]}__name(zl,"zl");i2(zl,"getFinalKeyframe");var Xl2={type:"spring",stiffness:500,damping:25,restSpeed:10};var Yl2=i2(t3=>({type:"spring",stiffness:550,damping:t3===0?2*Math.sqrt(550):30,restSpeed:10}),"criticallyDampedSpring");var Gl2={type:"keyframes",duration:.8};var ql={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var _l=i2((t3,{keyframes:e6})=>{if(e6.length>2){return Gl2}else if(Tt2.has(t3)){return t3.startsWith("scale")?Yl2(e6[1]):Xl2}return ql},"getDefaultTransition");function Zl({when:t3,delay:e6,delayChildren:n2,staggerChildren:s,staggerDirection:r4,repeat:o7,repeatType:c5,repeatDelay:a3,from:l2,elapsed:h,...u5}){return!!Object.keys(u5).length}__name(Zl,"Zl");i2(Zl,"isTransitionDefined");var Fn3=i2((t3,e6,n2,s={},r4,o7)=>c5=>{const a3=Sn2(s,t3)||{};const l2=a3.delay||s.delay||0;let{elapsed:h=0}=s;h=h-X3(l2);const u5={keyframes:Array.isArray(n2)?n2:[null,n2],ease:"easeOut",velocity:e6.getVelocity(),...a3,delay:-h,onUpdate:i2(d2=>{e6.set(d2);a3.onUpdate&&a3.onUpdate(d2)},"onUpdate"),onComplete:i2(()=>{c5();a3.onComplete&&a3.onComplete()},"onComplete"),name:t3,motionValue:e6,element:o7?void 0:r4};if(!Zl(a3)){Object.assign(u5,_l(t3,u5))}u5.duration&&(u5.duration=X3(u5.duration));u5.repeatDelay&&(u5.repeatDelay=X3(u5.repeatDelay));if(u5.from!==void 0){u5.keyframes[0]=u5.from}let f3=false;if(u5.type===false||u5.duration===0&&!u5.repeatDelay){ke4(u5);if(u5.delay===0){f3=true}}if(_.instantAnimations||_.skipAnimations){f3=true;ke4(u5);u5.delay=0}u5.allowFlatten=!a3.type&&!a3.ease;if(f3&&!o7&&e6.get()!==void 0){const d2=zl(u5.keyframes,a3);if(d2!==void 0){C.update(()=>{u5.onUpdate(d2);u5.onComplete()});return}}return a3.isSync?new Lt(u5):new Be3(u5)},"animateMotionValue");function Ql({protectedKeys:t3,needsAnimating:e6},n2){const s=t3.hasOwnProperty(n2)&&e6[n2]!==true;e6[n2]=false;return s}__name(Ql,"Ql");i2(Ql,"shouldBlockAnimation");function Fr(t3,e6,{delay:n2=0,transitionOverride:s,type:r4}={}){let{transition:o7=t3.getDefaultTransition(),transitionEnd:c5,...a3}=e6;if(s)o7=s;const l2=[];const h=r4&&t3.animationState&&t3.animationState.getState()[r4];for(const u5 in a3){const f3=t3.getValue(u5,t3.latestValues[u5]??null);const d2=a3[u5];if(d2===void 0||h&&Ql(h,u5)){continue}const m2={delay:n2,...Sn2(o7||{},u5)};const p3=f3.get();if(p3!==void 0&&!f3.isAnimating&&!Array.isArray(d2)&&d2===p3&&!m2.velocity){continue}let v2=false;if(window.MotionHandoffAnimation){const g2=Br(t3);if(g2){const x2=window.MotionHandoffAnimation(g2,u5,C);if(x2!==null){m2.startTime=x2;v2=true}}}ze3(t3,u5);f3.start(Fn3(u5,f3,d2,t3.shouldReduceMotion&&sr.has(u5)?{type:false}:m2,t3,v2));const T3=f3.animation;if(T3){l2.push(T3)}}if(c5){Promise.all(l2).then(()=>{C.update(()=>{c5&&Wl(t3,c5)})})}return l2}__name(Fr,"Fr");i2(Fr,"animateTarget");function Ir(t3,e6,n2,s=0,r4=1){const o7=Array.from(t3).sort((h,u5)=>h.sortNodePosition(u5)).indexOf(e6);const c5=t3.size;const a3=(c5-1)*s;const l2=typeof n2==="function";return l2?n2(o7,c5):r4===1?o7*s:a3-o7*s}__name(Ir,"Ir");i2(Ir,"calcChildStagger");function Xe3(t3,e6,n2={}){const s=mt2(t3,e6,n2.type==="exit"?t3.presenceContext?.custom:void 0);let{transition:r4=t3.getDefaultTransition()||{}}=s||{};if(n2.transitionOverride){r4=n2.transitionOverride}const o7=s?()=>Promise.all(Fr(t3,s,n2)):()=>Promise.resolve();const c5=t3.variantChildren&&t3.variantChildren.size?(l2=0)=>{const{delayChildren:h=0,staggerChildren:u5,staggerDirection:f3}=r4;return Jl(t3,e6,l2,h,u5,f3,n2)}:()=>Promise.resolve();const{when:a3}=r4;if(a3){const[l2,h]=a3==="beforeChildren"?[o7,c5]:[c5,o7];return l2().then(()=>h())}else{return Promise.all([o7(),c5(n2.delay)])}}__name(Xe3,"Xe");i2(Xe3,"animateVariant");function Jl(t3,e6,n2=0,s=0,r4=0,o7=1,c5){const a3=[];for(const l2 of t3.variantChildren){l2.notify("AnimationStart",e6);a3.push(Xe3(l2,e6,{...c5,delay:n2+(typeof s==="function"?0:s)+Ir(t3.variantChildren,l2,s,r4,o7)}).then(()=>l2.notify("AnimationComplete",e6)))}return Promise.all(a3)}__name(Jl,"Jl");i2(Jl,"animateChildren");function tc(t3,e6,n2={}){t3.notify("AnimationStart",e6);let s;if(Array.isArray(e6)){const r4=e6.map(o7=>Xe3(t3,o7,n2));s=Promise.all(r4)}else if(typeof e6==="string"){s=Xe3(t3,e6,n2)}else{const r4=typeof e6==="function"?mt2(t3,e6,n2.custom):e6;s=Promise.all(Fr(t3,r4,n2))}return s.then(()=>{t3.notify("AnimationComplete",e6)})}__name(tc,"tc");i2(tc,"animateVisualElement");function jr(t3,e6){if(!Array.isArray(e6))return false;const n2=e6.length;if(n2!==t3.length)return false;for(let s=0;sPromise.all(e6.map(({animation:n2,options:s})=>tc(t3,n2,s)))}__name(ic,"ic");i2(ic,"animateList");function rc(t3){let e6=ic(t3);let n2=Ws();let s=true;const r4=i2(l2=>(h,u5)=>{const f3=mt2(t3,u5,l2==="exit"?t3.presenceContext?.custom:void 0);if(f3){const{transition:d2,transitionEnd:m2,...p3}=f3;h={...h,...p3,...m2}}return h},"buildResolvedTypeValues");function o7(l2){e6=l2(t3)}__name(o7,"o");i2(o7,"setAnimateFunction");function c5(l2){const{props:h}=t3;const u5=Or(t3.parent)||{};const f3=[];const d2=new Set;let m2={};let p3=Infinity;for(let T3=0;T3p3&&w;let j2=false;const N=Array.isArray(y2)?y2:[y2];let tt4=N.reduce(r4(g2),{});if(b===false)tt4={};const{prevResolvedValues:cs={}}=x2;const Qr={...cs,...tt4};const us=i2(k4=>{A=true;if(d2.has(k4)){j2=true;d2.delete(k4)}x2.needsAnimating[k4]=true;const U4=t3.getValue(k4);if(U4)U4.liveStyle=false},"markToAnimate");for(const k4 in Qr){const U4=tt4[k4];const et3=cs[k4];if(m2.hasOwnProperty(k4))continue;let lt3=false;if(He3(U4)&&He3(et3)){lt3=!jr(U4,et3)}else{lt3=U4!==et3}if(lt3){if(U4!==void 0&&U4!==null){us(k4)}else{d2.add(k4)}}else if(U4!==void 0&&d2.has(k4)){us(k4)}else{x2.protectedKeys[k4]=true}}x2.prevProp=y2;x2.prevResolvedValues=tt4;if(x2.isActive){m2={...m2,...tt4}}if(s&&t3.blockInitialAnimation){A=false}const hs=V&&L2;const Jr=!hs||j2;if(A&&Jr){f3.push(...N.map(k4=>{const U4={type:g2};if(typeof k4==="string"&&s&&!hs&&t3.manuallyAnimateOnMount&&t3.parent){const{parent:et3}=t3;const lt3=mt2(et3,k4);if(et3.enteringChildren&<3){const{delayChildren:to2}=lt3.transition||{};U4.delay=Ir(et3.enteringChildren,t3,to2)}}return{animation:k4,options:U4}}))}}if(d2.size){const T3={};if(typeof h.initial!=="boolean"){const g2=mt2(t3,Array.isArray(h.initial)?h.initial[0]:h.initial);if(g2&&g2.transition){T3.transition=g2.transition}}d2.forEach(g2=>{const x2=t3.getBaseTarget(g2);const y2=t3.getValue(g2);if(y2)y2.liveStyle=true;T3[g2]=x2??null});f3.push({animation:T3})}let v2=Boolean(f3.length);if(s&&(h.initial===false||h.initial===h.animate)&&!t3.manuallyAnimateOnMount){v2=false}s=false;return v2?e6(f3):Promise.resolve()}__name(c5,"c");i2(c5,"animateChanges");function a3(l2,h){if(n2[l2].isActive===h)return Promise.resolve();t3.variantChildren?.forEach(f3=>f3.animationState?.setActive(l2,h));n2[l2].isActive=h;const u5=c5(l2);for(const f3 in n2){n2[f3].protectedKeys={}}return u5}__name(a3,"a");i2(a3,"setActive");return{animateChanges:c5,setActive:a3,setAnimateFunction:o7,getState:i2(()=>n2,"getState"),reset:i2(()=>{n2=Ws()},"reset")}}__name(rc,"rc");i2(rc,"createAnimationState");function oc(t3,e6){if(typeof e6==="string"){return e6!==t3}else if(Array.isArray(e6)){return!jr(e6,t3)}return false}__name(oc,"oc");i2(oc,"checkVariantsDidChange");function nt3(t3=false){return{isActive:t3,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}__name(nt3,"nt");i2(nt3,"createTypeState");function Ws(){return{animate:nt3(true),whileInView:nt3(),whileHover:nt3(),whileTap:nt3(),whileDrag:nt3(),whileFocus:nt3(),exit:nt3()}}__name(Ws,"Ws");i2(Ws,"createState");var qn2=class qn3{static{__name(this,"qn")}constructor(e6){this.isMounted=false;this.node=e6}update(){}};i2(qn2,"Feature");var G2=qn2;var _n2=class _n3 extends G2{static{__name(this,"_n")}constructor(e6){super(e6);e6.animationState||(e6.animationState=rc(e6))}updateAnimationControlsSubscription(){const{animate:e6}=this.node.getProps();if(ne2(e6)){this.unmountControls=e6.subscribe(this.node)}}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e6}=this.node.getProps();const{animate:n2}=this.node.prevProps||{};if(e6!==n2){this.updateAnimationControlsSubscription()}}unmount(){this.node.animationState.reset();this.unmountControls?.()}};i2(_n2,"AnimationFeature");var Ye3=_n2;var ac=0;var Zn2=class Zn3 extends G2{static{__name(this,"Zn")}constructor(){super(...arguments);this.id=ac++}update(){if(!this.node.presenceContext)return;const{isPresent:e6,onExitComplete:n2}=this.node.presenceContext;const{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e6===s){return}const r4=this.node.animationState.setActive("exit",!e6);if(n2&&!e6){r4.then(()=>{n2(this.id)})}}mount(){const{register:e6,onExitComplete:n2}=this.node.presenceContext||{};if(n2){n2(this.id)}if(e6){this.unmount=e6(this.id)}}unmount(){}};i2(Zn2,"ExitAnimationFeature");var Ge3=Zn2;var lc={animation:{Feature:Ye3},exit:{Feature:Ge3}};function It2(t3,e6,n2,s={passive:true}){t3.addEventListener(e6,n2,s);return()=>t3.removeEventListener(e6,n2)}__name(It2,"It");i2(It2,"addDomEvent");function Ut(t3){return{point:{x:t3.pageX,y:t3.pageY}}}__name(Ut,"Ut");i2(Ut,"extractEventInfo");var cc=i2(t3=>{return e6=>Vn2(e6)&&t3(e6,Ut(e6))},"addPointerInfo");function wt2(t3,e6,n2,s){return It2(t3,e6,cc(n2),s)}__name(wt2,"wt");i2(wt2,"addPointerEvent");var Nr=1e-4;var uc=1-Nr;var hc=1+Nr;var Ur=.01;var fc=0-Ur;var dc=0+Ur;function I2(t3){return t3.max-t3.min}__name(I2,"I");i2(I2,"calcLength");function mc(t3,e6,n2){return Math.abs(t3-e6)<=n2}__name(mc,"mc");i2(mc,"isNear");function $s(t3,e6,n2,s=.5){t3.origin=s;t3.originPoint=D(e6.min,e6.max,t3.origin);t3.scale=I2(n2)/I2(e6);t3.translate=D(n2.min,n2.max,t3.origin)-t3.originPoint;if(t3.scale>=uc&&t3.scale<=hc||isNaN(t3.scale)){t3.scale=1}if(t3.translate>=fc&&t3.translate<=dc||isNaN(t3.translate)){t3.translate=0}}__name($s,"$s");i2($s,"calcAxisDelta");function At(t3,e6,n2,s){$s(t3.x,e6.x,n2.x,s?s.originX:void 0);$s(t3.y,e6.y,n2.y,s?s.originY:void 0)}__name(At,"At");i2(At,"calcBoxDelta");function Hs(t3,e6,n2){t3.min=n2.min+e6.min;t3.max=t3.min+I2(e6)}__name(Hs,"Hs");i2(Hs,"calcRelativeAxis");function pc(t3,e6,n2){Hs(t3.x,e6.x,n2.x);Hs(t3.y,e6.y,n2.y)}__name(pc,"pc");i2(pc,"calcRelativeBox");function zs(t3,e6,n2){t3.min=e6.min-n2.min;t3.max=t3.min+I2(e6)}__name(zs,"zs");i2(zs,"calcRelativeAxisPosition");function Vt2(t3,e6,n2){zs(t3.x,e6.x,n2.x);zs(t3.y,e6.y,n2.y)}__name(Vt2,"Vt");i2(Vt2,"calcRelativePosition");function W3(t3){return[t3("x"),t3("y")]}__name(W3,"W");i2(W3,"eachAxis");var Kr=i2(({current:t3})=>{return t3?t3.ownerDocument.defaultView:null},"getContextWindow");var Xs=i2((t3,e6)=>Math.abs(t3-e6),"distance");function gc(t3,e6){const n2=Xs(t3.x,e6.x);const s=Xs(t3.y,e6.y);return Math.sqrt(n2**2+s**2)}__name(gc,"gc");i2(gc,"distance2D");var Qn2=class Qn3{static{__name(this,"Qn")}constructor(e6,n2,{transformPagePoint:s,contextWindow:r4=window,dragSnapToOrigin:o7=false,distanceThreshold:c5=3}={}){this.startEvent=null;this.lastMoveEvent=null;this.lastMoveEventInfo=null;this.handlers={};this.contextWindow=window;this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d2=de3(this.lastMoveEventInfo,this.history);const m2=this.startEvent!==null;const p3=gc(d2.offset,{x:0,y:0})>=this.distanceThreshold;if(!m2&&!p3)return;const{point:v2}=d2;const{timestamp:T3}=B2;this.history.push({...v2,timestamp:T3});const{onStart:g2,onMove:x2}=this.handlers;if(!m2){g2&&g2(this.lastMoveEvent,d2);this.startEvent=this.lastMoveEvent}x2&&x2(this.lastMoveEvent,d2)};this.handlePointerMove=(d2,m2)=>{this.lastMoveEvent=d2;this.lastMoveEventInfo=fe2(m2,this.transformPagePoint);C.update(this.updatePoint,true)};this.handlePointerUp=(d2,m2)=>{this.end();const{onEnd:p3,onSessionEnd:v2,resumeAnimation:T3}=this.handlers;if(this.dragSnapToOrigin)T3&&T3();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g2=de3(d2.type==="pointercancel"?this.lastMoveEventInfo:fe2(m2,this.transformPagePoint),this.history);if(this.startEvent&&p3){p3(d2,g2)}v2&&v2(d2,g2)};if(!Vn2(e6))return;this.dragSnapToOrigin=o7;this.handlers=n2;this.transformPagePoint=s;this.distanceThreshold=c5;this.contextWindow=r4||window;const a3=Ut(e6);const l2=fe2(a3,this.transformPagePoint);const{point:h}=l2;const{timestamp:u5}=B2;this.history=[{...h,timestamp:u5}];const{onSessionStart:f3}=n2;f3&&f3(e6,de3(l2,this.history));this.removeListeners=jt(wt2(this.contextWindow,"pointermove",this.handlePointerMove),wt2(this.contextWindow,"pointerup",this.handlePointerUp),wt2(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e6){this.handlers=e6}end(){this.removeListeners&&this.removeListeners();Q2(this.updatePoint)}};i2(Qn2,"PanSession");var te2=Qn2;function fe2(t3,e6){return e6?{point:e6(t3.point)}:t3}__name(fe2,"fe");i2(fe2,"transformPoint");function Ys(t3,e6){return{x:t3.x-e6.x,y:t3.y-e6.y}}__name(Ys,"Ys");i2(Ys,"subtractPoint");function de3({point:t3},e6){return{point:t3,delta:Ys(t3,Wr(e6)),offset:Ys(t3,yc(e6)),velocity:vc(e6,.1)}}__name(de3,"de");i2(de3,"getPanInfo");function yc(t3){return t3[0]}__name(yc,"yc");i2(yc,"startDevicePoint");function Wr(t3){return t3[t3.length-1]}__name(Wr,"Wr");i2(Wr,"lastDevicePoint");function vc(t3,e6){if(t3.length<2){return{x:0,y:0}}let n2=t3.length-1;let s=null;const r4=Wr(t3);while(n2>=0){s=t3[n2];if(r4.timestamp-s.timestamp>X3(e6)){break}n2--}if(!s){return{x:0,y:0}}const o7=$2(r4.timestamp-s.timestamp);if(o7===0){return{x:0,y:0}}const c5={x:(r4.x-s.x)/o7,y:(r4.y-s.y)/o7};if(c5.x===Infinity){c5.x=0}if(c5.y===Infinity){c5.y=0}return c5}__name(vc,"vc");i2(vc,"getVelocity");function Tc(t3,{min:e6,max:n2},s){if(e6!==void 0&&t3n2){t3=s?D(n2,t3,s.max):Math.min(t3,n2)}return t3}__name(Tc,"Tc");i2(Tc,"applyConstraints");function Gs(t3,e6,n2){return{min:e6!==void 0?t3.min+e6:void 0,max:n2!==void 0?t3.max+n2-(t3.max-t3.min):void 0}}__name(Gs,"Gs");i2(Gs,"calcRelativeAxisConstraints");function xc(t3,{top:e6,left:n2,bottom:s,right:r4}){return{x:Gs(t3.x,n2,r4),y:Gs(t3.y,e6,s)}}__name(xc,"xc");i2(xc,"calcRelativeConstraints");function qs(t3,e6){let n2=e6.min-t3.min;let s=e6.max-t3.max;if(e6.max-e6.mins){n2=Ct2(e6.min,e6.max-s,t3.min)}else if(s>r4){n2=Ct2(t3.min,t3.max-r4,e6.min)}return q2(0,1,n2)}__name(bc,"bc");i2(bc,"calcOrigin");function Sc(t3,e6){const n2={};if(e6.min!==void 0){n2.min=e6.min-t3.min}if(e6.max!==void 0){n2.max=e6.max-t3.min}return n2}__name(Sc,"Sc");i2(Sc,"rebaseAxisConstraints");var qe3=.35;function wc(t3=qe3){if(t3===false){t3=0}else if(t3===true){t3=qe3}return{x:_s(t3,"left","right"),y:_s(t3,"top","bottom")}}__name(wc,"wc");i2(wc,"resolveDragElastic");function _s(t3,e6,n2){return{min:Zs(t3,e6),max:Zs(t3,n2)}}__name(_s,"_s");i2(_s,"resolveAxisElastic");function Zs(t3,e6){return typeof t3==="number"?t3:t3[e6]||0}__name(Zs,"Zs");i2(Zs,"resolvePointElastic");var Ac=new WeakMap;var Jn2=class Jn3{static{__name(this,"Jn")}constructor(e6){this.openDragLock=null;this.isDragging=false;this.currentDirection=null;this.originPoint={x:0,y:0};this.constraints=false;this.hasMutatedConstraints=false;this.elastic=R2();this.latestPointerEvent=null;this.latestPanInfo=null;this.visualElement=e6}start(e6,{snapToCursor:n2=false,distanceThreshold:s}={}){const{presenceContext:r4}=this.visualElement;if(r4&&r4.isPresent===false)return;const o7=i2(f3=>{const{dragSnapToOrigin:d2}=this.getProps();d2?this.pauseAnimation():this.stopAnimation();if(n2){this.snapToCursor(Ut(f3).point)}},"onSessionStart");const c5=i2((f3,d2)=>{const{drag:m2,dragPropagation:p3,onDragStart:v2}=this.getProps();if(m2&&!p3){if(this.openDragLock)this.openDragLock();this.openDragLock=Wa(m2);if(!this.openDragLock)return}this.latestPointerEvent=f3;this.latestPanInfo=d2;this.isDragging=true;this.currentDirection=null;this.resolveConstraints();if(this.visualElement.projection){this.visualElement.projection.isAnimationBlocked=true;this.visualElement.projection.target=void 0}W3(g2=>{let x2=this.getAxisMotionValue(g2).get()||0;if(Y2.test(x2)){const{projection:y2}=this.visualElement;if(y2&&y2.layout){const w=y2.layout.layoutBox[g2];if(w){const b=I2(w);x2=b*(parseFloat(x2)/100)}}}this.originPoint[g2]=x2});if(v2){C.postRender(()=>v2(f3,d2))}ze3(this.visualElement,"transform");const{animationState:T3}=this.visualElement;T3&&T3.setActive("whileDrag",true)},"onStart");const a3=i2((f3,d2)=>{this.latestPointerEvent=f3;this.latestPanInfo=d2;const{dragPropagation:m2,dragDirectionLock:p3,onDirectionLock:v2,onDrag:T3}=this.getProps();if(!m2&&!this.openDragLock)return;const{offset:g2}=d2;if(p3&&this.currentDirection===null){this.currentDirection=Vc(g2);if(this.currentDirection!==null){v2&&v2(this.currentDirection)}return}this.updateAxis("x",d2.point,g2);this.updateAxis("y",d2.point,g2);this.visualElement.render();T3&&T3(f3,d2)},"onMove");const l2=i2((f3,d2)=>{this.latestPointerEvent=f3;this.latestPanInfo=d2;this.stop(f3,d2);this.latestPointerEvent=null;this.latestPanInfo=null},"onSessionEnd");const h=i2(()=>W3(f3=>this.getAnimationState(f3)==="paused"&&this.getAxisMotionValue(f3).animation?.play()),"resumeAnimation");const{dragSnapToOrigin:u5}=this.getProps();this.panSession=new te2(e6,{onSessionStart:o7,onStart:c5,onMove:a3,onSessionEnd:l2,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u5,distanceThreshold:s,contextWindow:Kr(this.visualElement)})}stop(e6,n2){const s=e6||this.latestPointerEvent;const r4=n2||this.latestPanInfo;const o7=this.isDragging;this.cancel();if(!o7||!r4||!s)return;const{velocity:c5}=r4;this.startAnimation(c5);const{onDragEnd:a3}=this.getProps();if(a3){C.postRender(()=>a3(s,r4))}}cancel(){this.isDragging=false;const{projection:e6,animationState:n2}=this.visualElement;if(e6){e6.isAnimationBlocked=false}this.panSession&&this.panSession.end();this.panSession=void 0;const{dragPropagation:s}=this.getProps();if(!s&&this.openDragLock){this.openDragLock();this.openDragLock=null}n2&&n2.setActive("whileDrag",false)}updateAxis(e6,n2,s){const{drag:r4}=this.getProps();if(!s||!$t(e6,r4,this.currentDirection))return;const o7=this.getAxisMotionValue(e6);let c5=this.originPoint[e6]+s[e6];if(this.constraints&&this.constraints[e6]){c5=Tc(c5,this.constraints[e6],this.elastic[e6])}o7.set(c5)}resolveConstraints(){const{dragConstraints:e6,dragElastic:n2}=this.getProps();const s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(false):this.visualElement.projection?.layout;const r4=this.constraints;if(e6&&ut3(e6)){if(!this.constraints){this.constraints=this.resolveRefConstraints()}}else{if(e6&&s){this.constraints=xc(s.layoutBox,e6)}else{this.constraints=false}}this.elastic=wc(n2);if(r4!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints){W3(o7=>{if(this.constraints!==false&&this.getAxisMotionValue(o7)){this.constraints[o7]=Sc(s.layoutBox[o7],this.constraints[o7])}})}}resolveRefConstraints(){const{dragConstraints:e6,onMeasureDragConstraints:n2}=this.getProps();if(!e6||!ut3(e6))return false;const s=e6.current;const{projection:r4}=this.visualElement;if(!r4||!r4.layout)return false;const o7=kl(s,r4.root,this.visualElement.getTransformPagePoint());let c5=Pc(r4.layout.layoutBox,o7);if(n2){const a3=n2(Rl(c5));this.hasMutatedConstraints=!!a3;if(a3){c5=Cr(a3)}}return c5}startAnimation(e6){const{drag:n2,dragMomentum:s,dragElastic:r4,dragTransition:o7,dragSnapToOrigin:c5,onDragTransitionEnd:a3}=this.getProps();const l2=this.constraints||{};const h=W3(u5=>{if(!$t(u5,n2,this.currentDirection)){return}let f3=l2&&l2[u5]||{};if(c5)f3={min:0,max:0};const d2=r4?200:1e6;const m2=r4?40:1e7;const p3={type:"inertia",velocity:s?e6[u5]:0,bounceStiffness:d2,bounceDamping:m2,timeConstant:750,restDelta:1,restSpeed:10,...o7,...f3};return this.startAxisValueAnimation(u5,p3)});return Promise.all(h).then(a3)}startAxisValueAnimation(e6,n2){const s=this.getAxisMotionValue(e6);ze3(this.visualElement,e6);return s.start(Fn3(e6,s,0,n2,this.visualElement,false))}stopAnimation(){W3(e6=>this.getAxisMotionValue(e6).stop())}pauseAnimation(){W3(e6=>this.getAxisMotionValue(e6).animation?.pause())}getAnimationState(e6){return this.getAxisMotionValue(e6).animation?.state}getAxisMotionValue(e6){const n2=`_drag${e6.toUpperCase()}`;const s=this.visualElement.getProps();const r4=s[n2];return r4?r4:this.visualElement.getValue(e6,(s.initial?s.initial[e6]:void 0)||0)}snapToCursor(e6){W3(n2=>{const{drag:s}=this.getProps();if(!$t(n2,s,this.currentDirection))return;const{projection:r4}=this.visualElement;const o7=this.getAxisMotionValue(n2);if(r4&&r4.layout){const{min:c5,max:a3}=r4.layout.layoutBox[n2];o7.set(e6[n2]-D(c5,a3,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e6,dragConstraints:n2}=this.getProps();const{projection:s}=this.visualElement;if(!ut3(n2)||!s||!this.constraints)return;this.stopAnimation();const r4={x:0,y:0};W3(c5=>{const a3=this.getAxisMotionValue(c5);if(a3&&this.constraints!==false){const l2=a3.get();r4[c5]=bc({min:l2,max:l2},this.constraints[c5])}});const{transformTemplate:o7}=this.visualElement.getProps();this.visualElement.current.style.transform=o7?o7({},""):"none";s.root&&s.root.updateScroll();s.updateLayout();this.resolveConstraints();W3(c5=>{if(!$t(c5,e6,null))return;const a3=this.getAxisMotionValue(c5);const{min:l2,max:h}=this.constraints[c5];a3.set(D(l2,h,r4[c5]))})}addListeners(){if(!this.visualElement.current)return;Ac.set(this.visualElement,this);const e6=this.visualElement.current;const n2=wt2(e6,"pointerdown",l2=>{const{drag:h,dragListener:u5=true}=this.getProps();h&&u5&&this.start(l2)});const s=i2(()=>{const{dragConstraints:l2}=this.getProps();if(ut3(l2)&&l2.current){this.constraints=this.resolveRefConstraints()}},"measureDragConstraints");const{projection:r4}=this.visualElement;const o7=r4.addEventListener("measure",s);if(r4&&!r4.layout){r4.root&&r4.root.updateScroll();r4.updateLayout()}C.read(s);const c5=It2(window,"resize",()=>this.scalePositionWithinConstraints());const a3=r4.addEventListener("didUpdate",({delta:l2,hasLayoutChanged:h})=>{if(this.isDragging&&h){W3(u5=>{const f3=this.getAxisMotionValue(u5);if(!f3)return;this.originPoint[u5]+=l2[u5].translate;f3.set(f3.get()+l2[u5].translate)});this.visualElement.render()}});return()=>{c5();n2();o7();a3&&a3()}}getProps(){const e6=this.visualElement.getProps();const{drag:n2=false,dragDirectionLock:s=false,dragPropagation:r4=false,dragConstraints:o7=false,dragElastic:c5=qe3,dragMomentum:a3=true}=e6;return{...e6,drag:n2,dragDirectionLock:s,dragPropagation:r4,dragConstraints:o7,dragElastic:c5,dragMomentum:a3}}};i2(Jn2,"VisualElementDragControls");var _e2=Jn2;function $t(t3,e6,n2){return(e6===true||e6===t3)&&(n2===null||n2===t3)}__name($t,"$t");i2($t,"shouldDrag");function Vc(t3,e6=10){let n2=null;if(Math.abs(t3.y)>e6){n2="y"}else if(Math.abs(t3.x)>e6){n2="x"}return n2}__name(Vc,"Vc");i2(Vc,"getCurrentDirection");var ts=class ts2 extends G2{static{__name(this,"ts")}constructor(e6){super(e6);this.removeGroupControls=H;this.removeListeners=H;this.controls=new _e2(e6)}mount(){const{dragControls:e6}=this.node.getProps();if(e6){this.removeGroupControls=e6.subscribe(this.controls)}this.removeListeners=this.controls.addListeners()||H}unmount(){this.removeGroupControls();this.removeListeners()}};i2(ts,"DragGesture");var Ze4=ts;var Qs=i2(t3=>(e6,n2)=>{if(t3){C.postRender(()=>t3(e6,n2))}},"asyncHandler");var es=class es2 extends G2{static{__name(this,"es")}constructor(){super(...arguments);this.removePointerDownListener=H}onPointerDown(e6){this.session=new te2(e6,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kr(this.node)})}createPanHandlers(){const{onPanSessionStart:e6,onPanStart:n2,onPan:s,onPanEnd:r4}=this.node.getProps();return{onSessionStart:Qs(e6),onStart:Qs(n2),onMove:s,onEnd:i2((o7,c5)=>{delete this.session;if(r4){C.postRender(()=>r4(o7,c5))}},"onEnd")}}mount(){this.removePointerDownListener=wt2(this.node.current,"pointerdown",e6=>this.onPointerDown(e6))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener();this.session&&this.session.end()}};i2(es,"PanGesture");var Qe4=es;var Yt2={hasAnimatedSinceResize:true,hasEverUpdated:false};function Js(t3,e6){if(e6.max===e6.min)return 0;return t3/(e6.max-e6.min)*100}__name(Js,"Js");i2(Js,"pixelsToPercent");var xt2={correct:i2((t3,e6)=>{if(!e6.target)return t3;if(typeof t3==="string"){if(P.test(t3)){t3=parseFloat(t3)}else{return t3}}const n2=Js(t3,e6.target.x);const s=Js(t3,e6.target.y);return`${n2}% ${s}%`},"correct")};var Cc={correct:i2((t3,{treeScale:e6,projectionDelta:n2})=>{const s=t3;const r4=J.parse(t3);if(r4.length>5)return s;const o7=J.createTransformer(t3);const c5=typeof r4[0]!=="number"?1:0;const a3=n2.x.scale*e6.x;const l2=n2.y.scale*e6.y;r4[0+c5]/=a3;r4[1+c5]/=l2;const h=D(a3,l2,.5);if(typeof r4[2+c5]==="number")r4[2+c5]/=h;if(typeof r4[3+c5]==="number")r4[3+c5]/=h;return o7(r4)},"correct")};var me2=false;var ns=class ns2 extends z.Component{static{__name(this,"ns")}componentDidMount(){const{visualElement:e6,layoutGroup:n2,switchLayoutGroup:s,layoutId:r4}=this.props;const{projection:o7}=e6;il(Dc);if(o7){if(n2.group)n2.group.add(o7);if(s&&s.register&&r4){s.register(o7)}if(me2){o7.root.didUpdate()}o7.addEventListener("animationComplete",()=>{this.safeToRemove()});o7.setOptions({...o7.options,onExitComplete:i2(()=>this.safeToRemove(),"onExitComplete")})}Yt2.hasEverUpdated=true}getSnapshotBeforeUpdate(e6){const{layoutDependency:n2,visualElement:s,drag:r4,isPresent:o7}=this.props;const{projection:c5}=s;if(!c5)return null;c5.isPresent=o7;me2=true;if(r4||e6.layoutDependency!==n2||n2===void 0||e6.isPresent!==o7){c5.willUpdate()}else{this.safeToRemove()}if(e6.isPresent!==o7){if(o7){c5.promote()}else if(!c5.relegate()){C.postRender(()=>{const a3=c5.getStack();if(!a3||!a3.members.length){this.safeToRemove()}})}}return null}componentDidUpdate(){const{projection:e6}=this.props.visualElement;if(e6){e6.root.didUpdate();An2.postRender(()=>{if(!e6.currentAnimation&&e6.isLead()){this.safeToRemove()}})}}componentWillUnmount(){const{visualElement:e6,layoutGroup:n2,switchLayoutGroup:s}=this.props;const{projection:r4}=e6;me2=true;if(r4){r4.scheduleCheckAfterUnmount();if(n2&&n2.group)n2.group.remove(r4);if(s&&s.deregister)s.deregister(r4)}}safeToRemove(){const{safeToRemove:e6}=this.props;e6&&e6()}render(){return null}};i2(ns,"MeasureLayoutWithContext");var Je4=ns;function $r(t3){const[e6,n2]=Za();const s=z.useContext(Si);return Ht.jsx(Je4,{...t3,layoutGroup:s,switchLayoutGroup:z.useContext(Ar),isPresent:e6,safeToRemove:n2})}__name($r,"$r");i2($r,"MeasureLayout");var Dc={borderRadius:{...xt2,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xt2,borderTopRightRadius:xt2,borderBottomLeftRadius:xt2,borderBottomRightRadius:xt2,boxShadow:Cc};function Mc(t3,e6,n2){const s=F2(t3)?t3:pt2(t3);s.start(Fn3("",s,e6,n2));return s.animation}__name(Mc,"Mc");i2(Mc,"animateSingleValue");var Rc=i2((t3,e6)=>t3.depth-e6.depth,"compareByDepth");var ss=class ss2{static{__name(this,"ss")}constructor(){this.children=[];this.isDirty=false}add(e6){un2(this.children,e6);this.isDirty=true}remove(e6){hn2(this.children,e6);this.isDirty=true}forEach(e6){this.isDirty&&this.children.sort(Rc);this.isDirty=false;this.children.forEach(e6)}};i2(ss,"FlatTree");var tn2=ss;function Ec(t3,e6){const n2=O2.now();const s=i2(({timestamp:r4})=>{const o7=r4-n2;if(o7>=e6){Q2(s);t3(o7-e6)}},"checkElapsed");C.setup(s,true);return()=>Q2(s)}__name(Ec,"Ec");i2(Ec,"delay");var Hr=["TopLeft","TopRight","BottomLeft","BottomRight"];var Lc=Hr.length;var ti=i2(t3=>typeof t3==="string"?parseFloat(t3):t3,"asNumber");var ei=i2(t3=>typeof t3==="number"||P.test(t3),"isPx");function kc(t3,e6,n2,s,r4,o7){if(r4){t3.opacity=D(0,n2.opacity??1,Bc(s));t3.opacityExit=D(e6.opacity??1,0,Fc(s))}else if(o7){t3.opacity=D(e6.opacity??1,n2.opacity??1,s)}for(let c5=0;c5{if(se6)return 1;return n2(Ct2(t3,e6,s))}}__name(zr,"zr");i2(zr,"compress");function si(t3,e6){t3.min=e6.min;t3.max=e6.max}__name(si,"si");i2(si,"copyAxisInto");function K2(t3,e6){si(t3.x,e6.x);si(t3.y,e6.y)}__name(K2,"K");i2(K2,"copyBoxInto");function ii(t3,e6){t3.translate=e6.translate;t3.scale=e6.scale;t3.originPoint=e6.originPoint;t3.origin=e6.origin}__name(ii,"ii");i2(ii,"copyAxisDeltaInto");function ri(t3,e6,n2,s,r4){t3-=e6;t3=Qt2(t3,1/n2,s);if(r4!==void 0){t3=Qt2(t3,1/r4,s)}return t3}__name(ri,"ri");i2(ri,"removePointDelta");function Ic(t3,e6=0,n2=1,s=.5,r4,o7=t3,c5=t3){if(Y2.test(e6)){e6=parseFloat(e6);const l2=D(c5.min,c5.max,e6/100);e6=l2-c5.min}if(typeof e6!=="number")return;let a3=D(o7.min,o7.max,s);if(t3===o7)a3-=e6;t3.min=ri(t3.min,e6,n2,a3,r4);t3.max=ri(t3.max,e6,n2,a3,r4)}__name(Ic,"Ic");i2(Ic,"removeAxisDelta");function oi(t3,e6,[n2,s,r4],o7,c5){Ic(t3,e6[n2],e6[s],e6[r4],e6.scale,o7,c5)}__name(oi,"oi");i2(oi,"removeAxisTransforms");var jc=["x","scaleX","originX"];var Oc=["y","scaleY","originY"];function ai(t3,e6,n2,s){oi(t3.x,e6,jc,n2?n2.x:void 0,s?s.x:void 0);oi(t3.y,e6,Oc,n2?n2.y:void 0,s?s.y:void 0)}__name(ai,"ai");i2(ai,"removeBoxTransforms");function li(t3){return t3.translate===0&&t3.scale===1}__name(li,"li");i2(li,"isAxisDeltaZero");function Xr(t3){return li(t3.x)&&li(t3.y)}__name(Xr,"Xr");i2(Xr,"isDeltaZero");function ci(t3,e6){return t3.min===e6.min&&t3.max===e6.max}__name(ci,"ci");i2(ci,"axisEquals");function Nc(t3,e6){return ci(t3.x,e6.x)&&ci(t3.y,e6.y)}__name(Nc,"Nc");i2(Nc,"boxEquals");function ui(t3,e6){return Math.round(t3.min)===Math.round(e6.min)&&Math.round(t3.max)===Math.round(e6.max)}__name(ui,"ui");i2(ui,"axisEqualsRounded");function Yr(t3,e6){return ui(t3.x,e6.x)&&ui(t3.y,e6.y)}__name(Yr,"Yr");i2(Yr,"boxEqualsRounded");function hi(t3){return I2(t3.x)/I2(t3.y)}__name(hi,"hi");i2(hi,"aspectRatio");function fi(t3,e6){return t3.translate===e6.translate&&t3.scale===e6.scale&&t3.originPoint===e6.originPoint}__name(fi,"fi");i2(fi,"axisDeltaEquals");var is=class is2{static{__name(this,"is")}constructor(){this.members=[]}add(e6){un2(this.members,e6);e6.scheduleRender()}remove(e6){hn2(this.members,e6);if(e6===this.prevLead){this.prevLead=void 0}if(e6===this.lead){const n2=this.members[this.members.length-1];if(n2){this.promote(n2)}}}relegate(e6){const n2=this.members.findIndex(r4=>e6===r4);if(n2===0)return false;let s;for(let r4=n2;r4>=0;r4--){const o7=this.members[r4];if(o7.isPresent!==false){s=o7;break}}if(s){this.promote(s);return true}else{return false}}promote(e6,n2){const s=this.lead;if(e6===s)return;this.prevLead=s;this.lead=e6;e6.show();if(s){s.instance&&s.scheduleRender();e6.scheduleRender();e6.resumeFrom=s;if(n2){e6.resumeFrom.preserveOpacity=true}if(s.snapshot){e6.snapshot=s.snapshot;e6.snapshot.latestValues=s.animationValues||s.latestValues}if(e6.root&&e6.root.isUpdating){e6.isLayoutDirty=true}const{crossfade:r4}=e6.options;if(r4===false){s.hide()}}}exitAnimationComplete(){this.members.forEach(e6=>{const{options:n2,resumingFrom:s}=e6;n2.onExitComplete&&n2.onExitComplete();if(s){s.options.onExitComplete&&s.options.onExitComplete()}})}scheduleRender(){this.members.forEach(e6=>{e6.instance&&e6.scheduleRender(false)})}removeLeadSnapshot(){if(this.lead&&this.lead.snapshot){this.lead.snapshot=void 0}}};i2(is,"NodeStack");var en2=is;function Uc(t3,e6,n2){let s="";const r4=t3.x.translate/e6.x;const o7=t3.y.translate/e6.y;const c5=n2?.z||0;if(r4||o7||c5){s=`translate3d(${r4}px, ${o7}px, ${c5}px) `}if(e6.x!==1||e6.y!==1){s+=`scale(${1/e6.x}, ${1/e6.y}) `}if(n2){const{transformPerspective:h,rotate:u5,rotateX:f3,rotateY:d2,skewX:m2,skewY:p3}=n2;if(h)s=`perspective(${h}px) ${s}`;if(u5)s+=`rotate(${u5}deg) `;if(f3)s+=`rotateX(${f3}deg) `;if(d2)s+=`rotateY(${d2}deg) `;if(m2)s+=`skewX(${m2}deg) `;if(p3)s+=`skewY(${p3}deg) `}const a3=t3.x.scale*e6.x;const l2=t3.y.scale*e6.y;if(a3!==1||l2!==1){s+=`scale(${a3}, ${l2})`}return s||"none"}__name(Uc,"Uc");i2(Uc,"buildProjectionTransform");var pe3=["","X","Y","Z"];var Kc=1e3;var Wc=0;function ge2(t3,e6,n2,s){const{latestValues:r4}=e6;if(r4[t3]){n2[t3]=r4[t3];e6.setStaticValue(t3,0);if(s){s[t3]=0}}}__name(ge2,"ge");i2(ge2,"resetDistortingTransform");function Gr(t3){t3.hasCheckedOptimisedAppear=true;if(t3.root===t3)return;const{visualElement:e6}=t3.options;if(!e6)return;const n2=Br(e6);if(window.MotionHasOptimisedAnimation(n2,"transform")){const{layout:r4,layoutId:o7}=t3.options;window.MotionCancelOptimisedAnimation(n2,"transform",C,!(r4||o7))}const{parent:s}=t3;if(s&&!s.hasCheckedOptimisedAppear){Gr(s)}}__name(Gr,"Gr");i2(Gr,"cancelTreeOptimisedTransformAnimations");function qr({attachResizeListener:t3,defaultParent:e6,measureScroll:n2,checkIsScrollRoot:s,resetTransform:r4}){var o7;return o7=class{static{__name(this,"o")}constructor(a3={},l2=e6?.()){this.id=Wc++;this.animationId=0;this.animationCommitId=0;this.children=new Set;this.options={};this.isTreeAnimating=false;this.isAnimationBlocked=false;this.isLayoutDirty=false;this.isProjectionDirty=false;this.isSharedProjectionDirty=false;this.isTransformDirty=false;this.updateManuallyBlocked=false;this.updateBlockedByResize=false;this.isUpdating=false;this.isSVG=false;this.needsReset=false;this.shouldResetTransform=false;this.hasCheckedOptimisedAppear=false;this.treeScale={x:1,y:1};this.eventHandlers=new Map;this.hasTreeAnimated=false;this.updateScheduled=false;this.scheduleUpdate=()=>this.update();this.projectionUpdateScheduled=false;this.checkUpdateFailed=()=>{if(this.isUpdating){this.isUpdating=false;this.clearAllSnapshots()}};this.updateProjection=()=>{this.projectionUpdateScheduled=false;this.nodes.forEach(zc);this.nodes.forEach(qc);this.nodes.forEach(_c);this.nodes.forEach(Xc)};this.resolvedRelativeTargetAt=0;this.hasProjected=false;this.isVisible=true;this.animationProgress=0;this.sharedNodes=new Map;this.latestValues=a3;this.root=l2?l2.root||l2:this;this.path=l2?[...l2.path,l2]:[];this.parent=l2;this.depth=l2?l2.depth+1:0;for(let h=0;hthis.root.updateBlockedByResize=false,"resizeUnblockUpdate");C.read(()=>{d2=window.innerWidth});t3(a3,()=>{const p3=window.innerWidth;if(p3===d2)return;d2=p3;this.root.updateBlockedByResize=true;f3&&f3();f3=Ec(m2,250);if(Yt2.hasAnimatedSinceResize){Yt2.hasAnimatedSinceResize=false;this.nodes.forEach(pi)}})}if(l2){this.root.registerSharedNode(l2,this)}if(this.options.animate!==false&&u5&&(l2||h)){this.addEventListener("didUpdate",({delta:f3,hasLayoutChanged:d2,hasRelativeLayoutChanged:m2,layout:p3})=>{if(this.isTreeAnimationBlocked()){this.target=void 0;this.relativeTarget=void 0;return}const v2=this.options.transition||u5.getDefaultTransition()||eu;const{onLayoutAnimationStart:T3,onLayoutAnimationComplete:g2}=u5.getProps();const x2=!this.targetLayout||!Yr(this.targetLayout,p3);const y2=!d2&&m2;if(this.options.layoutRoot||this.resumeFrom||y2||d2&&(x2||!this.currentAnimation)){if(this.resumeFrom){this.resumingFrom=this.resumeFrom;this.resumingFrom.resumingFrom=void 0}const w={...Sn2(v2,"layout"),onPlay:T3,onComplete:g2};if(u5.shouldReduceMotion||this.options.layoutRoot){w.delay=0;w.type=false}this.startAnimation(w);this.setAnimationOrigin(f3,y2)}else{if(!d2){pi(this)}if(this.isLead()&&this.options.onExitComplete){this.options.onExitComplete()}}this.targetLayout=p3})}}unmount(){this.options.layoutId&&this.willUpdate();this.root.nodes.remove(this);const a3=this.getStack();a3&&a3.remove(this);this.parent&&this.parent.children.delete(this);this.instance=void 0;this.eventHandlers.clear();Q2(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=true}unblockUpdate(){this.updateManuallyBlocked=false}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||false}startUpdate(){if(this.isUpdateBlocked())return;this.isUpdating=true;this.nodes&&this.nodes.forEach(Zc);this.animationId++}getTransformTemplate(){const{visualElement:a3}=this.options;return a3&&a3.getProps().transformTemplate}willUpdate(a3=true){this.root.hasTreeAnimated=true;if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear){Gr(this)}!this.root.isUpdating&&this.root.startUpdate();if(this.isLayoutDirty)return;this.isLayoutDirty=true;for(let f3=0;f3{if(this.isLayoutDirty){this.root.didUpdate()}else{this.root.checkUpdateFailed()}})}updateSnapshot(){if(this.snapshot||!this.instance)return;this.snapshot=this.measure();if(this.snapshot&&!I2(this.snapshot.measuredBox.x)&&!I2(this.snapshot.measuredBox.y)){this.snapshot=void 0}}updateLayout(){if(!this.instance)return;this.updateScroll();if(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty){return}if(this.resumeFrom&&!this.resumeFrom.instance){for(let h=0;h{const V=b/1e3;gi(d2.x,a3.x,V);gi(d2.y,a3.y,V);this.setTargetDelta(d2);if(this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){Vt2(m2,this.layout.layoutBox,this.relativeParent.layout.layoutBox);Jc(this.relativeTarget,this.relativeTargetOrigin,m2,V);if(w&&Nc(this.relativeTarget,w)){this.isProjectionDirty=false}if(!w)w=R2();K2(w,this.relativeTarget)}if(T3){this.animationValues=f3;kc(f3,u5,this.latestValues,V,y2,x2)}this.root.scheduleUpdateProjection();this.scheduleRender();this.animationProgress=V};this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a3){this.notifyListeners("animationStart");this.currentAnimation?.stop();this.resumingFrom?.currentAnimation?.stop();if(this.pendingAnimation){Q2(this.pendingAnimation);this.pendingAnimation=void 0}this.pendingAnimation=C.update(()=>{Yt2.hasAnimatedSinceResize=true;this.motionValue||(this.motionValue=pt2(0));this.currentAnimation=Mc(this.motionValue,[0,1e3],{...a3,velocity:0,isSync:true,onUpdate:i2(l2=>{this.mixTargetDelta(l2);a3.onUpdate&&a3.onUpdate(l2)},"onUpdate"),onStop:i2(()=>{},"onStop"),onComplete:i2(()=>{a3.onComplete&&a3.onComplete();this.completeAnimation()},"onComplete")});if(this.resumingFrom){this.resumingFrom.currentAnimation=this.currentAnimation}this.pendingAnimation=void 0})}completeAnimation(){if(this.resumingFrom){this.resumingFrom.currentAnimation=void 0;this.resumingFrom.preserveOpacity=void 0}const a3=this.getStack();a3&&a3.exitAnimationComplete();this.resumingFrom=this.currentAnimation=this.animationValues=void 0;this.notifyListeners("animationComplete")}finishAnimation(){if(this.currentAnimation){this.mixTargetDelta&&this.mixTargetDelta(Kc);this.currentAnimation.stop()}this.completeAnimation()}applyTransformsToTarget(){const a3=this.getLead();let{targetWithTransforms:l2,target:h,layout:u5,latestValues:f3}=a3;if(!l2||!h||!u5)return;if(this!==a3&&this.layout&&u5&&_r(this.options.animationType,this.layout.layoutBox,u5.layoutBox)){h=this.target||R2();const d2=I2(this.layout.layoutBox.x);h.x.min=a3.target.x.min;h.x.max=h.x.min+d2;const m2=I2(this.layout.layoutBox.y);h.y.min=a3.target.y.min;h.y.max=h.y.min+m2}K2(l2,h);ft2(l2,f3);At(this.projectionDeltaWithTransform,this.layoutCorrected,l2,f3)}registerSharedNode(a3,l2){if(!this.sharedNodes.has(a3)){this.sharedNodes.set(a3,new en2)}const h=this.sharedNodes.get(a3);h.add(l2);const u5=l2.options.initialPromotionConfig;l2.promote({transition:u5?u5.transition:void 0,preserveFollowOpacity:u5&&u5.shouldPreserveFollowOpacity?u5.shouldPreserveFollowOpacity(l2):void 0})}isLead(){const a3=this.getStack();return a3?a3.lead===this:true}getLead(){const{layoutId:a3}=this.options;return a3?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a3}=this.options;return a3?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a3}=this.options;if(a3)return this.root.sharedNodes.get(a3)}promote({needsReset:a3,transition:l2,preserveFollowOpacity:h}={}){const u5=this.getStack();if(u5)u5.promote(this,h);if(a3){this.projectionDelta=void 0;this.needsReset=true}if(l2)this.setOptions({transition:l2})}relegate(){const a3=this.getStack();if(a3){return a3.relegate(this)}else{return false}}resetSkewAndRotation(){const{visualElement:a3}=this.options;if(!a3)return;let l2=false;const{latestValues:h}=a3;if(h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY){l2=true}if(!l2)return;const u5={};if(h.z){ge2("z",a3,u5,this.animationValues)}for(let f3=0;f3a3.currentAnimation?.stop());this.root.nodes.forEach(di);this.root.sharedNodes.clear()}},i2(o7,"ProjectionNode"),o7}__name(qr,"qr");i2(qr,"createProjectionNode");function $c(t3){t3.updateLayout()}__name($c,"$c");i2($c,"updateLayout");function Hc(t3){const e6=t3.resumeFrom?.snapshot||t3.snapshot;if(t3.isLead()&&t3.layout&&e6&&t3.hasListeners("didUpdate")){const{layoutBox:n2,measuredBox:s}=t3.layout;const{animationType:r4}=t3.options;const o7=e6.source!==t3.layout.source;if(r4==="size"){W3(u5=>{const f3=o7?e6.measuredBox[u5]:e6.layoutBox[u5];const d2=I2(f3);f3.min=n2[u5].min;f3.max=f3.min+d2})}else if(_r(r4,e6.layoutBox,n2)){W3(u5=>{const f3=o7?e6.measuredBox[u5]:e6.layoutBox[u5];const d2=I2(n2[u5]);f3.max=f3.min+d2;if(t3.relativeTarget&&!t3.currentAnimation){t3.isProjectionDirty=true;t3.relativeTarget[u5].max=t3.relativeTarget[u5].min+d2}})}const c5=dt4();At(c5,n2,e6.layoutBox);const a3=dt4();if(o7){At(a3,t3.applyTransform(s,true),e6.measuredBox)}else{At(a3,n2,e6.layoutBox)}const l2=!Xr(c5);let h=false;if(!t3.resumeFrom){const u5=t3.getClosestProjectingParent();if(u5&&!u5.resumeFrom){const{snapshot:f3,layout:d2}=u5;if(f3&&d2){const m2=R2();Vt2(m2,e6.layoutBox,f3.layoutBox);const p3=R2();Vt2(p3,n2,d2.layoutBox);if(!Yr(m2,p3)){h=true}if(u5.options.layoutRoot){t3.relativeTarget=p3;t3.relativeTargetOrigin=m2;t3.relativeParent=u5}}}}t3.notifyListeners("didUpdate",{layout:n2,snapshot:e6,delta:a3,layoutDelta:c5,hasLayoutChanged:l2,hasRelativeLayoutChanged:h})}else if(t3.isLead()){const{onExitComplete:n2}=t3.options;n2&&n2()}t3.options.transition=void 0}__name(Hc,"Hc");i2(Hc,"notifyLayoutUpdate");function zc(t3){if(!t3.parent)return;if(!t3.isProjecting()){t3.isProjectionDirty=t3.parent.isProjectionDirty}t3.isSharedProjectionDirty||(t3.isSharedProjectionDirty=Boolean(t3.isProjectionDirty||t3.parent.isProjectionDirty||t3.parent.isSharedProjectionDirty));t3.isTransformDirty||(t3.isTransformDirty=t3.parent.isTransformDirty)}__name(zc,"zc");i2(zc,"propagateDirtyNodes");function Xc(t3){t3.isProjectionDirty=t3.isSharedProjectionDirty=t3.isTransformDirty=false}__name(Xc,"Xc");i2(Xc,"cleanDirtyNodes");function Yc(t3){t3.clearSnapshot()}__name(Yc,"Yc");i2(Yc,"clearSnapshot");function di(t3){t3.clearMeasurements()}__name(di,"di");i2(di,"clearMeasurements");function mi(t3){t3.isLayoutDirty=false}__name(mi,"mi");i2(mi,"clearIsLayoutDirty");function Gc(t3){const{visualElement:e6}=t3.options;if(e6&&e6.getProps().onBeforeLayoutMeasure){e6.notify("BeforeLayoutMeasure")}t3.resetTransform()}__name(Gc,"Gc");i2(Gc,"resetTransformStyle");function pi(t3){t3.finishAnimation();t3.targetDelta=t3.relativeTarget=t3.target=void 0;t3.isProjectionDirty=true}__name(pi,"pi");i2(pi,"finishAnimation");function qc(t3){t3.resolveTargetDelta()}__name(qc,"qc");i2(qc,"resolveTargetDelta");function _c(t3){t3.calcProjection()}__name(_c,"_c");i2(_c,"calcProjection");function Zc(t3){t3.resetSkewAndRotation()}__name(Zc,"Zc");i2(Zc,"resetSkewAndRotation");function Qc(t3){t3.removeLeadSnapshot()}__name(Qc,"Qc");i2(Qc,"removeLeadSnapshots");function gi(t3,e6,n2){t3.translate=D(e6.translate,0,n2);t3.scale=D(e6.scale,1,n2);t3.origin=e6.origin;t3.originPoint=e6.originPoint}__name(gi,"gi");i2(gi,"mixAxisDelta");function yi(t3,e6,n2,s){t3.min=D(e6.min,n2.min,s);t3.max=D(e6.max,n2.max,s)}__name(yi,"yi");i2(yi,"mixAxis");function Jc(t3,e6,n2,s){yi(t3.x,e6.x,n2.x,s);yi(t3.y,e6.y,n2.y,s)}__name(Jc,"Jc");i2(Jc,"mixBox");function tu(t3){return t3.animationValues&&t3.animationValues.opacityExit!==void 0}__name(tu,"tu");i2(tu,"hasOpacityCrossfade");var eu={duration:.45,ease:[.4,0,.1,1]};var vi=i2(t3=>typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t3),"userAgentContains");var Ti=vi("applewebkit/")&&!vi("chrome/")?Math.round:H;function xi(t3){t3.min=Ti(t3.min);t3.max=Ti(t3.max)}__name(xi,"xi");i2(xi,"roundAxis");function nu(t3){xi(t3.x);xi(t3.y)}__name(nu,"nu");i2(nu,"roundBox");function _r(t3,e6,n2){return t3==="position"||t3==="preserve-aspect"&&!mc(hi(e6),hi(n2),.2)}__name(_r,"_r");i2(_r,"shouldAnimatePositionOnly");function su2(t3){return t3!==t3.root&&t3.scroll?.wasRoot}__name(su2,"su");i2(su2,"checkNodeWasScrollRoot");var iu=qr({attachResizeListener:i2((t3,e6)=>It2(t3,"resize",e6),"attachResizeListener"),measureScroll:i2(()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),"measureScroll"),checkIsScrollRoot:i2(()=>true,"checkIsScrollRoot")});var ye3={current:void 0};var Zr=qr({measureScroll:i2(t3=>({x:t3.scrollLeft,y:t3.scrollTop}),"measureScroll"),defaultParent:i2(()=>{if(!ye3.current){const t3=new iu({});t3.mount(window);t3.setOptions({layoutScroll:true});ye3.current=t3}return ye3.current},"defaultParent"),resetTransform:i2((t3,e6)=>{t3.style.transform=e6!==void 0?e6:"none"},"resetTransform"),checkIsScrollRoot:i2(t3=>Boolean(window.getComputedStyle(t3).position==="fixed"),"checkIsScrollRoot")});var ru2={pan:{Feature:Qe4},drag:{Feature:Ze4,ProjectionNode:Zr,MeasureLayout:$r}};function Pi(t3,e6,n2){const{props:s}=t3;if(t3.animationState&&s.whileHover){t3.animationState.setActive("whileHover",n2==="Start")}const r4="onHover"+n2;const o7=s[r4];if(o7){C.postRender(()=>o7(e6,Ut(e6)))}}__name(Pi,"Pi");i2(Pi,"handleHoverEvent");var rs=class rs2 extends G2{static{__name(this,"rs")}mount(){const{current:e6}=this.node;if(!e6)return;this.unmount=$a(e6,(n2,s)=>{Pi(this.node,s,"Start");return r4=>Pi(this.node,r4,"End")})}unmount(){}};i2(rs,"HoverGesture");var nn2=rs;var os=class os2 extends G2{static{__name(this,"os")}constructor(){super(...arguments);this.isActive=false}onFocus(){let e6=false;try{e6=this.node.current.matches(":focus-visible")}catch(n2){e6=true}if(!e6||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",true);this.isActive=true}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",false);this.isActive=false}mount(){this.unmount=jt(It2(this.node.current,"focus",()=>this.onFocus()),It2(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i2(os,"FocusGesture");var sn3=os;function bi(t3,e6,n2){const{props:s}=t3;if(t3.current instanceof HTMLButtonElement&&t3.current.disabled){return}if(t3.animationState&&s.whileTap){t3.animationState.setActive("whileTap",n2==="Start")}const r4="onTap"+(n2==="End"?"":n2);const o7=s[r4];if(o7){C.postRender(()=>o7(e6,Ut(e6)))}}__name(bi,"bi");i2(bi,"handlePressEvent");var as=class as2 extends G2{static{__name(this,"as")}mount(){const{current:e6}=this.node;if(!e6)return;this.unmount=Ya(e6,(n2,s)=>{bi(this.node,s,"Start");return(r4,{success:o7})=>bi(this.node,r4,o7?"End":"Cancel")},{useGlobalTarget:this.node.props.globalTapTarget})}unmount(){}};i2(as,"PressGesture");var rn3=as;var on3=new WeakMap;var ve2=new WeakMap;var ou2=i2(t3=>{const e6=on3.get(t3.target);e6&&e6(t3)},"fireObserverCallback");var au=i2(t3=>{t3.forEach(ou2)},"fireAllObserverCallbacks");function lu({root:t3,...e6}){const n2=t3||document;if(!ve2.has(n2)){ve2.set(n2,{})}const s=ve2.get(n2);const r4=JSON.stringify(e6);if(!s[r4]){s[r4]=new IntersectionObserver(au,{root:t3,...e6})}return s[r4]}__name(lu,"lu");i2(lu,"initIntersectionObserver");function cu2(t3,e6,n2){const s=lu(e6);on3.set(t3,n2);s.observe(t3);return()=>{on3.delete(t3);s.unobserve(t3)}}__name(cu2,"cu");i2(cu2,"observeIntersection");var uu={some:0,all:1};var ls=class ls2 extends G2{static{__name(this,"ls")}constructor(){super(...arguments);this.hasEnteredView=false;this.isInView=false}startObserver(){this.unmount();const{viewport:e6={}}=this.node.getProps();const{root:n2,margin:s,amount:r4="some",once:o7}=e6;const c5={root:n2?n2.current:void 0,rootMargin:s,threshold:typeof r4==="number"?r4:uu[r4]};const a3=i2(l2=>{const{isIntersecting:h}=l2;if(this.isInView===h)return;this.isInView=h;if(o7&&!h&&this.hasEnteredView){return}else if(h){this.hasEnteredView=true}if(this.node.animationState){this.node.animationState.setActive("whileInView",h)}const{onViewportEnter:u5,onViewportLeave:f3}=this.node.getProps();const d2=h?u5:f3;d2&&d2(l2)},"onIntersectionUpdate");return cu2(this.node.current,c5,a3)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver==="undefined")return;const{props:e6,prevProps:n2}=this.node;const s=["amount","margin","root"].some(hu(e6,n2));if(s){this.startObserver()}}unmount(){}};i2(ls,"InViewFeature");var an2=ls;function hu({viewport:t3={}},{viewport:e6={}}={}){return n2=>t3[n2]!==e6[n2]}__name(hu,"hu");i2(hu,"hasViewportOptionChanged");var fu2={inView:{Feature:an2},tap:{Feature:rn3},focus:{Feature:sn3},hover:{Feature:nn2}};var du2={layout:{ProjectionNode:Zr,MeasureLayout:$r}};var mu={...lc,...fu2,...ru2,...du2};var yu=Ml(mu,Nl);var t=Object.defineProperty;var o=__name((e6,r4)=>t(e6,"name",{value:r4,configurable:true}),"o");function p(){!Er.current&&Bl();const[e6]=z.useState(Ue4.current);return e6}__name(p,"p");o(p,"useReducedMotion");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 o2=qv("shield-check",e);var e2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]];var r=qv("circle-check",e2);var r2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]];var c2=qv("arrow-right",r2);var i3=Object.defineProperty;var a=__name((r4,t3)=>i3(r4,"name",{value:t3,configurable:true}),"a");function n(r4){if(r4==null||r4===false)return false;if(Array.isArray(r4)){for(const t3 of r4){if(n(t3))return true}return false}if(typeof r4==="string"||typeof r4==="number")return false;if(z.isValidElement(r4)){if(typeof r4.type==="string"&&r4.type.toLowerCase()==="img"){return true}return n(r4.props?.children)}return false}__name(n,"n");a(n,"hasImg");function u4({className:r4,...t3}){const o7=n(t3.children);return Ht.jsx("div",{"data-slot":"card",className:nv("bg-card text-card-foreground flex flex-col gap-6 rounded-xl py-6",o7&&"pt-0",r4),...t3})}__name(u4,"u");a(u4,"Card");function f({className:r4,...t3}){return Ht.jsx("div",{"data-slot":"card-header",className:nv("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",r4),...t3})}__name(f,"f");a(f,"CardHeader");function m({className:r4,...t3}){return Ht.jsx("div",{"data-slot":"card-title",className:nv("leading-none font-semibold",r4),...t3})}__name(m,"m");a(m,"CardTitle");function p2({className:r4,...t3}){return Ht.jsx("div",{"data-slot":"card-description",className:nv("text-muted-foreground text-sm",r4),...t3})}__name(p2,"p");a(p2,"CardDescription");function x({className:r4,...t3}){return Ht.jsx("div",{"data-slot":"card-content",className:nv("px-6",r4),...t3})}__name(x,"x");a(x,"CardContent");function g({className:r4,...t3}){return Ht.jsx("div",{"data-slot":"card-footer",className:nv("flex items-center px-6 [.border-t]:pt-6",r4),...t3})}__name(g,"g");a(g,"CardFooter");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 c3=qv("layers",e3);var a2=[["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:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]];var o3=qv("shield-alert",a2);var t2=[["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",t2);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:"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",o4);var o5=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]];var r3=qv("clock",o5);var k3=Object.defineProperty;var o6=__name((t3,s)=>k3(t3,"name",{value:s,configurable:true}),"o");var I3=[{text:"Surface preparation & priming"},{text:"Reinforced membrane application"},{text:"Weather-resistant topcoat seal"}];function M4(){const t3=p();return Ht.jsxs("section",{id:"howitworkshero","data-nav":"light",className:"relative overflow-hidden bg-background py-16 sm:py-20 lg:py-28",children:[Ht.jsxs("div",{className:"pointer-events-none absolute inset-0 -z-10 overflow-hidden",children:[Ht.jsx("div",{className:"absolute -top-32 -right-32 size-96 rounded-full bg-primary/15 blur-3xl"}),Ht.jsx("div",{className:"absolute -bottom-32 -left-32 size-96 rounded-full bg-secondary/10 blur-3xl"}),Ht.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_80%_80%_at_50%_-20%,rgba(120,119,198,0.1),rgba(255,255,255,0))]"})]}),Ht.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:Ht.jsxs("div",{className:"grid grid-cols-1 items-center gap-12 lg:grid-cols-12 lg:gap-8",children:[Ht.jsxs(yu.div,{initial:t3?{opacity:1,y:0}:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"flex flex-col items-start lg:col-span-7",children:[Ht.jsxs(oS,{variant:"outline",className:"mb-4 gap-1.5 border-secondary/30 bg-secondary/10 px-3 py-1 text-xs font-semibold uppercase tracking-wider text-secondary",children:[Ht.jsx(o2,{className:"size-3.5 text-secondary"}),"Proven 3-Stage Protection"]}),Ht.jsx("h1",{className:"font-sans text-3xl font-extrabold tracking-tight text-foreground sm:text-4xl md:text-5xl lg:text-6xl",children:"How U-Proof waterproofing works"}),Ht.jsx("p",{className:"mt-5 max-w-2xl text-base text-muted-foreground sm:text-lg",children:"Follow our straightforward, multi-layer application system engineered to seal leaks, withstand extreme sun, and keep your building secure through all seasons."}),Ht.jsx("div",{className:"mt-8 flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:gap-6",children:I3.map((s,i4)=>Ht.jsxs("div",{"data-index":i4,className:"flex items-center gap-2 text-sm font-medium text-foreground",children:[Ht.jsx(r,{className:"size-4 shrink-0 text-secondary"}),Ht.jsx("span",{children:s.text})]},i4))}),Ht.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-4",children:[Ht.jsx(fS,{asChild:true,size:"lg",className:"bg-primary text-primary-foreground font-semibold shadow-sm hover:bg-primary/90",children:Ht.jsxs(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",children:["Explore Products",Ht.jsx(c2,{className:"size-4"})]})}),Ht.jsx(fS,{asChild:true,variant:"outline",size:"lg",className:"border-border text-foreground hover:bg-muted",children:Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",children:"Technical Guide"})})]})]}),Ht.jsx(yu.div,{initial:t3?{opacity:1,scale:1}:{opacity:0,scale:.96},animate:{opacity:1,scale:1},transition:{duration:.6,ease:"easeOut",delay:.1},className:"relative lg:col-span-5",children:Ht.jsx("div",{className:"relative mx-auto w-full max-w-md overflow-hidden rounded-2xl border border-border bg-card p-2 shadow-xl sm:max-w-lg lg:max-w-none",children:Ht.jsxs("div",{className:"relative aspect-4/3 w-full overflow-hidden rounded-xl bg-muted",children:[Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/waterproofing_process_hero.png","data-wvc-srcset":"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/waterproofing_process_hero.png-wvc-srcset","data-wvc-sizes":"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/waterproofing_process_hero.png-wvc-sizes",alt:"Application of U-Proof waterproofing system on roof surface",loading:"lazy",decoding:"async",className:"h-full w-full object-cover"}),Ht.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent"}),Ht.jsx("div",{className:"absolute right-4 bottom-4 left-4 rounded-lg bg-background/95 p-3 backdrop-blur-xs",children:Ht.jsxs("div",{className:"flex items-center justify-between",children:[Ht.jsxs("div",{children:[Ht.jsx("p",{className:"text-xs font-medium text-muted-foreground",children:"Formulated for SA Conditions"}),Ht.jsx("p",{className:"text-sm font-bold text-foreground",children:"High-UV & Thermal Shield"})]}),Ht.jsx("div",{className:"flex size-9 items-center justify-center rounded-md bg-primary text-primary-foreground font-bold text-xs",children:"100%"})]})})]})})})]})})]})}__name(M4,"M");o6(M4,"HowItWorks");var B3=[{stepNumber:"01",title:"Choose the right product",description:"Match the coating formulation to your surface type u2014 corrugated metal, concrete slab, tile, or flashing joints.",tip:"Need help? Check our surface selector guide."},{stepNumber:"02",title:"Prepare the surface",description:"Clean off dust, moss, and loose debris. Ensure surfaces are dry, sound, and free from oil or standing moisture.",tip:"Fill visible cracks larger than 2mm first."},{stepNumber:"03",title:"Apply the coating",description:"Stir thoroughly and apply evenly with a roller, brush, or airless sprayer in overlapping cross-directional coats.",tip:"Apply two coats for full weatherproofing depth."},{stepNumber:"04",title:"Let it cure & protect",description:"Allow 4 to 6 hours between coats and 24 hours for full cure. The membrane forms an elastic UV-shielded barrier.",tip:"Avoid applying if rain is expected within 4 hours."}];function F3(){const t3=p();const s={hidden:{},show:{transition:{staggerChildren:t3?0:.15}}};const i4={hidden:{opacity:0,y:t3?0:20},show:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsx("section",{id:"applicationprocess","data-nav":"light",className:"bg-background py-20 md:py-28 text-foreground",children:Ht.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[Ht.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[Ht.jsx(oS,{variant:"default",className:"mb-4 px-3 py-1 text-xs font-semibold uppercase tracking-wider bg-primary text-primary-foreground border-transparent",children:"Application guide"}),Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-sans font-bold tracking-tight text-foreground",children:"How to apply U-Proof coatings"}),Ht.jsx("p",{className:"mt-4 text-base sm:text-lg text-muted-foreground font-sans",children:"Follow four practical steps to seal your roof and surfaces against extreme South African weather."})]}),Ht.jsxs("div",{className:"relative",children:[Ht.jsx("div",{className:"hidden lg:block absolute top-10 left-12 right-12 h-0.5 bg-border -z-0"}),Ht.jsx(yu.div,{variants:s,initial:"hidden",whileInView:"show",viewport:{once:true,margin:"-50px"},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-6 relative z-10",children:B3.map((r4,a3)=>Ht.jsx(yu.div,{"data-index":a3,variants:i4,className:"flex flex-col h-full",children:Ht.jsxs(u4,{className:"h-full bg-card text-card-foreground border border-border shadow-sm flex flex-col justify-between hover:border-foreground/30 transition-[border-color,box-shadow] duration-200",children:[Ht.jsxs(f,{className:"pb-4",children:[Ht.jsxs("div",{className:"flex items-center justify-between mb-3",children:[Ht.jsx("span",{className:"inline-flex items-center justify-center size-10 rounded-full bg-primary text-primary-foreground font-bold text-sm shadow-xs",children:r4.stepNumber}),a3===0&&Ht.jsx(c3,{className:"size-5 text-secondary"}),a3===1&&Ht.jsx(o3,{className:"size-5 text-secondary"}),a3===2&&Ht.jsx(e4,{className:"size-5 text-secondary"}),a3===3&&Ht.jsx(d,{className:"size-5 text-secondary"})]}),Ht.jsx(m,{className:"text-xl font-sans font-semibold text-foreground tracking-tight",children:r4.title})]}),Ht.jsxs(x,{className:"space-y-4 flex-1 flex flex-col justify-between",children:[Ht.jsx("p",{className:"text-sm sm:text-base text-muted-foreground leading-relaxed",children:r4.description}),Ht.jsxs("div",{className:"pt-3 border-t border-border flex items-start gap-2 text-xs text-foreground font-medium",children:[Ht.jsx(r,{className:"size-3.5 text-secondary shrink-0 mt-0.5"}),Ht.jsx("span",{children:r4.tip})]})]})]})},r4.stepNumber))})]}),Ht.jsxs("div",{className:"mt-14 p-6 sm:p-8 rounded-xl bg-muted border border-border flex flex-col sm:flex-row items-center justify-between gap-6",children:[Ht.jsxs("div",{className:"text-center sm:text-left",children:[Ht.jsx("h3",{className:"text-lg font-sans font-semibold text-foreground",children:"Ready to waterproof your project?"}),Ht.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Explore our heavy-duty product range or contact our technical team for advice."})]}),Ht.jsx("div",{className:"flex flex-wrap items-center justify-center gap-3 shrink-0",children:Ht.jsx(fS,{asChild:true,variant:"default",size:"lg",children:Ht.jsxs(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",className:"inline-flex items-center gap-2",children:["Browse products",Ht.jsx(c2,{className:"size-4"})]})})})]})]})})}__name(F3,"F");o6(F3,"Process");var L=[{step:"01",title:"Surface preparation",description:"Clean dust, moss, and loose debris thoroughly. Ensure the substrate is completely dry and structurally sound before starting.",icon:e5},{step:"02",title:"Ideal weather window",description:"Apply in dry conditions between 10xB0C and 35xB0C. Avoid application if rain or heavy dew is expected within 4 hours.",icon:d},{step:"03",title:"Even coat layering",description:"Apply in two uniform cross-coats. Allow the initial base coat to become touch-dry before applying the final protective layer.",icon:c3},{step:"04",title:"Curing and inspection",description:"Allow 24 hours of full cure time before foot traffic or water exposure. Inspect seams and flashings for seamless coverage.",icon:r3}];function O3(){const t3=p();const s={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:t3?0:.1}}};const i4={hidden:{opacity:0,y:t3?0:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsx("section",{id:"applicationtipscta","data-nav":"light",className:"bg-background text-foreground py-16 md:py-24",children:Ht.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[Ht.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12 md:mb-16",children:[Ht.jsxs(oS,{variant:"outline",className:"mb-4 px-3 py-1 text-xs font-semibold uppercase tracking-wider border-primary/40 bg-accent text-accent-foreground",children:[Ht.jsx(o2,{className:"size-3.5 text-secondary"}),"Application Guide"]}),Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-default font-bold tracking-tight text-foreground",children:"Helpful application tips"}),Ht.jsx("p",{className:"mt-4 text-base sm:text-lg text-muted-foreground font-default",children:"Achieve professional-grade waterproofing results with proper preparation, timing, and coating techniques."})]}),Ht.jsx(yu.div,{variants:s,initial:"hidden",whileInView:"visible",viewport:{once:true,amount:.2},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mb-16",children:L.map((r4,a3)=>{const N=r4.icon;return Ht.jsx(yu.div,{"data-index":a3,variants:i4,className:"h-full",children:Ht.jsx(u4,{className:"h-full border border-border bg-card shadow-sm hover:border-primary/50 transition-[border-color,box-shadow] duration-200",children:Ht.jsxs(x,{className:"p-6 flex flex-col justify-between h-full",children:[Ht.jsxs("div",{children:[Ht.jsxs("div",{className:"flex items-center justify-between mb-4",children:[Ht.jsx("div",{className:"size-10 rounded-lg bg-secondary/10 flex items-center justify-center text-secondary",children:Ht.jsx(N,{className:"size-5"})}),Ht.jsx("span",{className:"text-xs font-mono font-bold text-muted-foreground",children:r4.step})]}),Ht.jsx("h3",{className:"text-lg font-default font-semibold text-card-foreground mb-2",children:r4.title}),Ht.jsx("p",{className:"text-sm font-default text-muted-foreground leading-relaxed",children:r4.description})]}),Ht.jsxs("div",{className:"mt-4 pt-4 border-t border-border/50 flex items-center gap-1.5 text-xs font-medium text-secondary",children:[Ht.jsx(r,{className:"size-3.5 text-primary"}),Ht.jsx("span",{children:"Best practice recommendation"})]})]})})},r4.step)})}),Ht.jsxs("div",{className:"relative rounded-2xl bg-secondary text-secondary-foreground overflow-hidden shadow-xl border border-secondary/40",children:[Ht.jsx("div",{className:"absolute inset-0 bg-radial from-primary/10 via-transparent to-transparent opacity-60 pointer-events-none"}),Ht.jsxs("div",{className:"relative px-6 py-12 sm:px-12 sm:py-16 md:py-20 max-w-4xl mx-auto text-center",children:[Ht.jsx(oS,{className:"bg-primary text-primary-foreground font-semibold px-3 py-1 mb-6 shadow-xs",children:"Built for South African conditions"}),Ht.jsx("h3",{className:"text-3xl sm:text-4xl md:text-5xl font-default font-bold tracking-tight text-white mb-6",children:"Ready to Protect Your Surfaces?"}),Ht.jsx("p",{className:"text-base sm:text-lg md:text-xl text-secondary-foreground/90 font-default max-w-2xl mx-auto mb-8 leading-relaxed",children:"Order high-performance waterproofing sealants and membranes engineered for roofs, gutters, and concrete structures."}),Ht.jsx("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:Ht.jsx(fS,{asChild:true,size:"lg",className:"w-full sm:w-auto bg-primary text-primary-foreground font-semibold hover:bg-primary/90 px-8 py-6 text-base rounded-md shadow-md transition-[background-color,transform]",children:Ht.jsxs(cS,{to:"#",className:"inline-flex items-center gap-2",children:[Ht.jsx("span",{children:"Shop Products Now"}),Ht.jsx(c2,{className:"size-4"})]})})})]})]})]})})}__name(O3,"O");o6(O3,"ApplicationTips");function f2(){return Ht.jsxs("div",{children:[Ht.jsx(Eo2,{}),Ht.jsx(M4,{}),Ht.jsx(F3,{}),Ht.jsx(O3,{}),Ht.jsx(Po,{})]})}__name(f2,"f");o6(f2,"HowItWorksPage");var l=null;function v(t3){const{router:s="memory",basename:i4,initialEntries:r4,...a3}=t3;if(s==="memory"){return Ht.jsx(uS,{initialEntries:r4??["/"],children:Ht.jsx(f2,{...a3})})}return Ht.jsx(iS,{basename:i4,children:Ht.jsx(f2,{...a3})})}__name(v,"v");o6(v,"App");function T2(t3,s={}){console.log("Rendering......");l=aS.createRoot(t3);l.render(Ht.jsx(v,{...s}))}__name(T2,"T");o6(T2,"mount");function U3(t3,s={}){console.log("Hydrating......");l=aS.hydrateRoot(t3,Ht.jsx(v,{...s}))}__name(U3,"U");o6(U3,"hydrate");function W4(){l?.unmount?.();l=null}__name(W4,"W");o6(W4,"unmount");if(typeof window!=="undefined")window.HowItWorksVC={mount:T2,hydrate:U3,unmount:W4};
Proven 3-Stage ProtectionFollow our straightforward, multi-layer application system engineered to seal leaks, withstand extreme sun, and keep your building secure through all seasons.
Surface preparation & priming Reinforced membrane application Weather-resistant topcoat seal
Formulated for SA Conditions
High-UV & Thermal Shield
100%
Application guide How to apply U-Proof coatings Follow four practical steps to seal your roof and surfaces against extreme South African weather.
Match the coating formulation to your surface type — corrugated metal, concrete slab, tile, or flashing joints.
Need help? Check our surface selector guide. Clean off dust, moss, and loose debris. Ensure surfaces are dry, sound, and free from oil or standing moisture.
Fill visible cracks larger than 2mm first. Stir thoroughly and apply evenly with a roller, brush, or airless sprayer in overlapping cross-directional coats.
Apply two coats for full weatherproofing depth. Allow 4 to 6 hours between coats and 24 hours for full cure. The membrane forms an elastic UV-shielded barrier.
Avoid applying if rain is expected within 4 hours. Ready to waterproof your project? Explore our heavy-duty product range or contact our technical team for advice.
Application GuideHelpful application tips Achieve professional-grade waterproofing results with proper preparation, timing, and coating techniques.
Surface preparation Clean dust, moss, and loose debris thoroughly. Ensure the substrate is completely dry and structurally sound before starting.
Best practice recommendation Ideal weather window Apply in dry conditions between 10°C and 35°C. Avoid application if rain or heavy dew is expected within 4 hours.
Best practice recommendation Even coat layering Apply in two uniform cross-coats. Allow the initial base coat to become touch-dry before applying the final protective layer.
Best practice recommendation Curing and inspection Allow 24 hours of full cure time before foot traffic or water exposure. Inspect seams and flashings for seamless coverage.
Best practice recommendation
Built for South African conditions Ready to Protect Your Surfaces? Order high-performance waterproofing sealants and membranes engineered for roofs, gutters, and concrete structures.