";t2=t2.removeChild(t2.firstChild);break;case"select":t2="string"===typeof n2.is?a4.createElement("select",{is:n2.is}):a4.createElement("select");n2.multiple?t2.multiple=true:n2.size&&(t2.size=n2.size);break;default:t2="string"===typeof n2.is?a4.createElement(l2,{is:n2.is}):a4.createElement(l2)}}t2[It3]=e7;t2[ae4]=n2;t:for(a4=e7.child;null!==a4;){if(5===a4.tag||6===a4.tag)t2.appendChild(a4.stateNode);else if(4!==a4.tag&&27!==a4.tag&&null!==a4.child){a4.child.return=a4;a4=a4.child;continue}if(a4===e7)break t;for(;null===a4.sibling;){if(null===a4.return||a4.return===e7)break t;a4=a4.return}a4.sibling.return=a4.return;a4=a4.sibling}e7.stateNode=t2;t:switch(Pt2(t2,l2,n2),l2){case"button":case"input":case"select":case"textarea":t2=!!n2.autoFocus;break t;case"img":t2=true;break t;default:t2=false}t2&&ul2(e7)}}Bt2(e7);e7.flags&=-16777217;return null;case 6:if(t2&&null!=e7.stateNode)t2.memoizedProps!==n2&&ul2(e7);else{if("string"!==typeof n2&&null===e7.stateNode)throw Error(o6(166));t2=ut4.current;if(Ta2(e7)){t2=e7.stateNode;l2=e7.memoizedProps;n2=null;a4=ne3;if(null!==a4)switch(a4.tag){case 27:case 5:n2=a4.memoizedProps}t2[It3]=e7;t2=t2.nodeValue===l2||null!==n2&&true===n2.suppressHydrationWarning||vm(t2.nodeValue,l2)?true:false;t2||Pl2(e7)}else t2=hi2(t2).createTextNode(n2),t2[It3]=e7,e7.stateNode=t2}Bt2(e7);return null;case 13:n2=e7.memoizedState;if(null===t2||null!==t2.memoizedState&&null!==t2.memoizedState.dehydrated){a4=Ta2(e7);if(null!==n2&&null!==n2.dehydrated){if(null===t2){if(!a4)throw Error(o6(318));a4=e7.memoizedState;a4=null!==a4?a4.dehydrated:null;if(!a4)throw Error(o6(317));a4[It3]=e7}else Oa2(),0===(e7.flags&128)&&(e7.memoizedState=null),e7.flags|=4;Bt2(e7);a4=false}else a4=ts3(),null!==t2&&null!==t2.memoizedState&&(t2.memoizedState.hydrationErrors=a4),a4=true;if(!a4){if(e7.flags&256)return nl2(e7),e7;nl2(e7);return null}}nl2(e7);if(0!==(e7.flags&128))return e7.lanes=l2,e7;l2=null!==n2;t2=null!==t2&&null!==t2.memoizedState;if(l2){n2=e7.child;a4=null;null!==n2.alternate&&null!==n2.alternate.memoizedState&&null!==n2.alternate.memoizedState.cachePool&&(a4=n2.alternate.memoizedState.cachePool.pool);var c4=null;null!==n2.memoizedState&&null!==n2.memoizedState.cachePool&&(c4=n2.memoizedState.cachePool.pool);c4!==a4&&(n2.flags|=2048)}l2!==t2&&l2&&(e7.child.flags|=8192);ei2(e7,e7.updateQueue);Bt2(e7);return null;case 4:return le4(),null===t2&&Xr2(e7.stateNode.containerInfo),Bt2(e7),null;case 10:return el2(e7.type),Bt2(e7),null;case 19:$4(Qt3);a4=e7.memoizedState;if(null===a4)return Bt2(e7),null;n2=0!==(e7.flags&128);c4=a4.rendering;if(null===c4)if(n2)Ga2(a4,false);else{if(0!==qt3||null!==t2&&0!==(t2.flags&128))for(t2=e7.child;null!==t2;){c4=$u(t2);if(null!==c4){e7.flags|=128;Ga2(a4,false);t2=c4.updateQueue;e7.updateQueue=t2;ei2(e7,t2);e7.subtreeFlags=0;t2=l2;for(l2=e7.child;null!==l2;)$f(l2,t2),l2=l2.sibling;K4(Qt3,Qt3.current&1|2);return e7.child}t2=t2.sibling}null!==a4.tail&&qe4()>ai2&&(e7.flags|=128,n2=true,Ga2(a4,false),e7.lanes=4194304)}else{if(!n2)if(t2=$u(c4),null!==t2){if(e7.flags|=128,n2=true,t2=t2.updateQueue,e7.updateQueue=t2,ei2(e7,t2),Ga2(a4,true),null===a4.tail&&"hidden"===a4.tailMode&&!c4.alternate&&!Tt3)return Bt2(e7),null}else 2*qe4()-a4.renderingStartTime>ai2&&536870912!==l2&&(e7.flags|=128,n2=true,Ga2(a4,false),e7.lanes=4194304);a4.isBackwards?(c4.sibling=e7.child,e7.child=c4):(t2=a4.last,null!==t2?t2.sibling=c4:e7.child=c4,a4.last=c4)}if(null!==a4.tail)return e7=a4.tail,a4.rendering=e7,a4.tail=e7.sibling,a4.renderingStartTime=qe4(),e7.sibling=null,t2=Qt3.current,K4(Qt3,n2?t2&1|2:t2&1),e7;Bt2(e7);return null;case 22:case 23:return nl2(e7),Qc2(),n2=null!==e7.memoizedState,null!==t2?null!==t2.memoizedState!==n2&&(e7.flags|=8192):n2&&(e7.flags|=8192),n2?0!==(l2&536870912)&&0===(e7.flags&128)&&(Bt2(e7),e7.subtreeFlags&6&&(e7.flags|=8192)):Bt2(e7),l2=e7.updateQueue,null!==l2&&ei2(e7,l2.retryQueue),l2=null,null!==t2&&null!==t2.memoizedState&&null!==t2.memoizedState.cachePool&&(l2=t2.memoizedState.cachePool.pool),n2=null,null!==e7.memoizedState&&null!==e7.memoizedState.cachePool&&(n2=e7.memoizedState.cachePool.pool),n2!==l2&&(e7.flags|=2048),null!==t2&&$4(en3),null;case 24:return l2=null,null!==t2&&(l2=t2.memoizedState.cache),e7.memoizedState.cache!==l2&&(e7.flags|=2048),el2(Vt3),Bt2(e7),null;case 25:return null;case 30:return null}throw Error(o6(156,e7.tag))}__name(ry,"ry");i(ry,"completeWork");function oy(t2,e7){_c2(e7);switch(e7.tag){case 1:return t2=e7.flags,t2&65536?(e7.flags=t2&-65537|128,e7):null;case 3:return el2(Vt3),le4(),t2=e7.flags,0!==(t2&65536)&&0===(t2&128)?(e7.flags=t2&-65537|128,e7):null;case 26:case 27:case 5:return Be4(e7),null;case 13:nl2(e7);t2=e7.memoizedState;if(null!==t2&&null!==t2.dehydrated){if(null===e7.alternate)throw Error(o6(340));Oa2()}t2=e7.flags;return t2&65536?(e7.flags=t2&-65537|128,e7):null;case 19:return $4(Qt3),null;case 4:return le4(),null;case 10:return el2(e7.type),null;case 22:case 23:return nl2(e7),Qc2(),null!==t2&&$4(en3),t2=e7.flags,t2&65536?(e7.flags=t2&-65537|128,e7):null;case 24:return el2(Vt3),null;case 25:return null;default:return null}}__name(oy,"oy");i(oy,"unwindWork");function Ad(t2,e7){_c2(e7);switch(e7.tag){case 3:el2(Vt3);le4();break;case 26:case 27:case 5:Be4(e7);break;case 4:le4();break;case 13:nl2(e7);break;case 19:$4(Qt3);break;case 10:el2(e7.type);break;case 22:case 23:nl2(e7);Qc2();null!==t2&&$4(en3);break;case 24:el2(Vt3)}}__name(Ad,"Ad");i(Ad,"unwindInterruptedWork");function Xa2(t2,e7){try{var l2=e7.updateQueue,n2=null!==l2?l2.lastEffect:null;if(null!==n2){var a4=n2.next;l2=a4;do{if((l2.tag&t2)===t2){n2=void 0;var c4=l2.create,s=l2.inst;n2=c4();s.destroy=n2}l2=l2.next}while(l2!==a4)}}catch(m2){Dt3(e7,e7.return,m2)}}__name(Xa2,"Xa");i(Xa2,"commitHookEffectListMount");function Ol2(t2,e7,l2){try{var n2=e7.updateQueue,a4=null!==n2?n2.lastEffect:null;if(null!==a4){var c4=a4.next;n2=c4;do{if((n2.tag&t2)===t2){var s=n2.inst,m2=s.destroy;if(void 0!==m2){s.destroy=void 0;a4=e7;var b=l2,M4=m2;try{M4()}catch(L){Dt3(a4,b,L)}}}n2=n2.next}while(n2!==c4)}}catch(L){Dt3(e7,e7.return,L)}}__name(Ol2,"Ol");i(Ol2,"commitHookEffectListUnmount");function Td(t2){var e7=t2.updateQueue;if(null!==e7){var l2=t2.stateNode;try{ss3(e7,l2)}catch(n2){Dt3(t2,t2.return,n2)}}}__name(Td,"Td");i(Td,"commitClassCallbacks");function Od(t2,e7,l2){l2.props=nn3(t2.type,t2.memoizedProps);l2.state=t2.memoizedState;try{l2.componentWillUnmount()}catch(n2){Dt3(t2,e7,n2)}}__name(Od,"Od");i(Od,"safelyCallComponentWillUnmount");function Va2(t2,e7){try{var l2=t2.ref;if(null!==l2){switch(t2.tag){case 26:case 27:case 5:var n2=t2.stateNode;break;case 30:n2=t2.stateNode;break;default:n2=t2.stateNode}"function"===typeof l2?t2.refCleanup=l2(n2):l2.current=n2}}catch(a4){Dt3(t2,e7,a4)}}__name(Va2,"Va");i(Va2,"safelyAttachRef");function Ge4(t2,e7){var l2=t2.ref,n2=t2.refCleanup;if(null!==l2)if("function"===typeof n2)try{n2()}catch(a4){Dt3(t2,e7,a4)}finally{t2.refCleanup=null,t2=t2.alternate,null!=t2&&(t2.refCleanup=null)}else if("function"===typeof l2)try{l2(null)}catch(a4){Dt3(t2,e7,a4)}else l2.current=null}__name(Ge4,"Ge");i(Ge4,"safelyDetachRef");function wd(t2){var e7=t2.type,l2=t2.memoizedProps,n2=t2.stateNode;try{t:switch(e7){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(a4){Dt3(t2,t2.return,a4)}}__name(wd,"wd");i(wd,"commitHostMount");function pr2(t2,e7,l2){try{var n2=t2.stateNode;_y(n2,t2.type,l2,e7);n2[ae4]=e7}catch(a4){Dt3(t2,t2.return,a4)}}__name(pr2,"pr");i(pr2,"commitHostUpdate");function Rd(t2){return 5===t2.tag||3===t2.tag||26===t2.tag||27===t2.tag&&Nl2(t2.type)||4===t2.tag}__name(Rd,"Rd");i(Rd,"isHostParent");function br2(t2){t:for(;;){for(;null===t2.sibling;){if(null===t2.return||Rd(t2.return))return null;t2=t2.return}t2.sibling.return=t2.return;for(t2=t2.sibling;5!==t2.tag&&6!==t2.tag&&18!==t2.tag;){if(27===t2.tag&&Nl2(t2.type))continue t;if(t2.flags&2)continue t;if(null===t2.child||4===t2.tag)continue t;else t2.child.return=t2,t2=t2.child}if(!(t2.flags&2))return t2.stateNode}}__name(br2,"br");i(br2,"getHostSibling");function Sr2(t2,e7,l2){var n2=t2.tag;if(5===n2||6===n2)t2=t2.stateNode,e7?(9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2).insertBefore(t2,e7):(e7=9===l2.nodeType?l2.body:"HTML"===l2.nodeName?l2.ownerDocument.body:l2,e7.appendChild(t2),l2=l2._reactRootContainer,null!==l2&&void 0!==l2||null!==e7.onclick||(e7.onclick=mi2));else if(4!==n2&&(27===n2&&Nl2(t2.type)&&(l2=t2.stateNode,e7=null),t2=t2.child,null!==t2))for(Sr2(t2,e7,l2),t2=t2.sibling;null!==t2;)Sr2(t2,e7,l2),t2=t2.sibling}__name(Sr2,"Sr");i(Sr2,"insertOrAppendPlacementNodeIntoContainer");function li2(t2,e7,l2){var n2=t2.tag;if(5===n2||6===n2)t2=t2.stateNode,e7?l2.insertBefore(t2,e7):l2.appendChild(t2);else if(4!==n2&&(27===n2&&Nl2(t2.type)&&(l2=t2.stateNode),t2=t2.child,null!==t2))for(li2(t2,e7,l2),t2=t2.sibling;null!==t2;)li2(t2,e7,l2),t2=t2.sibling}__name(li2,"li");i(li2,"insertOrAppendPlacementNode");function Md(t2){var e7=t2.stateNode,l2=t2.memoizedProps;try{for(var n2=t2.type,a4=e7.attributes;a4.length;)e7.removeAttributeNode(a4[0]);Pt2(e7,n2,l2);e7[It3]=t2;e7[ae4]=l2}catch(c4){Dt3(t2,t2.return,c4)}}__name(Md,"Md");i(Md,"commitHostSingletonAcquisition");var il2=false,jt2=false,Er2=false,zd="function"===typeof WeakSet?WeakSet:Set,Jt3=null;function fy(t2,e7){t2=t2.containerInfo;Zr2=Si2;t2=jf(t2);if(bc2(t2)){if("selectionStart"in t2)var l2={start:t2.selectionStart,end:t2.selectionEnd};else t:{l2=(l2=t2.ownerDocument)&&l2.defaultView||window;var n2=l2.getSelection&&l2.getSelection();if(n2&&0!==n2.rangeCount){l2=n2.anchorNode;var a4=n2.anchorOffset,c4=n2.focusNode;n2=n2.focusOffset;try{l2.nodeType,c4.nodeType}catch(nt4){l2=null;break t}var s=0,m2=-1,b=-1,M4=0,L=0,j3=t2,_2=null;e:for(;;){for(var N2;;){j3!==l2||0!==a4&&3!==j3.nodeType||(m2=s+a4);j3!==c4||0!==n2&&3!==j3.nodeType||(b=s+n2);3===j3.nodeType&&(s+=j3.nodeValue.length);if(null===(N2=j3.firstChild))break;_2=j3;j3=N2}for(;;){if(j3===t2)break e;_2===l2&&++M4===a4&&(m2=s);_2===c4&&++L===n2&&(b=s);if(null!==(N2=j3.nextSibling))break;j3=_2;_2=j3.parentNode}j3=N2}l2=-1===m2||-1===b?null:{start:m2,end:b}}else l2=null}l2=l2||{start:0,end:0}}else l2=null;kr2={focusedElem:t2,selectionRange:l2};Si2=false;for(Jt3=e7;null!==Jt3;)if(e7=Jt3,t2=e7.child,0!==(e7.subtreeFlags&1024)&&null!==t2)t2.return=e7,Jt3=t2;else for(;null!==Jt3;){e7=Jt3;c4=e7.alternate;t2=e7.flags;switch(e7.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(t2&1024)&&null!==c4){t2=void 0;l2=e7;a4=c4.memoizedProps;c4=c4.memoizedState;n2=l2.stateNode;try{var it4=nn3(l2.type,a4,l2.elementType===l2.type);t2=n2.getSnapshotBeforeUpdate(it4,c4);n2.__reactInternalSnapshotBeforeUpdate=t2}catch(nt4){Dt3(l2,l2.return,nt4)}}break;case 3:if(0!==(t2&1024)){if(t2=e7.stateNode.containerInfo,l2=t2.nodeType,9===l2)Wr2(t2);else if(1===l2)switch(t2.nodeName){case"HEAD":case"HTML":case"BODY":Wr2(t2);break;default:t2.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(t2&1024))throw Error(o6(163))}t2=e7.sibling;if(null!==t2){t2.return=e7.return;Jt3=t2;break}Jt3=e7.return}}__name(fy,"fy");i(fy,"commitBeforeMutationEffects");function _d(t2,e7,l2){var n2=l2.flags;switch(l2.tag){case 0:case 11:case 15:wl2(t2,l2);n2&4&&Xa2(5,l2);break;case 1:wl2(t2,l2);if(n2&4)if(t2=l2.stateNode,null===e7)try{t2.componentDidMount()}catch(s){Dt3(l2,l2.return,s)}else{var a4=nn3(l2.type,e7.memoizedProps);e7=e7.memoizedState;try{t2.componentDidUpdate(a4,e7,t2.__reactInternalSnapshotBeforeUpdate)}catch(s){Dt3(l2,l2.return,s)}}n2&64&&Td(l2);n2&512&&Va2(l2,l2.return);break;case 3:wl2(t2,l2);if(n2&64&&(t2=l2.updateQueue,null!==t2)){e7=null;if(null!==l2.child)switch(l2.child.tag){case 27:case 5:e7=l2.child.stateNode;break;case 1:e7=l2.child.stateNode}try{ss3(t2,e7)}catch(s){Dt3(l2,l2.return,s)}}break;case 27:null===e7&&n2&4&&Md(l2);case 26:case 5:wl2(t2,l2);null===e7&&n2&4&&wd(l2);n2&512&&Va2(l2,l2.return);break;case 12:wl2(t2,l2);break;case 13:wl2(t2,l2);n2&4&&Nd(t2,l2);n2&64&&(t2=l2.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2&&(l2=by.bind(null,l2),Ly(t2,l2))));break;case 22:n2=null!==l2.memoizedState||il2;if(!n2){e7=null!==e7&&null!==e7.memoizedState||jt2;a4=il2;var c4=jt2;il2=n2;(jt2=e7)&&!c4?Rl2(t2,l2,0!==(l2.subtreeFlags&8772)):wl2(t2,l2);il2=a4;jt2=c4}break;case 30:break;default:wl2(t2,l2)}}__name(_d,"_d");i(_d,"commitLayoutEffectOnFiber");function Cd(t2){var e7=t2.alternate;null!==e7&&(t2.alternate=null,Cd(e7));t2.child=null;t2.deletions=null;t2.sibling=null;5===t2.tag&&(e7=t2.stateNode,null!==e7&&tc2(e7));t2.stateNode=null;t2.return=null;t2.dependencies=null;t2.memoizedProps=null;t2.memoizedState=null;t2.pendingProps=null;t2.stateNode=null;t2.updateQueue=null}__name(Cd,"Cd");i(Cd,"detachFiberAfterEffects");var Ut2=null,ce4=false;function cl2(t2,e7,l2){for(l2=l2.child;null!==l2;)Dd(t2,e7,l2),l2=l2.sibling}__name(cl2,"cl");i(cl2,"recursivelyTraverseDeletionEffects");function Dd(t2,e7,l2){if(oe3&&"function"===typeof oe3.onCommitFiberUnmount)try{oe3.onCommitFiberUnmount(fa2,l2)}catch(c4){}switch(l2.tag){case 26:jt2||Ge4(l2,e7);cl2(t2,e7,l2);l2.memoizedState?l2.memoizedState.count--:l2.stateNode&&(l2=l2.stateNode,l2.parentNode.removeChild(l2));break;case 27:jt2||Ge4(l2,e7);var n2=Ut2,a4=ce4;Nl2(l2.type)&&(Ut2=l2.stateNode,ce4=false);cl2(t2,e7,l2);Pa2(l2.stateNode);Ut2=n2;ce4=a4;break;case 5:jt2||Ge4(l2,e7);case 6:n2=Ut2;a4=ce4;Ut2=null;cl2(t2,e7,l2);Ut2=n2;ce4=a4;if(null!==Ut2)if(ce4)try{(9===Ut2.nodeType?Ut2.body:"HTML"===Ut2.nodeName?Ut2.ownerDocument.body:Ut2).removeChild(l2.stateNode)}catch(c4){Dt3(l2,e7,c4)}else try{Ut2.removeChild(l2.stateNode)}catch(c4){Dt3(l2,e7,c4)}break;case 18:null!==Ut2&&(ce4?(t2=Ut2,Sm(9===t2.nodeType?t2.body:"HTML"===t2.nodeName?t2.ownerDocument.body:t2,l2.stateNode),iu2(t2)):Sm(Ut2,l2.stateNode));break;case 4:n2=Ut2;a4=ce4;Ut2=l2.stateNode.containerInfo;ce4=true;cl2(t2,e7,l2);Ut2=n2;ce4=a4;break;case 0:case 11:case 14:case 15:jt2||Ol2(2,l2,e7);jt2||Ol2(4,l2,e7);cl2(t2,e7,l2);break;case 1:jt2||(Ge4(l2,e7),n2=l2.stateNode,"function"===typeof n2.componentWillUnmount&&Od(l2,e7,n2));cl2(t2,e7,l2);break;case 21:cl2(t2,e7,l2);break;case 22:jt2=(n2=jt2)||null!==l2.memoizedState;cl2(t2,e7,l2);jt2=n2;break;default:cl2(t2,e7,l2)}}__name(Dd,"Dd");i(Dd,"commitDeletionEffectsOnFiber");function Nd(t2,e7){if(null===e7.memoizedState&&(t2=e7.alternate,null!==t2&&(t2=t2.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2))))try{iu2(t2)}catch(l2){Dt3(e7,e7.return,l2)}}__name(Nd,"Nd");i(Nd,"commitSuspenseHydrationCallbacks");function sy(t2){switch(t2.tag){case 13:case 19:var e7=t2.stateNode;null===e7&&(e7=t2.stateNode=new zd);return e7;case 22:return t2=t2.stateNode,e7=t2._retryCache,null===e7&&(e7=t2._retryCache=new zd),e7;default:throw Error(o6(435,t2.tag))}}__name(sy,"sy");i(sy,"getRetryCache");function xr2(t2,e7){var l2=sy(t2);e7.forEach(function(n2){var a4=Sy.bind(null,t2,n2);l2.has(n2)||(l2.add(n2),n2.then(a4,a4))})}__name(xr2,"xr");i(xr2,"attachSuspenseRetryListeners");function me3(t2,e7){var l2=e7.deletions;if(null!==l2)for(var n2=0;n2 title"));Pt2(c4,n2,l2);c4[It3]=t2;kt2(c4);n2=c4;break t;case"link":var s=Mm("link","href",a4).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!==N2.rangeCount||N2.anchorNode!==T3.node||N2.anchorOffset!==T3.offset||N2.focusNode!==x2.node||N2.focusOffset!==x2.offset)){var R3=j3.createRange();R3.setStart(T3.node,T3.offset);N2.removeAllRanges();nt4>Ct3?(N2.addRange(R3),N2.extend(x2.node,x2.offset)):(R3.setEnd(x2.node,x2.offset),N2.addRange(R3))}}}}j3=[];for(N2=m2;N2=N2.parentNode;)1===N2.nodeType&&j3.push({element:N2,left:N2.scrollLeft,top:N2.scrollTop});"function"===typeof m2.focus&&m2.focus();for(m2=0;m2l2?32:l2;C2.T=null;l2=_r2;_r2=null;var c4=Cl2,s=Vn3;Ft2=0;Xn4=Cl2=null;Vn3=0;if(0!==(wt3&6))throw Error(o6(331));var m2=wt3;wt3|=4;Yd(c4.current);Bd(c4,c4.current,s,l2);wt3=m2;Wa2(0,false);if(oe3&&"function"===typeof oe3.onPostCommitFiberRoot)try{oe3.onPostCommitFiberRoot(fa2,c4)}catch(b){}return true}finally{V.p=a4,C2.T=n2,em(t2,e7)}}__name(lm,"lm");i(lm,"flushPassiveEffects");function nm(t2,e7,l2){e7=xe2(l2,e7);e7=or2(t2.stateNode,e7,2);t2=El2(t2,e7,2);null!==t2&&(da2(t2,2),Ve4(t2))}__name(nm,"nm");i(nm,"captureCommitPhaseErrorOnRoot");function Dt3(t2,e7,l2){if(3===t2.tag)nm(t2,t2,l2);else for(;null!==e7;){if(3===e7.tag){nm(e7,t2,l2);break}else if(1===e7.tag){var n2=e7.stateNode;if("function"===typeof e7.type.getDerivedStateFromError||"function"===typeof n2.componentDidCatch&&(null===_l2||!_l2.has(n2))){t2=xe2(l2,t2);l2=cd(2);n2=El2(e7,l2,2);null!==n2&&(rd(l2,n2,e7,t2),da2(n2,2),Ve4(n2));break}}e7=e7.return}}__name(Dt3,"Dt");i(Dt3,"captureCommitPhaseError");function Hr2(t2,e7,l2){var n2=t2.pingCache;if(null===n2){n2=t2.pingCache=new my;var a4=new Set;n2.set(e7,a4)}else a4=n2.get(e7),void 0===a4&&(a4=new Set,n2.set(e7,a4));a4.has(l2)||(Or2=true,a4.add(l2),t2=py.bind(null,t2,e7,l2),e7.then(t2,t2))}__name(Hr2,"Hr");i(Hr2,"attachPingListener");function py(t2,e7,l2){var n2=t2.pingCache;null!==n2&&n2.delete(e7);t2.pingedLanes|=t2.suspendedLanes&l2;t2.warmLanes&=~l2;Nt3===t2&&(bt4&l2)===l2&&(4===qt3||3===qt3&&(bt4&62914560)===bt4&&300>qe4()-Mr2?0===(wt3&2)&&Qn4(t2,0):wr2|=l2,Gn4===bt4&&(Gn4=0));Ve4(t2)}__name(py,"py");i(py,"pingSuspendedRoot");function am(t2,e7){0===e7&&(e7=Io2());t2=wn3(t2,e7);null!==t2&&(da2(t2,e7),Ve4(t2))}__name(am,"am");i(am,"retryTimedOutBoundary");function by(t2){var e7=t2.memoizedState,l2=0;null!==e7&&(l2=e7.retryLane);am(t2,l2)}__name(by,"by");i(by,"retryDehydratedSuspenseBoundary");function Sy(t2,e7){var l2=0;switch(t2.tag){case 13:var n2=t2.stateNode;var a4=t2.memoizedState;null!==a4&&(l2=a4.retryLane);break;case 19:n2=t2.stateNode;break;case 22:n2=t2.stateNode._retryCache;break;default:throw Error(o6(314))}null!==n2&&n2.delete(e7);am(t2,l2)}__name(Sy,"Sy");i(Sy,"resolveRetryWakeable");function Ey(t2,e7){return hl2(t2,e7)}__name(Ey,"Ey");i(Ey,"scheduleCallback$1");var oi2=null,kn3=null,Br2=false,fi2=false,Lr2=false,cn3=0;function Ve4(t2){t2!==kn3&&null===t2.next&&(null===kn3?oi2=kn3=t2:kn3=kn3.next=t2);fi2=true;Br2||(Br2=true,Ay())}__name(Ve4,"Ve");i(Ve4,"ensureRootIsScheduled");function Wa2(t2,e7){if(!Lr2&&fi2){Lr2=true;do{var l2=false;for(var n2=oi2;null!==n2;){if(0!==t2){var a4=n2.pendingLanes;if(0===a4)var c4=0;else{var s=n2.suspendedLanes,m2=n2.pingedLanes;c4=(1<<31-fe3(42|t2)+1)-1;c4&=a4&~(s&~m2);c4=c4&201326741?c4&201326741|1:c4?c4|2:0}0!==c4&&(l2=true,rm(n2,c4))}else c4=bt4,c4=gu(n2,n2===Nt3?c4:0,null!==n2.cancelPendingCommit||-1!==n2.timeoutHandle),0===(c4&3)||sa2(n2,c4)||(l2=true,rm(n2,c4));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 t2=0;0!==cn3&&(Cy()&&(t2=cn3),cn3=0);for(var e7=qe4(),l2=null,n2=oi2;null!==n2;){var a4=n2.next,c4=im(n2,e7);if(0===c4)n2.next=null,null===l2?oi2=a4:l2.next=a4,null===a4&&(kn3=l2);else if(l2=n2,0!==t2||0!==(c4&3))fi2=true;n2=a4}Wa2(t2)}__name(um,"um");i(um,"processRootScheduleInMicrotask");function im(t2,e7){for(var l2=t2.suspendedLanes,n2=t2.pingedLanes,a4=t2.expirationTimes,c4=t2.pendingLanes&-62914561;0n2){l2=n2;var s=t2.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===a4){t2.removeChild(c4);iu2(e7);return}a4--}else"$"===l2||"$?"===l2||"$!"===l2?a4++:n2=l2.charCodeAt(0)-48;else n2=0;l2=c4}while(l2);iu2(e7)}__name(Sm,"Sm");i(Sm,"clearSuspenseBoundary");function Wr2(t2){var e7=t2.firstChild;e7&&10===e7.nodeType&&(e7=e7.nextSibling);for(;e7;){var l2=e7;e7=e7.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}t2.removeChild(l2)}}__name(Wr2,"Wr");i(Wr2,"clearContainerSparingly");function Hy(t2,e7,l2,n2){for(;1===t2.nodeType;){var a4=l2;if(t2.nodeName.toLowerCase()!==e7.toLowerCase()){if(!n2&&("INPUT"!==t2.nodeName||"hidden"!==t2.type))break}else if(!n2)if("input"===e7&&"hidden"===t2.type){var c4=null==a4.name?null:""+a4.name;if("hidden"===a4.type&&t2.getAttribute("name")===c4)return t2}else return t2;else if(!t2[ma2])switch(e7){case"meta":if(!t2.hasAttribute("itemprop"))break;return t2;case"link":c4=t2.getAttribute("rel");if("stylesheet"===c4&&t2.hasAttribute("data-precedence"))break;else if(c4!==a4.rel||t2.getAttribute("href")!==(null==a4.href||""===a4.href?null:a4.href)||t2.getAttribute("crossorigin")!==(null==a4.crossOrigin?null:a4.crossOrigin)||t2.getAttribute("title")!==(null==a4.title?null:a4.title))break;return t2;case"style":if(t2.hasAttribute("data-precedence"))break;return t2;case"script":c4=t2.getAttribute("src");if((c4!==(null==a4.src?null:a4.src)||t2.getAttribute("type")!==(null==a4.type?null:a4.type)||t2.getAttribute("crossorigin")!==(null==a4.crossOrigin?null:a4.crossOrigin))&&c4&&t2.hasAttribute("async")&&!t2.hasAttribute("itemprop"))break;return t2;default:return t2}t2=Ce3(t2.nextSibling);if(null===t2)break}return null}__name(Hy,"Hy");i(Hy,"canHydrateInstance");function By(t2,e7,l2){if(""===e7)return null;for(;3!==t2.nodeType;){if((1!==t2.nodeType||"INPUT"!==t2.nodeName||"hidden"!==t2.type)&&!l2)return null;t2=Ce3(t2.nextSibling);if(null===t2)return null}return t2}__name(By,"By");i(By,"canHydrateTextInstance");function $r2(t2){return"$!"===t2.data||"$?"===t2.data&&"complete"===t2.ownerDocument.readyState}__name($r2,"$r");i($r2,"isSuspenseInstanceFallback");function Ly(t2,e7){var l2=t2.ownerDocument;if("$?"!==t2.data||"complete"===l2.readyState)e7();else{var n2=i(function(){e7();l2.removeEventListener("DOMContentLoaded",n2)},"listener");l2.addEventListener("DOMContentLoaded",n2);t2._reactRetry=n2}}__name(Ly,"Ly");i(Ly,"registerSuspenseInstanceRetry");function Ce3(t2){for(;null!=t2;t2=t2.nextSibling){var e7=t2.nodeType;if(1===e7||3===e7)break;if(8===e7){e7=t2.data;if("$"===e7||"$!"===e7||"$?"===e7||"F!"===e7||"F"===e7)break;if("/$"===e7)return null}}return t2}__name(Ce3,"Ce");i(Ce3,"getNextHydratable");var Fr2=null;function Em(t2){t2=t2.previousSibling;for(var e7=0;t2;){if(8===t2.nodeType){var l2=t2.data;if("$"===l2||"$!"===l2||"$?"===l2){if(0===e7)return t2;e7--}else"/$"===l2&&e7++}t2=t2.previousSibling}return null}__name(Em,"Em");i(Em,"getParentSuspenseInstance");function xm(t2,e7,l2){e7=hi2(l2);switch(t2){case"html":t2=e7.documentElement;if(!t2)throw Error(o6(452));return t2;case"head":t2=e7.head;if(!t2)throw Error(o6(453));return t2;case"body":t2=e7.body;if(!t2)throw Error(o6(454));return t2;default:throw Error(o6(451))}}__name(xm,"xm");i(xm,"resolveSingletonInstance");function Pa2(t2){for(var e7=t2.attributes;e7.length;)t2.removeAttributeNode(e7[0]);tc2(t2)}__name(Pa2,"Pa");i(Pa2,"releaseSingletonInstance");var Me4=new Map,Am=new Set;function vi2(t2){return"function"===typeof t2.getRootNode?t2.getRootNode():9===t2.nodeType?t2:t2.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 t2=ol2.f(),e7=ii2();return t2||e7}__name(qy,"qy");i(qy,"flushSyncWork");function Yy(t2){var e7=hn3(t2);null!==e7&&5===e7.tag&&"form"===e7.type?Vs2(e7):ol2.r(t2)}__name(Yy,"Yy");i(Yy,"requestFormReset");var Jn4="undefined"===typeof document?null:document;function Tm(t2,e7,l2){var n2=Jn4;if(n2&&"string"===typeof e7&&e7){var a4=Ee2(e7);a4='link[rel="'+t2+'"][href="'+a4+'"]';"string"===typeof l2&&(a4+='[crossorigin="'+l2+'"]');Am.has(a4)||(Am.add(a4),t2={rel:t2,crossOrigin:l2,href:e7},null===n2.querySelector(a4)&&(e7=n2.createElement("link"),Pt2(e7,"link",t2),kt2(e7),n2.head.appendChild(e7)))}}__name(Tm,"Tm");i(Tm,"preconnectAs");function jy(t2){ol2.D(t2);Tm("dns-prefetch",t2,null)}__name(jy,"jy");i(jy,"prefetchDNS");function Gy(t2,e7){ol2.C(t2,e7);Tm("preconnect",t2,e7)}__name(Gy,"Gy");i(Gy,"preconnect");function Xy(t2,e7,l2){ol2.L(t2,e7,l2);var n2=Jn4;if(n2&&t2&&e7){var a4='link[rel="preload"][as="'+Ee2(e7)+'"]';"image"===e7?l2&&l2.imageSrcSet?(a4+='[imagesrcset="'+Ee2(l2.imageSrcSet)+'"]',"string"===typeof l2.imageSizes&&(a4+='[imagesizes="'+Ee2(l2.imageSizes)+'"]')):a4+='[href="'+Ee2(t2)+'"]':a4+='[href="'+Ee2(t2)+'"]';var c4=a4;switch(e7){case"style":c4=Wn4(t2);break;case"script":c4=$n4(t2)}Me4.has(c4)||(t2=S3({rel:"preload",href:"image"===e7&&l2&&l2.imageSrcSet?void 0:t2,as:e7},l2),Me4.set(c4,t2),null!==n2.querySelector(a4)||"style"===e7&&n2.querySelector(Ia2(c4))||"script"===e7&&n2.querySelector(tu2(c4))||(e7=n2.createElement("link"),Pt2(e7,"link",t2),kt2(e7),n2.head.appendChild(e7)))}}__name(Xy,"Xy");i(Xy,"preload");function Vy(t2,e7){ol2.m(t2,e7);var l2=Jn4;if(l2&&t2){var n2=e7&&"string"===typeof e7.as?e7.as:"script",a4='link[rel="modulepreload"][as="'+Ee2(n2)+'"][href="'+Ee2(t2)+'"]',c4=a4;switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c4=$n4(t2)}if(!Me4.has(c4)&&(t2=S3({rel:"modulepreload",href:t2},e7),Me4.set(c4,t2),null===l2.querySelector(a4))){switch(n2){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l2.querySelector(tu2(c4)))return}n2=l2.createElement("link");Pt2(n2,"link",t2);kt2(n2);l2.head.appendChild(n2)}}}__name(Vy,"Vy");i(Vy,"preloadModule");function Qy(t2,e7,l2){ol2.S(t2,e7,l2);var n2=Jn4;if(n2&&t2){var a4=vn3(n2).hoistableStyles,c4=Wn4(t2);e7=e7||"default";var s=a4.get(c4);if(!s){var m2={loading:0,preload:null};if(s=n2.querySelector(Ia2(c4)))m2.loading=5;else{t2=S3({rel:"stylesheet",href:t2,"data-precedence":e7},l2);(l2=Me4.get(c4))&&Pr2(t2,l2);var b=s=n2.createElement("link");kt2(b);Pt2(b,"link",t2);b._p=new Promise(function(M4,L){b.onload=M4;b.onerror=L});b.addEventListener("load",function(){m2.loading|=1});b.addEventListener("error",function(){m2.loading|=2});m2.loading|=4;gi2(s,e7,n2)}s={type:"stylesheet",instance:s,count:1,state:m2};a4.set(c4,s)}}}__name(Qy,"Qy");i(Qy,"preinitStyle");function Zy(t2,e7){ol2.X(t2,e7);var l2=Jn4;if(l2&&t2){var n2=vn3(l2).hoistableScripts,a4=$n4(t2),c4=n2.get(a4);c4||(c4=l2.querySelector(tu2(a4)),c4||(t2=S3({src:t2,async:true},e7),(e7=Me4.get(a4))&&Ir2(t2,e7),c4=l2.createElement("script"),kt2(c4),Pt2(c4,"link",t2),l2.head.appendChild(c4)),c4={type:"script",instance:c4,count:1,state:null},n2.set(a4,c4))}}__name(Zy,"Zy");i(Zy,"preinitScript");function ky(t2,e7){ol2.M(t2,e7);var l2=Jn4;if(l2&&t2){var n2=vn3(l2).hoistableScripts,a4=$n4(t2),c4=n2.get(a4);c4||(c4=l2.querySelector(tu2(a4)),c4||(t2=S3({src:t2,async:true,type:"module"},e7),(e7=Me4.get(a4))&&Ir2(t2,e7),c4=l2.createElement("script"),kt2(c4),Pt2(c4,"link",t2),l2.head.appendChild(c4)),c4={type:"script",instance:c4,count:1,state:null},n2.set(a4,c4))}}__name(ky,"ky");i(ky,"preinitModuleScript");function Om(t2,e7,l2,n2){var a4=(a4=ut4.current)?vi2(a4):null;if(!a4)throw Error(o6(446));switch(t2){case"meta":case"title":return null;case"style":return"string"===typeof l2.precedence&&"string"===typeof l2.href?(e7=Wn4(l2.href),l2=vn3(a4).hoistableStyles,n2=l2.get(e7),n2||(n2={type:"style",instance:null,count:0,state:null},l2.set(e7,n2)),n2):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===l2.rel&&"string"===typeof l2.href&&"string"===typeof l2.precedence){t2=Wn4(l2.href);var c4=vn3(a4).hoistableStyles,s=c4.get(t2);s||(a4=a4.ownerDocument||a4,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c4.set(t2,s),(c4=a4.querySelector(Ia2(t2)))&&!c4._p&&(s.instance=c4,s.state.loading=5),Me4.has(t2)||(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(t2,l2),c4||Ky(a4,t2,l2,s.state)));if(e7&&null===n2)throw Error(o6(528,""));return s}if(e7&&null!==n2)throw Error(o6(529,""));return null;case"script":return e7=l2.async,l2=l2.src,"string"===typeof l2&&e7&&"function"!==typeof e7&&"symbol"!==typeof e7?(e7=$n4(l2),l2=vn3(a4).hoistableScripts,n2=l2.get(e7),n2||(n2={type:"script",instance:null,count:0,state:null},l2.set(e7,n2)),n2):{type:"void",instance:null,count:0,state:null};default:throw Error(o6(444,t2))}}__name(Om,"Om");i(Om,"getResource");function Wn4(t2){return'href="'+Ee2(t2)+'"'}__name(Wn4,"Wn");i(Wn4,"getStyleKey");function Ia2(t2){return'link[rel="stylesheet"]['+t2+"]"}__name(Ia2,"Ia");i(Ia2,"getStylesheetSelectorFromKey");function wm(t2){return S3({},t2,{"data-precedence":t2.precedence,precedence:null})}__name(wm,"wm");i(wm,"stylesheetPropsFromRawProps");function Ky(t2,e7,l2,n2){t2.querySelector('link[rel="preload"][as="style"]['+e7+"]")?n2.loading=1:(e7=t2.createElement("link"),n2.preload=e7,e7.addEventListener("load",function(){return n2.loading|=1}),e7.addEventListener("error",function(){return n2.loading|=2}),Pt2(e7,"link",l2),kt2(e7),t2.head.appendChild(e7))}__name(Ky,"Ky");i(Ky,"preloadStylesheet");function $n4(t2){return'[src="'+Ee2(t2)+'"]'}__name($n4,"$n");i($n4,"getScriptKey");function tu2(t2){return"script[async]"+t2}__name(tu2,"tu");i(tu2,"getScriptSelectorFromKey");function Rm(t2,e7,l2){e7.count++;if(null===e7.instance)switch(e7.type){case"style":var n2=t2.querySelector('style[data-href~="'+Ee2(l2.href)+'"]');if(n2)return e7.instance=n2,kt2(n2),n2;var a4=S3({},l2,{"data-href":l2.href,"data-precedence":l2.precedence,href:null,precedence:null});n2=(t2.ownerDocument||t2).createElement("style");kt2(n2);Pt2(n2,"style",a4);gi2(n2,l2.precedence,t2);return e7.instance=n2;case"stylesheet":a4=Wn4(l2.href);var c4=t2.querySelector(Ia2(a4));if(c4)return e7.state.loading|=4,e7.instance=c4,kt2(c4),c4;n2=wm(l2);(a4=Me4.get(a4))&&Pr2(n2,a4);c4=(t2.ownerDocument||t2).createElement("link");kt2(c4);var s=c4;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c4,"link",n2);e7.state.loading|=4;gi2(c4,l2.precedence,t2);return e7.instance=c4;case"script":c4=$n4(l2.src);if(a4=t2.querySelector(tu2(c4)))return e7.instance=a4,kt2(a4),a4;n2=l2;if(a4=Me4.get(c4))n2=S3({},l2),Ir2(n2,a4);t2=t2.ownerDocument||t2;a4=t2.createElement("script");kt2(a4);Pt2(a4,"link",n2);t2.head.appendChild(a4);return e7.instance=a4;case"void":return null;default:throw Error(o6(443,e7.type))}else"stylesheet"===e7.type&&0===(e7.state.loading&4)&&(n2=e7.instance,e7.state.loading|=4,gi2(n2,l2.precedence,t2));return e7.instance}__name(Rm,"Rm");i(Rm,"acquireResource");function gi2(t2,e7,l2){for(var n2=l2.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a4=n2.length?n2[n2.length-1]:null,c4=a4,s=0;s title"):null)}__name(zm,"zm");i(zm,"mountHoistable");function Jy(t2,e7,l2){if(1===l2||null!=e7.itemProp)return false;switch(t2){case"meta":case"title":return true;case"style":if("string"!==typeof e7.precedence||"string"!==typeof e7.href||""===e7.href)break;return true;case"link":if("string"!==typeof e7.rel||"string"!==typeof e7.href||""===e7.href||e7.onLoad||e7.onError)break;switch(e7.rel){case"stylesheet":return t2=e7.disabled,"string"===typeof e7.precedence&&null==t2;default:return true}case"script":if(e7.async&&"function"!==typeof e7.async&&"symbol"!==typeof e7.async&&!e7.onLoad&&!e7.onError&&e7.src&&"string"===typeof e7.src)return true}return false}__name(Jy,"Jy");i(Jy,"isHostHoistableType");function _m(t2){return"stylesheet"===t2.type&&0===(t2.state.loading&3)?false:true}__name(_m,"_m");i(_m,"preloadResource");var eu2=null;function Wy(){}__name(Wy,"Wy");i(Wy,"noop");function $y(t2,e7,l2){if(null===eu2)throw Error(o6(475));var n2=eu2;if("stylesheet"===e7.type&&("string"!==typeof l2.media||false!==matchMedia(l2.media).matches)&&0===(e7.state.loading&4)){if(null===e7.instance){var a4=Wn4(l2.href),c4=t2.querySelector(Ia2(a4));if(c4){t2=c4._p;null!==t2&&"object"===typeof t2&&"function"===typeof t2.then&&(n2.count++,n2=pi2.bind(n2),t2.then(n2,n2));e7.state.loading|=4;e7.instance=c4;kt2(c4);return}c4=t2.ownerDocument||t2;l2=wm(l2);(a4=Me4.get(a4))&&Pr2(l2,a4);c4=c4.createElement("link");kt2(c4);var s=c4;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c4,"link",l2);e7.instance=c4}null===n2.stylesheets&&(n2.stylesheets=new Map);n2.stylesheets.set(e7,t2);(t2=e7.state.preload)&&0===(e7.state.loading&3)&&(n2.count++,e7=pi2.bind(n2),t2.addEventListener("load",e7),t2.addEventListener("error",e7))}}__name($y,"$y");i($y,"suspendResource");function Fy(){if(null===eu2)throw Error(o6(475));var t2=eu2;t2.stylesheets&&0===t2.count&&to2(t2,t2.stylesheets);return 0S3(w,typeof w==="string"?null:w.state,H2===0?"default":void 0));let h3=p3(f2==null?d.length-1:f2);let v2=De.Pop;let y3=null;function p3(w){return Math.min(Math.max(w,0),d.length-1)}__name(p3,"p");i(p3,"clampIndex");function g2(){return d[h3]}__name(g2,"g");i(g2,"getCurrentLocation");function S3(w,H2,O4){if(H2===void 0){H2=null}let U4=qi(d?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 D3={get index(){return h3},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);h3+=1;d.splice(h3,d.length,O4);if(o6&&y3){y3({action:v2,location:O4,delta:1})}},replace(w,H2){v2=De.Replace;let O4=S3(w,H2);d[h3]=O4;if(o6&&y3){y3({action:v2,location:O4,delta:0})}},go(w){v2=De.Pop;let H2=p3(h3+w);let O4=d[H2];h3=H2;if(y3){y3({action:v2,location:O4,delta:w})}},listen(w){y3=w;return()=>{y3=null}}};return D3}__name(p0,"p0");i(p0,"createMemoryHistory");function b0(u5){if(u5===void 0){u5={}}function r3(o6,d){let{pathname:h3,search:v2,hash:y3}=o6.location;return qi("",{pathname:h3,search:v2,hash:y3},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}__name(r3,"r");i(r3,"createBrowserLocation");function f2(o6,d){return typeof d==="string"?d:Lo(d)}__name(f2,"f");i(f2,"createBrowserHref");return x0(r3,f2,null,u5)}__name(b0,"b0");i(b0,"createBrowserHistory");function Lh(u5,r3){if(u5===false||u5===null||typeof u5==="undefined"){throw new Error(r3)}}__name(Lh,"Lh");i(Lh,"invariant");function S0(u5,r3){if(!u5){if(typeof console!=="undefined")console.warn(r3);try{throw new Error(r3)}catch(f2){}}}__name(S0,"S0");i(S0,"warning");function E0(){return Math.random().toString(36).substr(2,8)}__name(E0,"E0");i(E0,"createKey");function Im(u5,r3){return{usr:u5.state,key:u5.key,idx:r3}}__name(Im,"Im");i(Im,"getHistoryState");function qi(u5,r3,f2,o6){if(f2===void 0){f2=null}let d=Li({pathname:typeof u5==="string"?u5:u5.pathname,search:"",hash:""},typeof r3==="string"?qo(r3):r3,{state:f2,key:r3&&r3.key||o6||E0()});return d}__name(qi,"qi");i(qi,"createLocation");function Lo(u5){let{pathname:r3="/",search:f2="",hash:o6=""}=u5;if(f2&&f2!=="?")r3+=f2.charAt(0)==="?"?f2:"?"+f2;if(o6&&o6!=="#")r3+=o6.charAt(0)==="#"?o6:"#"+o6;return r3}__name(Lo,"Lo");i(Lo,"createPath");function qo(u5){let r3={};if(u5){let f2=u5.indexOf("#");if(f2>=0){r3.hash=u5.substr(f2);u5=u5.substr(0,f2)}let o6=u5.indexOf("?");if(o6>=0){r3.search=u5.substr(o6);u5=u5.substr(0,o6)}if(u5){r3.pathname=u5}}return r3}__name(qo,"qo");i(qo,"parsePath");function x0(u5,r3,f2,o6){if(o6===void 0){o6={}}let{window:d=document.defaultView,v5Compat:h3=false}=o6;let v2=d.history;let y3=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(){y3=De.Pop;let U4=S3();let Y3=U4==null?null:U4-g2;g2=U4;if(p3){p3({action:y3,location:O4.location,delta:Y3})}}__name(A,"A");i(A,"handlePop");function D3(U4,Y3){y3=De.Push;let Q4=qi(O4.location,U4,Y3);g2=S3()+1;let Z3=Im(Q4,g2);let k3=O4.createHref(Q4);try{v2.pushState(Z3,"",k3)}catch(X4){if(X4 instanceof DOMException&&X4.name==="DataCloneError"){throw X4}d.location.assign(k3)}if(h3&&p3){p3({action:y3,location:O4.location,delta:1})}}__name(D3,"D");i(D3,"push");function w(U4,Y3){y3=De.Replace;let Q4=qi(O4.location,U4,Y3);g2=S3();let Z3=Im(Q4,g2);let k3=O4.createHref(Q4);v2.replaceState(Z3,"",k3);if(h3&&p3){p3({action:y3,location:O4.location,delta:0})}}__name(w,"w");i(w,"replace");function H2(U4){let Y3=d.location.origin!=="null"?d.location.origin:d.location.href;let Q4=typeof U4==="string"?U4:Lo(U4);Q4=Q4.replace(/ $/,"%20");Lh(Y3,"No window.location.(origin|href) available to create URL for href: "+Q4);return new URL(Q4,Y3)}__name(H2,"H");i(H2,"createURL");let O4={get action(){return y3},get location(){return u5(d,v2)},listen(U4){if(p3){throw new Error("A history only accepts one active listener")}d.addEventListener(Pm,A);p3=U4;return()=>{d.removeEventListener(Pm,A);p3=null}},createHref(U4){return r3(d,U4)},createURL:H2,encodeLocation(U4){let Y3=H2(U4);return{pathname:Y3.pathname,search:Y3.search,hash:Y3.hash}},push:D3,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,r3){if(r3==="/")return u5;if(!u5.toLowerCase().startsWith(r3.toLowerCase())){return null}let f2=r3.endsWith("/")?r3.length-1:r3.length;let o6=u5.charAt(f2);if(o6&&o6!=="/"){return null}return u5.slice(f2)||"/"}__name(A0,"A0");i(A0,"stripBasename");var qh=["post","put","patch","delete"];new Set(qh);var T0=["get",...qh];new Set(T0);function wo(){wo=Object.assign?Object.assign.bind():function(u5){for(var r3=1;r3{S3&&eh?eh(()=>g2(D3)):g2(D3)},[g2,S3]);z.useLayoutEffect(()=>y3.listen(A),[y3,A]);z.useEffect(()=>jh(h3),[h3]);return z.createElement(Gh,{basename:r3,children:f2,location:p3.location,navigationType:p3.action,navigator:y3,future:h3})}__name(uS,"uS");i(uS,"MemoryRouter");function Gh(u5){let{basename:r3="/",children:f2=null,location:o6,navigationType:d=De.Pop,navigator:h3,static:v2=false,future:y3}=u5;!!w0()?Lh(false):void 0;let p3=r3.replace(/^/*/,"/");let g2=z.useMemo(()=>({basename:p3,navigator:h3,static:v2,future:wo({v7_relativeSplatPath:false},y3)}),[p3,y3,h3,v2]);if(typeof o6==="string"){o6=qo(o6)}let{pathname:S3="/",search:A="",hash:D3="",state:w=null,key:H2="default"}=o6;let O4=z.useMemo(()=>{let U4=A0(S3,p3);if(U4==null){return null}return{location:{pathname:U4,search:A,hash:D3,state:w,key:H2},navigationType:d}},[p3,S3,A,D3,w,H2,d]);if(O4==null){return null}return z.createElement(O0.Provider,{value:g2},z.createElement(Yh.Provider,{children:f2,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:r3,children:f2,future:o6,window:d}=u5;let h3=z.useRef();if(h3.current==null){h3.current=b0({window:d,v5Compat:true})}let v2=h3.current;let[y3,p3]=z.useState({action:v2.action,location:v2.location});let{v7_startTransition:g2}=o6||{};let S3=z.useCallback(A=>{g2&&lh?lh(()=>p3(A)):p3(A)},[p3,g2]);z.useLayoutEffect(()=>v2.listen(S3),[v2,S3]);z.useEffect(()=>jh(o6),[o6]);return z.createElement(Gh,{basename:r3,children:f2,location:y3.location,navigationType:y3.action,navigator:v2,future:o6})}__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:r3=false,target:f2,rel:o6,children:d,...h3},v2)=>{const y3=r3?f2??"_blank":f2;const p3=r3?o6??"noopener noreferrer":o6;return Ht.jsx("a",{href:u5,target:y3,rel:p3,ref:v2,...h3,children:d})});function uh(u5,r3){if(typeof u5==="function"){return u5(r3)}else if(u5!==null&&u5!==void 0){u5.current=r3}}__name(uh,"uh");i(uh,"setRef");function Xh(...u5){return r3=>{let f2=false;const o6=u5.map(d=>{const h3=uh(d,r3);if(!f2&&typeof h3=="function"){f2=true}return h3});if(f2){return()=>{for(let d=0;d{const{children:h3,...v2}=o6;const y3=z.Children.toArray(h3);const p3=y3.find(D0);if(p3){const g2=p3.props.children;const S3=y3.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(r3,{...v2,ref:d,children:z.isValidElement(g2)?z.cloneElement(g2,void 0,S3):null})}return Ht.jsx(r3,{...v2,ref:d,children:h3})});f2.displayName=`${u5}.Slot`;return f2}__name(Yi,"Yi");i(Yi,"createSlot");var Vh=Yi("Slot");function _0(u5){const r3=z.forwardRef((f2,o6)=>{const{children:d,...h3}=f2;if(z.isValidElement(d)){const v2=U0(d);const y3=N0(h3,d.props);if(d.type!==z.Fragment){y3.ref=o6?Xh(o6,v2):v2}return z.cloneElement(d,y3)}return z.Children.count(d)>1?z.Children.only(null):null});r3.displayName=`${u5}.SlotClone`;return r3}__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,r3){const f2={...r3};for(const o6 in r3){const d=u5[o6];const h3=r3[o6];const v2=/^on[A-Z]/.test(o6);if(v2){if(d&&h3){f2[o6]=(...y3)=>{const p3=h3(...y3);d(...y3);return p3}}else if(d){f2[o6]=d}}else if(o6==="style"){f2[o6]={...d,...h3}}else if(o6==="className"){f2[o6]=[d,h3].filter(Boolean).join(" ")}}return{...u5,...f2}}__name(N0,"N0");i(N0,"mergeProps");function U0(u5){let r3=Object.getOwnPropertyDescriptor(u5.props,"ref")?.get;let f2=r3&&"isReactWarning"in r3&&r3.isReactWarning;if(f2){return u5.ref}r3=Object.getOwnPropertyDescriptor(u5,"ref")?.get;f2=r3&&"isReactWarning"in r3&&r3.isReactWarning;if(f2){return u5.props.ref}return u5.props.ref||u5.ref}__name(U0,"U0");i(U0,"getElementRef");function Qh(u5){var r3,f2,o6="";if("string"==typeof u5||"number"==typeof u5)o6+=u5;else if("object"==typeof u5)if(Array.isArray(u5)){var d=u5.length;for(r3=0;r3typeof u5==="boolean"?`${u5}`:u5===0?"0":u5,"falsyToString");var ch=Zh;var kh=i((u5,r3)=>f2=>{var o6;if((r3===null||r3===void 0?void 0:r3.variants)==null)return ch(u5,f2===null||f2===void 0?void 0:f2.class,f2===null||f2===void 0?void 0:f2.className);const{variants:d,defaultVariants:h3}=r3;const v2=Object.keys(d).map(g2=>{const S3=f2===null||f2===void 0?void 0:f2[g2];const A=h3===null||h3===void 0?void 0:h3[g2];if(S3===null)return null;const D3=ih(S3)||ih(A);return d[g2][D3]});const y3=f2&&Object.entries(f2).reduce((g2,S3)=>{let[A,D3]=S3;if(D3===void 0){return g2}g2[A]=D3;return g2},{});const p3=r3===null||r3===void 0?void 0:(o6=r3.compoundVariants)===null||o6===void 0?void 0:o6.reduce((g2,S3)=>{let{class:A,className:D3,...w}=S3;return Object.entries(w).every(H2=>{let[O4,U4]=H2;return Array.isArray(U4)?U4.includes({...h3,...y3}[O4]):{...h3,...y3}[O4]===U4})?[...g2,A,D3]:g2},[]);return ch(u5,v2,p3,f2===null||f2===void 0?void 0:f2.class,f2===null||f2===void 0?void 0:f2.className)},"cva");var Yo="-";var H0=i(u5=>{const r3=L0(u5);const{conflictingClassGroups:f2,conflictingClassGroupModifiers:o6}=u5;const d=i(v2=>{const y3=v2.split(Yo);if(y3[0]===""&&y3.length!==1){y3.shift()}return Kh(y3,r3)||B0(v2)},"getClassGroupId");const h3=i((v2,y3)=>{const p3=f2[v2]||[];if(y3&&o6[v2]){return[...p3,...o6[v2]]}return p3},"getConflictingClassGroupIds");return{getClassGroupId:d,getConflictingClassGroupIds:h3}},"createClassGroupUtils");var Kh=i((u5,r3)=>{if(u5.length===0){return r3.classGroupId}const f2=u5[0];const o6=r3.nextPart.get(f2);const d=o6?Kh(u5.slice(1),o6):void 0;if(d){return d}if(r3.validators.length===0){return void 0}const h3=u5.join(Yo);return r3.validators.find(({validator:v2})=>v2(h3))?.classGroupId},"getGroupRecursive");var rh=/^[(.+)]$/;var B0=i(u5=>{if(rh.test(u5)){const r3=rh.exec(u5)[1];const f2=r3?.substring(0,r3.indexOf(":"));if(f2){return"arbitrary.."+f2}}},"getGroupIdForArbitraryProperty");var L0=i(u5=>{const{theme:r3,classGroups:f2}=u5;const o6={nextPart:new Map,validators:[]};for(const d in f2){Ro(f2[d],o6,d,r3)}return o6},"createClassMap");var Ro=i((u5,r3,f2,o6)=>{u5.forEach(d=>{if(typeof d==="string"){const h3=d===""?r3:oh(r3,d);h3.classGroupId=f2;return}if(typeof d==="function"){if(q0(d)){Ro(d(o6),r3,f2,o6);return}r3.validators.push({validator:d,classGroupId:f2});return}Object.entries(d).forEach(([h3,v2])=>{Ro(v2,oh(r3,h3),f2,o6)})})},"processClassesRecursively");var oh=i((u5,r3)=>{let f2=u5;r3.split(Yo).forEach(o6=>{if(!f2.nextPart.has(o6)){f2.nextPart.set(o6,{nextPart:new Map,validators:[]})}f2=f2.nextPart.get(o6)});return f2},"getPart");var q0=i(u5=>u5.isThemeGetter,"isThemeGetter");var Y0=i(u5=>{if(u5<1){return{get:i(()=>void 0,"get"),set:i(()=>{},"set")}}let r3=0;let f2=new Map;let o6=new Map;const d=i((h3,v2)=>{f2.set(h3,v2);r3++;if(r3>u5){r3=0;o6=f2;f2=new Map}},"update");return{get(h3){let v2=f2.get(h3);if(v2!==void 0){return v2}if((v2=o6.get(h3))!==void 0){d(h3,v2);return v2}},set(h3,v2){if(f2.has(h3)){f2.set(h3,v2)}else{d(h3,v2)}}}},"createLruCache");var Mo="!";var zo=":";var j0=zo.length;var G0=i(u5=>{const{prefix:r3,experimentalParseClassName:f2}=u5;let o6=i(d=>{const h3=[];let v2=0;let y3=0;let p3=0;let g2;for(let H2=0;H2p3?g2-p3:void 0;return{modifiers:h3,hasImportantModifier:D3,baseClassName:A,maybePostfixModifierPosition:w}},"parseClassName");if(r3){const d=r3+zo;const h3=o6;o6=i(v2=>v2.startsWith(d)?h3(v2.substring(d.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:v2,maybePostfixModifierPosition:void 0},"parseClassName")}if(f2){const d=o6;o6=i(h3=>f2({className:h3,parseClassName:d}),"parseClassName")}return o6},"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 r3=Object.fromEntries(u5.orderSensitiveModifiers.map(o6=>[o6,true]));const f2=i(o6=>{if(o6.length<=1){return o6}const d=[];let h3=[];o6.forEach(v2=>{const y3=v2[0]==="["||r3[v2];if(y3){d.push(...h3.sort(),v2);h3=[]}else{h3.push(v2)}});d.push(...h3.sort());return d},"sortModifiers");return f2},"createSortModifiers");var Q0=i(u5=>({cache:Y0(u5.cacheSize),parseClassName:G0(u5),sortModifiers:V0(u5),...H0(u5)}),"createConfigUtils");var Z0=/s+/;var k0=i((u5,r3)=>{const{parseClassName:f2,getClassGroupId:o6,getConflictingClassGroupIds:d,sortModifiers:h3}=r3;const v2=[];const y3=u5.trim().split(Z0);let p3="";for(let g2=y3.length-1;g2>=0;g2-=1){const S3=y3[g2];const{isExternal:A,modifiers:D3,hasImportantModifier:w,baseClassName:H2,maybePostfixModifierPosition:O4}=f2(S3);if(A){p3=S3+(p3.length>0?" "+p3:p3);continue}let U4=!!O4;let Y3=o6(U4?H2.substring(0,O4):H2);if(!Y3){if(!U4){p3=S3+(p3.length>0?" "+p3:p3);continue}Y3=o6(H2);if(!Y3){p3=S3+(p3.length>0?" "+p3:p3);continue}U4=false}const Q4=h3(D3).join(":");const Z3=w?Q4+Mo:Q4;const k3=Z3+Y3;if(v2.includes(k3)){continue}v2.push(k3);const X4=d(Y3,U4);for(let et3=0;et30?" "+p3:p3)}return p3},"mergeClassList");function K0(){let u5=0;let r3;let f2;let o6="";while(u5{if(typeof u5==="string"){return u5}let r3;let f2="";for(let o6=0;o6A(S3),u5());f2=Q0(g2);o6=f2.cache.get;d=f2.cache.set;h3=y3;return y3(p3)}__name(v2,"v");i(v2,"initTailwindMerge");function y3(p3){const g2=o6(p3);if(g2){return g2}const S3=k0(p3,f2);d(p3,S3);return S3}__name(y3,"y");i(y3,"tailwindMerge");return i(__name(function p3(){return h3(K0.apply(null,arguments))},"p"),"callTailwindMerge")}__name(J0,"J0");i(J0,"createTailwindMerge");var Zt=i(u5=>{const r3=i(f2=>f2[u5]||[],"themeGetter");r3.isThemeGetter=true;return r3},"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,r3,f2)=>{const o6=Wh.exec(u5);if(o6){if(o6[1]){return r3(o6[1])}return f2(o6[2])}return false},"getIsArbitraryValue");var ca=i((u5,r3,f2=false)=>{const o6=$h.exec(u5);if(o6){if(o6[1]){return r3(o6[1])}return f2}return false},"getIsArbitraryVariable");var Ph=i(u5=>u5==="position"||u5==="percentage","isLabelPosition");var Ih=i(u5=>u5==="image"||u5==="url","isLabelImage");var tv=i(u5=>u5==="length"||u5==="size"||u5==="bg-size","isLabelSize");var ev=i(u5=>u5==="length","isLabelLength");var sp=i(u5=>u5==="number","isLabelNumber");var dp=i(u5=>u5==="family-name","isLabelFamilyName");var lv=i(u5=>u5==="shadow","isLabelShadow");var mp=i(()=>{const u5=Zt("color");const r3=Zt("font");const f2=Zt("text");const o6=Zt("font-weight");const d=Zt("tracking");const h3=Zt("leading");const v2=Zt("breakpoint");const y3=Zt("container");const p3=Zt("spacing");const g2=Zt("radius");const S3=Zt("shadow");const A=Zt("inset-shadow");const D3=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 Q4=Zt("animate");const Z3=i(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak");const k3=i(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition");const X4=i(()=>[...k3(),tt,I],"scalePositionWithArbitrary");const et3=i(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow");const W5=i(()=>["auto","contain","none"],"scaleOverscroll");const J3=i(()=>[tt,I,p3],"scaleUnambiguousSpacing");const rt4=i(()=>[Fn,"full","auto",...J3()],"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",...J3()],"scaleMargin");const V=i(()=>[Fn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J3()],"scaleSizing");const B3=i(()=>[u5,tt,I],"scaleColor");const ct4=i(()=>[...k3(),sh,fh,{position:[tt,I]}],"scaleBgPosition");const E5=i(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat");const G4=i(()=>["auto","cover","contain",op,ip,{size:[tt,I]}],"scaleBgSize");const $4=i(()=>[ho,ou,rn],"scaleGradientStopPosition");const K4=i(()=>["","none","full",g2,tt,I],"scaleRadius");const F3=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",...J3()],"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,y3]}],"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",y3,...J3()]}],"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:J3()}],"gap-x":[{"gap-x":J3()}],"gap-y":[{"gap-y":J3()}],"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:J3()}],px:[{px:J3()}],py:[{py:J3()}],ps:[{ps:J3()}],pe:[{pe:J3()}],pt:[{pt:J3()}],pr:[{pr:J3()}],pb:[{pb:J3()}],pl:[{pl:J3()}],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":J3()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J3()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[y3,"screen",...V()]}],"min-w":[{"min-w":[y3,"screen","none",...V()]}],"max-w":[{"max-w":[y3,"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",f2,ou,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o6,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,r3]}],"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:[d,tt,I]}],"line-clamp":[{"line-clamp":[dt,"none",tt,vo]}],leading:[{leading:[h3,...J3()]}],"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:B3()}],"text-color":[{text:B3()}],"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:B3()}],"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:J3()}],"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:E5()}],"bg-size":[{bg:G4()}],"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:B3()}],"gradient-from-pos":[{from:$4()}],"gradient-via-pos":[{via:$4()}],"gradient-to-pos":[{to:$4()}],"gradient-from":[{from:B3()}],"gradient-via":[{via:B3()}],"gradient-to":[{to:B3()}],rounded:[{rounded:K4()}],"rounded-s":[{"rounded-s":K4()}],"rounded-e":[{"rounded-e":K4()}],"rounded-t":[{"rounded-t":K4()}],"rounded-r":[{"rounded-r":K4()}],"rounded-b":[{"rounded-b":K4()}],"rounded-l":[{"rounded-l":K4()}],"rounded-ss":[{"rounded-ss":K4()}],"rounded-se":[{"rounded-se":K4()}],"rounded-ee":[{"rounded-ee":K4()}],"rounded-es":[{"rounded-es":K4()}],"rounded-tl":[{"rounded-tl":K4()}],"rounded-tr":[{"rounded-tr":K4()}],"rounded-br":[{"rounded-br":K4()}],"rounded-bl":[{"rounded-bl":K4()}],"border-w":[{border:F3()}],"border-w-x":[{"border-x":F3()}],"border-w-y":[{"border-y":F3()}],"border-w-s":[{"border-s":F3()}],"border-w-e":[{"border-e":F3()}],"border-w-t":[{"border-t":F3()}],"border-w-r":[{"border-r":F3()}],"border-w-b":[{"border-b":F3()}],"border-w-l":[{"border-l":F3()}],"divide-x":[{"divide-x":F3()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F3()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ft3(),"hidden","none"]}],"divide-style":[{divide:[...ft3(),"hidden","none"]}],"border-color":[{border:B3()}],"border-color-x":[{"border-x":B3()}],"border-color-y":[{"border-y":B3()}],"border-color-s":[{"border-s":B3()}],"border-color-e":[{"border-e":B3()}],"border-color-t":[{"border-t":B3()}],"border-color-r":[{"border-r":B3()}],"border-color-b":[{"border-b":B3()}],"border-color-l":[{"border-l":B3()}],"divide-color":[{divide:B3()}],"outline-style":[{outline:[...ft3(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,tt,I]}],"outline-w":[{outline:["",dt,ou,rn]}],"outline-color":[{outline:B3()}],shadow:[{shadow:["","none",S3,Mi,Ri]}],"shadow-color":[{shadow:B3()}],"inset-shadow":[{"inset-shadow":["none",A,Mi,Ri]}],"inset-shadow-color":[{"inset-shadow":B3()}],"ring-w":[{ring:F3()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B3()}],"ring-offset-w":[{"ring-offset":[dt,rn]}],"ring-offset-color":[{"ring-offset":B3()}],"inset-ring-w":[{"inset-ring":F3()}],"inset-ring-color":[{"inset-ring":B3()}],"text-shadow":[{"text-shadow":["none",D3,Mi,Ri]}],"text-shadow-color":[{"text-shadow":B3()}],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":B3()}],"mask-image-linear-to-color":[{"mask-linear-to":B3()}],"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":B3()}],"mask-image-t-to-color":[{"mask-t-to":B3()}],"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":B3()}],"mask-image-r-to-color":[{"mask-r-to":B3()}],"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":B3()}],"mask-image-b-to-color":[{"mask-b-to":B3()}],"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":B3()}],"mask-image-l-to-color":[{"mask-l-to":B3()}],"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":B3()}],"mask-image-x-to-color":[{"mask-x-to":B3()}],"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":B3()}],"mask-image-y-to-color":[{"mask-y-to":B3()}],"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":B3()}],"mask-image-radial-to-color":[{"mask-radial-to":B3()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k3()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":mt3()}],"mask-image-conic-to-pos":[{"mask-conic-to":mt3()}],"mask-image-conic-from-color":[{"mask-conic-from":B3()}],"mask-image-conic-to-color":[{"mask-conic-to":B3()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ct4()}],"mask-repeat":[{mask:E5()}],"mask-size":[{mask:G4()}],"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":B3()}],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":J3()}],"border-spacing-x":[{"border-spacing-x":J3()}],"border-spacing-y":[{"border-spacing-y":J3()}],"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",Q4,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:B3()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B3()}],"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":J3()}],"scroll-mx":[{"scroll-mx":J3()}],"scroll-my":[{"scroll-my":J3()}],"scroll-ms":[{"scroll-ms":J3()}],"scroll-me":[{"scroll-me":J3()}],"scroll-mt":[{"scroll-mt":J3()}],"scroll-mr":[{"scroll-mr":J3()}],"scroll-mb":[{"scroll-mb":J3()}],"scroll-ml":[{"scroll-ml":J3()}],"scroll-p":[{"scroll-p":J3()}],"scroll-px":[{"scroll-px":J3()}],"scroll-py":[{"scroll-py":J3()}],"scroll-ps":[{"scroll-ps":J3()}],"scroll-pe":[{"scroll-pe":J3()}],"scroll-pt":[{"scroll-pt":J3()}],"scroll-pr":[{"scroll-pr":J3()}],"scroll-pb":[{"scroll-pb":J3()}],"scroll-pl":[{"scroll-pl":J3()}],"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",...B3()]}],"stroke-w":[{stroke:[dt,ou,rn,vo]}],stroke:[{stroke:["none",...B3()]}],"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 r3=document.createElement("textarea");r3.innerHTML=u5;const f2=r3.value;r3.remove();return f2}__name(rS,"rS");i(rS,"decodeHtmlEntities");var vp=kh("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function oS({className:u5,variant:r3,asChild:f2=false,...o6}){const d=f2?Vh:"span";return Ht.jsx(d,{"data-slot":"badge",className:nv(vp({variant:r3}),u5),...o6})}__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:r3,size:f2,asChild:o6=false,...d}){const h3=o6?Vh:"button";return Ht.jsx(h3,{"data-slot":"button",className:nv(gp({variant:r3,size:f2,className:u5})),...d})}__name(fS,"fS");i(fS,"Button");function go(u5,r3,{checkForDefaultPrevented:f2=true}={}){return i(__name(function o6(d){u5?.(d);if(f2===false||!d.defaultPrevented){return r3?.(d)}},"o"),"handleEvent")}__name(go,"go");i(go,"composeEventHandlers");function sS(u5,r3){const f2=z.createContext(r3);const o6=i(h3=>{const{children:v2,...y3}=h3;const p3=z.useMemo(()=>y3,Object.values(y3));return Ht.jsx(f2.Provider,{value:p3,children:v2})},"Provider");o6.displayName=u5+"Provider";function d(h3){const v2=z.useContext(f2);if(v2)return v2;if(r3!==void 0)return r3;throw new Error(``${h3}` must be used within `${u5}``)}__name(d,"d");i(d,"useContext2");return[o6,d]}__name(sS,"sS");i(sS,"createContext2");function av(u5,r3=[]){let f2=[];function o6(h3,v2){const y3=z.createContext(v2);const p3=f2.length;f2=[...f2,v2];const g2=i(A=>{const{scope:D3,children:w,...H2}=A;const O4=D3?.[u5]?.[p3]||y3;const U4=z.useMemo(()=>H2,Object.values(H2));return Ht.jsx(O4.Provider,{value:U4,children:w})},"Provider");g2.displayName=h3+"Provider";function S3(A,D3){const w=D3?.[u5]?.[p3]||y3;const H2=z.useContext(w);if(H2)return H2;if(v2!==void 0)return v2;throw new Error(``${A}` must be used within `${h3}``)}__name(S3,"S");i(S3,"useContext2");return[g2,S3]}__name(o6,"o");i(o6,"createContext3");const d=i(()=>{const h3=f2.map(v2=>{return z.createContext(v2)});return i(__name(function v2(y3){const p3=y3?.[u5]||h3;return z.useMemo(()=>({[`__scope${u5}`]:{...y3,[u5]:p3}}),[y3,p3])},"v"),"useScope")},"createScope");d.scopeName=u5;return[o6,yp(d,...r3)]}__name(av,"av");i(av,"createContextScope");function yp(...u5){const r3=u5[0];if(u5.length===1)return r3;const f2=i(()=>{const o6=u5.map(d=>({useScope:d(),scopeName:d.scopeName}));return i(__name(function d(h3){const v2=o6.reduce((y3,{useScope:p3,scopeName:g2})=>{const S3=p3(h3);const A=S3[`__scope${g2}`];return{...y3,...A}},{});return z.useMemo(()=>({[`__scope${r3.scopeName}`]:v2}),[v2])},"d"),"useComposedScopes")},"createScope");f2.scopeName=r3.scopeName;return f2}__name(yp,"yp");i(yp,"composeContextScopes");var na=globalThis?.document?z.useLayoutEffect:()=>{};var pp=Qi[" useInsertionEffect ".trim().toString()]||na;function dS({prop:u5,defaultProp:r3,onChange:f2=i(()=>{},"onChange"),caller:o6}){const[d,h3,v2]=bp({defaultProp:r3,onChange:f2});const y3=u5!==void 0;const p3=y3?u5:d;{const S3=z.useRef(u5!==void 0);z.useEffect(()=>{const A=S3.current;if(A!==y3){const D3=A?"controlled":"uncontrolled";const w=y3?"controlled":"uncontrolled";console.warn(`${o6} is changing from ${D3} 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=y3},[y3,o6])}const g2=z.useCallback(S3=>{if(y3){const A=Sp(S3)?S3(u5):S3;if(A!==u5){v2.current?.(A)}}else{h3(S3)}},[y3,u5,h3,v2]);return[p3,g2]}__name(dS,"dS");i(dS,"useControllableState");function bp({defaultProp:u5,onChange:r3}){const[f2,o6]=z.useState(u5);const d=z.useRef(f2);const h3=z.useRef(r3);pp(()=>{h3.current=r3},[r3]);z.useEffect(()=>{if(d.current!==f2){h3.current?.(f2);d.current=f2}},[f2,d]);return[f2,o6,h3]}__name(bp,"bp");i(bp,"useUncontrolledState");function Sp(u5){return typeof u5==="function"}__name(Sp,"Sp");i(Sp,"isFunction");var Ep=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"];var sn=Ep.reduce((u5,r3)=>{const f2=Yi(`Primitive.${r3}`);const o6=z.forwardRef((d,h3)=>{const{asChild:v2,...y3}=d;const p3=v2?f2:r3;if(typeof window!=="undefined"){window[Symbol.for("radix-ui")]=true}return Ht.jsx(p3,{...y3,ref:h3})});o6.displayName=`Primitive.${r3}`;return{...u5,[r3]:o6}},{});function xp(u5,r3){if(u5)Bo.flushSync(()=>u5.dispatchEvent(r3))}__name(xp,"xp");i(xp,"dispatchDiscreteCustomEvent");function mS(u5){const r3=u5+"CollectionProvider";const[f2,o6]=av(r3);const[d,h3]=f2(r3,{collectionRef:{current:null},itemMap:new Map});const v2=i(O4=>{const{scope:U4,children:Y3}=O4;const Q4=sl.useRef(null);const Z3=sl.useRef(new Map).current;return Ht.jsx(d,{scope:U4,itemMap:Z3,collectionRef:Q4,children:Y3})},"CollectionProvider");v2.displayName=r3;const y3=u5+"CollectionSlot";const p3=Yi(y3);const g2=sl.forwardRef((O4,U4)=>{const{scope:Y3,children:Q4}=O4;const Z3=h3(y3,Y3);const k3=on(U4,Z3.collectionRef);return Ht.jsx(p3,{ref:k3,children:Q4})});g2.displayName=y3;const S3=u5+"CollectionItemSlot";const A="data-radix-collection-item";const D3=Yi(S3);const w=sl.forwardRef((O4,U4)=>{const{scope:Y3,children:Q4,...Z3}=O4;const k3=sl.useRef(null);const X4=on(U4,k3);const et3=h3(S3,Y3);sl.useEffect(()=>{et3.itemMap.set(k3,{ref:k3,...Z3});return()=>void et3.itemMap.delete(k3)});return Ht.jsx(D3,{...{[A]:""},ref:X4,children:Q4})});w.displayName=S3;function H2(O4){const U4=h3(u5+"CollectionConsumer",O4);const Y3=sl.useCallback(()=>{const Q4=U4.collectionRef.current;if(!Q4)return[];const Z3=Array.from(Q4.querySelectorAll(`[${A}]`));const k3=Array.from(U4.itemMap.values());const X4=k3.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,o6]}__name(mS,"mS");i(mS,"createCollection");var Ap=z.createContext(void 0);function hS(u5){const r3=z.useContext(Ap);return u5||r3||"ltr"}__name(hS,"hS");i(hS,"useDirection");function aa(u5){const r3=z.useRef(u5);z.useEffect(()=>{r3.current=u5});return z.useMemo(()=>(...f2)=>r3.current?.(...f2),[])}__name(aa,"aa");i(aa,"useCallbackRef$1");function Tp(u5,r3=globalThis?.document){const f2=aa(u5);z.useEffect(()=>{const o6=i(d=>{if(d.key==="Escape"){f2(d)}},"handleKeyDown");r3.addEventListener("keydown",o6,{capture:true});return()=>r3.removeEventListener("keydown",o6,{capture:true})},[f2,r3])}__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,r3)=>{const{disableOutsidePointerEvents:f2=false,onEscapeKeyDown:o6,onPointerDownOutside:d,onFocusOutside:h3,onInteractOutside:v2,onDismiss:y3,...p3}=u5;const g2=z.useContext(uv);const[S3,A]=z.useState(null);const D3=S3?.ownerDocument??globalThis?.document;const[,w]=z.useState({});const H2=on(r3,W5=>A(W5));const O4=Array.from(g2.layers);const[U4]=[...g2.layersWithOutsidePointerEventsDisabled].slice(-1);const Y3=O4.indexOf(U4);const Q4=S3?O4.indexOf(S3):-1;const Z3=g2.layersWithOutsidePointerEventsDisabled.size>0;const k3=Q4>=Y3;const X4=Cp(W5=>{const J3=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J3));if(!k3||rt4)return;d?.(W5);v2?.(W5);if(!W5.defaultPrevented)y3?.()},D3);const et3=Dp(W5=>{const J3=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J3));if(rt4)return;h3?.(W5);v2?.(W5);if(!W5.defaultPrevented)y3?.()},D3);Tp(W5=>{const J3=Q4===g2.layers.size-1;if(!J3)return;o6?.(W5);if(!W5.defaultPrevented&&y3){W5.preventDefault();y3()}},D3);z.useEffect(()=>{if(!S3)return;if(f2){if(g2.layersWithOutsidePointerEventsDisabled.size===0){dh=D3.body.style.pointerEvents;D3.body.style.pointerEvents="none"}g2.layersWithOutsidePointerEventsDisabled.add(S3)}g2.layers.add(S3);mh();return()=>{if(f2&&g2.layersWithOutsidePointerEventsDisabled.size===1){D3.body.style.pointerEvents=dh}}},[S3,D3,f2,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?k3?"auto":"none":void 0,...u5.style},onFocusCapture:go(u5.onFocusCapture,et3.onFocusCapture),onBlurCapture:go(u5.onBlurCapture,et3.onBlurCapture),onPointerDownCapture:go(u5.onPointerDownCapture,X4.onPointerDownCapture)})});Mp.displayName=Op;var zp="DismissableLayerBranch";var _p=z.forwardRef((u5,r3)=>{const f2=z.useContext(uv);const o6=z.useRef(null);const d=on(r3,o6);z.useEffect(()=>{const h3=o6.current;if(h3){f2.branches.add(h3);return()=>{f2.branches.delete(h3)}}},[f2.branches]);return Ht.jsx(sn.div,{...u5,ref:d})});_p.displayName=zp;function Cp(u5,r3=globalThis?.document){const f2=aa(u5);const o6=z.useRef(false);const d=z.useRef(()=>{});z.useEffect(()=>{const h3=i(y3=>{if(y3.target&&!o6.current){let p3=i(function(){iv(wp,f2,g2,{discrete:true})},"handleAndDispatchPointerDownOutsideEvent2");const g2={originalEvent:y3};if(y3.pointerType==="touch"){r3.removeEventListener("click",d.current);d.current=p3;r3.addEventListener("click",d.current,{once:true})}else{p3()}}else{r3.removeEventListener("click",d.current)}o6.current=false},"handlePointerDown");const v2=window.setTimeout(()=>{r3.addEventListener("pointerdown",h3)},0);return()=>{window.clearTimeout(v2);r3.removeEventListener("pointerdown",h3);r3.removeEventListener("click",d.current)}},[r3,f2]);return{onPointerDownCapture:i(()=>o6.current=true,"onPointerDownCapture")}}__name(Cp,"Cp");i(Cp,"usePointerDownOutside");function Dp(u5,r3=globalThis?.document){const f2=aa(u5);const o6=z.useRef(false);z.useEffect(()=>{const d=i(h3=>{if(h3.target&&!o6.current){const v2={originalEvent:h3};iv(Rp,f2,v2,{discrete:false})}},"handleFocus");r3.addEventListener("focusin",d);return()=>r3.removeEventListener("focusin",d)},[r3,f2]);return{onFocusCapture:i(()=>o6.current=true,"onFocusCapture"),onBlurCapture:i(()=>o6.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,r3,f2,{discrete:o6}){const d=f2.originalEvent.target;const h3=new CustomEvent(u5,{bubbles:false,cancelable:true,detail:f2});if(r3)d.addEventListener(u5,r3,{once:true});if(o6){xp(d,h3)}else{d.dispatchEvent(h3)}}__name(iv,"iv");i(iv,"handleAndDispatchCustomEvent");var yo=0;function vS(){z.useEffect(()=>{const u5=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",u5[0]??hh());document.body.insertAdjacentElement("beforeend",u5[1]??hh());yo++;return()=>{if(yo===1){document.querySelectorAll("[data-radix-focus-guard]").forEach(r3=>r3.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,r3)=>{const{loop:f2=false,trapped:o6=false,onMountAutoFocus:d,onUnmountAutoFocus:h3,...v2}=u5;const[y3,p3]=z.useState(null);const g2=aa(d);const S3=aa(h3);const A=z.useRef(null);const D3=on(r3,O4=>p3(O4));const w=z.useRef({paused:false,pause(){this.paused=true},resume(){this.paused=false}}).current;z.useEffect(()=>{if(o6){let O4=i(function(Z3){if(w.paused||!y3)return;const k3=Z3.target;if(y3.contains(k3)){A.current=k3}else{jl(A.current,{select:true})}},"handleFocusIn2"),U4=i(function(Z3){if(w.paused||!y3)return;const k3=Z3.relatedTarget;if(k3===null)return;if(!y3.contains(k3)){jl(A.current,{select:true})}},"handleFocusOut2"),Y3=i(function(Z3){const k3=document.activeElement;if(k3!==document.body)return;for(const X4 of Z3){if(X4.removedNodes.length>0)jl(y3)}},"handleMutations2");document.addEventListener("focusin",O4);document.addEventListener("focusout",U4);const Q4=new MutationObserver(Y3);if(y3)Q4.observe(y3,{childList:true,subtree:true});return()=>{document.removeEventListener("focusin",O4);document.removeEventListener("focusout",U4);Q4.disconnect()}}},[o6,y3,w.paused]);z.useEffect(()=>{if(y3){yh.add(w);const O4=document.activeElement;const U4=y3.contains(O4);if(!U4){const Y3=new CustomEvent(po,vh);y3.addEventListener(po,g2);y3.dispatchEvent(Y3);if(!Y3.defaultPrevented){Hp(jp(cv(y3)),{select:true});if(document.activeElement===O4){jl(y3)}}}return()=>{y3.removeEventListener(po,g2);setTimeout(()=>{const Y3=new CustomEvent(bo,vh);y3.addEventListener(bo,S3);y3.dispatchEvent(Y3);if(!Y3.defaultPrevented){jl(O4??document.body,{select:true})}y3.removeEventListener(bo,S3);yh.remove(w)},0)}}},[y3,g2,S3,w]);const H2=z.useCallback(O4=>{if(!f2&&!o6)return;if(w.paused)return;const U4=O4.key==="Tab"&&!O4.altKey&&!O4.ctrlKey&&!O4.metaKey;const Y3=document.activeElement;if(U4&&Y3){const Q4=O4.currentTarget;const[Z3,k3]=Bp(Q4);const X4=Z3&&k3;if(!X4){if(Y3===Q4)O4.preventDefault()}else{if(!O4.shiftKey&&Y3===k3){O4.preventDefault();if(f2)jl(Z3,{select:true})}else if(O4.shiftKey&&Y3===Z3){O4.preventDefault();if(f2)jl(k3,{select:true})}}}},[f2,o6,w.paused]);return Ht.jsx(sn.div,{tabIndex:-1,...v2,ref:D3,onKeyDown:H2})});Up.displayName=Np;function Hp(u5,{select:r3=false}={}){const f2=document.activeElement;for(const o6 of u5){jl(o6,{select:r3});if(document.activeElement!==f2)return}}__name(Hp,"Hp");i(Hp,"focusFirst");function Bp(u5){const r3=cv(u5);const f2=gh(r3,u5);const o6=gh(r3.reverse(),u5);return[f2,o6]}__name(Bp,"Bp");i(Bp,"getTabbableEdges");function cv(u5){const r3=[];const f2=document.createTreeWalker(u5,NodeFilter.SHOW_ELEMENT,{acceptNode:i(o6=>{const d=o6.tagName==="INPUT"&&o6.type==="hidden";if(o6.disabled||o6.hidden||d)return NodeFilter.FILTER_SKIP;return o6.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(f2.nextNode())r3.push(f2.currentNode);return r3}__name(cv,"cv");i(cv,"getTabbableCandidates");function gh(u5,r3){for(const f2 of u5){if(!Lp(f2,{upTo:r3}))return f2}}__name(gh,"gh");i(gh,"findVisible");function Lp(u5,{upTo:r3}){if(getComputedStyle(u5).visibility==="hidden")return true;while(u5){if(r3!==void 0&&u5===r3)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:r3=false}={}){if(u5&&u5.focus){const f2=document.activeElement;u5.focus({preventScroll:true});if(u5!==f2&&qp(u5)&&r3)u5.select()}}__name(jl,"jl");i(jl,"focus");var yh=Yp();function Yp(){let u5=[];return{add(r3){const f2=u5[0];if(r3!==f2){f2?.pause()}u5=ph(u5,r3);u5.unshift(r3)},remove(r3){u5=ph(u5,r3);u5[0]?.resume()}}}__name(Yp,"Yp");i(Yp,"createFocusScopesStack");function ph(u5,r3){const f2=[...u5];const o6=f2.indexOf(r3);if(o6!==-1){f2.splice(o6,1)}return f2}__name(ph,"ph");i(ph,"arrayRemove");function jp(u5){return u5.filter(r3=>r3.tagName!=="A")}__name(jp,"jp");i(jp,"removeLinks");var Gp=Qi[" useId ".trim().toString()]||(()=>void 0);var Xp=0;function gS(u5){const[r3,f2]=z.useState(Gp());na(()=>{f2(o6=>o6??String(Xp++))},[u5]);return u5||(r3?`radix-${r3}`:"")}__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,r3,f2){return pe(u5,Gl(r3,f2))}__name(Co,"Co");i(Co,"clamp");function dl(u5,r3){return typeof u5==="function"?u5(r3):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,r3,f2){if(f2===void 0){f2=false}const o6=ra(u5);const d=Xo(u5);const h3=Go(d);let v2=d==="x"?o6===(f2?"end":"start")?"right":"left":o6==="start"?"bottom":"top";if(r3.reference[h3]>r3.floating[h3]){v2=Gi(v2)}return[v2,Gi(v2)]}__name(Kp,"Kp");i(Kp,"getAlignmentSides");function Jp(u5){const r3=Gi(u5);return[Do(u5),r3,Do(r3)]}__name(Jp,"Jp");i(Jp,"getExpandedPlacements");function Do(u5){return u5.replace(/start|end/g,r3=>Zp[r3])}__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,r3,f2){switch(u5){case"top":case"bottom":if(f2)return r3?Sh:bh;return r3?bh:Sh;case"left":case"right":return r3?Wp:$p;default:return[]}}__name(Fp,"Fp");i(Fp,"getSideList");function Pp(u5,r3,f2,o6){const d=ra(u5);let h3=Fp(ml(u5),f2==="start",o6);if(d){h3=h3.map(v2=>v2+"-"+d);if(r3){h3=h3.concat(h3.map(Do))}}return h3}__name(Pp,"Pp");i(Pp,"getOppositeAxisPlacements");function Gi(u5){return u5.replace(/left|right|bottom|top/g,r3=>Qp[r3])}__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:r3,y:f2,width:o6,height:d}=u5;return{width:o6,height:d,top:f2,left:r3,right:r3+o6,bottom:f2+d,x:r3,y:f2}}__name(Xi,"Xi");i(Xi,"rectToClientRect");function Eh(u5,r3,f2){let{reference:o6,floating:d}=u5;const h3=Ze(r3);const v2=Xo(r3);const y3=Go(v2);const p3=ml(r3);const g2=h3==="y";const S3=o6.x+o6.width/2-d.width/2;const A=o6.y+o6.height/2-d.height/2;const D3=o6[y3]/2-d[y3]/2;let w;switch(p3){case"top":w={x:S3,y:o6.y-d.height};break;case"bottom":w={x:S3,y:o6.y+o6.height};break;case"right":w={x:o6.x+o6.width,y:A};break;case"left":w={x:o6.x-d.width,y:A};break;default:w={x:o6.x,y:o6.y}}switch(ra(r3)){case"start":w[v2]-=D3*(f2&&g2?-1:1);break;case"end":w[v2]+=D3*(f2&&g2?-1:1);break}return w}__name(Eh,"Eh");i(Eh,"computeCoordsFromPlacement");var tb=i(async(u5,r3,f2)=>{const{placement:o6="bottom",strategy:d="absolute",middleware:h3=[],platform:v2}=f2;const y3=h3.filter(Boolean);const p3=await(v2.isRTL==null?void 0:v2.isRTL(r3));let g2=await v2.getElementRects({reference:u5,floating:r3,strategy:d});let{x:S3,y:A}=Eh(g2,o6,p3);let D3=o6;let w={};let H2=0;for(let O4=0;O4({name:"arrow",options:u5,async fn(r3){const{x:f2,y:o6,placement:d,rects:h3,platform:v2,elements:y3,middlewareData:p3}=r3;const{element:g2,padding:S3=0}=dl(u5,r3)||{};if(g2==null){return{}}const A=rv(S3);const D3={x:f2,y:o6};const w=Xo(d);const H2=Go(w);const O4=await v2.getDimensions(g2);const U4=w==="y";const Y3=U4?"top":"left";const Q4=U4?"bottom":"right";const Z3=U4?"clientHeight":"clientWidth";const k3=h3.reference[H2]+h3.reference[w]-D3[w]-h3.floating[H2];const X4=D3[w]-h3.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=y3.floating[Z3]||h3.floating[H2]}const J3=k3/2-X4/2;const rt4=W5/2-O4[H2]/2-1;const Et3=Gl(A[Y3],rt4);const Mt2=Gl(A[Q4],rt4);const vt2=Et3;const Ot2=W5-O4[H2]-Mt2;const St2=W5/2-O4[H2]/2+J3;const gt3=Co(vt2,St2,Ot2);const C2=!p3.arrow&&ra(d)!=null&&St2!==gt3&&h3.reference[H2]/2-(St2St2<=0)){var Mt2,vt2;const St2=(((Mt2=h3.flip)==null?void 0:Mt2.index)||0)+1;const gt3=W5[St2];if(gt3){const V=A==="alignment"?Q4!==Ze(gt3):false;if(!V||Et3.every(B3=>B3.overflows[0]>0&&Ze(B3.placement)===Q4)){return{data:{index:St2,overflows:Et3},reset:{placement:gt3}}}}let C2=(vt2=Et3.filter(V=>V.overflows[0]<=0).sort((V,B3)=>V.overflows[1]-B3.overflows[1])[0])==null?void 0:vt2.placement;if(!C2){switch(w){case"bestFit":{var Ot2;const V=(Ot2=Et3.filter(B3=>{if(et3){const ct4=Ze(B3.placement);return ct4===Q4||ct4==="y"}return true}).map(B3=>[B3.placement,B3.overflows.filter(ct4=>ct4>0).reduce((ct4,E5)=>ct4+E5,0)]).sort((B3,ct4)=>B3[1]-ct4[1])[0])==null?void 0:Ot2[0];if(V){C2=V}break}case"initialPlacement":C2=y3;break}}if(d!==C2){return{reset:{placement:C2}}}}return{}}}},"flip$2");function xh(u5,r3){return{top:u5.top-r3.height,right:u5.right-r3.width,bottom:u5.bottom-r3.height,left:u5.left-r3.width}}__name(xh,"xh");i(xh,"getSideOffsets");function Ah(u5){return Vp.some(r3=>u5[r3]>=0)}__name(Ah,"Ah");i(Ah,"isAnySideFullyClipped");var nb=i(function(u5){if(u5===void 0){u5={}}return{name:"hide",options:u5,async fn(r3){const{rects:f2}=r3;const{strategy:o6="referenceHidden",...d}=dl(u5,r3);switch(o6){case"referenceHidden":{const h3=await fu(r3,{...d,elementContext:"reference"});const v2=xh(h3,f2.reference);return{data:{referenceHiddenOffsets:v2,referenceHidden:Ah(v2)}}}case"escaped":{const h3=await fu(r3,{...d,altBoundary:true});const v2=xh(h3,f2.floating);return{data:{escapedOffsets:v2,escaped:Ah(v2)}}}default:{return{}}}}}},"hide$2");var ov=new Set(["left","top"]);async function ab(u5,r3){const{placement:f2,platform:o6,elements:d}=u5;const h3=await(o6.isRTL==null?void 0:o6.isRTL(d.floating));const v2=ml(f2);const y3=ra(f2);const p3=Ze(f2)==="y";const g2=ov.has(v2)?-1:1;const S3=h3&&p3?-1:1;const A=dl(r3,u5);let{mainAxis:D3,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(y3&&typeof H2==="number"){w=y3==="end"?H2*-1:H2}return p3?{x:w*S3,y:D3*g2}:{x:D3*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(r3){var f2,o6;const{x:d,y:h3,placement:v2,middlewareData:y3}=r3;const p3=await ab(r3,u5);if(v2===((f2=y3.offset)==null?void 0:f2.placement)&&(o6=y3.arrow)!=null&&o6.alignmentOffset){return{}}return{x:d+p3.x,y:h3+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(r3){const{x:f2,y:o6,placement:d}=r3;const{mainAxis:h3=true,crossAxis:v2=false,limiter:y3={fn:i(U4=>{let{x:Y3,y:Q4}=U4;return{x:Y3,y:Q4}},"fn")},...p3}=dl(u5,r3);const g2={x:f2,y:o6};const S3=await fu(r3,p3);const A=Ze(ml(d));const D3=jo(A);let w=g2[D3];let H2=g2[A];if(h3){const U4=D3==="y"?"top":"left";const Y3=D3==="y"?"bottom":"right";const Q4=w+S3[U4];const Z3=w-S3[Y3];w=Co(Q4,w,Z3)}if(v2){const U4=A==="y"?"top":"left";const Y3=A==="y"?"bottom":"right";const Q4=H2+S3[U4];const Z3=H2-S3[Y3];H2=Co(Q4,H2,Z3)}const O4=y3.fn({...r3,[D3]:w,[A]:H2});return{...O4,data:{x:O4.x-f2,y:O4.y-o6,enabled:{[D3]:h3,[A]:v2}}}}}},"shift$2");var cb=i(function(u5){if(u5===void 0){u5={}}return{options:u5,fn(r3){const{x:f2,y:o6,placement:d,rects:h3,middlewareData:v2}=r3;const{offset:y3=0,mainAxis:p3=true,crossAxis:g2=true}=dl(u5,r3);const S3={x:f2,y:o6};const A=Ze(d);const D3=jo(A);let w=S3[D3];let H2=S3[A];const O4=dl(y3,r3);const U4=typeof O4==="number"?{mainAxis:O4,crossAxis:0}:{mainAxis:0,crossAxis:0,...O4};if(p3){const Z3=D3==="y"?"height":"width";const k3=h3.reference[D3]-h3.floating[Z3]+U4.mainAxis;const X4=h3.reference[D3]+h3.reference[Z3]-U4.mainAxis;if(wX4){w=X4}}if(g2){var Y3,Q4;const Z3=D3==="y"?"width":"height";const k3=ov.has(ml(d));const X4=h3.reference[A]-h3.floating[Z3]+(k3?((Y3=v2.offset)==null?void 0:Y3[A])||0:0)+(k3?0:U4.crossAxis);const et3=h3.reference[A]+h3.reference[Z3]+(k3?0:((Q4=v2.offset)==null?void 0:Q4[A])||0)-(k3?U4.crossAxis:0);if(H2et3){H2=et3}}return{[D3]:w,[A]:H2}}}},"limitShift$2");var rb=i(function(u5){if(u5===void 0){u5={}}return{name:"size",options:u5,async fn(r3){var f2,o6;const{placement:d,rects:h3,platform:v2,elements:y3}=r3;const{apply:p3=i(()=>{},"apply"),...g2}=dl(u5,r3);const S3=await fu(r3,g2);const A=ml(d);const D3=ra(d);const w=Ze(d)==="y";const{width:H2,height:O4}=h3.floating;let U4;let Y3;if(A==="top"||A==="bottom"){U4=A;Y3=D3===(await(v2.isRTL==null?void 0:v2.isRTL(y3.floating))?"start":"end")?"left":"right"}else{Y3=A;U4=D3==="end"?"top":"bottom"}const Q4=O4-S3.top-S3.bottom;const Z3=H2-S3.left-S3.right;const k3=Gl(O4-S3[U4],Q4);const X4=Gl(H2-S3[Y3],Z3);const et3=!r3.middlewareData.shift;let W5=k3;let J3=X4;if((f2=r3.middlewareData.shift)!=null&&f2.enabled.x){J3=Z3}if((o6=r3.middlewareData.shift)!=null&&o6.enabled.y){W5=Q4}if(et3&&!D3){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){J3=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({...r3,availableWidth:J3,availableHeight:W5});const rt4=await v2.getDimensions(y3.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 r3;return(u5==null||(r3=u5.ownerDocument)==null?void 0:r3.defaultView)||window}__name(be,"be");i(be,"getWindow");function Je(u5){var r3;return(r3=(fv(u5)?u5.ownerDocument:u5.document)||window.document)==null?void 0:r3.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:r3,overflowX:f2,overflowY:o6,display:d}=Ue(u5);return/auto|scroll|overlay|hidden|clip/.test(r3+o6+f2)&&!ob.has(d)}__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(r3=>{try{return u5.matches(r3)}catch(f2){return false}})}__name(ki,"ki");i(ki,"isTopLayer");var mb=["transform","translate","scale","rotate","perspective"];var hb=["transform","translate","scale","rotate","perspective","filter"];var vb=["paint","layout","strict","content"];function Vo(u5){const r3=Qo();const f2=Ne(u5)?Ue(u5):u5;return mb.some(o6=>f2[o6]?f2[o6]!=="none":false)||(f2.containerType?f2.containerType!=="normal":false)||!r3&&(f2.backdropFilter?f2.backdropFilter!=="none":false)||!r3&&(f2.filter?f2.filter!=="none":false)||hb.some(o6=>(f2.willChange||"").includes(o6))||vb.some(o6=>(f2.contain||"").includes(o6))}__name(Vo,"Vo");i(Vo,"isContainingBlock");function gb(u5){let r3=Xl(u5);while(Ke(r3)&&!ua(r3)){if(Vo(r3)){return r3}else if(ki(r3)){return null}r3=Xl(r3)}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 r3=u5.assignedSlot||u5.parentNode||Th(u5)&&u5.host||Je(u5);return Th(r3)?r3.host:r3}__name(Xl,"Xl");i(Xl,"getParentNode");function sv(u5){const r3=Xl(u5);if(ua(r3)){return u5.ownerDocument?u5.ownerDocument.body:u5.body}if(Ke(r3)&&du(r3)){return r3}return sv(r3)}__name(sv,"sv");i(sv,"getNearestOverflowAncestor");function su(u5,r3,f2){var o6;if(r3===void 0){r3=[]}if(f2===void 0){f2=true}const d=sv(u5);const h3=d===((o6=u5.ownerDocument)==null?void 0:o6.body);const v2=be(d);if(h3){const y3=No(v2);return r3.concat(v2,v2.visualViewport||[],du(d)?d:[],y3&&f2?su(y3):[])}return r3.concat(d,su(d,[],f2))}__name(su,"su");i(su,"getOverflowAncestors");function No(u5){return u5.parent&&Object.getPrototypeOf(u5.parent)?u5.frameElement:null}__name(No,"No");i(No,"getFrameElement");function dv(u5){const r3=Ue(u5);let f2=parseFloat(r3.width)||0;let o6=parseFloat(r3.height)||0;const d=Ke(u5);const h3=d?u5.offsetWidth:f2;const v2=d?u5.offsetHeight:o6;const y3=ji(f2)!==h3||ji(o6)!==v2;if(y3){f2=h3;o6=v2}return{width:f2,height:o6,$:y3}}__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 r3=Zo(u5);if(!Ke(r3)){return ke(1)}const f2=r3.getBoundingClientRect();const{width:o6,height:d,$:h3}=dv(r3);let v2=(h3?ji(f2.width):f2.width)/o6;let y3=(h3?ji(f2.height):f2.height)/d;if(!v2||!Number.isFinite(v2)){v2=1}if(!y3||!Number.isFinite(y3)){y3=1}return{x:v2,y:y3}}__name(ea,"ea");i(ea,"getScale");var pb=ke(0);function mv(u5){const r3=be(u5);if(!Qo()||!r3.visualViewport){return pb}return{x:r3.visualViewport.offsetLeft,y:r3.visualViewport.offsetTop}}__name(mv,"mv");i(mv,"getVisualOffsets");function bb(u5,r3,f2){if(r3===void 0){r3=false}if(!f2||r3&&f2!==be(u5)){return false}return r3}__name(bb,"bb");i(bb,"shouldAddVisualOffsets");function fn(u5,r3,f2,o6){if(r3===void 0){r3=false}if(f2===void 0){f2=false}const d=u5.getBoundingClientRect();const h3=Zo(u5);let v2=ke(1);if(r3){if(o6){if(Ne(o6)){v2=ea(o6)}}else{v2=ea(u5)}}const y3=bb(h3,f2,o6)?mv(h3):ke(0);let p3=(d.left+y3.x)/v2.x;let g2=(d.top+y3.y)/v2.y;let S3=d.width/v2.x;let A=d.height/v2.y;if(h3){const D3=be(h3);const w=o6&&Ne(o6)?be(o6):o6;let H2=D3;let O4=No(H2);while(O4&&o6&&w!==H2){const U4=ea(O4);const Y3=O4.getBoundingClientRect();const Q4=Ue(O4);const Z3=Y3.left+(O4.clientLeft+parseFloat(Q4.paddingLeft))*U4.x;const k3=Y3.top+(O4.clientTop+parseFloat(Q4.paddingTop))*U4.y;p3*=U4.x;g2*=U4.y;S3*=U4.x;A*=U4.y;p3+=Z3;g2+=k3;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,r3){const f2=Ki(u5).scrollLeft;if(!r3){return fn(Je(u5)).left+f2}return r3.left+f2}__name(ko,"ko");i(ko,"getWindowScrollBarX");function hv(u5,r3,f2){if(f2===void 0){f2=false}const o6=u5.getBoundingClientRect();const d=o6.left+r3.scrollLeft-(f2?0:ko(u5,o6));const h3=o6.top+r3.scrollTop;return{x:d,y:h3}}__name(hv,"hv");i(hv,"getHTMLOffset");function Sb(u5){let{elements:r3,rect:f2,offsetParent:o6,strategy:d}=u5;const h3=d==="fixed";const v2=Je(o6);const y3=r3?ki(r3.floating):false;if(o6===v2||y3&&h3){return f2}let p3={scrollLeft:0,scrollTop:0};let g2=ke(1);const S3=ke(0);const A=Ke(o6);if(A||!A&&!h3){if(oa(o6)!=="body"||du(v2)){p3=Ki(o6)}if(Ke(o6)){const w=fn(o6);g2=ea(o6);S3.x=w.x+o6.clientLeft;S3.y=w.y+o6.clientTop}}const D3=v2&&!A&&!h3?hv(v2,p3,true):ke(0);return{width:f2.width*g2.x,height:f2.height*g2.y,x:f2.x*g2.x-p3.scrollLeft*g2.x+S3.x+D3.x,y:f2.y*g2.y-p3.scrollTop*g2.y+S3.y+D3.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 r3=Je(u5);const f2=Ki(u5);const o6=u5.ownerDocument.body;const d=pe(r3.scrollWidth,r3.clientWidth,o6.scrollWidth,o6.clientWidth);const h3=pe(r3.scrollHeight,r3.clientHeight,o6.scrollHeight,o6.clientHeight);let v2=-f2.scrollLeft+ko(u5);const y3=-f2.scrollTop;if(Ue(o6).direction==="rtl"){v2+=pe(r3.clientWidth,o6.clientWidth)-d}return{width:d,height:h3,x:v2,y:y3}}__name(xb,"xb");i(xb,"getDocumentRect");function Ab(u5,r3){const f2=be(u5);const o6=Je(u5);const d=f2.visualViewport;let h3=o6.clientWidth;let v2=o6.clientHeight;let y3=0;let p3=0;if(d){h3=d.width;v2=d.height;const g2=Qo();if(!g2||g2&&r3==="fixed"){y3=d.offsetLeft;p3=d.offsetTop}}return{width:h3,height:v2,x:y3,y:p3}}__name(Ab,"Ab");i(Ab,"getViewportRect");var Tb=new Set(["absolute","fixed"]);function Ob(u5,r3){const f2=fn(u5,true,r3==="fixed");const o6=f2.top+u5.clientTop;const d=f2.left+u5.clientLeft;const h3=Ke(u5)?ea(u5):ke(1);const v2=u5.clientWidth*h3.x;const y3=u5.clientHeight*h3.y;const p3=d*h3.x;const g2=o6*h3.y;return{width:v2,height:y3,x:p3,y:g2}}__name(Ob,"Ob");i(Ob,"getInnerBoundingClientRect");function Oh(u5,r3,f2){let o6;if(r3==="viewport"){o6=Ab(u5,f2)}else if(r3==="document"){o6=xb(Je(u5))}else if(Ne(r3)){o6=Ob(r3,f2)}else{const d=mv(u5);o6={x:r3.x-d.x,y:r3.y-d.y,width:r3.width,height:r3.height}}return Xi(o6)}__name(Oh,"Oh");i(Oh,"getClientRectFromClippingAncestor");function vv(u5,r3){const f2=Xl(u5);if(f2===r3||!Ne(f2)||ua(f2)){return false}return Ue(f2).position==="fixed"||vv(f2,r3)}__name(vv,"vv");i(vv,"hasFixedPositionAncestor");function wb(u5,r3){const f2=r3.get(u5);if(f2){return f2}let o6=su(u5,[],false).filter(y3=>Ne(y3)&&oa(y3)!=="body");let d=null;const h3=Ue(u5).position==="fixed";let v2=h3?Xl(u5):u5;while(Ne(v2)&&!ua(v2)){const y3=Ue(v2);const p3=Vo(v2);if(!p3&&y3.position==="fixed"){d=null}const g2=h3?!p3&&!d:!p3&&y3.position==="static"&&!!d&&Tb.has(d.position)||du(v2)&&!p3&&vv(u5,v2);if(g2){o6=o6.filter(S3=>S3!==v2)}else{d=y3}v2=Xl(v2)}r3.set(u5,o6);return o6}__name(wb,"wb");i(wb,"getClippingElementAncestors");function Rb(u5){let{element:r3,boundary:f2,rootBoundary:o6,strategy:d}=u5;const h3=f2==="clippingAncestors"?ki(r3)?[]:wb(r3,this._c):[].concat(f2);const v2=[...h3,o6];const y3=v2[0];const p3=v2.reduce((g2,S3)=>{const A=Oh(r3,S3,d);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(r3,y3,d));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:r3,height:f2}=dv(u5);return{width:r3,height:f2}}__name(Mb,"Mb");i(Mb,"getDimensions");function zb(u5,r3,f2){const o6=Ke(r3);const d=Je(r3);const h3=f2==="fixed";const v2=fn(u5,true,h3,r3);let y3={scrollLeft:0,scrollTop:0};const p3=ke(0);function g2(){p3.x=ko(d)}__name(g2,"g");i(g2,"setLeftRTLScrollbarOffset");if(o6||!o6&&!h3){if(oa(r3)!=="body"||du(d)){y3=Ki(r3)}if(o6){const w=fn(r3,true,h3,r3);p3.x=w.x+r3.clientLeft;p3.y=w.y+r3.clientTop}else if(d){g2()}}if(h3&&!o6&&d){g2()}const S3=d&&!o6&&!h3?hv(d,y3):ke(0);const A=v2.left+y3.scrollLeft-p3.x-S3.x;const D3=v2.top+y3.scrollTop-p3.y-S3.y;return{x:A,y:D3,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,r3){if(!Ke(u5)||Ue(u5).position==="fixed"){return null}if(r3){return r3(u5)}let f2=u5.offsetParent;if(Je(u5)===f2){f2=f2.ownerDocument.body}return f2}__name(wh,"wh");i(wh,"getTrueOffsetParent");function gv(u5,r3){const f2=be(u5);if(ki(u5)){return f2}if(!Ke(u5)){let d=Xl(u5);while(d&&!ua(d)){if(Ne(d)&&!So(d)){return d}d=Xl(d)}return f2}let o6=wh(u5,r3);while(o6&&sb(o6)&&So(o6)){o6=wh(o6,r3)}if(o6&&ua(o6)&&So(o6)&&!Vo(o6)){return f2}return o6||gb(u5)||f2}__name(gv,"gv");i(gv,"getOffsetParent");var _b=i(async function(u5){const r3=this.getOffsetParent||gv;const f2=this.getDimensions;const o6=await f2(u5.floating);return{reference:zb(u5.reference,await r3(u5.floating),u5.strategy),floating:{x:0,y:0,width:o6.width,height:o6.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,r3){return u5.x===r3.x&&u5.y===r3.y&&u5.width===r3.width&&u5.height===r3.height}__name(yv,"yv");i(yv,"rectsAreEqual");function Nb(u5,r3){let f2=null;let o6;const d=Je(u5);function h3(){var y3;clearTimeout(o6);(y3=f2)==null||y3.disconnect();f2=null}__name(h3,"h");i(h3,"cleanup");function v2(y3,p3){if(y3===void 0){y3=false}if(p3===void 0){p3=1}h3();const g2=u5.getBoundingClientRect();const{left:S3,top:A,width:D3,height:w}=g2;if(!y3){r3()}if(!D3||!w){return}const H2=zi(A);const O4=zi(d.clientWidth-(S3+D3));const U4=zi(d.clientHeight-(A+w));const Y3=zi(S3);const Q4=-H2+"px "+-O4+"px "+-U4+"px "+-Y3+"px";const Z3={rootMargin:Q4,threshold:pe(0,Gl(1,p3))||1};let k3=true;function X4(et3){const W5=et3[0].intersectionRatio;if(W5!==p3){if(!k3){return v2()}if(!W5){o6=setTimeout(()=>{v2(false,1e-7)},1e3)}else{v2(false,W5)}}if(W5===1&&!yv(g2,u5.getBoundingClientRect())){v2()}k3=false}__name(X4,"X");i(X4,"handleObserve");try{f2=new IntersectionObserver(X4,{...Z3,root:d.ownerDocument})}catch(et3){f2=new IntersectionObserver(X4,Z3)}f2.observe(u5)}__name(v2,"v");i(v2,"refresh");v2(true);return h3}__name(Nb,"Nb");i(Nb,"observeMove");function Ub(u5,r3,f2,o6){if(o6===void 0){o6={}}const{ancestorScroll:d=true,ancestorResize:h3=true,elementResize:v2=typeof ResizeObserver==="function",layoutShift:y3=typeof IntersectionObserver==="function",animationFrame:p3=false}=o6;const g2=Zo(u5);const S3=d||h3?[...g2?su(g2):[],...su(r3)]:[];S3.forEach(Y3=>{d&&Y3.addEventListener("scroll",f2,{passive:true});h3&&Y3.addEventListener("resize",f2)});const A=g2&&y3?Nb(g2,f2):null;let D3=-1;let w=null;if(v2){w=new ResizeObserver(Y3=>{let[Q4]=Y3;if(Q4&&Q4.target===g2&&w){w.unobserve(r3);cancelAnimationFrame(D3);D3=requestAnimationFrame(()=>{var Z3;(Z3=w)==null||Z3.observe(r3)})}f2()});if(g2&&!p3){w.observe(g2)}w.observe(r3)}let H2;let O4=p3?fn(u5):null;if(p3){U4()}function U4(){const Y3=fn(u5);if(O4&&!yv(O4,Y3)){f2()}O4=Y3;H2=requestAnimationFrame(U4)}__name(U4,"U");i(U4,"frameLoop");f2();return()=>{var Y3;S3.forEach(Q4=>{d&&Q4.removeEventListener("scroll",f2);h3&&Q4.removeEventListener("resize",f2)});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,r3,f2)=>{const o6=new Map;const d={platform:Db,...f2};const h3={...d.platform,_c:o6};return tb(u5,r3,{...d,platform:h3})},"computePosition");var Xb=typeof document!=="undefined";var Vb=i(__name(function u(){},"u"),"noop");var Ui=Xb?z.useLayoutEffect:Vb;function Vi(u5,r3){if(u5===r3){return true}if(typeof u5!==typeof r3){return false}if(typeof u5==="function"&&u5.toString()===r3.toString()){return true}let f2;let o6;let d;if(u5&&r3&&typeof u5==="object"){if(Array.isArray(u5)){f2=u5.length;if(f2!==r3.length)return false;for(o6=f2;o6--!==0;){if(!Vi(u5[o6],r3[o6])){return false}}return true}d=Object.keys(u5);f2=d.length;if(f2!==Object.keys(r3).length){return false}for(o6=f2;o6--!==0;){if(!{}.hasOwnProperty.call(r3,d[o6])){return false}}for(o6=f2;o6--!==0;){const h3=d[o6];if(h3==="_owner"&&u5.$$typeof){continue}if(!Vi(u5[h3],r3[h3])){return false}}return true}return u5!==u5&&r3!==r3}__name(Vi,"Vi");i(Vi,"deepEqual");function pv(u5){if(typeof window==="undefined"){return 1}const r3=u5.ownerDocument.defaultView||window;return r3.devicePixelRatio||1}__name(pv,"pv");i(pv,"getDPR");function Mh(u5,r3){const f2=pv(u5);return Math.round(r3*f2)/f2}__name(Mh,"Mh");i(Mh,"roundByDPR");function Eo(u5){const r3=z.useRef(u5);Ui(()=>{r3.current=u5});return r3}__name(Eo,"Eo");i(Eo,"useLatestRef");function Qb(u5){if(u5===void 0){u5={}}const{placement:r3="bottom",strategy:f2="absolute",middleware:o6=[],platform:d,elements:{reference:h3,floating:v2}={},transform:y3=true,whileElementsMounted:p3,open:g2}=u5;const[S3,A]=z.useState({x:0,y:0,strategy:f2,placement:r3,middlewareData:{},isPositioned:false});const[D3,w]=z.useState(o6);if(!Vi(D3,o6)){w(o6)}const[H2,O4]=z.useState(null);const[U4,Y3]=z.useState(null);const Q4=z.useCallback(B3=>{if(B3!==et3.current){et3.current=B3;O4(B3)}},[]);const Z3=z.useCallback(B3=>{if(B3!==W5.current){W5.current=B3;Y3(B3)}},[]);const k3=h3||H2;const X4=v2||U4;const et3=z.useRef(null);const W5=z.useRef(null);const J3=z.useRef(S3);const rt4=p3!=null;const Et3=Eo(p3);const Mt2=Eo(d);const vt2=Eo(g2);const Ot2=z.useCallback(()=>{if(!et3.current||!W5.current){return}const B3={placement:r3,strategy:f2,middleware:D3};if(Mt2.current){B3.platform=Mt2.current}Gb(et3.current,W5.current,B3).then(ct4=>{const E5={...ct4,isPositioned:vt2.current!==false};if(St2.current&&!Vi(J3.current,E5)){J3.current=E5;Bo.flushSync(()=>{A(E5)})}})},[D3,r3,f2,Mt2,vt2]);Ui(()=>{if(g2===false&&J3.current.isPositioned){J3.current.isPositioned=false;A(B3=>({...B3,isPositioned:false}))}},[g2]);const St2=z.useRef(false);Ui(()=>{St2.current=true;return()=>{St2.current=false}},[]);Ui(()=>{if(k3)et3.current=k3;if(X4)W5.current=X4;if(k3&&X4){if(Et3.current){return Et3.current(k3,X4,Ot2)}Ot2()}},[k3,X4,Ot2,Et3,rt4]);const gt3=z.useMemo(()=>({reference:et3,floating:W5,setReference:Q4,setFloating:Z3}),[Q4,Z3]);const C2=z.useMemo(()=>({reference:k3,floating:X4}),[k3,X4]);const V=z.useMemo(()=>{const B3={position:f2,left:0,top:0};if(!C2.floating){return B3}const ct4=Mh(C2.floating,S3.x);const E5=Mh(C2.floating,S3.y);if(y3){return{...B3,transform:"translate("+ct4+"px, "+E5+"px)",...pv(C2.floating)>=1.5&&{willChange:"transform"}}}return{position:f2,left:ct4,top:E5}},[f2,y3,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 r3(f2){return{}.hasOwnProperty.call(f2,"current")}__name(r3,"r");i(r3,"isRef");return{name:"arrow",options:u5,fn(f2){const{element:o6,padding:d}=typeof u5==="function"?u5(f2):u5;if(o6&&r3(o6)){if(o6.current!=null){return Rh({element:o6.current,padding:d}).fn(f2)}return{}}if(o6){return Rh({element:o6,padding:d}).fn(f2)}return{}}}},"arrow$1");var kb=i((u5,r3)=>({...Hb(u5),options:[u5,r3]}),"offset");var Kb=i((u5,r3)=>({...Bb(u5),options:[u5,r3]}),"shift");var Jb=i((u5,r3)=>({...jb(u5),options:[u5,r3]}),"limitShift");var Wb=i((u5,r3)=>({...Lb(u5),options:[u5,r3]}),"flip");var $b=i((u5,r3)=>({...qb(u5),options:[u5,r3]}),"size");var Fb=i((u5,r3)=>({...Yb(u5),options:[u5,r3]}),"hide");var Pb=i((u5,r3)=>({...Zb(u5),options:[u5,r3]}),"arrow");var Ib="Arrow";var bv=z.forwardRef((u5,r3)=>{const{children:f2,width:o6=10,height:d=5,...h3}=u5;return Ht.jsx(sn.svg,{...h3,ref:r3,width:o6,height:d,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:u5.asChild?f2:Ht.jsx("polygon",{points:"0,0 30,0 15,10"})})});bv.displayName=Ib;var t1=bv;function e1(u5){const[r3,f2]=z.useState(void 0);na(()=>{if(u5){f2({width:u5.offsetWidth,height:u5.offsetHeight});const o6=new ResizeObserver(d=>{if(!Array.isArray(d)){return}if(!d.length){return}const h3=d[0];let v2;let y3;if("borderBoxSize"in h3){const p3=h3["borderBoxSize"];const g2=Array.isArray(p3)?p3[0]:p3;v2=g2["inlineSize"];y3=g2["blockSize"]}else{v2=u5.offsetWidth;y3=u5.offsetHeight}f2({width:v2,height:y3})});o6.observe(u5,{box:"border-box"});return()=>o6.unobserve(u5)}else{f2(void 0)}},[u5]);return r3}__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:r3,children:f2}=u5;const[o6,d]=z.useState(null);return Ht.jsx(l1,{scope:r3,anchor:o6,onAnchorChange:d,children:f2})},"Popper");xv.displayName=Ko;var Av="PopperAnchor";var Tv=z.forwardRef((u5,r3)=>{const{__scopePopper:f2,virtualRef:o6,...d}=u5;const h3=Ev(Av,f2);const v2=z.useRef(null);const y3=on(r3,v2);z.useEffect(()=>{h3.onAnchorChange(o6?.current||v2.current)});return o6?null:Ht.jsx(sn.div,{...d,ref:y3})});Tv.displayName=Av;var Jo="PopperContent";var[n1,a1]=Sv(Jo);var Ov=z.forwardRef((u5,r3)=>{const{__scopePopper:f2,side:o6="bottom",sideOffset:d=0,align:h3="center",alignOffset:v2=0,arrowPadding:y3=0,avoidCollisions:p3=true,collisionBoundary:g2=[],collisionPadding:S3=0,sticky:A="partial",hideWhenDetached:D3=false,updatePositionStrategy:w="optimized",onPlaced:H2,...O4}=u5;const U4=Ev(Jo,f2);const[Y3,Q4]=z.useState(null);const Z3=on(r3,mt3=>Q4(mt3));const[k3,X4]=z.useState(null);const et3=e1(k3);const W5=et3?.width??0;const J3=et3?.height??0;const rt4=o6+(h3!=="center"?"-"+h3:"");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:B3}=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:d+J3,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")}),k3&&Pb({element:k3,padding:y3}),c1({arrowWidth:W5,arrowHeight:J3}),D3&&Fb({strategy:"referenceHidden",...Ot2})]});const[ct4,E5]=Mv(C2);const G4=aa(H2);na(()=>{if(V){G4?.()}},[V,G4]);const $4=B3.arrow?.x;const K4=B3.arrow?.y;const F3=B3.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"]:[B3.transformOrigin?.x,B3.transformOrigin?.y].join(" "),...B3.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:u5.dir,children:Ht.jsx(n1,{scope:f2,placedSide:ct4,onArrowChange:X4,arrowX:$4,arrowY:K4,shouldHideArrow:F3,children:Ht.jsx(sn.div,{"data-side":ct4,"data-align":E5,...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(r3,f2){const{__scopePopper:o6,...d}=r3;const h3=a1(wv,o6);const v2=u1[h3.placedSide];return Ht.jsx("span",{ref:h3.onArrowChange,style:{position:"absolute",left:h3.arrowX,top:h3.arrowY,[v2]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h3.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:`rotate(180deg)`,left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h3.placedSide],visibility:h3.shouldHideArrow?"hidden":void 0},children:Ht.jsx(t1,{...d,ref:f2,style:{...d.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(r3){const{placement:f2,rects:o6,middlewareData:d}=r3;const h3=d.arrow?.centerOffset!==0;const v2=h3;const y3=v2?0:u5.arrowWidth;const p3=v2?0:u5.arrowHeight;const[g2,S3]=Mv(f2);const A={start:"0%",center:"50%",end:"100%"}[S3];const D3=(d.arrow?.x??0)+y3/2;const w=(d.arrow?.y??0)+p3/2;let H2="";let O4="";if(g2==="bottom"){H2=v2?A:`${D3}px`;O4=`${-p3}px`}else if(g2==="top"){H2=v2?A:`${D3}px`;O4=`${o6.floating.height+p3}px`}else if(g2==="right"){H2=`${-p3}px`;O4=v2?A:`${w}px`}else if(g2==="left"){H2=`${o6.floating.width+p3}px`;O4=v2?A:`${w}px`}return{data:{x:H2,y:O4}}}}),"transformOrigin");function Mv(u5){const[r3,f2="center"]=u5.split("-");return[r3,f2]}__name(Mv,"Mv");i(Mv,"getSideAndAlignFromPlacement");var pS=xv;var bS=Tv;var SS=Ov;var ES=Rv;var r1="Portal";var o1=z.forwardRef((u5,r3)=>{const{container:f2,...o6}=u5;const[d,h3]=z.useState(false);na(()=>h3(true),[]);const v2=f2||d&&globalThis?.document?.body;return v2?y0.createPortal(Ht.jsx(sn.div,{...o6,ref:r3}),v2):null});o1.displayName=r1;var f1=i(function(u5){if(typeof document==="undefined"){return null}var r3=Array.isArray(u5)?u5[0]:u5;return r3.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,r3){return r3.map(function(f2){if(u5.contains(f2)){return f2}var o6=zv(f2);if(o6&&u5.contains(o6)){return o6}console.error("aria-hidden",f2,"in not contained inside",u5,". Doing nothing");return null}).filter(function(f2){return Boolean(f2)})},"correctTargets");var d1=i(function(u5,r3,f2,o6){var d=s1(r3,Array.isArray(u5)?u5:[u5]);if(!Ci[f2]){Ci[f2]=new WeakMap}var h3=Ci[f2];var v2=[];var y3=new Set;var p3=new Set(d);var g2=i(function(A){if(!A||y3.has(A)){return}y3.add(A);g2(A.parentNode)},"keep");d.forEach(g2);var S3=i(function(A){if(!A||p3.has(A)){return}Array.prototype.forEach.call(A.children,function(D3){if(y3.has(D3)){S3(D3)}else{try{var w=D3.getAttribute(o6);var H2=w!==null&&w!=="false";var O4=(Pn.get(D3)||0)+1;var U4=(h3.get(D3)||0)+1;Pn.set(D3,O4);h3.set(D3,U4);v2.push(D3);if(O4===1&&H2){_i.set(D3,true)}if(U4===1){D3.setAttribute(f2,"true")}if(!H2){D3.setAttribute(o6,"true")}}catch(Y3){console.error("aria-hidden: cannot operate on ",D3,Y3)}}})},"deep");S3(r3);y3.clear();xo++;return function(){v2.forEach(function(A){var D3=Pn.get(A)-1;var w=h3.get(A)-1;Pn.set(A,D3);h3.set(A,w);if(!D3){if(!_i.has(A)){A.removeAttribute(o6)}_i.delete(A)}if(!w){A.removeAttribute(f2)}});xo--;if(!xo){Pn=new WeakMap;Pn=new WeakMap;_i=new WeakMap;Ci={}}}},"applyAttributeToOthers");var xS=i(function(u5,r3,f2){if(f2===void 0){f2="data-aria-hidden"}var o6=Array.from(Array.isArray(u5)?u5:[u5]);var d=f1(u5);if(!d){return function(){return null}}o6.push.apply(o6,Array.from(d.querySelectorAll("[aria-live], script")));return d1(o6,d,f2,"aria-hidden")},"hideOthers");var Qe=i(function(){Qe=Object.assign||i(__name(function u5(r3){for(var f2,o6=1,d=arguments.length;o6y3){return true}}o6=o6.parentNode}while(o6&&o6!==f2.body);return false},"locationCouldBeScrolled");var Y1=i(function(u5){var r3=u5.scrollTop,f2=u5.scrollHeight,o6=u5.clientHeight;return[r3,f2,o6]},"getVScrollVariables");var j1=i(function(u5){var r3=u5.scrollLeft,f2=u5.scrollWidth,o6=u5.clientWidth;return[r3,f2,o6]},"getHScrollVariables");var Hv=i(function(u5,r3){return u5==="v"?L1(r3):q1(r3)},"elementCouldBeScrolled");var Bv=i(function(u5,r3){return u5==="v"?Y1(r3):j1(r3)},"getScrollVariables");var G1=i(function(u5,r3){return u5==="h"&&r3==="rtl"?-1:1},"getDirectionFactor");var X1=i(function(u5,r3,f2,o6,d){var h3=G1(u5,window.getComputedStyle(r3).direction);var v2=h3*o6;var y3=f2.target;var p3=r3.contains(y3);var g2=false;var S3=v2>0;var A=0;var D3=0;do{if(!y3){break}var w=Bv(u5,y3),H2=w[0],O4=w[1],U4=w[2];var Y3=O4-U4-h3*H2;if(H2||Y3){if(Hv(u5,y3)){A+=Y3;D3+=H2}}var Q4=y3.parentNode;y3=Q4&&Q4.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q4.host:Q4}while(!p3&&y3!==document.body||p3&&(r3.contains(y3)||r3===y3));if(S3&&(Math.abs(A)<1||false)){g2=true}else if(!S3&&(Math.abs(D3)<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,r3){return u5[0]===r3[0]&&u5[1]===r3[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 r3=z.useRef([]);var f2=z.useRef([0,0]);var o6=z.useRef();var d=z.useState(Z1++)[0];var h3=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(d));var O4=m1([u5.lockRef.current],(u5.shards||[]).map(Nh),true).filter(Boolean);O4.forEach(function(U4){return U4.classList.add("allow-interactivity-".concat(d))});return function(){document.body.classList.remove("block-interactivity-".concat(d));O4.forEach(function(U4){return U4.classList.remove("allow-interactivity-".concat(d))})}}return},[u5.inert,u5.lockRef.current,u5.shards]);var y3=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 Q4=f2.current;var Z3="deltaX"in O4?O4.deltaX:Q4[0]-Y3[0];var k3="deltaY"in O4?O4.deltaY:Q4[1]-Y3[1];var X4;var et3=O4.target;var W5=Math.abs(Z3)>Math.abs(k3)?"h":"v";if("touches"in O4&&W5==="h"&&et3.type==="range"){return false}var J3=Ch(W5,et3);if(!J3){return true}if(J3){X4=W5}else{X4=W5==="v"?"h":"v";J3=Ch(W5,et3)}if(!J3){return false}if(!o6.current&&"changedTouches"in O4&&(Z3||k3)){o6.current=X4}if(!X4){return true}var rt4=o6.current||X4;return X1(rt4,U4,O4,rt4==="h"?Z3:k3)},[]);var p3=z.useCallback(function(O4){var U4=O4;if(!ta.length||ta[ta.length-1]!==h3){return}var Y3="deltaY"in U4?Dh(U4):Ni(U4);var Q4=r3.current.filter(function(X4){return X4.name===U4.type&&(X4.target===U4.target||U4.target===X4.shadowParent)&&V1(X4.delta,Y3)})[0];if(Q4&&Q4.should){if(U4.cancelable){U4.preventDefault()}return}if(!Q4){var Z3=(v2.current.shards||[]).map(Nh).filter(Boolean).filter(function(X4){return X4.contains(U4.target)});var k3=Z3.length>0?y3(U4,Z3[0]):!v2.current.noIsolation;if(k3){if(U4.cancelable){U4.preventDefault()}}}},[]);var g2=z.useCallback(function(O4,U4,Y3,Q4){var Z3={name:O4,delta:U4,target:Y3,should:Q4,shadowParent:K1(Y3)};r3.current.push(Z3);setTimeout(function(){r3.current=r3.current.filter(function(k3){return k3!==Z3})},1)},[]);var S3=z.useCallback(function(O4){f2.current=Ni(O4);o6.current=void 0},[]);var A=z.useCallback(function(O4){g2(O4.type,Dh(O4),O4.target,y3(O4,u5.lockRef.current))},[]);var D3=z.useCallback(function(O4){g2(O4.type,Ni(O4),O4.target,y3(O4,u5.lockRef.current))},[]);z.useEffect(function(){ta.push(h3);u5.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:D3});document.addEventListener("wheel",p3,In);document.addEventListener("touchmove",p3,In);document.addEventListener("touchstart",S3,In);return function(){ta=ta.filter(function(O4){return O4!==h3});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(h3,{styles:Q1(d)}):null,w?z.createElement(H1,{noRelative:u5.noRelative,gapMode:u5.gapMode}):null)}__name(k1,"k1");i(k1,"RemoveScrollSideCar");function K1(u5){var r3=null;while(u5!==null){if(u5 instanceof ShadowRoot){r3=u5.host;u5=u5.host}u5=u5.parentNode}return r3}__name(K1,"K1");i(K1,"getOutermostShadowParent");var J1=x1(Dv,k1);var W1=z.forwardRef(function(u5,r3){return z.createElement(Ji,Qe({},u5,{ref:r3,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,(r3,f2,o6)=>o6?o6.toUpperCase():f2.toLowerCase()),"toCamelCase");var Uh=i(u5=>{const r3=F1(u5);return r3.charAt(0).toUpperCase()+r3.slice(1)},"toPascalCase");var Lv=i((...u5)=>u5.filter((r3,f2,o6)=>{return Boolean(r3)&&r3.trim()!==""&&o6.indexOf(r3)===f2}).join(" ").trim(),"mergeClasses");var P1=i(u5=>{for(const r3 in u5){if(r3.startsWith("aria-")||r3==="role"||r3==="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:r3=24,strokeWidth:f2=2,absoluteStrokeWidth:o6,className:d="",children:h3,iconNode:v2,...y3},p3)=>z.createElement("svg",{ref:p3,...I1,width:r3,height:r3,stroke:u5,strokeWidth:o6?Number(f2)*24/Number(r3):f2,className:Lv("lucide",d),...!h3&&!P1(y3)&&{"aria-hidden":"true"},...y3},[...v2.map(([g2,S3])=>z.createElement(g2,S3)),...Array.isArray(h3)?h3:[h3]]));var qv=i((u5,r3)=>{const f2=z.forwardRef(({className:o6,...d},h3)=>z.createElement(tS,{ref:h3,iconNode:r3,className:Lv(`lucide-${$1(Uh(u5))}`,`lucide-${u5}`,o6),...d}));f2.displayName=Uh(u5);return f2},"createLucideIcon");var eS=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]];var AS=qv("chevron-down",eS);var lS=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]];var TS=qv("chevron-up",lS);var ye=Object.defineProperty;var c=__name((e7,t2)=>ye(e7,"name",{value:t2,configurable:true}),"c");function Me(e7,t2){return z.useReducer((o6,n2)=>{const a4=t2[o6][n2];return a4??o6},e7)}__name(Me,"Me");c(Me,"useStateMachine");var j=c(e7=>{const{present:t2,children:o6}=e7;const n2=je(t2);const a4=typeof o6==="function"?o6({present:n2.isPresent}):z.Children.only(o6);const r3=on(n2.ref,ke2(a4));const u5=typeof o6==="function";return u5||n2.isPresent?z.cloneElement(a4,{ref:r3}):null},"Presence");j.displayName="Presence";function je(e7){const[t2,o6]=z.useState();const n2=z.useRef(null);const a4=z.useRef(e7);const r3=z.useRef("none");const u5=e7?"mounted":"unmounted";const[d,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);r3.current=d==="mounted"?l2:"none"},[d]);na(()=>{const l2=n2.current;const f2=a4.current;const m2=f2!==e7;if(m2){const N2=r3.current;const h3=S(l2);if(e7){p3("MOUNT")}else if(h3==="none"||l2?.display==="none"){p3("UNMOUNT")}else{const I4=N2!==h3;if(f2&&I4){p3("ANIMATION_OUT")}else{p3("UNMOUNT")}}a4.current=e7}},[e7,p3]);na(()=>{if(t2){let l2;const f2=t2.ownerDocument.defaultView??window;const m2=c(h3=>{const I4=S(n2.current);const _2=I4.includes(h3.animationName);if(h3.target===t2&&_2){p3("ANIMATION_END");if(!a4.current){const g2=t2.style.animationFillMode;t2.style.animationFillMode="forwards";l2=f2.setTimeout(()=>{if(t2.style.animationFillMode==="forwards"){t2.style.animationFillMode=g2}})}}},"handleAnimationEnd");const N2=c(h3=>{if(h3.target===t2){r3.current=S(n2.current)}},"handleAnimationStart");t2.addEventListener("animationstart",N2);t2.addEventListener("animationcancel",m2);t2.addEventListener("animationend",m2);return()=>{f2.clearTimeout(l2);t2.removeEventListener("animationstart",N2);t2.removeEventListener("animationcancel",m2);t2.removeEventListener("animationend",m2)}}else{p3("ANIMATION_END")}},[t2,p3]);return{isPresent:["mounted","unmountSuspended"].includes(d),ref:z.useCallback(l2=>{n2.current=l2?getComputedStyle(l2):null;o6(l2)},[])}}__name(je,"je");c(je,"usePresence");function S(e7){return e7?.animationName||"none"}__name(S,"S");c(S,"getAnimationName");function ke2(e7){let t2=Object.getOwnPropertyDescriptor(e7.props,"ref")?.get;let o6=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o6){return e7.ref}t2=Object.getOwnPropertyDescriptor(e7,"ref")?.get;o6=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o6){return e7.props.ref}return e7.props.ref||e7.ref}__name(ke2,"ke");c(ke2,"getElementRef");var U="rovingFocusGroup.onEntryFocus";var Le={bubbles:false,cancelable:true};var F="RovingFocusGroup";var[W,X,Ge]=mS(F);var[Ue2,xt]=av(F,[Ge]);var[We,Ke2]=Ue2(F);var Z=z.forwardRef((e7,t2)=>{return Ht.jsx(W.Provider,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(W.Slot,{scope:e7.__scopeRovingFocusGroup,children:Ht.jsx(Be,{...e7,ref:t2})})})});Z.displayName=F;var Be=z.forwardRef((e7,t2)=>{const{__scopeRovingFocusGroup:o6,orientation:n2,loop:a4=false,dir:r3,currentTabStopId:u5,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:p3,onEntryFocus:l2,preventScrollOnEntryFocus:f2=false,...m2}=e7;const N2=z.useRef(null);const h3=on(t2,N2);const I4=hS(r3);const[_2,g2]=dS({prop:u5,defaultProp:d??null,onChange:p3,caller:F});const[y3,O4]=z.useState(false);const x2=aa(l2);const D3=X(o6);const L=z.useRef(false);const[he2,z4]=z.useState(0);z.useEffect(()=>{const v2=N2.current;if(v2){v2.addEventListener(U,x2);return()=>v2.removeEventListener(U,x2)}},[x2]);return Ht.jsx(We,{scope:o6,orientation:n2,dir:I4,loop:a4,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:y3||he2===0?-1:0,"data-orientation":n2,...m2,ref:h3,style:{outline:"none",...e7.style},onMouseDown:go(e7.onMouseDown,()=>{L.current=true}),onFocus:go(e7.onFocus,v2=>{const xe2=!L.current;if(v2.target===v2.currentTarget&&xe2&&!y3){const V=new CustomEvent(U,Le);v2.currentTarget.dispatchEvent(V);if(!V.defaultPrevented){const G4=D3().filter(C2=>C2.focusable);const be3=G4.find(C2=>C2.active);const Re2=G4.find(C2=>C2.id===_2);const Ne4=[be3,Re2,...G4].filter(Boolean);const Ie3=Ne4.map(C2=>C2.ref.current);te(Ie3,f2)}}L.current=false}),onBlur:go(e7.onBlur,()=>O4(false))})})});var Q="RovingFocusGroupItem";var ee2=z.forwardRef((e7,t2)=>{const{__scopeRovingFocusGroup:o6,focusable:n2=true,active:a4=false,tabStopId:r3,children:u5,...d}=e7;const p3=gS();const l2=r3||p3;const f2=Ke2(Q,o6);const m2=f2.currentTabStopId===l2;const N2=X(o6);const{onFocusableItemAdd:h3,onFocusableItemRemove:I4,currentTabStopId:_2}=f2;z.useEffect(()=>{if(n2){h3();return()=>I4()}},[n2,h3,I4]);return Ht.jsx(W.ItemSlot,{scope:o6,id:l2,focusable:n2,active:a4,children:Ht.jsx(sn.span,{tabIndex:m2?0:-1,"data-orientation":f2.orientation,...d,ref:t2,onMouseDown:go(e7.onMouseDown,g2=>{if(!n2)g2.preventDefault();else f2.onItemFocus(l2)}),onFocus:go(e7.onFocus,()=>f2.onItemFocus(l2)),onKeyDown:go(e7.onKeyDown,g2=>{if(g2.key==="Tab"&&g2.shiftKey){f2.onItemShiftTab();return}if(g2.target!==g2.currentTarget)return;const y3=Ve(g2,f2.orientation,f2.dir);if(y3!==void 0){if(g2.metaKey||g2.ctrlKey||g2.altKey||g2.shiftKey)return;g2.preventDefault();const O4=N2().filter(D3=>D3.focusable);let x2=O4.map(D3=>D3.ref.current);if(y3==="last")x2.reverse();else if(y3==="prev"||y3==="next"){if(y3==="prev")x2.reverse();const D3=x2.indexOf(g2.currentTarget);x2=f2.loop?He(x2,D3+1):x2.slice(D3+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(e7,t2){if(t2!=="rtl")return e7;return e7==="ArrowLeft"?"ArrowRight":e7==="ArrowRight"?"ArrowLeft":e7}__name(ze,"ze");c(ze,"getDirectionAwareKey");function Ve(e7,t2,o6){const n2=ze(e7.key,o6);if(t2==="vertical"&&["ArrowLeft","ArrowRight"].includes(n2))return void 0;if(t2==="horizontal"&&["ArrowUp","ArrowDown"].includes(n2))return void 0;return $e[n2]}__name(Ve,"Ve");c(Ve,"getFocusIntent");function te(e7,t2=false){const o6=document.activeElement;for(const n2 of e7){if(n2===o6)return;n2.focus({preventScroll:t2});if(document.activeElement!==o6)return}}__name(te,"te");c(te,"focusFirst");function He(e7,t2){return e7.map((o6,n2)=>e7[(t2+n2)%e7.length])}__name(He,"He");c(He,"wrapArray");var bt=Z;var Rt=ee2;var Ye=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]];var Nt=qv("chevron-right",Ye);var qe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]];var Je2=qv("x",qe);function It({className:e7,type:t2,...o6}){return Ht.jsx("input",{type:t2,"data-slot":"input",className:nv("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e7),...o6})}__name(It,"It");c(It,"Input");var k="Dialog";var[oe,yt]=av(k);var[Xe,R]=oe(k);var ne=c(e7=>{const{__scopeDialog:t2,children:o6,open:n2,defaultOpen:a4,onOpenChange:r3,modal:u5=true}=e7;const d=z.useRef(null);const p3=z.useRef(null);const[l2,f2]=dS({prop:n2,defaultProp:a4??false,onChange:r3,caller:k});return Ht.jsx(Xe,{scope:t2,triggerRef:d,contentRef:p3,contentId:gS(),titleId:gS(),descriptionId:gS(),open:l2,onOpenChange:f2,onOpenToggle:z.useCallback(()=>f2(m2=>!m2),[f2]),modal:u5,children:o6})},"Dialog");ne.displayName=k;var re="DialogTrigger";var ae=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,...n2}=e7;const a4=R(re,o6);const r3=on(t2,a4.triggerRef);return Ht.jsx(sn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a4.open,"aria-controls":a4.contentId,"data-state":$(a4.open),...n2,ref:r3,onClick:go(e7.onClick,a4.onOpenToggle)})});ae.displayName=re;var K="DialogPortal";var[Ze2,se]=oe(K,{forceMount:void 0});var ie=c(e7=>{const{__scopeDialog:t2,forceMount:o6,children:n2,container:a4}=e7;const r3=R(K,t2);return Ht.jsx(Ze2,{scope:t2,forceMount:o6,children:z.Children.map(n2,u5=>Ht.jsx(j,{present:o6||r3.open,children:Ht.jsx(o1,{asChild:true,container:a4,children:u5})}))})},"DialogPortal");ie.displayName=K;var M="DialogOverlay";var ce=z.forwardRef((e7,t2)=>{const o6=se(M,e7.__scopeDialog);const{forceMount:n2=o6.forceMount,...a4}=e7;const r3=R(M,e7.__scopeDialog);return r3.modal?Ht.jsx(j,{present:n2||r3.open,children:Ht.jsx(et,{...a4,ref:t2})}):null});ce.displayName=M;var Qe2=Yi("DialogOverlay.RemoveScroll");var et=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,...n2}=e7;const a4=R(M,o6);return Ht.jsx(W1,{as:Qe2,allowPinchZoom:true,shards:[a4.contentRef],children:Ht.jsx(sn.div,{"data-state":$(a4.open),...n2,ref:t2,style:{pointerEvents:"auto",...n2.style}})})});var E="DialogContent";var le=z.forwardRef((e7,t2)=>{const o6=se(E,e7.__scopeDialog);const{forceMount:n2=o6.forceMount,...a4}=e7;const r3=R(E,e7.__scopeDialog);return Ht.jsx(j,{present:n2||r3.open,children:r3.modal?Ht.jsx(tt2,{...a4,ref:t2}):Ht.jsx(ot2,{...a4,ref:t2})})});le.displayName=E;var tt2=z.forwardRef((e7,t2)=>{const o6=R(E,e7.__scopeDialog);const n2=z.useRef(null);const a4=on(t2,o6.contentRef,n2);z.useEffect(()=>{const r3=n2.current;if(r3)return xS(r3)},[]);return Ht.jsx(ue,{...e7,ref:a4,trapFocus:o6.open,disableOutsidePointerEvents:true,onCloseAutoFocus:go(e7.onCloseAutoFocus,r3=>{r3.preventDefault();o6.triggerRef.current?.focus()}),onPointerDownOutside:go(e7.onPointerDownOutside,r3=>{const u5=r3.detail.originalEvent;const d=u5.button===0&&u5.ctrlKey===true;const p3=u5.button===2||d;if(p3)r3.preventDefault()}),onFocusOutside:go(e7.onFocusOutside,r3=>r3.preventDefault())})});var ot2=z.forwardRef((e7,t2)=>{const o6=R(E,e7.__scopeDialog);const n2=z.useRef(false);const a4=z.useRef(false);return Ht.jsx(ue,{...e7,ref:t2,trapFocus:false,disableOutsidePointerEvents:false,onCloseAutoFocus:c(r3=>{e7.onCloseAutoFocus?.(r3);if(!r3.defaultPrevented){if(!n2.current)o6.triggerRef.current?.focus();r3.preventDefault()}n2.current=false;a4.current=false},"onCloseAutoFocus"),onInteractOutside:c(r3=>{e7.onInteractOutside?.(r3);if(!r3.defaultPrevented){n2.current=true;if(r3.detail.originalEvent.type==="pointerdown"){a4.current=true}}const u5=r3.target;const d=o6.triggerRef.current?.contains(u5);if(d)r3.preventDefault();if(r3.detail.originalEvent.type==="focusin"&&a4.current){r3.preventDefault()}},"onInteractOutside")})});var ue=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,trapFocus:n2,onOpenAutoFocus:a4,onCloseAutoFocus:r3,...u5}=e7;const d=R(E,o6);const p3=z.useRef(null);const l2=on(t2,p3);vS();return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Up,{asChild:true,loop:true,trapped:n2,onMountAutoFocus:a4,onUnmountAutoFocus:r3,children:Ht.jsx(Mp,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":$(d.open),...u5,ref:l2,onDismiss:c(()=>d.onOpenChange(false),"onDismiss")})}),Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(rt,{titleId:d.titleId}),Ht.jsx(st,{contentRef:p3,descriptionId:d.descriptionId})]})]})});var B="DialogTitle";var de=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,...n2}=e7;const a4=R(B,o6);return Ht.jsx(sn.h2,{id:a4.titleId,...n2,ref:t2})});de.displayName=B;var fe="DialogDescription";var nt=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,...n2}=e7;const a4=R(fe,o6);return Ht.jsx(sn.p,{id:a4.descriptionId,...n2,ref:t2})});nt.displayName=fe;var pe2="DialogClose";var ge=z.forwardRef((e7,t2)=>{const{__scopeDialog:o6,...n2}=e7;const a4=R(pe2,o6);return Ht.jsx(sn.button,{type:"button",...n2,ref:t2,onClick:go(e7.onClick,()=>a4.onOpenChange(false))})});ge.displayName=pe2;function $(e7){return e7?"open":"closed"}__name($,"$");c($,"getState");var me="DialogTitleWarning";var[Dt,ve]=sS(me,{contentName:E,titleName:B,docsSlug:"dialog"});var rt=c(({titleId:e7})=>{const t2=ve(me);const o6=``${t2.contentName}` requires a `${t2.titleName}` for the component to be accessible for screen reader users.
If you want to hide the `${t2.titleName}`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t2.docsSlug}`;z.useEffect(()=>{if(e7){const n2=document.getElementById(e7);if(!n2)console.error(o6)}},[o6,e7]);return null},"TitleWarning");var at="DialogDescriptionWarning";var st=c(({contentRef:e7,descriptionId:t2})=>{const o6=ve(at);const n2=`Warning: Missing `Description` or `aria-describedby={undefined}` for {${o6.contentName}}.`;z.useEffect(()=>{const a4=e7.current?.getAttribute("aria-describedby");if(t2&&a4){const r3=document.getElementById(t2);if(!r3)console.warn(n2)}},[n2,e7,t2]);return null},"DescriptionWarning");var it=ne;var ct=ae;var lt=ie;var ut=ce;var dt2=le;var ft=de;var pt=ge;function Ct({...e7}){return Ht.jsx(it,{"data-slot":"sheet",...e7})}__name(Ct,"Ct");c(Ct,"Sheet");function Et({...e7}){return Ht.jsx(ct,{"data-slot":"sheet-trigger",...e7})}__name(Et,"Et");c(Et,"SheetTrigger");function gt({...e7}){return Ht.jsx(lt,{"data-slot":"sheet-portal",...e7})}__name(gt,"gt");c(gt,"SheetPortal");function mt({className:e7,...t2}){return Ht.jsx(ut,{"data-slot":"sheet-overlay",className:nv("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e7),...t2})}__name(mt,"mt");c(mt,"SheetOverlay");function Tt({className:e7,children:t2,side:o6="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",o6==="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",o6==="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",o6==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o6==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e7),...n2,children:[t2,Ht.jsxs(pt,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[Ht.jsx(Je2,{className:"size-4"}),Ht.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}__name(Tt,"Tt");c(Tt,"SheetContent");function _t({className:e7,...t2}){return Ht.jsx("div",{"data-slot":"sheet-header",className:nv("flex flex-col gap-1.5 p-4",e7),...t2})}__name(_t,"_t");c(_t,"SheetHeader");function wt({className:e7,...t2}){return Ht.jsx(ft,{"data-slot":"sheet-title",className:nv("text-foreground font-semibold",e7),...t2})}__name(wt,"wt");c(wt,"SheetTitle");var bt2=Object.defineProperty;var u3=__name((t2,o6)=>bt2(t2,"name",{value:o6,configurable:true}),"u");var re2=["Enter"," "];var Wt=["ArrowDown","PageUp","Home"];var Ie=["ArrowUp","PageDown","End"];var zt=[...Wt,...Ie];var Vt={ltr:[...re2,"ArrowRight"],rtl:[...re2,"ArrowLeft"]};var Xt={ltr:["ArrowLeft"],rtl:["ArrowRight"]};var U2="Menu";var[T,Yt,qt]=mS(U2);var[S2,Ae]=av(U2,[qt,yS,xt]);var X2=yS();var ke3=xt();var[Qt,E2]=S2(U2);var[Jt,G]=S2(U2);var Te=u3(t2=>{const{__scopeMenu:o6,open:n2=false,children:r3,dir:s,onOpenChange:c4,modal:i4=true}=t2;const d=X2(o6);const[f2,m2]=z.useState(null);const x2=z.useRef(false);const l2=aa(c4);const h3=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,{...d,children:Ht.jsx(Qt,{scope:o6,open:n2,onOpenChange:l2,content:f2,onContentChange:m2,children:Ht.jsx(Jt,{scope:o6,onClose:z.useCallback(()=>l2(false),[l2]),isUsingKeyboardRef:x2,dir:h3,modal:i4,children:r3})})})},"Menu$1");Te.displayName=U2;var Zt2="MenuAnchor";var se2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,...r3}=t2;const s=X2(n2);return Ht.jsx(bS,{...s,...r3,ref:o6})});se2.displayName=Zt2;var ae2="MenuPortal";var[en,Oe]=S2(ae2,{forceMount:void 0});var Le2=u3(t2=>{const{__scopeMenu:o6,forceMount:n2,children:r3,container:s}=t2;const c4=E2(ae2,o6);return Ht.jsx(en,{scope:o6,forceMount:n2,children:Ht.jsx(j,{present:n2||c4.open,children:Ht.jsx(o1,{asChild:true,container:s,children:r3})})})},"MenuPortal");Le2.displayName=ae2;var y="MenuContent";var[tn,ie2]=S2(y);var Be2=z.forwardRef((t2,o6)=>{const n2=Oe(y,t2.__scopeMenu);const{forceMount:r3=n2.forceMount,...s}=t2;const c4=E2(y,t2.__scopeMenu);const i4=G(y,t2.__scopeMenu);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r3||c4.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:i4.modal?Ht.jsx(nn,{...s,ref:o6}):Ht.jsx(on2,{...s,ref:o6})})})})});var nn=z.forwardRef((t2,o6)=>{const n2=E2(y,t2.__scopeMenu);const r3=z.useRef(null);const s=on(o6,r3);z.useEffect(()=>{const c4=r3.current;if(c4)return xS(c4)},[]);return Ht.jsx(ce2,{...t2,ref:s,trapFocus:n2.open,disableOutsidePointerEvents:n2.open,disableOutsideScroll:true,onFocusOutside:go(t2.onFocusOutside,c4=>c4.preventDefault(),{checkForDefaultPrevented:false}),onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var on2=z.forwardRef((t2,o6)=>{const n2=E2(y,t2.__scopeMenu);return Ht.jsx(ce2,{...t2,ref:o6,trapFocus:false,disableOutsidePointerEvents:false,disableOutsideScroll:false,onDismiss:u3(()=>n2.onOpenChange(false),"onDismiss")})});var rn2=Yi("MenuContent.ScrollLock");var ce2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,loop:r3=false,trapFocus:s,onOpenAutoFocus:c4,onCloseAutoFocus:i4,disableOutsidePointerEvents:d,onEntryFocus:f2,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h3,onDismiss:w,disableOutsideScroll:v2,...N2}=t2;const C2=E2(y,n2);const _2=G(y,n2);const Q4=X2(n2);const pt3=ke3(n2);const pe4=Yt(n2);const[xt3,xe2]=z.useState(null);const K4=z.useRef(null);const ft3=on(o6,K4,C2.onContentChange);const $4=z.useRef(0);const H2=z.useRef("");const mt3=z.useRef(0);const J3=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 F3=H2.current+p3;const R3=pe4().filter(j3=>!j3.disabled);const I4=document.activeElement;const ee4=R3.find(j3=>j3.ref.current===I4)?.textValue;const te3=R3.map(j3=>j3.textValue);const ne3=gn(te3,F3,ee4);const A=R3.find(j3=>j3.textValue===ne3)?.ref.current;u3(__name(function j3(me3){H2.current=me3;window.clearTimeout($4.current);if(me3!=="")$4.current=window.setTimeout(()=>j3(""),1e3)},"j"),"updateSearch")(F3);if(A){setTimeout(()=>A.focus())}},"handleTypeaheadSearch");z.useEffect(()=>{return()=>window.clearTimeout($4.current)},[]);vS();const P2=z.useCallback(p3=>{const F3=fe3.current===J3.current?.side;return F3&&bn(p3,J3.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;K4.current?.focus();xe2(null)},[P2]),onTriggerLeave:z.useCallback(p3=>{if(P2(p3))p3.preventDefault()},[P2]),pointerGraceTimerRef:mt3,onPointerGraceIntentChange:z.useCallback(p3=>{J3.current=p3},[]),children:Ht.jsx(ht2,{...gt3,children:Ht.jsx(Up,{asChild:true,trapped:s,onMountAutoFocus:go(c4,p3=>{p3.preventDefault();K4.current?.focus({preventScroll:true})}),onUnmountAutoFocus:i4,children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:d,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l2,onInteractOutside:h3,onDismiss:w,children:Ht.jsx(bt,{asChild:true,...pt3,dir:_2.dir,orientation:"vertical",loop:r3,currentTabStopId:xt3,onCurrentTabStopIdChange:xe2,onEntryFocus:go(f2,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,...Q4,...N2,ref:ft3,style:{outline:"none",...N2.style},onKeyDown:go(N2.onKeyDown,p3=>{const F3=p3.target;const R3=F3.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=K4.current;if(p3.target!==te3)return;if(!zt.includes(p3.key))return;p3.preventDefault();const ne3=pe4().filter(j3=>!j3.disabled);const A=ne3.map(j3=>j3.ref.current);if(Ie.includes(p3.key))A.reverse();mn(A)}),onBlur:go(t2.onBlur,p3=>{if(!p3.currentTarget.contains(p3.target)){window.clearTimeout($4.current);H2.current=""}}),onPointerMove:go(t2.onPointerMove,O(p3=>{const F3=p3.target;const R3=Z3.current!==p3.clientX;if(p3.currentTarget.contains(F3)&&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((t2,o6)=>{const{__scopeMenu:n2,...r3}=t2;return Ht.jsx(sn.div,{role:"group",...r3,ref:o6})});le2.displayName=sn2;var an="MenuLabel";var Ue3=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,...r3}=t2;return Ht.jsx(sn.div,{...r3,ref:o6})});Ue3.displayName=an;var W2="MenuItem";var we="menu.itemSelect";var Y=z.forwardRef((t2,o6)=>{const{disabled:n2=false,onSelect:r3,...s}=t2;const c4=z.useRef(null);const i4=G(W2,t2.__scopeMenu);const d=ie2(W2,t2.__scopeMenu);const f2=on(o6,c4);const m2=z.useRef(false);const x2=u3(()=>{const l2=c4.current;if(!n2&&l2){const h3=new CustomEvent(we,{bubbles:true,cancelable:true});l2.addEventListener(we,w=>r3?.(w),{once:true});xp(l2,h3);if(h3.defaultPrevented){m2.current=false}else{i4.onClose()}}},"handleSelect");return Ht.jsx(Ge2,{...s,ref:f2,disabled:n2,onClick:go(t2.onClick,x2),onPointerDown:u3(l2=>{t2.onPointerDown?.(l2);m2.current=true},"onPointerDown"),onPointerUp:go(t2.onPointerUp,l2=>{if(!m2.current)l2.currentTarget?.click()}),onKeyDown:go(t2.onKeyDown,l2=>{const h3=d.searchRef.current!=="";if(n2||h3&&l2.key===" ")return;if(re2.includes(l2.key)){l2.currentTarget.click();l2.preventDefault()}})})});Y.displayName=W2;var Ge2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,disabled:r3=false,textValue:s,...c4}=t2;const i4=ie2(W2,n2);const d=ke3(n2);const f2=z.useRef(null);const m2=on(o6,f2);const[x2,l2]=z.useState(false);const[h3,w]=z.useState("");z.useEffect(()=>{const v2=f2.current;if(v2){w((v2.textContent??"").trim())}},[c4.children]);return Ht.jsx(T.ItemSlot,{scope:n2,disabled:r3,textValue:s??h3,children:Ht.jsx(Rt,{asChild:true,...d,focusable:!r3,children:Ht.jsx(sn.div,{role:"menuitem","data-highlighted":x2?"":void 0,"aria-disabled":r3||void 0,"data-disabled":r3?"":void 0,...c4,ref:m2,onPointerMove:go(t2.onPointerMove,O(v2=>{if(r3){i4.onItemLeave(v2)}else{i4.onItemEnter(v2);if(!v2.defaultPrevented){const N2=v2.currentTarget;N2.focus({preventScroll:true})}}})),onPointerLeave:go(t2.onPointerLeave,O(v2=>i4.onItemLeave(v2))),onFocus:go(t2.onFocus,()=>l2(true)),onBlur:go(t2.onBlur,()=>l2(false))})})})});var cn="MenuCheckboxItem";var Ke3=z.forwardRef((t2,o6)=>{const{checked:n2=false,onCheckedChange:r3,...s}=t2;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:n2,children:Ht.jsx(Y,{role:"menuitemcheckbox","aria-checked":z2(n2)?"mixed":n2,...s,ref:o6,"data-state":ue2(n2),onSelect:go(s.onSelect,()=>r3?.(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((t2,o6)=>{const{value:n2,onValueChange:r3,...s}=t2;const c4=aa(r3);return Ht.jsx(ln,{scope:t2.__scopeMenu,value:n2,onValueChange:c4,children:Ht.jsx(le2,{...s,ref:o6})})});He2.displayName=$e2;var We2="MenuRadioItem";var ze2=z.forwardRef((t2,o6)=>{const{value:n2,...r3}=t2;const s=dn(We2,t2.__scopeMenu);const c4=n2===s.value;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:c4,children:Ht.jsx(Y,{role:"menuitemradio","aria-checked":c4,...r3,ref:o6,"data-state":ue2(c4),onSelect:go(r3.onSelect,()=>s.onValueChange?.(n2),{checkForDefaultPrevented:false})})})});ze2.displayName=We2;var de2="MenuItemIndicator";var[Ve2,un]=S2(de2,{checked:false});var Xe2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,forceMount:r3,...s}=t2;const c4=un(de2,n2);return Ht.jsx(j,{present:r3||z2(c4.checked)||c4.checked===true,children:Ht.jsx(sn.span,{...s,ref:o6,"data-state":ue2(c4.checked)})})});Xe2.displayName=de2;var pn="MenuSeparator";var Ye2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,...r3}=t2;return Ht.jsx(sn.div,{role:"separator","aria-orientation":"horizontal",...r3,ref:o6})});Ye2.displayName=pn;var xn="MenuArrow";var qe2=z.forwardRef((t2,o6)=>{const{__scopeMenu:n2,...r3}=t2;const s=X2(n2);return Ht.jsx(ES,{...s,...r3,ref:o6})});qe2.displayName=xn;var fn2="MenuSub";var[Ro2,Qe3]=S2(fn2);var k2="MenuSubTrigger";var Je3=z.forwardRef((t2,o6)=>{const n2=E2(k2,t2.__scopeMenu);const r3=G(k2,t2.__scopeMenu);const s=Qe3(k2,t2.__scopeMenu);const c4=ie2(k2,t2.__scopeMenu);const i4=z.useRef(null);const{pointerGraceTimerRef:d,onPointerGraceIntentChange:f2}=c4;const m2={__scopeMenu:t2.__scopeMenu};const x2=z.useCallback(()=>{if(i4.current)window.clearTimeout(i4.current);i4.current=null},[]);z.useEffect(()=>x2,[x2]);z.useEffect(()=>{const l2=d.current;return()=>{window.clearTimeout(l2);f2(null)}},[d,f2]);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),...t2,ref:Xh(o6,s.onTriggerChange),onClick:u3(l2=>{t2.onClick?.(l2);if(t2.disabled||l2.defaultPrevented)return;l2.currentTarget.focus();if(!n2.open)n2.onOpenChange(true)},"onClick"),onPointerMove:go(t2.onPointerMove,O(l2=>{c4.onItemEnter(l2);if(l2.defaultPrevented)return;if(!t2.disabled&&!n2.open&&!i4.current){c4.onPointerGraceIntentChange(null);i4.current=window.setTimeout(()=>{n2.onOpenChange(true);x2()},100)}})),onPointerLeave:go(t2.onPointerLeave,O(l2=>{x2();const h3=n2.content?.getBoundingClientRect();if(h3){const w=n2.content?.dataset.side;const v2=w==="right";const N2=v2?-5:5;const C2=h3[v2?"left":"right"];const _2=h3[v2?"right":"left"];c4.onPointerGraceIntentChange({area:[{x:l2.clientX+N2,y:l2.clientY},{x:C2,y:h3.top},{x:_2,y:h3.top},{x:_2,y:h3.bottom},{x:C2,y:h3.bottom}],side:w});window.clearTimeout(d.current);d.current=window.setTimeout(()=>c4.onPointerGraceIntentChange(null),300)}else{c4.onTriggerLeave(l2);if(l2.defaultPrevented)return;c4.onPointerGraceIntentChange(null)}})),onKeyDown:go(t2.onKeyDown,l2=>{const h3=c4.searchRef.current!=="";if(t2.disabled||h3&&l2.key===" ")return;if(Vt[r3.dir].includes(l2.key)){n2.onOpenChange(true);n2.content?.focus();l2.preventDefault()}})})})});Je3.displayName=k2;var Ze3="MenuSubContent";var et2=z.forwardRef((t2,o6)=>{const n2=Oe(y,t2.__scopeMenu);const{forceMount:r3=n2.forceMount,...s}=t2;const c4=E2(y,t2.__scopeMenu);const i4=G(y,t2.__scopeMenu);const d=Qe3(Ze3,t2.__scopeMenu);const f2=z.useRef(null);const m2=on(o6,f2);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r3||c4.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:Ht.jsx(ce2,{id:d.contentId,"aria-labelledby":d.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)f2.current?.focus();x2.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:u3(x2=>x2.preventDefault(),"onCloseAutoFocus"),onFocusOutside:go(t2.onFocusOutside,x2=>{if(x2.target!==d.trigger)c4.onOpenChange(false)}),onEscapeKeyDown:go(t2.onEscapeKeyDown,x2=>{i4.onClose();x2.preventDefault()}),onKeyDown:go(t2.onKeyDown,x2=>{const l2=x2.currentTarget.contains(x2.target);const h3=Xt[i4.dir].includes(x2.key);if(l2&&h3){c4.onOpenChange(false);d.trigger?.focus();x2.preventDefault()}})})})})})});et2.displayName=Ze3;function tt3(t2){return t2?"open":"closed"}__name(tt3,"tt");u3(tt3,"getOpenState");function z2(t2){return t2==="indeterminate"}__name(z2,"z");u3(z2,"isIndeterminate");function ue2(t2){return z2(t2)?"indeterminate":t2?"checked":"unchecked"}__name(ue2,"ue");u3(ue2,"getCheckedState");function mn(t2){const o6=document.activeElement;for(const n2 of t2){if(n2===o6)return;n2.focus();if(document.activeElement!==o6)return}}__name(mn,"mn");u3(mn,"focusFirst");function hn(t2,o6){return t2.map((n2,r3)=>t2[(o6+r3)%t2.length])}__name(hn,"hn");u3(hn,"wrapArray");function gn(t2,o6,n2){const r3=o6.length>1&&Array.from(o6).every(m2=>m2===o6[0]);const s=r3?o6[0]:o6;const c4=n2?t2.indexOf(n2):-1;let i4=hn(t2,Math.max(c4,0));const d=s.length===1;if(d)i4=i4.filter(m2=>m2!==n2);const f2=i4.find(m2=>m2.toLowerCase().startsWith(s.toLowerCase()));return f2!==n2?f2:void 0}__name(gn,"gn");u3(gn,"getNextMatch");function vn(t2,o6){const{x:n2,y:r3}=t2;let s=false;for(let c4=0,i4=o6.length-1;c4r3!==h3>r3&&n2<(l2-m2)*(r3-x2)/(h3-x2)+m2;if(w)s=!s}return s}__name(vn,"vn");u3(vn,"isPointInPolygon");function bn(t2,o6){if(!o6)return false;const n2={x:t2.clientX,y:t2.clientY};return vn(n2,o6)}__name(bn,"bn");u3(bn,"isPointerInGraceArea");function O(t2){return o6=>o6.pointerType==="mouse"?t2(o6):void 0}__name(O,"O");u3(O,"whenMouse");var wn=Te;var Mn=se2;var jn=Le2;var yn=Be2;var Cn=le2;var Nn=Ue3;var _n=Y;var Fn2=Ke3;var Rn=He2;var Sn=ze2;var En=Xe2;var Pn2=Ye2;var Dn=qe2;var In2=Je3;var An=et2;var q="DropdownMenu";var[kn,So2]=av(q,[Ae]);var M2=Ae();var[Tn,nt2]=kn(q);var ot3=u3(t2=>{const{__scopeDropdownMenu:o6,children:n2,dir:r3,open:s,defaultOpen:c4,onOpenChange:i4,modal:d=true}=t2;const f2=M2(o6);const m2=z.useRef(null);const[x2,l2]=dS({prop:s,defaultProp:c4??false,onChange:i4,caller:q});return Ht.jsx(Tn,{scope:o6,triggerId:gS(),triggerRef:m2,contentId:gS(),open:x2,onOpenChange:l2,onOpenToggle:z.useCallback(()=>l2(h3=>!h3),[l2]),modal:d,children:Ht.jsx(wn,{...f2,open:x2,onOpenChange:l2,dir:r3,modal:d,children:n2})})},"DropdownMenu$1");ot3.displayName=q;var rt2="DropdownMenuTrigger";var st2=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,disabled:r3=false,...s}=t2;const c4=nt2(rt2,n2);const i4=M2(n2);return Ht.jsx(Mn,{asChild:true,...i4,children:Ht.jsx(sn.button,{type:"button",id:c4.triggerId,"aria-haspopup":"menu","aria-expanded":c4.open,"aria-controls":c4.open?c4.contentId:void 0,"data-state":c4.open?"open":"closed","data-disabled":r3?"":void 0,disabled:r3,...s,ref:Xh(o6,c4.triggerRef),onPointerDown:go(t2.onPointerDown,d=>{if(!r3&&d.button===0&&d.ctrlKey===false){c4.onOpenToggle();if(!c4.open)d.preventDefault()}}),onKeyDown:go(t2.onKeyDown,d=>{if(r3)return;if(["Enter"," "].includes(d.key))c4.onOpenToggle();if(d.key==="ArrowDown")c4.onOpenChange(true);if(["Enter"," ","ArrowDown"].includes(d.key))d.preventDefault()})})})});st2.displayName=rt2;var On="DropdownMenuPortal";var at2=u3(t2=>{const{__scopeDropdownMenu:o6,...n2}=t2;const r3=M2(o6);return Ht.jsx(jn,{...r3,...n2})},"DropdownMenuPortal");at2.displayName=On;var it2="DropdownMenuContent";var ct2=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=nt2(it2,n2);const c4=M2(n2);const i4=z.useRef(false);return Ht.jsx(yn,{id:s.contentId,"aria-labelledby":s.triggerId,...c4,...r3,ref:o6,onCloseAutoFocus:go(t2.onCloseAutoFocus,d=>{if(!i4.current)s.triggerRef.current?.focus();i4.current=false;d.preventDefault()}),onInteractOutside:go(t2.onInteractOutside,d=>{const f2=d.detail.originalEvent;const m2=f2.button===0&&f2.ctrlKey===true;const x2=f2.button===2||m2;if(!s.modal||x2)i4.current=true}),style:{...t2.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ct2.displayName=it2;var Ln="DropdownMenuGroup";var Bn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Cn,{...s,...r3,ref:o6})});Bn.displayName=Ln;var Un="DropdownMenuLabel";var Gn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Nn,{...s,...r3,ref:o6})});Gn.displayName=Un;var Kn="DropdownMenuItem";var lt2=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(_n,{...s,...r3,ref:o6})});lt2.displayName=Kn;var $n="DropdownMenuCheckboxItem";var Hn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Fn2,{...s,...r3,ref:o6})});Hn.displayName=$n;var Wn="DropdownMenuRadioGroup";var zn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Rn,{...s,...r3,ref:o6})});zn.displayName=Wn;var Vn="DropdownMenuRadioItem";var Xn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Sn,{...s,...r3,ref:o6})});Xn.displayName=Vn;var Yn="DropdownMenuItemIndicator";var qn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(En,{...s,...r3,ref:o6})});qn.displayName=Yn;var Qn="DropdownMenuSeparator";var Jn=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Pn2,{...s,...r3,ref:o6})});Jn.displayName=Qn;var Zn="DropdownMenuArrow";var eo=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(Dn,{...s,...r3,ref:o6})});eo.displayName=Zn;var to="DropdownMenuSubTrigger";var no=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(In2,{...s,...r3,ref:o6})});no.displayName=to;var oo2="DropdownMenuSubContent";var ro2=z.forwardRef((t2,o6)=>{const{__scopeDropdownMenu:n2,...r3}=t2;const s=M2(n2);return Ht.jsx(An,{...s,...r3,ref:o6,style:{...t2.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ro2.displayName=oo2;var so2=ot3;var ao=st2;var io=at2;var co2=ct2;var lo=lt2;var uo=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]];var po2=qv("heart",uo);var xo2=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]];var Me2=qv("menu",xo2);var fo2=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]];var mo2=qv("package",fo2);var ho2=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]];var go2=qv("shopping-bag",ho2);var vo2=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]];var bo2=qv("user",vo2);function je2({...t2}){return Ht.jsx(so2,{"data-slot":"dropdown-menu",...t2})}__name(je2,"je");u3(je2,"DropdownMenu");function ye2({...t2}){return Ht.jsx(ao,{"data-slot":"dropdown-menu-trigger",...t2})}__name(ye2,"ye");u3(ye2,"DropdownMenuTrigger");function Ce({className:t2,sideOffset:o6=4,...n2}){return Ht.jsx(io,{children:Ht.jsx(co2,{"data-slot":"dropdown-menu-content",sideOffset:o6,className:nv("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t2),...n2})})}__name(Ce,"Ce");u3(Ce,"DropdownMenuContent");function Ne2({className:t2,inset:o6,variant:n2="default",...r3}){return Ht.jsx(lo,{"data-slot":"dropdown-menu-item","data-inset":o6,"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",t2),...r3})}__name(Ne2,"Ne");u3(Ne2,"DropdownMenuItem");var dt3=u3(t2=>{return{id:String(t2.id),label:rS(String(t2.title)),href:t2.resolved_url,children:Array.isArray(t2.children)?t2.children.map(dt3):void 0}},"createMenuItem");var ut2=z.createContext(null);var wo2=u3(()=>{const t2=z.useContext(ut2);if(!t2){throw new Error("useMenu must be used within a MenuProvider")}return t2},"useMenu");var Mo2=u3(({children:t2,menu_id:o6,...n2})=>{const[r3,s]=z.useState([]);const[c4,i4]=z.useState(true);const[d,f2]=z.useState(null);const[m2,x2]=z.useState(false);const l2=z.useRef(null);const h3=z.useCallback(()=>{const C2="Failed to fetch menu items";f2(C2)},[]);const w=u3(async C2=>{if(m2)return;i4(true);x2(true);f2(null);try{const _2=await wvcClient.getMenuItems({menuId:parseInt(o6)});const Q4=_2.map(dt3);s(Q4)}catch{h3()}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 N2={menuItems:r3,loading:c4,error:d,refetch:v2,isRefetching:m2};return Ht.jsx(ut2.Provider,{value:N2,children:Ht.jsx("div",{...n2,"data-wvc-dynamic":"MenuProvider","data-wvc-menu_id":o6,children:t2})})},"WordpressMenuProvider");var jo2=Mo2;var yo2=[{label:"Home",href:"/",active:true},{label:"Shop",href:"/shop",hasDropdown:true,dropdownItems:[{label:"Fibre Filler",href:"/shop/fibre-filler"},{label:"Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Primers",href:"/shop/primers"},{label:"Wall and Roof Paint",href:"/shop/wall-and-roof-paint"}]},{label:"Waterproofing Solutions",href:"/waterproofing-solutions"},{label:"How It Works",href:"/how-it-works"},{label:"Applications",href:"/applications"},{label:"Help & Advice",href:"/help-advice"},{label:"About us",href:"/about-us"},{label:"Contact",href:"/contact"}];var _e=[{label:"Shop Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Shop Fibre Filler",href:"/shop/fibre-filler"},{label:"Shop Primers",href:"/shop/primers"},{label:"Shop Wall & Roof Paint",href:"/shop/wall-and-roof-paint"},{label:"Seamless Liquid Rubber Waterproofing",href:"/shop/liquid-rubber"},{label:"Reinforce Cracks, Joints & Leak Points",href:"/shop/fibre-filler"},{label:"Prepare Surfaces for Stronger Adhesion",href:"/shop/primers"},{label:"Durable Wall & Roof Protection That Lasts",href:"/shop/wall-and-roof-paint"}];function Co2(){const[t2,o6]=z.useState("");const[n2,r3]=z.useState(false);const{menuItems:s}=wo2();const c4=s&&s.length>0?s.map(i4=>({label:i4.label||i4.title||"",href:i4.href||i4.url||"#",dropdownItems:i4.children?.map(d=>({label:d.label||d.title||"",href:d.href||d.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:t2,onChange:u3(i4=>o6(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:r3,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(()=>r3(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:c4.map(i4=>Ht.jsx(cS,{to:i4.href,onClick:u3(()=>r3(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:c4.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(d=>Ht.jsx(Ne2,{asChild:true,children:Ht.jsx(cS,{to:d.href,className:"block py-2 px-3 text-sm font-medium text-[#111827] hover:bg-[#F3F4F6] rounded",children:d.label})},d.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 t2=u3(()=>{window.scrollTo({top:0,behavior:"smooth"})},"scrollToTop");return Ht.jsx("footer",{id:"mfn-footer-template",className:"w-full bg-white text-[#4B5563]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:Ht.jsxs("div",{className:"w-full max-w-[1260px] mx-auto px-4 md:px-6 pt-16 pb-8",children:[Ht.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-8 lg:gap-12 items-start",children:[Ht.jsxs("div",{className:"md:col-span-5 lg:col-span-5 flex flex-col space-y-4 pr-0 lg:pr-8",children:[Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block mb-2 w-fit",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",className:"w-[228px] h-auto object-contain"})}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"U-Proof supplies high-performance waterproofing products designed to protect roofs, walls, gutters, concrete, metal and exposed surfaces from leaks, weather damage and long-term deterioration."}),Ht.jsx("p",{className:"text-[#4B5563] text-[16px] font-normal leading-[24px]",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:"Built for South African conditions, our waterproofing range is suitable for homeowners, contractors, builders and property maintenance teams."})]}),Ht.jsxs("div",{className:"md:col-span-7 lg:col-span-7 grid grid-cols-1 sm:grid-cols-3 gap-8",children:[Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Shop Products"}),Ht.jsx("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:Ht.jsx("li",{children:Ht.jsx(cS,{to:"/products",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Products"})})})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Solutions"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/roof-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Roof Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/metal-roof-protection",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Metal Roof Protection"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/concrete-waterproofing",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Concrete Waterproofing"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/gutters-flashings",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Gutters & Flashings"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/solutions/balconies-terraces",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Balconies & Terraces"})})]})]}),Ht.jsxs("div",{className:"flex flex-col",children:[Ht.jsx("span",{className:"text-[#111827] text-[16px] font-bold leading-[24px] mb-4",children:"Legal"}),Ht.jsxs("ul",{className:"flex flex-col space-y-1 p-0 m-0 list-none",children:[Ht.jsx("li",{children:Ht.jsx(cS,{to:"/terms-conditions",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Terms & Conditions"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/privacy-policy",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Privacy Policy"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/about-us",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"About us"})}),Ht.jsx("li",{children:Ht.jsx(cS,{to:"/contact",className:"inline-block text-[#4B5563] hover:text-[#FFC501] text-[15px] font-medium leading-[22.5px] py-1 transition-colors duration-150",children:"Contact"})})]})]})]})]}),Ht.jsxs("div",{className:"mt-12 py-[25px] border-t border-b border-[#EDF0F2] flex items-center justify-between",children:[Ht.jsxs("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Visa.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Maestro.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/Mastercard.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"}),Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/PayPal.svg",alt:"payment",className:"w-[40px] h-[27px] object-contain"})]}),Ht.jsx(fS,{variant:"ghost",size:"icon",onClick:t2,className:"text-[#4B5563] hover:text-[#FFC501] hover:bg-transparent h-8 w-8 p-0","aria-label":"Back to top",children:Ht.jsx(TS,{className:"w-5 h-5"})})]}),Ht.jsxs("div",{className:"pt-6 text-center text-[14px] leading-[22px] text-[#7A838F]",children:["xA9 2026 U-Proof | All Rights Reserved |"," ",Ht.jsx(cS,{to:"/privacy-policy",className:"text-[#7A838F] hover:text-[#FFC501] transition-colors duration-150",children:"Privacy Policy"})]})]})})}__name(Po,"Po");u3(Po,"Footer");var eo2=Object.defineProperty;var i2=__name((t2,e7)=>eo2(t2,"name",{value:e7,configurable:true}),"i");var Si=z.createContext({});function no2(t2){const e7=z.useRef(null);if(e7.current===null){e7.current=t2()}return e7.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(t2,e7){if(t2.indexOf(e7)===-1)t2.push(e7)}__name(un2,"un");i2(un2,"addUniqueItem");function hn2(t2,e7){const n2=t2.indexOf(e7);if(n2>-1)t2.splice(n2,1)}__name(hn2,"hn");i2(hn2,"removeItem");var q2=i2((t2,e7,n2)=>{if(n2>e7)return e7;if(n2{},"invariant");var _={};var wi=i2(t2=>/^-?(?:d+(?:.d+)?|.d+)$/u.test(t2),"isNumericalString");function Ai(t2){return typeof t2==="object"&&t2!==null}__name(Ai,"Ai");i2(Ai,"isObject");var Vi2=i2(t2=>/^0[^.s]+$/u.test(t2),"isZeroValueString");function dn2(t2){let e7;return()=>{if(e7===void 0)e7=t2();return e7}}__name(dn2,"dn");i2(dn2,"memo");var H=i2(t2=>t2,"noop");var io2=i2((t2,e7)=>n2=>e7(t2(n2)),"combineFunctions");var jt=i2((...t2)=>t2.reduce(io2),"pipe");var Ct2=i2((t2,e7,n2)=>{const s=e7-t2;return s===0?1:(n2-t2)/s},"progress");var In3=class In4{static{__name(this,"In")}constructor(){this.subscriptions=[]}add(e7){un2(this.subscriptions,e7);return()=>hn2(this.subscriptions,e7)}notify(e7,n2,s){const r3=this.subscriptions.length;if(!r3)return;if(r3===1){this.subscriptions[0](e7,n2,s)}else{for(let o6=0;o6t2*1e3,"secondsToMilliseconds");var $2=i2(t2=>t2/1e3,"millisecondsToSeconds");function Ci2(t2,e7){return e7?t2*(1e3/e7):0}__name(Ci2,"Ci");i2(Ci2,"velocityPerSecond");var Di=i2((t2,e7,n2)=>(((1-3*n2+3*e7)*t2+(3*n2-6*e7))*t2+3*e7)*t2,"calcBezier");var ro3=1e-7;var oo3=12;function ao2(t2,e7,n2,s,r3){let o6;let c4;let a4=0;do{c4=e7+(n2-e7)/2;o6=Di(c4,s,r3)-t2;if(o6>0){n2=c4}else{e7=c4}}while(Math.abs(o6)>ro3&&++a4ao2(o6,0,1,t2,n2),"getTForX");return o6=>o6===0||o6===1?o6:Di(r3(o6),e7,s)}__name(Ot,"Ot");i2(Ot,"cubicBezier");var Mi2=i2(t2=>e7=>e7<=.5?t2(2*e7)/2:(2-t2(2*(1-e7)))/2,"mirrorEasing");var Ri2=i2(t2=>e7=>1-t2(1-e7),"reverseEasing");var Ei=Ot(.33,1.53,.69,.99);var mn2=Ri2(Ei);var Li2=Mi2(mn2);var ki2=i2(t2=>(t2*=2)<1?.5*mn2(t2):.5*(2-Math.pow(2,-10*(t2-1))),"anticipate");var pn2=i2(t2=>1-Math.sin(Math.acos(t2)),"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(t2=>{return Array.isArray(t2)&&typeof t2[0]!=="number"},"isEasingArray");var ji2=i2(t2=>Array.isArray(t2)&&typeof t2[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(t2=>{return typeof t2==="string"},"isValidEasing");var fs=i2(t2=>{if(ji2(t2)){fn3(t2.length===4);const[e7,n2,s,r3]=t2;return Ot(e7,n2,s,r3)}else if(fo3(t2)){return ho3[t2]}return t2},"easingDefinitionToFunction");var Kt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mo3(t2,e7){let n2=new Set;let s=new Set;let r3=false;let o6=false;const c4=new WeakSet;let a4={delta:0,timestamp:0,isProcessing:false};function l2(u5){if(c4.has(u5)){h3.schedule(u5);t2()}u5(a4)}__name(l2,"l");i2(l2,"triggerCallback");const h3={schedule:i2((u5,f2=false,d=false)=>{const m2=d&&r3;const p3=m2?n2:s;if(f2)c4.add(u5);if(!p3.has(u5))p3.add(u5);return u5},"schedule"),cancel:i2(u5=>{s.delete(u5);c4.delete(u5)},"cancel"),process:i2(u5=>{a4=u5;if(r3){o6=true;return}r3=true;[n2,s]=[s,n2];n2.forEach(l2);n2.clear();r3=false;if(o6){o6=false;h3.process(u5)}},"process")};return h3}__name(mo3,"mo");i2(mo3,"createRenderStep");var po3=40;function Oi(t2,e7){let n2=false;let s=true;const r3={delta:0,timestamp:0,isProcessing:false};const o6=i2(()=>n2=true,"flagRunNextFrame");const c4=Kt.reduce((y3,w)=>{y3[w]=mo3(o6);return y3},{});const{setup:a4,read:l2,resolveKeyframes:h3,preUpdate:u5,update:f2,preRender:d,render:m2,postRender:p3}=c4;const v2=i2(()=>{const y3=_.useManualTiming?r3.timestamp:performance.now();n2=false;if(!_.useManualTiming){r3.delta=s?1e3/60:Math.max(Math.min(y3-r3.timestamp,po3),1)}r3.timestamp=y3;r3.isProcessing=true;a4.process(r3);l2.process(r3);h3.process(r3);u5.process(r3);f2.process(r3);d.process(r3);m2.process(r3);p3.process(r3);r3.isProcessing=false;if(n2&&e7){s=false;t2(v2)}},"processBatch");const T3=i2(()=>{n2=true;s=true;if(!r3.isProcessing){t2(v2)}},"wake");const g2=Kt.reduce((y3,w)=>{const b=c4[w];y3[w]=(V,L=false,A=false)=>{if(!n2)T3();return b.schedule(V,L,A)};return y3},{});const x2=i2(y3=>{for(let w=0;w{if(Ht2===void 0){O2.set(B2.isProcessing||_.useManualTiming?B2.timestamp:performance.now())}return Ht2},"now"),set:i2(t2=>{Ht2=t2;queueMicrotask(go3)},"set")};var Ni2=i2(t2=>e7=>typeof e7==="string"&&e7.startsWith(t2),"checkStringStartsWith");var gn2=Ni2("--");var yo3=Ni2("var(--");var yn2=i2(t2=>{const e7=yo3(t2);if(!e7)return false;return vo3.test(t2.split("/*")[0].trim())},"isCSSVariableToken");var vo3=/var(--(?:[w-]+s*|[w-]+s*,(?:s*[^)(s]|s*((?:[^)(]|([^)(]*))*))+s*))$/iu;var yt2={test:i2(t2=>typeof t2==="number","test"),parse:parseFloat,transform:i2(t2=>t2,"transform")};var Mt={...yt2,transform:i2(t2=>q2(0,1,t2),"transform")};var Wt2={...yt2,default:1};var bt3=i2(t2=>Math.round(t2*1e5)/1e5,"sanitize");var vn2=/-?(?:d+(?:.d+)?|.d+)/gu;function To2(t2){return t2==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((t2,e7)=>n2=>{return Boolean(typeof n2==="string"&&xo3.test(n2)&&n2.startsWith(t2)||e7&&!To2(n2)&&Object.prototype.hasOwnProperty.call(n2,e7))},"isColorString");var Ui2=i2((t2,e7,n2)=>s=>{if(typeof s!=="string")return s;const[r3,o6,c4,a4]=s.match(vn2);return{[t2]:parseFloat(r3),[e7]:parseFloat(o6),[n2]:parseFloat(c4),alpha:a4!==void 0?parseFloat(a4):1}},"splitColor");var Po2=i2(t2=>q2(0,255,t2),"clampRgbUnit");var re3={...yt2,transform:i2(t2=>Math.round(Po2(t2)),"transform")};var it3={test:Tn2("rgb","red"),parse:Ui2("red","green","blue"),transform:i2(({red:t2,green:e7,blue:n2,alpha:s=1})=>"rgba("+re3.transform(t2)+", "+re3.transform(e7)+", "+re3.transform(n2)+", "+bt3(Mt.transform(s))+")","transform")};function bo3(t2){let e7="";let n2="";let s="";let r3="";if(t2.length>5){e7=t2.substring(1,3);n2=t2.substring(3,5);s=t2.substring(5,7);r3=t2.substring(7,9)}else{e7=t2.substring(1,2);n2=t2.substring(2,3);s=t2.substring(3,4);r3=t2.substring(4,5);e7+=e7;n2+=n2;s+=s;r3+=r3}return{red:parseInt(e7,16),green:parseInt(n2,16),blue:parseInt(s,16),alpha:r3?parseInt(r3,16)/255:1}}__name(bo3,"bo");i2(bo3,"parseHex");var xe={test:Tn2("#"),parse:bo3,transform:it3.transform};var Nt2=i2(t2=>({test:i2(e7=>typeof e7==="string"&&e7.endsWith(t2)&&e7.split(" ").length===1,"test"),parse:parseFloat,transform:i2(e7=>`${e7}${t2}`,"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(t2=>Y2.parse(t2)/100,"parse"),transform:i2(t2=>Y2.transform(t2*100),"transform")}))();var ct3={test:Tn2("hsl","hue"),parse:Ui2("hue","saturation","lightness"),transform:i2(({hue:t2,saturation:e7,lightness:n2,alpha:s=1})=>{return"hsla("+Math.round(t2)+", "+Y2.transform(bt3(e7))+", "+Y2.transform(bt3(n2))+", "+bt3(Mt.transform(s))+")"},"transform")};var E3={test:i2(t2=>it3.test(t2)||xe.test(t2)||ct3.test(t2),"test"),parse:i2(t2=>{if(it3.test(t2)){return it3.parse(t2)}else if(ct3.test(t2)){return ct3.parse(t2)}else{return xe.parse(t2)}},"parse"),transform:i2(t2=>{return typeof t2==="string"?t2:t2.hasOwnProperty("red")?it3.transform(t2):ct3.transform(t2)},"transform"),getAnimatableNone:i2(t2=>{const e7=E3.parse(t2);e7.alpha=0;return E3.transform(e7)},"getAnimatableNone")};var Ao2=/(?:#[da-f]{3,8}|(?:rgb|hsl)a?((?:-?[d.]+%?[,s]+){2}-?[d.]+%?s*(?:[,/]s*)?(?:bd+(?:.d+)?|.d+)?%?))/giu;function Vo2(t2){return isNaN(t2)&&typeof t2==="string"&&(t2.match(vn2)?.length||0)+(t2.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(t2){const e7=t2.toString();const n2=[];const s={color:[],number:[],var:[]};const r3=[];let o6=0;const c4=e7.replace(Mo3,l2=>{if(E3.test(l2)){s.color.push(o6);r3.push(Wi);n2.push(E3.parse(l2))}else if(l2.startsWith(Do2)){s.var.push(o6);r3.push(Co3);n2.push(l2)}else{s.number.push(o6);r3.push(Ki2);n2.push(parseFloat(l2))}++o6;return ms});const a4=c4.split(ms);return{values:n2,split:a4,indexes:s,types:r3}}__name(Rt2,"Rt");i2(Rt2,"analyseComplexValue");function $i(t2){return Rt2(t2).values}__name($i,"$i");i2($i,"parseComplexValue");function Hi2(t2){const{split:e7,types:n2}=Rt2(t2);const s=e7.length;return r3=>{let o6="";for(let c4=0;c4typeof t2==="number"?0:E3.test(t2)?E3.getAnimatableNone(t2):t2,"convertNumbersToZero");function Eo3(t2){const e7=$i(t2);const n2=Hi2(t2);return n2(e7.map(Ro3))}__name(Eo3,"Eo");i2(Eo3,"getAnimatableNone$1");var J={test:Vo2,parse:$i,createTransformer:Hi2,getAnimatableNone:Eo3};function oe2(t2,e7,n2){if(n2<0)n2+=1;if(n2>1)n2-=1;if(n2<1/6)return t2+(e7-t2)*6*n2;if(n2<1/2)return e7;if(n2<2/3)return t2+(e7-t2)*(2/3-n2)*6;return t2}__name(oe2,"oe");i2(oe2,"hueToRgb");function Lo2({hue:t2,saturation:e7,lightness:n2,alpha:s}){t2/=360;e7/=100;n2/=100;let r3=0;let o6=0;let c4=0;if(!e7){r3=o6=c4=n2}else{const a4=n2<.5?n2*(1+e7):n2+e7-n2*e7;const l2=2*n2-a4;r3=oe2(l2,a4,t2+1/3);o6=oe2(l2,a4,t2);c4=oe2(l2,a4,t2-1/3)}return{red:Math.round(r3*255),green:Math.round(o6*255),blue:Math.round(c4*255),alpha:s}}__name(Lo2,"Lo");i2(Lo2,"hslaToRgba");function Gt(t2,e7){return n2=>n2>0?e7:t2}__name(Gt,"Gt");i2(Gt,"mixImmediate");var D=i2((t2,e7,n2)=>{return t2+(e7-t2)*n2},"mixNumber$1");var ae3=i2((t2,e7,n2)=>{const s=t2*t2;const r3=n2*(e7*e7-s)+s;return r3<0?0:Math.sqrt(r3)},"mixLinearColor");var ko2=[xe,it3,ct3];var Bo2=i2(t2=>ko2.find(e7=>e7.test(t2)),"getColorType");function ps(t2){const e7=Bo2(t2);if(!Boolean(e7))return false;let n2=e7.parse(t2);if(e7===ct3){n2=Lo2(n2)}return n2}__name(ps,"ps");i2(ps,"asRGBA");var gs=i2((t2,e7)=>{const n2=ps(t2);const s=ps(e7);if(!n2||!s){return Gt(t2,e7)}const r3={...n2};return o6=>{r3.red=ae3(n2.red,s.red,o6);r3.green=ae3(n2.green,s.green,o6);r3.blue=ae3(n2.blue,s.blue,o6);r3.alpha=D(n2.alpha,s.alpha,o6);return it3.transform(r3)}},"mixColor");var Pe=new Set(["none","hidden"]);function Fo(t2,e7){if(Pe.has(t2)){return n2=>n2<=0?t2:e7}else{return n2=>n2>=1?e7:t2}}__name(Fo,"Fo");i2(Fo,"mixVisibility");function Io(t2,e7){return n2=>D(t2,e7,n2)}__name(Io,"Io");i2(Io,"mixNumber");function xn2(t2){if(typeof t2==="number"){return Io}else if(typeof t2==="string"){return yn2(t2)?Gt:E3.test(t2)?gs:No2}else if(Array.isArray(t2)){return zi2}else if(typeof t2==="object"){return E3.test(t2)?gs:jo3}return Gt}__name(xn2,"xn");i2(xn2,"getMixer");function zi2(t2,e7){const n2=[...t2];const s=n2.length;const r3=t2.map((o6,c4)=>xn2(o6)(o6,e7[c4]));return o6=>{for(let c4=0;c4{for(const o6 in s){n2[o6]=s[o6](r3)}return n2}}__name(jo3,"jo");i2(jo3,"mixObject");function Oo2(t2,e7){const n2=[];const s={color:0,var:0,number:0};for(let r3=0;r3{const n2=J.createTransformer(e7);const s=Rt2(t2);const r3=Rt2(e7);const o6=s.indexes.var.length===r3.indexes.var.length&&s.indexes.color.length===r3.indexes.color.length&&s.indexes.number.length>=r3.indexes.number.length;if(o6){if(Pe.has(t2)&&!r3.values.length||Pe.has(e7)&&!s.values.length){return Fo(t2,e7)}return jt(zi2(Oo2(s,r3),r3.values),n2)}else{return Gt(t2,e7)}},"mixComplex");function Xi2(t2,e7,n2){if(typeof t2==="number"&&typeof e7==="number"&&typeof n2==="number"){return D(t2,e7,n2)}const s=xn2(t2);return s(t2,e7)}__name(Xi2,"Xi");i2(Xi2,"mix");var Uo2=i2(t2=>{const e7=i2(({timestamp:n2})=>t2(n2),"passTimestamp");return{start:i2((n2=true)=>C.update(e7,n2),"start"),stop:i2(()=>Q2(e7),"stop"),now:i2(()=>B2.isProcessing?B2.timestamp:O2.now(),"now")}},"frameloopDriver");var Yi2=i2((t2,e7,n2=10)=>{let s="";const r3=Math.max(Math.round(e7/n2),2);for(let o6=0;o6=qt2?Infinity:e7}__name(Pn3,"Pn");i2(Pn3,"calcGeneratorDuration");function Ko2(t2,e7=100,n2){const s=n2({...t2,keyframes:[0,e7]});const r3=Math.min(Pn3(s),qt2);return{type:"keyframes",ease:i2(o6=>{return s.next(r3*o6).value/e7},"ease"),duration:$2(r3)}}__name(Ko2,"Ko");i2(Ko2,"createGeneratorEasing");var Wo=5;function Gi2(t2,e7,n2){const s=Math.max(e7-Wo,0);return Ci2(n2-t2(s),e7-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:t2=M3.duration,bounce:e7=M3.bounce,velocity:n2=M3.velocity,mass:s=M3.mass}){let r3;let o6;let c4=1-e7;c4=q2(M3.minDamping,M3.maxDamping,c4);t2=q2(M3.minDuration,M3.maxDuration,$2(t2));if(c4<1){r3=i2(h3=>{const u5=h3*c4;const f2=u5*t2;const d=u5-n2;const m2=be2(h3,c4);const p3=Math.exp(-f2);return le3-d/m2*p3},"envelope");o6=i2(h3=>{const u5=h3*c4;const f2=u5*t2;const d=f2*n2+n2;const m2=Math.pow(c4,2)*Math.pow(h3,2)*t2;const p3=Math.exp(-f2);const v2=be2(Math.pow(h3,2),c4);const T3=-r3(h3)+le3>0?-1:1;return T3*((d-m2)*p3)/v2},"derivative")}else{r3=i2(h3=>{const u5=Math.exp(-h3*t2);const f2=(h3-n2)*t2+1;return-le3+u5*f2},"envelope");o6=i2(h3=>{const u5=Math.exp(-h3*t2);const f2=(n2-h3)*(t2*t2);return u5*f2},"derivative")}const a4=5/t2;const l2=zo2(r3,o6,a4);t2=X3(t2);if(isNaN(l2)){return{stiffness:M3.stiffness,damping:M3.damping,duration:t2}}else{const h3=Math.pow(l2,2)*s;return{stiffness:h3,damping:c4*2*Math.sqrt(s*h3),duration:t2}}}__name($o,"$o");i2($o,"findSpring");var Ho2=12;function zo2(t2,e7,n2){let s=n2;for(let r3=1;r3t2[n2]!==void 0)}__name(ys,"ys");i2(ys,"isSpringType");function Go2(t2){let e7={velocity:M3.velocity,stiffness:M3.stiffness,damping:M3.damping,mass:M3.mass,isResolvedFromDuration:false,...t2};if(!ys(t2,Yo2)&&ys(t2,Xo2)){if(t2.visualDuration){const n2=t2.visualDuration;const s=2*Math.PI/(n2*1.2);const r3=s*s;const o6=2*q2(.05,1,1-(t2.bounce||0))*Math.sqrt(r3);e7={...e7,mass:M3.mass,stiffness:r3,damping:o6}}else{const n2=$o(t2);e7={...e7,...n2,mass:M3.mass};e7.isResolvedFromDuration=true}}return e7}__name(Go2,"Go");i2(Go2,"getSpringOptions");function _t2(t2=M3.visualDuration,e7=M3.bounce){const n2=typeof t2!=="object"?{visualDuration:t2,keyframes:[0,1],bounce:e7}:t2;let{restSpeed:s,restDelta:r3}=n2;const o6=n2.keyframes[0];const c4=n2.keyframes[n2.keyframes.length-1];const a4={done:false,value:o6};const{stiffness:l2,damping:h3,mass:u5,duration:f2,velocity:d,isResolvedFromDuration:m2}=Go2({...n2,velocity:-$2(n2.velocity||0)});const p3=d||0;const v2=h3/(2*Math.sqrt(l2*u5));const T3=c4-o6;const g2=$2(Math.sqrt(l2/u5));const x2=Math.abs(T3)<5;s||(s=x2?M3.restSpeed.granular:M3.restSpeed.default);r3||(r3=x2?M3.restDelta.granular:M3.restDelta.default);let y3;if(v2<1){const b=be2(g2,v2);y3=i2(V=>{const L=Math.exp(-v2*g2*V);return c4-L*((p3+v2*g2*T3)/b*Math.sin(b*V)+T3*Math.cos(b*V))},"resolveSpring")}else if(v2===1){y3=i2(b=>c4-Math.exp(-g2*b)*(T3+(p3+g2*T3)*b),"resolveSpring")}else{const b=g2*Math.sqrt(v2*v2-1);y3=i2(V=>{const L=Math.exp(-v2*g2*V);const A=Math.min(b*V,300);return c4-L*((p3+v2*g2*T3)*Math.sinh(A)+b*T3*Math.cosh(A))/b},"resolveSpring")}const w={calculatedDuration:m2?f2||null:null,next:i2(b=>{const V=y3(b);if(!m2){let L=b===0?p3:0;if(v2<1){L=b===0?X3(p3):Gi2(y3,b,V)}const A=Math.abs(L)<=s;const j3=Math.abs(c4-V)<=r3;a4.done=A&&j3}else{a4.done=b>=f2}a4.value=a4.done?c4:V;return a4},"next"),toString:i2(()=>{const b=Math.min(Pn3(w),qt2);const V=Yi2(L=>w.next(b*L).value,b,30);return b+"ms "+V},"toString"),toTransition:i2(()=>{},"toTransition")};return w}__name(_t2,"_t");i2(_t2,"spring");_t2.applyToOptions=t2=>{const e7=Ko2(t2,100,_t2);t2.ease=e7.ease;t2.duration=X3(e7.duration);t2.type="keyframes";return t2};function Se({keyframes:t2,velocity:e7=0,power:n2=.8,timeConstant:s=325,bounceDamping:r3=10,bounceStiffness:o6=500,modifyTarget:c4,min:a4,max:l2,restDelta:h3=.5,restSpeed:u5}){const f2=t2[0];const d={done:false,value:f2};const m2=i2(A=>a4!==void 0&&Al2,"isOutOfBounds");const p3=i2(A=>{if(a4===void 0)return l2;if(l2===void 0)return a4;return Math.abs(a4-A)-v2*Math.exp(-A/s),"calcDelta");const y3=i2(A=>g2+x2(A),"calcLatest");const w=i2(A=>{const j3=x2(A);const N2=y3(A);d.done=Math.abs(j3)<=h3;d.value=d.done?g2:N2},"applyFriction");let b;let V;const L=i2(A=>{if(!m2(d.value))return;b=A;V=_t2({keyframes:[d.value,p3(d.value)],velocity:Gi2(y3,A,d.value),damping:r3,stiffness:o6,restDelta:h3,restSpeed:u5})},"checkCatchBoundary");L(0);return{calculatedDuration:null,next:i2(A=>{let j3=false;if(!V&&b===void 0){j3=true;w(A);L(A)}if(b!==void 0&&A>=b){return V.next(A-b)}else{!j3&&w(A);return d}},"next")}}__name(Se,"Se");i2(Se,"inertia");function qo2(t2,e7,n2){const s=[];const r3=n2||_.mix||Xi2;const o6=t2.length-1;for(let c4=0;c4e7[0];if(o6===2&&e7[0]===e7[1])return()=>e7[1];const c4=t2[0]===t2[1];if(t2[0]>t2[o6-1]){t2=[...t2].reverse();e7=[...e7].reverse()}const a4=qo2(e7,s,r3);const l2=a4.length;const h3=i2(u5=>{if(c4&&u51){for(;f2h3(q2(t2[0],t2[o6-1],u5)):h3}__name(_o2,"_o");i2(_o2,"interpolate");function Zo2(t2,e7){const n2=t2[t2.length-1];for(let s=1;s<=e7;s++){const r3=Ct2(0,e7,s);t2.push(D(n2,1,r3))}}__name(Zo2,"Zo");i2(Zo2,"fillOffset");function Qo2(t2){const e7=[0];Zo2(e7,t2.length-1);return e7}__name(Qo2,"Qo");i2(Qo2,"defaultOffset");function Jo2(t2,e7){return t2.map(n2=>n2*e7)}__name(Jo2,"Jo");i2(Jo2,"convertOffsetToTimes");function ta2(t2,e7){return t2.map(()=>e7||Ii).splice(0,t2.length-1)}__name(ta2,"ta");i2(ta2,"defaultEasing");function St({duration:t2=300,keyframes:e7,times:n2,ease:s="easeInOut"}){const r3=uo2(s)?s.map(fs):fs(s);const o6={done:false,value:e7[0]};const c4=Jo2(n2&&n2.length===e7.length?n2:Qo2(e7),t2);const a4=_o2(c4,e7,{ease:Array.isArray(r3)?r3:ta2(e7,r3)});return{calculatedDuration:t2,next:i2(l2=>{o6.value=a4(l2);o6.done=l2>=t2;return o6},"next")}}__name(St,"St");i2(St,"keyframes");var ea2=i2(t2=>t2!==null,"isNotNull$1");function bn2(t2,{repeat:e7,repeatType:n2="loop"},s,r3=1){const o6=t2.filter(ea2);const c4=r3<0||e7&&n2!=="loop"&&e7%2===1;const a4=c4?0:o6.length-1;return!a4||s===void 0?o6[a4]:s}__name(bn2,"bn");i2(bn2,"getFinalKeyframe$1");var na2={decay:Se,inertia:Se,tween:St,keyframes:St,spring:_t2};function qi2(t2){if(typeof t2.type==="string"){t2.type=na2[t2.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(e7=>{this.resolve=e7})}notifyFinished(){this.resolve()}then(e7,n2){return this.finished.then(e7,n2)}};i2(jn2,"WithPromise");var Et2=jn2;var sa=i2(t2=>t2/100,"percentToProgress");var On2=class On3 extends Et2{static{__name(this,"On")}constructor(e7){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=e7;this.initAnimation();this.play();if(e7.autoplay===false)this.pause()}initAnimation(){const{options:e7}=this;qi2(e7);const{type:n2=St,repeat:s=0,repeatDelay:r3=0,repeatType:o6,velocity:c4=0}=e7;let{keyframes:a4}=e7;const l2=n2||St;if(l2!==St&&typeof a4[0]!=="number"){this.mixKeyframes=jt(sa,Xi2(a4[0],a4[1]));a4=[0,100]}const h3=l2({...e7,keyframes:a4});if(o6==="mirror"){this.mirroredGenerator=l2({...e7,keyframes:[...a4].reverse(),velocity:-c4})}if(h3.calculatedDuration===null){h3.calculatedDuration=Pn3(h3)}const{calculatedDuration:u5}=h3;this.calculatedDuration=u5;this.resolvedDuration=u5+r3;this.totalDuration=this.resolvedDuration*(s+1)-r3;this.generator=h3}updateTime(e7){const n2=Math.round(e7-this.startTime)*this.playbackSpeed;if(this.holdTime!==null){this.currentTime=this.holdTime}else{this.currentTime=n2}}tick(e7,n2=false){const{generator:s,totalDuration:r3,mixKeyframes:o6,mirroredGenerator:c4,resolvedDuration:a4,calculatedDuration:l2}=this;if(this.startTime===null)return s.next(0);const{delay:h3=0,keyframes:u5,repeat:f2,repeatType:d,repeatDelay:m2,type:p3,onUpdate:v2,finalKeyframe:T3}=this.options;if(this.speed>0){this.startTime=Math.min(this.startTime,e7)}else if(this.speed<0){this.startTime=Math.min(e7-r3/this.speed,this.startTime)}if(n2){this.currentTime=e7}else{this.updateTime(e7)}const g2=this.currentTime-h3*(this.playbackSpeed>=0?1:-1);const x2=this.playbackSpeed>=0?g2<0:g2>r3;this.currentTime=Math.max(g2,0);if(this.state==="finished"&&this.holdTime===null){this.currentTime=r3}let y3=this.currentTime;let w=s;if(f2){const A=Math.min(this.currentTime,r3)/a4;let j3=Math.floor(A);let N2=A%1;if(!N2&&A>=1){N2=1}N2===1&&j3--;j3=Math.min(j3,f2+1);const tt4=Boolean(j3%2);if(tt4){if(d==="reverse"){N2=1-N2;if(m2){N2-=m2/a4}}else if(d==="mirror"){w=c4}}y3=q2(0,1,N2)*a4}const b=x2?{done:false,value:u5[0]}:w.next(y3);if(o6){b.value=o6(b.value)}let{done:V}=b;if(!x2&&l2!==null){V=this.playbackSpeed>=0?this.currentTime>=r3:this.currentTime<=0}const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);if(L&&p3!==Se){b.value=bn2(u5,this.options,T3,this.speed)}if(v2){v2(b.value)}if(L){this.finish()}return b}then(e7,n2){return this.finished.then(e7,n2)}get duration(){return $2(this.calculatedDuration)}get iterationDuration(){const{delay:e7=0}=this.options||{};return this.duration+$2(e7)}get time(){return $2(this.currentTime)}set time(e7){e7=X3(e7);this.currentTime=e7;if(this.startTime===null||this.holdTime!==null||this.playbackSpeed===0){this.holdTime=e7}else if(this.driver){this.startTime=this.driver.now()-e7/this.playbackSpeed}this.driver?.start(false)}get speed(){return this.playbackSpeed}set speed(e7){this.updateTime(O2.now());const n2=this.playbackSpeed!==e7;this.playbackSpeed=e7;if(n2){this.time=$2(this.currentTime)}}play(){if(this.isStopped)return;const{driver:e7=Uo2,startTime:n2}=this.options;if(!this.driver){this.driver=e7(r3=>this.tick(r3))}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(e7){this.startTime=0;return this.tick(e7,true)}attachTimeline(e7){if(this.options.allowFlatten){this.options.type="keyframes";this.options.ease="linear";this.initAnimation()}this.driver?.stop();return e7.observe(this)}};i2(On2,"JSAnimation");var Lt=On2;function ia2(t2){for(let e7=1;e7t2*180/Math.PI,"radToDeg");var we2=i2(t2=>{const e7=rt3(Math.atan2(t2[1],t2[0]));return Ae2(e7)},"rotate");var ra2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i2(t2=>(Math.abs(t2[0])+Math.abs(t2[3]))/2,"scale"),rotate:we2,rotateZ:we2,skewX:i2(t2=>rt3(Math.atan(t2[1])),"skewX"),skewY:i2(t2=>rt3(Math.atan(t2[2])),"skewY"),skew:i2(t2=>(Math.abs(t2[1])+Math.abs(t2[2]))/2,"skew")};var Ae2=i2(t2=>{t2=t2%360;if(t2<0)t2+=360;return t2},"rebaseAngle");var vs=we2;var Ts=i2(t2=>Math.sqrt(t2[0]*t2[0]+t2[1]*t2[1]),"scaleX");var xs=i2(t2=>Math.sqrt(t2[4]*t2[4]+t2[5]*t2[5]),"scaleY");var oa2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ts,scaleY:xs,scale:i2(t2=>(Ts(t2)+xs(t2))/2,"scale"),rotateX:i2(t2=>Ae2(rt3(Math.atan2(t2[6],t2[5]))),"rotateX"),rotateY:i2(t2=>Ae2(rt3(Math.atan2(-t2[2],t2[0]))),"rotateY"),rotateZ:vs,rotate:vs,skewX:i2(t2=>rt3(Math.atan(t2[4])),"skewX"),skewY:i2(t2=>rt3(Math.atan(t2[1])),"skewY"),skew:i2(t2=>(Math.abs(t2[1])+Math.abs(t2[4]))/2,"skew")};function Ve3(t2){return t2.includes("scale")?1:0}__name(Ve3,"Ve");i2(Ve3,"defaultTransformValue");function Ce2(t2,e7){if(!t2||t2==="none"){return Ve3(e7)}const n2=t2.match(/^matrix3d(([-d.es,]+))$/u);let s;let r3;if(n2){s=oa2;r3=n2}else{const a4=t2.match(/^matrix(([-d.es,]+))$/u);s=ra2;r3=a4}if(!r3){return Ve3(e7)}const o6=s[e7];const c4=r3[1].split(",").map(la2);return typeof o6==="function"?o6(c4):c4[o6]}__name(Ce2,"Ce");i2(Ce2,"parseValueFromTransform");var aa2=i2((t2,e7)=>{const{transform:n2="none"}=getComputedStyle(t2);return Ce2(n2,e7)},"readTransformValue");function la2(t2){return parseFloat(t2.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(t2=>t2===yt2||t2===P,"isNumOrPxType");var ca2=new Set(["x","y","z"]);var ua2=vt.filter(t2=>!ca2.has(t2));function ha(t2){const e7=[];ua2.forEach(n2=>{const s=t2.getValue(n2);if(s!==void 0){e7.push([n2,s.get()]);s.set(n2.startsWith("scale")?1:0)}});return e7}__name(ha,"ha");i2(ha,"removeNonTranslationalTransform");var ot4={width:i2(({x:t2},{paddingLeft:e7="0",paddingRight:n2="0"})=>t2.max-t2.min-parseFloat(e7)-parseFloat(n2),"width"),height:i2(({y:t2},{paddingTop:e7="0",paddingBottom:n2="0"})=>t2.max-t2.min-parseFloat(e7)-parseFloat(n2),"height"),top:i2((t2,{top:e7})=>parseFloat(e7),"top"),left:i2((t2,{left:e7})=>parseFloat(e7),"left"),bottom:i2(({y:t2},{top:e7})=>parseFloat(e7)+(t2.max-t2.min),"bottom"),right:i2(({x:t2},{left:e7})=>parseFloat(e7)+(t2.max-t2.min),"right"),x:i2((t2,{transform:e7})=>Ce2(e7,"x"),"x"),y:i2((t2,{transform:e7})=>Ce2(e7,"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 t2=Array.from(at3).filter(s=>s.needsMeasurement);const e7=new Set(t2.map(s=>s.element));const n2=new Map;e7.forEach(s=>{const r3=ha(s);if(!r3.length)return;n2.set(s,r3);s.render()});t2.forEach(s=>s.measureInitialState());e7.forEach(s=>{s.render();const r3=n2.get(s);if(r3){r3.forEach(([o6,c4])=>{s.getValue(o6)?.set(c4)})}});t2.forEach(s=>s.measureEndState());t2.forEach(s=>{if(s.suspendedScrollY!==void 0){window.scrollTo(0,s.suspendedScrollY)}})}Me3=false;De2=false;at3.forEach(t2=>t2.complete(Re));at3.clear()}__name(_i2,"_i");i2(_i2,"measureAllKeyframes");function Zi2(){at3.forEach(t2=>{t2.readKeyframes();if(t2.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(e7,n2,s,r3,o6,c4=false){this.state="pending";this.isAsync=false;this.needsMeasurement=false;this.unresolvedKeyframes=[...e7];this.onComplete=n2;this.name=s;this.motionValue=r3;this.element=o6;this.isAsync=c4}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:e7,name:n2,element:s,motionValue:r3}=this;if(e7[0]===null){const o6=r3?.get();const c4=e7[e7.length-1];if(o6!==void 0){e7[0]=o6}else if(s&&n2){const a4=s.readValue(n2,c4);if(a4!==void 0&&a4!==null){e7[0]=a4}}if(e7[0]===void 0){e7[0]=c4}if(r3&&o6===void 0){r3.set(e7[0])}}ia2(e7)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e7=false){this.state="complete";this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e7);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(t2=>t2.startsWith("--"),"isCSSVar");function ma(t2,e7,n2){da(e7)?t2.style.setProperty(e7,n2):t2.style[e7]=n2}__name(ma,"ma");i2(ma,"setStyle");var pa=dn2(()=>window.ScrollTimeline!==void 0);var ga={};function ya(t2,e7){const n2=dn2(t2);return()=>ga[e7]??n2()}__name(ya,"ya");i2(ya,"memoSupports");var Qi2=ya(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t2){return false}return true},"linearEasing");var Pt=i2(([t2,e7,n2,s])=>`cubic-bezier(${t2}, ${e7}, ${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(t2,e7){if(!t2){return void 0}else if(typeof t2==="function"){return Qi2()?Yi2(t2,e7):"ease-out"}else if(ji2(t2)){return Pt(t2)}else if(Array.isArray(t2)){return t2.map(n2=>Ji2(n2,e7)||bs.easeOut)}else{return bs[t2]}}__name(Ji2,"Ji");i2(Ji2,"mapEasingToNativeEasing");function va(t2,e7,n2,{delay:s=0,duration:r3=300,repeat:o6=0,repeatType:c4="loop",ease:a4="easeOut",times:l2}={},h3=void 0){const u5={[e7]:n2};if(l2)u5.offset=l2;const f2=Ji2(a4,r3);if(Array.isArray(f2))u5.easing=f2;const d={delay:s,duration:r3,easing:!Array.isArray(f2)?f2:"linear",fill:"both",iterations:o6+1,direction:c4==="reverse"?"alternate":"normal"};if(h3)d.pseudoElement=h3;const m2=t2.animate(u5,d);return m2}__name(va,"va");i2(va,"startWaapiAnimation");function tr(t2){return typeof t2==="function"&&"applyToOptions"in t2}__name(tr,"tr");i2(tr,"isGenerator");function Ta({type:t2,...e7}){if(tr(t2)&&Qi2()){return t2.applyToOptions(e7)}else{e7.duration??(e7.duration=300);e7.ease??(e7.ease="easeOut")}return e7}__name(Ta,"Ta");i2(Ta,"applyGeneratorOptions");var Un2=class Un3 extends Et2{static{__name(this,"Un")}constructor(e7){super();this.finishedTime=null;this.isStopped=false;if(!e7)return;const{element:n2,name:s,keyframes:r3,pseudoElement:o6,allowFlatten:c4=false,finalKeyframe:a4,onComplete:l2}=e7;this.isPseudoElement=Boolean(o6);this.allowFlatten=c4;this.options=e7;fn3(typeof e7.type!=="string");const h3=Ta(e7);this.animation=va(n2,s,r3,h3,o6);if(h3.autoplay===false){this.animation.pause()}this.animation.onfinish=()=>{this.finishedTime=this.time;if(!o6){const u5=bn2(r3,this.options,a4,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(e7){}}stop(){if(this.isStopped)return;this.isStopped=true;const{state:e7}=this;if(e7==="idle"||e7==="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 e7=this.animation.effect?.getComputedTiming?.().duration||0;return $2(Number(e7))}get iterationDuration(){const{delay:e7=0}=this.options||{};return this.duration+$2(e7)}get time(){return $2(Number(this.animation.currentTime)||0)}set time(e7){this.finishedTime=null;this.animation.currentTime=X3(e7)}get speed(){return this.animation.playbackRate}set speed(e7){if(e7<0)this.finishedTime=null;this.animation.playbackRate=e7}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e7){this.animation.startTime=e7}attachTimeline({timeline:e7,observe:n2}){if(this.allowFlatten){this.animation.effect?.updateTiming({easing:"linear"})}this.animation.onfinish=null;if(e7&&pa()){this.animation.timeline=e7;return H}else{return n2(this)}}};i2(Un2,"NativeAnimation");var Ee=Un2;var er={anticipate:ki2,backInOut:Li2,circInOut:Fi};function xa(t2){return t2 in er}__name(xa,"xa");i2(xa,"isUnsupportedEase");function Pa(t2){if(typeof t2.ease==="string"&&xa(t2.ease)){t2.ease=er[t2.ease]}}__name(Pa,"Pa");i2(Pa,"replaceStringEasing");var Ss=10;var Kn2=class Kn3 extends Ee{static{__name(this,"Kn")}constructor(e7){Pa(e7);qi2(e7);super(e7);if(e7.startTime){this.startTime=e7.startTime}this.options=e7}updateMotionValue(e7){const{motionValue:n2,onUpdate:s,onComplete:r3,element:o6,...c4}=this.options;if(!n2)return;if(e7!==void 0){n2.set(e7);return}const a4=new Lt({...c4,autoplay:false});const l2=X3(this.finishedTime??this.time);n2.setWithVelocity(a4.sample(l2-Ss).value,a4.sample(l2).value,Ss);a4.stop()}};i2(Kn2,"NativeAnimationExtended");var Le3=Kn2;var ws=i2((t2,e7)=>{if(e7==="zIndex")return false;if(typeof t2==="number"||Array.isArray(t2))return true;if(typeof t2==="string"&&(J.test(t2)||t2==="0")&&!t2.startsWith("url(")){return true}return false},"isAnimatable");function ba(t2){const e7=t2[0];if(t2.length===1)return true;for(let n2=0;n2Object.hasOwnProperty.call(Element.prototype,"animate"));function Va(t2){const{motionValue:e7,name:n2,repeatDelay:s,repeatType:r3,damping:o6,type:c4}=t2;const a4=e7?.owner?.current;if(!(a4 instanceof HTMLElement)){return false}const{onUpdate:l2,transformTemplate:h3}=e7.owner.getProps();return Aa()&&n2&&wa.has(n2)&&(n2!=="transform"||!h3)&&!l2&&!s&&r3!=="mirror"&&o6!==0&&c4!=="inertia"}__name(Va,"Va");i2(Va,"supportsBrowserAnimation");var Ca=40;var Wn2=class Wn3 extends Et2{static{__name(this,"Wn")}constructor({autoplay:e7=true,delay:n2=0,type:s="keyframes",repeat:r3=0,repeatDelay:o6=0,repeatType:c4="loop",keyframes:a4,name:l2,motionValue:h3,element:u5,...f2}){super();this.stop=()=>{if(this._animation){this._animation.stop();this.stopTimeline?.()}this.keyframeResolver?.cancel()};this.createdAt=O2.now();const d={autoplay:e7,delay:n2,type:s,repeat:r3,repeatDelay:o6,repeatType:c4,name:l2,motionValue:h3,element:u5,...f2};const m2=u5?.KeyframeResolver||kt;this.keyframeResolver=new m2(a4,(p3,v2,T3)=>this.onKeyframesResolved(p3,v2,d,!T3),l2,h3,u5);this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e7,n2,s,r3){this.keyframeResolver=void 0;const{name:o6,type:c4,velocity:a4,delay:l2,isHandoff:h3,onUpdate:u5}=s;this.resolvedAt=O2.now();if(!Sa(e7,o6,c4,a4)){if(_.instantAnimations||!l2){u5?.(bn2(e7,s,n2))}e7[0]=e7[e7.length-1];ke4(s);s.repeat=0}const f2=r3?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>Ca?this.resolvedAt:this.createdAt:void 0;const d={startTime:f2,finalKeyframe:n2,...s,keyframes:e7};const m2=!h3&&Va(d)?new Le3({...d,element:d.motionValue.owner.current}):new Lt(d);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(e7,n2){return this.finished.finally(e7).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(e7){this.animation.time=e7}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e7){this.animation.speed=e7}get startTime(){return this.animation.startTime}attachTimeline(e7){if(this._animation){this.stopTimeline=this.animation.attachTimeline(e7)}else{this.pendingTimeline=e7}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(t2){const e7=Da.exec(t2);if(!e7)return[,];const[,n2,s,r3]=e7;return[`--${n2??s}`,r3]}__name(Ma,"Ma");i2(Ma,"parseCSSVariable");function nr(t2,e7,n2=1){const[s,r3]=Ma(t2);if(!s)return;const o6=window.getComputedStyle(e7).getPropertyValue(s);if(o6){const c4=o6.trim();return wi(c4)?parseFloat(c4):c4}return yn2(r3)?nr(r3,e7,n2+1):r3}__name(nr,"nr");i2(nr,"getVariableValue");function Sn2(t2,e7){return t2?.[e7]??t2?.["default"]??t2}__name(Sn2,"Sn");i2(Sn2,"getValueTransition");var sr=new Set(["width","height","top","left","right","bottom",...vt]);var Ra={test:i2(t2=>t2==="auto","test"),parse:i2(t2=>t2,"parse")};var ir=i2(t2=>e7=>e7.test(t2),"testValueType");var rr=[yt2,P,Y2,Z2,wo3,So3,Ra];var As=i2(t2=>rr.find(ir(t2)),"findDimensionValueType");function Ea(t2){if(typeof t2==="number"){return t2===0}else if(t2!==null){return t2==="none"||t2==="0"||Vi2(t2)}else{return true}}__name(Ea,"Ea");i2(Ea,"isNone");var La=new Set(["brightness","contrast","saturate","opacity"]);function ka(t2){const[e7,n2]=t2.slice(0,-1).split("(");if(e7==="drop-shadow")return t2;const[s]=n2.match(vn2)||[];if(!s)return t2;const r3=n2.replace(s,"");let o6=La.has(e7)?1:0;if(s!==n2)o6*=100;return e7+"("+o6+r3+")"}__name(ka,"ka");i2(ka,"applyDefaultFilter");var Ba=/b([a-z-]*)(.*?)/gu;var Fe={...J,getAnimatableNone:i2(t2=>{const e7=t2.match(Ba);return e7?e7.map(ka).join(" "):t2},"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(t2=>Ia[t2],"getDefaultValueType");function ar(t2,e7){let n2=or(t2);if(n2!==Fe)n2=J;return n2.getAnimatableNone?n2.getAnimatableNone(e7):void 0}__name(ar,"ar");i2(ar,"getAnimatableNone");var ja=new Set(["auto","none","0"]);function Oa(t2,e7,n2){let s=0;let r3=void 0;while(s{e7.getValue(a4).set(l2)})}this.resolveNoneKeyframes()}};i2($n2,"DOMKeyframesResolver");var Ie2=$n2;function Na(t2,e7,n2){if(t2 instanceof EventTarget){return[t2]}else if(typeof t2==="string"){let s=document;const r3=n2?.[t2]??s.querySelectorAll(t2);return r3?Array.from(r3):[]}return Array.from(t2)}__name(Na,"Na");i2(Na,"resolveElements");var lr=i2((t2,e7)=>{return e7&&typeof t2==="number"?e7.transform(t2):t2},"getValueAsType");function Ua(t2){return Ai(t2)&&"offsetHeight"in t2}__name(Ua,"Ua");i2(Ua,"isHTMLElement");var Cs=30;var Ka=i2(t2=>{return!isNaN(parseFloat(t2))},"isFloat");var Hn2=class Hn3{static{__name(this,"Hn")}constructor(e7,n2={}){this.canTrackVelocity=null;this.events={};this.updateAndNotify=s=>{const r3=O2.now();if(this.updatedAt!==r3){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 o6 of this.dependents){o6.dirty()}}}};this.hasAnimated=false;this.setCurrent(e7);this.owner=n2.owner}setCurrent(e7){this.current=e7;this.updatedAt=O2.now();if(this.canTrackVelocity===null&&e7!==void 0){this.canTrackVelocity=Ka(this.current)}}setPrevFrameValue(e7=this.current){this.prevFrameValue=e7;this.prevUpdatedAt=this.updatedAt}onChange(e7){return this.on("change",e7)}on(e7,n2){if(!this.events[e7]){this.events[e7]=new Dt2}const s=this.events[e7].add(n2);if(e7==="change"){return()=>{s();C.read(()=>{if(!this.events.change.getSize()){this.stop()}})}}return s}clearListeners(){for(const e7 in this.events){this.events[e7].clear()}}attach(e7,n2){this.passiveEffect=e7;this.stopPassiveEffect=n2}set(e7){if(!this.passiveEffect){this.updateAndNotify(e7)}else{this.passiveEffect(e7,this.updateAndNotify)}}setWithVelocity(e7,n2,s){this.set(n2);this.prev=void 0;this.prevFrameValue=e7;this.prevUpdatedAt=this.updatedAt-s}jump(e7,n2=true){this.updateAndNotify(e7);this.prev=e7;this.prevUpdatedAt=this.prevFrameValue=void 0;n2&&this.stop();if(this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e7){if(!this.dependents){this.dependents=new Set}this.dependents.add(e7)}removeDependent(e7){if(this.dependents){this.dependents.delete(e7)}}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e7=O2.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e7-this.updatedAt>Cs){return 0}const n2=Math.min(this.updatedAt-this.prevUpdatedAt,Cs);return Ci2(parseFloat(this.current)-parseFloat(this.prevFrameValue),n2)}start(e7){this.stop();return new Promise(n2=>{this.hasAnimated=true;this.animation=e7(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(t2,e7){return new je3(t2,e7)}__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(t2){if(t2==="x"||t2==="y"){if(z3[t2]){return null}else{z3[t2]=true;return()=>{z3[t2]=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(t2,e7){const n2=Na(t2);const s=new AbortController;const r3={passive:true,...e7,signal:s.signal};const o6=i2(()=>s.abort(),"cancel");return[n2,r3,o6]}__name(ur,"ur");i2(ur,"setupGesture");function Ds(t2){return!(t2.pointerType==="touch"||cr())}__name(Ds,"Ds");i2(Ds,"isValidHover");function $a(t2,e7,n2={}){const[s,r3,o6]=ur(t2,n2);const c4=i2(a4=>{if(!Ds(a4))return;const{target:l2}=a4;const h3=e7(l2,a4);if(typeof h3!=="function"||!l2)return;const u5=i2(f2=>{if(!Ds(f2))return;h3(f2);l2.removeEventListener("pointerleave",u5)},"onPointerLeave");l2.addEventListener("pointerleave",u5,r3)},"onPointerEnter");s.forEach(a4=>{a4.addEventListener("pointerenter",c4,r3)});return o6}__name($a,"$a");i2($a,"hover");var hr=i2((t2,e7)=>{if(!e7){return false}else if(t2===e7){return true}else{return hr(t2,e7.parentElement)}},"isNodeOrChild");var Vn2=i2(t2=>{if(t2.pointerType==="mouse"){return typeof t2.button!=="number"||t2.button<=0}else{return t2.isPrimary!==false}},"isPrimaryPointer");var Ha=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function za(t2){return Ha.has(t2.tagName)||t2.tabIndex!==-1}__name(za,"za");i2(za,"isElementKeyboardAccessible");var zt2=new WeakSet;function Ms(t2){return e7=>{if(e7.key!=="Enter")return;t2(e7)}}__name(Ms,"Ms");i2(Ms,"filterEvents");function ce3(t2,e7){t2.dispatchEvent(new PointerEvent("pointer"+e7,{isPrimary:true,bubbles:true}))}__name(ce3,"ce");i2(ce3,"firePointerEvent");var Xa=i2((t2,e7)=>{const n2=t2.currentTarget;if(!n2)return;const s=Ms(()=>{if(zt2.has(n2))return;ce3(n2,"down");const r3=Ms(()=>{ce3(n2,"up")});const o6=i2(()=>ce3(n2,"cancel"),"handleBlur");n2.addEventListener("keyup",r3,e7);n2.addEventListener("blur",o6,e7)});n2.addEventListener("keydown",s,e7);n2.addEventListener("blur",()=>n2.removeEventListener("keydown",s),e7)},"enableKeyboardPress");function Rs(t2){return Vn2(t2)&&!cr()}__name(Rs,"Rs");i2(Rs,"isValidPressEvent");function Ya(t2,e7,n2={}){const[s,r3,o6]=ur(t2,n2);const c4=i2(a4=>{const l2=a4.currentTarget;if(!Rs(a4))return;zt2.add(l2);const h3=e7(l2,a4);const u5=i2((m2,p3)=>{window.removeEventListener("pointerup",f2);window.removeEventListener("pointercancel",d);if(zt2.has(l2)){zt2.delete(l2)}if(!Rs(m2)){return}if(typeof h3==="function"){h3(m2,{success:p3})}},"onPointerEnd");const f2=i2(m2=>{u5(m2,l2===window||l2===document||n2.useGlobalTarget||hr(l2,m2.target))},"onPointerUp");const d=i2(m2=>{u5(m2,false)},"onPointerCancel");window.addEventListener("pointerup",f2,r3);window.addEventListener("pointercancel",d,r3)},"startPress");s.forEach(a4=>{const l2=n2.useGlobalTarget?window:a4;l2.addEventListener("pointerdown",c4,r3);if(Ua(a4)){a4.addEventListener("focus",h3=>Xa(h3,r3));if(!za(a4)&&!a4.hasAttribute("tabindex")){a4.tabIndex=0}}});return o6}__name(Ya,"Ya");i2(Ya,"press");function fr(t2){return Ai(t2)&&"ownerSVGElement"in t2}__name(fr,"fr");i2(fr,"isSVGElement");function Ga(t2){return fr(t2)&&t2.tagName==="svg"}__name(Ga,"Ga");i2(Ga,"isSVGSVGElement");var F2=i2(t2=>Boolean(t2&&t2.getVelocity),"isMotionValue");var qa=[...rr,E3,J];var _a=i2(t2=>qa.find(ir(t2)),"findValueType");var dr=z.createContext({transformPagePoint:i2(t2=>t2,"transformPagePoint"),isStatic:false,reducedMotion:"never"});function Za(t2=true){const e7=z.useContext(cn2);if(e7===null)return[true,null];const{isPresent:n2,onExitComplete:s,register:r3}=e7;const o6=z.useId();z.useEffect(()=>{if(t2){return r3(o6)}},[t2]);const c4=z.useCallback(()=>t2&&s&&s(o6),[o6,s,t2]);return!n2&&s?[false,c4]:[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 t2 in Es){gt2[t2]={isEnabled:i2(e7=>Es[t2].some(n2=>!!e7[n2]),"isEnabled")}}function Qa(t2){for(const e7 in t2){gt2[e7]={...gt2[e7],...t2[e7]}}}__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(t2){return t2.startsWith("while")||t2.startsWith("drag")&&t2!=="draggable"||t2.startsWith("layout")||t2.startsWith("onTap")||t2.startsWith("onPan")||t2.startsWith("onLayout")||Ja.has(t2)}__name(Zt3,"Zt");i2(Zt3,"isValidMotionProp");var pr=i2(t2=>!Zt3(t2),"shouldForward");function tl(t2){if(typeof t2!=="function")return;pr=i2(e7=>e7.startsWith("on")?!Zt3(e7):t2(e7),"shouldForward")}__name(tl,"tl");i2(tl,"loadExternalIsValidProp");try{tl(__require("@emotion/is-prop-valid").default)}catch{}function el(t2,e7,n2){const s={};for(const r3 in t2){if(r3==="values"&&typeof t2.values==="object")continue;if(pr(r3)||n2===true&&Zt3(r3)||!e7&&!Zt3(r3)||t2["draggable"]&&r3.startsWith("onDrag")){s[r3]=t2[r3]}}return s}__name(el,"el");i2(el,"filterProps");var ee3=z.createContext({});function ne2(t2){return t2!==null&&typeof t2==="object"&&typeof t2.start==="function"}__name(ne2,"ne");i2(ne2,"isAnimationControls");function Bt(t2){return typeof t2==="string"||Array.isArray(t2)}__name(Bt,"Bt");i2(Bt,"isVariantLabel");var Cn2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];var Dn2=["initial",...Cn2];function se3(t2){return ne2(t2.animate)||Dn2.some(e7=>Bt(t2[e7]))}__name(se3,"se");i2(se3,"isControllingVariants");function gr(t2){return Boolean(se3(t2)||t2.variants)}__name(gr,"gr");i2(gr,"isVariantNode");function nl(t2,e7){if(se3(t2)){const{initial:n2,animate:s}=t2;return{initial:n2===false||Bt(n2)?n2:void 0,animate:Bt(s)?s:void 0}}return t2.inherit!==false?e7:{}}__name(nl,"nl");i2(nl,"getCurrentTreeVariants");function sl2(t2){const{initial:e7,animate:n2}=nl(t2,z.useContext(ee3));return z.useMemo(()=>({initial:e7,animate:n2}),[Ls(e7),Ls(n2)])}__name(sl2,"sl");i2(sl2,"useCreateMotionContext");function Ls(t2){return Array.isArray(t2)?t2.join(" "):t2}__name(Ls,"Ls");i2(Ls,"variantLabelsAsDependency");var Ft={};function il(t2){for(const e7 in t2){Ft[e7]=t2[e7];if(gn2(e7)){Ft[e7].isCSSVariable=true}}}__name(il,"il");i2(il,"addScaleCorrector");function yr(t2,{layout:e7,layoutId:n2}){return Tt2.has(t2)||t2.startsWith("origin")||(e7||n2!==void 0)&&(!!Ft[t2]||t2==="opacity")}__name(yr,"yr");i2(yr,"isForcedMotionValue");var rl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};var ol=vt.length;function al(t2,e7,n2){let s="";let r3=true;for(let o6=0;o6({style:{},transform:{},transformOrigin:{},vars:{}}),"createHtmlRenderState");function vr(t2,e7,n2){for(const s in e7){if(!F2(e7[s])&&!yr(s,n2)){t2[s]=e7[s]}}}__name(vr,"vr");i2(vr,"copyRawValuesOnly");function ll({transformTemplate:t2},e7){return z.useMemo(()=>{const n2=Rn2();Mn2(n2,e7,t2);return Object.assign({},n2.vars,n2.style)},[e7])}__name(ll,"ll");i2(ll,"useInitialMotionValues");function cl(t2,e7){const n2=t2.style||{};const s={};vr(s,n2,t2);Object.assign(s,ll(t2,e7));return s}__name(cl,"cl");i2(cl,"useStyle");function ul(t2,e7){const n2={};const s=cl(t2,e7);if(t2.drag&&t2.dragListener!==false){n2.draggable=false;s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none";s.touchAction=t2.drag===true?"none":`pan-${t2.drag==="x"?"y":"x"}`}if(t2.tabIndex===void 0&&(t2.onTap||t2.onTapStart||t2.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(t2,e7,n2=1,s=0,r3=true){t2.pathLength=1;const o6=r3?hl:fl2;t2[o6.offset]=P.transform(-s);const c4=P.transform(e7);const a4=P.transform(n2);t2[o6.array]=`${c4} ${a4}`}__name(dl2,"dl");i2(dl2,"buildSVGPath");function Tr(t2,{attrX:e7,attrY:n2,attrScale:s,pathLength:r3,pathSpacing:o6=1,pathOffset:c4=0,...a4},l2,h3,u5){Mn2(t2,a4,h3);if(l2){if(t2.style.viewBox){t2.attrs.viewBox=t2.style.viewBox}return}t2.attrs=t2.style;t2.style={};const{attrs:f2,style:d}=t2;if(f2.transform){d.transform=f2.transform;delete f2.transform}if(d.transform||f2.transformOrigin){d.transformOrigin=f2.transformOrigin??"50% 50%";delete f2.transformOrigin}if(d.transform){d.transformBox=u5?.transformBox??"fill-box";delete f2.transformBox}if(e7!==void 0)f2.x=e7;if(n2!==void 0)f2.y=n2;if(s!==void 0)f2.scale=s;if(r3!==void 0){dl2(f2,r3,o6,c4,false)}}__name(Tr,"Tr");i2(Tr,"buildSVGAttrs");var xr=i2(()=>({...Rn2(),attrs:{}}),"createSvgRenderState");var Pr=i2(t2=>typeof t2==="string"&&t2.toLowerCase()==="svg","isSVGTag");function ml2(t2,e7,n2,s){const r3=z.useMemo(()=>{const o6=xr();Tr(o6,e7,Pr(s),t2.transformTemplate,t2.style);return{...o6.attrs,style:{...o6.style}}},[e7]);if(t2.style){const o6={};vr(o6,t2.style,t2);r3.style={...o6,...r3.style}}return r3}__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(t2){if(typeof t2!=="string"||t2.includes("-")){return false}else if(pl.indexOf(t2)>-1||/[A-Z]/u.test(t2)){return true}return false}__name(En2,"En");i2(En2,"isSVGComponent");function gl(t2,e7,n2,{latestValues:s},r3,o6=false){const c4=En2(t2)?ml2:ul;const a4=c4(e7,s,r3,t2);const l2=el(e7,typeof t2==="string",o6);const h3=t2!==z.Fragment?{...l2,...a4,ref:n2}:{};const{children:u5}=e7;const f2=z.useMemo(()=>F2(u5)?u5.get():u5,[u5]);return z.createElement(t2,{...h3,children:f2})}__name(gl,"gl");i2(gl,"useRender");function ks(t2){const e7=[{},{}];t2?.values.forEach((n2,s)=>{e7[0][s]=n2.get();e7[1][s]=n2.getVelocity()});return e7}__name(ks,"ks");i2(ks,"getValueState");function Ln2(t2,e7,n2,s){if(typeof e7==="function"){const[r3,o6]=ks(s);e7=e7(n2!==void 0?n2:t2.custom,r3,o6)}if(typeof e7==="string"){e7=t2.variants&&t2.variants[e7]}if(typeof e7==="function"){const[r3,o6]=ks(s);e7=e7(n2!==void 0?n2:t2.custom,r3,o6)}return e7}__name(Ln2,"Ln");i2(Ln2,"resolveVariantFromProps");function Xt2(t2){return F2(t2)?t2.get():t2}__name(Xt2,"Xt");i2(Xt2,"resolveMotionValue");function yl({scrapeMotionValuesFromProps:t2,createRenderState:e7},n2,s,r3){const o6={latestValues:vl(n2,s,r3,t2),renderState:e7()};return o6}__name(yl,"yl");i2(yl,"makeState");function vl(t2,e7,n2,s){const r3={};const o6=s(t2,{});for(const d in o6){r3[d]=Xt2(o6[d])}let{initial:c4,animate:a4}=t2;const l2=se3(t2);const h3=gr(t2);if(e7&&h3&&!l2&&t2.inherit!==false){if(c4===void 0)c4=e7.initial;if(a4===void 0)a4=e7.animate}let u5=n2?n2.initial===false:false;u5=u5||c4===false;const f2=u5?a4:c4;if(f2&&typeof f2!=="boolean"&&!ne2(f2)){const d=Array.isArray(f2)?f2:[f2];for(let m2=0;m2(e7,n2)=>{const s=z.useContext(ee3);const r3=z.useContext(cn2);const o6=i2(()=>yl(t2,e7,s,r3),"make");return n2?o6():no2(o6)},"makeUseVisualState");function kn2(t2,e7,n2){const{style:s}=t2;const r3={};for(const o6 in s){if(F2(s[o6])||e7.style&&F2(e7.style[o6])||yr(o6,t2)||n2?.getValue(o6)?.liveStyle!==void 0){r3[o6]=s[o6]}}return r3}__name(kn2,"kn");i2(kn2,"scrapeMotionValuesFromProps$1");var Tl=br({scrapeMotionValuesFromProps:kn2,createRenderState:Rn2});function Sr(t2,e7,n2){const s=kn2(t2,e7,n2);for(const r3 in t2){if(F2(t2[r3])||F2(e7[r3])){const o6=vt.indexOf(r3)!==-1?"attr"+r3.charAt(0).toUpperCase()+r3.substring(1):r3;s[o6]=t2[r3]}}return s}__name(Sr,"Sr");i2(Sr,"scrapeMotionValuesFromProps");var xl=br({scrapeMotionValuesFromProps:Sr,createRenderState:xr});var Pl=Symbol.for("motionComponentSymbol");function ut3(t2){return t2&&typeof t2==="object"&&Object.prototype.hasOwnProperty.call(t2,"current")}__name(ut3,"ut");i2(ut3,"isRefObject");function bl(t2,e7,n2){return z.useCallback(s=>{if(s){t2.onMount&&t2.onMount(s)}if(e7){if(s){e7.mount(s)}else{e7.unmount()}}if(n2){if(typeof n2==="function"){n2(s)}else if(ut3(n2)){n2.current=s}}},[e7])}__name(bl,"bl");i2(bl,"useMotionRef");var Bn2=i2(t2=>t2.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),"camelToDash");var Sl="framerAppearId";var wr="data-"+Bn2(Sl);var Ar=z.createContext({});function wl(t2,e7,n2,s,r3){const{visualElement:o6}=z.useContext(ee3);const c4=z.useContext(mr);const a4=z.useContext(cn2);const l2=z.useContext(dr).reducedMotion;const h3=z.useRef(null);s=s||c4.renderer;if(!h3.current&&s){h3.current=s(t2,{visualState:e7,parent:o6,props:n2,presenceContext:a4,blockInitialAnimation:a4?a4.initial===false:false,reducedMotionConfig:l2})}const u5=h3.current;const f2=z.useContext(Ar);if(u5&&!u5.projection&&r3&&(u5.type==="html"||u5.type==="svg")){Al(h3.current,n2,r3,f2)}const d=z.useRef(false);z.useInsertionEffect(()=>{if(u5&&d.current){u5.update(n2,a4)}});const m2=n2[wr];const p3=z.useRef(Boolean(m2)&&!window.MotionHandoffIsComplete?.(m2)&&window.MotionHasOptimisedAnimation?.(m2));so3(()=>{if(!u5)return;d.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(t2,e7,n2,s){const{layoutId:r3,layout:o6,drag:c4,dragConstraints:a4,layoutScroll:l2,layoutRoot:h3,layoutCrossfade:u5}=e7;t2.projection=new n2(t2.latestValues,e7["data-framer-portal-id"]?void 0:Vr(t2.parent));t2.projection.setOptions({layoutId:r3,layout:o6,alwaysMeasureLayout:Boolean(c4)||a4&&ut3(a4),visualElement:t2,animationType:typeof o6==="string"?o6:"both",initialPromotionConfig:s,crossfade:u5,layoutScroll:l2,layoutRoot:h3})}__name(Al,"Al");i2(Al,"createProjectionNode$1");function Vr(t2){if(!t2)return void 0;return t2.options.allowProjection!==false?t2.projection:Vr(t2.parent)}__name(Vr,"Vr");i2(Vr,"getClosestProjectingNode");function ue3(t2,{forwardMotionProps:e7=false}={},n2,s){n2&&Qa(n2);const r3=En2(t2)?xl:Tl;function o6(a4,l2){let h3;const u5={...z.useContext(dr),...a4,layoutId:Vl(a4)};const{isStatic:f2}=u5;const d=sl2(a4);const m2=r3(a4,f2);if(!f2&&ln2){Cl();const p3=Dl(u5);h3=p3.MeasureLayout;d.visualElement=wl(t2,m2,u5,s,p3.ProjectionNode)}return Ht.jsxs(ee3.Provider,{value:d,children:[h3&&d.visualElement?Ht.jsx(h3,{visualElement:d.visualElement,...u5}):null,gl(t2,a4,bl(m2,d.visualElement,l2),m2,f2,e7)]})}__name(o6,"o");i2(o6,"MotionDOMComponent");o6.displayName=`motion.${typeof t2==="string"?t2:`create(${t2.displayName??t2.name??""})`}`;const c4=z.forwardRef(o6);c4[Pl]=t2;return c4}__name(ue3,"ue");i2(ue3,"createMotionComponent");function Vl({layoutId:t2}){const e7=z.useContext(Si).id;return e7&&t2!==void 0?e7+"-"+t2:t2}__name(Vl,"Vl");i2(Vl,"useLayoutId");function Cl(t2,e7){z.useContext(mr).strict}__name(Cl,"Cl");i2(Cl,"useStrictMode");function Dl(t2){const{drag:e7,layout:n2}=gt2;if(!e7&&!n2)return{};const s={...e7,...n2};return{MeasureLayout:e7?.isEnabled(t2)||n2?.isEnabled(t2)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}__name(Dl,"Dl");i2(Dl,"getProjectionFunctionality");function Ml(t2,e7){if(typeof Proxy==="undefined"){return ue3}const n2=new Map;const s=i2((o6,c4)=>{return ue3(o6,c4,t2,e7)},"factory");const r3=i2((o6,c4)=>{return s(o6,c4)},"deprecatedFactoryFunction");return new Proxy(r3,{get:i2((o6,c4)=>{if(c4==="create")return s;if(!n2.has(c4)){n2.set(c4,ue3(c4,void 0,t2,e7))}return n2.get(c4)},"get")})}__name(Ml,"Ml");i2(Ml,"createMotionProxy");function Cr({top:t2,left:e7,right:n2,bottom:s}){return{x:{min:e7,max:n2},y:{min:t2,max:s}}}__name(Cr,"Cr");i2(Cr,"convertBoundingBoxToBox");function Rl({x:t2,y:e7}){return{top:e7.min,right:t2.max,bottom:e7.max,left:t2.min}}__name(Rl,"Rl");i2(Rl,"convertBoxToBoundingBox");function El(t2,e7){if(!e7)return t2;const n2=e7({x:t2.left,y:t2.top});const s=e7({x:t2.right,y:t2.bottom});return{top:n2.y,left:n2.x,bottom:s.y,right:s.x}}__name(El,"El");i2(El,"transformBoxPoints");function he(t2){return t2===void 0||t2===1}__name(he,"he");i2(he,"isIdentityScale");function Oe2({scale:t2,scaleX:e7,scaleY:n2}){return!he(t2)||!he(e7)||!he(n2)}__name(Oe2,"Oe");i2(Oe2,"hasScale");function st3(t2){return Oe2(t2)||Dr(t2)||t2.z||t2.rotate||t2.rotateX||t2.rotateY||t2.skewX||t2.skewY}__name(st3,"st");i2(st3,"hasTransform");function Dr(t2){return Bs(t2.x)||Bs(t2.y)}__name(Dr,"Dr");i2(Dr,"has2DTranslate");function Bs(t2){return t2&&t2!=="0%"}__name(Bs,"Bs");i2(Bs,"is2DTranslate");function Qt2(t2,e7,n2){const s=t2-n2;const r3=e7*s;return n2+r3}__name(Qt2,"Qt");i2(Qt2,"scalePoint");function Fs(t2,e7,n2,s,r3){if(r3!==void 0){t2=Qt2(t2,r3,s)}return Qt2(t2,n2,s)+e7}__name(Fs,"Fs");i2(Fs,"applyPointDelta");function Ne3(t2,e7=0,n2=1,s,r3){t2.min=Fs(t2.min,e7,n2,s,r3);t2.max=Fs(t2.max,e7,n2,s,r3)}__name(Ne3,"Ne");i2(Ne3,"applyAxisDelta");function Mr(t2,{x:e7,y:n2}){Ne3(t2.x,e7.translate,e7.scale,e7.originPoint);Ne3(t2.y,n2.translate,n2.scale,n2.originPoint)}__name(Mr,"Mr");i2(Mr,"applyBoxDelta");var Is=.999999999999;var js=1.0000000000001;function Ll(t2,e7,n2,s=false){const r3=n2.length;if(!r3)return;e7.x=e7.y=1;let o6;let c4;for(let a4=0;a4Is){e7.x=1}if(e7.yIs){e7.y=1}}__name(Ll,"Ll");i2(Ll,"applyTreeDeltas");function ht(t2,e7){t2.min=t2.min+e7;t2.max=t2.max+e7}__name(ht,"ht");i2(ht,"translateAxis");function Os(t2,e7,n2,s,r3=.5){const o6=D(t2.min,t2.max,r3);Ne3(t2,e7,n2,o6,s)}__name(Os,"Os");i2(Os,"transformAxis");function ft2(t2,e7){Os(t2.x,e7.x,e7.scaleX,e7.scale,e7.originX);Os(t2.y,e7.y,e7.scaleY,e7.scale,e7.originY)}__name(ft2,"ft");i2(ft2,"transformBox");function Rr(t2,e7){return Cr(El(t2.getBoundingClientRect(),e7))}__name(Rr,"Rr");i2(Rr,"measureViewportBox");function kl(t2,e7,n2){const s=Rr(t2,n2);const{scroll:r3}=e7;if(r3){ht(s.x,r3.offset.x);ht(s.y,r3.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 t2=window.matchMedia("(prefers-reduced-motion)");const e7=i2(()=>Ue4.current=t2.matches,"setReducedMotionPreferences");t2.addEventListener("change",e7);e7()}else{Ue4.current=false}}__name(Bl,"Bl");i2(Bl,"initPrefersReducedMotion");var Fl=new WeakMap;function Il(t2,e7,n2){for(const s in e7){const r3=e7[s];const o6=n2[s];if(F2(r3)){t2.addValue(s,r3)}else if(F2(o6)){t2.addValue(s,pt2(r3,{owner:t2}))}else if(o6!==r3){if(t2.hasValue(s)){const c4=t2.getValue(s);if(c4.liveStyle===true){c4.jump(r3)}else if(!c4.hasAnimated){c4.set(r3)}}else{const c4=t2.getStaticValue(s);t2.addValue(s,pt2(c4!==void 0?c4:r3,{owner:t2}))}}}for(const s in n2){if(e7[s]===void 0)t2.removeValue(s)}return e7}__name(Il,"Il");i2(Il,"updateMotionValuesFromProps");var Ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];var zn2=class zn3{static{__name(this,"zn")}scrapeMotionValuesFromProps(e7,n2,s){return{}}constructor({parent:e7,props:n2,presenceContext:s,reducedMotionConfig:r3,blockInitialAnimation:o6,visualState:c4},a4={}){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 d=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(e7=>e7());this.valueSubscriptions.clear();this.removeFromVariantTree&&this.removeFromVariantTree();this.parent?.removeChild(this);for(const e7 in this.events){this.events[e7].clear()}for(const e7 in this.features){const n2=this.features[e7];if(n2){n2.unmount();n2.isMounted=false}}this.current=null}addChild(e7){this.children.add(e7);this.enteringChildren??(this.enteringChildren=new Set);this.enteringChildren.add(e7)}removeChild(e7){this.children.delete(e7);this.enteringChildren&&this.enteringChildren.delete(e7)}bindToMotionValue(e7,n2){if(this.valueSubscriptions.has(e7)){this.valueSubscriptions.get(e7)()}const s=Tt2.has(e7);if(s&&this.onBindTransform){this.onBindTransform()}const r3=n2.on("change",c4=>{this.latestValues[e7]=c4;this.props.onUpdate&&C.preRender(this.notifyUpdate);if(s&&this.projection){this.projection.isTransformDirty=true}this.scheduleRender()});let o6;if(window.MotionCheckAppearSync){o6=window.MotionCheckAppearSync(this,e7,n2)}this.valueSubscriptions.set(e7,()=>{r3();if(o6)o6();if(n2.owner)n2.stop()})}sortNodePosition(e7){if(!this.current||!this.sortInstanceNodePosition||this.type!==e7.type){return 0}return this.sortInstanceNodePosition(this.current,e7.current)}updateFeatures(){let e7="animation";for(e7 in gt2){const n2=gt2[e7];if(!n2)continue;const{isEnabled:s,Feature:r3}=n2;if(!this.features[e7]&&r3&&s(this.props)){this.features[e7]=new r3(this)}if(this.features[e7]){const o6=this.features[e7];if(o6.isMounted){o6.update()}else{o6.mount();o6.isMounted=true}}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R2()}getStaticValue(e7){return this.latestValues[e7]}setStaticValue(e7,n2){this.latestValues[e7]=n2}update(e7,n2){if(e7.transformTemplate||this.props.transformTemplate){this.scheduleRender()}this.prevProps=this.props;this.props=e7;this.prevPresenceContext=this.presenceContext;this.presenceContext=n2;for(let s=0;sn2.variantChildren.delete(e7)}}addValue(e7,n2){const s=this.values.get(e7);if(n2!==s){if(s)this.removeValue(e7);this.bindToMotionValue(e7,n2);this.values.set(e7,n2);this.latestValues[e7]=n2.get()}}removeValue(e7){this.values.delete(e7);const n2=this.valueSubscriptions.get(e7);if(n2){n2();this.valueSubscriptions.delete(e7)}delete this.latestValues[e7];this.removeValueFromRenderState(e7,this.renderState)}hasValue(e7){return this.values.has(e7)}getValue(e7,n2){if(this.props.values&&this.props.values[e7]){return this.props.values[e7]}let s=this.values.get(e7);if(s===void 0&&n2!==void 0){s=pt2(n2===null?void 0:n2,{owner:this});this.addValue(e7,s)}return s}readValue(e7,n2){let s=this.latestValues[e7]!==void 0||!this.current?this.latestValues[e7]:this.getBaseTargetFromProps(this.props,e7)??this.readValueFromInstance(this.current,e7,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(e7,n2)}this.setBaseTarget(e7,F2(s)?s.get():s)}return F2(s)?s.get():s}setBaseTarget(e7,n2){this.baseTarget[e7]=n2}getBaseTarget(e7){const{initial:n2}=this.props;let s;if(typeof n2==="string"||typeof n2==="object"){const o6=Ln2(this.props,n2,this.presenceContext?.custom);if(o6){s=o6[e7]}}if(n2&&s!==void 0){return s}const r3=this.getBaseTargetFromProps(this.props,e7);if(r3!==void 0&&!F2(r3))return r3;return this.initialValues[e7]!==void 0&&s===void 0?void 0:this.baseTarget[e7]}on(e7,n2){if(!this.events[e7]){this.events[e7]=new Dt2}return this.events[e7].add(n2)}notify(e7,...n2){if(this.events[e7]){this.events[e7].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(e7,n2){return e7.compareDocumentPosition(n2)&2?1:-1}getBaseTargetFromProps(e7,n2){return e7.style?e7.style[n2]:void 0}removeValueFromRenderState(e7,{vars:n2,style:s}){delete n2[e7];delete s[e7]}handleChildMotionValue(){if(this.childSubscription){this.childSubscription();delete this.childSubscription}const{children:e7}=this.props;if(F2(e7)){this.childSubscription=e7.on("change",n2=>{if(this.current){this.current.textContent=`${n2}`}})}}};i2(Xn2,"DOMVisualElement");var Jt2=Xn2;function Lr(t2,{style:e7,vars:n2},s,r3){const o6=t2.style;let c4;for(c4 in e7){o6[c4]=e7[c4]}r3?.applyProjectionStyles(o6,s);for(c4 in n2){o6.setProperty(c4,n2[c4])}}__name(Lr,"Lr");i2(Lr,"renderHTML");function jl2(t2){return window.getComputedStyle(t2)}__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(e7,n2){if(Tt2.has(n2)){return this.projection?.isProjecting?Ve3(n2):aa2(e7,n2)}else{const s=jl2(e7);const r3=(gn2(n2)?s.getPropertyValue(n2):s[n2])||0;return typeof r3==="string"?r3.trim():r3}}measureInstanceViewportBox(e7,{transformPagePoint:n2}){return Rr(e7,n2)}build(e7,n2,s){Mn2(e7,n2,s.transformTemplate)}scrapeMotionValuesFromProps(e7,n2,s){return kn2(e7,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(t2,e7,n2,s){Lr(t2,e7,void 0,s);for(const r3 in e7.attrs){t2.setAttribute(!kr.has(r3)?Bn2(r3):r3,e7.attrs[r3])}}__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(e7,n2){return e7[n2]}readValueFromInstance(e7,n2){if(Tt2.has(n2)){const s=or(n2);return s?s.default||0:0}n2=!kr.has(n2)?Bn2(n2):n2;return e7.getAttribute(n2)}scrapeMotionValuesFromProps(e7,n2,s){return Sr(e7,n2,s)}build(e7,n2,s){Tr(e7,n2,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e7,n2,s,r3){Ol(e7,n2,s,r3)}mount(e7){this.isSVGTag=Pr(e7.tagName);super.mount(e7)}};i2(Gn2,"SVGVisualElement");var $e3=Gn2;var Nl=i2((t2,e7)=>{return En2(t2)?new $e3(e7):new We3(e7,{allowProjection:t2!==z.Fragment})},"createDomVisualElement");function mt2(t2,e7,n2){const s=t2.getProps();return Ln2(s,e7,n2!==void 0?n2:s.custom,t2)}__name(mt2,"mt");i2(mt2,"resolveVariant");var He3=i2(t2=>{return Array.isArray(t2)},"isKeyframesTarget");function Ul(t2,e7,n2){if(t2.hasValue(e7)){t2.getValue(e7).set(n2)}else{t2.addValue(e7,pt2(n2))}}__name(Ul,"Ul");i2(Ul,"setMotionValue");function Kl(t2){return He3(t2)?t2[t2.length-1]||0:t2}__name(Kl,"Kl");i2(Kl,"resolveFinalValueInKeyframes");function Wl(t2,e7){const n2=mt2(t2,e7);let{transitionEnd:s={},transition:r3={},...o6}=n2||{};o6={...o6,...s};for(const c4 in o6){const a4=Kl(o6[c4]);Ul(t2,c4,a4)}}__name(Wl,"Wl");i2(Wl,"setTarget");function $l(t2){return Boolean(F2(t2)&&t2.add)}__name($l,"$l");i2($l,"isWillChangeMotionValue");function ze3(t2,e7){const n2=t2.getValue("willChange");if($l(n2)){return n2.add(e7)}else if(!n2&&_.WillChange){const s=new _.WillChange("auto");t2.addValue("willChange",s);s.add(e7)}}__name(ze3,"ze");i2(ze3,"addValueToWillChange");function Br(t2){return t2.props[wr]}__name(Br,"Br");i2(Br,"getOptimisedAppearId");var Hl=i2(t2=>t2!==null,"isNotNull");function zl(t2,{repeat:e7,repeatType:n2="loop"},s){const r3=t2.filter(Hl);const o6=e7&&n2!=="loop"&&e7%2===1?0:r3.length-1;return r3[o6]}__name(zl,"zl");i2(zl,"getFinalKeyframe");var Xl2={type:"spring",stiffness:500,damping:25,restSpeed:10};var Yl2=i2(t2=>({type:"spring",stiffness:550,damping:t2===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((t2,{keyframes:e7})=>{if(e7.length>2){return Gl2}else if(Tt2.has(t2)){return t2.startsWith("scale")?Yl2(e7[1]):Xl2}return ql},"getDefaultTransition");function Zl({when:t2,delay:e7,delayChildren:n2,staggerChildren:s,staggerDirection:r3,repeat:o6,repeatType:c4,repeatDelay:a4,from:l2,elapsed:h3,...u5}){return!!Object.keys(u5).length}__name(Zl,"Zl");i2(Zl,"isTransitionDefined");var Fn3=i2((t2,e7,n2,s={},r3,o6)=>c4=>{const a4=Sn2(s,t2)||{};const l2=a4.delay||s.delay||0;let{elapsed:h3=0}=s;h3=h3-X3(l2);const u5={keyframes:Array.isArray(n2)?n2:[null,n2],ease:"easeOut",velocity:e7.getVelocity(),...a4,delay:-h3,onUpdate:i2(d=>{e7.set(d);a4.onUpdate&&a4.onUpdate(d)},"onUpdate"),onComplete:i2(()=>{c4();a4.onComplete&&a4.onComplete()},"onComplete"),name:t2,motionValue:e7,element:o6?void 0:r3};if(!Zl(a4)){Object.assign(u5,_l(t2,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 f2=false;if(u5.type===false||u5.duration===0&&!u5.repeatDelay){ke4(u5);if(u5.delay===0){f2=true}}if(_.instantAnimations||_.skipAnimations){f2=true;ke4(u5);u5.delay=0}u5.allowFlatten=!a4.type&&!a4.ease;if(f2&&!o6&&e7.get()!==void 0){const d=zl(u5.keyframes,a4);if(d!==void 0){C.update(()=>{u5.onUpdate(d);u5.onComplete()});return}}return a4.isSync?new Lt(u5):new Be3(u5)},"animateMotionValue");function Ql({protectedKeys:t2,needsAnimating:e7},n2){const s=t2.hasOwnProperty(n2)&&e7[n2]!==true;e7[n2]=false;return s}__name(Ql,"Ql");i2(Ql,"shouldBlockAnimation");function Fr(t2,e7,{delay:n2=0,transitionOverride:s,type:r3}={}){let{transition:o6=t2.getDefaultTransition(),transitionEnd:c4,...a4}=e7;if(s)o6=s;const l2=[];const h3=r3&&t2.animationState&&t2.animationState.getState()[r3];for(const u5 in a4){const f2=t2.getValue(u5,t2.latestValues[u5]??null);const d=a4[u5];if(d===void 0||h3&&Ql(h3,u5)){continue}const m2={delay:n2,...Sn2(o6||{},u5)};const p3=f2.get();if(p3!==void 0&&!f2.isAnimating&&!Array.isArray(d)&&d===p3&&!m2.velocity){continue}let v2=false;if(window.MotionHandoffAnimation){const g2=Br(t2);if(g2){const x2=window.MotionHandoffAnimation(g2,u5,C);if(x2!==null){m2.startTime=x2;v2=true}}}ze3(t2,u5);f2.start(Fn3(u5,f2,d,t2.shouldReduceMotion&&sr.has(u5)?{type:false}:m2,t2,v2));const T3=f2.animation;if(T3){l2.push(T3)}}if(c4){Promise.all(l2).then(()=>{C.update(()=>{c4&&Wl(t2,c4)})})}return l2}__name(Fr,"Fr");i2(Fr,"animateTarget");function Ir(t2,e7,n2,s=0,r3=1){const o6=Array.from(t2).sort((h3,u5)=>h3.sortNodePosition(u5)).indexOf(e7);const c4=t2.size;const a4=(c4-1)*s;const l2=typeof n2==="function";return l2?n2(o6,c4):r3===1?o6*s:a4-o6*s}__name(Ir,"Ir");i2(Ir,"calcChildStagger");function Xe3(t2,e7,n2={}){const s=mt2(t2,e7,n2.type==="exit"?t2.presenceContext?.custom:void 0);let{transition:r3=t2.getDefaultTransition()||{}}=s||{};if(n2.transitionOverride){r3=n2.transitionOverride}const o6=s?()=>Promise.all(Fr(t2,s,n2)):()=>Promise.resolve();const c4=t2.variantChildren&&t2.variantChildren.size?(l2=0)=>{const{delayChildren:h3=0,staggerChildren:u5,staggerDirection:f2}=r3;return Jl(t2,e7,l2,h3,u5,f2,n2)}:()=>Promise.resolve();const{when:a4}=r3;if(a4){const[l2,h3]=a4==="beforeChildren"?[o6,c4]:[c4,o6];return l2().then(()=>h3())}else{return Promise.all([o6(),c4(n2.delay)])}}__name(Xe3,"Xe");i2(Xe3,"animateVariant");function Jl(t2,e7,n2=0,s=0,r3=0,o6=1,c4){const a4=[];for(const l2 of t2.variantChildren){l2.notify("AnimationStart",e7);a4.push(Xe3(l2,e7,{...c4,delay:n2+(typeof s==="function"?0:s)+Ir(t2.variantChildren,l2,s,r3,o6)}).then(()=>l2.notify("AnimationComplete",e7)))}return Promise.all(a4)}__name(Jl,"Jl");i2(Jl,"animateChildren");function tc(t2,e7,n2={}){t2.notify("AnimationStart",e7);let s;if(Array.isArray(e7)){const r3=e7.map(o6=>Xe3(t2,o6,n2));s=Promise.all(r3)}else if(typeof e7==="string"){s=Xe3(t2,e7,n2)}else{const r3=typeof e7==="function"?mt2(t2,e7,n2.custom):e7;s=Promise.all(Fr(t2,r3,n2))}return s.then(()=>{t2.notify("AnimationComplete",e7)})}__name(tc,"tc");i2(tc,"animateVisualElement");function jr(t2,e7){if(!Array.isArray(e7))return false;const n2=e7.length;if(n2!==t2.length)return false;for(let s=0;sPromise.all(e7.map(({animation:n2,options:s})=>tc(t2,n2,s)))}__name(ic,"ic");i2(ic,"animateList");function rc(t2){let e7=ic(t2);let n2=Ws();let s=true;const r3=i2(l2=>(h3,u5)=>{const f2=mt2(t2,u5,l2==="exit"?t2.presenceContext?.custom:void 0);if(f2){const{transition:d,transitionEnd:m2,...p3}=f2;h3={...h3,...p3,...m2}}return h3},"buildResolvedTypeValues");function o6(l2){e7=l2(t2)}__name(o6,"o");i2(o6,"setAnimateFunction");function c4(l2){const{props:h3}=t2;const u5=Or(t2.parent)||{};const f2=[];const d=new Set;let m2={};let p3=Infinity;for(let T3=0;T3p3&&w;let j3=false;const N2=Array.isArray(y3)?y3:[y3];let tt4=N2.reduce(r3(g2),{});if(b===false)tt4={};const{prevResolvedValues:cs={}}=x2;const Qr={...cs,...tt4};const us=i2(k3=>{A=true;if(d.has(k3)){j3=true;d.delete(k3)}x2.needsAnimating[k3]=true;const U4=t2.getValue(k3);if(U4)U4.liveStyle=false},"markToAnimate");for(const k3 in Qr){const U4=tt4[k3];const et3=cs[k3];if(m2.hasOwnProperty(k3))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(k3)}else{d.add(k3)}}else if(U4!==void 0&&d.has(k3)){us(k3)}else{x2.protectedKeys[k3]=true}}x2.prevProp=y3;x2.prevResolvedValues=tt4;if(x2.isActive){m2={...m2,...tt4}}if(s&&t2.blockInitialAnimation){A=false}const hs=V&&L;const Jr=!hs||j3;if(A&&Jr){f2.push(...N2.map(k3=>{const U4={type:g2};if(typeof k3==="string"&&s&&!hs&&t2.manuallyAnimateOnMount&&t2.parent){const{parent:et3}=t2;const lt3=mt2(et3,k3);if(et3.enteringChildren&<3){const{delayChildren:to2}=lt3.transition||{};U4.delay=Ir(et3.enteringChildren,t2,to2)}}return{animation:k3,options:U4}}))}}if(d.size){const T3={};if(typeof h3.initial!=="boolean"){const g2=mt2(t2,Array.isArray(h3.initial)?h3.initial[0]:h3.initial);if(g2&&g2.transition){T3.transition=g2.transition}}d.forEach(g2=>{const x2=t2.getBaseTarget(g2);const y3=t2.getValue(g2);if(y3)y3.liveStyle=true;T3[g2]=x2??null});f2.push({animation:T3})}let v2=Boolean(f2.length);if(s&&(h3.initial===false||h3.initial===h3.animate)&&!t2.manuallyAnimateOnMount){v2=false}s=false;return v2?e7(f2):Promise.resolve()}__name(c4,"c");i2(c4,"animateChanges");function a4(l2,h3){if(n2[l2].isActive===h3)return Promise.resolve();t2.variantChildren?.forEach(f2=>f2.animationState?.setActive(l2,h3));n2[l2].isActive=h3;const u5=c4(l2);for(const f2 in n2){n2[f2].protectedKeys={}}return u5}__name(a4,"a");i2(a4,"setActive");return{animateChanges:c4,setActive:a4,setAnimateFunction:o6,getState:i2(()=>n2,"getState"),reset:i2(()=>{n2=Ws()},"reset")}}__name(rc,"rc");i2(rc,"createAnimationState");function oc(t2,e7){if(typeof e7==="string"){return e7!==t2}else if(Array.isArray(e7)){return!jr(e7,t2)}return false}__name(oc,"oc");i2(oc,"checkVariantsDidChange");function nt3(t2=false){return{isActive:t2,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(e7){this.isMounted=false;this.node=e7}update(){}};i2(qn2,"Feature");var G2=qn2;var _n2=class _n3 extends G2{static{__name(this,"_n")}constructor(e7){super(e7);e7.animationState||(e7.animationState=rc(e7))}updateAnimationControlsSubscription(){const{animate:e7}=this.node.getProps();if(ne2(e7)){this.unmountControls=e7.subscribe(this.node)}}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e7}=this.node.getProps();const{animate:n2}=this.node.prevProps||{};if(e7!==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:e7,onExitComplete:n2}=this.node.presenceContext;const{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e7===s){return}const r3=this.node.animationState.setActive("exit",!e7);if(n2&&!e7){r3.then(()=>{n2(this.id)})}}mount(){const{register:e7,onExitComplete:n2}=this.node.presenceContext||{};if(n2){n2(this.id)}if(e7){this.unmount=e7(this.id)}}unmount(){}};i2(Zn2,"ExitAnimationFeature");var Ge3=Zn2;var lc={animation:{Feature:Ye3},exit:{Feature:Ge3}};function It2(t2,e7,n2,s={passive:true}){t2.addEventListener(e7,n2,s);return()=>t2.removeEventListener(e7,n2)}__name(It2,"It");i2(It2,"addDomEvent");function Ut(t2){return{point:{x:t2.pageX,y:t2.pageY}}}__name(Ut,"Ut");i2(Ut,"extractEventInfo");var cc=i2(t2=>{return e7=>Vn2(e7)&&t2(e7,Ut(e7))},"addPointerInfo");function wt2(t2,e7,n2,s){return It2(t2,e7,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(t2){return t2.max-t2.min}__name(I2,"I");i2(I2,"calcLength");function mc(t2,e7,n2){return Math.abs(t2-e7)<=n2}__name(mc,"mc");i2(mc,"isNear");function $s(t2,e7,n2,s=.5){t2.origin=s;t2.originPoint=D(e7.min,e7.max,t2.origin);t2.scale=I2(n2)/I2(e7);t2.translate=D(n2.min,n2.max,t2.origin)-t2.originPoint;if(t2.scale>=uc&&t2.scale<=hc||isNaN(t2.scale)){t2.scale=1}if(t2.translate>=fc&&t2.translate<=dc||isNaN(t2.translate)){t2.translate=0}}__name($s,"$s");i2($s,"calcAxisDelta");function At(t2,e7,n2,s){$s(t2.x,e7.x,n2.x,s?s.originX:void 0);$s(t2.y,e7.y,n2.y,s?s.originY:void 0)}__name(At,"At");i2(At,"calcBoxDelta");function Hs(t2,e7,n2){t2.min=n2.min+e7.min;t2.max=t2.min+I2(e7)}__name(Hs,"Hs");i2(Hs,"calcRelativeAxis");function pc(t2,e7,n2){Hs(t2.x,e7.x,n2.x);Hs(t2.y,e7.y,n2.y)}__name(pc,"pc");i2(pc,"calcRelativeBox");function zs(t2,e7,n2){t2.min=e7.min-n2.min;t2.max=t2.min+I2(e7)}__name(zs,"zs");i2(zs,"calcRelativeAxisPosition");function Vt2(t2,e7,n2){zs(t2.x,e7.x,n2.x);zs(t2.y,e7.y,n2.y)}__name(Vt2,"Vt");i2(Vt2,"calcRelativePosition");function W3(t2){return[t2("x"),t2("y")]}__name(W3,"W");i2(W3,"eachAxis");var Kr=i2(({current:t2})=>{return t2?t2.ownerDocument.defaultView:null},"getContextWindow");var Xs=i2((t2,e7)=>Math.abs(t2-e7),"distance");function gc(t2,e7){const n2=Xs(t2.x,e7.x);const s=Xs(t2.y,e7.y);return Math.sqrt(n2**2+s**2)}__name(gc,"gc");i2(gc,"distance2D");var Qn2=class Qn3{static{__name(this,"Qn")}constructor(e7,n2,{transformPagePoint:s,contextWindow:r3=window,dragSnapToOrigin:o6=false,distanceThreshold:c4=3}={}){this.startEvent=null;this.lastMoveEvent=null;this.lastMoveEventInfo=null;this.handlers={};this.contextWindow=window;this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=de3(this.lastMoveEventInfo,this.history);const m2=this.startEvent!==null;const p3=gc(d.offset,{x:0,y:0})>=this.distanceThreshold;if(!m2&&!p3)return;const{point:v2}=d;const{timestamp:T3}=B2;this.history.push({...v2,timestamp:T3});const{onStart:g2,onMove:x2}=this.handlers;if(!m2){g2&&g2(this.lastMoveEvent,d);this.startEvent=this.lastMoveEvent}x2&&x2(this.lastMoveEvent,d)};this.handlePointerMove=(d,m2)=>{this.lastMoveEvent=d;this.lastMoveEventInfo=fe2(m2,this.transformPagePoint);C.update(this.updatePoint,true)};this.handlePointerUp=(d,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(d.type==="pointercancel"?this.lastMoveEventInfo:fe2(m2,this.transformPagePoint),this.history);if(this.startEvent&&p3){p3(d,g2)}v2&&v2(d,g2)};if(!Vn2(e7))return;this.dragSnapToOrigin=o6;this.handlers=n2;this.transformPagePoint=s;this.distanceThreshold=c4;this.contextWindow=r3||window;const a4=Ut(e7);const l2=fe2(a4,this.transformPagePoint);const{point:h3}=l2;const{timestamp:u5}=B2;this.history=[{...h3,timestamp:u5}];const{onSessionStart:f2}=n2;f2&&f2(e7,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(e7){this.handlers=e7}end(){this.removeListeners&&this.removeListeners();Q2(this.updatePoint)}};i2(Qn2,"PanSession");var te2=Qn2;function fe2(t2,e7){return e7?{point:e7(t2.point)}:t2}__name(fe2,"fe");i2(fe2,"transformPoint");function Ys(t2,e7){return{x:t2.x-e7.x,y:t2.y-e7.y}}__name(Ys,"Ys");i2(Ys,"subtractPoint");function de3({point:t2},e7){return{point:t2,delta:Ys(t2,Wr(e7)),offset:Ys(t2,yc(e7)),velocity:vc(e7,.1)}}__name(de3,"de");i2(de3,"getPanInfo");function yc(t2){return t2[0]}__name(yc,"yc");i2(yc,"startDevicePoint");function Wr(t2){return t2[t2.length-1]}__name(Wr,"Wr");i2(Wr,"lastDevicePoint");function vc(t2,e7){if(t2.length<2){return{x:0,y:0}}let n2=t2.length-1;let s=null;const r3=Wr(t2);while(n2>=0){s=t2[n2];if(r3.timestamp-s.timestamp>X3(e7)){break}n2--}if(!s){return{x:0,y:0}}const o6=$2(r3.timestamp-s.timestamp);if(o6===0){return{x:0,y:0}}const c4={x:(r3.x-s.x)/o6,y:(r3.y-s.y)/o6};if(c4.x===Infinity){c4.x=0}if(c4.y===Infinity){c4.y=0}return c4}__name(vc,"vc");i2(vc,"getVelocity");function Tc(t2,{min:e7,max:n2},s){if(e7!==void 0&&t2n2){t2=s?D(n2,t2,s.max):Math.min(t2,n2)}return t2}__name(Tc,"Tc");i2(Tc,"applyConstraints");function Gs(t2,e7,n2){return{min:e7!==void 0?t2.min+e7:void 0,max:n2!==void 0?t2.max+n2-(t2.max-t2.min):void 0}}__name(Gs,"Gs");i2(Gs,"calcRelativeAxisConstraints");function xc(t2,{top:e7,left:n2,bottom:s,right:r3}){return{x:Gs(t2.x,n2,r3),y:Gs(t2.y,e7,s)}}__name(xc,"xc");i2(xc,"calcRelativeConstraints");function qs(t2,e7){let n2=e7.min-t2.min;let s=e7.max-t2.max;if(e7.max-e7.mins){n2=Ct2(e7.min,e7.max-s,t2.min)}else if(s>r3){n2=Ct2(t2.min,t2.max-r3,e7.min)}return q2(0,1,n2)}__name(bc,"bc");i2(bc,"calcOrigin");function Sc(t2,e7){const n2={};if(e7.min!==void 0){n2.min=e7.min-t2.min}if(e7.max!==void 0){n2.max=e7.max-t2.min}return n2}__name(Sc,"Sc");i2(Sc,"rebaseAxisConstraints");var qe3=.35;function wc(t2=qe3){if(t2===false){t2=0}else if(t2===true){t2=qe3}return{x:_s(t2,"left","right"),y:_s(t2,"top","bottom")}}__name(wc,"wc");i2(wc,"resolveDragElastic");function _s(t2,e7,n2){return{min:Zs(t2,e7),max:Zs(t2,n2)}}__name(_s,"_s");i2(_s,"resolveAxisElastic");function Zs(t2,e7){return typeof t2==="number"?t2:t2[e7]||0}__name(Zs,"Zs");i2(Zs,"resolvePointElastic");var Ac=new WeakMap;var Jn2=class Jn3{static{__name(this,"Jn")}constructor(e7){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=e7}start(e7,{snapToCursor:n2=false,distanceThreshold:s}={}){const{presenceContext:r3}=this.visualElement;if(r3&&r3.isPresent===false)return;const o6=i2(f2=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation();if(n2){this.snapToCursor(Ut(f2).point)}},"onSessionStart");const c4=i2((f2,d)=>{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=f2;this.latestPanInfo=d;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:y3}=this.visualElement;if(y3&&y3.layout){const w=y3.layout.layoutBox[g2];if(w){const b=I2(w);x2=b*(parseFloat(x2)/100)}}}this.originPoint[g2]=x2});if(v2){C.postRender(()=>v2(f2,d))}ze3(this.visualElement,"transform");const{animationState:T3}=this.visualElement;T3&&T3.setActive("whileDrag",true)},"onStart");const a4=i2((f2,d)=>{this.latestPointerEvent=f2;this.latestPanInfo=d;const{dragPropagation:m2,dragDirectionLock:p3,onDirectionLock:v2,onDrag:T3}=this.getProps();if(!m2&&!this.openDragLock)return;const{offset:g2}=d;if(p3&&this.currentDirection===null){this.currentDirection=Vc(g2);if(this.currentDirection!==null){v2&&v2(this.currentDirection)}return}this.updateAxis("x",d.point,g2);this.updateAxis("y",d.point,g2);this.visualElement.render();T3&&T3(f2,d)},"onMove");const l2=i2((f2,d)=>{this.latestPointerEvent=f2;this.latestPanInfo=d;this.stop(f2,d);this.latestPointerEvent=null;this.latestPanInfo=null},"onSessionEnd");const h3=i2(()=>W3(f2=>this.getAnimationState(f2)==="paused"&&this.getAxisMotionValue(f2).animation?.play()),"resumeAnimation");const{dragSnapToOrigin:u5}=this.getProps();this.panSession=new te2(e7,{onSessionStart:o6,onStart:c4,onMove:a4,onSessionEnd:l2,resumeAnimation:h3},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u5,distanceThreshold:s,contextWindow:Kr(this.visualElement)})}stop(e7,n2){const s=e7||this.latestPointerEvent;const r3=n2||this.latestPanInfo;const o6=this.isDragging;this.cancel();if(!o6||!r3||!s)return;const{velocity:c4}=r3;this.startAnimation(c4);const{onDragEnd:a4}=this.getProps();if(a4){C.postRender(()=>a4(s,r3))}}cancel(){this.isDragging=false;const{projection:e7,animationState:n2}=this.visualElement;if(e7){e7.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(e7,n2,s){const{drag:r3}=this.getProps();if(!s||!$t(e7,r3,this.currentDirection))return;const o6=this.getAxisMotionValue(e7);let c4=this.originPoint[e7]+s[e7];if(this.constraints&&this.constraints[e7]){c4=Tc(c4,this.constraints[e7],this.elastic[e7])}o6.set(c4)}resolveConstraints(){const{dragConstraints:e7,dragElastic:n2}=this.getProps();const s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(false):this.visualElement.projection?.layout;const r3=this.constraints;if(e7&&ut3(e7)){if(!this.constraints){this.constraints=this.resolveRefConstraints()}}else{if(e7&&s){this.constraints=xc(s.layoutBox,e7)}else{this.constraints=false}}this.elastic=wc(n2);if(r3!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints){W3(o6=>{if(this.constraints!==false&&this.getAxisMotionValue(o6)){this.constraints[o6]=Sc(s.layoutBox[o6],this.constraints[o6])}})}}resolveRefConstraints(){const{dragConstraints:e7,onMeasureDragConstraints:n2}=this.getProps();if(!e7||!ut3(e7))return false;const s=e7.current;const{projection:r3}=this.visualElement;if(!r3||!r3.layout)return false;const o6=kl(s,r3.root,this.visualElement.getTransformPagePoint());let c4=Pc(r3.layout.layoutBox,o6);if(n2){const a4=n2(Rl(c4));this.hasMutatedConstraints=!!a4;if(a4){c4=Cr(a4)}}return c4}startAnimation(e7){const{drag:n2,dragMomentum:s,dragElastic:r3,dragTransition:o6,dragSnapToOrigin:c4,onDragTransitionEnd:a4}=this.getProps();const l2=this.constraints||{};const h3=W3(u5=>{if(!$t(u5,n2,this.currentDirection)){return}let f2=l2&&l2[u5]||{};if(c4)f2={min:0,max:0};const d=r3?200:1e6;const m2=r3?40:1e7;const p3={type:"inertia",velocity:s?e7[u5]:0,bounceStiffness:d,bounceDamping:m2,timeConstant:750,restDelta:1,restSpeed:10,...o6,...f2};return this.startAxisValueAnimation(u5,p3)});return Promise.all(h3).then(a4)}startAxisValueAnimation(e7,n2){const s=this.getAxisMotionValue(e7);ze3(this.visualElement,e7);return s.start(Fn3(e7,s,0,n2,this.visualElement,false))}stopAnimation(){W3(e7=>this.getAxisMotionValue(e7).stop())}pauseAnimation(){W3(e7=>this.getAxisMotionValue(e7).animation?.pause())}getAnimationState(e7){return this.getAxisMotionValue(e7).animation?.state}getAxisMotionValue(e7){const n2=`_drag${e7.toUpperCase()}`;const s=this.visualElement.getProps();const r3=s[n2];return r3?r3:this.visualElement.getValue(e7,(s.initial?s.initial[e7]:void 0)||0)}snapToCursor(e7){W3(n2=>{const{drag:s}=this.getProps();if(!$t(n2,s,this.currentDirection))return;const{projection:r3}=this.visualElement;const o6=this.getAxisMotionValue(n2);if(r3&&r3.layout){const{min:c4,max:a4}=r3.layout.layoutBox[n2];o6.set(e7[n2]-D(c4,a4,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e7,dragConstraints:n2}=this.getProps();const{projection:s}=this.visualElement;if(!ut3(n2)||!s||!this.constraints)return;this.stopAnimation();const r3={x:0,y:0};W3(c4=>{const a4=this.getAxisMotionValue(c4);if(a4&&this.constraints!==false){const l2=a4.get();r3[c4]=bc({min:l2,max:l2},this.constraints[c4])}});const{transformTemplate:o6}=this.visualElement.getProps();this.visualElement.current.style.transform=o6?o6({},""):"none";s.root&&s.root.updateScroll();s.updateLayout();this.resolveConstraints();W3(c4=>{if(!$t(c4,e7,null))return;const a4=this.getAxisMotionValue(c4);const{min:l2,max:h3}=this.constraints[c4];a4.set(D(l2,h3,r3[c4]))})}addListeners(){if(!this.visualElement.current)return;Ac.set(this.visualElement,this);const e7=this.visualElement.current;const n2=wt2(e7,"pointerdown",l2=>{const{drag:h3,dragListener:u5=true}=this.getProps();h3&&u5&&this.start(l2)});const s=i2(()=>{const{dragConstraints:l2}=this.getProps();if(ut3(l2)&&l2.current){this.constraints=this.resolveRefConstraints()}},"measureDragConstraints");const{projection:r3}=this.visualElement;const o6=r3.addEventListener("measure",s);if(r3&&!r3.layout){r3.root&&r3.root.updateScroll();r3.updateLayout()}C.read(s);const c4=It2(window,"resize",()=>this.scalePositionWithinConstraints());const a4=r3.addEventListener("didUpdate",({delta:l2,hasLayoutChanged:h3})=>{if(this.isDragging&&h3){W3(u5=>{const f2=this.getAxisMotionValue(u5);if(!f2)return;this.originPoint[u5]+=l2[u5].translate;f2.set(f2.get()+l2[u5].translate)});this.visualElement.render()}});return()=>{c4();n2();o6();a4&&a4()}}getProps(){const e7=this.visualElement.getProps();const{drag:n2=false,dragDirectionLock:s=false,dragPropagation:r3=false,dragConstraints:o6=false,dragElastic:c4=qe3,dragMomentum:a4=true}=e7;return{...e7,drag:n2,dragDirectionLock:s,dragPropagation:r3,dragConstraints:o6,dragElastic:c4,dragMomentum:a4}}};i2(Jn2,"VisualElementDragControls");var _e2=Jn2;function $t(t2,e7,n2){return(e7===true||e7===t2)&&(n2===null||n2===t2)}__name($t,"$t");i2($t,"shouldDrag");function Vc(t2,e7=10){let n2=null;if(Math.abs(t2.y)>e7){n2="y"}else if(Math.abs(t2.x)>e7){n2="x"}return n2}__name(Vc,"Vc");i2(Vc,"getCurrentDirection");var ts=class ts2 extends G2{static{__name(this,"ts")}constructor(e7){super(e7);this.removeGroupControls=H;this.removeListeners=H;this.controls=new _e2(e7)}mount(){const{dragControls:e7}=this.node.getProps();if(e7){this.removeGroupControls=e7.subscribe(this.controls)}this.removeListeners=this.controls.addListeners()||H}unmount(){this.removeGroupControls();this.removeListeners()}};i2(ts,"DragGesture");var Ze4=ts;var Qs=i2(t2=>(e7,n2)=>{if(t2){C.postRender(()=>t2(e7,n2))}},"asyncHandler");var es=class es2 extends G2{static{__name(this,"es")}constructor(){super(...arguments);this.removePointerDownListener=H}onPointerDown(e7){this.session=new te2(e7,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kr(this.node)})}createPanHandlers(){const{onPanSessionStart:e7,onPanStart:n2,onPan:s,onPanEnd:r3}=this.node.getProps();return{onSessionStart:Qs(e7),onStart:Qs(n2),onMove:s,onEnd:i2((o6,c4)=>{delete this.session;if(r3){C.postRender(()=>r3(o6,c4))}},"onEnd")}}mount(){this.removePointerDownListener=wt2(this.node.current,"pointerdown",e7=>this.onPointerDown(e7))}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(t2,e7){if(e7.max===e7.min)return 0;return t2/(e7.max-e7.min)*100}__name(Js,"Js");i2(Js,"pixelsToPercent");var xt2={correct:i2((t2,e7)=>{if(!e7.target)return t2;if(typeof t2==="string"){if(P.test(t2)){t2=parseFloat(t2)}else{return t2}}const n2=Js(t2,e7.target.x);const s=Js(t2,e7.target.y);return`${n2}% ${s}%`},"correct")};var Cc={correct:i2((t2,{treeScale:e7,projectionDelta:n2})=>{const s=t2;const r3=J.parse(t2);if(r3.length>5)return s;const o6=J.createTransformer(t2);const c4=typeof r3[0]!=="number"?1:0;const a4=n2.x.scale*e7.x;const l2=n2.y.scale*e7.y;r3[0+c4]/=a4;r3[1+c4]/=l2;const h3=D(a4,l2,.5);if(typeof r3[2+c4]==="number")r3[2+c4]/=h3;if(typeof r3[3+c4]==="number")r3[3+c4]/=h3;return o6(r3)},"correct")};var me2=false;var ns=class ns2 extends z.Component{static{__name(this,"ns")}componentDidMount(){const{visualElement:e7,layoutGroup:n2,switchLayoutGroup:s,layoutId:r3}=this.props;const{projection:o6}=e7;il(Dc);if(o6){if(n2.group)n2.group.add(o6);if(s&&s.register&&r3){s.register(o6)}if(me2){o6.root.didUpdate()}o6.addEventListener("animationComplete",()=>{this.safeToRemove()});o6.setOptions({...o6.options,onExitComplete:i2(()=>this.safeToRemove(),"onExitComplete")})}Yt2.hasEverUpdated=true}getSnapshotBeforeUpdate(e7){const{layoutDependency:n2,visualElement:s,drag:r3,isPresent:o6}=this.props;const{projection:c4}=s;if(!c4)return null;c4.isPresent=o6;me2=true;if(r3||e7.layoutDependency!==n2||n2===void 0||e7.isPresent!==o6){c4.willUpdate()}else{this.safeToRemove()}if(e7.isPresent!==o6){if(o6){c4.promote()}else if(!c4.relegate()){C.postRender(()=>{const a4=c4.getStack();if(!a4||!a4.members.length){this.safeToRemove()}})}}return null}componentDidUpdate(){const{projection:e7}=this.props.visualElement;if(e7){e7.root.didUpdate();An2.postRender(()=>{if(!e7.currentAnimation&&e7.isLead()){this.safeToRemove()}})}}componentWillUnmount(){const{visualElement:e7,layoutGroup:n2,switchLayoutGroup:s}=this.props;const{projection:r3}=e7;me2=true;if(r3){r3.scheduleCheckAfterUnmount();if(n2&&n2.group)n2.group.remove(r3);if(s&&s.deregister)s.deregister(r3)}}safeToRemove(){const{safeToRemove:e7}=this.props;e7&&e7()}render(){return null}};i2(ns,"MeasureLayoutWithContext");var Je4=ns;function $r(t2){const[e7,n2]=Za();const s=z.useContext(Si);return Ht.jsx(Je4,{...t2,layoutGroup:s,switchLayoutGroup:z.useContext(Ar),isPresent:e7,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(t2,e7,n2){const s=F2(t2)?t2:pt2(t2);s.start(Fn3("",s,e7,n2));return s.animation}__name(Mc,"Mc");i2(Mc,"animateSingleValue");var Rc=i2((t2,e7)=>t2.depth-e7.depth,"compareByDepth");var ss=class ss2{static{__name(this,"ss")}constructor(){this.children=[];this.isDirty=false}add(e7){un2(this.children,e7);this.isDirty=true}remove(e7){hn2(this.children,e7);this.isDirty=true}forEach(e7){this.isDirty&&this.children.sort(Rc);this.isDirty=false;this.children.forEach(e7)}};i2(ss,"FlatTree");var tn2=ss;function Ec(t2,e7){const n2=O2.now();const s=i2(({timestamp:r3})=>{const o6=r3-n2;if(o6>=e7){Q2(s);t2(o6-e7)}},"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(t2=>typeof t2==="string"?parseFloat(t2):t2,"asNumber");var ei=i2(t2=>typeof t2==="number"||P.test(t2),"isPx");function kc(t2,e7,n2,s,r3,o6){if(r3){t2.opacity=D(0,n2.opacity??1,Bc(s));t2.opacityExit=D(e7.opacity??1,0,Fc(s))}else if(o6){t2.opacity=D(e7.opacity??1,n2.opacity??1,s)}for(let c4=0;c4{if(se7)return 1;return n2(Ct2(t2,e7,s))}}__name(zr,"zr");i2(zr,"compress");function si(t2,e7){t2.min=e7.min;t2.max=e7.max}__name(si,"si");i2(si,"copyAxisInto");function K2(t2,e7){si(t2.x,e7.x);si(t2.y,e7.y)}__name(K2,"K");i2(K2,"copyBoxInto");function ii(t2,e7){t2.translate=e7.translate;t2.scale=e7.scale;t2.originPoint=e7.originPoint;t2.origin=e7.origin}__name(ii,"ii");i2(ii,"copyAxisDeltaInto");function ri(t2,e7,n2,s,r3){t2-=e7;t2=Qt2(t2,1/n2,s);if(r3!==void 0){t2=Qt2(t2,1/r3,s)}return t2}__name(ri,"ri");i2(ri,"removePointDelta");function Ic(t2,e7=0,n2=1,s=.5,r3,o6=t2,c4=t2){if(Y2.test(e7)){e7=parseFloat(e7);const l2=D(c4.min,c4.max,e7/100);e7=l2-c4.min}if(typeof e7!=="number")return;let a4=D(o6.min,o6.max,s);if(t2===o6)a4-=e7;t2.min=ri(t2.min,e7,n2,a4,r3);t2.max=ri(t2.max,e7,n2,a4,r3)}__name(Ic,"Ic");i2(Ic,"removeAxisDelta");function oi(t2,e7,[n2,s,r3],o6,c4){Ic(t2,e7[n2],e7[s],e7[r3],e7.scale,o6,c4)}__name(oi,"oi");i2(oi,"removeAxisTransforms");var jc=["x","scaleX","originX"];var Oc=["y","scaleY","originY"];function ai(t2,e7,n2,s){oi(t2.x,e7,jc,n2?n2.x:void 0,s?s.x:void 0);oi(t2.y,e7,Oc,n2?n2.y:void 0,s?s.y:void 0)}__name(ai,"ai");i2(ai,"removeBoxTransforms");function li(t2){return t2.translate===0&&t2.scale===1}__name(li,"li");i2(li,"isAxisDeltaZero");function Xr(t2){return li(t2.x)&&li(t2.y)}__name(Xr,"Xr");i2(Xr,"isDeltaZero");function ci(t2,e7){return t2.min===e7.min&&t2.max===e7.max}__name(ci,"ci");i2(ci,"axisEquals");function Nc(t2,e7){return ci(t2.x,e7.x)&&ci(t2.y,e7.y)}__name(Nc,"Nc");i2(Nc,"boxEquals");function ui(t2,e7){return Math.round(t2.min)===Math.round(e7.min)&&Math.round(t2.max)===Math.round(e7.max)}__name(ui,"ui");i2(ui,"axisEqualsRounded");function Yr(t2,e7){return ui(t2.x,e7.x)&&ui(t2.y,e7.y)}__name(Yr,"Yr");i2(Yr,"boxEqualsRounded");function hi(t2){return I2(t2.x)/I2(t2.y)}__name(hi,"hi");i2(hi,"aspectRatio");function fi(t2,e7){return t2.translate===e7.translate&&t2.scale===e7.scale&&t2.originPoint===e7.originPoint}__name(fi,"fi");i2(fi,"axisDeltaEquals");var is=class is2{static{__name(this,"is")}constructor(){this.members=[]}add(e7){un2(this.members,e7);e7.scheduleRender()}remove(e7){hn2(this.members,e7);if(e7===this.prevLead){this.prevLead=void 0}if(e7===this.lead){const n2=this.members[this.members.length-1];if(n2){this.promote(n2)}}}relegate(e7){const n2=this.members.findIndex(r3=>e7===r3);if(n2===0)return false;let s;for(let r3=n2;r3>=0;r3--){const o6=this.members[r3];if(o6.isPresent!==false){s=o6;break}}if(s){this.promote(s);return true}else{return false}}promote(e7,n2){const s=this.lead;if(e7===s)return;this.prevLead=s;this.lead=e7;e7.show();if(s){s.instance&&s.scheduleRender();e7.scheduleRender();e7.resumeFrom=s;if(n2){e7.resumeFrom.preserveOpacity=true}if(s.snapshot){e7.snapshot=s.snapshot;e7.snapshot.latestValues=s.animationValues||s.latestValues}if(e7.root&&e7.root.isUpdating){e7.isLayoutDirty=true}const{crossfade:r3}=e7.options;if(r3===false){s.hide()}}}exitAnimationComplete(){this.members.forEach(e7=>{const{options:n2,resumingFrom:s}=e7;n2.onExitComplete&&n2.onExitComplete();if(s){s.options.onExitComplete&&s.options.onExitComplete()}})}scheduleRender(){this.members.forEach(e7=>{e7.instance&&e7.scheduleRender(false)})}removeLeadSnapshot(){if(this.lead&&this.lead.snapshot){this.lead.snapshot=void 0}}};i2(is,"NodeStack");var en2=is;function Uc(t2,e7,n2){let s="";const r3=t2.x.translate/e7.x;const o6=t2.y.translate/e7.y;const c4=n2?.z||0;if(r3||o6||c4){s=`translate3d(${r3}px, ${o6}px, ${c4}px) `}if(e7.x!==1||e7.y!==1){s+=`scale(${1/e7.x}, ${1/e7.y}) `}if(n2){const{transformPerspective:h3,rotate:u5,rotateX:f2,rotateY:d,skewX:m2,skewY:p3}=n2;if(h3)s=`perspective(${h3}px) ${s}`;if(u5)s+=`rotate(${u5}deg) `;if(f2)s+=`rotateX(${f2}deg) `;if(d)s+=`rotateY(${d}deg) `;if(m2)s+=`skewX(${m2}deg) `;if(p3)s+=`skewY(${p3}deg) `}const a4=t2.x.scale*e7.x;const l2=t2.y.scale*e7.y;if(a4!==1||l2!==1){s+=`scale(${a4}, ${l2})`}return s||"none"}__name(Uc,"Uc");i2(Uc,"buildProjectionTransform");var pe3=["","X","Y","Z"];var Kc=1e3;var Wc=0;function ge2(t2,e7,n2,s){const{latestValues:r3}=e7;if(r3[t2]){n2[t2]=r3[t2];e7.setStaticValue(t2,0);if(s){s[t2]=0}}}__name(ge2,"ge");i2(ge2,"resetDistortingTransform");function Gr(t2){t2.hasCheckedOptimisedAppear=true;if(t2.root===t2)return;const{visualElement:e7}=t2.options;if(!e7)return;const n2=Br(e7);if(window.MotionHasOptimisedAnimation(n2,"transform")){const{layout:r3,layoutId:o6}=t2.options;window.MotionCancelOptimisedAnimation(n2,"transform",C,!(r3||o6))}const{parent:s}=t2;if(s&&!s.hasCheckedOptimisedAppear){Gr(s)}}__name(Gr,"Gr");i2(Gr,"cancelTreeOptimisedTransformAnimations");function qr({attachResizeListener:t2,defaultParent:e7,measureScroll:n2,checkIsScrollRoot:s,resetTransform:r3}){var o6;return o6=class{static{__name(this,"o")}constructor(a4={},l2=e7?.()){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=a4;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 h3=0;h3this.root.updateBlockedByResize=false,"resizeUnblockUpdate");C.read(()=>{d=window.innerWidth});t2(a4,()=>{const p3=window.innerWidth;if(p3===d)return;d=p3;this.root.updateBlockedByResize=true;f2&&f2();f2=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||h3)){this.addEventListener("didUpdate",({delta:f2,hasLayoutChanged:d,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 y3=!d&&m2;if(this.options.layoutRoot||this.resumeFrom||y3||d&&(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(f2,y3)}else{if(!d){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 a4=this.getStack();a4&&a4.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:a4}=this.options;return a4&&a4.getProps().transformTemplate}willUpdate(a4=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 f2=0;f2{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 h3=0;h3{const V=b/1e3;gi(d.x,a4.x,V);gi(d.y,a4.y,V);this.setTargetDelta(d);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=f2;kc(f2,u5,this.latestValues,V,y3,x2)}this.root.scheduleUpdateProjection();this.scheduleRender();this.animationProgress=V};this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a4){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],{...a4,velocity:0,isSync:true,onUpdate:i2(l2=>{this.mixTargetDelta(l2);a4.onUpdate&&a4.onUpdate(l2)},"onUpdate"),onStop:i2(()=>{},"onStop"),onComplete:i2(()=>{a4.onComplete&&a4.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 a4=this.getStack();a4&&a4.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 a4=this.getLead();let{targetWithTransforms:l2,target:h3,layout:u5,latestValues:f2}=a4;if(!l2||!h3||!u5)return;if(this!==a4&&this.layout&&u5&&_r(this.options.animationType,this.layout.layoutBox,u5.layoutBox)){h3=this.target||R2();const d=I2(this.layout.layoutBox.x);h3.x.min=a4.target.x.min;h3.x.max=h3.x.min+d;const m2=I2(this.layout.layoutBox.y);h3.y.min=a4.target.y.min;h3.y.max=h3.y.min+m2}K2(l2,h3);ft2(l2,f2);At(this.projectionDeltaWithTransform,this.layoutCorrected,l2,f2)}registerSharedNode(a4,l2){if(!this.sharedNodes.has(a4)){this.sharedNodes.set(a4,new en2)}const h3=this.sharedNodes.get(a4);h3.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 a4=this.getStack();return a4?a4.lead===this:true}getLead(){const{layoutId:a4}=this.options;return a4?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a4}=this.options;return a4?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a4}=this.options;if(a4)return this.root.sharedNodes.get(a4)}promote({needsReset:a4,transition:l2,preserveFollowOpacity:h3}={}){const u5=this.getStack();if(u5)u5.promote(this,h3);if(a4){this.projectionDelta=void 0;this.needsReset=true}if(l2)this.setOptions({transition:l2})}relegate(){const a4=this.getStack();if(a4){return a4.relegate(this)}else{return false}}resetSkewAndRotation(){const{visualElement:a4}=this.options;if(!a4)return;let l2=false;const{latestValues:h3}=a4;if(h3.z||h3.rotate||h3.rotateX||h3.rotateY||h3.rotateZ||h3.skewX||h3.skewY){l2=true}if(!l2)return;const u5={};if(h3.z){ge2("z",a4,u5,this.animationValues)}for(let f2=0;f2a4.currentAnimation?.stop());this.root.nodes.forEach(di);this.root.sharedNodes.clear()}},i2(o6,"ProjectionNode"),o6}__name(qr,"qr");i2(qr,"createProjectionNode");function $c(t2){t2.updateLayout()}__name($c,"$c");i2($c,"updateLayout");function Hc(t2){const e7=t2.resumeFrom?.snapshot||t2.snapshot;if(t2.isLead()&&t2.layout&&e7&&t2.hasListeners("didUpdate")){const{layoutBox:n2,measuredBox:s}=t2.layout;const{animationType:r3}=t2.options;const o6=e7.source!==t2.layout.source;if(r3==="size"){W3(u5=>{const f2=o6?e7.measuredBox[u5]:e7.layoutBox[u5];const d=I2(f2);f2.min=n2[u5].min;f2.max=f2.min+d})}else if(_r(r3,e7.layoutBox,n2)){W3(u5=>{const f2=o6?e7.measuredBox[u5]:e7.layoutBox[u5];const d=I2(n2[u5]);f2.max=f2.min+d;if(t2.relativeTarget&&!t2.currentAnimation){t2.isProjectionDirty=true;t2.relativeTarget[u5].max=t2.relativeTarget[u5].min+d}})}const c4=dt4();At(c4,n2,e7.layoutBox);const a4=dt4();if(o6){At(a4,t2.applyTransform(s,true),e7.measuredBox)}else{At(a4,n2,e7.layoutBox)}const l2=!Xr(c4);let h3=false;if(!t2.resumeFrom){const u5=t2.getClosestProjectingParent();if(u5&&!u5.resumeFrom){const{snapshot:f2,layout:d}=u5;if(f2&&d){const m2=R2();Vt2(m2,e7.layoutBox,f2.layoutBox);const p3=R2();Vt2(p3,n2,d.layoutBox);if(!Yr(m2,p3)){h3=true}if(u5.options.layoutRoot){t2.relativeTarget=p3;t2.relativeTargetOrigin=m2;t2.relativeParent=u5}}}}t2.notifyListeners("didUpdate",{layout:n2,snapshot:e7,delta:a4,layoutDelta:c4,hasLayoutChanged:l2,hasRelativeLayoutChanged:h3})}else if(t2.isLead()){const{onExitComplete:n2}=t2.options;n2&&n2()}t2.options.transition=void 0}__name(Hc,"Hc");i2(Hc,"notifyLayoutUpdate");function zc(t2){if(!t2.parent)return;if(!t2.isProjecting()){t2.isProjectionDirty=t2.parent.isProjectionDirty}t2.isSharedProjectionDirty||(t2.isSharedProjectionDirty=Boolean(t2.isProjectionDirty||t2.parent.isProjectionDirty||t2.parent.isSharedProjectionDirty));t2.isTransformDirty||(t2.isTransformDirty=t2.parent.isTransformDirty)}__name(zc,"zc");i2(zc,"propagateDirtyNodes");function Xc(t2){t2.isProjectionDirty=t2.isSharedProjectionDirty=t2.isTransformDirty=false}__name(Xc,"Xc");i2(Xc,"cleanDirtyNodes");function Yc(t2){t2.clearSnapshot()}__name(Yc,"Yc");i2(Yc,"clearSnapshot");function di(t2){t2.clearMeasurements()}__name(di,"di");i2(di,"clearMeasurements");function mi(t2){t2.isLayoutDirty=false}__name(mi,"mi");i2(mi,"clearIsLayoutDirty");function Gc(t2){const{visualElement:e7}=t2.options;if(e7&&e7.getProps().onBeforeLayoutMeasure){e7.notify("BeforeLayoutMeasure")}t2.resetTransform()}__name(Gc,"Gc");i2(Gc,"resetTransformStyle");function pi(t2){t2.finishAnimation();t2.targetDelta=t2.relativeTarget=t2.target=void 0;t2.isProjectionDirty=true}__name(pi,"pi");i2(pi,"finishAnimation");function qc(t2){t2.resolveTargetDelta()}__name(qc,"qc");i2(qc,"resolveTargetDelta");function _c(t2){t2.calcProjection()}__name(_c,"_c");i2(_c,"calcProjection");function Zc(t2){t2.resetSkewAndRotation()}__name(Zc,"Zc");i2(Zc,"resetSkewAndRotation");function Qc(t2){t2.removeLeadSnapshot()}__name(Qc,"Qc");i2(Qc,"removeLeadSnapshots");function gi(t2,e7,n2){t2.translate=D(e7.translate,0,n2);t2.scale=D(e7.scale,1,n2);t2.origin=e7.origin;t2.originPoint=e7.originPoint}__name(gi,"gi");i2(gi,"mixAxisDelta");function yi(t2,e7,n2,s){t2.min=D(e7.min,n2.min,s);t2.max=D(e7.max,n2.max,s)}__name(yi,"yi");i2(yi,"mixAxis");function Jc(t2,e7,n2,s){yi(t2.x,e7.x,n2.x,s);yi(t2.y,e7.y,n2.y,s)}__name(Jc,"Jc");i2(Jc,"mixBox");function tu(t2){return t2.animationValues&&t2.animationValues.opacityExit!==void 0}__name(tu,"tu");i2(tu,"hasOpacityCrossfade");var eu={duration:.45,ease:[.4,0,.1,1]};var vi=i2(t2=>typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t2),"userAgentContains");var Ti=vi("applewebkit/")&&!vi("chrome/")?Math.round:H;function xi(t2){t2.min=Ti(t2.min);t2.max=Ti(t2.max)}__name(xi,"xi");i2(xi,"roundAxis");function nu(t2){xi(t2.x);xi(t2.y)}__name(nu,"nu");i2(nu,"roundBox");function _r(t2,e7,n2){return t2==="position"||t2==="preserve-aspect"&&!mc(hi(e7),hi(n2),.2)}__name(_r,"_r");i2(_r,"shouldAnimatePositionOnly");function su2(t2){return t2!==t2.root&&t2.scroll?.wasRoot}__name(su2,"su");i2(su2,"checkNodeWasScrollRoot");var iu=qr({attachResizeListener:i2((t2,e7)=>It2(t2,"resize",e7),"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(t2=>({x:t2.scrollLeft,y:t2.scrollTop}),"measureScroll"),defaultParent:i2(()=>{if(!ye3.current){const t2=new iu({});t2.mount(window);t2.setOptions({layoutScroll:true});ye3.current=t2}return ye3.current},"defaultParent"),resetTransform:i2((t2,e7)=>{t2.style.transform=e7!==void 0?e7:"none"},"resetTransform"),checkIsScrollRoot:i2(t2=>Boolean(window.getComputedStyle(t2).position==="fixed"),"checkIsScrollRoot")});var ru2={pan:{Feature:Qe4},drag:{Feature:Ze4,ProjectionNode:Zr,MeasureLayout:$r}};function Pi(t2,e7,n2){const{props:s}=t2;if(t2.animationState&&s.whileHover){t2.animationState.setActive("whileHover",n2==="Start")}const r3="onHover"+n2;const o6=s[r3];if(o6){C.postRender(()=>o6(e7,Ut(e7)))}}__name(Pi,"Pi");i2(Pi,"handleHoverEvent");var rs=class rs2 extends G2{static{__name(this,"rs")}mount(){const{current:e7}=this.node;if(!e7)return;this.unmount=$a(e7,(n2,s)=>{Pi(this.node,s,"Start");return r3=>Pi(this.node,r3,"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 e7=false;try{e7=this.node.current.matches(":focus-visible")}catch(n2){e7=true}if(!e7||!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(t2,e7,n2){const{props:s}=t2;if(t2.current instanceof HTMLButtonElement&&t2.current.disabled){return}if(t2.animationState&&s.whileTap){t2.animationState.setActive("whileTap",n2==="Start")}const r3="onTap"+(n2==="End"?"":n2);const o6=s[r3];if(o6){C.postRender(()=>o6(e7,Ut(e7)))}}__name(bi,"bi");i2(bi,"handlePressEvent");var as=class as2 extends G2{static{__name(this,"as")}mount(){const{current:e7}=this.node;if(!e7)return;this.unmount=Ya(e7,(n2,s)=>{bi(this.node,s,"Start");return(r3,{success:o6})=>bi(this.node,r3,o6?"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(t2=>{const e7=on3.get(t2.target);e7&&e7(t2)},"fireObserverCallback");var au=i2(t2=>{t2.forEach(ou2)},"fireAllObserverCallbacks");function lu({root:t2,...e7}){const n2=t2||document;if(!ve2.has(n2)){ve2.set(n2,{})}const s=ve2.get(n2);const r3=JSON.stringify(e7);if(!s[r3]){s[r3]=new IntersectionObserver(au,{root:t2,...e7})}return s[r3]}__name(lu,"lu");i2(lu,"initIntersectionObserver");function cu2(t2,e7,n2){const s=lu(e7);on3.set(t2,n2);s.observe(t2);return()=>{on3.delete(t2);s.unobserve(t2)}}__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:e7={}}=this.node.getProps();const{root:n2,margin:s,amount:r3="some",once:o6}=e7;const c4={root:n2?n2.current:void 0,rootMargin:s,threshold:typeof r3==="number"?r3:uu[r3]};const a4=i2(l2=>{const{isIntersecting:h3}=l2;if(this.isInView===h3)return;this.isInView=h3;if(o6&&!h3&&this.hasEnteredView){return}else if(h3){this.hasEnteredView=true}if(this.node.animationState){this.node.animationState.setActive("whileInView",h3)}const{onViewportEnter:u5,onViewportLeave:f2}=this.node.getProps();const d=h3?u5:f2;d&&d(l2)},"onIntersectionUpdate");return cu2(this.node.current,c4,a4)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver==="undefined")return;const{props:e7,prevProps:n2}=this.node;const s=["amount","margin","root"].some(hu(e7,n2));if(s){this.startObserver()}}unmount(){}};i2(ls,"InViewFeature");var an2=ls;function hu({viewport:t2={}},{viewport:e7={}}={}){return n2=>t2[n2]!==e7[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((e7,r3)=>t(e7,"name",{value:r3,configurable:true}),"o");function p(){!Er.current&&Bl();const[e7]=z.useState(Ue4.current);return e7}__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 o3=[["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 e3=qv("droplets",o3);var i3=Object.defineProperty;var a=__name((r3,t2)=>i3(r3,"name",{value:t2,configurable:true}),"a");function n(r3){if(r3==null||r3===false)return false;if(Array.isArray(r3)){for(const t2 of r3){if(n(t2))return true}return false}if(typeof r3==="string"||typeof r3==="number")return false;if(z.isValidElement(r3)){if(typeof r3.type==="string"&&r3.type.toLowerCase()==="img"){return true}return n(r3.props?.children)}return false}__name(n,"n");a(n,"hasImg");function u4({className:r3,...t2}){const o6=n(t2.children);return Ht.jsx("div",{"data-slot":"card",className:nv("bg-card text-card-foreground flex flex-col gap-6 rounded-xl py-6",o6&&"pt-0",r3),...t2})}__name(u4,"u");a(u4,"Card");function f({className:r3,...t2}){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",r3),...t2})}__name(f,"f");a(f,"CardHeader");function m({className:r3,...t2}){return Ht.jsx("div",{"data-slot":"card-title",className:nv("leading-none font-semibold",r3),...t2})}__name(m,"m");a(m,"CardTitle");function p2({className:r3,...t2}){return Ht.jsx("div",{"data-slot":"card-description",className:nv("text-muted-foreground text-sm",r3),...t2})}__name(p2,"p");a(p2,"CardDescription");function x({className:r3,...t2}){return Ht.jsx("div",{"data-slot":"card-content",className:nv("px-6",r3),...t2})}__name(x,"x");a(x,"CardContent");function g({className:r3,...t2}){return Ht.jsx("div",{"data-slot":"card-footer",className:nv("flex items-center px-6 [.border-t]:pt-6",r3),...t2})}__name(g,"g");a(g,"CardFooter");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 o4=qv("shield-alert",a2);var e4=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]];var h=qv("sun",e4);var e5=[["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",e5);var e6=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]];var l=qv("sparkles",e6);var N=Object.defineProperty;var a3=__name((s,r3)=>N(s,"name",{value:r3,configurable:true}),"a");var I3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]];var j2=qv("building-2",I3);var U3=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]];var y2=qv("house",U3);var E4=[{title:"Roofs & parapets",description:"Seamless membrane protection for flat concrete slabs, corrugated iron, tiled roofs, and exposed boundary walls.",icon:y2},{title:"Balconies & decks",description:"UV-stable, traffic-tolerant coatings that stop moisture penetration before it damages internal ceilings below.",icon:o2},{title:"Basements & retaining walls",description:"Positive and negative side water-barrier barriers preventing rising damp and subterranean seepage.",icon:e3},{title:"Commercial & industrial",description:"Heavy-duty elastomeric sealing designed to withstand extreme thermal expansion and weather stress.",icon:j2}];function D2(){const s=p();const r3={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:s?0:.1}}};const i4={hidden:{opacity:0,y:s?0:16},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsxs("section",{id:"heroapplications","data-nav":"dark",className:"relative overflow-hidden bg-secondary text-secondary-foreground py-20 lg:py-28",children:[Ht.jsxs("div",{className:"absolute inset-0 pointer-events-none opacity-10",children:[Ht.jsx("div",{className:"absolute -top-24 -right-24 w-96 h-96 rounded-full bg-primary blur-3xl"}),Ht.jsx("div",{className:"absolute -bottom-24 -left-24 w-96 h-96 rounded-full bg-primary blur-3xl"})]}),Ht.jsx("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:Ht.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 items-center",children:[Ht.jsxs("div",{className:"lg:col-span-7 space-y-6",children:[Ht.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-primary/20 border border-primary/30 text-primary text-xs font-semibold tracking-wide uppercase",children:[Ht.jsx(o2,{className:"size-4"}),Ht.jsx("span",{children:"Tested for South African climates"})]}),Ht.jsxs("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-extrabold tracking-tight text-white leading-tight",children:["Applications for ",Ht.jsx("span",{className:"text-primary",children:"U-Proof"})," waterproofing"]}),Ht.jsx("p",{className:"text-lg sm:text-xl text-secondary-foreground/90 max-w-2xl font-normal leading-relaxed",children:"From flat roofs and parapets to foundations and balconies, protect every structural surface against heavy rain, pooling water, and UV wear."}),Ht.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 pt-2 text-sm text-secondary-foreground/80",children:[Ht.jsxs("div",{className:"flex items-center gap-2",children:[Ht.jsx(r,{className:"size-4 text-primary shrink-0"}),Ht.jsx("span",{children:"100% seamless elastic barrier"})]}),Ht.jsxs("div",{className:"flex items-center gap-2",children:[Ht.jsx(r,{className:"size-4 text-primary shrink-0"}),Ht.jsx("span",{children:"High UV and heat resistance"})]}),Ht.jsxs("div",{className:"flex items-center gap-2",children:[Ht.jsx(r,{className:"size-4 text-primary shrink-0"}),Ht.jsx("span",{children:"Quick application & rapid cure"})]}),Ht.jsxs("div",{className:"flex items-center gap-2",children:[Ht.jsx(r,{className:"size-4 text-primary shrink-0"}),Ht.jsx("span",{children:"Safe for potable water tanks"})]})]}),Ht.jsxs("div",{className:"pt-4 flex flex-wrap items-center gap-4",children:[Ht.jsx(fS,{asChild:true,size:"lg",className:"bg-primary text-primary-foreground font-semibold hover:bg-primary/90 shadow-md",children:Ht.jsxs(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",children:[Ht.jsx("span",{children:"Explore solutions"}),Ht.jsx(c2,{className:"size-4 ml-1"})]})}),Ht.jsx(fS,{asChild:true,variant:"outline",size:"lg",className:"border-secondary-foreground/30 text-white hover:bg-secondary-foreground/10",children:Ht.jsx(cS,{to:"#applications-grid",children:Ht.jsx("span",{children:"View application areas"})})})]})]}),Ht.jsx("div",{id:"applications-grid",className:"lg:col-span-5",children:Ht.jsx(yu.div,{variants:r3,initial:"hidden",whileInView:"visible",viewport:{once:true},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 gap-4",children:E4.map((n2,l2)=>{const w=n2.icon;return Ht.jsx(yu.div,{"data-index":l2,variants:i4,className:"p-5 rounded-lg bg-white/5 border border-white/10 hover:border-primary/50 transition-colors shadow-sm backdrop-blur-xs",children:Ht.jsxs("div",{className:"flex items-start gap-4",children:[Ht.jsx("div",{className:"p-2.5 rounded-md bg-primary text-primary-foreground shrink-0 shadow-xs",children:Ht.jsx(w,{className:"size-5"})}),Ht.jsxs("div",{className:"space-y-1",children:[Ht.jsx("h2",{className:"text-base font-semibold text-white",children:n2.title}),Ht.jsx("p",{className:"text-xs sm:text-sm text-secondary-foreground/80 leading-snug",children:n2.description})]})]})},n2.title)})})})]})})]})}__name(D2,"D");a3(D2,"Applications");var T2=[{id:"roof-waterproofing",title:"Roof waterproofing",description:"Seamless liquid membrane application that seals tile, slate, and flat roofs against extreme rainfall and standing water.",iconName:"roof"},{id:"metal-roof-protection",title:"Metal roof protection",description:"Rust inhibitor and thermal acrylic barrier formulated to prevent joint leaks, corrosion, and fastener failure.",iconName:"metal"},{id:"concrete-waterproofing",title:"Concrete waterproofing",description:"Penetrating crystalline sealants that lock moisture out of concrete slabs, basements, and foundation structures.",iconName:"concrete"},{id:"gutters-flashings",title:"Gutters & flashings",description:"Reinforced joint sealing and flow-line protection to prevent overflow seepages and corner pooling.",iconName:"gutters"},{id:"balconies-terraces",title:"Balconies & terraces",description:"Heavy-duty, UV-stable coatings engineered to resist continuous foot traffic and temperature expansion.",iconName:"balcony"},{id:"parapet-walls",title:"Parapet walls",description:"Flexible top-edge capping and crack-bridging coatings that stop water ingress from vertical boundary walls.",iconName:"parapet"}];function O3(s){switch(s){case"roof":return Ht.jsx(y2,{className:"size-6 text-foreground"});case"metal":return Ht.jsx(c3,{className:"size-6 text-foreground"});case"concrete":return Ht.jsx(j2,{className:"size-6 text-foreground"});case"gutters":return Ht.jsx(e3,{className:"size-6 text-foreground"});case"balcony":return Ht.jsx(h,{className:"size-6 text-foreground"});case"parapet":default:return Ht.jsx(o4,{className:"size-6 text-foreground"})}}__name(O3,"O");a3(O3,"getServiceIcon");var G3={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.1}}};var W4={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};function q3(){return Ht.jsx("section",{id:"waterproofingservicesgrid","data-nav":"light",className:"bg-background py-20 md:py-28",children:Ht.jsxs("div",{className:"container mx-auto px-4 md:px-6 lg:px-8 max-w-7xl",children:[Ht.jsxs("div",{className:"mx-auto max-w-3xl text-center mb-12 md:mb-16",children:[Ht.jsx("span",{className:"inline-block px-3 py-1 mb-4 text-xs font-semibold uppercase tracking-wider text-foreground bg-primary/20 rounded-md border border-primary/40",children:"Specialized Protection"}),Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-foreground font-sans",children:"Waterproofing built for tough conditions"}),Ht.jsx("p",{className:"mt-4 text-base sm:text-lg text-muted-foreground font-sans",children:"Targeted barrier systems engineered to protect, seal, and extend the lifespan of residential and commercial surfaces."})]}),Ht.jsx(yu.div,{variants:G3,initial:"hidden",whileInView:"show",viewport:{once:true,amount:.1},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 lg:gap-8",children:T2.map((s,r3)=>Ht.jsx(yu.div,{variants:W4,"data-index":r3,children:Ht.jsxs(u4,{className:"h-full flex flex-col justify-between border-t-4 border-t-primary border-x border-b border-border bg-card shadow-sm hover:shadow-md transition-[border-color,box-shadow] duration-300 rounded-lg overflow-hidden group",children:[Ht.jsxs(f,{className:"pb-4",children:[Ht.jsx("div",{className:"size-12 rounded-md bg-primary/25 flex items-center justify-center mb-4 group-hover:bg-primary transition-colors duration-300",children:O3(s.iconName)}),Ht.jsx(m,{className:"text-xl font-bold text-foreground font-sans",children:s.title})]}),Ht.jsx(x,{className:"pb-6",children:Ht.jsx(p2,{className:"text-sm leading-relaxed text-muted-foreground font-sans",children:s.description})}),Ht.jsx(g,{className:"pt-0 mt-auto border-t border-border/50",children:Ht.jsx(fS,{asChild:true,variant:"ghost",className:"w-full justify-between px-0 font-medium text-foreground hover:text-foreground hover:bg-transparent group-hover:translate-x-1 transition-transform duration-200",children:Ht.jsxs(cS,{to:"#",children:[Ht.jsx("span",{children:"Learn more"}),Ht.jsx(c2,{className:"size-4 text-foreground/80"})]})})})]})},s.id))})]})})}__name(q3,"q");a3(q3,"ServicesGrid");function Q3(){const s=p();const r3={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:s?0:.12}}};const i4={hidden:s?{opacity:0}:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsxs("section",{id:"waterproofingcta","data-nav":"dark",className:"relative overflow-hidden bg-secondary text-secondary-foreground py-20 lg:py-28",children:[Ht.jsxs("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[Ht.jsx("div",{className:"absolute -top-32 -left-32 h-96 w-96 rounded-full bg-primary/10 blur-3xl"}),Ht.jsx("div",{className:"absolute -bottom-32 -right-32 h-96 w-96 rounded-full bg-primary/15 blur-3xl"}),Ht.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_right,rgba(255,255,255,0.08),transparent_70%)]"})]}),Ht.jsx("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:Ht.jsx("div",{className:"mx-auto max-w-3xl text-center",children:Ht.jsxs(yu.div,{variants:r3,initial:"hidden",whileInView:"visible",viewport:{once:true,amount:.3},className:"flex flex-col items-center",children:[Ht.jsxs(yu.div,{variants:i4,className:"mb-6 inline-flex items-center gap-2 rounded-full border border-primary/30 bg-primary/10 px-4 py-1.5 text-xs font-semibold uppercase tracking-wider text-primary",children:[Ht.jsx(l,{className:"h-3.5 w-3.5"}),Ht.jsx("span",{children:"Durable surface protection"})]}),Ht.jsx(yu.h2,{variants:i4,className:"text-3xl font-extrabold tracking-tight sm:text-4xl lg:text-5xl font-sans leading-tight",children:"Find the perfect waterproofing solution"}),Ht.jsx(yu.p,{variants:i4,className:"mt-6 text-base sm:text-lg lg:text-xl text-secondary-foreground/80 leading-relaxed font-sans max-w-2xl",children:"High-performance sealants and protective coatings built to withstand harsh weather, stop moisture penetration, and extend the lifespan of your property."}),Ht.jsx(yu.div,{variants:i4,className:"mt-8 flex flex-col sm:flex-row items-center justify-center gap-4 w-full sm:w-auto",children:Ht.jsx(fS,{asChild:true,size:"lg",className:"w-full sm:w-auto bg-primary text-primary-foreground font-bold hover:bg-primary/90 text-base h-12 px-8 shadow-lg shadow-primary/20 rounded-md transition-all group",children:Ht.jsxs(cS,{to:"#",children:[Ht.jsx("span",{children:"Shop now"}),Ht.jsx(c2,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1"})]})})}),Ht.jsxs(yu.div,{variants:i4,className:"mt-12 grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-8 pt-8 border-t border-secondary-foreground/15 w-full max-w-xl text-left",children:[Ht.jsxs("div",{className:"flex items-center gap-3",children:[Ht.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-primary/15 text-primary",children:Ht.jsx(o2,{className:"h-5 w-5"})}),Ht.jsxs("div",{className:"text-sm",children:[Ht.jsx("span",{className:"font-semibold block text-secondary-foreground",children:"Weather Protection"}),Ht.jsx("span",{className:"text-secondary-foreground/70",children:"Tested against UV and heavy rain"})]})]}),Ht.jsxs("div",{className:"flex items-center gap-3",children:[Ht.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-primary/15 text-primary",children:Ht.jsx(e3,{className:"h-5 w-5"})}),Ht.jsxs("div",{className:"text-sm",children:[Ht.jsx("span",{className:"font-semibold block text-secondary-foreground",children:"Complete seal"}),Ht.jsx("span",{className:"text-secondary-foreground/70",children:"For roofs, walls, and foundations"})]})]})]})]})})})]})}__name(Q3,"Q");a3(Q3,"Waterproofing");function h2(){return Ht.jsxs("div",{children:[Ht.jsx(Eo2,{}),Ht.jsx(D2,{}),Ht.jsx(q3,{}),Ht.jsx(Q3,{}),Ht.jsx(Po,{})]})}__name(h2,"h");a3(h2,"ApplicationsPage");var o5=null;function v(s){const{router:r3="memory",basename:i4,initialEntries:n2,...l2}=s;if(r3==="memory"){return Ht.jsx(uS,{initialEntries:n2??["/"],children:Ht.jsx(h2,{...l2})})}return Ht.jsx(iS,{basename:i4,children:Ht.jsx(h2,{...l2})})}__name(v,"v");a3(v,"App");function $3(s,r3={}){console.log("Rendering......");o5=aS.createRoot(s);o5.render(Ht.jsx(v,{...r3}))}__name($3,"$");a3($3,"mount");function J2(s,r3={}){console.log("Hydrating......");o5=aS.hydrateRoot(s,Ht.jsx(v,{...r3}))}__name(J2,"J");a3(J2,"hydrate");function K3(){o5?.unmount?.();o5=null}__name(K3,"K");a3(K3,"unmount");if(typeof window!=="undefined")window.ApplicationsVC={mount:$3,hydrate:J2,unmount:K3};
Tested for South African climates From flat roofs and parapets to foundations and balconies, protect every structural surface against heavy rain, pooling water, and UV wear.
100% seamless elastic barrier High UV and heat resistance Quick application & rapid cure Safe for potable water tanks Roofs & parapets Seamless membrane protection for flat concrete slabs, corrugated iron, tiled roofs, and exposed boundary walls.
Balconies & decks UV-stable, traffic-tolerant coatings that stop moisture penetration before it damages internal ceilings below.
Basements & retaining walls Positive and negative side water-barrier barriers preventing rising damp and subterranean seepage.
Commercial & industrial Heavy-duty elastomeric sealing designed to withstand extreme thermal expansion and weather stress.
Specialized Protection Waterproofing built for tough conditions Targeted barrier systems engineered to protect, seal, and extend the lifespan of residential and commercial surfaces.
Seamless liquid membrane application that seals tile, slate, and flat roofs against extreme rainfall and standing water.
Rust inhibitor and thermal acrylic barrier formulated to prevent joint leaks, corrosion, and fastener failure.
Penetrating crystalline sealants that lock moisture out of concrete slabs, basements, and foundation structures.
Reinforced joint sealing and flow-line protection to prevent overflow seepages and corner pooling.
Heavy-duty, UV-stable coatings engineered to resist continuous foot traffic and temperature expansion.
Flexible top-edge capping and crack-bridging coatings that stop water ingress from vertical boundary walls.
Durable surface protection High-performance sealants and protective coatings built to withstand harsh weather, stop moisture penetration, and extend the lifespan of your property.
Weather Protection Tested against UV and heavy rain
Complete seal For roofs, walls, and foundations