diff --git "a/_next/static/chunks/466-f54fd63f687cc06e.js" "b/_next/static/chunks/466-f54fd63f687cc06e.js" new file mode 100644--- /dev/null +++ "b/_next/static/chunks/466-f54fd63f687cc06e.js" @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[466],{5554: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}},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(5554),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.role||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}})},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)continue;n[r]=e[r]}return n}n.d(t,{Z:function(){return r}})},8143:function(e,t,n){"use strict";n.d(t,{x7:function(){return A},Me:function(){return E},oo:function(){return P},US:function(){return k},RR:function(){return O},cv:function(){return C},Jv:function(){return R},uY:function(){return T},dp:function(){return M}});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{try{return e.matches(t)}catch(e){return!1}})}function g(e){return h((0,u.tF)(e)).left+(0,u.Lw)(e).scrollLeft}function b(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,u.Jj)(e),r=(0,u.tF)(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=(0,u.Pf)();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,u.tF)(e),n=(0,u.Lw)(e),o=e.ownerDocument.body,i=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-n.scrollLeft+g(e),s=-n.scrollTop;return"rtl"===(0,u.Dx)(o).direction&&(a+=(0,r.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:a,y:s}}((0,u.tF)(e));else if((0,u.kK)(t))o=function(e,t){let n=h(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=(0,u.Re)(e)?d(e):(0,r.ze)(1),a=e.clientWidth*l.x;return{width:a,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,n);else{let n=p(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function y(e){return"static"===(0,u.Dx)(e).position}function S(e,t){return(0,u.Re)(e)&&"fixed"!==(0,u.Dx)(e).position?t?t(e):e.offsetParent:null}function w(e,t){let n=(0,u.Jj)(e);if(v(e))return n;if(!(0,u.Re)(e)){let t=(0,u.Ow)(e);for(;t&&!(0,u.Py)(t);){if((0,u.kK)(t)&&!y(t))return t;t=(0,u.Ow)(t)}return n}let r=S(e,t);for(;r&&(0,u.Ze)(r)&&y(r);)r=S(r,t);return r&&(0,u.Py)(r)&&y(r)&&!(0,u.hT)(r)?n:r||(0,u.gQ)(e)||n}let x=async function(e){let t=this.getOffsetParent||w,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,u.Re)(t),i=(0,u.tF)(t),l="fixed"===n,a=h(e,!0,l,t),s={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if(o||!o&&!l){if(("body"!==(0,u.wk)(t)||(0,u.ao)(i))&&(s=(0,u.Lw)(t)),o){let e=h(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=g(i))}return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},R={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,a=(0,u.tF)(o),s=!!t&&v(t.floating);if(o===a||s&&l)return n;let c={scrollLeft:0,scrollTop:0},f=(0,r.ze)(1),p=(0,r.ze)(0),m=(0,u.Re)(o);if((m||!m&&!l)&&(("body"!==(0,u.wk)(o)||(0,u.ao)(a))&&(c=(0,u.Lw)(o)),(0,u.Re)(o))){let e=h(o);f=d(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x,y:n.y*f.y-c.scrollTop*f.y+p.y}},getDocumentElement:u.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===n?v(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,u.Kx)(e,[],!1).filter(e=>(0,u.kK)(e)&&"body"!==(0,u.wk)(e)),o=null,i="fixed"===(0,u.Dx)(e).position,l=i?(0,u.Ow)(e):e;for(;(0,u.kK)(l)&&!(0,u.Py)(l);){let t=(0,u.Dx)(l),n=(0,u.hT)(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,u.ao)(l)&&!n&&function e(t,n){let r=(0,u.Ow)(t);return!(r===n||!(0,u.kK)(r)||(0,u.Py)(r))&&("fixed"===(0,u.Dx)(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=(0,u.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=l[0],s=l.reduce((e,n)=>{let o=b(t,n,i);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},b(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:w,getElementRects:x,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=s(e);return{width:t,height:n}},getScale:d,isElement:u.kK,isRTL:function(e){return"rtl"===(0,u.Dx)(e).direction}};function E(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=c(e),m=l||a?[...p?(0,u.Kx)(p):[],...(0,u.Kx)(t)]:[];m.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let v=p&&d?function(e,t){let n,o=null,i=(0,u.tF)(e);function l(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function a(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),l();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)(i.clientWidth-(c+f)),v={rootMargin:-h+"px "+-m+"px "+-(0,r.GW)(i.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 a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{o=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),l}(p,n):null,g=-1,b=null;s&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),p&&!f&&b.observe(p),b.observe(t));let y=f?h(e):null;return f&&function t(){let r=h(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=b)||e.disconnect(),b=null,f&&cancelAnimationFrame(i)}}let k=l,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:u}=t,s=await a(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},T=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}}}}},O=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,a,u;let{placement:s,middlewareData:c,rects:d,initialPlacement:f,platform:p,elements:h}=t,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:g,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:S=!0,...w}=(0,r.ku)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let x=(0,r.k3)(s),R=(0,r.k3)(f)===f,E=await (null==p.isRTL?void 0:p.isRTL(h.floating)),k=g||(R||!S?[(0,r.pw)(f)]:(0,r.gy)(f));g||"none"===y||k.push(...(0,r.KX)(f,S,y,E));let C=[f,...k],T=await l(t,w),O=[],M=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&O.push(T[x]),v){let e=(0,r.i8)(s,d,E);O.push(T[e[0]],T[e[1]])}if(M=[...M,{placement:s,overflows:O}],!O.every(e=>e<=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{}}}},M=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.top-f.bottom,y=v-f.left-f.right,S=(0,r.VV)(g-f[n],b),w=(0,r.VV)(v-f[o],y),x=!t.middlewareData.shift,R=S,E=w;if(m?E=h||x?(0,r.VV)(w,y):y:R=h||x?(0,r.VV)(S,b):b,x&&!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?E=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):R=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:R});let k=await u.getDimensions(s.floating);return v!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}},A=e=>({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-(T{let r=new Map,o={platform:R,...n},l={...o.platform,_c:r};return i(e,t,{...o,platform:l})}},4674:function(e,t,n){"use strict";n.d(t,{Jv:function(){return r.Jv},Me:function(){return r.Me},RR:function(){return m},YF:function(){return d},cv:function(){return p},dp:function(){return v},uY:function(){return h},x7:function(){return g}});var r=n(8143),o=n(2265),i=n(4887),l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function a(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(!a(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)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,y]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[S,w]=o.useState(d);a(S,d)||w(d);let[x,R]=o.useState(null),[E,k]=o.useState(null),C=o.useCallback(e=>{e!==A.current&&(A.current=e,R(e))},[]),T=o.useCallback(e=>{e!==P.current&&(P.current=e,k(e))},[]),O=p||x,M=h||E,A=o.useRef(null),P=o.useRef(null),I=o.useRef(b),L=null!=v,D=c(v),B=c(f),W=o.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&&!a(I.current,t)&&(I.current=t,i.flushSync(()=>{y(t)}))})},[S,t,n,B]);l(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let N=o.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{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=o.useMemo(()=>({reference:A,floating:P,setReference:C,setFloating:T}),[C,T]),j=o.useMemo(()=>({reference:O,floating:M}),[O,M]),H=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=s(j.floating,b.x),r=s(j.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,j.floating,b.x,b.y]);return o.useMemo(()=>({...b,update:W,refs:z,elements:j,floatingStyles:H}),[b,W,z,j,H])}let f=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):{}}}),p=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),m=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),v=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),g=(e,t)=>({...f(e),options:[e,t]})},4243:function(e,t,n){"use strict";let r;n.d(t,{wD:function(){return e2},y0:function(){return e3},ll:function(){return eq},aN:function(){return tg},xp:function(){return tS},eS:function(){return e7},Qu:function(){return eA},tj:function(){return eM},bQ:function(){return te},YF:function(){return tt},KK:function(){return tn},XI:function(){return eC},Rz:function(){return tb},NI:function(){return tl},c0:function(){return tf},qs:function(){return th},ox:function(){return tm}});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(8143),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=n;do a+=r?-i:i;while(a>=0&&a<=l.length-1&&es(l,a,o));return a}function es(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let ec=0;function ed(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(ec);let i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():ec=requestAnimationFrame(i)}var ef="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+em++,eg=G.useId||function(){let[e,t]=o.useState(()=>eh?ev():void 0);return ef(()=>{null==e&&t(ev())},[]),o.useEffect(()=>{eh=!0},[]),e},eb=o.createContext(null),ey=o.createContext(null),eS=()=>{var e;return(null==(e=o.useContext(eb))?void 0:e.id)||null},ew=()=>o.useContext(ey);function ex(e){return"data-floating-ui-"+e}function eR(e){let t=(0,o.useRef)(e);return ef(()=>{t.current=e}),t}let eE=ex("safe-polygon");function ek(e,t,n){return n&&!v(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function eC(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:a,elements:{domReference:s,floating:c}}=e,{enabled:d=!0,delay:f=0,handleClose:p=null,mouseOnly:h=!1,restMs:m=0,move:b=!0}=t,y=ew(),S=eS(),w=eR(p),x=eR(f),R=o.useRef(),E=o.useRef(-1),k=o.useRef(),C=o.useRef(-1),T=o.useRef(!0),O=o.useRef(!1),M=o.useRef(()=>{}),A=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(d)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(E.current),clearTimeout(C.current),T.current=!0)}},[d,a]),o.useEffect(()=>{if(!d||!w.current||!n)return;function e(e){A()&&r(!1,e,"hover")}let t=g(c).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c,n,r,d,w,A]);let P=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=ek(x.current,"close",R.current);o&&!k.current?(clearTimeout(E.current),E.current=window.setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(E.current),r(!1,e,n))},[x,r]),I=Q(()=>{M.current(),k.current=void 0}),L=Q(()=>{if(O.current){let e=g(c).body;e.style.pointerEvents="",e.removeAttribute(eE),O.current=!1}});return o.useEffect(()=>{if(d&&(0,l.kK)(s))return n&&s.addEventListener("mouseleave",a),null==c||c.addEventListener("mouseleave",a),b&&s.addEventListener("mousemove",t,{once:!0}),s.addEventListener("mouseenter",t),s.addEventListener("mouseleave",o),()=>{n&&s.removeEventListener("mouseleave",a),null==c||c.removeEventListener("mouseleave",a),b&&s.removeEventListener("mousemove",t),s.removeEventListener("mouseenter",t),s.removeEventListener("mouseleave",o)};function e(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function t(e){if(clearTimeout(E.current),T.current=!1,h&&!v(R.current)||m>0&&!ek(x.current,"open"))return;let t=ek(x.current,"open",R.current);t?E.current=window.setTimeout(()=>{r(!0,e,"hover")},t):r(!0,e,"hover")}function o(t){if(e())return;M.current();let r=g(c);if(clearTimeout(C.current),w.current&&i.current.floatingContext){n||clearTimeout(E.current),k.current=w.current({...i.current.floatingContext,tree:y,x:t.clientX,y:t.clientY,onClose(){L(),I(),P(t,!0,"safe-polygon")}});let e=k.current;r.addEventListener("mousemove",e),M.current=()=>{r.removeEventListener("mousemove",e)};return}"touch"===R.current&&u(c,t.relatedTarget)||P(t)}function a(t){!e()&&i.current.floatingContext&&(null==w.current||w.current({...i.current.floatingContext,tree:y,x:t.clientX,y:t.clientY,onClose(){L(),I(),P(t)}})(t))}},[s,c,d,e,h,m,b,P,I,L,r,n,y,x,w,i]),ef(()=>{var e,t;if(d&&n&&null!=(e=w.current)&&e.__options.blockPointerEvents&&A()){let e=g(c).body;if(e.setAttribute(eE,""),e.style.pointerEvents="none",O.current=!0,(0,l.kK)(s)&&c){let e=null==y||null==(t=y.nodesRef.current.find(e=>e.id===S))||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=""}}}},[d,n,S,c,s,y,w,A]),ef(()=>{n||(R.current=void 0,I(),L())},[n,I,L]),o.useEffect(()=>()=>{I(),clearTimeout(E.current),clearTimeout(C.current),L()},[d,s,I,L]),o.useMemo(()=>{if(!d)return{};function e(e){R.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){function t(){T.current||r(!0,e.nativeEvent,"hover")}(!h||v(R.current))&&!n&&0!==m&&(clearTimeout(C.current),"touch"===R.current?t():C.current=window.setTimeout(t,m))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(e){P(e.nativeEvent,!1)}}}},[d,h,n,m,r,P])}let eT=()=>{},eO=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:eT,setState:eT,isInstantPhase:!1}),eM=()=>o.useContext(eO);function eA(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:o}=e,{id:i}=t,l=null!=i?i:o,a=eM(),{currentId:u,setCurrentId:s,initialDelay:c,setState:d,timeoutMs:f}=a;return ef(()=>{u&&(d({delay:{open:1,close:ek(c,"close")}}),u!==l&&r(!1))},[l,r,d,u,c]),ef(()=>{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]),ef(()=>{s!==eT&&n&&s(l)},[n,s,l]),a}function eP(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 eI=new WeakMap,eL=new WeakSet,eD={},eB=0,eW=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,eN=e=>e&&(e.host||eN(e.parentNode)),ez=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=eN(t);return e.contains(n)?n:null}).filter(e=>null!=e);function ej(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,a=ez(t,e),u=new Set,s=new Set(a),c=[];eD[o]||(eD[o]=new WeakMap);let d=eD[o];return a.forEach(function e(t){!(!t||u.has(t))&&(u.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||s.has(t)||[].forEach.call(t.children,t=>{if("script"!==(0,l.wk)(t)){if(u.has(t))e(t);else{let e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=(eI.get(t)||0)+1,l=(d.get(t)||0)+1;eI.set(t,r),d.set(t,l),c.push(t),1===r&&n&&eL.add(t),1===l&&t.setAttribute(o,""),!n&&i&&t.setAttribute(i,"true")}}})}(t),u.clear(),eB++,()=>{c.forEach(e=>{let t=(eI.get(e)||0)-1,n=(d.get(e)||0)-1;eI.set(e,t),d.set(e,n),t||(!eL.has(e)&&i&&e.removeAttribute(i),eL.delete(e)),n||e.removeAttribute(o)}),--eB||(eI=new WeakMap,eI=new WeakMap,eL=new WeakSet,eD={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let eH=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eF(e,t){let n=Y(e,eH());"prev"===t&&n.reverse();let r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function e_(){return eF(document.body,"next")}function eZ(){return eF(document.body,"prev")}function eV(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!u(n,r)}let e$={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 eK(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eU=o.forwardRef(function(e,t){let[n,r]=o.useState();ef(()=>(p()&&r("button"),document.addEventListener("keydown",eK),()=>{document.removeEventListener("keydown",eK)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ex("focus-guard")]:"",style:e$};return o.createElement("span",ep({},e,i))}),eY=o.createContext(null),eX=ex("portal");function eq(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=eg(),i=eG(),[a,u]=o.useState(null),s=o.useRef(null);return ef(()=>()=>{null==a||a.remove(),queueMicrotask(()=>{s.current=null})},[a]),ef(()=>{if(!r||s.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eX,""),e.appendChild(n),s.current=n,u(n)},[t,r]),ef(()=>{if(!r||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(eX,""),(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&&eV(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,eH()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(a)}},[a,i,null==u?void 0:u.modal]),o.createElement(eY.Provider,{value:o.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:a,setFocusManagerState:s}),[i,a])},h&&a&&o.createElement(eU,{"data-type":"outside",ref:c,onFocus:e=>{if(eV(e,a)){var t;null==(t=f.current)||t.focus()}else{let e=eZ()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),h&&a&&o.createElement("span",{"aria-owns":a.id,style:e$}),a&&(0,q.createPortal)(t,a),h&&a&&o.createElement(eU,{"data-type":"outside",ref:d,onFocus:e=>{if(eV(e,a)){var t;null==(t=p.current)||t.focus()}else{let t=e_()||(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 eG=()=>o.useContext(eY),eJ=[];function eQ(e){eJ=eJ.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,l.wk)(t)){if(!X(t,eH())){let e=Y(t,eH())[0];e&&(t=e)}eJ.push(t),eJ.length>20&&(eJ=eJ.slice(-20))}}function e0(){return eJ.slice().reverse().find(e=>e.isConnected)}let e1=o.forwardRef(function(e,t){return o.createElement("button",ep({},e,{type:"button",ref:t,tabIndex:-1,style:e$}))});function e2(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=!eW()||s,I=eR(i),L=eR(c),D=eR(p),B=ew(),W=eG(),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,eH()):[]},[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(e1,{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?ed(t[t.length-1]):ed(t[1])),"floating"===I.current[1]&&n===O&&e.shiftKey&&(w(e),ed(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(ex("focus-guard"))||B&&(eP(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!==e0()&&(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("["+ex("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?ej(e,P,!P):ej(e);return()=>{n()}}},[r,T,O,h,I,W,A,P]),ef(()=>{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||ed(r,{preventScroll:r===O})})},[r,b,O,M,Z,L]),ef(()=>{if(r||!O)return;let e=!1,t=g(O),n=a(t),o=C.current.openEvent;function i(t){let{open:n,reason:r,event:i,nested:l}=t;n&&(o=i),"escape-key"===r&&S.domReference.current&&eQ(S.domReference.current),"hover"===r&&"mouseleave"===i.type&&(j.current=!0),"outside-press"===r&&(l?(j.current=!1,e=!0):j.current=!(d(i)||f(i)))}return eQ(n),k.on("openchange",i),()=>{k.off("openchange",i);let n=a(t),r=u(O,n)||B&&eP(B.nodesRef.current,R).some(e=>{var t;return u(null==(t=e.context)?void 0:t.elements.floating,n)});(r||o&&["click","mousedown"].includes(o.type))&&S.domReference.current&&eQ(S.domReference.current);let s=e0();D.current&&!j.current&&(0,l.Re)(s)&&(s===n||n===t.body||r)&&ed(s,{cancelPrevious:!1,preventScroll:e})}},[r,O,D,C,S,k,B,R]),ef(()=>{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]),ef(()=>{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(eU,{"data-type":"inside",ref:null==W?void 0:W.beforeInsideRef,onFocus:e=>{if(h){let e=Z();ed("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(j.current=!1,eV(e,W.portalNode)){let e=e_()||T;null==e||e.focus()}else{var t;null==(t=W.beforeOutsideRef.current)||t.focus()}}}}),!A&&V("start"),n,V("end"),$&&o.createElement(eU,{"data-type":"inside",ref:null==W?void 0:W.afterInsideRef,onFocus:e=>{if(h)ed(Z()[0]);else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(v&&(j.current=!0),eV(e,W.portalNode)){let e=eZ()||T;null==e||e.focus()}else{var t;null==(t=W.afterOutsideRef.current)||t.focus()}}}}))}let e5=new Set,e3=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e,i=eg();return ef(()=>{if(!n)return;e5.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()=>{e5.delete(i),0===e5.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(l,a)))}},[i,n]),o.createElement("div",ep({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function e4(e){return(0,l.Re)(e.target)&&"BUTTON"===e.target.tagName}function e7(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||e4(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||e4(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 e9={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e8={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e6=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 te(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:{reference:i,domReference:a,floating:s},dataRef:c}=e,{enabled:d=!0,escapeKey:f=!0,outsidePress:p=!0,outsidePressEvent:h="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:S=!1,bubbles:w,capture:x}=t,R=ew(),E=Q("function"==typeof p?p:()=>!1),k="function"==typeof p?E:p,C=o.useRef(!1),T=o.useRef(!1),{escapeKey:O,outsidePress:M}=e6(w),{escapeKey:A,outsidePress:P}=e6(x),I=Q(e=>{var t;if(!n||!d||!f||"Escape"!==e.key)return;let o=null==(t=c.current.floatingContext)?void 0:t.nodeId,i=R?eP(R.nodesRef.current,o):[];if(!O&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.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")}),L=Q(e=>{var t;let n=()=>{var t;I(e),null==(t=y(e))||t.removeEventListener("keydown",n)};null==(t=y(e))||t.addEventListener("keydown",n)}),D=Q(e=>{var t;let n=C.current;C.current=!1;let o=T.current;if(T.current=!1,"click"===h&&o||n||"function"==typeof k&&!k(e))return;let i=y(e),d="["+ex("inert")+"]",f=g(s).querySelectorAll(d),p=(0,l.kK)(i)?i:null;for(;p&&!(0,l.Py)(p);){let e=(0,l.Ow)(p);if((0,l.Py)(e)||!(0,l.kK)(e))break;p=e}if(f.length&&(0,l.kK)(i)&&!i.matches("html,body")&&!u(i,s)&&Array.from(f).every(e=>!u(p,e)))return;if((0,l.Re)(i)&&s){let t=i.clientWidth>0&&i.scrollWidth>i.clientWidth,n=i.clientHeight>0&&i.scrollHeight>i.clientHeight,r=n&&e.offsetX>i.clientWidth;if(n&&"rtl"===(0,l.Dx)(i).direction&&(r=e.offsetX<=i.offsetWidth-i.clientWidth),r||t&&e.offsetY>i.clientHeight)return}let m=null==(t=c.current.floatingContext)?void 0:t.nodeId,v=R&&eP(R.nodesRef.current,m).some(t=>{var n;return b(e,null==(n=t.context)?void 0:n.elements.floating)});if(b(e,s)||b(e,a)||v)return;let S=R?eP(R.nodesRef.current,m):[];if(S.length>0){let e=!0;if(S.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")}),B=Q(e=>{var t;let n=()=>{var t;D(e),null==(t=y(e))||t.removeEventListener(h,n)};null==(t=y(e))||t.addEventListener(h,n)});return o.useEffect(()=>{if(!n||!d)return;function e(e){r(!1,e,"ancestor-scroll")}c.current.__escapeKeyBubbles=O,c.current.__outsidePressBubbles=M;let t=g(s);f&&t.addEventListener("keydown",A?L:I,A),k&&t.addEventListener(h,P?B:D,P);let o=[];return S&&((0,l.kK)(a)&&(o=(0,l.Kx)(a)),(0,l.kK)(s)&&(o=o.concat((0,l.Kx)(s))),!(0,l.kK)(i)&&i&&i.contextElement&&(o=o.concat((0,l.Kx)(i.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})}),()=>{f&&t.removeEventListener("keydown",A?L:I,A),k&&t.removeEventListener(h,P?B:D,P),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[c,s,a,i,f,k,h,n,r,S,d,O,M,I,A,L,D,P,B]),o.useEffect(()=>{C.current=!1},[k,h]),o.useMemo(()=>d?{reference:{onKeyDown:I,[e9[v]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:I,onMouseDown(){T.current=!0},onMouseUp(){T.current=!0},[e8[h]]:()=>{C.current=!0}}}:{},[d,m,h,v,r,I])}function tt(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=eg(),l=o.useRef({}),[a]=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))||[])}}})()),u=null!=eS(),[s,c]=o.useState(r.reference),d=Q((e,t,r)=>{l.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:u}),null==n||n(e,t,r)}),f=o.useMemo(()=>({setPositionReference:c}),[]),p=o.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return o.useMemo(()=>({dataRef:l,open:t,onOpenChange:d,elements:p,events:a,floatingId:i,refs:f}),[t,d,p,a,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,u]=o.useState(null),[s,c]=o.useState(null),d=(null==i?void 0:i.reference)||a,f=o.useRef(null),p=ew();ef(()=>{d&&(f.current=d)},[d]);let h=(0,E.YF)({...e,elements:{...i,...s&&{reference:s}}}),m=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),h.refs.setReference(t)},[h.refs]),v=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(f.current=e,u(e)),((0,l.kK)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,l.kK)(e))&&h.refs.setReference(e)},[h.refs]),g=o.useMemo(()=>({...h.refs,setReference:v,setPositionReference:m,domReference:f}),[h.refs,v,m]),b=o.useMemo(()=>({...h.elements,domReference:d}),[h.elements,d]),y=o.useMemo(()=>({...h,...r,refs:g,elements:b,nodeId:t}),[h,g,b,t,r]);return ef(()=>{r.dataRef.current.floatingContext=y;let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),o.useMemo(()=>({...h,context:y,refs:g,elements:b}),[h,g,b,y])}function tn(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,dataRef: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(ex("focus-guard"))&&"outside"===t.getAttribute("data-type");b.current=window.setTimeout(()=>{var o;let i=a(c?c.ownerDocument:document);if(t||i!==c){if(u(null==(o=s.current.floatingContext)?void 0:o.refs.floating.current,i)||u(c,i)||n)return;r(!1,e.nativeEvent,"focus")}})}}}:{},[d,h,s,c,r])}let tr="active",to="selected";function ti(e,t,n){let r=new Map,o="item"===n,i=e;if(o&&e){let{[tr]:t,[to]: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&&[tr,to].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 tl(e){void 0===e&&(e=[]);let t=e,n=o.useCallback(t=>ti(t,e,"reference"),t),r=o.useCallback(t=>ti(t,e,"floating"),t),i=o.useCallback(t=>ti(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 ta=!1;function tu(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function ts(e,t){return tu(t,e===ee||e===et,e===en||e===er)}function tc(e,t,n){return tu(t,e===et,n?e===en:e===er)||"Enter"===e||" "===e||""===e}function td(e,t,n){return tu(t,n?e===er:e===en,e===ee)}function tf(e,t){let{open:n,onOpenChange:r,elements:{domReference:i,floating:s}}=e,{listRef:c,activeIndex:h,onNavigate:v=()=>{},enabled:b=!0,selectedIndex:y=null,allowEscape:S=!1,loop:E=!1,nested:k=!1,rtl:C=!1,virtual:T=!1,focusItemOnOpen:O="auto",focusItemOnHover:M=!0,openOnArrowKeyDown:A=!0,disabledIndices:P,orientation:I="vertical",cols:L=1,scrollItemIntoView:D=!0,virtualItemRef:B,itemSizes:W,dense:N=!1}=t,z=eS(),j=ew(),H=Q(v),F=o.useRef(O),_=o.useRef(null!=y?y:-1),Z=o.useRef(null),V=o.useRef(!0),$=o.useRef(H),K=o.useRef(!!s),U=o.useRef(!1),Y=o.useRef(!1),X=eR(P),q=eR(n),G=eR(D),J=eR(s),ec=eR(y),[ep,eh]=o.useState(),[em,ev]=o.useState(),eg=Q(function(e,t,n){function r(e){T?(eh(e.id),null==j||j.events.emit("virtualfocus",e),B&&(B.current=e)):ed(e,{preventScroll:!0,sync:!!(m()&&p())&&(ta||U.current)})}void 0===n&&(n=!1);let o=e.current[t.current];o&&r(o),requestAnimationFrame(()=>{let i=e.current[t.current]||o;if(!i)return;o||r(i);let l=G.current;l&&ey&&(n||!V.current)&&(null==i.scrollIntoView||i.scrollIntoView("boolean"==typeof l?{block:"nearest",inline:"nearest"}:l))})});ef(()=>{document.createElement("div").focus({get preventScroll(){return ta=!0,!1}})},[]),ef(()=>{b&&(n&&s?F.current&&null!=y&&(Y.current=!0,_.current=y,H(y)):K.current&&(_.current=-1,$.current(null)))},[b,n,s,y,H]),ef(()=>{if(b&&n&&s){if(null==h){if(U.current=!1,null==ec.current&&(K.current&&(_.current=-1,eg(c,_)),!K.current&&F.current&&(null!=Z.current||!0===F.current&&null==Z.current))){let e=0,t=()=>{null==c.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(_.current=null==Z.current||tc(Z.current,I,C)||k?el(c,X.current):ea(c,X.current),Z.current=null,H(_.current))};t()}}else ei(c,h)||(_.current=h,eg(c,_,Y.current),Y.current=!1)}},[b,n,s,h,ec,k,c,I,C,H,eg,X]),ef(()=>{var e;if(!b||s||!j||T||!K.current)return;let t=j.nodesRef.current,n=null==(e=t.find(e=>e.id===z))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(s)),o=t.some(e=>e.context&&u(e.context.elements.floating,r));n&&!o&&V.current&&n.focus({preventScroll:!0})},[b,s,j,z,T]),ef(()=>{if(b&&j&&T&&!z)return j.events.on("virtualfocus",e),()=>{j.events.off("virtualfocus",e)};function e(e){ev(e.id),B&&(B.current=e)}},[b,j,T,z,B]),ef(()=>{$.current=H,K.current=!!s}),ef(()=>{n||(Z.current=null)},[n]);let eb=null!=h,ey=o.useMemo(()=>{function e(e){if(!n)return;let t=c.current.indexOf(e);-1!==t&&H(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...M&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;V.current&&"touch"!==t&&(_.current=-1,eg(c,_),H(null),T||ed(J.current,{preventScroll:!0}))}}}},[n,J,eg,M,c,H,T]);return o.useMemo(()=>{if(!b)return{};let e=X.current;function t(t){if(V.current=!1,U.current=!0,!q.current&&t.currentTarget===J.current)return;if(k&&td(t.key,I,C)){w(t),r(!1,t.nativeEvent,"list-navigation"),(0,l.Re)(i)&&!T&&i.focus();return}let o=_.current,u=el(c,e),s=ea(c,e);if("Home"===t.key&&(w(t),_.current=u,H(_.current)),"End"===t.key&&(w(t),_.current=s,H(_.current)),L>1){var d;let n=W||Array.from({length:c.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,L,N),o=r.findIndex(t=>null!=t&&!es(c.current,t,e)),i=r.reduce((t,n,r)=>null==n||es(c.current,n,e)?t:r,-1);if(_.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,decrement:!0,disabledIndices:l}),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?c.current[e]:null)},{event:t,orientation:I,loop:E,cols:L,disabledIndices:(d=[...e||c.current.map((e,t)=>es(c.current,t)?t:void 0),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),l=t[e];switch(o){case"tl":return i;case"tr":if(!l)return i;return i+l.width-1;case"bl":if(!l)return i;return i+(l.height-1)*r;case"br":return n.lastIndexOf(e)}}(_.current>s?u:_.current,n,r,L,t.key===et?"bl":t.key===er?"tr":"tl"),stopEvent:!0})],H(_.current),"both"===I)return}if(ts(t.key,I)){if(w(t),n&&!T&&a(t.currentTarget.ownerDocument)===t.currentTarget){_.current=tc(t.key,I,C)?u:s,H(_.current);return}tc(t.key,I,C)?E?_.current=o>=s?S&&o!==c.current.length?-1:u:eu(c,{startingIndex:o,disabledIndices:e}):_.current=Math.min(s,eu(c,{startingIndex:o,disabledIndices:e})):E?_.current=o<=u?S&&-1!==o?c.current.length:s:eu(c,{startingIndex:o,decrement:!0,disabledIndices:e}):_.current=Math.max(u,eu(c,{startingIndex:o,decrement:!0,disabledIndices:e})),ei(c,_.current)?H(null):H(_.current)}}function o(e){"auto"===O&&d(e.nativeEvent)&&(F.current=!0)}let u=T&&n&&eb&&{"aria-activedescendant":em||ep},s=c.current.find(e=>(null==e?void 0:e.id)===ep);return{reference:{...u,onKeyDown(o){var i,l,a,u,d,f;V.current=!1;let p=0===o.key.indexOf("Arrow"),h=(i=o.key,tu(I,C?i===en:i===er,i===et)),m=td(o.key,I,C),v=ts(o.key,I),g=(k?h:v)||"Enter"===o.key||""===o.key.trim();if(T&&n){let e,n;let r=null==j?void 0:j.nodesRef.current.find(e=>null==e.parentId),i=j&&r?(l=j.nodesRef.current,a=r.id,n=-1,!function t(r,o){o>n&&(e=r,n=o),eP(l,r).forEach(e=>{t(e.id,o+1)})}(a,0),l.find(t=>t.id===e)):null;if(p&&i&&B){let e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(h||m){let t=(null==(u=i.context)?void 0:u.elements.domReference)===o.currentTarget,n=m&&!t?null==(d=i.context)?void 0:d.elements.domReference:h?s:null;n&&(w(o),n.dispatchEvent(e),ev(void 0))}if(v&&i.context&&i.context.open&&i.parentId&&o.currentTarget!==i.context.elements.domReference){w(o),null==(f=i.context.elements.domReference)||f.dispatchEvent(e);return}}return t(o)}if(n||A||!p){if(g&&(Z.current=k&&v?null:o.key),k){h&&(w(o),n?(_.current=el(c,e),H(_.current)):r(!0,o.nativeEvent,"list-navigation"));return}v&&(null!=y&&(_.current=y),w(o),!n&&A?r(!0,o.nativeEvent,"list-navigation"):t(o),n&&H(_.current))}},onFocus(){n&&!T&&H(null)},onPointerDown:function(e){F.current=O,"auto"===O&&f(e.nativeEvent)&&(F.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===I?void 0:I,...!x(i)&&u,onKeyDown:t,onPointerMove(){V.current=!0}},item:ey}},[i,J,ep,em,X,q,c,b,I,C,T,n,eb,k,y,A,S,L,E,O,H,r,ey,j,B,W,N])}let tp=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function th(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:i}=e,{enabled:l=!0,role:a="dialog"}=t,u=null!=(n=tp.get(a))?n:a,s=eg(),c=null!=eS();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 tm(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=eR(d),R=eR(p);return ef(()=>{r&&(clearTimeout(m.current),b.current=null,v.current="")},[r]),ef(()=>{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 tv(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tg=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,E.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)(tv(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)(tv({...h,y:y},m.offsetHeight),c)),{y:y}}});function tb(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 ty(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 tS(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&&eP(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(!ty([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()}ty([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){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},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(5902),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=>{l.startTransition(()=>{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=Number.POSITIVE_INFINITY;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.SZ)(),{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=()=>{}},6616:function(e,t,n){"use strict";n.d(t,{SZ:function(){return l}});var r=n(2265);let o=()=>{},i=()=>o;function l(e,t){if(t?.sync)return(0,r.useSyncExternalStore)(i,()=>e??!0,()=>!1);let[n,o]=(0,r.useState)(e);return(0,r.useEffect)(()=>{o(e??!0)},[]),n??!1}},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(5902),a=n(2622),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