diff --git "a/_next/static/chunks/466-8cc490905f2721ca.js" "b/_next/static/chunks/466-8cc490905f2721ca.js" deleted file mode 100644--- "a/_next/static/chunks/466-8cc490905f2721ca.js" +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[466],{7470:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(1386),o=n(2166),i=n(2202),l=n(5986),a=n(2265),u=n(2281),s=n(357);function c(e,t={defaultThemeColor:s.env.DEFAULT_ICON_THEME_COLOR||"$color",defaultStrokeWidth:2,fallbackColor:"#000"}){return n=>{let[a,s,c]=(0,r.Lb)(n,{...t,forComponent:o.xv,resolveValues:"web"}),d=s.color??t.defaultThemeColor,f=(0,i.E0)((d?c[d]:void 0)||s.color||(a.disableTheme?null:c.color)||t.fallbackColor),p="string"==typeof a.size?(0,l.Wi)(a.size,"size"):a.size,h="string"==typeof a.strokeWidth?(0,l.Wi)(a.strokeWidth,"size"):a.strokeWidth??`${t.defaultStrokeWidth}`;return(0,u.jsx)(e,{...a,color:f,size:p,strokeWidth:h,style:s})}}a.keep},3085:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?o-2:0),l=2;l0&&(a[u]=c)}else{var h=(0,o.default)(n,u,s,a,t);h&&(a[u]=h),a=(0,r.default)(t,u,a)}}return a}};var r=a(n(9886)),o=a(n(6054)),i=a(n(2065)),l=a(n(22));function a(e){return e&&e.__esModule?e:{default:e}}},1677:function(e,t){"use strict";t.Z=function(){return null}},9699:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return i.map(function(e){return t.replace(o,e+"cross-fade(")})};var r=n(3085),o=/cross-fade\(/g,i=["-webkit-",""]},5019:function(e,t){"use strict";t.Z=function(e,t){if("cursor"===e&&r.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},8527:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("filter("))return i.map(function(e){return t.replace(o,e+"filter(")})};var r=n(3085),o=/filter\(/g,i=["-webkit-",""]},9779:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("image-set(")>-1)return i.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var r,o=(r=n(2702))&&r.__esModule?r:{default:r},i=["-webkit-",""]},2316:function(e,t){"use strict";t.Z=function(e,t,r){if(Object.prototype.hasOwnProperty.call(n,e))for(var o=n[e],i=0,l=o.length;i-1&&"order"!==d)for(var f=t[c],p=0,h=f.length;p-1)return c;var d=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?d:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=d,s)}};var r=l(n(1442)),o=l(n(2702)),i=l(n(8937));function l(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},2065:function(e,t){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,o=t.length;rv[e]),y=g.length;var S=e=>{for(let t=0;te.onPress||e.onPressIn||e.onPressOut||e.onLongPress,R=e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase());function E(e){let t=[];return null!=e.translate&&t.push(`translate(${e.translate})`),(null!=e.translateX||null!=e.translateY)&&t.push(`translate(${e.translateX||0}, ${e.translateY||0})`),null!=e.scale&&t.push(`scale(${e.scale})`),(null!=e.scaleX||null!=e.scaleY)&&t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`),null!=e.rotation&&t.push(`rotate(${e.rotation})`),null!=e.skewX&&t.push(`skewX(${e.skewX})`),null!=e.skewY&&t.push(`skewY(${e.skewY})`),t}function k(e,t){let n=[];if(t&&n.push(...E(t)),Array.isArray(e)){if("number"==typeof e[0])n.push(`matrix(${e.join(" ")})`);else{let t=function(e){let t={};return null==e||e.forEach(e=>{let n=Object.keys(e);1!==n.length&&console.error("You must specify exactly one property per transform object.");let r=n[0],o=e[r];t[r]=o}),t}(e);n.push(...E(t))}}else"string"==typeof e&&n.push(e);return n.length?n.join(" "):void 0}let C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.props,{transform:n,origin:r,originX:o,originY:i,fontFamily:l,fontSize:a,fontWeight:u,fontStyle:s,style:c,forwardedRef:d,gradientTransform:f,patternTransform:p,...h}=t,m={...x(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,...h};null!=r?m["transform-origin"]=r.toString().replace(","," "):(null!=o||null!=i)&&(m["transform-origin"]=`${o||0} ${i||0}`);let v=k(n,t);v&&(m.transform=v);let g=k(f);g&&(m.gradientTransform=g);let b=k(p);b&&(m.patternTransform=b),m.ref=t=>{e.elementRef.current=t,"function"==typeof d?d(t):d&&(d.current=t)};let y={};return null!=l&&(y.fontFamily=l),null!=a&&(y.fontSize=a),null!=u&&(y.fontWeight=u),null!=s&&(y.fontStyle=s),m.style=c?w.Z?[c,y]:c[Symbol.iterator]?Object.assign({},...c,y):Object.assign({},c,y):y,m},T=e=>{if(e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect();throw Error("Can not get boundingClientRect of "+e)},O=(e,t)=>{let n=null==e?void 0:e.parentNode;n&&setTimeout(()=>{let r=T(n),{height:o,left:i,top:l,width:a}=T(e);t(i-r.left,l-r.top,a,o,i,l)},0)};function M(){let e=this.state.touchable.responderID;null!==e&&O(e,this._handleQueryLayout)}class A extends r.Component{prepareProps(e){return e}elementRef=r.createRef();lastMergedProps={};setNativeProps(e){let t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;let n=C(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(let e of Object.keys(n)){let t=n[e];switch(e){case"ref":case"children":break;case"style":for(let e of[].concat(n.style??[]))Object.assign(r.style,e);break;default:r.setAttribute(R(e),t)}}}constructor(e){super(e),x(e)&&S(this),this._remeasureMetricsOnActivation=M.bind(this)}render(){if(!this.tag)throw Error("When extending `WebShape` you need to overwrite either `tag` or `render`!");return this.lastMergedProps={},(0,o.Z)(this.tag,C(this,this.prepareProps(this.props)))}}class P extends A{tag="circle"}class I extends A{tag="line"}class L extends A{tag="path"}class D extends A{tag="rect"}class B extends A{tag="svg";toDataURL(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.elementRef.current;if(null===r)return;let o=T(r),i=Number(n.width)||o.width,l=Number(n.height)||o.height,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("viewBox",`0 0 ${o.width} ${o.height}`),a.setAttribute("width",String(i)),a.setAttribute("height",String(l)),a.appendChild(r.cloneNode(!0));let u=new window.Image;u.onload=()=>{let t=document.createElement("canvas");t.width=i,t.height=l;let n=t.getContext("2d");null==n||n.drawImage(u,0,0),e(t.toDataURL().replace("data:image/png;base64,",""))},u.src=`data:image/svg+xml;utf8,${(t=new window.XMLSerializer().serializeToString(a)).replace("/g,"%3E").replace(/\s+/g," ")}`}}},7873:function(e){"use strict";function t(e,n,r,o){this.message=e,this.expected=n,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t0){for(r=1,o=1;rZ&&(Z=F,V=[]),V.push(e))}function q(){var e,t,n,r,o;for(e=F,t=[],n=el();n!==d;)t.push(n),n=el();if(t!==d){if((n=function e(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m,v,g,b,y;if(t=F,(n=G())!==d){for(r=[],o=ee();o!==d;)r.push(o),o=ee();r!==d&&(o=e())!==d?(i=n,l=o,a=i[0],u=i[1],s=i[2],c=i[3],f=i[4],p=i[5],h=l[0],m=l[1],v=l[2],g=l[3],t=n=[a*h+u*g,a*m+u*(b=l[4]),a*v+u*(y=l[5])+s,c*h+f*g,c*m+f*b,c*v+f*y+p]):(F=t,t=d)}else F=t,t=d;return t===d&&(t=G()),t}())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=n:(F=e,e=d)}else F=e,e=d}else F=e,e=d;return e}function G(){var t;return(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p,b;if(t=F,e.substr(F,6)===h?(n=h,F+=6):(n=d,0===$&&X(m)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if(ee()!==d){if((a=J())!==d){if(ee()!==d){if((u=J())!==d){if(ee()!==d){if((s=J())!==d){if(ee()!==d){if((c=J())!==d){if(ee()!==d){if((f=J())!==d){for(p=[],b=el();b!==d;)p.push(b),b=el();p!==d&&(41===e.charCodeAt(F)?(b=")",F++):(b=d,0===$&&X(g)),b!==d)?t=n=[l,u,c,a,s,f]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s;if(t=F,e.substr(F,9)===b?(n=b,F+=9):(n=d,0===$&&X(y)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[1,0,l,0,1,a||0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f;if(t=F,e.substr(F,5)===S?(n=S,F+=5):(n=d,0===$&&X(w)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[c=l,0,0,0,null===(f=a)?c:f,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p;if(t=F,e.substr(F,6)===x?(n=x,F+=6):(n=d,0===$&&X(R)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((c=F,ee()!==d&&(f=J())!==d&&ee()!==d&&(p=J())!==d)?c=[f,p]:(F=c,c=d),(a=c)===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d?(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d?t=n=E(l,a):(F=t,t=d)):(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===k?(n=k,F+=5):(n=d,0===$&&X(C)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,Math.tan(ea*l),0,0,1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===T?(n=T,F+=5):(n=d,0===$&&X(O)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,0,0,Math.tan(ea*l),1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}()),t}function J(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m;if(t=F,n=F,(r=er())===d&&(r=null),r!==d&&(i=F,l=F,(($++,c=F,(f=eo())===d&&(f=null),f!==d&&(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d&&(h=eo())!==d))?c=f=[(m=f)?m.join(""):null,".",h.join("")].join(""):(F=c,c=d),c===d&&(c=F,(f=eo())!==d?(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d?c=f=A(f):(F=c,c=d)):(F=c,c=d)),$--,c===d&&(f=d,0===$&&X(P)),(a=c)!==d)?((u=en())===d&&(u=null),u!==d?l=a=[a,u]:(F=l,l=d)):(F=l,l=d),l!==d&&(l=l.join("")),(i=l)===d&&(i=F,l=F,(a=eo())!==d&&(u=en())!==d?l=a=[a,u]:(F=l,l=d),l!==d&&(l=A(l)),i=l),(o=i)!==d)?n=r=[r,o]:(F=n,n=d),n!==d)n=parseFloat(n.join(""));return(t=n)===d&&(t=F,n=F,(r=er())===d&&(r=null),r!==d&&((s=eo())!==d&&(s=s.join("")),(o=s)!==d)?n=r=[r,o]:(F=n,n=d),n!==d&&(n=parseInt(n.join(""))),t=n),t}function Q(){var e,t;return(e=F,ee()!==d&&(t=J())!==d)?e=t:(F=e,e=d),e}function ee(){var e,t,n,r,o;if(e=F,t=[],(n=el())!==d)for(;n!==d;)t.push(n),n=el();else t=d;if(t!==d){if((n=et())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=[t,n,r]:(F=e,e=d)}else F=e,e=d}else F=e,e=d;if(e===d){if(e=F,(t=et())!==d){for(n=[],r=el();r!==d;)n.push(r),r=el();n!==d?e=t=[t,n]:(F=e,e=d)}else F=e,e=d}return e}function et(){var t;return 44===e.charCodeAt(F)?(t=",",F++):(t=d,0===$&&X(M)),t}function en(){var t,n,r,o,i;return t=F,L.test(e.charAt(F))?(n=e.charAt(F),F++):(n=d,0===$&&X(D)),n!==d?((r=er())===d&&(r=null),r!==d&&(o=eo())!==d?t=n=[n,r,o]:(F=t,t=d)):(F=t,t=d),t!==d&&(t=[(i=t)[0],i[1],i[2].join("")].join("")),t}function er(){var t;return B.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(W)),t}function eo(){var e,t;if(e=[],(t=ei())!==d)for(;t!==d;)e.push(t),t=ei();else e=d;return e}function ei(){var t;return N.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(z)),t}function el(){var t;return j.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(H)),t}var ea=Math.PI/180;if((c=p())!==d&&F===e.length)return c;throw c!==d&&Fe(l))}class d{static get(e){return u&&(u=!1,s()),o()(l[e],"No dimension set for key "+e),l[e]}static set(e){e&&(i.Z?o()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(l.screen=e.screen),null!=e.window&&(l.window=e.window)))}static addEventListener(e,t){return a[e]=a[e]||[],a[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(a[e])&&(a[e]=a[e].filter(e=>e!==t))}}i.Z&&(window.visualViewport?window.visualViewport.addEventListener("resize",c,!1):window.addEventListener("resize",c,!1))},1775:function(e,t,n){"use strict";var r=n(5832);t.Z={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){(0,r.Z)()},removeAllListeners(){},removeListener(){}}},1840:function(e,t){"use strict";t.Z={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1}}},5589:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(7998),o=n(2988),i=n(3950),l=n(1090),a=n(5832),u=n(7445),s=n.n(u),c=n(2050),d=n(1840),f=n(2265),p=n(929),h=n(5275),m=n(9926),v=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function g(e){return{nativeEvent:{contentOffset:{get x(){return e.target.scrollLeft},get y(){return e.target.scrollTop}},contentSize:{get height(){return e.target.scrollHeight},get width(){return e.target.scrollWidth}},layoutMeasurement:{get height(){return e.target.offsetHeight},get width(){return e.target.offsetWidth}}},timeStamp:Date.now()}}var b=f.forwardRef((e,t)=>{var n=e.onScroll,r=e.onTouchMove,l=e.onWheel,a=e.scrollEnabled,u=void 0===a||a,s=e.scrollEventThrottle,c=void 0===s?0:s,d=e.showsHorizontalScrollIndicator,p=e.showsVerticalScrollIndicator,b=e.style,S=(0,i.Z)(e,v),w=f.useRef({isScrolling:!1,scrollLastTick:0}),x=f.useRef(null),R=f.useRef(null);function E(e){return t=>{u&&e&&e(t)}}function k(e){w.current.scrollLastTick=Date.now(),n&&n(g(e))}return f.createElement(h.Z,(0,o.Z)({},S,{onScroll:function(e){if(e.stopPropagation(),e.target===R.current){var t,r;(e.persist(),null!=x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{w.current.isScrolling=!1,n&&n(g(e))},100),w.current.isScrolling)?(t=w.current.scrollLastTick,r=Date.now()-t,c>0&&r>=c&&k(e)):(w.current.isScrolling=!0,k(e))}},onTouchMove:E(r),onWheel:E(l),ref:(0,m.Z)(R,t),style:[b,!u&&y.scrollDisabled,(!1===d||!1===p)&&y.hideScrollbar]}))}),y=p.Z.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}}),S=n(3013),w=n(2319),x=n(9895),R=n.n(x),E=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],k={};class C extends f.Component{constructor(){super(...arguments),this._scrollNodeRef=null,this._innerViewRef=null,this.isTouching=!1,this.lastMomentumScrollBeginTime=0,this.lastMomentumScrollEndTime=0,this.observedScrollSinceBecomingResponder=!1,this.becameResponderWhileAnimating=!1,this.scrollResponderHandleScrollShouldSetResponder=()=>this.isTouching,this.scrollResponderHandleStartShouldSetResponderCapture=e=>this.scrollResponderIsAnimating(),this.scrollResponderHandleTerminationRequest=()=>!this.observedScrollSinceBecomingResponder,this.scrollResponderHandleTouchEnd=e=>{var t=e.nativeEvent;this.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},this.scrollResponderHandleResponderRelease=e=>{this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=S.Z.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),S.Z.blurTextInput(t))},this.scrollResponderHandleScroll=e=>{this.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},this.scrollResponderHandleResponderGrant=e=>{this.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},this.scrollResponderHandleScrollBeginDrag=e=>{this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this.scrollResponderHandleScrollEndDrag=e=>{this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this.scrollResponderHandleMomentumScrollBegin=e=>{this.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this.scrollResponderHandleMomentumScrollEnd=e=>{this.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this.scrollResponderHandleTouchStart=e=>{this.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},this.scrollResponderHandleTouchMove=e=>{this.props.onTouchMove&&this.props.onTouchMove(e)},this.scrollResponderIsAnimating=()=>Date.now()-this.lastMomentumScrollEndTime<16||this.lastMomentumScrollEndTime{if("number"==typeof e)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;e=r.x,t=r.y,n=r.animated}var o=this.getScrollableNode(),i=e||0,l=t||0;null!=o&&("function"==typeof o.scroll?o.scroll({top:l,left:i,behavior:n?"smooth":"auto"}):(o.scrollLeft=i,o.scrollTop=l))},this.scrollResponderZoomTo=(e,t)=>{"ios"!==d.Z.OS&&s()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,n)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,w.Z.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,n,r)=>{var o=l.Z.get("window").height;this.keyboardWillOpenTo&&(o=this.keyboardWillOpenTo.endCoordinates.screenY);var i=t-o+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(i=Math.max(0,i)),this.scrollResponderScrollTo({x:0,y:i,animated:!0}),this.additionalOffset=0,this.preventNegativeScrollOffset=!1},this.scrollResponderKeyboardWillShow=e=>{this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},this.scrollResponderKeyboardWillHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},this.scrollResponderKeyboardDidShow=e=>{e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},this.scrollResponderKeyboardDidHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(e)},this.flashScrollIndicators=()=>{this.scrollResponderFlashScrollIndicators()},this.getScrollResponder=()=>this,this.getScrollableNode=()=>this._scrollNodeRef,this.getInnerViewRef=()=>this._innerViewRef,this.getInnerViewNode=()=>this._innerViewRef,this.getNativeScrollRef=()=>this._scrollNodeRef,this.scrollTo=(e,t,n)=>{if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;t=r.x,e=r.y,n=r.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==n})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),n=this.props.horizontal,r=this.getScrollableNode(),o=n?r.scrollWidth:0,i=n?0:r.scrollHeight;this.scrollResponderScrollTo({x:o,y:i,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,n=t.width,r=t.height;this.props.onContentSizeChange(n,r)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&(0,a.Z)(),this.scrollResponderHandleScroll(e)},this._setInnerViewRef=e=>{this._innerViewRef=e},this._setScrollNodeRef=e=>{this._scrollNodeRef=e,null!=e&&(e.getScrollResponder=this.getScrollResponder,e.getInnerViewNode=this.getInnerViewNode,e.getInnerViewRef=this.getInnerViewRef,e.getNativeScrollRef=this.getNativeScrollRef,e.getScrollableNode=this.getScrollableNode,e.scrollTo=this.scrollTo,e.scrollToEnd=this.scrollToEnd,e.flashScrollIndicators=this.flashScrollIndicators,e.scrollResponderZoomTo=this.scrollResponderZoomTo,e.scrollResponderScrollNativeHandleToKeyboard=this.scrollResponderScrollNativeHandleToKeyboard),(0,c.Z)(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){R()(!1,"ScrollView doesn't take rejection well - scrolls anyway")}scrollResponderFlashScrollIndicators(){}scrollResponderTextInputFocusError(e){console.error("Error measuring text field: ",e)}render(){var e=this.props,t=e.contentContainerStyle,n=e.horizontal,l=e.onContentSizeChange,a=e.refreshControl,u=e.stickyHeaderIndices,c=e.pagingEnabled,d=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),p=(0,i.Z)(e,E),m={};l&&(m={onLayout:this._handleContentOnLayout});var v=!n&&Array.isArray(u),g=v||c?f.Children.map(this.props.children,(e,t)=>{var n=v&&u.indexOf(t)>-1;return null!=e&&(n||c)?f.createElement(h.Z,{style:[n&&O.stickyHeader,c&&O.pagingEnabledChild]},e):e}):this.props.children,y=f.createElement(h.Z,(0,o.Z)({},m,{children:g,collapsable:!1,ref:this._setInnerViewRef,style:[n&&O.contentContainerHorizontal,d&&O.contentContainerCenterContent,t]})),S=n?O.baseHorizontal:O.baseVertical,w=n?O.pagingEnabledHorizontal:O.pagingEnabledVertical,x=(0,r.Z)((0,r.Z)({},p),{},{style:[S,c&&w,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject});s()(void 0!==b,"ScrollViewClass must not be undefined");var R=f.createElement(b,(0,o.Z)({},x,{ref:this._setScrollNodeRef}),y);return a?f.cloneElement(a,{style:x.style},R):R}}var T={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},O=p.Z.create({baseVertical:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"row",overflowX:"auto",overflowY:"hidden"}),contentContainerHorizontal:{flexDirection:"row"},contentContainerCenterContent:{justifyContent:"center",flexGrow:1},stickyHeader:{position:"sticky",top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:"x mandatory"},pagingEnabledVertical:{scrollSnapType:"y mandatory"},pagingEnabledChild:{scrollSnapAlign:"start"}}),M=f.forwardRef((e,t)=>f.createElement(C,(0,o.Z)({},e,{forwardedRef:t})));M.displayName="ScrollView";var A=M},929:function(e,t,n){"use strict";n.d(t,{Z:function(){return eZ}});var r=n(7998),o=n(3950),i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},l=["ms","Moz","O","Webkit"],a=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(i).forEach(e=>{l.forEach(t=>{i[a(t,e)]=i[e]})});var u=e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("),s=n(7340),c=n.n(s),d=e=>{if(null==e)return e;var t=c()(e);if(null!=t)return(t<<24|t>>>8)>>>0},f=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&u(e))return e;var n=d(e);if(null!=n){var r=((n>>24&255)/255*t).toFixed(2);return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+r+")"}}},p={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function h(e,t){var n=e;return null!=t&&i[t]||"number"!=typeof e?null!=t&&p[t]&&(n=f(e)):n=e+"px",n}var m=n(1213),v={},g=!m.Z||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),b='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',y={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]},S=(e,t)=>{if(!e)return v;var n={};for(var r in e)if("continue"===function(){var o=e[r];if(null==o)return"continue";if("backgroundClip"===r)"text"===o&&(n.backgroundClip=o,n.WebkitBackgroundClip=o);else if("flex"===r)-1===o?(n.flexGrow=0,n.flexShrink=1,n.flexBasis="auto"):n.flex=o;else if("font"===r)n[r]=o.replace("System",b);else if("fontFamily"===r){if(o.indexOf("System")>-1){var i=o.split(/,\s*/);i[i.indexOf("System")]=b,n[r]=i.join(",")}else"monospace"===o?n[r]="monospace,monospace":n[r]=o}else if("textDecorationLine"===r)g?n.textDecorationLine=o:n.textDecoration=o;else if("writingDirection"===r)n.direction=o;else{var l=h(e[r],r),a=y[r];t&&"inset"===r?(null==e.insetInline&&(n.left=l,n.right=l),null==e.insetBlock&&(n.top=l,n.bottom=l)):t&&"margin"===r?(null==e.marginInline&&(n.marginLeft=l,n.marginRight=l),null==e.marginBlock&&(n.marginTop=l,n.marginBottom=l)):t&&"padding"===r?(null==e.paddingInline&&(n.paddingLeft=l,n.paddingRight=l),null==e.paddingBlock&&(n.paddingTop=l,n.paddingBottom=l)):a?a.forEach((t,r)=>{null==e[t]&&(n[t]=l)}):n[r]=l}}())continue;return n},w=e=>(function(e,t){for(var n,r=e.length,o=1^r,i=0;r>=4;)n=(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*1540483477+(((n>>>16)*1540483477&65535)<<16),n^=n>>>24,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)^(n=(65535&n)*1540483477+(((n>>>16)*1540483477&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o^=255&e.charCodeAt(i),o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)}return o^=o>>>13,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16),(o^=o>>>15)>>>0})(e,0).toString(36),x=/[A-Z]/g,R=/^ms-/,E={};function k(e){return"-"+e.toLowerCase()}var C=function(e){if(e in E)return E[e];var t=e.replace(x,k);return E[e]=R.test(t)?"-"+t:t},T=n(2933),O=n(1677),M=n(9699),A=n(5019),P=n(8527),I=n(9779),L=n(2316),D=n(9832),B=n(8579),W=n(4633),N=["Webkit"],z=["Webkit","ms"],j={plugins:[O.Z,M.Z,A.Z,P.Z,I.Z,L.Z,D.Z,B.Z,W.Z],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:z,textEmphasis:z,textEmphasisStyle:z,textEmphasisColor:z,boxDecorationBreak:z,clipPath:N,maskImage:z,maskMode:z,maskRepeat:z,maskPosition:z,maskClip:z,maskOrigin:z,maskSize:z,maskComposite:z,mask:z,maskBorderSource:z,maskBorderMode:z,maskBorderSlice:z,maskBorderWidth:z,maskBorderOutset:z,maskBorderRepeat:z,maskBorder:z,maskType:z,textDecorationStyle:N,textDecorationSkip:N,textDecorationLine:N,textDecorationColor:N,filter:N,breakAfter:N,breakBefore:N,breakInside:N,columnCount:N,columnFill:N,columnGap:N,columnRule:N,columnRuleColor:N,columnRuleStyle:N,columnRuleWidth:N,columns:N,columnSpan:N,columnWidth:N,backdropFilter:N,hyphens:N,flowInto:N,flowFrom:N,regionFragment:N,textOrientation:N,tabSize:["Moz"],fontKerning:N,textSizeAdjust:N}},H=(0,T.Z)(j),F=["animationKeyframes"],_=new Map,Z={},V={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},$="borderTopLeftRadius",K="borderTopRightRadius",U="borderBottomLeftRadius",Y="borderBottomRightRadius",X="borderLeftColor",q="borderLeftStyle",G="borderLeftWidth",J="borderRightColor",Q="borderRightStyle",ee="borderRightWidth",et="right",en="marginLeft",er="marginRight",eo="paddingLeft",ei="paddingRight",el="left",ea={[$]:K,[K]:$,[U]:Y,[Y]:U,[X]:J,[q]:Q,[G]:ee,[J]:X,[Q]:q,[ee]:G,[el]:et,[en]:er,[er]:en,[eo]:ei,[ei]:eo,[et]:el},eu={borderStartStartRadius:$,borderStartEndRadius:K,borderEndStartRadius:U,borderEndEndRadius:Y,borderInlineStartColor:X,borderInlineStartStyle:q,borderInlineStartWidth:G,borderInlineEndColor:J,borderInlineEndStyle:Q,borderInlineEndWidth:ee,insetInlineEnd:et,insetInlineStart:el,marginInlineStart:en,marginInlineEnd:er,paddingInlineStart:eo,paddingInlineEnd:ei},es=["clear","float","textAlign"];function ec(e){var t=H(S(e));return"{"+Object.keys(t).map(e=>{var n=t[e],r=C(e);return Array.isArray(n)?n.map(e=>r+":"+e).join(";"):r+":"+n}).sort().join(";")+";}"}function ed(e){if("number"==typeof e)throw Error("Invalid CSS keyframes type: "+typeof e);var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach(e=>{if("string"==typeof e)t.push(e);else{var r,o,i,l=(r="r-"+w("animation"+JSON.stringify(e)),o="{"+Object.keys(e).map(t=>{var n=ec(e[t]);return""+t+n}).join("")+"}",i=["-webkit-",""].map(e=>"@"+e+"keyframes "+r+o),[r,i]),a=l[0],u=l[1];t.push(a),n.push(...u)}}),[t,n]}function ef(e,t,n){if(!m.Z)return null;var r=null!=t?t:document,o=r.getElementById(e);if(null==o){if((o=document.createElement("style")).setAttribute("id",e),"string"==typeof n&&o.appendChild(document.createTextNode(n)),r instanceof ShadowRoot)r.insertBefore(o,r.firstChild);else{var i=r.head;i&&i.insertBefore(o,i.firstChild)}}return o.sheet}var ep=Array.prototype.slice;function eh(e){var t,n={},r={};function o(e,t,r){var o=ev(n),i=o.indexOf(t)+1,l=o[i],a=null!=l&&null!=n[l].start?n[l].start:e.cssRules.length,u=function(e,t,n){try{return e.insertRule(t,n),!0}catch(e){return!1}}(e,r,a);if(u){null==n[t].start&&(n[t].start=a);for(var s=i;s{var i=e.cssText;if(i.indexOf("stylesheet-group")>-1)n[t=Number(e.selectorText.split(em)[1])]={start:o,rules:[i]};else{var l=eb(i);null!=l&&(r[l]=!0,n[t].rules.push(i))}}),{getTextContent:()=>ev(n).map(e=>{var t=n[e].rules,r=t.shift();return t.sort(),t.unshift(r),t.join("\n")}).join("\n"),insert(t,i){var l=Number(i);if(null==n[l]){var a='[stylesheet-group="'+l+'"]{}';n[l]={start:null,rules:[a]},null!=e&&o(e,l,a)}var u=eb(t);null==u||null!=r[u]||(r[u]=!0,n[l].rules.push(t),null==e||o(e,l,t)||n[l].rules.pop())}}}var em=/["']/g;function ev(e){return Object.keys(e).map(Number).sort((e,t)=>e>t?1:-1)}var eg=/\s*([,])\s*/g;function eb(e){var t=e.split("{")[0].trim();return""!==t?t.replace(eg,"$1"):null}var ey=new WeakMap,eS=[],ew=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}"],ex=n(7106),eR=n(131),eE={},ek={height:0,width:0},eC=e=>{var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,o=e.shadowRadius,i=n||ek,l=i.height,a=h(i.width),u=h(l),s=h(o||0),c=f(t||"black",r);if(null!=c&&null!=a&&null!=u&&null!=s)return a+" "+u+" "+s+" "+c},eT=e=>{var t=e.textShadowColor,n=e.textShadowOffset,r=e.textShadowRadius,o=n||ek,i=o.height,l=o.width,a=r||0,u=h(l),s=h(i),c=h(a),d=h(t,"textShadowColor");if(d&&(0!==i||0!==l||0!==a)&&null!=u&&null!=s&&null!=c)return u+" "+s+" "+c+" "+d},eO=e=>{var t=Object.keys(e)[0],n=e[t];if("matrix"===t||"matrix3d"===t)return t+"("+n.join(",")+")";var r=h(n,t);return t+"("+r+")"},eM=e=>e.map(eO).join(" "),eA={borderBottomEndRadius:"borderEndEndRadius",borderBottomStartRadius:"borderEndStartRadius",borderTopEndRadius:"borderStartEndRadius",borderTopStartRadius:"borderStartStartRadius",borderEndColor:"borderInlineEndColor",borderEndStyle:"borderInlineEndStyle",borderEndWidth:"borderInlineEndWidth",borderStartColor:"borderInlineStartColor",borderStartStyle:"borderInlineStartStyle",borderStartWidth:"borderInlineStartWidth",end:"insetInlineEnd",marginEnd:"marginInlineEnd",marginHorizontal:"marginInline",marginStart:"marginInlineStart",marginVertical:"marginBlock",paddingEnd:"paddingInlineEnd",paddingHorizontal:"paddingInline",paddingStart:"paddingInlineStart",paddingVertical:"paddingBlock",start:"insetInlineStart"},eP={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},eI=function(e,t){void 0===t&&(t={});var n=e||eE,r={};if(t.shadow,null!=n.shadowColor||null!=n.shadowOffset||null!=n.shadowOpacity||null!=n.shadowRadius){(0,eR.O)("shadowStyles",'"shadow*" style props are deprecated. Use "boxShadow".');var o=eC(n);if(null!=o&&null==r.boxShadow){var i=n.boxShadow;r.boxShadow=i?i+", "+o:o}}if(t.textShadow,null!=n.textShadowColor||null!=n.textShadowOffset||null!=n.textShadowRadius){(0,eR.O)("textShadowStyles",'"textShadow*" style props are deprecated. Use "textShadow".');var l=eT(n);if(null!=l&&null==r.textShadow){var a=n.textShadow;r.textShadow=a?a+", "+l:l}}for(var u in n)if(null==eP[u]&&"shadowColor"!==u&&"shadowOffset"!==u&&"shadowOpacity"!==u&&"shadowRadius"!==u&&"textShadowColor"!==u&&"textShadowOffset"!==u&&"textShadowRadius"!==u){var s=n[u],c=eA[u]||u,d=s;Object.prototype.hasOwnProperty.call(n,u)&&(c===u||null==n[c])&&("aspectRatio"===c&&"number"==typeof d?r[c]=d.toString():"fontVariant"===c?(Array.isArray(d)&&d.length>0&&((0,eR.O)("fontVariant",'"fontVariant" style array value is deprecated. Use space-separated values.'),d=d.join(" ")),r[c]=d):"textAlignVertical"===c?((0,eR.O)("textAlignVertical",'"textAlignVertical" style is deprecated. Use "verticalAlign".'),null==n.verticalAlign&&(r.verticalAlign="center"===d?"middle":d)):"transform"===c?(Array.isArray(d)&&(d=eM(d)),r.transform=d):r[c]=d)}return r},eL=n(8650),eD=["writingDirection"],eB=new WeakMap,eW=function(e,t){if(void 0===t&&(t="react-native-stylesheet"),m.Z){var n,r=document;if(0===eS.length)n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),ey.set(r,eS.length),eS.push(n);else{var o=ey.get(r);if(null==o){var i=eS[0];n=eh(ef(t,r,null!=i?i.getTextContent():"")),ey.set(r,eS.length),eS.push(n)}else n=eS[o]}}else 0===eS.length?(n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),eS.push(n)):n=eS[0];return{getTextContent:()=>n.getTextContent(),id:t,insert(e,t){eS.forEach(n=>{n.insert(e,t)})}}}(),eN={shadow:!0,textShadow:!0};function ez(e){e.forEach(e=>{var t=e[0],n=e[1];null!=eW&&t.forEach(e=>{eW.insert(e,n)})})}var ej={position:"absolute",left:0,right:0,top:0,bottom:0},eH=eF({x:(0,r.Z)({},ej)}).x;function eF(e){return Object.keys(e).forEach(t=>{var n,i,l,a,u,s=e[t];null!=s&&!0!==s.$$css&&(t.indexOf("$raw")>-1?(i=(n=function(e,t){var n,i={$$css:!0},l=[],a=e.animationKeyframes,u=(0,o.Z)(e,F),s="css-"+w(t+JSON.stringify(e));if(null!=a){var c=ed(a),d=c[0],f=c[1];n=d.join(","),l.push(...f)}var p=ec((0,r.Z)((0,r.Z)({},u),{},{animationName:n}));return l.push("."+s+p),i[s]=s,[i,[[l,1]]]}(s,t.split("$raw")[0]))[0],ez(n[1]),u=i):(a=(l=function(e){var t={$$css:!0},n=[];function r(e,t,r){var o,i,l="string"!=typeof(o=h(r,t))?JSON.stringify(o||""):o,a=t+l,u=_.get(a);if(null!=u)i=u[0],n.push(u[1]);else{i="r-"+w(e+(e!==t?a:l));var s=V[e]||3,c=[function(e,t,n){var r=[],o="."+e;switch(t){case"animationKeyframes":var i=ed(n),l=i[0],a=i[1],u=ec({animationName:l.join(",")});r.push(""+o+u,...a);break;case"placeholderTextColor":var s=ec({color:n,opacity:1});r.push(o+"::-webkit-input-placeholder"+s,o+"::-moz-placeholder"+s,o+":-ms-input-placeholder"+s,o+"::placeholder"+s);break;case"pointerEvents":var c=n;if("auto"===n||"box-only"===n){if(c="auto!important","box-only"===n){var d=ec({pointerEvents:"none"});r.push(o+">*"+d)}}else if(("none"===n||"box-none"===n)&&(c="none!important","box-none"===n)){var f=ec({pointerEvents:"auto"});r.push(o+">*"+f)}var p=ec({pointerEvents:c});r.push(""+o+p);break;case"scrollbarWidth":"none"===n&&r.push(o+"::-webkit-scrollbar{display:none}");var h=ec({scrollbarWidth:n});r.push(""+o+h);break;default:var m=ec({[t]:n});r.push(""+o+m)}return r}(i,t,r),s];n.push(c),_.set(a,[i,c])}return i}return Object.keys(e).sort().forEach(n=>{var o=e[n];if(null!=o){if(es.indexOf(n)>-1){var i,l=r(n,n,"left"),a=r(n,n,"right");"start"===o?i=[l,a]:"end"===o&&(i=[a,l])}var u=eu[n];if(null!=u&&(i=[r(n,u,o),r(n,ea[u],o)]),"transitionProperty"===n){for(var s=Array.isArray(o)?o:[o],c=[],d=0;d0){var p=[...s],h=[...s];c.forEach(e=>{var t=p[e];if("string"==typeof t){var o=eu[t],l=ea[o];p[e]=o,h[e]=l,i=[r(n,n,p),r(n,n,h)]}})}}null==i?i=r(n,n,o):t.$$css$localize=!0,t[n]=i}}),[t,n]}(eI(s,eN)))[0],ez(l[1]),u=a),eB.set(s,u))}),e}function e_(e,t){void 0===t&&(t={});var n,i,l,a,u,s="rtl"===t.writingDirection,c=(void 0===(n=t)&&(n={}),l=(i=n).writingDirection,a=(0,o.Z)(i,eD),u="rtl"===l,eL.D.factory({transform(e){var t=eB.get(e);return null!=t?(0,ex.j)(t,u):eI(e,(0,r.Z)((0,r.Z)({},eN),a))}})(e));return Array.isArray(c)&&null!=c[1]&&(c[1]=function(e,t){var n=e||Z,r={},o={};for(var i in n)if("continue"===function(){var e=n[i],l=i,a=e;if(!Object.prototype.hasOwnProperty.call(n,i)||null==e)return"continue";es.indexOf(i)>-1&&("start"===e?a=t?"right":"left":"end"===e&&(a=t?"left":"right"));var u=eu[i];if(null!=u&&(l=t?ea[u]:u),"transitionProperty"===i){var s=Array.isArray(e)?e:[e];s.forEach((e,n)=>{if("string"==typeof e){var r=eu[e];null!=r&&(s[n]=t?ea[r]:r,a=s.join(" "))}})}r[l]||(o[l]=a),l===i&&(r[l]=!0)}())continue;return S(o,!0)}(c[1],s)),c}e_.absoluteFill=eH,e_.absoluteFillObject=ej,e_.create=eF,e_.compose=function(e,t){return[e,t]},e_.flatten=function(){for(var e=arguments.length,t=Array(e),n=0;nReflect.has(n,r)?Reflect.get(n,r):e(),apply:()=>e()})}(!0)},2319:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2141),o={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},i=["ms","Moz","O","Webkit"],l=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(o).forEach(e=>{i.forEach(t=>{o[l(t,e)]=o[e]})});var a=function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i,l,a=0===r.indexOf("--"),u=(i=r,null==(l=t[r])||"boolean"==typeof l||""===l?"":a||"number"!=typeof l||0===l||o.hasOwnProperty(i)&&o[i]?(""+l).trim():l+"px");"float"===r&&(r="cssFloat"),a?n.setProperty(r,u):n[r]=u}},u=e=>{var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,o=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)r+=e.offsetLeft+e.clientLeft-e.scrollLeft,o+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:n,height:t,top:o-=window.scrollY,left:r-=window.scrollX}},s=(e,t,n)=>{var r=t||e&&e.parentNode;e&&r&&setTimeout(()=>{if(e.isConnected&&r.isConnected){var t=u(r),o=u(e),i=o.height,l=o.left,a=o.top,s=o.width;n(l-t.left,a-t.top,s,i,l,a)}},0)},c={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},d={blur(e){try{e.blur()}catch(e){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==c[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,t){s(e,null,t)},measureInWindow(e,t){e&&setTimeout(()=>{var n=(0,r.Z)(e),o=n.height;t(n.left,n.top,n.width,o)},0)},measureLayout(e,t,n,r){s(e,t,r)},updateView(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];switch(n){case"style":a(e,r);break;case"class":case"className":e.setAttribute("class",r);break;case"text":case"value":e.value=r;break;default:e.setAttribute(n,r)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}}},5275:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(3950),o=n(2265),i=n(5803),l=n(7792),a=n(2675),u=n(9647),s=n(9926),c=n(5158),d=n(4886),f=n(929),p=(0,o.createContext)(!1),h=n(3201),m=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],v=Object.assign({},l.lG,l.LO,l._T,l.YB,l.Uy,l.hJ,l.E5,l.vr,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),g=e=>(0,a.Z)(e,v),b=o.forwardRef((e,t)=>{var n=e.hrefAttrs,l=e.onLayout,a=e.onMoveShouldSetResponder,f=e.onMoveShouldSetResponderCapture,v=e.onResponderEnd,b=e.onResponderGrant,S=e.onResponderMove,w=e.onResponderReject,x=e.onResponderRelease,R=e.onResponderStart,E=e.onResponderTerminate,k=e.onResponderTerminationRequest,C=e.onScrollShouldSetResponder,T=e.onScrollShouldSetResponderCapture,O=e.onSelectionChangeShouldSetResponder,M=e.onSelectionChangeShouldSetResponderCapture,A=e.onStartShouldSetResponder,P=e.onStartShouldSetResponderCapture,I=(0,r.Z)(e,m),L=o.useContext(p),D=o.useRef(null),B=(0,h.PE)().direction;(0,u.Z)(D,l),(0,d.Z)(D,{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:f,onResponderEnd:v,onResponderGrant:b,onResponderMove:S,onResponderReject:w,onResponderRelease:x,onResponderStart:R,onResponderTerminate:E,onResponderTerminationRequest:k,onScrollShouldSetResponder:C,onScrollShouldSetResponderCapture:T,onSelectionChangeShouldSetResponder:O,onSelectionChangeShouldSetResponderCapture:M,onStartShouldSetResponder:A,onStartShouldSetResponderCapture:P});var W="div",N=null!=e.lang?(0,h.w1)(e.lang):null,z=e.dir||N,j=z||B,H=g(I);if(H.dir=z,H.style=[y.view$raw,L&&y.inline,e.style],null!=e.href&&(W="a",null!=n)){var F=n.download,_=n.rel,Z=n.target;null!=F&&(H.download=F),null!=_&&(H.rel=_),"string"==typeof Z&&(H.target="_"!==Z.charAt(0)?"_"+Z:Z)}var V=(0,c.Z)(H),$=(0,s.Z)(D,V,t);return H.ref=$,(0,i.Z)(W,H,{writingDirection:j})});b.displayName="View";var y=f.Z.create({view$raw:{alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},inline:{display:"inline-flex"}}),S=b},5803:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null},o=e=>{var t=e.accessibilityRole,n=e.role||t;if(n){var o=r[n];if(null!==o)return o||n}},i={article:"article",banner:"header",blockquote:"blockquote",button:"button",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",list:"ul",listitem:"li",main:"main",navigation:"nav",paragraph:"p",region:"section",strong:"strong"},l={},a={propsToAccessibilityComponent:function(e){if(void 0===e&&(e=l),"label"===e.accessibilityRole)return"label";var t=o(e);if(t){if("heading"===t){var n=e.accessibilityLevel||e["aria-level"];return null!=n?"h"+n:"h1"}return i[t]}},propsToAriaRole:o},u=n(7998),s=n(3950),c=n(929),d=n(131),f=["aria-activedescendant","accessibilityActiveDescendant","aria-atomic","accessibilityAtomic","aria-autocomplete","accessibilityAutoComplete","aria-busy","accessibilityBusy","aria-checked","accessibilityChecked","aria-colcount","accessibilityColumnCount","aria-colindex","accessibilityColumnIndex","aria-colspan","accessibilityColumnSpan","aria-controls","accessibilityControls","aria-current","accessibilityCurrent","aria-describedby","accessibilityDescribedBy","aria-details","accessibilityDetails","aria-disabled","accessibilityDisabled","aria-errormessage","accessibilityErrorMessage","aria-expanded","accessibilityExpanded","aria-flowto","accessibilityFlowTo","aria-haspopup","accessibilityHasPopup","aria-hidden","accessibilityHidden","aria-invalid","accessibilityInvalid","aria-keyshortcuts","accessibilityKeyShortcuts","aria-label","accessibilityLabel","aria-labelledby","accessibilityLabelledBy","aria-level","accessibilityLevel","aria-live","accessibilityLiveRegion","aria-modal","accessibilityModal","aria-multiline","accessibilityMultiline","aria-multiselectable","accessibilityMultiSelectable","aria-orientation","accessibilityOrientation","aria-owns","accessibilityOwns","aria-placeholder","accessibilityPlaceholder","aria-posinset","accessibilityPosInSet","aria-pressed","accessibilityPressed","aria-readonly","accessibilityReadOnly","aria-required","accessibilityRequired","role","accessibilityRole","aria-roledescription","accessibilityRoleDescription","aria-rowcount","accessibilityRowCount","aria-rowindex","accessibilityRowIndex","aria-rowspan","accessibilityRowSpan","aria-selected","accessibilitySelected","aria-setsize","accessibilitySetSize","aria-sort","accessibilitySort","aria-valuemax","accessibilityValueMax","aria-valuemin","accessibilityValueMin","aria-valuenow","accessibilityValueNow","aria-valuetext","accessibilityValueText","dataSet","focusable","id","nativeID","pointerEvents","style","tabIndex","testID"],p={},h=Object.prototype.hasOwnProperty,m=Array.isArray,v=/[A-Z]/g;function g(e){return"-"+e.toLowerCase()}function b(e){return m(e)?e.join(" "):e}var y=c.Z.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}}),S=(e,t,n)=>{t||(t=p);var r=t,o=r["aria-activedescendant"],i=r.accessibilityActiveDescendant,l=r["aria-atomic"],m=r.accessibilityAtomic,S=r["aria-autocomplete"],w=r.accessibilityAutoComplete,x=r["aria-busy"],R=r.accessibilityBusy,E=r["aria-checked"],k=r.accessibilityChecked,C=r["aria-colcount"],T=r.accessibilityColumnCount,O=r["aria-colindex"],M=r.accessibilityColumnIndex,A=r["aria-colspan"],P=r.accessibilityColumnSpan,I=r["aria-controls"],L=r.accessibilityControls,D=r["aria-current"],B=r.accessibilityCurrent,W=r["aria-describedby"],N=r.accessibilityDescribedBy,z=r["aria-details"],j=r.accessibilityDetails,H=r["aria-disabled"],F=r.accessibilityDisabled,_=r["aria-errormessage"],Z=r.accessibilityErrorMessage,V=r["aria-expanded"],$=r.accessibilityExpanded,K=r["aria-flowto"],U=r.accessibilityFlowTo,Y=r["aria-haspopup"],X=r.accessibilityHasPopup,q=r["aria-hidden"],G=r.accessibilityHidden,J=r["aria-invalid"],Q=r.accessibilityInvalid,ee=r["aria-keyshortcuts"],et=r.accessibilityKeyShortcuts,en=r["aria-label"],er=r.accessibilityLabel,eo=r["aria-labelledby"],ei=r.accessibilityLabelledBy,el=r["aria-level"],ea=r.accessibilityLevel,eu=r["aria-live"],es=r.accessibilityLiveRegion,ec=r["aria-modal"],ed=r.accessibilityModal,ef=r["aria-multiline"],ep=r.accessibilityMultiline,eh=r["aria-multiselectable"],em=r.accessibilityMultiSelectable,ev=r["aria-orientation"],eg=r.accessibilityOrientation,eb=r["aria-owns"],ey=r.accessibilityOwns,eS=r["aria-placeholder"],ew=r.accessibilityPlaceholder,ex=r["aria-posinset"],eR=r.accessibilityPosInSet,eE=r["aria-pressed"],ek=r.accessibilityPressed,eC=r["aria-readonly"],eT=r.accessibilityReadOnly,eO=r["aria-required"],eM=r.accessibilityRequired,eA=(r.role,r.accessibilityRole),eP=r["aria-roledescription"],eI=r.accessibilityRoleDescription,eL=r["aria-rowcount"],eD=r.accessibilityRowCount,eB=r["aria-rowindex"],eW=r.accessibilityRowIndex,eN=r["aria-rowspan"],ez=r.accessibilityRowSpan,ej=r["aria-selected"],eH=r.accessibilitySelected,eF=r["aria-setsize"],e_=r.accessibilitySetSize,eZ=r["aria-sort"],eV=r.accessibilitySort,e$=r["aria-valuemax"],eK=r.accessibilityValueMax,eU=r["aria-valuemin"],eY=r.accessibilityValueMin,eX=r["aria-valuenow"],eq=r.accessibilityValueNow,eG=r["aria-valuetext"],eJ=r.accessibilityValueText,eQ=r.dataSet,e0=r.focusable,e1=r.id,e2=r.nativeID,e5=r.pointerEvents,e3=r.style,e4=r.tabIndex,e7=r.testID,e9=(0,s.Z)(r,f);null!=F&&(0,d.O)("accessibilityDisabled","accessibilityDisabled is deprecated.");var e8=a.propsToAriaRole(t);null!=i&&(0,d.O)("accessibilityActiveDescendant","accessibilityActiveDescendant is deprecated. Use aria-activedescendant.");var e6=null!=o?o:i;null!=e6&&(e9["aria-activedescendant"]=e6),null!=m&&(0,d.O)("accessibilityAtomic","accessibilityAtomic is deprecated. Use aria-atomic.");var te=null!=l?o:m;null!=te&&(e9["aria-atomic"]=te),null!=w&&(0,d.O)("accessibilityAutoComplete","accessibilityAutoComplete is deprecated. Use aria-autocomplete.");var tt=null!=S?S:w;null!=tt&&(e9["aria-autocomplete"]=tt),null!=R&&(0,d.O)("accessibilityBusy","accessibilityBusy is deprecated. Use aria-busy.");var tn=null!=x?x:R;null!=tn&&(e9["aria-busy"]=tn),null!=k&&(0,d.O)("accessibilityChecked","accessibilityChecked is deprecated. Use aria-checked.");var tr=null!=E?E:k;null!=tr&&(e9["aria-checked"]=tr),null!=T&&(0,d.O)("accessibilityColumnCount","accessibilityColumnCount is deprecated. Use aria-colcount.");var to=null!=C?C:T;null!=to&&(e9["aria-colcount"]=to),null!=M&&(0,d.O)("accessibilityColumnIndex","accessibilityColumnIndex is deprecated. Use aria-colindex.");var ti=null!=O?O:M;null!=ti&&(e9["aria-colindex"]=ti),null!=P&&(0,d.O)("accessibilityColumnSpan","accessibilityColumnSpan is deprecated. Use aria-colspan.");var tl=null!=A?A:P;null!=tl&&(e9["aria-colspan"]=tl),null!=L&&(0,d.O)("accessibilityControls","accessibilityControls is deprecated. Use aria-controls.");var ta=null!=I?I:L;null!=ta&&(e9["aria-controls"]=b(ta)),null!=B&&(0,d.O)("accessibilityCurrent","accessibilityCurrent is deprecated. Use aria-current.");var tu=null!=D?D:B;null!=tu&&(e9["aria-current"]=tu),null!=N&&(0,d.O)("accessibilityDescribedBy","accessibilityDescribedBy is deprecated. Use aria-describedby.");var ts=null!=W?W:N;null!=ts&&(e9["aria-describedby"]=b(ts)),null!=j&&(0,d.O)("accessibilityDetails","accessibilityDetails is deprecated. Use aria-details.");var tc=null!=z?z:j;null!=tc&&(e9["aria-details"]=tc),!0===(H||F)&&(e9["aria-disabled"]=!0,("button"===e||"form"===e||"input"===e||"select"===e||"textarea"===e)&&(e9.disabled=!0)),null!=Z&&(0,d.O)("accessibilityErrorMessage","accessibilityErrorMessage is deprecated. Use aria-errormessage.");var td=null!=_?_:Z;null!=td&&(e9["aria-errormessage"]=td),null!=$&&(0,d.O)("accessibilityExpanded","accessibilityExpanded is deprecated. Use aria-expanded.");var tf=null!=V?V:$;null!=tf&&(e9["aria-expanded"]=tf),null!=U&&(0,d.O)("accessibilityFlowTo","accessibilityFlowTo is deprecated. Use aria-flowto.");var tp=null!=K?K:U;null!=tp&&(e9["aria-flowto"]=b(tp)),null!=X&&(0,d.O)("accessibilityHasPopup","accessibilityHasPopup is deprecated. Use aria-haspopup.");var th=null!=Y?Y:X;null!=th&&(e9["aria-haspopup"]=th),null!=G&&(0,d.O)("accessibilityHidden","accessibilityHidden is deprecated. Use aria-hidden.");var tm=null!=q?q:G;!0===tm&&(e9["aria-hidden"]=tm),null!=Q&&(0,d.O)("accessibilityInvalid","accessibilityInvalid is deprecated. Use aria-invalid.");var tv=null!=J?J:Q;null!=tv&&(e9["aria-invalid"]=tv),null!=et&&(0,d.O)("accessibilityKeyShortcuts","accessibilityKeyShortcuts is deprecated. Use aria-keyshortcuts.");var tg=null!=ee?ee:et;null!=tg&&(e9["aria-keyshortcuts"]=b(tg)),null!=er&&(0,d.O)("accessibilityLabel","accessibilityLabel is deprecated. Use aria-label.");var tb=null!=en?en:er;null!=tb&&(e9["aria-label"]=tb),null!=ei&&(0,d.O)("accessibilityLabelledBy","accessibilityLabelledBy is deprecated. Use aria-labelledby.");var ty=null!=eo?eo:ei;null!=ty&&(e9["aria-labelledby"]=b(ty)),null!=ea&&(0,d.O)("accessibilityLevel","accessibilityLevel is deprecated. Use aria-level.");var tS=null!=el?el:ea;null!=tS&&(e9["aria-level"]=tS),null!=es&&(0,d.O)("accessibilityLiveRegion","accessibilityLiveRegion is deprecated. Use aria-live.");var tw=null!=eu?eu:es;null!=tw&&(e9["aria-live"]="none"===tw?"off":tw),null!=ed&&(0,d.O)("accessibilityModal","accessibilityModal is deprecated. Use aria-modal.");var tx=null!=ec?ec:ed;null!=tx&&(e9["aria-modal"]=tx),null!=ep&&(0,d.O)("accessibilityMultiline","accessibilityMultiline is deprecated. Use aria-multiline.");var tR=null!=ef?ef:ep;null!=tR&&(e9["aria-multiline"]=tR),null!=em&&(0,d.O)("accessibilityMultiSelectable","accessibilityMultiSelectable is deprecated. Use aria-multiselectable.");var tE=null!=eh?eh:em;null!=tE&&(e9["aria-multiselectable"]=tE),null!=eg&&(0,d.O)("accessibilityOrientation","accessibilityOrientation is deprecated. Use aria-orientation.");var tk=null!=ev?ev:eg;null!=tk&&(e9["aria-orientation"]=tk),null!=ey&&(0,d.O)("accessibilityOwns","accessibilityOwns is deprecated. Use aria-owns.");var tC=null!=eb?eb:ey;null!=tC&&(e9["aria-owns"]=b(tC)),null!=ew&&(0,d.O)("accessibilityPlaceholder","accessibilityPlaceholder is deprecated. Use aria-placeholder.");var tT=null!=eS?eS:ew;null!=tT&&(e9["aria-placeholder"]=tT),null!=eR&&(0,d.O)("accessibilityPosInSet","accessibilityPosInSet is deprecated. Use aria-posinset.");var tO=null!=ex?ex:eR;null!=tO&&(e9["aria-posinset"]=tO),null!=ek&&(0,d.O)("accessibilityPressed","accessibilityPressed is deprecated. Use aria-pressed.");var tM=null!=eE?eE:ek;null!=tM&&(e9["aria-pressed"]=tM),null!=eT&&(0,d.O)("accessibilityReadOnly","accessibilityReadOnly is deprecated. Use aria-readonly.");var tA=null!=eC?eC:eT;null!=tA&&(e9["aria-readonly"]=tA,("input"===e||"select"===e||"textarea"===e)&&(e9.readOnly=!0)),null!=eM&&(0,d.O)("accessibilityRequired","accessibilityRequired is deprecated. Use aria-required.");var tP=null!=eO?eO:eM;null!=tP&&(e9["aria-required"]=tP,("input"===e||"select"===e||"textarea"===e)&&(e9.required=eM)),null!=eA&&(0,d.O)("accessibilityRole","accessibilityRole is deprecated. Use role."),null!=e8&&(e9.role="none"===e8?"presentation":e8),null!=eI&&(0,d.O)("accessibilityRoleDescription","accessibilityRoleDescription is deprecated. Use aria-roledescription.");var tI=null!=eP?eP:eI;null!=tI&&(e9["aria-roledescription"]=tI),null!=eD&&(0,d.O)("accessibilityRowCount","accessibilityRowCount is deprecated. Use aria-rowcount.");var tL=null!=eL?eL:eD;null!=tL&&(e9["aria-rowcount"]=tL),null!=eW&&(0,d.O)("accessibilityRowIndex","accessibilityRowIndex is deprecated. Use aria-rowindex.");var tD=null!=eB?eB:eW;null!=tD&&(e9["aria-rowindex"]=tD),null!=ez&&(0,d.O)("accessibilityRowSpan","accessibilityRowSpan is deprecated. Use aria-rowspan.");var tB=null!=eN?eN:ez;null!=tB&&(e9["aria-rowspan"]=tB),null!=eH&&(0,d.O)("accessibilitySelected","accessibilitySelected is deprecated. Use aria-selected.");var tW=null!=ej?ej:eH;null!=tW&&(e9["aria-selected"]=tW),null!=e_&&(0,d.O)("accessibilitySetSize","accessibilitySetSize is deprecated. Use aria-setsize.");var tN=null!=eF?eF:e_;null!=tN&&(e9["aria-setsize"]=tN),null!=eV&&(0,d.O)("accessibilitySort","accessibilitySort is deprecated. Use aria-sort.");var tz=null!=eZ?eZ:eV;null!=tz&&(e9["aria-sort"]=tz),null!=eK&&(0,d.O)("accessibilityValueMax","accessibilityValueMax is deprecated. Use aria-valuemax.");var tj=null!=e$?e$:eK;null!=tj&&(e9["aria-valuemax"]=tj),null!=eY&&(0,d.O)("accessibilityValueMin","accessibilityValueMin is deprecated. Use aria-valuemin.");var tH=null!=eU?eU:eY;null!=tH&&(e9["aria-valuemin"]=tH),null!=eq&&(0,d.O)("accessibilityValueNow","accessibilityValueNow is deprecated. Use aria-valuenow.");var tF=null!=eX?eX:eq;null!=tF&&(e9["aria-valuenow"]=tF),null!=eJ&&(0,d.O)("accessibilityValueText","accessibilityValueText is deprecated. Use aria-valuetext.");var t_=null!=eG?eG:eJ;if(null!=t_&&(e9["aria-valuetext"]=t_),null!=eQ){for(var tZ in eQ)if(h.call(eQ,tZ)){var tV=tZ.replace(v,g),t$=eQ[tZ];null!=t$&&(e9["data-"+tV]=t$)}}0===e4||"0"===e4||-1===e4||"-1"===e4?e9.tabIndex=e4:(null!=e0&&(0,d.O)("focusable","focusable is deprecated."),!1===e0&&(e9.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?(!1===e0||!0===F)&&(e9.tabIndex="-1"):"button"===e8||"checkbox"===e8||"link"===e8||"radio"===e8||"textbox"===e8||"switch"===e8?!1!==e0&&(e9.tabIndex="0"):!0===e0&&(e9.tabIndex="0")),null!=e5&&(0,d.O)("pointerEvents","props.pointerEvents is deprecated. Use style.pointerEvents");var tK=(0,c.Z)([e3,e5&&y[e5]],(0,u.Z)({writingDirection:"ltr"},n)),tU=tK[0],tY=tK[1];tU&&(e9.className=tU),tY&&(e9.style=tY),null!=e2&&(0,d.O)("nativeID","nativeID is deprecated. Use id.");var tX=null!=e1?e1:e2;return null!=tX&&(e9.id=tX),null!=e7&&(e9["data-testid"]=e7),null==e9.type&&"button"===e&&(e9.type="button"),e9},w=n(2265),x=n(3201),R=(e,t,n)=>{e&&e.constructor===String&&(r=a.propsToAccessibilityComponent(t));var r,o=r||e,i=S(o,t,n),l=w.createElement(o,i);return i.dir?w.createElement(x.Iw,{children:l,direction:i.dir,locale:i.lang}):l}},3013:function(e,t,n){"use strict";var r=n(2319);t.Z={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&r.Z.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&r.Z.blur(e))}}},1213:function(e,t){"use strict";var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);t.Z=n},5832:function(e,t,n){"use strict";var r=n(3013);t.Z=()=>{r.Z.blurTextInput(r.Z.currentlyFocusedField())}},7792:function(e,t,n){"use strict";n.d(t,{E5:function(){return s},LO:function(){return o},Uy:function(){return a},YB:function(){return l},_T:function(){return i},hJ:function(){return u},lG:function(){return r},vr:function(){return c}});var r={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},o={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},i={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},l={onBlur:!0,onFocus:!0},a={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},u={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},s={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},c={style:!0}},2141:function(e,t){"use strict";t.Z=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()}},2050:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n{if(null!=t){if("function"==typeof t){t(e);return}if("object"==typeof t){t.current=e;return}console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(t))}})}}n.d(t,{Z:function(){return r}}),n(2265)},2675:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&!0===t[r]&&(n[r]=e[r]);return n}n.d(t,{Z:function(){return r}})},9647:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1435),o=n(2319),i=n(1213),l="__reactLayoutHandler",a=(i.Z,null);function u(e,t){var n=(i.Z&&void 0!==window.ResizeObserver&&null==a&&(a=new window.ResizeObserver(function(e){e.forEach(e=>{var t=e.target,n=t[l];"function"==typeof n&&o.Z.measure(t,(t,r,o,i,l,a)=>{var u={nativeEvent:{layout:{x:t,y:r,width:o,height:i,left:l,top:a}},timeStamp:Date.now()};Object.defineProperty(u.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),n(u)})})})),a);(0,r.Z)(()=>{var n=e.current;null!=n&&(n[l]=t)},[e,t]),(0,r.Z)(()=>{var t=e.current;return null!=t&&null!=n&&("function"==typeof t[l]?n.observe(t):n.unobserve(t)),()=>{null!=t&&null!=n&&n.unobserve(t)}},[e,n])}},1435:function(e,t,n){"use strict";var r=n(2265),o=n(1213).Z?r.useLayoutEffect:r.useEffect;t.Z=o},3201:function(e,t,n){"use strict";n.d(t,{Iw:function(){return s},w1:function(){return u},PE:function(){return c}});var r=n(2265),o=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","far","glk","he","iw","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),l=new Map,a=(0,r.createContext)({direction:"ltr",locale:"en-US"});function u(e){return!function(e){var t=l.get(e);if(t)return t;var n=!1;if(Intl.Locale){var r=new Intl.Locale(e).maximize().script;n=o.has(r)}else{var a=e.split("-")[0];n=i.has(a)}return l.set(e,n),n}(e)?"ltr":"rtl"}function s(e){var t=e.direction,n=e.locale,o=e.children;return t||n?r.createElement(a.Provider,{children:o,value:{direction:n?u(n):t,locale:n}}):o}function c(){return(0,r.useContext)(a)}},9926:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265),o=n(2050);function i(){for(var e=arguments.length,t=Array(e),n=0;n(0,o.Z)(...t),[...t])}},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2319),o=n(2265),i="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function l(e){var t,n;return e.pointerEvents,e.style,t=()=>e=>{null!=e&&(e.measure=t=>r.Z.measure(e,t),e.measureLayout=(t,n,o)=>r.Z.measureLayout(e,t,o,n),e.measureInWindow=t=>r.Z.measureInWindow(e,t))},(n=o.useRef(i)).current===i&&(n.current=t()),n.current}},4886:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(2265),o=n(2141),i=()=>{},l={},a=[];function u(e){return e>20?e%20:e}function s(e,t){var n,r,s,c=!1,d=e.changedTouches,f=e.type,p=!0===e.metaKey,h=!0===e.shiftKey,m=d&&d[0].force||0,v=u(d&&d[0].identifier||0),g=d&&d[0].clientX||e.clientX,b=d&&d[0].clientY||e.clientY,y=d&&d[0].pageX||e.pageX,S=d&&d[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):i,x=e.timeStamp;function R(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:u(e.identifier),get locationX(){return C(e.clientX)},get locationY(){return T(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=d)r=R(d),s=R(e.touches);else{var E=[{force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x}];r=E,s="mouseup"===f||"dragstart"===f?a:E}var k={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:l,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>c,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:p,shiftKey:h,changedTouches:r,force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x,touches:s,type:f},persist:i,preventDefault:w,stopPropagation(){c=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function C(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.left}function T(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.top}return k}function c(e){return"touchstart"===e||"mousedown"===e}function d(e){return"touchmove"===e||"mousemove"===e}function f(e){return"touchend"===e||"mouseup"===e||p(e)}function p(e){return"touchcancel"===e||"dragstart"===e}var h="__reactResponderId";function m(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function v(e){return e.timeStamp||e.timestamp}function g(e){var t=e.identifier;return null==t&&console.error("Touch object is missing identifier."),t}function b(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:v(e)})}function y(e){var t=e.touchBank,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=" (original size: "+t.length+")"),n}class S{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var n=this._touchHistory;if(d(e))t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+b(e)+"\n","Touch Bank: "+y(n))});else if(c(e))t.changedTouches.forEach(e=>{var t,r,o,i;return t=e,r=n,o=g(t),void((i=r.touchBank[o])?(i.touchActive=!0,i.startPageX=t.pageX,i.startPageY=t.pageY,i.startTimeStamp=v(t),i.currentPageX=t.pageX,i.currentPageY=t.pageY,i.currentTimeStamp=v(t),i.previousPageX=t.pageX,i.previousPageY=t.pageY,i.previousTimeStamp=v(t)):r.touchBank[o]={touchActive:!0,startPageX:t.pageX,startPageY:t.pageY,startTimeStamp:v(t),currentPageX:t.pageX,currentPageY:t.pageY,currentTimeStamp:v(t),previousPageX:t.pageX,previousPageY:t.pageY,previousTimeStamp:v(t)},r.mostRecentTimeStamp=v(t))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(f(e)&&(t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+b(e)+"\n","Touch Bank: "+y(n))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches))for(var r=n.touchBank,o=0;o1)&&(O=!1),("mousedown"!==u||!O)&&("mousemove"!==u||!O)&&("mousemove"!==u||!(M<1))){if(O&&"mouseup"===u){0===M&&(O=!1);return}var g=c(u)&&(t=e.altKey,n=e.button,r=e.buttons,o=e.ctrlKey,i=e.type,l=!1===t&&!1===o,"touchstart"===i||"touchmove"===i||"mousedown"===i&&(0===n||1===r)&&!!l||"mousemove"===i&&1===r&&!!l),b=d(u),y=f(u),S="scroll"===u,w="select"===u||"selectionchange"===u,x=s(e,P);(g||b||y)&&(e.touches?M=e.touches.length:g?M=1:y&&(M=0),P.recordTouchTrack(u,x.nativeEvent));var R=function(e){for(var t=[],n=[],r="selectionchange"===e.type?m(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():m(e.target),o=0;o0){var T=A.idPath,L=R.idPath;if(null!=T&&null!=L){var D=function(e,t){var n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;var o=e[0],i=0,l=t[0],a=0;n-r>0&&(o=e[i=n-r],n=r),r-n>0&&(l=t[a=r-n],r=n);for(var u=n;u--;){if(o===l)return o;o=e[i++],l=t[a++]}return null}(T,L);if(null!=D){var B=L.indexOf(D)+(D===A.id?1:0);R={idPath:L.slice(B),nodePath:R.nodePath.slice(B)}}else R=null}null!=R&&null!=(a=function(e,t,n){var r=k[t.type];if(null!=r){for(var o=e.idPath,i=e.nodePath,l=r[0],a=r[1],u=r[2].bubbles,s=function(e,t,r){var i=I(e)[r];if(null!=i&&(n.currentTarget=t,!0===i(n))){var l=o.slice(o.indexOf(e));return{id:e,node:t,idPath:l}}},c=o.length-1;c>=0;c--){var d=s(o[c],i[c],l);if(null!=d)return d;if(!0===n.isPropagationStopped())return}if(u)for(var f=0;f=1&&"\n"!==n&&i}return"select"===e.type}(e),U=y&&!K&&!function(e,t){if(!t||0===t.length)return!1;for(var n=0;nz++,null==(o=r.useRef(null)).current&&(o.current=n()),o.current),l=r.useRef(!1);r.useEffect(()=>(w.Z&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",L),B.forEach(e=>{document.addEventListener(e,L)}),D.forEach(e=>{document.addEventListener(e,L,!0)}),window.__reactResponderSystemActive=!0),()=>{W(i)}),[i]),r.useEffect(()=>{var n,r=t,o=r.onMoveShouldSetResponder,a=r.onMoveShouldSetResponderCapture,u=r.onScrollShouldSetResponder,s=r.onScrollShouldSetResponderCapture,c=r.onSelectionChangeShouldSetResponder,d=r.onSelectionChangeShouldSetResponderCapture,f=r.onStartShouldSetResponder,p=r.onStartShouldSetResponderCapture,m=e.current;null!=o||null!=a||null!=u||null!=s||null!=c||null!=d||null!=f||null!=p?(n=t,null!=m&&(m[h]=i),T.set(i,n),l.current=!0):l.current&&(W(i),l.current=!1)},[t,e,i]),r.useDebugValue({isResponder:e.current===A.node}),r.useDebugValue(t)}},131:function(e,t,n){"use strict";function r(e,t){}n.d(t,{O:function(){return r}})},7340:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let o=r<.5?r*(1+t):r+t-r*t,i=2*r-o;return Math.round(255*n(i,o,e+1/3))<<24|Math.round(255*n(i,o,e))<<16|Math.round(255*n(i,o,e-1/3))<<8}let o="[-+]?\\d*\\.?\\d+",i=o+"%";function l(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function a(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function u(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function s(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+l(o,o,o)),rgba:RegExp("rgba("+u(o,o,o,o)+"|"+a(o,o,o,o)+")"),hsl:RegExp("hsl"+l(o,i,i)),hsla:RegExp("hsla("+u(o,i,i,o)+"|"+a(o,i,i,o)+")"),hwb:RegExp("hwb"+l(o,i,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(s(p[1])<<24|s(p[2])<<16|s(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(s(p[6])<<24|s(p[7])<<16|s(p[8])<<8|d(p[9]))>>>0:(s(p[2])<<24|s(p[3])<<16|s(p[4])<<8|d(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),f(p[2]),f(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),f(p[7]),f(p[8]))|d(p[9]))>>>0:(r(c(p[2]),f(p[3]),f(p[4]))|d(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),f(p[2]),f(p[3])))>>>0:null}},8650:function(e,t){"use strict";t.D=void 0;var n=new WeakMap;function r(e){var t,r,o;return null!=e&&(t=!0===e.disableCache,r=!0===e.disableMix,o=e.transform),function(){for(var e=[],i="",l=null,a=t?null:n,u=Array(arguments.length),s=0;s0;){var c=u.pop();if(null!=c&&!1!==c){if(Array.isArray(c)){for(var d=0;d=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},151:function(e,t,n){"use strict";n.d(t,{RR:function(){return u},US:function(){return l},cv:function(){return c},dp:function(){return f},oo:function(){return i},uY:function(){return d},x7:function(){return a}});var r=n(7848);function o(e,t,n){let o,{reference:i,floating:l}=e,a=(0,r.Qq)(t),u=(0,r.Wh)(t),s=(0,r.I4)(u),c=(0,r.k3)(t),d="y"===a,f=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,h=i[s]/2-l[s]/2;switch(c){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[u]-=h*(n&&d?-1:1);break;case"end":o[u]+=h*(n&&d?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:a}=n,u=l.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=o(c,r,s),p=r,h={},m=0;for(let n=0;n({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:a,elements:u,middlewareData:s}=t,{element:c,padding:d=0}=(0,r.ku)(e,t)||{};if(null==c)return{};let f=(0,r.yd)(d),p={x:n,y:o},h=(0,r.Wh)(i),m=(0,r.I4)(h),v=await a.getDimensions(c),g="y"===h,b=g?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[h]-p[h]-l.floating[m],S=p[h]-l.reference[h],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),x=w?w[b]:0;x&&await (null==a.isElement?void 0:a.isElement(w))||(x=u.floating[b]||l.floating[m]);let R=x/2-v[m]/2-1,E=(0,r.VV)(f[g?"top":"left"],R),k=(0,r.VV)(f[g?"bottom":"right"],R),C=x-v[m]-k,T=x/2-v[m]/2+(y/2-S/2),O=(0,r.uZ)(E,T,C),M=!s.arrow&&null!=(0,r.hp)(i)&&T!==O&&l.reference[m]/2-(Te<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(a=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(b){case"bestFit":{let e=null==(u=M.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}};async function s(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),a=(0,r.k3)(n),u=(0,r.hp)(n),s="y"===(0,r.Qq)(n),c=["left","top"].includes(a)?-1:1,d=l&&s?-1:1,f=(0,r.ku)(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return u&&"number"==typeof m&&(h="end"===u?-1*m:m),s?{x:h*d,y:p*c}:{x:p*c,y:h*d}}let c=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await s(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}},d=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r.ku)(e,t),d={x:n,y:o},f=await l(t,c),p=(0,r.Qq)((0,r.k3)(i)),h=(0,r.Rn)(p),m=d[h],v=d[p];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+f[e],o=m-f[t];m=(0,r.uZ)(n,m,o)}if(u){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[h]:m,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},f=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:i,rects:a,platform:u,elements:s}=t,{apply:c=()=>{},...d}=(0,r.ku)(e,t),f=await l(t,d),p=(0,r.k3)(i),h=(0,r.hp)(i),m="y"===(0,r.Qq)(i),{width:v,height:g}=a.floating;"top"===p||"bottom"===p?(n=p,o=h===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===h?"top":"bottom");let b=g-f[n],y=v-f[o],S=!t.middlewareData.shift,w=b,x=y;if(m){let e=v-f.left-f.right;x=h||S?(0,r.VV)(y,e):e}else{let e=g-f.top-f.bottom;w=h||S?(0,r.VV)(b,e):e}if(S&&!h){let e=(0,r.Fp)(f.left,0),t=(0,r.Fp)(f.right,0),n=(0,r.Fp)(f.top,0),o=(0,r.Fp)(f.bottom,0);m?x=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):w=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await c({...t,availableWidth:x,availableHeight:w});let R=await u.getDimensions(s.floating);return v!==R.width||g!==R.height?{reset:{rects:!0}}:{}}}}},4016:function(e,t,n){"use strict";n.d(t,{Me:function(){return S},RR:function(){return x},dp:function(){return R},oo:function(){return k},uY:function(){return w},x7:function(){return E}});var r=n(7848),o=n(151),i=n(5224);function l(e){let t=(0,i.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,i.Re)(e),a=l?e.offsetWidth:n,u=l?e.offsetHeight:o,s=(0,r.NM)(n)!==a||(0,r.NM)(o)!==u;return s&&(n=a,o=u),{width:n,height:o,$:s}}function a(e){return(0,i.kK)(e)?e:e.contextElement}function u(e){let t=a(e);if(!(0,i.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:u,$:s}=l(t),c=(s?(0,r.NM)(n.width):n.width)/o,d=(s?(0,r.NM)(n.height):n.height)/u;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}let s=(0,r.ze)(0);function c(e){let t=(0,i.Jj)(e);return(0,i.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function d(e,t,n,o){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),d=a(e),f=(0,r.ze)(1);t&&(o?(0,i.kK)(o)&&(f=u(o)):f=u(e));let p=(void 0===(l=n)&&(l=!1),o&&(!l||o===(0,i.Jj)(d))&&l)?c(d):(0,r.ze)(0),h=(s.left+p.x)/f.x,m=(s.top+p.y)/f.y,v=s.width/f.x,g=s.height/f.y;if(d){let e=(0,i.Jj)(d),t=o&&(0,i.kK)(o)?(0,i.Jj)(o):o,n=e,r=n.frameElement;for(;r&&o&&t!==n;){let e=u(r),t=r.getBoundingClientRect(),o=(0,i.Dx)(r),l=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,g*=e.y,h+=l,m+=a,r=(n=(0,i.Jj)(r)).frameElement}}return(0,r.JB)({width:v,height:g,x:h,y:m})}let f=[":popover-open",":modal"];function p(e){return f.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function h(e){return d((0,i.tF)(e)).left+(0,i.Lw)(e).scrollLeft}function m(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,i.Jj)(e),r=(0,i.tF)(e),o=n.visualViewport,l=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){l=o.width,a=o.height;let e=(0,i.Pf)();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:l,height:a,x:u,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,i.tF)(e),n=(0,i.Lw)(e),o=e.ownerDocument.body,l=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-n.scrollLeft+h(e),s=-n.scrollTop;return"rtl"===(0,i.Dx)(o).direction&&(u+=(0,r.Fp)(t.clientWidth,o.clientWidth)-l),{width:l,height:a,x:u,y:s}}((0,i.tF)(e));else if((0,i.kK)(t))o=function(e,t){let n=d(e,!0,"fixed"===t),o=n.top+e.clientTop,l=n.left+e.clientLeft,a=(0,i.Re)(e)?u(e):(0,r.ze)(1),s=e.clientWidth*a.x;return{width:s,height:e.clientHeight*a.y,x:l*a.x,y:o*a.y}}(t,n);else{let n=c(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function v(e,t){return(0,i.Re)(e)&&"fixed"!==(0,i.Dx)(e).position?t?t(e):e.offsetParent:null}function g(e,t){let n=(0,i.Jj)(e);if(!(0,i.Re)(e)||p(e))return n;let r=v(e,t);for(;r&&(0,i.Ze)(r)&&"static"===(0,i.Dx)(r).position;)r=v(r,t);return r&&("html"===(0,i.wk)(r)||"body"===(0,i.wk)(r)&&"static"===(0,i.Dx)(r).position&&!(0,i.hT)(r))?n:r||(0,i.gQ)(e)||n}let b=async function(e){let t=this.getOffsetParent||g,n=this.getDimensions;return{reference:function(e,t,n){let o=(0,i.Re)(t),l=(0,i.tF)(t),a="fixed"===n,u=d(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if(o||!o&&!a){if(("body"!==(0,i.wk)(t)||(0,i.ao)(l))&&(s=(0,i.Lw)(t)),o){let e=d(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else l&&(c.x=h(l))}return{x:u.left+s.scrollLeft-c.x,y:u.top+s.scrollTop-c.y,width:u.width,height:u.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e,a="fixed"===l,s=(0,i.tF)(o),c=!!t&&p(t.floating);if(o===s||c&&a)return n;let f={scrollLeft:0,scrollTop:0},h=(0,r.ze)(1),m=(0,r.ze)(0),v=(0,i.Re)(o);if((v||!v&&!a)&&(("body"!==(0,i.wk)(o)||(0,i.ao)(s))&&(f=(0,i.Lw)(o)),(0,i.Re)(o))){let e=d(o);h=u(o),m.x=e.x+o.clientLeft,m.y=e.y+o.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+m.x,y:n.y*h.y-f.scrollTop*h.y+m.y}},getDocumentElement:i.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=(0,i.Kx)(e,[],!1).filter(e=>(0,i.kK)(e)&&"body"!==(0,i.wk)(e)),o=null,l="fixed"===(0,i.Dx)(e).position,a=l?(0,i.Ow)(e):e;for(;(0,i.kK)(a)&&!(0,i.Py)(a);){let t=(0,i.Dx)(a),n=(0,i.hT)(a);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,i.ao)(a)&&!n&&function e(t,n){let r=(0,i.Ow)(t);return!(r===n||!(0,i.kK)(r)||(0,i.Py)(r))&&("fixed"===(0,i.Dx)(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=(0,i.Ow)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),o],u=a[0],s=a.reduce((e,n)=>{let o=m(t,n,l);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},m(t,u,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:g,getElementRects:b,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=l(e);return{width:t,height:n}},getScale:u,isElement:i.kK,isRTL:function(e){return"rtl"===(0,i.Dx)(e).direction}};function S(e,t,n,o){let l;void 0===o&&(o={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,h=a(e),m=u||s?[...h?(0,i.Kx)(h):[],...(0,i.Kx)(t)]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let v=h&&f?function(e,t){let n,o=null,l=(0,i.tF)(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function i(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),a();let{left:c,top:d,width:f,height:p}=e.getBoundingClientRect();if(u||t(),!f||!p)return;let h=(0,r.GW)(d),m=(0,r.GW)(l.clientWidth-(c+f)),v={rootMargin:-h+"px "+-m+"px "+-(0,r.GW)(l.clientHeight-(d+p))+"px "+-(0,r.GW)(c)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1},g=!0;function b(e){let t=e[0].intersectionRatio;if(t!==s){if(!g)return i();t?i(!1,t):n=setTimeout(()=>{i(!1,1e-7)},100)}g=!1}try{o=new IntersectionObserver(b,{...v,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),a}(h,n):null,g=-1,b=null;c&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),h&&!p&&b.observe(h),b.observe(t));let y=p?d(e):null;return p&&function t(){let r=d(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=b)||e.disconnect(),b=null,p&&cancelAnimationFrame(l)}}let w=o.uY,x=o.RR,R=o.dp,E=o.x7,k=(e,t,n)=>{let r=new Map,i={platform:y,...n},l={...i.platform,_c:r};return(0,o.oo)(e,t,{...i,platform:l})}},4674:function(e,t,n){"use strict";n.d(t,{Me:function(){return r.Me},RR:function(){return r.RR},YF:function(){return p},cv:function(){return o.cv},uY:function(){return r.uY},x7:function(){return a}});var r=n(4016),o=n(151),i=n(2265),l=n(4887);let a=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,r.x7)({element:n,padding:o}).fn(t):{}}});var u="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function s(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function c(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function d(e,t){let n=c(e);return Math.round(t*n)/n}function f(e){let t=i.useRef(e);return u(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,y]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[S,w]=i.useState(o);s(S,o)||w(o);let[x,R]=i.useState(null),[E,k]=i.useState(null),C=i.useCallback(e=>{e!==A.current&&(A.current=e,R(e))},[]),T=i.useCallback(e=>{e!==P.current&&(P.current=e,k(e))},[]),O=p||x,M=h||E,A=i.useRef(null),P=i.useRef(null),I=i.useRef(b),L=null!=v,D=f(v),B=f(a),W=i.useCallback(()=>{if(!A.current||!P.current)return;let e={placement:t,strategy:n,middleware:S};B.current&&(e.platform=B.current),(0,r.oo)(A.current,P.current,e).then(e=>{let t={...e,isPositioned:!0};N.current&&!s(I.current,t)&&(I.current=t,l.flushSync(()=>{y(t)}))})},[S,t,n,B]);u(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let N=i.useRef(!1);u(()=>(N.current=!0,()=>{N.current=!1}),[]),u(()=>{if(O&&(A.current=O),M&&(P.current=M),O&&M){if(D.current)return D.current(O,M,W);W()}},[O,M,W,D,L]);let z=i.useMemo(()=>({reference:A,floating:P,setReference:C,setFloating:T}),[C,T]),j=i.useMemo(()=>({reference:O,floating:M}),[O,M]),H=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=d(j.floating,b.x),r=d(j.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...c(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,j.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:W,refs:z,elements:j,floatingStyles:H}),[b,W,z,j,H])}},4243:function(e,t,n){"use strict";let r;n.d(t,{wD:function(){return e1},y0:function(){return e5},ll:function(){return eX},aN:function(){return tv},xp:function(){return ty},eS:function(){return e4},Qu:function(){return eM},tj:function(){return eO},bQ:function(){return e6},YF:function(){return te},KK:function(){return tt},XI:function(){return ek},Rz:function(){return tg},NI:function(){return ti},c0:function(){return td},qs:function(){return tp},ox:function(){return th}});var o=n(2265),i=n.t(o,2),l=n(5224);function a(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function u(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,l.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function d(e){return 0===e.mozInputSource&&!!e.isTrusted||(h()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function f(e){return!c().includes("jsdom/")&&(!h()&&0===e.width&&0===e.height||h()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function p(){return/apple/i.test(navigator.vendor)}function h(){let e=/android/i;return e.test(s())||e.test(c())}function m(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function v(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g(e){return(null==e?void 0:e.ownerDocument)||document}function b(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function y(e){return"composedPath"in e?e.composedPath()[0]:e.target}function S(e){return(0,l.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&S(e)}var R=n(7848),E=n(4674),k=n(151),C='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',T="undefined"==typeof Element,O=T?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,M=!T&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},A=function e(t,n){void 0===n&&(n=!0);var r,o=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},P=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},I=function(e,t,n){if(A(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(C));return t&&O.call(e,C)&&r.unshift(e),r=r.filter(n)},L=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(!A(l,!1)){if("SLOT"===l.tagName){var a=l.assignedElements(),u=e(a.length?a:l.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:l,candidates:u})}else{O.call(l,C)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),c=!A(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&c){var d=e(!0===s?l.children:s.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else i.unshift.apply(i,l.children)}}}return o},D=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},B=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||P(e))&&!D(e)?0:e.tabIndex},W=function(e,t){var n=B(e);return n<0&&t&&!D(e)?0:n},N=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},z=function(e){return"INPUT"===e.tagName},j=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(O.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return _(e)}else{if("function"==typeof r){for(var i=e;e;){var l=e.parentElement,a=M(e);if(l&&!l.shadowRoot&&!0===r(l))return _(e);e=e.assignedSlot?e.assignedSlot:l||a===e.ownerDocument?l:a.host}e=i}if(F(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},V=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nB(t))&&(r=e,!((o=t).disabled||A(o)||z(o)&&"hidden"===o.type||Z(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(e){return"SUMMARY"===e.tagName})||V(o)))},K=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},U=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scopeParent,l=i?t.scopeParent:t,a=W(l,i),u=i?e(t.candidates):l;0===a?i?n.push.apply(n,u):n.push(l):r.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:u})}),r.sort(N).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},Y=function(e,t){return U((t=t||{}).getShadowRoot?L([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:K}):I(e,t.includeContainer,$.bind(null,t)))},X=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==O.call(e,C)&&$(t,e)},q=n(4887);let G={...i},J=G.useInsertionEffect||(e=>e());function Q(e){let t=o.useRef(()=>{});return J(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r=e.current.length}function el(e,t){return eu(e,{disabledIndices:t})}function ea(e,t){return eu(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function eu(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=void 0===t?{}:t,l=e.current,a=o?e=>o.includes(e):e=>{let t=l[e];return null==t||t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")},u=n;do u+=r?-i:i;while(u>=0&&u<=l.length-1&&a(u));return u}let es=0;function ec(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(es);let i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():es=requestAnimationFrame(i)}var ed="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function ef(){return(ef=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+eh++,ev=G.useId||function(){let[e,t]=o.useState(()=>ep?em():void 0);return ed(()=>{null==e&&t(em())},[]),o.useEffect(()=>{ep=!0},[]),e},eg=o.createContext(null),eb=o.createContext(null),ey=()=>{var e;return(null==(e=o.useContext(eg))?void 0:e.id)||null},eS=()=>o.useContext(eb);function ew(e){return"data-floating-ui-"+e}function ex(e){let t=(0,o.useRef)(e);return ed(()=>{t.current=e}),t}let eR=ew("safe-polygon");function eE(e,t,n){return n&&!v(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ek(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:a,elements:{domReference:s,floating:c},refs:d}=e,{enabled:f=!0,delay:p=0,handleClose:h=null,mouseOnly:m=!1,restMs:b=0,move:y=!0}=t,S=eS(),w=ey(),x=ex(h),R=ex(p),E=o.useRef(),k=o.useRef(),C=o.useRef(),T=o.useRef(),O=o.useRef(!0),M=o.useRef(!1),A=o.useRef(()=>{}),P=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(f)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(T.current),O.current=!0)}},[f,a]),o.useEffect(()=>{if(!f||!x.current||!n)return;function e(e){P()&&r(!1,e,"hover")}let t=g(c).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c,n,r,f,x,P]);let I=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=eE(R.current,"close",E.current);o&&!C.current?(clearTimeout(k.current),k.current=setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(k.current),r(!1,e,n))},[R,r]),L=o.useCallback(()=>{A.current(),C.current=void 0},[]),D=o.useCallback(()=>{if(M.current){let e=g(d.floating.current).body;e.style.pointerEvents="",e.removeAttribute(eR),M.current=!1}},[d]);return o.useEffect(()=>{if(f&&(0,l.kK)(s))return n&&s.addEventListener("mouseleave",d),null==c||c.addEventListener("mouseleave",d),y&&s.addEventListener("mousemove",o,{once:!0}),s.addEventListener("mouseenter",o),s.addEventListener("mouseleave",a),()=>{n&&s.removeEventListener("mouseleave",d),null==c||c.removeEventListener("mouseleave",d),y&&s.removeEventListener("mousemove",o),s.removeEventListener("mouseenter",o),s.removeEventListener("mouseleave",a)};function t(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function o(e){if(clearTimeout(k.current),O.current=!1,m&&!v(E.current)||b>0&&0===eE(R.current,"open"))return;let t=eE(R.current,"open",E.current);t?k.current=setTimeout(()=>{r(!0,e,"hover")},t):r(!0,e,"hover")}function a(r){if(t())return;A.current();let o=g(c);if(clearTimeout(T.current),x.current){n||clearTimeout(k.current),C.current=x.current({...e,tree:S,x:r.clientX,y:r.clientY,onClose(){D(),L(),I(r,!0,"safe-polygon")}});let t=C.current;o.addEventListener("mousemove",t),A.current=()=>{o.removeEventListener("mousemove",t)};return}"touch"===E.current&&u(c,r.relatedTarget)||I(r)}function d(n){t()||null==x.current||x.current({...e,tree:S,x:n.clientX,y:n.clientY,onClose(){D(),L(),I(n)}})(n)}},[s,c,f,e,m,b,y,I,L,D,r,n,S,R,x,i]),ed(()=>{var e,t;if(f&&n&&null!=(e=x.current)&&e.__options.blockPointerEvents&&P()){let e=g(c).body;if(e.setAttribute(eR,""),e.style.pointerEvents="none",M.current=!0,(0,l.kK)(s)&&c){let e=null==S||null==(t=S.nodesRef.current.find(e=>e.id===w))||null==(t=t.context)?void 0:t.elements.floating;return e&&(e.style.pointerEvents=""),s.style.pointerEvents="auto",c.style.pointerEvents="auto",()=>{s.style.pointerEvents="",c.style.pointerEvents=""}}}},[f,n,w,c,s,S,x,P]),ed(()=>{n||(E.current=void 0,L(),D())},[n,L,D]),o.useEffect(()=>()=>{L(),clearTimeout(k.current),clearTimeout(T.current),D()},[f,s,L,D]),o.useMemo(()=>{if(!f)return{};function e(e){E.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){function t(){O.current||r(!0,e.nativeEvent,"hover")}(!m||v(E.current))&&!n&&0!==b&&(clearTimeout(T.current),"touch"===E.current?t():T.current=setTimeout(t,b))}},floating:{onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){I(e.nativeEvent,!1)}}}},[f,m,n,b,r,I])}let eC=()=>{},eT=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:eC,setState:eC,isInstantPhase:!1}),eO=()=>o.useContext(eT);function eM(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:o}=e,{id:i}=t,l=null!=i?i:o,a=eO(),{currentId:u,setCurrentId:s,initialDelay:c,setState:d,timeoutMs:f}=a;return ed(()=>{u&&(d({delay:{open:1,close:eE(c,"close")}}),u!==l&&r(!1))},[l,r,d,u,c]),ed(()=>{function e(){r(!1),d({delay:c,currentId:null})}if(u&&!n&&u===l){if(f){let t=window.setTimeout(e,f);return()=>{clearTimeout(t)}}e()}},[n,d,u,l,r,c,f]),ed(()=>{s!==eC&&n&&s(l)},[n,s,l]),a}function eA(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eP=new WeakMap,eI=new WeakSet,eL={},eD=0,eB=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,eW=e=>e&&(e.host||eW(e.parentNode)),eN=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=eW(t);return e.contains(n)?n:null}).filter(e=>null!=e);function ez(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=g(e[0]).body;return function(e,t,n,r){let o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,l=eN(t,e),a=new Set,u=new Set(l),s=[];eL[o]||(eL[o]=new WeakMap);let c=eL[o];return l.forEach(function e(t){!(!t||a.has(t))&&(a.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||u.has(t)||Array.prototype.forEach.call(t.children,t=>{if(a.has(t))e(t);else{let e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=(eP.get(t)||0)+1,l=(c.get(t)||0)+1;eP.set(t,r),c.set(t,l),s.push(t),1===r&&n&&eI.add(t),1===l&&t.setAttribute(o,""),!n&&i&&t.setAttribute(i,"true")}})}(t),a.clear(),eD++,()=>{s.forEach(e=>{let t=(eP.get(e)||0)-1,n=(c.get(e)||0)-1;eP.set(e,t),c.set(e,n),t||(!eI.has(e)&&i&&e.removeAttribute(i),eI.delete(e)),n||e.removeAttribute(o)}),--eD||(eP=new WeakMap,eP=new WeakMap,eI=new WeakSet,eL={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let ej=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eH(e,t){let n=Y(e,ej());"prev"===t&&n.reverse();let r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function eF(){return eH(document.body,"next")}function e_(){return eH(document.body,"prev")}function eZ(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!u(n,r)}let eV={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function e$(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eK=o.forwardRef(function(e,t){let[n,r]=o.useState();ed(()=>(p()&&r("button"),document.addEventListener("keydown",e$),()=>{document.removeEventListener("keydown",e$)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ew("focus-guard")]:"",style:eV};return o.createElement("span",ef({},e,i))}),eU=o.createContext(null),eY=ew("portal");function eX(e){let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,a=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=ev(),i=eq(),[a,u]=o.useState(null),s=o.useRef(null);return ed(()=>()=>{null==a||a.remove(),queueMicrotask(()=>{s.current=null})},[a]),ed(()=>{if(s.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eY,""),e.appendChild(n),s.current=n,u(n)},[t,r]),ed(()=>{if(s.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,l.kK)(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let a=document.createElement("div");a.id=r,a.setAttribute(eY,""),(e=o||e).appendChild(a),s.current=a,u(a)},[t,n,r,i]),a}({id:n,root:r}),[u,s]=o.useState(null),c=o.useRef(null),d=o.useRef(null),f=o.useRef(null),p=o.useRef(null),h=!!u&&!u.modal&&u.open&&i&&!!(r||a);return o.useEffect(()=>{if(a&&i&&(null==u||!u.modal))return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){a&&eZ(e)&&("focusin"===e.type?function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}:function(e){Y(e,ej()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(a)}},[a,i,null==u?void 0:u.modal]),o.createElement(eU.Provider,{value:o.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:a,setFocusManagerState:s}),[i,a])},h&&a&&o.createElement(eK,{"data-type":"outside",ref:c,onFocus:e=>{if(eZ(e,a)){var t;null==(t=f.current)||t.focus()}else{let e=e_()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),h&&a&&o.createElement("span",{"aria-owns":a.id,style:eV}),a&&(0,q.createPortal)(t,a),h&&a&&o.createElement(eK,{"data-type":"outside",ref:d,onFocus:e=>{if(eZ(e,a)){var t;null==(t=p.current)||t.focus()}else{let t=eF()||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent))}}}))}let eq=()=>o.useContext(eU),eG=[];function eJ(e){eG=eG.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,l.wk)(t)){if(!X(t,ej())){let e=Y(t,ej())[0];if(!e)return;t=e}eG.push(t),eG.length>20&&(eG=eG.slice(-20))}}function eQ(){return eG.slice().reverse().find(e=>e.isConnected)}let e0=o.forwardRef(function(e,t){return o.createElement("button",ef({},e,{type:"button",ref:t,tabIndex:-1,style:eV}))});function e1(e){let{context:t,children:n,disabled:r=!1,order:i=["content"],guards:s=!0,initialFocus:c=0,returnFocus:p=!0,modal:h=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:v=!0}=e,{open:b,refs:S,nodeId:R,onOpenChange:E,events:k,dataRef:C,elements:{domReference:T,floating:O}}=t,M="number"==typeof c&&c<0,A=x(T)&&M,P=!eB()||s,I=ex(i),L=ex(c),D=ex(p),B=eS(),W=eq(),N=o.useRef(null),z=o.useRef(null),j=o.useRef(!1),H=o.useRef(!1),F=null!=W,_=o.useCallback(function(e){return void 0===e&&(e=O),e?Y(e,ej()):[]},[O]),Z=o.useCallback(e=>{let t=_(e);return I.current.map(e=>T&&"reference"===e?T:O&&"floating"===e?O:t).filter(Boolean).flat()},[T,O,I,_]);function V(e){return!r&&m&&h?o.createElement(e0,{ref:"start"===e?N:z,onClick:e=>E(!1,e.nativeEvent)},"string"==typeof m?m:"Dismiss"):null}o.useEffect(()=>{if(r||!h)return;function e(e){if("Tab"===e.key){u(O,a(g(O)))&&0===_().length&&!A&&w(e);let t=Z(),n=y(e);"reference"===I.current[0]&&n===T&&(w(e),e.shiftKey?ec(t[t.length-1]):ec(t[1])),"floating"===I.current[1]&&n===O&&e.shiftKey&&(w(e),ec(t[0]))}}let t=g(O);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,T,O,h,I,A,_,Z]),o.useEffect(()=>{if(!r&&v&&O&&(0,l.Re)(T))return T.addEventListener("focusout",t),T.addEventListener("pointerdown",e),h||O.addEventListener("focusout",t),()=>{T.removeEventListener("focusout",t),T.removeEventListener("pointerdown",e),h||O.removeEventListener("focusout",t)};function e(){H.current=!0,setTimeout(()=>{H.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!(u(T,t)||u(O,t)||u(t,O)||u(null==W?void 0:W.portalNode,t)||null!=t&&t.hasAttribute(ew("focus-guard"))||B&&(eA(B.nodesRef.current,R).find(e=>{var n,r;return u(null==(n=e.context)?void 0:n.elements.floating,t)||u(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],o=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(B.nodesRef.current,R).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));t&&n&&!H.current&&t!==eQ()&&(j.current=!0,E(!1,e))})}},[r,T,O,h,R,B,W,E,v]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==W||null==(e=W.portalNode)?void 0:e.querySelectorAll("["+ew("portal")+"]"))||[]);if(O){let e=[O,...t,N.current,z.current,I.current.includes("reference")||A?T:null].filter(e=>null!=e),n=h||A?ez(e,P,!P):ez(e);return()=>{n()}}},[r,T,O,h,I,W,A,P]),ed(()=>{if(r||!O)return;let e=a(g(O));queueMicrotask(()=>{let t=Z(O),n=L.current,r=("number"==typeof n?t[n]:n.current)||O,o=u(O,e);M||o||!b||ec(r,{preventScroll:r===O})})},[r,b,O,M,Z,L]),ed(()=>{if(r||!O)return;let e=!1,t=g(O),n=a(t),o=C.current;function i(t){let{reason:n,event:r,nested:o}=t;"escape-key"===n&&S.domReference.current&&eJ(S.domReference.current),"hover"===n&&"mouseleave"===r.type&&(j.current=!0),"outside-press"===n&&(o?(j.current=!1,e=!0):j.current=!(d(r)||f(r)))}return eJ(n),k.on("openchange",i),()=>{k.off("openchange",i);let n=a(t),r=u(O,n)||B&&eA(B.nodesRef.current,R).some(e=>{var t;return u(null==(t=e.context)?void 0:t.elements.floating,n)});(r||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&S.domReference.current&&eJ(S.domReference.current);let s=eQ();D.current&&!j.current&&(0,l.Re)(s)&&(s===n||n===t.body||r)&&ec(s,{cancelPrevious:!1,preventScroll:e})}},[r,O,D,C,S,k,B,R]),ed(()=>{if(!r&&W)return W.setFocusManagerState({modal:h,closeOnFocusOut:v,open:b,onOpenChange:E,refs:S}),()=>{W.setFocusManagerState(null)}},[r,W,h,b,E,S,v]),ed(()=>{if(r||!O||"function"!=typeof MutationObserver||M)return;let e=()=>{let e=O.getAttribute("tabindex");I.current.includes("floating")||a(g(O))!==S.domReference.current&&0===_().length?"0"!==e&&O.setAttribute("tabindex","0"):"-1"!==e&&O.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(O,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,O,S,I,_,M]);let $=!r&&P&&(F||h);return o.createElement(o.Fragment,null,$&&o.createElement(eK,{"data-type":"inside",ref:null==W?void 0:W.beforeInsideRef,onFocus:e=>{if(h){let e=Z();ec("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(j.current=!1,eZ(e,W.portalNode)){let e=eF()||T;null==e||e.focus()}else{var t;null==(t=W.beforeOutsideRef.current)||t.focus()}}}}),!A&&V("start"),n,V("end"),$&&o.createElement(eK,{"data-type":"inside",ref:null==W?void 0:W.afterInsideRef,onFocus:e=>{if(h)ec(Z()[0]);else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(v&&(j.current=!0),eZ(e,W.portalNode)){let e=e_()||T;null==e||e.focus()}else{var t;null==(t=W.afterOutsideRef.current)||t.focus()}}}}))}let e2=new Set,e5=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e,i=ev();return ed(()=>{if(!n)return;e2.add(i);let e=/iP(hone|ad|od)|iOS/.test(s()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,l=t.left?parseFloat(t.left):window.pageXOffset,a=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",o&&(t[r]=o+"px"),e){var u,c;let e=(null==(u=window.visualViewport)?void 0:u.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(a-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(l-Math.floor(e))+"px",right:"0"})}return()=>{e2.delete(i),0===e2.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(l,a)))}},[i,n]),o.createElement("div",ef({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function e3(e){return(0,l.Re)(e.target)&&"BUTTON"===e.target.tagName}function e4(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,elements:{domReference:l}}=e,{enabled:a=!0,event:u="click",toggle:s=!0,ignoreMouse:c=!1,keyboardHandlers:d=!0}=t,f=o.useRef(),p=o.useRef(!1);return o.useMemo(()=>a?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0!==e.button||v(f.current,!0)&&c||"click"===u||(n&&s&&(!i.current.openEvent||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){if("mousedown"===u&&f.current){f.current=void 0;return}v(f.current,!0)&&c||(n&&s&&(!i.current.openEvent||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||e3(e)||(" "!==e.key||S(l)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&(n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||e3(e)||S(l))&&" "===e.key&&p.current&&(p.current=!1,n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}}:{},[a,i,u,c,d,l,s,n,r])}let e7={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e9={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e8=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function e6(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,nodeId:i,elements:{reference:a,domReference:s,floating:c},dataRef:d}=e,{enabled:f=!0,escapeKey:p=!0,outsidePress:h=!0,outsidePressEvent:m="pointerdown",referencePress:v=!1,referencePressEvent:S="pointerdown",ancestorScroll:w=!1,bubbles:x,capture:R}=t,E=eS(),k=Q("function"==typeof h?h:()=>!1),C="function"==typeof h?k:h,T=o.useRef(!1),O=o.useRef(!1),{escapeKey:M,outsidePress:A}=e8(x),{escapeKey:P,outsidePress:I}=e8(R),L=Q(e=>{if(!n||!f||!p||"Escape"!==e.key)return;let t=E?eA(E.nodesRef.current,i):[];if(!M&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),D=Q(e=>{var t;let n=()=>{var t;L(e),null==(t=y(e))||t.removeEventListener("keydown",n)};null==(t=y(e))||t.addEventListener("keydown",n)}),B=Q(e=>{let t=T.current;T.current=!1;let n=O.current;if(O.current=!1,"click"===m&&n||t||"function"==typeof C&&!C(e))return;let o=y(e),a="["+ew("inert")+"]",d=g(c).querySelectorAll(a),f=(0,l.kK)(o)?o:null;for(;f&&!(0,l.Py)(f);){let e=(0,l.Ow)(f);if((0,l.Py)(e)||!(0,l.kK)(e))break;f=e}if(d.length&&(0,l.kK)(o)&&!o.matches("html,body")&&!u(o,c)&&Array.from(d).every(e=>!u(f,e)))return;if((0,l.Re)(o)&&c){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n&&"rtl"===(0,l.Dx)(o).direction&&(r=e.offsetX<=o.offsetWidth-o.clientWidth),r||t&&e.offsetY>o.clientHeight)return}let p=E&&eA(E.nodesRef.current,i).some(t=>{var n;return b(e,null==(n=t.context)?void 0:n.elements.floating)});if(b(e,c)||b(e,s)||p)return;let h=E?eA(E.nodesRef.current,i):[];if(h.length>0){let e=!0;if(h.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),W=Q(e=>{var t;let n=()=>{var t;B(e),null==(t=y(e))||t.removeEventListener(m,n)};null==(t=y(e))||t.addEventListener(m,n)});return o.useEffect(()=>{if(!n||!f)return;function e(e){r(!1,e,"ancestor-scroll")}d.current.__escapeKeyBubbles=M,d.current.__outsidePressBubbles=A;let t=g(c);p&&t.addEventListener("keydown",P?D:L,P),C&&t.addEventListener(m,I?W:B,I);let o=[];return w&&((0,l.kK)(s)&&(o=(0,l.Kx)(s)),(0,l.kK)(c)&&(o=o.concat((0,l.Kx)(c))),!(0,l.kK)(a)&&a&&a.contextElement&&(o=o.concat((0,l.Kx)(a.contextElement)))),(o=o.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{p&&t.removeEventListener("keydown",P?D:L,P),C&&t.removeEventListener(m,I?W:B,I),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[d,c,s,a,p,C,m,n,r,w,f,M,A,L,P,D,B,I,W]),o.useEffect(()=>{T.current=!1},[C,m]),o.useMemo(()=>f?{reference:{onKeyDown:L,[e7[S]]:e=>{v&&r(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:L,onMouseDown(){O.current=!0},onMouseUp(){O.current=!0},[e9[m]]:()=>{T.current=!0}}}:{},[f,v,m,S,r,L])}function te(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:i}=e,[a,u]=o.useState(null),[s,c]=o.useState(null),d=(null==(t=e.elements)?void 0:t.reference)||a;ed(()=>{d&&(v.current=d)},[d]);let f=(0,E.YF)({...e,elements:{...e.elements,...s&&{reference:s}}}),p=eS(),h=null!=ey(),m=Q((e,t,n)=>{g.current.openEvent=e?t:void 0,b.emit("openchange",{open:e,event:t,reason:n,nested:h}),null==r||r(e,t,n)}),v=o.useRef(null),g=o.useRef({}),b=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],y=ev(),S=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),f.refs.setReference(t)},[f.refs]),w=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(v.current=e,u(e)),((0,l.kK)(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!(0,l.kK)(e))&&f.refs.setReference(e)},[f.refs]),x=o.useMemo(()=>({...f.refs,setReference:w,setPositionReference:S,domReference:v}),[f.refs,w,S]),R=o.useMemo(()=>({...f.elements,domReference:d}),[f.elements,d]),k=o.useMemo(()=>({...f,refs:x,elements:R,dataRef:g,nodeId:i,floatingId:y,events:b,open:n,onOpenChange:m}),[f,i,y,b,n,m,x,R]);return ed(()=>{let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===i);e&&(e.context=k)}),o.useMemo(()=>({...f,context:k,refs:x,elements:R}),[f,x,R,k])}function tt(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,refs:s,elements:{domReference:c}}=e,{enabled:d=!0,visibleOnly:h=!0}=t,v=o.useRef(!1),b=o.useRef(),w=o.useRef(!0);return o.useEffect(()=>{if(!d)return;let e=(0,l.Jj)(c);function t(){!n&&(0,l.Re)(c)&&c===a(g(c))&&(v.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[c,n,d]),o.useEffect(()=>{if(d)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(v.current=!0)}},[i,d]),o.useEffect(()=>()=>{clearTimeout(b.current)},[]),o.useMemo(()=>d?{reference:{onPointerDown(e){f(e.nativeEvent)||(w.current=!1)},onMouseLeave(){v.current=!1},onFocus(e){if(v.current)return;let t=y(e.nativeEvent);if(h&&(0,l.kK)(t))try{if(p()&&m())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!w.current&&!S(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){v.current=!1;let t=e.relatedTarget,n=(0,l.kK)(t)&&t.hasAttribute(ew("focus-guard"))&&"outside"===t.getAttribute("data-type");b.current=window.setTimeout(()=>{let o=a(c?c.ownerDocument:document);if(t||o!==c){if(u(s.floating.current,o)||u(c,o)||n)return;r(!1,e.nativeEvent,"focus")}})}}}:{},[d,h,c,s,r])}let tn="active",tr="selected";function to(e,t,n){let r=new Map,o="item"===n,i=e;if(o&&e){let{[tn]:t,[tr]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1},...i,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(!(o&&[tn,tr].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var l;null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=Array(t),i=0;ie(...o)).find(e=>void 0!==e)}}}else e[n]=i}}),e),{})}}function ti(e){void 0===e&&(e=[]);let t=e,n=o.useCallback(t=>to(t,e,"reference"),t),r=o.useCallback(t=>to(t,e,"floating"),t),i=o.useCallback(t=>to(t,e,"item"),e.map(e=>null==e?void 0:e.item));return o.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])}let tl=!1;function ta(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function tu(e,t){return ta(t,e===ee||e===et,e===en||e===er)}function ts(e,t,n){return ta(t,e===et,n?e===en:e===er)||"Enter"===e||" "===e||""===e}function tc(e,t,n){return ta(t,n?e===er:e===en,e===ee)}function td(e,t){let{open:n,onOpenChange:r,refs:i,elements:{domReference:s,floating:c}}=e,{listRef:h,activeIndex:v,onNavigate:b=()=>{},enabled:y=!0,selectedIndex:S=null,allowEscape:E=!1,loop:k=!1,nested:C=!1,rtl:T=!1,virtual:O=!1,focusItemOnOpen:M="auto",focusItemOnHover:A=!0,openOnArrowKeyDown:P=!0,disabledIndices:I,orientation:L="vertical",cols:D=1,scrollItemIntoView:B=!0,virtualItemRef:W,itemSizes:N,dense:z=!1}=t,j=ey(),H=eS(),F=Q(b),_=o.useRef(M),Z=o.useRef(null!=S?S:-1),V=o.useRef(null),$=o.useRef(!0),K=o.useRef(F),U=o.useRef(!!c),Y=o.useRef(!1),X=o.useRef(!1),q=ex(I),G=ex(n),J=ex(B),[es,ef]=o.useState(),[ep,eh]=o.useState(),em=Q(function(e,t,n){void 0===n&&(n=!1);let r=e.current[t.current];r&&(O?(ef(r.id),null==H||H.events.emit("virtualfocus",r),W&&(W.current=r)):ec(r,{preventScroll:!0,sync:!!(m()&&p())&&(tl||Y.current)}),requestAnimationFrame(()=>{let e=J.current;e&&r&&(n||!$.current)&&(null==r.scrollIntoView||r.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))}))});ed(()=>{document.createElement("div").focus({get preventScroll(){return tl=!0,!1}})},[]),ed(()=>{y&&(n&&c?_.current&&null!=S&&(X.current=!0,Z.current=S,F(S)):U.current&&(Z.current=-1,K.current(null)))},[y,n,c,S,F]),ed(()=>{if(y&&n&&c){if(null==v){if(Y.current=!1,null==S&&(U.current&&(Z.current=-1,em(h,Z)),!U.current&&_.current&&(null!=V.current||!0===_.current&&null==V.current))){let e=0,t=()=>{null==h.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(Z.current=null==V.current||ts(V.current,L,T)||C?el(h,q.current):ea(h,q.current),V.current=null,F(Z.current))};t()}}else ei(h,v)||(Z.current=v,em(h,Z,X.current),X.current=!1)}},[y,n,c,v,S,C,h,L,T,F,em,q]),ed(()=>{var e;if(!y||c||!H||O||!U.current)return;let t=H.nodesRef.current,n=null==(e=t.find(e=>e.id===j))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(c)),o=t.some(e=>e.context&&u(e.context.elements.floating,r));n&&!o&&$.current&&n.focus({preventScroll:!0})},[y,c,H,j,O]),ed(()=>{if(y&&H&&O&&!j)return H.events.on("virtualfocus",e),()=>{H.events.off("virtualfocus",e)};function e(e){eh(e.id),W&&(W.current=e)}},[y,H,O,j,W]),ed(()=>{K.current=F,U.current=!!c}),ed(()=>{n||(V.current=null)},[n]);let ev=null!=v,eg=o.useMemo(()=>{function e(e){if(!n)return;let t=h.current.indexOf(e);-1!==t&&F(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...A&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;$.current&&"touch"!==t&&(Z.current=-1,em(h,Z),F(null),O||ec(i.floating.current,{preventScroll:!0}))}}}},[n,i,em,A,h,F,O]);return o.useMemo(()=>{if(!y)return{};let e=q.current;function t(t){if($.current=!1,Y.current=!0,!G.current&&t.currentTarget===i.floating.current)return;if(C&&tc(t.key,L,T)){w(t),r(!1,t.nativeEvent,"list-navigation"),(0,l.Re)(s)&&!O&&s.focus();return}let o=Z.current,u=el(h,e),c=ea(h,e);if("Home"===t.key&&(w(t),Z.current=u,F(Z.current)),"End"===t.key&&(w(t),Z.current=c,F(Z.current)),D>1){var d;let n=N||Array.from({length:h.current.length},()=>({width:1,height:1})),r=function(e,t,n){let r=[],o=0;return e.forEach((e,i)=>{let{width:l,height:a}=e,u=!1;for(n&&(o=0);!u;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=i}),u=!0):o++}}),[...r]}(n,D,z),o=r.findIndex(t=>null!=t&&!(null!=e&&e.includes(t))),i=r.reduce((t,n,r)=>null==n||null!=e&&e.includes(n)?t:r,-1);if(Z.current=r[function(e,t){let{event:n,orientation:r,loop:o,cols:i,disabledIndices:l,minIndex:a,maxIndex:u,prevIndex:s,stopEvent:c=!1}=t,d=s;if(n.key===ee){if(c&&w(n),-1===s)d=u;else if(d=eu(e,{startingIndex:d,amount:i,decrement:!0,disabledIndices:l}),o&&(s-ie?n:n-i}ei(e,d)&&(d=s)}if(n.key===et&&(c&&w(n),-1===s?d=a:(d=eu(e,{startingIndex:s,amount:i,disabledIndices:l}),o&&s+i>u&&(d=eu(e,{startingIndex:s%i-i,amount:i,disabledIndices:l}))),ei(e,d)&&(d=s)),"both"===r){let t=(0,R.GW)(s/i);n.key===er&&(c&&w(n),s%i!=i-1?(d=eu(e,{startingIndex:s,disabledIndices:l}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l})),eo(d,i,t)&&(d=s)),n.key===en&&(c&&w(n),s%i!=0?(d=eu(e,{startingIndex:s,disabledIndices:l,decrement:!0}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l})),eo(d,i,t)&&(d=s));let r=(0,R.GW)(u/i)===t;ei(e,d)&&(d=o&&r?n.key===en?u:eu(e,{startingIndex:s-s%i-1,disabledIndices:l}):s)}return d}({current:r.map(e=>null!=e?h.current[e]:null)},{event:t,orientation:L,loop:k,cols:D,disabledIndices:(d=[...e||[],void 0],r.flatMap((e,t)=>d.includes(e)?[t]:[])),minIndex:o,maxIndex:i,prevIndex:function(e,t,n,r,o){if(-1===e)return -1;let i=n.indexOf(e);switch(o){case"tl":return i;case"tr":return i+t[e].width-1;case"bl":return i+(t[e].height-1)*r;case"br":return n.lastIndexOf(e)}}(Z.current,n,r,D,t.key===et?"bl":t.key===er?"tr":"tl"),stopEvent:!0})],F(Z.current),"both"===L)return}if(tu(t.key,L)){if(w(t),n&&!O&&a(t.currentTarget.ownerDocument)===t.currentTarget){Z.current=ts(t.key,L,T)?u:c,F(Z.current);return}ts(t.key,L,T)?k?Z.current=o>=c?E&&o!==h.current.length?-1:u:eu(h,{startingIndex:o,disabledIndices:e}):Z.current=Math.min(c,eu(h,{startingIndex:o,disabledIndices:e})):k?Z.current=o<=u?E&&-1!==o?h.current.length:c:eu(h,{startingIndex:o,decrement:!0,disabledIndices:e}):Z.current=Math.max(u,eu(h,{startingIndex:o,decrement:!0,disabledIndices:e})),ei(h,Z.current)?F(null):F(Z.current)}}function o(e){"auto"===M&&d(e.nativeEvent)&&(_.current=!0)}let u=O&&n&&ev&&{"aria-activedescendant":ep||es},c=h.current.find(e=>(null==e?void 0:e.id)===es);return{reference:{...u,onKeyDown(o){var i,l,a,u,s,d;$.current=!1;let f=0===o.key.indexOf("Arrow"),p=(i=o.key,ta(L,T?i===en:i===er,i===et)),m=tc(o.key,L,T),v=tu(o.key,L),g=(C?p:v)||"Enter"===o.key||""===o.key.trim();if(O&&n){let e,n;let r=null==H?void 0:H.nodesRef.current.find(e=>null==e.parentId),i=H&&r?(l=H.nodesRef.current,a=r.id,n=-1,!function t(r,o){o>n&&(e=r,n=o),eA(l,r).forEach(e=>{t(e.id,o+1)})}(a,0),l.find(t=>t.id===e)):null;if(f&&i&&W){let e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(p||m){let t=(null==(u=i.context)?void 0:u.elements.domReference)===o.currentTarget,n=m&&!t?null==(s=i.context)?void 0:s.elements.domReference:p?c:null;n&&(w(o),n.dispatchEvent(e),eh(void 0))}if(v&&i.context&&i.context.open&&i.parentId&&o.currentTarget!==i.context.elements.domReference){w(o),null==(d=i.context.elements.domReference)||d.dispatchEvent(e);return}}return t(o)}if(n||P||!f){if(g&&(V.current=C&&v?null:o.key),C){p&&(w(o),n?(Z.current=el(h,e),F(Z.current)):r(!0,o.nativeEvent,"list-navigation"));return}v&&(null!=S&&(Z.current=S),w(o),!n&&P?r(!0,o.nativeEvent,"list-navigation"):t(o),n&&F(Z.current))}},onFocus(){n&&F(null)},onPointerDown:function(e){_.current=M,"auto"===M&&f(e.nativeEvent)&&(_.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===L?void 0:L,...!x(s)&&u,onKeyDown:t,onPointerMove(){$.current=!0}},item:eg}},[s,i,es,ep,q,G,h,y,L,T,O,n,ev,C,S,P,E,D,k,M,F,r,eg,H,W,N,z])}let tf=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function tp(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:i}=e,{enabled:l=!0,role:a="dialog"}=t,u=null!=(n=tf.get(a))?n:a,s=ev(),c=null!=ey();return o.useMemo(()=>{if(!l)return{};let e={id:i,...u&&{role:u}};return"tooltip"===u||"label"===a?{reference:{["aria-"+("label"===a?"labelledby":"describedby")]:r?i:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":r?i:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:s},..."menu"===u&&c&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===u&&{"aria-labelledby":s}},item(e){let{active:t,selected:n}=e,r={role:"option",...t&&{id:i+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}}},[l,a,u,r,i,s,c])}function th(e,t){var n;let{open:r,dataRef:i}=e,{listRef:l,activeIndex:a,onMatch:u,onTypingChange:s,enabled:c=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:p=[],selectedIndex:h=null}=t,m=o.useRef(),v=o.useRef(""),g=o.useRef(null!=(n=null!=h?h:a)?n:-1),b=o.useRef(null),y=Q(u),S=Q(s),x=ex(d),R=ex(p);return ed(()=>{r&&(clearTimeout(m.current),b.current=null,v.current="")},[r]),ed(()=>{if(r&&""===v.current){var e;g.current=null!=(e=null!=h?h:a)?e:-1}},[r,h,a]),o.useMemo(()=>{if(!c)return{};function e(e){e?i.current.typing||(i.current.typing=e,S(e)):i.current.typing&&(i.current.typing=e,S(e))}function t(e,t,n){let r=x.current?x.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}function n(n){let o=l.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(o,o,v.current)?e(!1):" "===n.key&&w(n)),null==o||R.current.includes(n.key)||1!==n.key.length||n.ctrlKey||n.metaKey||n.altKey)return;r&&" "!==n.key&&(w(n),e(!0)),o.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&v.current===n.key&&(v.current="",g.current=b.current),v.current+=n.key,clearTimeout(m.current),m.current=setTimeout(()=>{v.current="",g.current=b.current,e(!1)},f);let i=g.current,a=t(o,[...o.slice((i||0)+1),...o.slice(0,(i||0)+1)],v.current);-1!==a?(y(a),b.current=a):" "!==n.key&&(v.current="",e(!1))}return{reference:{onKeyDown:n},floating:{onKeyDown:n,onKeyUp(t){" "===t.key&&e(!1)}}}},[c,r,i,l,f,R,x,y,S])}function tm(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tv=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:a=4,referenceOverflowThreshold:u=0,scrollRef:s,...c}=e,{rects:d,elements:{floating:f}}=t,p=n.current[l];if(!p)return{};let h={...t,...await (0,k.cv)(-p.offsetTop-f.clientTop-d.reference.height/2-p.offsetHeight/2-i).fn(t)},m=(null==s?void 0:s.current)||f,v=await (0,k.US)(tm(h,m.scrollHeight),c),g=await (0,k.US)(h,{...c,elementContext:"reference"}),b=Math.max(0,v.top),y=h.y+b,S=Math.max(0,m.scrollHeight-b-Math.max(0,v.bottom));return m.style.maxHeight=S+"px",m.scrollTop=b,o&&(m.offsetHeight=-u||g.bottom>=-u?(0,q.flushSync)(()=>o(!0)):(0,q.flushSync)(()=>o(!1))),r&&(r.current=await (0,k.US)(tm({...h,y:y},m.offsetHeight),c)),{y:y}}});function tg(e,t){let{open:n,elements:r}=e,{enabled:i=!0,overflowRef:l,scrollRef:a,onChange:u}=t,s=Q(u),d=o.useRef(!1),f=o.useRef(null),p=o.useRef(null);return o.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==l.current)return;let n=e.deltaY,r=l.current.top>=-.5,o=l.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,a=n<0?-1:1,u=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!o&&n<0?(e.preventDefault(),(0,q.flushSync)(()=>{s(e=>e+Math[u](n,i*a))})):/firefox/i.test(c())&&(t.scrollTop+=n))}let t=(null==a?void 0:a.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{f.current=t.scrollTop,null!=l.current&&(p.current={...l.current})}),()=>{f.current=null,p.current=null,t.removeEventListener("wheel",e)}},[i,n,r.floating,l,a,s]),o.useMemo(()=>i?{floating:{onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){let e=(null==a?void 0:a.current)||r.floating;if(l.current&&e&&d.current){if(null!==f.current){let t=e.scrollTop-f.current;(l.current.bottom<-.5&&t<-1||l.current.top<-.5&&t>1)&&(0,q.flushSync)(()=>s(e=>e+t))}requestAnimationFrame(()=>{f.current=e.scrollTop})}}}}:{},[i,l,r.floating,a,s])}function tb(e,t){let[n,r]=e,o=!1,i=t.length;for(let e=0,l=i-1;e=r!=s>=r&&n<=(u-i)*(r-a)/(s-a)+i&&(o=!o)}return o}function ty(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:o=!0}=e,i=!1,a=null,s=null,c=performance.now(),d=e=>{let{x:r,y:d,placement:f,elements:p,onClose:h,nodeId:m,tree:v}=e;return function(e){function g(){clearTimeout(t),h()}if(clearTimeout(t),!p.domReference||!p.floating||null==f||null==r||null==d)return;let{clientX:b,clientY:S}=e,w=[b,S],x=y(e),R="mouseleave"===e.type,E=u(p.floating,x),k=u(p.domReference,x),C=p.domReference.getBoundingClientRect(),T=p.floating.getBoundingClientRect(),O=f.split("-")[0],M=r>T.right-T.width/2,A=d>T.bottom-T.height/2,P=w[0]>=C.x&&w[0]<=C.x+C.width&&w[1]>=C.y&&w[1]<=C.y+C.height,I=T.width>C.width,L=T.height>C.height,D=(I?C:T).left,B=(I?C:T).right,W=(L?C:T).top,N=(L?C:T).bottom;if(E&&(i=!0,!R))return;if(k&&(i=!1),k&&!R){i=!0;return}if(R&&(0,l.kK)(e.relatedTarget)&&u(p.floating,e.relatedTarget)||v&&eA(v.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===O&&d>=C.bottom-1||"bottom"===O&&d<=C.top+1||"left"===O&&r>=C.right-1||"right"===O&&r<=C.left+1)return g();let z=[];switch(O){case"top":z=[[D,C.top+1],[D,T.bottom-1],[B,T.bottom-1],[B,C.top+1]];break;case"bottom":z=[[D,T.top+1],[D,C.bottom-1],[B,C.bottom-1],[B,T.top+1]];break;case"left":z=[[T.right-1,N],[T.right-1,W],[C.left+1,W],[C.left+1,N]];break;case"right":z=[[C.right-1,N],[C.right-1,W],[T.left+1,W],[T.left+1,N]]}if(!tb([b,S],z)){if(i&&!P)return g();if(!R&&o){let t=function(e,t){let n=performance.now(),r=n-c;if(null===a||null===s||0===r)return a=e,s=t,c=n,null;let o=e-a,i=t-s;return a=e,s=t,c=n,Math.sqrt(o*o+i*i)/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}tb([b,S],function(e){let[t,r]=e;switch(O){case"top":{let e=[[T.left,M?T.bottom-n:I?T.bottom-n:T.top],[T.right,M?I?T.bottom-n:T.top:T.bottom-n]];return[[I?t+n/2:M?t+4*n:t-4*n,r+n+1],[I?t-n/2:M?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[T.left,M?T.top+n:I?T.top+n:T.bottom],[T.right,M?I?T.top+n:T.bottom:T.top+n]];return[[I?t+n/2:M?t+4*n:t-4*n,r-n],[I?t-n/2:M?t+4*n:t-4*n,r-n],...e]}case"left":return[[A?T.right-n:L?T.right-n:T.left,T.top],[A?L?T.right-n:T.left:T.right-n,T.bottom],[t+n+1,L?r+n/2:A?r+4*n:r-4*n],[t+n+1,L?r-n/2:A?r+4*n:r-4*n]];case"right":{let e=[[A?T.left+n:L?T.left+n:T.right,T.top],[A?L?T.left+n:T.right:T.left+n,T.bottom]];return[[t-n,L?r+n/2:A?r+4*n:r-4*n],[t-n,L?r-n/2:A?r+4*n:r-4*n],...e]}}}([r,d]))?!i&&o&&(t=window.setTimeout(g,40)):g()}}};return d.__options={blockPointerEvents:r},d}},5224:function(e,t,n){"use strict";function r(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof o(e).Node}function a(e){return e instanceof Element||e instanceof o(e).Element}function u(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){let t=h(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=b(e);for(;u(t)&&!m(t);){if(f(t))return t;t=b(t)}return null}function h(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||i(e);return s(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=b(t);return m(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&c(n)?n:e(n)}(t),a=l===(null==(i=t.ownerDocument)?void 0:i.body),s=o(l);return a?n.concat(s,s.visualViewport||[],c(l)?l:[],s.frameElement&&r?e(s.frameElement):[]):n.concat(l,e(l,[],r))}},Lw:function(){return g},Ow:function(){return b},Pf:function(){return h},Py:function(){return m},Re:function(){return u},Ze:function(){return d},Zq:function(){return s},ao:function(){return c},gQ:function(){return p},hT:function(){return f},kK:function(){return a},tF:function(){return i},wk:function(){return r}})},7848:function(e,t,n){"use strict";n.d(t,{Fp:function(){return o},GW:function(){return l},I4:function(){return m},JB:function(){return E},KX:function(){return w},NM:function(){return i},Qq:function(){return v},Rn:function(){return h},VV:function(){return r},Wh:function(){return g},gy:function(){return y},hp:function(){return p},i8:function(){return b},k3:function(){return f},ku:function(){return d},pw:function(){return x},uZ:function(){return c},yd:function(){return R},ze:function(){return a}});let r=Math.min,o=Math.max,i=Math.round,l=Math.floor,a=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return h(v(e))}function b(e,t,n){void 0===n&&(n=!1);let r=p(e),o=g(e),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=x(l)),[l,x(l)]}function y(e){let t=x(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,e=>s[e])}function w(e,t,n,r){let o=p(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(S)))),i}function x(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},3370:function(e,t,n){"use strict";n.d(t,{Tr:function(){return d},fG:function(){return u},pV:function(){return c}});var r=n(281),o=n(9097),i=n(8338),l=n(2265),a=n(2281);let u=(0,l.createContext)(null),s=e=>{let t=(0,l.useContext)(u);if(!t?.Contents)throw Error("tamagui.dev/docs/intro/errors#warning-002");return(0,l.createElement)(t.Contents,e)};s.shouldForwardSpace=!0;let c=({Contents:e})=>{let[t,n]=(0,l.useState)(null);return{AdaptProvider:(0,l.useMemo)(()=>{let t={Contents:e,setWhen:n};return function(e){return(0,a.jsx)(u.Provider,{value:t,children:e.children})}},[e]),when:t}},d=(0,i.$e)(function({platform:e,when:t,children:n}){let i=(0,l.useContext)(u),a=(0,o.GS)(),s=!e;return"touch"===e&&(s=r.wT),"native"===e&&(s=!r.$L),"web"===e&&(s=r.$L),"ios"===e&&(s=r.s),"android"===e&&(s=r.Dt),t&&!a[t]&&(s=!1),(0,r.LI)(()=>{s&&i?.setWhen(t||s)},[t,i,s]),s?n:null},{Contents:s})},126:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(2265);let o=typeof window>"u",i=()=>{},l=(0,r.createContext)({});var a=n(5794),u=n(2281);let s=e=>e.key||"",c=({children:e,enterVariant:t,exitVariant:n,enterExitVariant:c,initial:d=!0,onExitComplete:f,exitBeforeEnter:p,presenceAffectsLayout:h=!0,custom:m})=>{let v=(0,r.useContext)(l).forceRender??(o?i:(0,r.useReducer)(e=>Math.random(),0)[1]),g=function(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),b=(0,r.useRef)(g),y=(0,r.useRef)(new Map).current,S=(0,r.useRef)(new Set).current;!function(e,t){e.forEach(e=>{let n=s(e);t.set(n,e)})}(g,y);let w=(0,r.useRef)(!0);if(w.current)return w.current=!1,(0,u.jsx)(u.Fragment,{children:g.map(e=>(0,u.jsx)(a.g,{isPresent:!0,enterExitVariant:c,exitVariant:n,enterVariant:t,initial:!!d&&void 0,presenceAffectsLayout:h,custom:m,children:e},s(e)))});let x=[...g],R=b.current.map(s),E=g.map(s),k=R.length;for(let e=0;e{if(-1!==E.indexOf(e))return;let r=y.get(e);if(!r)return;let o=R.indexOf(e),i=(0,u.jsx)(a.g,{isPresent:!1,onExitComplete:()=>{y.delete(e),S.delete(e);let t=b.current.findIndex(t=>t.key===e);b.current.splice(t,1),S.size||(b.current=g,v(),f?.())},presenceAffectsLayout:h,enterExitVariant:c,enterVariant:t,exitVariant:n,custom:m,children:r},s(r));x.splice(o,0,i)}),x=x.map(e=>{let r=e.key;return S.has(r)?e:(0,u.jsx)(a.g,{isPresent:!0,exitVariant:n,enterVariant:t,enterExitVariant:c,presenceAffectsLayout:h,custom:m,children:e},s(e))}),b.current=x,(0,u.jsx)(u.Fragment,{children:S.size?x:x.map(e=>(0,r.cloneElement)(e))})};c.displayName="AnimatePresence"},5794:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(3020),o=n(5390),i=n(2265),l=n(2281);let a=i.memo(({children:e,initial:t,isPresent:n,onExitComplete:a,exitVariant:s,enterVariant:c,enterExitVariant:d,presenceAffectsLayout:f,custom:p})=>{let h=(0,r.h)(u),m=(0,i.useId)()||"",v=i.useMemo(()=>({id:m,initial:t,isPresent:n,custom:p,exitVariant:s,enterVariant:c,enterExitVariant:d,onExitComplete:()=>{for(let e of(h.set(m,!0),h.values()))if(!e)return;a?.()},register:()=>(h.set(m,!1),()=>h.delete(m))}),f?void 0:[n,s,c]);return i.useMemo(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),i.useEffect(()=>{n||h.size||a?.()},[n]),(0,l.jsx)(o.Oy.Provider,{value:v,children:e})});function u(){return new Map}},3187:function(e,t,n){"use strict";n.d(t,{zx:function(){return R}});var r=n(3924),o=n(8306),i=n(8338),l=n(1676),a=n(1092),u=n(2265);let s=(0,u.createContext)(!1);var c=n(2026),d=n(2875),f=n(925),p=n(4975),h=n(1386),m=n(2202),v=n(9100),g=n(2281),b=n(357);let y=(0,f.i)({color:void 0,ellipse:void 0,fontFamily:void 0,fontSize:void 0,fontStyle:void 0,fontWeight:void 0,letterSpacing:void 0,maxFontSizeMultiplier:void 0,size:void 0,textAlign:void 0,variant:void 0}),S=(0,p.z)(a.K,{name:"Button",tag:"button",context:y,role:"button",focusable:!0,variants:{unstyled:{false:{size:"$true",justifyContent:"center",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",cursor:"pointer",hoverTheme:!0,pressTheme:!0,backgrounded:!0,borderWidth:1,borderColor:"transparent",focusVisibleStyle:{outlineColor:"$outlineColor",outlineStyle:"solid",outlineWidth:2}}},variant:{outlined:{backgroundColor:"transparent",borderWidth:2,borderColor:"$borderColor",hoverStyle:{backgroundColor:"transparent",borderColor:"$borderColorHover"},pressStyle:{backgroundColor:"transparent",borderColor:"$borderColorPress"},focusVisibleStyle:{backgroundColor:"transparent",borderColor:"$borderColorFocus"}}},size:{"...size":o.f,":number":o.f},disabled:{true:{pointerEvents:"none"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),w=(0,p.z)(c.J,{name:"Button",context:y,variants:{unstyled:{false:{userSelect:"none",cursor:"pointer",flexGrow:0,flexShrink:1,ellipse:!0,color:"$color"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),x=S.styleable(function(e,t){let{props:n}=function({textProps:e,...t},{Text:n=R.Text}={Text:R.Text}){let o=(0,u.useContext)(s),i=(0,h.wN)(t,{noNormalize:!0,noExpand:!0}),{icon:a,iconAfter:c,space:f,spaceFlex:p,scaleIcon:y=1,scaleSpace:S=.66,separator:x,noTextWrap:E,fontFamily:k,fontSize:C,fontWeight:T,fontStyle:O,letterSpacing:M,tag:A,ellipse:P,maxFontSizeMultiplier:I,...L}=i,D=i.size||(i.unstyled?void 0:"$true"),B=i.color,W=("number"==typeof D?.5*D:(0,r.yv)(D,{font:k?.[0]==="$"?k:void 0}))*y,[N,z]=[a,c].map((0,l.Zw)({size:W,color:B})),j=f??(0,m.Ve)(W)*S,H=E?[t.children]:(0,d.k)(n,{children:t.children,fontFamily:k,fontSize:C,textProps:e,fontWeight:T,fontStyle:O,letterSpacing:M,ellipse:P,maxFontSizeMultiplier:I},n===w&&!0!==i.unstyled?{unstyled:"1"===b.env.TAMAGUI_HEADLESS,size:D}:void 0),F=(0,v.P9)({space:j,spaceFlex:p,separator:x,direction:"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal",children:[N,...H,z]}),_={size:D,...t.disabled&&{focusable:void 0,focusVisibleStyle:{borderColor:"$background"}},tag:A??(o?"span":"link"===i.accessibilityRole||"link"===i.role?"a":"button"),...L,children:(0,g.jsx)(s.Provider,{value:!0,children:F}),disableClassName:!0};return{spaceSize:j,isNested:o,props:_}}(e);return(0,g.jsx)(S,{...n,ref:t})}),R=(0,i.$e)(x,{Text:w,Icon:e=>{let{children:t,scaleIcon:n=1}=e,{size:o,color:i}=(0,u.useContext)(y),a=("number"==typeof o?.5*o:(0,r.yv)(o))*n;return(0,l.Zw)({size:a,color:i})(t)}})},301:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(2265),o=n(2281);function i(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;function u(t){let{scope:n,children:i,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})}return n=[...n,i],u.displayName=`${t}Provider`,[u,function(n,o,u){let s=o?.[e]?.[a]||l,c=r.useContext(s);if(c)return c;if(void 0!==i)return i;let d=`\`${n}\` must be used within \`${t}\``;if(u?.fallback)return u?.warn!==!1&&console.warn(d),u.fallback;throw Error(d)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},9018:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return d}});var o=n(9046),i=n(9087),l=n(2265),a=n(2281);let u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=l.forwardRef(function(e,t){let n=function(e,t){let{loop:n=!1,enabled:r=!0,trapped:a=!1,onMountAutoFocus:d,onUnmountAutoFocus:v,forceUnmount:g,children:b,...y}=e,[S,w]=l.useState(null),x=(0,i.z)(d),R=(0,i.z)(v),E=l.useRef(null),k=(0,o.ex)(t,e=>w(e)),C=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(!r||!a)return;let e=new AbortController;function t(t){if(C.paused||!S)return;let n=t.target;S.contains(n)?(n?.addEventListener("blur",o,{signal:e.signal}),E.current=n):h(E.current,{select:!0})}function n(t){e.abort(),!(C.paused||!S)&&(S.contains(t.relatedTarget)||h(E.current,{select:!0}))}function o(){E.current=S}return document.addEventListener("focusin",t),document.addEventListener("focusout",n),()=>{e.abort(),document.removeEventListener("focusin",t),document.removeEventListener("focusout",n)}},[a,g,S,C.paused]),l.useEffect(()=>{if(!r||!S||g)return;m.add(C);let e=document.activeElement;if(!S.contains(e)){let t=new CustomEvent(u,c);S.addEventListener(u,x),S.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(f(S).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(S))}return()=>{S.removeEventListener(u,x);let t=new CustomEvent(s,c);S.addEventListener(s,R),S.dispatchEvent(t),t.defaultPrevented||h(e??document.body,{select:!0}),S.removeEventListener(s,R),m.remove(C)}},[r,S,g,x,R,C]);let T=l.useCallback(e=>{if(!a||!n||C.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(i,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,a,C.paused]);return{tabIndex:-1,...y,ref:k,onKeyDown:T}}(e,t);return"function"==typeof e.children?(0,a.jsx)(a.Fragment,{children:e.children(n)}):l.cloneElement(l.Children.only(e.children),n)});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e,{select:t=!1}={}){if(e?.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let m=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=v(r,e)).unshift(e)},remove(e){r=v(r,e),r[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},3924:function(e,t,n){"use strict";n.d(t,{yv:function(){return i}});var r=n(2202),o=n(5986);let i=(e,t)=>{let n=l(e,t);return(0,r.cG)(n)?+n.val:n?+n:16},l=(e,t)=>{let n=a(e,t);return n?(0,o.iE)().fontsParsed[t?.font||"$body"].size[n]:e},a=(e,t)=>{if("number"==typeof e)return null;let n=t?.relativeSize||0,r=(0,o.iE)().fontsParsed[t?.font||"$body"].size,i=("$true"!==e||"$true"in r?e:"$4")??("$true"in r?"$true":"$4"),l=Object.keys(r),a=l.indexOf(i);-1===a&&i.endsWith(".5")&&(a=l.indexOf(i.replace(".5","")));let u=Math.min(Math.max(0,a+n),l.length-1);return l[u]??i}},8306:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(6748);let o=(e,{tokens:t,props:n})=>{if(!e||n.circular)return;if("number"==typeof e)return{paddingHorizontal:.25*e,height:e,borderRadius:n.circular?1e5:.2*e};let o=(0,r.Pj)(e),i=t.radius[e]??t.radius.$true;return{paddingHorizontal:o,height:e,borderRadius:n.circular?1e5:i}}},8970:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(5986);let o=(e="$true",{font:t,fontFamily:n,props:o})=>{if(!t)return;let l="$true"===e?function(e){if("object"==typeof e&&i.has(e))return i.get(e);let t="$true"in e.size?e.size:(0,r.lz)().size,n=t.$true,o=n?Object.keys(t).find(e=>"$true"!==e&&t[e].val===n.val):null;return n&&o?(i.set(e,o),o):Object.keys(e.size)[3]}(t):e,a=t.size[l],u=t.lineHeight?.[l],s=t.weight?.[l],c=t.letterSpacing?.[l],d=t.transform?.[l],f=o.fontStyle??t.style?.[l];return{color:o.color??t.color?.[l],fontStyle:f,textTransform:d,fontFamily:n,fontWeight:s,letterSpacing:c,fontSize:a,lineHeight:u}},i=new WeakMap},6748:function(e,t,n){"use strict";n.d(t,{Pj:function(){return a},ap:function(){return l}});var r=n(5986),o=n(2202);let i={shift:0,bounds:[0]},l=(e,t)=>f("size",e,t),a=(e,t)=>f("space",e,t),u={},s={},c={},d={},f=(e,t,n=i)=>{let l=(0,r.lz)({prefixed:!0})[e];if(!(e in u)){c[e]=[],u[e]=[],d[e]=[],s[e]=[];let t=Object.keys(l).map(e=>l[e]).sort((e,t)=>e.val-t.val);for(let n of t)c[e].push(n.key),u[e].push(n);for(let n of t.filter(e=>!e.key.endsWith(".5")))d[e].push(n.key),s[e].push(n)}let a="string"==typeof t,f=(n.excludeHalfSteps?a?d:s:a?c:u)[e],p=n.bounds?.[0]??0,h=n.bounds?.[1]??f.length-1,m=f.indexOf(t),v=n.shift||0;v&&("$true"===t||(0,o.cG)(t)&&"true"===t.name)&&(v+=v>0?1:-1);let g=f[Math.min(h,Math.max(p,m+v))];return("string"==typeof g?l[g]:g)||l.$true}},1676:function(e,t,n){"use strict";n.d(t,{Zw:function(){return a}}),n(8338);var r=n(2265),o=n(8411),i=n(2202);let l=e=>{let t=(0,o.Fg)();return(0,i.E0)(e||t[e]?.get("web")||t.color?.get("web"))},a=e=>{let t=l(e.color);return n=>n&&((0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...e,color:t,...n.props}):(0,r.createElement)(n,e))}},2583:function(e,t,n){"use strict";n.d(t,{f:function(){return G}});var r,o,i,l,a,u,s,c=n(2265),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var p="right-scroll-bar-position",h="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var v="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,g=new WeakMap,b=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],l=!1,a={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,l);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){l=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=d({async:!0,ssr:!1},r),a),y=function(){},S=c.forwardRef(function(e,t){var n,r,o,i,l=c.useRef(null),a=c.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),u=a[0],s=a[1],p=e.forwardProps,h=e.children,S=e.className,w=e.removeScrollBar,x=e.enabled,R=e.shards,E=e.sideCar,k=e.noIsolation,C=e.inert,T=e.allowPinchZoom,O=e.as,M=f(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),A=(n=[l,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,v(function(){var e=g.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}g.set(i,n)},[n]),i),P=d(d({},M),u);return c.createElement(c.Fragment,null,x&&c.createElement(E,{sideCar:b,removeScrollBar:w,shards:R,noIsolation:k,inert:C,setCallbacks:s,allowPinchZoom:!!T,lockRef:l}),p?c.cloneElement(c.Children.only(h),d(d({},P),{ref:A})):c.createElement(void 0===O?"div":O,d({},P,{className:S,ref:A}),h))});S.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},S.classNames={fullWidth:h,zeroRight:p};var w=function(e){var t=e.sideCar,n=f(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return c.createElement(r,d({},n))};w.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R=function(){var e=x();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=R();return function(t){return e(t.styles,t.dynamic),null}},k={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},T=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(o)]},O=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return k;var t=T(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},M=E(),A="data-scroll-locked",P=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(h," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(r,";\n }\n \n .").concat(h," .").concat(h," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},I=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},L=function(){c.useEffect(function(){return document.body.setAttribute(A,(I()+1).toString()),function(){var e=I()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=c.useMemo(function(){return O(o)},[o]);return c.createElement(M,{styles:P(i,!t,o,n?"":"!important")})},B=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){return B=!0,!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(e){B=!1}var N=!!B&&{passive:!1},z=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},j=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),H(e,n)){var r=F(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},H=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,s=t.contains(u),c=!1,d=a>0,f=0,p=0;do{var h=F(e,u),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&H(e,u)&&(f+=v,p+=m),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return d&&(o&&0===f||!o&&a>f)?c=!0:!d&&(o&&0===p||!o&&-a>p)&&(c=!0),c},Z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},V=function(e){return[e.deltaX,e.deltaY]},$=function(e){return e&&"current"in e?e.current:e},K=0,U=[],Y=(u=function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(K++)[0],i=c.useState(function(){return E()})[0],l=c.useRef(e);c.useEffect(function(){l.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;oMath.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=j(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=j(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=o),!o)return!0;var p=r.current||o;return _(p,t,e,"h"===p?u:s,!0)},[]),u=c.useCallback(function(e){if(U.length&&U[U.length-1]===i){var n="deltaY"in e?V(e):Z(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map($).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=c.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=c.useCallback(function(e){n.current=Z(e),r.current=void 0},[]),f=c.useCallback(function(t){s(t.type,V(t),t.target,a(t,e.lockRef.current))},[]),p=c.useCallback(function(t){s(t.type,Z(t),t.target,a(t,e.lockRef.current))},[]);c.useEffect(function(){return U.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,N),document.addEventListener("touchmove",u,N),document.addEventListener("touchstart",d,N),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,N),document.removeEventListener("touchmove",u,N),document.removeEventListener("touchstart",d,N)}},[]);var h=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?c.createElement(D,{gapMode:"margin"}):null)},b.useMedium(u),w),X=c.forwardRef(function(e,t){return c.createElement(S,d({},e,{ref:t,sideCar:Y}))});X.classNames=S.classNames;var q=n(2281);let G=(0,c.memo)(e=>e.children?(0,q.jsx)(X,{...e}):null);X.classNames},5295:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(5377),o=n(4975),i=n(5589);let l=(0,o.z)(i.Z,{name:"ScrollView",scrollEnabled:!0,variants:{fullscreen:{true:r.Xu}}},{accept:{contentContainerStyle:"style"}})},6505:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(281),o=n(4975),i=n(2166);let l=(0,o.z)(i.Kq,{name:"Separator",borderColor:"$borderColor",flexShrink:0,borderWidth:0,flex:1,height:0,maxHeight:0,borderBottomWidth:1,y:-.5,variants:{vertical:{true:{y:0,x:-.5,height:r.$L?"initial":"auto",maxHeight:r.$L?"initial":"auto",width:0,maxWidth:0,borderBottomWidth:0,borderRightWidth:1}}}})},1510:function(e,t,n){"use strict";n.d(t,{yo:function(){return ek}});var r=n(4975),o=n(5377),i=n(1092),l=n(281);let a="Sheet",u="SheetHandle",s="SheetOverlay",c=l.C5?document.createElement("style"):null;c&&"u">typeof document.head&&document.head.appendChild(c);var d=n(9046),f=n(2166),p=n(8338),h=n(2583),m=n(6616),v=n(2265),g=n(1840);let[b,y]=(0,n(301).b)(a),[S,w]=b(a,{});var x=n(3370),R=n(126),E=n(9235),k=n(5986),C=n(7562);let T=()=>{let{groups:e,animationDriver:t,...n}=(0,v.useContext)(C.s),{animations:r,...o}=(0,k.iE)();return{...o,...n,animationDriver:t??(0,k.iE)().animations}};var O=n(9087),M=n(4582),A=n(1130),P=n(4624),I=n(1775);let L=()=>{let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=I.Z.addListener("keyboardDidShow",()=>{t(!0)}),n=I.Z.addListener("keyboardDidHide",()=>{t(!1)});return()=>{n.remove(),e.remove()}},[]),e};var D=n(7445),B=n.n(D),W=n(7998);class N{constructor(e){var t=e.onMoreTasks;this._onMoreTasks=t,this._queueStack=[{tasks:[],popable:!0}]}enqueue(e){this._getCurrentQueue().push(e)}enqueueTasks(e){e.forEach(e=>this.enqueue(e))}cancelTasks(e){this._queueStack=this._queueStack.map(t=>(0,W.Z)((0,W.Z)({},t),{},{tasks:t.tasks.filter(t=>-1===e.indexOf(t))})).filter((e,t)=>e.tasks.length>0||0===t)}hasTasksToProcess(){return this._getCurrentQueue().length>0}processNext(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{"object"==typeof t&&t.gen?this._genPromise(t):"object"==typeof t&&t.run?t.run():(B()("function"==typeof t,"Expected Function, SimpleTask, or PromiseTask, but got:\n"+JSON.stringify(t,null,2)),t())}catch(e){throw e.message="TaskQueue: Error with task "+(t.name||"")+": "+e.message,e}}}_getCurrentQueue(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&e>0?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}_genPromise(e){var t=this._queueStack.push({tasks:[],popable:!1}),n=this._queueStack[t-1];e.gen().then(()=>{n.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()}).catch(t=>{setTimeout(()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t},0)})}}class z{constructor(){this._registry={}}addListener(e,t,n){var r,o,i=(null==(o=(r=this._registry)[e])&&(o=new Set,r[e]=o),o),l={context:n,listener:t,remove(){i.delete(l)}};return i.add(l),l}emit(e){var t=this._registry[e];if(null!=t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};j&&window.cancelIdleCallback;var F=new z,_={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],n=new Promise(n=>{q(),e&&t.push(e),t.push({run:n,name:"resolve "+(e&&e.name||"?")}),K.enqueueTasks(t)});return{then:n.then.bind(n),done:n.then.bind(n),cancel:()=>{K.cancelTasks(t)}}},createInteractionHandle(){q();var e=++Y;return V.add(e),e},clearInteractionHandle(e){B()(!!e,"Must provide a handle to clear."),q(),V.delete(e),$.add(e)},addListener:F.addListener.bind(F),setDeadline(e){X=e}},Z=new Set,V=new Set,$=new Set,K=new N({onMoreTasks:q}),U=0,Y=0,X=-1;function q(){U||(U=X>0?setTimeout(G):H(G))}function G(){U=0;var e=Z.size;V.forEach(e=>Z.add(e)),$.forEach(e=>Z.delete(e));var t=Z.size;if(0!==e&&0===t?F.emit(_.Events.interactionComplete):0===e&&0!==t&&F.emit(_.Events.interactionStart),0===t){for(var n=Date.now();K.hasTasksToProcess();)if(K.processNext(),X>0&&Date.now()-n>=X){q();break}}V.clear(),$.clear()}var J={centroidDimension:function(e,t,n,r){var o=e.touchBank,i=0,l=0,a=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==a)a.touchActive&&a.currentTimeStamp>t&&(i+=r&&n?a.currentPageX:r&&!n?a.currentPageY:!r&&n?a.previousPageX:a.previousPageY,l=1);else for(var u=0;u=t&&(i+=r&&n?s.currentPageX:r&&!n?s.currentPageY:!r&&n?s.previousPageX:s.previousPageY,l++)}return l>0?i/l:J.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return J.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return J.centroidDimension(e,0,!1,!0)},noCentroid:-1},Q=J.currentCentroidXOfTouchesChangedAfter,ee=J.currentCentroidYOfTouchesChangedAfter,et=J.previousCentroidXOfTouchesChangedAfter,en=J.previousCentroidYOfTouchesChangedAfter,er=J.currentCentroidX,eo=J.currentCentroidY,ei={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Q(t,e._accountsForMovesUpTo),e.moveY=ee(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=et(t,n),o=Q(t,n),i=en(t,n),l=ee(t,n),a=e.dx+(o-r),u=e.dy+(l-i),s=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(a-e.dx)/s,e.vy=(u-e.dy)/s,e.dx=a,e.dy=u,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},n={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0};return{panHandlers:{onStartShouldSetResponder:t=>null!=e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(t,n),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,n),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&ei._initializeGestureState(n),n.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,n)),onMoveShouldSetResponderCapture(t){var r=t.touchHistory;return n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,n))},onResponderGrant:r=>(t.handle||(t.handle=_.createInteractionHandle()),t.timeout&&clearTimeout(t.timeout),t.shouldCancelClick=!0,n.x0=er(r.touchHistory),n.y0=eo(r.touchHistory),n.dx=0,n.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(r,n),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(r,n)),onResponderReject(r){el(t,e.onPanResponderReject,r,n)},onResponderRelease(r){el(t,e.onPanResponderRelease,r,n),ea(t),ei._initializeGestureState(n)},onResponderStart(t){var r=t.touchHistory;n.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,n)},onResponderMove(t){var r=t.touchHistory;n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),e.onPanResponderMove&&e.onPanResponderMove(t,n))},onResponderEnd(r){var o=r.touchHistory;n.numberActiveTouches=o.numberActiveTouches,el(t,e.onPanResponderEnd,r,n)},onResponderTerminate(r){el(t,e.onPanResponderTerminate,r,n),ea(t),ei._initializeGestureState(n)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,n),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function el(e,t,n,r){e.handle&&(_.clearInteractionHandle(e.handle),e.handle=null),t&&t(n,r)}function ea(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}var eu=n(1090),es=n(5275);let ec=(0,v.createContext)({zIndex:1e5}),ed=(0,v.createContext)(null);function ef(e,t,n=25){return e{let{isHidden:t,controller:n}=(0,eh.$)(),[r,o]=(0,ep.T)({prop:n?.open??e.open,defaultProp:e.defaultOpen??!1,onChange:t=>{n?.onOpenChange?.(t),e.onOpenChange?.(t)},strategy:"most-recent-wins",transition:!0});return{open:r,setOpen:o,isHidden:t,controller:n}};var ev=n(3020),eg=n(2281);let eb=(0,E.Y)((0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(ec),{animation:r,animationConfig:o,modal:i=!1,zIndex:a=n.zIndex+1,moveOnKeyboardChange:u=!1,unmountChildrenWhenHidden:s=!1,portalProps:p,containerComponent:h=v.Fragment}=e,m=L(),g=em(e),[b,y]=(0,v.useState)(null),w=function(e,t,n={}){let r=v.useRef(null),o=v.useRef(null),[i,l]=(0,v.useState)(0),[a,u]=(0,v.useState)(0),s=e.snapPointsMode??"percent",c=e.snapPoints??("percent"===s?[80]:"constant"===s?[256]:["fit"]),d="fit"===c[0],f=(0,v.useMemo)(()=>e.dismissOnSnapToBottom?[...c,0]:c,[JSON.stringify(c),e.dismissOnSnapToBottom]),[p,h]=(0,ep.T)({prop:e.position,defaultProp:e.defaultPosition||(t.open?0:-1),onChange:e.onPositionChange,strategy:"most-recent-wins",transition:!0}),m=!1===t.open?-1:p,{open:g}=t,b=(0,v.useCallback)(n=>{e.dismissOnSnapToBottom&&n===f.length-1?t.setOpen(!1):h(n)},[e.dismissOnSnapToBottom,f.length,h,t.setOpen]);g&&e.dismissOnSnapToBottom&&m===f.length-1&&h(0);let y=g&&m<0;(0,v.useEffect)(()=>{y&&b(0)},[b,y]);let{animationDriver:S}=T();if(!S)throw Error("Must set animations in tamagui.config.ts");let w=(0,ev.h)(()=>({enabled:!1,y:0,paneY:0,paneMinY:0,scrollStartY:-1,drag:()=>{},release:()=>{},scrollLock:!1})),x=e.forceRemoveScrollEnabled??(g&&e.modal),R=f[0];return{screenSize:"percent"===s?i/(("number"==typeof R?R:100)/100):a,maxSnapPoint:R,removeScrollEnabled:x,scrollBridge:w,modal:!!e.modal,open:t.open,setOpen:t.setOpen,hidden:!!t.isHidden,contentRef:o,handleRef:r,frameSize:i,setFrameSize:l,dismissOnOverlayPress:e.dismissOnOverlayPress??!0,dismissOnSnapToBottom:e.dismissOnSnapToBottom??!1,onOverlayComponent:n.onOverlayComponent,scope:e.__scopeSheet,hasFit:d,position:m,snapPoints:f,snapPointsMode:s,setMaxContentSize:u,setPosition:b,setPositionImmediate:h,onlyShowFrame:!1}}(e,g,{onOverlayComponent:y}),{frameSize:E,setFrameSize:C,snapPoints:D,snapPointsMode:B,hasFit:W,position:N,setPosition:z,scrollBridge:j,screenSize:H,setMaxContentSize:F,maxSnapPoint:_}=w,{open:Z,controller:V,isHidden:$}=g,K=(0,v.useRef)(null),U=(0,d.ex)(t,K),Y=(()=>{let[e,t]=r?Array.isArray(r)?r:[r]:[];return o??(e?{...(0,k.iE)().animations.animations[e],...t}:null)})(),[X,q]=(0,v.useState)(!1),G=!l.$L&&i&&X,J=(0,v.useContext)(ed),Q=(0,v.useCallback)(e=>{q(e)},[]),ee=(0,v.useMemo)(()=>D.map(e=>(function(e,t,n,r){if(!n||!r)return 0;if("mixed"===e){if("number"==typeof t)return n-Math.min(n,Math.max(0,t));if("fit"===t)return n-Math.min(n,r);if(t.endsWith("%")){let e=Math.min(100,Math.max(0,Number(t.slice(0,-1))))/100;return Number.isNaN(e)?(console.warn("Invalid snapPoint percentage string"),0):Math.round(n-e*n)}return console.warn("Invalid snapPoint unknown value"),0}if("fit"===e)return 0===t?n:n-Math.min(n,r);if("constant"===e&&"number"==typeof t)return n-Math.min(n,Math.max(0,t));let o=Math.min(100,Math.max(0,Number(t)))/100;return Number.isNaN(o)?(console.warn("Invalid snapPoint percentage"),0):Math.round(n-o*n)})(B,e,H,E)),[H,E,D,B]),{animationDriver:et}=T(),{useAnimatedNumber:en,useAnimatedNumberStyle:er,useAnimatedNumberReaction:eo}=et,el=et.View??f.Kq;(0,l.LI)(()=>{if(J&&Z)return J(!0),()=>{J(!1)}},[J,Z]);let ea=(0,v.useMemo)(()=>({zIndex:a}),[a]),eh=en(10000.1),eb=(0,v.useRef)(10000.1);function ey(){eh.stop(),j.onFinishAnimate&&(j.onFinishAnimate(),j.onFinishAnimate=void 0)}eo({value:eh,hostRef:K},(0,v.useCallback)(e=>{eb.current=e,j.paneY=e},[et]));let eS=10000.1===eb.current,ew=(0,O.z)(e=>{if(0===E)return;let t=$||-1===e?H:ee[e];if(eb.current!==t){if(eb.current=t,ey(),eS||$){eh.setValue(H,{type:"timing",duration:0},()=>{$||(t=ee[e],eb.current=t,eh.setValue(t,{type:"spring",...Y}))});return}eh.setValue(t,{type:"spring",...Y})}});(0,l.LI)(()=>{H&&eS&&eh.setValue(H,{type:"timing",duration:0})},[eS,H]),(0,l.LI)(()=>{E&&H&&!$&&(!eS||Z)&&ew(N)},[$,E,H,Z,N]);let ex=e.disableDrag??V?.disableDrag,eR=(0,M.C)(),[eE,ek]=(0,v.useState)(!1),eC=(0,v.useMemo)(()=>{if(ex||!E||X)return;let e=ee[0];j.paneMinY=e;let t=eb.current;function n(e){ek(e),c&&(e?c.innerText=":root * { user-select: none !important; -webkit-user-select: none !important; }":c.innerText="")}let r=({vy:e,dragAt:r})=>{a=!1,n(!1);let o=r+t+E*e*.2,i=0,l=1/0;for(let e=0;et?o-t:t-o;n{r({vy:t.vy,dragAt:t.dy})},i=()=>{n(!0),ey(),t=eb.current},a=!1;return j.drag=n=>{a||(a=!0,i());let r=n+t;eh.setValue(ef(r,e),{type:"direct"})},j.release=r,ei.create({onMoveShouldSetPanResponder:(e,{dy:t})=>{if(e.target===w.handleRef.current)return!0;let n=0!==j.y,r=j.paneY-5<=j.paneMinY;return!n&&(!r||!!n||!(t<0)||!!l.$L)&&Math.abs(t)>5},onPanResponderGrant:i,onPanResponderMove:(n,{dy:r})=>{let o=ef(r+t,e);eh.setValue(o,{type:"direct"})},onPanResponderEnd:o,onPanResponderTerminate:o,onPanResponderRelease:o})},[ex,X,ew,E,ee,z]),eT=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&C(t)},[m]),eO=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&F(t)},[m]),eM=er(eh,e=>({transform:[{translateY:0===E?10000.1:e}]})),eA=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(l.$L||!u)return;let e=I.Z.addListener("keyboardDidShow",e=>{null===eA.current&&(eA.current=eh.getValue(),eh.setValue(Math.max(eh.getValue()-e.endCoordinates.height,0)))}),t=I.Z.addListener("keyboardDidHide",()=>{null!==eA.current&&(eh.setValue(eA.current),eA.current=null)});return()=>{t.remove(),e.remove()}},[u]);let[eP,eI]=(0,v.useState)(Z?1:0);Z&&0===eP&&eI(1),(0,v.useEffect)(()=>{if(!Z){let e=setTimeout(()=>{eI(0)},400);return()=>{clearTimeout(e)}}},[Z]);let eL=W?void 0:"percent"===B?`${_}${l.$L?"dvh":"%"}`:_,eD=(0,eg.jsx)(ec.Provider,{value:ea,children:(0,eg.jsxs)(S,{...w,children:[(0,eg.jsx)(R.M,{custom:{open:Z},children:G||!Z?null:b}),"percent"!==B&&(0,eg.jsx)(es.Z,{style:{opacity:0,position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none"},onLayout:eO}),(0,eg.jsx)(el,{ref:U,...eC?.panHandlers,onLayout:eT,...!eE&&{animation:r},disableClassName:!0,style:[{position:"absolute",zIndex:a,width:"100%",height:eL,minHeight:eL,opacity:eP,...(G||!Z)&&{pointerEvents:"none"}},eM],children:e.children})]})}),eB=(0,v.useContext)(x.fG);if(i){let e=(0,eg.jsx)(P.h_,{zIndex:a,...p,children:!!(eP||!s)&&(0,eg.jsx)(h,{children:(0,eg.jsx)(A.Q,{forceClassName:!0,name:eR,children:(0,eg.jsx)(x.fG.Provider,{value:eB,children:eD})})})});return l.$L?e:(0,eg.jsx)(ed.Provider,{value:Q,children:e})}return eD}));var ey=n(5295);let eS=(0,v.forwardRef)(({__scopeSheet:e,children:t,onScroll:n,...r},o)=>{let{scrollBridge:i}=w("SheetScrollView",e),l=(0,v.useRef)(null),a=(0,v.useRef)({lastPageY:0,dragAt:0,dys:[],isScrolling:!1,isDragging:!1});return(0,eg.jsx)(ey.p,{ref:(0,d.FE)(l,o),flex:1,scrollEventThrottle:8,onScroll:e=>{let{y:t}=e.nativeEvent.contentOffset;i.y=t,t>0&&(i.scrollStartY=-1),n?.(e)},onStartShouldSetResponder:()=>(i.scrollStartY=-1,a.current.isDragging=!0,!0),onMoveShouldSetResponder:()=>!1,onResponderRelease:()=>{if(!a.current.isDragging)return;a.current.isDragging=!1,i.scrollStartY=-1,a.current.isScrolling=!1;let e=0;if(a.current.dys.length){let t=a.current.dys.slice(-10);e=(t.length?t.reduce((e,t)=>e+t,0):0)/t.length*.04}a.current.dys=[],i.release({dragAt:a.current.dragAt,vy:e})},className:"_ovs-contain",...r,children:(0,v.useMemo)(()=>t,[t])})}),ew=({snapPoints:e,position:t,screenSize:n,frameSize:r,snapPointsMode:o})=>{if("fit"===o)return 0;if("constant"===o)return Number(e[0])-Number(e[t]??0);if("percent"===o)return(Number(e[0])/100-Number(e[t]??0)/100)*n;let i=e[0];if("fit"===i)return 0;let l="string"==typeof i?Number(i.slice(0,-1))/100*n:i,a=e[t]??0,u=l-("string"==typeof a?Number(a.slice(0,-1))/100*n:a);return Number.isNaN(u)?0:u};var ex=n(357);let eR=(0,r.z)(o.sL,{name:u,variants:{open:{true:{pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{height:10,borderRadius:100,backgroundColor:"$background",zIndex:10,marginHorizontal:"35%",marginBottom:"$2",opacity:.5,hoverStyle:{opacity:.7}}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),eE=(0,r.z)(i.K,{name:s,variants:{open:{true:{opacity:1,pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{fullscreen:!0,position:"absolute",backgrounded:!0,zIndex:99999,pointerEvents:"auto"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),ek=function({Handle:e,Frame:t,Overlay:n}){let r=e.styleable(({__scopeSheet:t,...n},r)=>{let o=w(u,t),i=(0,d.ex)(o.handleRef,r);return o.onlyShowFrame?null:(0,eg.jsx)(e,{ref:i,onPress:()=>{let e=o.snapPoints.length+(o.dismissOnSnapToBottom?-1:0),t=(o.position+1)%e;o.setPosition(t)},open:o.open,...n})}),o=n.extractable((0,v.memo)(e=>{let{__scopeSheet:t,...r}=e,o=w(s,t),i=(0,v.useMemo)(()=>(0,eg.jsx)(n,{...r,onPress:(0,p.Mj)(r.onPress,o.dismissOnOverlayPress?()=>{o.setOpen(!1)}:void 0)}),[r.onPress,o.dismissOnOverlayPress]);return(0,l.LI)(()=>{o.onOverlayComponent?.(i)},[i]),o.onlyShowFrame,null})),i=t.extractable((0,v.forwardRef)(({__scopeSheet:e,adjustPaddingForOffscreenContent:n,disableHideBottomOverflow:r,children:o,...i},l)=>{let u=w(a,e),{hasFit:s,removeScrollEnabled:c,frameSize:p,contentRef:m,open:g}=u,b=(0,d.ex)(l,m),y=ew(u),S=(0,v.useMemo)(()=>(0,eg.jsxs)(t,{ref:b,flex:s?0:1,height:s?void 0:p,pointerEvents:g?"auto":"none",...i,children:[o,n&&(0,eg.jsx)(f.Kq,{"data-sheet-offscreen-pad":!0,height:y,width:"100%"})]}),[g,i,p,y,n,s]);return(0,eg.jsxs)(eg.Fragment,{children:[(0,eg.jsx)(h.f,{forwardProps:!0,enabled:c,allowPinchZoom:!0,shards:[m],removeScrollBar:!1,children:S}),!r&&(0,eg.jsx)(t,{...i,componentName:"SheetCover",children:null,position:"absolute",bottom:"-100%",zIndex:-1,height:u.frameSize,left:0,right:0,borderWidth:0,borderRadius:0,shadowOpacity:0})]})})),c=(0,v.forwardRef)(function(e,t){let n=(0,m.S)(),{isShowingNonSheet:r}=(0,eh.$)();return e.native&&g.Z.OS,r||!n?null:(0,eg.jsx)(eb,{ref:t,...e})}),b={Frame:i,Overlay:o,Handle:r,ScrollView:eS},y=(0,p.$e)(c,b);return(0,p.$e)(c,{...b,Controlled:y})}({Frame:(0,r.z)(o.FA,{name:a,variants:{unstyled:{false:{flex:1,backgroundColor:"$background",borderTopLeftRadius:"$true",borderTopRightRadius:"$true",width:"100%",maxHeight:"100%",overflow:"hidden"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),Handle:eR,Overlay:eE})},4077:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(9087),o=n(2265),i=n(7657),l=n(2281);let a=({children:e,onOpenChange:t,...n})=>{let a=(0,r.z)(t),u=(0,o.useMemo)(()=>({open:n.open,hidden:n.hidden,disableDrag:n.disableDrag,onOpenChange:a}),[a,n.open,n.hidden,n.disableDrag]);return(0,l.jsx)(i.W.Provider,{value:u,children:e})}},7657:function(e,t,n){"use strict";n.d(t,{$:function(){return o},W:function(){return i}});var r=n(2265);let o=()=>{let e=(0,r.useContext)(i),t=e?.hidden,n=t&&e?.open;return{controller:e,isHidden:t,isShowingNonSheet:n,disableDrag:e?.disableDrag}},i=(0,r.createContext)(null)},1092:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(4975),o=n(5377),i=n(8587);let l={borderRadius:1e5,padding:0},a={backgroundColor:"transparent",borderColor:"transparent",shadowColor:"transparent",hoverStyle:{borderColor:"transparent"}},u={backgrounded:{true:{backgroundColor:"$background"}},radiused:{true:(e,t)=>{let{tokens:n,props:r}=t;return{borderRadius:n.radius[r.size]||n.radius.$true}}},hoverTheme:{true:{hoverStyle:{backgroundColor:"$backgroundHover",borderColor:"$borderColorHover"}},false:{}},pressTheme:{true:{cursor:"pointer",pressStyle:{backgroundColor:"$backgroundPress",borderColor:"$borderColorPress"}},false:{}},focusTheme:{true:{focusStyle:{backgroundColor:"$backgroundFocus",borderColor:"$borderColorFocus"}},false:{}},circular:{true:(e,{props:t,tokens:n})=>{if(!("size"in t))return l;let r="number"==typeof t.size?t.size:n.size[t.size];return{...l,width:r,height:r,maxWidth:r,maxHeight:r,minWidth:r,minHeight:r}}},padded:{true:(e,t)=>{let{tokens:n,props:r}=t;return{padding:n.space[r.size]||n.space.$true}}},elevate:{true:(e,t)=>(0,i.y)(t.props.size,t)},bordered:(e,{props:t})=>({borderWidth:"number"==typeof e?e:1,borderColor:"$borderColor",...t.hoverTheme&&{hoverStyle:{borderColor:"$borderColorHover"}},...t.pressTheme&&{pressStyle:{borderColor:"$borderColorPress"}},...t.focusTheme&&{focusStyle:{borderColor:"$borderColorFocus"}}}),transparent:{true:{backgroundColor:"transparent"}},chromeless:{true:a,all:{...a,hoverStyle:a,pressStyle:a,focusStyle:a}}},s=(0,r.z)(o.FA,{variants:u})},1217:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(4975),o=n(2026);let i=(0,r.z)(o.J,{name:"Paragraph",tag:"p",userSelect:"auto",color:"$color",size:"$true",whiteSpace:"normal"})},2026:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(8970),o=n(4975),i=n(8475),l=n(357);let a=(0,o.z)(i.x,{name:"SizableText",fontFamily:"$body",variants:{unstyled:{false:{size:"$true",color:"$color"}},size:r.H},defaultVariants:{unstyled:"1"===l.env.TAMAGUI_HEADLESS}});a.staticConfig.variants.fontFamily={"...":(e,t)=>{let n=t.props.size||"$true";return(0,r.H)(n,t)}}},2875:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(2265),o=n(2281);function i(e,t,n){let{children:i,textProps:l,size:a,noTextWrap:u,color:s,fontFamily:c,fontSize:d,fontWeight:f,letterSpacing:p,textAlign:h,fontStyle:m,maxFontSizeMultiplier:v}=t;if(u||!i)return[i];let g={...n};return s&&(g.color=s),c&&(g.fontFamily=c),d&&(g.fontSize=d),f&&(g.fontWeight=f),p&&(g.letterSpacing=p),h&&(g.textAlign=h),a&&(g.size=a),m&&(g.fontStyle=m),v&&(g.maxFontSizeMultiplier=v),r.Children.toArray(i).map((t,n)=>"string"==typeof t?(0,o.jsx)(e,{...g,...l,children:t},n):t)}},3020:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(2265);function o(e){if(typeof document>"u")return(0,r.useMemo)(()=>e(),[]);let t=(0,r.useRef)();return t.current||(t.current={v:e()}),t.current.v}},3277:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(9087),o=n(2265);let i=e=>e();function l({prop:e,defaultProp:t,onChange:n,strategy:l="prop-wins",preventUpdate:u,transition:s}){let[c,d]=(0,o.useState)(e??t),f=(0,o.useRef)(c),p="prop-wins"===l&&void 0!==e,h=p?e:c,m=(0,r.z)(n||a),v=s?o.startTransition:i;return(0,o.useEffect)(()=>{void 0!==e&&(f.current=e,v(()=>{d(e)}))},[e]),(0,o.useEffect)(()=>{p||c!==f.current&&(f.current=c,m(c))},[m,c,p]),[h,(0,r.z)(e=>{u||(p?m("function"==typeof e?e(f.current):e):v(()=>{d(e)}))})]}let a=()=>{}},1386:function(e,t,n){"use strict";n.d(t,{Lb:function(){return f},wN:function(){return d}});var r=n(2265),o=n(5986),i=n(7562),l=n(9100),a=n(8075),u=n(5566),s=n(9097),c=n(8411);function d(e,t){let[n,r]=f(e,{...t,noExpand:!0,noNormalize:!0,resolveValues:"none"});return{...n,...r}}function f(e,t){let n=t?.forComponent?.staticConfig??u.K.staticConfig,[d,f]=(0,c.WU)({componentName:n.componentName}),p=(0,r.useContext)(i.s),{state:h,disabled:m,setStateShallow:v}=(0,l.Ee)(e,p,n,(0,o.iE)()),g=(0,s.GS)(),b=(0,a.DP)(e,n,f,d.state?.name||"",h,{isAnimated:!1,mediaState:g,noSkip:!0,noMergeStyle:!0,noClassNames:!0,resolveValues:"auto",...t},null,p),{mediaGroups:y,pseudoGroups:S}=b;return(0,r.useEffect)(()=>{if(!m){if(h.unmounted){v({unmounted:!1});return}return(0,l.En)({disabled:m,componentContext:p,setStateShallow:v,state:h,mediaGroups:y,pseudoGroups:S})}},[m,S?Object.keys([...S]).join(""):0,y?Object.keys([...y]).join(""):0]),[b.viewProps,b.style||{},f,g]}},4582:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(281),o=n(2265),i=n(9033),l=n(8411);function a(e){let t=(0,l.q4)((0,o.useContext)(i.s)),[n,a]=(0,o.useState)(t?.state.name||"");return(0,r.LI)(()=>{if(t)return a(t.state.name),t.onChangeTheme((t,n)=>{let r=e?.parent&&n.state.parentName||t;r&&a(r)})},[t?.state.name]),n}}}]); \ No newline at end of file