translator-tamagui / _next /static /chunks /430-f7e37e8f52605c9b.js
huuquyet's picture
chore: bump dependencies
dcf3d12 verified
raw
history blame contribute delete
No virus
221 kB
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[430],{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);n<t;n++)r[n]=e[n];return r}function i(e){return e.filter(function(t,n){return e.lastIndexOf(t)===n})}n.r(t),n.d(t,{assignStyle:function(){return function e(t){for(var n=0,l=arguments.length<=1?0:arguments.length-1;n<l;++n){var a=n+1<1||arguments.length<=n+1?void 0:arguments[n+1];for(var u in a){var s=a[u],c=t[u];if(c&&s){if(Array.isArray(c)){t[u]=i(c.concat(s));continue}if(Array.isArray(s)){t[u]=i([c].concat(function(e){if(Array.isArray(e))return o(e)}(s)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,void 0)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));continue}if("object"===r(s)){t[u]=e({},c,s);continue}}t[u]=s}}return t}},camelCaseProperty:function(){return c},cssifyDeclaration:function(){return p},cssifyObject:function(){return h},hyphenateProperty:function(){return f},isPrefixedProperty:function(){return v},isPrefixedValue:function(){return b},isUnitlessProperty:function(){return O},normalizeProperty:function(){return A},resolveArrayValue:function(){return I},unprefixProperty:function(){return P},unprefixValue:function(){return D}});var l=/-([a-z])/g,a=/^Ms/g,u={};function s(e){return e[1].toUpperCase()}function c(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(l,s).replace(a,"ms");return u[e]=t,t}var d=n(5249);function f(e){return(0,d.default)(e)}function p(e,t){return f(e)+":"+t}function h(e){var t="";for(var n in e){var r=e[n];("string"==typeof r||"number"==typeof r)&&(t&&(t+=";"),t+=p(n,r))}return t}var m=/^(Webkit|Moz|O|ms)/;function v(e){return m.test(e)}var g=/-webkit-|-moz-|-ms-/;function b(e){return"string"==typeof e&&g.test(e)}for(var y={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!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},S=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineClamp","order"],w=["Webkit","ms","Moz","O"],x=0,R=S.length;x<R;++x){var E=S[x];y[E]=!0;for(var k=0,C=w.length;k<C;++k)y[w[k]+E.charAt(0).toUpperCase()+E.slice(1)]=!0}for(var T in y)y[f(T)]=!0;function O(e){return y.hasOwnProperty(e)}var M=/^(ms|Webkit|Moz|O)/;function P(e){var t=e.replace(M,"");return t.charAt(0).toLowerCase()+t.slice(1)}function A(e){return P(c(e))}function I(e,t){return t.join(";"+f(e)+":")}var L=/(-ms-|-webkit-|-moz-|-o-)/g;function D(e){return"string"==typeof e?e.replace(L,""):e}},1442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)};var r,o=(r=n(5249))&&r.__esModule?r:{default:r}},2702:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&n.test(e)};var n=/-webkit-|-moz-|-ms-/},7563:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},7445:function(e){"use strict";var t=function(e){};e.exports=function(e,n){for(var r,o=arguments.length,i=Array(o>2?o-2:0),l=2;l<o;l++)i[l-2]=arguments[l];if(t(n),!e){if(void 0===n)r=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(r=Error(n.replace(/%s/g,function(){return String(i[a++])}))).name="Invariant Violation"}throw r.framesToPop=1,r}}},9895:function(e,t,n){"use strict";var r=n(7563);e.exports=r},5249:function(e,t,n){"use strict";n.r(t);var r=/[A-Z]/g,o=/^ms-/,i={};function l(e){return"-"+e.toLowerCase()}t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(r,l);return i[e]=o.test(t)?"-"+t:t}},2933:function(e,t,n){"use strict";t.Z=function(e){var t=e.prefixMap,n=e.plugins;return function e(a){for(var u in a){var s=a[u];if((0,l.default)(s))a[u]=e(s);else if(Array.isArray(s)){for(var c=[],d=0,f=s.length;d<f;++d){var p=(0,o.default)(n,u,s[d],a,t);(0,i.default)(c,p||s[d])}c.length>0&&(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<l;++i)r[o[i]]=t};var n={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]}},9832:function(e,t){"use strict";t.Z=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}},8579:function(e,t){"use strict";t.Z=function(e,t){if(r.hasOwnProperty(e)&&o.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},4633:function(e,t,n){"use strict";t.Z=function(e,t,n,l){if("string"==typeof t&&a.hasOwnProperty(e)){var s=function(e,t){if((0,o.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,l=n.length;i<l;++i){var a=n[i],s=[a];for(var c in t){var d=(0,r.default)(c);if(a.indexOf(d)>-1&&"order"!==d)for(var f=t[c],p=0,h=f.length;p<h;++p)s.unshift(a.replace(d,u[f[p]]+d))}n[i]=s.join(",")}return n.join(",")}(t,l),c=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(",");if(e.indexOf("Webkit")>-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;r<o;++r)n(e,t[r]);else n(e,t)}},8937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},22:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)}},9886:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e[t];if(r&&n.hasOwnProperty(t))for(var i=(0,o.default)(t),l=0;l<r.length;++l){var a=r[l]+i;n[a]||(n[a]=n[t])}return n};var r,o=(r=n(8937))&&r.__esModule?r:{default:r}},6054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){for(var i=0,l=e.length;i<l;++i){var a=e[i](t,n,r,o);if(a)return a}}},2989:function(e,t,n){"use strict";n.d(t,{Cd:function(){return A},x1:function(){return I},y$:function(){return L},UL:function(){return D},ny:function(){return B}});var r=n(2265),o=n(5803),i=n(213),l=n.n(i);let a={top:20,left:20,right:20,bottom:30},{Mixin:u}=l(),{touchableHandleStartShouldSetResponder:s,touchableHandleResponderTerminationRequest:c,touchableHandleResponderGrant:d,touchableHandleResponderMove:f,touchableHandleResponderRelease:p,touchableHandleResponderTerminate:h,touchableGetInitialState:m}=u,v={...u,touchableHandleStartShouldSetResponder(e){let{onStartShouldSetResponder:t}=this.props;return t?t(e):s.call(this,e)},touchableHandleResponderTerminationRequest(e){let{onResponderTerminationRequest:t}=this.props;return t?t(e):c.call(this,e)},touchableHandleResponderGrant(e){let{onResponderGrant:t}=this.props;return t?t(e):d.call(this,e)},touchableHandleResponderMove(e){let{onResponderMove:t}=this.props;return t?t(e):f.call(this,e)},touchableHandleResponderRelease(e){let{onResponderRelease:t}=this.props;return t?t(e):p.call(this,e)},touchableHandleResponderTerminate(e){let{onResponderTerminate:t}=this.props;return t?t(e):h.call(this,e)},touchableHandlePress(e){let{onPress:t}=this.props;t&&t(e)},touchableHandleActivePressIn(e){let{onPressIn:t}=this.props;t&&t(e)},touchableHandleActivePressOut(e){let{onPressOut:t}=this.props;t&&t(e)},touchableHandleLongPress(e){let{onLongPress:t}=this.props;t&&t(e)},touchableGetPressRectOffset(){let{pressRetentionOffset:e}=this.props;return e||a},touchableGetHitSlop(){let{hitSlop:e}=this.props;return e},touchableGetHighlightDelayMS(){let{delayPressIn:e}=this.props;return e||0},touchableGetLongPressDelayMS(){let{delayLongPress:e}=this.props;return 0===e?0:e||500},touchableGetPressOutDelayMS(){let{delayPressOut:e}=this.props;return e||0}},g=Object.keys(v),b=g.map(e=>v[e]),y=g.length;var S=e=>{for(let t=0;t<y;t++){let n=g[t],r=b[t];"function"==typeof r?e[n]=r.bind(e):e[n]=r}e.state=m()},w=n(929);n(7873);let x=e=>e.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 P 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 A extends P{tag="circle"}class I extends P{tag="line"}class L extends P{tag="path"}class D extends P{tag="rect"}class B extends P{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("<svg",~t.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").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;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}return"Expected "+function(e){var t,r,o,i=Array(e.length);for(r=0;r<e.length;r++)i[r]=n[(t=e[r]).type](t);if(i.sort(),i.length>0){for(r=1,o=1;r<i.length;r++)i[r-1]!==i[r]&&(i[o]=i[r],o++);i.length=o}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+(t?'"'+o(t)+'"':"end of input")+" found."},e.exports={SyntaxError:t,parse:function(e,n){n=void 0!==n?n:{};var r,o,i,l,a,u,s,c,d={},f={transformList:X},p=X,h="matrix",m=K("matrix",!1),v=K("(",!1),g=K(")",!1),b="translate",y=K("translate",!1),S="scale",w=K("scale",!1),x="rotate",R=K("rotate",!1),E=function(e,t){var n=Math.cos(ea*e),r=Math.sin(ea*e);if(null!==t){var o=t[0],i=t[1];return[n,-r,-(n*o)+-(-r*i)+o,r,n,-(r*o)+-(n*i)+i]}return[n,-r,0,r,n,0]},k="skewX",C=K("skewX",!1),T="skewY",O=K("skewY",!1),M=K(",",!1),P=function(e){return e.join("")},A={type:"other",description:"fractionalConstant"},I=K(".",!1),L=/^[eE]/,D=U(["e","E"],!1,!1),B=/^[+\-]/,N=U(["+","-"],!1,!1),W=/^[0-9]/,z=U([["0","9"]],!1,!1),j=/^[ \t\r\n]/,H=U([" "," ","\r","\n"],!1,!1),F=0,_=[{line:1,column:1}],Z=0,V=[],$=0;if("startRule"in n){if(!(n.startRule in f))throw Error("Can't start parsing from rule \""+n.startRule+'".');p=f[n.startRule]}function K(e,t){return{type:"literal",text:e,ignoreCase:t}}function U(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Y(t){var n,r=_[t];if(r)return r;for(n=t-1;!_[n];)n--;for(r={line:(r=_[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return _[t]=r,r}function q(e){F<Z||(F>Z&&(Z=F,V=[]),V.push(e))}function X(){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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(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===$&&q(I)),p!==d?c=f=P(f):(F=c,c=d)):(F=c,c=d)),$--,c===d&&(f=d,0===$&&q(A)),(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=P(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===$&&q(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===$&&q(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===$&&q(N)),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 W.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&q(z)),t}function el(){var t;return j.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&q(H)),t}var ea=Math.PI/180;if((c=p())!==d&&F===e.length)return c;throw c!==d&&F<e.length&&q({type:"end"}),a=V,u=Z<e.length?e.charAt(Z):null,r=Z,o=Z<e.length?Z+1:Z,i=Y(r),l=Y(o),s={start:{offset:r,line:i.line,column:i.column},end:{offset:o,line:l.line,column:l.column}},new t(t.buildMessage(a,u),a,u,s)}}},1090:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7445),o=n.n(r),i=n(1213),l={window:{fontScale:1,height:0,scale:1,width:0},screen:{fontScale:1,height:0,scale:1,width:0}},a={},u=i.Z;function s(){if(i.Z){var e,t,n=window;if(n.visualViewport){var r=n.visualViewport;e=Math.round(r.height*r.scale),t=Math.round(r.width*r.scale)}else{var o=n.document.documentElement;e=o.clientHeight,t=o.clientWidth}l.window={fontScale:1,height:e,scale:n.devicePixelRatio||1,width:t},l.screen={fontScale:1,height:n.screen.height,scale:n.devicePixelRatio||1,width:n.screen.width}}}function c(){s(),Array.isArray(a.change)&&a.change.forEach(e=>e(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))},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 P}});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<this.lastMomentumScrollBeginTime,this.scrollResponderScrollTo=(e,t,n)=>{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 P=M},929:function(e,t,n){"use strict";n.d(t,{Z:function(){return eZ}});var r=n(7998),o=n(3950),i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},l=["ms","Moz","O","Webkit"],a=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(i).forEach(e=>{l.forEach(t=>{i[a(t,e)]=i[e]})});var u=e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("),s=n(7340),c=n.n(s),d=e=>{if(null==e)return e;var t=c()(e);if(null!=t)return(t<<24|t>>>8)>>>0},f=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&u(e))return e;var n=d(e);if(null!=n){var r=((n>>24&255)/255*t).toFixed(2);return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+r+")"}}},p={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function h(e,t){var n=e;return null!=t&&i[t]||"number"!=typeof e?null!=t&&p[t]&&(n=f(e)):n=e+"px",n}var m=n(1213),v={},g=!m.Z||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),b='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',y={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]},S=(e,t)=>{if(!e)return v;var n={};for(var r in e)if("continue"===function(){var o=e[r];if(null==o)return"continue";if("backgroundClip"===r)"text"===o&&(n.backgroundClip=o,n.WebkitBackgroundClip=o);else if("flex"===r)-1===o?(n.flexGrow=0,n.flexShrink=1,n.flexBasis="auto"):n.flex=o;else if("font"===r)n[r]=o.replace("System",b);else if("fontFamily"===r){if(o.indexOf("System")>-1){var i=o.split(/,\s*/);i[i.indexOf("System")]=b,n[r]=i.join(",")}else"monospace"===o?n[r]="monospace,monospace":n[r]=o}else if("textDecorationLine"===r)g?n.textDecorationLine=o:n.textDecoration=o;else if("writingDirection"===r)n.direction=o;else{var l=h(e[r],r),a=y[r];t&&"inset"===r?(null==e.insetInline&&(n.left=l,n.right=l),null==e.insetBlock&&(n.top=l,n.bottom=l)):t&&"margin"===r?(null==e.marginInline&&(n.marginLeft=l,n.marginRight=l),null==e.marginBlock&&(n.marginTop=l,n.marginBottom=l)):t&&"padding"===r?(null==e.paddingInline&&(n.paddingLeft=l,n.paddingRight=l),null==e.paddingBlock&&(n.paddingTop=l,n.paddingBottom=l)):a?a.forEach((t,r)=>{null==e[t]&&(n[t]=l)}):n[r]=l}}())continue;return n},w=e=>(function(e,t){for(var n,r=e.length,o=1^r,i=0;r>=4;)n=(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*1540483477+(((n>>>16)*1540483477&65535)<<16),n^=n>>>24,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)^(n=(65535&n)*1540483477+(((n>>>16)*1540483477&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o^=255&e.charCodeAt(i),o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)}return o^=o>>>13,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16),(o^=o>>>15)>>>0})(e,0).toString(36),x=/[A-Z]/g,R=/^ms-/,E={};function k(e){return"-"+e.toLowerCase()}var C=function(e){if(e in E)return E[e];var t=e.replace(x,k);return E[e]=R.test(t)?"-"+t:t},T=n(2933),O=n(1677),M=n(9699),P=n(5019),A=n(8527),I=n(9779),L=n(2316),D=n(9832),B=n(8579),N=n(4633),W=["Webkit"],z=["Webkit","ms"],j={plugins:[O.Z,M.Z,P.Z,A.Z,I.Z,L.Z,D.Z,B.Z,N.Z],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:z,textEmphasis:z,textEmphasisStyle:z,textEmphasisColor:z,boxDecorationBreak:z,clipPath:W,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:W,textDecorationSkip:W,textDecorationLine:W,textDecorationColor:W,filter:W,breakAfter:W,breakBefore:W,breakInside:W,columnCount:W,columnFill:W,columnGap:W,columnRule:W,columnRuleColor:W,columnRuleStyle:W,columnRuleWidth:W,columns:W,columnSpan:W,columnWidth:W,backdropFilter:W,hyphens:W,flowInto:W,flowFrom:W,regionFragment:W,textOrientation:W,tabSize:["Moz"],fontKerning:W,textSizeAdjust:W}},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",q="borderLeftColor",X="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,[q]:J,[X]:Q,[G]:ee,[J]:q,[Q]:X,[ee]:G,[el]:et,[en]:er,[er]:en,[eo]:ei,[ei]:eo,[et]:el},eu={borderStartStartRadius:$,borderStartEndRadius:K,borderEndStartRadius:U,borderEndEndRadius:Y,borderInlineStartColor:q,borderInlineStartStyle:X,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<o.length;s+=1){var c=o[s],d=n[c].start||0;n[c].start=d+1}}return u}return null!=e&&ep.call(e.cssRules).forEach((e,o)=>{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(" "),eP={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"},eA={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==eA[u]&&"shadowColor"!==u&&"shadowOffset"!==u&&"shadowOpacity"!==u&&"shadowRadius"!==u&&"textShadowColor"!==u&&"textShadowOffset"!==u&&"textShadowRadius"!==u){var s=n[u],c=eP[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,eN=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)})}}}(),eW={shadow:!0,textShadow:!0};function ez(e){e.forEach(e=>{var t=e[0],n=e[1];null!=eN&&t.forEach(e=>{eN.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;d<s.length;d++){var f=s[d];"string"==typeof f&&null!=eu[f]&&c.push(d)}if(c.length>0){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,eW)))[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)({},eW),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;n<e;n++)t[n]=arguments[n];for(var r=t.flat(1/0),o={},i=0;i<r.length;i++){var l=r[i];null!=l&&"object"==typeof l&&Object.assign(o,l)}return o},e_.getSheet=function(){return{id:eN.id,textContent:eN.getTextContent()}},e_.hairlineWidth=1,m.Z&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=e_.flatten);var eZ=e_},213:function(e){e.exports=function e(t=!1){let n=t?{get default(){return e()}}:function(){return e()};return n.displayName="ProxyWorm - Check excludeReactNativeWebExports",n._isProxyWorm=!0,n.prototype=n.prototype||{},n.prototype.isReactComponent=!0,new Proxy(n,{get:(t,r)=>Reflect.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(9115),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,P=e.onStartShouldSetResponder,A=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:P,onStartShouldSetResponderCapture:A});var N="div",W=null!=e.lang?(0,h.w1)(e.lang):null,z=e.dir||W,j=z||B,H=g(I);if(H.dir=z,H.style=[y.view$raw,L&&y.inline,e.style],null!=e.href&&(N="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)(N,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,P=r["aria-colspan"],A=r.accessibilityColumnSpan,I=r["aria-controls"],L=r.accessibilityControls,D=r["aria-current"],B=r.accessibilityCurrent,N=r["aria-describedby"],W=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"],q=r.accessibilityHasPopup,X=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,eP=(r.role,r.accessibilityRole),eA=r["aria-roledescription"],eI=r.accessibilityRoleDescription,eL=r["aria-rowcount"],eD=r.accessibilityRowCount,eB=r["aria-rowindex"],eN=r.accessibilityRowIndex,eW=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,eq=r["aria-valuenow"],eX=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 e6=a.propsToAriaRole(t);null!=i&&(0,d.O)("accessibilityActiveDescendant","accessibilityActiveDescendant is deprecated. Use aria-activedescendant.");var e8=null!=o?o:i;null!=e8&&(e9["aria-activedescendant"]=e8),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!=A&&(0,d.O)("accessibilityColumnSpan","accessibilityColumnSpan is deprecated. Use aria-colspan.");var tl=null!=P?P:A;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!=W&&(0,d.O)("accessibilityDescribedBy","accessibilityDescribedBy is deprecated. Use aria-describedby.");var ts=null!=N?N:W;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!=q&&(0,d.O)("accessibilityHasPopup","accessibilityHasPopup is deprecated. Use aria-haspopup.");var th=null!=Y?Y:q;null!=th&&(e9["aria-haspopup"]=th),null!=G&&(0,d.O)("accessibilityHidden","accessibilityHidden is deprecated. Use aria-hidden.");var tm=null!=X?X: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 tP=null!=eC?eC:eT;null!=tP&&(e9["aria-readonly"]=tP,("input"===e||"select"===e||"textarea"===e)&&(e9.readOnly=!0)),null!=eM&&(0,d.O)("accessibilityRequired","accessibilityRequired is deprecated. Use aria-required.");var tA=null!=eO?eO:eM;null!=tA&&(e9["aria-required"]=tA,("input"===e||"select"===e||"textarea"===e)&&(e9.required=eM)),null!=eP&&(0,d.O)("accessibilityRole","accessibilityRole is deprecated. Use role."),null!=e6&&(e9.role="none"===e6?"presentation":e6),null!=eI&&(0,d.O)("accessibilityRoleDescription","accessibilityRoleDescription is deprecated. Use aria-roledescription.");var tI=null!=eA?eA: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!=eN&&(0,d.O)("accessibilityRowIndex","accessibilityRowIndex is deprecated. Use aria-rowindex.");var tD=null!=eB?eB:eN;null!=tD&&(e9["aria-rowindex"]=tD),null!=ez&&(0,d.O)("accessibilityRowSpan","accessibilityRowSpan is deprecated. Use aria-rowspan.");var tB=null!=eW?eW:ez;null!=tB&&(e9["aria-rowspan"]=tB),null!=eH&&(0,d.O)("accessibilitySelected","accessibilitySelected is deprecated. Use aria-selected.");var tN=null!=ej?ej:eH;null!=tN&&(e9["aria-selected"]=tN),null!=e_&&(0,d.O)("accessibilitySetSize","accessibilitySetSize is deprecated. Use aria-setsize.");var tW=null!=eF?eF:e_;null!=tW&&(e9["aria-setsize"]=tW),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!=eX&&(0,d.O)("accessibilityValueNow","accessibilityValueNow is deprecated. Use aria-valuenow.");var tF=null!=eq?eq:eX;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"===e6||"checkbox"===e6||"link"===e6||"radio"===e6||"textbox"===e6||"switch"===e6?!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 tq=null!=e1?e1:e2;return null!=tq&&(e9.id=tq),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<e;n++)t[n]=arguments[n];return function(e){t.forEach(t=>{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)},9115: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<e;n++)t[n]=arguments[n];return r.useMemo(()=>(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;o<r.length;o++){var i=r[o];if(null!=i&&i.touchActive){n.indexOfSingleActiveTouch=o;break}}}get touchHistory(){return this._touchHistory}}var w=n(1213),x={},R=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],E=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],k={touchstart:R,mousedown:R,touchmove:E,mousemove:E,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},C={id:null,idPath:null,node:null},T=new Map,O=!1,M=0,P={id:null,node:null,idPath:null},A=new S;function I(e){var t=T.get(e);return null!=t?t:x}function L(e){var t,n,r,o,i,l,a,u=e.type,v=e.target;if("touchstart"===u&&(O=!0),("touchmove"===u||M>1)&&(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,A);(g||b||y)&&(e.touches?M=e.touches.length:g?M=1:y&&(M=0),A.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;o<r.length;o++){var i=r[o],l=null!=i?i[h]:null;null!=l&&(t.push(l),n.push(i))}return{idPath:t,nodePath:n}}(e),E=!1;if(g||b||S&&M>0){var T=P.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===P.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<o.length;f++){var p=s(o[f],i[f],a);if(null!=p)return p;if(!0===n.isPropagationStopped())return}else{var h=o[0],m=i[0];if(t.target===m)return s(h,m,a)}}}(R,e,x))&&(function(e,t){var n=P,r=n.id,o=n.node,i=t.id,l=t.node,a=I(i),u=a.onResponderGrant,s=a.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=l,null==r)null!=u&&(e.currentTarget=l,e.dispatchConfig.registrationName="onResponderGrant",u(e)),P=t;else{var c=I(r),d=c.onResponderTerminate,f=c.onResponderTerminationRequest,p=!0;(null!=f&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===f(e)&&(p=!1)),p)?(null!=d&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderTerminate",d(e)),null!=u&&(e.currentTarget=l,e.dispatchConfig.registrationName="onResponderGrant",u(e)),P=t):null!=s&&(e.currentTarget=l,e.dispatchConfig.registrationName="onResponderReject",s(e))}}(x,a),E=!0)}if(null!=P.id&&null!=P.node){var N=P,W=N.id,z=N.node,j=I(W),H=j.onResponderStart,F=j.onResponderMove,_=j.onResponderEnd,Z=j.onResponderRelease,V=j.onResponderTerminate,$=j.onResponderTerminationRequest;if(x.bubbles=!1,x.cancelable=!1,x.currentTarget=z,g)null!=H&&(x.dispatchConfig.registrationName="onResponderStart",H(x));else if(b)null!=F&&(x.dispatchConfig.registrationName="onResponderMove",F(x));else{var K=p(u)||"contextmenu"===u||"blur"===u&&v===window||"blur"===u&&v.contains(z)&&e.relatedTarget!==z||S&&0===M||S&&v.contains(z)&&v!==z||w&&function(e){if("selectionchange"===e.type){var t,n,r,o,i;return n=(t=window.getSelection()).toString(),r=t.anchorNode,o=t.focusNode,i=r&&r.nodeType===window.Node.TEXT_NODE||o&&o.nodeType===window.Node.TEXT_NODE,n.length>=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;n<t.length;n++){var r=t[n].target;if(null!=r&&e.contains(r))return!0}return!1}(z,e.touches);if(y&&null!=_&&(x.dispatchConfig.registrationName="onResponderEnd",_(x)),U&&(null!=Z&&(x.dispatchConfig.registrationName="onResponderRelease",Z(x)),P=C),K){var Y=!0;("contextmenu"===u||"scroll"===u||"selectionchange"===u)&&(E?Y=!1:null!=$&&(x.dispatchConfig.registrationName="onResponderTerminationRequest",!1===$(x)&&(Y=!1))),Y&&(null!=V&&(x.dispatchConfig.registrationName="onResponderTerminate",V(x)),P=C,O=!1,M=0)}}}}}var D=["blur","scroll"],B=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"];function N(e){P.id===e&&function(){var e=P,t=e.id,n=e.node;if(null!=t&&null!=n){var r=I(t).onResponderTerminate;if(null!=r){var o=s({},A);o.currentTarget=n,r(o)}P=C}O=!1,M=0}(),T.has(e)&&T.delete(e)}var W={},z=0;function j(e,t){void 0===t&&(t=W);var n,o,i=(n=()=>z++,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),()=>{N(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&&(N(i),l.current=!1)},[t,e,i]),r.useDebugValue({isResponder:e.current===P.node}),r.useDebugValue(t)}},131:function(e,t,n){"use strict";function r(e,t){}n.d(t,{O:function(){return r}})},7340:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let o=r<.5?r*(1+t):r+t-r*t,i=2*r-o;return Math.round(255*n(i,o,e+1/3))<<24|Math.round(255*n(i,o,e))<<16|Math.round(255*n(i,o,e-1/3))<<8}let o="[-+]?\\d*\\.?\\d+",i=o+"%";function l(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function a(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function u(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function s(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+l(o,o,o)),rgba:RegExp("rgba("+u(o,o,o,o)+"|"+a(o,o,o,o)+")"),hsl:RegExp("hsl"+l(o,i,i)),hsla:RegExp("hsla("+u(o,i,i,o)+"|"+a(o,i,i,o)+")"),hwb:RegExp("hwb"+l(o,i,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(s(p[1])<<24|s(p[2])<<16|s(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(s(p[6])<<24|s(p[7])<<16|s(p[8])<<8|d(p[9]))>>>0:(s(p[2])<<24|s(p[3])<<16|s(p[4])<<8|d(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),f(p[2]),f(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),f(p[7]),f(p[8]))|d(p[9]))>>>0:(r(c(p[2]),f(p[3]),f(p[4]))|d(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),f(p[2]),f(p[3])))>>>0:null}},8650:function(e,t){"use strict";t.D=void 0;var n=new WeakMap;function r(e){var t,r,o;return null!=e&&(t=!0===e.disableCache,r=!0===e.disableMix,o=e.transform),function(){for(var e=[],i="",l=null,a=t?null:n,u=Array(arguments.length),s=0;s<arguments.length;s++)u[s]=arguments[s];for(;u.length>0;){var c=u.pop();if(null!=c&&!1!==c){if(Array.isArray(c)){for(var d=0;d<c.length;d++)u.push(c[d]);continue}var f=null!=o?o(c):c;if(f.$$css){var p="";if(null!=a&&a.has(f)){var h=a.get(f);null!=h&&(p=h[0],e.push.apply(e,h[1]),a=h[2])}else{var m=[];for(var v in f){var g=f[v];"$$css"===v||("string"==typeof g||null===g?e.includes(v)||(e.push(v),null!=a&&m.push(v),"string"==typeof g&&(p+=p?" "+g:g)):console.error("styleq: ".concat(v," typeof ").concat(String(g),' is not "string" or "null".')))}if(null!=a){var b=new WeakMap;a.set(f,[p,m,b]),a=b}}p&&(i=i?p+" "+i:p)}else if(r)null==l&&(l={}),l=Object.assign({},f,l);else{var y=null;for(var S in f){var w=f[S];void 0===w||e.includes(S)||(null!=w&&(null==l&&(l={}),null==y&&(y={}),y[S]=w),e.push(S),a=null)}null!=y&&(l=Object.assign(y,l))}}}return[i,l]}}var o=r();t.D=o,o.factory=r},7106:function(e,t){"use strict";t.j=function(e,t){if(null!=e[r]){var i=t?1:0;if(n.has(e)){var l=n.get(e),a=l[i];return null==a&&(a=o(e,t),l[i]=a,n.set(e,l)),a}var u=o(e,t),s=[,,];return s[i]=u,n.set(e,s),u}return e};var n=new WeakMap,r="$$css$localize";function o(e,t){var n={};for(var o in e)if(o!==r){var i=e[o];Array.isArray(i)?n[o]=t?i[1]:i[0]:n[o]=i}return n}},2988:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},7998: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){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){!function(e,t,n){var o;(o=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==r(o)?o:o+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{Z:function(){return i}})},3950:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=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 P},Me:function(){return E},oo:function(){return A},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<u.length;n++){let{name:l,fn:v}=u[n],{x:g,y:b,data:y,reset:S}=await v({x:d,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=g?g:d,f=null!=b?b:f,h={...h,[l]:{...h[l],...y}},S&&m<=50&&(m++,"object"==typeof S&&(S.placement&&(p=S.placement),S.rects&&(c=!0===S.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:d,y:f}=o(c,p,s)),n=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:h}};async function l(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:a,elements:u,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r.ku)(t,e),m=(0,r.yd)(h),v=u[p?"floating"===f?"reference":"floating":f],g=(0,r.JB)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(v)))||n?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:c,rootBoundary:d,strategy:s})),b="floating"===f?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),S=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},w=(0,r.JB)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:y,strategy:s}):b);return{top:(g.top-w.top+m.top)/S.y,bottom:(w.bottom-g.bottom+m.bottom)/S.y,left:(g.left-w.left+m.left)/S.x,right:(w.right-g.right+m.right)/S.x}}async function a(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),a=(0,r.k3)(n),u=(0,r.hp)(n),s="y"===(0,r.Qq)(n),c=["left","top"].includes(a)?-1:1,d=l&&s?-1:1,f=(0,r.ku)(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return u&&"number"==typeof m&&(h="end"===u?-1*m:m),s?{x:h*d,y:p*c}:{x:p*c,y:h*d}}var u=n(5224);function s(e){let t=(0,u.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,u.Re)(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:o,s=(0,r.NM)(n)!==l||(0,r.NM)(o)!==a;return s&&(n=l,o=a),{width:n,height:o,$:s}}function c(e){return(0,u.kK)(e)?e:e.contextElement}function d(e){let t=c(e);if(!(0,u.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:l}=s(t),a=(l?(0,r.NM)(n.width):n.width)/o,d=(l?(0,r.NM)(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),d&&Number.isFinite(d)||(d=1),{x:a,y:d}}let f=(0,r.ze)(0);function p(e){let t=(0,u.Jj)(e);return(0,u.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:f}function h(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),a=c(e),s=(0,r.ze)(1);t&&(o?(0,u.kK)(o)&&(s=d(o)):s=d(e));let f=(void 0===(i=n)&&(i=!1),o&&(!i||o===(0,u.Jj)(a))&&i)?p(a):(0,r.ze)(0),h=(l.left+f.x)/s.x,m=(l.top+f.y)/s.y,v=l.width/s.x,g=l.height/s.y;if(a){let e=(0,u.Jj)(a),t=o&&(0,u.kK)(o)?(0,u.Jj)(o):o,n=e,r=n.frameElement;for(;r&&o&&t!==n;){let e=d(r),t=r.getBoundingClientRect(),o=(0,u.Dx)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,g*=e.y,h+=i,m+=l,r=(n=(0,u.Jj)(r)).frameElement}}return(0,r.JB)({width:v,height:g,x:h,y:m})}let m=[":popover-open",":modal"];function v(e){return m.some(t=>{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}}:{}}}},P=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<E?E:k)-v[m]/2<0,P=M?T<E?T-E:T-C:0;return{[h]:p[h]+P,data:{[h]:O,centerOffset:T-O-P,...M&&{alignmentOffset:P}},reset:M}}}),A=(e,t,n)=>{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!==P.current&&(P.current=e,R(e))},[]),T=o.useCallback(e=>{e!==A.current&&(A.current=e,k(e))},[]),O=p||x,M=h||E,P=o.useRef(null),A=o.useRef(null),I=o.useRef(b),L=null!=v,D=c(v),B=c(f),N=o.useCallback(()=>{if(!P.current||!A.current)return;let e={placement:t,strategy:n,middleware:S};B.current&&(e.platform=B.current),(0,r.oo)(P.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};W.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 W=o.useRef(!1);l(()=>(W.current=!0,()=>{W.current=!1}),[]),l(()=>{if(O&&(P.current=O),M&&(A.current=M),O&&M){if(D.current)return D.current(O,M,N);N()}},[O,M,N,D,L]);let z=o.useMemo(()=>({reference:P,floating:A,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:N,refs:z,elements:j,floatingStyles:H}),[b,N,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 eX},aN:function(){return tg},xp:function(){return tS},eS:function(){return e7},Qu:function(){return eP},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},P=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)},A=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(P(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(!P(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=!P(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)||A(e))&&!D(e)?0:e.tabIndex},N=function(e,t){var n=B(e);return n<0&&t&&!D(e)?0:n},W=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;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},H=function(e){if(!e.name)return!0;var t,n=e.form||M(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=j(t,e.form);return!o||o===e},F=function(e){var t,n,r,o,i,l,a,u=e&&M(e),s=null===(t=u)||void 0===t?void 0:t.host,c=!1;if(u&&u!==e)for(c=!!(null!==(n=s)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(s)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!c&&s;)c=!!(null!==(l=s=null===(i=u=M(s))||void 0===i?void 0:i.host)&&void 0!==l&&null!==(a=l.ownerDocument)&&void 0!==a&&a.contains(s));return c},_=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Z=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=O.call(e,"details>summary: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;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!O.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},$=function(e,t){var n,r,o;return!(z(n=t)&&"radio"===n.type&&!H(n)||0>B(t))&&(r=e,!((o=t).disabled||P(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=N(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(W).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)))},q=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==O.call(e,C)&&$(t,e)},X=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;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}let ee="ArrowUp",et="ArrowDown",en="ArrowLeft",er="ArrowRight";function eo(e,t,n){return Math.floor(e/t)!==n}function ei(e,t){return t<0||t>=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<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let eh=!1,em=0,ev=()=>"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(()=>{}),P=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(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){P()&&r(!1,e,"hover")}let t=g(c).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c,n,r,d,w,P]);let A=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(),A(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)||A(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(),A(t)}})(t))}},[s,c,d,e,h,m,b,A,I,L,r,n,y,x,w,i]),ef(()=>{var e,t;if(d&&n&&null!=(e=w.current)&&e.__options.blockPointerEvents&&P()){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,P]),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){A(e.nativeEvent,!1)}}}},[d,h,n,m,r,A])}let eT=()=>{},eO=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:eT,setState:eT,isInstantPhase:!1}),eM=()=>o.useContext(eO);function eP(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 eA(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eI=new WeakMap,eL=new WeakSet,eD={},eB=0,eN=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,eW=e=>e&&(e.host||eW(e.parentNode)),ez=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=eW(t);return e.contains(n)?n:null}).filter(e=>null!=e);function 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),eq=ex("portal");function eX(e){let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,a=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=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(eq,""),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(eq,""),(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,X.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(!q(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,P=x(T)&&M,A=!eN()||s,I=eR(i),L=eR(c),D=eR(p),B=ew(),N=eG(),W=o.useRef(null),z=o.useRef(null),j=o.useRef(!1),H=o.useRef(!1),F=null!=N,_=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?W: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&&!P&&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,P,_,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==N?void 0:N.portalNode,t)||null!=t&&t.hasAttribute(ex("focus-guard"))||B&&(eA(B.nodesRef.current,R).find(e=>{var n,r;return u(null==(n=e.context)?void 0:n.elements.floating,t)||u(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],o=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(B.nodesRef.current,R).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));t&&n&&!H.current&&t!==e0()&&(j.current=!0,E(!1,e))})}},[r,T,O,h,R,B,N,E,v]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==N||null==(e=N.portalNode)?void 0:e.querySelectorAll("["+ex("portal")+"]"))||[]);if(O){let e=[O,...t,W.current,z.current,I.current.includes("reference")||P?T:null].filter(e=>null!=e),n=h||P?ej(e,A,!A):ej(e);return()=>{n()}}},[r,T,O,h,I,N,P,A]),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&&eA(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&&N)return N.setFocusManagerState({modal:h,closeOnFocusOut:v,open:b,onOpenChange:E,refs:S}),()=>{N.setFocusManagerState(null)}},[r,N,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&&A&&(F||h);return o.createElement(o.Fragment,null,$&&o.createElement(eU,{"data-type":"inside",ref:null==N?void 0:N.beforeInsideRef,onFocus:e=>{if(h){let e=Z();ed("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=N&&N.preserveTabOrder&&N.portalNode){if(j.current=!1,eV(e,N.portalNode)){let e=e_()||T;null==e||e.focus()}else{var t;null==(t=N.beforeOutsideRef.current)||t.focus()}}}}),!P&&V("start"),n,V("end"),$&&o.createElement(eU,{"data-type":"inside",ref:null==N?void 0:N.afterInsideRef,onFocus:e=>{if(h)ed(Z()[0]);else if(null!=N&&N.preserveTabOrder&&N.portalNode){if(v&&(j.current=!0),eV(e,N.portalNode)){let e=eZ()||T;null==e||e.focus()}else{var t;null==(t=N.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"},e6={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e8=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function 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}=e8(w),{escapeKey:P,outsidePress:A}=e8(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?eA(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&&eA(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?eA(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",P?L:I,P),k&&t.addEventListener(h,A?B:D,A);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",P?L:I,P),k&&t.removeEventListener(h,A?B:D,A),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[c,s,a,i,f,k,h,n,r,S,d,O,M,I,P,L,D,A,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},[e6[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;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...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:P=!0,disabledIndices:A,orientation:I="vertical",cols:L=1,scrollItemIntoView:D=!0,virtualItemRef:B,itemSizes:N,dense:W=!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),q=eR(A),X=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,q.current):ea(c,q.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,q]),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=q.current;function t(t){if(V.current=!1,U.current=!0,!X.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=N||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;n<l;n++)for(let r=0;r<a;r++)e.push(o+n+r*t);o%t+l<=t&&e.every(e=>null==r[e])?(e.forEach(e=>{r[e]=i}),u=!0):o++}}),[...r]}(n,L,W),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-i<a||d<0)){let e=s%i,t=u%i,n=u-(t-e);d=t===e?u:t>e?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),eA(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||P||!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&&P?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,q,X,c,b,I,C,T,n,eb,k,y,P,S,L,E,O,H,r,ey,j,B,N,W])}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<p.offsetHeight*Math.min(a,n.current.length-1)-1||g.top>=-u||g.bottom>=-u?(0,X.flushSync)(()=>o(!0)):(0,X.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,X.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,X.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<i;l=e++){let[i,a]=t[e]||[0,0],[u,s]=t[l]||[0,0];a>=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,P=d>T.bottom-T.height/2,A=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,N=(L?C:T).top,W=(L?C:T).bottom;if(E&&(i=!0,!R))return;if(k&&(i=!1),k&&!R){i=!0;return}if(R&&(0,l.kK)(e.relatedTarget)&&u(p.floating,e.relatedTarget)||v&&eA(v.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===O&&d>=C.bottom-1||"bottom"===O&&d<=C.top+1||"left"===O&&r>=C.right-1||"right"===O&&r<=C.left+1)return g();let z=[];switch(O){case"top":z=[[D,C.top+1],[D,T.bottom-1],[B,T.bottom-1],[B,C.top+1]];break;case"bottom":z=[[D,T.top+1],[D,C.bottom-1],[B,C.bottom-1],[B,T.top+1]];break;case"left":z=[[T.right-1,W],[T.right-1,N],[C.left+1,N],[C.left+1,W]];break;case"right":z=[[C.right-1,W],[C.right-1,N],[T.left+1,N],[T.left+1,W]]}if(!ty([b,S],z)){if(i&&!A)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[[P?T.right-n:L?T.right-n:T.left,T.top],[P?L?T.right-n:T.left:T.right-n,T.bottom],[t+n+1,L?r+n/2:P?r+4*n:r-4*n],[t+n+1,L?r-n/2:P?r+4*n:r-4*n]];case"right":{let e=[[P?T.left+n:L?T.left+n:T.right,T.top],[P?L?T.left+n:T.right:T.left+n,T.bottom]];return[[t-n,L?r+n/2:P?r+4*n:r-4*n],[t-n,L?r-n/2:P?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(2145),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<k;e++){let t=R[e];-1===E.indexOf(t)?S.add(t):S.delete(t)}return p&&S.size&&(x=[]),S.forEach(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(2145),l=n(1676),a=n(2545),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(5260),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:P,ellipse:A,maxFontSizeMultiplier:I,...L}=i,D=i.size||(i.unstyled?void 0:"$true"),B=i.color,N=("number"==typeof D?.5*D:(0,r.yv)(D,{font:k?.[0]==="$"?k:void 0}))*y,[W,z]=[a,c].map((0,l.Zw)({size:N,color:B})),j=f??(0,m.Ve)(N)*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:A,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,ensureKeys:!0,separator:x,direction:"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal",children:[W,...H,z]}),_={size:D,...t.disabled&&{focusable:void 0,focusVisibleStyle:{borderColor:"$background"}},tag:P??(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 l},k:function(){return i}});var r=n(2265),o=n(2281);function i(e,t){let n=r.createContext(t);function i(e){let{children:t,...i}=e,l=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(n.Provider,{value:l,children:t})}return i.displayName=`${e}Provider`,[i,function(o){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function l(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(2145);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;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function f(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.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"]),P=(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),A=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({},A),{ref:P})):c.createElement(void 0===O?"div":O,d({},A,{className:S,ref:P}),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(),P="data-scroll-locked",A=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(P,"] {\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(P,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},I=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},L=function(){c.useEffect(function(){return document.body.setAttribute(P,(I()+1).toString()),function(){var e=I()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,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:A(i,!t,o,n?"":"!important")})},B=!1;if("undefined"!=typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){return B=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(e){B=!1}var W=!!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;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map($),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!l.current.allowPinchZoom;var o,i=Z(e),a=n.current,u="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(u)>Math.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,W),document.addEventListener("touchmove",u,W),document.addEventListener("touchstart",d,W),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,W),document.removeEventListener("touchmove",u,W),document.removeEventListener("touchstart",d,W)}},[]);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),q=c.forwardRef(function(e,t){return c.createElement(S,d({},e,{ref:t,sideCar:Y}))});q.classNames=S.classNames;var X=n(2281);let G=(0,c.memo)(e=>e.children?(0,X.jsx)(q,{...e}):null);q.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}}}})},1021:function(e,t,n){"use strict";n.d(t,{yo:function(){return eC}});var r=n(4975),o=n(5377),i=n(2545),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(2145),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),P=n(1130),A=n(4624),I=n(5832),L={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){(0,I.Z)()},removeAllListeners(){},removeListener(){}};let D=()=>{let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=L.addListener("keyboardDidShow",()=>{t(!0)}),n=L.addListener("keyboardDidHide",()=>{t(!1)});return()=>{n.remove(),e.remove()}},[]),e};var B=n(7445),N=n.n(B),W=n(7998);class z{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():(N()("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 j{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<n;o++)r[o-1]=arguments[o];for(var i=0,l=[...t];i<l.length;i++){var a=l[i];a.listener.apply(a.context,r)}}}removeAllListeners(e){null==e?this._registry={}:delete this._registry[e]}listenerCount(e){var t=this._registry[e];return null==t?0:t.size}}var H=n(1213).Z&&void 0!==window.requestIdleCallback,F=H?window.requestIdleCallback:function(e,t){return setTimeout(()=>{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};H&&window.cancelIdleCallback;var _=new j,Z={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],n=new Promise(n=>{G(),e&&t.push(e),t.push({run:n,name:"resolve "+(e&&e.name||"?")}),U.enqueueTasks(t)});return{then:n.then.bind(n),done:n.then.bind(n),cancel:()=>{U.cancelTasks(t)}}},createInteractionHandle(){G();var e=++q;return $.add(e),e},clearInteractionHandle(e){N()(!!e,"Must provide a handle to clear."),G(),$.delete(e),K.add(e)},addListener:_.addListener.bind(_),setDeadline(e){X=e}},V=new Set,$=new Set,K=new Set,U=new z({onMoreTasks:G}),Y=0,q=0,X=-1;function G(){Y||(Y=X>0?setTimeout(J):F(J))}function J(){Y=0;var e=V.size;$.forEach(e=>V.add(e)),K.forEach(e=>V.delete(e));var t=V.size;if(0!==e&&0===t?_.emit(Z.Events.interactionComplete):0===e&&0!==t&&_.emit(Z.Events.interactionStart),0===t){for(var n=Date.now();U.hasTasksToProcess();)if(U.processNext(),X>0&&Date.now()-n>=X){G();break}}$.clear(),K.clear()}var Q={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<o.length;u++){var s=o[u];null!=s&&s.touchActive&&s.currentTimeStamp>=t&&(i+=r&&n?s.currentPageX:r&&!n?s.currentPageY:!r&&n?s.previousPageX:s.previousPageY,l++)}return l>0?i/l:Q.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return Q.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return Q.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return Q.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return Q.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return Q.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return Q.centroidDimension(e,0,!1,!0)},noCentroid:-1},ee=Q.currentCentroidXOfTouchesChangedAfter,et=Q.currentCentroidYOfTouchesChangedAfter,en=Q.previousCentroidXOfTouchesChangedAfter,er=Q.previousCentroidYOfTouchesChangedAfter,eo=Q.currentCentroidX,ei=Q.currentCentroidY,el={_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=ee(t,e._accountsForMovesUpTo),e.moveY=et(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=en(t,n),o=ee(t,n),i=er(t,n),l=et(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&&el._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&&(el._updateGestureStateOnMove(n,r),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,n))},onResponderGrant:r=>(t.handle||(t.handle=Z.createInteractionHandle()),t.timeout&&clearTimeout(t.timeout),t.shouldCancelClick=!0,n.x0=eo(r.touchHistory),n.y0=ei(r.touchHistory),n.dx=0,n.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(r,n),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(r,n)),onResponderReject(r){ea(t,e.onPanResponderReject,r,n)},onResponderRelease(r){ea(t,e.onPanResponderRelease,r,n),eu(t),el._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&&(el._updateGestureStateOnMove(n,r),e.onPanResponderMove&&e.onPanResponderMove(t,n))},onResponderEnd(r){var o=r.touchHistory;n.numberActiveTouches=o.numberActiveTouches,ea(t,e.onPanResponderEnd,r,n)},onResponderTerminate(r){ea(t,e.onPanResponderTerminate,r,n),eu(t),el._initializeGestureState(n)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,n),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function ea(e,t,n,r){e.handle&&(Z.clearInteractionHandle(e.handle),e.handle=null),t&&t(n,r)}function eu(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}var es=n(1090),ec=n(5275);let ed=(0,v.createContext)({zIndex:1e5}),ef=(0,v.createContext)(null);function ep(e,t,n=25){return e<t?t+-(1.1-.15**(Math.min(n,t-e)/n))*n:e}var eh=n(3277),em=n(7657);let ev=e=>{let{isHidden:t,controller:n}=(0,em.$)(),[r,o]=(0,eh.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 eg=n(3020),eb=n(2281);let ey=(0,E.Y)((0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(ed),{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=D(),g=ev(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,eh.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,eg.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:I,snapPointsMode:B,hasFit:N,position:W,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)})(),[q,X]=(0,v.useState)(!1),G=!l.$L&&i&&q,J=(0,v.useContext)(ef),Q=(0,v.useCallback)(e=>{X(e)},[]),ee=(0,v.useMemo)(()=>I.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,I,B]),{animationDriver:et}=T(),{useAnimatedNumber:en,useAnimatedNumberStyle:er,useAnimatedNumberReaction:eo}=et,ei=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]),eu=en(10000.1),em=(0,v.useRef)(10000.1);function ey(){eu.stop(),j.onFinishAnimate&&(j.onFinishAnimate(),j.onFinishAnimate=void 0)}eo({value:eu,hostRef:K},(0,v.useCallback)(e=>{em.current=e,j.paneY=e},[et]));let eS=10000.1===em.current,ew=(0,O.z)(e=>{if(0===E)return;let t=$||-1===e?H:ee[e];if(em.current!==t){if(em.current=t,ey(),eS||$){eu.setValue(H,{type:"timing",duration:0},()=>{$||(t=ee[e],em.current=t,eu.setValue(t,{type:"spring",...Y}))});return}eu.setValue(t,{type:"spring",...Y})}});(0,l.LI)(()=>{H&&eS&&eu.setValue(H,{type:"timing",duration:0})},[eS,H]),(0,l.LI)(()=>{E&&H&&!$&&(!eS||Z)&&ew(W)},[$,E,H,Z,W]);let ex=e.disableDrag??V?.disableDrag,eR=(0,M.C)(),[eE,ek]=(0,v.useState)(!1),eC=(0,v.useMemo)(()=>{if(ex||!E||q)return;let e=ee[0];j.paneMinY=e;let t=em.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;e<ee.length;e++){let t=ee[e],n=o>t?o-t:t-o;n<l&&(l=n,i=e)}z(i),ew(i)},o=(e,t)=>{r({vy:t.vy,dragAt:t.dy})},i=()=>{n(!0),ey(),t=em.current},a=!1;return j.drag=n=>{a||(a=!0,i());let r=n+t;eu.setValue(ep(r,e),{type:"direct"})},j.release=r,el.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=ep(r+t,e);eu.setValue(o,{type:"direct"})},onPanResponderEnd:o,onPanResponderTerminate:o,onPanResponderRelease:o})},[ex,q,ew,E,ee,z]),eT=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,es.Z.get("window").height);t&&C(t)},[m]),eO=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,es.Z.get("window").height);t&&F(t)},[m]),eM=er(eu,e=>({transform:[{translateY:0===E?10000.1:e}]})),eP=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(l.$L||!u)return;let e=L.addListener("keyboardDidShow",e=>{null===eP.current&&(eP.current=eu.getValue(),eu.setValue(Math.max(eu.getValue()-e.endCoordinates.height,0)))}),t=L.addListener("keyboardDidHide",()=>{null!==eP.current&&(eu.setValue(eP.current),eP.current=null)});return()=>{t.remove(),e.remove()}},[u]);let[eA,eI]=(0,v.useState)(Z?1:0);Z&&0===eA&&eI(1),(0,v.useEffect)(()=>{if(!Z){let e=setTimeout(()=>{eI(0)},400);return()=>{clearTimeout(e)}}},[Z]);let eL=N?void 0:"percent"===B?`${_}${l.$L?"dvh":"%"}`:_,eD=(0,eb.jsx)(ed.Provider,{value:ea,children:(0,eb.jsxs)(S,{...w,children:[(0,eb.jsx)(R.M,{custom:{open:Z},children:G||!Z?null:b}),"percent"!==B&&(0,eb.jsx)(ec.Z,{style:{opacity:0,position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none"},onLayout:eO}),(0,eb.jsx)(ei,{ref:U,...eC?.panHandlers,onLayout:eT,...!eE&&{animation:r},disableClassName:!0,style:[{position:"absolute",zIndex:a,width:"100%",height:eL,minHeight:eL,opacity:eA,...(G||!Z)&&{pointerEvents:"none"}},eM],children:e.children})]})}),eB=(0,v.useContext)(x.fG);if(i){let e=(0,eb.jsx)(A.h_,{zIndex:a,...p,children:!!(eA||!s)&&(0,eb.jsx)(h,{children:(0,eb.jsx)(P.Q,{forceClassName:!0,name:eR,children:(0,eb.jsx)(x.fG.Provider,{value:eB,children:eD})})})});return l.$L?e:(0,eb.jsx)(ef.Provider,{value:Q,children:e})}return eD}));var eS=n(5295);let ew=(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,eb.jsx)(eS.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])})}),ex=({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 eR=n(357);let eE=(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"===eR.env.TAMAGUI_HEADLESS}}),ek=(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"===eR.env.TAMAGUI_HEADLESS}}),eC=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,eb.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,eb.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=ex(u),S=(0,v.useMemo)(()=>(0,eb.jsxs)(t,{ref:b,flex:s?0:1,height:s?void 0:p,pointerEvents:g?"auto":"none",...i,children:[o,n&&(0,eb.jsx)(f.Kq,{"data-sheet-offscreen-pad":!0,height:y,width:"100%"})]}),[g,i,p,y,n,s]);return(0,eb.jsxs)(eb.Fragment,{children:[(0,eb.jsx)(h.f,{forwardProps:!0,enabled:c,allowPinchZoom:!0,shards:[m],removeScrollBar:!1,children:S}),!r&&(0,eb.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,em.$)();return e.native&&g.Z.OS,r||!n?null:(0,eb.jsx)(ey,{ref:t,...e})}),b={Frame:i,Overlay:o,Handle:r,ScrollView:ew},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"===eR.env.TAMAGUI_HEADLESS}}),Handle:eE,Overlay:ek})},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)},2545:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var r=n(4975),o=n(5377),i=n(5402);let l={backgroundColor:"transparent",borderColor:"transparent",shadowColor:"transparent",hoverStyle:{borderColor:"transparent"}},a={backgrounded:{true:{backgroundColor:"$background"}},radiused:i.Dy,hoverTheme:i.TW,pressTheme:i.mK,focusTheme:i.DM,circular:i.iu,padded:i.gN,elevate:i.NE,bordered:i.Dq,transparent:{true:{backgroundColor:"transparent"}},chromeless:{true:l,all:{...l,hoverStyle:l,pressStyle:l,focusStyle:l}}},u=(0,r.z)(o.FA,{variants:a})},5402:function(e,t,n){"use strict";n.d(t,{DM:function(){return f},Dq:function(){return i},Dy:function(){return a},NE:function(){return o},TW:function(){return c},gN:function(){return l},iu:function(){return s},mK:function(){return d}});var r=n(8587);let o={true:(e,t)=>(0,r.y)(t.props.size,t)},i=(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"}}}),l={true:(e,t)=>{let{tokens:n,props:r}=t;return{padding:n.space[r.size]||n.space.$true}}},a={true:(e,t)=>{let{tokens:n,props:r}=t;return{borderRadius:n.radius[r.size]||n.radius.$true}}},u={borderRadius:1e5,padding:0},s={true:(e,{props:t,tokens:n})=>{if(!("size"in t))return u;let r="number"==typeof t.size?t.size:n.size[t.size];return{...u,width:r,height:r,maxWidth:r,maxHeight:r,minWidth:r,minHeight:r}}},c={true:{hoverStyle:{backgroundColor:"$backgroundHover",borderColor:"$borderColorHover"}},false:{}},d={true:{cursor:"pointer",pressStyle:{backgroundColor:"$backgroundPress",borderColor:"$borderColorPress"}},false:{}},f={true:{focusStyle:{backgroundColor:"$backgroundFocus",borderColor:"$borderColorFocus"}},false:{}}},1217:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(4975),o=n(2026);let i=(0,r.z)(o.J,{name:"Paragraph",tag:"p",userSelect:"auto",color:"$color",size:"$true",whiteSpace:"normal"})},2026:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(8970),o=n(4975),i=n(8475),l=n(357);let a=(0,o.z)(i.x,{name:"SizableText",fontFamily:"$body",variants:{unstyled:{false:{size:"$true",color:"$color"}},size:r.H},defaultVariants:{unstyled:"1"===l.env.TAMAGUI_HEADLESS}});a.staticConfig.variants.fontFamily={"...":(e,t)=>{let n=t.props.size||"$true";return(0,r.H)(n,t)}}},2875:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(2265),o=n(2281);function i(e,t,n){let{children:i,textProps:l,size:a,noTextWrap:u,color:s,fontFamily:c,fontSize:d,fontWeight:f,letterSpacing:p,textAlign:h,fontStyle:m,maxFontSizeMultiplier:v}=t;if(u||!i)return[i];let g={...n};return s&&(g.color=s),c&&(g.fontFamily=c),d&&(g.fontSize=d),f&&(g.fontWeight=f),p&&(g.letterSpacing=p),h&&(g.textAlign=h),a&&(g.size=a),m&&(g.fontStyle=m),v&&(g.maxFontSizeMultiplier=v),r.Children.toArray(i).map((t,n)=>"string"==typeof t?(0,o.jsx)(e,{...g,...l,children:t},n):t)}},3020:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(2265);function o(e){if(typeof document>"u")return(0,r.useMemo)(()=>e(),[]);let t=(0,r.useRef)();return t.current||(t.current={v:e()}),t.current.v}},3277:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(9087),o=n(2265);let i=e=>e();function l({prop:e,defaultProp:t,onChange:n,strategy:l="prop-wins",preventUpdate:u,transition:s}){let[c,d]=(0,o.useState)(e??t),f=(0,o.useRef)(c),p="prop-wins"===l&&void 0!==e,h=p?e:c,m=(0,r.z)(n||a),v=s?o.startTransition:i;return(0,o.useEffect)(()=>{void 0!==e&&(f.current=e,v(()=>{d(e)}))},[e]),(0,o.useEffect)(()=>{p||c!==f.current&&(f.current=c,m(c))},[m,c,p]),[h,(0,r.z)(e=>{u||(p?m("function"==typeof e?e(f.current):e):v(()=>{d(e)}))})]}let a=()=>{}},1386:function(e,t,n){"use strict";n.d(t,{Lb:function(){return f},wN:function(){return d}});var r=n(2265),o=n(5986),i=n(7562),l=n(5260),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}}}]);