";t2=t2.removeChild(t2.firstChild);break;case"select":t2="string"===typeof n3.is?a2.createElement("select",{is:n3.is}):a2.createElement("select");n3.multiple?t2.multiple=true:n3.size&&(t2.size=n3.size);break;default:t2="string"===typeof n3.is?a2.createElement(l,{is:n3.is}):a2.createElement(l)}}t2[It3]=e4;t2[ae4]=n3;t:for(a2=e4.child;null!==a2;){if(5===a2.tag||6===a2.tag)t2.appendChild(a2.stateNode);else if(4!==a2.tag&&27!==a2.tag&&null!==a2.child){a2.child.return=a2;a2=a2.child;continue}if(a2===e4)break t;for(;null===a2.sibling;){if(null===a2.return||a2.return===e4)break t;a2=a2.return}a2.sibling.return=a2.return;a2=a2.sibling}e4.stateNode=t2;t:switch(Pt2(t2,l,n3),l){case"button":case"input":case"select":case"textarea":t2=!!n3.autoFocus;break t;case"img":t2=true;break t;default:t2=false}t2&&ul2(e4)}}Bt2(e4);e4.flags&=-16777217;return null;case 6:if(t2&&null!=e4.stateNode)t2.memoizedProps!==n3&&ul2(e4);else{if("string"!==typeof n3&&null===e4.stateNode)throw Error(o5(166));t2=ut4.current;if(Ta2(e4)){t2=e4.stateNode;l=e4.memoizedProps;n3=null;a2=ne3;if(null!==a2)switch(a2.tag){case 27:case 5:n3=a2.memoizedProps}t2[It3]=e4;t2=t2.nodeValue===l||null!==n3&&true===n3.suppressHydrationWarning||vm(t2.nodeValue,l)?true:false;t2||Pl2(e4)}else t2=hi2(t2).createTextNode(n3),t2[It3]=e4,e4.stateNode=t2}Bt2(e4);return null;case 13:n3=e4.memoizedState;if(null===t2||null!==t2.memoizedState&&null!==t2.memoizedState.dehydrated){a2=Ta2(e4);if(null!==n3&&null!==n3.dehydrated){if(null===t2){if(!a2)throw Error(o5(318));a2=e4.memoizedState;a2=null!==a2?a2.dehydrated:null;if(!a2)throw Error(o5(317));a2[It3]=e4}else Oa2(),0===(e4.flags&128)&&(e4.memoizedState=null),e4.flags|=4;Bt2(e4);a2=false}else a2=ts3(),null!==t2&&null!==t2.memoizedState&&(t2.memoizedState.hydrationErrors=a2),a2=true;if(!a2){if(e4.flags&256)return nl2(e4),e4;nl2(e4);return null}}nl2(e4);if(0!==(e4.flags&128))return e4.lanes=l,e4;l=null!==n3;t2=null!==t2&&null!==t2.memoizedState;if(l){n3=e4.child;a2=null;null!==n3.alternate&&null!==n3.alternate.memoizedState&&null!==n3.alternate.memoizedState.cachePool&&(a2=n3.alternate.memoizedState.cachePool.pool);var c3=null;null!==n3.memoizedState&&null!==n3.memoizedState.cachePool&&(c3=n3.memoizedState.cachePool.pool);c3!==a2&&(n3.flags|=2048)}l!==t2&&l&&(e4.child.flags|=8192);ei2(e4,e4.updateQueue);Bt2(e4);return null;case 4:return le4(),null===t2&&Xr2(e4.stateNode.containerInfo),Bt2(e4),null;case 10:return el2(e4.type),Bt2(e4),null;case 19:$3(Qt3);a2=e4.memoizedState;if(null===a2)return Bt2(e4),null;n3=0!==(e4.flags&128);c3=a2.rendering;if(null===c3)if(n3)Ga2(a2,false);else{if(0!==qt3||null!==t2&&0!==(t2.flags&128))for(t2=e4.child;null!==t2;){c3=$u(t2);if(null!==c3){e4.flags|=128;Ga2(a2,false);t2=c3.updateQueue;e4.updateQueue=t2;ei2(e4,t2);e4.subtreeFlags=0;t2=l;for(l=e4.child;null!==l;)$f(l,t2),l=l.sibling;K3(Qt3,Qt3.current&1|2);return e4.child}t2=t2.sibling}null!==a2.tail&&qe4()>ai2&&(e4.flags|=128,n3=true,Ga2(a2,false),e4.lanes=4194304)}else{if(!n3)if(t2=$u(c3),null!==t2){if(e4.flags|=128,n3=true,t2=t2.updateQueue,e4.updateQueue=t2,ei2(e4,t2),Ga2(a2,true),null===a2.tail&&"hidden"===a2.tailMode&&!c3.alternate&&!Tt3)return Bt2(e4),null}else 2*qe4()-a2.renderingStartTime>ai2&&536870912!==l&&(e4.flags|=128,n3=true,Ga2(a2,false),e4.lanes=4194304);a2.isBackwards?(c3.sibling=e4.child,e4.child=c3):(t2=a2.last,null!==t2?t2.sibling=c3:e4.child=c3,a2.last=c3)}if(null!==a2.tail)return e4=a2.tail,a2.rendering=e4,a2.tail=e4.sibling,a2.renderingStartTime=qe4(),e4.sibling=null,t2=Qt3.current,K3(Qt3,n3?t2&1|2:t2&1),e4;Bt2(e4);return null;case 22:case 23:return nl2(e4),Qc2(),n3=null!==e4.memoizedState,null!==t2?null!==t2.memoizedState!==n3&&(e4.flags|=8192):n3&&(e4.flags|=8192),n3?0!==(l&536870912)&&0===(e4.flags&128)&&(Bt2(e4),e4.subtreeFlags&6&&(e4.flags|=8192)):Bt2(e4),l=e4.updateQueue,null!==l&&ei2(e4,l.retryQueue),l=null,null!==t2&&null!==t2.memoizedState&&null!==t2.memoizedState.cachePool&&(l=t2.memoizedState.cachePool.pool),n3=null,null!==e4.memoizedState&&null!==e4.memoizedState.cachePool&&(n3=e4.memoizedState.cachePool.pool),n3!==l&&(e4.flags|=2048),null!==t2&&$3(en3),null;case 24:return l=null,null!==t2&&(l=t2.memoizedState.cache),e4.memoizedState.cache!==l&&(e4.flags|=2048),el2(Vt3),Bt2(e4),null;case 25:return null;case 30:return null}throw Error(o5(156,e4.tag))}__name(ry,"ry");i(ry,"completeWork");function oy(t2,e4){_c2(e4);switch(e4.tag){case 1:return t2=e4.flags,t2&65536?(e4.flags=t2&-65537|128,e4):null;case 3:return el2(Vt3),le4(),t2=e4.flags,0!==(t2&65536)&&0===(t2&128)?(e4.flags=t2&-65537|128,e4):null;case 26:case 27:case 5:return Be4(e4),null;case 13:nl2(e4);t2=e4.memoizedState;if(null!==t2&&null!==t2.dehydrated){if(null===e4.alternate)throw Error(o5(340));Oa2()}t2=e4.flags;return t2&65536?(e4.flags=t2&-65537|128,e4):null;case 19:return $3(Qt3),null;case 4:return le4(),null;case 10:return el2(e4.type),null;case 22:case 23:return nl2(e4),Qc2(),null!==t2&&$3(en3),t2=e4.flags,t2&65536?(e4.flags=t2&-65537|128,e4):null;case 24:return el2(Vt3),null;case 25:return null;default:return null}}__name(oy,"oy");i(oy,"unwindWork");function Ad(t2,e4){_c2(e4);switch(e4.tag){case 3:el2(Vt3);le4();break;case 26:case 27:case 5:Be4(e4);break;case 4:le4();break;case 13:nl2(e4);break;case 19:$3(Qt3);break;case 10:el2(e4.type);break;case 22:case 23:nl2(e4);Qc2();null!==t2&&$3(en3);break;case 24:el2(Vt3)}}__name(Ad,"Ad");i(Ad,"unwindInterruptedWork");function Xa2(t2,e4){try{var l=e4.updateQueue,n3=null!==l?l.lastEffect:null;if(null!==n3){var a2=n3.next;l=a2;do{if((l.tag&t2)===t2){n3=void 0;var c3=l.create,s=l.inst;n3=c3();s.destroy=n3}l=l.next}while(l!==a2)}}catch(m2){Dt3(e4,e4.return,m2)}}__name(Xa2,"Xa");i(Xa2,"commitHookEffectListMount");function Ol2(t2,e4,l){try{var n3=e4.updateQueue,a2=null!==n3?n3.lastEffect:null;if(null!==a2){var c3=a2.next;n3=c3;do{if((n3.tag&t2)===t2){var s=n3.inst,m2=s.destroy;if(void 0!==m2){s.destroy=void 0;a2=e4;var b=l,M4=m2;try{M4()}catch(L2){Dt3(a2,b,L2)}}}n3=n3.next}while(n3!==c3)}}catch(L2){Dt3(e4,e4.return,L2)}}__name(Ol2,"Ol");i(Ol2,"commitHookEffectListUnmount");function Td(t2){var e4=t2.updateQueue;if(null!==e4){var l=t2.stateNode;try{ss3(e4,l)}catch(n3){Dt3(t2,t2.return,n3)}}}__name(Td,"Td");i(Td,"commitClassCallbacks");function Od(t2,e4,l){l.props=nn3(t2.type,t2.memoizedProps);l.state=t2.memoizedState;try{l.componentWillUnmount()}catch(n3){Dt3(t2,e4,n3)}}__name(Od,"Od");i(Od,"safelyCallComponentWillUnmount");function Va2(t2,e4){try{var l=t2.ref;if(null!==l){switch(t2.tag){case 26:case 27:case 5:var n3=t2.stateNode;break;case 30:n3=t2.stateNode;break;default:n3=t2.stateNode}"function"===typeof l?t2.refCleanup=l(n3):l.current=n3}}catch(a2){Dt3(t2,e4,a2)}}__name(Va2,"Va");i(Va2,"safelyAttachRef");function Ge4(t2,e4){var l=t2.ref,n3=t2.refCleanup;if(null!==l)if("function"===typeof n3)try{n3()}catch(a2){Dt3(t2,e4,a2)}finally{t2.refCleanup=null,t2=t2.alternate,null!=t2&&(t2.refCleanup=null)}else if("function"===typeof l)try{l(null)}catch(a2){Dt3(t2,e4,a2)}else l.current=null}__name(Ge4,"Ge");i(Ge4,"safelyDetachRef");function wd(t2){var e4=t2.type,l=t2.memoizedProps,n3=t2.stateNode;try{t:switch(e4){case"button":case"input":case"select":case"textarea":l.autoFocus&&n3.focus();break t;case"img":l.src?n3.src=l.src:l.srcSet&&(n3.srcset=l.srcSet)}}catch(a2){Dt3(t2,t2.return,a2)}}__name(wd,"wd");i(wd,"commitHostMount");function pr2(t2,e4,l){try{var n3=t2.stateNode;_y(n3,t2.type,l,e4);n3[ae4]=e4}catch(a2){Dt3(t2,t2.return,a2)}}__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,e4,l){var n3=t2.tag;if(5===n3||6===n3)t2=t2.stateNode,e4?(9===l.nodeType?l.body:"HTML"===l.nodeName?l.ownerDocument.body:l).insertBefore(t2,e4):(e4=9===l.nodeType?l.body:"HTML"===l.nodeName?l.ownerDocument.body:l,e4.appendChild(t2),l=l._reactRootContainer,null!==l&&void 0!==l||null!==e4.onclick||(e4.onclick=mi2));else if(4!==n3&&(27===n3&&Nl2(t2.type)&&(l=t2.stateNode,e4=null),t2=t2.child,null!==t2))for(Sr2(t2,e4,l),t2=t2.sibling;null!==t2;)Sr2(t2,e4,l),t2=t2.sibling}__name(Sr2,"Sr");i(Sr2,"insertOrAppendPlacementNodeIntoContainer");function li2(t2,e4,l){var n3=t2.tag;if(5===n3||6===n3)t2=t2.stateNode,e4?l.insertBefore(t2,e4):l.appendChild(t2);else if(4!==n3&&(27===n3&&Nl2(t2.type)&&(l=t2.stateNode),t2=t2.child,null!==t2))for(li2(t2,e4,l),t2=t2.sibling;null!==t2;)li2(t2,e4,l),t2=t2.sibling}__name(li2,"li");i(li2,"insertOrAppendPlacementNode");function Md(t2){var e4=t2.stateNode,l=t2.memoizedProps;try{for(var n3=t2.type,a2=e4.attributes;a2.length;)e4.removeAttributeNode(a2[0]);Pt2(e4,n3,l);e4[It3]=t2;e4[ae4]=l}catch(c3){Dt3(t2,t2.return,c3)}}__name(Md,"Md");i(Md,"commitHostSingletonAcquisition");var il2=false,jt2=false,Er2=false,zd="function"===typeof WeakSet?WeakSet:Set,Jt3=null;function fy(t2,e4){t2=t2.containerInfo;Zr2=Si2;t2=jf(t2);if(bc2(t2)){if("selectionStart"in t2)var l={start:t2.selectionStart,end:t2.selectionEnd};else t:{l=(l=t2.ownerDocument)&&l.defaultView||window;var n3=l.getSelection&&l.getSelection();if(n3&&0!==n3.rangeCount){l=n3.anchorNode;var a2=n3.anchorOffset,c3=n3.focusNode;n3=n3.focusOffset;try{l.nodeType,c3.nodeType}catch(nt4){l=null;break t}var s=0,m2=-1,b=-1,M4=0,L2=0,j2=t2,_2=null;e:for(;;){for(var N2;;){j2!==l||0!==a2&&3!==j2.nodeType||(m2=s+a2);j2!==c3||0!==n3&&3!==j2.nodeType||(b=s+n3);3===j2.nodeType&&(s+=j2.nodeValue.length);if(null===(N2=j2.firstChild))break;_2=j2;j2=N2}for(;;){if(j2===t2)break e;_2===l&&++M4===a2&&(m2=s);_2===c3&&++L2===n3&&(b=s);if(null!==(N2=j2.nextSibling))break;j2=_2;_2=j2.parentNode}j2=N2}l=-1===m2||-1===b?null:{start:m2,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;kr2={focusedElem:t2,selectionRange:l};Si2=false;for(Jt3=e4;null!==Jt3;)if(e4=Jt3,t2=e4.child,0!==(e4.subtreeFlags&1024)&&null!==t2)t2.return=e4,Jt3=t2;else for(;null!==Jt3;){e4=Jt3;c3=e4.alternate;t2=e4.flags;switch(e4.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(t2&1024)&&null!==c3){t2=void 0;l=e4;a2=c3.memoizedProps;c3=c3.memoizedState;n3=l.stateNode;try{var it4=nn3(l.type,a2,l.elementType===l.type);t2=n3.getSnapshotBeforeUpdate(it4,c3);n3.__reactInternalSnapshotBeforeUpdate=t2}catch(nt4){Dt3(l,l.return,nt4)}}break;case 3:if(0!==(t2&1024)){if(t2=e4.stateNode.containerInfo,l=t2.nodeType,9===l)Wr2(t2);else if(1===l)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(o5(163))}t2=e4.sibling;if(null!==t2){t2.return=e4.return;Jt3=t2;break}Jt3=e4.return}}__name(fy,"fy");i(fy,"commitBeforeMutationEffects");function _d(t2,e4,l){var n3=l.flags;switch(l.tag){case 0:case 11:case 15:wl2(t2,l);n3&4&&Xa2(5,l);break;case 1:wl2(t2,l);if(n3&4)if(t2=l.stateNode,null===e4)try{t2.componentDidMount()}catch(s){Dt3(l,l.return,s)}else{var a2=nn3(l.type,e4.memoizedProps);e4=e4.memoizedState;try{t2.componentDidUpdate(a2,e4,t2.__reactInternalSnapshotBeforeUpdate)}catch(s){Dt3(l,l.return,s)}}n3&64&&Td(l);n3&512&&Va2(l,l.return);break;case 3:wl2(t2,l);if(n3&64&&(t2=l.updateQueue,null!==t2)){e4=null;if(null!==l.child)switch(l.child.tag){case 27:case 5:e4=l.child.stateNode;break;case 1:e4=l.child.stateNode}try{ss3(t2,e4)}catch(s){Dt3(l,l.return,s)}}break;case 27:null===e4&&n3&4&&Md(l);case 26:case 5:wl2(t2,l);null===e4&&n3&4&&wd(l);n3&512&&Va2(l,l.return);break;case 12:wl2(t2,l);break;case 13:wl2(t2,l);n3&4&&Nd(t2,l);n3&64&&(t2=l.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2&&(l=by.bind(null,l),Ly(t2,l))));break;case 22:n3=null!==l.memoizedState||il2;if(!n3){e4=null!==e4&&null!==e4.memoizedState||jt2;a2=il2;var c3=jt2;il2=n3;(jt2=e4)&&!c3?Rl2(t2,l,0!==(l.subtreeFlags&8772)):wl2(t2,l);il2=a2;jt2=c3}break;case 30:break;default:wl2(t2,l)}}__name(_d,"_d");i(_d,"commitLayoutEffectOnFiber");function Cd(t2){var e4=t2.alternate;null!==e4&&(t2.alternate=null,Cd(e4));t2.child=null;t2.deletions=null;t2.sibling=null;5===t2.tag&&(e4=t2.stateNode,null!==e4&&tc2(e4));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,e4,l){for(l=l.child;null!==l;)Dd(t2,e4,l),l=l.sibling}__name(cl2,"cl");i(cl2,"recursivelyTraverseDeletionEffects");function Dd(t2,e4,l){if(oe3&&"function"===typeof oe3.onCommitFiberUnmount)try{oe3.onCommitFiberUnmount(fa2,l)}catch(c3){}switch(l.tag){case 26:jt2||Ge4(l,e4);cl2(t2,e4,l);l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:jt2||Ge4(l,e4);var n3=Ut2,a2=ce4;Nl2(l.type)&&(Ut2=l.stateNode,ce4=false);cl2(t2,e4,l);Pa2(l.stateNode);Ut2=n3;ce4=a2;break;case 5:jt2||Ge4(l,e4);case 6:n3=Ut2;a2=ce4;Ut2=null;cl2(t2,e4,l);Ut2=n3;ce4=a2;if(null!==Ut2)if(ce4)try{(9===Ut2.nodeType?Ut2.body:"HTML"===Ut2.nodeName?Ut2.ownerDocument.body:Ut2).removeChild(l.stateNode)}catch(c3){Dt3(l,e4,c3)}else try{Ut2.removeChild(l.stateNode)}catch(c3){Dt3(l,e4,c3)}break;case 18:null!==Ut2&&(ce4?(t2=Ut2,Sm(9===t2.nodeType?t2.body:"HTML"===t2.nodeName?t2.ownerDocument.body:t2,l.stateNode),iu2(t2)):Sm(Ut2,l.stateNode));break;case 4:n3=Ut2;a2=ce4;Ut2=l.stateNode.containerInfo;ce4=true;cl2(t2,e4,l);Ut2=n3;ce4=a2;break;case 0:case 11:case 14:case 15:jt2||Ol2(2,l,e4);jt2||Ol2(4,l,e4);cl2(t2,e4,l);break;case 1:jt2||(Ge4(l,e4),n3=l.stateNode,"function"===typeof n3.componentWillUnmount&&Od(l,e4,n3));cl2(t2,e4,l);break;case 21:cl2(t2,e4,l);break;case 22:jt2=(n3=jt2)||null!==l.memoizedState;cl2(t2,e4,l);jt2=n3;break;default:cl2(t2,e4,l)}}__name(Dd,"Dd");i(Dd,"commitDeletionEffectsOnFiber");function Nd(t2,e4){if(null===e4.memoizedState&&(t2=e4.alternate,null!==t2&&(t2=t2.memoizedState,null!==t2&&(t2=t2.dehydrated,null!==t2))))try{iu2(t2)}catch(l){Dt3(e4,e4.return,l)}}__name(Nd,"Nd");i(Nd,"commitSuspenseHydrationCallbacks");function sy(t2){switch(t2.tag){case 13:case 19:var e4=t2.stateNode;null===e4&&(e4=t2.stateNode=new zd);return e4;case 22:return t2=t2.stateNode,e4=t2._retryCache,null===e4&&(e4=t2._retryCache=new zd),e4;default:throw Error(o5(435,t2.tag))}}__name(sy,"sy");i(sy,"getRetryCache");function xr2(t2,e4){var l=sy(t2);e4.forEach(function(n3){var a2=Sy.bind(null,t2,n3);l.has(n3)||(l.add(n3),n3.then(a2,a2))})}__name(xr2,"xr");i(xr2,"attachSuspenseRetryListeners");function me3(t2,e4){var l=e4.deletions;if(null!==l)for(var n3=0;n3 title"));Pt2(c3,n3,l);c3[It3]=t2;kt2(c3);n3=c3;break t;case"link":var s=Mm("link","href",a2).get(n3+(l.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 R4=j2.createRange();R4.setStart(T3.node,T3.offset);N2.removeAllRanges();nt4>Ct3?(N2.addRange(R4),N2.extend(x2.node,x2.offset)):(R4.setEnd(x2.node,x2.offset),N2.addRange(R4))}}}}j2=[];for(N2=m2;N2=N2.parentNode;)1===N2.nodeType&&j2.push({element:N2,left:N2.scrollLeft,top:N2.scrollTop});"function"===typeof m2.focus&&m2.focus();for(m2=0;m2l?32:l;C3.T=null;l=_r2;_r2=null;var c3=Cl2,s=Vn3;Ft2=0;Xn4=Cl2=null;Vn3=0;if(0!==(wt3&6))throw Error(o5(331));var m2=wt3;wt3|=4;Yd(c3.current);Bd(c3,c3.current,s,l);wt3=m2;Wa2(0,false);if(oe3&&"function"===typeof oe3.onPostCommitFiberRoot)try{oe3.onPostCommitFiberRoot(fa2,c3)}catch(b){}return true}finally{V.p=a2,C3.T=n3,em(t2,e4)}}__name(lm,"lm");i(lm,"flushPassiveEffects");function nm(t2,e4,l){e4=xe2(l,e4);e4=or2(t2.stateNode,e4,2);t2=El2(t2,e4,2);null!==t2&&(da2(t2,2),Ve4(t2))}__name(nm,"nm");i(nm,"captureCommitPhaseErrorOnRoot");function Dt3(t2,e4,l){if(3===t2.tag)nm(t2,t2,l);else for(;null!==e4;){if(3===e4.tag){nm(e4,t2,l);break}else if(1===e4.tag){var n3=e4.stateNode;if("function"===typeof e4.type.getDerivedStateFromError||"function"===typeof n3.componentDidCatch&&(null===_l2||!_l2.has(n3))){t2=xe2(l,t2);l=cd(2);n3=El2(e4,l,2);null!==n3&&(rd(l,n3,e4,t2),da2(n3,2),Ve4(n3));break}}e4=e4.return}}__name(Dt3,"Dt");i(Dt3,"captureCommitPhaseError");function Hr2(t2,e4,l){var n3=t2.pingCache;if(null===n3){n3=t2.pingCache=new my;var a2=new Set;n3.set(e4,a2)}else a2=n3.get(e4),void 0===a2&&(a2=new Set,n3.set(e4,a2));a2.has(l)||(Or2=true,a2.add(l),t2=py.bind(null,t2,e4,l),e4.then(t2,t2))}__name(Hr2,"Hr");i(Hr2,"attachPingListener");function py(t2,e4,l){var n3=t2.pingCache;null!==n3&&n3.delete(e4);t2.pingedLanes|=t2.suspendedLanes&l;t2.warmLanes&=~l;Nt3===t2&&(bt4&l)===l&&(4===qt3||3===qt3&&(bt4&62914560)===bt4&&300>qe4()-Mr2?0===(wt3&2)&&Qn4(t2,0):wr2|=l,Gn4===bt4&&(Gn4=0));Ve4(t2)}__name(py,"py");i(py,"pingSuspendedRoot");function am(t2,e4){0===e4&&(e4=Io2());t2=wn3(t2,e4);null!==t2&&(da2(t2,e4),Ve4(t2))}__name(am,"am");i(am,"retryTimedOutBoundary");function by(t2){var e4=t2.memoizedState,l=0;null!==e4&&(l=e4.retryLane);am(t2,l)}__name(by,"by");i(by,"retryDehydratedSuspenseBoundary");function Sy(t2,e4){var l=0;switch(t2.tag){case 13:var n3=t2.stateNode;var a2=t2.memoizedState;null!==a2&&(l=a2.retryLane);break;case 19:n3=t2.stateNode;break;case 22:n3=t2.stateNode._retryCache;break;default:throw Error(o5(314))}null!==n3&&n3.delete(e4);am(t2,l)}__name(Sy,"Sy");i(Sy,"resolveRetryWakeable");function Ey(t2,e4){return hl2(t2,e4)}__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,e4){if(!Lr2&&fi2){Lr2=true;do{var l=false;for(var n3=oi2;null!==n3;){if(0!==t2){var a2=n3.pendingLanes;if(0===a2)var c3=0;else{var s=n3.suspendedLanes,m2=n3.pingedLanes;c3=(1<<31-fe3(42|t2)+1)-1;c3&=a2&~(s&~m2);c3=c3&201326741?c3&201326741|1:c3?c3|2:0}0!==c3&&(l=true,rm(n3,c3))}else c3=bt4,c3=gu(n3,n3===Nt3?c3:0,null!==n3.cancelPendingCommit||-1!==n3.timeoutHandle),0===(c3&3)||sa2(n3,c3)||(l=true,rm(n3,c3));n3=n3.next}}while(l);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 e4=qe4(),l=null,n3=oi2;null!==n3;){var a2=n3.next,c3=im(n3,e4);if(0===c3)n3.next=null,null===l?oi2=a2:l.next=a2,null===a2&&(kn3=l);else if(l=n3,0!==t2||0!==(c3&3))fi2=true;n3=a2}Wa2(t2)}__name(um,"um");i(um,"processRootScheduleInMicrotask");function im(t2,e4){for(var l=t2.suspendedLanes,n3=t2.pingedLanes,a2=t2.expirationTimes,c3=t2.pendingLanes&-62914561;0n3){l=n3;var s=t2.ownerDocument;l&1&&Pa2(s.documentElement);l&2&&Pa2(s.body);if(l&4)for(l=s.head,Pa2(l),s=l.firstChild;s;){var m2=s.nextSibling,b=s.nodeName;s[ma2]||"SCRIPT"===b||"STYLE"===b||"LINK"===b&&"stylesheet"===s.rel.toLowerCase()||l.removeChild(s);s=m2}}if(0===a2){t2.removeChild(c3);iu2(e4);return}a2--}else"$"===l||"$?"===l||"$!"===l?a2++:n3=l.charCodeAt(0)-48;else n3=0;l=c3}while(l);iu2(e4)}__name(Sm,"Sm");i(Sm,"clearSuspenseBoundary");function Wr2(t2){var e4=t2.firstChild;e4&&10===e4.nodeType&&(e4=e4.nextSibling);for(;e4;){var l=e4;e4=e4.nextSibling;switch(l.nodeName){case"HTML":case"HEAD":case"BODY":Wr2(l);tc2(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===l.rel.toLowerCase())continue}t2.removeChild(l)}}__name(Wr2,"Wr");i(Wr2,"clearContainerSparingly");function Hy(t2,e4,l,n3){for(;1===t2.nodeType;){var a2=l;if(t2.nodeName.toLowerCase()!==e4.toLowerCase()){if(!n3&&("INPUT"!==t2.nodeName||"hidden"!==t2.type))break}else if(!n3)if("input"===e4&&"hidden"===t2.type){var c3=null==a2.name?null:""+a2.name;if("hidden"===a2.type&&t2.getAttribute("name")===c3)return t2}else return t2;else if(!t2[ma2])switch(e4){case"meta":if(!t2.hasAttribute("itemprop"))break;return t2;case"link":c3=t2.getAttribute("rel");if("stylesheet"===c3&&t2.hasAttribute("data-precedence"))break;else if(c3!==a2.rel||t2.getAttribute("href")!==(null==a2.href||""===a2.href?null:a2.href)||t2.getAttribute("crossorigin")!==(null==a2.crossOrigin?null:a2.crossOrigin)||t2.getAttribute("title")!==(null==a2.title?null:a2.title))break;return t2;case"style":if(t2.hasAttribute("data-precedence"))break;return t2;case"script":c3=t2.getAttribute("src");if((c3!==(null==a2.src?null:a2.src)||t2.getAttribute("type")!==(null==a2.type?null:a2.type)||t2.getAttribute("crossorigin")!==(null==a2.crossOrigin?null:a2.crossOrigin))&&c3&&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,e4,l){if(""===e4)return null;for(;3!==t2.nodeType;){if((1!==t2.nodeType||"INPUT"!==t2.nodeName||"hidden"!==t2.type)&&!l)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,e4){var l=t2.ownerDocument;if("$?"!==t2.data||"complete"===l.readyState)e4();else{var n3=i(function(){e4();l.removeEventListener("DOMContentLoaded",n3)},"listener");l.addEventListener("DOMContentLoaded",n3);t2._reactRetry=n3}}__name(Ly,"Ly");i(Ly,"registerSuspenseInstanceRetry");function Ce3(t2){for(;null!=t2;t2=t2.nextSibling){var e4=t2.nodeType;if(1===e4||3===e4)break;if(8===e4){e4=t2.data;if("$"===e4||"$!"===e4||"$?"===e4||"F!"===e4||"F"===e4)break;if("/$"===e4)return null}}return t2}__name(Ce3,"Ce");i(Ce3,"getNextHydratable");var Fr2=null;function Em(t2){t2=t2.previousSibling;for(var e4=0;t2;){if(8===t2.nodeType){var l=t2.data;if("$"===l||"$!"===l||"$?"===l){if(0===e4)return t2;e4--}else"/$"===l&&e4++}t2=t2.previousSibling}return null}__name(Em,"Em");i(Em,"getParentSuspenseInstance");function xm(t2,e4,l){e4=hi2(l);switch(t2){case"html":t2=e4.documentElement;if(!t2)throw Error(o5(452));return t2;case"head":t2=e4.head;if(!t2)throw Error(o5(453));return t2;case"body":t2=e4.body;if(!t2)throw Error(o5(454));return t2;default:throw Error(o5(451))}}__name(xm,"xm");i(xm,"resolveSingletonInstance");function Pa2(t2){for(var e4=t2.attributes;e4.length;)t2.removeAttributeNode(e4[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(),e4=ii2();return t2||e4}__name(qy,"qy");i(qy,"flushSyncWork");function Yy(t2){var e4=hn3(t2);null!==e4&&5===e4.tag&&"form"===e4.type?Vs2(e4):ol2.r(t2)}__name(Yy,"Yy");i(Yy,"requestFormReset");var Jn4="undefined"===typeof document?null:document;function Tm(t2,e4,l){var n3=Jn4;if(n3&&"string"===typeof e4&&e4){var a2=Ee2(e4);a2='link[rel="'+t2+'"][href="'+a2+'"]';"string"===typeof l&&(a2+='[crossorigin="'+l+'"]');Am.has(a2)||(Am.add(a2),t2={rel:t2,crossOrigin:l,href:e4},null===n3.querySelector(a2)&&(e4=n3.createElement("link"),Pt2(e4,"link",t2),kt2(e4),n3.head.appendChild(e4)))}}__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,e4){ol2.C(t2,e4);Tm("preconnect",t2,e4)}__name(Gy,"Gy");i(Gy,"preconnect");function Xy(t2,e4,l){ol2.L(t2,e4,l);var n3=Jn4;if(n3&&t2&&e4){var a2='link[rel="preload"][as="'+Ee2(e4)+'"]';"image"===e4?l&&l.imageSrcSet?(a2+='[imagesrcset="'+Ee2(l.imageSrcSet)+'"]',"string"===typeof l.imageSizes&&(a2+='[imagesizes="'+Ee2(l.imageSizes)+'"]')):a2+='[href="'+Ee2(t2)+'"]':a2+='[href="'+Ee2(t2)+'"]';var c3=a2;switch(e4){case"style":c3=Wn4(t2);break;case"script":c3=$n4(t2)}Me4.has(c3)||(t2=S4({rel:"preload",href:"image"===e4&&l&&l.imageSrcSet?void 0:t2,as:e4},l),Me4.set(c3,t2),null!==n3.querySelector(a2)||"style"===e4&&n3.querySelector(Ia2(c3))||"script"===e4&&n3.querySelector(tu2(c3))||(e4=n3.createElement("link"),Pt2(e4,"link",t2),kt2(e4),n3.head.appendChild(e4)))}}__name(Xy,"Xy");i(Xy,"preload");function Vy(t2,e4){ol2.m(t2,e4);var l=Jn4;if(l&&t2){var n3=e4&&"string"===typeof e4.as?e4.as:"script",a2='link[rel="modulepreload"][as="'+Ee2(n3)+'"][href="'+Ee2(t2)+'"]',c3=a2;switch(n3){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c3=$n4(t2)}if(!Me4.has(c3)&&(t2=S4({rel:"modulepreload",href:t2},e4),Me4.set(c3,t2),null===l.querySelector(a2))){switch(n3){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(tu2(c3)))return}n3=l.createElement("link");Pt2(n3,"link",t2);kt2(n3);l.head.appendChild(n3)}}}__name(Vy,"Vy");i(Vy,"preloadModule");function Qy(t2,e4,l){ol2.S(t2,e4,l);var n3=Jn4;if(n3&&t2){var a2=vn3(n3).hoistableStyles,c3=Wn4(t2);e4=e4||"default";var s=a2.get(c3);if(!s){var m2={loading:0,preload:null};if(s=n3.querySelector(Ia2(c3)))m2.loading=5;else{t2=S4({rel:"stylesheet",href:t2,"data-precedence":e4},l);(l=Me4.get(c3))&&Pr2(t2,l);var b=s=n3.createElement("link");kt2(b);Pt2(b,"link",t2);b._p=new Promise(function(M4,L2){b.onload=M4;b.onerror=L2});b.addEventListener("load",function(){m2.loading|=1});b.addEventListener("error",function(){m2.loading|=2});m2.loading|=4;gi2(s,e4,n3)}s={type:"stylesheet",instance:s,count:1,state:m2};a2.set(c3,s)}}}__name(Qy,"Qy");i(Qy,"preinitStyle");function Zy(t2,e4){ol2.X(t2,e4);var l=Jn4;if(l&&t2){var n3=vn3(l).hoistableScripts,a2=$n4(t2),c3=n3.get(a2);c3||(c3=l.querySelector(tu2(a2)),c3||(t2=S4({src:t2,async:true},e4),(e4=Me4.get(a2))&&Ir2(t2,e4),c3=l.createElement("script"),kt2(c3),Pt2(c3,"link",t2),l.head.appendChild(c3)),c3={type:"script",instance:c3,count:1,state:null},n3.set(a2,c3))}}__name(Zy,"Zy");i(Zy,"preinitScript");function ky(t2,e4){ol2.M(t2,e4);var l=Jn4;if(l&&t2){var n3=vn3(l).hoistableScripts,a2=$n4(t2),c3=n3.get(a2);c3||(c3=l.querySelector(tu2(a2)),c3||(t2=S4({src:t2,async:true,type:"module"},e4),(e4=Me4.get(a2))&&Ir2(t2,e4),c3=l.createElement("script"),kt2(c3),Pt2(c3,"link",t2),l.head.appendChild(c3)),c3={type:"script",instance:c3,count:1,state:null},n3.set(a2,c3))}}__name(ky,"ky");i(ky,"preinitModuleScript");function Om(t2,e4,l,n3){var a2=(a2=ut4.current)?vi2(a2):null;if(!a2)throw Error(o5(446));switch(t2){case"meta":case"title":return null;case"style":return"string"===typeof l.precedence&&"string"===typeof l.href?(e4=Wn4(l.href),l=vn3(a2).hoistableStyles,n3=l.get(e4),n3||(n3={type:"style",instance:null,count:0,state:null},l.set(e4,n3)),n3):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===l.rel&&"string"===typeof l.href&&"string"===typeof l.precedence){t2=Wn4(l.href);var c3=vn3(a2).hoistableStyles,s=c3.get(t2);s||(a2=a2.ownerDocument||a2,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c3.set(t2,s),(c3=a2.querySelector(Ia2(t2)))&&!c3._p&&(s.instance=c3,s.state.loading=5),Me4.has(t2)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Me4.set(t2,l),c3||Ky(a2,t2,l,s.state)));if(e4&&null===n3)throw Error(o5(528,""));return s}if(e4&&null!==n3)throw Error(o5(529,""));return null;case"script":return e4=l.async,l=l.src,"string"===typeof l&&e4&&"function"!==typeof e4&&"symbol"!==typeof e4?(e4=$n4(l),l=vn3(a2).hoistableScripts,n3=l.get(e4),n3||(n3={type:"script",instance:null,count:0,state:null},l.set(e4,n3)),n3):{type:"void",instance:null,count:0,state:null};default:throw Error(o5(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 S4({},t2,{"data-precedence":t2.precedence,precedence:null})}__name(wm,"wm");i(wm,"stylesheetPropsFromRawProps");function Ky(t2,e4,l,n3){t2.querySelector('link[rel="preload"][as="style"]['+e4+"]")?n3.loading=1:(e4=t2.createElement("link"),n3.preload=e4,e4.addEventListener("load",function(){return n3.loading|=1}),e4.addEventListener("error",function(){return n3.loading|=2}),Pt2(e4,"link",l),kt2(e4),t2.head.appendChild(e4))}__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,e4,l){e4.count++;if(null===e4.instance)switch(e4.type){case"style":var n3=t2.querySelector('style[data-href~="'+Ee2(l.href)+'"]');if(n3)return e4.instance=n3,kt2(n3),n3;var a2=S4({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});n3=(t2.ownerDocument||t2).createElement("style");kt2(n3);Pt2(n3,"style",a2);gi2(n3,l.precedence,t2);return e4.instance=n3;case"stylesheet":a2=Wn4(l.href);var c3=t2.querySelector(Ia2(a2));if(c3)return e4.state.loading|=4,e4.instance=c3,kt2(c3),c3;n3=wm(l);(a2=Me4.get(a2))&&Pr2(n3,a2);c3=(t2.ownerDocument||t2).createElement("link");kt2(c3);var s=c3;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c3,"link",n3);e4.state.loading|=4;gi2(c3,l.precedence,t2);return e4.instance=c3;case"script":c3=$n4(l.src);if(a2=t2.querySelector(tu2(c3)))return e4.instance=a2,kt2(a2),a2;n3=l;if(a2=Me4.get(c3))n3=S4({},l),Ir2(n3,a2);t2=t2.ownerDocument||t2;a2=t2.createElement("script");kt2(a2);Pt2(a2,"link",n3);t2.head.appendChild(a2);return e4.instance=a2;case"void":return null;default:throw Error(o5(443,e4.type))}else"stylesheet"===e4.type&&0===(e4.state.loading&4)&&(n3=e4.instance,e4.state.loading|=4,gi2(n3,l.precedence,t2));return e4.instance}__name(Rm,"Rm");i(Rm,"acquireResource");function gi2(t2,e4,l){for(var n3=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a2=n3.length?n3[n3.length-1]:null,c3=a2,s=0;s title"):null)}__name(zm,"zm");i(zm,"mountHoistable");function Jy(t2,e4,l){if(1===l||null!=e4.itemProp)return false;switch(t2){case"meta":case"title":return true;case"style":if("string"!==typeof e4.precedence||"string"!==typeof e4.href||""===e4.href)break;return true;case"link":if("string"!==typeof e4.rel||"string"!==typeof e4.href||""===e4.href||e4.onLoad||e4.onError)break;switch(e4.rel){case"stylesheet":return t2=e4.disabled,"string"===typeof e4.precedence&&null==t2;default:return true}case"script":if(e4.async&&"function"!==typeof e4.async&&"symbol"!==typeof e4.async&&!e4.onLoad&&!e4.onError&&e4.src&&"string"===typeof e4.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,e4,l){if(null===eu2)throw Error(o5(475));var n3=eu2;if("stylesheet"===e4.type&&("string"!==typeof l.media||false!==matchMedia(l.media).matches)&&0===(e4.state.loading&4)){if(null===e4.instance){var a2=Wn4(l.href),c3=t2.querySelector(Ia2(a2));if(c3){t2=c3._p;null!==t2&&"object"===typeof t2&&"function"===typeof t2.then&&(n3.count++,n3=pi2.bind(n3),t2.then(n3,n3));e4.state.loading|=4;e4.instance=c3;kt2(c3);return}c3=t2.ownerDocument||t2;l=wm(l);(a2=Me4.get(a2))&&Pr2(l,a2);c3=c3.createElement("link");kt2(c3);var s=c3;s._p=new Promise(function(m2,b){s.onload=m2;s.onerror=b});Pt2(c3,"link",l);e4.instance=c3}null===n3.stylesheets&&(n3.stylesheets=new Map);n3.stylesheets.set(e4,t2);(t2=e4.state.preload)&&0===(e4.state.loading&3)&&(n3.count++,e4=pi2.bind(n3),t2.addEventListener("load",e4),t2.addEventListener("error",e4))}}__name($y,"$y");i($y,"suspendResource");function Fy(){if(null===eu2)throw Error(o5(475));var t2=eu2;t2.stylesheets&&0===t2.count&&to2(t2,t2.stylesheets);return 0S4(w,typeof w==="string"?null:w.state,H3===0?"default":void 0));let h=p3(f2==null?d2.length-1:f2);let v2=De.Pop;let y2=null;function p3(w){return Math.min(Math.max(w,0),d2.length-1)}__name(p3,"p");i(p3,"clampIndex");function g2(){return d2[h]}__name(g2,"g");i(g2,"getCurrentLocation");function S4(w,H3,O4){if(H3===void 0){H3=null}let U3=qi(d2?g2().pathname:"/",w,H3,O4);S0(U3.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w));return U3}__name(S4,"S");i(S4,"createMemoryLocation");function A(w){return typeof w==="string"?w:Lo(w)}__name(A,"A");i(A,"createHref");let D3={get index(){return h},get action(){return v2},get location(){return g2()},createHref:A,createURL(w){return new URL(A(w),"http://localhost")},encodeLocation(w){let H3=typeof w==="string"?qo(w):w;return{pathname:H3.pathname||"",search:H3.search||"",hash:H3.hash||""}},push(w,H3){v2=De.Push;let O4=S4(w,H3);h+=1;d2.splice(h,d2.length,O4);if(o5&&y2){y2({action:v2,location:O4,delta:1})}},replace(w,H3){v2=De.Replace;let O4=S4(w,H3);d2[h]=O4;if(o5&&y2){y2({action:v2,location:O4,delta:0})}},go(w){v2=De.Pop;let H3=p3(h+w);let O4=d2[H3];h=H3;if(y2){y2({action:v2,location:O4,delta:w})}},listen(w){y2=w;return()=>{y2=null}}};return D3}__name(p0,"p0");i(p0,"createMemoryHistory");function b0(u5){if(u5===void 0){u5={}}function r4(o5,d2){let{pathname:h,search:v2,hash:y2}=o5.location;return qi("",{pathname:h,search:v2,hash:y2},d2.state&&d2.state.usr||null,d2.state&&d2.state.key||"default")}__name(r4,"r");i(r4,"createBrowserLocation");function f2(o5,d2){return typeof d2==="string"?d2:Lo(d2)}__name(f2,"f");i(f2,"createBrowserHref");return x0(r4,f2,null,u5)}__name(b0,"b0");i(b0,"createBrowserHistory");function Lh(u5,r4){if(u5===false||u5===null||typeof u5==="undefined"){throw new Error(r4)}}__name(Lh,"Lh");i(Lh,"invariant");function S0(u5,r4){if(!u5){if(typeof console!=="undefined")console.warn(r4);try{throw new Error(r4)}catch(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,r4){return{usr:u5.state,key:u5.key,idx:r4}}__name(Im,"Im");i(Im,"getHistoryState");function qi(u5,r4,f2,o5){if(f2===void 0){f2=null}let d2=Li({pathname:typeof u5==="string"?u5:u5.pathname,search:"",hash:""},typeof r4==="string"?qo(r4):r4,{state:f2,key:r4&&r4.key||o5||E0()});return d2}__name(qi,"qi");i(qi,"createLocation");function Lo(u5){let{pathname:r4="/",search:f2="",hash:o5=""}=u5;if(f2&&f2!=="?")r4+=f2.charAt(0)==="?"?f2:"?"+f2;if(o5&&o5!=="#")r4+=o5.charAt(0)==="#"?o5:"#"+o5;return r4}__name(Lo,"Lo");i(Lo,"createPath");function qo(u5){let r4={};if(u5){let f2=u5.indexOf("#");if(f2>=0){r4.hash=u5.substr(f2);u5=u5.substr(0,f2)}let o5=u5.indexOf("?");if(o5>=0){r4.search=u5.substr(o5);u5=u5.substr(0,o5)}if(u5){r4.pathname=u5}}return r4}__name(qo,"qo");i(qo,"parsePath");function x0(u5,r4,f2,o5){if(o5===void 0){o5={}}let{window:d2=document.defaultView,v5Compat:h=false}=o5;let v2=d2.history;let y2=De.Pop;let p3=null;let g2=S4();if(g2==null){g2=0;v2.replaceState(Li({},v2.state,{idx:g2}),"")}function S4(){let U3=v2.state||{idx:null};return U3.idx}__name(S4,"S");i(S4,"getIndex");function A(){y2=De.Pop;let U3=S4();let Y3=U3==null?null:U3-g2;g2=U3;if(p3){p3({action:y2,location:O4.location,delta:Y3})}}__name(A,"A");i(A,"handlePop");function D3(U3,Y3){y2=De.Push;let Q3=qi(O4.location,U3,Y3);g2=S4()+1;let Z3=Im(Q3,g2);let k4=O4.createHref(Q3);try{v2.pushState(Z3,"",k4)}catch(X4){if(X4 instanceof DOMException&&X4.name==="DataCloneError"){throw X4}d2.location.assign(k4)}if(h&&p3){p3({action:y2,location:O4.location,delta:1})}}__name(D3,"D");i(D3,"push");function w(U3,Y3){y2=De.Replace;let Q3=qi(O4.location,U3,Y3);g2=S4();let Z3=Im(Q3,g2);let k4=O4.createHref(Q3);v2.replaceState(Z3,"",k4);if(h&&p3){p3({action:y2,location:O4.location,delta:0})}}__name(w,"w");i(w,"replace");function H3(U3){let Y3=d2.location.origin!=="null"?d2.location.origin:d2.location.href;let Q3=typeof U3==="string"?U3:Lo(U3);Q3=Q3.replace(/ $/,"%20");Lh(Y3,"No window.location.(origin|href) available to create URL for href: "+Q3);return new URL(Q3,Y3)}__name(H3,"H");i(H3,"createURL");let O4={get action(){return y2},get location(){return u5(d2,v2)},listen(U3){if(p3){throw new Error("A history only accepts one active listener")}d2.addEventListener(Pm,A);p3=U3;return()=>{d2.removeEventListener(Pm,A);p3=null}},createHref(U3){return r4(d2,U3)},createURL:H3,encodeLocation(U3){let Y3=H3(U3);return{pathname:Y3.pathname,search:Y3.search,hash:Y3.hash}},push:D3,replace:w,go(U3){return v2.go(U3)}};return O4}__name(x0,"x0");i(x0,"getUrlBasedHistory");var th;(function(u5){u5["data"]="data";u5["deferred"]="deferred";u5["redirect"]="redirect";u5["error"]="error"})(th||(th={}));function A0(u5,r4){if(r4==="/")return u5;if(!u5.toLowerCase().startsWith(r4.toLowerCase())){return null}let f2=r4.endsWith("/")?r4.length-1:r4.length;let o5=u5.charAt(f2);if(o5&&o5!=="/"){return null}return u5.slice(f2)||"/"}__name(A0,"A0");i(A0,"stripBasename");var qh=["post","put","patch","delete"];new Set(qh);var T0=["get",...qh];new Set(T0);function wo(){wo=Object.assign?Object.assign.bind():function(u5){for(var r4=1;r4{S4&&eh?eh(()=>g2(D3)):g2(D3)},[g2,S4]);z.useLayoutEffect(()=>y2.listen(A),[y2,A]);z.useEffect(()=>jh(h),[h]);return z.createElement(Gh,{basename:r4,children:f2,location:p3.location,navigationType:p3.action,navigator:y2,future:h})}__name(uS,"uS");i(uS,"MemoryRouter");function Gh(u5){let{basename:r4="/",children:f2=null,location:o5,navigationType:d2=De.Pop,navigator:h,static:v2=false,future:y2}=u5;!!w0()?Lh(false):void 0;let p3=r4.replace(/^/*/,"/");let g2=z.useMemo(()=>({basename:p3,navigator:h,static:v2,future:wo({v7_relativeSplatPath:false},y2)}),[p3,y2,h,v2]);if(typeof o5==="string"){o5=qo(o5)}let{pathname:S4="/",search:A="",hash:D3="",state:w=null,key:H3="default"}=o5;let O4=z.useMemo(()=>{let U3=A0(S4,p3);if(U3==null){return null}return{location:{pathname:U3,search:A,hash:D3,state:w,key:H3},navigationType:d2}},[p3,S4,A,D3,w,H3,d2]);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:r4,children:f2,future:o5,window:d2}=u5;let h=z.useRef();if(h.current==null){h.current=b0({window:d2,v5Compat:true})}let v2=h.current;let[y2,p3]=z.useState({action:v2.action,location:v2.location});let{v7_startTransition:g2}=o5||{};let S4=z.useCallback(A=>{g2&&lh?lh(()=>p3(A)):p3(A)},[p3,g2]);z.useLayoutEffect(()=>v2.listen(S4),[v2,S4]);z.useEffect(()=>jh(o5),[o5]);return z.createElement(Gh,{basename:r4,children:f2,location:y2.location,navigationType:y2.action,navigator:v2,future:o5})}__name(iS,"iS");i(iS,"BrowserRouter");var nh;(function(u5){u5["UseScrollRestoration"]="useScrollRestoration";u5["UseSubmit"]="useSubmit";u5["UseSubmitFetcher"]="useSubmitFetcher";u5["UseFetcher"]="useFetcher";u5["useViewTransitionState"]="useViewTransitionState"})(nh||(nh={}));var ah;(function(u5){u5["UseFetcher"]="useFetcher";u5["UseFetchers"]="useFetchers";u5["UseScrollRestoration"]="useScrollRestoration"})(ah||(ah={}));var cS=sl.forwardRef(({to:u5,newTab:r4=false,target:f2,rel:o5,children:d2,...h},v2)=>{const y2=r4?f2??"_blank":f2;const p3=r4?o5??"noopener noreferrer":o5;return Ht.jsx("a",{href:u5,target:y2,rel:p3,ref:v2,...h,children:d2})});function uh(u5,r4){if(typeof u5==="function"){return u5(r4)}else if(u5!==null&&u5!==void 0){u5.current=r4}}__name(uh,"uh");i(uh,"setRef");function Xh(...u5){return r4=>{let f2=false;const o5=u5.map(d2=>{const h=uh(d2,r4);if(!f2&&typeof h=="function"){f2=true}return h});if(f2){return()=>{for(let d2=0;d2{const{children:h,...v2}=o5;const y2=z.Children.toArray(h);const p3=y2.find(D0);if(p3){const g2=p3.props.children;const S4=y2.map(A=>{if(A===p3){if(z.Children.count(g2)>1)return z.Children.only(null);return z.isValidElement(g2)?g2.props.children:null}else{return A}});return Ht.jsx(r4,{...v2,ref:d2,children:z.isValidElement(g2)?z.cloneElement(g2,void 0,S4):null})}return Ht.jsx(r4,{...v2,ref:d2,children:h})});f2.displayName=`${u5}.Slot`;return f2}__name(Yi,"Yi");i(Yi,"createSlot");var Vh=Yi("Slot");function _0(u5){const r4=z.forwardRef((f2,o5)=>{const{children:d2,...h}=f2;if(z.isValidElement(d2)){const v2=U0(d2);const y2=N0(h,d2.props);if(d2.type!==z.Fragment){y2.ref=o5?Xh(o5,v2):v2}return z.cloneElement(d2,y2)}return z.Children.count(d2)>1?z.Children.only(null):null});r4.displayName=`${u5}.SlotClone`;return r4}__name(_0,"_0");i(_0,"createSlotClone");var C0=Symbol("radix.slottable");function D0(u5){return z.isValidElement(u5)&&typeof u5.type==="function"&&"__radixId"in u5.type&&u5.type.__radixId===C0}__name(D0,"D0");i(D0,"isSlottable");function N0(u5,r4){const f2={...r4};for(const o5 in r4){const d2=u5[o5];const h=r4[o5];const v2=/^on[A-Z]/.test(o5);if(v2){if(d2&&h){f2[o5]=(...y2)=>{const p3=h(...y2);d2(...y2);return p3}}else if(d2){f2[o5]=d2}}else if(o5==="style"){f2[o5]={...d2,...h}}else if(o5==="className"){f2[o5]=[d2,h].filter(Boolean).join(" ")}}return{...u5,...f2}}__name(N0,"N0");i(N0,"mergeProps");function U0(u5){let r4=Object.getOwnPropertyDescriptor(u5.props,"ref")?.get;let f2=r4&&"isReactWarning"in r4&&r4.isReactWarning;if(f2){return u5.ref}r4=Object.getOwnPropertyDescriptor(u5,"ref")?.get;f2=r4&&"isReactWarning"in r4&&r4.isReactWarning;if(f2){return u5.props.ref}return u5.props.ref||u5.ref}__name(U0,"U0");i(U0,"getElementRef");function Qh(u5){var r4,f2,o5="";if("string"==typeof u5||"number"==typeof u5)o5+=u5;else if("object"==typeof u5)if(Array.isArray(u5)){var d2=u5.length;for(r4=0;r4typeof u5==="boolean"?`${u5}`:u5===0?"0":u5,"falsyToString");var ch=Zh;var kh=i((u5,r4)=>f2=>{var o5;if((r4===null||r4===void 0?void 0:r4.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:d2,defaultVariants:h}=r4;const v2=Object.keys(d2).map(g2=>{const S4=f2===null||f2===void 0?void 0:f2[g2];const A=h===null||h===void 0?void 0:h[g2];if(S4===null)return null;const D3=ih(S4)||ih(A);return d2[g2][D3]});const y2=f2&&Object.entries(f2).reduce((g2,S4)=>{let[A,D3]=S4;if(D3===void 0){return g2}g2[A]=D3;return g2},{});const p3=r4===null||r4===void 0?void 0:(o5=r4.compoundVariants)===null||o5===void 0?void 0:o5.reduce((g2,S4)=>{let{class:A,className:D3,...w}=S4;return Object.entries(w).every(H3=>{let[O4,U3]=H3;return Array.isArray(U3)?U3.includes({...h,...y2}[O4]):{...h,...y2}[O4]===U3})?[...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 r4=L0(u5);const{conflictingClassGroups:f2,conflictingClassGroupModifiers:o5}=u5;const d2=i(v2=>{const y2=v2.split(Yo);if(y2[0]===""&&y2.length!==1){y2.shift()}return Kh(y2,r4)||B0(v2)},"getClassGroupId");const h=i((v2,y2)=>{const p3=f2[v2]||[];if(y2&&o5[v2]){return[...p3,...o5[v2]]}return p3},"getConflictingClassGroupIds");return{getClassGroupId:d2,getConflictingClassGroupIds:h}},"createClassGroupUtils");var Kh=i((u5,r4)=>{if(u5.length===0){return r4.classGroupId}const f2=u5[0];const o5=r4.nextPart.get(f2);const d2=o5?Kh(u5.slice(1),o5):void 0;if(d2){return d2}if(r4.validators.length===0){return void 0}const h=u5.join(Yo);return r4.validators.find(({validator:v2})=>v2(h))?.classGroupId},"getGroupRecursive");var rh=/^[(.+)]$/;var B0=i(u5=>{if(rh.test(u5)){const r4=rh.exec(u5)[1];const f2=r4?.substring(0,r4.indexOf(":"));if(f2){return"arbitrary.."+f2}}},"getGroupIdForArbitraryProperty");var L0=i(u5=>{const{theme:r4,classGroups:f2}=u5;const o5={nextPart:new Map,validators:[]};for(const d2 in f2){Ro(f2[d2],o5,d2,r4)}return o5},"createClassMap");var Ro=i((u5,r4,f2,o5)=>{u5.forEach(d2=>{if(typeof d2==="string"){const h=d2===""?r4:oh(r4,d2);h.classGroupId=f2;return}if(typeof d2==="function"){if(q0(d2)){Ro(d2(o5),r4,f2,o5);return}r4.validators.push({validator:d2,classGroupId:f2});return}Object.entries(d2).forEach(([h,v2])=>{Ro(v2,oh(r4,h),f2,o5)})})},"processClassesRecursively");var oh=i((u5,r4)=>{let f2=u5;r4.split(Yo).forEach(o5=>{if(!f2.nextPart.has(o5)){f2.nextPart.set(o5,{nextPart:new Map,validators:[]})}f2=f2.nextPart.get(o5)});return f2},"getPart");var q0=i(u5=>u5.isThemeGetter,"isThemeGetter");var Y0=i(u5=>{if(u5<1){return{get:i(()=>void 0,"get"),set:i(()=>{},"set")}}let r4=0;let f2=new Map;let o5=new Map;const d2=i((h,v2)=>{f2.set(h,v2);r4++;if(r4>u5){r4=0;o5=f2;f2=new Map}},"update");return{get(h){let v2=f2.get(h);if(v2!==void 0){return v2}if((v2=o5.get(h))!==void 0){d2(h,v2);return v2}},set(h,v2){if(f2.has(h)){f2.set(h,v2)}else{d2(h,v2)}}}},"createLruCache");var Mo="!";var zo=":";var j0=zo.length;var G0=i(u5=>{const{prefix:r4,experimentalParseClassName:f2}=u5;let o5=i(d2=>{const h=[];let v2=0;let y2=0;let p3=0;let g2;for(let H3=0;H3p3?g2-p3:void 0;return{modifiers:h,hasImportantModifier:D3,baseClassName:A,maybePostfixModifierPosition:w}},"parseClassName");if(r4){const d2=r4+zo;const h=o5;o5=i(v2=>v2.startsWith(d2)?h(v2.substring(d2.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:v2,maybePostfixModifierPosition:void 0},"parseClassName")}if(f2){const d2=o5;o5=i(h=>f2({className:h,parseClassName:d2}),"parseClassName")}return o5},"createParseClassName");var X0=i(u5=>{if(u5.endsWith(Mo)){return u5.substring(0,u5.length-1)}if(u5.startsWith(Mo)){return u5.substring(1)}return u5},"stripImportantModifier");var V0=i(u5=>{const r4=Object.fromEntries(u5.orderSensitiveModifiers.map(o5=>[o5,true]));const f2=i(o5=>{if(o5.length<=1){return o5}const d2=[];let h=[];o5.forEach(v2=>{const y2=v2[0]==="["||r4[v2];if(y2){d2.push(...h.sort(),v2);h=[]}else{h.push(v2)}});d2.push(...h.sort());return d2},"sortModifiers");return 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,r4)=>{const{parseClassName:f2,getClassGroupId:o5,getConflictingClassGroupIds:d2,sortModifiers:h}=r4;const v2=[];const y2=u5.trim().split(Z0);let p3="";for(let g2=y2.length-1;g2>=0;g2-=1){const S4=y2[g2];const{isExternal:A,modifiers:D3,hasImportantModifier:w,baseClassName:H3,maybePostfixModifierPosition:O4}=f2(S4);if(A){p3=S4+(p3.length>0?" "+p3:p3);continue}let U3=!!O4;let Y3=o5(U3?H3.substring(0,O4):H3);if(!Y3){if(!U3){p3=S4+(p3.length>0?" "+p3:p3);continue}Y3=o5(H3);if(!Y3){p3=S4+(p3.length>0?" "+p3:p3);continue}U3=false}const Q3=h(D3).join(":");const Z3=w?Q3+Mo:Q3;const k4=Z3+Y3;if(v2.includes(k4)){continue}v2.push(k4);const X4=d2(Y3,U3);for(let et3=0;et30?" "+p3:p3)}return p3},"mergeClassList");function K0(){let u5=0;let r4;let f2;let o5="";while(u5{if(typeof u5==="string"){return u5}let r4;let f2="";for(let o5=0;o5A(S4),u5());f2=Q0(g2);o5=f2.cache.get;d2=f2.cache.set;h=y2;return y2(p3)}__name(v2,"v");i(v2,"initTailwindMerge");function y2(p3){const g2=o5(p3);if(g2){return g2}const S4=k0(p3,f2);d2(p3,S4);return S4}__name(y2,"y");i(y2,"tailwindMerge");return i(__name(function p3(){return h(K0.apply(null,arguments))},"p"),"callTailwindMerge")}__name(J0,"J0");i(J0,"createTailwindMerge");var Zt=i(u5=>{const r4=i(f2=>f2[u5]||[],"themeGetter");r4.isThemeGetter=true;return r4},"fromTheme");var Wh=/^[(?:(w[w-]*):)?(.+)]$/i;var $h=/^((?:(w[w-]*):)?(.+))$/i;var W0=/^d+/d+$/;var $0=/^(d+(.d+)?)?(xs|sm|md|lg|xl)$/;var F0=/d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|b(calc|min|max|clamp)(.+)|^0$/;var P0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)(.+)$/;var I0=/^(inset_)?-?((d+)?.?(d+)[a-z]+|0)_-?((d+)?.?(d+)[a-z]+|0)/;var tp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)(.+)$/;var Fn=i(u5=>W0.test(u5),"isFraction");var dt=i(u5=>!!u5&&!Number.isNaN(Number(u5)),"isNumber");var Yl=i(u5=>!!u5&&Number.isInteger(Number(u5)),"isInteger");var ho=i(u5=>u5.endsWith("%")&&dt(u5.slice(0,-1)),"isPercent");var fl=i(u5=>$0.test(u5),"isTshirtSize");var ep=i(()=>true,"isAny");var lp=i(u5=>F0.test(u5)&&!P0.test(u5),"isLengthOnly");var Fh=i(()=>false,"isNever");var np=i(u5=>I0.test(u5),"isShadow");var ap=i(u5=>tp.test(u5),"isImage");var up=i(u5=>!I(u5)&&!tt(u5),"isAnyNonArbitrary");var ip=i(u5=>ia(u5,tv,Fh),"isArbitrarySize");var I=i(u5=>Wh.test(u5),"isArbitraryValue");var rn=i(u5=>ia(u5,ev,lp),"isArbitraryLength");var vo=i(u5=>ia(u5,sp,dt),"isArbitraryNumber");var fh=i(u5=>ia(u5,Ph,Fh),"isArbitraryPosition");var cp=i(u5=>ia(u5,Ih,ap),"isArbitraryImage");var Ri=i(u5=>ia(u5,lv,np),"isArbitraryShadow");var tt=i(u5=>$h.test(u5),"isArbitraryVariable");var ou=i(u5=>ca(u5,ev),"isArbitraryVariableLength");var rp=i(u5=>ca(u5,dp),"isArbitraryVariableFamilyName");var sh=i(u5=>ca(u5,Ph),"isArbitraryVariablePosition");var op=i(u5=>ca(u5,tv),"isArbitraryVariableSize");var fp=i(u5=>ca(u5,Ih),"isArbitraryVariableImage");var Mi=i(u5=>ca(u5,lv,true),"isArbitraryVariableShadow");var ia=i((u5,r4,f2)=>{const o5=Wh.exec(u5);if(o5){if(o5[1]){return r4(o5[1])}return f2(o5[2])}return false},"getIsArbitraryValue");var ca=i((u5,r4,f2=false)=>{const o5=$h.exec(u5);if(o5){if(o5[1]){return r4(o5[1])}return f2}return false},"getIsArbitraryVariable");var Ph=i(u5=>u5==="position"||u5==="percentage","isLabelPosition");var Ih=i(u5=>u5==="image"||u5==="url","isLabelImage");var tv=i(u5=>u5==="length"||u5==="size"||u5==="bg-size","isLabelSize");var ev=i(u5=>u5==="length","isLabelLength");var sp=i(u5=>u5==="number","isLabelNumber");var dp=i(u5=>u5==="family-name","isLabelFamilyName");var lv=i(u5=>u5==="shadow","isLabelShadow");var mp=i(()=>{const u5=Zt("color");const r4=Zt("font");const f2=Zt("text");const o5=Zt("font-weight");const d2=Zt("tracking");const h=Zt("leading");const v2=Zt("breakpoint");const y2=Zt("container");const p3=Zt("spacing");const g2=Zt("radius");const S4=Zt("shadow");const A=Zt("inset-shadow");const D3=Zt("text-shadow");const w=Zt("drop-shadow");const H3=Zt("blur");const O4=Zt("perspective");const U3=Zt("aspect");const Y3=Zt("ease");const Q3=Zt("animate");const Z3=i(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak");const k4=i(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition");const X4=i(()=>[...k4(),tt,I],"scalePositionWithArbitrary");const et3=i(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow");const W5=i(()=>["auto","contain","none"],"scaleOverscroll");const J2=i(()=>[tt,I,p3],"scaleUnambiguousSpacing");const rt4=i(()=>[Fn,"full","auto",...J2()],"scaleInset");const Et3=i(()=>[Yl,"none","subgrid",tt,I],"scaleGridTemplateColsRows");const Mt2=i(()=>["auto",{span:["full",Yl,tt,I]},Yl,tt,I],"scaleGridColRowStartAndEnd");const vt2=i(()=>[Yl,"auto",tt,I],"scaleGridColRowStartOrEnd");const Ot2=i(()=>["auto","min","max","fr",tt,I],"scaleGridAutoColsRows");const St2=i(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis");const gt3=i(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis");const C3=i(()=>["auto",...J2()],"scaleMargin");const V=i(()=>[Fn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J2()],"scaleSizing");const B4=i(()=>[u5,tt,I],"scaleColor");const ct4=i(()=>[...k4(),sh,fh,{position:[tt,I]}],"scaleBgPosition");const E5=i(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat");const G4=i(()=>["auto","cover","contain",op,ip,{size:[tt,I]}],"scaleBgSize");const $3=i(()=>[ho,ou,rn],"scaleGradientStopPosition");const K3=i(()=>["","none","full",g2,tt,I],"scaleRadius");const F4=i(()=>["",dt,ou,rn],"scaleBorderWidth");const ft3=i(()=>["solid","dashed","dotted","double"],"scaleLineStyle");const ut4=i(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode");const mt3=i(()=>[dt,ho,sh,fh],"scaleMaskImagePosition");const At2=i(()=>["","none",H3,tt,I],"scaleBlur");const le4=i(()=>["none",dt,tt,I],"scaleRotate");const He4=i(()=>["none",dt,tt,I],"scaleScale");const Be4=i(()=>[dt,tt,I],"scaleSkew");const Le4=i(()=>[Fn,"full",...J2()],"scaleTranslate");return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fl],breakpoint:[fl],color:[ep],container:[fl],"drop-shadow":[fl],ease:["in","out","in-out"],font:[up],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fl],shadow:[fl],spacing:["px",dt],text:[fl],"text-shadow":[fl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Fn,I,tt,U3]}],container:["container"],columns:[{columns:[dt,I,tt,y2]}],"break-after":[{"break-after":Z3()}],"break-before":[{"break-before":Z3()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X4()}],overflow:[{overflow:et3()}],"overflow-x":[{"overflow-x":et3()}],"overflow-y":[{"overflow-y":et3()}],overscroll:[{overscroll:W5()}],"overscroll-x":[{"overscroll-x":W5()}],"overscroll-y":[{"overscroll-y":W5()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:rt4()}],"inset-x":[{"inset-x":rt4()}],"inset-y":[{"inset-y":rt4()}],start:[{start:rt4()}],end:[{end:rt4()}],top:[{top:rt4()}],right:[{right:rt4()}],bottom:[{bottom:rt4()}],left:[{left:rt4()}],visibility:["visible","invisible","collapse"],z:[{z:[Yl,"auto",tt,I]}],basis:[{basis:[Fn,"full","auto",y2,...J2()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,Fn,"auto","initial","none",I]}],grow:[{grow:["",dt,tt,I]}],shrink:[{shrink:["",dt,tt,I]}],order:[{order:[Yl,"first","last","none",tt,I]}],"grid-cols":[{"grid-cols":Et3()}],"col-start-end":[{col:Mt2()}],"col-start":[{"col-start":vt2()}],"col-end":[{"col-end":vt2()}],"grid-rows":[{"grid-rows":Et3()}],"row-start-end":[{row:Mt2()}],"row-start":[{"row-start":vt2()}],"row-end":[{"row-end":vt2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot2()}],"auto-rows":[{"auto-rows":Ot2()}],gap:[{gap:J2()}],"gap-x":[{"gap-x":J2()}],"gap-y":[{"gap-y":J2()}],"justify-content":[{justify:[...St2(),"normal"]}],"justify-items":[{"justify-items":[...gt3(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt3()]}],"align-content":[{content:["normal",...St2()]}],"align-items":[{items:[...gt3(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt3(),{baseline:["","last"]}]}],"place-content":[{"place-content":St2()}],"place-items":[{"place-items":[...gt3(),"baseline"]}],"place-self":[{"place-self":["auto",...gt3()]}],p:[{p:J2()}],px:[{px:J2()}],py:[{py:J2()}],ps:[{ps:J2()}],pe:[{pe:J2()}],pt:[{pt:J2()}],pr:[{pr:J2()}],pb:[{pb:J2()}],pl:[{pl:J2()}],m:[{m:C3()}],mx:[{mx:C3()}],my:[{my:C3()}],ms:[{ms:C3()}],me:[{me:C3()}],mt:[{mt:C3()}],mr:[{mr:C3()}],mb:[{mb:C3()}],ml:[{ml:C3()}],"space-x":[{"space-x":J2()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J2()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[y2,"screen",...V()]}],"min-w":[{"min-w":[y2,"screen","none",...V()]}],"max-w":[{"max-w":[y2,"screen","none","prose",{screen:[v2]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",f2,ou,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o5,tt,vo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ho,I]}],"font-family":[{font:[rp,I,r4]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d2,tt,I]}],"line-clamp":[{"line-clamp":[dt,"none",tt,vo]}],leading:[{leading:[h,...J2()]}],"list-image":[{"list-image":["none",tt,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tt,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B4()}],"text-color":[{text:B4()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ft3(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",tt,rn]}],"text-decoration-color":[{decoration:B4()}],"underline-offset":[{"underline-offset":[dt,"auto",tt,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J2()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tt,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",tt,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ct4()}],"bg-repeat":[{bg: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:B4()}],"gradient-from-pos":[{from:$3()}],"gradient-via-pos":[{via:$3()}],"gradient-to-pos":[{to:$3()}],"gradient-from":[{from:B4()}],"gradient-via":[{via:B4()}],"gradient-to":[{to:B4()}],rounded:[{rounded:K3()}],"rounded-s":[{"rounded-s":K3()}],"rounded-e":[{"rounded-e":K3()}],"rounded-t":[{"rounded-t":K3()}],"rounded-r":[{"rounded-r":K3()}],"rounded-b":[{"rounded-b":K3()}],"rounded-l":[{"rounded-l":K3()}],"rounded-ss":[{"rounded-ss":K3()}],"rounded-se":[{"rounded-se":K3()}],"rounded-ee":[{"rounded-ee":K3()}],"rounded-es":[{"rounded-es":K3()}],"rounded-tl":[{"rounded-tl":K3()}],"rounded-tr":[{"rounded-tr":K3()}],"rounded-br":[{"rounded-br":K3()}],"rounded-bl":[{"rounded-bl":K3()}],"border-w":[{border:F4()}],"border-w-x":[{"border-x":F4()}],"border-w-y":[{"border-y":F4()}],"border-w-s":[{"border-s":F4()}],"border-w-e":[{"border-e":F4()}],"border-w-t":[{"border-t":F4()}],"border-w-r":[{"border-r":F4()}],"border-w-b":[{"border-b":F4()}],"border-w-l":[{"border-l":F4()}],"divide-x":[{"divide-x":F4()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F4()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ft3(),"hidden","none"]}],"divide-style":[{divide:[...ft3(),"hidden","none"]}],"border-color":[{border:B4()}],"border-color-x":[{"border-x":B4()}],"border-color-y":[{"border-y":B4()}],"border-color-s":[{"border-s":B4()}],"border-color-e":[{"border-e":B4()}],"border-color-t":[{"border-t":B4()}],"border-color-r":[{"border-r":B4()}],"border-color-b":[{"border-b":B4()}],"border-color-l":[{"border-l":B4()}],"divide-color":[{divide:B4()}],"outline-style":[{outline:[...ft3(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,tt,I]}],"outline-w":[{outline:["",dt,ou,rn]}],"outline-color":[{outline:B4()}],shadow:[{shadow:["","none",S4,Mi,Ri]}],"shadow-color":[{shadow:B4()}],"inset-shadow":[{"inset-shadow":["none",A,Mi,Ri]}],"inset-shadow-color":[{"inset-shadow":B4()}],"ring-w":[{ring:F4()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B4()}],"ring-offset-w":[{"ring-offset":[dt,rn]}],"ring-offset-color":[{"ring-offset":B4()}],"inset-ring-w":[{"inset-ring":F4()}],"inset-ring-color":[{"inset-ring":B4()}],"text-shadow":[{"text-shadow":["none",D3,Mi,Ri]}],"text-shadow-color":[{"text-shadow":B4()}],opacity:[{opacity:[dt,tt,I]}],"mix-blend":[{"mix-blend":[...ut4(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ut4()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":mt3()}],"mask-image-linear-to-pos":[{"mask-linear-to":mt3()}],"mask-image-linear-from-color":[{"mask-linear-from":B4()}],"mask-image-linear-to-color":[{"mask-linear-to":B4()}],"mask-image-t-from-pos":[{"mask-t-from":mt3()}],"mask-image-t-to-pos":[{"mask-t-to":mt3()}],"mask-image-t-from-color":[{"mask-t-from":B4()}],"mask-image-t-to-color":[{"mask-t-to":B4()}],"mask-image-r-from-pos":[{"mask-r-from":mt3()}],"mask-image-r-to-pos":[{"mask-r-to":mt3()}],"mask-image-r-from-color":[{"mask-r-from":B4()}],"mask-image-r-to-color":[{"mask-r-to":B4()}],"mask-image-b-from-pos":[{"mask-b-from":mt3()}],"mask-image-b-to-pos":[{"mask-b-to":mt3()}],"mask-image-b-from-color":[{"mask-b-from":B4()}],"mask-image-b-to-color":[{"mask-b-to":B4()}],"mask-image-l-from-pos":[{"mask-l-from":mt3()}],"mask-image-l-to-pos":[{"mask-l-to":mt3()}],"mask-image-l-from-color":[{"mask-l-from":B4()}],"mask-image-l-to-color":[{"mask-l-to":B4()}],"mask-image-x-from-pos":[{"mask-x-from":mt3()}],"mask-image-x-to-pos":[{"mask-x-to":mt3()}],"mask-image-x-from-color":[{"mask-x-from":B4()}],"mask-image-x-to-color":[{"mask-x-to":B4()}],"mask-image-y-from-pos":[{"mask-y-from":mt3()}],"mask-image-y-to-pos":[{"mask-y-to":mt3()}],"mask-image-y-from-color":[{"mask-y-from":B4()}],"mask-image-y-to-color":[{"mask-y-to":B4()}],"mask-image-radial":[{"mask-radial":[tt,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":mt3()}],"mask-image-radial-to-pos":[{"mask-radial-to":mt3()}],"mask-image-radial-from-color":[{"mask-radial-from":B4()}],"mask-image-radial-to-color":[{"mask-radial-to":B4()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k4()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":mt3()}],"mask-image-conic-to-pos":[{"mask-conic-to":mt3()}],"mask-image-conic-from-color":[{"mask-conic-from":B4()}],"mask-image-conic-to-color":[{"mask-conic-to":B4()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ct4()}],"mask-repeat":[{mask: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":B4()}],grayscale:[{grayscale:["",dt,tt,I]}],"hue-rotate":[{"hue-rotate":[dt,tt,I]}],invert:[{invert:["",dt,tt,I]}],saturate:[{saturate:[dt,tt,I]}],sepia:[{sepia:["",dt,tt,I]}],"backdrop-filter":[{"backdrop-filter":["","none",tt,I]}],"backdrop-blur":[{"backdrop-blur":At2()}],"backdrop-brightness":[{"backdrop-brightness":[dt,tt,I]}],"backdrop-contrast":[{"backdrop-contrast":[dt,tt,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,tt,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,tt,I]}],"backdrop-invert":[{"backdrop-invert":["",dt,tt,I]}],"backdrop-opacity":[{"backdrop-opacity":[dt,tt,I]}],"backdrop-saturate":[{"backdrop-saturate":[dt,tt,I]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,tt,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J2()}],"border-spacing-x":[{"border-spacing-x":J2()}],"border-spacing-y":[{"border-spacing-y":J2()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",tt,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",tt,I]}],ease:[{ease:["linear","initial",Y3,tt,I]}],delay:[{delay:[dt,tt,I]}],animate:[{animate:["none",Q3,tt,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[O4,tt,I]}],"perspective-origin":[{"perspective-origin":X4()}],rotate:[{rotate:le4()}],"rotate-x":[{"rotate-x":le4()}],"rotate-y":[{"rotate-y":le4()}],"rotate-z":[{"rotate-z":le4()}],scale:[{scale:He4()}],"scale-x":[{"scale-x":He4()}],"scale-y":[{"scale-y":He4()}],"scale-z":[{"scale-z":He4()}],"scale-3d":["scale-3d"],skew:[{skew:Be4()}],"skew-x":[{"skew-x":Be4()}],"skew-y":[{"skew-y":Be4()}],transform:[{transform:[tt,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:X4()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Le4()}],"translate-x":[{"translate-x":Le4()}],"translate-y":[{"translate-y":Le4()}],"translate-z":[{"translate-z":Le4()}],"translate-none":["translate-none"],accent:[{accent:B4()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B4()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",tt,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J2()}],"scroll-mx":[{"scroll-mx":J2()}],"scroll-my":[{"scroll-my":J2()}],"scroll-ms":[{"scroll-ms":J2()}],"scroll-me":[{"scroll-me":J2()}],"scroll-mt":[{"scroll-mt":J2()}],"scroll-mr":[{"scroll-mr":J2()}],"scroll-mb":[{"scroll-mb":J2()}],"scroll-ml":[{"scroll-ml":J2()}],"scroll-p":[{"scroll-p":J2()}],"scroll-px":[{"scroll-px":J2()}],"scroll-py":[{"scroll-py":J2()}],"scroll-ps":[{"scroll-ps":J2()}],"scroll-pe":[{"scroll-pe":J2()}],"scroll-pt":[{"scroll-pt":J2()}],"scroll-pr":[{"scroll-pr":J2()}],"scroll-pb":[{"scroll-pb":J2()}],"scroll-pl":[{"scroll-pl":J2()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",tt,I]}],fill:[{fill:["none",...B4()]}],"stroke-w":[{stroke:[dt,ou,rn,vo]}],stroke:[{stroke:["none",...B4()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},"getDefaultConfig");var hp=J0(mp);function nv(...u5){return hp(Zh(u5))}__name(nv,"nv");i(nv,"cn");function rS(u5){if(!u5)return u5;const r4=document.createElement("textarea");r4.innerHTML=u5;const f2=r4.value;r4.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:r4,asChild:f2=false,...o5}){const d2=f2?Vh:"span";return Ht.jsx(d2,{"data-slot":"badge",className:nv(vp({variant:r4}),u5),...o5})}__name(oS,"oS");i(oS,"Badge");var gp=kh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function fS({className:u5,variant:r4,size:f2,asChild:o5=false,...d2}){const h=o5?Vh:"button";return Ht.jsx(h,{"data-slot":"button",className:nv(gp({variant:r4,size:f2,className:u5})),...d2})}__name(fS,"fS");i(fS,"Button");function go(u5,r4,{checkForDefaultPrevented:f2=true}={}){return i(__name(function o5(d2){u5?.(d2);if(f2===false||!d2.defaultPrevented){return r4?.(d2)}},"o"),"handleEvent")}__name(go,"go");i(go,"composeEventHandlers");function sS(u5,r4){const f2=z.createContext(r4);const o5=i(h=>{const{children:v2,...y2}=h;const p3=z.useMemo(()=>y2,Object.values(y2));return Ht.jsx(f2.Provider,{value:p3,children:v2})},"Provider");o5.displayName=u5+"Provider";function d2(h){const v2=z.useContext(f2);if(v2)return v2;if(r4!==void 0)return r4;throw new Error(``${h}` must be used within `${u5}``)}__name(d2,"d");i(d2,"useContext2");return[o5,d2]}__name(sS,"sS");i(sS,"createContext2");function av(u5,r4=[]){let f2=[];function o5(h,v2){const y2=z.createContext(v2);const p3=f2.length;f2=[...f2,v2];const g2=i(A=>{const{scope:D3,children:w,...H3}=A;const O4=D3?.[u5]?.[p3]||y2;const U3=z.useMemo(()=>H3,Object.values(H3));return Ht.jsx(O4.Provider,{value:U3,children:w})},"Provider");g2.displayName=h+"Provider";function S4(A,D3){const w=D3?.[u5]?.[p3]||y2;const H3=z.useContext(w);if(H3)return H3;if(v2!==void 0)return v2;throw new Error(``${A}` must be used within `${h}``)}__name(S4,"S");i(S4,"useContext2");return[g2,S4]}__name(o5,"o");i(o5,"createContext3");const d2=i(()=>{const h=f2.map(v2=>{return z.createContext(v2)});return i(__name(function v2(y2){const p3=y2?.[u5]||h;return z.useMemo(()=>({[`__scope${u5}`]:{...y2,[u5]:p3}}),[y2,p3])},"v"),"useScope")},"createScope");d2.scopeName=u5;return[o5,yp(d2,...r4)]}__name(av,"av");i(av,"createContextScope");function yp(...u5){const r4=u5[0];if(u5.length===1)return r4;const f2=i(()=>{const o5=u5.map(d2=>({useScope:d2(),scopeName:d2.scopeName}));return i(__name(function d2(h){const v2=o5.reduce((y2,{useScope:p3,scopeName:g2})=>{const S4=p3(h);const A=S4[`__scope${g2}`];return{...y2,...A}},{});return z.useMemo(()=>({[`__scope${r4.scopeName}`]:v2}),[v2])},"d"),"useComposedScopes")},"createScope");f2.scopeName=r4.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:r4,onChange:f2=i(()=>{},"onChange"),caller:o5}){const[d2,h,v2]=bp({defaultProp:r4,onChange:f2});const y2=u5!==void 0;const p3=y2?u5:d2;{const S4=z.useRef(u5!==void 0);z.useEffect(()=>{const A=S4.current;if(A!==y2){const D3=A?"controlled":"uncontrolled";const w=y2?"controlled":"uncontrolled";console.warn(`${o5} 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.`)}S4.current=y2},[y2,o5])}const g2=z.useCallback(S4=>{if(y2){const A=Sp(S4)?S4(u5):S4;if(A!==u5){v2.current?.(A)}}else{h(S4)}},[y2,u5,h,v2]);return[p3,g2]}__name(dS,"dS");i(dS,"useControllableState");function bp({defaultProp:u5,onChange:r4}){const[f2,o5]=z.useState(u5);const d2=z.useRef(f2);const h=z.useRef(r4);pp(()=>{h.current=r4},[r4]);z.useEffect(()=>{if(d2.current!==f2){h.current?.(f2);d2.current=f2}},[f2,d2]);return[f2,o5,h]}__name(bp,"bp");i(bp,"useUncontrolledState");function Sp(u5){return typeof u5==="function"}__name(Sp,"Sp");i(Sp,"isFunction");var Ep=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"];var sn=Ep.reduce((u5,r4)=>{const f2=Yi(`Primitive.${r4}`);const o5=z.forwardRef((d2,h)=>{const{asChild:v2,...y2}=d2;const p3=v2?f2:r4;if(typeof window!=="undefined"){window[Symbol.for("radix-ui")]=true}return Ht.jsx(p3,{...y2,ref:h})});o5.displayName=`Primitive.${r4}`;return{...u5,[r4]:o5}},{});function xp(u5,r4){if(u5)Bo.flushSync(()=>u5.dispatchEvent(r4))}__name(xp,"xp");i(xp,"dispatchDiscreteCustomEvent");function mS(u5){const r4=u5+"CollectionProvider";const[f2,o5]=av(r4);const[d2,h]=f2(r4,{collectionRef:{current:null},itemMap:new Map});const v2=i(O4=>{const{scope:U3,children:Y3}=O4;const Q3=sl.useRef(null);const Z3=sl.useRef(new Map).current;return Ht.jsx(d2,{scope:U3,itemMap:Z3,collectionRef:Q3,children:Y3})},"CollectionProvider");v2.displayName=r4;const y2=u5+"CollectionSlot";const p3=Yi(y2);const g2=sl.forwardRef((O4,U3)=>{const{scope:Y3,children:Q3}=O4;const Z3=h(y2,Y3);const k4=on(U3,Z3.collectionRef);return Ht.jsx(p3,{ref:k4,children:Q3})});g2.displayName=y2;const S4=u5+"CollectionItemSlot";const A="data-radix-collection-item";const D3=Yi(S4);const w=sl.forwardRef((O4,U3)=>{const{scope:Y3,children:Q3,...Z3}=O4;const k4=sl.useRef(null);const X4=on(U3,k4);const et3=h(S4,Y3);sl.useEffect(()=>{et3.itemMap.set(k4,{ref:k4,...Z3});return()=>void et3.itemMap.delete(k4)});return Ht.jsx(D3,{...{[A]:""},ref:X4,children:Q3})});w.displayName=S4;function H3(O4){const U3=h(u5+"CollectionConsumer",O4);const Y3=sl.useCallback(()=>{const Q3=U3.collectionRef.current;if(!Q3)return[];const Z3=Array.from(Q3.querySelectorAll(`[${A}]`));const k4=Array.from(U3.itemMap.values());const X4=k4.sort((et3,W5)=>Z3.indexOf(et3.ref.current)-Z3.indexOf(W5.ref.current));return X4},[U3.collectionRef,U3.itemMap]);return Y3}__name(H3,"H");i(H3,"useCollection");return[{Provider:v2,Slot:g2,ItemSlot:w},H3,o5]}__name(mS,"mS");i(mS,"createCollection");var Ap=z.createContext(void 0);function hS(u5){const r4=z.useContext(Ap);return u5||r4||"ltr"}__name(hS,"hS");i(hS,"useDirection");function aa(u5){const r4=z.useRef(u5);z.useEffect(()=>{r4.current=u5});return z.useMemo(()=>(...f2)=>r4.current?.(...f2),[])}__name(aa,"aa");i(aa,"useCallbackRef$1");function Tp(u5,r4=globalThis?.document){const f2=aa(u5);z.useEffect(()=>{const o5=i(d2=>{if(d2.key==="Escape"){f2(d2)}},"handleKeyDown");r4.addEventListener("keydown",o5,{capture:true});return()=>r4.removeEventListener("keydown",o5,{capture:true})},[f2,r4])}__name(Tp,"Tp");i(Tp,"useEscapeKeydown");var Op="DismissableLayer";var _o="dismissableLayer.update";var wp="dismissableLayer.pointerDownOutside";var Rp="dismissableLayer.focusOutside";var dh;var uv=z.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var Mp=z.forwardRef((u5,r4)=>{const{disableOutsidePointerEvents:f2=false,onEscapeKeyDown:o5,onPointerDownOutside:d2,onFocusOutside:h,onInteractOutside:v2,onDismiss:y2,...p3}=u5;const g2=z.useContext(uv);const[S4,A]=z.useState(null);const D3=S4?.ownerDocument??globalThis?.document;const[,w]=z.useState({});const H3=on(r4,W5=>A(W5));const O4=Array.from(g2.layers);const[U3]=[...g2.layersWithOutsidePointerEventsDisabled].slice(-1);const Y3=O4.indexOf(U3);const Q3=S4?O4.indexOf(S4):-1;const Z3=g2.layersWithOutsidePointerEventsDisabled.size>0;const k4=Q3>=Y3;const X4=Cp(W5=>{const J2=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J2));if(!k4||rt4)return;d2?.(W5);v2?.(W5);if(!W5.defaultPrevented)y2?.()},D3);const et3=Dp(W5=>{const J2=W5.target;const rt4=[...g2.branches].some(Et3=>Et3.contains(J2));if(rt4)return;h?.(W5);v2?.(W5);if(!W5.defaultPrevented)y2?.()},D3);Tp(W5=>{const J2=Q3===g2.layers.size-1;if(!J2)return;o5?.(W5);if(!W5.defaultPrevented&&y2){W5.preventDefault();y2()}},D3);z.useEffect(()=>{if(!S4)return;if(f2){if(g2.layersWithOutsidePointerEventsDisabled.size===0){dh=D3.body.style.pointerEvents;D3.body.style.pointerEvents="none"}g2.layersWithOutsidePointerEventsDisabled.add(S4)}g2.layers.add(S4);mh();return()=>{if(f2&&g2.layersWithOutsidePointerEventsDisabled.size===1){D3.body.style.pointerEvents=dh}}},[S4,D3,f2,g2]);z.useEffect(()=>{return()=>{if(!S4)return;g2.layers.delete(S4);g2.layersWithOutsidePointerEventsDisabled.delete(S4);mh()}},[S4,g2]);z.useEffect(()=>{const W5=i(()=>w({}),"handleUpdate");document.addEventListener(_o,W5);return()=>document.removeEventListener(_o,W5)},[]);return Ht.jsx(sn.div,{...p3,ref:H3,style:{pointerEvents:Z3?k4?"auto":"none":void 0,...u5.style},onFocusCapture:go(u5.onFocusCapture,et3.onFocusCapture),onBlurCapture:go(u5.onBlurCapture,et3.onBlurCapture),onPointerDownCapture:go(u5.onPointerDownCapture,X4.onPointerDownCapture)})});Mp.displayName=Op;var zp="DismissableLayerBranch";var _p=z.forwardRef((u5,r4)=>{const f2=z.useContext(uv);const o5=z.useRef(null);const d2=on(r4,o5);z.useEffect(()=>{const h=o5.current;if(h){f2.branches.add(h);return()=>{f2.branches.delete(h)}}},[f2.branches]);return Ht.jsx(sn.div,{...u5,ref:d2})});_p.displayName=zp;function Cp(u5,r4=globalThis?.document){const f2=aa(u5);const o5=z.useRef(false);const d2=z.useRef(()=>{});z.useEffect(()=>{const h=i(y2=>{if(y2.target&&!o5.current){let p3=i(function(){iv(wp,f2,g2,{discrete:true})},"handleAndDispatchPointerDownOutsideEvent2");const g2={originalEvent:y2};if(y2.pointerType==="touch"){r4.removeEventListener("click",d2.current);d2.current=p3;r4.addEventListener("click",d2.current,{once:true})}else{p3()}}else{r4.removeEventListener("click",d2.current)}o5.current=false},"handlePointerDown");const v2=window.setTimeout(()=>{r4.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(v2);r4.removeEventListener("pointerdown",h);r4.removeEventListener("click",d2.current)}},[r4,f2]);return{onPointerDownCapture:i(()=>o5.current=true,"onPointerDownCapture")}}__name(Cp,"Cp");i(Cp,"usePointerDownOutside");function Dp(u5,r4=globalThis?.document){const f2=aa(u5);const o5=z.useRef(false);z.useEffect(()=>{const d2=i(h=>{if(h.target&&!o5.current){const v2={originalEvent:h};iv(Rp,f2,v2,{discrete:false})}},"handleFocus");r4.addEventListener("focusin",d2);return()=>r4.removeEventListener("focusin",d2)},[r4,f2]);return{onFocusCapture:i(()=>o5.current=true,"onFocusCapture"),onBlurCapture:i(()=>o5.current=false,"onBlurCapture")}}__name(Dp,"Dp");i(Dp,"useFocusOutside");function mh(){const u5=new CustomEvent(_o);document.dispatchEvent(u5)}__name(mh,"mh");i(mh,"dispatchUpdate");function iv(u5,r4,f2,{discrete:o5}){const d2=f2.originalEvent.target;const h=new CustomEvent(u5,{bubbles:false,cancelable:true,detail:f2});if(r4)d2.addEventListener(u5,r4,{once:true});if(o5){xp(d2,h)}else{d2.dispatchEvent(h)}}__name(iv,"iv");i(iv,"handleAndDispatchCustomEvent");var yo=0;function vS(){z.useEffect(()=>{const u5=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",u5[0]??hh());document.body.insertAdjacentElement("beforeend",u5[1]??hh());yo++;return()=>{if(yo===1){document.querySelectorAll("[data-radix-focus-guard]").forEach(r4=>r4.remove())}yo--}},[])}__name(vS,"vS");i(vS,"useFocusGuards");function hh(){const u5=document.createElement("span");u5.setAttribute("data-radix-focus-guard","");u5.tabIndex=0;u5.style.outline="none";u5.style.opacity="0";u5.style.position="fixed";u5.style.pointerEvents="none";return u5}__name(hh,"hh");i(hh,"createFocusGuard");var po="focusScope.autoFocusOnMount";var bo="focusScope.autoFocusOnUnmount";var vh={bubbles:false,cancelable:true};var Np="FocusScope";var Up=z.forwardRef((u5,r4)=>{const{loop:f2=false,trapped:o5=false,onMountAutoFocus:d2,onUnmountAutoFocus:h,...v2}=u5;const[y2,p3]=z.useState(null);const g2=aa(d2);const S4=aa(h);const A=z.useRef(null);const D3=on(r4,O4=>p3(O4));const w=z.useRef({paused:false,pause(){this.paused=true},resume(){this.paused=false}}).current;z.useEffect(()=>{if(o5){let O4=i(function(Z3){if(w.paused||!y2)return;const k4=Z3.target;if(y2.contains(k4)){A.current=k4}else{jl(A.current,{select:true})}},"handleFocusIn2"),U3=i(function(Z3){if(w.paused||!y2)return;const k4=Z3.relatedTarget;if(k4===null)return;if(!y2.contains(k4)){jl(A.current,{select:true})}},"handleFocusOut2"),Y3=i(function(Z3){const k4=document.activeElement;if(k4!==document.body)return;for(const X4 of Z3){if(X4.removedNodes.length>0)jl(y2)}},"handleMutations2");document.addEventListener("focusin",O4);document.addEventListener("focusout",U3);const Q3=new MutationObserver(Y3);if(y2)Q3.observe(y2,{childList:true,subtree:true});return()=>{document.removeEventListener("focusin",O4);document.removeEventListener("focusout",U3);Q3.disconnect()}}},[o5,y2,w.paused]);z.useEffect(()=>{if(y2){yh.add(w);const O4=document.activeElement;const U3=y2.contains(O4);if(!U3){const Y3=new CustomEvent(po,vh);y2.addEventListener(po,g2);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){Hp(jp(cv(y2)),{select:true});if(document.activeElement===O4){jl(y2)}}}return()=>{y2.removeEventListener(po,g2);setTimeout(()=>{const Y3=new CustomEvent(bo,vh);y2.addEventListener(bo,S4);y2.dispatchEvent(Y3);if(!Y3.defaultPrevented){jl(O4??document.body,{select:true})}y2.removeEventListener(bo,S4);yh.remove(w)},0)}}},[y2,g2,S4,w]);const H3=z.useCallback(O4=>{if(!f2&&!o5)return;if(w.paused)return;const U3=O4.key==="Tab"&&!O4.altKey&&!O4.ctrlKey&&!O4.metaKey;const Y3=document.activeElement;if(U3&&Y3){const Q3=O4.currentTarget;const[Z3,k4]=Bp(Q3);const X4=Z3&&k4;if(!X4){if(Y3===Q3)O4.preventDefault()}else{if(!O4.shiftKey&&Y3===k4){O4.preventDefault();if(f2)jl(Z3,{select:true})}else if(O4.shiftKey&&Y3===Z3){O4.preventDefault();if(f2)jl(k4,{select:true})}}}},[f2,o5,w.paused]);return Ht.jsx(sn.div,{tabIndex:-1,...v2,ref:D3,onKeyDown:H3})});Up.displayName=Np;function Hp(u5,{select:r4=false}={}){const f2=document.activeElement;for(const o5 of u5){jl(o5,{select:r4});if(document.activeElement!==f2)return}}__name(Hp,"Hp");i(Hp,"focusFirst");function Bp(u5){const r4=cv(u5);const f2=gh(r4,u5);const o5=gh(r4.reverse(),u5);return[f2,o5]}__name(Bp,"Bp");i(Bp,"getTabbableEdges");function cv(u5){const r4=[];const f2=document.createTreeWalker(u5,NodeFilter.SHOW_ELEMENT,{acceptNode:i(o5=>{const d2=o5.tagName==="INPUT"&&o5.type==="hidden";if(o5.disabled||o5.hidden||d2)return NodeFilter.FILTER_SKIP;return o5.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(f2.nextNode())r4.push(f2.currentNode);return r4}__name(cv,"cv");i(cv,"getTabbableCandidates");function gh(u5,r4){for(const f2 of u5){if(!Lp(f2,{upTo:r4}))return f2}}__name(gh,"gh");i(gh,"findVisible");function Lp(u5,{upTo:r4}){if(getComputedStyle(u5).visibility==="hidden")return true;while(u5){if(r4!==void 0&&u5===r4)return false;if(getComputedStyle(u5).display==="none")return true;u5=u5.parentElement}return false}__name(Lp,"Lp");i(Lp,"isHidden");function qp(u5){return u5 instanceof HTMLInputElement&&"select"in u5}__name(qp,"qp");i(qp,"isSelectableInput");function jl(u5,{select:r4=false}={}){if(u5&&u5.focus){const f2=document.activeElement;u5.focus({preventScroll:true});if(u5!==f2&&qp(u5)&&r4)u5.select()}}__name(jl,"jl");i(jl,"focus");var yh=Yp();function Yp(){let u5=[];return{add(r4){const f2=u5[0];if(r4!==f2){f2?.pause()}u5=ph(u5,r4);u5.unshift(r4)},remove(r4){u5=ph(u5,r4);u5[0]?.resume()}}}__name(Yp,"Yp");i(Yp,"createFocusScopesStack");function ph(u5,r4){const f2=[...u5];const o5=f2.indexOf(r4);if(o5!==-1){f2.splice(o5,1)}return f2}__name(ph,"ph");i(ph,"arrayRemove");function jp(u5){return u5.filter(r4=>r4.tagName!=="A")}__name(jp,"jp");i(jp,"removeLinks");var Gp=Qi[" useId ".trim().toString()]||(()=>void 0);var Xp=0;function gS(u5){const[r4,f2]=z.useState(Gp());na(()=>{f2(o5=>o5??String(Xp++))},[u5]);return u5||(r4?`radix-${r4}`:"")}__name(gS,"gS");i(gS,"useId");var Vp=["top","right","bottom","left"];var Gl=Math.min;var pe=Math.max;var ji=Math.round;var zi=Math.floor;var ke=i(u5=>({x:u5,y:u5}),"createCoords");var Qp={left:"right",right:"left",bottom:"top",top:"bottom"};var Zp={start:"end",end:"start"};function Co(u5,r4,f2){return pe(u5,Gl(r4,f2))}__name(Co,"Co");i(Co,"clamp");function dl(u5,r4){return typeof u5==="function"?u5(r4):u5}__name(dl,"dl");i(dl,"evaluate");function ml(u5){return u5.split("-")[0]}__name(ml,"ml");i(ml,"getSide");function ra(u5){return u5.split("-")[1]}__name(ra,"ra");i(ra,"getAlignment");function jo(u5){return u5==="x"?"y":"x"}__name(jo,"jo");i(jo,"getOppositeAxis");function Go(u5){return u5==="y"?"height":"width"}__name(Go,"Go");i(Go,"getAxisLength");var kp=new Set(["top","bottom"]);function Ze(u5){return kp.has(ml(u5))?"y":"x"}__name(Ze,"Ze");i(Ze,"getSideAxis");function Xo(u5){return jo(Ze(u5))}__name(Xo,"Xo");i(Xo,"getAlignmentAxis");function Kp(u5,r4,f2){if(f2===void 0){f2=false}const o5=ra(u5);const d2=Xo(u5);const h=Go(d2);let v2=d2==="x"?o5===(f2?"end":"start")?"right":"left":o5==="start"?"bottom":"top";if(r4.reference[h]>r4.floating[h]){v2=Gi(v2)}return[v2,Gi(v2)]}__name(Kp,"Kp");i(Kp,"getAlignmentSides");function Jp(u5){const r4=Gi(u5);return[Do(u5),r4,Do(r4)]}__name(Jp,"Jp");i(Jp,"getExpandedPlacements");function Do(u5){return u5.replace(/start|end/g,r4=>Zp[r4])}__name(Do,"Do");i(Do,"getOppositeAlignmentPlacement");var bh=["left","right"];var Sh=["right","left"];var Wp=["top","bottom"];var $p=["bottom","top"];function Fp(u5,r4,f2){switch(u5){case"top":case"bottom":if(f2)return r4?Sh:bh;return r4?bh:Sh;case"left":case"right":return r4?Wp:$p;default:return[]}}__name(Fp,"Fp");i(Fp,"getSideList");function Pp(u5,r4,f2,o5){const d2=ra(u5);let h=Fp(ml(u5),f2==="start",o5);if(d2){h=h.map(v2=>v2+"-"+d2);if(r4){h=h.concat(h.map(Do))}}return h}__name(Pp,"Pp");i(Pp,"getOppositeAxisPlacements");function Gi(u5){return u5.replace(/left|right|bottom|top/g,r4=>Qp[r4])}__name(Gi,"Gi");i(Gi,"getOppositePlacement");function Ip(u5){return{top:0,right:0,bottom:0,left:0,...u5}}__name(Ip,"Ip");i(Ip,"expandPaddingObject");function rv(u5){return typeof u5!=="number"?Ip(u5):{top:u5,right:u5,bottom:u5,left:u5}}__name(rv,"rv");i(rv,"getPaddingObject");function Xi(u5){const{x:r4,y:f2,width:o5,height:d2}=u5;return{width:o5,height:d2,top:f2,left:r4,right:r4+o5,bottom:f2+d2,x:r4,y:f2}}__name(Xi,"Xi");i(Xi,"rectToClientRect");function Eh(u5,r4,f2){let{reference:o5,floating:d2}=u5;const h=Ze(r4);const v2=Xo(r4);const y2=Go(v2);const p3=ml(r4);const g2=h==="y";const S4=o5.x+o5.width/2-d2.width/2;const A=o5.y+o5.height/2-d2.height/2;const D3=o5[y2]/2-d2[y2]/2;let w;switch(p3){case"top":w={x:S4,y:o5.y-d2.height};break;case"bottom":w={x:S4,y:o5.y+o5.height};break;case"right":w={x:o5.x+o5.width,y:A};break;case"left":w={x:o5.x-d2.width,y:A};break;default:w={x:o5.x,y:o5.y}}switch(ra(r4)){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,r4,f2)=>{const{placement:o5="bottom",strategy:d2="absolute",middleware:h=[],platform:v2}=f2;const y2=h.filter(Boolean);const p3=await(v2.isRTL==null?void 0:v2.isRTL(r4));let g2=await v2.getElementRects({reference:u5,floating:r4,strategy:d2});let{x:S4,y:A}=Eh(g2,o5,p3);let D3=o5;let w={};let H3=0;for(let O4=0;O4({name:"arrow",options:u5,async fn(r4){const{x:f2,y:o5,placement:d2,rects:h,platform:v2,elements:y2,middlewareData:p3}=r4;const{element:g2,padding:S4=0}=dl(u5,r4)||{};if(g2==null){return{}}const A=rv(S4);const D3={x:f2,y:o5};const w=Xo(d2);const H3=Go(w);const O4=await v2.getDimensions(g2);const U3=w==="y";const Y3=U3?"top":"left";const Q3=U3?"bottom":"right";const Z3=U3?"clientHeight":"clientWidth";const k4=h.reference[H3]+h.reference[w]-D3[w]-h.floating[H3];const X4=D3[w]-h.reference[w];const et3=await(v2.getOffsetParent==null?void 0:v2.getOffsetParent(g2));let W5=et3?et3[Z3]:0;if(!W5||!await(v2.isElement==null?void 0:v2.isElement(et3))){W5=y2.floating[Z3]||h.floating[H3]}const J2=k4/2-X4/2;const rt4=W5/2-O4[H3]/2-1;const Et3=Gl(A[Y3],rt4);const Mt2=Gl(A[Q3],rt4);const vt2=Et3;const Ot2=W5-O4[H3]-Mt2;const St2=W5/2-O4[H3]/2+J2;const gt3=Co(vt2,St2,Ot2);const C3=!p3.arrow&&ra(d2)!=null&&St2!==gt3&&h.reference[H3]/2-(St2St2<=0)){var Mt2,vt2;const St2=(((Mt2=h.flip)==null?void 0:Mt2.index)||0)+1;const gt3=W5[St2];if(gt3){const V=A==="alignment"?Q3!==Ze(gt3):false;if(!V||Et3.every(B4=>B4.overflows[0]>0&&Ze(B4.placement)===Q3)){return{data:{index:St2,overflows:Et3},reset:{placement:gt3}}}}let C3=(vt2=Et3.filter(V=>V.overflows[0]<=0).sort((V,B4)=>V.overflows[1]-B4.overflows[1])[0])==null?void 0:vt2.placement;if(!C3){switch(w){case"bestFit":{var Ot2;const V=(Ot2=Et3.filter(B4=>{if(et3){const ct4=Ze(B4.placement);return ct4===Q3||ct4==="y"}return true}).map(B4=>[B4.placement,B4.overflows.filter(ct4=>ct4>0).reduce((ct4,E5)=>ct4+E5,0)]).sort((B4,ct4)=>B4[1]-ct4[1])[0])==null?void 0:Ot2[0];if(V){C3=V}break}case"initialPlacement":C3=y2;break}}if(d2!==C3){return{reset:{placement:C3}}}}return{}}}},"flip$2");function xh(u5,r4){return{top:u5.top-r4.height,right:u5.right-r4.width,bottom:u5.bottom-r4.height,left:u5.left-r4.width}}__name(xh,"xh");i(xh,"getSideOffsets");function Ah(u5){return Vp.some(r4=>u5[r4]>=0)}__name(Ah,"Ah");i(Ah,"isAnySideFullyClipped");var nb=i(function(u5){if(u5===void 0){u5={}}return{name:"hide",options:u5,async fn(r4){const{rects:f2}=r4;const{strategy:o5="referenceHidden",...d2}=dl(u5,r4);switch(o5){case"referenceHidden":{const h=await fu(r4,{...d2,elementContext:"reference"});const v2=xh(h,f2.reference);return{data:{referenceHiddenOffsets:v2,referenceHidden:Ah(v2)}}}case"escaped":{const h=await fu(r4,{...d2,altBoundary:true});const v2=xh(h,f2.floating);return{data:{escapedOffsets:v2,escaped:Ah(v2)}}}default:{return{}}}}}},"hide$2");var ov=new Set(["left","top"]);async function ab(u5,r4){const{placement:f2,platform:o5,elements:d2}=u5;const h=await(o5.isRTL==null?void 0:o5.isRTL(d2.floating));const v2=ml(f2);const y2=ra(f2);const p3=Ze(f2)==="y";const g2=ov.has(v2)?-1:1;const S4=h&&p3?-1:1;const A=dl(r4,u5);let{mainAxis:D3,crossAxis:w,alignmentAxis:H3}=typeof A==="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};if(y2&&typeof H3==="number"){w=y2==="end"?H3*-1:H3}return p3?{x:w*S4,y:D3*g2}:{x:D3*g2,y:w*S4}}__name(ab,"ab");i(ab,"convertValueToCoords");var ub=i(function(u5){if(u5===void 0){u5=0}return{name:"offset",options:u5,async fn(r4){var f2,o5;const{x:d2,y:h,placement:v2,middlewareData:y2}=r4;const p3=await ab(r4,u5);if(v2===((f2=y2.offset)==null?void 0:f2.placement)&&(o5=y2.arrow)!=null&&o5.alignmentOffset){return{}}return{x:d2+p3.x,y:h+p3.y,data:{...p3,placement:v2}}}}},"offset$2");var ib=i(function(u5){if(u5===void 0){u5={}}return{name:"shift",options:u5,async fn(r4){const{x:f2,y:o5,placement:d2}=r4;const{mainAxis:h=true,crossAxis:v2=false,limiter:y2={fn:i(U3=>{let{x:Y3,y:Q3}=U3;return{x:Y3,y:Q3}},"fn")},...p3}=dl(u5,r4);const g2={x:f2,y:o5};const S4=await fu(r4,p3);const A=Ze(ml(d2));const D3=jo(A);let w=g2[D3];let H3=g2[A];if(h){const U3=D3==="y"?"top":"left";const Y3=D3==="y"?"bottom":"right";const Q3=w+S4[U3];const Z3=w-S4[Y3];w=Co(Q3,w,Z3)}if(v2){const U3=A==="y"?"top":"left";const Y3=A==="y"?"bottom":"right";const Q3=H3+S4[U3];const Z3=H3-S4[Y3];H3=Co(Q3,H3,Z3)}const O4=y2.fn({...r4,[D3]:w,[A]:H3});return{...O4,data:{x:O4.x-f2,y:O4.y-o5,enabled:{[D3]:h,[A]:v2}}}}}},"shift$2");var cb=i(function(u5){if(u5===void 0){u5={}}return{options:u5,fn(r4){const{x:f2,y:o5,placement:d2,rects:h,middlewareData:v2}=r4;const{offset:y2=0,mainAxis:p3=true,crossAxis:g2=true}=dl(u5,r4);const S4={x:f2,y:o5};const A=Ze(d2);const D3=jo(A);let w=S4[D3];let H3=S4[A];const O4=dl(y2,r4);const U3=typeof O4==="number"?{mainAxis:O4,crossAxis:0}:{mainAxis:0,crossAxis:0,...O4};if(p3){const Z3=D3==="y"?"height":"width";const k4=h.reference[D3]-h.floating[Z3]+U3.mainAxis;const X4=h.reference[D3]+h.reference[Z3]-U3.mainAxis;if(wX4){w=X4}}if(g2){var Y3,Q3;const Z3=D3==="y"?"width":"height";const k4=ov.has(ml(d2));const X4=h.reference[A]-h.floating[Z3]+(k4?((Y3=v2.offset)==null?void 0:Y3[A])||0:0)+(k4?0:U3.crossAxis);const et3=h.reference[A]+h.reference[Z3]+(k4?0:((Q3=v2.offset)==null?void 0:Q3[A])||0)-(k4?U3.crossAxis:0);if(H3et3){H3=et3}}return{[D3]:w,[A]:H3}}}},"limitShift$2");var rb=i(function(u5){if(u5===void 0){u5={}}return{name:"size",options:u5,async fn(r4){var f2,o5;const{placement:d2,rects:h,platform:v2,elements:y2}=r4;const{apply:p3=i(()=>{},"apply"),...g2}=dl(u5,r4);const S4=await fu(r4,g2);const A=ml(d2);const D3=ra(d2);const w=Ze(d2)==="y";const{width:H3,height:O4}=h.floating;let U3;let Y3;if(A==="top"||A==="bottom"){U3=A;Y3=D3===(await(v2.isRTL==null?void 0:v2.isRTL(y2.floating))?"start":"end")?"left":"right"}else{Y3=A;U3=D3==="end"?"top":"bottom"}const Q3=O4-S4.top-S4.bottom;const Z3=H3-S4.left-S4.right;const k4=Gl(O4-S4[U3],Q3);const X4=Gl(H3-S4[Y3],Z3);const et3=!r4.middlewareData.shift;let W5=k4;let J2=X4;if((f2=r4.middlewareData.shift)!=null&&f2.enabled.x){J2=Z3}if((o5=r4.middlewareData.shift)!=null&&o5.enabled.y){W5=Q3}if(et3&&!D3){const Et3=pe(S4.left,0);const Mt2=pe(S4.right,0);const vt2=pe(S4.top,0);const Ot2=pe(S4.bottom,0);if(w){J2=H3-2*(Et3!==0||Mt2!==0?Et3+Mt2:pe(S4.left,S4.right))}else{W5=O4-2*(vt2!==0||Ot2!==0?vt2+Ot2:pe(S4.top,S4.bottom))}}await p3({...r4,availableWidth:J2,availableHeight:W5});const rt4=await v2.getDimensions(y2.floating);if(H3!==rt4.width||O4!==rt4.height){return{reset:{rects:true}}}return{}}}},"size$2");function Zi(){return typeof window!=="undefined"}__name(Zi,"Zi");i(Zi,"hasWindow");function oa(u5){if(fv(u5)){return(u5.nodeName||"").toLowerCase()}return"#document"}__name(oa,"oa");i(oa,"getNodeName");function be(u5){var r4;return(u5==null||(r4=u5.ownerDocument)==null?void 0:r4.defaultView)||window}__name(be,"be");i(be,"getWindow");function Je(u5){var r4;return(r4=(fv(u5)?u5.ownerDocument:u5.document)||window.document)==null?void 0:r4.documentElement}__name(Je,"Je");i(Je,"getDocumentElement");function fv(u5){if(!Zi()){return false}return u5 instanceof Node||u5 instanceof be(u5).Node}__name(fv,"fv");i(fv,"isNode");function Ne(u5){if(!Zi()){return false}return u5 instanceof Element||u5 instanceof be(u5).Element}__name(Ne,"Ne");i(Ne,"isElement");function Ke(u5){if(!Zi()){return false}return u5 instanceof HTMLElement||u5 instanceof be(u5).HTMLElement}__name(Ke,"Ke");i(Ke,"isHTMLElement");function Th(u5){if(!Zi()||typeof ShadowRoot==="undefined"){return false}return u5 instanceof ShadowRoot||u5 instanceof be(u5).ShadowRoot}__name(Th,"Th");i(Th,"isShadowRoot");var ob=new Set(["inline","contents"]);function du(u5){const{overflow:r4,overflowX:f2,overflowY:o5,display:d2}=Ue(u5);return/auto|scroll|overlay|hidden|clip/.test(r4+o5+f2)&&!ob.has(d2)}__name(du,"du");i(du,"isOverflowElement");var fb=new Set(["table","td","th"]);function sb(u5){return fb.has(oa(u5))}__name(sb,"sb");i(sb,"isTableElement");var db=[":popover-open",":modal"];function ki(u5){return db.some(r4=>{try{return u5.matches(r4)}catch(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 r4=Qo();const f2=Ne(u5)?Ue(u5):u5;return mb.some(o5=>f2[o5]?f2[o5]!=="none":false)||(f2.containerType?f2.containerType!=="normal":false)||!r4&&(f2.backdropFilter?f2.backdropFilter!=="none":false)||!r4&&(f2.filter?f2.filter!=="none":false)||hb.some(o5=>(f2.willChange||"").includes(o5))||vb.some(o5=>(f2.contain||"").includes(o5))}__name(Vo,"Vo");i(Vo,"isContainingBlock");function gb(u5){let r4=Xl(u5);while(Ke(r4)&&!ua(r4)){if(Vo(r4)){return r4}else if(ki(r4)){return null}r4=Xl(r4)}return null}__name(gb,"gb");i(gb,"getContainingBlock");function Qo(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}__name(Qo,"Qo");i(Qo,"isWebKit");var yb=new Set(["html","body","#document"]);function ua(u5){return yb.has(oa(u5))}__name(ua,"ua");i(ua,"isLastTraversableNode");function Ue(u5){return be(u5).getComputedStyle(u5)}__name(Ue,"Ue");i(Ue,"getComputedStyle$1");function Ki(u5){if(Ne(u5)){return{scrollLeft:u5.scrollLeft,scrollTop:u5.scrollTop}}return{scrollLeft:u5.scrollX,scrollTop:u5.scrollY}}__name(Ki,"Ki");i(Ki,"getNodeScroll");function Xl(u5){if(oa(u5)==="html"){return u5}const r4=u5.assignedSlot||u5.parentNode||Th(u5)&&u5.host||Je(u5);return Th(r4)?r4.host:r4}__name(Xl,"Xl");i(Xl,"getParentNode");function sv(u5){const r4=Xl(u5);if(ua(r4)){return u5.ownerDocument?u5.ownerDocument.body:u5.body}if(Ke(r4)&&du(r4)){return r4}return sv(r4)}__name(sv,"sv");i(sv,"getNearestOverflowAncestor");function su(u5,r4,f2){var o5;if(r4===void 0){r4=[]}if(f2===void 0){f2=true}const d2=sv(u5);const h=d2===((o5=u5.ownerDocument)==null?void 0:o5.body);const v2=be(d2);if(h){const y2=No(v2);return r4.concat(v2,v2.visualViewport||[],du(d2)?d2:[],y2&&f2?su(y2):[])}return r4.concat(d2,su(d2,[],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 r4=Ue(u5);let f2=parseFloat(r4.width)||0;let o5=parseFloat(r4.height)||0;const d2=Ke(u5);const h=d2?u5.offsetWidth:f2;const v2=d2?u5.offsetHeight:o5;const y2=ji(f2)!==h||ji(o5)!==v2;if(y2){f2=h;o5=v2}return{width:f2,height:o5,$:y2}}__name(dv,"dv");i(dv,"getCssDimensions");function Zo(u5){return!Ne(u5)?u5.contextElement:u5}__name(Zo,"Zo");i(Zo,"unwrapElement");function ea(u5){const r4=Zo(u5);if(!Ke(r4)){return ke(1)}const f2=r4.getBoundingClientRect();const{width:o5,height:d2,$:h}=dv(r4);let v2=(h?ji(f2.width):f2.width)/o5;let y2=(h?ji(f2.height):f2.height)/d2;if(!v2||!Number.isFinite(v2)){v2=1}if(!y2||!Number.isFinite(y2)){y2=1}return{x:v2,y:y2}}__name(ea,"ea");i(ea,"getScale");var pb=ke(0);function mv(u5){const r4=be(u5);if(!Qo()||!r4.visualViewport){return pb}return{x:r4.visualViewport.offsetLeft,y:r4.visualViewport.offsetTop}}__name(mv,"mv");i(mv,"getVisualOffsets");function bb(u5,r4,f2){if(r4===void 0){r4=false}if(!f2||r4&&f2!==be(u5)){return false}return r4}__name(bb,"bb");i(bb,"shouldAddVisualOffsets");function fn(u5,r4,f2,o5){if(r4===void 0){r4=false}if(f2===void 0){f2=false}const d2=u5.getBoundingClientRect();const h=Zo(u5);let v2=ke(1);if(r4){if(o5){if(Ne(o5)){v2=ea(o5)}}else{v2=ea(u5)}}const y2=bb(h,f2,o5)?mv(h):ke(0);let p3=(d2.left+y2.x)/v2.x;let g2=(d2.top+y2.y)/v2.y;let S4=d2.width/v2.x;let A=d2.height/v2.y;if(h){const D3=be(h);const w=o5&&Ne(o5)?be(o5):o5;let H3=D3;let O4=No(H3);while(O4&&o5&&w!==H3){const U3=ea(O4);const Y3=O4.getBoundingClientRect();const Q3=Ue(O4);const Z3=Y3.left+(O4.clientLeft+parseFloat(Q3.paddingLeft))*U3.x;const k4=Y3.top+(O4.clientTop+parseFloat(Q3.paddingTop))*U3.y;p3*=U3.x;g2*=U3.y;S4*=U3.x;A*=U3.y;p3+=Z3;g2+=k4;H3=be(O4);O4=No(H3)}}return Xi({width:S4,height:A,x:p3,y:g2})}__name(fn,"fn");i(fn,"getBoundingClientRect");function ko(u5,r4){const f2=Ki(u5).scrollLeft;if(!r4){return fn(Je(u5)).left+f2}return r4.left+f2}__name(ko,"ko");i(ko,"getWindowScrollBarX");function hv(u5,r4,f2){if(f2===void 0){f2=false}const o5=u5.getBoundingClientRect();const d2=o5.left+r4.scrollLeft-(f2?0:ko(u5,o5));const h=o5.top+r4.scrollTop;return{x:d2,y:h}}__name(hv,"hv");i(hv,"getHTMLOffset");function Sb(u5){let{elements:r4,rect:f2,offsetParent:o5,strategy:d2}=u5;const h=d2==="fixed";const v2=Je(o5);const y2=r4?ki(r4.floating):false;if(o5===v2||y2&&h){return f2}let p3={scrollLeft:0,scrollTop:0};let g2=ke(1);const S4=ke(0);const A=Ke(o5);if(A||!A&&!h){if(oa(o5)!=="body"||du(v2)){p3=Ki(o5)}if(Ke(o5)){const w=fn(o5);g2=ea(o5);S4.x=w.x+o5.clientLeft;S4.y=w.y+o5.clientTop}}const D3=v2&&!A&&!h?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+S4.x+D3.x,y:f2.y*g2.y-p3.scrollTop*g2.y+S4.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 r4=Je(u5);const f2=Ki(u5);const o5=u5.ownerDocument.body;const d2=pe(r4.scrollWidth,r4.clientWidth,o5.scrollWidth,o5.clientWidth);const h=pe(r4.scrollHeight,r4.clientHeight,o5.scrollHeight,o5.clientHeight);let v2=-f2.scrollLeft+ko(u5);const y2=-f2.scrollTop;if(Ue(o5).direction==="rtl"){v2+=pe(r4.clientWidth,o5.clientWidth)-d2}return{width:d2,height:h,x:v2,y:y2}}__name(xb,"xb");i(xb,"getDocumentRect");function Ab(u5,r4){const f2=be(u5);const o5=Je(u5);const d2=f2.visualViewport;let h=o5.clientWidth;let v2=o5.clientHeight;let y2=0;let p3=0;if(d2){h=d2.width;v2=d2.height;const g2=Qo();if(!g2||g2&&r4==="fixed"){y2=d2.offsetLeft;p3=d2.offsetTop}}return{width:h,height:v2,x:y2,y:p3}}__name(Ab,"Ab");i(Ab,"getViewportRect");var Tb=new Set(["absolute","fixed"]);function Ob(u5,r4){const f2=fn(u5,true,r4==="fixed");const o5=f2.top+u5.clientTop;const d2=f2.left+u5.clientLeft;const h=Ke(u5)?ea(u5):ke(1);const v2=u5.clientWidth*h.x;const y2=u5.clientHeight*h.y;const p3=d2*h.x;const g2=o5*h.y;return{width:v2,height:y2,x:p3,y:g2}}__name(Ob,"Ob");i(Ob,"getInnerBoundingClientRect");function Oh(u5,r4,f2){let o5;if(r4==="viewport"){o5=Ab(u5,f2)}else if(r4==="document"){o5=xb(Je(u5))}else if(Ne(r4)){o5=Ob(r4,f2)}else{const d2=mv(u5);o5={x:r4.x-d2.x,y:r4.y-d2.y,width:r4.width,height:r4.height}}return Xi(o5)}__name(Oh,"Oh");i(Oh,"getClientRectFromClippingAncestor");function vv(u5,r4){const f2=Xl(u5);if(f2===r4||!Ne(f2)||ua(f2)){return false}return Ue(f2).position==="fixed"||vv(f2,r4)}__name(vv,"vv");i(vv,"hasFixedPositionAncestor");function wb(u5,r4){const f2=r4.get(u5);if(f2){return f2}let o5=su(u5,[],false).filter(y2=>Ne(y2)&&oa(y2)!=="body");let d2=null;const h=Ue(u5).position==="fixed";let v2=h?Xl(u5):u5;while(Ne(v2)&&!ua(v2)){const y2=Ue(v2);const p3=Vo(v2);if(!p3&&y2.position==="fixed"){d2=null}const g2=h?!p3&&!d2:!p3&&y2.position==="static"&&!!d2&&Tb.has(d2.position)||du(v2)&&!p3&&vv(u5,v2);if(g2){o5=o5.filter(S4=>S4!==v2)}else{d2=y2}v2=Xl(v2)}r4.set(u5,o5);return o5}__name(wb,"wb");i(wb,"getClippingElementAncestors");function Rb(u5){let{element:r4,boundary:f2,rootBoundary:o5,strategy:d2}=u5;const h=f2==="clippingAncestors"?ki(r4)?[]:wb(r4,this._c):[].concat(f2);const v2=[...h,o5];const y2=v2[0];const p3=v2.reduce((g2,S4)=>{const A=Oh(r4,S4,d2);g2.top=pe(A.top,g2.top);g2.right=Gl(A.right,g2.right);g2.bottom=Gl(A.bottom,g2.bottom);g2.left=pe(A.left,g2.left);return g2},Oh(r4,y2,d2));return{width:p3.right-p3.left,height:p3.bottom-p3.top,x:p3.left,y:p3.top}}__name(Rb,"Rb");i(Rb,"getClippingRect");function Mb(u5){const{width:r4,height:f2}=dv(u5);return{width:r4,height:f2}}__name(Mb,"Mb");i(Mb,"getDimensions");function zb(u5,r4,f2){const o5=Ke(r4);const d2=Je(r4);const h=f2==="fixed";const v2=fn(u5,true,h,r4);let y2={scrollLeft:0,scrollTop:0};const p3=ke(0);function g2(){p3.x=ko(d2)}__name(g2,"g");i(g2,"setLeftRTLScrollbarOffset");if(o5||!o5&&!h){if(oa(r4)!=="body"||du(d2)){y2=Ki(r4)}if(o5){const w=fn(r4,true,h,r4);p3.x=w.x+r4.clientLeft;p3.y=w.y+r4.clientTop}else if(d2){g2()}}if(h&&!o5&&d2){g2()}const S4=d2&&!o5&&!h?hv(d2,y2):ke(0);const A=v2.left+y2.scrollLeft-p3.x-S4.x;const D3=v2.top+y2.scrollTop-p3.y-S4.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,r4){if(!Ke(u5)||Ue(u5).position==="fixed"){return null}if(r4){return r4(u5)}let f2=u5.offsetParent;if(Je(u5)===f2){f2=f2.ownerDocument.body}return f2}__name(wh,"wh");i(wh,"getTrueOffsetParent");function gv(u5,r4){const f2=be(u5);if(ki(u5)){return f2}if(!Ke(u5)){let d2=Xl(u5);while(d2&&!ua(d2)){if(Ne(d2)&&!So(d2)){return d2}d2=Xl(d2)}return f2}let o5=wh(u5,r4);while(o5&&sb(o5)&&So(o5)){o5=wh(o5,r4)}if(o5&&ua(o5)&&So(o5)&&!Vo(o5)){return f2}return o5||gb(u5)||f2}__name(gv,"gv");i(gv,"getOffsetParent");var _b=i(async function(u5){const r4=this.getOffsetParent||gv;const f2=this.getDimensions;const o5=await f2(u5.floating);return{reference:zb(u5.reference,await r4(u5.floating),u5.strategy),floating:{x:0,y:0,width:o5.width,height:o5.height}}},"getElementRects");function Cb(u5){return Ue(u5).direction==="rtl"}__name(Cb,"Cb");i(Cb,"isRTL");var Db={convertOffsetParentRelativeRectToViewportRelativeRect:Sb,getDocumentElement:Je,getClippingRect:Rb,getOffsetParent:gv,getElementRects:_b,getClientRects:Eb,getDimensions:Mb,getScale:ea,isElement:Ne,isRTL:Cb};function yv(u5,r4){return u5.x===r4.x&&u5.y===r4.y&&u5.width===r4.width&&u5.height===r4.height}__name(yv,"yv");i(yv,"rectsAreEqual");function Nb(u5,r4){let f2=null;let o5;const d2=Je(u5);function h(){var y2;clearTimeout(o5);(y2=f2)==null||y2.disconnect();f2=null}__name(h,"h");i(h,"cleanup");function v2(y2,p3){if(y2===void 0){y2=false}if(p3===void 0){p3=1}h();const g2=u5.getBoundingClientRect();const{left:S4,top:A,width:D3,height:w}=g2;if(!y2){r4()}if(!D3||!w){return}const H3=zi(A);const O4=zi(d2.clientWidth-(S4+D3));const U3=zi(d2.clientHeight-(A+w));const Y3=zi(S4);const Q3=-H3+"px "+-O4+"px "+-U3+"px "+-Y3+"px";const Z3={rootMargin:Q3,threshold:pe(0,Gl(1,p3))||1};let k4=true;function X4(et3){const W5=et3[0].intersectionRatio;if(W5!==p3){if(!k4){return v2()}if(!W5){o5=setTimeout(()=>{v2(false,1e-7)},1e3)}else{v2(false,W5)}}if(W5===1&&!yv(g2,u5.getBoundingClientRect())){v2()}k4=false}__name(X4,"X");i(X4,"handleObserve");try{f2=new IntersectionObserver(X4,{...Z3,root:d2.ownerDocument})}catch(et3){f2=new IntersectionObserver(X4,Z3)}f2.observe(u5)}__name(v2,"v");i(v2,"refresh");v2(true);return h}__name(Nb,"Nb");i(Nb,"observeMove");function Ub(u5,r4,f2,o5){if(o5===void 0){o5={}}const{ancestorScroll:d2=true,ancestorResize:h=true,elementResize:v2=typeof ResizeObserver==="function",layoutShift:y2=typeof IntersectionObserver==="function",animationFrame:p3=false}=o5;const g2=Zo(u5);const S4=d2||h?[...g2?su(g2):[],...su(r4)]:[];S4.forEach(Y3=>{d2&&Y3.addEventListener("scroll",f2,{passive:true});h&&Y3.addEventListener("resize",f2)});const A=g2&&y2?Nb(g2,f2):null;let D3=-1;let w=null;if(v2){w=new ResizeObserver(Y3=>{let[Q3]=Y3;if(Q3&&Q3.target===g2&&w){w.unobserve(r4);cancelAnimationFrame(D3);D3=requestAnimationFrame(()=>{var Z3;(Z3=w)==null||Z3.observe(r4)})}f2()});if(g2&&!p3){w.observe(g2)}w.observe(r4)}let H3;let O4=p3?fn(u5):null;if(p3){U3()}function U3(){const Y3=fn(u5);if(O4&&!yv(O4,Y3)){f2()}O4=Y3;H3=requestAnimationFrame(U3)}__name(U3,"U");i(U3,"frameLoop");f2();return()=>{var Y3;S4.forEach(Q3=>{d2&&Q3.removeEventListener("scroll",f2);h&&Q3.removeEventListener("resize",f2)});A==null||A();(Y3=w)==null||Y3.disconnect();w=null;if(p3){cancelAnimationFrame(H3)}}}__name(Ub,"Ub");i(Ub,"autoUpdate");var Hb=ub;var Bb=ib;var Lb=lb;var qb=rb;var Yb=nb;var Rh=eb;var jb=cb;var Gb=i((u5,r4,f2)=>{const o5=new Map;const d2={platform:Db,...f2};const h={...d2.platform,_c:o5};return tb(u5,r4,{...d2,platform:h})},"computePosition");var Xb=typeof document!=="undefined";var Vb=i(__name(function u(){},"u"),"noop");var Ui=Xb?z.useLayoutEffect:Vb;function Vi(u5,r4){if(u5===r4){return true}if(typeof u5!==typeof r4){return false}if(typeof u5==="function"&&u5.toString()===r4.toString()){return true}let f2;let o5;let d2;if(u5&&r4&&typeof u5==="object"){if(Array.isArray(u5)){f2=u5.length;if(f2!==r4.length)return false;for(o5=f2;o5--!==0;){if(!Vi(u5[o5],r4[o5])){return false}}return true}d2=Object.keys(u5);f2=d2.length;if(f2!==Object.keys(r4).length){return false}for(o5=f2;o5--!==0;){if(!{}.hasOwnProperty.call(r4,d2[o5])){return false}}for(o5=f2;o5--!==0;){const h=d2[o5];if(h==="_owner"&&u5.$$typeof){continue}if(!Vi(u5[h],r4[h])){return false}}return true}return u5!==u5&&r4!==r4}__name(Vi,"Vi");i(Vi,"deepEqual");function pv(u5){if(typeof window==="undefined"){return 1}const r4=u5.ownerDocument.defaultView||window;return r4.devicePixelRatio||1}__name(pv,"pv");i(pv,"getDPR");function Mh(u5,r4){const f2=pv(u5);return Math.round(r4*f2)/f2}__name(Mh,"Mh");i(Mh,"roundByDPR");function Eo(u5){const r4=z.useRef(u5);Ui(()=>{r4.current=u5});return r4}__name(Eo,"Eo");i(Eo,"useLatestRef");function Qb(u5){if(u5===void 0){u5={}}const{placement:r4="bottom",strategy:f2="absolute",middleware:o5=[],platform:d2,elements:{reference:h,floating:v2}={},transform:y2=true,whileElementsMounted:p3,open:g2}=u5;const[S4,A]=z.useState({x:0,y:0,strategy:f2,placement:r4,middlewareData:{},isPositioned:false});const[D3,w]=z.useState(o5);if(!Vi(D3,o5)){w(o5)}const[H3,O4]=z.useState(null);const[U3,Y3]=z.useState(null);const Q3=z.useCallback(B4=>{if(B4!==et3.current){et3.current=B4;O4(B4)}},[]);const Z3=z.useCallback(B4=>{if(B4!==W5.current){W5.current=B4;Y3(B4)}},[]);const k4=h||H3;const X4=v2||U3;const et3=z.useRef(null);const W5=z.useRef(null);const J2=z.useRef(S4);const rt4=p3!=null;const Et3=Eo(p3);const Mt2=Eo(d2);const vt2=Eo(g2);const Ot2=z.useCallback(()=>{if(!et3.current||!W5.current){return}const B4={placement:r4,strategy:f2,middleware:D3};if(Mt2.current){B4.platform=Mt2.current}Gb(et3.current,W5.current,B4).then(ct4=>{const E5={...ct4,isPositioned:vt2.current!==false};if(St2.current&&!Vi(J2.current,E5)){J2.current=E5;Bo.flushSync(()=>{A(E5)})}})},[D3,r4,f2,Mt2,vt2]);Ui(()=>{if(g2===false&&J2.current.isPositioned){J2.current.isPositioned=false;A(B4=>({...B4,isPositioned:false}))}},[g2]);const St2=z.useRef(false);Ui(()=>{St2.current=true;return()=>{St2.current=false}},[]);Ui(()=>{if(k4)et3.current=k4;if(X4)W5.current=X4;if(k4&&X4){if(Et3.current){return Et3.current(k4,X4,Ot2)}Ot2()}},[k4,X4,Ot2,Et3,rt4]);const gt3=z.useMemo(()=>({reference:et3,floating:W5,setReference:Q3,setFloating:Z3}),[Q3,Z3]);const C3=z.useMemo(()=>({reference:k4,floating:X4}),[k4,X4]);const V=z.useMemo(()=>{const B4={position:f2,left:0,top:0};if(!C3.floating){return B4}const ct4=Mh(C3.floating,S4.x);const E5=Mh(C3.floating,S4.y);if(y2){return{...B4,transform:"translate("+ct4+"px, "+E5+"px)",...pv(C3.floating)>=1.5&&{willChange:"transform"}}}return{position:f2,left:ct4,top:E5}},[f2,y2,C3.floating,S4.x,S4.y]);return z.useMemo(()=>({...S4,update:Ot2,refs:gt3,elements:C3,floatingStyles:V}),[S4,Ot2,gt3,C3,V])}__name(Qb,"Qb");i(Qb,"useFloating");var Zb=i(u5=>{function r4(f2){return{}.hasOwnProperty.call(f2,"current")}__name(r4,"r");i(r4,"isRef");return{name:"arrow",options:u5,fn(f2){const{element:o5,padding:d2}=typeof u5==="function"?u5(f2):u5;if(o5&&r4(o5)){if(o5.current!=null){return Rh({element:o5.current,padding:d2}).fn(f2)}return{}}if(o5){return Rh({element:o5,padding:d2}).fn(f2)}return{}}}},"arrow$1");var kb=i((u5,r4)=>({...Hb(u5),options:[u5,r4]}),"offset");var Kb=i((u5,r4)=>({...Bb(u5),options:[u5,r4]}),"shift");var Jb=i((u5,r4)=>({...jb(u5),options:[u5,r4]}),"limitShift");var Wb=i((u5,r4)=>({...Lb(u5),options:[u5,r4]}),"flip");var $b=i((u5,r4)=>({...qb(u5),options:[u5,r4]}),"size");var Fb=i((u5,r4)=>({...Yb(u5),options:[u5,r4]}),"hide");var Pb=i((u5,r4)=>({...Zb(u5),options:[u5,r4]}),"arrow");var Ib="Arrow";var bv=z.forwardRef((u5,r4)=>{const{children:f2,width:o5=10,height:d2=5,...h}=u5;return Ht.jsx(sn.svg,{...h,ref:r4,width:o5,height:d2,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[r4,f2]=z.useState(void 0);na(()=>{if(u5){f2({width:u5.offsetWidth,height:u5.offsetHeight});const o5=new ResizeObserver(d2=>{if(!Array.isArray(d2)){return}if(!d2.length){return}const h=d2[0];let v2;let y2;if("borderBoxSize"in h){const p3=h["borderBoxSize"];const g2=Array.isArray(p3)?p3[0]:p3;v2=g2["inlineSize"];y2=g2["blockSize"]}else{v2=u5.offsetWidth;y2=u5.offsetHeight}f2({width:v2,height:y2})});o5.observe(u5,{box:"border-box"});return()=>o5.unobserve(u5)}else{f2(void 0)}},[u5]);return r4}__name(e1,"e1");i(e1,"useSize");var Ko="Popper";var[Sv,yS]=av(Ko);var[l1,Ev]=Sv(Ko);var xv=i(u5=>{const{__scopePopper:r4,children:f2}=u5;const[o5,d2]=z.useState(null);return Ht.jsx(l1,{scope:r4,anchor:o5,onAnchorChange:d2,children:f2})},"Popper");xv.displayName=Ko;var Av="PopperAnchor";var Tv=z.forwardRef((u5,r4)=>{const{__scopePopper:f2,virtualRef:o5,...d2}=u5;const h=Ev(Av,f2);const v2=z.useRef(null);const y2=on(r4,v2);z.useEffect(()=>{h.onAnchorChange(o5?.current||v2.current)});return o5?null:Ht.jsx(sn.div,{...d2,ref:y2})});Tv.displayName=Av;var Jo="PopperContent";var[n1,a1]=Sv(Jo);var Ov=z.forwardRef((u5,r4)=>{const{__scopePopper:f2,side:o5="bottom",sideOffset:d2=0,align:h="center",alignOffset:v2=0,arrowPadding:y2=0,avoidCollisions:p3=true,collisionBoundary:g2=[],collisionPadding:S4=0,sticky:A="partial",hideWhenDetached:D3=false,updatePositionStrategy:w="optimized",onPlaced:H3,...O4}=u5;const U3=Ev(Jo,f2);const[Y3,Q3]=z.useState(null);const Z3=on(r4,mt3=>Q3(mt3));const[k4,X4]=z.useState(null);const et3=e1(k4);const W5=et3?.width??0;const J2=et3?.height??0;const rt4=o5+(h!=="center"?"-"+h:"");const Et3=typeof S4==="number"?S4:{top:0,right:0,bottom:0,left:0,...S4};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:C3,isPositioned:V,middlewareData:B4}=Qb({strategy:"fixed",placement:rt4,whileElementsMounted:i((...mt3)=>{const At2=Ub(...mt3,{animationFrame:w==="always"});return At2},"whileElementsMounted"),elements:{reference:U3.anchor},middleware:[kb({mainAxis:d2+J2,alignmentAxis:v2}),p3&&Kb({mainAxis:true,crossAxis:false,limiter:A==="partial"?Jb():void 0,...Ot2}),p3&&Wb({...Ot2}),$b({...Ot2,apply:i(({elements:mt3,rects:At2,availableWidth:le4,availableHeight:He4})=>{const{width:Be4,height:Le4}=At2.reference;const hl2=mt3.floating.style;hl2.setProperty("--radix-popper-available-width",`${le4}px`);hl2.setProperty("--radix-popper-available-height",`${He4}px`);hl2.setProperty("--radix-popper-anchor-width",`${Be4}px`);hl2.setProperty("--radix-popper-anchor-height",`${Le4}px`)},"apply")}),k4&&Pb({element:k4,padding:y2}),c1({arrowWidth:W5,arrowHeight:J2}),D3&&Fb({strategy:"referenceHidden",...Ot2})]});const[ct4,E5]=Mv(C3);const G4=aa(H3);na(()=>{if(V){G4?.()}},[V,G4]);const $3=B4.arrow?.x;const K3=B4.arrow?.y;const F4=B4.arrow?.centerOffset!==0;const[ft3,ut4]=z.useState();na(()=>{if(Y3)ut4(window.getComputedStyle(Y3).zIndex)},[Y3]);return Ht.jsx("div",{ref:St2.setFloating,"data-radix-popper-content-wrapper":"",style:{...gt3,transform:V?gt3.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ft3,["--radix-popper-transform-origin"]:[B4.transformOrigin?.x,B4.transformOrigin?.y].join(" "),...B4.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:u5.dir,children:Ht.jsx(n1,{scope:f2,placedSide:ct4,onArrowChange:X4,arrowX:$3,arrowY:K3,shouldHideArrow:F4,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(r4,f2){const{__scopePopper:o5,...d2}=r4;const h=a1(wv,o5);const v2=u1[h.placedSide];return Ht.jsx("span",{ref:h.onArrowChange,style:{position:"absolute",left:h.arrowX,top:h.arrowY,[v2]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[h.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:`rotate(180deg)`,left:"translateY(50%) rotate(-90deg) translateX(50%)"}[h.placedSide],visibility:h.shouldHideArrow?"hidden":void 0},children:Ht.jsx(t1,{...d2,ref:f2,style:{...d2.style,display:"block"}})})},"u"),"PopperArrow2"));Rv.displayName=wv;function i1(u5){return u5!==null}__name(i1,"i1");i(i1,"isNotNull");var c1=i(u5=>({name:"transformOrigin",options:u5,fn(r4){const{placement:f2,rects:o5,middlewareData:d2}=r4;const h=d2.arrow?.centerOffset!==0;const v2=h;const y2=v2?0:u5.arrowWidth;const p3=v2?0:u5.arrowHeight;const[g2,S4]=Mv(f2);const A={start:"0%",center:"50%",end:"100%"}[S4];const D3=(d2.arrow?.x??0)+y2/2;const w=(d2.arrow?.y??0)+p3/2;let H3="";let O4="";if(g2==="bottom"){H3=v2?A:`${D3}px`;O4=`${-p3}px`}else if(g2==="top"){H3=v2?A:`${D3}px`;O4=`${o5.floating.height+p3}px`}else if(g2==="right"){H3=`${-p3}px`;O4=v2?A:`${w}px`}else if(g2==="left"){H3=`${o5.floating.width+p3}px`;O4=v2?A:`${w}px`}return{data:{x:H3,y:O4}}}}),"transformOrigin");function Mv(u5){const[r4,f2="center"]=u5.split("-");return[r4,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,r4)=>{const{container:f2,...o5}=u5;const[d2,h]=z.useState(false);na(()=>h(true),[]);const v2=f2||d2&&globalThis?.document?.body;return v2?y0.createPortal(Ht.jsx(sn.div,{...o5,ref:r4}),v2):null});o1.displayName=r1;var f1=i(function(u5){if(typeof document==="undefined"){return null}var r4=Array.isArray(u5)?u5[0]:u5;return r4.ownerDocument.body},"getDefaultParent");var Pn=new WeakMap;var _i=new WeakMap;var Ci={};var xo=0;var zv=i(function(u5){return u5&&(u5.host||zv(u5.parentNode))},"unwrapHost");var s1=i(function(u5,r4){return r4.map(function(f2){if(u5.contains(f2)){return f2}var o5=zv(f2);if(o5&&u5.contains(o5)){return o5}console.error("aria-hidden",f2,"in not contained inside",u5,". Doing nothing");return null}).filter(function(f2){return Boolean(f2)})},"correctTargets");var d1=i(function(u5,r4,f2,o5){var d2=s1(r4,Array.isArray(u5)?u5:[u5]);if(!Ci[f2]){Ci[f2]=new WeakMap}var h=Ci[f2];var v2=[];var y2=new Set;var p3=new Set(d2);var g2=i(function(A){if(!A||y2.has(A)){return}y2.add(A);g2(A.parentNode)},"keep");d2.forEach(g2);var S4=i(function(A){if(!A||p3.has(A)){return}Array.prototype.forEach.call(A.children,function(D3){if(y2.has(D3)){S4(D3)}else{try{var w=D3.getAttribute(o5);var H3=w!==null&&w!=="false";var O4=(Pn.get(D3)||0)+1;var U3=(h.get(D3)||0)+1;Pn.set(D3,O4);h.set(D3,U3);v2.push(D3);if(O4===1&&H3){_i.set(D3,true)}if(U3===1){D3.setAttribute(f2,"true")}if(!H3){D3.setAttribute(o5,"true")}}catch(Y3){console.error("aria-hidden: cannot operate on ",D3,Y3)}}})},"deep");S4(r4);y2.clear();xo++;return function(){v2.forEach(function(A){var D3=Pn.get(A)-1;var w=h.get(A)-1;Pn.set(A,D3);h.set(A,w);if(!D3){if(!_i.has(A)){A.removeAttribute(o5)}_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,r4,f2){if(f2===void 0){f2="data-aria-hidden"}var o5=Array.from(Array.isArray(u5)?u5:[u5]);var d2=f1(u5);if(!d2){return function(){return null}}o5.push.apply(o5,Array.from(d2.querySelectorAll("[aria-live], script")));return d1(o5,d2,f2,"aria-hidden")},"hideOthers");var Qe=i(function(){Qe=Object.assign||i(__name(function u5(r4){for(var f2,o5=1,d2=arguments.length;o5y2){return true}}o5=o5.parentNode}while(o5&&o5!==f2.body);return false},"locationCouldBeScrolled");var Y1=i(function(u5){var r4=u5.scrollTop,f2=u5.scrollHeight,o5=u5.clientHeight;return[r4,f2,o5]},"getVScrollVariables");var j1=i(function(u5){var r4=u5.scrollLeft,f2=u5.scrollWidth,o5=u5.clientWidth;return[r4,f2,o5]},"getHScrollVariables");var Hv=i(function(u5,r4){return u5==="v"?L1(r4):q1(r4)},"elementCouldBeScrolled");var Bv=i(function(u5,r4){return u5==="v"?Y1(r4):j1(r4)},"getScrollVariables");var G1=i(function(u5,r4){return u5==="h"&&r4==="rtl"?-1:1},"getDirectionFactor");var X1=i(function(u5,r4,f2,o5,d2){var h=G1(u5,window.getComputedStyle(r4).direction);var v2=h*o5;var y2=f2.target;var p3=r4.contains(y2);var g2=false;var S4=v2>0;var A=0;var D3=0;do{if(!y2){break}var w=Bv(u5,y2),H3=w[0],O4=w[1],U3=w[2];var Y3=O4-U3-h*H3;if(H3||Y3){if(Hv(u5,y2)){A+=Y3;D3+=H3}}var Q3=y2.parentNode;y2=Q3&&Q3.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q3.host:Q3}while(!p3&&y2!==document.body||p3&&(r4.contains(y2)||r4===y2));if(S4&&(Math.abs(A)<1||false)){g2=true}else if(!S4&&(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,r4){return u5[0]===r4[0]&&u5[1]===r4[1]},"deltaCompare");var Q1=i(function(u5){return"n .block-interactivity-".concat(u5," {pointer-events: none;}n .allow-interactivity-").concat(u5," {pointer-events: all;}n")},"generateStyle");var Z1=0;var ta=[];function k1(u5){var r4=z.useRef([]);var f2=z.useRef([0,0]);var o5=z.useRef();var d2=z.useState(Z1++)[0];var h=z.useState(Nv)[0];var v2=z.useRef(u5);z.useEffect(function(){v2.current=u5},[u5]);z.useEffect(function(){if(u5.inert){document.body.classList.add("block-interactivity-".concat(d2));var O4=m1([u5.lockRef.current],(u5.shards||[]).map(Nh),true).filter(Boolean);O4.forEach(function(U3){return U3.classList.add("allow-interactivity-".concat(d2))});return function(){document.body.classList.remove("block-interactivity-".concat(d2));O4.forEach(function(U3){return U3.classList.remove("allow-interactivity-".concat(d2))})}}return},[u5.inert,u5.lockRef.current,u5.shards]);var y2=z.useCallback(function(O4,U3){if("touches"in O4&&O4.touches.length===2||O4.type==="wheel"&&O4.ctrlKey){return!v2.current.allowPinchZoom}var Y3=Ni(O4);var Q3=f2.current;var Z3="deltaX"in O4?O4.deltaX:Q3[0]-Y3[0];var k4="deltaY"in O4?O4.deltaY:Q3[1]-Y3[1];var X4;var et3=O4.target;var W5=Math.abs(Z3)>Math.abs(k4)?"h":"v";if("touches"in O4&&W5==="h"&&et3.type==="range"){return false}var J2=Ch(W5,et3);if(!J2){return true}if(J2){X4=W5}else{X4=W5==="v"?"h":"v";J2=Ch(W5,et3)}if(!J2){return false}if(!o5.current&&"changedTouches"in O4&&(Z3||k4)){o5.current=X4}if(!X4){return true}var rt4=o5.current||X4;return X1(rt4,U3,O4,rt4==="h"?Z3:k4)},[]);var p3=z.useCallback(function(O4){var U3=O4;if(!ta.length||ta[ta.length-1]!==h){return}var Y3="deltaY"in U3?Dh(U3):Ni(U3);var Q3=r4.current.filter(function(X4){return X4.name===U3.type&&(X4.target===U3.target||U3.target===X4.shadowParent)&&V1(X4.delta,Y3)})[0];if(Q3&&Q3.should){if(U3.cancelable){U3.preventDefault()}return}if(!Q3){var Z3=(v2.current.shards||[]).map(Nh).filter(Boolean).filter(function(X4){return X4.contains(U3.target)});var k4=Z3.length>0?y2(U3,Z3[0]):!v2.current.noIsolation;if(k4){if(U3.cancelable){U3.preventDefault()}}}},[]);var g2=z.useCallback(function(O4,U3,Y3,Q3){var Z3={name:O4,delta:U3,target:Y3,should:Q3,shadowParent:K1(Y3)};r4.current.push(Z3);setTimeout(function(){r4.current=r4.current.filter(function(k4){return k4!==Z3})},1)},[]);var S4=z.useCallback(function(O4){f2.current=Ni(O4);o5.current=void 0},[]);var A=z.useCallback(function(O4){g2(O4.type,Dh(O4),O4.target,y2(O4,u5.lockRef.current))},[]);var D3=z.useCallback(function(O4){g2(O4.type,Ni(O4),O4.target,y2(O4,u5.lockRef.current))},[]);z.useEffect(function(){ta.push(h);u5.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:D3});document.addEventListener("wheel",p3,In);document.addEventListener("touchmove",p3,In);document.addEventListener("touchstart",S4,In);return function(){ta=ta.filter(function(O4){return O4!==h});document.removeEventListener("wheel",p3,In);document.removeEventListener("touchmove",p3,In);document.removeEventListener("touchstart",S4,In)}},[]);var w=u5.removeScrollBar,H3=u5.inert;return z.createElement(z.Fragment,null,H3?z.createElement(h,{styles:Q1(d2)}):null,w?z.createElement(H1,{noRelative:u5.noRelative,gapMode:u5.gapMode}):null)}__name(k1,"k1");i(k1,"RemoveScrollSideCar");function K1(u5){var r4=null;while(u5!==null){if(u5 instanceof ShadowRoot){r4=u5.host;u5=u5.host}u5=u5.parentNode}return r4}__name(K1,"K1");i(K1,"getOutermostShadowParent");var J1=x1(Dv,k1);var W1=z.forwardRef(function(u5,r4){return z.createElement(Ji,Qe({},u5,{ref:r4,sideCar:J1}))});W1.classNames=Ji.classNames;var $1=i(u5=>u5.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase");var F1=i(u5=>u5.replace(/^([A-Z])|[s-_]+(w)/g,(r4,f2,o5)=>o5?o5.toUpperCase():f2.toLowerCase()),"toCamelCase");var Uh=i(u5=>{const r4=F1(u5);return r4.charAt(0).toUpperCase()+r4.slice(1)},"toPascalCase");var Lv=i((...u5)=>u5.filter((r4,f2,o5)=>{return Boolean(r4)&&r4.trim()!==""&&o5.indexOf(r4)===f2}).join(" ").trim(),"mergeClasses");var P1=i(u5=>{for(const r4 in u5){if(r4.startsWith("aria-")||r4==="role"||r4==="title"){return true}}},"hasA11yProp");var I1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var tS=z.forwardRef(({color:u5="currentColor",size:r4=24,strokeWidth:f2=2,absoluteStrokeWidth:o5,className:d2="",children:h,iconNode:v2,...y2},p3)=>z.createElement("svg",{ref:p3,...I1,width:r4,height:r4,stroke:u5,strokeWidth:o5?Number(f2)*24/Number(r4):f2,className:Lv("lucide",d2),...!h&&!P1(y2)&&{"aria-hidden":"true"},...y2},[...v2.map(([g2,S4])=>z.createElement(g2,S4)),...Array.isArray(h)?h:[h]]));var qv=i((u5,r4)=>{const f2=z.forwardRef(({className:o5,...d2},h)=>z.createElement(tS,{ref:h,iconNode:r4,className:Lv(`lucide-${$1(Uh(u5))}`,`lucide-${u5}`,o5),...d2}));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((e4,t2)=>ye(e4,"name",{value:t2,configurable:true}),"c");function Me(e4,t2){return z.useReducer((o5,n3)=>{const a2=t2[o5][n3];return a2??o5},e4)}__name(Me,"Me");c(Me,"useStateMachine");var j=c(e4=>{const{present:t2,children:o5}=e4;const n3=je(t2);const a2=typeof o5==="function"?o5({present:n3.isPresent}):z.Children.only(o5);const r4=on(n3.ref,ke2(a2));const u5=typeof o5==="function";return u5||n3.isPresent?z.cloneElement(a2,{ref:r4}):null},"Presence");j.displayName="Presence";function je(e4){const[t2,o5]=z.useState();const n3=z.useRef(null);const a2=z.useRef(e4);const r4=z.useRef("none");const u5=e4?"mounted":"unmounted";const[d2,p3]=Me(u5,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});z.useEffect(()=>{const l=S(n3.current);r4.current=d2==="mounted"?l:"none"},[d2]);na(()=>{const l=n3.current;const f2=a2.current;const m2=f2!==e4;if(m2){const N2=r4.current;const h=S(l);if(e4){p3("MOUNT")}else if(h==="none"||l?.display==="none"){p3("UNMOUNT")}else{const I4=N2!==h;if(f2&&I4){p3("ANIMATION_OUT")}else{p3("UNMOUNT")}}a2.current=e4}},[e4,p3]);na(()=>{if(t2){let l;const f2=t2.ownerDocument.defaultView??window;const m2=c(h=>{const I4=S(n3.current);const _2=I4.includes(h.animationName);if(h.target===t2&&_2){p3("ANIMATION_END");if(!a2.current){const g2=t2.style.animationFillMode;t2.style.animationFillMode="forwards";l=f2.setTimeout(()=>{if(t2.style.animationFillMode==="forwards"){t2.style.animationFillMode=g2}})}}},"handleAnimationEnd");const N2=c(h=>{if(h.target===t2){r4.current=S(n3.current)}},"handleAnimationStart");t2.addEventListener("animationstart",N2);t2.addEventListener("animationcancel",m2);t2.addEventListener("animationend",m2);return()=>{f2.clearTimeout(l);t2.removeEventListener("animationstart",N2);t2.removeEventListener("animationcancel",m2);t2.removeEventListener("animationend",m2)}}else{p3("ANIMATION_END")}},[t2,p3]);return{isPresent:["mounted","unmountSuspended"].includes(d2),ref:z.useCallback(l=>{n3.current=l?getComputedStyle(l):null;o5(l)},[])}}__name(je,"je");c(je,"usePresence");function S(e4){return e4?.animationName||"none"}__name(S,"S");c(S,"getAnimationName");function ke2(e4){let t2=Object.getOwnPropertyDescriptor(e4.props,"ref")?.get;let o5=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o5){return e4.ref}t2=Object.getOwnPropertyDescriptor(e4,"ref")?.get;o5=t2&&"isReactWarning"in t2&&t2.isReactWarning;if(o5){return e4.props.ref}return e4.props.ref||e4.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((e4,t2)=>{return Ht.jsx(W.Provider,{scope:e4.__scopeRovingFocusGroup,children:Ht.jsx(W.Slot,{scope:e4.__scopeRovingFocusGroup,children:Ht.jsx(Be,{...e4,ref:t2})})})});Z.displayName=F;var Be=z.forwardRef((e4,t2)=>{const{__scopeRovingFocusGroup:o5,orientation:n3,loop:a2=false,dir:r4,currentTabStopId:u5,defaultCurrentTabStopId:d2,onCurrentTabStopIdChange:p3,onEntryFocus:l,preventScrollOnEntryFocus:f2=false,...m2}=e4;const N2=z.useRef(null);const h=on(t2,N2);const I4=hS(r4);const[_2,g2]=dS({prop:u5,defaultProp:d2??null,onChange:p3,caller:F});const[y2,O4]=z.useState(false);const x2=aa(l);const D3=X(o5);const L2=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:o5,orientation:n3,dir:I4,loop:a2,currentTabStopId:_2,onItemFocus:z.useCallback(v2=>g2(v2),[g2]),onItemShiftTab:z.useCallback(()=>O4(true),[]),onFocusableItemAdd:z.useCallback(()=>z4(v2=>v2+1),[]),onFocusableItemRemove:z.useCallback(()=>z4(v2=>v2-1),[]),children:Ht.jsx(sn.div,{tabIndex:y2||he2===0?-1:0,"data-orientation":n3,...m2,ref:h,style:{outline:"none",...e4.style},onMouseDown:go(e4.onMouseDown,()=>{L2.current=true}),onFocus:go(e4.onFocus,v2=>{const xe2=!L2.current;if(v2.target===v2.currentTarget&&xe2&&!y2){const V=new CustomEvent(U,Le);v2.currentTarget.dispatchEvent(V);if(!V.defaultPrevented){const G4=D3().filter(C3=>C3.focusable);const be3=G4.find(C3=>C3.active);const Re2=G4.find(C3=>C3.id===_2);const Ne4=[be3,Re2,...G4].filter(Boolean);const Ie3=Ne4.map(C3=>C3.ref.current);te(Ie3,f2)}}L2.current=false}),onBlur:go(e4.onBlur,()=>O4(false))})})});var Q="RovingFocusGroupItem";var ee2=z.forwardRef((e4,t2)=>{const{__scopeRovingFocusGroup:o5,focusable:n3=true,active:a2=false,tabStopId:r4,children:u5,...d2}=e4;const p3=gS();const l=r4||p3;const f2=Ke2(Q,o5);const m2=f2.currentTabStopId===l;const N2=X(o5);const{onFocusableItemAdd:h,onFocusableItemRemove:I4,currentTabStopId:_2}=f2;z.useEffect(()=>{if(n3){h();return()=>I4()}},[n3,h,I4]);return Ht.jsx(W.ItemSlot,{scope:o5,id:l,focusable:n3,active:a2,children:Ht.jsx(sn.span,{tabIndex:m2?0:-1,"data-orientation":f2.orientation,...d2,ref:t2,onMouseDown:go(e4.onMouseDown,g2=>{if(!n3)g2.preventDefault();else f2.onItemFocus(l)}),onFocus:go(e4.onFocus,()=>f2.onItemFocus(l)),onKeyDown:go(e4.onKeyDown,g2=>{if(g2.key==="Tab"&&g2.shiftKey){f2.onItemShiftTab();return}if(g2.target!==g2.currentTarget)return;const y2=Ve(g2,f2.orientation,f2.dir);if(y2!==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(y2==="last")x2.reverse();else if(y2==="prev"||y2==="next"){if(y2==="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(e4,t2){if(t2!=="rtl")return e4;return e4==="ArrowLeft"?"ArrowRight":e4==="ArrowRight"?"ArrowLeft":e4}__name(ze,"ze");c(ze,"getDirectionAwareKey");function Ve(e4,t2,o5){const n3=ze(e4.key,o5);if(t2==="vertical"&&["ArrowLeft","ArrowRight"].includes(n3))return void 0;if(t2==="horizontal"&&["ArrowUp","ArrowDown"].includes(n3))return void 0;return $e[n3]}__name(Ve,"Ve");c(Ve,"getFocusIntent");function te(e4,t2=false){const o5=document.activeElement;for(const n3 of e4){if(n3===o5)return;n3.focus({preventScroll:t2});if(document.activeElement!==o5)return}}__name(te,"te");c(te,"focusFirst");function He(e4,t2){return e4.map((o5,n3)=>e4[(t2+n3)%e4.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:e4,type:t2,...o5}){return Ht.jsx("input",{type:t2,"data-slot":"input",className:nv("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e4),...o5})}__name(It,"It");c(It,"Input");var k="Dialog";var[oe,yt]=av(k);var[Xe,R]=oe(k);var ne=c(e4=>{const{__scopeDialog:t2,children:o5,open:n3,defaultOpen:a2,onOpenChange:r4,modal:u5=true}=e4;const d2=z.useRef(null);const p3=z.useRef(null);const[l,f2]=dS({prop:n3,defaultProp:a2??false,onChange:r4,caller:k});return Ht.jsx(Xe,{scope:t2,triggerRef:d2,contentRef:p3,contentId:gS(),titleId:gS(),descriptionId:gS(),open:l,onOpenChange:f2,onOpenToggle:z.useCallback(()=>f2(m2=>!m2),[f2]),modal:u5,children:o5})},"Dialog");ne.displayName=k;var re="DialogTrigger";var ae=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,...n3}=e4;const a2=R(re,o5);const r4=on(t2,a2.triggerRef);return Ht.jsx(sn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a2.open,"aria-controls":a2.contentId,"data-state":$(a2.open),...n3,ref:r4,onClick:go(e4.onClick,a2.onOpenToggle)})});ae.displayName=re;var K="DialogPortal";var[Ze2,se]=oe(K,{forceMount:void 0});var ie=c(e4=>{const{__scopeDialog:t2,forceMount:o5,children:n3,container:a2}=e4;const r4=R(K,t2);return Ht.jsx(Ze2,{scope:t2,forceMount:o5,children:z.Children.map(n3,u5=>Ht.jsx(j,{present:o5||r4.open,children:Ht.jsx(o1,{asChild:true,container:a2,children:u5})}))})},"DialogPortal");ie.displayName=K;var M="DialogOverlay";var ce=z.forwardRef((e4,t2)=>{const o5=se(M,e4.__scopeDialog);const{forceMount:n3=o5.forceMount,...a2}=e4;const r4=R(M,e4.__scopeDialog);return r4.modal?Ht.jsx(j,{present:n3||r4.open,children:Ht.jsx(et,{...a2,ref:t2})}):null});ce.displayName=M;var Qe2=Yi("DialogOverlay.RemoveScroll");var et=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,...n3}=e4;const a2=R(M,o5);return Ht.jsx(W1,{as:Qe2,allowPinchZoom:true,shards:[a2.contentRef],children:Ht.jsx(sn.div,{"data-state":$(a2.open),...n3,ref:t2,style:{pointerEvents:"auto",...n3.style}})})});var E="DialogContent";var le=z.forwardRef((e4,t2)=>{const o5=se(E,e4.__scopeDialog);const{forceMount:n3=o5.forceMount,...a2}=e4;const r4=R(E,e4.__scopeDialog);return Ht.jsx(j,{present:n3||r4.open,children:r4.modal?Ht.jsx(tt2,{...a2,ref:t2}):Ht.jsx(ot2,{...a2,ref:t2})})});le.displayName=E;var tt2=z.forwardRef((e4,t2)=>{const o5=R(E,e4.__scopeDialog);const n3=z.useRef(null);const a2=on(t2,o5.contentRef,n3);z.useEffect(()=>{const r4=n3.current;if(r4)return xS(r4)},[]);return Ht.jsx(ue,{...e4,ref:a2,trapFocus:o5.open,disableOutsidePointerEvents:true,onCloseAutoFocus:go(e4.onCloseAutoFocus,r4=>{r4.preventDefault();o5.triggerRef.current?.focus()}),onPointerDownOutside:go(e4.onPointerDownOutside,r4=>{const u5=r4.detail.originalEvent;const d2=u5.button===0&&u5.ctrlKey===true;const p3=u5.button===2||d2;if(p3)r4.preventDefault()}),onFocusOutside:go(e4.onFocusOutside,r4=>r4.preventDefault())})});var ot2=z.forwardRef((e4,t2)=>{const o5=R(E,e4.__scopeDialog);const n3=z.useRef(false);const a2=z.useRef(false);return Ht.jsx(ue,{...e4,ref:t2,trapFocus:false,disableOutsidePointerEvents:false,onCloseAutoFocus:c(r4=>{e4.onCloseAutoFocus?.(r4);if(!r4.defaultPrevented){if(!n3.current)o5.triggerRef.current?.focus();r4.preventDefault()}n3.current=false;a2.current=false},"onCloseAutoFocus"),onInteractOutside:c(r4=>{e4.onInteractOutside?.(r4);if(!r4.defaultPrevented){n3.current=true;if(r4.detail.originalEvent.type==="pointerdown"){a2.current=true}}const u5=r4.target;const d2=o5.triggerRef.current?.contains(u5);if(d2)r4.preventDefault();if(r4.detail.originalEvent.type==="focusin"&&a2.current){r4.preventDefault()}},"onInteractOutside")})});var ue=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,trapFocus:n3,onOpenAutoFocus:a2,onCloseAutoFocus:r4,...u5}=e4;const d2=R(E,o5);const p3=z.useRef(null);const l=on(t2,p3);vS();return Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(Up,{asChild:true,loop:true,trapped:n3,onMountAutoFocus:a2,onUnmountAutoFocus:r4,children:Ht.jsx(Mp,{role:"dialog",id:d2.contentId,"aria-describedby":d2.descriptionId,"aria-labelledby":d2.titleId,"data-state":$(d2.open),...u5,ref:l,onDismiss:c(()=>d2.onOpenChange(false),"onDismiss")})}),Ht.jsxs(Ht.Fragment,{children:[Ht.jsx(rt,{titleId:d2.titleId}),Ht.jsx(st,{contentRef:p3,descriptionId:d2.descriptionId})]})]})});var B="DialogTitle";var de=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,...n3}=e4;const a2=R(B,o5);return Ht.jsx(sn.h2,{id:a2.titleId,...n3,ref:t2})});de.displayName=B;var fe="DialogDescription";var nt=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,...n3}=e4;const a2=R(fe,o5);return Ht.jsx(sn.p,{id:a2.descriptionId,...n3,ref:t2})});nt.displayName=fe;var pe2="DialogClose";var ge=z.forwardRef((e4,t2)=>{const{__scopeDialog:o5,...n3}=e4;const a2=R(pe2,o5);return Ht.jsx(sn.button,{type:"button",...n3,ref:t2,onClick:go(e4.onClick,()=>a2.onOpenChange(false))})});ge.displayName=pe2;function $(e4){return e4?"open":"closed"}__name($,"$");c($,"getState");var me="DialogTitleWarning";var[Dt,ve]=sS(me,{contentName:E,titleName:B,docsSlug:"dialog"});var rt=c(({titleId:e4})=>{const t2=ve(me);const o5=``${t2.contentName}` requires a `${t2.titleName}` for the component to be accessible for screen reader users.
If you want to hide the `${t2.titleName}`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t2.docsSlug}`;z.useEffect(()=>{if(e4){const n3=document.getElementById(e4);if(!n3)console.error(o5)}},[o5,e4]);return null},"TitleWarning");var at="DialogDescriptionWarning";var st=c(({contentRef:e4,descriptionId:t2})=>{const o5=ve(at);const n3=`Warning: Missing `Description` or `aria-describedby={undefined}` for {${o5.contentName}}.`;z.useEffect(()=>{const a2=e4.current?.getAttribute("aria-describedby");if(t2&&a2){const r4=document.getElementById(t2);if(!r4)console.warn(n3)}},[n3,e4,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({...e4}){return Ht.jsx(it,{"data-slot":"sheet",...e4})}__name(Ct,"Ct");c(Ct,"Sheet");function Et({...e4}){return Ht.jsx(ct,{"data-slot":"sheet-trigger",...e4})}__name(Et,"Et");c(Et,"SheetTrigger");function gt({...e4}){return Ht.jsx(lt,{"data-slot":"sheet-portal",...e4})}__name(gt,"gt");c(gt,"SheetPortal");function mt({className:e4,...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",e4),...t2})}__name(mt,"mt");c(mt,"SheetOverlay");function Tt({className:e4,children:t2,side:o5="right",...n3}){return Ht.jsxs(gt,{children:[Ht.jsx(mt,{}),Ht.jsxs(dt2,{"data-slot":"sheet-content",className:nv("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o5==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o5==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o5==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o5==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e4),...n3,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:e4,...t2}){return Ht.jsx("div",{"data-slot":"sheet-header",className:nv("flex flex-col gap-1.5 p-4",e4),...t2})}__name(_t,"_t");c(_t,"SheetHeader");function wt({className:e4,...t2}){return Ht.jsx(ft,{"data-slot":"sheet-title",className:nv("text-foreground font-semibold",e4),...t2})}__name(wt,"wt");c(wt,"SheetTitle");var bt2=Object.defineProperty;var u3=__name((t2,o5)=>bt2(t2,"name",{value:o5,configurable:true}),"u");var re2=["Enter"," "];var Wt=["ArrowDown","PageUp","Home"];var Ie=["ArrowUp","PageDown","End"];var zt=[...Wt,...Ie];var Vt={ltr:[...re2,"ArrowRight"],rtl:[...re2,"ArrowLeft"]};var Xt={ltr:["ArrowLeft"],rtl:["ArrowRight"]};var U2="Menu";var[T,Yt,qt]=mS(U2);var[S2,Ae]=av(U2,[qt,yS,xt]);var X2=yS();var ke3=xt();var[Qt,E2]=S2(U2);var[Jt,G]=S2(U2);var Te=u3(t2=>{const{__scopeMenu:o5,open:n3=false,children:r4,dir:s,onOpenChange:c3,modal:i4=true}=t2;const d2=X2(o5);const[f2,m2]=z.useState(null);const x2=z.useRef(false);const l=aa(c3);const h=hS(s);z.useEffect(()=>{const w=u3(()=>{x2.current=true;document.addEventListener("pointerdown",v2,{capture:true,once:true});document.addEventListener("pointermove",v2,{capture:true,once:true})},"handleKeyDown");const v2=u3(()=>x2.current=false,"handlePointer");document.addEventListener("keydown",w,{capture:true});return()=>{document.removeEventListener("keydown",w,{capture:true});document.removeEventListener("pointerdown",v2,{capture:true});document.removeEventListener("pointermove",v2,{capture:true})}},[]);return Ht.jsx(pS,{...d2,children:Ht.jsx(Qt,{scope:o5,open:n3,onOpenChange:l,content:f2,onContentChange:m2,children:Ht.jsx(Jt,{scope:o5,onClose:z.useCallback(()=>l(false),[l]),isUsingKeyboardRef:x2,dir:h,modal:i4,children:r4})})})},"Menu$1");Te.displayName=U2;var Zt2="MenuAnchor";var se2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,...r4}=t2;const s=X2(n3);return Ht.jsx(bS,{...s,...r4,ref:o5})});se2.displayName=Zt2;var ae2="MenuPortal";var[en,Oe]=S2(ae2,{forceMount:void 0});var Le2=u3(t2=>{const{__scopeMenu:o5,forceMount:n3,children:r4,container:s}=t2;const c3=E2(ae2,o5);return Ht.jsx(en,{scope:o5,forceMount:n3,children:Ht.jsx(j,{present:n3||c3.open,children:Ht.jsx(o1,{asChild:true,container:s,children:r4})})})},"MenuPortal");Le2.displayName=ae2;var y="MenuContent";var[tn,ie2]=S2(y);var Be2=z.forwardRef((t2,o5)=>{const n3=Oe(y,t2.__scopeMenu);const{forceMount:r4=n3.forceMount,...s}=t2;const c3=E2(y,t2.__scopeMenu);const i4=G(y,t2.__scopeMenu);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r4||c3.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:i4.modal?Ht.jsx(nn,{...s,ref:o5}):Ht.jsx(on2,{...s,ref:o5})})})})});var nn=z.forwardRef((t2,o5)=>{const n3=E2(y,t2.__scopeMenu);const r4=z.useRef(null);const s=on(o5,r4);z.useEffect(()=>{const c3=r4.current;if(c3)return xS(c3)},[]);return Ht.jsx(ce2,{...t2,ref:s,trapFocus:n3.open,disableOutsidePointerEvents:n3.open,disableOutsideScroll:true,onFocusOutside:go(t2.onFocusOutside,c3=>c3.preventDefault(),{checkForDefaultPrevented:false}),onDismiss:u3(()=>n3.onOpenChange(false),"onDismiss")})});var on2=z.forwardRef((t2,o5)=>{const n3=E2(y,t2.__scopeMenu);return Ht.jsx(ce2,{...t2,ref:o5,trapFocus:false,disableOutsidePointerEvents:false,disableOutsideScroll:false,onDismiss:u3(()=>n3.onOpenChange(false),"onDismiss")})});var rn2=Yi("MenuContent.ScrollLock");var ce2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,loop:r4=false,trapFocus:s,onOpenAutoFocus:c3,onCloseAutoFocus:i4,disableOutsidePointerEvents:d2,onEntryFocus:f2,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l,onInteractOutside:h,onDismiss:w,disableOutsideScroll:v2,...N2}=t2;const C3=E2(y,n3);const _2=G(y,n3);const Q3=X2(n3);const pt3=ke3(n3);const pe4=Yt(n3);const[xt3,xe2]=z.useState(null);const K3=z.useRef(null);const ft3=on(o5,K3,C3.onContentChange);const $3=z.useRef(0);const H3=z.useRef("");const mt3=z.useRef(0);const J2=z.useRef(null);const fe3=z.useRef("right");const Z3=z.useRef(0);const ht2=v2?W1:z.Fragment;const gt3=v2?{as:rn2,allowPinchZoom:true}:void 0;const vt2=u3(p3=>{const F4=H3.current+p3;const R4=pe4().filter(j2=>!j2.disabled);const I4=document.activeElement;const ee4=R4.find(j2=>j2.ref.current===I4)?.textValue;const te3=R4.map(j2=>j2.textValue);const ne3=gn(te3,F4,ee4);const A=R4.find(j2=>j2.textValue===ne3)?.ref.current;u3(__name(function j2(me3){H3.current=me3;window.clearTimeout($3.current);if(me3!=="")$3.current=window.setTimeout(()=>j2(""),1e3)},"j"),"updateSearch")(F4);if(A){setTimeout(()=>A.focus())}},"handleTypeaheadSearch");z.useEffect(()=>{return()=>window.clearTimeout($3.current)},[]);vS();const P2=z.useCallback(p3=>{const F4=fe3.current===J2.current?.side;return F4&&bn(p3,J2.current?.area)},[]);return Ht.jsx(tn,{scope:n3,searchRef:H3,onItemEnter:z.useCallback(p3=>{if(P2(p3))p3.preventDefault()},[P2]),onItemLeave:z.useCallback(p3=>{if(P2(p3))return;K3.current?.focus();xe2(null)},[P2]),onTriggerLeave:z.useCallback(p3=>{if(P2(p3))p3.preventDefault()},[P2]),pointerGraceTimerRef:mt3,onPointerGraceIntentChange:z.useCallback(p3=>{J2.current=p3},[]),children:Ht.jsx(ht2,{...gt3,children:Ht.jsx(Up,{asChild:true,trapped:s,onMountAutoFocus:go(c3,p3=>{p3.preventDefault();K3.current?.focus({preventScroll:true})}),onUnmountAutoFocus:i4,children:Ht.jsx(Mp,{asChild:true,disableOutsidePointerEvents:d2,onEscapeKeyDown:m2,onPointerDownOutside:x2,onFocusOutside:l,onInteractOutside:h,onDismiss:w,children:Ht.jsx(bt,{asChild:true,...pt3,dir:_2.dir,orientation:"vertical",loop:r4,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(C3.open),"data-radix-menu-content":"",dir:_2.dir,...Q3,...N2,ref:ft3,style:{outline:"none",...N2.style},onKeyDown:go(N2.onKeyDown,p3=>{const F4=p3.target;const R4=F4.closest("[data-radix-menu-content]")===p3.currentTarget;const I4=p3.ctrlKey||p3.altKey||p3.metaKey;const ee4=p3.key.length===1;if(R4){if(p3.key==="Tab")p3.preventDefault();if(!I4&&ee4)vt2(p3.key)}const te3=K3.current;if(p3.target!==te3)return;if(!zt.includes(p3.key))return;p3.preventDefault();const ne3=pe4().filter(j2=>!j2.disabled);const A=ne3.map(j2=>j2.ref.current);if(Ie.includes(p3.key))A.reverse();mn(A)}),onBlur:go(t2.onBlur,p3=>{if(!p3.currentTarget.contains(p3.target)){window.clearTimeout($3.current);H3.current=""}}),onPointerMove:go(t2.onPointerMove,O(p3=>{const F4=p3.target;const R4=Z3.current!==p3.clientX;if(p3.currentTarget.contains(F4)&&R4){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,o5)=>{const{__scopeMenu:n3,...r4}=t2;return Ht.jsx(sn.div,{role:"group",...r4,ref:o5})});le2.displayName=sn2;var an="MenuLabel";var Ue3=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,...r4}=t2;return Ht.jsx(sn.div,{...r4,ref:o5})});Ue3.displayName=an;var W2="MenuItem";var we="menu.itemSelect";var Y=z.forwardRef((t2,o5)=>{const{disabled:n3=false,onSelect:r4,...s}=t2;const c3=z.useRef(null);const i4=G(W2,t2.__scopeMenu);const d2=ie2(W2,t2.__scopeMenu);const f2=on(o5,c3);const m2=z.useRef(false);const x2=u3(()=>{const l=c3.current;if(!n3&&l){const h=new CustomEvent(we,{bubbles:true,cancelable:true});l.addEventListener(we,w=>r4?.(w),{once:true});xp(l,h);if(h.defaultPrevented){m2.current=false}else{i4.onClose()}}},"handleSelect");return Ht.jsx(Ge2,{...s,ref:f2,disabled:n3,onClick:go(t2.onClick,x2),onPointerDown:u3(l=>{t2.onPointerDown?.(l);m2.current=true},"onPointerDown"),onPointerUp:go(t2.onPointerUp,l=>{if(!m2.current)l.currentTarget?.click()}),onKeyDown:go(t2.onKeyDown,l=>{const h=d2.searchRef.current!=="";if(n3||h&&l.key===" ")return;if(re2.includes(l.key)){l.currentTarget.click();l.preventDefault()}})})});Y.displayName=W2;var Ge2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,disabled:r4=false,textValue:s,...c3}=t2;const i4=ie2(W2,n3);const d2=ke3(n3);const f2=z.useRef(null);const m2=on(o5,f2);const[x2,l]=z.useState(false);const[h,w]=z.useState("");z.useEffect(()=>{const v2=f2.current;if(v2){w((v2.textContent??"").trim())}},[c3.children]);return Ht.jsx(T.ItemSlot,{scope:n3,disabled:r4,textValue:s??h,children:Ht.jsx(Rt,{asChild:true,...d2,focusable:!r4,children:Ht.jsx(sn.div,{role:"menuitem","data-highlighted":x2?"":void 0,"aria-disabled":r4||void 0,"data-disabled":r4?"":void 0,...c3,ref:m2,onPointerMove:go(t2.onPointerMove,O(v2=>{if(r4){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,()=>l(true)),onBlur:go(t2.onBlur,()=>l(false))})})})});var cn="MenuCheckboxItem";var Ke3=z.forwardRef((t2,o5)=>{const{checked:n3=false,onCheckedChange:r4,...s}=t2;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:n3,children:Ht.jsx(Y,{role:"menuitemcheckbox","aria-checked":z2(n3)?"mixed":n3,...s,ref:o5,"data-state":ue2(n3),onSelect:go(s.onSelect,()=>r4?.(z2(n3)?true:!n3),{checkForDefaultPrevented:false})})})});Ke3.displayName=cn;var $e2="MenuRadioGroup";var[ln,dn]=S2($e2,{value:void 0,onValueChange:u3(()=>{},"onValueChange")});var He2=z.forwardRef((t2,o5)=>{const{value:n3,onValueChange:r4,...s}=t2;const c3=aa(r4);return Ht.jsx(ln,{scope:t2.__scopeMenu,value:n3,onValueChange:c3,children:Ht.jsx(le2,{...s,ref:o5})})});He2.displayName=$e2;var We2="MenuRadioItem";var ze2=z.forwardRef((t2,o5)=>{const{value:n3,...r4}=t2;const s=dn(We2,t2.__scopeMenu);const c3=n3===s.value;return Ht.jsx(Ve2,{scope:t2.__scopeMenu,checked:c3,children:Ht.jsx(Y,{role:"menuitemradio","aria-checked":c3,...r4,ref:o5,"data-state":ue2(c3),onSelect:go(r4.onSelect,()=>s.onValueChange?.(n3),{checkForDefaultPrevented:false})})})});ze2.displayName=We2;var de2="MenuItemIndicator";var[Ve2,un]=S2(de2,{checked:false});var Xe2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,forceMount:r4,...s}=t2;const c3=un(de2,n3);return Ht.jsx(j,{present:r4||z2(c3.checked)||c3.checked===true,children:Ht.jsx(sn.span,{...s,ref:o5,"data-state":ue2(c3.checked)})})});Xe2.displayName=de2;var pn="MenuSeparator";var Ye2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,...r4}=t2;return Ht.jsx(sn.div,{role:"separator","aria-orientation":"horizontal",...r4,ref:o5})});Ye2.displayName=pn;var xn="MenuArrow";var qe2=z.forwardRef((t2,o5)=>{const{__scopeMenu:n3,...r4}=t2;const s=X2(n3);return Ht.jsx(ES,{...s,...r4,ref:o5})});qe2.displayName=xn;var fn2="MenuSub";var[Ro2,Qe3]=S2(fn2);var k2="MenuSubTrigger";var Je3=z.forwardRef((t2,o5)=>{const n3=E2(k2,t2.__scopeMenu);const r4=G(k2,t2.__scopeMenu);const s=Qe3(k2,t2.__scopeMenu);const c3=ie2(k2,t2.__scopeMenu);const i4=z.useRef(null);const{pointerGraceTimerRef:d2,onPointerGraceIntentChange:f2}=c3;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 l=d2.current;return()=>{window.clearTimeout(l);f2(null)}},[d2,f2]);return Ht.jsx(se2,{asChild:true,...m2,children:Ht.jsx(Ge2,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n3.open,"aria-controls":s.contentId,"data-state":tt3(n3.open),...t2,ref:Xh(o5,s.onTriggerChange),onClick:u3(l=>{t2.onClick?.(l);if(t2.disabled||l.defaultPrevented)return;l.currentTarget.focus();if(!n3.open)n3.onOpenChange(true)},"onClick"),onPointerMove:go(t2.onPointerMove,O(l=>{c3.onItemEnter(l);if(l.defaultPrevented)return;if(!t2.disabled&&!n3.open&&!i4.current){c3.onPointerGraceIntentChange(null);i4.current=window.setTimeout(()=>{n3.onOpenChange(true);x2()},100)}})),onPointerLeave:go(t2.onPointerLeave,O(l=>{x2();const h=n3.content?.getBoundingClientRect();if(h){const w=n3.content?.dataset.side;const v2=w==="right";const N2=v2?-5:5;const C3=h[v2?"left":"right"];const _2=h[v2?"right":"left"];c3.onPointerGraceIntentChange({area:[{x:l.clientX+N2,y:l.clientY},{x:C3,y:h.top},{x:_2,y:h.top},{x:_2,y:h.bottom},{x:C3,y:h.bottom}],side:w});window.clearTimeout(d2.current);d2.current=window.setTimeout(()=>c3.onPointerGraceIntentChange(null),300)}else{c3.onTriggerLeave(l);if(l.defaultPrevented)return;c3.onPointerGraceIntentChange(null)}})),onKeyDown:go(t2.onKeyDown,l=>{const h=c3.searchRef.current!=="";if(t2.disabled||h&&l.key===" ")return;if(Vt[r4.dir].includes(l.key)){n3.onOpenChange(true);n3.content?.focus();l.preventDefault()}})})})});Je3.displayName=k2;var Ze3="MenuSubContent";var et2=z.forwardRef((t2,o5)=>{const n3=Oe(y,t2.__scopeMenu);const{forceMount:r4=n3.forceMount,...s}=t2;const c3=E2(y,t2.__scopeMenu);const i4=G(y,t2.__scopeMenu);const d2=Qe3(Ze3,t2.__scopeMenu);const f2=z.useRef(null);const m2=on(o5,f2);return Ht.jsx(T.Provider,{scope:t2.__scopeMenu,children:Ht.jsx(j,{present:r4||c3.open,children:Ht.jsx(T.Slot,{scope:t2.__scopeMenu,children:Ht.jsx(ce2,{id:d2.contentId,"aria-labelledby":d2.triggerId,...s,ref:m2,align:"start",side:i4.dir==="rtl"?"left":"right",disableOutsidePointerEvents:false,disableOutsideScroll:false,trapFocus:false,onOpenAutoFocus:u3(x2=>{if(i4.isUsingKeyboardRef.current)f2.current?.focus();x2.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:u3(x2=>x2.preventDefault(),"onCloseAutoFocus"),onFocusOutside:go(t2.onFocusOutside,x2=>{if(x2.target!==d2.trigger)c3.onOpenChange(false)}),onEscapeKeyDown:go(t2.onEscapeKeyDown,x2=>{i4.onClose();x2.preventDefault()}),onKeyDown:go(t2.onKeyDown,x2=>{const l=x2.currentTarget.contains(x2.target);const h=Xt[i4.dir].includes(x2.key);if(l&&h){c3.onOpenChange(false);d2.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 o5=document.activeElement;for(const n3 of t2){if(n3===o5)return;n3.focus();if(document.activeElement!==o5)return}}__name(mn,"mn");u3(mn,"focusFirst");function hn(t2,o5){return t2.map((n3,r4)=>t2[(o5+r4)%t2.length])}__name(hn,"hn");u3(hn,"wrapArray");function gn(t2,o5,n3){const r4=o5.length>1&&Array.from(o5).every(m2=>m2===o5[0]);const s=r4?o5[0]:o5;const c3=n3?t2.indexOf(n3):-1;let i4=hn(t2,Math.max(c3,0));const d2=s.length===1;if(d2)i4=i4.filter(m2=>m2!==n3);const f2=i4.find(m2=>m2.toLowerCase().startsWith(s.toLowerCase()));return f2!==n3?f2:void 0}__name(gn,"gn");u3(gn,"getNextMatch");function vn(t2,o5){const{x:n3,y:r4}=t2;let s=false;for(let c3=0,i4=o5.length-1;c3r4!==h>r4&&n3<(l-m2)*(r4-x2)/(h-x2)+m2;if(w)s=!s}return s}__name(vn,"vn");u3(vn,"isPointInPolygon");function bn(t2,o5){if(!o5)return false;const n3={x:t2.clientX,y:t2.clientY};return vn(n3,o5)}__name(bn,"bn");u3(bn,"isPointerInGraceArea");function O(t2){return o5=>o5.pointerType==="mouse"?t2(o5):void 0}__name(O,"O");u3(O,"whenMouse");var wn=Te;var Mn=se2;var jn=Le2;var yn=Be2;var Cn=le2;var Nn=Ue3;var _n=Y;var Fn2=Ke3;var Rn=He2;var Sn=ze2;var En=Xe2;var Pn2=Ye2;var Dn=qe2;var In2=Je3;var An=et2;var q="DropdownMenu";var[kn,So2]=av(q,[Ae]);var M2=Ae();var[Tn,nt2]=kn(q);var ot3=u3(t2=>{const{__scopeDropdownMenu:o5,children:n3,dir:r4,open:s,defaultOpen:c3,onOpenChange:i4,modal:d2=true}=t2;const f2=M2(o5);const m2=z.useRef(null);const[x2,l]=dS({prop:s,defaultProp:c3??false,onChange:i4,caller:q});return Ht.jsx(Tn,{scope:o5,triggerId:gS(),triggerRef:m2,contentId:gS(),open:x2,onOpenChange:l,onOpenToggle:z.useCallback(()=>l(h=>!h),[l]),modal:d2,children:Ht.jsx(wn,{...f2,open:x2,onOpenChange:l,dir:r4,modal:d2,children:n3})})},"DropdownMenu$1");ot3.displayName=q;var rt2="DropdownMenuTrigger";var st2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,disabled:r4=false,...s}=t2;const c3=nt2(rt2,n3);const i4=M2(n3);return Ht.jsx(Mn,{asChild:true,...i4,children:Ht.jsx(sn.button,{type:"button",id:c3.triggerId,"aria-haspopup":"menu","aria-expanded":c3.open,"aria-controls":c3.open?c3.contentId:void 0,"data-state":c3.open?"open":"closed","data-disabled":r4?"":void 0,disabled:r4,...s,ref:Xh(o5,c3.triggerRef),onPointerDown:go(t2.onPointerDown,d2=>{if(!r4&&d2.button===0&&d2.ctrlKey===false){c3.onOpenToggle();if(!c3.open)d2.preventDefault()}}),onKeyDown:go(t2.onKeyDown,d2=>{if(r4)return;if(["Enter"," "].includes(d2.key))c3.onOpenToggle();if(d2.key==="ArrowDown")c3.onOpenChange(true);if(["Enter"," ","ArrowDown"].includes(d2.key))d2.preventDefault()})})})});st2.displayName=rt2;var On="DropdownMenuPortal";var at2=u3(t2=>{const{__scopeDropdownMenu:o5,...n3}=t2;const r4=M2(o5);return Ht.jsx(jn,{...r4,...n3})},"DropdownMenuPortal");at2.displayName=On;var it2="DropdownMenuContent";var ct2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=nt2(it2,n3);const c3=M2(n3);const i4=z.useRef(false);return Ht.jsx(yn,{id:s.contentId,"aria-labelledby":s.triggerId,...c3,...r4,ref:o5,onCloseAutoFocus:go(t2.onCloseAutoFocus,d2=>{if(!i4.current)s.triggerRef.current?.focus();i4.current=false;d2.preventDefault()}),onInteractOutside:go(t2.onInteractOutside,d2=>{const f2=d2.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,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Cn,{...s,...r4,ref:o5})});Bn.displayName=Ln;var Un="DropdownMenuLabel";var Gn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Nn,{...s,...r4,ref:o5})});Gn.displayName=Un;var Kn="DropdownMenuItem";var lt2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(_n,{...s,...r4,ref:o5})});lt2.displayName=Kn;var $n="DropdownMenuCheckboxItem";var Hn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Fn2,{...s,...r4,ref:o5})});Hn.displayName=$n;var Wn="DropdownMenuRadioGroup";var zn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Rn,{...s,...r4,ref:o5})});zn.displayName=Wn;var Vn="DropdownMenuRadioItem";var Xn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Sn,{...s,...r4,ref:o5})});Xn.displayName=Vn;var Yn="DropdownMenuItemIndicator";var qn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(En,{...s,...r4,ref:o5})});qn.displayName=Yn;var Qn="DropdownMenuSeparator";var Jn=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Pn2,{...s,...r4,ref:o5})});Jn.displayName=Qn;var Zn="DropdownMenuArrow";var eo=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(Dn,{...s,...r4,ref:o5})});eo.displayName=Zn;var to="DropdownMenuSubTrigger";var no=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(In2,{...s,...r4,ref:o5})});no.displayName=to;var oo2="DropdownMenuSubContent";var ro2=z.forwardRef((t2,o5)=>{const{__scopeDropdownMenu:n3,...r4}=t2;const s=M2(n3);return Ht.jsx(An,{...s,...r4,ref:o5,style:{...t2.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})});ro2.displayName=oo2;var so2=ot3;var ao=st2;var io=at2;var co2=ct2;var lo=lt2;var uo=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]];var po2=qv("heart",uo);var xo2=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]];var Me2=qv("menu",xo2);var fo2=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]];var mo2=qv("package",fo2);var ho2=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]];var go2=qv("shopping-bag",ho2);var vo2=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]];var bo2=qv("user",vo2);function je2({...t2}){return Ht.jsx(so2,{"data-slot":"dropdown-menu",...t2})}__name(je2,"je");u3(je2,"DropdownMenu");function ye2({...t2}){return Ht.jsx(ao,{"data-slot":"dropdown-menu-trigger",...t2})}__name(ye2,"ye");u3(ye2,"DropdownMenuTrigger");function Ce({className:t2,sideOffset:o5=4,...n3}){return Ht.jsx(io,{children:Ht.jsx(co2,{"data-slot":"dropdown-menu-content",sideOffset:o5,className:nv("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t2),...n3})})}__name(Ce,"Ce");u3(Ce,"DropdownMenuContent");function Ne2({className:t2,inset:o5,variant:n3="default",...r4}){return Ht.jsx(lo,{"data-slot":"dropdown-menu-item","data-inset":o5,"data-variant":n3,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),...r4})}__name(Ne2,"Ne");u3(Ne2,"DropdownMenuItem");var dt3=u3(t2=>{return{id:String(t2.id),label:rS(String(t2.title)),href:t2.resolved_url,children:Array.isArray(t2.children)?t2.children.map(dt3):void 0}},"createMenuItem");var ut2=z.createContext(null);var wo2=u3(()=>{const t2=z.useContext(ut2);if(!t2){throw new Error("useMenu must be used within a MenuProvider")}return t2},"useMenu");var Mo2=u3(({children:t2,menu_id:o5,...n3})=>{const[r4,s]=z.useState([]);const[c3,i4]=z.useState(true);const[d2,f2]=z.useState(null);const[m2,x2]=z.useState(false);const l=z.useRef(null);const h=z.useCallback(()=>{const C3="Failed to fetch menu items";f2(C3)},[]);const w=u3(async C3=>{if(m2)return;i4(true);x2(true);f2(null);try{const _2=await wvcClient.getMenuItems({menuId:parseInt(o5)});const Q3=_2.map(dt3);s(Q3)}catch{h()}finally{i4(false);x2(false)}},"fetchMenuItems");z.useEffect(()=>{l.current=new AbortController;w(l.current.signal);const C3=u3(()=>{v2()},"handleMenuRefresh");window.addEventListener("WVC_MENU_REFRESH",C3);return()=>{if(l.current){l.current.abort()}window.removeEventListener("WVC_MENU_REFRESH",C3)}},[]);const v2=u3(async()=>{if(l.current){l.current.abort()}l.current=new AbortController;await w(l.current.signal)},"refetch");const N2={menuItems:r4,loading:c3,error:d2,refetch:v2,isRefetching:m2};return Ht.jsx(ut2.Provider,{value:N2,children:Ht.jsx("div",{...n3,"data-wvc-dynamic":"MenuProvider","data-wvc-menu_id":o5,children:t2})})},"WordpressMenuProvider");var jo2=Mo2;var yo2=[{label:"Home",href:"/",active:true},{label:"Shop",href:"/shop",hasDropdown:true,dropdownItems:[{label:"Fibre Filler",href:"/shop/fibre-filler"},{label:"Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Primers",href:"/shop/primers"},{label:"Wall and Roof Paint",href:"/shop/wall-and-roof-paint"}]},{label:"Waterproofing Solutions",href:"/waterproofing-solutions"},{label:"How It Works",href:"/how-it-works"},{label:"Applications",href:"/applications"},{label:"Help & Advice",href:"/help-advice"},{label:"About us",href:"/about-us"},{label:"Contact",href:"/contact"}];var _e=[{label:"Shop Liquid Rubber",href:"/shop/liquid-rubber"},{label:"Shop Fibre Filler",href:"/shop/fibre-filler"},{label:"Shop Primers",href:"/shop/primers"},{label:"Shop Wall & Roof Paint",href:"/shop/wall-and-roof-paint"},{label:"Seamless Liquid Rubber Waterproofing",href:"/shop/liquid-rubber"},{label:"Reinforce Cracks, Joints & Leak Points",href:"/shop/fibre-filler"},{label:"Prepare Surfaces for Stronger Adhesion",href:"/shop/primers"},{label:"Durable Wall & Roof Protection That Lasts",href:"/shop/wall-and-roof-paint"}];function Co2(){const[t2,o5]=z.useState("");const[n3,r4]=z.useState(false);const{menuItems:s}=wo2();const c3=s&&s.length>0?s.map(i4=>({label:i4.label||i4.title||"",href:i4.href||i4.url||"#",dropdownItems:i4.children?.map(d2=>({label:d2.label||d2.title||"",href:d2.href||d2.url||"#"})),hasDropdown:Boolean(i4.children&&i4.children.length>0),active:false})):yo2;return Ht.jsxs("header",{id:"header",className:"w-full bg-white text-[#4B5563] relative z-50 overflow-visible",style:{fontFamily:'"Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'},children:[Ht.jsx("section",{className:"w-full bg-white border-b border-[#EBEFF5]",children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 py-4 md:py-6 flex flex-wrap items-center justify-between gap-4",children:[Ht.jsx("div",{className:"flex-shrink-0 flex items-center",children:Ht.jsx(cS,{to:"https://teal-sparrow-432062.hostingersite.com",className:"inline-block","aria-label":"U-Proof Home",children:Ht.jsx("img",{src:"https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/cropped-U-Proof-Designs.png",alt:"U-Proof Waterproofing Solutions Logo",className:"w-auto h-8 md:h-12 max-w-[200px] object-contain"})})}),Ht.jsx("div",{className:"hidden md:flex flex-1 max-w-[500px] mx-4 items-center",children:Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none text-[#0046BE]",children:Ht.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 26 26","aria-hidden":"true",className:"stroke-[#0046BE]",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"})]})}),Ht.jsx(It,{type:"text",placeholder:"Find product",value:t2,onChange:u3(i4=>o5(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:n3,onOpenChange:r4,children:[Ht.jsx(Et,{asChild:true,children:Ht.jsxs(fS,{variant:"outline",size:"icon",className:"lg:hidden h-10 w-10 rounded-lg border border-[#EDF0F2]",children:[Ht.jsx(Me2,{className:"w-5 h-5 text-[#111827]"}),Ht.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),Ht.jsxs(Tt,{side:"right",className:"w-[300px] sm:w-[360px] p-0",children:[Ht.jsx(_t,{className:"p-4 border-b border-[#EDF0F2] text-left",children:Ht.jsx(wt,{className:"text-lg font-bold text-[#111827]",children:"Menu"})}),Ht.jsxs("div",{className:"p-4 space-y-4 overflow-y-auto max-h-[calc(100vh-80px)]",children:[Ht.jsxs("div",{className:"relative w-full",children:[Ht.jsx(It,{type:"text",placeholder:"Find product",className:"w-full bg-[#EDF0F2] border-[#F3F4F6] text-[14px] pl-9 h-10"}),Ht.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:Ht.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 26 26",className:"stroke-[#0046BE]","aria-hidden":"true",children:[Ht.jsx("circle",{cx:"11.35",cy:"11.35",r:"6",fill:"none",strokeWidth:"2"}),Ht.jsx("line",{x1:"15.59",y1:"15.59",x2:"20.65",y2:"20.65",fill:"none",strokeWidth:"2"})]})})]}),Ht.jsxs("div",{className:"pt-2",children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Categories"}),Ht.jsx("div",{className:"space-y-1",children:_e.slice(0,4).map(i4=>Ht.jsxs(cS,{to:i4.href,onClick:u3(()=>r4(false),"onClick"),className:"flex items-center justify-between py-2 text-sm text-[#111827] hover:text-[#0071A2] font-medium",children:[Ht.jsx("span",{children:i4.label}),Ht.jsx(Nt,{className:"w-4 h-4 text-gray-400"})]},i4.label))})]}),Ht.jsx("hr",{className:"border-[#EDF0F2]"}),Ht.jsxs("div",{children:[Ht.jsx("p",{className:"text-xs uppercase font-bold text-gray-400 mb-2",children:"Navigation"}),Ht.jsx("div",{className:"space-y-1",children:c3.map(i4=>Ht.jsx(cS,{to:i4.href,onClick:u3(()=>r4(false),"onClick"),className:`block py-2 text-sm font-semibold transition-colors ${i4.active?"text-[#0071A2]":"text-[#14181F] hover:text-[#0071A2]"}`,children:i4.label},i4.label))})]})]})]})]})]})]})}),Ht.jsx("nav",{"aria-label":"Main Navigation",className:"hidden lg:block w-full bg-white border-t border-[#EDF0F2] shadow-[0_16px_32px_-4px_rgba(12,12,13,0.08)] relative z-40",style:{boxShadow:"rgba(12, 12, 13, 0.08) 0px 16px 32px -4px"},children:Ht.jsxs("div",{className:"max-w-[1260px] mx-auto px-4 flex items-stretch justify-start",children:[Ht.jsx("div",{className:"flex items-stretch flex-1 overflow-x-auto scrollbar-none",children:c3.map(i4=>{if(i4.hasDropdown&&i4.dropdownItems&&i4.dropdownItems.length>0){return Ht.jsxs(je2,{children:[Ht.jsx(ye2,{asChild:true,children:Ht.jsxs("button",{type:"button",className:"h-[59px] px-5 flex items-center gap-1 text-[14.4px] font-semibold text-[#14181F] hover:bg-[#0071A2] hover:text-white border-r border-[#EDF0F2] transition-colors cursor-pointer outline-none",children:[Ht.jsx("span",{children:i4.label}),Ht.jsx(AS,{className:"w-3.5 h-3.5 opacity-70"})]})}),Ht.jsx(Ce,{align:"start",className:"w-[220px] bg-white p-2 rounded-md shadow-lg border border-[#EDF0F2]",children:i4.dropdownItems.map(d2=>Ht.jsx(Ne2,{asChild:true,children:Ht.jsx(cS,{to:d2.href,className:"block py-2 px-3 text-sm font-medium text-[#111827] hover:bg-[#F3F4F6] rounded",children:d2.label})},d2.label))})]},i4.label)}return Ht.jsx(cS,{to:i4.href,className:`h-[59px] px-5 flex items-center justify-center text-[14.4px] font-semibold border-r border-[#EDF0F2] transition-colors whitespace-nowrap ${i4.active?"bg-[#0071A2] text-white":"text-[#14181F] hover:bg-[#0071A2] hover:text-white"}`,style:i4.active?{backgroundColor:"rgb(0, 113, 162)",color:"#FFFFFF"}:void 0,children:i4.label},i4.label)})})]})})]})}__name(Co2,"Co");u3(Co2,"HeaderContent");function Eo2(){return Ht.jsx(jo2,{menu_id:"16",children:Ht.jsx(Co2,{})})}__name(Eo2,"Eo");u3(Eo2,"Header");function Po(){const 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,e4)=>eo2(t2,"name",{value:e4,configurable:true}),"i");var Si=z.createContext({});function no2(t2){const e4=z.useRef(null);if(e4.current===null){e4.current=t2()}return e4.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,e4){if(t2.indexOf(e4)===-1)t2.push(e4)}__name(un2,"un");i2(un2,"addUniqueItem");function hn2(t2,e4){const n3=t2.indexOf(e4);if(n3>-1)t2.splice(n3,1)}__name(hn2,"hn");i2(hn2,"removeItem");var q2=i2((t2,e4,n3)=>{if(n3>e4)return e4;if(n3{},"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 e4;return()=>{if(e4===void 0)e4=t2();return e4}}__name(dn2,"dn");i2(dn2,"memo");var H=i2(t2=>t2,"noop");var io2=i2((t2,e4)=>n3=>e4(t2(n3)),"combineFunctions");var jt=i2((...t2)=>t2.reduce(io2),"pipe");var Ct2=i2((t2,e4,n3)=>{const s=e4-t2;return s===0?1:(n3-t2)/s},"progress");var In3=class In4{static{__name(this,"In")}constructor(){this.subscriptions=[]}add(e4){un2(this.subscriptions,e4);return()=>hn2(this.subscriptions,e4)}notify(e4,n3,s){const r4=this.subscriptions.length;if(!r4)return;if(r4===1){this.subscriptions[0](e4,n3,s)}else{for(let o5=0;o5t2*1e3,"secondsToMilliseconds");var $2=i2(t2=>t2/1e3,"millisecondsToSeconds");function Ci2(t2,e4){return e4?t2*(1e3/e4):0}__name(Ci2,"Ci");i2(Ci2,"velocityPerSecond");var Di=i2((t2,e4,n3)=>(((1-3*n3+3*e4)*t2+(3*n3-6*e4))*t2+3*e4)*t2,"calcBezier");var ro3=1e-7;var oo3=12;function ao2(t2,e4,n3,s,r4){let o5;let c3;let a2=0;do{c3=e4+(n3-e4)/2;o5=Di(c3,s,r4)-t2;if(o5>0){n3=c3}else{e4=c3}}while(Math.abs(o5)>ro3&&++a2ao2(o5,0,1,t2,n3),"getTForX");return o5=>o5===0||o5===1?o5:Di(r4(o5),e4,s)}__name(Ot,"Ot");i2(Ot,"cubicBezier");var Mi2=i2(t2=>e4=>e4<=.5?t2(2*e4)/2:(2-t2(2*(1-e4)))/2,"mirrorEasing");var Ri2=i2(t2=>e4=>1-t2(1-e4),"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[e4,n3,s,r4]=t2;return Ot(e4,n3,s,r4)}else if(fo3(t2)){return ho3[t2]}return t2},"easingDefinitionToFunction");var Kt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mo3(t2,e4){let n3=new Set;let s=new Set;let r4=false;let o5=false;const c3=new WeakSet;let a2={delta:0,timestamp:0,isProcessing:false};function l(u5){if(c3.has(u5)){h.schedule(u5);t2()}u5(a2)}__name(l,"l");i2(l,"triggerCallback");const h={schedule:i2((u5,f2=false,d2=false)=>{const m2=d2&&r4;const p3=m2?n3:s;if(f2)c3.add(u5);if(!p3.has(u5))p3.add(u5);return u5},"schedule"),cancel:i2(u5=>{s.delete(u5);c3.delete(u5)},"cancel"),process:i2(u5=>{a2=u5;if(r4){o5=true;return}r4=true;[n3,s]=[s,n3];n3.forEach(l);n3.clear();r4=false;if(o5){o5=false;h.process(u5)}},"process")};return h}__name(mo3,"mo");i2(mo3,"createRenderStep");var po3=40;function Oi(t2,e4){let n3=false;let s=true;const r4={delta:0,timestamp:0,isProcessing:false};const o5=i2(()=>n3=true,"flagRunNextFrame");const c3=Kt.reduce((y2,w)=>{y2[w]=mo3(o5);return y2},{});const{setup:a2,read:l,resolveKeyframes:h,preUpdate:u5,update:f2,preRender:d2,render:m2,postRender:p3}=c3;const v2=i2(()=>{const y2=_.useManualTiming?r4.timestamp:performance.now();n3=false;if(!_.useManualTiming){r4.delta=s?1e3/60:Math.max(Math.min(y2-r4.timestamp,po3),1)}r4.timestamp=y2;r4.isProcessing=true;a2.process(r4);l.process(r4);h.process(r4);u5.process(r4);f2.process(r4);d2.process(r4);m2.process(r4);p3.process(r4);r4.isProcessing=false;if(n3&&e4){s=false;t2(v2)}},"processBatch");const T3=i2(()=>{n3=true;s=true;if(!r4.isProcessing){t2(v2)}},"wake");const g2=Kt.reduce((y2,w)=>{const b=c3[w];y2[w]=(V,L2=false,A=false)=>{if(!n3)T3();return b.schedule(V,L2,A)};return y2},{});const x2=i2(y2=>{for(let w=0;w{if(Ht2===void 0){O2.set(B2.isProcessing||_.useManualTiming?B2.timestamp:performance.now())}return Ht2},"now"),set:i2(t2=>{Ht2=t2;queueMicrotask(go3)},"set")};var Ni2=i2(t2=>e4=>typeof e4==="string"&&e4.startsWith(t2),"checkStringStartsWith");var gn2=Ni2("--");var yo3=Ni2("var(--");var yn2=i2(t2=>{const e4=yo3(t2);if(!e4)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,e4)=>n3=>{return Boolean(typeof n3==="string"&&xo3.test(n3)&&n3.startsWith(t2)||e4&&!To2(n3)&&Object.prototype.hasOwnProperty.call(n3,e4))},"isColorString");var Ui2=i2((t2,e4,n3)=>s=>{if(typeof s!=="string")return s;const[r4,o5,c3,a2]=s.match(vn2);return{[t2]:parseFloat(r4),[e4]:parseFloat(o5),[n3]:parseFloat(c3),alpha:a2!==void 0?parseFloat(a2):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:e4,blue:n3,alpha:s=1})=>"rgba("+re3.transform(t2)+", "+re3.transform(e4)+", "+re3.transform(n3)+", "+bt3(Mt.transform(s))+")","transform")};function bo3(t2){let e4="";let n3="";let s="";let r4="";if(t2.length>5){e4=t2.substring(1,3);n3=t2.substring(3,5);s=t2.substring(5,7);r4=t2.substring(7,9)}else{e4=t2.substring(1,2);n3=t2.substring(2,3);s=t2.substring(3,4);r4=t2.substring(4,5);e4+=e4;n3+=n3;s+=s;r4+=r4}return{red:parseInt(e4,16),green:parseInt(n3,16),blue:parseInt(s,16),alpha:r4?parseInt(r4,16)/255:1}}__name(bo3,"bo");i2(bo3,"parseHex");var xe={test:Tn2("#"),parse:bo3,transform:it3.transform};var Nt2=i2(t2=>({test:i2(e4=>typeof e4==="string"&&e4.endsWith(t2)&&e4.split(" ").length===1,"test"),parse:parseFloat,transform:i2(e4=>`${e4}${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:e4,lightness:n3,alpha:s=1})=>{return"hsla("+Math.round(t2)+", "+Y2.transform(bt3(e4))+", "+Y2.transform(bt3(n3))+", "+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 e4=E3.parse(t2);e4.alpha=0;return E3.transform(e4)},"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 e4=t2.toString();const n3=[];const s={color:[],number:[],var:[]};const r4=[];let o5=0;const c3=e4.replace(Mo3,l=>{if(E3.test(l)){s.color.push(o5);r4.push(Wi);n3.push(E3.parse(l))}else if(l.startsWith(Do2)){s.var.push(o5);r4.push(Co3);n3.push(l)}else{s.number.push(o5);r4.push(Ki2);n3.push(parseFloat(l))}++o5;return ms});const a2=c3.split(ms);return{values:n3,split:a2,indexes:s,types:r4}}__name(Rt2,"Rt");i2(Rt2,"analyseComplexValue");function $i(t2){return Rt2(t2).values}__name($i,"$i");i2($i,"parseComplexValue");function Hi2(t2){const{split:e4,types:n3}=Rt2(t2);const s=e4.length;return r4=>{let o5="";for(let c3=0;c3typeof t2==="number"?0:E3.test(t2)?E3.getAnimatableNone(t2):t2,"convertNumbersToZero");function Eo3(t2){const e4=$i(t2);const n3=Hi2(t2);return n3(e4.map(Ro3))}__name(Eo3,"Eo");i2(Eo3,"getAnimatableNone$1");var J={test:Vo2,parse:$i,createTransformer:Hi2,getAnimatableNone:Eo3};function oe2(t2,e4,n3){if(n3<0)n3+=1;if(n3>1)n3-=1;if(n3<1/6)return t2+(e4-t2)*6*n3;if(n3<1/2)return e4;if(n3<2/3)return t2+(e4-t2)*(2/3-n3)*6;return t2}__name(oe2,"oe");i2(oe2,"hueToRgb");function Lo2({hue:t2,saturation:e4,lightness:n3,alpha:s}){t2/=360;e4/=100;n3/=100;let r4=0;let o5=0;let c3=0;if(!e4){r4=o5=c3=n3}else{const a2=n3<.5?n3*(1+e4):n3+e4-n3*e4;const l=2*n3-a2;r4=oe2(l,a2,t2+1/3);o5=oe2(l,a2,t2);c3=oe2(l,a2,t2-1/3)}return{red:Math.round(r4*255),green:Math.round(o5*255),blue:Math.round(c3*255),alpha:s}}__name(Lo2,"Lo");i2(Lo2,"hslaToRgba");function Gt(t2,e4){return n3=>n3>0?e4:t2}__name(Gt,"Gt");i2(Gt,"mixImmediate");var D=i2((t2,e4,n3)=>{return t2+(e4-t2)*n3},"mixNumber$1");var ae3=i2((t2,e4,n3)=>{const s=t2*t2;const r4=n3*(e4*e4-s)+s;return r4<0?0:Math.sqrt(r4)},"mixLinearColor");var ko2=[xe,it3,ct3];var Bo2=i2(t2=>ko2.find(e4=>e4.test(t2)),"getColorType");function ps(t2){const e4=Bo2(t2);if(!Boolean(e4))return false;let n3=e4.parse(t2);if(e4===ct3){n3=Lo2(n3)}return n3}__name(ps,"ps");i2(ps,"asRGBA");var gs=i2((t2,e4)=>{const n3=ps(t2);const s=ps(e4);if(!n3||!s){return Gt(t2,e4)}const r4={...n3};return o5=>{r4.red=ae3(n3.red,s.red,o5);r4.green=ae3(n3.green,s.green,o5);r4.blue=ae3(n3.blue,s.blue,o5);r4.alpha=D(n3.alpha,s.alpha,o5);return it3.transform(r4)}},"mixColor");var Pe=new Set(["none","hidden"]);function Fo(t2,e4){if(Pe.has(t2)){return n3=>n3<=0?t2:e4}else{return n3=>n3>=1?e4:t2}}__name(Fo,"Fo");i2(Fo,"mixVisibility");function Io(t2,e4){return n3=>D(t2,e4,n3)}__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,e4){const n3=[...t2];const s=n3.length;const r4=t2.map((o5,c3)=>xn2(o5)(o5,e4[c3]));return o5=>{for(let c3=0;c3{for(const o5 in s){n3[o5]=s[o5](r4)}return n3}}__name(jo3,"jo");i2(jo3,"mixObject");function Oo2(t2,e4){const n3=[];const s={color:0,var:0,number:0};for(let r4=0;r4{const n3=J.createTransformer(e4);const s=Rt2(t2);const r4=Rt2(e4);const o5=s.indexes.var.length===r4.indexes.var.length&&s.indexes.color.length===r4.indexes.color.length&&s.indexes.number.length>=r4.indexes.number.length;if(o5){if(Pe.has(t2)&&!r4.values.length||Pe.has(e4)&&!s.values.length){return Fo(t2,e4)}return jt(zi2(Oo2(s,r4),r4.values),n3)}else{return Gt(t2,e4)}},"mixComplex");function Xi2(t2,e4,n3){if(typeof t2==="number"&&typeof e4==="number"&&typeof n3==="number"){return D(t2,e4,n3)}const s=xn2(t2);return s(t2,e4)}__name(Xi2,"Xi");i2(Xi2,"mix");var Uo2=i2(t2=>{const e4=i2(({timestamp:n3})=>t2(n3),"passTimestamp");return{start:i2((n3=true)=>C.update(e4,n3),"start"),stop:i2(()=>Q2(e4),"stop"),now:i2(()=>B2.isProcessing?B2.timestamp:O2.now(),"now")}},"frameloopDriver");var Yi2=i2((t2,e4,n3=10)=>{let s="";const r4=Math.max(Math.round(e4/n3),2);for(let o5=0;o5=qt2?Infinity:e4}__name(Pn3,"Pn");i2(Pn3,"calcGeneratorDuration");function Ko2(t2,e4=100,n3){const s=n3({...t2,keyframes:[0,e4]});const r4=Math.min(Pn3(s),qt2);return{type:"keyframes",ease:i2(o5=>{return s.next(r4*o5).value/e4},"ease"),duration:$2(r4)}}__name(Ko2,"Ko");i2(Ko2,"createGeneratorEasing");var Wo=5;function Gi2(t2,e4,n3){const s=Math.max(e4-Wo,0);return Ci2(n3-t2(s),e4-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:e4=M3.bounce,velocity:n3=M3.velocity,mass:s=M3.mass}){let r4;let o5;let c3=1-e4;c3=q2(M3.minDamping,M3.maxDamping,c3);t2=q2(M3.minDuration,M3.maxDuration,$2(t2));if(c3<1){r4=i2(h=>{const u5=h*c3;const f2=u5*t2;const d2=u5-n3;const m2=be2(h,c3);const p3=Math.exp(-f2);return le3-d2/m2*p3},"envelope");o5=i2(h=>{const u5=h*c3;const f2=u5*t2;const d2=f2*n3+n3;const m2=Math.pow(c3,2)*Math.pow(h,2)*t2;const p3=Math.exp(-f2);const v2=be2(Math.pow(h,2),c3);const T3=-r4(h)+le3>0?-1:1;return T3*((d2-m2)*p3)/v2},"derivative")}else{r4=i2(h=>{const u5=Math.exp(-h*t2);const f2=(h-n3)*t2+1;return-le3+u5*f2},"envelope");o5=i2(h=>{const u5=Math.exp(-h*t2);const f2=(n3-h)*(t2*t2);return u5*f2},"derivative")}const a2=5/t2;const l=zo2(r4,o5,a2);t2=X3(t2);if(isNaN(l)){return{stiffness:M3.stiffness,damping:M3.damping,duration:t2}}else{const h=Math.pow(l,2)*s;return{stiffness:h,damping:c3*2*Math.sqrt(s*h),duration:t2}}}__name($o,"$o");i2($o,"findSpring");var Ho2=12;function zo2(t2,e4,n3){let s=n3;for(let r4=1;r4t2[n3]!==void 0)}__name(ys,"ys");i2(ys,"isSpringType");function Go2(t2){let e4={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 n3=t2.visualDuration;const s=2*Math.PI/(n3*1.2);const r4=s*s;const o5=2*q2(.05,1,1-(t2.bounce||0))*Math.sqrt(r4);e4={...e4,mass:M3.mass,stiffness:r4,damping:o5}}else{const n3=$o(t2);e4={...e4,...n3,mass:M3.mass};e4.isResolvedFromDuration=true}}return e4}__name(Go2,"Go");i2(Go2,"getSpringOptions");function _t2(t2=M3.visualDuration,e4=M3.bounce){const n3=typeof t2!=="object"?{visualDuration:t2,keyframes:[0,1],bounce:e4}:t2;let{restSpeed:s,restDelta:r4}=n3;const o5=n3.keyframes[0];const c3=n3.keyframes[n3.keyframes.length-1];const a2={done:false,value:o5};const{stiffness:l,damping:h,mass:u5,duration:f2,velocity:d2,isResolvedFromDuration:m2}=Go2({...n3,velocity:-$2(n3.velocity||0)});const p3=d2||0;const v2=h/(2*Math.sqrt(l*u5));const T3=c3-o5;const g2=$2(Math.sqrt(l/u5));const x2=Math.abs(T3)<5;s||(s=x2?M3.restSpeed.granular:M3.restSpeed.default);r4||(r4=x2?M3.restDelta.granular:M3.restDelta.default);let y2;if(v2<1){const b=be2(g2,v2);y2=i2(V=>{const L2=Math.exp(-v2*g2*V);return c3-L2*((p3+v2*g2*T3)/b*Math.sin(b*V)+T3*Math.cos(b*V))},"resolveSpring")}else if(v2===1){y2=i2(b=>c3-Math.exp(-g2*b)*(T3+(p3+g2*T3)*b),"resolveSpring")}else{const b=g2*Math.sqrt(v2*v2-1);y2=i2(V=>{const L2=Math.exp(-v2*g2*V);const A=Math.min(b*V,300);return c3-L2*((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=y2(b);if(!m2){let L2=b===0?p3:0;if(v2<1){L2=b===0?X3(p3):Gi2(y2,b,V)}const A=Math.abs(L2)<=s;const j2=Math.abs(c3-V)<=r4;a2.done=A&&j2}else{a2.done=b>=f2}a2.value=a2.done?c3:V;return a2},"next"),toString:i2(()=>{const b=Math.min(Pn3(w),qt2);const V=Yi2(L2=>w.next(b*L2).value,b,30);return b+"ms "+V},"toString"),toTransition:i2(()=>{},"toTransition")};return w}__name(_t2,"_t");i2(_t2,"spring");_t2.applyToOptions=t2=>{const e4=Ko2(t2,100,_t2);t2.ease=e4.ease;t2.duration=X3(e4.duration);t2.type="keyframes";return t2};function Se({keyframes:t2,velocity:e4=0,power:n3=.8,timeConstant:s=325,bounceDamping:r4=10,bounceStiffness:o5=500,modifyTarget:c3,min:a2,max:l,restDelta:h=.5,restSpeed:u5}){const f2=t2[0];const d2={done:false,value:f2};const m2=i2(A=>a2!==void 0&&Al,"isOutOfBounds");const p3=i2(A=>{if(a2===void 0)return l;if(l===void 0)return a2;return Math.abs(a2-A)-v2*Math.exp(-A/s),"calcDelta");const y2=i2(A=>g2+x2(A),"calcLatest");const w=i2(A=>{const j2=x2(A);const N2=y2(A);d2.done=Math.abs(j2)<=h;d2.value=d2.done?g2:N2},"applyFriction");let b;let V;const L2=i2(A=>{if(!m2(d2.value))return;b=A;V=_t2({keyframes:[d2.value,p3(d2.value)],velocity:Gi2(y2,A,d2.value),damping:r4,stiffness:o5,restDelta:h,restSpeed:u5})},"checkCatchBoundary");L2(0);return{calculatedDuration:null,next:i2(A=>{let j2=false;if(!V&&b===void 0){j2=true;w(A);L2(A)}if(b!==void 0&&A>=b){return V.next(A-b)}else{!j2&&w(A);return d2}},"next")}}__name(Se,"Se");i2(Se,"inertia");function qo2(t2,e4,n3){const s=[];const r4=n3||_.mix||Xi2;const o5=t2.length-1;for(let c3=0;c3e4[0];if(o5===2&&e4[0]===e4[1])return()=>e4[1];const c3=t2[0]===t2[1];if(t2[0]>t2[o5-1]){t2=[...t2].reverse();e4=[...e4].reverse()}const a2=qo2(e4,s,r4);const l=a2.length;const h=i2(u5=>{if(c3&&u51){for(;f2h(q2(t2[0],t2[o5-1],u5)):h}__name(_o2,"_o");i2(_o2,"interpolate");function Zo2(t2,e4){const n3=t2[t2.length-1];for(let s=1;s<=e4;s++){const r4=Ct2(0,e4,s);t2.push(D(n3,1,r4))}}__name(Zo2,"Zo");i2(Zo2,"fillOffset");function Qo2(t2){const e4=[0];Zo2(e4,t2.length-1);return e4}__name(Qo2,"Qo");i2(Qo2,"defaultOffset");function Jo2(t2,e4){return t2.map(n3=>n3*e4)}__name(Jo2,"Jo");i2(Jo2,"convertOffsetToTimes");function ta2(t2,e4){return t2.map(()=>e4||Ii).splice(0,t2.length-1)}__name(ta2,"ta");i2(ta2,"defaultEasing");function St({duration:t2=300,keyframes:e4,times:n3,ease:s="easeInOut"}){const r4=uo2(s)?s.map(fs):fs(s);const o5={done:false,value:e4[0]};const c3=Jo2(n3&&n3.length===e4.length?n3:Qo2(e4),t2);const a2=_o2(c3,e4,{ease:Array.isArray(r4)?r4:ta2(e4,r4)});return{calculatedDuration:t2,next:i2(l=>{o5.value=a2(l);o5.done=l>=t2;return o5},"next")}}__name(St,"St");i2(St,"keyframes");var ea2=i2(t2=>t2!==null,"isNotNull$1");function bn2(t2,{repeat:e4,repeatType:n3="loop"},s,r4=1){const o5=t2.filter(ea2);const c3=r4<0||e4&&n3!=="loop"&&e4%2===1;const a2=c3?0:o5.length-1;return!a2||s===void 0?o5[a2]: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(e4=>{this.resolve=e4})}notifyFinished(){this.resolve()}then(e4,n3){return this.finished.then(e4,n3)}};i2(jn2,"WithPromise");var Et2=jn2;var sa=i2(t2=>t2/100,"percentToProgress");var On2=class On3 extends Et2{static{__name(this,"On")}constructor(e4){super();this.state="idle";this.startTime=null;this.isStopped=false;this.currentTime=0;this.holdTime=null;this.playbackSpeed=1;this.stop=()=>{const{motionValue:n3}=this.options;if(n3&&n3.updatedAt!==O2.now()){this.tick(O2.now())}this.isStopped=true;if(this.state==="idle")return;this.teardown();this.options.onStop?.()};this.options=e4;this.initAnimation();this.play();if(e4.autoplay===false)this.pause()}initAnimation(){const{options:e4}=this;qi2(e4);const{type:n3=St,repeat:s=0,repeatDelay:r4=0,repeatType:o5,velocity:c3=0}=e4;let{keyframes:a2}=e4;const l=n3||St;if(l!==St&&typeof a2[0]!=="number"){this.mixKeyframes=jt(sa,Xi2(a2[0],a2[1]));a2=[0,100]}const h=l({...e4,keyframes:a2});if(o5==="mirror"){this.mirroredGenerator=l({...e4,keyframes:[...a2].reverse(),velocity:-c3})}if(h.calculatedDuration===null){h.calculatedDuration=Pn3(h)}const{calculatedDuration:u5}=h;this.calculatedDuration=u5;this.resolvedDuration=u5+r4;this.totalDuration=this.resolvedDuration*(s+1)-r4;this.generator=h}updateTime(e4){const n3=Math.round(e4-this.startTime)*this.playbackSpeed;if(this.holdTime!==null){this.currentTime=this.holdTime}else{this.currentTime=n3}}tick(e4,n3=false){const{generator:s,totalDuration:r4,mixKeyframes:o5,mirroredGenerator:c3,resolvedDuration:a2,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:h=0,keyframes:u5,repeat:f2,repeatType:d2,repeatDelay:m2,type:p3,onUpdate:v2,finalKeyframe:T3}=this.options;if(this.speed>0){this.startTime=Math.min(this.startTime,e4)}else if(this.speed<0){this.startTime=Math.min(e4-r4/this.speed,this.startTime)}if(n3){this.currentTime=e4}else{this.updateTime(e4)}const g2=this.currentTime-h*(this.playbackSpeed>=0?1:-1);const x2=this.playbackSpeed>=0?g2<0:g2>r4;this.currentTime=Math.max(g2,0);if(this.state==="finished"&&this.holdTime===null){this.currentTime=r4}let y2=this.currentTime;let w=s;if(f2){const A=Math.min(this.currentTime,r4)/a2;let j2=Math.floor(A);let N2=A%1;if(!N2&&A>=1){N2=1}N2===1&&j2--;j2=Math.min(j2,f2+1);const tt4=Boolean(j2%2);if(tt4){if(d2==="reverse"){N2=1-N2;if(m2){N2-=m2/a2}}else if(d2==="mirror"){w=c3}}y2=q2(0,1,N2)*a2}const b=x2?{done:false,value:u5[0]}:w.next(y2);if(o5){b.value=o5(b.value)}let{done:V}=b;if(!x2&&l!==null){V=this.playbackSpeed>=0?this.currentTime>=r4:this.currentTime<=0}const L2=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);if(L2&&p3!==Se){b.value=bn2(u5,this.options,T3,this.speed)}if(v2){v2(b.value)}if(L2){this.finish()}return b}then(e4,n3){return this.finished.then(e4,n3)}get duration(){return $2(this.calculatedDuration)}get iterationDuration(){const{delay:e4=0}=this.options||{};return this.duration+$2(e4)}get time(){return $2(this.currentTime)}set time(e4){e4=X3(e4);this.currentTime=e4;if(this.startTime===null||this.holdTime!==null||this.playbackSpeed===0){this.holdTime=e4}else if(this.driver){this.startTime=this.driver.now()-e4/this.playbackSpeed}this.driver?.start(false)}get speed(){return this.playbackSpeed}set speed(e4){this.updateTime(O2.now());const n3=this.playbackSpeed!==e4;this.playbackSpeed=e4;if(n3){this.time=$2(this.currentTime)}}play(){if(this.isStopped)return;const{driver:e4=Uo2,startTime:n3}=this.options;if(!this.driver){this.driver=e4(r4=>this.tick(r4))}this.options.onPlay?.();const s=this.driver.now();if(this.state==="finished"){this.updateFinished();this.startTime=s}else if(this.holdTime!==null){this.startTime=s-this.holdTime}else if(!this.startTime){this.startTime=n3??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(e4){this.startTime=0;return this.tick(e4,true)}attachTimeline(e4){if(this.options.allowFlatten){this.options.type="keyframes";this.options.ease="linear";this.initAnimation()}this.driver?.stop();return e4.observe(this)}};i2(On2,"JSAnimation");var Lt=On2;function ia2(t2){for(let e4=1;e4t2*180/Math.PI,"radToDeg");var we2=i2(t2=>{const e4=rt3(Math.atan2(t2[1],t2[0]));return Ae2(e4)},"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,e4){if(!t2||t2==="none"){return Ve3(e4)}const n3=t2.match(/^matrix3d(([-d.es,]+))$/u);let s;let r4;if(n3){s=oa2;r4=n3}else{const a2=t2.match(/^matrix(([-d.es,]+))$/u);s=ra2;r4=a2}if(!r4){return Ve3(e4)}const o5=s[e4];const c3=r4[1].split(",").map(la2);return typeof o5==="function"?o5(c3):c3[o5]}__name(Ce2,"Ce");i2(Ce2,"parseValueFromTransform");var aa2=i2((t2,e4)=>{const{transform:n3="none"}=getComputedStyle(t2);return Ce2(n3,e4)},"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 e4=[];ua2.forEach(n3=>{const s=t2.getValue(n3);if(s!==void 0){e4.push([n3,s.get()]);s.set(n3.startsWith("scale")?1:0)}});return e4}__name(ha,"ha");i2(ha,"removeNonTranslationalTransform");var ot4={width:i2(({x:t2},{paddingLeft:e4="0",paddingRight:n3="0"})=>t2.max-t2.min-parseFloat(e4)-parseFloat(n3),"width"),height:i2(({y:t2},{paddingTop:e4="0",paddingBottom:n3="0"})=>t2.max-t2.min-parseFloat(e4)-parseFloat(n3),"height"),top:i2((t2,{top:e4})=>parseFloat(e4),"top"),left:i2((t2,{left:e4})=>parseFloat(e4),"left"),bottom:i2(({y:t2},{top:e4})=>parseFloat(e4)+(t2.max-t2.min),"bottom"),right:i2(({x:t2},{left:e4})=>parseFloat(e4)+(t2.max-t2.min),"right"),x:i2((t2,{transform:e4})=>Ce2(e4,"x"),"x"),y:i2((t2,{transform:e4})=>Ce2(e4,"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 e4=new Set(t2.map(s=>s.element));const n3=new Map;e4.forEach(s=>{const r4=ha(s);if(!r4.length)return;n3.set(s,r4);s.render()});t2.forEach(s=>s.measureInitialState());e4.forEach(s=>{s.render();const r4=n3.get(s);if(r4){r4.forEach(([o5,c3])=>{s.getValue(o5)?.set(c3)})}});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(e4,n3,s,r4,o5,c3=false){this.state="pending";this.isAsync=false;this.needsMeasurement=false;this.unresolvedKeyframes=[...e4];this.onComplete=n3;this.name=s;this.motionValue=r4;this.element=o5;this.isAsync=c3}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:e4,name:n3,element:s,motionValue:r4}=this;if(e4[0]===null){const o5=r4?.get();const c3=e4[e4.length-1];if(o5!==void 0){e4[0]=o5}else if(s&&n3){const a2=s.readValue(n3,c3);if(a2!==void 0&&a2!==null){e4[0]=a2}}if(e4[0]===void 0){e4[0]=c3}if(r4&&o5===void 0){r4.set(e4[0])}}ia2(e4)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e4=false){this.state="complete";this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e4);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,e4,n3){da(e4)?t2.style.setProperty(e4,n3):t2.style[e4]=n3}__name(ma,"ma");i2(ma,"setStyle");var pa=dn2(()=>window.ScrollTimeline!==void 0);var ga={};function ya(t2,e4){const n3=dn2(t2);return()=>ga[e4]??n3()}__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,e4,n3,s])=>`cubic-bezier(${t2}, ${e4}, ${n3}, ${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,e4){if(!t2){return void 0}else if(typeof t2==="function"){return Qi2()?Yi2(t2,e4):"ease-out"}else if(ji2(t2)){return Pt(t2)}else if(Array.isArray(t2)){return t2.map(n3=>Ji2(n3,e4)||bs.easeOut)}else{return bs[t2]}}__name(Ji2,"Ji");i2(Ji2,"mapEasingToNativeEasing");function va(t2,e4,n3,{delay:s=0,duration:r4=300,repeat:o5=0,repeatType:c3="loop",ease:a2="easeOut",times:l}={},h=void 0){const u5={[e4]:n3};if(l)u5.offset=l;const f2=Ji2(a2,r4);if(Array.isArray(f2))u5.easing=f2;const d2={delay:s,duration:r4,easing:!Array.isArray(f2)?f2:"linear",fill:"both",iterations:o5+1,direction:c3==="reverse"?"alternate":"normal"};if(h)d2.pseudoElement=h;const m2=t2.animate(u5,d2);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,...e4}){if(tr(t2)&&Qi2()){return t2.applyToOptions(e4)}else{e4.duration??(e4.duration=300);e4.ease??(e4.ease="easeOut")}return e4}__name(Ta,"Ta");i2(Ta,"applyGeneratorOptions");var Un2=class Un3 extends Et2{static{__name(this,"Un")}constructor(e4){super();this.finishedTime=null;this.isStopped=false;if(!e4)return;const{element:n3,name:s,keyframes:r4,pseudoElement:o5,allowFlatten:c3=false,finalKeyframe:a2,onComplete:l}=e4;this.isPseudoElement=Boolean(o5);this.allowFlatten=c3;this.options=e4;fn3(typeof e4.type!=="string");const h=Ta(e4);this.animation=va(n3,s,r4,h,o5);if(h.autoplay===false){this.animation.pause()}this.animation.onfinish=()=>{this.finishedTime=this.time;if(!o5){const u5=bn2(r4,this.options,a2,this.speed);if(this.updateMotionValue){this.updateMotionValue(u5)}else{ma(n3,s,u5)}this.animation.cancel()}l?.();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(e4){}}stop(){if(this.isStopped)return;this.isStopped=true;const{state:e4}=this;if(e4==="idle"||e4==="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 e4=this.animation.effect?.getComputedTiming?.().duration||0;return $2(Number(e4))}get iterationDuration(){const{delay:e4=0}=this.options||{};return this.duration+$2(e4)}get time(){return $2(Number(this.animation.currentTime)||0)}set time(e4){this.finishedTime=null;this.animation.currentTime=X3(e4)}get speed(){return this.animation.playbackRate}set speed(e4){if(e4<0)this.finishedTime=null;this.animation.playbackRate=e4}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e4){this.animation.startTime=e4}attachTimeline({timeline:e4,observe:n3}){if(this.allowFlatten){this.animation.effect?.updateTiming({easing:"linear"})}this.animation.onfinish=null;if(e4&&pa()){this.animation.timeline=e4;return H}else{return n3(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(e4){Pa(e4);qi2(e4);super(e4);if(e4.startTime){this.startTime=e4.startTime}this.options=e4}updateMotionValue(e4){const{motionValue:n3,onUpdate:s,onComplete:r4,element:o5,...c3}=this.options;if(!n3)return;if(e4!==void 0){n3.set(e4);return}const a2=new Lt({...c3,autoplay:false});const l=X3(this.finishedTime??this.time);n3.setWithVelocity(a2.sample(l-Ss).value,a2.sample(l).value,Ss);a2.stop()}};i2(Kn2,"NativeAnimationExtended");var Le3=Kn2;var ws=i2((t2,e4)=>{if(e4==="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 e4=t2[0];if(t2.length===1)return true;for(let n3=0;n3Object.hasOwnProperty.call(Element.prototype,"animate"));function Va(t2){const{motionValue:e4,name:n3,repeatDelay:s,repeatType:r4,damping:o5,type:c3}=t2;const a2=e4?.owner?.current;if(!(a2 instanceof HTMLElement)){return false}const{onUpdate:l,transformTemplate:h}=e4.owner.getProps();return Aa()&&n3&&wa.has(n3)&&(n3!=="transform"||!h)&&!l&&!s&&r4!=="mirror"&&o5!==0&&c3!=="inertia"}__name(Va,"Va");i2(Va,"supportsBrowserAnimation");var Ca=40;var Wn2=class Wn3 extends Et2{static{__name(this,"Wn")}constructor({autoplay:e4=true,delay:n3=0,type:s="keyframes",repeat:r4=0,repeatDelay:o5=0,repeatType:c3="loop",keyframes:a2,name:l,motionValue:h,element:u5,...f2}){super();this.stop=()=>{if(this._animation){this._animation.stop();this.stopTimeline?.()}this.keyframeResolver?.cancel()};this.createdAt=O2.now();const d2={autoplay:e4,delay:n3,type:s,repeat:r4,repeatDelay:o5,repeatType:c3,name:l,motionValue:h,element:u5,...f2};const m2=u5?.KeyframeResolver||kt;this.keyframeResolver=new m2(a2,(p3,v2,T3)=>this.onKeyframesResolved(p3,v2,d2,!T3),l,h,u5);this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e4,n3,s,r4){this.keyframeResolver=void 0;const{name:o5,type:c3,velocity:a2,delay:l,isHandoff:h,onUpdate:u5}=s;this.resolvedAt=O2.now();if(!Sa(e4,o5,c3,a2)){if(_.instantAnimations||!l){u5?.(bn2(e4,s,n3))}e4[0]=e4[e4.length-1];ke4(s);s.repeat=0}const f2=r4?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>Ca?this.resolvedAt:this.createdAt:void 0;const d2={startTime:f2,finalKeyframe:n3,...s,keyframes:e4};const m2=!h&&Va(d2)?new Le3({...d2,element:d2.motionValue.owner.current}):new Lt(d2);m2.finished.then(()=>this.notifyFinished()).catch(H);if(this.pendingTimeline){this.stopTimeline=m2.attachTimeline(this.pendingTimeline);this.pendingTimeline=void 0}this._animation=m2}get finished(){if(!this._animation){return this._finished}else{return this.animation.finished}}then(e4,n3){return this.finished.finally(e4).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(e4){this.animation.time=e4}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e4){this.animation.speed=e4}get startTime(){return this.animation.startTime}attachTimeline(e4){if(this._animation){this.stopTimeline=this.animation.attachTimeline(e4)}else{this.pendingTimeline=e4}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 e4=Da.exec(t2);if(!e4)return[,];const[,n3,s,r4]=e4;return[`--${n3??s}`,r4]}__name(Ma,"Ma");i2(Ma,"parseCSSVariable");function nr(t2,e4,n3=1){const[s,r4]=Ma(t2);if(!s)return;const o5=window.getComputedStyle(e4).getPropertyValue(s);if(o5){const c3=o5.trim();return wi(c3)?parseFloat(c3):c3}return yn2(r4)?nr(r4,e4,n3+1):r4}__name(nr,"nr");i2(nr,"getVariableValue");function Sn2(t2,e4){return t2?.[e4]??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=>e4=>e4.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[e4,n3]=t2.slice(0,-1).split("(");if(e4==="drop-shadow")return t2;const[s]=n3.match(vn2)||[];if(!s)return t2;const r4=n3.replace(s,"");let o5=La.has(e4)?1:0;if(s!==n3)o5*=100;return e4+"("+o5+r4+")"}__name(ka,"ka");i2(ka,"applyDefaultFilter");var Ba=/b([a-z-]*)(.*?)/gu;var Fe={...J,getAnimatableNone:i2(t2=>{const e4=t2.match(Ba);return e4?e4.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,e4){let n3=or(t2);if(n3!==Fe)n3=J;return n3.getAnimatableNone?n3.getAnimatableNone(e4):void 0}__name(ar,"ar");i2(ar,"getAnimatableNone");var ja=new Set(["auto","none","0"]);function Oa(t2,e4,n3){let s=0;let r4=void 0;while(s{e4.getValue(a2).set(l)})}this.resolveNoneKeyframes()}};i2($n2,"DOMKeyframesResolver");var Ie2=$n2;function Na(t2,e4,n3){if(t2 instanceof EventTarget){return[t2]}else if(typeof t2==="string"){let s=document;const r4=n3?.[t2]??s.querySelectorAll(t2);return r4?Array.from(r4):[]}return Array.from(t2)}__name(Na,"Na");i2(Na,"resolveElements");var lr=i2((t2,e4)=>{return e4&&typeof t2==="number"?e4.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(e4,n3={}){this.canTrackVelocity=null;this.events={};this.updateAndNotify=s=>{const r4=O2.now();if(this.updatedAt!==r4){this.setPrevFrameValue()}this.prev=this.current;this.setCurrent(s);if(this.current!==this.prev){this.events.change?.notify(this.current);if(this.dependents){for(const o5 of this.dependents){o5.dirty()}}}};this.hasAnimated=false;this.setCurrent(e4);this.owner=n3.owner}setCurrent(e4){this.current=e4;this.updatedAt=O2.now();if(this.canTrackVelocity===null&&e4!==void 0){this.canTrackVelocity=Ka(this.current)}}setPrevFrameValue(e4=this.current){this.prevFrameValue=e4;this.prevUpdatedAt=this.updatedAt}onChange(e4){return this.on("change",e4)}on(e4,n3){if(!this.events[e4]){this.events[e4]=new Dt2}const s=this.events[e4].add(n3);if(e4==="change"){return()=>{s();C.read(()=>{if(!this.events.change.getSize()){this.stop()}})}}return s}clearListeners(){for(const e4 in this.events){this.events[e4].clear()}}attach(e4,n3){this.passiveEffect=e4;this.stopPassiveEffect=n3}set(e4){if(!this.passiveEffect){this.updateAndNotify(e4)}else{this.passiveEffect(e4,this.updateAndNotify)}}setWithVelocity(e4,n3,s){this.set(n3);this.prev=void 0;this.prevFrameValue=e4;this.prevUpdatedAt=this.updatedAt-s}jump(e4,n3=true){this.updateAndNotify(e4);this.prev=e4;this.prevUpdatedAt=this.prevFrameValue=void 0;n3&&this.stop();if(this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e4){if(!this.dependents){this.dependents=new Set}this.dependents.add(e4)}removeDependent(e4){if(this.dependents){this.dependents.delete(e4)}}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e4=O2.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e4-this.updatedAt>Cs){return 0}const n3=Math.min(this.updatedAt-this.prevUpdatedAt,Cs);return Ci2(parseFloat(this.current)-parseFloat(this.prevFrameValue),n3)}start(e4){this.stop();return new Promise(n3=>{this.hasAnimated=true;this.animation=e4(n3);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,e4){return new je3(t2,e4)}__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,e4){const n3=Na(t2);const s=new AbortController;const r4={passive:true,...e4,signal:s.signal};const o5=i2(()=>s.abort(),"cancel");return[n3,r4,o5]}__name(ur,"ur");i2(ur,"setupGesture");function Ds(t2){return!(t2.pointerType==="touch"||cr())}__name(Ds,"Ds");i2(Ds,"isValidHover");function $a(t2,e4,n3={}){const[s,r4,o5]=ur(t2,n3);const c3=i2(a2=>{if(!Ds(a2))return;const{target:l}=a2;const h=e4(l,a2);if(typeof h!=="function"||!l)return;const u5=i2(f2=>{if(!Ds(f2))return;h(f2);l.removeEventListener("pointerleave",u5)},"onPointerLeave");l.addEventListener("pointerleave",u5,r4)},"onPointerEnter");s.forEach(a2=>{a2.addEventListener("pointerenter",c3,r4)});return o5}__name($a,"$a");i2($a,"hover");var hr=i2((t2,e4)=>{if(!e4){return false}else if(t2===e4){return true}else{return hr(t2,e4.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 e4=>{if(e4.key!=="Enter")return;t2(e4)}}__name(Ms,"Ms");i2(Ms,"filterEvents");function ce3(t2,e4){t2.dispatchEvent(new PointerEvent("pointer"+e4,{isPrimary:true,bubbles:true}))}__name(ce3,"ce");i2(ce3,"firePointerEvent");var Xa=i2((t2,e4)=>{const n3=t2.currentTarget;if(!n3)return;const s=Ms(()=>{if(zt2.has(n3))return;ce3(n3,"down");const r4=Ms(()=>{ce3(n3,"up")});const o5=i2(()=>ce3(n3,"cancel"),"handleBlur");n3.addEventListener("keyup",r4,e4);n3.addEventListener("blur",o5,e4)});n3.addEventListener("keydown",s,e4);n3.addEventListener("blur",()=>n3.removeEventListener("keydown",s),e4)},"enableKeyboardPress");function Rs(t2){return Vn2(t2)&&!cr()}__name(Rs,"Rs");i2(Rs,"isValidPressEvent");function Ya(t2,e4,n3={}){const[s,r4,o5]=ur(t2,n3);const c3=i2(a2=>{const l=a2.currentTarget;if(!Rs(a2))return;zt2.add(l);const h=e4(l,a2);const u5=i2((m2,p3)=>{window.removeEventListener("pointerup",f2);window.removeEventListener("pointercancel",d2);if(zt2.has(l)){zt2.delete(l)}if(!Rs(m2)){return}if(typeof h==="function"){h(m2,{success:p3})}},"onPointerEnd");const f2=i2(m2=>{u5(m2,l===window||l===document||n3.useGlobalTarget||hr(l,m2.target))},"onPointerUp");const d2=i2(m2=>{u5(m2,false)},"onPointerCancel");window.addEventListener("pointerup",f2,r4);window.addEventListener("pointercancel",d2,r4)},"startPress");s.forEach(a2=>{const l=n3.useGlobalTarget?window:a2;l.addEventListener("pointerdown",c3,r4);if(Ua(a2)){a2.addEventListener("focus",h=>Xa(h,r4));if(!za(a2)&&!a2.hasAttribute("tabindex")){a2.tabIndex=0}}});return o5}__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 e4=z.useContext(cn2);if(e4===null)return[true,null];const{isPresent:n3,onExitComplete:s,register:r4}=e4;const o5=z.useId();z.useEffect(()=>{if(t2){return r4(o5)}},[t2]);const c3=z.useCallback(()=>t2&&s&&s(o5),[o5,s,t2]);return!n3&&s?[false,c3]:[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(e4=>Es[t2].some(n3=>!!e4[n3]),"isEnabled")}}function Qa(t2){for(const e4 in t2){gt2[e4]={...gt2[e4],...t2[e4]}}}__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(e4=>e4.startsWith("on")?!Zt3(e4):t2(e4),"shouldForward")}__name(tl,"tl");i2(tl,"loadExternalIsValidProp");try{tl(__require("@emotion/is-prop-valid").default)}catch{}function el(t2,e4,n3){const s={};for(const r4 in t2){if(r4==="values"&&typeof t2.values==="object")continue;if(pr(r4)||n3===true&&Zt3(r4)||!e4&&!Zt3(r4)||t2["draggable"]&&r4.startsWith("onDrag")){s[r4]=t2[r4]}}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(e4=>Bt(t2[e4]))}__name(se3,"se");i2(se3,"isControllingVariants");function gr(t2){return Boolean(se3(t2)||t2.variants)}__name(gr,"gr");i2(gr,"isVariantNode");function nl(t2,e4){if(se3(t2)){const{initial:n3,animate:s}=t2;return{initial:n3===false||Bt(n3)?n3:void 0,animate:Bt(s)?s:void 0}}return t2.inherit!==false?e4:{}}__name(nl,"nl");i2(nl,"getCurrentTreeVariants");function sl2(t2){const{initial:e4,animate:n3}=nl(t2,z.useContext(ee3));return z.useMemo(()=>({initial:e4,animate:n3}),[Ls(e4),Ls(n3)])}__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 e4 in t2){Ft[e4]=t2[e4];if(gn2(e4)){Ft[e4].isCSSVariable=true}}}__name(il,"il");i2(il,"addScaleCorrector");function yr(t2,{layout:e4,layoutId:n3}){return Tt2.has(t2)||t2.startsWith("origin")||(e4||n3!==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,e4,n3){let s="";let r4=true;for(let o5=0;o5({style:{},transform:{},transformOrigin:{},vars:{}}),"createHtmlRenderState");function vr(t2,e4,n3){for(const s in e4){if(!F2(e4[s])&&!yr(s,n3)){t2[s]=e4[s]}}}__name(vr,"vr");i2(vr,"copyRawValuesOnly");function ll({transformTemplate:t2},e4){return z.useMemo(()=>{const n3=Rn2();Mn2(n3,e4,t2);return Object.assign({},n3.vars,n3.style)},[e4])}__name(ll,"ll");i2(ll,"useInitialMotionValues");function cl(t2,e4){const n3=t2.style||{};const s={};vr(s,n3,t2);Object.assign(s,ll(t2,e4));return s}__name(cl,"cl");i2(cl,"useStyle");function ul(t2,e4){const n3={};const s=cl(t2,e4);if(t2.drag&&t2.dragListener!==false){n3.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)){n3.tabIndex=0}n3.style=s;return n3}__name(ul,"ul");i2(ul,"useHTMLProps");var hl={offset:"stroke-dashoffset",array:"stroke-dasharray"};var fl2={offset:"strokeDashoffset",array:"strokeDasharray"};function dl2(t2,e4,n3=1,s=0,r4=true){t2.pathLength=1;const o5=r4?hl:fl2;t2[o5.offset]=P.transform(-s);const c3=P.transform(e4);const a2=P.transform(n3);t2[o5.array]=`${c3} ${a2}`}__name(dl2,"dl");i2(dl2,"buildSVGPath");function Tr(t2,{attrX:e4,attrY:n3,attrScale:s,pathLength:r4,pathSpacing:o5=1,pathOffset:c3=0,...a2},l,h,u5){Mn2(t2,a2,h);if(l){if(t2.style.viewBox){t2.attrs.viewBox=t2.style.viewBox}return}t2.attrs=t2.style;t2.style={};const{attrs:f2,style:d2}=t2;if(f2.transform){d2.transform=f2.transform;delete f2.transform}if(d2.transform||f2.transformOrigin){d2.transformOrigin=f2.transformOrigin??"50% 50%";delete f2.transformOrigin}if(d2.transform){d2.transformBox=u5?.transformBox??"fill-box";delete f2.transformBox}if(e4!==void 0)f2.x=e4;if(n3!==void 0)f2.y=n3;if(s!==void 0)f2.scale=s;if(r4!==void 0){dl2(f2,r4,o5,c3,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,e4,n3,s){const r4=z.useMemo(()=>{const o5=xr();Tr(o5,e4,Pr(s),t2.transformTemplate,t2.style);return{...o5.attrs,style:{...o5.style}}},[e4]);if(t2.style){const o5={};vr(o5,t2.style,t2);r4.style={...o5,...r4.style}}return r4}__name(ml2,"ml");i2(ml2,"useSVGProps");var pl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function En2(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,e4,n3,{latestValues:s},r4,o5=false){const c3=En2(t2)?ml2:ul;const a2=c3(e4,s,r4,t2);const l=el(e4,typeof t2==="string",o5);const h=t2!==z.Fragment?{...l,...a2,ref:n3}:{};const{children:u5}=e4;const f2=z.useMemo(()=>F2(u5)?u5.get():u5,[u5]);return z.createElement(t2,{...h,children:f2})}__name(gl,"gl");i2(gl,"useRender");function ks(t2){const e4=[{},{}];t2?.values.forEach((n3,s)=>{e4[0][s]=n3.get();e4[1][s]=n3.getVelocity()});return e4}__name(ks,"ks");i2(ks,"getValueState");function Ln2(t2,e4,n3,s){if(typeof e4==="function"){const[r4,o5]=ks(s);e4=e4(n3!==void 0?n3:t2.custom,r4,o5)}if(typeof e4==="string"){e4=t2.variants&&t2.variants[e4]}if(typeof e4==="function"){const[r4,o5]=ks(s);e4=e4(n3!==void 0?n3:t2.custom,r4,o5)}return e4}__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:e4},n3,s,r4){const o5={latestValues:vl(n3,s,r4,t2),renderState:e4()};return o5}__name(yl,"yl");i2(yl,"makeState");function vl(t2,e4,n3,s){const r4={};const o5=s(t2,{});for(const d2 in o5){r4[d2]=Xt2(o5[d2])}let{initial:c3,animate:a2}=t2;const l=se3(t2);const h=gr(t2);if(e4&&h&&!l&&t2.inherit!==false){if(c3===void 0)c3=e4.initial;if(a2===void 0)a2=e4.animate}let u5=n3?n3.initial===false:false;u5=u5||c3===false;const f2=u5?a2:c3;if(f2&&typeof f2!=="boolean"&&!ne2(f2)){const d2=Array.isArray(f2)?f2:[f2];for(let m2=0;m2(e4,n3)=>{const s=z.useContext(ee3);const r4=z.useContext(cn2);const o5=i2(()=>yl(t2,e4,s,r4),"make");return n3?o5():no2(o5)},"makeUseVisualState");function kn2(t2,e4,n3){const{style:s}=t2;const r4={};for(const o5 in s){if(F2(s[o5])||e4.style&&F2(e4.style[o5])||yr(o5,t2)||n3?.getValue(o5)?.liveStyle!==void 0){r4[o5]=s[o5]}}return r4}__name(kn2,"kn");i2(kn2,"scrapeMotionValuesFromProps$1");var Tl=br({scrapeMotionValuesFromProps:kn2,createRenderState:Rn2});function Sr(t2,e4,n3){const s=kn2(t2,e4,n3);for(const r4 in t2){if(F2(t2[r4])||F2(e4[r4])){const o5=vt.indexOf(r4)!==-1?"attr"+r4.charAt(0).toUpperCase()+r4.substring(1):r4;s[o5]=t2[r4]}}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,e4,n3){return z.useCallback(s=>{if(s){t2.onMount&&t2.onMount(s)}if(e4){if(s){e4.mount(s)}else{e4.unmount()}}if(n3){if(typeof n3==="function"){n3(s)}else if(ut3(n3)){n3.current=s}}},[e4])}__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,e4,n3,s,r4){const{visualElement:o5}=z.useContext(ee3);const c3=z.useContext(mr);const a2=z.useContext(cn2);const l=z.useContext(dr).reducedMotion;const h=z.useRef(null);s=s||c3.renderer;if(!h.current&&s){h.current=s(t2,{visualState:e4,parent:o5,props:n3,presenceContext:a2,blockInitialAnimation:a2?a2.initial===false:false,reducedMotionConfig:l})}const u5=h.current;const f2=z.useContext(Ar);if(u5&&!u5.projection&&r4&&(u5.type==="html"||u5.type==="svg")){Al(h.current,n3,r4,f2)}const d2=z.useRef(false);z.useInsertionEffect(()=>{if(u5&&d2.current){u5.update(n3,a2)}});const m2=n3[wr];const p3=z.useRef(Boolean(m2)&&!window.MotionHandoffIsComplete?.(m2)&&window.MotionHasOptimisedAnimation?.(m2));so3(()=>{if(!u5)return;d2.current=true;window.MotionIsMounted=true;u5.updateFeatures();u5.scheduleRenderMicrotask();if(p3.current&&u5.animationState){u5.animationState.animateChanges()}});z.useEffect(()=>{if(!u5)return;if(!p3.current&&u5.animationState){u5.animationState.animateChanges()}if(p3.current){queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m2)});p3.current=false}u5.enteringChildren=void 0});return u5}__name(wl,"wl");i2(wl,"useVisualElement");function Al(t2,e4,n3,s){const{layoutId:r4,layout:o5,drag:c3,dragConstraints:a2,layoutScroll:l,layoutRoot:h,layoutCrossfade:u5}=e4;t2.projection=new n3(t2.latestValues,e4["data-framer-portal-id"]?void 0:Vr(t2.parent));t2.projection.setOptions({layoutId:r4,layout:o5,alwaysMeasureLayout:Boolean(c3)||a2&&ut3(a2),visualElement:t2,animationType:typeof o5==="string"?o5:"both",initialPromotionConfig:s,crossfade:u5,layoutScroll:l,layoutRoot:h})}__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:e4=false}={},n3,s){n3&&Qa(n3);const r4=En2(t2)?xl:Tl;function o5(a2,l){let h;const u5={...z.useContext(dr),...a2,layoutId:Vl(a2)};const{isStatic:f2}=u5;const d2=sl2(a2);const m2=r4(a2,f2);if(!f2&&ln2){Cl();const p3=Dl(u5);h=p3.MeasureLayout;d2.visualElement=wl(t2,m2,u5,s,p3.ProjectionNode)}return Ht.jsxs(ee3.Provider,{value:d2,children:[h&&d2.visualElement?Ht.jsx(h,{visualElement:d2.visualElement,...u5}):null,gl(t2,a2,bl(m2,d2.visualElement,l),m2,f2,e4)]})}__name(o5,"o");i2(o5,"MotionDOMComponent");o5.displayName=`motion.${typeof t2==="string"?t2:`create(${t2.displayName??t2.name??""})`}`;const c3=z.forwardRef(o5);c3[Pl]=t2;return c3}__name(ue3,"ue");i2(ue3,"createMotionComponent");function Vl({layoutId:t2}){const e4=z.useContext(Si).id;return e4&&t2!==void 0?e4+"-"+t2:t2}__name(Vl,"Vl");i2(Vl,"useLayoutId");function Cl(t2,e4){z.useContext(mr).strict}__name(Cl,"Cl");i2(Cl,"useStrictMode");function Dl(t2){const{drag:e4,layout:n3}=gt2;if(!e4&&!n3)return{};const s={...e4,...n3};return{MeasureLayout:e4?.isEnabled(t2)||n3?.isEnabled(t2)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}__name(Dl,"Dl");i2(Dl,"getProjectionFunctionality");function Ml(t2,e4){if(typeof Proxy==="undefined"){return ue3}const n3=new Map;const s=i2((o5,c3)=>{return ue3(o5,c3,t2,e4)},"factory");const r4=i2((o5,c3)=>{return s(o5,c3)},"deprecatedFactoryFunction");return new Proxy(r4,{get:i2((o5,c3)=>{if(c3==="create")return s;if(!n3.has(c3)){n3.set(c3,ue3(c3,void 0,t2,e4))}return n3.get(c3)},"get")})}__name(Ml,"Ml");i2(Ml,"createMotionProxy");function Cr({top:t2,left:e4,right:n3,bottom:s}){return{x:{min:e4,max:n3},y:{min:t2,max:s}}}__name(Cr,"Cr");i2(Cr,"convertBoundingBoxToBox");function Rl({x:t2,y:e4}){return{top:e4.min,right:t2.max,bottom:e4.max,left:t2.min}}__name(Rl,"Rl");i2(Rl,"convertBoxToBoundingBox");function El(t2,e4){if(!e4)return t2;const n3=e4({x:t2.left,y:t2.top});const s=e4({x:t2.right,y:t2.bottom});return{top:n3.y,left:n3.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:e4,scaleY:n3}){return!he(t2)||!he(e4)||!he(n3)}__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,e4,n3){const s=t2-n3;const r4=e4*s;return n3+r4}__name(Qt2,"Qt");i2(Qt2,"scalePoint");function Fs(t2,e4,n3,s,r4){if(r4!==void 0){t2=Qt2(t2,r4,s)}return Qt2(t2,n3,s)+e4}__name(Fs,"Fs");i2(Fs,"applyPointDelta");function Ne3(t2,e4=0,n3=1,s,r4){t2.min=Fs(t2.min,e4,n3,s,r4);t2.max=Fs(t2.max,e4,n3,s,r4)}__name(Ne3,"Ne");i2(Ne3,"applyAxisDelta");function Mr(t2,{x:e4,y:n3}){Ne3(t2.x,e4.translate,e4.scale,e4.originPoint);Ne3(t2.y,n3.translate,n3.scale,n3.originPoint)}__name(Mr,"Mr");i2(Mr,"applyBoxDelta");var Is=.999999999999;var js=1.0000000000001;function Ll(t2,e4,n3,s=false){const r4=n3.length;if(!r4)return;e4.x=e4.y=1;let o5;let c3;for(let a2=0;a2Is){e4.x=1}if(e4.yIs){e4.y=1}}__name(Ll,"Ll");i2(Ll,"applyTreeDeltas");function ht(t2,e4){t2.min=t2.min+e4;t2.max=t2.max+e4}__name(ht,"ht");i2(ht,"translateAxis");function Os(t2,e4,n3,s,r4=.5){const o5=D(t2.min,t2.max,r4);Ne3(t2,e4,n3,o5,s)}__name(Os,"Os");i2(Os,"transformAxis");function ft2(t2,e4){Os(t2.x,e4.x,e4.scaleX,e4.scale,e4.originX);Os(t2.y,e4.y,e4.scaleY,e4.scale,e4.originY)}__name(ft2,"ft");i2(ft2,"transformBox");function Rr(t2,e4){return Cr(El(t2.getBoundingClientRect(),e4))}__name(Rr,"Rr");i2(Rr,"measureViewportBox");function kl(t2,e4,n3){const s=Rr(t2,n3);const{scroll:r4}=e4;if(r4){ht(s.x,r4.offset.x);ht(s.y,r4.offset.y)}return s}__name(kl,"kl");i2(kl,"measurePageBox");var Ns=i2(()=>({translate:0,scale:1,origin:0,originPoint:0}),"createAxisDelta");var dt4=i2(()=>({x:Ns(),y:Ns()}),"createDelta");var Us=i2(()=>({min:0,max:0}),"createAxis");var R2=i2(()=>({x:Us(),y:Us()}),"createBox");var Ue4={current:null};var Er={current:false};function Bl(){Er.current=true;if(!ln2)return;if(window.matchMedia){const t2=window.matchMedia("(prefers-reduced-motion)");const e4=i2(()=>Ue4.current=t2.matches,"setReducedMotionPreferences");t2.addEventListener("change",e4);e4()}else{Ue4.current=false}}__name(Bl,"Bl");i2(Bl,"initPrefersReducedMotion");var Fl=new WeakMap;function Il(t2,e4,n3){for(const s in e4){const r4=e4[s];const o5=n3[s];if(F2(r4)){t2.addValue(s,r4)}else if(F2(o5)){t2.addValue(s,pt2(r4,{owner:t2}))}else if(o5!==r4){if(t2.hasValue(s)){const c3=t2.getValue(s);if(c3.liveStyle===true){c3.jump(r4)}else if(!c3.hasAnimated){c3.set(r4)}}else{const c3=t2.getStaticValue(s);t2.addValue(s,pt2(c3!==void 0?c3:r4,{owner:t2}))}}}for(const s in n3){if(e4[s]===void 0)t2.removeValue(s)}return e4}__name(Il,"Il");i2(Il,"updateMotionValuesFromProps");var Ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];var zn2=class zn3{static{__name(this,"zn")}scrapeMotionValuesFromProps(e4,n3,s){return{}}constructor({parent:e4,props:n3,presenceContext:s,reducedMotionConfig:r4,blockInitialAnimation:o5,visualState:c3},a2={}){this.current=null;this.children=new Set;this.isVariantNode=false;this.isControllingVariants=false;this.shouldReduceMotion=null;this.values=new Map;this.KeyframeResolver=kt;this.features={};this.valueSubscriptions=new Map;this.prevMotionValues={};this.events={};this.propEventSubscriptions={};this.notifyUpdate=()=>this.notify("Update",this.latestValues);this.render=()=>{if(!this.current)return;this.triggerBuild();this.renderInstance(this.current,this.renderState,this.props.style,this.projection)};this.renderScheduledAt=0;this.scheduleRender=()=>{const d2=O2.now();if(this.renderScheduledAtthis.bindToMotionValue(s,n3));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(e4=>e4());this.valueSubscriptions.clear();this.removeFromVariantTree&&this.removeFromVariantTree();this.parent?.removeChild(this);for(const e4 in this.events){this.events[e4].clear()}for(const e4 in this.features){const n3=this.features[e4];if(n3){n3.unmount();n3.isMounted=false}}this.current=null}addChild(e4){this.children.add(e4);this.enteringChildren??(this.enteringChildren=new Set);this.enteringChildren.add(e4)}removeChild(e4){this.children.delete(e4);this.enteringChildren&&this.enteringChildren.delete(e4)}bindToMotionValue(e4,n3){if(this.valueSubscriptions.has(e4)){this.valueSubscriptions.get(e4)()}const s=Tt2.has(e4);if(s&&this.onBindTransform){this.onBindTransform()}const r4=n3.on("change",c3=>{this.latestValues[e4]=c3;this.props.onUpdate&&C.preRender(this.notifyUpdate);if(s&&this.projection){this.projection.isTransformDirty=true}this.scheduleRender()});let o5;if(window.MotionCheckAppearSync){o5=window.MotionCheckAppearSync(this,e4,n3)}this.valueSubscriptions.set(e4,()=>{r4();if(o5)o5();if(n3.owner)n3.stop()})}sortNodePosition(e4){if(!this.current||!this.sortInstanceNodePosition||this.type!==e4.type){return 0}return this.sortInstanceNodePosition(this.current,e4.current)}updateFeatures(){let e4="animation";for(e4 in gt2){const n3=gt2[e4];if(!n3)continue;const{isEnabled:s,Feature:r4}=n3;if(!this.features[e4]&&r4&&s(this.props)){this.features[e4]=new r4(this)}if(this.features[e4]){const o5=this.features[e4];if(o5.isMounted){o5.update()}else{o5.mount();o5.isMounted=true}}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R2()}getStaticValue(e4){return this.latestValues[e4]}setStaticValue(e4,n3){this.latestValues[e4]=n3}update(e4,n3){if(e4.transformTemplate||this.props.transformTemplate){this.scheduleRender()}this.prevProps=this.props;this.props=e4;this.prevPresenceContext=this.presenceContext;this.presenceContext=n3;for(let s=0;sn3.variantChildren.delete(e4)}}addValue(e4,n3){const s=this.values.get(e4);if(n3!==s){if(s)this.removeValue(e4);this.bindToMotionValue(e4,n3);this.values.set(e4,n3);this.latestValues[e4]=n3.get()}}removeValue(e4){this.values.delete(e4);const n3=this.valueSubscriptions.get(e4);if(n3){n3();this.valueSubscriptions.delete(e4)}delete this.latestValues[e4];this.removeValueFromRenderState(e4,this.renderState)}hasValue(e4){return this.values.has(e4)}getValue(e4,n3){if(this.props.values&&this.props.values[e4]){return this.props.values[e4]}let s=this.values.get(e4);if(s===void 0&&n3!==void 0){s=pt2(n3===null?void 0:n3,{owner:this});this.addValue(e4,s)}return s}readValue(e4,n3){let s=this.latestValues[e4]!==void 0||!this.current?this.latestValues[e4]:this.getBaseTargetFromProps(this.props,e4)??this.readValueFromInstance(this.current,e4,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(n3)){s=ar(e4,n3)}this.setBaseTarget(e4,F2(s)?s.get():s)}return F2(s)?s.get():s}setBaseTarget(e4,n3){this.baseTarget[e4]=n3}getBaseTarget(e4){const{initial:n3}=this.props;let s;if(typeof n3==="string"||typeof n3==="object"){const o5=Ln2(this.props,n3,this.presenceContext?.custom);if(o5){s=o5[e4]}}if(n3&&s!==void 0){return s}const r4=this.getBaseTargetFromProps(this.props,e4);if(r4!==void 0&&!F2(r4))return r4;return this.initialValues[e4]!==void 0&&s===void 0?void 0:this.baseTarget[e4]}on(e4,n3){if(!this.events[e4]){this.events[e4]=new Dt2}return this.events[e4].add(n3)}notify(e4,...n3){if(this.events[e4]){this.events[e4].notify(...n3)}}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(e4,n3){return e4.compareDocumentPosition(n3)&2?1:-1}getBaseTargetFromProps(e4,n3){return e4.style?e4.style[n3]:void 0}removeValueFromRenderState(e4,{vars:n3,style:s}){delete n3[e4];delete s[e4]}handleChildMotionValue(){if(this.childSubscription){this.childSubscription();delete this.childSubscription}const{children:e4}=this.props;if(F2(e4)){this.childSubscription=e4.on("change",n3=>{if(this.current){this.current.textContent=`${n3}`}})}}};i2(Xn2,"DOMVisualElement");var Jt2=Xn2;function Lr(t2,{style:e4,vars:n3},s,r4){const o5=t2.style;let c3;for(c3 in e4){o5[c3]=e4[c3]}r4?.applyProjectionStyles(o5,s);for(c3 in n3){o5.setProperty(c3,n3[c3])}}__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(e4,n3){if(Tt2.has(n3)){return this.projection?.isProjecting?Ve3(n3):aa2(e4,n3)}else{const s=jl2(e4);const r4=(gn2(n3)?s.getPropertyValue(n3):s[n3])||0;return typeof r4==="string"?r4.trim():r4}}measureInstanceViewportBox(e4,{transformPagePoint:n3}){return Rr(e4,n3)}build(e4,n3,s){Mn2(e4,n3,s.transformTemplate)}scrapeMotionValuesFromProps(e4,n3,s){return kn2(e4,n3,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,e4,n3,s){Lr(t2,e4,void 0,s);for(const r4 in e4.attrs){t2.setAttribute(!kr.has(r4)?Bn2(r4):r4,e4.attrs[r4])}}__name(Ol,"Ol");i2(Ol,"renderSVG");var Gn2=class Gn3 extends Jt2{static{__name(this,"Gn")}constructor(){super(...arguments);this.type="svg";this.isSVGTag=false;this.measureInstanceViewportBox=R2}getBaseTargetFromProps(e4,n3){return e4[n3]}readValueFromInstance(e4,n3){if(Tt2.has(n3)){const s=or(n3);return s?s.default||0:0}n3=!kr.has(n3)?Bn2(n3):n3;return e4.getAttribute(n3)}scrapeMotionValuesFromProps(e4,n3,s){return Sr(e4,n3,s)}build(e4,n3,s){Tr(e4,n3,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e4,n3,s,r4){Ol(e4,n3,s,r4)}mount(e4){this.isSVGTag=Pr(e4.tagName);super.mount(e4)}};i2(Gn2,"SVGVisualElement");var $e3=Gn2;var Nl=i2((t2,e4)=>{return En2(t2)?new $e3(e4):new We3(e4,{allowProjection:t2!==z.Fragment})},"createDomVisualElement");function mt2(t2,e4,n3){const s=t2.getProps();return Ln2(s,e4,n3!==void 0?n3:s.custom,t2)}__name(mt2,"mt");i2(mt2,"resolveVariant");var He3=i2(t2=>{return Array.isArray(t2)},"isKeyframesTarget");function Ul(t2,e4,n3){if(t2.hasValue(e4)){t2.getValue(e4).set(n3)}else{t2.addValue(e4,pt2(n3))}}__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,e4){const n3=mt2(t2,e4);let{transitionEnd:s={},transition:r4={},...o5}=n3||{};o5={...o5,...s};for(const c3 in o5){const a2=Kl(o5[c3]);Ul(t2,c3,a2)}}__name(Wl,"Wl");i2(Wl,"setTarget");function $l(t2){return Boolean(F2(t2)&&t2.add)}__name($l,"$l");i2($l,"isWillChangeMotionValue");function ze3(t2,e4){const n3=t2.getValue("willChange");if($l(n3)){return n3.add(e4)}else if(!n3&&_.WillChange){const s=new _.WillChange("auto");t2.addValue("willChange",s);s.add(e4)}}__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:e4,repeatType:n3="loop"},s){const r4=t2.filter(Hl);const o5=e4&&n3!=="loop"&&e4%2===1?0:r4.length-1;return r4[o5]}__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:e4})=>{if(e4.length>2){return Gl2}else if(Tt2.has(t2)){return t2.startsWith("scale")?Yl2(e4[1]):Xl2}return ql},"getDefaultTransition");function Zl({when:t2,delay:e4,delayChildren:n3,staggerChildren:s,staggerDirection:r4,repeat:o5,repeatType:c3,repeatDelay:a2,from:l,elapsed:h,...u5}){return!!Object.keys(u5).length}__name(Zl,"Zl");i2(Zl,"isTransitionDefined");var Fn3=i2((t2,e4,n3,s={},r4,o5)=>c3=>{const a2=Sn2(s,t2)||{};const l=a2.delay||s.delay||0;let{elapsed:h=0}=s;h=h-X3(l);const u5={keyframes:Array.isArray(n3)?n3:[null,n3],ease:"easeOut",velocity:e4.getVelocity(),...a2,delay:-h,onUpdate:i2(d2=>{e4.set(d2);a2.onUpdate&&a2.onUpdate(d2)},"onUpdate"),onComplete:i2(()=>{c3();a2.onComplete&&a2.onComplete()},"onComplete"),name:t2,motionValue:e4,element:o5?void 0:r4};if(!Zl(a2)){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=!a2.type&&!a2.ease;if(f2&&!o5&&e4.get()!==void 0){const d2=zl(u5.keyframes,a2);if(d2!==void 0){C.update(()=>{u5.onUpdate(d2);u5.onComplete()});return}}return a2.isSync?new Lt(u5):new Be3(u5)},"animateMotionValue");function Ql({protectedKeys:t2,needsAnimating:e4},n3){const s=t2.hasOwnProperty(n3)&&e4[n3]!==true;e4[n3]=false;return s}__name(Ql,"Ql");i2(Ql,"shouldBlockAnimation");function Fr(t2,e4,{delay:n3=0,transitionOverride:s,type:r4}={}){let{transition:o5=t2.getDefaultTransition(),transitionEnd:c3,...a2}=e4;if(s)o5=s;const l=[];const h=r4&&t2.animationState&&t2.animationState.getState()[r4];for(const u5 in a2){const f2=t2.getValue(u5,t2.latestValues[u5]??null);const d2=a2[u5];if(d2===void 0||h&&Ql(h,u5)){continue}const m2={delay:n3,...Sn2(o5||{},u5)};const p3=f2.get();if(p3!==void 0&&!f2.isAnimating&&!Array.isArray(d2)&&d2===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,d2,t2.shouldReduceMotion&&sr.has(u5)?{type:false}:m2,t2,v2));const T3=f2.animation;if(T3){l.push(T3)}}if(c3){Promise.all(l).then(()=>{C.update(()=>{c3&&Wl(t2,c3)})})}return l}__name(Fr,"Fr");i2(Fr,"animateTarget");function Ir(t2,e4,n3,s=0,r4=1){const o5=Array.from(t2).sort((h,u5)=>h.sortNodePosition(u5)).indexOf(e4);const c3=t2.size;const a2=(c3-1)*s;const l=typeof n3==="function";return l?n3(o5,c3):r4===1?o5*s:a2-o5*s}__name(Ir,"Ir");i2(Ir,"calcChildStagger");function Xe3(t2,e4,n3={}){const s=mt2(t2,e4,n3.type==="exit"?t2.presenceContext?.custom:void 0);let{transition:r4=t2.getDefaultTransition()||{}}=s||{};if(n3.transitionOverride){r4=n3.transitionOverride}const o5=s?()=>Promise.all(Fr(t2,s,n3)):()=>Promise.resolve();const c3=t2.variantChildren&&t2.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u5,staggerDirection:f2}=r4;return Jl(t2,e4,l,h,u5,f2,n3)}:()=>Promise.resolve();const{when:a2}=r4;if(a2){const[l,h]=a2==="beforeChildren"?[o5,c3]:[c3,o5];return l().then(()=>h())}else{return Promise.all([o5(),c3(n3.delay)])}}__name(Xe3,"Xe");i2(Xe3,"animateVariant");function Jl(t2,e4,n3=0,s=0,r4=0,o5=1,c3){const a2=[];for(const l of t2.variantChildren){l.notify("AnimationStart",e4);a2.push(Xe3(l,e4,{...c3,delay:n3+(typeof s==="function"?0:s)+Ir(t2.variantChildren,l,s,r4,o5)}).then(()=>l.notify("AnimationComplete",e4)))}return Promise.all(a2)}__name(Jl,"Jl");i2(Jl,"animateChildren");function tc(t2,e4,n3={}){t2.notify("AnimationStart",e4);let s;if(Array.isArray(e4)){const r4=e4.map(o5=>Xe3(t2,o5,n3));s=Promise.all(r4)}else if(typeof e4==="string"){s=Xe3(t2,e4,n3)}else{const r4=typeof e4==="function"?mt2(t2,e4,n3.custom):e4;s=Promise.all(Fr(t2,r4,n3))}return s.then(()=>{t2.notify("AnimationComplete",e4)})}__name(tc,"tc");i2(tc,"animateVisualElement");function jr(t2,e4){if(!Array.isArray(e4))return false;const n3=e4.length;if(n3!==t2.length)return false;for(let s=0;sPromise.all(e4.map(({animation:n3,options:s})=>tc(t2,n3,s)))}__name(ic,"ic");i2(ic,"animateList");function rc(t2){let e4=ic(t2);let n3=Ws();let s=true;const r4=i2(l=>(h,u5)=>{const f2=mt2(t2,u5,l==="exit"?t2.presenceContext?.custom:void 0);if(f2){const{transition:d2,transitionEnd:m2,...p3}=f2;h={...h,...p3,...m2}}return h},"buildResolvedTypeValues");function o5(l){e4=l(t2)}__name(o5,"o");i2(o5,"setAnimateFunction");function c3(l){const{props:h}=t2;const u5=Or(t2.parent)||{};const f2=[];const d2=new Set;let m2={};let p3=Infinity;for(let T3=0;T3p3&&w;let j2=false;const N2=Array.isArray(y2)?y2:[y2];let tt4=N2.reduce(r4(g2),{});if(b===false)tt4={};const{prevResolvedValues:cs={}}=x2;const Qr={...cs,...tt4};const us=i2(k4=>{A=true;if(d2.has(k4)){j2=true;d2.delete(k4)}x2.needsAnimating[k4]=true;const U3=t2.getValue(k4);if(U3)U3.liveStyle=false},"markToAnimate");for(const k4 in Qr){const U3=tt4[k4];const et3=cs[k4];if(m2.hasOwnProperty(k4))continue;let lt3=false;if(He3(U3)&&He3(et3)){lt3=!jr(U3,et3)}else{lt3=U3!==et3}if(lt3){if(U3!==void 0&&U3!==null){us(k4)}else{d2.add(k4)}}else if(U3!==void 0&&d2.has(k4)){us(k4)}else{x2.protectedKeys[k4]=true}}x2.prevProp=y2;x2.prevResolvedValues=tt4;if(x2.isActive){m2={...m2,...tt4}}if(s&&t2.blockInitialAnimation){A=false}const hs=V&&L2;const Jr=!hs||j2;if(A&&Jr){f2.push(...N2.map(k4=>{const U3={type:g2};if(typeof k4==="string"&&s&&!hs&&t2.manuallyAnimateOnMount&&t2.parent){const{parent:et3}=t2;const lt3=mt2(et3,k4);if(et3.enteringChildren&<3){const{delayChildren:to2}=lt3.transition||{};U3.delay=Ir(et3.enteringChildren,t2,to2)}}return{animation:k4,options:U3}}))}}if(d2.size){const T3={};if(typeof h.initial!=="boolean"){const g2=mt2(t2,Array.isArray(h.initial)?h.initial[0]:h.initial);if(g2&&g2.transition){T3.transition=g2.transition}}d2.forEach(g2=>{const x2=t2.getBaseTarget(g2);const y2=t2.getValue(g2);if(y2)y2.liveStyle=true;T3[g2]=x2??null});f2.push({animation:T3})}let v2=Boolean(f2.length);if(s&&(h.initial===false||h.initial===h.animate)&&!t2.manuallyAnimateOnMount){v2=false}s=false;return v2?e4(f2):Promise.resolve()}__name(c3,"c");i2(c3,"animateChanges");function a2(l,h){if(n3[l].isActive===h)return Promise.resolve();t2.variantChildren?.forEach(f2=>f2.animationState?.setActive(l,h));n3[l].isActive=h;const u5=c3(l);for(const f2 in n3){n3[f2].protectedKeys={}}return u5}__name(a2,"a");i2(a2,"setActive");return{animateChanges:c3,setActive:a2,setAnimateFunction:o5,getState:i2(()=>n3,"getState"),reset:i2(()=>{n3=Ws()},"reset")}}__name(rc,"rc");i2(rc,"createAnimationState");function oc(t2,e4){if(typeof e4==="string"){return e4!==t2}else if(Array.isArray(e4)){return!jr(e4,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(e4){this.isMounted=false;this.node=e4}update(){}};i2(qn2,"Feature");var G2=qn2;var _n2=class _n3 extends G2{static{__name(this,"_n")}constructor(e4){super(e4);e4.animationState||(e4.animationState=rc(e4))}updateAnimationControlsSubscription(){const{animate:e4}=this.node.getProps();if(ne2(e4)){this.unmountControls=e4.subscribe(this.node)}}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e4}=this.node.getProps();const{animate:n3}=this.node.prevProps||{};if(e4!==n3){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:e4,onExitComplete:n3}=this.node.presenceContext;const{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e4===s){return}const r4=this.node.animationState.setActive("exit",!e4);if(n3&&!e4){r4.then(()=>{n3(this.id)})}}mount(){const{register:e4,onExitComplete:n3}=this.node.presenceContext||{};if(n3){n3(this.id)}if(e4){this.unmount=e4(this.id)}}unmount(){}};i2(Zn2,"ExitAnimationFeature");var Ge3=Zn2;var lc={animation:{Feature:Ye3},exit:{Feature:Ge3}};function It2(t2,e4,n3,s={passive:true}){t2.addEventListener(e4,n3,s);return()=>t2.removeEventListener(e4,n3)}__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 e4=>Vn2(e4)&&t2(e4,Ut(e4))},"addPointerInfo");function wt2(t2,e4,n3,s){return It2(t2,e4,cc(n3),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,e4,n3){return Math.abs(t2-e4)<=n3}__name(mc,"mc");i2(mc,"isNear");function $s(t2,e4,n3,s=.5){t2.origin=s;t2.originPoint=D(e4.min,e4.max,t2.origin);t2.scale=I2(n3)/I2(e4);t2.translate=D(n3.min,n3.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,e4,n3,s){$s(t2.x,e4.x,n3.x,s?s.originX:void 0);$s(t2.y,e4.y,n3.y,s?s.originY:void 0)}__name(At,"At");i2(At,"calcBoxDelta");function Hs(t2,e4,n3){t2.min=n3.min+e4.min;t2.max=t2.min+I2(e4)}__name(Hs,"Hs");i2(Hs,"calcRelativeAxis");function pc(t2,e4,n3){Hs(t2.x,e4.x,n3.x);Hs(t2.y,e4.y,n3.y)}__name(pc,"pc");i2(pc,"calcRelativeBox");function zs(t2,e4,n3){t2.min=e4.min-n3.min;t2.max=t2.min+I2(e4)}__name(zs,"zs");i2(zs,"calcRelativeAxisPosition");function Vt2(t2,e4,n3){zs(t2.x,e4.x,n3.x);zs(t2.y,e4.y,n3.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,e4)=>Math.abs(t2-e4),"distance");function gc(t2,e4){const n3=Xs(t2.x,e4.x);const s=Xs(t2.y,e4.y);return Math.sqrt(n3**2+s**2)}__name(gc,"gc");i2(gc,"distance2D");var Qn2=class Qn3{static{__name(this,"Qn")}constructor(e4,n3,{transformPagePoint:s,contextWindow:r4=window,dragSnapToOrigin:o5=false,distanceThreshold:c3=3}={}){this.startEvent=null;this.lastMoveEvent=null;this.lastMoveEventInfo=null;this.handlers={};this.contextWindow=window;this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d2=de3(this.lastMoveEventInfo,this.history);const m2=this.startEvent!==null;const p3=gc(d2.offset,{x:0,y:0})>=this.distanceThreshold;if(!m2&&!p3)return;const{point:v2}=d2;const{timestamp:T3}=B2;this.history.push({...v2,timestamp:T3});const{onStart:g2,onMove:x2}=this.handlers;if(!m2){g2&&g2(this.lastMoveEvent,d2);this.startEvent=this.lastMoveEvent}x2&&x2(this.lastMoveEvent,d2)};this.handlePointerMove=(d2,m2)=>{this.lastMoveEvent=d2;this.lastMoveEventInfo=fe2(m2,this.transformPagePoint);C.update(this.updatePoint,true)};this.handlePointerUp=(d2,m2)=>{this.end();const{onEnd:p3,onSessionEnd:v2,resumeAnimation:T3}=this.handlers;if(this.dragSnapToOrigin)T3&&T3();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g2=de3(d2.type==="pointercancel"?this.lastMoveEventInfo:fe2(m2,this.transformPagePoint),this.history);if(this.startEvent&&p3){p3(d2,g2)}v2&&v2(d2,g2)};if(!Vn2(e4))return;this.dragSnapToOrigin=o5;this.handlers=n3;this.transformPagePoint=s;this.distanceThreshold=c3;this.contextWindow=r4||window;const a2=Ut(e4);const l=fe2(a2,this.transformPagePoint);const{point:h}=l;const{timestamp:u5}=B2;this.history=[{...h,timestamp:u5}];const{onSessionStart:f2}=n3;f2&&f2(e4,de3(l,this.history));this.removeListeners=jt(wt2(this.contextWindow,"pointermove",this.handlePointerMove),wt2(this.contextWindow,"pointerup",this.handlePointerUp),wt2(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e4){this.handlers=e4}end(){this.removeListeners&&this.removeListeners();Q2(this.updatePoint)}};i2(Qn2,"PanSession");var te2=Qn2;function fe2(t2,e4){return e4?{point:e4(t2.point)}:t2}__name(fe2,"fe");i2(fe2,"transformPoint");function Ys(t2,e4){return{x:t2.x-e4.x,y:t2.y-e4.y}}__name(Ys,"Ys");i2(Ys,"subtractPoint");function de3({point:t2},e4){return{point:t2,delta:Ys(t2,Wr(e4)),offset:Ys(t2,yc(e4)),velocity:vc(e4,.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,e4){if(t2.length<2){return{x:0,y:0}}let n3=t2.length-1;let s=null;const r4=Wr(t2);while(n3>=0){s=t2[n3];if(r4.timestamp-s.timestamp>X3(e4)){break}n3--}if(!s){return{x:0,y:0}}const o5=$2(r4.timestamp-s.timestamp);if(o5===0){return{x:0,y:0}}const c3={x:(r4.x-s.x)/o5,y:(r4.y-s.y)/o5};if(c3.x===Infinity){c3.x=0}if(c3.y===Infinity){c3.y=0}return c3}__name(vc,"vc");i2(vc,"getVelocity");function Tc(t2,{min:e4,max:n3},s){if(e4!==void 0&&t2n3){t2=s?D(n3,t2,s.max):Math.min(t2,n3)}return t2}__name(Tc,"Tc");i2(Tc,"applyConstraints");function Gs(t2,e4,n3){return{min:e4!==void 0?t2.min+e4:void 0,max:n3!==void 0?t2.max+n3-(t2.max-t2.min):void 0}}__name(Gs,"Gs");i2(Gs,"calcRelativeAxisConstraints");function xc(t2,{top:e4,left:n3,bottom:s,right:r4}){return{x:Gs(t2.x,n3,r4),y:Gs(t2.y,e4,s)}}__name(xc,"xc");i2(xc,"calcRelativeConstraints");function qs(t2,e4){let n3=e4.min-t2.min;let s=e4.max-t2.max;if(e4.max-e4.mins){n3=Ct2(e4.min,e4.max-s,t2.min)}else if(s>r4){n3=Ct2(t2.min,t2.max-r4,e4.min)}return q2(0,1,n3)}__name(bc,"bc");i2(bc,"calcOrigin");function Sc(t2,e4){const n3={};if(e4.min!==void 0){n3.min=e4.min-t2.min}if(e4.max!==void 0){n3.max=e4.max-t2.min}return n3}__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,e4,n3){return{min:Zs(t2,e4),max:Zs(t2,n3)}}__name(_s,"_s");i2(_s,"resolveAxisElastic");function Zs(t2,e4){return typeof t2==="number"?t2:t2[e4]||0}__name(Zs,"Zs");i2(Zs,"resolvePointElastic");var Ac=new WeakMap;var Jn2=class Jn3{static{__name(this,"Jn")}constructor(e4){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=e4}start(e4,{snapToCursor:n3=false,distanceThreshold:s}={}){const{presenceContext:r4}=this.visualElement;if(r4&&r4.isPresent===false)return;const o5=i2(f2=>{const{dragSnapToOrigin:d2}=this.getProps();d2?this.pauseAnimation():this.stopAnimation();if(n3){this.snapToCursor(Ut(f2).point)}},"onSessionStart");const c3=i2((f2,d2)=>{const{drag:m2,dragPropagation:p3,onDragStart:v2}=this.getProps();if(m2&&!p3){if(this.openDragLock)this.openDragLock();this.openDragLock=Wa(m2);if(!this.openDragLock)return}this.latestPointerEvent=f2;this.latestPanInfo=d2;this.isDragging=true;this.currentDirection=null;this.resolveConstraints();if(this.visualElement.projection){this.visualElement.projection.isAnimationBlocked=true;this.visualElement.projection.target=void 0}W3(g2=>{let x2=this.getAxisMotionValue(g2).get()||0;if(Y2.test(x2)){const{projection:y2}=this.visualElement;if(y2&&y2.layout){const w=y2.layout.layoutBox[g2];if(w){const b=I2(w);x2=b*(parseFloat(x2)/100)}}}this.originPoint[g2]=x2});if(v2){C.postRender(()=>v2(f2,d2))}ze3(this.visualElement,"transform");const{animationState:T3}=this.visualElement;T3&&T3.setActive("whileDrag",true)},"onStart");const a2=i2((f2,d2)=>{this.latestPointerEvent=f2;this.latestPanInfo=d2;const{dragPropagation:m2,dragDirectionLock:p3,onDirectionLock:v2,onDrag:T3}=this.getProps();if(!m2&&!this.openDragLock)return;const{offset:g2}=d2;if(p3&&this.currentDirection===null){this.currentDirection=Vc(g2);if(this.currentDirection!==null){v2&&v2(this.currentDirection)}return}this.updateAxis("x",d2.point,g2);this.updateAxis("y",d2.point,g2);this.visualElement.render();T3&&T3(f2,d2)},"onMove");const l=i2((f2,d2)=>{this.latestPointerEvent=f2;this.latestPanInfo=d2;this.stop(f2,d2);this.latestPointerEvent=null;this.latestPanInfo=null},"onSessionEnd");const h=i2(()=>W3(f2=>this.getAnimationState(f2)==="paused"&&this.getAxisMotionValue(f2).animation?.play()),"resumeAnimation");const{dragSnapToOrigin:u5}=this.getProps();this.panSession=new te2(e4,{onSessionStart:o5,onStart:c3,onMove:a2,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u5,distanceThreshold:s,contextWindow:Kr(this.visualElement)})}stop(e4,n3){const s=e4||this.latestPointerEvent;const r4=n3||this.latestPanInfo;const o5=this.isDragging;this.cancel();if(!o5||!r4||!s)return;const{velocity:c3}=r4;this.startAnimation(c3);const{onDragEnd:a2}=this.getProps();if(a2){C.postRender(()=>a2(s,r4))}}cancel(){this.isDragging=false;const{projection:e4,animationState:n3}=this.visualElement;if(e4){e4.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}n3&&n3.setActive("whileDrag",false)}updateAxis(e4,n3,s){const{drag:r4}=this.getProps();if(!s||!$t(e4,r4,this.currentDirection))return;const o5=this.getAxisMotionValue(e4);let c3=this.originPoint[e4]+s[e4];if(this.constraints&&this.constraints[e4]){c3=Tc(c3,this.constraints[e4],this.elastic[e4])}o5.set(c3)}resolveConstraints(){const{dragConstraints:e4,dragElastic:n3}=this.getProps();const s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(false):this.visualElement.projection?.layout;const r4=this.constraints;if(e4&&ut3(e4)){if(!this.constraints){this.constraints=this.resolveRefConstraints()}}else{if(e4&&s){this.constraints=xc(s.layoutBox,e4)}else{this.constraints=false}}this.elastic=wc(n3);if(r4!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints){W3(o5=>{if(this.constraints!==false&&this.getAxisMotionValue(o5)){this.constraints[o5]=Sc(s.layoutBox[o5],this.constraints[o5])}})}}resolveRefConstraints(){const{dragConstraints:e4,onMeasureDragConstraints:n3}=this.getProps();if(!e4||!ut3(e4))return false;const s=e4.current;const{projection:r4}=this.visualElement;if(!r4||!r4.layout)return false;const o5=kl(s,r4.root,this.visualElement.getTransformPagePoint());let c3=Pc(r4.layout.layoutBox,o5);if(n3){const a2=n3(Rl(c3));this.hasMutatedConstraints=!!a2;if(a2){c3=Cr(a2)}}return c3}startAnimation(e4){const{drag:n3,dragMomentum:s,dragElastic:r4,dragTransition:o5,dragSnapToOrigin:c3,onDragTransitionEnd:a2}=this.getProps();const l=this.constraints||{};const h=W3(u5=>{if(!$t(u5,n3,this.currentDirection)){return}let f2=l&&l[u5]||{};if(c3)f2={min:0,max:0};const d2=r4?200:1e6;const m2=r4?40:1e7;const p3={type:"inertia",velocity:s?e4[u5]:0,bounceStiffness:d2,bounceDamping:m2,timeConstant:750,restDelta:1,restSpeed:10,...o5,...f2};return this.startAxisValueAnimation(u5,p3)});return Promise.all(h).then(a2)}startAxisValueAnimation(e4,n3){const s=this.getAxisMotionValue(e4);ze3(this.visualElement,e4);return s.start(Fn3(e4,s,0,n3,this.visualElement,false))}stopAnimation(){W3(e4=>this.getAxisMotionValue(e4).stop())}pauseAnimation(){W3(e4=>this.getAxisMotionValue(e4).animation?.pause())}getAnimationState(e4){return this.getAxisMotionValue(e4).animation?.state}getAxisMotionValue(e4){const n3=`_drag${e4.toUpperCase()}`;const s=this.visualElement.getProps();const r4=s[n3];return r4?r4:this.visualElement.getValue(e4,(s.initial?s.initial[e4]:void 0)||0)}snapToCursor(e4){W3(n3=>{const{drag:s}=this.getProps();if(!$t(n3,s,this.currentDirection))return;const{projection:r4}=this.visualElement;const o5=this.getAxisMotionValue(n3);if(r4&&r4.layout){const{min:c3,max:a2}=r4.layout.layoutBox[n3];o5.set(e4[n3]-D(c3,a2,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e4,dragConstraints:n3}=this.getProps();const{projection:s}=this.visualElement;if(!ut3(n3)||!s||!this.constraints)return;this.stopAnimation();const r4={x:0,y:0};W3(c3=>{const a2=this.getAxisMotionValue(c3);if(a2&&this.constraints!==false){const l=a2.get();r4[c3]=bc({min:l,max:l},this.constraints[c3])}});const{transformTemplate:o5}=this.visualElement.getProps();this.visualElement.current.style.transform=o5?o5({},""):"none";s.root&&s.root.updateScroll();s.updateLayout();this.resolveConstraints();W3(c3=>{if(!$t(c3,e4,null))return;const a2=this.getAxisMotionValue(c3);const{min:l,max:h}=this.constraints[c3];a2.set(D(l,h,r4[c3]))})}addListeners(){if(!this.visualElement.current)return;Ac.set(this.visualElement,this);const e4=this.visualElement.current;const n3=wt2(e4,"pointerdown",l=>{const{drag:h,dragListener:u5=true}=this.getProps();h&&u5&&this.start(l)});const s=i2(()=>{const{dragConstraints:l}=this.getProps();if(ut3(l)&&l.current){this.constraints=this.resolveRefConstraints()}},"measureDragConstraints");const{projection:r4}=this.visualElement;const o5=r4.addEventListener("measure",s);if(r4&&!r4.layout){r4.root&&r4.root.updateScroll();r4.updateLayout()}C.read(s);const c3=It2(window,"resize",()=>this.scalePositionWithinConstraints());const a2=r4.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{if(this.isDragging&&h){W3(u5=>{const f2=this.getAxisMotionValue(u5);if(!f2)return;this.originPoint[u5]+=l[u5].translate;f2.set(f2.get()+l[u5].translate)});this.visualElement.render()}});return()=>{c3();n3();o5();a2&&a2()}}getProps(){const e4=this.visualElement.getProps();const{drag:n3=false,dragDirectionLock:s=false,dragPropagation:r4=false,dragConstraints:o5=false,dragElastic:c3=qe3,dragMomentum:a2=true}=e4;return{...e4,drag:n3,dragDirectionLock:s,dragPropagation:r4,dragConstraints:o5,dragElastic:c3,dragMomentum:a2}}};i2(Jn2,"VisualElementDragControls");var _e2=Jn2;function $t(t2,e4,n3){return(e4===true||e4===t2)&&(n3===null||n3===t2)}__name($t,"$t");i2($t,"shouldDrag");function Vc(t2,e4=10){let n3=null;if(Math.abs(t2.y)>e4){n3="y"}else if(Math.abs(t2.x)>e4){n3="x"}return n3}__name(Vc,"Vc");i2(Vc,"getCurrentDirection");var ts=class ts2 extends G2{static{__name(this,"ts")}constructor(e4){super(e4);this.removeGroupControls=H;this.removeListeners=H;this.controls=new _e2(e4)}mount(){const{dragControls:e4}=this.node.getProps();if(e4){this.removeGroupControls=e4.subscribe(this.controls)}this.removeListeners=this.controls.addListeners()||H}unmount(){this.removeGroupControls();this.removeListeners()}};i2(ts,"DragGesture");var Ze4=ts;var Qs=i2(t2=>(e4,n3)=>{if(t2){C.postRender(()=>t2(e4,n3))}},"asyncHandler");var es=class es2 extends G2{static{__name(this,"es")}constructor(){super(...arguments);this.removePointerDownListener=H}onPointerDown(e4){this.session=new te2(e4,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kr(this.node)})}createPanHandlers(){const{onPanSessionStart:e4,onPanStart:n3,onPan:s,onPanEnd:r4}=this.node.getProps();return{onSessionStart:Qs(e4),onStart:Qs(n3),onMove:s,onEnd:i2((o5,c3)=>{delete this.session;if(r4){C.postRender(()=>r4(o5,c3))}},"onEnd")}}mount(){this.removePointerDownListener=wt2(this.node.current,"pointerdown",e4=>this.onPointerDown(e4))}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,e4){if(e4.max===e4.min)return 0;return t2/(e4.max-e4.min)*100}__name(Js,"Js");i2(Js,"pixelsToPercent");var xt2={correct:i2((t2,e4)=>{if(!e4.target)return t2;if(typeof t2==="string"){if(P.test(t2)){t2=parseFloat(t2)}else{return t2}}const n3=Js(t2,e4.target.x);const s=Js(t2,e4.target.y);return`${n3}% ${s}%`},"correct")};var Cc={correct:i2((t2,{treeScale:e4,projectionDelta:n3})=>{const s=t2;const r4=J.parse(t2);if(r4.length>5)return s;const o5=J.createTransformer(t2);const c3=typeof r4[0]!=="number"?1:0;const a2=n3.x.scale*e4.x;const l=n3.y.scale*e4.y;r4[0+c3]/=a2;r4[1+c3]/=l;const h=D(a2,l,.5);if(typeof r4[2+c3]==="number")r4[2+c3]/=h;if(typeof r4[3+c3]==="number")r4[3+c3]/=h;return o5(r4)},"correct")};var me2=false;var ns=class ns2 extends z.Component{static{__name(this,"ns")}componentDidMount(){const{visualElement:e4,layoutGroup:n3,switchLayoutGroup:s,layoutId:r4}=this.props;const{projection:o5}=e4;il(Dc);if(o5){if(n3.group)n3.group.add(o5);if(s&&s.register&&r4){s.register(o5)}if(me2){o5.root.didUpdate()}o5.addEventListener("animationComplete",()=>{this.safeToRemove()});o5.setOptions({...o5.options,onExitComplete:i2(()=>this.safeToRemove(),"onExitComplete")})}Yt2.hasEverUpdated=true}getSnapshotBeforeUpdate(e4){const{layoutDependency:n3,visualElement:s,drag:r4,isPresent:o5}=this.props;const{projection:c3}=s;if(!c3)return null;c3.isPresent=o5;me2=true;if(r4||e4.layoutDependency!==n3||n3===void 0||e4.isPresent!==o5){c3.willUpdate()}else{this.safeToRemove()}if(e4.isPresent!==o5){if(o5){c3.promote()}else if(!c3.relegate()){C.postRender(()=>{const a2=c3.getStack();if(!a2||!a2.members.length){this.safeToRemove()}})}}return null}componentDidUpdate(){const{projection:e4}=this.props.visualElement;if(e4){e4.root.didUpdate();An2.postRender(()=>{if(!e4.currentAnimation&&e4.isLead()){this.safeToRemove()}})}}componentWillUnmount(){const{visualElement:e4,layoutGroup:n3,switchLayoutGroup:s}=this.props;const{projection:r4}=e4;me2=true;if(r4){r4.scheduleCheckAfterUnmount();if(n3&&n3.group)n3.group.remove(r4);if(s&&s.deregister)s.deregister(r4)}}safeToRemove(){const{safeToRemove:e4}=this.props;e4&&e4()}render(){return null}};i2(ns,"MeasureLayoutWithContext");var Je4=ns;function $r(t2){const[e4,n3]=Za();const s=z.useContext(Si);return Ht.jsx(Je4,{...t2,layoutGroup:s,switchLayoutGroup:z.useContext(Ar),isPresent:e4,safeToRemove:n3})}__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,e4,n3){const s=F2(t2)?t2:pt2(t2);s.start(Fn3("",s,e4,n3));return s.animation}__name(Mc,"Mc");i2(Mc,"animateSingleValue");var Rc=i2((t2,e4)=>t2.depth-e4.depth,"compareByDepth");var ss=class ss2{static{__name(this,"ss")}constructor(){this.children=[];this.isDirty=false}add(e4){un2(this.children,e4);this.isDirty=true}remove(e4){hn2(this.children,e4);this.isDirty=true}forEach(e4){this.isDirty&&this.children.sort(Rc);this.isDirty=false;this.children.forEach(e4)}};i2(ss,"FlatTree");var tn2=ss;function Ec(t2,e4){const n3=O2.now();const s=i2(({timestamp:r4})=>{const o5=r4-n3;if(o5>=e4){Q2(s);t2(o5-e4)}},"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,e4,n3,s,r4,o5){if(r4){t2.opacity=D(0,n3.opacity??1,Bc(s));t2.opacityExit=D(e4.opacity??1,0,Fc(s))}else if(o5){t2.opacity=D(e4.opacity??1,n3.opacity??1,s)}for(let c3=0;c3{if(se4)return 1;return n3(Ct2(t2,e4,s))}}__name(zr,"zr");i2(zr,"compress");function si(t2,e4){t2.min=e4.min;t2.max=e4.max}__name(si,"si");i2(si,"copyAxisInto");function K2(t2,e4){si(t2.x,e4.x);si(t2.y,e4.y)}__name(K2,"K");i2(K2,"copyBoxInto");function ii(t2,e4){t2.translate=e4.translate;t2.scale=e4.scale;t2.originPoint=e4.originPoint;t2.origin=e4.origin}__name(ii,"ii");i2(ii,"copyAxisDeltaInto");function ri(t2,e4,n3,s,r4){t2-=e4;t2=Qt2(t2,1/n3,s);if(r4!==void 0){t2=Qt2(t2,1/r4,s)}return t2}__name(ri,"ri");i2(ri,"removePointDelta");function Ic(t2,e4=0,n3=1,s=.5,r4,o5=t2,c3=t2){if(Y2.test(e4)){e4=parseFloat(e4);const l=D(c3.min,c3.max,e4/100);e4=l-c3.min}if(typeof e4!=="number")return;let a2=D(o5.min,o5.max,s);if(t2===o5)a2-=e4;t2.min=ri(t2.min,e4,n3,a2,r4);t2.max=ri(t2.max,e4,n3,a2,r4)}__name(Ic,"Ic");i2(Ic,"removeAxisDelta");function oi(t2,e4,[n3,s,r4],o5,c3){Ic(t2,e4[n3],e4[s],e4[r4],e4.scale,o5,c3)}__name(oi,"oi");i2(oi,"removeAxisTransforms");var jc=["x","scaleX","originX"];var Oc=["y","scaleY","originY"];function ai(t2,e4,n3,s){oi(t2.x,e4,jc,n3?n3.x:void 0,s?s.x:void 0);oi(t2.y,e4,Oc,n3?n3.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,e4){return t2.min===e4.min&&t2.max===e4.max}__name(ci,"ci");i2(ci,"axisEquals");function Nc(t2,e4){return ci(t2.x,e4.x)&&ci(t2.y,e4.y)}__name(Nc,"Nc");i2(Nc,"boxEquals");function ui(t2,e4){return Math.round(t2.min)===Math.round(e4.min)&&Math.round(t2.max)===Math.round(e4.max)}__name(ui,"ui");i2(ui,"axisEqualsRounded");function Yr(t2,e4){return ui(t2.x,e4.x)&&ui(t2.y,e4.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,e4){return t2.translate===e4.translate&&t2.scale===e4.scale&&t2.originPoint===e4.originPoint}__name(fi,"fi");i2(fi,"axisDeltaEquals");var is=class is2{static{__name(this,"is")}constructor(){this.members=[]}add(e4){un2(this.members,e4);e4.scheduleRender()}remove(e4){hn2(this.members,e4);if(e4===this.prevLead){this.prevLead=void 0}if(e4===this.lead){const n3=this.members[this.members.length-1];if(n3){this.promote(n3)}}}relegate(e4){const n3=this.members.findIndex(r4=>e4===r4);if(n3===0)return false;let s;for(let r4=n3;r4>=0;r4--){const o5=this.members[r4];if(o5.isPresent!==false){s=o5;break}}if(s){this.promote(s);return true}else{return false}}promote(e4,n3){const s=this.lead;if(e4===s)return;this.prevLead=s;this.lead=e4;e4.show();if(s){s.instance&&s.scheduleRender();e4.scheduleRender();e4.resumeFrom=s;if(n3){e4.resumeFrom.preserveOpacity=true}if(s.snapshot){e4.snapshot=s.snapshot;e4.snapshot.latestValues=s.animationValues||s.latestValues}if(e4.root&&e4.root.isUpdating){e4.isLayoutDirty=true}const{crossfade:r4}=e4.options;if(r4===false){s.hide()}}}exitAnimationComplete(){this.members.forEach(e4=>{const{options:n3,resumingFrom:s}=e4;n3.onExitComplete&&n3.onExitComplete();if(s){s.options.onExitComplete&&s.options.onExitComplete()}})}scheduleRender(){this.members.forEach(e4=>{e4.instance&&e4.scheduleRender(false)})}removeLeadSnapshot(){if(this.lead&&this.lead.snapshot){this.lead.snapshot=void 0}}};i2(is,"NodeStack");var en2=is;function Uc(t2,e4,n3){let s="";const r4=t2.x.translate/e4.x;const o5=t2.y.translate/e4.y;const c3=n3?.z||0;if(r4||o5||c3){s=`translate3d(${r4}px, ${o5}px, ${c3}px) `}if(e4.x!==1||e4.y!==1){s+=`scale(${1/e4.x}, ${1/e4.y}) `}if(n3){const{transformPerspective:h,rotate:u5,rotateX:f2,rotateY:d2,skewX:m2,skewY:p3}=n3;if(h)s=`perspective(${h}px) ${s}`;if(u5)s+=`rotate(${u5}deg) `;if(f2)s+=`rotateX(${f2}deg) `;if(d2)s+=`rotateY(${d2}deg) `;if(m2)s+=`skewX(${m2}deg) `;if(p3)s+=`skewY(${p3}deg) `}const a2=t2.x.scale*e4.x;const l=t2.y.scale*e4.y;if(a2!==1||l!==1){s+=`scale(${a2}, ${l})`}return s||"none"}__name(Uc,"Uc");i2(Uc,"buildProjectionTransform");var pe3=["","X","Y","Z"];var Kc=1e3;var Wc=0;function ge2(t2,e4,n3,s){const{latestValues:r4}=e4;if(r4[t2]){n3[t2]=r4[t2];e4.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:e4}=t2.options;if(!e4)return;const n3=Br(e4);if(window.MotionHasOptimisedAnimation(n3,"transform")){const{layout:r4,layoutId:o5}=t2.options;window.MotionCancelOptimisedAnimation(n3,"transform",C,!(r4||o5))}const{parent:s}=t2;if(s&&!s.hasCheckedOptimisedAppear){Gr(s)}}__name(Gr,"Gr");i2(Gr,"cancelTreeOptimisedTransformAnimations");function qr({attachResizeListener:t2,defaultParent:e4,measureScroll:n3,checkIsScrollRoot:s,resetTransform:r4}){var o5;return o5=class{static{__name(this,"o")}constructor(a2={},l=e4?.()){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=a2;this.root=l?l.root||l:this;this.path=l?[...l.path,l]:[];this.parent=l;this.depth=l?l.depth+1:0;for(let h=0;hthis.root.updateBlockedByResize=false,"resizeUnblockUpdate");C.read(()=>{d2=window.innerWidth});t2(a2,()=>{const p3=window.innerWidth;if(p3===d2)return;d2=p3;this.root.updateBlockedByResize=true;f2&&f2();f2=Ec(m2,250);if(Yt2.hasAnimatedSinceResize){Yt2.hasAnimatedSinceResize=false;this.nodes.forEach(pi)}})}if(l){this.root.registerSharedNode(l,this)}if(this.options.animate!==false&&u5&&(l||h)){this.addEventListener("didUpdate",({delta:f2,hasLayoutChanged:d2,hasRelativeLayoutChanged:m2,layout:p3})=>{if(this.isTreeAnimationBlocked()){this.target=void 0;this.relativeTarget=void 0;return}const v2=this.options.transition||u5.getDefaultTransition()||eu;const{onLayoutAnimationStart:T3,onLayoutAnimationComplete:g2}=u5.getProps();const x2=!this.targetLayout||!Yr(this.targetLayout,p3);const y2=!d2&&m2;if(this.options.layoutRoot||this.resumeFrom||y2||d2&&(x2||!this.currentAnimation)){if(this.resumeFrom){this.resumingFrom=this.resumeFrom;this.resumingFrom.resumingFrom=void 0}const w={...Sn2(v2,"layout"),onPlay:T3,onComplete:g2};if(u5.shouldReduceMotion||this.options.layoutRoot){w.delay=0;w.type=false}this.startAnimation(w);this.setAnimationOrigin(f2,y2)}else{if(!d2){pi(this)}if(this.isLead()&&this.options.onExitComplete){this.options.onExitComplete()}}this.targetLayout=p3})}}unmount(){this.options.layoutId&&this.willUpdate();this.root.nodes.remove(this);const a2=this.getStack();a2&&a2.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:a2}=this.options;return a2&&a2.getProps().transformTemplate}willUpdate(a2=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 h=0;h{const V=b/1e3;gi(d2.x,a2.x,V);gi(d2.y,a2.y,V);this.setTargetDelta(d2);if(this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){Vt2(m2,this.layout.layoutBox,this.relativeParent.layout.layoutBox);Jc(this.relativeTarget,this.relativeTargetOrigin,m2,V);if(w&&Nc(this.relativeTarget,w)){this.isProjectionDirty=false}if(!w)w=R2();K2(w,this.relativeTarget)}if(T3){this.animationValues=f2;kc(f2,u5,this.latestValues,V,y2,x2)}this.root.scheduleUpdateProjection();this.scheduleRender();this.animationProgress=V};this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a2){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],{...a2,velocity:0,isSync:true,onUpdate:i2(l=>{this.mixTargetDelta(l);a2.onUpdate&&a2.onUpdate(l)},"onUpdate"),onStop:i2(()=>{},"onStop"),onComplete:i2(()=>{a2.onComplete&&a2.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 a2=this.getStack();a2&&a2.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 a2=this.getLead();let{targetWithTransforms:l,target:h,layout:u5,latestValues:f2}=a2;if(!l||!h||!u5)return;if(this!==a2&&this.layout&&u5&&_r(this.options.animationType,this.layout.layoutBox,u5.layoutBox)){h=this.target||R2();const d2=I2(this.layout.layoutBox.x);h.x.min=a2.target.x.min;h.x.max=h.x.min+d2;const m2=I2(this.layout.layoutBox.y);h.y.min=a2.target.y.min;h.y.max=h.y.min+m2}K2(l,h);ft2(l,f2);At(this.projectionDeltaWithTransform,this.layoutCorrected,l,f2)}registerSharedNode(a2,l){if(!this.sharedNodes.has(a2)){this.sharedNodes.set(a2,new en2)}const h=this.sharedNodes.get(a2);h.add(l);const u5=l.options.initialPromotionConfig;l.promote({transition:u5?u5.transition:void 0,preserveFollowOpacity:u5&&u5.shouldPreserveFollowOpacity?u5.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a2=this.getStack();return a2?a2.lead===this:true}getLead(){const{layoutId:a2}=this.options;return a2?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a2}=this.options;return a2?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a2}=this.options;if(a2)return this.root.sharedNodes.get(a2)}promote({needsReset:a2,transition:l,preserveFollowOpacity:h}={}){const u5=this.getStack();if(u5)u5.promote(this,h);if(a2){this.projectionDelta=void 0;this.needsReset=true}if(l)this.setOptions({transition:l})}relegate(){const a2=this.getStack();if(a2){return a2.relegate(this)}else{return false}}resetSkewAndRotation(){const{visualElement:a2}=this.options;if(!a2)return;let l=false;const{latestValues:h}=a2;if(h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY){l=true}if(!l)return;const u5={};if(h.z){ge2("z",a2,u5,this.animationValues)}for(let f2=0;f2a2.currentAnimation?.stop());this.root.nodes.forEach(di);this.root.sharedNodes.clear()}},i2(o5,"ProjectionNode"),o5}__name(qr,"qr");i2(qr,"createProjectionNode");function $c(t2){t2.updateLayout()}__name($c,"$c");i2($c,"updateLayout");function Hc(t2){const e4=t2.resumeFrom?.snapshot||t2.snapshot;if(t2.isLead()&&t2.layout&&e4&&t2.hasListeners("didUpdate")){const{layoutBox:n3,measuredBox:s}=t2.layout;const{animationType:r4}=t2.options;const o5=e4.source!==t2.layout.source;if(r4==="size"){W3(u5=>{const f2=o5?e4.measuredBox[u5]:e4.layoutBox[u5];const d2=I2(f2);f2.min=n3[u5].min;f2.max=f2.min+d2})}else if(_r(r4,e4.layoutBox,n3)){W3(u5=>{const f2=o5?e4.measuredBox[u5]:e4.layoutBox[u5];const d2=I2(n3[u5]);f2.max=f2.min+d2;if(t2.relativeTarget&&!t2.currentAnimation){t2.isProjectionDirty=true;t2.relativeTarget[u5].max=t2.relativeTarget[u5].min+d2}})}const c3=dt4();At(c3,n3,e4.layoutBox);const a2=dt4();if(o5){At(a2,t2.applyTransform(s,true),e4.measuredBox)}else{At(a2,n3,e4.layoutBox)}const l=!Xr(c3);let h=false;if(!t2.resumeFrom){const u5=t2.getClosestProjectingParent();if(u5&&!u5.resumeFrom){const{snapshot:f2,layout:d2}=u5;if(f2&&d2){const m2=R2();Vt2(m2,e4.layoutBox,f2.layoutBox);const p3=R2();Vt2(p3,n3,d2.layoutBox);if(!Yr(m2,p3)){h=true}if(u5.options.layoutRoot){t2.relativeTarget=p3;t2.relativeTargetOrigin=m2;t2.relativeParent=u5}}}}t2.notifyListeners("didUpdate",{layout:n3,snapshot:e4,delta:a2,layoutDelta:c3,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t2.isLead()){const{onExitComplete:n3}=t2.options;n3&&n3()}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:e4}=t2.options;if(e4&&e4.getProps().onBeforeLayoutMeasure){e4.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,e4,n3){t2.translate=D(e4.translate,0,n3);t2.scale=D(e4.scale,1,n3);t2.origin=e4.origin;t2.originPoint=e4.originPoint}__name(gi,"gi");i2(gi,"mixAxisDelta");function yi(t2,e4,n3,s){t2.min=D(e4.min,n3.min,s);t2.max=D(e4.max,n3.max,s)}__name(yi,"yi");i2(yi,"mixAxis");function Jc(t2,e4,n3,s){yi(t2.x,e4.x,n3.x,s);yi(t2.y,e4.y,n3.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,e4,n3){return t2==="position"||t2==="preserve-aspect"&&!mc(hi(e4),hi(n3),.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,e4)=>It2(t2,"resize",e4),"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,e4)=>{t2.style.transform=e4!==void 0?e4:"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,e4,n3){const{props:s}=t2;if(t2.animationState&&s.whileHover){t2.animationState.setActive("whileHover",n3==="Start")}const r4="onHover"+n3;const o5=s[r4];if(o5){C.postRender(()=>o5(e4,Ut(e4)))}}__name(Pi,"Pi");i2(Pi,"handleHoverEvent");var rs=class rs2 extends G2{static{__name(this,"rs")}mount(){const{current:e4}=this.node;if(!e4)return;this.unmount=$a(e4,(n3,s)=>{Pi(this.node,s,"Start");return r4=>Pi(this.node,r4,"End")})}unmount(){}};i2(rs,"HoverGesture");var nn2=rs;var os=class os2 extends G2{static{__name(this,"os")}constructor(){super(...arguments);this.isActive=false}onFocus(){let e4=false;try{e4=this.node.current.matches(":focus-visible")}catch(n3){e4=true}if(!e4||!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,e4,n3){const{props:s}=t2;if(t2.current instanceof HTMLButtonElement&&t2.current.disabled){return}if(t2.animationState&&s.whileTap){t2.animationState.setActive("whileTap",n3==="Start")}const r4="onTap"+(n3==="End"?"":n3);const o5=s[r4];if(o5){C.postRender(()=>o5(e4,Ut(e4)))}}__name(bi,"bi");i2(bi,"handlePressEvent");var as=class as2 extends G2{static{__name(this,"as")}mount(){const{current:e4}=this.node;if(!e4)return;this.unmount=Ya(e4,(n3,s)=>{bi(this.node,s,"Start");return(r4,{success:o5})=>bi(this.node,r4,o5?"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 e4=on3.get(t2.target);e4&&e4(t2)},"fireObserverCallback");var au=i2(t2=>{t2.forEach(ou2)},"fireAllObserverCallbacks");function lu({root:t2,...e4}){const n3=t2||document;if(!ve2.has(n3)){ve2.set(n3,{})}const s=ve2.get(n3);const r4=JSON.stringify(e4);if(!s[r4]){s[r4]=new IntersectionObserver(au,{root:t2,...e4})}return s[r4]}__name(lu,"lu");i2(lu,"initIntersectionObserver");function cu2(t2,e4,n3){const s=lu(e4);on3.set(t2,n3);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:e4={}}=this.node.getProps();const{root:n3,margin:s,amount:r4="some",once:o5}=e4;const c3={root:n3?n3.current:void 0,rootMargin:s,threshold:typeof r4==="number"?r4:uu[r4]};const a2=i2(l=>{const{isIntersecting:h}=l;if(this.isInView===h)return;this.isInView=h;if(o5&&!h&&this.hasEnteredView){return}else if(h){this.hasEnteredView=true}if(this.node.animationState){this.node.animationState.setActive("whileInView",h)}const{onViewportEnter:u5,onViewportLeave:f2}=this.node.getProps();const d2=h?u5:f2;d2&&d2(l)},"onIntersectionUpdate");return cu2(this.node.current,c3,a2)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver==="undefined")return;const{props:e4,prevProps:n3}=this.node;const s=["amount","margin","root"].some(hu(e4,n3));if(s){this.startObserver()}}unmount(){}};i2(ls,"InViewFeature");var an2=ls;function hu({viewport:t2={}},{viewport:e4={}}={}){return n3=>t2[n3]!==e4[n3]}__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((e4,r4)=>t(e4,"name",{value:r4,configurable:true}),"o");function p(){!Er.current&&Bl();const[e4]=z.useState(Ue4.current);return e4}__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 r=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]];var c2=qv("arrow-right",r);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 e2=qv("droplets",o3);var i3=Object.defineProperty;var a=__name((r4,t2)=>i3(r4,"name",{value:t2,configurable:true}),"a");function n(r4){if(r4==null||r4===false)return false;if(Array.isArray(r4)){for(const t2 of r4){if(n(t2))return true}return false}if(typeof r4==="string"||typeof r4==="number")return false;if(z.isValidElement(r4)){if(typeof r4.type==="string"&&r4.type.toLowerCase()==="img"){return true}return n(r4.props?.children)}return false}__name(n,"n");a(n,"hasImg");function u4({className:r4,...t2}){const o5=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",o5&&"pt-0",r4),...t2})}__name(u4,"u");a(u4,"Card");function f({className:r4,...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",r4),...t2})}__name(f,"f");a(f,"CardHeader");function m({className:r4,...t2}){return Ht.jsx("div",{"data-slot":"card-title",className:nv("leading-none font-semibold",r4),...t2})}__name(m,"m");a(m,"CardTitle");function p2({className:r4,...t2}){return Ht.jsx("div",{"data-slot":"card-description",className:nv("text-muted-foreground text-sm",r4),...t2})}__name(p2,"p");a(p2,"CardDescription");function x({className:r4,...t2}){return Ht.jsx("div",{"data-slot":"card-content",className:nv("px-6",r4),...t2})}__name(x,"x");a(x,"CardContent");function g({className:r4,...t2}){return Ht.jsx("div",{"data-slot":"card-footer",className:nv("flex items-center px-6 [.border-t]:pt-6",r4),...t2})}__name(g,"g");a(g,"CardFooter");var e3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]];var r2=qv("circle-check",e3);var o4=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]];var r3=qv("clock",o4);var C2=Object.defineProperty;var n2=__name((t2,r4)=>C2(t2,"name",{value:r4,configurable:true}),"n");var E4=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]];var v=qv("award",E4);var O3=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]];var R3=qv("lightbulb",O3);var H2=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]];var S3=qv("users",H2);function F3(){const t2=p();const r4=[{icon:o2,text:"Tested for extreme African weather"},{icon:e2,text:"Permanent membrane adhesion"},{icon:v,text:"Structural protection"}];return Ht.jsxs("section",{id:"abouthero","data-nav":"dark",className:"relative min-h-[560px] md:min-h-[640px] flex items-center justify-center overflow-hidden bg-foreground text-background",children:[Ht.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-[url(https://teal-sparrow-432062.hostingersite.com/wp-content/uploads/2026/08/waterproofing_about_hero_banner.png)]","aria-hidden":"true",children:Ht.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-secondary/95 via-foreground/90 to-secondary/80"})}),Ht.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-primary/10 via-transparent to-transparent opacity-60","aria-hidden":"true"}),Ht.jsxs("div",{className:"relative z-10 container mx-auto px-4 sm:px-6 lg:px-8 py-20 md:py-28 text-center max-w-4xl",children:[Ht.jsxs(yu.div,{initial:t2?{}:{opacity:0,y:16},animate:t2?{}:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-primary/20 border border-primary/30 text-primary text-xs sm:text-sm font-semibold tracking-wide uppercase mb-6",children:[Ht.jsx(o2,{className:"size-4"}),Ht.jsx("span",{children:"Proven protection since inception"})]}),Ht.jsxs(yu.h1,{initial:t2?{}:{opacity:0,y:20},animate:t2?{}:{opacity:1,y:0},transition:{duration:.6,delay:.1,ease:"easeOut"},className:"font-default text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-extrabold tracking-tight text-white mb-6",children:["About ",Ht.jsx("span",{className:"text-primary",children:"U-Proof"})]}),Ht.jsx(yu.p,{initial:t2?{}:{opacity:0,y:20},animate:t2?{}:{opacity:1,y:0},transition:{duration:.6,delay:.2,ease:"easeOut"},className:"text-base sm:text-lg md:text-xl text-muted-foreground/90 max-w-2xl mx-auto mb-10 leading-relaxed",children:"High-performance waterproofing solutions designed to protect, seal, and extend the life of your roof and surfaces u2014 built for South African conditions."}),Ht.jsxs(yu.div,{initial:t2?{}:{opacity:0,y:20},animate:t2?{}:{opacity:1,y:0},transition:{duration:.6,delay:.3,ease:"easeOut"},className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-12",children:[Ht.jsx(fS,{asChild:true,size:"lg",className:"w-full sm:w-auto bg-primary text-primary-foreground font-semibold hover:bg-primary/90 shadow-md",children:Ht.jsxs(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",children:["Explore solutions",Ht.jsx(c2,{className:"size-4 ml-1.5"})]})}),Ht.jsx(fS,{asChild:true,variant:"outline",size:"lg",className:"w-full sm:w-auto bg-background/10 text-white border-white/20 hover:bg-white/20 hover:text-white",children:Ht.jsx(cS,{to:"#story",children:"Our story"})})]}),Ht.jsx(yu.div,{initial:t2?{}:{opacity:0},animate:t2?{}:{opacity:1},transition:{duration:.7,delay:.4,ease:"easeOut"},className:"grid grid-cols-1 sm:grid-cols-3 gap-4 pt-8 border-t border-white/10",children:r4.map((i4,s)=>{const o5=i4.icon;return Ht.jsxs("div",{"data-index":s,className:"flex items-center justify-center sm:justify-start gap-2.5 text-xs sm:text-sm text-slate-200",children:[Ht.jsx("div",{className:"p-1.5 rounded-md bg-primary/20 text-primary shrink-0",children:Ht.jsx(o5,{className:"size-4"})}),Ht.jsx("span",{className:"text-left font-medium",children:i4.text})]},s)})})]})]})}__name(F3,"F");n2(F3,"AboutHero");var T2=[{icon:v,title:"Uncompromising quality",description:"Every formulation is laboratory-tested and field-proven to survive intense UV, thermal shock, and heavy rain."},{icon:R3,title:"Practical innovation",description:"Continuous formulation improvements deliver elastic, seamless membranes that flex with building movement."},{icon:o2,title:"Proven reliability",description:"Formulations engineered for long service life, protecting commercial, industrial, and residential assets."}];var B3=[{year:"2012",label:"Formulated first UV-resistant roof sealants"},{year:"2017",label:"Expanded across commercial industrial sectors"},{year:"Today",label:"Protecting thousands of structures nationwide"}];function I3(){const t2=p();const r4={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:t2?0:.15,delayChildren:.1}}};const i4={hidden:{opacity:0,y:t2?0:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsx("section",{id:"foundingstoryandvalues","data-nav":"light",className:"relative bg-background text-foreground py-20 md:py-28 overflow-hidden border-b border-border",children:Ht.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[Ht.jsxs("div",{className:"max-w-3xl mb-14 md:mb-20",children:[Ht.jsx(oS,{variant:"outline",className:"mb-3.5 border-primary/40 bg-accent text-accent-foreground font-medium",children:"About U-Proof"}),Ht.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-default font-bold tracking-tight text-foreground text-balance",children:"Built to withstand the harshest African elements"}),Ht.jsx("p",{className:"mt-4 text-base sm:text-lg text-muted-foreground leading-relaxed text-balance",children:"From local beginnings to trusted protection, we formulate high-performance waterproofing that seals roofs, surfaces, and structures for good."})]}),Ht.jsxs(yu.div,{variants:r4,initial:"hidden",whileInView:"visible",viewport:{once:true,amount:.15},className:"grid grid-cols-1 lg:grid-cols-3 gap-8 items-stretch",children:[Ht.jsx(yu.div,{variants:i4,className:"flex",children:Ht.jsxs(u4,{className:"flex-1 bg-card border border-border rounded-xl shadow-xs flex flex-col justify-between overflow-hidden",children:[Ht.jsxs(f,{className:"pb-4",children:[Ht.jsx("div",{className:"h-1.5 w-12 bg-primary rounded-full mb-5"}),Ht.jsx(oS,{variant:"secondary",className:"w-fit text-xs font-semibold mb-2",children:"Our history"}),Ht.jsx(m,{className:"text-xl sm:text-2xl font-default font-bold text-foreground",children:"The founding story"})]}),Ht.jsxs(x,{className:"space-y-4 text-sm sm:text-base text-muted-foreground flex-1",children:[Ht.jsx("p",{children:"U-Proof started with a simple observation: conventional sealants degraded prematurely under intense South African sun and seasonal downpours, leading to costly structural damage."}),Ht.jsx("p",{children:"We partnered with chemical engineers and coating specialists to design high-elasticity waterproofing formulas that bond permanently and resist thermal movement."}),Ht.jsx("div",{className:"pt-4 border-t border-border mt-6 space-y-3",children:B3.map((s,o5)=>Ht.jsxs("div",{"data-index":o5,className:"flex items-start gap-3",children:[Ht.jsx("span",{className:"font-semibold text-xs text-secondary-foreground bg-secondary px-2 py-0.5 rounded-sm shrink-0",children:s.year}),Ht.jsx("span",{className:"text-xs text-muted-foreground font-medium",children:s.label})]},s.year))})]})]})}),Ht.jsx(yu.div,{variants:i4,className:"flex",children:Ht.jsxs(u4,{className:"flex-1 bg-muted/40 border border-border rounded-xl shadow-xs flex flex-col justify-between overflow-hidden relative",children:[Ht.jsxs(f,{className:"pb-4",children:[Ht.jsx("div",{className:"h-1.5 w-12 bg-primary rounded-full mb-5"}),Ht.jsx(oS,{variant:"default",className:"w-fit text-xs font-semibold mb-2",children:"Our commitment"}),Ht.jsx(m,{className:"text-xl sm:text-2xl font-default font-bold text-foreground",children:"Mission & purpose"})]}),Ht.jsxs(x,{className:"space-y-4 text-sm sm:text-base text-muted-foreground flex-1 flex flex-col justify-between",children:[Ht.jsxs("div",{className:"space-y-4",children:[Ht.jsx("p",{className:"text-foreground font-medium text-base",children:"To manufacture durable, easy-to-apply barrier systems that preserve roofs, parapets, and exterior surfaces without ongoing patch jobs."}),Ht.jsx("p",{children:"Water ingress destroys concrete reinforcement and interior finishes. Our mission is to provide contractors and property owners with solutions that cure fast, bridge hair cracks, and hold up for years."})]}),Ht.jsxs("div",{className:"p-4 bg-background border border-border rounded-lg mt-6",children:[Ht.jsxs("div",{className:"flex items-center gap-2 text-foreground font-semibold text-sm mb-1.5",children:[Ht.jsx(r2,{className:"size-4 text-primary shrink-0"}),Ht.jsx("span",{children:"Engineered for South African weather"})]}),Ht.jsx("p",{className:"text-xs text-muted-foreground",children:"Formulated locally to resist UV degradation, severe thermal expansion, and sudden heavy storms."})]})]})]})}),Ht.jsx(yu.div,{variants:i4,className:"flex",children:Ht.jsxs(u4,{className:"flex-1 bg-card border border-border rounded-xl shadow-xs flex flex-col justify-between overflow-hidden",children:[Ht.jsxs(f,{className:"pb-4",children:[Ht.jsx("div",{className:"h-1.5 w-12 bg-primary rounded-full mb-5"}),Ht.jsx(oS,{variant:"secondary",className:"w-fit text-xs font-semibold mb-2",children:"Guiding principles"}),Ht.jsx(m,{className:"text-xl sm:text-2xl font-default font-bold text-foreground",children:"Core values"})]}),Ht.jsxs(x,{className:"flex-1 flex flex-col justify-between",children:[Ht.jsx("div",{className:"space-y-4",children:T2.map((s,o5)=>{const u5=s.icon;return Ht.jsxs("div",{"data-index":o5,className:"p-3.5 rounded-lg bg-muted/30 border border-border/80 flex items-start gap-3.5",children:[Ht.jsx("div",{className:"p-2 rounded-md bg-accent text-accent-foreground shrink-0 mt-0.5",children:Ht.jsx(u5,{className:"size-4"})}),Ht.jsxs("div",{children:[Ht.jsx("h3",{className:"text-sm font-semibold text-foreground font-default",children:s.title}),Ht.jsx("p",{className:"text-xs text-muted-foreground mt-1 leading-normal",children:s.description})]})]},s.title)})}),Ht.jsx("div",{className:"mt-6 pt-4 border-t border-border",children:Ht.jsx(fS,{asChild:true,variant:"outline",className:"w-full justify-between group",children:Ht.jsxs(cS,{to:"https://teal-sparrow-432062.hostingersite.com/",children:[Ht.jsx("span",{children:"Explore our solutions"}),Ht.jsx(c2,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]})})})]})]})})]})]})})}__name(I3,"I");n2(I3,"StoryValues");var L=[{id:1,title:"Trusted for over 20 years",description:"Decades of dedicated service protecting homes, commercial roofs, and industrial structures across South Africa.",icon:r3},{id:2,title:"Proven track record",description:"Thousands of successful leak-free projects backed by reliable performance in extreme weather conditions.",icon:v},{id:3,title:"Expert technical team",description:"Skilled specialists ready to advise on surface preparation, application methods, and custom sealing needs.",icon:S3},{id:4,title:"Premium grade products",description:"High-performance waterproofing membranes, sealants, and coatings formulated for lasting UV resistance.",icon:o2}];function W4(){const t2=p();const r4={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:t2?0:.12}}};const i4={hidden:{opacity:0,y:t2?0:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};return Ht.jsx("section",{id:"benefitsgrid","data-nav":"light",className:"bg-background text-foreground py-16 md:py-24 border-b border-border",children:Ht.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[Ht.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-12 md:mb-16 gap-6",children:[Ht.jsxs("div",{className:"max-w-2xl",children:[Ht.jsx("span",{className:"inline-block text-xs font-semibold uppercase tracking-wider text-secondary mb-2",children:"Why choose U-Proof"}),Ht.jsx("h2",{className:"text-3xl sm:text-4xl font-bold tracking-tight text-foreground font-default",children:"Waterproofing solutions built to protect and endure"}),Ht.jsx("p",{className:"mt-4 text-base sm:text-lg text-muted-foreground",children:"Formulated specifically for harsh South African climates, keeping roofs, parapets, and foundations completely sealed."})]}),Ht.jsx("div",{className:"shrink-0",children:Ht.jsx(fS,{asChild:true,size:"lg",className:"bg-primary text-primary-foreground font-semibold shadow-sm hover:bg-primary/90 transition-[background-color,box-shadow]",children:Ht.jsxs(cS,{to:"#",children:["Explore products",Ht.jsx(c2,{className:"size-4"})]})})})]}),Ht.jsx(yu.div,{variants:r4,initial:"hidden",whileInView:"visible",viewport:{once:true,amount:.2},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:L.map((s,o5)=>{const u5=s.icon;return Ht.jsxs(yu.div,{"data-index":o5,variants:i4,className:"group relative flex flex-col justify-between rounded-xl bg-primary/15 border border-primary/30 p-6 sm:p-7 transition-[border-color,box-shadow] duration-200 hover:border-primary hover:shadow-md",children:[Ht.jsxs("div",{children:[Ht.jsx("div",{className:"inline-flex size-12 items-center justify-center rounded-lg bg-primary text-primary-foreground mb-6 shadow-xs group-hover:scale-105 transition-transform",children:Ht.jsx(u5,{className:"size-6"})}),Ht.jsx("h3",{className:"text-xl font-bold text-foreground mb-2 font-default",children:s.title}),Ht.jsx("p",{className:"text-sm leading-relaxed text-foreground/80",children:s.description})]}),Ht.jsxs("div",{className:"mt-6 pt-4 border-t border-primary/20 flex items-center justify-between text-xs font-semibold text-secondary",children:[Ht.jsx("span",{children:"Quality"}),Ht.jsx("span",{className:"size-1.5 rounded-full bg-secondary"})]})]},s.id)})})]})})}__name(W4,"W");n2(W4,"Benefits");function N(){return Ht.jsxs("div",{children:[Ht.jsx(Eo2,{}),Ht.jsx(F3,{}),Ht.jsx(I3,{}),Ht.jsx(W4,{}),Ht.jsx(Po,{})]})}__name(N,"N");n2(N,"AboutUsPage");var d=null;function k3(t2){const{router:r4="memory",basename:i4,initialEntries:s,...o5}=t2;if(r4==="memory"){return Ht.jsx(uS,{initialEntries:s??["/"],children:Ht.jsx(N,{...o5})})}return Ht.jsx(iS,{basename:i4,children:Ht.jsx(N,{...o5})})}__name(k3,"k");n2(k3,"App");function q3(t2,r4={}){console.log("Rendering......");d=aS.createRoot(t2);d.render(Ht.jsx(k3,{...r4}))}__name(q3,"q");n2(q3,"mount");function D2(t2,r4={}){console.log("Hydrating......");d=aS.hydrateRoot(t2,Ht.jsx(k3,{...r4}))}__name(D2,"D");n2(D2,"hydrate");function G3(){d?.unmount?.();d=null}__name(G3,"G");n2(G3,"unmount");if(typeof window!=="undefined")window.AboutUsVC={mount:q3,hydrate:D2,unmount:G3};
Proven protection since inception High-performance waterproofing solutions designed to protect, seal, and extend the life of your roof and surfaces — built for South African conditions.
Tested for extreme African weather Permanent membrane adhesion About U-Proof Built to withstand the harshest African elements From local beginnings to trusted protection, we formulate high-performance waterproofing that seals roofs, surfaces, and structures for good.
U-Proof started with a simple observation: conventional sealants degraded prematurely under intense South African sun and seasonal downpours, leading to costly structural damage.
We partnered with chemical engineers and coating specialists to design high-elasticity waterproofing formulas that bond permanently and resist thermal movement.
2012 Formulated first UV-resistant roof sealants
2017 Expanded across commercial industrial sectors
Today Protecting thousands of structures nationwide
To manufacture durable, easy-to-apply barrier systems that preserve roofs, parapets, and exterior surfaces without ongoing patch jobs.
Water ingress destroys concrete reinforcement and interior finishes. Our mission is to provide contractors and property owners with solutions that cure fast, bridge hair cracks, and hold up for years.
Engineered for South African weather Formulated locally to resist UV degradation, severe thermal expansion, and sudden heavy storms.
Uncompromising quality Every formulation is laboratory-tested and field-proven to survive intense UV, thermal shock, and heavy rain.
Practical innovation Continuous formulation improvements deliver elastic, seamless membranes that flex with building movement.
Proven reliability Formulations engineered for long service life, protecting commercial, industrial, and residential assets.
Why choose U-Proof Waterproofing solutions built to protect and endure Formulated specifically for harsh South African climates, keeping roofs, parapets, and foundations completely sealed.
Trusted for over 20 years Decades of dedicated service protecting homes, commercial roofs, and industrial structures across South Africa.
Quality
Proven track record Thousands of successful leak-free projects backed by reliable performance in extreme weather conditions.
Quality
Expert technical team Skilled specialists ready to advise on surface preparation, application methods, and custom sealing needs.
Quality
Premium grade products High-performance waterproofing membranes, sealants, and coatings formulated for lasting UV resistance.
Quality