creactive 0.0.156 → 0.0.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/server.js +1 -1
- package/package.json +1 -1
package/build/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("creactive",["react","react-dom"],t):"object"==typeof exports?exports.creactive=t(require("react"),require("react-dom")):e.creactive=t(e.react,e["react-dom"])}(this,((e,t)=>(()=>{"use strict";var r={486:(e,t,r)=>{function n(e){return n="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},n(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e){return e.filter((function(t,r){return e.lastIndexOf(t)===r}))}function o(e){for(var t=0,r=arguments.length<=1?0:arguments.length-1;t<r;++t){var s=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var l in s){var u=s[l],c=e[l];if(c&&u){if(Array.isArray(c)){e[l]=a(c.concat(u));continue}if(Array.isArray(u)){e[l]=a([c].concat(function(e){if(Array.isArray(e))return i(e)}(d=u)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(d)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(d)||function(){throw new 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"===n(u)){e[l]=o({},c,u);continue}}e[l]=u}}var d;return e}r.r(t),r.d(t,{assignStyle:()=>o,camelCaseProperty:()=>d,cssifyDeclaration:()=>f,cssifyObject:()=>v,hyphenateProperty:()=>p,isPrefixedProperty:()=>g,isPrefixedValue:()=>y,isUnitlessProperty:()=>A,normalizeProperty:()=>L,resolveArrayValue:()=>O,unprefixProperty:()=>N,unprefixValue:()=>D});var s=/-([a-z])/g,l=/^Ms/g,u={};function c(e){return e[1].toUpperCase()}function d(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(s,c).replace(l,"ms");return u[e]=t,t}var h=r(685);function p(e){return(0,h.default)(e)}function f(e,t){return p(e)+":"+t}function v(e){var t="";for(var r in e){var n=e[r];"string"!=typeof n&&"number"!=typeof n||(t&&(t+=";"),t+=f(r,n))}return t}var m=/^(Webkit|Moz|O|ms)/;function g(e){return m.test(e)}var _=/-webkit-|-moz-|-ms-/;function y(e){return"string"==typeof e&&_.test(e)}var b={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"],R=["Webkit","ms","Moz","O"];function E(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}for(var C=0,w=S.length;C<w;++C){var T=S[C];b[T]=!0;for(var k=0,x=R.length;k<x;++k)b[E(R[k],T)]=!0}for(var P in b)b[p(P)]=!0;function A(e){return b.hasOwnProperty(e)}var I=/^(ms|Webkit|Moz|O)/;function N(e){var t=e.replace(I,"");return t.charAt(0).toLowerCase()+t.slice(1)}function L(e){return N(d(e))}function O(e,t){return t.join(";"+p(e)+":")}var M=/(-ms-|-webkit-|-moz-|-o-)/g;function D(e){return"string"==typeof e?e.replace(M,""):e}},721:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(685))&&n.__esModule?n:{default:n}},14:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&r.test(e)};var r=/-webkit-|-moz-|-ms-/},395:e=>{function t(e){return function(){return e}}var r=function(){};r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},646:e=>{e.exports=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(n[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},594:(e,t,r)=>{var n=r(395);e.exports=n},685:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var n=/[A-Z]/g,i=/^ms-/,a={};function o(e){return"-"+e.toLowerCase()}const s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(n,o);return a[e]=i.test(t)?"-"+t:t}},485:(e,t,r)=>{t.A=function(e){var t=e.prefixMap,r=e.plugins;return function e(s){for(var l in s){var u=s[l];if((0,o.default)(u))s[l]=e(u);else if(Array.isArray(u)){for(var c=[],d=0,h=u.length;d<h;++d){var p=(0,i.default)(r,l,u[d],s,t);(0,a.default)(c,p||u[d])}c.length>0&&(s[l]=c)}else{var f=(0,i.default)(r,l,u,s,t);f&&(s[l]=f),s=(0,n.default)(t,l,s)}}return s}};var n=s(r(49)),i=s(r(971)),a=s(r(863)),o=s(r(99));function s(e){return e&&e.__esModule?e:{default:e}}},217:(e,t)=>{t.A=function(){return null}},261:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,n.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return a.map((function(e){return t.replace(i,e+"cross-fade(")}))};var n=r(486),i=/cross-fade\(/g,a=["-webkit-",""]},41:(e,t)=>{t.A=function(e,t){if("cursor"===e&&n.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],n={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},33:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,n.isPrefixedValue)(t)&&-1!==t.indexOf("filter("))return a.map((function(e){return t.replace(i,e+"filter(")}))};var n=r(486),i=/filter\(/g,a=["-webkit-",""]},852:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var n,i=(n=r(14))&&n.__esModule?n:{default:n},a=["-webkit-",""]},20:(e,t)=>{t.A=function(e,t,n){if(Object.prototype.hasOwnProperty.call(r,e))for(var i=r[e],a=0,o=i.length;a<o;++a)n[i[a]]=t};var r={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"]}},996:(e,t)=>{t.A=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}},129:(e,t)=>{t.A=function(e,t){if(n.hasOwnProperty(e)&&i.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],n={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},508:(e,t,r)=>{t.A=function(e,t,r,o){if("string"==typeof t&&s.hasOwnProperty(e)){var u=function(e,t){if((0,i.default)(e))return e;for(var r=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),a=0,o=r.length;a<o;++a){var s=r[a],u=[s];for(var c in t){var d=(0,n.default)(c);if(s.indexOf(d)>-1&&"order"!==d)for(var h=t[c],p=0,f=h.length;p<f;++p)u.unshift(s.replace(d,l[h[p]]+d))}r[a]=u.join(",")}return r.join(",")}(t,o),c=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-moz-|-ms-/.test(e)})).join(",");if(e.indexOf("Webkit")>-1)return c;var d=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?d:(r["Webkit"+(0,a.default)(e)]=c,r["Moz"+(0,a.default)(e)]=d,u)}};var n=o(r(721)),i=o(r(14)),a=o(r(91));function o(e){return e&&e.__esModule?e:{default:e}}var s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},863:(e,t)=>{function r(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 n=0,i=t.length;n<i;++n)r(e,t[n]);else r(e,t)}},91:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},99:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)}},49:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=e[t];if(n&&r.hasOwnProperty(t))for(var a=(0,i.default)(t),o=0;o<n.length;++o){var s=n[o]+a;r[s]||(r[s]=r[t])}return r};var n,i=(n=r(91))&&n.__esModule?n:{default:n}},971:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){for(var a=0,o=e.length;a<o;++a){var s=e[a](t,r,n,i);if(s)return s}}},801:e=>{function t(e,t){if(null!=e)return e;var r=new Error(void 0!==t?t:"Got unexpected "+e);throw r.framesToPop=1,r}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},338:(e,t,r)=>{var n=r(514);t.H=n.createRoot,t.c=n.hydrateRoot},659:(e,t,r)=>{r.r(t),r.d(t,{AccessibilityInfo:()=>zt,ActivityIndicator:()=>Qs,Alert:()=>Wt,Animated:()=>es,AppRegistry:()=>hs,AppState:()=>ys,Appearance:()=>ns,BackHandler:()=>Ss,Button:()=>kl,CheckBox:()=>Il,Clipboard:()=>Es,DeviceEventEmitter:()=>Pd,Dimensions:()=>un,Easing:()=>Lo,FlatList:()=>Ci,I18nManager:()=>Cs,Image:()=>Fa,ImageBackground:()=>Ml,InteractionManager:()=>zn,Keyboard:()=>ws,KeyboardAvoidingView:()=>Bl,LayoutAnimation:()=>Ps,Linking:()=>Is,LogBox:()=>xd,Modal:()=>uu,NativeEventEmitter:()=>Ns,NativeModules:()=>Dt,PanResponder:()=>Us,Picker:()=>pu,PixelRatio:()=>xa,Platform:()=>jt,Pressable:()=>rc,ProgressBar:()=>oc,RefreshControl:()=>rn,SafeAreaView:()=>dc,ScrollView:()=>wn,SectionList:()=>qa,Share:()=>Ks,StatusBar:()=>fc,StyleSheet:()=>$e,Switch:()=>wc,Text:()=>to,TextInput:()=>Ic,Touchable:()=>ud,TouchableHighlight:()=>md,TouchableNativeFeedback:()=>bd,TouchableOpacity:()=>Cl,TouchableWithoutFeedback:()=>Cd,UIManager:()=>Mt,Vibration:()=>Ys,View:()=>Xr,VirtualizedList:()=>wd,YellowBox:()=>kd,findNodeHandle:()=>_t,processColor:()=>y,render:()=>Ct,unmountComponentAtNode:()=>bt,unstable_createElement:()=>vt,useColorScheme:()=>Ad,useLocaleContext:()=>Id,useWindowDimensions:()=>Nd});var n={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null};const i=e=>{var t=e.accessibilityRole,r=e.role||t;if(r){var i=n[r];if(null!==i)return i||r}};var a={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"},o={};const s=function(e){if(void 0===e&&(e=o),"label"===(e.role||e.accessibilityRole))return"label";var t=i(e);if(t){if("heading"===t){var r=e.accessibilityLevel||e["aria-level"];return null!=r?"h"+r:"h1"}return a[t]}},l=i;function u(e){return u="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},u(e)}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var f={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},v=["ms","Moz","O","Webkit"];Object.keys(f).forEach((e=>{v.forEach((t=>{f[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=f[e]}))}));const m=f;var g=r(515),_=r.n(g);const y=e=>{if(null==e)return e;var t=_()(e);return null!=t?t=(t<<24|t>>>8)>>>0:void 0},b=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&(e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("))(e))return e;var r=y(e);if(null!=r)return"rgba("+(r>>16&255)+","+(r>>8&255)+","+(255&r)+","+((r>>24&255)/255*t).toFixed(2)+")"}};var S={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function R(e,t){var r=e;return null!=t&&m[t]||"number"!=typeof e?null!=t&&S[t]&&(r=b(e)):r=e+"px",r}const E=!("undefined"==typeof window||!window.document||!window.document.createElement);var C={},w=!E||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),T='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',k={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"]};const x=(e,t)=>{if(!e)return C;var r={},n=function(){var n=e[i];if(null==n)return"continue";if("backgroundClip"===i)"text"===n&&(r.backgroundClip=n,r.WebkitBackgroundClip=n);else if("flex"===i)-1===n?(r.flexGrow=0,r.flexShrink=1,r.flexBasis="auto"):r.flex=n;else if("font"===i)r[i]=n.replace("System",T);else if("fontFamily"===i)if(n.indexOf("System")>-1){var a=n.split(/,\s*/);a[a.indexOf("System")]=T,r[i]=a.join(",")}else r[i]="monospace"===n?"monospace,monospace":n;else if("textDecorationLine"===i)w?r.textDecorationLine=n:r.textDecoration=n;else if("writingDirection"===i)r.direction=n;else{var o=R(e[i],i),s=k[i];t&&"inset"===i?(null==e.insetInline&&(r.left=o,r.right=o),null==e.insetBlock&&(r.top=o,r.bottom=o)):t&&"margin"===i?(null==e.marginInline&&(r.marginLeft=o,r.marginRight=o),null==e.marginBlock&&(r.marginTop=o,r.marginBottom=o)):t&&"padding"===i?(null==e.paddingInline&&(r.paddingLeft=o,r.paddingRight=o),null==e.paddingBlock&&(r.paddingTop=o,r.paddingBottom=o)):s?s.forEach(((t,n)=>{null==e[t]&&(r[t]=o)})):r[i]=o}};for(var i in e)n();return r};var P=/[A-Z]/g,A=/^ms-/,I={};function N(e){return"-"+e.toLowerCase()}var L=r(485),O=r(217),M=r(261),D=r(41),V=r(33),B=r(852),F=r(20),H=r(996),z=r(129),W=r(508),j=["Webkit"],U=["Webkit","ms"];const K={plugins:[O.A,M.A,D.A,V.A,B.A,F.A,H.A,z.A,W.A],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:U,textEmphasis:U,textEmphasisStyle:U,textEmphasisColor:U,boxDecorationBreak:U,clipPath:j,maskImage:U,maskMode:U,maskRepeat:U,maskPosition:U,maskClip:U,maskOrigin:U,maskSize:U,maskComposite:U,mask:U,maskBorderSource:U,maskBorderMode:U,maskBorderSlice:U,maskBorderWidth:U,maskBorderOutset:U,maskBorderRepeat:U,maskBorder:U,maskType:U,textDecorationStyle:j,textDecorationSkip:j,textDecorationLine:j,textDecorationColor:j,filter:j,breakAfter:j,breakBefore:j,breakInside:j,columnCount:j,columnFill:j,columnGap:j,columnRule:j,columnRuleColor:j,columnRuleStyle:j,columnRuleWidth:j,columns:j,columnSpan:j,columnWidth:j,backdropFilter:j,hyphens:j,flowInto:j,flowFrom:j,regionFragment:j,textOrientation:j,tabSize:["Moz"],fontKerning:j,textSizeAdjust:j}},G=(0,L.A)(K);var Y=["animationKeyframes"],q=new Map,X={},$={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},Z="borderTopLeftRadius",J="borderTopRightRadius",Q="borderBottomLeftRadius",ee="borderBottomRightRadius",te="borderLeftColor",re="borderLeftStyle",ne="borderLeftWidth",ie="borderRightColor",ae="borderRightStyle",oe="borderRightWidth",se="right",le="marginLeft",ue="marginRight",ce="paddingLeft",de="paddingRight",he="left",pe={[Z]:J,[J]:Z,[Q]:ee,[ee]:Q,[te]:ie,[re]:ae,[ne]:oe,[ie]:te,[ae]:re,[oe]:ne,[he]:se,[le]:ue,[ue]:le,[ce]:de,[de]:ce,[se]:he},fe={borderStartStartRadius:Z,borderStartEndRadius:J,borderEndStartRadius:Q,borderEndEndRadius:ee,borderInlineStartColor:te,borderInlineStartStyle:re,borderInlineStartWidth:ne,borderInlineEndColor:ie,borderInlineEndStyle:ae,borderInlineEndWidth:oe,insetInlineEnd:se,insetInlineStart:he,marginInlineStart:le,marginInlineEnd:ue,paddingInlineStart:ce,paddingInlineEnd:de},ve=["clear","float","textAlign"];function me(e){var t=G(x(e));return"{"+Object.keys(t).map((e=>{var r=t[e],n=function(e){if(e in I)return I[e];var t=e.replace(P,N);return I[e]=A.test(t)?"-"+t:t}(e);return Array.isArray(r)?r.map((e=>n+":"+e)).join(";"):n+":"+r})).sort().join(";")+";}"}function ge(e,t,r){return e+"-"+function(e){for(var t,r=e.length,n=1^r,i=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}(t+r).toString(36)}function _e(e){if("number"==typeof e)throw new Error("Invalid CSS keyframes type: "+typeof e);var t=[],r=[];return(Array.isArray(e)?e:[e]).forEach((e=>{if("string"==typeof e)t.push(e);else{var n=function(e){var t=ge("r","animation",JSON.stringify(e)),r="{"+Object.keys(e).map((t=>""+t+me(e[t]))).join("")+"}",n=["-webkit-",""].map((e=>"@"+e+"keyframes "+t+r));return[t,n]}(e),i=n[0],a=n[1];t.push(i),r.push(...a)}})),[t,r]}function ye(e,t,r){if(E){var n=null!=t?t:document,i=n.getElementById(e);if(null==i)if((i=document.createElement("style")).setAttribute("id",e),"string"==typeof r&&i.appendChild(document.createTextNode(r)),n instanceof ShadowRoot)n.insertBefore(i,n.firstChild);else{var a=n.head;a&&a.insertBefore(i,a.firstChild)}return i.sheet}return null}var be=Array.prototype.slice;function Se(e){var t,r={},n={};function i(e,t,n){var i=Ee(r),a=i.indexOf(t)+1,o=i[a],s=null!=o&&null!=r[o].start?r[o].start:e.cssRules.length,l=function(e,t,r){try{return e.insertRule(t,r),!0}catch(e){return!1}}(e,n,s);if(l){null==r[t].start&&(r[t].start=s);for(var u=a;u<i.length;u+=1){var c=i[u],d=r[c].start||0;r[c].start=d+1}}return l}null!=e&&be.call(e.cssRules).forEach(((e,i)=>{var a=e.cssText;if(a.indexOf("stylesheet-group")>-1)t=function(e){return Number(e.selectorText.split(Re)[1])}(e),r[t]={start:i,rules:[a]};else{var o=we(a);null!=o&&(n[o]=!0,r[t].rules.push(a))}}));var a={getTextContent:()=>Ee(r).map((e=>{var t=r[e].rules,n=t.shift();return t.sort(),t.unshift(n),t.join("\n")})).join("\n"),insert(t,a){var o=Number(a);if(null==r[o]){var s=function(e){return'[stylesheet-group="'+e+'"]{}'}(o);r[o]={start:null,rules:[s]},null!=e&&i(e,o,s)}var l=we(t);null!=l&&null==n[l]&&(n[l]=!0,r[o].rules.push(t),null!=e&&(i(e,o,t)||r[o].rules.pop()))}};return a}var Re=/["']/g;function Ee(e){return Object.keys(e).map(Number).sort(((e,t)=>e>t?1:-1))}var Ce=/\s*([,])\s*/g;function we(e){var t=e.split("{")[0].trim();return""!==t?t.replace(Ce,"$1"):null}var Te="react-native-stylesheet",ke=new WeakMap,xe=[],Pe=["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;}"];function Ae(e,t){var r;if(void 0===t&&(t=Te),E){var n=null!=e?e.getRootNode():document;if(0===xe.length)r=Se(ye(t)),Pe.forEach((e=>{r.insert(e,0)})),ke.set(n,xe.length),xe.push(r);else{var i=ke.get(n);if(null==i){var a=xe[0],o=null!=a?a.getTextContent():"";r=Se(ye(t,n,o)),ke.set(n,xe.length),xe.push(r)}else r=xe[i]}}else 0===xe.length?(r=Se(ye(t)),Pe.forEach((e=>{r.insert(e,0)})),xe.push(r)):r=xe[0];return{getTextContent:()=>r.getTextContent(),id:t,insert(e,t){xe.forEach((r=>{r.insert(e,t)}))}}}var Ie=r(336);var Ne={},Le={height:0,width:0},Oe=e=>{var t=e.shadowColor,r=e.shadowOffset,n=e.shadowOpacity,i=e.shadowRadius,a=r||Le,o=a.height,s=R(a.width),l=R(o),u=R(i||0),c=b(t||"black",n);if(null!=c&&null!=s&&null!=l&&null!=u)return s+" "+l+" "+u+" "+c},Me=e=>{var t=Object.keys(e)[0],r=e[t];return"matrix"===t||"matrix3d"===t?t+"("+r.join(",")+")":t+"("+R(r,t)+")"},De=e=>e.map(Me).join(" "),Ve={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"},Be={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},Fe=function(e,t){void 0===t&&(t={});var r=e||Ne,n={};if(t.shadow,null!=r.shadowColor||null!=r.shadowOffset||null!=r.shadowOpacity||null!=r.shadowRadius){var i=Oe(r);if(null!=i&&null==n.boxShadow){var a=r.boxShadow,o=a?a+", "+i:i;n.boxShadow=o}}if(t.textShadow,null!=r.textShadowColor||null!=r.textShadowOffset||null!=r.textShadowRadius){var s=(e=>{var t=e.textShadowColor,r=e.textShadowOffset,n=e.textShadowRadius,i=r||Le,a=i.height,o=i.width,s=n||0,l=R(o),u=R(a),c=R(s),d=R(t,"textShadowColor");if(d&&(0!==a||0!==o||0!==s)&&null!=l&&null!=u&&null!=c)return l+" "+u+" "+c+" "+d})(r);if(null!=s&&null==n.textShadow){var l=r.textShadow,u=l?l+", "+s:s;n.textShadow=u}}for(var c in r)if(null==Be[c]&&"shadowColor"!==c&&"shadowOffset"!==c&&"shadowOpacity"!==c&&"shadowRadius"!==c&&"textShadowColor"!==c&&"textShadowOffset"!==c&&"textShadowRadius"!==c){var d=r[c],h=Ve[c]||c,p=d;!Object.prototype.hasOwnProperty.call(r,c)||h!==c&&null!=r[h]||("aspectRatio"===h&&"number"==typeof p?n[h]=p.toString():"fontVariant"===h?(Array.isArray(p)&&p.length>0&&(p=p.join(" ")),n[h]=p):"textAlignVertical"===h?null==r.verticalAlign&&(n.verticalAlign="center"===p?"middle":p):"transform"===h?(Array.isArray(p)&&(p=De(p)),n.transform=p):n[h]=p)}return n},He=r(176),ze=["writingDirection"],We=new WeakMap,je=Ae(),Ue={shadow:!0,textShadow:!0};function Ke(e){e.forEach((e=>{var t=e[0],r=e[1];null!=je&&t.forEach((e=>{je.insert(e,r)}))}))}var Ge={position:"absolute",left:0,right:0,top:0,bottom:0},Ye=qe({x:h({},Ge)}).x;function qe(e){return Object.keys(e).forEach((t=>{var r,n,i,a=e[t];null!=a&&!0!==a.$$css&&(t.indexOf("$raw")>-1?r=function(e,t){var r=function(e,t){var r,n={$$css:!0},i=[],a=e.animationKeyframes,o=p(e,Y),s=ge("css",t,JSON.stringify(e)),l="."+s;if(null!=a){var u=_e(a),c=u[0],d=u[1];r=c.join(","),i.push(...d)}var f=me(h(h({},o),{},{animationName:r}));return i.push(""+l+f),n[s]=s,[n,[[i,1]]]}(e,t),n=r[0];return Ke(r[1]),n}(a,t.split("$raw")[0]):(n=function(e){var t={$$css:!0},r=[];function n(e,t,n){var i,a=function(e,t){var r=R(e,t);return"string"!=typeof r?JSON.stringify(r||""):r}(n,t),o=t+a,s=q.get(o);if(null!=s)i=s[0],r.push(s[1]);else{i=ge("r",e,e!==t?o:a);var l=$[e]||3,u=function(e,t,r){var n=[],i="."+e;switch(t){case"animationKeyframes":var a=_e(r),o=a[0],s=a[1],l=me({animationName:o.join(",")});n.push(""+i+l,...s);break;case"placeholderTextColor":var u=me({color:r,opacity:1});n.push(i+"::-webkit-input-placeholder"+u,i+"::-moz-placeholder"+u,i+":-ms-input-placeholder"+u,i+"::placeholder"+u);break;case"pointerEvents":var c=r;if("auto"===r||"box-only"===r){if(c="auto!important","box-only"===r){var d=me({pointerEvents:"none"});n.push(i+">*"+d)}}else if(("none"===r||"box-none"===r)&&(c="none!important","box-none"===r)){var h=me({pointerEvents:"auto"});n.push(i+">*"+h)}var p=me({pointerEvents:c});n.push(""+i+p);break;case"scrollbarWidth":"none"===r&&n.push(i+"::-webkit-scrollbar{display:none}");var f=me({scrollbarWidth:r});n.push(""+i+f);break;default:var v=me({[t]:r});n.push(""+i+v)}return n}(i,t,n),c=[u,l];r.push(c),q.set(o,[i,c])}return i}return Object.keys(e).sort().forEach((r=>{var i=e[r];if(null!=i){var a;if(ve.indexOf(r)>-1){var o=n(r,r,"left"),s=n(r,r,"right");"start"===i?a=[o,s]:"end"===i&&(a=[s,o])}var l=fe[r];if(null!=l){var u=n(r,l,i),c=n(r,pe[l],i);a=[u,c]}if("transitionProperty"===r){for(var d=Array.isArray(i)?i:[i],h=[],p=0;p<d.length;p++){var f=d[p];"string"==typeof f&&null!=fe[f]&&h.push(p)}if(h.length>0){var v=[...d],m=[...d];h.forEach((e=>{var t=v[e];if("string"==typeof t){var i=fe[t],o=pe[i];v[e]=i,m[e]=o;var s=n(r,r,v),l=n(r,r,m);a=[s,l]}}))}}null==a?a=n(r,r,i):t.$$css$localize=!0,t[r]=a}})),[t,r]}(Fe(a,Ue)),i=n[0],Ke(n[1]),r=i),We.set(a,r))})),e}function Xe(e,t){void 0===t&&(t={});var r="rtl"===t.writingDirection,n=function(e,t){void 0===t&&(t={});var r=t,n=r.writingDirection,i=p(r,ze),a="rtl"===n;return He.P.factory({transform(e){var t=We.get(e);return null!=t?(0,Ie.n)(t,a):Fe(e,h(h({},Ue),i))}})(e)}(e,t);return Array.isArray(n)&&null!=n[1]&&(n[1]=function(e,t){var r=e||X,n={},i={},a=function(){var e=r[o],a=o,s=e;if(!Object.prototype.hasOwnProperty.call(r,o)||null==e)return"continue";ve.indexOf(o)>-1&&("start"===e?s=t?"right":"left":"end"===e&&(s=t?"left":"right"));var l=fe[o];if(null!=l&&(a=t?pe[l]:l),"transitionProperty"===o){var u=Array.isArray(e)?e:[e];u.forEach(((e,r)=>{if("string"==typeof e){var n=fe[e];null!=n&&(u[r]=t?pe[n]:n,s=u.join(" "))}}))}n[a]||(i[a]=s),a===o&&(n[a]=!0)};for(var o in r)a();return x(i,!0)}(n[1],r)),n}Xe.absoluteFill=Ye,Xe.absoluteFillObject=Ge,Xe.create=qe,Xe.compose=function(e,t){return[e,t]},Xe.flatten=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.flat(1/0),i={},a=0;a<n.length;a++){var o=n[a];null!=o&&"object"==typeof o&&Object.assign(i,o)}return i},Xe.getSheet=function(){return{id:je.id,textContent:je.getTextContent()}},Xe.hairlineWidth=1,E&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=Xe.flatten);const $e=Xe;var Ze=["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"],Je={},Qe=Object.prototype.hasOwnProperty,et=Array.isArray,tt=/[A-Z]/g;function rt(e){return"-"+e.toLowerCase()}function nt(e){return et(e)?e.join(" "):e}var it=$e.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}});var at=r(155),ot=r.n(at),st=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),lt=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"]),ut=new Map,ct={direction:"ltr",locale:"en-US"},dt=(0,at.createContext)(ct);function ht(e){return function(e){var t=ut.get(e);if(t)return t;var r=!1;if(Intl.Locale)try{var n=new Intl.Locale(e).maximize().script;r=st.has(n)}catch(t){var i=e.split("-")[0];r=lt.has(i)}else{var a=e.split("-")[0];r=lt.has(a)}return ut.set(e,r),r}(e)?"rtl":"ltr"}function pt(e){var t=e.direction,r=e.locale,n=e.children;return t||r?ot().createElement(dt.Provider,{children:n,value:{direction:r?ht(r):t,locale:r}}):n}function ft(){return(0,at.useContext)(dt)}const vt=(e,t,r)=>{var n;e&&e.constructor===String&&(n=s(t));var i=n||e,a=((e,t,r)=>{t||(t=Je);var n=t,i=n["aria-activedescendant"],a=n.accessibilityActiveDescendant,o=n["aria-atomic"],s=n.accessibilityAtomic,u=n["aria-autocomplete"],c=n.accessibilityAutoComplete,d=n["aria-busy"],f=n.accessibilityBusy,v=n["aria-checked"],m=n.accessibilityChecked,g=n["aria-colcount"],_=n.accessibilityColumnCount,y=n["aria-colindex"],b=n.accessibilityColumnIndex,S=n["aria-colspan"],R=n.accessibilityColumnSpan,E=n["aria-controls"],C=n.accessibilityControls,w=n["aria-current"],T=n.accessibilityCurrent,k=n["aria-describedby"],x=n.accessibilityDescribedBy,P=n["aria-details"],A=n.accessibilityDetails,I=n["aria-disabled"],N=n.accessibilityDisabled,L=n["aria-errormessage"],O=n.accessibilityErrorMessage,M=n["aria-expanded"],D=n.accessibilityExpanded,V=n["aria-flowto"],B=n.accessibilityFlowTo,F=n["aria-haspopup"],H=n.accessibilityHasPopup,z=n["aria-hidden"],W=n.accessibilityHidden,j=n["aria-invalid"],U=n.accessibilityInvalid,K=n["aria-keyshortcuts"],G=n.accessibilityKeyShortcuts,Y=n["aria-label"],q=n.accessibilityLabel,X=n["aria-labelledby"],$=n.accessibilityLabelledBy,Z=n["aria-level"],J=n.accessibilityLevel,Q=n["aria-live"],ee=n.accessibilityLiveRegion,te=n["aria-modal"],re=n.accessibilityModal,ne=n["aria-multiline"],ie=n.accessibilityMultiline,ae=n["aria-multiselectable"],oe=n.accessibilityMultiSelectable,se=n["aria-orientation"],le=n.accessibilityOrientation,ue=n["aria-owns"],ce=n.accessibilityOwns,de=n["aria-placeholder"],he=n.accessibilityPlaceholder,pe=n["aria-posinset"],fe=n.accessibilityPosInSet,ve=n["aria-pressed"],me=n.accessibilityPressed,ge=n["aria-readonly"],_e=n.accessibilityReadOnly,ye=n["aria-required"],be=n.accessibilityRequired,Se=(n.role,n.accessibilityRole,n["aria-roledescription"]),Re=n.accessibilityRoleDescription,Ee=n["aria-rowcount"],Ce=n.accessibilityRowCount,we=n["aria-rowindex"],Te=n.accessibilityRowIndex,ke=n["aria-rowspan"],xe=n.accessibilityRowSpan,Pe=n["aria-selected"],Ae=n.accessibilitySelected,Ie=n["aria-setsize"],Ne=n.accessibilitySetSize,Le=n["aria-sort"],Oe=n.accessibilitySort,Me=n["aria-valuemax"],De=n.accessibilityValueMax,Ve=n["aria-valuemin"],Be=n.accessibilityValueMin,Fe=n["aria-valuenow"],He=n.accessibilityValueNow,ze=n["aria-valuetext"],We=n.accessibilityValueText,je=n.dataSet,Ue=n.focusable,Ke=n.id,Ge=n.nativeID,Ye=n.pointerEvents,qe=n.style,Xe=n.tabIndex,et=n.testID,at=p(n,Ze),ot=I||N,st=l(t),lt=null!=i?i:a;null!=lt&&(at["aria-activedescendant"]=lt);var ut=null!=o?i:s;null!=ut&&(at["aria-atomic"]=ut);var ct=null!=u?u:c;null!=ct&&(at["aria-autocomplete"]=ct);var dt=null!=d?d:f;null!=dt&&(at["aria-busy"]=dt);var ht=null!=v?v:m;null!=ht&&(at["aria-checked"]=ht);var pt=null!=g?g:_;null!=pt&&(at["aria-colcount"]=pt);var ft=null!=y?y:b;null!=ft&&(at["aria-colindex"]=ft);var vt=null!=S?S:R;null!=vt&&(at["aria-colspan"]=vt);var mt=null!=E?E:C;null!=mt&&(at["aria-controls"]=nt(mt));var gt=null!=w?w:T;null!=gt&&(at["aria-current"]=gt);var _t=null!=k?k:x;null!=_t&&(at["aria-describedby"]=nt(_t));var yt=null!=P?P:A;null!=yt&&(at["aria-details"]=yt),!0===ot&&(at["aria-disabled"]=!0,"button"!==e&&"form"!==e&&"input"!==e&&"select"!==e&&"textarea"!==e||(at.disabled=!0));var bt=null!=L?L:O;null!=bt&&(at["aria-errormessage"]=bt);var St=null!=M?M:D;null!=St&&(at["aria-expanded"]=St);var Rt=null!=V?V:B;null!=Rt&&(at["aria-flowto"]=nt(Rt));var Et=null!=F?F:H;null!=Et&&(at["aria-haspopup"]=Et);var Ct=null!=z?z:W;!0===Ct&&(at["aria-hidden"]=Ct);var wt=null!=j?j:U;null!=wt&&(at["aria-invalid"]=wt);var Tt=null!=K?K:G;null!=Tt&&(at["aria-keyshortcuts"]=nt(Tt));var kt=null!=Y?Y:q;null!=kt&&(at["aria-label"]=kt);var xt=null!=X?X:$;null!=xt&&(at["aria-labelledby"]=nt(xt));var Pt=null!=Z?Z:J;null!=Pt&&(at["aria-level"]=Pt);var At=null!=Q?Q:ee;null!=At&&(at["aria-live"]="none"===At?"off":At);var It=null!=te?te:re;null!=It&&(at["aria-modal"]=It);var Nt=null!=ne?ne:ie;null!=Nt&&(at["aria-multiline"]=Nt);var Lt=null!=ae?ae:oe;null!=Lt&&(at["aria-multiselectable"]=Lt);var Ot=null!=se?se:le;null!=Ot&&(at["aria-orientation"]=Ot);var Mt=null!=ue?ue:ce;null!=Mt&&(at["aria-owns"]=nt(Mt));var Dt=null!=de?de:he;null!=Dt&&(at["aria-placeholder"]=Dt);var Vt=null!=pe?pe:fe;null!=Vt&&(at["aria-posinset"]=Vt);var Bt=null!=ve?ve:me;null!=Bt&&(at["aria-pressed"]=Bt);var Ft=null!=ge?ge:_e;null!=Ft&&(at["aria-readonly"]=Ft,"input"!==e&&"select"!==e&&"textarea"!==e||(at.readOnly=!0));var Ht=null!=ye?ye:be;null!=Ht&&(at["aria-required"]=Ht,"input"!==e&&"select"!==e&&"textarea"!==e||(at.required=be)),null!=st&&(at.role="none"===st?"presentation":st);var zt=null!=Se?Se:Re;null!=zt&&(at["aria-roledescription"]=zt);var Wt=null!=Ee?Ee:Ce;null!=Wt&&(at["aria-rowcount"]=Wt);var jt=null!=we?we:Te;null!=jt&&(at["aria-rowindex"]=jt);var Ut=null!=ke?ke:xe;null!=Ut&&(at["aria-rowspan"]=Ut);var Kt=null!=Pe?Pe:Ae;null!=Kt&&(at["aria-selected"]=Kt);var Gt=null!=Ie?Ie:Ne;null!=Gt&&(at["aria-setsize"]=Gt);var Yt=null!=Le?Le:Oe;null!=Yt&&(at["aria-sort"]=Yt);var qt=null!=Me?Me:De;null!=qt&&(at["aria-valuemax"]=qt);var Xt=null!=Ve?Ve:Be;null!=Xt&&(at["aria-valuemin"]=Xt);var $t=null!=Fe?Fe:He;null!=$t&&(at["aria-valuenow"]=$t);var Zt=null!=ze?ze:We;if(null!=Zt&&(at["aria-valuetext"]=Zt),null!=je)for(var Jt in je)if(Qe.call(je,Jt)){var Qt=Jt.replace(tt,rt),er=je[Jt];null!=er&&(at["data-"+Qt]=er)}0===Xe||"0"===Xe||-1===Xe||"-1"===Xe?at.tabIndex=Xe:(!1===Ue&&(at.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?!1!==Ue&&!0!==N||(at.tabIndex="-1"):"button"===st||"checkbox"===st||"link"===st||"radio"===st||"textbox"===st||"switch"===st?!1!==Ue&&(at.tabIndex="0"):!0===Ue&&(at.tabIndex="0"));var tr=$e([qe,Ye&&it[Ye]],h({writingDirection:"ltr"},r)),rr=tr[0],nr=tr[1];rr&&(at.className=rr),nr&&(at.style=nr);var ir=null!=Ke?Ke:Ge;return null!=ir&&(at.id=ir),null!=et&&(at["data-testid"]=et),null==at.type&&"button"===e&&(at.type="button"),at})(i,t,r),o=ot().createElement(i,a);return a.dir?ot().createElement(pt,{children:o,direction:a.dir,locale:a.lang}):o};var mt=r(514),gt=r.n(mt);const _t=e=>{var t;try{t=(0,mt.findDOMNode)(e)}catch(e){}return t};var yt=r(338);const bt=mt.unmountComponentAtNode;function St(e,t){return Ae(t),(0,yt.c)(t,e)}function Rt(e,t){Ae(t);var r=(0,yt.H)(t);return r.render(e),r}function Et(e,t,r){return Ae(t),(0,mt.hydrate)(e,t,r),{unmount:function(){return bt(t)}}}function Ct(e,t,r){return Ae(t),(0,mt.render)(e,t,r),{unmount:function(){return bt(t)}}}const wt=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()};var Tt={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},kt=["ms","Moz","O","Webkit"];Object.keys(Tt).forEach((e=>{kt.forEach((t=>{Tt[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=Tt[e]}))}));const xt=Tt,Pt=function(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||xt.hasOwnProperty(e)&&xt[e]?(""+t).trim():t+"px"},At=function(e,t){var r=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),a=Pt(n,t[n],i);"float"===n&&(n="cssFloat"),i?r.setProperty(n,a):r[n]=a}};var It=e=>{var t=e.offsetHeight,r=e.offsetWidth,n=e.offsetLeft,i=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)n+=e.offsetLeft+e.clientLeft-e.scrollLeft,i+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:r,height:t,top:i-=window.scrollY,left:n-=window.scrollX}},Nt=(e,t,r)=>{var n=t||e&&e.parentNode;e&&n&&setTimeout((()=>{if(e.isConnected&&n.isConnected){var t=It(n),i=It(e),a=i.height,o=i.left,s=i.top,l=i.width,u=o-t.left,c=s-t.top;r(u,c,l,a,o,s)}}),0)},Lt={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},Ot={blur(e){try{e.blur()}catch(e){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==Lt[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,t){Nt(e,null,t)},measureInWindow(e,t){e&&setTimeout((()=>{var r=wt(e),n=r.height,i=r.left,a=r.top,o=r.width;t(i,a,o,n)}),0)},measureLayout(e,t,r,n){Nt(e,t,n)},updateView(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=t[r];switch(r){case"style":At(e,n);break;case"class":case"className":e.setAttribute("class",n);break;case"text":case"value":e.value=n;break;default:e.setAttribute(r,n)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}};const Mt=Ot,Dt={UIManager:Mt};function Vt(){return new Promise(((e,t)=>{e(!0)}))}var Bt=E&&"function"==typeof window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null,Ft={},Ht={isScreenReaderEnabled:Vt,isReduceMotionEnabled:function(){return new Promise(((e,t)=>{e(!Bt||Bt.matches)}))},fetch:Vt,addEventListener:function(e,t){if("reduceMotionChanged"===e){if(!Bt)return;var r=e=>{t(e.matches)};n=r,null!=Bt&&(null!=Bt.addEventListener?Bt.addEventListener("change",n):Bt.addListener(n)),Ft[t]=r}var n;return{remove:()=>Ht.removeEventListener(e,t)}},setAccessibilityFocus:function(e){},announceForAccessibility:function(e){},removeEventListener:function(e,t){if("reduceMotionChanged"===e){var r=Ft[t];if(!r||!Bt)return;n=r,null!=Bt&&(null!=Bt.removeEventListener?Bt.removeEventListener("change",n):Bt.removeListener(n))}var n}};const zt=Ht,Wt=class{static alert(){}},jt={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1}};function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ut.apply(null,arguments)}var Kt={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},Gt={"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},Yt={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},qt={onBlur:!0,onFocus:!0},Xt={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},$t={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},Zt={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},Jt={style:!0};function Qt(e,t){var r={};for(var n in e)e.hasOwnProperty(n)&&!0===t[n]&&(r[n]=e[n]);return r}const er=E?at.useLayoutEffect:at.useEffect;var tr="__reactLayoutHandler",rr=null;function nr(e,t){var r=(E&&void 0!==window.ResizeObserver&&null==rr&&(rr=new window.ResizeObserver((function(e){e.forEach((e=>{var t=e.target,r=t[tr];"function"==typeof r&&Mt.measure(t,((t,n,i,a,o,s)=>{var l={nativeEvent:{layout:{x:t,y:n,width:i,height:a,left:o,top:s}},timeStamp:Date.now()};Object.defineProperty(l.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),r(l)}))}))}))),rr);er((()=>{var r=e.current;null!=r&&(r[tr]=t)}),[e,t]),er((()=>{var t=e.current;return null!=t&&null!=r&&("function"==typeof t[tr]?r.observe(t):r.unobserve(t)),()=>{null!=t&&null!=r&&r.unobserve(t)}}),[e,r])}function ir(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((t=>{null!=t&&("function"!=typeof t?"object"!=typeof t?console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(t)):t.current=e:t(e))}))}}function ar(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return at.useMemo((()=>ir(...t)),[...t])}var or="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function sr(e){var t=at.useRef(or);return t.current===or&&(t.current=e()),t.current}function lr(e){return e.pointerEvents,e.style,sr((()=>e=>{null!=e&&(e.measure=t=>Mt.measure(e,t),e.measureLayout=(t,r,n)=>Mt.measureLayout(e,t,n,r),e.measureInWindow=t=>Mt.measureInWindow(e,t))}))}var ur=()=>{},cr={},dr=[];function hr(e){return e>20?e%20:e}function pr(e,t){var r,n,i,a=!1,o=e.changedTouches,s=e.type,l=!0===e.metaKey,u=!0===e.shiftKey,c=o&&o[0].force||0,d=hr(o&&o[0].identifier||0),h=o&&o[0].clientX||e.clientX,p=o&&o[0].clientY||e.clientY,f=o&&o[0].pageX||e.pageX,v=o&&o[0].pageY||e.pageY,m="function"==typeof e.preventDefault?e.preventDefault.bind(e):ur,g=e.timeStamp;function _(e){return Array.prototype.slice.call(e).map((e=>({force:e.force,identifier:hr(e.identifier),get locationX(){return S(e.clientX)},get locationY(){return R(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:g})))}if(null!=o)n=_(o),i=_(e.touches);else{var y=[{force:c,identifier:d,get locationX(){return S(h)},get locationY(){return R(p)},pageX:f,pageY:v,target:e.target,timestamp:g}];n=y,i="mouseup"===s||"dragstart"===s?dr:y}var b={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:cr,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>a,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:l,shiftKey:u,changedTouches:n,force:c,identifier:d,get locationX(){return S(h)},get locationY(){return R(p)},pageX:f,pageY:v,target:e.target,timestamp:g,touches:i,type:s},persist:ur,preventDefault:m,stopPropagation(){a=!0},target:e.target,timeStamp:g,touchHistory:t.touchHistory};function S(e){if(r=r||wt(b.currentTarget))return e-r.left}function R(e){if(r=r||wt(b.currentTarget))return e-r.top}return b}function fr(e){return"touchstart"===e||"mousedown"===e}function vr(e){return"touchmove"===e||"mousemove"===e}function mr(e){return"touchend"===e||"mouseup"===e||gr(e)}function gr(e){return"touchcancel"===e||"dragstart"===e}var _r="__reactResponderId";function yr(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function br(e){return null!=e?e[_r]:null}function Sr(e){return e.timeStamp||e.timestamp}function Rr(e){var t=e.identifier;return null==t&&console.error("Touch object is missing identifier."),t}function Er(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:Sr(e)})}function Cr(e){var t=e.touchBank,r=JSON.stringify(t.slice(0,20));return t.length>20&&(r+=" (original size: "+t.length+")"),r}var wr={},Tr=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],kr=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],xr={touchstart:Tr,mousedown:Tr,touchmove:kr,mousemove:kr,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},Pr={id:null,idPath:null,node:null},Ar=new Map,Ir=!1,Nr=0,Lr={id:null,node:null,idPath:null},Or=new class{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var r=this._touchHistory;if(vr(e))t.changedTouches.forEach((e=>function(e,t){var r=t.touchBank[Rr(e)];r?(r.touchActive=!0,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=Sr(e),t.mostRecentTimeStamp=Sr(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+Er(e)+"\n","Touch Bank: "+Cr(t))}(e,r)));else if(fr(e))t.changedTouches.forEach((e=>function(e,t){var r=Rr(e),n=t.touchBank[r];n?function(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=Sr(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=Sr(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=Sr(t)}(n,e):t.touchBank[r]=function(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:Sr(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:Sr(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:Sr(e)}}(e),t.mostRecentTimeStamp=Sr(e)}(e,r))),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches&&(r.indexOfSingleActiveTouch=t.touches[0].identifier);else if(mr(e)&&(t.changedTouches.forEach((e=>function(e,t){var r=t.touchBank[Rr(e)];r?(r.touchActive=!1,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=Sr(e),t.mostRecentTimeStamp=Sr(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+Er(e)+"\n","Touch Bank: "+Cr(t))}(e,r))),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches))for(var n=r.touchBank,i=0;i<n.length;i++){var a=n[i];if(null!=a&&a.touchActive){r.indexOfSingleActiveTouch=i;break}}}get touchHistory(){return this._touchHistory}};function Mr(e){Lr=e}function Dr(e){var t=Ar.get(e);return null!=t?t:wr}function Vr(e){var t=e.type,r=e.target;if("touchstart"===t&&(Ir=!0),("touchmove"===t||Nr>1)&&(Ir=!1),!("mousedown"===t&&Ir||"mousemove"===t&&Ir||"mousemove"===t&&Nr<1))if(Ir&&"mouseup"===t)0===Nr&&(Ir=!1);else{var n=fr(t)&&function(e){var t=e.altKey,r=e.button,n=e.buttons,i=e.ctrlKey,a=e.type,o=!1===t&&!1===i;return!!("touchstart"===a||"touchmove"===a||"mousedown"===a&&(0===r||1===n)&&o||"mousemove"===a&&1===n&&o)}(e),i=vr(t),a=mr(t),o=function(e){return"scroll"===e}(t),s=function(e){return"select"===e||"selectionchange"===e}(t),l=pr(e,Or);(n||i||a)&&(e.touches?Nr=e.touches.length:n?Nr=1:a&&(Nr=0),Or.recordTouchTrack(t,l.nativeEvent));var u,c=function(e){for(var t=[],r=[],n=function(e){return"selectionchange"===e.type?yr(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():yr(e.target)}(e),i=0;i<n.length;i++){var a=n[i],o=br(a);null!=o&&(t.push(o),r.push(a))}return{idPath:t,nodePath:r}}(e),d=!1;if(n||i||o&&Nr>0){var h=Lr.idPath,p=c.idPath;if(null!=h&&null!=p){var f=function(e,t){var r=e.length,n=t.length;if(0===r||0===n||e[r-1]!==t[n-1])return null;var i=e[0],a=0,o=t[0],s=0;r-n>0&&(i=e[a=r-n],r=n),n-r>0&&(o=t[s=n-r],n=r);for(var l=r;l--;){if(i===o)return i;i=e[a++],o=t[s++]}return null}(h,p);if(null!=f){var v=p.indexOf(f)+(f===Lr.id?1:0);c={idPath:p.slice(v),nodePath:c.nodePath.slice(v)}}else c=null}null!=c&&(u=function(e,t,r){var n=xr[t.type];if(null!=n){for(var i=e.idPath,a=e.nodePath,o=n[0],s=n[1],l=n[2].bubbles,u=function(e,t,n){var a=Dr(e)[n];if(null!=a&&(r.currentTarget=t,!0===a(r)))return{id:e,node:t,idPath:i.slice(i.indexOf(e))}},c=i.length-1;c>=0;c--){var d=u(i[c],a[c],o);if(null!=d)return d;if(!0===r.isPropagationStopped())return}if(l)for(var h=0;h<i.length;h++){var p=u(i[h],a[h],s);if(null!=p)return p;if(!0===r.isPropagationStopped())return}else{var f=i[0],v=a[0];if(t.target===v)return u(f,v,s)}}}(c,e,l),null!=u&&(function(e,t){var r=Lr,n=r.id,i=r.node,a=t.id,o=t.node,s=Dr(a),l=s.onResponderGrant,u=s.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==n)null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),Mr(t);else{var c=Dr(n),d=c.onResponderTerminate,h=c.onResponderTerminationRequest,p=!0;null!=h&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===h(e)&&(p=!1)),p?(null!=d&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminate",d(e)),null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),Mr(t)):null!=u&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",u(e))}}(l,u),d=!0))}if(null!=Lr.id&&null!=Lr.node){var m=Lr,g=m.id,_=m.node,y=Dr(g),b=y.onResponderStart,S=y.onResponderMove,R=y.onResponderEnd,E=y.onResponderRelease,C=y.onResponderTerminate,w=y.onResponderTerminationRequest;if(l.bubbles=!1,l.cancelable=!1,l.currentTarget=_,n)null!=b&&(l.dispatchConfig.registrationName="onResponderStart",b(l));else if(i)null!=S&&(l.dispatchConfig.registrationName="onResponderMove",S(l));else{var T=gr(t)||"contextmenu"===t||"blur"===t&&r===window||"blur"===t&&r.contains(_)&&e.relatedTarget!==_||o&&0===Nr||o&&r.contains(_)&&r!==_||s&&function(e){return"selectionchange"===e.type?(r=(t=window.getSelection()).toString(),n=t.anchorNode,i=t.focusNode,a=n&&n.nodeType===window.Node.TEXT_NODE||i&&i.nodeType===window.Node.TEXT_NODE,r.length>=1&&"\n"!==r&&a):"select"===e.type;var t,r,n,i,a}(e),k=a&&!T&&!function(e,t){if(!t||0===t.length)return!1;for(var r=0;r<t.length;r++){var n=t[r].target;if(null!=n&&e.contains(n))return!0}return!1}(_,e.touches);if(a&&null!=R&&(l.dispatchConfig.registrationName="onResponderEnd",R(l)),k&&(null!=E&&(l.dispatchConfig.registrationName="onResponderRelease",E(l)),Mr(Pr)),T){var x=!0;"contextmenu"!==t&&"scroll"!==t&&"selectionchange"!==t||(d?x=!1:null!=w&&(l.dispatchConfig.registrationName="onResponderTerminationRequest",!1===w(l)&&(x=!1))),x&&(null!=C&&(l.dispatchConfig.registrationName="onResponderTerminate",C(l)),Mr(Pr),Ir=!1,Nr=0)}}}}}var Br=["blur","scroll"],Fr=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"];function Hr(e){Lr.id===e&&function(){var e=Lr,t=e.id,r=e.node;if(null!=t&&null!=r){var n=Dr(t).onResponderTerminate;if(null!=n){var i=pr({},Or);i.currentTarget=r,n(i)}Mr(Pr)}Ir=!1,Nr=0}(),Ar.has(e)&&Ar.delete(e)}var zr={},Wr=0;function jr(e,t){void 0===t&&(t=zr);var r,n,i=(r=()=>Wr++,null==(n=at.useRef(null)).current&&(n.current=r()),n.current),a=at.useRef(!1);at.useEffect((()=>(E&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",Vr),Fr.forEach((e=>{document.addEventListener(e,Vr)})),Br.forEach((e=>{document.addEventListener(e,Vr,!0)})),window.__reactResponderSystemActive=!0),()=>{Hr(i)})),[i]),at.useEffect((()=>{var r=t,n=r.onMoveShouldSetResponder,o=r.onMoveShouldSetResponderCapture,s=r.onScrollShouldSetResponder,l=r.onScrollShouldSetResponderCapture,u=r.onSelectionChangeShouldSetResponder,c=r.onSelectionChangeShouldSetResponderCapture,d=r.onStartShouldSetResponder,h=r.onStartShouldSetResponderCapture,p=null!=n||null!=o||null!=s||null!=l||null!=u||null!=c||null!=d||null!=h,f=e.current;p?(function(e,t,r){!function(e,t){null!=e&&(e[_r]=t)}(t,e),Ar.set(e,r)}(i,f,t),a.current=!0):a.current&&(Hr(i),a.current=!1)}),[t,e,i]),at.useDebugValue({isResponder:e.current===Lr.node}),at.useDebugValue(t)}const Ur=(0,at.createContext)(!1);var Kr=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],Gr=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),Yr=at.forwardRef(((e,t)=>{var r=e.hrefAttrs,n=e.onLayout,i=e.onMoveShouldSetResponder,a=e.onMoveShouldSetResponderCapture,o=e.onResponderEnd,s=e.onResponderGrant,l=e.onResponderMove,u=e.onResponderReject,c=e.onResponderRelease,d=e.onResponderStart,h=e.onResponderTerminate,f=e.onResponderTerminationRequest,v=e.onScrollShouldSetResponder,m=e.onScrollShouldSetResponderCapture,g=e.onSelectionChangeShouldSetResponder,_=e.onSelectionChangeShouldSetResponderCapture,y=e.onStartShouldSetResponder,b=e.onStartShouldSetResponderCapture,S=p(e,Kr),R=at.useContext(Ur),E=at.useRef(null),C=ft().direction;nr(E,n),jr(E,{onMoveShouldSetResponder:i,onMoveShouldSetResponderCapture:a,onResponderEnd:o,onResponderGrant:s,onResponderMove:l,onResponderReject:u,onResponderRelease:c,onResponderStart:d,onResponderTerminate:h,onResponderTerminationRequest:f,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:m,onSelectionChangeShouldSetResponder:g,onSelectionChangeShouldSetResponderCapture:_,onStartShouldSetResponder:y,onStartShouldSetResponderCapture:b});var w="div",T=null!=e.lang?ht(e.lang):null,k=e.dir||T,x=k||C,P=(e=>Qt(e,Gr))(S);if(P.dir=k,P.style=[qr.view$raw,R&&qr.inline,e.style],null!=e.href&&(w="a",null!=r)){var A=r.download,I=r.rel,N=r.target;null!=A&&(P.download=A),null!=I&&(P.rel=I),"string"==typeof N&&(P.target="_"!==N.charAt(0)?"_"+N:N)}var L=ar(E,lr(P),t);return P.ref=L,vt(w,P,{writingDirection:x})}));Yr.displayName="View";var qr=$e.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"}});const Xr=Yr,$r=function e(t,r,n){if(void 0===n&&(n=-1),0===n)return!0;if(t===r)return!1;if("function"==typeof t&&"function"==typeof r)return!1;if("object"!=typeof t||null===t)return t!==r;if("object"!=typeof r||null===r)return!0;if(t.constructor!==r.constructor)return!0;if(Array.isArray(t)){var i=t.length;if(r.length!==i)return!0;for(var a=0;a<i;a++)if(e(t[a],r[a],n-1))return!0}else{for(var o in t)if(e(t[o],r[o],n-1))return!0;for(var s in r)if(void 0===t[s]&&void 0!==r[s])return!0}return!1};var Zr=r(646),Jr=r.n(Zr);function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function en(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var tn=["colors","enabled","onRefresh","progressBackgroundColor","progressViewOffset","refreshing","size","tintColor","title","titleColor"];const rn=function(e){e.colors,e.enabled,e.onRefresh,e.progressBackgroundColor,e.progressViewOffset,e.refreshing,e.size,e.tintColor,e.title,e.titleColor;var t=p(e,tn);return ot().createElement(Xr,t)};var nn={window:{fontScale:1,height:0,scale:1,width:0},screen:{fontScale:1,height:0,scale:1,width:0}},an={},on=E;function sn(){if(E){var e,t,r=window;if(r.visualViewport){var n=r.visualViewport;e=Math.round(n.height*n.scale),t=Math.round(n.width*n.scale)}else{var i=r.document.documentElement;e=i.clientHeight,t=i.clientWidth}nn.window={fontScale:1,height:e,scale:r.devicePixelRatio||1,width:t},nn.screen={fontScale:1,height:r.screen.height,scale:r.devicePixelRatio||1,width:r.screen.width}}}function ln(){sn(),Array.isArray(an.change)&&an.change.forEach((e=>e(nn)))}class un{static get(e){return on&&(on=!1,sn()),Jr()(nn[e],"No dimension set for key "+e),nn[e]}static set(e){e&&(E?Jr()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(nn.screen=e.screen),null!=e.window&&(nn.window=e.window)))}static addEventListener(e,t){return an[e]=an[e]||[],an[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(an[e])&&(an[e]=an[e].filter((e=>e!==t)))}}E&&(window.visualViewport?window.visualViewport.addEventListener("resize",ln,!1):window.addEventListener("resize",ln,!1));const cn={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&Mt.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&Mt.blur(e))}},dn=()=>{cn.blurTextInput(cn.currentlyFocusedField())};var hn=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function pn(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 fn=at.forwardRef(((e,t)=>{var r=e.onScroll,n=e.onTouchMove,i=e.onWheel,a=e.scrollEnabled,o=void 0===a||a,s=e.scrollEventThrottle,l=void 0===s?0:s,u=e.showsHorizontalScrollIndicator,c=e.showsVerticalScrollIndicator,d=e.style,h=p(e,hn),f=at.useRef({isScrolling:!1,scrollLastTick:0}),v=at.useRef(null),m=at.useRef(null);function g(e){return t=>{o&&e&&e(t)}}function _(e){f.current.scrollLastTick=Date.now(),r&&r(pn(e))}var y=!1===u||!1===c;return at.createElement(Xr,Ut({},h,{onScroll:function(e){var t,n,i;e.stopPropagation(),e.target===m.current&&(e.persist(),null!=v.current&&clearTimeout(v.current),v.current=setTimeout((()=>{!function(e){f.current.isScrolling=!1,r&&r(pn(e))}(e)}),100),f.current.isScrolling?(t=f.current.scrollLastTick,n=l,i=Date.now()-t,n>0&&i>=n&&_(e)):function(e){f.current.isScrolling=!0,_(e)}(e))},onTouchMove:g(n),onWheel:g(i),ref:ar(m,t),style:[d,!o&&vn.scrollDisabled,y&&vn.hideScrollbar]}))})),vn=$e.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}});const mn=fn;var gn=r(594),_n=r.n(gn),yn=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],bn={};class Sn extends ot().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=cn.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),cn.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,r)=>{if("number"==typeof e)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var n=e||bn;e=n.x,t=n.y,r=n.animated}var i=this.getScrollableNode(),a=e||0,o=t||0;null!=i&&("function"==typeof i.scroll?i.scroll({top:o,left:a,behavior:r?"smooth":"auto"}):(i.scrollLeft=a,i.scrollTop=o))},this.scrollResponderZoomTo=(e,t)=>{"ios"!==jt.OS&&Jr()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,r)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!r,Mt.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,r,n)=>{var i=un.get("window").height;this.keyboardWillOpenTo&&(i=this.keyboardWillOpenTo.endCoordinates.screenY);var a=t-i+n+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(a=Math.max(0,a)),this.scrollResponderScrollTo({x:0,y:a,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,r)=>{if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var n=e||bn;t=n.x,e=n.y,r=n.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==r})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),r=this.props.horizontal,n=this.getScrollableNode(),i=r?n.scrollWidth:0,a=r?0:n.scrollHeight;this.scrollResponderScrollTo({x:i,y:a,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,r=t.width,n=t.height;this.props.onContentSizeChange(r,n)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&dn(),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),ir(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){_n()(!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,r=e.horizontal,n=e.onContentSizeChange,i=e.refreshControl,a=e.stickyHeaderIndices,o=e.pagingEnabled,s=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),l=p(e,yn),u={};n&&(u={onLayout:this._handleContentOnLayout});var c=!r&&Array.isArray(a),d=c||o?ot().Children.map(this.props.children,((e,t)=>{var r=c&&a.indexOf(t)>-1;return null!=e&&(r||o)?ot().createElement(Xr,{style:[r&&En.stickyHeader,o&&En.pagingEnabledChild]},e):e})):this.props.children,f=ot().createElement(Xr,Ut({},u,{children:d,collapsable:!1,ref:this._setInnerViewRef,style:[r&&En.contentContainerHorizontal,s&&En.contentContainerCenterContent,t]})),v=r?En.baseHorizontal:En.baseVertical,m=r?En.pagingEnabledHorizontal:En.pagingEnabledVertical,g=h(h({},l),{},{style:[v,o&&m,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}),_=mn;Jr()(void 0!==_,"ScrollViewClass must not be undefined");var y=ot().createElement(_,Ut({},g,{ref:this._setScrollNodeRef}),f);return i?ot().cloneElement(i,{style:g.style},y):y}}var Rn={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},En=$e.create({baseVertical:h(h({},Rn),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:h(h({},Rn),{},{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"}}),Cn=ot().forwardRef(((e,t)=>ot().createElement(Sn,Ut({},e,{forwardedRef:t}))));Cn.displayName="ScrollView";const wn=Cn;class Tn{constructor(){this._registry={}}addListener(e,t,r){var n=function(e,t){var r=e[t];return null==r&&(r=new Set,e[t]=r),r}(this._registry,e),i={context:r,listener:t,remove(){n.delete(i)}};return n.add(i),i}emit(e){var t=this._registry[e];if(null!=t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(var a=0,o=[...t];a<o.length;a++){var s=o[a];s.listener.apply(s.context,n)}}}removeAllListeners(e){null==e?this._registry={}:delete this._registry[e]}listenerCount(e){var t=this._registry[e];return null==t?0:t.size}}var kn=E&&void 0!==window.requestIdleCallback,xn=kn?window.requestIdleCallback:function(e,t){return setTimeout((()=>{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)};kn&&window.cancelIdleCallback;const Pn=xn;var An=new Tn,In={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],r=new Promise((r=>{Fn(),e&&t.push(e),t.push({run:r,name:"resolve "+(e&&e.name||"?")}),Mn.enqueueTasks(t)}));return{then:r.then.bind(r),done:r.then.bind(r),cancel:()=>{Mn.cancelTasks(t)}}},createInteractionHandle(){Fn();var e=++Vn;return Ln.add(e),e},clearInteractionHandle(e){Jr()(!!e,"Must provide a handle to clear."),Fn(),Ln.delete(e),On.add(e)},addListener:An.addListener.bind(An),setDeadline(e){Bn=e}},Nn=new Set,Ln=new Set,On=new Set,Mn=new class{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=>h(h({},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():(Jr()("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})-1,r=this._queueStack[t];e.gen().then((()=>{r.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()})).catch((t=>{setTimeout((()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t}),0)}))}}({onMoreTasks:Fn}),Dn=0,Vn=0,Bn=-1;function Fn(){Dn||(Dn=Bn>0?setTimeout(Hn):Pn(Hn))}function Hn(){Dn=0;var e=Nn.size;Ln.forEach((e=>Nn.add(e))),On.forEach((e=>Nn.delete(e)));var t=Nn.size;if(0!==e&&0===t?An.emit(In.Events.interactionComplete):0===e&&0!==t&&An.emit(In.Events.interactionStart),0===t)for(var r=Date.now();Mn.hasTasksToProcess();)if(Mn.processNext(),Bn>0&&Date.now()-r>=Bn){Fn();break}Ln.clear(),On.clear()}const zn=In,Wn=class{constructor(e,t){this._delay=t,this._callback=e}dispose(e){void 0===e&&(e={abort:!1}),this._taskHandle&&(this._taskHandle.cancel(),e.abort||this._callback(),this._taskHandle=null)}schedule(){if(!this._taskHandle){var e=setTimeout((()=>{this._taskHandle=zn.runAfterInteractions((()=>{this._taskHandle=null,this._callback()}))}),this._delay);this._taskHandle={cancel:()=>clearTimeout(e)}}}},jn=function(e,t,r){return t<e?e:t>r?r:t};class Un{constructor(e){Jr()(e>=0,"CellRenderMask must contain a non-negative number os cells"),this._numCells=e,this._regions=0===e?[]:[{first:0,last:e-1,isSpacer:!0}]}enumerateRegions(){return this._regions}addCells(e){if(Jr()(e.first>=0&&e.first<this._numCells&&e.last>=-1&&e.last<this._numCells&&e.last>=e.first-1,"CellRenderMask.addCells called with invalid cell range"),!(e.last<e.first)){var t=this._findRegion(e.first),r=t[0],n=t[1],i=this._findRegion(e.last),a=i[0],o=i[1];if(n!==o||r.isSpacer){var s=[],l=[],u=h(h({},e),{},{isSpacer:!1});r.first<u.first&&(r.isSpacer?s.push({first:r.first,last:u.first-1,isSpacer:!0}):u.first=r.first),a.last>u.last&&(a.isSpacer?l.push({first:u.last+1,last:a.last,isSpacer:!0}):u.last=a.last);var c=[...s,u,...l],d=o-n+1;this._regions.splice(n,d,...c)}}}numCells(){return this._numCells}equals(e){return this._numCells===e._numCells&&this._regions.length===e._regions.length&&this._regions.every(((t,r)=>t.first===e._regions[r].first&&t.last===e._regions[r].last&&t.isSpacer===e._regions[r].isSpacer))}_findRegion(e){for(var t=0,r=this._regions.length-1;t<=r;){var n=Math.floor((t+r)/2),i=this._regions[n];if(e>=i.first&&e<=i.last)return[i,n];e<i.first?r=n-1:e>i.last&&(t=n+1)}Jr()(!1,"A region was not found containing cellIdx "+e)}}class Kn{constructor(){this._cellKeyToChildren=new Map,this._childrenToCellKey=new Map}add(e,t){var r;Jr()(!this._childrenToCellKey.has(e),"Trying to add already present child list");var n=null!==(r=this._cellKeyToChildren.get(t))&&void 0!==r?r:new Set;n.add(e),this._cellKeyToChildren.set(t,n),this._childrenToCellKey.set(e,t)}remove(e){var t=this._childrenToCellKey.get(e);Jr()(null!=t,"Trying to remove non-present child list"),this._childrenToCellKey.delete(e);var r=this._cellKeyToChildren.get(t);Jr()(r,"_cellKeyToChildren should contain cellKey"),r.delete(e),0===r.size&&this._cellKeyToChildren.delete(t)}forEach(e){for(var t,r=en(this._cellKeyToChildren.values());!(t=r()).done;)for(var n,i=en(t.value);!(n=i()).done;)e(n.value)}forEachInCell(e,t){for(var r,n,i=en(null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[]);!(n=i()).done;)t(n.value)}anyInCell(e,t){for(var r,n,i=en(null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[]);!(n=i()).done;)if(t(n.value))return!0;return!1}size(){return this._childrenToCellKey.size}}class Gn{constructor(){this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0}}var Yn=[],qn=10,Xn=null;const $n=class{static addListener(e){return null===Xn&&console.warn("Call `FillRateHelper.setSampleRate` before `addListener`."),Yn.push(e),{remove:()=>{Yn=Yn.filter((t=>e!==t))}}}static setSampleRate(e){Xn=e}static setMinSampleCount(e){qn=e}constructor(e){this._anyBlankStartTime=null,this._enabled=!1,this._info=new Gn,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(Xn||0)>Math.random(),this._resetData()}activate(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=r.g.performance.now())}deactivateAndFlush(){if(this._enabled){var e=this._samplesStartTime;if(null!=e)if(this._info.sample_count<qn)this._resetData();else{var t=r.g.performance.now()-e,n=h(h({},this._info),{},{total_time_spent:t});Yn.forEach((e=>e(n))),this._resetData()}}}computeBlankness(e,t,n){if(!this._enabled||0===e.getItemCount(e.data)||t.last<t.first||null==this._samplesStartTime)return 0;var i=n.dOffset,a=n.offset,o=n.velocity,s=n.visibleLength;this._info.sample_count++,this._info.pixels_sampled+=Math.round(s),this._info.pixels_scrolled+=Math.round(Math.abs(i));var l=Math.round(1e3*Math.abs(o)),u=r.g.performance.now();null!=this._anyBlankStartTime&&(this._info.any_blank_ms+=u-this._anyBlankStartTime),this._anyBlankStartTime=null,null!=this._mostlyBlankStartTime&&(this._info.mostly_blank_ms+=u-this._mostlyBlankStartTime),this._mostlyBlankStartTime=null;for(var c=0,d=t.first,h=this._getFrameMetrics(d,e);d<=t.last&&(!h||!h.inLayout);)h=this._getFrameMetrics(d,e),d++;h&&d>0&&(c=Math.min(s,Math.max(0,h.offset-a)));for(var p=0,f=t.last,v=this._getFrameMetrics(f,e);f>=t.first&&(!v||!v.inLayout);)v=this._getFrameMetrics(f,e),f--;if(v&&f<e.getItemCount(e.data)-1){var m=v.offset+v.length;p=Math.min(s,Math.max(0,a+s-m))}var g=Math.round(c+p),_=g/s;return _>0?(this._anyBlankStartTime=u,this._info.any_blank_speed_sum+=l,this._info.any_blank_count++,this._info.pixels_blank+=g,_>.5&&(this._mostlyBlankStartTime=u,this._info.mostly_blank_count++)):(l<.01||Math.abs(i)<1)&&this.deactivateAndFlush(),_}enabled(){return this._enabled}_resetData(){this._anyBlankStartTime=null,this._info=new Gn,this._mostlyBlankStartTime=null,this._samplesStartTime=null}};class Zn extends at.PureComponent{constructor(e){super(e),this._inAsyncStateUpdate=!1,this._installSetStateHooks()}setState(e,t){"function"==typeof e?super.setState(((t,r)=>{var n;this._inAsyncStateUpdate=!0;try{n=e(t,r)}catch(e){throw e}finally{this._inAsyncStateUpdate=!1}return n}),t):super.setState(e,t)}_installSetStateHooks(){var e=this,t=this.props,r=this.state;Object.defineProperty(this,"props",{get:()=>(Jr()(!e._inAsyncStateUpdate,'"this.props" should not be accessed during state updates'),t),set(e){t=e}}),Object.defineProperty(this,"state",{get:()=>(Jr()(!e._inAsyncStateUpdate,'"this.state" should not be acceessed during state updates'),r),set(e){r=e}})}}function Jn(e,t,r,n,i,a){if(function(e,t,r){return e>=0&&t<=r&&t>e}(r,n,i))return!0;var o=function(e,t,r){var n=Math.min(t,r)-Math.max(e,0);return Math.max(0,n)}(r,n,i);return 100*(e?o/i:o/a)>=t}const Qn=class{constructor(e){void 0===e&&(e={viewAreaCoveragePercentThreshold:0}),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=e}dispose(){this._timers.forEach(clearTimeout)}computeViewableItems(e,t,r,n,i){var a=e.getItemCount(e.data),o=this._config,s=o.itemVisiblePercentThreshold,l=o.viewAreaCoveragePercentThreshold,u=null!=l,c=u?l:s;Jr()(null!=c&&null!=s!=(null!=l),"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold");var d=[];if(0===a)return d;var h=-1,p=i||{first:0,last:a-1},f=p.first,v=p.last;if(v>=a)return console.warn("Invalid render range computing viewability "+JSON.stringify({renderRange:i,itemCount:a})),[];for(var m=f;m<=v;m++){var g=n(m,e);if(g){var _=g.offset-t,y=_+g.length;if(_<r&&y>0)h=m,Jn(u,c,_,y,r,g.length)&&d.push(m);else if(h>=0)break}}return d}onUpdate(e,t,r,n,i,a,o){var s=e.getItemCount(e.data);if((!this._config.waitForInteraction||this._hasInteracted)&&0!==s&&n(0,e)){var l=[];if(s&&(l=this.computeViewableItems(e,t,r,n,o)),this._viewableIndices.length!==l.length||!this._viewableIndices.every(((e,t)=>e===l[t])))if(this._viewableIndices=l,this._config.minimumViewTime){var u=setTimeout((()=>{this._timers.delete(u),this._onUpdateSync(e,l,a,i)}),this._config.minimumViewTime);this._timers.add(u)}else this._onUpdateSync(e,l,a,i)}}resetViewableIndices(){this._viewableIndices=[]}recordInteraction(){this._hasInteracted=!0}_onUpdateSync(e,t,r,n){t=t.filter((e=>this._viewableIndices.includes(e)));for(var i,a=this._viewableItems,o=new Map(t.map((t=>{var r=n(t,!0,e);return[r.key,r]}))),s=[],l=en(o);!(i=l()).done;){var u=i.value,c=u[0],d=u[1];a.has(c)||s.push(d)}for(var p,f=en(a);!(p=f()).done;){var v=p.value,m=v[0],g=v[1];o.has(m)||s.push(h(h({},g),{},{isViewable:!1}))}s.length>0&&(this._viewableItems=o,r({viewableItems:Array.from(o.values()),changed:s,viewabilityConfig:this._config}))}};var ei=at.createContext(null);function ti(e){var t=e.children,r=e.value,n=(0,at.useMemo)((()=>({cellKey:null,getScrollMetrics:r.getScrollMetrics,horizontal:r.horizontal,getOutermostParentListRef:r.getOutermostParentListRef,registerAsNestedChild:r.registerAsNestedChild,unregisterAsNestedChild:r.unregisterAsNestedChild})),[r.getScrollMetrics,r.horizontal,r.getOutermostParentListRef,r.registerAsNestedChild,r.unregisterAsNestedChild]);return at.createElement(ei.Provider,{value:n},t)}function ri(e){var t=e.cellKey,r=e.children,n=(0,at.useContext)(ei),i=(0,at.useMemo)((()=>null==n?null:h(h({},n),{},{cellKey:t})),[n,t]);return at.createElement(ei.Provider,{value:i},r)}class ni extends at.Component{constructor(){super(...arguments),this.state={separatorProps:{highlighted:!1,leadingItem:this.props.item}},this._separators={highlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!0})},unhighlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!1})},updateProps:(e,t)=>{var r=this.props,n=r.cellKey,i=r.prevCellKey;this.props.onUpdateSeparators(["leading"===e?i:n],t)}},this._onLayout=e=>{this.props.onCellLayout&&this.props.onCellLayout(e,this.props.cellKey,this.props.index)}}static getDerivedStateFromProps(e,t){return{separatorProps:h(h({},t.separatorProps),{},{leadingItem:e.item})}}updateSeparatorProps(e){this.setState((t=>({separatorProps:h(h({},t.separatorProps),e)})))}componentWillUnmount(){this.props.onUnmount(this.props.cellKey)}_renderElement(e,t,r,n){return e&&t&&console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem."),t?at.createElement(t,{item:r,index:n,separators:this._separators}):e?e({item:r,index:n,separators:this._separators}):void Jr()(!1,"VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.")}render(){var e=this.props,t=e.CellRendererComponent,r=e.ItemSeparatorComponent,n=e.ListItemComponent,i=e.cellKey,a=e.horizontal,o=e.item,s=e.index,l=e.inversionStyle,u=e.onCellFocusCapture,c=e.onCellLayout,d=e.renderItem,h=this._renderElement(d,n,o,s),p=at.isValidElement(r)?r:r&&at.createElement(r,this.state.separatorProps),f=l?a?[ii.rowReverse,l]:[ii.columnReverse,l]:a?[ii.row,l]:l,v=t?at.createElement(t,Ut({cellKey:i,index:s,item:o,style:f,onFocusCapture:u},c&&{onLayout:this._onLayout}),h,p):at.createElement(Xr,Ut({style:f,onFocusCapture:u},c&&{onLayout:this._onLayout}),h,p);return at.createElement(ri,{cellKey:this.props.cellKey},v)}}var ii=$e.create({row:{flexDirection:"row"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}});function ai(e,t){return"object"==typeof e&&null!=(null==e?void 0:e.key)?e.key:"object"==typeof e&&null!=(null==e?void 0:e.id)?e.id:String(t)}var oi=r(801),si=r.n(oi),li=!1,ui="";function ci(e){return null!=e&&e}function di(e){return null!=e?e:10}function hi(e){return null!=e?e:2}function pi(e,t){return e*t/2}function fi(e){return null!=e?e:21}class vi extends Zn{scrollToEnd(e){var t=!e||e.animated,r=this.props.getItemCount(this.props.data)-1;if(!(r<0)){var n=this.__getFrameMetricsApprox(r,this.props),i=Math.max(0,n.offset+n.length+this._footerLength-this._scrollMetrics.visibleLength);null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(ci(this.props.horizontal)?{x:i,animated:t}:{y:i,animated:t}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}}scrollToIndex(e){var t=this.props,r=t.data,n=t.horizontal,i=t.getItemCount,a=t.getItemLayout,o=t.onScrollToIndexFailed,s=e.animated,l=e.index,u=e.viewOffset,c=e.viewPosition;if(Jr()(l>=0,"scrollToIndex out of range: requested index "+l+" but minimum is 0"),Jr()(i(r)>=1,"scrollToIndex out of range: item length "+i(r)+" but minimum is 1"),Jr()(l<i(r),"scrollToIndex out of range: requested index "+l+" is out of 0 to "+(i(r)-1)),!a&&l>this._highestMeasuredFrameIndex)return Jr()(!!o,"scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."),void o({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:l});var d=this.__getFrameMetricsApprox(Math.floor(l),this.props),h=Math.max(0,this._getOffsetApprox(l,this.props)-(c||0)*(this._scrollMetrics.visibleLength-d.length))-(u||0);null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(n?{x:h,animated:s}:{y:h,animated:s}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}scrollToItem(e){for(var t=e.item,r=this.props,n=r.data,i=r.getItem,a=(0,r.getItemCount)(n),o=0;o<a;o++)if(i(n,o)===t){this.scrollToIndex(h(h({},e),{},{index:o}));break}}scrollToOffset(e){var t=e.animated,r=e.offset;null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(ci(this.props.horizontal)?{x:r,animated:t}:{y:r,animated:t}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}recordInteraction(){this._nestedChildLists.forEach((e=>{e.recordInteraction()})),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.recordInteraction()})),this._updateViewableItems(this.props,this.state.cellsAroundViewport)}flashScrollIndicators(){null!=this._scrollRef&&this._scrollRef.flashScrollIndicators()}getScrollResponder(){if(this._scrollRef&&this._scrollRef.getScrollResponder)return this._scrollRef.getScrollResponder()}getScrollableNode(){return this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode():this._scrollRef}getScrollRef(){return this._scrollRef&&this._scrollRef.getScrollRef?this._scrollRef.getScrollRef():this._scrollRef}_getCellKey(){var e;return(null==(e=this.context)?void 0:e.cellKey)||"rootList"}hasMore(){return this._hasMore}constructor(e){var t;if(super(e),this._getScrollMetrics=()=>this._scrollMetrics,this._getOutermostParentListRef=()=>this._isNestedWithSameOrientation()?this.context.getOutermostParentListRef():this,this._registerAsNestedChild=e=>{this._nestedChildLists.add(e.ref,e.cellKey),this._hasInteracted&&e.ref.recordInteraction()},this._unregisterAsNestedChild=e=>{this._nestedChildLists.remove(e.ref)},this._onUpdateSeparators=(e,t)=>{e.forEach((e=>{var r=null!=e&&this._cellRefs[e];r&&r.updateSeparatorProps(t)}))},this._getSpacerKey=e=>e?"height":"width",this._averageCellLength=0,this._cellRefs={},this._frames={},this._footerLength=0,this._hasTriggeredInitialScrollToIndex=!1,this._hasInteracted=!1,this._hasMore=!1,this._hasWarned={},this._headerLength=0,this._hiPriInProgress=!1,this._highestMeasuredFrameIndex=0,this._indicesToKeys=new Map,this._lastFocusedCellKey=null,this._nestedChildLists=new Kn,this._offsetFromParentVirtualizedList=0,this._prevParentOffset=0,this._scrollMetrics={contentLength:0,dOffset:0,dt:10,offset:0,timestamp:0,velocity:0,visibleLength:0,zoomScale:1},this._scrollRef=null,this._sentStartForContentLength=0,this._sentEndForContentLength=0,this._totalCellLength=0,this._totalCellsMeasured=0,this._viewabilityTuples=[],this._captureScrollRef=e=>{this._scrollRef=e},this._defaultRenderScrollComponent=e=>{var t,r=e.onRefresh;return this._isNestedWithSameOrientation()?at.createElement(Xr,e):r?(Jr()("boolean"==typeof e.refreshing,"`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `"+JSON.stringify(null!==(t=e.refreshing)&&void 0!==t?t:"undefined")+"`"),at.createElement(wn,Ut({},e,{refreshControl:null==e.refreshControl?at.createElement(rn,{refreshing:e.refreshing,onRefresh:r,progressViewOffset:e.progressViewOffset}):e.refreshControl}))):at.createElement(wn,e)},this._onCellLayout=(e,t,r)=>{var n=e.nativeEvent.layout,i={offset:this._selectOffset(n),length:this._selectLength(n),index:r,inLayout:!0},a=this._frames[t];a&&i.offset===a.offset&&i.length===a.length&&r===a.index?this._frames[t].inLayout=!0:(this._totalCellLength+=i.length-(a?a.length:0),this._totalCellsMeasured+=a?0:1,this._averageCellLength=this._totalCellLength/this._totalCellsMeasured,this._frames[t]=i,this._highestMeasuredFrameIndex=Math.max(this._highestMeasuredFrameIndex,r),this._scheduleCellsToRenderUpdate()),this._triggerRemeasureForChildListsInCell(t),this._computeBlankness(),this._updateViewableItems(this.props,this.state.cellsAroundViewport)},this._onCellUnmount=e=>{delete this._cellRefs[e];var t=this._frames[e];t&&(this._frames[e]=h(h({},t),{},{inLayout:!1}))},this._onLayout=e=>{this._isNestedWithSameOrientation()?this.measureLayoutRelativeToContainingList():this._scrollMetrics.visibleLength=this._selectLength(e.nativeEvent.layout),this.props.onLayout&&this.props.onLayout(e),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._onLayoutEmpty=e=>{this.props.onLayout&&this.props.onLayout(e)},this._onLayoutFooter=e=>{this._triggerRemeasureForChildListsInCell(this._getFooterCellKey()),this._footerLength=this._selectLength(e.nativeEvent.layout)},this._onLayoutHeader=e=>{this._headerLength=this._selectLength(e.nativeEvent.layout)},this._onContentSizeChange=(e,t)=>{e>0&&t>0&&null!=this.props.initialScrollIndex&&this.props.initialScrollIndex>0&&!this._hasTriggeredInitialScrollToIndex&&(null==this.props.contentOffset&&(this.props.initialScrollIndex<this.props.getItemCount(this.props.data)?this.scrollToIndex({animated:!1,index:si()(this.props.initialScrollIndex)}):this.scrollToEnd({animated:!1})),this._hasTriggeredInitialScrollToIndex=!0),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t),this._scrollMetrics.contentLength=this._selectLength({height:t,width:e}),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._convertParentScrollMetrics=e=>{var t=e.offset-this._offsetFromParentVirtualizedList,r=e.visibleLength,n=t-this._scrollMetrics.offset;return{visibleLength:r,contentLength:this._scrollMetrics.contentLength,offset:t,dOffset:n}},this._onScroll=e=>{this._nestedChildLists.forEach((t=>{t._onScroll(e)})),this.props.onScroll&&this.props.onScroll(e);var t=e.timeStamp,r=this._selectLength(e.nativeEvent.layoutMeasurement),n=this._selectLength(e.nativeEvent.contentSize),i=this._selectOffset(e.nativeEvent.contentOffset),a=i-this._scrollMetrics.offset;if(this._isNestedWithSameOrientation()){if(0===this._scrollMetrics.contentLength)return;var o=this._convertParentScrollMetrics({visibleLength:r,offset:i});r=o.visibleLength,n=o.contentLength,i=o.offset,a=o.dOffset}var s=this._scrollMetrics.timestamp?Math.max(1,t-this._scrollMetrics.timestamp):1,l=a/s;s>500&&this._scrollMetrics.dt>500&&n>5*r&&!this._hasWarned.perf&&(function(){console.log(...arguments)}("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:s,prevDt:this._scrollMetrics.dt,contentLength:n}),this._hasWarned.perf=!0);var u=e.nativeEvent.zoomScale<0?1:e.nativeEvent.zoomScale;this._scrollMetrics={contentLength:n,dt:s,dOffset:a,offset:i,timestamp:t,velocity:l,visibleLength:r,zoomScale:u},this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.props&&(this._maybeCallOnEdgeReached(),0!==l&&this._fillRateHelper.activate(),this._computeBlankness(),this._scheduleCellsToRenderUpdate())},this._onScrollBeginDrag=e=>{this._nestedChildLists.forEach((t=>{t._onScrollBeginDrag(e)})),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.recordInteraction()})),this._hasInteracted=!0,this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this._onScrollEndDrag=e=>{this._nestedChildLists.forEach((t=>{t._onScrollEndDrag(e)}));var t=e.nativeEvent.velocity;t&&(this._scrollMetrics.velocity=this._selectOffset(t)),this._computeBlankness(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this._onMomentumScrollBegin=e=>{this._nestedChildLists.forEach((t=>{t._onMomentumScrollBegin(e)})),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this._onMomentumScrollEnd=e=>{this._nestedChildLists.forEach((t=>{t._onMomentumScrollEnd(e)})),this._scrollMetrics.velocity=0,this._computeBlankness(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this._updateCellsToRender=()=>{this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.setState(((e,t)=>{var r=this._adjustCellsAroundViewport(t,e.cellsAroundViewport),n=vi._createRenderMask(t,r,this._getNonViewportRenderRegions(t));return r.first===e.cellsAroundViewport.first&&r.last===e.cellsAroundViewport.last&&n.equals(e.renderMask)?null:{cellsAroundViewport:r,renderMask:n}}))},this._createViewToken=(e,t,r)=>{var n=r.data,i=(0,r.getItem)(n,e);return{index:e,item:i,key:this._keyExtractor(i,e,r),isViewable:t}},this._getOffsetApprox=(e,t)=>{if(Number.isInteger(e))return this.__getFrameMetricsApprox(e,t).offset;var r=this.__getFrameMetricsApprox(Math.floor(e),t),n=e-Math.floor(e);return r.offset+n*r.length},this.__getFrameMetricsApprox=(e,t)=>{var r=this._getFrameMetrics(e,t);if(r&&r.index===e)return r;var n=t.data,i=t.getItemCount,a=t.getItemLayout;return Jr()(e>=0&&e<i(n),"Tried to get frame for out of range index "+e),Jr()(!a,"Should not have to estimate frames when a measurement metrics function is provided"),{length:this._averageCellLength,offset:this._averageCellLength*e}},this._getFrameMetrics=(e,t)=>{var r=t.data,n=t.getItem,i=t.getItemCount,a=t.getItemLayout;Jr()(e>=0&&e<i(r),"Tried to get frame for out of range index "+e);var o=n(r,e),s=this._frames[this._keyExtractor(o,e,t)];return s&&s.index===e||!a?s:a(r,e)},this._getNonViewportRenderRegions=e=>{if(!this._lastFocusedCellKey||!this._cellRefs[this._lastFocusedCellKey])return[];var t=this._cellRefs[this._lastFocusedCellKey].props.index,r=e.getItemCount(e.data);if(t>=r||this._keyExtractor(e.getItem(e.data,t),t,e)!==this._lastFocusedCellKey)return[];for(var n=t,i=0,a=n-1;a>=0&&i<this._scrollMetrics.visibleLength;a--)n--,i+=this.__getFrameMetricsApprox(a,e).length;for(var o=t,s=0,l=o+1;l<r&&s<this._scrollMetrics.visibleLength;l++)o++,s+=this.__getFrameMetricsApprox(l,e).length;return[{first:n,last:o}]},this._checkProps(e),this._fillRateHelper=new $n(this._getFrameMetrics),this._updateCellsToRenderBatcher=new Wn(this._updateCellsToRender,null!==(t=this.props.updateCellsBatchingPeriod)&&void 0!==t?t:50),this.props.viewabilityConfigCallbackPairs)this._viewabilityTuples=this.props.viewabilityConfigCallbackPairs.map((e=>({viewabilityHelper:new Qn(e.viewabilityConfig),onViewableItemsChanged:e.onViewableItemsChanged})));else{var r=this.props,n=r.onViewableItemsChanged,i=r.viewabilityConfig;n&&this._viewabilityTuples.push({viewabilityHelper:new Qn(i),onViewableItemsChanged:n})}var a=vi._initialRenderRegion(e);this.state={cellsAroundViewport:a,renderMask:vi._createRenderMask(e,a)},this.invertedWheelEventHandler=e=>{var t=this.props.horizontal?e.target.scrollLeft:e.target.scrollTop,r=this.props.horizontal?e.target.scrollWidth:e.target.scrollHeight,n=this.props.horizontal?e.target.clientWidth:e.target.clientHeight,i=r>n,a=this.props.horizontal?e.deltaX||e.wheelDeltaX:e.deltaY||e.wheelDeltaY,o=a;i&&(o=a<0?Math.min(a+t,0):Math.max(a-(r-n-t),0));var s=a-o;if(this.props.inverted&&this._scrollRef&&this._scrollRef.getScrollableNode){var l=this._scrollRef.getScrollableNode();if(this.props.horizontal){e.target.scrollLeft+=s;var u=l.scrollLeft-o;l.scrollLeft=this.props.getItemLayout?u:Math.min(u,this._totalCellLength)}else{e.target.scrollTop+=s;var c=l.scrollTop-o;l.scrollTop=this.props.getItemLayout?c:Math.min(c,this._totalCellLength)}e.preventDefault()}}}_checkProps(e){var t=e.onScroll,r=e.windowSize,n=e.getItemCount,i=e.data,a=e.initialScrollIndex;Jr()(!t||!t.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),Jr()(fi(r)>0,"VirtualizedList: The windowSize prop must be present and set to a value greater than 0."),Jr()(n,'VirtualizedList: The "getItemCount" prop must be provided');var o=n(i);null==a||this._hasTriggeredInitialScrollToIndex||!(a<0||o>0&&a>=o)||this._hasWarned.initialScrollIndex||(console.warn('initialScrollIndex "'+a+'" is not valid (list has '+o+" items)"),this._hasWarned.initialScrollIndex=!0)}static _createRenderMask(e,t,r){var n=e.getItemCount(e.data);Jr()(t.first>=0&&t.last>=t.first-1&&t.last<n,'Invalid cells around viewport "['+t.first+", "+t.last+']" was passed to VirtualizedList._createRenderMask');var i=new Un(n);if(n>0){for(var a=0,o=[t,...null!=r?r:[]];a<o.length;a++){var s=o[a];i.addCells(s)}if(null==e.initialScrollIndex||e.initialScrollIndex<=0){var l=vi._initialRenderRegion(e);i.addCells(l)}var u=new Set(e.stickyHeaderIndices);vi._ensureClosestStickyHeader(e,u,i,t.first)}return i}static _initialRenderRegion(e){var t,r,n=e.getItemCount(e.data),i=Math.max(0,Math.min(n-1,Math.floor(null!==(t=e.initialScrollIndex)&&void 0!==t?t:0)));return{first:i,last:Math.min(n,i+(null!=(r=e.initialNumToRender)?r:10))-1}}static _ensureClosestStickyHeader(e,t,r,n){for(var i=e.ListHeaderComponent?1:0,a=n-1;a>=0;a--)if(t.has(a+i)){r.addCells({first:a,last:a});break}}_adjustCellsAroundViewport(e,t){var r,n=e.data,i=e.getItemCount,a=hi(e.onEndReachedThreshold),o=this._scrollMetrics,s=o.contentLength,l=o.offset,u=o.visibleLength,c=s-u-l;if(u<=0||s<=0)return t.last>=i(n)?vi._constrainToItemCount(t,e):t;if(e.disableVirtualization){var d=c<a*u?di(e.maxToRenderPerBatch):0;r={first:0,last:Math.min(t.last+d,i(n)-1)}}else{if(e.initialScrollIndex&&!this._scrollMetrics.offset&&Math.abs(c)>=Number.EPSILON)return t.last>=i(n)?vi._constrainToItemCount(t,e):t;r=function(e,t,r,n,i,a){var o=e.getItemCount(e.data);if(0===o)return{first:0,last:-1};var s=a.offset,l=a.velocity,u=a.visibleLength,c=a.zoomScale,d=void 0===c?1:c,h=Math.max(0,s),p=h+u,f=(r-1)*u,v=l>1?"after":l<-1?"before":"none",m=Math.max(0,h-.5*f),g=Math.max(0,p+.5*f);if(i(o-1,e).offset*d<m)return{first:Math.max(0,o-1-t),last:o-1};var _=function(e,t,r,n){void 0===n&&(n=1);for(var i=t.getItemCount(t.data),a=[],o=0;o<e.length;o++)for(var s=e[o],l=0,u=i-1;l<=u;){var c=l+(u-l>>>1),d=r(c,t),h=d.offset*n,p=(d.offset+d.length)*n;if(0===c&&s<h||0!==c&&s<=h)u=c-1;else{if(!(s>p)){a[o]=c;break}l=c+1}}return a}([m,h,p,g],e,i,d),y=_[0],b=_[1],S=_[2],R=_[3];y=null==y?0:y,R=null==R?o-1:R;for(var E={first:b=null==b?Math.max(0,y):b,last:S=null==S?Math.min(R,b+t-1):S},C=function(e,t){return t.last-t.first+1-Math.max(0,1+Math.min(t.last,e.last)-Math.max(t.first,e.first))}(n,E);!(b<=y&&S>=R);){var w=C>=t,T=b<=n.first||b>n.last,k=b>y&&(!w||!T),x=S>=n.last||S<n.first,P=S<R&&(!w||!x);if(w&&!k&&!P)break;!k||"after"===v&&P&&x||(T&&C++,b--),!P||"before"===v&&k&&T||(x&&C++,S++)}if(!(S>=b&&b>=0&&S<o&&b>=y&&S<=R&&b<=E.first&&S>=E.last))throw new Error("Bad window calculation "+JSON.stringify({first:b,last:S,itemCount:o,overscanFirst:y,overscanLast:R,visible:E}));return{first:b,last:S}}(e,di(e.maxToRenderPerBatch),fi(e.windowSize),t,this.__getFrameMetricsApprox,this._scrollMetrics),Jr()(r.last<i(n),"computeWindowedRenderLimits() should return range in-bounds")}if(this._nestedChildLists.size()>0){var h=this._findFirstChildWithMore(r.first,r.last);r.last=null!=h?h:r.last}return r}_findFirstChildWithMore(e,t){for(var r=e;r<=t;r++){var n=this._indicesToKeys.get(r);if(null!=n&&this._nestedChildLists.anyInCell(n,(e=>e.hasMore())))return r}return null}componentDidMount(){this._isNestedWithSameOrientation()&&this.context.registerAsNestedChild({ref:this,cellKey:this.context.cellKey}),this.setupWebWheelHandler()}componentWillUnmount(){this._isNestedWithSameOrientation()&&this.context.unregisterAsNestedChild({ref:this}),this._updateCellsToRenderBatcher.dispose({abort:!0}),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.dispose()})),this._fillRateHelper.deactivateAndFlush(),this.teardownWebWheelHandler()}setupWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode().addEventListener("wheel",this.invertedWheelEventHandler):setTimeout((()=>this.setupWebWheelHandler()),50)}teardownWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode&&this._scrollRef.getScrollableNode().removeEventListener("wheel",this.invertedWheelEventHandler)}static getDerivedStateFromProps(e,t){if(e.getItemCount(e.data)===t.renderMask.numCells())return t;var r=vi._constrainToItemCount(t.cellsAroundViewport,e);return{cellsAroundViewport:r,renderMask:vi._createRenderMask(e,r)}}_pushCells(e,t,r,n,i,a){var o,s=this,l=this.props,u=l.CellRendererComponent,c=l.ItemSeparatorComponent,d=l.ListHeaderComponent,h=l.ListItemComponent,p=l.data,f=l.debug,v=l.getItem,m=l.getItemCount,g=l.getItemLayout,_=l.horizontal,y=l.renderItem,b=d?1:0,S=m(p)-1;i=Math.min(S,i);for(var R=function(){var n=v(p,E),i=s._keyExtractor(n,E,s.props);s._indicesToKeys.set(E,i),r.has(E+b)&&t.push(e.length);var l=null==g||f||s._fillRateHelper.enabled();e.push(at.createElement(ni,Ut({CellRendererComponent:u,ItemSeparatorComponent:E<S?c:void 0,ListItemComponent:h,cellKey:i,horizontal:_,index:E,inversionStyle:a,item:n,key:i,prevCellKey:o,onUpdateSeparators:s._onUpdateSeparators,onCellFocusCapture:e=>s._onCellFocusCapture(i),onUnmount:s._onCellUnmount,ref:e=>{s._cellRefs[i]=e},renderItem:y},l&&{onCellLayout:s._onCellLayout}))),o=i},E=n;E<=i;E++)R()}static _constrainToItemCount(e,t){var r=t.getItemCount(t.data),n=Math.min(r-1,e.last),i=di(t.maxToRenderPerBatch);return{first:jn(0,r-1-i,e.first),last:n}}_isNestedWithSameOrientation(){var e=this.context;return!(!e||!!e.horizontal!==ci(this.props.horizontal))}_keyExtractor(e,t,r){if(null!=r.keyExtractor)return r.keyExtractor(e,t);var n=ai(e,t);return n===String(t)&&(li=!0,e.type&&e.type.displayName&&(ui=e.type.displayName)),n}render(){this._checkProps(this.props);var e=this.props,t=e.ListEmptyComponent,r=e.ListFooterComponent,n=e.ListHeaderComponent,i=this.props,a=i.data,o=i.horizontal,s=this.props.inverted?ci(this.props.horizontal)?mi.horizontallyInverted:mi.verticallyInverted:null,l=[],u=new Set(this.props.stickyHeaderIndices),c=[];if(n){u.has(0)&&c.push(0);var d=at.isValidElement(n)?n:at.createElement(n,null);l.push(at.createElement(ri,{cellKey:this._getCellKey()+"-header",key:"$header"},at.createElement(Xr,{onLayout:this._onLayoutHeader,style:[s,this.props.ListHeaderComponentStyle]},d)))}var p=this.props.getItemCount(a);if(0===p&&t){var f=at.isValidElement(t)?t:at.createElement(t,null);l.push(at.createElement(ri,{cellKey:this._getCellKey()+"-empty",key:"$empty"},at.cloneElement(f,{onLayout:e=>{this._onLayoutEmpty(e),f.props.onLayout&&f.props.onLayout(e)},style:[s,f.props.style]})))}if(p>0){li=!1,ui="";for(var v,m=this._getSpacerKey(!o),g=this.state.renderMask.enumerateRegions(),_=function(e){for(var t=e.length-1;t>=0;t--)if(e[t].isSpacer)return e[t];return null}(g),y=en(g);!(v=y()).done;){var b=v.value;if(b.isSpacer){if(this.props.disableVirtualization)continue;var S=b!==_||this.props.getItemLayout?b.last:jn(b.first-1,b.last,this._highestMeasuredFrameIndex),R=this.__getFrameMetricsApprox(b.first,this.props),E=this.__getFrameMetricsApprox(S,this.props),C=E.offset+E.length-R.offset;l.push(at.createElement(Xr,{key:"$spacer-"+b.first,style:{[m]:C}}))}else this._pushCells(l,c,u,b.first,b.last,s)}!this._hasWarned.keys&&li&&(console.warn("VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.",ui),this._hasWarned.keys=!0)}if(r){var w=at.isValidElement(r)?r:at.createElement(r,null);l.push(at.createElement(ri,{cellKey:this._getFooterCellKey(),key:"$footer"},at.createElement(Xr,{onLayout:this._onLayoutFooter,style:[s,this.props.ListFooterComponentStyle]},w)))}var T,k=h(h({},this.props),{},{onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,onScroll:this._onScroll,onScrollBeginDrag:this._onScrollBeginDrag,onScrollEndDrag:this._onScrollEndDrag,onMomentumScrollBegin:this._onMomentumScrollBegin,onMomentumScrollEnd:this._onMomentumScrollEnd,scrollEventThrottle:(T=this.props.scrollEventThrottle,null!=T?T:50),invertStickyHeaders:void 0!==this.props.invertStickyHeaders?this.props.invertStickyHeaders:this.props.inverted,stickyHeaderIndices:c,style:s?[s,this.props.style]:this.props.style});this._hasMore=this.state.cellsAroundViewport.last<p-1;var x=at.createElement(ti,{value:{cellKey:null,getScrollMetrics:this._getScrollMetrics,horizontal:ci(this.props.horizontal),getOutermostParentListRef:this._getOutermostParentListRef,registerAsNestedChild:this._registerAsNestedChild,unregisterAsNestedChild:this._unregisterAsNestedChild}},at.cloneElement((this.props.renderScrollComponent||this._defaultRenderScrollComponent)(k),{ref:this._captureScrollRef},l));return this.props.debug?at.createElement(Xr,{style:mi.debug},x,this._renderDebugOverlay()):x}componentDidUpdate(e){var t=this.props,r=t.data,n=t.extraData;r===e.data&&n===e.extraData||this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.resetViewableIndices()}));var i=this._hiPriInProgress;this._scheduleCellsToRenderUpdate(),i&&(this._hiPriInProgress=!1)}_computeBlankness(){this._fillRateHelper.computeBlankness(this.props,this.state.cellsAroundViewport,this._scrollMetrics)}_onCellFocusCapture(e){this._lastFocusedCellKey=e,this._updateCellsToRender()}_triggerRemeasureForChildListsInCell(e){this._nestedChildLists.forEachInCell(e,(e=>{e.measureLayoutRelativeToContainingList()}))}measureLayoutRelativeToContainingList(){try{if(!this._scrollRef)return;this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(),((e,t,r,n)=>{this._offsetFromParentVirtualizedList=this._selectOffset({x:e,y:t}),this._scrollMetrics.contentLength=this._selectLength({width:r,height:n});var i=this._convertParentScrollMetrics(this.context.getScrollMetrics());(this._scrollMetrics.visibleLength!==i.visibleLength||this._scrollMetrics.offset!==i.offset)&&(this._scrollMetrics.visibleLength=i.visibleLength,this._scrollMetrics.offset=i.offset,this._nestedChildLists.forEach((e=>{e.measureLayoutRelativeToContainingList()})))}),(e=>{console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.")}))}catch(e){console.warn("measureLayoutRelativeToContainingList threw an error",e.stack)}}_getFooterCellKey(){return this._getCellKey()+"-footer"}_renderDebugOverlay(){for(var e=this._scrollMetrics.visibleLength/(this._scrollMetrics.contentLength||1),t=[],r=this.props.getItemCount(this.props.data),n=0;n<r;n++){var i=this.__getFrameMetricsApprox(n,this.props);i.inLayout&&t.push(i)}var a=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.first,this.props).offset,o=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.last,this.props),s=o.offset+o.length-a,l=this._scrollMetrics.offset,u=this._scrollMetrics.visibleLength;return at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlay]},t.map(((t,r)=>at.createElement(Xr,{key:"f"+r,style:[mi.debugOverlayBase,mi.debugOverlayFrame,{top:t.offset*e,height:t.length*e}]}))),at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlayFrameLast,{top:a*e,height:s*e}]}),at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlayFrameVis,{top:l*e,height:u*e}]}))}_selectLength(e){return ci(this.props.horizontal)?e.width:e.height}_selectOffset(e){return ci(this.props.horizontal)?e.x:e.y}_maybeCallOnEdgeReached(){var e=this.props,t=e.data,r=e.getItemCount,n=e.onStartReached,i=e.onStartReachedThreshold,a=e.onEndReached,o=e.onEndReachedThreshold,s=e.initialScrollIndex,l=this._scrollMetrics,u=l.contentLength,c=l.visibleLength,d=l.offset,h=d,p=u-c-d;h<.001&&(h=0),p<.001&&(p=0);var f=h<=(null!=i?i*c:2),v=p<=(null!=o?o*c:2);a&&this.state.cellsAroundViewport.last===r(t)-1&&v&&this._scrollMetrics.contentLength!==this._sentEndForContentLength?(this._sentEndForContentLength=this._scrollMetrics.contentLength,a({distanceFromEnd:p})):null!=n&&0===this.state.cellsAroundViewport.first&&f&&this._scrollMetrics.contentLength!==this._sentStartForContentLength?s&&0===this._scrollMetrics.timestamp||(this._sentStartForContentLength=this._scrollMetrics.contentLength,n({distanceFromStart:h})):(this._sentStartForContentLength=f?this._sentStartForContentLength:0,this._sentEndForContentLength=v?this._sentEndForContentLength:0)}_scheduleCellsToRenderUpdate(){var e=this.state.cellsAroundViewport,t=e.first,r=e.last,n=this._scrollMetrics,i=n.offset,a=n.visibleLength,o=n.velocity,s=this.props.getItemCount(this.props.data),l=!1,u=function(e){return null!=e?e:2}(this.props.onStartReachedThreshold),c=hi(this.props.onEndReachedThreshold);if(t>0){var d=i-this.__getFrameMetricsApprox(t,this.props).offset;l=d<0||o<-2&&d<pi(u,a)}if(!l&&r>=0&&r<s-1){var h=this.__getFrameMetricsApprox(r,this.props).offset-(i+a);l=h<0||o>2&&h<pi(c,a)}if(l&&(this._averageCellLength||this.props.getItemLayout)&&!this._hiPriInProgress)return this._hiPriInProgress=!0,this._updateCellsToRenderBatcher.dispose({abort:!0}),void this._updateCellsToRender();this._updateCellsToRenderBatcher.schedule()}_updateViewableItems(e,t){this._viewabilityTuples.forEach((r=>{r.viewabilityHelper.onUpdate(e,this._scrollMetrics.offset,this._scrollMetrics.visibleLength,this._getFrameMetrics,this._createViewToken,r.onViewableItemsChanged,t)}))}}vi.contextType=ei;var mi=$e.create({verticallyInverted:{transform:"scaleY(-1)"},horizontallyInverted:{transform:"scaleX(-1)"},debug:{flex:1},debugOverlayBase:{position:"absolute",top:0,right:0},debugOverlay:{bottom:0,width:20,borderColor:"blue",borderWidth:1},debugOverlayFrame:{left:0,backgroundColor:"orange"},debugOverlayFrameLast:{left:0,borderColor:"green",borderWidth:2},debugOverlayFrameVis:{left:0,borderColor:"red",borderWidth:2}});const gi=vi;var _i=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yi(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(i=t[r])||_i(n)&&_i(i)))return!1;var n,i;return!0}var bi=["numColumns","columnWrapperStyle","removeClippedSubviews","strictMode"];function Si(e){return null!=e?e:1}class Ri extends at.PureComponent{scrollToEnd(e){this._listRef&&this._listRef.scrollToEnd(e)}scrollToIndex(e){this._listRef&&this._listRef.scrollToIndex(e)}scrollToItem(e){this._listRef&&this._listRef.scrollToItem(e)}scrollToOffset(e){this._listRef&&this._listRef.scrollToOffset(e)}recordInteraction(){this._listRef&&this._listRef.recordInteraction()}flashScrollIndicators(){this._listRef&&this._listRef.flashScrollIndicators()}getScrollResponder(){if(this._listRef)return this._listRef.getScrollResponder()}getNativeScrollRef(){if(this._listRef)return this._listRef.getScrollRef()}getScrollableNode(){if(this._listRef)return this._listRef.getScrollableNode()}constructor(e){super(e),this._virtualizedListPairs=[],this._captureRef=e=>{this._listRef=e},this._getItem=(e,t)=>{var r=Si(this.props.numColumns);if(r>1){for(var n=[],i=0;i<r;i++){var a=t*r+i;if(a<e.length){var o=e[a];n.push(o)}}return n}return e[t]},this._getItemCount=e=>{if(null!=e&&function(e){return"number"==typeof Object(e).length}(e)){var t=Si(this.props.numColumns);return t>1?Math.ceil(e.length/t):e.length}return 0},this._keyExtractor=(e,t)=>{var r,n=Si(this.props.numColumns),i=null!==(r=this.props.keyExtractor)&&void 0!==r?r:ai;return n>1?(Jr()(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",n),e.map(((e,r)=>i(e,t*n+r))).join(":")):i(e,t)},this._renderer=(e,t,r,n,i)=>{var a=Si(n),o=r=>e?at.createElement(e,r):t?t(r):null,s=e=>{if(a>1){var t=e.item,n=e.index;return Jr()(Array.isArray(t),"Expected array of items with numColumns > 1"),at.createElement(Xr,{style:[Ei.row,r]},t.map(((t,r)=>{var i=o({item:t,index:n*a+r,separators:e.separators});return null!=i?at.createElement(at.Fragment,{key:r},i):null})))}return o(e)};return e?{ListItemComponent:s}:{renderItem:s}},this._memoizedRenderer=function(e,t){void 0===t&&(t=yi);var r=null;function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return n.clear=function(){r=null},n}(this._renderer),this._checkProps(this.props),this.props.viewabilityConfigCallbackPairs?this._virtualizedListPairs=this.props.viewabilityConfigCallbackPairs.map((e=>({viewabilityConfig:e.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(e.onViewableItemsChanged)}))):this.props.onViewableItemsChanged&&this._virtualizedListPairs.push({viewabilityConfig:this.props.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(this.props.onViewableItemsChanged)})}componentDidUpdate(e){Jr()(e.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),Jr()(e.onViewableItemsChanged===this.props.onViewableItemsChanged,"Changing onViewableItemsChanged on the fly is not supported"),Jr()(!$r(e.viewabilityConfig,this.props.viewabilityConfig),"Changing viewabilityConfig on the fly is not supported"),Jr()(e.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,"Changing viewabilityConfigCallbackPairs on the fly is not supported"),this._checkProps(this.props)}_checkProps(e){var t=e.getItem,r=e.getItemCount,n=e.horizontal,i=e.columnWrapperStyle,a=e.onViewableItemsChanged,o=e.viewabilityConfigCallbackPairs,s=Si(this.props.numColumns);Jr()(!t&&!r,"FlatList does not support custom data formats."),s>1?Jr()(!n,"numColumns does not support horizontal."):Jr()(!i,"columnWrapperStyle not supported for single column lists"),Jr()(!(a&&o),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}_pushMultiColumnViewable(e,t){var r,n=Si(this.props.numColumns),i=null!==(r=this.props.keyExtractor)&&void 0!==r?r:ai;t.item.forEach(((r,a)=>{Jr()(null!=t.index,"Missing index!");var o=t.index*n+a;e.push(h(h({},t),{},{item:r,key:i(r,o),index:o}))}))}_createOnViewableItemsChanged(e){return t=>{var r=Si(this.props.numColumns);if(e)if(r>1){var n=[],i=[];t.viewableItems.forEach((e=>this._pushMultiColumnViewable(i,e))),t.changed.forEach((e=>this._pushMultiColumnViewable(n,e))),e({viewableItems:i,changed:n})}else e(t)}}render(){var e,t=this.props,r=t.numColumns,n=t.columnWrapperStyle,i=t.removeClippedSubviews,a=t.strictMode,o=void 0!==a&&a,s=p(t,bi),l=o?this._memoizedRenderer:this._renderer;return at.createElement(gi,Ut({},s,{getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs,removeClippedSubviews:(e=i,null!=e?e:"android"===jt.OS)},l(this.props.ListItemComponent,this.props.renderItem,n,r,this.props.extraData)))}}var Ei=$e.create({row:{flexDirection:"row"}});const Ci=Ri,wi=new Tn;class Ti{constructor(e){"ios"===jt.OS&&(Jr()(null!=e,"`new NativeEventEmitter()` requires a non-null argument."),this._nativeModule=e)}addListener(e,t,r){var n;null==(n=this._nativeModule)||n.addListener(e);var i=wi.addListener(e,t,r);return{remove:()=>{var e;null!=i&&(null==(e=this._nativeModule)||e.removeListeners(1),i.remove(),i=null)}}}removeListener(e,t){var r;null==(r=this._nativeModule)||r.removeListeners(1),wi.removeListener(e,t)}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];wi.emit(e,...r)}removeAllListeners(e){var t;Jr()(null!=e,"`NativeEventEmitter.removeAllListener()` requires a non-null argument."),null==(t=this._nativeModule)||t.removeListeners(this.listenerCount(e)),wi.removeAllListeners(e)}listenerCount(e){return wi.listenerCount(e)}}const ki=jt,xi=()=>!1,Pi=()=>!1;var Ai,Ii=("ios"===ki.OS&&r.g.RN$Bridgeless,null),Ni=1,Li=1,Oi=new Set,Mi=!1,Di=[];"android"===ki.OS&&null!=Ii&&Ii.queueAndExecuteBatchedOperations&&Pi();var Vi=null,Bi=Ii,Fi={getValue:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.getValue,e,t)},setWaitingForIdentifier:function(e){Oi.add(e),Mi=!0,xi()&&Vi&&clearTimeout(Vi)},unsetWaitingForIdentifier:function(e){Oi.delete(e),0===Oi.size&&(Mi=!1,Fi.disableQueue())},disableQueue:function(){Jr()(Bi,"Native animated module is not available"),xi()?(clearImmediate(Vi),Vi=setImmediate(Fi.flushQueue)):Fi.flushQueue()},flushQueue:function(){},queueOperation:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];Mi||0!==Di.length?Di.push((()=>e(...r))):e(...r)},createAnimatedNode:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.createAnimatedNode,e,t)},updateAnimatedNodeConfig:function(e,t){Jr()(Bi,"Native animated module is not available")},startListeningToAnimatedNodeValue:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.startListeningToAnimatedNodeValue,e)},stopListeningToAnimatedNodeValue:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.stopListeningToAnimatedNodeValue,e)},connectAnimatedNodes:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.connectAnimatedNodes,e,t)},disconnectAnimatedNodes:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.disconnectAnimatedNodes,e,t)},startAnimatingNode:function(e,t,r,n){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.startAnimatingNode,e,t,r,n)},stopAnimation:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.stopAnimation,e)},setAnimatedNodeValue:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.setAnimatedNodeValue,e,t)},setAnimatedNodeOffset:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.setAnimatedNodeOffset,e,t)},flattenAnimatedNodeOffset:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.flattenAnimatedNodeOffset,e)},extractAnimatedNodeOffset:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.extractAnimatedNodeOffset,e)},connectAnimatedNodeToView:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.connectAnimatedNodeToView,e,t)},disconnectAnimatedNodeFromView:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.disconnectAnimatedNodeFromView,e,t)},restoreDefaultValues:function(e){Jr()(Bi,"Native animated module is not available"),null!=Bi.restoreDefaultValues&&Fi.queueOperation(Bi.restoreDefaultValues,e)},dropAnimatedNode:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.dropAnimatedNode,e)},addAnimatedEventToView:function(e,t,r){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.addAnimatedEventToView,e,t,r)},removeAnimatedEventFromView(e,t,r){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.removeAnimatedEventFromView,e,t,r)}},Hi={backgroundColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderRightColor:!0,borderStartColor:!0,borderTopColor:!0,color:!0,tintColor:!0},zi=h(h({},Hi),{},{borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,opacity:!0,transform:!0,zIndex:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0}),Wi={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,rotateZ:!0,perspective:!0},ji={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};function Ui(e){return zi.hasOwnProperty(e)}function Ki(e){return Wi.hasOwnProperty(e)}function Gi(e){return ji.hasOwnProperty(e)}function Yi(){return Li++}var qi=!1;function Xi(e){return null==e.useNativeDriver&&console.warn("Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`"),!0!==e.useNativeDriver||Ii?e.useNativeDriver||!1:(qi||(console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md"),qi=!0),!1)}const $i={API:Fi,isSupportedColorStyleProp:function(e){return Hi.hasOwnProperty(e)},isSupportedStyleProp:Ui,isSupportedTransformProp:Ki,isSupportedInterpolationParam:Gi,addWhitelistedStyleProp:function(e){zi[e]=!0},addWhitelistedTransformProp:function(e){Wi[e]=!0},addWhitelistedInterpolationParam:function(e){ji[e]=!0},validateStyles:function(e){for(var t in e)if(!Ui(t))throw new Error("Style property '"+t+"' is not supported by native animated module")},validateTransform:function(e){e.forEach((e=>{if(!Ki(e.property))throw new Error("Property '"+e.property+"' is not supported by native animated module")}))},validateInterpolation:function(e){for(var t in e)if(!Gi(t))throw new Error("Interpolation property '"+t+"' is not supported by native animated module")},generateNewNodeTag:function(){return Ni++},generateNewAnimationId:Yi,assertNativeAnimatedModule:function(){Jr()(Ii,"Native animated module is not available")},shouldUseNativeDriver:Xi,transformDataType:function(e){return"string"!=typeof e?e:/deg$/.test(e)?(parseFloat(e)||0)*Math.PI/180:e},get nativeEventEmitter(){return Ai||(Ai=new Ti("ios"!==ki.OS?null:Ii)),Ai}};var Zi=$i.API,Ji=1;const Qi=class{__attach(){}__detach(){this.__isNative&&null!=this.__nativeTag&&($i.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}__getValue(){}__getAnimatedValue(){return this.__getValue()}__addChild(e){}__removeChild(e){}__getChildren(){return[]}constructor(){this._listeners={}}__makeNative(e){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node');this._platformConfig=e,this.hasListeners()&&this._startListeningToNativeValueUpdates()}addListener(e){var t=String(Ji++);return this._listeners[t]=e,this.__isNative&&this._startListeningToNativeValueUpdates(),t}removeListener(e){delete this._listeners[e],this.__isNative&&!this.hasListeners()&&this._stopListeningForNativeValueUpdates()}removeAllListeners(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()}hasListeners(){return!!Object.keys(this._listeners).length}_startListeningToNativeValueUpdates(){this.__nativeAnimatedValueListener&&!this.__shouldUpdateListenersForNewNativeTag||(this.__shouldUpdateListenersForNewNativeTag&&(this.__shouldUpdateListenersForNewNativeTag=!1,this._stopListeningForNativeValueUpdates()),Zi.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=$i.nativeEventEmitter.addListener("onAnimatedValueUpdate",(e=>{e.tag===this.__getNativeTag()&&this.__onAnimatedValueUpdateReceived(e.value)})))}__onAnimatedValueUpdateReceived(e){this.__callListeners(e)}__callListeners(e){for(var t in this._listeners)this._listeners[t]({value:e})}_stopListeningForNativeValueUpdates(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,Zi.stopListeningToAnimatedNodeValue(this.__getNativeTag()))}__getNativeTag(){var e;$i.assertNativeAnimatedModule(),Jr()(this.__isNative,'Attempt to get native tag from node not marked as "native"');var t=null!==(e=this.__nativeTag)&&void 0!==e?e:$i.generateNewNodeTag();if(null==this.__nativeTag){this.__nativeTag=t;var r=this.__getNativeConfig();this._platformConfig&&(r.platformConfig=this._platformConfig),$i.API.createAnimatedNode(t,r),this.__shouldUpdateListenersForNewNativeTag=!0}return t}__getNativeConfig(){throw new Error("This JS animated node type cannot be used as native animated node")}toJSON(){return this.__getValue()}__getPlatformConfig(){return this._platformConfig}__setPlatformConfig(e){this._platformConfig=e}},ea=class extends Qi{constructor(){super(),this._children=[]}__makeNative(e){if(!this.__isNative){this.__isNative=!0;for(var t,r=en(this._children);!(t=r()).done;){var n=t.value;n.__makeNative(e),$i.API.connectAnimatedNodes(this.__getNativeTag(),n.__getNativeTag())}}super.__makeNative(e)}__addChild(e){0===this._children.length&&this.__attach(),this._children.push(e),this.__isNative&&(e.__makeNative(this.__getPlatformConfig()),$i.API.connectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()))}__removeChild(e){var t=this._children.indexOf(e);-1!==t?(this.__isNative&&e.__isNative&&$i.API.disconnectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()),this._children.splice(t,1),0===this._children.length&&this.__detach()):console.warn("Trying to remove a child that doesn't exist")}__getChildren(){return this._children}__callListeners(e){if(super.__callListeners(e),!this.__isNative)for(var t,r=en(this._children);!(t=r()).done;){var n=t.value;n.__getValue&&n.__callListeners(n.__getValue())}}};var ta=e=>e;function ra(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return function(e){var t=e.outputRange;Jr()(t.length>=2,"Bad output range"),function(e){for(var t=e[0].replace(ia,""),r=1;r<e.length;++r)Jr()(t===e[r].replace(ia,""),"invalid pattern "+e[0]+" and "+e[r])}(t=t.map(na));var r=t[0].match(ia).map((()=>[]));t.forEach((e=>{e.match(ia).forEach(((e,t)=>{r[t].push(+e)}))}));var n,i=t[0].match(ia).map(((t,n)=>ra(h(h({},e),{},{outputRange:r[n]})))),a="string"==typeof(n=t[0])&&n.startsWith("rgb");return e=>{var r=0;return t[0].replace(ia,(()=>{var t=+i[r++](e);return a&&(t=r<4?Math.round(t):Math.round(1e3*t)/1e3),String(t)}))}}(e);var t=e.outputRange,r=e.inputRange,n=e.easing||ta,i="extend";void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var a="extend";return void 0!==e.extrapolateRight?a=e.extrapolateRight:void 0!==e.extrapolate&&(a=e.extrapolate),e=>{Jr()("number"==typeof e,"Cannot interpolation an input which is not a number");var o=function(e,t){var r;for(r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,r);return function(e,t,r,n,i,a,o,s){var l=e;if(l<t){if("identity"===o)return l;"clamp"===o&&(l=t)}if(l>r){if("identity"===s)return l;"clamp"===s&&(l=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?l=-l:r===1/0?l-=t:l=(l-t)/(r-t),l=a(l),n===-1/0?l=-l:i===1/0?l+=n:l=l*(i-n)+n,l)}(e,r[o],r[o+1],t[o],t[o+1],n,i,a)}}function na(e){var t=_()(e);return null===t||"number"!=typeof t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var ia=/[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;class aa extends ea{constructor(e,t){super(),this._parent=e,this._config=t,this._interpolation=ra(t)}__makeNative(e){this._parent.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._parent.__getValue();return Jr()("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}interpolate(e){return new aa(this,e)}__attach(){this._parent.__addChild(this)}__detach(){this._parent.__removeChild(this),super.__detach()}__transformDataType(e){return e.map($i.transformDataType)}__getNativeConfig(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||"extend",extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||"extend",type:"interpolation"}}}aa.__createInterpolation=ra;const oa=aa;var sa=$i.API;const la=class extends ea{constructor(e,t){if(super(),"number"!=typeof e)throw new Error("AnimatedValue: Attempting to set value to undefined");this._startingValue=this._value=e,this._offset=0,this._animation=null,t&&t.useNativeDriver&&this.__makeNative()}__detach(){this.__isNative&&sa.getValue(this.__getNativeTag(),(e=>{this._value=e-this._offset})),this.stopAnimation(),super.__detach()}__getValue(){return this._value+this._offset}setValue(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e,!this.__isNative),this.__isNative&&function(e,t){sa.setWaitingForIdentifier(e),t(),sa.unsetWaitingForIdentifier(e)}(this.__getNativeTag().toString(),(()=>sa.setAnimatedNodeValue(this.__getNativeTag(),e)))}setOffset(e){this._offset=e,this.__isNative&&sa.setAnimatedNodeOffset(this.__getNativeTag(),e)}flattenOffset(){this._value+=this._offset,this._offset=0,this.__isNative&&sa.flattenAnimatedNodeOffset(this.__getNativeTag())}extractOffset(){this._offset+=this._value,this._value=0,this.__isNative&&sa.extractAnimatedNodeOffset(this.__getNativeTag())}stopAnimation(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&(this.__isNative?sa.getValue(this.__getNativeTag(),e):e(this.__getValue()))}resetAnimation(e){this.stopAnimation(e),this._value=this._startingValue,this.__isNative&&sa.setAnimatedNodeValue(this.__getNativeTag(),this._startingValue)}__onAnimatedValueUpdateReceived(e){this._updateValue(e,!1)}interpolate(e){return new oa(this,e)}animate(e,t){var r=null;e.__isInteraction&&(r=zn.createInteractionHandle());var n=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,(e=>{this._updateValue(e,!0)}),(e=>{this._animation=null,null!==r&&zn.clearInteractionHandle(r),t&&t(e)}),n,this)}stopTracking(){this._tracking&&this._tracking.__detach(),this._tracking=null}track(e){this.stopTracking(),this._tracking=e,this._tracking&&this._tracking.update()}_updateValue(e,t){if(void 0===e)throw new Error("AnimatedValue: Attempting to set value to undefined");var r;this._value=e,t&&(r=new Set,function e(t){"function"==typeof t.update?r.add(t):t.__getChildren().forEach(e)}(this),r.forEach((e=>e.update()))),super.__callListeners(this.__getValue())}__getNativeConfig(){return{type:"value",value:this._value,offset:this._offset}}};function ua(e,t,r){var n=[],i=(e,t)=>{if(e instanceof la)e.__makeNative(),n.push({nativeEventPath:t,animatedValueTag:e.__getNativeTag()});else if("object"==typeof e)for(var r in e)i(e[r],t.concat(r))};return Jr()(r[0]&&r[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),i(r[0].nativeEvent,[]),null!=e&&n.forEach((r=>{$i.API.addAnimatedEventToView(e,t,r)})),{detach(){null!=e&&n.forEach((r=>{$i.API.removeAnimatedEventFromView(e,t,r.animatedValueTag)}))}}}class ca{constructor(e,t){this._listeners=[],this._argMapping=e,null==t&&(console.warn("Animated.event now requires a second argument for options"),t={useNativeDriver:!1}),t.listener&&this.__addListener(t.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=Xi(t)}__addListener(e){this._listeners.push(e)}__removeListener(e){this._listeners=this._listeners.filter((t=>t!==e))}__attach(e,t){Jr()(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=ua(e,t,this._argMapping)}__detach(e,t){Jr()(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()}__getHandler(){var e=this;return this.__isNative?this._callListeners:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=(e,t,r)=>{if(e instanceof la)"number"==typeof t&&e.setValue(t);else if("object"==typeof e)for(var n in e)i(e[n],t[n],n)};e._argMapping.forEach(((e,t)=>{i(e,r[t],"arg"+t)})),e._callListeners(...r)}}_callListeners(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this._listeners.forEach((e=>e(...t)))}}const da=class extends ea{constructor(e){super(),this._transforms=e}__makeNative(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__makeNative()}})),super.__makeNative()}__getValue(){return this._transforms.map((e=>{var t={};for(var r in e){var n=e[r];t[r]=n instanceof Qi?n.__getValue():n}return t}))}__getAnimatedValue(){return this._transforms.map((e=>{var t={};for(var r in e){var n=e[r];t[r]=n instanceof Qi?n.__getAnimatedValue():n}return t}))}__attach(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__addChild(this)}}))}__detach(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__removeChild(this)}})),super.__detach()}__getNativeConfig(){var e=[];return this._transforms.forEach((t=>{for(var r in t){var n=t[r];n instanceof Qi?e.push({type:"animated",property:r,nodeTag:n.__getNativeTag()}):e.push({type:"static",property:r,value:$i.transformDataType(n)})}})),$i.validateTransform(e),{type:"transform",transforms:e}}};var ha=$e.flatten;function pa(e){var t=ha(e),r={};for(var n in t){var i=t[n];"transform"===n&&Array.isArray(i)?r[n]=new da(i):i instanceof Qi?r[n]=i:i&&!Array.isArray(i)&&"object"==typeof i&&(r[n]=pa(i))}return r}const fa=class extends ea{constructor(e){super(),this._inputStyle=e,this._style=pa(e)}_walkStyleAndGetValues(e){var t={};for(var r in e){var n=e[r];n instanceof Qi?n.__isNative||(t[r]=n.__getValue()):n&&!Array.isArray(n)&&"object"==typeof n?t[r]=this._walkStyleAndGetValues(n):t[r]=n}return t}__getValue(){return[this._inputStyle,this._walkStyleAndGetValues(this._style)]}_walkStyleAndGetAnimatedValues(e){var t={};for(var r in e){var n=e[r];n instanceof Qi?t[r]=n.__getAnimatedValue():n&&!Array.isArray(n)&&"object"==typeof n&&(t[r]=this._walkStyleAndGetAnimatedValues(n))}return t}__getAnimatedValue(){return this._walkStyleAndGetAnimatedValues(this._style)}__attach(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__addChild(this)}}__detach(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__removeChild(this)}super.__detach()}__makeNative(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__makeNative()}super.__makeNative()}__getNativeConfig(){var e={};for(var t in this._style)if(this._style[t]instanceof Qi){var r=this._style[t];r.__makeNative(),e[t]=r.__getNativeTag()}return $i.validateStyles(e),{type:"style",style:e}}},va=class extends Qi{constructor(e,t){super(),e.style&&(e=h(h({},e),{},{style:new fa(e.style)})),this._props=e,this._callback=t,this.__attach()}__getValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi?(!r.__isNative||r instanceof fa)&&(e[t]=r.__getValue()):e[t]=r instanceof ca?r.__getHandler():r}return e}__getAnimatedValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi&&(e[t]=r.__getAnimatedValue())}return e}__attach(){for(var e in this._props){var t=this._props[e];t instanceof Qi&&t.__addChild(this)}}__detach(){for(var e in this.__isNative&&this._animatedView&&this.__disconnectAnimatedView(),this._props){var t=this._props[e];t instanceof Qi&&t.__removeChild(this)}super.__detach()}update(){this._callback()}__makeNative(){if(!this.__isNative){for(var e in this.__isNative=!0,this._props){var t=this._props[e];t instanceof Qi&&t.__makeNative()}this._animatedView&&this.__connectAnimatedView()}}setNativeView(e){this._animatedView!==e&&(this._animatedView=e,this.__isNative&&this.__connectAnimatedView())}__connectAnimatedView(){Jr()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;Jr()(null!=e,"Unable to locate attached view in the native tree"),$i.API.connectAnimatedNodeToView(this.__getNativeTag(),e)}__disconnectAnimatedView(){Jr()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;Jr()(null!=e,"Unable to locate attached view in the native tree"),$i.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),e)}__restoreDefaultValues(){this.__isNative&&$i.API.restoreDefaultValues(this.__getNativeTag())}__getNativeConfig(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi&&(r.__makeNative(),e[t]=r.__getNativeTag())}return{type:"props",props:e}}};function ma(e){return h(h({},e.__getValue()),{},{collapsable:!1})}var ga=["style"];function _a(e){return at.forwardRef(((t,r)=>{var n=function(e){var t=(0,at.useReducer)((e=>e+1),0)[1],r=(0,at.useRef)(null),n=(0,at.useMemo)((()=>new va(e,(()=>null==r.current?void 0:r.current()))),[e]);!function(e){var t=(0,at.useRef)(null),r=(0,at.useRef)(!1);(0,at.useEffect)((()=>{$i.API.flushQueue()})),er((()=>(r.current=!1,()=>{r.current=!0})),[]),er((()=>{if(e.__attach(),null!=t.current){var n=t.current;n.__restoreDefaultValues(),n.__detach(),t.current=null}return()=>{r.current?e.__detach():t.current=e}}),[e])}(n);var i,a,o=(0,at.useCallback)((i=>{n.setNativeView(i),r.current=()=>{t()};var a=function(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e.getScrollableNode)?e.getScrollableNode():e}(i),o=[];for(var s in e){var l=e[s];l instanceof ca&&l.__isNative&&(l.__attach(a,s),o.push([s,l]))}return()=>{r.current=null;for(var e=0,t=o;e<t.length;e++){var n=t[e],i=n[0];n[1].__detach(a,i)}}}),[e,n]),s=(i=o,a=(0,at.useRef)(void 0),(0,at.useCallback)((e=>{a.current&&(a.current(),a.current=void 0),null!=e&&(a.current=i(e))}),[i]));return[ma(n),s]}(t),i=n[0],a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,at.useCallback)((e=>{for(var r=0,n=t;r<n.length;r++){var i=n[r];null!=i&&("function"==typeof i?i(e):i.current=e)}}),[...t])}(n[1],r),o=i.passthroughAnimatedPropExplicitValues,s=i.style,l=null!=o?o:{},u=l.style,c=p(l,ga),d=[s,u];return at.createElement(e,Ut({},i,c,{style:d,ref:a}))}))}const ya=_a(at.forwardRef(((e,t)=>at.createElement(Ci,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var ba=[];function Sa(e){return ba[e-1]}var Ra=/^data:/;class Ea{static has(e){var t=Ea._entries;return Ra.test(e)||Boolean(t[e])}static add(e){var t=Ea._entries,r=Date.now();t[e]?(t[e].lastUsedTimestamp=r,t[e].refCount+=1):t[e]={lastUsedTimestamp:r,refCount:1}}static remove(e){var t=Ea._entries;t[e]&&(t[e].refCount-=1),Ea._cleanUpIfNeeded()}static _cleanUpIfNeeded(){var e,t,r=Ea._entries,n=Object.keys(r);n.length+1>Ea._maximumEntries&&(n.forEach((n=>{var i=r[n];(!t||i.lastUsedTimestamp<t.lastUsedTimestamp)&&0===i.refCount&&(e=n,t=i)})),e&&delete r[e])}}Ea._maximumEntries=256,Ea._entries={};var Ca=0,wa={},Ta={abort(e){var t=wa[""+e];t&&(t.onerror=null,t.onload=null,t=null,delete wa[""+e])},getSize(e,t,r){var n=!1,i=setInterval(o,16),a=Ta.load(e,o,(function(){"function"==typeof r&&r(),Ta.abort(a),clearInterval(i)}));function o(){var e=wa[""+a];if(e){var r=e.naturalHeight,o=e.naturalWidth;r&&o&&(t(o,r),n=!0)}n&&(Ta.abort(a),clearInterval(i))}},has:e=>Ea.has(e),load(e,t,r){Ca+=1;var n=new window.Image;return n.onerror=r,n.onload=e=>{var r=()=>t({nativeEvent:e});"function"==typeof n.decode?n.decode().then(r,r):setTimeout(r,0)},n.src=e,wa[""+Ca]=n,Ca},prefetch:e=>new Promise(((t,r)=>{Ta.load(e,(()=>{Ea.add(e),Ea.remove(e),t()}),r)})),queryCache(e){var t={};return e.forEach((e=>{Ea.has(e)&&(t[e]="disk/memory")})),Promise.resolve(t)}};const ka=Ta;class xa{static get(){return un.get("window").scale}static getFontScale(){return un.get("window").fontScale||xa.get()}static getPixelSizeForLayoutSize(e){return Math.round(e*xa.get())}static roundToNearestPixel(e){var t=xa.get();return Math.round(e*t)/t}}var Pa=["aria-label","accessibilityLabel","blurRadius","defaultSource","draggable","onError","onLayout","onLoad","onLoadEnd","onLoadStart","pointerEvents","source","style"],Aa="LOADED",Ia="LOADING",Na=0,La=/^(data:image\/svg\+xml;utf8,)(.*)/;function Oa(e){var t=null;if("number"==typeof e){var r=Sa(e);if(null==r)throw new Error('Image: asset with ID "'+e+'" could not be found. Please check the image source or packager.');var n=r.scales[0];if(r.scales.length>1){var i=xa.get();n=r.scales.reduce(((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e))}var a=1!==n?"@"+n+"x":"";t=r?r.httpServerLocation+"/"+r.name+a+"."+r.type:""}else"string"==typeof e?t=e:e&&"string"==typeof e.uri&&(t=e.uri);if(t){var o=t.match(La);if(o){var s=o[1],l=o[2];return""+s+encodeURIComponent(l)}}return t}var Ma=at.forwardRef(((e,t)=>{var r=e["aria-label"],n=e.accessibilityLabel,i=e.blurRadius,a=e.defaultSource,o=e.draggable,s=e.onError,l=e.onLayout,u=e.onLoad,c=e.onLoadEnd,d=e.onLoadStart,h=e.pointerEvents,f=e.source,v=e.style,m=p(e,Pa),g=r||n,_=at.useState((()=>{var e=Oa(f);return null!=e&&ka.has(e)?Aa:"IDLE"})),y=_[0],b=_[1],S=at.useState({}),R=S[0],E=S[1],C=at.useContext(Ur),w=at.useRef(null),T=at.useRef(Na++),k=at.useRef(null),x=y===Aa||y===Ia&&null==a,P=function(e,t,r,n){var i=$e.flatten(e),a=i.filter,o=i.resizeMode,s=i.shadowOffset,l=i.tintColor;i.resizeMode,i.tintColor;var u=[],c=null;if(a&&u.push(a),t&&u.push("blur("+t+"px)"),s){var d=Oe(i);d&&u.push("drop-shadow("+d+")")}return(n||l)&&null!=r&&u.push("url(#tint-"+r+")"),u.length>0&&(c=u.join(" ")),[o,c,l]}(v,i,T.current,e.tintColor),A=P[0],I=P[1],N=P[2],L=e.resizeMode||A||"cover",O=e.tintColor||N,M=x?f:a,D=Oa(M),V=function(e){if("number"==typeof e){var t=Sa(e);return{height:t.height,width:t.width}}if(null!=e&&!Array.isArray(e)&&"object"==typeof e)return{height:e.height,width:e.width}}(M),B=D?'url("'+D+'")':null,F=function(){if(null!=w.current&&("center"===L||"repeat"===L)){var e=w.current,t=e.naturalHeight,r=e.naturalWidth,n=R.height,i=R.width;if(t&&r&&n&&i){var a=Math.min(1,i/r,n/t);return Math.ceil(a*r)+"px "+Math.ceil(a*t)+"px"}}}(),H=D?vt("img",{alt:g||"",style:Va.accessibilityImage$raw,draggable:o||!1,ref:w,src:D}):null,z=Oa(f);return at.useEffect((()=>{function e(){null!=k.current&&(ka.abort(k.current),k.current=null)}return e(),null!=z&&(b(Ia),d&&d(),k.current=ka.load(z,(function(e){b(Aa),u&&u(e),c&&c()}),(function(){b("ERRORED"),s&&s({nativeEvent:{error:"Failed to load resource "+z}}),c&&c()}))),e}),[z,k,b,s,u,c,d]),at.createElement(Xr,Ut({},m,{"aria-label":g,onLayout:function(e){if("center"===L||"repeat"===L||l){var t=e.nativeEvent.layout;l&&l(e),E(t)}},pointerEvents:h,ref:t,style:[Va.root,C&&Va.inline,V,v,Va.undo,{boxShadow:null}]}),at.createElement(Xr,{style:[Va.image,Ba[L],{backgroundImage:B,filter:I},null!=F&&{backgroundSize:F}],suppressHydrationWarning:!0}),H,function(e,t){return e&&null!=t?at.createElement("svg",{style:{position:"absolute",height:0,visibility:"hidden",width:0}},at.createElement("defs",null,at.createElement("filter",{id:"tint-"+t,suppressHydrationWarning:!0},at.createElement("feFlood",{floodColor:""+e,key:e}),at.createElement("feComposite",{in2:"SourceAlpha",operator:"in"})))):null}(O,T.current))}));Ma.displayName="Image";var Da=Ma;Da.getSize=function(e,t,r){ka.getSize(e,t,r)},Da.prefetch=function(e){return ka.prefetch(e)},Da.queryCache=function(e){return ka.queryCache(e)};var Va=$e.create({root:{flexBasis:"auto",overflow:"hidden",zIndex:0},inline:{display:"inline-flex"},undo:{blurRadius:null,shadowColor:null,shadowOpacity:null,shadowOffset:null,shadowRadius:null,tintColor:null,overlayColor:null,resizeMode:null},image:h(h({},$e.absoluteFillObject),{},{backgroundColor:"transparent",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"100%",width:"100%",zIndex:-1}),accessibilityImage$raw:h(h({},$e.absoluteFillObject),{},{height:"100%",opacity:0,width:"100%",zIndex:-1})}),Ba=$e.create({center:{backgroundSize:"auto"},contain:{backgroundSize:"contain"},cover:{backgroundSize:"cover"},none:{backgroundPosition:"0",backgroundSize:"auto"},repeat:{backgroundPosition:"0",backgroundRepeat:"repeat",backgroundSize:"auto"},stretch:{backgroundSize:"100% 100%"}});const Fa=Da,Ha=_a(Fa),za=_a(at.forwardRef(((e,t)=>at.createElement(wn,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var Wa=["ItemSeparatorComponent","SectionSeparatorComponent","renderItem","renderSectionFooter","renderSectionHeader","sections","stickySectionHeadersEnabled"];class ja extends at.PureComponent{constructor(){super(...arguments),this._keyExtractor=(e,t)=>{var r=this._subExtractor(t);return r&&r.key||String(t)},this._convertViewable=e=>{var t;Jr()(null!=e.index,"Received a broken ViewToken");var r=this._subExtractor(e.index);if(!r)return null;var n=r.section.keyExtractor,i=this.props.keyExtractor||ai,a=null!=n?n(e.item,r.index):i(e.item,null!==(t=r.index)&&void 0!==t?t:0);return h(h({},e),{},{index:r.index,key:a,section:r.section})},this._onViewableItemsChanged=e=>{var t=e.viewableItems,r=e.changed,n=this.props.onViewableItemsChanged;null!=n&&n({viewableItems:t.map(this._convertViewable,this).filter(Boolean),changed:r.map(this._convertViewable,this).filter(Boolean)})},this._renderItem=e=>t=>{var r=t.item,n=t.index,i=this._subExtractor(n);if(!i)return null;var a=i.index;if(null==a){var o=i.section;if(!0===i.header){var s=this.props.renderSectionHeader;return s?s({section:o}):null}var l=this.props.renderSectionFooter;return l?l({section:o}):null}var u=i.section.renderItem||this.props.renderItem,c=this._getSeparatorComponent(n,i,e);return Jr()(u,"no renderItem!"),at.createElement(Ua,{SeparatorComponent:c,LeadingSeparatorComponent:0===a?this.props.SectionSeparatorComponent:void 0,cellKey:i.key,index:a,item:r,leadingItem:i.leadingItem,leadingSection:i.leadingSection,prevCellKey:(this._subExtractor(n-1)||{}).key,setSelfHighlightCallback:this._setUpdateHighlightFor,setSelfUpdatePropsCallback:this._setUpdatePropsFor,updateHighlightFor:this._updateHighlightFor,updatePropsFor:this._updatePropsFor,renderItem:u,section:i.section,trailingItem:i.trailingItem,trailingSection:i.trailingSection,inverted:!!this.props.inverted})},this._updatePropsFor=(e,t)=>{var r=this._updatePropsMap[e];null!=r&&r(t)},this._updateHighlightFor=(e,t)=>{var r=this._updateHighlightMap[e];null!=r&&r(t)},this._setUpdateHighlightFor=(e,t)=>{null!=t?this._updateHighlightMap[e]=t:delete this._updateHighlightFor[e]},this._setUpdatePropsFor=(e,t)=>{null!=t?this._updatePropsMap[e]=t:delete this._updatePropsMap[e]},this._updateHighlightMap={},this._updatePropsMap={},this._captureRef=e=>{this._listRef=e}}scrollToLocation(e){for(var t=e.itemIndex,r=0;r<e.sectionIndex;r++)t+=this.props.getItemCount(this.props.sections[r].data)+2;var n=e.viewOffset||0;if(null!=this._listRef){e.itemIndex>0&&this.props.stickySectionHeadersEnabled&&(n+=this._listRef.__getFrameMetricsApprox(t-e.itemIndex,this._listRef.props).length);var i=h(h({},e),{},{viewOffset:n,index:t});this._listRef.scrollToIndex(i)}}getListRef(){return this._listRef}render(){for(var e,t=this.props,r=(t.ItemSeparatorComponent,t.SectionSeparatorComponent,t.renderItem,t.renderSectionFooter,t.renderSectionHeader,t.sections,t.stickySectionHeadersEnabled,p(t,Wa)),n=this.props.ListHeaderComponent?1:0,i=this.props.stickySectionHeadersEnabled?[]:void 0,a=0,o=en(this.props.sections);!(e=o()).done;){var s=e.value;null!=i&&i.push(a+n),a+=2,a+=this.props.getItemCount(s.data)}var l=this._renderItem(a);return at.createElement(gi,Ut({},r,{keyExtractor:this._keyExtractor,stickyHeaderIndices:i,renderItem:l,data:this.props.sections,getItem:(e,t)=>this._getItem(this.props,e,t),getItemCount:()=>a,onViewableItemsChanged:this.props.onViewableItemsChanged?this._onViewableItemsChanged:void 0,ref:this._captureRef}))}_getItem(e,t,r){if(!t)return null;for(var n=r-1,i=0;i<t.length;i++){var a=t[i],o=a.data,s=e.getItemCount(o);if(-1===n||n===s)return a;if(n<s)return e.getItem(o,n);n-=s+2}return null}_subExtractor(e){for(var t=e,r=this.props,n=r.getItem,i=r.getItemCount,a=r.keyExtractor,o=r.sections,s=0;s<o.length;s++){var l=o[s],u=l.data,c=l.key||String(s);if(!((t-=1)>=i(u)+1))return-1===t?{section:l,key:c+":header",index:null,header:!0,trailingSection:o[s+1]}:t===i(u)?{section:l,key:c+":footer",index:null,header:!1,trailingSection:o[s+1]}:{section:l,key:c+":"+(l.keyExtractor||a||ai)(n(u,t),t),index:t,leadingItem:n(u,t-1),leadingSection:o[s-1],trailingItem:n(u,t+1),trailingSection:o[s+1]};t-=i(u)+1}}_getSeparatorComponent(e,t,r){if(!(t=t||this._subExtractor(e)))return null;var n=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,i=this.props.SectionSeparatorComponent,a=e===r-1,o=t.index===this.props.getItemCount(t.section.data)-1;return i&&o?i:!n||o||a?null:n}}function Ua(e){var t=e.LeadingSeparatorComponent,r=e.SeparatorComponent,n=e.cellKey,i=e.prevCellKey,a=e.setSelfHighlightCallback,o=e.updateHighlightFor,s=e.setSelfUpdatePropsCallback,l=e.updatePropsFor,u=e.item,c=e.index,d=e.section,p=e.inverted,f=at.useState(!1),v=f[0],m=f[1],g=at.useState(!1),_=g[0],y=g[1],b=at.useState({leadingItem:e.leadingItem,leadingSection:e.leadingSection,section:e.section,trailingItem:e.item,trailingSection:e.trailingSection}),S=b[0],R=b[1],E=at.useState({leadingItem:e.item,leadingSection:e.leadingSection,section:e.section,trailingItem:e.trailingItem,trailingSection:e.trailingSection}),C=E[0],w=E[1];at.useEffect((()=>(a(n,y),s(n,w),()=>{s(n,null),a(n,null)})),[n,a,w,s]);var T={highlight:()=>{m(!0),y(!0),null!=i&&o(i,!0)},unhighlight:()=>{m(!1),y(!1),null!=i&&o(i,!1)},updateProps:(e,n)=>{"leading"===e?null!=t?R(h(h({},S),n)):null!=i&&l(i,h(h({},S),n)):"trailing"===e&&null!=r&&w(h(h({},C),n))}},k=e.renderItem({item:u,index:c,section:d,separators:T}),x=null!=t&&at.createElement(t,Ut({highlighted:v},S)),P=null!=r&&at.createElement(r,Ut({highlighted:_},C));return x||P?at.createElement(Xr,null,!1===p?x:P,k,!1===p?P:x):k}const Ka=ja;var Ga=["stickySectionHeadersEnabled"];class Ya extends at.PureComponent{constructor(){super(...arguments),this._captureRef=e=>{this._wrapperListRef=e}}scrollToLocation(e){null!=this._wrapperListRef&&this._wrapperListRef.scrollToLocation(e)}recordInteraction(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.recordInteraction()}flashScrollIndicators(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.flashScrollIndicators()}getScrollResponder(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollResponder()}getScrollableNode(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollableNode()}render(){var e=this.props,t=e.stickySectionHeadersEnabled,r=p(e,Ga),n=null!=t?t:"ios"===jt.OS;return at.createElement(Ka,Ut({},r,{stickySectionHeadersEnabled:n,ref:this._captureRef,getItemCount:e=>e.length,getItem:(e,t)=>e[t]}))}}const qa=Ya,Xa=_a(at.forwardRef(((e,t)=>at.createElement(qa,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var $a=["hrefAttrs","numberOfLines","onClick","onLayout","onPress","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","selectable"],Za=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{href:!0,lang:!0,pointerEvents:!0}),Ja=at.forwardRef(((e,t)=>{var r=e.hrefAttrs,n=e.numberOfLines,i=e.onClick,a=e.onLayout,o=e.onPress,s=e.onMoveShouldSetResponder,l=e.onMoveShouldSetResponderCapture,u=e.onResponderEnd,c=e.onResponderGrant,d=e.onResponderMove,h=e.onResponderReject,f=e.onResponderRelease,v=e.onResponderStart,m=e.onResponderTerminate,g=e.onResponderTerminationRequest,_=e.onScrollShouldSetResponder,y=e.onScrollShouldSetResponderCapture,b=e.onSelectionChangeShouldSetResponder,S=e.onSelectionChangeShouldSetResponderCapture,R=e.onStartShouldSetResponder,E=e.onStartShouldSetResponderCapture,C=e.selectable,w=p(e,$a),T=at.useContext(Ur),k=at.useRef(null),x=ft().direction;nr(k,a),jr(k,{onMoveShouldSetResponder:s,onMoveShouldSetResponderCapture:l,onResponderEnd:u,onResponderGrant:c,onResponderMove:d,onResponderReject:h,onResponderRelease:f,onResponderStart:v,onResponderTerminate:m,onResponderTerminationRequest:g,onScrollShouldSetResponder:_,onScrollShouldSetResponderCapture:y,onSelectionChangeShouldSetResponder:b,onSelectionChangeShouldSetResponderCapture:S,onStartShouldSetResponder:R,onStartShouldSetResponderCapture:E});var P=at.useCallback((e=>{null!=i?i(e):null!=o&&(e.stopPropagation(),o(e))}),[i,o]),A=T?"span":"div",I=null!=e.lang?ht(e.lang):null,N=e.dir||I,L=N||x,O=(e=>Qt(e,Za))(w);if(O.dir=N,T||(O.dir=null!=N?N:"auto"),(i||o)&&(O.onClick=P),O.style=[null!=n&&n>1&&{WebkitLineClamp:n},!0===T?eo.textHasAncestor$raw:eo.text$raw,1===n&&eo.textOneLine,null!=n&&n>1&&eo.textMultiLine,e.style,!0===C&&eo.selectable,!1===C&&eo.notSelectable,o&&eo.pressable],null!=e.href&&(A="a",null!=r)){var M=r.download,D=r.rel,V=r.target;null!=M&&(O.download=M),null!=D&&(O.rel=D),"string"==typeof V&&(O.target="_"!==V.charAt(0)?"_"+V:V)}var B=ar(k,lr(O),t);O.ref=B;var F=vt(A,O,{writingDirection:L});return T?F:at.createElement(Ur.Provider,{value:!0},F)}));Ja.displayName="Text";var Qa={backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",listStyle:"none",margin:0,padding:0,position:"relative",textAlign:"start",textDecoration:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},eo=$e.create({text$raw:Qa,textHasAncestor$raw:h(h({},Qa),{},{color:"inherit",font:"inherit",textAlign:"inherit",whiteSpace:"inherit"}),textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"},notSelectable:{userSelect:"none"},selectable:{userSelect:"text"},pressable:{cursor:"pointer"}});const to=Ja,ro=_a(to),no=_a(Xr),io=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()+this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"addition",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},ao=class extends ea{constructor(e,t,r){super(),this._a=e,this._min=t,this._max=r,this._value=this._lastValue=this._a.__getValue()}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}interpolate(e){return new oa(this,e)}__getValue(){var e=this._a.__getValue(),t=e-this._lastValue;return this._lastValue=e,this._value=Math.min(Math.max(this._value+t,this._min),this._max),this._value}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"diffclamp",input:this._a.__getNativeTag(),min:this._min,max:this._max}}},oo=class extends ea{constructor(e,t){super(),this._warnedAboutDivideByZero=!1,(0===t||t instanceof Qi&&0===t.__getValue())&&console.error("Detected potential division by zero in AnimatedDivision"),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._a.__getValue(),t=this._b.__getValue();return 0===t?(this._warnedAboutDivideByZero||(console.error("Detected division by zero in AnimatedDivision"),this._warnedAboutDivideByZero=!0),0):(this._warnedAboutDivideByZero=!1,e/t)}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"division",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},so=class extends ea{constructor(e,t){super(),this._a=e,this._modulus=t}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}__getValue(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"modulus",input:this._a.__getNativeTag(),modulus:this._modulus}}},lo=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()*this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"multiplication",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},uo=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()-this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"subtraction",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},co=class extends Qi{constructor(e,t,r,n,i){super(),this._value=e,this._parent=t,this._animationClass=r,this._animationConfig=n,this._useNativeDriver=Xi(n),this._callback=i,this.__attach()}__makeNative(){this.__isNative=!0,this._parent.__makeNative(),super.__makeNative(),this._value.__makeNative()}__getValue(){return this._parent.__getValue()}__attach(){this._parent.__addChild(this),this._useNativeDriver&&this.__makeNative()}__detach(){this._parent.__removeChild(this),super.__detach()}update(){this._value.animate(new this._animationClass(h(h({},this._animationConfig),{},{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}__getNativeConfig(){var e=new this._animationClass(h(h({},this._animationConfig),{},{toValue:void 0})).__getNativeAnimationConfig();return{type:"tracking",animationId:Yi(),animationConfig:e,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()}}};var ho=1;const po=class extends ea{constructor(e){super();var t=e||{x:0,y:0};"number"==typeof t.x&&"number"==typeof t.y?(this.x=new la(t.x),this.y=new la(t.y)):(Jr()(t.x instanceof la&&t.y instanceof la,"AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."),this.x=t.x,this.y=t.y),this._listeners={}}setValue(e){this.x.setValue(e.x),this.y.setValue(e.y)}setOffset(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}flattenOffset(){this.x.flattenOffset(),this.y.flattenOffset()}extractOffset(){this.x.extractOffset(),this.y.extractOffset()}__getValue(){return{x:this.x.__getValue(),y:this.y.__getValue()}}resetAnimation(e){this.x.resetAnimation(),this.y.resetAnimation(),e&&e(this.__getValue())}stopAnimation(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}addListener(e){var t=String(ho++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={x:this.x.addListener(r),y:this.y.addListener(r)},t}removeListener(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}removeAllListeners(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}}getLayout(){return{left:this.x,top:this.y}}getTranslateTransform(){return[{translateX:this.x},{translateY:this.y}]}};var fo=1;const vo=class{start(e,t,r,n,i){}stop(){this.__nativeId&&$i.API.stopAnimation(this.__nativeId)}__getNativeAnimationConfig(){throw new Error("This animation type cannot be offloaded to native")}__debouncedOnEnd(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}__startNativeAnimation(e){var t=fo+":startAnimation";fo+=1,$i.API.setWaitingForIdentifier(t);try{var r=this.__getNativeAnimationConfig();e.__makeNative(r.platformConfig),this.__nativeId=$i.generateNewAnimationId(),$i.API.startAnimatingNode(this.__nativeId,e.__getNativeTag(),r,this.__debouncedOnEnd.bind(this))}catch(e){throw e}finally{$i.API.unsetWaitingForIdentifier(t)}}},mo=class extends vo{constructor(e){var t,r,n;super(),this._deceleration=null!==(t=e.deceleration)&&void 0!==t?t:.998,this._velocity=e.velocity,this._useNativeDriver=Xi(e),this.__isInteraction=null!==(r=e.isInteraction)&&void 0!==r?r:!this._useNativeDriver,this.__iterations=null!==(n=e.iterations)&&void 0!==n?n:1}__getNativeAnimationConfig(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}start(e,t,r,n,i){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=r,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}onUpdate(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));this._onUpdate(t),Math.abs(this._lastValue-t)<.1?this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))))}stop(){super.stop(),this.__active=!1,r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};function go(e){return 3.62*(e-30)+194}function _o(e){return 3*(e-8)+25}const yo=function(e,t){return{stiffness:go(e),damping:_o(t)}},bo=function(e,t){function r(e,t,r){return(e-t)/(r-t)}function n(e,t,r){return t+e*(r-t)}var i=r(e/1.7,0,20);i=n(i,0,.8);var a,o,s,l=n(r(t/1.7,0,20),.5,200),u=function(e,t){return.01*e+(1-e)*t}(2*(a=i)-a*a,(o=l)<=18?(s=o,7e-4*Math.pow(s,3)-.031*Math.pow(s,2)+.64*s+1.28):o>18&&o<=44?function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}(o):function(e){return 45e-8*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}(o));return{stiffness:go(l),damping:_o(u)}};class So extends vo{constructor(e){var t,r,n,i,a,o,s,l,u,c,d;if(super(),this._overshootClamping=null!==(t=e.overshootClamping)&&void 0!==t&&t,this._restDisplacementThreshold=null!==(r=e.restDisplacementThreshold)&&void 0!==r?r:.001,this._restSpeedThreshold=null!==(n=e.restSpeedThreshold)&&void 0!==n?n:.001,this._initialVelocity=null!==(i=e.velocity)&&void 0!==i?i:0,this._lastVelocity=null!==(a=e.velocity)&&void 0!==a?a:0,this._toValue=e.toValue,this._delay=null!==(o=e.delay)&&void 0!==o?o:0,this._useNativeDriver=Xi(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(s=e.isInteraction)&&void 0!==s?s:!this._useNativeDriver,this.__iterations=null!==(l=e.iterations)&&void 0!==l?l:1,void 0!==e.stiffness||void 0!==e.damping||void 0!==e.mass)Jr()(void 0===e.bounciness&&void 0===e.speed&&void 0===e.tension&&void 0===e.friction,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one"),this._stiffness=null!==(u=e.stiffness)&&void 0!==u?u:100,this._damping=null!==(c=e.damping)&&void 0!==c?c:10,this._mass=null!==(d=e.mass)&&void 0!==d?d:1;else if(void 0!==e.bounciness||void 0!==e.speed){var h,p;Jr()(void 0===e.tension&&void 0===e.friction&&void 0===e.stiffness&&void 0===e.damping&&void 0===e.mass,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one");var f=bo(null!==(h=e.bounciness)&&void 0!==h?h:8,null!==(p=e.speed)&&void 0!==p?p:12);this._stiffness=f.stiffness,this._damping=f.damping,this._mass=1}else{var v,m,g=yo(null!==(v=e.tension)&&void 0!==v?v:40,null!==(m=e.friction)&&void 0!==m?m:7);this._stiffness=g.stiffness,this._damping=g.damping,this._mass=1}Jr()(this._stiffness>0,"Stiffness value must be greater than 0"),Jr()(this._damping>0,"Damping value must be greater than 0"),Jr()(this._mass>0,"Mass value must be greater than 0")}__getNativeAnimationConfig(){var e;return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:null!==(e=this._initialVelocity)&&void 0!==e?e:this._lastVelocity,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,n,i){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=t,this.__onEnd=r,this._lastTime=Date.now(),this._frameTime=0,n instanceof So){var a=n.getInternalState();this._lastPosition=a.lastPosition,this._lastVelocity=a.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=a.lastTime}var o=()=>{this._useNativeDriver?this.__startNativeAnimation(i):this.onUpdate()};this._delay?this._timeout=setTimeout(o,this._delay):o()}getInternalState(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}onUpdate(){var e=Date.now();e>this._lastTime+64&&(e=this._lastTime+64);var t=(e-this._lastTime)/1e3;this._frameTime+=t;var r=this._damping,n=this._mass,i=this._stiffness,a=-this._initialVelocity,o=r/(2*Math.sqrt(i*n)),s=Math.sqrt(i/n),l=s*Math.sqrt(1-o*o),u=this._toValue-this._startPosition,c=0,d=0,h=this._frameTime;if(o<1){var p=Math.exp(-o*s*h);c=this._toValue-p*((a+o*s*u)/l*Math.sin(l*h)+u*Math.cos(l*h)),d=o*s*p*(Math.sin(l*h)*(a+o*s*u)/l+u*Math.cos(l*h))-p*(Math.cos(l*h)*(a+o*s*u)-l*u*Math.sin(l*h))}else{var f=Math.exp(-s*h);c=this._toValue-f*(u+(a+s*u)*h),d=f*(a*(h*s-1)+h*u*(s*s))}if(this._lastTime=e,this._lastPosition=c,this._lastVelocity=d,this._onUpdate(c),this.__active){var v=!1;this._overshootClamping&&0!==this._stiffness&&(v=this._startPosition<this._toValue?c>this._toValue:c<this._toValue);var m=Math.abs(d)<=this._restSpeedThreshold,g=!0;if(0!==this._stiffness&&(g=Math.abs(this._toValue-c)<=this._restDisplacementThreshold),v||m&&g)return 0!==this._stiffness&&(this._lastPosition=this._toValue,this._lastVelocity=0,this._onUpdate(this._toValue)),void this.__debouncedOnEnd({finished:!0});this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}const Ro=So;var Eo,Co=.1,wo="function"==typeof Float32Array;function To(e,t){return 1-3*t+3*e}function ko(e,t){return 3*t-6*e}function xo(e){return 3*e}function Po(e,t,r){return((To(t,r)*e+ko(t,r))*e+xo(t))*e}function Ao(e,t,r){return 3*To(t,r)*e*e+2*ko(t,r)*e+xo(t)}function Io(e,t,r,n){if(!(e>=0&&e<=1&&r>=0&&r<=1))throw new Error("bezier x values must be in [0, 1] range");var i=wo?new Float32Array(11):new Array(11);if(e!==t||r!==n)for(var a=0;a<11;++a)i[a]=Po(a*Co,e,r);return function(a){return e===t&&r===n?a:0===a?0:1===a?1:Po(function(t){for(var n=0,a=1;10!==a&&i[a]<=t;++a)n+=Co;--a;var o=n+(t-i[a])/(i[a+1]-i[a])*Co,s=Ao(o,e,r);return s>=.001?function(e,t,r,n){for(var i=t,a=0;a<4;++a){var o=Ao(i,r,n);if(0===o)return i;i-=(Po(i,r,n)-e)/o}return i}(t,o,e,r):0===s?o:function(e,t,r,n,i){var a,o,s=0,l=t,u=r;do{(a=Po(o=l+(u-l)/2,n,i)-e)>0?u=o:l=o}while(Math.abs(a)>1e-7&&++s<10);return o}(t,n,n+Co,e,r)}(a),t,n)}}class No{static step0(e){return e>0?1:0}static step1(e){return e>=1?1:0}static linear(e){return e}static ease(e){return Eo||(Eo=No.bezier(.42,0,1,1)),Eo(e)}static quad(e){return e*e}static cubic(e){return e*e*e}static poly(e){return t=>Math.pow(t,e)}static sin(e){return 1-Math.cos(e*Math.PI/2)}static circle(e){return 1-Math.sqrt(1-e*e)}static exp(e){return Math.pow(2,10*(e-1))}static elastic(e){void 0===e&&(e=1);var t=e*Math.PI;return e=>1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}static back(e){return void 0===e&&(e=1.70158),t=>t*t*((e+1)*t-e)}static bounce(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){var r=e-2.25/2.75;return 7.5625*r*r+.9375}var n=e-2.625/2.75;return 7.5625*n*n+.984375}static bezier(e,t,r,n){return Io(e,t,r,n)}static in(e){return e}static out(e){return t=>1-e(1-t)}static inOut(e){return t=>t<.5?e(2*t)/2:1-e(2*(1-t))/2}}const Lo=No;var Oo;const Mo=class extends vo{constructor(e){var t,r,n,i,a;super(),this._toValue=e.toValue,this._easing=null!==(t=e.easing)&&void 0!==t?t:(Oo||(Oo=Lo.inOut(Lo.ease)),Oo),this._duration=null!==(r=e.duration)&&void 0!==r?r:500,this._delay=null!==(n=e.delay)&&void 0!==n?n:0,this.__iterations=null!==(i=e.iterations)&&void 0!==i?i:1,this._useNativeDriver=Xi(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(a=e.isInteraction)&&void 0!==a?a:!this._useNativeDriver}__getNativeAnimationConfig(){for(var e=[],t=Math.round(this._duration/(1e3/60)),r=0;r<t;r++)e.push(this._easing(r/t));return e.push(this._easing(1)),{type:"frames",frames:e,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,n,i){this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=r;var a=()=>{0!==this._duration||this._useNativeDriver?(this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))):(this._onUpdate(this._toValue),this.__debouncedOnEnd({finished:!0}))};this._delay?this._timeout=setTimeout(a,this._delay):a()}onUpdate(){var e=Date.now();if(e>=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};var Do=$i.API,Vo={r:0,g:0,b:0,a:1},Bo=1;function Fo(e){if(null==e)return null;if(Ho(e))return e;var t=_()(e);if(null==t)return null;if("object"==typeof t){if(null!=t)return t}else if("number"==typeof t)return{r:(4278190080&t)>>>24,g:(16711680&t)>>>16,b:(65280&t)>>>8,a:(255&t)/255};return null}function Ho(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}class zo extends ea{constructor(e,t){super(),this._listeners={};var r=null!=e?e:Vo;if(function(e){return e&&e.r instanceof la&&e.g instanceof la&&e.b instanceof la&&e.a instanceof la}(r)){var n=r;this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a}else{var i,a=null!==(i=Fo(r))&&void 0!==i?i:Vo,o=Vo;Ho(a)?o=a:this.nativeColor=a,this.r=new la(o.r),this.g=new la(o.g),this.b=new la(o.b),this.a=new la(o.a)}(this.nativeColor||t&&t.useNativeDriver)&&this.__makeNative()}setValue(e){var t,r=!1;if(this.__isNative){var n=this.__getNativeTag();Do.setWaitingForIdentifier(n.toString())}var i=null!==(t=Fo(e))&&void 0!==t?t:Vo;if(Ho(i)){var a=i;this.r.setValue(a.r),this.g.setValue(a.g),this.b.setValue(a.b),this.a.setValue(a.a),null!=this.nativeColor&&(this.nativeColor=null,r=!0)}else{var o=i;this.nativeColor!==o&&(this.nativeColor=o,r=!0)}if(this.__isNative){var s=this.__getNativeTag();r&&Do.updateAnimatedNodeConfig(s,this.__getNativeConfig()),Do.unsetWaitingForIdentifier(s.toString())}}setOffset(e){this.r.setOffset(e.r),this.g.setOffset(e.g),this.b.setOffset(e.b),this.a.setOffset(e.a)}flattenOffset(){this.r.flattenOffset(),this.g.flattenOffset(),this.b.flattenOffset(),this.a.flattenOffset()}extractOffset(){this.r.extractOffset(),this.g.extractOffset(),this.b.extractOffset(),this.a.extractOffset()}addListener(e){var t=String(Bo++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={r:this.r.addListener(r),g:this.g.addListener(r),b:this.b.addListener(r),a:this.a.addListener(r)},t}removeListener(e){this.r.removeListener(this._listeners[e].r),this.g.removeListener(this._listeners[e].g),this.b.removeListener(this._listeners[e].b),this.a.removeListener(this._listeners[e].a),delete this._listeners[e]}removeAllListeners(){this.r.removeAllListeners(),this.g.removeAllListeners(),this.b.removeAllListeners(),this.a.removeAllListeners(),this._listeners={}}stopAnimation(e){this.r.stopAnimation(),this.g.stopAnimation(),this.b.stopAnimation(),this.a.stopAnimation(),e&&e(this.__getValue())}resetAnimation(e){this.r.resetAnimation(),this.g.resetAnimation(),this.b.resetAnimation(),this.a.resetAnimation(),e&&e(this.__getValue())}__getValue(){return null!=this.nativeColor?this.nativeColor:"rgba("+this.r.__getValue()+", "+this.g.__getValue()+", "+this.b.__getValue()+", "+this.a.__getValue()+")"}__attach(){this.r.__addChild(this),this.g.__addChild(this),this.b.__addChild(this),this.a.__addChild(this),super.__attach()}__detach(){this.r.__removeChild(this),this.g.__removeChild(this),this.b.__removeChild(this),this.a.__removeChild(this),super.__detach()}__makeNative(e){this.r.__makeNative(e),this.g.__makeNative(e),this.b.__makeNative(e),this.a.__makeNative(e),super.__makeNative(e)}__getNativeConfig(){return{type:"color",r:this.r.__getNativeTag(),g:this.g.__getNativeTag(),b:this.b.__getNativeTag(),a:this.a.__getNativeTag(),nativeColor:this.nativeColor}}}var Wo=function(e,t){return e&&t.onComplete?function(){t.onComplete&&t.onComplete(...arguments),e&&e(...arguments)}:e||t.onComplete},jo=function(e,t,r){if(e instanceof po){var n=h({},t),i=h({},t);for(var a in t){var o=t[a],s=o.x,l=o.y;void 0!==s&&void 0!==l&&(n[a]=s,i[a]=l)}var u=r(e.x,n),c=r(e.y,i);return Go([u,c],{stopTogether:!1})}if(e instanceof zo){var d=h({},t),p=h({},t),f=h({},t),v=h({},t);for(var m in t){var g=t[m],_=g.r,y=g.g,b=g.b,S=g.a;void 0!==_&&void 0!==y&&void 0!==b&&void 0!==S&&(d[m]=_,p[m]=y,f[m]=b,v[m]=S)}var R=r(e.r,d),E=r(e.g,p),C=r(e.b,f),w=r(e.a,v);return Go([R,E,C,w],{stopTogether:!1})}return null},Uo=function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),t.toValue instanceof Qi?n.track(new co(n,t.toValue,Mo,i,r)):n.animate(new Mo(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},Ko=function(e){var t=0;return{start:function(r){0===e.length?r&&r({finished:!0}):e[t].start((function n(i){i.finished&&++t!==e.length?e[t].start(n):r&&r(i)}))},stop:function(){t<e.length&&e[t].stop()},reset:function(){e.forEach(((e,r)=>{r<=t&&e.reset()})),t=0},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.sequence animations")},_isUsingNativeDriver:function(){return!1}}},Go=function(e,t){var r=0,n={},i=!(t&&!1===t.stopTogether),a={start:function(t){r!==e.length?e.forEach(((o,s)=>{var l=function(o){if(n[s]=!0,++r===e.length)return r=0,void(t&&t(o));!o.finished&&i&&a.stop()};o?o.start(l):l({finished:!0})})):t&&t({finished:!0})},stop:function(){e.forEach(((e,t)=>{!n[t]&&e.stop(),n[t]=!0}))},reset:function(){e.forEach(((e,t)=>{e.reset(),n[t]=!1,r=0}))},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.parallel animations")},_isUsingNativeDriver:function(){return!1}};return a},Yo=function(e){return Uo(new la(0),{toValue:0,delay:e,duration:0,useNativeDriver:!1})};const qo={Value:la,ValueXY:po,Color:zo,Interpolation:oa,Node:Qi,decay:function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),n.animate(new mo(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},timing:Uo,spring:function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),t.toValue instanceof Qi?n.track(new co(n,t.toValue,Ro,i,r)):n.animate(new Ro(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},add:function(e,t){return new io(e,t)},subtract:function(e,t){return new uo(e,t)},divide:function(e,t){return new oo(e,t)},multiply:function(e,t){return new lo(e,t)},modulo:function(e,t){return new so(e,t)},diffClamp:function(e,t,r){return new ao(e,t,r)},delay:Yo,sequence:Ko,parallel:Go,stagger:function(e,t){return Go(t.map(((t,r)=>Ko([Yo(e*r),t]))))},loop:function(e,t){var r=void 0===t?{}:t,n=r.iterations,i=void 0===n?-1:n,a=r.resetBeforeIteration,o=void 0===a||a,s=!1,l=0;return{start:function(t){e&&0!==i?e._isUsingNativeDriver()?e._startNativeLoop(i):function r(n){void 0===n&&(n={finished:!0}),s||l===i||!1===n.finished?t&&t(n):(l++,o&&e.reset(),e.start(r))}():t&&t({finished:!0})},stop:function(){s=!0,e.stop()},reset:function(){l=0,s=!1,e.reset()},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return e._isUsingNativeDriver()}}},event:function(e,t){var r=new ca(e,t);return r.__isNative?r:r.__getHandler()},createAnimatedComponent:_a,attachNativeEvent:ua,forkEvent:function(e,t){return e?e instanceof ca?(e.__addListener(t),e):function(){"function"==typeof e&&e(...arguments),t(...arguments)}:t},unforkEvent:function(e,t){e&&e instanceof ca&&e.__removeListener(t)},Event:ca};var Xo=!1;function $o(e){return t=>{var r=null==t?t:function(){if(Xo)console.warn("Ignoring recursive animation callback when running mock animations");else{Xo=!0;try{t(...arguments)}finally{Xo=!1}}};e(r)}}var Zo={start:()=>{},stop:()=>{},reset:()=>{},_startNativeLoop:()=>{},_isUsingNativeDriver:()=>!1},Jo=e=>h(h({},Zo),{},{start:$o((t=>{e.forEach((e=>e.start())),null==t||t({finished:!0})}))});const Qo={Value:la,ValueXY:po,Color:zo,Interpolation:oa,Node:Qi,decay:function(e,t){return Zo},timing:function(e,t){var r=e;return h(h({},Zo),{},{start:$o((e=>{r.setValue(t.toValue),null==e||e({finished:!0})}))})},spring:function(e,t){var r=e;return h(h({},Zo),{},{start:$o((e=>{r.setValue(t.toValue),null==e||e({finished:!0})}))})},add:qo.add,subtract:qo.subtract,divide:qo.divide,multiply:qo.multiply,modulo:qo.modulo,diffClamp:qo.diffClamp,delay:function(e){return Zo},sequence:function(e){return Jo(e)},parallel:function(e,t){return Jo(e)},stagger:function(e,t){return Jo(t)},loop:function(e,t){return(void 0===t?{}:t).iterations,Zo},event:qo.event,createAnimatedComponent:_a,attachNativeEvent:ua,forkEvent:qo.forkEvent,unforkEvent:qo.unforkEvent,Event:ca},es=h({FlatList:ya,Image:Ha,ScrollView:za,SectionList:Xa,Text:ro,View:no},jt.isTesting?Qo:qo);var ts=E&&null!=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null,rs=new WeakMap;const ns={getColorScheme:()=>ts&&ts.matches?"dark":"light",addChangeListener(e){var t=rs.get(e);return t||(t=t=>{var r=t.matches;e({colorScheme:r?"dark":"light"})},rs.set(e,t)),ts&&ts.addListener(t),{remove:function(){var t=rs.get(e);ts&&t&&ts.removeListener(t),rs.delete(e)}}}};var is=at.createContext(null),as=at.forwardRef(((e,t)=>{var r=e.children,n=e.WrapperComponent,i=at.createElement(Xr,{children:r,key:1,style:ls.appContainer});return n&&(i=at.createElement(n,null,i)),at.createElement(is.Provider,{value:e.rootTag},at.createElement(Xr,{ref:t,style:ls.appContainer},i))}));as.displayName="AppContainer";const os=as;var ss,ls=$e.create({appContainer:{flex:1,pointerEvents:"box-none"}}),us={},cs={},ds=e=>e();class hs{static getAppKeys(){return Object.keys(cs)}static getApplication(e,t){return Jr()(cs[e]&&cs[e].getApplication,"Application "+e+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),cs[e].getApplication(t)}static registerComponent(e,t){return cs[e]={getApplication:e=>{return r=ds(t),n=e?e.initialProps:us,i=ss&&ss(e),{element:ot().createElement(os,{WrapperComponent:i,rootTag:{}},ot().createElement(r,n)),getStyleElement:e=>{var t=$e.getSheet();return ot().createElement("style",Ut({},e,{dangerouslySetInnerHTML:{__html:t.textContent},id:t.id}))}};var r,n,i},run:e=>{return r=ds(t),n=ss&&ss(e),i=e.callback,o=(a={hydrate:e.hydrate||!1,initialProps:e.initialProps||us,mode:e.mode||"concurrent",rootTag:e.rootTag}).initialProps,s=a.mode,l=a.rootTag,u=a.hydrate?"concurrent"===s?St:Et:"concurrent"===s?Rt:Ct,Jr()(l,"Expect to have a valid rootTag, instead got ",l),u(ot().createElement(os,{WrapperComponent:n,ref:i,rootTag:l},ot().createElement(r,o)),l);var r,n,i,a,o,s,l,u}},e}static registerConfig(e){e.forEach((e=>{var t=e.appKey,r=e.component,n=e.run;n?hs.registerRunnable(t,n):(Jr()(r,"No component provider passed in"),hs.registerComponent(t,r))}))}static registerRunnable(e,t){return cs[e]={run:t},e}static runApplication(e,t){return Jr()(cs[e]&&cs[e].run,'Application "'+e+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),cs[e].run(t)}static setComponentProviderInstrumentationHook(e){ds=e}static setWrapperComponentProvider(e){ss=e}static unmountApplicationComponentAtRootTag(e){bt(e)}}var ps=E&&!document.hasOwnProperty("hidden")&&document.hasOwnProperty("webkitHidden"),fs=["change","memoryWarning"],vs=ps?"webkitvisibilitychange":"visibilitychange",ms=ps?"webkitVisibilityState":"visibilityState",gs="active",_s=null;class ys{static get currentState(){if(!ys.isAvailable)return gs;switch(document[ms]){case"hidden":case"prerender":case"unloaded":return"background";default:return gs}}static addEventListener(e,t){if(ys.isAvailable&&(Jr()(-1!==fs.indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e))return _s||(_s=new Tn,document.addEventListener(vs,(()=>{_s&&_s.emit("change",ys.currentState)}),!1)),_s.addListener(e,t)}}function bs(){}ys.isAvailable=E&&!!document[ms];const Ss={exitApp:bs,addEventListener:()=>(console.error("BackHandler is not supported on web and should not be used."),{remove:bs}),removeEventListener:bs};var Rs;class Es{static isAvailable(){return void 0===Rs&&(Rs="function"==typeof document.queryCommandSupported&&document.queryCommandSupported("copy")),Rs}static getString(){return Promise.resolve("")}static setString(e){var t=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=e,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var i=window.getSelection();i.removeAllRanges();var a=document.createRange();a.selectNodeContents(n),i.addRange(a);try{document.execCommand("copy"),t=!0}catch(e){}i.removeAllRanges(),r.removeChild(n)}return t}}const Cs={allowRTL(){},forceRTL(){},getConstants:()=>({isRTL:!1})},ws={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){dn()},removeAllListeners(){},removeListener(){}};function Ts(e,t){jt.isTesting||Mt.configureNextLayoutAnimation(e,null!=t?t:function(){},(function(){}))}function ks(e,t,r){return{duration:e,create:{type:t,property:r},update:{type:t},delete:{type:t,property:r}}}var xs={easeInEaseOut:ks(300,"easeInEaseOut","opacity"),linear:ks(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}};const Ps={configureNext:Ts,create:ks,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:xs,easeInEaseOut:Ts.bind(null,xs.easeInEaseOut),linear:Ts.bind(null,xs.linear),spring:Ts.bind(null,xs.spring)};var As=E?window.location.href:"";const Is=new class{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=this._eventCallbacks[e];null!=i&&Array.isArray(i)&&i.map((e=>{e(...r)}))}addEventListener(e,t){var r=this;return r._eventCallbacks[e]||(r._eventCallbacks[e]=[t]),r._eventCallbacks[e].push(t),{remove(){var n=r._eventCallbacks[e].filter((e=>e.toString()!==t.toString()));r._eventCallbacks[e]=n}}}removeEventListener(e,t){console.error("Linking.removeEventListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `Linking.addEventListener`.");var r=this._eventCallbacks[e].filter((e=>e.toString()!==t.toString()));this._eventCallbacks[e]=r}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(As)}openURL(e,t){1===arguments.length&&(t="_blank");try{return((e,t)=>{if(E){var r=new URL(e,window.location).toString();0===r.indexOf("tel:")?window.location=r:window.open(r,t,"noopener")}})(e,t),this._dispatchEvent("onOpen",e),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){Jr()("string"==typeof e,"Invalid URL: should be a string. Was: "+e),Jr()(e,"Invalid URL: cannot be empty")}},Ns=Ti;var Ls={centroidDimension:function(e,t,r,n){var i=e.touchBank,a=0,o=0,s=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==s)s.touchActive&&s.currentTimeStamp>t&&(a+=n&&r?s.currentPageX:n&&!r?s.currentPageY:!n&&r?s.previousPageX:s.previousPageY,o=1);else for(var l=0;l<i.length;l++){var u=i[l];null!=u&&u.touchActive&&u.currentTimeStamp>=t&&(a+=n&&r?u.currentPageX:n&&!r?u.currentPageY:!n&&r?u.previousPageX:u.previousPageY,o++)}return o>0?a/o:Ls.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return Ls.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return Ls.centroidDimension(e,0,!1,!0)},noCentroid:-1};const Os=Ls;var Ms=Os.currentCentroidXOfTouchesChangedAfter,Ds=Os.currentCentroidYOfTouchesChangedAfter,Vs=Os.previousCentroidXOfTouchesChangedAfter,Bs=Os.previousCentroidYOfTouchesChangedAfter,Fs=Os.currentCentroidX,Hs=Os.currentCentroidY,zs={_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=Ms(t,e._accountsForMovesUpTo),e.moveY=Ds(t,e._accountsForMovesUpTo);var r=e._accountsForMovesUpTo,n=Vs(t,r),i=Ms(t,r),a=Bs(t,r),o=Ds(t,r),s=e.dx+(i-n),l=e.dy+(o-a),u=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(s-e.dx)/u,e.vy=(l-e.dy)/u,e.dx=s,e.dy=l,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},r={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,r),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,r),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&zs._initializeGestureState(r),r.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,r)),onMoveShouldSetResponderCapture(t){var n=t.touchHistory;return r._accountsForMovesUpTo!==n.mostRecentTimeStamp&&(zs._updateGestureStateOnMove(r,n),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,r))},onResponderGrant:n=>(t.handle||(t.handle=zn.createInteractionHandle()),t.timeout&&function(e){clearTimeout(e.timeout)}(t),t.shouldCancelClick=!0,r.x0=Fs(n.touchHistory),r.y0=Hs(n.touchHistory),r.dx=0,r.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,r),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(n,r)),onResponderReject(n){Ws(t,e.onPanResponderReject,n,r)},onResponderRelease(n){Ws(t,e.onPanResponderRelease,n,r),js(t),zs._initializeGestureState(r)},onResponderStart(t){var n=t.touchHistory;r.numberActiveTouches=n.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,r)},onResponderMove(t){var n=t.touchHistory;r._accountsForMovesUpTo!==n.mostRecentTimeStamp&&(zs._updateGestureStateOnMove(r,n),e.onPanResponderMove&&e.onPanResponderMove(t,r))},onResponderEnd(n){var i=n.touchHistory;r.numberActiveTouches=i.numberActiveTouches,Ws(t,e.onPanResponderEnd,n,r)},onResponderTerminate(n){Ws(t,e.onPanResponderTerminate,n,r),js(t),zs._initializeGestureState(r)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,r),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function Ws(e,t,r,n){e.handle&&(zn.clearInteractionHandle(e.handle),e.handle=null),t&&t(r,n)}function js(e){e.timeout=setTimeout((()=>{e.shouldCancelClick=!1}),250)}const Us=zs,Ks=class{static share(e,t){return void 0===t&&(t={}),Jr()("object"==typeof e&&null!==e,"Content to share must be a valid object"),Jr()("string"==typeof e.url||"string"==typeof e.message,"At least one of URL and message is required"),Jr()("object"==typeof t&&null!==t,"Options must be a valid object"),Jr()(!e.title||"string"==typeof e.title,"Invalid title: title should be a string."),void 0!==window.navigator.share?window.navigator.share({title:e.title,text:e.message,url:e.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}};var Gs=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)};const Ys={cancel(){Gs(0)},vibrate(e){void 0===e&&(e=400),Gs(e)}};var qs=["animating","color","hidesWhenStopped","size","style"],Xs=e=>at.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),$s=at.forwardRef(((e,t)=>{var r=e.animating,n=void 0===r||r,i=e.color,a=void 0===i?"#1976D2":i,o=e.hidesWhenStopped,s=void 0===o||o,l=e.size,u=void 0===l?"small":l,c=e.style,d=p(e,qs),h=at.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},Xs({stroke:a,opacity:.2}),Xs({stroke:a,strokeDasharray:80,strokeDashoffset:60}));return at.createElement(Xr,Ut({},d,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[Zs.container,c]}),at.createElement(Xr,{children:h,style:["number"==typeof u?{height:u,width:u}:Js[u],Zs.animation,!n&&Zs.animationPause,!n&&s&&Zs.hidesWhenStopped]}))}));$s.displayName="ActivityIndicator";var Zs=$e.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),Js=$e.create({small:{width:20,height:20},large:{width:36,height:36}});const Qs=$s;var el="DELAY",tl="ERROR",rl="LONG_PRESS_DETECTED",nl="NOT_RESPONDER",il="RESPONDER_ACTIVE_LONG_PRESS_START",al="RESPONDER_ACTIVE_PRESS_START",ol="RESPONDER_INACTIVE_PRESS_START",sl="RESPONDER_RELEASE",ll="RESPONDER_TERMINATED",ul=Object.freeze({NOT_RESPONDER:{DELAY:tl,RESPONDER_GRANT:ol,RESPONDER_RELEASE:tl,RESPONDER_TERMINATED:tl,LONG_PRESS_DETECTED:tl},RESPONDER_INACTIVE_PRESS_START:{DELAY:al,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:tl},RESPONDER_ACTIVE_PRESS_START:{DELAY:tl,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:il},RESPONDER_ACTIVE_LONG_PRESS_START:{DELAY:tl,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:il},ERROR:{DELAY:nl,RESPONDER_GRANT:ol,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:nl}}),cl=e=>e.getAttribute("role"),dl=e=>e.tagName.toLowerCase(),hl=e=>e===al||e===il,pl=e=>"button"===cl(e),fl=e=>e===ol||e===al||e===il,vl=e=>{var t=e.key,r=e.target,n=" "===t||"Spacebar"===t,i="button"===dl(r)||pl(r);return"Enter"===t||n&&i};class ml{constructor(e){this._eventHandlers=null,this._isPointerTouch=!1,this._longPressDelayTimeout=null,this._longPressDispatched=!1,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._touchState=nl,this._responderElement=null,this.configure(e)}configure(e){this._config=e}reset(){this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()}getEventHandlers(){return null==this._eventHandlers&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers}_createEventHandlers(){var e=(e,t)=>{e.persist(),this._cancelPressOutDelayTimeout(),this._longPressDispatched=!1,this._selectionTerminated=!1,this._touchState=nl,this._isPointerTouch="touchstart"===e.nativeEvent.type,this._receiveSignal("RESPONDER_GRANT",e);var r=gl(this._config.delayPressStart,0,50);!1!==t&&r>0?this._pressDelayTimeout=setTimeout((()=>{this._receiveSignal(el,e)}),r):this._receiveSignal(el,e);var n=gl(this._config.delayLongPress,10,450);this._longPressDelayTimeout=setTimeout((()=>{this._handleLongPress(e)}),n+r)},t=e=>{this._receiveSignal(sl,e)},r=e=>{var n=this._config.onPress,i=e.target;if(this._touchState!==nl&&vl(e)){t(e),document.removeEventListener("keyup",r);var a=i.getAttribute("role"),o=dl(i),s="link"===a||"a"===o||"button"===o||"input"===o||"select"===o||"textarea"===o,l=this._responderElement===i;null!=n&&!s&&l&&n(e),this._responderElement=null}};return{onStartShouldSetResponder:e=>{var t=this._config.disabled;return t&&pl(e.currentTarget)&&e.stopPropagation(),null==t||!t},onKeyDown:t=>{var n=this._config.disabled,i=t.key,a=t.target;if(!n&&vl(t)){this._touchState===nl&&(e(t,!1),this._responderElement=a,document.addEventListener("keyup",r));var o=" "===i||"Spacebar"===i,s=cl(a);o&&("button"===s||"menuitem"===s)&&"button"!==dl(a)&&t.preventDefault(),t.stopPropagation()}},onResponderGrant:t=>e(t),onResponderMove:e=>{null!=this._config.onPressMove&&this._config.onPressMove(e);var t=_l(e);if(null!=this._touchActivatePosition){var r=this._touchActivatePosition.pageX-t.pageX,n=this._touchActivatePosition.pageY-t.pageY;Math.hypot(r,n)>10&&this._cancelLongPressDelayTimeout()}},onResponderRelease:e=>t(e),onResponderTerminate:e=>{"selectionchange"===e.nativeEvent.type&&(this._selectionTerminated=!0),this._receiveSignal(ll,e)},onResponderTerminationRequest:e=>{var t=this._config,r=t.cancelable,n=t.disabled,i=t.onLongPress;return!(!n&&null!=i&&this._isPointerTouch&&"contextmenu"===e.nativeEvent.type)&&(null==r||r)},onClick:e=>{var t=this._config,r=t.disabled,n=t.onPress;r?pl(e.currentTarget)&&e.stopPropagation():(e.stopPropagation(),this._longPressDispatched||this._selectionTerminated?e.preventDefault():null!=n&&!1===e.altKey&&n(e))},onContextMenu:e=>{var t=this._config,r=t.disabled,n=t.onLongPress;r?pl(e.currentTarget)&&e.stopPropagation():null!=n&&this._isPointerTouch&&!e.defaultPrevented&&(e.preventDefault(),e.stopPropagation())}}}_receiveSignal(e,t){var r=this._touchState,n=null;null!=ul[r]&&(n=ul[r][e]),this._touchState===nl&&e===sl||(null==n||n===tl?console.error("PressResponder: Invalid signal "+e+" for state "+r+" on responder"):r!==n&&(this._performTransitionSideEffects(r,n,e,t),this._touchState=n))}_performTransitionSideEffects(e,t,r,n){if((e=>e===ll||e===sl)(r)&&(setTimeout((()=>{this._isPointerTouch=!1}),0),this._touchActivatePosition=null,this._cancelLongPressDelayTimeout()),fl(e)&&r===rl){var i=this._config.onLongPress;null!=i&&null==n.nativeEvent.key&&(i(n),this._longPressDispatched=!0)}var a=hl(e),o=hl(t);if(!a&&o?this._activate(n):a&&!o&&this._deactivate(n),fl(e)&&r===sl){var s=this._config,l=s.onLongPress;null!=s.onPress&&(null!=l&&e===il||o||a||(this._activate(n),this._deactivate(n)))}this._cancelPressDelayTimeout()}_activate(e){var t=this._config,r=t.onPressChange,n=t.onPressStart,i=_l(e);this._touchActivatePosition={pageX:i.pageX,pageY:i.pageY},null!=n&&n(e),null!=r&&r(!0)}_deactivate(e){var t=this._config,r=t.onPressChange,n=t.onPressEnd;function i(){null!=n&&n(e),null!=r&&r(!1)}var a=gl(this._config.delayPressEnd);a>0?this._pressOutDelayTimeout=setTimeout((()=>{i()}),a):i()}_handleLongPress(e){this._touchState!==al&&this._touchState!==il||this._receiveSignal(rl,e)}_cancelLongPressDelayTimeout(){null!=this._longPressDelayTimeout&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)}_cancelPressDelayTimeout(){null!=this._pressDelayTimeout&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)}_cancelPressOutDelayTimeout(){null!=this._pressOutDelayTimeout&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)}}function gl(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),Math.max(t,null!=e?e:r)}function _l(e){var t=e.nativeEvent,r=t.changedTouches,n=t.touches;return null!=n&&n.length>0?n[0]:null!=r&&r.length>0?r[0]:e.nativeEvent}function yl(e,t){var r=(0,at.useRef)(null);null==r.current&&(r.current=new ml(t));var n=r.current;return(0,at.useEffect)((()=>{n.configure(t)}),[t,n]),(0,at.useEffect)((()=>()=>{n.reset()}),[n]),(0,at.useDebugValue)(t),n.getEventHandlers()}var bl=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function Sl(e,t){var r=e.activeOpacity,n=e.delayPressIn,i=e.delayPressOut,a=e.delayLongPress,o=e.disabled,s=e.focusable,l=e.onLongPress,u=e.onPress,c=e.onPressIn,d=e.onPressOut,h=e.rejectResponderTermination,f=e.style,v=p(e,bl),m=ar(t,(0,at.useRef)(null)),g=(0,at.useState)("0s"),_=g[0],y=g[1],b=(0,at.useState)(null),S=b[0],R=b[1],E=(0,at.useCallback)(((e,t)=>{R(e),y(t?t/1e3+"s":"0s")}),[R,y]),C=(0,at.useCallback)((e=>{E(null!=r?r:.2,e)}),[r,E]),w=(0,at.useCallback)((e=>{E(null,e)}),[E]),T=yl(0,(0,at.useMemo)((()=>({cancelable:!h,disabled:o,delayLongPress:a,delayPressStart:n,delayPressEnd:i,onLongPress:l,onPress:u,onPressStart(e){var t=null!=e.dispatchConfig?"onResponderGrant"===e.dispatchConfig.registrationName:"keydown"===e.type;C(t?0:150),null!=c&&c(e)},onPressEnd(e){w(250),null!=d&&d(e)}})),[a,n,i,o,l,u,c,d,h,C,w]));return at.createElement(Xr,Ut({},v,T,{accessibilityDisabled:o,focusable:!o&&!1!==s,pointerEvents:o?"box-none":void 0,ref:m,style:[Rl.root,!o&&Rl.actionable,f,null!=S&&{opacity:S},{transitionDuration:_}]}))}var Rl=$e.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),El=at.memo(at.forwardRef(Sl));El.displayName="TouchableOpacity";const Cl=El;var wl=at.forwardRef(((e,t)=>{var r=e.accessibilityLabel,n=e.color,i=e.disabled,a=e.onPress,o=e.testID,s=e.title;return at.createElement(Cl,{accessibilityLabel:r,accessibilityRole:"button",disabled:i,focusable:!i,onPress:a,ref:t,style:[Tl.button,n&&{backgroundColor:n},i&&Tl.buttonDisabled],testID:o},at.createElement(to,{style:[Tl.text,i&&Tl.textDisabled]},s))}));wl.displayName="Button";var Tl=$e.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});const kl=wl;var xl=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],Pl=at.forwardRef(((e,t)=>{var r=e["aria-readonly"],n=e.color,i=e.disabled,a=e.onChange,o=e.onValueChange,s=e.readOnly,l=e.style,u=e.value,c=p(e,xl),d=at.createElement(Xr,{style:[Al.fakeControl,u&&Al.fakeControlChecked,u&&n&&{backgroundColor:n,borderColor:n},i&&Al.fakeControlDisabled,u&&i&&Al.fakeControlCheckedAndDisabled]}),h=vt("input",{checked:u,disabled:i,onChange:function(e){var t=e.nativeEvent.target.checked;e.nativeEvent.value=t,a&&a(e),o&&o(t)},readOnly:!0===s||!0===r||!0===c.accessibilityReadOnly,ref:t,style:[Al.nativeControl,Al.cursorInherit],type:"checkbox"});return at.createElement(Xr,Ut({},c,{"aria-disabled":i,"aria-readonly":r,style:[Al.root,l,i&&Al.cursorDefault]}),d,h)}));Pl.displayName="CheckBox";var Al=$e.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:h(h({},$e.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const Il=Pl;var Nl=["children","style","imageStyle","imageRef"],Ll={},Ol=(0,at.forwardRef)(((e,t)=>{var r=e.children,n=e.style,i=void 0===n?Ll:n,a=e.imageStyle,o=e.imageRef,s=p(e,Nl),l=$e.flatten(i),u=l.height,c=l.width;return at.createElement(Xr,{ref:t,style:i},at.createElement(Fa,Ut({},s,{ref:o,style:[{width:c,height:u,zIndex:-1},$e.absoluteFill,a]})),r)}));Ol.displayName="ImageBackground";const Ml=Ol;var Dl=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Vl extends at.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=e=>{this.frame=e.nativeEvent.layout}}relativeKeyboardHeight(e){var t=this.frame;if(!t||!e)return 0;var r=e.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(t.y+t.height-r,0)}onKeyboardChange(e){}render(){var e=this.props,t=(e.behavior,e.contentContainerStyle,e.keyboardVerticalOffset,p(e,Dl));return at.createElement(Xr,Ut({onLayout:this.onLayout},t))}}const Bl=Vl,Fl=function(e){var t=e.children,r=at.useRef(null);if(E&&!r.current){var n=document.createElement("div");n&&document.body&&(document.body.appendChild(n),r.current=n)}return at.useEffect((()=>{if(E)return()=>{document.body&&r.current&&(document.body.removeChild(r.current),r.current=null)}}),[]),r.current&&E?gt().createPortal(t,r.current):null};function Hl(e,t){return"slide"===e?t?Wl:jl:"fade"===e?t?Ul:Kl:t?zl.container:zl.hidden}var zl=$e.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:"300ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:"300ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),Wl=[zl.container,zl.animatedIn,zl.slideIn],jl=[zl.container,zl.animatedOut,zl.slideOut],Ul=[zl.container,zl.animatedIn,zl.fadeIn],Kl=[zl.container,zl.animatedOut,zl.fadeOut];const Gl=function(e){var t=e.animationType,r=e.children,n=e.onDismiss,i=e.onShow,a=e.visible,o=at.useState(!1),s=o[0],l=o[1],u=at.useRef(!1),c=at.useRef(!1),d=t&&"none"!==t,h=at.useCallback((e=>{e&&e.currentTarget!==e.target||(a?i&&i():l(!1))}),[i,a]);return at.useEffect((()=>{c.current&&!s&&n&&n(),c.current=s}),[s,n]),at.useEffect((()=>{a&&l(!0),a===u.current||d||h(),u.current=a}),[d,a,h]),s||a?vt("div",{style:s?Hl(t,a):zl.hidden,onAnimationEnd:h,children:r}):null};var Yl=["active","children","onRequestClose","transparent"],ql=at.forwardRef(((e,t)=>{var r=e.active,n=e.children,i=e.onRequestClose,a=e.transparent,o=p(e,Yl);at.useEffect((()=>{if(E){var e=e=>{r&&"Escape"===e.key&&(e.stopPropagation(),i&&i())};return document.addEventListener("keyup",e,!1),()=>document.removeEventListener("keyup",e,!1)}}),[r,i]);var s=at.useMemo((()=>[Xl.modal,a?Xl.modalTransparent:Xl.modalOpaque]),[a]);return at.createElement(Xr,Ut({},o,{"aria-modal":!0,ref:t,role:r?"dialog":null,style:s}),at.createElement(Xr,{style:Xl.container},n))})),Xl=$e.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}});const $l=ql;var Zl=()=>vt("div",{role:"none",tabIndex:0,style:ru.focusBracket});function Jl(e){if(!E)return!1;try{e.focus()}catch(e){}return document.activeElement===e}function Ql(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if(Jl(r)||Ql(r))return!0}return!1}function eu(e){for(var t=e.childNodes.length-1;t>=0;t--){var r=e.childNodes[t];if(Jl(r)||eu(r))return!0}return!1}const tu=e=>{var t=e.active,r=e.children,n=at.useRef(),i=at.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return at.useEffect((()=>{if(E){var e=()=>{if(null!=n.current&&!i.current.trapFocusInProgress&&t){try{if(i.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!n.current.contains(document.activeElement)){var e=Ql(n.current);i.current.lastFocusedElement===document.activeElement&&(e=eu(n.current)),!e&&null!=n.current&&document.activeElement&&Mt.focus(n.current)}}finally{i.current.trapFocusInProgress=!1}i.current.lastFocusedElement=document.activeElement}};return e(),document.addEventListener("focus",e,!0),()=>document.removeEventListener("focus",e,!0)}}),[t]),at.useEffect((function(){if(E){var e=document.activeElement;return function(){e&&document.contains(e)&&Mt.focus(e)}}}),[]),at.createElement(at.Fragment,null,at.createElement(Zl,null),at.createElement(Xr,{ref:n},r),at.createElement(Zl,null))};var ru=$e.create({focusBracket:{outlineStyle:"none"}}),nu=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],iu=0,au=[],ou={};function su(){if(0!==au.length){var e=au[au.length-1];au.forEach((t=>{t in ou&&ou[t](t===e)}))}}function lu(e){e in ou&&(ou[e](!1),delete ou[e]);var t=au.indexOf(e);-1!==t&&(au.splice(t,1),su())}const uu=at.forwardRef(((e,t)=>{var r=e.animationType,n=e.children,i=e.onDismiss,a=e.onRequestClose,o=e.onShow,s=e.transparent,l=e.visible,u=void 0===l||l,c=p(e,nu),d=at.useMemo((()=>iu++),[]),h=at.useState(!1),f=h[0],v=h[1],m=at.useCallback((()=>{lu(d),i&&i()}),[d,i]),g=at.useCallback((()=>{!function(e,t){lu(e),au.push(e),ou[e]=t,su()}(d,v),o&&o()}),[d,o]);return at.useEffect((()=>()=>lu(d)),[d]),at.createElement(Fl,null,at.createElement(Gl,{animationType:r,onDismiss:m,onShow:g,visible:u},at.createElement(tu,{active:f},at.createElement($l,Ut({},c,{active:f,onRequestClose:a,ref:t,transparent:s}),n))))}));var cu=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],du=at.forwardRef(((e,t)=>{var r=e.children,n=e.enabled,i=e.onValueChange,a=e.selectedValue,o=e.style,s=e.testID,l=(e.itemStyle,e.mode,e.prompt,p(e,cu)),u=at.useRef(null),c=h({children:r,disabled:!1===n||void 0,onChange:function(e){var t=e.target,r=t.selectedIndex,n=t.value;i&&i(n,r)},style:[hu.initial,o],testID:s,value:a},l),d=ar(u,lr(c),t);return c.ref=d,vt("select",c)}));du.Item=function(e){var t=e.color,r=e.label,n=e.testID,i=e.value;return vt("option",{children:r,style:{color:t},testID:n,value:i})};var hu=$e.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}});const pu=du;var fu=()=>{},vu=function(){var e=!1;if(E)try{var t={};Object.defineProperty(t,"passive",{get:()=>(e=!0,!1)}),window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function mu(){return this.cancelBubble}function gu(){return this.defaultPrevented}function _u(e,t,r,n){var i=function(e){return null!=e&&(vu?e:Boolean(e.capture))}(n),a=e=>{return r(((t=e).nativeEvent=t,t.persist=fu,t.isDefaultPrevented=gu,t.isPropagationStopped=mu,t));var t};return e.addEventListener(t,a,i),function(){null!=e&&e.removeEventListener(t,a,i)}}var yu,bu,Su="keyboard",Ru="keyboard",Eu=!1,Cu=new Set,wu="keyboard",Tu="mouse",ku="touch",xu="contextmenu",Pu="mousedown",Au="mousemove",Iu="mouseup",Nu="pointerdown",Lu="pointermove",Ou="scroll",Mu="selectionchange",Du="touchcancel",Vu="touchmove",Bu="touchstart",Fu={passive:!0},Hu={capture:!0,passive:!0};function zu(){null==yu&&null==bu||(null!=yu&&(Ru=yu,yu=null),null!=bu&&(Su=bu,bu=null),ju())}function Wu(e){var t=e.type;if("undefined"!=typeof window&&null!=window.PointerEvent){if(t===Nu)return void(Su!==e.pointerType&&(Ru=e.pointerType,Su=e.pointerType,ju()));if(t===Lu)return void(Ru!==e.pointerType&&(Ru=e.pointerType,ju()))}else{if(Eu||(t===Pu&&Su!==Tu&&(Ru=Tu,Su=Tu,ju()),t===Au&&Ru!==Tu&&(Ru=Tu,ju())),t===Bu)return Eu=!0,e.touches&&e.touches.length>1&&(Eu=!1),void(Su!==ku&&(Ru=ku,Su=ku,ju()));t!==xu&&t!==Iu&&t!==Mu&&t!==Ou&&t!==Du&&t!==Vu||(Eu=!1)}}function ju(){var e={activeModality:Su,modality:Ru};Cu.forEach((t=>{t(e)}))}function Uu(e,t){var r=sr((()=>new Map)),n=sr((()=>(n,i)=>{var a=r.get(n);null!=a&&a(),null==i&&(r.delete(n),i=()=>{});var o=_u(n,e,i,t);return r.set(n,o),o}));return er((()=>()=>{r.forEach((e=>{e()})),r.clear()}),[r]),n}E&&(_u(window,"blur",(function(){yu=Ru,bu=Su,Su=wu,Ru=wu,ju(),Eu=!1}),Fu),_u(window,"focus",(function(){zu()}),Fu),_u(document,"keydown",(function(e){e.metaKey||e.altKey||e.ctrlKey||Ru!==wu&&(Ru=wu,Su=wu,ju())}),Hu),_u(document,"visibilitychange",(function(){"hidden"!==document.visibilityState&&zu()}),Hu),_u(document,Nu,Wu,Hu),_u(document,Lu,Wu,Hu),_u(document,xu,Wu,Hu),_u(document,Pu,Wu,Hu),_u(document,Au,Wu,Hu),_u(document,Iu,Wu,Hu),_u(document,Du,Wu,Hu),_u(document,Vu,Wu,Hu),_u(document,Bu,Wu,Hu),_u(document,Mu,Wu,Hu),_u(document,Ou,Wu,Hu));var Ku={},Gu={passive:!0},Yu="react-gui:hover:lock",qu="react-gui:hover:unlock";function Xu(e,t,r){var n=document.createEvent("CustomEvent"),i=r||Ku,a=i.bubbles,o=void 0===a||a,s=i.cancelable,l=void 0===s||s,u=i.detail;n.initCustomEvent(t,o,l,u),e.dispatchEvent(n)}function $u(e){var t=e.pointerType;return null!=t?t:Ru}var Zu=["children","delayLongPress","delayPressIn","delayPressOut","disabled","onBlur","onContextMenu","onFocus","onHoverIn","onHoverOut","onKeyDown","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","tabIndex","testOnly_hovered","testOnly_pressed"];function Ju(e,t){var r=e.children,n=e.delayLongPress,i=e.delayPressIn,a=e.delayPressOut,o=e.disabled,s=e.onBlur,l=e.onContextMenu,u=e.onFocus,c=e.onHoverIn,d=e.onHoverOut,h=e.onKeyDown,f=e.onLongPress,v=e.onPress,m=e.onPressMove,g=e.onPressIn,_=e.onPressOut,y=e.style,b=e.tabIndex,S=e.testOnly_hovered,R=e.testOnly_pressed,E=p(e,Zu),C=Qu(!0===S),w=C[0],T=C[1],k=Qu(!1),x=k[0],P=k[1],A=Qu(!0===R),I=A[0],N=A[1],L=(0,at.useRef)(null),O=ar(t,L),M=yl(0,(0,at.useMemo)((()=>({delayLongPress:n,delayPressStart:i,delayPressEnd:a,disabled:o,onLongPress:f,onPress:v,onPressChange:N,onPressStart:g,onPressMove:m,onPressEnd:_})),[n,i,a,o,f,v,g,m,_,N])),D=M.onContextMenu,V=M.onKeyDown;!function(e,t){var r=t.contain,n=t.disabled,i=t.onHoverStart,a=t.onHoverChange,o=t.onHoverUpdate,s=t.onHoverEnd,l=!("undefined"==typeof window||null==window.PointerEvent),u=Uu(l?"pointermove":"mousemove",Gu),c=Uu(l?"pointerenter":"mouseenter",Gu),d=Uu(l?"pointerleave":"mouseleave",Gu),h=Uu(Yu,Gu),p=Uu(qu,Gu);er((()=>{var t=e.current;if(null!==t){var l=function(e){null!=s&&s(e),null!=a&&a(!1),u(t,null),d(t,null)},f=function(t){var n=e.current;null!=n&&"touch"!==$u(t)&&(r&&Xu(n,qu),l(t))},v=function(e){"touch"!==$u(e)&&null!=o&&(null==e.x&&(e.x=e.clientX),null==e.y&&(e.y=e.clientY),o(e))},m=function(e){null!=i&&i(e),null!=a&&a(!0),null!=o&&u(t,n?null:v),d(t,n?null:f)};c(t,n?null:function(t){var i=e.current;null!=i&&"touch"!==$u(t)&&(r&&Xu(i,Yu),m(t),h(i,n?null:function(e){e.target!==i&&l(t)}),p(i,n?null:function(e){e.target!==i&&m(t)}))})}}),[c,u,d,h,p,r,n,i,a,o,s,e])}(L,{contain:!0,disabled:o,onHoverChange:T,onHoverStart:c,onHoverEnd:d});var B,F={hovered:w,focused:x,pressed:I},H=at.useCallback((e=>{e.nativeEvent.target===L.current&&(P(!1),null!=s&&s(e))}),[L,P,s]),z=at.useCallback((e=>{e.nativeEvent.target===L.current&&(P(!0),null!=u&&u(e))}),[L,P,u]),W=at.useCallback((e=>{null!=D&&D(e),null!=l&&l(e)}),[l,D]),j=at.useCallback((e=>{null!=V&&V(e),null!=h&&h(e)}),[h,V]);return B=void 0!==b?b:o?-1:0,at.createElement(Xr,Ut({},E,M,{"aria-disabled":o,onBlur:H,onContextMenu:W,onFocus:z,onKeyDown:j,ref:O,style:[o?ec.disabled:ec.active,"function"==typeof y?y(F):y],tabIndex:B}),"function"==typeof r?r(F):r)}function Qu(e){var t=(0,at.useState)(!1);return[t[0]||e,t[1]]}var ec=$e.create({active:{cursor:"pointer",touchAction:"manipulation"},disabled:{pointerEvents:"box-none"}}),tc=(0,at.memo)((0,at.forwardRef)(Ju));tc.displayName="Pressable";const rc=tc;var nc=["color","indeterminate","progress","trackColor","style"],ic=at.forwardRef(((e,t)=>{var r=e.color,n=void 0===r?"#1976D2":r,i=e.indeterminate,a=void 0!==i&&i,o=e.progress,s=void 0===o?0:o,l=e.trackColor,u=void 0===l?"transparent":l,c=e.style,d=p(e,nc),h=100*s,f=a?"25%":h+"%";return at.createElement(Xr,Ut({},d,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a?null:h,ref:t,role:"progressbar",style:[ac.track,c,{backgroundColor:u}]}),at.createElement(Xr,{style:[{backgroundColor:n,width:f},ac.progress,a&&ac.animation]}))}));ic.displayName="ProgressBar";var ac=$e.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}});const oc=ic;var sc=["style"],lc=E&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env",uc=at.forwardRef(((e,t)=>{var r=e.style,n=p(e,sc);return at.createElement(Xr,Ut({},n,{ref:t,style:[cc.root,r]}))}));uc.displayName="SafeAreaView";var cc=$e.create({root:{paddingTop:lc+"(safe-area-inset-top)",paddingRight:lc+"(safe-area-inset-right)",paddingBottom:lc+"(safe-area-inset-bottom)",paddingLeft:lc+"(safe-area-inset-left)"}});const dc=uc;var hc=()=>{};function pc(){return null}pc.setBackgroundColor=hc,pc.setBarStyle=hc,pc.setHidden=hc,pc.setNetworkActivityIndicatorVisible=hc,pc.setTranslucent=hc;const fc=pc;var vc=/^[+-]?\d*(?:\.\d+)?(?:[Ee][+-]?\d+)?(%|\w*)/;const mc=(e,t)=>{var r;return"string"==typeof e?""+parseFloat(e)*t+e.match(vc)[1]:(r=e,!isNaN(parseFloat(r))&&isFinite(r)?e*t:void 0)};var gc=["aria-label","accessibilityLabel","activeThumbColor","activeTrackColor","disabled","onValueChange","style","thumbColor","trackColor","value"],_c={},yc="0px 1px 3px rgba(0,0,0,0.5)",bc=yc+", 0 0 0 10px rgba(0,0,0,0.1)",Sc="#D5D5D5",Rc="#BDBDBD",Ec=at.forwardRef(((e,t)=>{var r=e["aria-label"],n=e.accessibilityLabel,i=e.activeThumbColor,a=e.activeTrackColor,o=e.disabled,s=void 0!==o&&o,l=e.onValueChange,u=e.style,c=void 0===u?_c:u,d=e.thumbColor,h=e.trackColor,f=e.value,v=void 0!==f&&f,m=p(e,gc),g=at.useRef(null);function _(e){var t="focus"===e.nativeEvent.type?bc:yc;null!=g.current&&(g.current.style.boxShadow=t)}var y=$e.flatten(c),b=y.height,S=y.width,R=b||"20px",E=mc(R,2),C=S>E?S:E,w=mc(R,.5),T=!0===v?null!=h&&"object"==typeof h?h.true:null!=a?a:"#A3D3CF":null!=h&&"object"==typeof h?h.false:null!=h?h:"#939393",k=v?null!=i?i:"#009688":null!=d?d:"#FAFAFA",x=R,P=x,A=[Cc.root,c,s&&Cc.cursorDefault,{height:R,width:C}],I=!0===v?"string"==typeof a&&null!=a||"object"==typeof h&&null!=h&&h.true?T:Sc:"string"==typeof h&&null!=h||"object"==typeof h&&null!=h&&h.false?T:Sc,N=!0===v?null==i?Rc:k:null==d?Rc:k,L=[Cc.track,{backgroundColor:s?I:T,borderRadius:w}],O=[Cc.thumb,v&&Cc.thumbActive,{backgroundColor:s?N:k,height:x,marginStart:v?mc(P,-1):0,width:P}],M=vt("input",{"aria-label":r||n,checked:v,disabled:s,onBlur:_,onChange:function(e){null!=l&&l(e.nativeEvent.target.checked)},onFocus:_,ref:t,style:[Cc.nativeControl,Cc.cursorInherit],type:"checkbox",role:"switch"});return at.createElement(Xr,Ut({},m,{style:A}),at.createElement(Xr,{style:L}),at.createElement(Xr,{ref:g,style:O}),M)}));Ec.displayName="Switch";var Cc=$e.create({root:{cursor:"pointer",userSelect:"none"},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},track:h(h({forcedColorAdjust:"none"},$e.absoluteFillObject),{},{height:"70%",margin:"auto",transitionDuration:"0.1s",width:"100%"}),thumb:{forcedColorAdjust:"none",alignSelf:"flex-start",borderRadius:"100%",boxShadow:yc,start:"0%",transform:"translateZ(0)",transitionDuration:"0.1s"},thumbActive:{insetInlineStart:"100%"},nativeControl:h(h({},$e.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const wc=Ec;var Tc=(e,t)=>{if(((e,t)=>{var r=e.selectionEnd,n=e.selectionStart,i=t.start,a=t.end;return i!==n||a!==r})(e,t)){var r=t.start,n=t.end;try{e.setSelectionRange(r,n||r)}catch(e){}}},kc=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{autoCapitalize:!0,autoComplete:!0,autoCorrect:!0,autoFocus:!0,defaultValue:!0,disabled:!0,lang:!0,maxLength:!0,onChange:!0,onScroll:!0,placeholder:!0,pointerEvents:!0,readOnly:!0,rows:!0,spellCheck:!0,value:!0,type:!0}),xc=null,Pc=at.forwardRef(((e,t)=>{var r,n,i=e.autoCapitalize,a=void 0===i?"sentences":i,o=e.autoComplete,s=e.autoCompleteType,l=e.autoCorrect,u=void 0===l||l,c=e.blurOnSubmit,d=e.caretHidden,h=e.clearTextOnFocus,p=e.dir,f=e.editable,v=e.enterKeyHint,m=e.inputMode,g=e.keyboardType,_=e.multiline,y=void 0!==_&&_,b=e.numberOfLines,S=e.onBlur,R=e.onChange,E=e.onChangeText,C=e.onContentSizeChange,w=e.onFocus,T=e.onKeyPress,k=e.onLayout,x=e.onMoveShouldSetResponder,P=e.onMoveShouldSetResponderCapture,A=e.onResponderEnd,I=e.onResponderGrant,N=e.onResponderMove,L=e.onResponderReject,O=e.onResponderRelease,M=e.onResponderStart,D=e.onResponderTerminate,V=e.onResponderTerminationRequest,B=e.onScrollShouldSetResponder,F=e.onScrollShouldSetResponderCapture,H=e.onSelectionChange,z=e.onSelectionChangeShouldSetResponder,W=e.onSelectionChangeShouldSetResponderCapture,j=e.onStartShouldSetResponder,U=e.onStartShouldSetResponderCapture,K=e.onSubmitEditing,G=e.placeholderTextColor,Y=e.readOnly,q=void 0!==Y&&Y,X=e.returnKeyType,$=e.rows,Z=e.secureTextEntry,J=void 0!==Z&&Z,Q=e.selection,ee=e.selectTextOnFocus,te=e.showSoftInputOnFocus,re=e.spellCheck;if(null!=m)n=m,r="email"===m?"email":"tel"===m?"tel":"search"===m?"search":"url"===m?"url":"text";else if(null!=g)switch(g){case"email-address":r="email";break;case"number-pad":case"numeric":n="numeric";break;case"decimal-pad":n="decimal";break;case"phone-pad":r="tel";break;case"search":case"web-search":r="search";break;case"url":r="url";break;default:r="text"}J&&(r="password");var ne=at.useRef({height:null,width:null}),ie=at.useRef(null),ae=at.useRef(null),oe=at.useRef(!1);at.useEffect((()=>{ie.current&&ae.current&&Tc(ie.current,ae.current),oe.current=J}),[J]);var se=at.useCallback((e=>{if(y&&C&&null!=e){var t=e.scrollHeight,r=e.scrollWidth;t===ne.current.height&&r===ne.current.width||(ne.current.height=t,ne.current.width=r,C({nativeEvent:{contentSize:{height:ne.current.height,width:ne.current.width}}}))}}),[y,C]),le=at.useMemo((()=>e=>{null!=e&&(e.clear=function(){null!=e&&(e.value="")},e.isFocused=function(){return null!=e&&cn.currentlyFocusedField()===e},se(e))}),[se]);er((()=>{var e=ie.current;null!=e&&null!=Q&&Tc(e,Q),document.activeElement===e&&(cn._currentlyFocusedNode=e)}),[ie,Q]);var ue=y?"textarea":"input";nr(ie,k),jr(ie,{onMoveShouldSetResponder:x,onMoveShouldSetResponderCapture:P,onResponderEnd:A,onResponderGrant:I,onResponderMove:N,onResponderReject:L,onResponderRelease:O,onResponderStart:M,onResponderTerminate:D,onResponderTerminationRequest:V,onScrollShouldSetResponder:B,onScrollShouldSetResponderCapture:F,onSelectionChangeShouldSetResponder:z,onSelectionChangeShouldSetResponderCapture:W,onStartShouldSetResponder:j,onStartShouldSetResponderCapture:U});var ce=ft().direction,de=(e=>Qt(e,kc))(e);de.autoCapitalize=a,de.autoComplete=o||s||"on",de.autoCorrect=u?"on":"off",de.dir=void 0!==p?p:"auto",de.enterKeyHint=v||X,de.inputMode=n,de.onBlur=function(e){cn._currentlyFocusedNode=null,S&&(e.nativeEvent.text=e.target.value,S(e))},de.onChange=function(e){var t=e.target,r=t.value;e.nativeEvent.text=r,se(t),R&&R(e),E&&E(r)},de.onFocus=function(e){var t=e.target;w&&(e.nativeEvent.text=t.value,w(e)),null!=t&&(cn._currentlyFocusedNode=t,h&&(t.value=""),ee&&(null!=xc&&clearTimeout(xc),xc=setTimeout((()=>{null!=t&&document.activeElement===t&&t.select()}),0)))},de.onKeyDown=function(e){var t=e.target;e.stopPropagation();var r=null==c?!y:c,n=e.nativeEvent,i=function(e){return e.isComposing||229===e.keyCode}(n);T&&T(e),"Enter"!==e.key||e.shiftKey||i||e.isDefaultPrevented()||(!c&&y||!K||(e.preventDefault(),n.text=e.target.value,K(e)),r&&null!=t&&setTimeout((()=>t.blur()),0))},de.onSelect=function(e){try{var t=e.target,r={start:t.selectionStart,end:t.selectionEnd};H&&(e.nativeEvent.selection=r,e.nativeEvent.text=e.target.value,H(e)),oe.current===J&&(ae.current=r)}catch(e){}},de.readOnly=!0===q||!1===f,de.rows=y?null!=$?$:b:1,de.spellCheck=null!=re?re:u,de.style=[{"--placeholderTextColor":G},Ac.textinput$raw,Ac.placeholder,e.style,d&&Ac.caretHidden],de.type=y?void 0:r,de.virtualkeyboardpolicy=!1===te?"manual":"auto";var he=lr(de),pe=ar(ie,he,le,t);de.ref=pe;var fe=null!=e.lang?ht(e.lang):null,ve=e.dir||fe;return vt(ue,de,{writingDirection:ve||ce})}));Pc.displayName="TextInput",Pc.State=cn;var Ac=$e.create({textinput$raw:{MozAppearance:"textfield",WebkitAppearance:"none",backgroundColor:"transparent",border:"0 solid black",borderRadius:0,boxSizing:"border-box",font:"14px System",margin:0,padding:0,resize:"none"},placeholder:{placeholderTextColor:"var(--placeholderTextColor)"},caretHidden:{caretColor:"transparent"}});const Ic=Pc;var Nc=function(e,t){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,e,t),n}return new r(e,t)},Lc=function(e){var t=this;e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},Oc=Nc;const Mc=function(e,t){var r=e;return r.instancePool=[],r.getPooled=t||Oc,r.poolSize||(r.poolSize=10),r.release=Lc,r},Dc=Nc;var Vc=Dc;function Bc(e,t){this.width=e,this.height=t}Bc.prototype.destructor=function(){this.width=null,this.height=null},Bc.getPooledFromElement=function(e){return Bc.getPooled(e.offsetWidth,e.offsetHeight)},Mc(Bc,Vc);const Fc=Bc;var Hc=Dc;function zc(e,t){this.left=e,this.top=t}zc.prototype.destructor=function(){this.left=null,this.top=null},Mc(zc,Hc);const Wc=zc;var jc=e=>{var t=e.touches,r=e.changedTouches,n=t&&t.length>0,i=r&&r.length>0;return!n&&i?r[0]:n?t[0]:e},Uc="NOT_RESPONDER",Kc="RESPONDER_INACTIVE_PRESS_IN",Gc="RESPONDER_INACTIVE_PRESS_OUT",Yc="RESPONDER_ACTIVE_PRESS_IN",qc="RESPONDER_ACTIVE_PRESS_OUT",Xc="RESPONDER_ACTIVE_LONG_PRESS_IN",$c="RESPONDER_ACTIVE_LONG_PRESS_OUT",Zc="ERROR",Jc={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},Qc=h(h({},Jc),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),ed=h(h({},Jc),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),td=h(h({},Jc),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),rd="RESPONDER_RELEASE",nd="RESPONDER_TERMINATED",id="LONG_PRESS_DETECTED",ad={NOT_RESPONDER:{DELAY:Zc,RESPONDER_GRANT:Kc,RESPONDER_RELEASE:Zc,RESPONDER_TERMINATED:Zc,ENTER_PRESS_RECT:Zc,LEAVE_PRESS_RECT:Zc,LONG_PRESS_DETECTED:Zc},RESPONDER_INACTIVE_PRESS_IN:{DELAY:Yc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Kc,LEAVE_PRESS_RECT:Gc,LONG_PRESS_DETECTED:Zc},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:qc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Kc,LEAVE_PRESS_RECT:Gc,LONG_PRESS_DETECTED:Zc},RESPONDER_ACTIVE_PRESS_IN:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Yc,LEAVE_PRESS_RECT:qc,LONG_PRESS_DETECTED:Xc},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Yc,LEAVE_PRESS_RECT:qc,LONG_PRESS_DETECTED:Zc},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Xc,LEAVE_PRESS_RECT:$c,LONG_PRESS_DETECTED:Xc},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Xc,LEAVE_PRESS_RECT:$c,LONG_PRESS_DETECTED:Zc},error:{DELAY:Uc,RESPONDER_GRANT:Kc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Uc,LEAVE_PRESS_RECT:Uc,LONG_PRESS_DETECTED:Uc}},od={componentDidMount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&(this._touchableBlurListener=e=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==Uc&&this.touchableHandleResponderTerminate({nativeEvent:e}),this._isTouchableKeyboardActive=!1)},e.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&e.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=Uc,this.state.touchable.responderID=t,this._receiveSignal("RESPONDER_GRANT",e);var r=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(r=isNaN(r)?130:r)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),r):this._handleDelay(e);var n=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;n=isNaN(n)?370:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),n+r)},touchableHandleResponderRelease:function(e){this.pressInLocation=null,this._receiveSignal(rd,e)},touchableHandleResponderTerminate:function(e){this.pressInLocation=null,this._receiveSignal(nd,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},i=n.left,a=n.top,o=n.right,s=n.bottom,l=this.touchableGetHitSlop?this.touchableGetHitSlop():null;l&&(i+=l.left||0,a+=l.top||0,o+=l.right||0,s+=l.bottom||0);var u=jc(e.nativeEvent),c=u&&u.pageX,d=u&&u.pageY;if(this.pressInLocation&&this._getDistanceBetweenPoints(c,d,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout(),c>t.left-i&&d>t.top-a&&c<t.left+r.width+o&&d<t.top+r.height+s){var h=this.state.touchable.touchState;this._receiveSignal("ENTER_PRESS_RECT",e),this.state.touchable.touchState===Kc&&h!==Kc&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal("LEAVE_PRESS_RECT",e)}},touchableHandleFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},touchableHandleBlur:function(e){this.props.onBlur&&this.props.onBlur(e)},_remeasureMetricsOnActivation:function(){var e=this.state.touchable.responderID;null!=e&&Mt.measure(e,this._handleQueryLayout)},_handleQueryLayout:function(e,t,r,n,i,a){(e||t||r||n||i||a)&&(this.state.touchable.positionOnActivate&&Wc.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&Fc.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=Wc.getPooled(i,a),this.state.touchable.dimensionsOnActivate=Fc.getPooled(r,n))},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal("DELAY",e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null;var t=this.state.touchable.touchState;t!==Yc&&t!==Xc?console.error("Attempted to transition from state `"+t+"` to `"+Xc+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(id,e)},_receiveSignal:function(e,t){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,i=ad[n]&&ad[n][e];if(r||e!==rd){if(!i)throw new Error("Unrecognized signal `"+e+"` or state `"+n+"` for Touchable responder `"+r+"`");if(i===Zc)throw new Error("Touchable cannot transition from `"+n+"` to `"+e+"` for responder `"+r+"`");n!==i&&(this._performSideEffectsForTransition(n,i,e,t),this.state.touchable.touchState=i)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===Yc||e===Xc},_savePressInLocation:function(e){var t=jc(e.nativeEvent),r=t&&t.pageX,n=t&&t.pageY,i=t&&t.locationX,a=t&&t.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:i,locationY:a}},_getDistanceBetweenPoints:function(e,t,r,n){var i=e-r,a=t-n;return Math.sqrt(i*i+a*a)},_performSideEffectsForTransition:function(e,t,r,n){var i=this._isHighlight(e),a=this._isHighlight(t);(r===nd||r===rd)&&this._cancelLongPressDelayTimeout();var o=e===Uc&&t===Kc,s=!Qc[e]&&Qc[t];if((o||s)&&this._remeasureMetricsOnActivation(),ed[e]&&r===id&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),a&&!i?this._startHighlight(n):!a&&i&&this._endHighlight(n),ed[e]&&r===rd){var l=!!this.props.onLongPress,u=td[e]&&(!l||!this.touchableLongPressCancelsPress());(!td[e]||u)&&this.touchableHandlePress&&(a||i||(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){Mt.playTouchSound()},_startHighlight:function(e){this._savePressInLocation(e),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e)},_endHighlight:function(e){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout((()=>{this.touchableHandleActivePressOut(e)}),this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(e))},touchableHandleKeyEvent:function(e){var t=e.type,r=e.key;"Enter"!==r&&" "!==r||("keydown"===t?this._isTouchableKeyboardActive||this.state.touchable.touchState&&this.state.touchable.touchState!==Uc||(this.touchableHandleResponderGrant(e),this._isTouchableKeyboardActive=!0):"keyup"===t&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==Uc&&(this.touchableHandleResponderRelease(e),this._isTouchableKeyboardActive=!1),e.stopPropagation(),"Enter"===r&&"link"===l(this.props)||e.preventDefault())},withoutDefaultFocusAndBlur:{}},sd=(od.touchableHandleFocus,od.touchableHandleBlur,p(od,["touchableHandleFocus","touchableHandleBlur"]));od.withoutDefaultFocusAndBlur=sd;var ld={Mixin:od,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,r=e.hitSlop;if(!ld.TOUCH_TARGET_DEBUG)return null;var n={};for(var i in r=r||{top:0,bottom:0,left:0,right:0})n[i]=-r[i];var a=_()(t);if("number"!=typeof a)return null;var o="#"+("00000000"+a.toString(16)).substr(-8);return ot().createElement(Xr,{pointerEvents:"none",style:h({position:"absolute",borderColor:o.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:o.slice(0,-2)+"0F"},n)})}};const ud=ld;var cd=["activeOpacity","children","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onHideUnderlay","onLongPress","onPress","onPressIn","onPressOut","onShowUnderlay","rejectResponderTermination","style","testOnly_pressed","underlayColor"];function dd(e,t){return{child:{opacity:null!=e?e:.85},underlay:{backgroundColor:void 0===t?"black":t}}}function hd(e){return null!=e.onPress||null!=e.onPressIn||null!=e.onPressOut||null!=e.onLongPress}function pd(e,t){var r=e.activeOpacity,n=e.children,i=e.delayPressIn,a=e.delayPressOut,o=e.delayLongPress,s=e.disabled,l=e.focusable,u=e.onHideUnderlay,c=e.onLongPress,d=e.onPress,h=e.onPressIn,f=e.onPressOut,v=e.onShowUnderlay,m=e.rejectResponderTermination,g=e.style,_=e.testOnly_pressed,y=e.underlayColor,b=p(e,cd),S=ar(t,(0,at.useRef)(null)),R=(0,at.useState)(!0===_?dd(r,y):null),E=R[0],C=R[1],w=(0,at.useCallback)((()=>{hd(e)&&(C(dd(r,y)),null!=v&&v())}),[r,v,e,y]),T=(0,at.useCallback)((()=>{!0!==_&&hd(e)&&(C(null),null!=u&&u())}),[u,e,_]),k=yl(0,(0,at.useMemo)((()=>({cancelable:!m,disabled:s,delayLongPress:o,delayPressStart:i,delayPressEnd:a,onLongPress:c,onPress:d,onPressStart(e){w(),null!=h&&h(e)},onPressEnd(e){T(),null!=f&&f(e)}})),[o,i,a,s,c,d,h,f,m,w,T])),x=at.Children.only(n);return at.createElement(Xr,Ut({},b,k,{accessibilityDisabled:s,focusable:!s&&!1!==l,pointerEvents:s?"box-none":void 0,ref:S,style:[fd.root,g,!s&&fd.actionable,E&&E.underlay]}),at.cloneElement(x,{style:[x.props.style,E&&E.child]}))}var fd=$e.create({root:{userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),vd=at.memo(at.forwardRef(pd));vd.displayName="TouchableHighlight";const md=vd;var gd=["style"],_d={};const yd=function(e){var t=e.style,r=p(e,gd);return ot().createElement(Xr,Ut({},r,{style:[_d,t]}))},bd=yd;var Sd={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0};function Rd(e,t){var r=e.delayPressIn,n=e.delayPressOut,i=e.delayLongPress,a=e.disabled,o=e.focusable,s=e.onLongPress,l=e.onPress,u=e.onPressIn,c=e.onPressOut,d=e.rejectResponderTermination,h=(0,at.useRef)(null),p=yl(0,(0,at.useMemo)((()=>({cancelable:!d,disabled:a,delayLongPress:i,delayPressStart:r,delayPressEnd:n,onLongPress:s,onPress:l,onPressStart:u,onPressEnd:c})),[a,r,n,i,s,l,u,c,d])),f=at.Children.only(e.children),v=[f.props.children],m=(e=>Qt(e,Sd))(e);m.accessibilityDisabled=a,m.focusable=!a&&!1!==o,m.ref=ar(t,h,f.ref);var g=Object.assign(m,p);return at.cloneElement(f,g,...v)}var Ed=at.memo(at.forwardRef(Rd));Ed.displayName="TouchableWithoutFeedback";const Cd=Ed,wd=gi;function Td(e){return ot().createElement(yd,e)}Td.ignoreWarnings=()=>{};const kd=Td,xd={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}},Pd=wi;function Ad(){var e=at.useState(ns.getColorScheme()),t=e[0],r=e[1];return at.useEffect((()=>ns.addChangeListener((function(e){r(e.colorScheme)})).remove)),t}const Id=ft;function Nd(){var e=(0,at.useState)((()=>un.get("window"))),t=e[0],r=e[1];return(0,at.useEffect)((()=>{function e(e){var t=e.window;null!=t&&r(t)}return un.addEventListener("change",e),r(un.get("window")),()=>{un.removeEventListener("change",e)}}),[]),t}},515:e=>{function t(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function r(e,r,n){const i=n<.5?n*(1+r):n+r-n*r,a=2*n-i,o=t(a,i,e+1/3),s=t(a,i,e),l=t(a,i,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}const n="[-+]?\\d*\\.?\\d+",i=n+"%";function a(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function o(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let l;function u(e){const 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){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function h(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;const p=(void 0===l&&(l={rgb:new RegExp("rgb"+a(n,n,n)),rgba:new RegExp("rgba("+s(n,n,n,n)+"|"+o(n,n,n,n)+")"),hsl:new RegExp("hsl"+a(n,i,i)),hsla:new RegExp("hsla("+s(n,i,i,n)+"|"+o(n,i,i,n)+")"),hwb:new RegExp("hwb"+a(n,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})$/}),l);let f;if(f=p.hex6.exec(e))return parseInt(f[1]+"ff",16)>>>0;const v=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!=v?v:(f=p.rgb.exec(e))?(u(f[1])<<24|u(f[2])<<16|u(f[3])<<8|255)>>>0:(f=p.rgba.exec(e))?void 0!==f[6]?(u(f[6])<<24|u(f[7])<<16|u(f[8])<<8|d(f[9]))>>>0:(u(f[2])<<24|u(f[3])<<16|u(f[4])<<8|d(f[5]))>>>0:(f=p.hex3.exec(e))?parseInt(f[1]+f[1]+f[2]+f[2]+f[3]+f[3]+"ff",16)>>>0:(f=p.hex8.exec(e))?parseInt(f[1],16)>>>0:(f=p.hex4.exec(e))?parseInt(f[1]+f[1]+f[2]+f[2]+f[3]+f[3]+f[4]+f[4],16)>>>0:(f=p.hsl.exec(e))?(255|r(c(f[1]),h(f[2]),h(f[3])))>>>0:(f=p.hsla.exec(e))?void 0!==f[6]?(r(c(f[6]),h(f[7]),h(f[8]))|d(f[9]))>>>0:(r(c(f[2]),h(f[3]),h(f[4]))|d(f[5]))>>>0:(f=p.hwb.exec(e))?(255|function(e,r,n){if(r+n>=1){const e=Math.round(255*r/(r+n));return e<<24|e<<16|e<<8}const i=t(0,1,e+1/3)*(1-r-n)+r,a=t(0,1,e)*(1-r-n)+r,o=t(0,1,e-1/3)*(1-r-n)+r;return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*o)<<8}(c(f[1]),h(f[2]),h(f[3])))>>>0:null}},176:(e,t)=>{t.P=void 0;var r=new WeakMap;function n(e){var t,n,i;return null!=e&&(t=!0===e.disableCache,n=!0===e.disableMix,i=e.transform),function(){for(var e=[],a="",o=null,s=t?null:r,l=new Array(arguments.length),u=0;u<arguments.length;u++)l[u]=arguments[u];for(;l.length>0;){var c=l.pop();if(null!=c&&!1!==c)if(Array.isArray(c))for(var d=0;d<c.length;d++)l.push(c[d]);else{var h=null!=i?i(c):c;if(h.$$css){var p="";if(null!=s&&s.has(h)){var f=s.get(h);null!=f&&(p=f[0],e.push.apply(e,f[1]),s=f[2])}else{var v=[];for(var m in h){var g=h[m];"$$css"!==m&&("string"==typeof g||null===g?e.includes(m)||(e.push(m),null!=s&&v.push(m),"string"==typeof g&&(p+=p?" "+g:g)):console.error("styleq: ".concat(m," typeof ").concat(String(g),' is not "string" or "null".')))}if(null!=s){var _=new WeakMap;s.set(h,[p,v,_]),s=_}}p&&(a=a?p+" "+a:p)}else if(n)null==o&&(o={}),o=Object.assign({},h,o);else{var y=null;for(var b in h){var S=h[b];void 0!==S&&(e.includes(b)||(null!=S&&(null==o&&(o={}),null==y&&(y={}),y[b]=S),e.push(b),s=null))}null!=y&&(o=Object.assign(y,o))}}}return[a,o]}}var i=n();t.P=i,i.factory=n},336:(e,t)=>{t.n=function(e,t){if(null!=e[n]){var a=t?1:0;if(r.has(e)){var o=r.get(e),s=o[a];return null==s&&(s=i(e,t),o[a]=s,r.set(e,o)),s}var l=i(e,t),u=new Array(2);return u[a]=l,r.set(e,u),l}return e};var r=new WeakMap,n="$$css$localize";function i(e,t){var r={};for(var i in e)if(i!==n){var a=e[i];Array.isArray(a)?r[i]=t?a[1]:a[0]:r[i]=a}return r}},155:t=>{t.exports=e},514:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};i.r(a),i.d(a,{renderReactNativeInitialStyle:()=>s});var o=i(155);const s=(e,t="main")=>{const r=i(659),n=r.AppRegistry??r.default?.AppRegistry;if("function"!=typeof n?.registerComponent||"function"!=typeof n?.getApplication)throw new Error("Failed to access react-native-web AppRegistry. Ensure this helper runs on SSR with react-native-web available.");n.registerComponent(t,(()=>e));const a=n.getApplication(t,null).getStyleElement();if((0,o.isValidElement)(a))return a;throw new Error("Failed to render react-native initial style element!")};return a})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("creactive",["react","react-dom"],t):"object"==typeof exports?exports.creactive=t(require("react"),require("react-dom")):e.creactive=t(e.react,e["react-dom"])}(this,((e,t)=>(()=>{"use strict";var r={486:(e,t,r)=>{function n(e){return n="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},n(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e){return e.filter((function(t,r){return e.lastIndexOf(t)===r}))}function o(e){for(var t=0,r=arguments.length<=1?0:arguments.length-1;t<r;++t){var s=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var l in s){var u=s[l],c=e[l];if(c&&u){if(Array.isArray(c)){e[l]=a(c.concat(u));continue}if(Array.isArray(u)){e[l]=a([c].concat(function(e){if(Array.isArray(e))return i(e)}(d=u)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(d)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(d)||function(){throw new 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"===n(u)){e[l]=o({},c,u);continue}}e[l]=u}}var d;return e}r.r(t),r.d(t,{assignStyle:()=>o,camelCaseProperty:()=>d,cssifyDeclaration:()=>f,cssifyObject:()=>v,hyphenateProperty:()=>p,isPrefixedProperty:()=>g,isPrefixedValue:()=>y,isUnitlessProperty:()=>I,normalizeProperty:()=>L,resolveArrayValue:()=>O,unprefixProperty:()=>N,unprefixValue:()=>D});var s=/-([a-z])/g,l=/^Ms/g,u={};function c(e){return e[1].toUpperCase()}function d(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(s,c).replace(l,"ms");return u[e]=t,t}var h=r(685);function p(e){return(0,h.default)(e)}function f(e,t){return p(e)+":"+t}function v(e){var t="";for(var r in e){var n=e[r];"string"!=typeof n&&"number"!=typeof n||(t&&(t+=";"),t+=f(r,n))}return t}var m=/^(Webkit|Moz|O|ms)/;function g(e){return m.test(e)}var _=/-webkit-|-moz-|-ms-/;function y(e){return"string"==typeof e&&_.test(e)}var b={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"],R=["Webkit","ms","Moz","O"];function E(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}for(var C=0,w=S.length;C<w;++C){var T=S[C];b[T]=!0;for(var k=0,x=R.length;k<x;++k)b[E(R[k],T)]=!0}for(var P in b)b[p(P)]=!0;function I(e){return b.hasOwnProperty(e)}var A=/^(ms|Webkit|Moz|O)/;function N(e){var t=e.replace(A,"");return t.charAt(0).toLowerCase()+t.slice(1)}function L(e){return N(d(e))}function O(e,t){return t.join(";"+p(e)+":")}var M=/(-ms-|-webkit-|-moz-|-o-)/g;function D(e){return"string"==typeof e?e.replace(M,""):e}},721:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(685))&&n.__esModule?n:{default:n}},14:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&r.test(e)};var r=/-webkit-|-moz-|-ms-/},395:e=>{function t(e){return function(){return e}}var r=function(){};r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},646:e=>{e.exports=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(n[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},594:(e,t,r)=>{var n=r(395);e.exports=n},685:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var n=/[A-Z]/g,i=/^ms-/,a={};function o(e){return"-"+e.toLowerCase()}const s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(n,o);return a[e]=i.test(t)?"-"+t:t}},485:(e,t,r)=>{t.A=function(e){var t=e.prefixMap,r=e.plugins;return function e(s){for(var l in s){var u=s[l];if((0,o.default)(u))s[l]=e(u);else if(Array.isArray(u)){for(var c=[],d=0,h=u.length;d<h;++d){var p=(0,i.default)(r,l,u[d],s,t);(0,a.default)(c,p||u[d])}c.length>0&&(s[l]=c)}else{var f=(0,i.default)(r,l,u,s,t);f&&(s[l]=f),s=(0,n.default)(t,l,s)}}return s}};var n=s(r(49)),i=s(r(971)),a=s(r(863)),o=s(r(99));function s(e){return e&&e.__esModule?e:{default:e}}},217:(e,t)=>{t.A=function(){return null}},261:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,n.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return a.map((function(e){return t.replace(i,e+"cross-fade(")}))};var n=r(486),i=/cross-fade\(/g,a=["-webkit-",""]},41:(e,t)=>{t.A=function(e,t){if("cursor"===e&&n.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],n={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},33:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,n.isPrefixedValue)(t)&&-1!==t.indexOf("filter("))return a.map((function(e){return t.replace(i,e+"filter(")}))};var n=r(486),i=/filter\(/g,a=["-webkit-",""]},852:(e,t,r)=>{t.A=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var n,i=(n=r(14))&&n.__esModule?n:{default:n},a=["-webkit-",""]},20:(e,t)=>{t.A=function(e,t,n){if(Object.prototype.hasOwnProperty.call(r,e))for(var i=r[e],a=0,o=i.length;a<o;++a)n[i[a]]=t};var r={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"]}},996:(e,t)=>{t.A=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}},129:(e,t)=>{t.A=function(e,t){if(n.hasOwnProperty(e)&&i.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],n={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},508:(e,t,r)=>{t.A=function(e,t,r,o){if("string"==typeof t&&s.hasOwnProperty(e)){var u=function(e,t){if((0,i.default)(e))return e;for(var r=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),a=0,o=r.length;a<o;++a){var s=r[a],u=[s];for(var c in t){var d=(0,n.default)(c);if(s.indexOf(d)>-1&&"order"!==d)for(var h=t[c],p=0,f=h.length;p<f;++p)u.unshift(s.replace(d,l[h[p]]+d))}r[a]=u.join(",")}return r.join(",")}(t,o),c=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-moz-|-ms-/.test(e)})).join(",");if(e.indexOf("Webkit")>-1)return c;var d=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?d:(r["Webkit"+(0,a.default)(e)]=c,r["Moz"+(0,a.default)(e)]=d,u)}};var n=o(r(721)),i=o(r(14)),a=o(r(91));function o(e){return e&&e.__esModule?e:{default:e}}var s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},863:(e,t)=>{function r(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 n=0,i=t.length;n<i;++n)r(e,t[n]);else r(e,t)}},91:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},99:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)}},49:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=e[t];if(n&&r.hasOwnProperty(t))for(var a=(0,i.default)(t),o=0;o<n.length;++o){var s=n[o]+a;r[s]||(r[s]=r[t])}return r};var n,i=(n=r(91))&&n.__esModule?n:{default:n}},971:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){for(var a=0,o=e.length;a<o;++a){var s=e[a](t,r,n,i);if(s)return s}}},801:e=>{function t(e,t){if(null!=e)return e;var r=new Error(void 0!==t?t:"Got unexpected "+e);throw r.framesToPop=1,r}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},338:(e,t,r)=>{var n=r(514);t.H=n.createRoot,t.c=n.hydrateRoot},659:(e,t,r)=>{r.r(t),r.d(t,{AccessibilityInfo:()=>zt,ActivityIndicator:()=>Qs,Alert:()=>Wt,Animated:()=>es,AppRegistry:()=>hs,AppState:()=>ys,Appearance:()=>ns,BackHandler:()=>Ss,Button:()=>kl,CheckBox:()=>Al,Clipboard:()=>Es,DeviceEventEmitter:()=>Pd,Dimensions:()=>un,Easing:()=>Lo,FlatList:()=>Ci,I18nManager:()=>Cs,Image:()=>Fa,ImageBackground:()=>Ml,InteractionManager:()=>zn,Keyboard:()=>ws,KeyboardAvoidingView:()=>Bl,LayoutAnimation:()=>Ps,Linking:()=>As,LogBox:()=>xd,Modal:()=>uu,NativeEventEmitter:()=>Ns,NativeModules:()=>Dt,PanResponder:()=>Us,Picker:()=>pu,PixelRatio:()=>xa,Platform:()=>jt,Pressable:()=>rc,ProgressBar:()=>oc,RefreshControl:()=>rn,SafeAreaView:()=>dc,ScrollView:()=>wn,SectionList:()=>qa,Share:()=>Ks,StatusBar:()=>fc,StyleSheet:()=>$e,Switch:()=>wc,Text:()=>to,TextInput:()=>Ac,Touchable:()=>ud,TouchableHighlight:()=>md,TouchableNativeFeedback:()=>bd,TouchableOpacity:()=>Cl,TouchableWithoutFeedback:()=>Cd,UIManager:()=>Mt,Vibration:()=>Ys,View:()=>Xr,VirtualizedList:()=>wd,YellowBox:()=>kd,findNodeHandle:()=>_t,processColor:()=>y,render:()=>Ct,unmountComponentAtNode:()=>bt,unstable_createElement:()=>vt,useColorScheme:()=>Id,useLocaleContext:()=>Ad,useWindowDimensions:()=>Nd});var n={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null};const i=e=>{var t=e.accessibilityRole,r=e.role||t;if(r){var i=n[r];if(null!==i)return i||r}};var a={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"},o={};const s=function(e){if(void 0===e&&(e=o),"label"===(e.role||e.accessibilityRole))return"label";var t=i(e);if(t){if("heading"===t){var r=e.accessibilityLevel||e["aria-level"];return null!=r?"h"+r:"h1"}return a[t]}},l=i;function u(e){return u="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},u(e)}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var f={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},v=["ms","Moz","O","Webkit"];Object.keys(f).forEach((e=>{v.forEach((t=>{f[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=f[e]}))}));const m=f;var g=r(515),_=r.n(g);const y=e=>{if(null==e)return e;var t=_()(e);return null!=t?t=(t<<24|t>>>8)>>>0:void 0},b=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&(e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("))(e))return e;var r=y(e);if(null!=r)return"rgba("+(r>>16&255)+","+(r>>8&255)+","+(255&r)+","+((r>>24&255)/255*t).toFixed(2)+")"}};var S={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function R(e,t){var r=e;return null!=t&&m[t]||"number"!=typeof e?null!=t&&S[t]&&(r=b(e)):r=e+"px",r}const E=!("undefined"==typeof window||!window.document||!window.document.createElement);var C={},w=!E||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),T='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',k={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"]};const x=(e,t)=>{if(!e)return C;var r={},n=function(){var n=e[i];if(null==n)return"continue";if("backgroundClip"===i)"text"===n&&(r.backgroundClip=n,r.WebkitBackgroundClip=n);else if("flex"===i)-1===n?(r.flexGrow=0,r.flexShrink=1,r.flexBasis="auto"):r.flex=n;else if("font"===i)r[i]=n.replace("System",T);else if("fontFamily"===i)if(n.indexOf("System")>-1){var a=n.split(/,\s*/);a[a.indexOf("System")]=T,r[i]=a.join(",")}else r[i]="monospace"===n?"monospace,monospace":n;else if("textDecorationLine"===i)w?r.textDecorationLine=n:r.textDecoration=n;else if("writingDirection"===i)r.direction=n;else{var o=R(e[i],i),s=k[i];t&&"inset"===i?(null==e.insetInline&&(r.left=o,r.right=o),null==e.insetBlock&&(r.top=o,r.bottom=o)):t&&"margin"===i?(null==e.marginInline&&(r.marginLeft=o,r.marginRight=o),null==e.marginBlock&&(r.marginTop=o,r.marginBottom=o)):t&&"padding"===i?(null==e.paddingInline&&(r.paddingLeft=o,r.paddingRight=o),null==e.paddingBlock&&(r.paddingTop=o,r.paddingBottom=o)):s?s.forEach(((t,n)=>{null==e[t]&&(r[t]=o)})):r[i]=o}};for(var i in e)n();return r};var P=/[A-Z]/g,I=/^ms-/,A={};function N(e){return"-"+e.toLowerCase()}var L=r(485),O=r(217),M=r(261),D=r(41),V=r(33),B=r(852),F=r(20),H=r(996),z=r(129),W=r(508),j=["Webkit"],U=["Webkit","ms"];const K={plugins:[O.A,M.A,D.A,V.A,B.A,F.A,H.A,z.A,W.A],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:U,textEmphasis:U,textEmphasisStyle:U,textEmphasisColor:U,boxDecorationBreak:U,clipPath:j,maskImage:U,maskMode:U,maskRepeat:U,maskPosition:U,maskClip:U,maskOrigin:U,maskSize:U,maskComposite:U,mask:U,maskBorderSource:U,maskBorderMode:U,maskBorderSlice:U,maskBorderWidth:U,maskBorderOutset:U,maskBorderRepeat:U,maskBorder:U,maskType:U,textDecorationStyle:j,textDecorationSkip:j,textDecorationLine:j,textDecorationColor:j,filter:j,breakAfter:j,breakBefore:j,breakInside:j,columnCount:j,columnFill:j,columnGap:j,columnRule:j,columnRuleColor:j,columnRuleStyle:j,columnRuleWidth:j,columns:j,columnSpan:j,columnWidth:j,backdropFilter:j,hyphens:j,flowInto:j,flowFrom:j,regionFragment:j,textOrientation:j,tabSize:["Moz"],fontKerning:j,textSizeAdjust:j}},G=(0,L.A)(K);var Y=["animationKeyframes"],q=new Map,X={},$={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},Z="borderTopLeftRadius",J="borderTopRightRadius",Q="borderBottomLeftRadius",ee="borderBottomRightRadius",te="borderLeftColor",re="borderLeftStyle",ne="borderLeftWidth",ie="borderRightColor",ae="borderRightStyle",oe="borderRightWidth",se="right",le="marginLeft",ue="marginRight",ce="paddingLeft",de="paddingRight",he="left",pe={[Z]:J,[J]:Z,[Q]:ee,[ee]:Q,[te]:ie,[re]:ae,[ne]:oe,[ie]:te,[ae]:re,[oe]:ne,[he]:se,[le]:ue,[ue]:le,[ce]:de,[de]:ce,[se]:he},fe={borderStartStartRadius:Z,borderStartEndRadius:J,borderEndStartRadius:Q,borderEndEndRadius:ee,borderInlineStartColor:te,borderInlineStartStyle:re,borderInlineStartWidth:ne,borderInlineEndColor:ie,borderInlineEndStyle:ae,borderInlineEndWidth:oe,insetInlineEnd:se,insetInlineStart:he,marginInlineStart:le,marginInlineEnd:ue,paddingInlineStart:ce,paddingInlineEnd:de},ve=["clear","float","textAlign"];function me(e){var t=G(x(e));return"{"+Object.keys(t).map((e=>{var r=t[e],n=function(e){if(e in A)return A[e];var t=e.replace(P,N);return A[e]=I.test(t)?"-"+t:t}(e);return Array.isArray(r)?r.map((e=>n+":"+e)).join(";"):n+":"+r})).sort().join(";")+";}"}function ge(e,t,r){return e+"-"+function(e){for(var t,r=e.length,n=1^r,i=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}(t+r).toString(36)}function _e(e){if("number"==typeof e)throw new Error("Invalid CSS keyframes type: "+typeof e);var t=[],r=[];return(Array.isArray(e)?e:[e]).forEach((e=>{if("string"==typeof e)t.push(e);else{var n=function(e){var t=ge("r","animation",JSON.stringify(e)),r="{"+Object.keys(e).map((t=>""+t+me(e[t]))).join("")+"}",n=["-webkit-",""].map((e=>"@"+e+"keyframes "+t+r));return[t,n]}(e),i=n[0],a=n[1];t.push(i),r.push(...a)}})),[t,r]}function ye(e,t,r){if(E){var n=null!=t?t:document,i=n.getElementById(e);if(null==i)if((i=document.createElement("style")).setAttribute("id",e),"string"==typeof r&&i.appendChild(document.createTextNode(r)),n instanceof ShadowRoot)n.insertBefore(i,n.firstChild);else{var a=n.head;a&&a.insertBefore(i,a.firstChild)}return i.sheet}return null}var be=Array.prototype.slice;function Se(e){var t,r={},n={};function i(e,t,n){var i=Ee(r),a=i.indexOf(t)+1,o=i[a],s=null!=o&&null!=r[o].start?r[o].start:e.cssRules.length,l=function(e,t,r){try{return e.insertRule(t,r),!0}catch(e){return!1}}(e,n,s);if(l){null==r[t].start&&(r[t].start=s);for(var u=a;u<i.length;u+=1){var c=i[u],d=r[c].start||0;r[c].start=d+1}}return l}null!=e&&be.call(e.cssRules).forEach(((e,i)=>{var a=e.cssText;if(a.indexOf("stylesheet-group")>-1)t=function(e){return Number(e.selectorText.split(Re)[1])}(e),r[t]={start:i,rules:[a]};else{var o=we(a);null!=o&&(n[o]=!0,r[t].rules.push(a))}}));var a={getTextContent:()=>Ee(r).map((e=>{var t=r[e].rules,n=t.shift();return t.sort(),t.unshift(n),t.join("\n")})).join("\n"),insert(t,a){var o=Number(a);if(null==r[o]){var s=function(e){return'[stylesheet-group="'+e+'"]{}'}(o);r[o]={start:null,rules:[s]},null!=e&&i(e,o,s)}var l=we(t);null!=l&&null==n[l]&&(n[l]=!0,r[o].rules.push(t),null!=e&&(i(e,o,t)||r[o].rules.pop()))}};return a}var Re=/["']/g;function Ee(e){return Object.keys(e).map(Number).sort(((e,t)=>e>t?1:-1))}var Ce=/\s*([,])\s*/g;function we(e){var t=e.split("{")[0].trim();return""!==t?t.replace(Ce,"$1"):null}var Te="react-native-stylesheet",ke=new WeakMap,xe=[],Pe=["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;}"];function Ie(e,t){var r;if(void 0===t&&(t=Te),E){var n=null!=e?e.getRootNode():document;if(0===xe.length)r=Se(ye(t)),Pe.forEach((e=>{r.insert(e,0)})),ke.set(n,xe.length),xe.push(r);else{var i=ke.get(n);if(null==i){var a=xe[0],o=null!=a?a.getTextContent():"";r=Se(ye(t,n,o)),ke.set(n,xe.length),xe.push(r)}else r=xe[i]}}else 0===xe.length?(r=Se(ye(t)),Pe.forEach((e=>{r.insert(e,0)})),xe.push(r)):r=xe[0];return{getTextContent:()=>r.getTextContent(),id:t,insert(e,t){xe.forEach((r=>{r.insert(e,t)}))}}}var Ae=r(336);var Ne={},Le={height:0,width:0},Oe=e=>{var t=e.shadowColor,r=e.shadowOffset,n=e.shadowOpacity,i=e.shadowRadius,a=r||Le,o=a.height,s=R(a.width),l=R(o),u=R(i||0),c=b(t||"black",n);if(null!=c&&null!=s&&null!=l&&null!=u)return s+" "+l+" "+u+" "+c},Me=e=>{var t=Object.keys(e)[0],r=e[t];return"matrix"===t||"matrix3d"===t?t+"("+r.join(",")+")":t+"("+R(r,t)+")"},De=e=>e.map(Me).join(" "),Ve={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"},Be={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},Fe=function(e,t){void 0===t&&(t={});var r=e||Ne,n={};if(t.shadow,null!=r.shadowColor||null!=r.shadowOffset||null!=r.shadowOpacity||null!=r.shadowRadius){var i=Oe(r);if(null!=i&&null==n.boxShadow){var a=r.boxShadow,o=a?a+", "+i:i;n.boxShadow=o}}if(t.textShadow,null!=r.textShadowColor||null!=r.textShadowOffset||null!=r.textShadowRadius){var s=(e=>{var t=e.textShadowColor,r=e.textShadowOffset,n=e.textShadowRadius,i=r||Le,a=i.height,o=i.width,s=n||0,l=R(o),u=R(a),c=R(s),d=R(t,"textShadowColor");if(d&&(0!==a||0!==o||0!==s)&&null!=l&&null!=u&&null!=c)return l+" "+u+" "+c+" "+d})(r);if(null!=s&&null==n.textShadow){var l=r.textShadow,u=l?l+", "+s:s;n.textShadow=u}}for(var c in r)if(null==Be[c]&&"shadowColor"!==c&&"shadowOffset"!==c&&"shadowOpacity"!==c&&"shadowRadius"!==c&&"textShadowColor"!==c&&"textShadowOffset"!==c&&"textShadowRadius"!==c){var d=r[c],h=Ve[c]||c,p=d;!Object.prototype.hasOwnProperty.call(r,c)||h!==c&&null!=r[h]||("aspectRatio"===h&&"number"==typeof p?n[h]=p.toString():"fontVariant"===h?(Array.isArray(p)&&p.length>0&&(p=p.join(" ")),n[h]=p):"textAlignVertical"===h?null==r.verticalAlign&&(n.verticalAlign="center"===p?"middle":p):"transform"===h?(Array.isArray(p)&&(p=De(p)),n.transform=p):n[h]=p)}return n},He=r(176),ze=["writingDirection"],We=new WeakMap,je=Ie(),Ue={shadow:!0,textShadow:!0};function Ke(e){e.forEach((e=>{var t=e[0],r=e[1];null!=je&&t.forEach((e=>{je.insert(e,r)}))}))}var Ge={position:"absolute",left:0,right:0,top:0,bottom:0},Ye=qe({x:h({},Ge)}).x;function qe(e){return Object.keys(e).forEach((t=>{var r,n,i,a=e[t];null!=a&&!0!==a.$$css&&(t.indexOf("$raw")>-1?r=function(e,t){var r=function(e,t){var r,n={$$css:!0},i=[],a=e.animationKeyframes,o=p(e,Y),s=ge("css",t,JSON.stringify(e)),l="."+s;if(null!=a){var u=_e(a),c=u[0],d=u[1];r=c.join(","),i.push(...d)}var f=me(h(h({},o),{},{animationName:r}));return i.push(""+l+f),n[s]=s,[n,[[i,1]]]}(e,t),n=r[0];return Ke(r[1]),n}(a,t.split("$raw")[0]):(n=function(e){var t={$$css:!0},r=[];function n(e,t,n){var i,a=function(e,t){var r=R(e,t);return"string"!=typeof r?JSON.stringify(r||""):r}(n,t),o=t+a,s=q.get(o);if(null!=s)i=s[0],r.push(s[1]);else{i=ge("r",e,e!==t?o:a);var l=$[e]||3,u=function(e,t,r){var n=[],i="."+e;switch(t){case"animationKeyframes":var a=_e(r),o=a[0],s=a[1],l=me({animationName:o.join(",")});n.push(""+i+l,...s);break;case"placeholderTextColor":var u=me({color:r,opacity:1});n.push(i+"::-webkit-input-placeholder"+u,i+"::-moz-placeholder"+u,i+":-ms-input-placeholder"+u,i+"::placeholder"+u);break;case"pointerEvents":var c=r;if("auto"===r||"box-only"===r){if(c="auto!important","box-only"===r){var d=me({pointerEvents:"none"});n.push(i+">*"+d)}}else if(("none"===r||"box-none"===r)&&(c="none!important","box-none"===r)){var h=me({pointerEvents:"auto"});n.push(i+">*"+h)}var p=me({pointerEvents:c});n.push(""+i+p);break;case"scrollbarWidth":"none"===r&&n.push(i+"::-webkit-scrollbar{display:none}");var f=me({scrollbarWidth:r});n.push(""+i+f);break;default:var v=me({[t]:r});n.push(""+i+v)}return n}(i,t,n),c=[u,l];r.push(c),q.set(o,[i,c])}return i}return Object.keys(e).sort().forEach((r=>{var i=e[r];if(null!=i){var a;if(ve.indexOf(r)>-1){var o=n(r,r,"left"),s=n(r,r,"right");"start"===i?a=[o,s]:"end"===i&&(a=[s,o])}var l=fe[r];if(null!=l){var u=n(r,l,i),c=n(r,pe[l],i);a=[u,c]}if("transitionProperty"===r){for(var d=Array.isArray(i)?i:[i],h=[],p=0;p<d.length;p++){var f=d[p];"string"==typeof f&&null!=fe[f]&&h.push(p)}if(h.length>0){var v=[...d],m=[...d];h.forEach((e=>{var t=v[e];if("string"==typeof t){var i=fe[t],o=pe[i];v[e]=i,m[e]=o;var s=n(r,r,v),l=n(r,r,m);a=[s,l]}}))}}null==a?a=n(r,r,i):t.$$css$localize=!0,t[r]=a}})),[t,r]}(Fe(a,Ue)),i=n[0],Ke(n[1]),r=i),We.set(a,r))})),e}function Xe(e,t){void 0===t&&(t={});var r="rtl"===t.writingDirection,n=function(e,t){void 0===t&&(t={});var r=t,n=r.writingDirection,i=p(r,ze),a="rtl"===n;return He.P.factory({transform(e){var t=We.get(e);return null!=t?(0,Ae.n)(t,a):Fe(e,h(h({},Ue),i))}})(e)}(e,t);return Array.isArray(n)&&null!=n[1]&&(n[1]=function(e,t){var r=e||X,n={},i={},a=function(){var e=r[o],a=o,s=e;if(!Object.prototype.hasOwnProperty.call(r,o)||null==e)return"continue";ve.indexOf(o)>-1&&("start"===e?s=t?"right":"left":"end"===e&&(s=t?"left":"right"));var l=fe[o];if(null!=l&&(a=t?pe[l]:l),"transitionProperty"===o){var u=Array.isArray(e)?e:[e];u.forEach(((e,r)=>{if("string"==typeof e){var n=fe[e];null!=n&&(u[r]=t?pe[n]:n,s=u.join(" "))}}))}n[a]||(i[a]=s),a===o&&(n[a]=!0)};for(var o in r)a();return x(i,!0)}(n[1],r)),n}Xe.absoluteFill=Ye,Xe.absoluteFillObject=Ge,Xe.create=qe,Xe.compose=function(e,t){return[e,t]},Xe.flatten=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.flat(1/0),i={},a=0;a<n.length;a++){var o=n[a];null!=o&&"object"==typeof o&&Object.assign(i,o)}return i},Xe.getSheet=function(){return{id:je.id,textContent:je.getTextContent()}},Xe.hairlineWidth=1,E&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=Xe.flatten);const $e=Xe;var Ze=["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"],Je={},Qe=Object.prototype.hasOwnProperty,et=Array.isArray,tt=/[A-Z]/g;function rt(e){return"-"+e.toLowerCase()}function nt(e){return et(e)?e.join(" "):e}var it=$e.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}});var at=r(155),ot=r.n(at),st=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),lt=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"]),ut=new Map,ct={direction:"ltr",locale:"en-US"},dt=(0,at.createContext)(ct);function ht(e){return function(e){var t=ut.get(e);if(t)return t;var r=!1;if(Intl.Locale)try{var n=new Intl.Locale(e).maximize().script;r=st.has(n)}catch(t){var i=e.split("-")[0];r=lt.has(i)}else{var a=e.split("-")[0];r=lt.has(a)}return ut.set(e,r),r}(e)?"rtl":"ltr"}function pt(e){var t=e.direction,r=e.locale,n=e.children;return t||r?ot().createElement(dt.Provider,{children:n,value:{direction:r?ht(r):t,locale:r}}):n}function ft(){return(0,at.useContext)(dt)}const vt=(e,t,r)=>{var n;e&&e.constructor===String&&(n=s(t));var i=n||e,a=((e,t,r)=>{t||(t=Je);var n=t,i=n["aria-activedescendant"],a=n.accessibilityActiveDescendant,o=n["aria-atomic"],s=n.accessibilityAtomic,u=n["aria-autocomplete"],c=n.accessibilityAutoComplete,d=n["aria-busy"],f=n.accessibilityBusy,v=n["aria-checked"],m=n.accessibilityChecked,g=n["aria-colcount"],_=n.accessibilityColumnCount,y=n["aria-colindex"],b=n.accessibilityColumnIndex,S=n["aria-colspan"],R=n.accessibilityColumnSpan,E=n["aria-controls"],C=n.accessibilityControls,w=n["aria-current"],T=n.accessibilityCurrent,k=n["aria-describedby"],x=n.accessibilityDescribedBy,P=n["aria-details"],I=n.accessibilityDetails,A=n["aria-disabled"],N=n.accessibilityDisabled,L=n["aria-errormessage"],O=n.accessibilityErrorMessage,M=n["aria-expanded"],D=n.accessibilityExpanded,V=n["aria-flowto"],B=n.accessibilityFlowTo,F=n["aria-haspopup"],H=n.accessibilityHasPopup,z=n["aria-hidden"],W=n.accessibilityHidden,j=n["aria-invalid"],U=n.accessibilityInvalid,K=n["aria-keyshortcuts"],G=n.accessibilityKeyShortcuts,Y=n["aria-label"],q=n.accessibilityLabel,X=n["aria-labelledby"],$=n.accessibilityLabelledBy,Z=n["aria-level"],J=n.accessibilityLevel,Q=n["aria-live"],ee=n.accessibilityLiveRegion,te=n["aria-modal"],re=n.accessibilityModal,ne=n["aria-multiline"],ie=n.accessibilityMultiline,ae=n["aria-multiselectable"],oe=n.accessibilityMultiSelectable,se=n["aria-orientation"],le=n.accessibilityOrientation,ue=n["aria-owns"],ce=n.accessibilityOwns,de=n["aria-placeholder"],he=n.accessibilityPlaceholder,pe=n["aria-posinset"],fe=n.accessibilityPosInSet,ve=n["aria-pressed"],me=n.accessibilityPressed,ge=n["aria-readonly"],_e=n.accessibilityReadOnly,ye=n["aria-required"],be=n.accessibilityRequired,Se=(n.role,n.accessibilityRole,n["aria-roledescription"]),Re=n.accessibilityRoleDescription,Ee=n["aria-rowcount"],Ce=n.accessibilityRowCount,we=n["aria-rowindex"],Te=n.accessibilityRowIndex,ke=n["aria-rowspan"],xe=n.accessibilityRowSpan,Pe=n["aria-selected"],Ie=n.accessibilitySelected,Ae=n["aria-setsize"],Ne=n.accessibilitySetSize,Le=n["aria-sort"],Oe=n.accessibilitySort,Me=n["aria-valuemax"],De=n.accessibilityValueMax,Ve=n["aria-valuemin"],Be=n.accessibilityValueMin,Fe=n["aria-valuenow"],He=n.accessibilityValueNow,ze=n["aria-valuetext"],We=n.accessibilityValueText,je=n.dataSet,Ue=n.focusable,Ke=n.id,Ge=n.nativeID,Ye=n.pointerEvents,qe=n.style,Xe=n.tabIndex,et=n.testID,at=p(n,Ze),ot=A||N,st=l(t),lt=null!=i?i:a;null!=lt&&(at["aria-activedescendant"]=lt);var ut=null!=o?i:s;null!=ut&&(at["aria-atomic"]=ut);var ct=null!=u?u:c;null!=ct&&(at["aria-autocomplete"]=ct);var dt=null!=d?d:f;null!=dt&&(at["aria-busy"]=dt);var ht=null!=v?v:m;null!=ht&&(at["aria-checked"]=ht);var pt=null!=g?g:_;null!=pt&&(at["aria-colcount"]=pt);var ft=null!=y?y:b;null!=ft&&(at["aria-colindex"]=ft);var vt=null!=S?S:R;null!=vt&&(at["aria-colspan"]=vt);var mt=null!=E?E:C;null!=mt&&(at["aria-controls"]=nt(mt));var gt=null!=w?w:T;null!=gt&&(at["aria-current"]=gt);var _t=null!=k?k:x;null!=_t&&(at["aria-describedby"]=nt(_t));var yt=null!=P?P:I;null!=yt&&(at["aria-details"]=yt),!0===ot&&(at["aria-disabled"]=!0,"button"!==e&&"form"!==e&&"input"!==e&&"select"!==e&&"textarea"!==e||(at.disabled=!0));var bt=null!=L?L:O;null!=bt&&(at["aria-errormessage"]=bt);var St=null!=M?M:D;null!=St&&(at["aria-expanded"]=St);var Rt=null!=V?V:B;null!=Rt&&(at["aria-flowto"]=nt(Rt));var Et=null!=F?F:H;null!=Et&&(at["aria-haspopup"]=Et);var Ct=null!=z?z:W;!0===Ct&&(at["aria-hidden"]=Ct);var wt=null!=j?j:U;null!=wt&&(at["aria-invalid"]=wt);var Tt=null!=K?K:G;null!=Tt&&(at["aria-keyshortcuts"]=nt(Tt));var kt=null!=Y?Y:q;null!=kt&&(at["aria-label"]=kt);var xt=null!=X?X:$;null!=xt&&(at["aria-labelledby"]=nt(xt));var Pt=null!=Z?Z:J;null!=Pt&&(at["aria-level"]=Pt);var It=null!=Q?Q:ee;null!=It&&(at["aria-live"]="none"===It?"off":It);var At=null!=te?te:re;null!=At&&(at["aria-modal"]=At);var Nt=null!=ne?ne:ie;null!=Nt&&(at["aria-multiline"]=Nt);var Lt=null!=ae?ae:oe;null!=Lt&&(at["aria-multiselectable"]=Lt);var Ot=null!=se?se:le;null!=Ot&&(at["aria-orientation"]=Ot);var Mt=null!=ue?ue:ce;null!=Mt&&(at["aria-owns"]=nt(Mt));var Dt=null!=de?de:he;null!=Dt&&(at["aria-placeholder"]=Dt);var Vt=null!=pe?pe:fe;null!=Vt&&(at["aria-posinset"]=Vt);var Bt=null!=ve?ve:me;null!=Bt&&(at["aria-pressed"]=Bt);var Ft=null!=ge?ge:_e;null!=Ft&&(at["aria-readonly"]=Ft,"input"!==e&&"select"!==e&&"textarea"!==e||(at.readOnly=!0));var Ht=null!=ye?ye:be;null!=Ht&&(at["aria-required"]=Ht,"input"!==e&&"select"!==e&&"textarea"!==e||(at.required=be)),null!=st&&(at.role="none"===st?"presentation":st);var zt=null!=Se?Se:Re;null!=zt&&(at["aria-roledescription"]=zt);var Wt=null!=Ee?Ee:Ce;null!=Wt&&(at["aria-rowcount"]=Wt);var jt=null!=we?we:Te;null!=jt&&(at["aria-rowindex"]=jt);var Ut=null!=ke?ke:xe;null!=Ut&&(at["aria-rowspan"]=Ut);var Kt=null!=Pe?Pe:Ie;null!=Kt&&(at["aria-selected"]=Kt);var Gt=null!=Ae?Ae:Ne;null!=Gt&&(at["aria-setsize"]=Gt);var Yt=null!=Le?Le:Oe;null!=Yt&&(at["aria-sort"]=Yt);var qt=null!=Me?Me:De;null!=qt&&(at["aria-valuemax"]=qt);var Xt=null!=Ve?Ve:Be;null!=Xt&&(at["aria-valuemin"]=Xt);var $t=null!=Fe?Fe:He;null!=$t&&(at["aria-valuenow"]=$t);var Zt=null!=ze?ze:We;if(null!=Zt&&(at["aria-valuetext"]=Zt),null!=je)for(var Jt in je)if(Qe.call(je,Jt)){var Qt=Jt.replace(tt,rt),er=je[Jt];null!=er&&(at["data-"+Qt]=er)}0===Xe||"0"===Xe||-1===Xe||"-1"===Xe?at.tabIndex=Xe:(!1===Ue&&(at.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?!1!==Ue&&!0!==N||(at.tabIndex="-1"):"button"===st||"checkbox"===st||"link"===st||"radio"===st||"textbox"===st||"switch"===st?!1!==Ue&&(at.tabIndex="0"):!0===Ue&&(at.tabIndex="0"));var tr=$e([qe,Ye&&it[Ye]],h({writingDirection:"ltr"},r)),rr=tr[0],nr=tr[1];rr&&(at.className=rr),nr&&(at.style=nr);var ir=null!=Ke?Ke:Ge;return null!=ir&&(at.id=ir),null!=et&&(at["data-testid"]=et),null==at.type&&"button"===e&&(at.type="button"),at})(i,t,r),o=ot().createElement(i,a);return a.dir?ot().createElement(pt,{children:o,direction:a.dir,locale:a.lang}):o};var mt=r(514),gt=r.n(mt);const _t=e=>{var t;try{t=(0,mt.findDOMNode)(e)}catch(e){}return t};var yt=r(338);const bt=mt.unmountComponentAtNode;function St(e,t){return Ie(t),(0,yt.c)(t,e)}function Rt(e,t){Ie(t);var r=(0,yt.H)(t);return r.render(e),r}function Et(e,t,r){return Ie(t),(0,mt.hydrate)(e,t,r),{unmount:function(){return bt(t)}}}function Ct(e,t,r){return Ie(t),(0,mt.render)(e,t,r),{unmount:function(){return bt(t)}}}const wt=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()};var Tt={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},kt=["ms","Moz","O","Webkit"];Object.keys(Tt).forEach((e=>{kt.forEach((t=>{Tt[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=Tt[e]}))}));const xt=Tt,Pt=function(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||xt.hasOwnProperty(e)&&xt[e]?(""+t).trim():t+"px"},It=function(e,t){var r=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),a=Pt(n,t[n],i);"float"===n&&(n="cssFloat"),i?r.setProperty(n,a):r[n]=a}};var At=e=>{var t=e.offsetHeight,r=e.offsetWidth,n=e.offsetLeft,i=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)n+=e.offsetLeft+e.clientLeft-e.scrollLeft,i+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:r,height:t,top:i-=window.scrollY,left:n-=window.scrollX}},Nt=(e,t,r)=>{var n=t||e&&e.parentNode;e&&n&&setTimeout((()=>{if(e.isConnected&&n.isConnected){var t=At(n),i=At(e),a=i.height,o=i.left,s=i.top,l=i.width,u=o-t.left,c=s-t.top;r(u,c,l,a,o,s)}}),0)},Lt={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},Ot={blur(e){try{e.blur()}catch(e){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==Lt[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,t){Nt(e,null,t)},measureInWindow(e,t){e&&setTimeout((()=>{var r=wt(e),n=r.height,i=r.left,a=r.top,o=r.width;t(i,a,o,n)}),0)},measureLayout(e,t,r,n){Nt(e,t,n)},updateView(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=t[r];switch(r){case"style":It(e,n);break;case"class":case"className":e.setAttribute("class",n);break;case"text":case"value":e.value=n;break;default:e.setAttribute(r,n)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}};const Mt=Ot,Dt={UIManager:Mt};function Vt(){return new Promise(((e,t)=>{e(!0)}))}var Bt=E&&"function"==typeof window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null,Ft={},Ht={isScreenReaderEnabled:Vt,isReduceMotionEnabled:function(){return new Promise(((e,t)=>{e(!Bt||Bt.matches)}))},fetch:Vt,addEventListener:function(e,t){if("reduceMotionChanged"===e){if(!Bt)return;var r=e=>{t(e.matches)};n=r,null!=Bt&&(null!=Bt.addEventListener?Bt.addEventListener("change",n):Bt.addListener(n)),Ft[t]=r}var n;return{remove:()=>Ht.removeEventListener(e,t)}},setAccessibilityFocus:function(e){},announceForAccessibility:function(e){},removeEventListener:function(e,t){if("reduceMotionChanged"===e){var r=Ft[t];if(!r||!Bt)return;n=r,null!=Bt&&(null!=Bt.removeEventListener?Bt.removeEventListener("change",n):Bt.removeListener(n))}var n}};const zt=Ht,Wt=class{static alert(){}},jt={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1}};function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ut.apply(null,arguments)}var Kt={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},Gt={"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},Yt={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},qt={onBlur:!0,onFocus:!0},Xt={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},$t={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},Zt={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},Jt={style:!0};function Qt(e,t){var r={};for(var n in e)e.hasOwnProperty(n)&&!0===t[n]&&(r[n]=e[n]);return r}const er=E?at.useLayoutEffect:at.useEffect;var tr="__reactLayoutHandler",rr=null;function nr(e,t){var r=(E&&void 0!==window.ResizeObserver&&null==rr&&(rr=new window.ResizeObserver((function(e){e.forEach((e=>{var t=e.target,r=t[tr];"function"==typeof r&&Mt.measure(t,((t,n,i,a,o,s)=>{var l={nativeEvent:{layout:{x:t,y:n,width:i,height:a,left:o,top:s}},timeStamp:Date.now()};Object.defineProperty(l.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),r(l)}))}))}))),rr);er((()=>{var r=e.current;null!=r&&(r[tr]=t)}),[e,t]),er((()=>{var t=e.current;return null!=t&&null!=r&&("function"==typeof t[tr]?r.observe(t):r.unobserve(t)),()=>{null!=t&&null!=r&&r.unobserve(t)}}),[e,r])}function ir(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((t=>{null!=t&&("function"!=typeof t?"object"!=typeof t?console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(t)):t.current=e:t(e))}))}}function ar(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return at.useMemo((()=>ir(...t)),[...t])}var or="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function sr(e){var t=at.useRef(or);return t.current===or&&(t.current=e()),t.current}function lr(e){return e.pointerEvents,e.style,sr((()=>e=>{null!=e&&(e.measure=t=>Mt.measure(e,t),e.measureLayout=(t,r,n)=>Mt.measureLayout(e,t,n,r),e.measureInWindow=t=>Mt.measureInWindow(e,t))}))}var ur=()=>{},cr={},dr=[];function hr(e){return e>20?e%20:e}function pr(e,t){var r,n,i,a=!1,o=e.changedTouches,s=e.type,l=!0===e.metaKey,u=!0===e.shiftKey,c=o&&o[0].force||0,d=hr(o&&o[0].identifier||0),h=o&&o[0].clientX||e.clientX,p=o&&o[0].clientY||e.clientY,f=o&&o[0].pageX||e.pageX,v=o&&o[0].pageY||e.pageY,m="function"==typeof e.preventDefault?e.preventDefault.bind(e):ur,g=e.timeStamp;function _(e){return Array.prototype.slice.call(e).map((e=>({force:e.force,identifier:hr(e.identifier),get locationX(){return S(e.clientX)},get locationY(){return R(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:g})))}if(null!=o)n=_(o),i=_(e.touches);else{var y=[{force:c,identifier:d,get locationX(){return S(h)},get locationY(){return R(p)},pageX:f,pageY:v,target:e.target,timestamp:g}];n=y,i="mouseup"===s||"dragstart"===s?dr:y}var b={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:cr,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>a,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:l,shiftKey:u,changedTouches:n,force:c,identifier:d,get locationX(){return S(h)},get locationY(){return R(p)},pageX:f,pageY:v,target:e.target,timestamp:g,touches:i,type:s},persist:ur,preventDefault:m,stopPropagation(){a=!0},target:e.target,timeStamp:g,touchHistory:t.touchHistory};function S(e){if(r=r||wt(b.currentTarget))return e-r.left}function R(e){if(r=r||wt(b.currentTarget))return e-r.top}return b}function fr(e){return"touchstart"===e||"mousedown"===e}function vr(e){return"touchmove"===e||"mousemove"===e}function mr(e){return"touchend"===e||"mouseup"===e||gr(e)}function gr(e){return"touchcancel"===e||"dragstart"===e}var _r="__reactResponderId";function yr(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function br(e){return null!=e?e[_r]:null}function Sr(e){return e.timeStamp||e.timestamp}function Rr(e){var t=e.identifier;return null==t&&console.error("Touch object is missing identifier."),t}function Er(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:Sr(e)})}function Cr(e){var t=e.touchBank,r=JSON.stringify(t.slice(0,20));return t.length>20&&(r+=" (original size: "+t.length+")"),r}var wr={},Tr=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],kr=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],xr={touchstart:Tr,mousedown:Tr,touchmove:kr,mousemove:kr,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},Pr={id:null,idPath:null,node:null},Ir=new Map,Ar=!1,Nr=0,Lr={id:null,node:null,idPath:null},Or=new class{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var r=this._touchHistory;if(vr(e))t.changedTouches.forEach((e=>function(e,t){var r=t.touchBank[Rr(e)];r?(r.touchActive=!0,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=Sr(e),t.mostRecentTimeStamp=Sr(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+Er(e)+"\n","Touch Bank: "+Cr(t))}(e,r)));else if(fr(e))t.changedTouches.forEach((e=>function(e,t){var r=Rr(e),n=t.touchBank[r];n?function(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=Sr(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=Sr(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=Sr(t)}(n,e):t.touchBank[r]=function(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:Sr(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:Sr(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:Sr(e)}}(e),t.mostRecentTimeStamp=Sr(e)}(e,r))),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches&&(r.indexOfSingleActiveTouch=t.touches[0].identifier);else if(mr(e)&&(t.changedTouches.forEach((e=>function(e,t){var r=t.touchBank[Rr(e)];r?(r.touchActive=!1,r.previousPageX=r.currentPageX,r.previousPageY=r.currentPageY,r.previousTimeStamp=r.currentTimeStamp,r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=Sr(e),t.mostRecentTimeStamp=Sr(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+Er(e)+"\n","Touch Bank: "+Cr(t))}(e,r))),r.numberActiveTouches=t.touches.length,1===r.numberActiveTouches))for(var n=r.touchBank,i=0;i<n.length;i++){var a=n[i];if(null!=a&&a.touchActive){r.indexOfSingleActiveTouch=i;break}}}get touchHistory(){return this._touchHistory}};function Mr(e){Lr=e}function Dr(e){var t=Ir.get(e);return null!=t?t:wr}function Vr(e){var t=e.type,r=e.target;if("touchstart"===t&&(Ar=!0),("touchmove"===t||Nr>1)&&(Ar=!1),!("mousedown"===t&&Ar||"mousemove"===t&&Ar||"mousemove"===t&&Nr<1))if(Ar&&"mouseup"===t)0===Nr&&(Ar=!1);else{var n=fr(t)&&function(e){var t=e.altKey,r=e.button,n=e.buttons,i=e.ctrlKey,a=e.type,o=!1===t&&!1===i;return!!("touchstart"===a||"touchmove"===a||"mousedown"===a&&(0===r||1===n)&&o||"mousemove"===a&&1===n&&o)}(e),i=vr(t),a=mr(t),o=function(e){return"scroll"===e}(t),s=function(e){return"select"===e||"selectionchange"===e}(t),l=pr(e,Or);(n||i||a)&&(e.touches?Nr=e.touches.length:n?Nr=1:a&&(Nr=0),Or.recordTouchTrack(t,l.nativeEvent));var u,c=function(e){for(var t=[],r=[],n=function(e){return"selectionchange"===e.type?yr(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():yr(e.target)}(e),i=0;i<n.length;i++){var a=n[i],o=br(a);null!=o&&(t.push(o),r.push(a))}return{idPath:t,nodePath:r}}(e),d=!1;if(n||i||o&&Nr>0){var h=Lr.idPath,p=c.idPath;if(null!=h&&null!=p){var f=function(e,t){var r=e.length,n=t.length;if(0===r||0===n||e[r-1]!==t[n-1])return null;var i=e[0],a=0,o=t[0],s=0;r-n>0&&(i=e[a=r-n],r=n),n-r>0&&(o=t[s=n-r],n=r);for(var l=r;l--;){if(i===o)return i;i=e[a++],o=t[s++]}return null}(h,p);if(null!=f){var v=p.indexOf(f)+(f===Lr.id?1:0);c={idPath:p.slice(v),nodePath:c.nodePath.slice(v)}}else c=null}null!=c&&(u=function(e,t,r){var n=xr[t.type];if(null!=n){for(var i=e.idPath,a=e.nodePath,o=n[0],s=n[1],l=n[2].bubbles,u=function(e,t,n){var a=Dr(e)[n];if(null!=a&&(r.currentTarget=t,!0===a(r)))return{id:e,node:t,idPath:i.slice(i.indexOf(e))}},c=i.length-1;c>=0;c--){var d=u(i[c],a[c],o);if(null!=d)return d;if(!0===r.isPropagationStopped())return}if(l)for(var h=0;h<i.length;h++){var p=u(i[h],a[h],s);if(null!=p)return p;if(!0===r.isPropagationStopped())return}else{var f=i[0],v=a[0];if(t.target===v)return u(f,v,s)}}}(c,e,l),null!=u&&(function(e,t){var r=Lr,n=r.id,i=r.node,a=t.id,o=t.node,s=Dr(a),l=s.onResponderGrant,u=s.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==n)null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),Mr(t);else{var c=Dr(n),d=c.onResponderTerminate,h=c.onResponderTerminationRequest,p=!0;null!=h&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===h(e)&&(p=!1)),p?(null!=d&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminate",d(e)),null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),Mr(t)):null!=u&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",u(e))}}(l,u),d=!0))}if(null!=Lr.id&&null!=Lr.node){var m=Lr,g=m.id,_=m.node,y=Dr(g),b=y.onResponderStart,S=y.onResponderMove,R=y.onResponderEnd,E=y.onResponderRelease,C=y.onResponderTerminate,w=y.onResponderTerminationRequest;if(l.bubbles=!1,l.cancelable=!1,l.currentTarget=_,n)null!=b&&(l.dispatchConfig.registrationName="onResponderStart",b(l));else if(i)null!=S&&(l.dispatchConfig.registrationName="onResponderMove",S(l));else{var T=gr(t)||"contextmenu"===t||"blur"===t&&r===window||"blur"===t&&r.contains(_)&&e.relatedTarget!==_||o&&0===Nr||o&&r.contains(_)&&r!==_||s&&function(e){return"selectionchange"===e.type?(r=(t=window.getSelection()).toString(),n=t.anchorNode,i=t.focusNode,a=n&&n.nodeType===window.Node.TEXT_NODE||i&&i.nodeType===window.Node.TEXT_NODE,r.length>=1&&"\n"!==r&&a):"select"===e.type;var t,r,n,i,a}(e),k=a&&!T&&!function(e,t){if(!t||0===t.length)return!1;for(var r=0;r<t.length;r++){var n=t[r].target;if(null!=n&&e.contains(n))return!0}return!1}(_,e.touches);if(a&&null!=R&&(l.dispatchConfig.registrationName="onResponderEnd",R(l)),k&&(null!=E&&(l.dispatchConfig.registrationName="onResponderRelease",E(l)),Mr(Pr)),T){var x=!0;"contextmenu"!==t&&"scroll"!==t&&"selectionchange"!==t||(d?x=!1:null!=w&&(l.dispatchConfig.registrationName="onResponderTerminationRequest",!1===w(l)&&(x=!1))),x&&(null!=C&&(l.dispatchConfig.registrationName="onResponderTerminate",C(l)),Mr(Pr),Ar=!1,Nr=0)}}}}}var Br=["blur","scroll"],Fr=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"];function Hr(e){Lr.id===e&&function(){var e=Lr,t=e.id,r=e.node;if(null!=t&&null!=r){var n=Dr(t).onResponderTerminate;if(null!=n){var i=pr({},Or);i.currentTarget=r,n(i)}Mr(Pr)}Ar=!1,Nr=0}(),Ir.has(e)&&Ir.delete(e)}var zr={},Wr=0;function jr(e,t){void 0===t&&(t=zr);var r,n,i=(r=()=>Wr++,null==(n=at.useRef(null)).current&&(n.current=r()),n.current),a=at.useRef(!1);at.useEffect((()=>(E&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",Vr),Fr.forEach((e=>{document.addEventListener(e,Vr)})),Br.forEach((e=>{document.addEventListener(e,Vr,!0)})),window.__reactResponderSystemActive=!0),()=>{Hr(i)})),[i]),at.useEffect((()=>{var r=t,n=r.onMoveShouldSetResponder,o=r.onMoveShouldSetResponderCapture,s=r.onScrollShouldSetResponder,l=r.onScrollShouldSetResponderCapture,u=r.onSelectionChangeShouldSetResponder,c=r.onSelectionChangeShouldSetResponderCapture,d=r.onStartShouldSetResponder,h=r.onStartShouldSetResponderCapture,p=null!=n||null!=o||null!=s||null!=l||null!=u||null!=c||null!=d||null!=h,f=e.current;p?(function(e,t,r){!function(e,t){null!=e&&(e[_r]=t)}(t,e),Ir.set(e,r)}(i,f,t),a.current=!0):a.current&&(Hr(i),a.current=!1)}),[t,e,i]),at.useDebugValue({isResponder:e.current===Lr.node}),at.useDebugValue(t)}const Ur=(0,at.createContext)(!1);var Kr=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],Gr=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),Yr=at.forwardRef(((e,t)=>{var r=e.hrefAttrs,n=e.onLayout,i=e.onMoveShouldSetResponder,a=e.onMoveShouldSetResponderCapture,o=e.onResponderEnd,s=e.onResponderGrant,l=e.onResponderMove,u=e.onResponderReject,c=e.onResponderRelease,d=e.onResponderStart,h=e.onResponderTerminate,f=e.onResponderTerminationRequest,v=e.onScrollShouldSetResponder,m=e.onScrollShouldSetResponderCapture,g=e.onSelectionChangeShouldSetResponder,_=e.onSelectionChangeShouldSetResponderCapture,y=e.onStartShouldSetResponder,b=e.onStartShouldSetResponderCapture,S=p(e,Kr),R=at.useContext(Ur),E=at.useRef(null),C=ft().direction;nr(E,n),jr(E,{onMoveShouldSetResponder:i,onMoveShouldSetResponderCapture:a,onResponderEnd:o,onResponderGrant:s,onResponderMove:l,onResponderReject:u,onResponderRelease:c,onResponderStart:d,onResponderTerminate:h,onResponderTerminationRequest:f,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:m,onSelectionChangeShouldSetResponder:g,onSelectionChangeShouldSetResponderCapture:_,onStartShouldSetResponder:y,onStartShouldSetResponderCapture:b});var w="div",T=null!=e.lang?ht(e.lang):null,k=e.dir||T,x=k||C,P=(e=>Qt(e,Gr))(S);if(P.dir=k,P.style=[qr.view$raw,R&&qr.inline,e.style],null!=e.href&&(w="a",null!=r)){var I=r.download,A=r.rel,N=r.target;null!=I&&(P.download=I),null!=A&&(P.rel=A),"string"==typeof N&&(P.target="_"!==N.charAt(0)?"_"+N:N)}var L=ar(E,lr(P),t);return P.ref=L,vt(w,P,{writingDirection:x})}));Yr.displayName="View";var qr=$e.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"}});const Xr=Yr,$r=function e(t,r,n){if(void 0===n&&(n=-1),0===n)return!0;if(t===r)return!1;if("function"==typeof t&&"function"==typeof r)return!1;if("object"!=typeof t||null===t)return t!==r;if("object"!=typeof r||null===r)return!0;if(t.constructor!==r.constructor)return!0;if(Array.isArray(t)){var i=t.length;if(r.length!==i)return!0;for(var a=0;a<i;a++)if(e(t[a],r[a],n-1))return!0}else{for(var o in t)if(e(t[o],r[o],n-1))return!0;for(var s in r)if(void 0===t[s]&&void 0!==r[s])return!0}return!1};var Zr=r(646),Jr=r.n(Zr);function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function en(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var tn=["colors","enabled","onRefresh","progressBackgroundColor","progressViewOffset","refreshing","size","tintColor","title","titleColor"];const rn=function(e){e.colors,e.enabled,e.onRefresh,e.progressBackgroundColor,e.progressViewOffset,e.refreshing,e.size,e.tintColor,e.title,e.titleColor;var t=p(e,tn);return ot().createElement(Xr,t)};var nn={window:{fontScale:1,height:0,scale:1,width:0},screen:{fontScale:1,height:0,scale:1,width:0}},an={},on=E;function sn(){if(E){var e,t,r=window;if(r.visualViewport){var n=r.visualViewport;e=Math.round(n.height*n.scale),t=Math.round(n.width*n.scale)}else{var i=r.document.documentElement;e=i.clientHeight,t=i.clientWidth}nn.window={fontScale:1,height:e,scale:r.devicePixelRatio||1,width:t},nn.screen={fontScale:1,height:r.screen.height,scale:r.devicePixelRatio||1,width:r.screen.width}}}function ln(){sn(),Array.isArray(an.change)&&an.change.forEach((e=>e(nn)))}class un{static get(e){return on&&(on=!1,sn()),Jr()(nn[e],"No dimension set for key "+e),nn[e]}static set(e){e&&(E?Jr()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(nn.screen=e.screen),null!=e.window&&(nn.window=e.window)))}static addEventListener(e,t){return an[e]=an[e]||[],an[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(an[e])&&(an[e]=an[e].filter((e=>e!==t)))}}E&&(window.visualViewport?window.visualViewport.addEventListener("resize",ln,!1):window.addEventListener("resize",ln,!1));const cn={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&Mt.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&Mt.blur(e))}},dn=()=>{cn.blurTextInput(cn.currentlyFocusedField())};var hn=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function pn(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 fn=at.forwardRef(((e,t)=>{var r=e.onScroll,n=e.onTouchMove,i=e.onWheel,a=e.scrollEnabled,o=void 0===a||a,s=e.scrollEventThrottle,l=void 0===s?0:s,u=e.showsHorizontalScrollIndicator,c=e.showsVerticalScrollIndicator,d=e.style,h=p(e,hn),f=at.useRef({isScrolling:!1,scrollLastTick:0}),v=at.useRef(null),m=at.useRef(null);function g(e){return t=>{o&&e&&e(t)}}function _(e){f.current.scrollLastTick=Date.now(),r&&r(pn(e))}var y=!1===u||!1===c;return at.createElement(Xr,Ut({},h,{onScroll:function(e){var t,n,i;e.stopPropagation(),e.target===m.current&&(e.persist(),null!=v.current&&clearTimeout(v.current),v.current=setTimeout((()=>{!function(e){f.current.isScrolling=!1,r&&r(pn(e))}(e)}),100),f.current.isScrolling?(t=f.current.scrollLastTick,n=l,i=Date.now()-t,n>0&&i>=n&&_(e)):function(e){f.current.isScrolling=!0,_(e)}(e))},onTouchMove:g(n),onWheel:g(i),ref:ar(m,t),style:[d,!o&&vn.scrollDisabled,y&&vn.hideScrollbar]}))})),vn=$e.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}});const mn=fn;var gn=r(594),_n=r.n(gn),yn=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],bn={};class Sn extends ot().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=cn.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),cn.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,r)=>{if("number"==typeof e)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var n=e||bn;e=n.x,t=n.y,r=n.animated}var i=this.getScrollableNode(),a=e||0,o=t||0;null!=i&&("function"==typeof i.scroll?i.scroll({top:o,left:a,behavior:r?"smooth":"auto"}):(i.scrollLeft=a,i.scrollTop=o))},this.scrollResponderZoomTo=(e,t)=>{"ios"!==jt.OS&&Jr()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,r)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!r,Mt.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,r,n)=>{var i=un.get("window").height;this.keyboardWillOpenTo&&(i=this.keyboardWillOpenTo.endCoordinates.screenY);var a=t-i+n+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(a=Math.max(0,a)),this.scrollResponderScrollTo({x:0,y:a,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,r)=>{if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var n=e||bn;t=n.x,e=n.y,r=n.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==r})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),r=this.props.horizontal,n=this.getScrollableNode(),i=r?n.scrollWidth:0,a=r?0:n.scrollHeight;this.scrollResponderScrollTo({x:i,y:a,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,r=t.width,n=t.height;this.props.onContentSizeChange(r,n)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&dn(),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),ir(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){_n()(!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,r=e.horizontal,n=e.onContentSizeChange,i=e.refreshControl,a=e.stickyHeaderIndices,o=e.pagingEnabled,s=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),l=p(e,yn),u={};n&&(u={onLayout:this._handleContentOnLayout});var c=!r&&Array.isArray(a),d=c||o?ot().Children.map(this.props.children,((e,t)=>{var r=c&&a.indexOf(t)>-1;return null!=e&&(r||o)?ot().createElement(Xr,{style:[r&&En.stickyHeader,o&&En.pagingEnabledChild]},e):e})):this.props.children,f=ot().createElement(Xr,Ut({},u,{children:d,collapsable:!1,ref:this._setInnerViewRef,style:[r&&En.contentContainerHorizontal,s&&En.contentContainerCenterContent,t]})),v=r?En.baseHorizontal:En.baseVertical,m=r?En.pagingEnabledHorizontal:En.pagingEnabledVertical,g=h(h({},l),{},{style:[v,o&&m,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}),_=mn;Jr()(void 0!==_,"ScrollViewClass must not be undefined");var y=ot().createElement(_,Ut({},g,{ref:this._setScrollNodeRef}),f);return i?ot().cloneElement(i,{style:g.style},y):y}}var Rn={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},En=$e.create({baseVertical:h(h({},Rn),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:h(h({},Rn),{},{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"}}),Cn=ot().forwardRef(((e,t)=>ot().createElement(Sn,Ut({},e,{forwardedRef:t}))));Cn.displayName="ScrollView";const wn=Cn;class Tn{constructor(){this._registry={}}addListener(e,t,r){var n=function(e,t){var r=e[t];return null==r&&(r=new Set,e[t]=r),r}(this._registry,e),i={context:r,listener:t,remove(){n.delete(i)}};return n.add(i),i}emit(e){var t=this._registry[e];if(null!=t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(var a=0,o=[...t];a<o.length;a++){var s=o[a];s.listener.apply(s.context,n)}}}removeAllListeners(e){null==e?this._registry={}:delete this._registry[e]}listenerCount(e){var t=this._registry[e];return null==t?0:t.size}}var kn=E&&void 0!==window.requestIdleCallback,xn=kn?window.requestIdleCallback:function(e,t){return setTimeout((()=>{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)};kn&&window.cancelIdleCallback;const Pn=xn;var In=new Tn,An={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],r=new Promise((r=>{Fn(),e&&t.push(e),t.push({run:r,name:"resolve "+(e&&e.name||"?")}),Mn.enqueueTasks(t)}));return{then:r.then.bind(r),done:r.then.bind(r),cancel:()=>{Mn.cancelTasks(t)}}},createInteractionHandle(){Fn();var e=++Vn;return Ln.add(e),e},clearInteractionHandle(e){Jr()(!!e,"Must provide a handle to clear."),Fn(),Ln.delete(e),On.add(e)},addListener:In.addListener.bind(In),setDeadline(e){Bn=e}},Nn=new Set,Ln=new Set,On=new Set,Mn=new class{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=>h(h({},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():(Jr()("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})-1,r=this._queueStack[t];e.gen().then((()=>{r.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()})).catch((t=>{setTimeout((()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t}),0)}))}}({onMoreTasks:Fn}),Dn=0,Vn=0,Bn=-1;function Fn(){Dn||(Dn=Bn>0?setTimeout(Hn):Pn(Hn))}function Hn(){Dn=0;var e=Nn.size;Ln.forEach((e=>Nn.add(e))),On.forEach((e=>Nn.delete(e)));var t=Nn.size;if(0!==e&&0===t?In.emit(An.Events.interactionComplete):0===e&&0!==t&&In.emit(An.Events.interactionStart),0===t)for(var r=Date.now();Mn.hasTasksToProcess();)if(Mn.processNext(),Bn>0&&Date.now()-r>=Bn){Fn();break}Ln.clear(),On.clear()}const zn=An,Wn=class{constructor(e,t){this._delay=t,this._callback=e}dispose(e){void 0===e&&(e={abort:!1}),this._taskHandle&&(this._taskHandle.cancel(),e.abort||this._callback(),this._taskHandle=null)}schedule(){if(!this._taskHandle){var e=setTimeout((()=>{this._taskHandle=zn.runAfterInteractions((()=>{this._taskHandle=null,this._callback()}))}),this._delay);this._taskHandle={cancel:()=>clearTimeout(e)}}}},jn=function(e,t,r){return t<e?e:t>r?r:t};class Un{constructor(e){Jr()(e>=0,"CellRenderMask must contain a non-negative number os cells"),this._numCells=e,this._regions=0===e?[]:[{first:0,last:e-1,isSpacer:!0}]}enumerateRegions(){return this._regions}addCells(e){if(Jr()(e.first>=0&&e.first<this._numCells&&e.last>=-1&&e.last<this._numCells&&e.last>=e.first-1,"CellRenderMask.addCells called with invalid cell range"),!(e.last<e.first)){var t=this._findRegion(e.first),r=t[0],n=t[1],i=this._findRegion(e.last),a=i[0],o=i[1];if(n!==o||r.isSpacer){var s=[],l=[],u=h(h({},e),{},{isSpacer:!1});r.first<u.first&&(r.isSpacer?s.push({first:r.first,last:u.first-1,isSpacer:!0}):u.first=r.first),a.last>u.last&&(a.isSpacer?l.push({first:u.last+1,last:a.last,isSpacer:!0}):u.last=a.last);var c=[...s,u,...l],d=o-n+1;this._regions.splice(n,d,...c)}}}numCells(){return this._numCells}equals(e){return this._numCells===e._numCells&&this._regions.length===e._regions.length&&this._regions.every(((t,r)=>t.first===e._regions[r].first&&t.last===e._regions[r].last&&t.isSpacer===e._regions[r].isSpacer))}_findRegion(e){for(var t=0,r=this._regions.length-1;t<=r;){var n=Math.floor((t+r)/2),i=this._regions[n];if(e>=i.first&&e<=i.last)return[i,n];e<i.first?r=n-1:e>i.last&&(t=n+1)}Jr()(!1,"A region was not found containing cellIdx "+e)}}class Kn{constructor(){this._cellKeyToChildren=new Map,this._childrenToCellKey=new Map}add(e,t){var r;Jr()(!this._childrenToCellKey.has(e),"Trying to add already present child list");var n=null!==(r=this._cellKeyToChildren.get(t))&&void 0!==r?r:new Set;n.add(e),this._cellKeyToChildren.set(t,n),this._childrenToCellKey.set(e,t)}remove(e){var t=this._childrenToCellKey.get(e);Jr()(null!=t,"Trying to remove non-present child list"),this._childrenToCellKey.delete(e);var r=this._cellKeyToChildren.get(t);Jr()(r,"_cellKeyToChildren should contain cellKey"),r.delete(e),0===r.size&&this._cellKeyToChildren.delete(t)}forEach(e){for(var t,r=en(this._cellKeyToChildren.values());!(t=r()).done;)for(var n,i=en(t.value);!(n=i()).done;)e(n.value)}forEachInCell(e,t){for(var r,n,i=en(null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[]);!(n=i()).done;)t(n.value)}anyInCell(e,t){for(var r,n,i=en(null!==(r=this._cellKeyToChildren.get(e))&&void 0!==r?r:[]);!(n=i()).done;)if(t(n.value))return!0;return!1}size(){return this._childrenToCellKey.size}}class Gn{constructor(){this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0}}var Yn=[],qn=10,Xn=null;const $n=class{static addListener(e){return null===Xn&&console.warn("Call `FillRateHelper.setSampleRate` before `addListener`."),Yn.push(e),{remove:()=>{Yn=Yn.filter((t=>e!==t))}}}static setSampleRate(e){Xn=e}static setMinSampleCount(e){qn=e}constructor(e){this._anyBlankStartTime=null,this._enabled=!1,this._info=new Gn,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(Xn||0)>Math.random(),this._resetData()}activate(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=r.g.performance.now())}deactivateAndFlush(){if(this._enabled){var e=this._samplesStartTime;if(null!=e)if(this._info.sample_count<qn)this._resetData();else{var t=r.g.performance.now()-e,n=h(h({},this._info),{},{total_time_spent:t});Yn.forEach((e=>e(n))),this._resetData()}}}computeBlankness(e,t,n){if(!this._enabled||0===e.getItemCount(e.data)||t.last<t.first||null==this._samplesStartTime)return 0;var i=n.dOffset,a=n.offset,o=n.velocity,s=n.visibleLength;this._info.sample_count++,this._info.pixels_sampled+=Math.round(s),this._info.pixels_scrolled+=Math.round(Math.abs(i));var l=Math.round(1e3*Math.abs(o)),u=r.g.performance.now();null!=this._anyBlankStartTime&&(this._info.any_blank_ms+=u-this._anyBlankStartTime),this._anyBlankStartTime=null,null!=this._mostlyBlankStartTime&&(this._info.mostly_blank_ms+=u-this._mostlyBlankStartTime),this._mostlyBlankStartTime=null;for(var c=0,d=t.first,h=this._getFrameMetrics(d,e);d<=t.last&&(!h||!h.inLayout);)h=this._getFrameMetrics(d,e),d++;h&&d>0&&(c=Math.min(s,Math.max(0,h.offset-a)));for(var p=0,f=t.last,v=this._getFrameMetrics(f,e);f>=t.first&&(!v||!v.inLayout);)v=this._getFrameMetrics(f,e),f--;if(v&&f<e.getItemCount(e.data)-1){var m=v.offset+v.length;p=Math.min(s,Math.max(0,a+s-m))}var g=Math.round(c+p),_=g/s;return _>0?(this._anyBlankStartTime=u,this._info.any_blank_speed_sum+=l,this._info.any_blank_count++,this._info.pixels_blank+=g,_>.5&&(this._mostlyBlankStartTime=u,this._info.mostly_blank_count++)):(l<.01||Math.abs(i)<1)&&this.deactivateAndFlush(),_}enabled(){return this._enabled}_resetData(){this._anyBlankStartTime=null,this._info=new Gn,this._mostlyBlankStartTime=null,this._samplesStartTime=null}};class Zn extends at.PureComponent{constructor(e){super(e),this._inAsyncStateUpdate=!1,this._installSetStateHooks()}setState(e,t){"function"==typeof e?super.setState(((t,r)=>{var n;this._inAsyncStateUpdate=!0;try{n=e(t,r)}catch(e){throw e}finally{this._inAsyncStateUpdate=!1}return n}),t):super.setState(e,t)}_installSetStateHooks(){var e=this,t=this.props,r=this.state;Object.defineProperty(this,"props",{get:()=>(Jr()(!e._inAsyncStateUpdate,'"this.props" should not be accessed during state updates'),t),set(e){t=e}}),Object.defineProperty(this,"state",{get:()=>(Jr()(!e._inAsyncStateUpdate,'"this.state" should not be acceessed during state updates'),r),set(e){r=e}})}}function Jn(e,t,r,n,i,a){if(function(e,t,r){return e>=0&&t<=r&&t>e}(r,n,i))return!0;var o=function(e,t,r){var n=Math.min(t,r)-Math.max(e,0);return Math.max(0,n)}(r,n,i);return 100*(e?o/i:o/a)>=t}const Qn=class{constructor(e){void 0===e&&(e={viewAreaCoveragePercentThreshold:0}),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=e}dispose(){this._timers.forEach(clearTimeout)}computeViewableItems(e,t,r,n,i){var a=e.getItemCount(e.data),o=this._config,s=o.itemVisiblePercentThreshold,l=o.viewAreaCoveragePercentThreshold,u=null!=l,c=u?l:s;Jr()(null!=c&&null!=s!=(null!=l),"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold");var d=[];if(0===a)return d;var h=-1,p=i||{first:0,last:a-1},f=p.first,v=p.last;if(v>=a)return console.warn("Invalid render range computing viewability "+JSON.stringify({renderRange:i,itemCount:a})),[];for(var m=f;m<=v;m++){var g=n(m,e);if(g){var _=g.offset-t,y=_+g.length;if(_<r&&y>0)h=m,Jn(u,c,_,y,r,g.length)&&d.push(m);else if(h>=0)break}}return d}onUpdate(e,t,r,n,i,a,o){var s=e.getItemCount(e.data);if((!this._config.waitForInteraction||this._hasInteracted)&&0!==s&&n(0,e)){var l=[];if(s&&(l=this.computeViewableItems(e,t,r,n,o)),this._viewableIndices.length!==l.length||!this._viewableIndices.every(((e,t)=>e===l[t])))if(this._viewableIndices=l,this._config.minimumViewTime){var u=setTimeout((()=>{this._timers.delete(u),this._onUpdateSync(e,l,a,i)}),this._config.minimumViewTime);this._timers.add(u)}else this._onUpdateSync(e,l,a,i)}}resetViewableIndices(){this._viewableIndices=[]}recordInteraction(){this._hasInteracted=!0}_onUpdateSync(e,t,r,n){t=t.filter((e=>this._viewableIndices.includes(e)));for(var i,a=this._viewableItems,o=new Map(t.map((t=>{var r=n(t,!0,e);return[r.key,r]}))),s=[],l=en(o);!(i=l()).done;){var u=i.value,c=u[0],d=u[1];a.has(c)||s.push(d)}for(var p,f=en(a);!(p=f()).done;){var v=p.value,m=v[0],g=v[1];o.has(m)||s.push(h(h({},g),{},{isViewable:!1}))}s.length>0&&(this._viewableItems=o,r({viewableItems:Array.from(o.values()),changed:s,viewabilityConfig:this._config}))}};var ei=at.createContext(null);function ti(e){var t=e.children,r=e.value,n=(0,at.useMemo)((()=>({cellKey:null,getScrollMetrics:r.getScrollMetrics,horizontal:r.horizontal,getOutermostParentListRef:r.getOutermostParentListRef,registerAsNestedChild:r.registerAsNestedChild,unregisterAsNestedChild:r.unregisterAsNestedChild})),[r.getScrollMetrics,r.horizontal,r.getOutermostParentListRef,r.registerAsNestedChild,r.unregisterAsNestedChild]);return at.createElement(ei.Provider,{value:n},t)}function ri(e){var t=e.cellKey,r=e.children,n=(0,at.useContext)(ei),i=(0,at.useMemo)((()=>null==n?null:h(h({},n),{},{cellKey:t})),[n,t]);return at.createElement(ei.Provider,{value:i},r)}class ni extends at.Component{constructor(){super(...arguments),this.state={separatorProps:{highlighted:!1,leadingItem:this.props.item}},this._separators={highlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!0})},unhighlight:()=>{var e=this.props,t=e.cellKey,r=e.prevCellKey;this.props.onUpdateSeparators([t,r],{highlighted:!1})},updateProps:(e,t)=>{var r=this.props,n=r.cellKey,i=r.prevCellKey;this.props.onUpdateSeparators(["leading"===e?i:n],t)}},this._onLayout=e=>{this.props.onCellLayout&&this.props.onCellLayout(e,this.props.cellKey,this.props.index)}}static getDerivedStateFromProps(e,t){return{separatorProps:h(h({},t.separatorProps),{},{leadingItem:e.item})}}updateSeparatorProps(e){this.setState((t=>({separatorProps:h(h({},t.separatorProps),e)})))}componentWillUnmount(){this.props.onUnmount(this.props.cellKey)}_renderElement(e,t,r,n){return e&&t&&console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem."),t?at.createElement(t,{item:r,index:n,separators:this._separators}):e?e({item:r,index:n,separators:this._separators}):void Jr()(!1,"VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.")}render(){var e=this.props,t=e.CellRendererComponent,r=e.ItemSeparatorComponent,n=e.ListItemComponent,i=e.cellKey,a=e.horizontal,o=e.item,s=e.index,l=e.inversionStyle,u=e.onCellFocusCapture,c=e.onCellLayout,d=e.renderItem,h=this._renderElement(d,n,o,s),p=at.isValidElement(r)?r:r&&at.createElement(r,this.state.separatorProps),f=l?a?[ii.rowReverse,l]:[ii.columnReverse,l]:a?[ii.row,l]:l,v=t?at.createElement(t,Ut({cellKey:i,index:s,item:o,style:f,onFocusCapture:u},c&&{onLayout:this._onLayout}),h,p):at.createElement(Xr,Ut({style:f,onFocusCapture:u},c&&{onLayout:this._onLayout}),h,p);return at.createElement(ri,{cellKey:this.props.cellKey},v)}}var ii=$e.create({row:{flexDirection:"row"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}});function ai(e,t){return"object"==typeof e&&null!=(null==e?void 0:e.key)?e.key:"object"==typeof e&&null!=(null==e?void 0:e.id)?e.id:String(t)}var oi=r(801),si=r.n(oi),li=!1,ui="";function ci(e){return null!=e&&e}function di(e){return null!=e?e:10}function hi(e){return null!=e?e:2}function pi(e,t){return e*t/2}function fi(e){return null!=e?e:21}class vi extends Zn{scrollToEnd(e){var t=!e||e.animated,r=this.props.getItemCount(this.props.data)-1;if(!(r<0)){var n=this.__getFrameMetricsApprox(r,this.props),i=Math.max(0,n.offset+n.length+this._footerLength-this._scrollMetrics.visibleLength);null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(ci(this.props.horizontal)?{x:i,animated:t}:{y:i,animated:t}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}}scrollToIndex(e){var t=this.props,r=t.data,n=t.horizontal,i=t.getItemCount,a=t.getItemLayout,o=t.onScrollToIndexFailed,s=e.animated,l=e.index,u=e.viewOffset,c=e.viewPosition;if(Jr()(l>=0,"scrollToIndex out of range: requested index "+l+" but minimum is 0"),Jr()(i(r)>=1,"scrollToIndex out of range: item length "+i(r)+" but minimum is 1"),Jr()(l<i(r),"scrollToIndex out of range: requested index "+l+" is out of 0 to "+(i(r)-1)),!a&&l>this._highestMeasuredFrameIndex)return Jr()(!!o,"scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."),void o({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:l});var d=this.__getFrameMetricsApprox(Math.floor(l),this.props),h=Math.max(0,this._getOffsetApprox(l,this.props)-(c||0)*(this._scrollMetrics.visibleLength-d.length))-(u||0);null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(n?{x:h,animated:s}:{y:h,animated:s}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}scrollToItem(e){for(var t=e.item,r=this.props,n=r.data,i=r.getItem,a=(0,r.getItemCount)(n),o=0;o<a;o++)if(i(n,o)===t){this.scrollToIndex(h(h({},e),{},{index:o}));break}}scrollToOffset(e){var t=e.animated,r=e.offset;null!=this._scrollRef&&(null!=this._scrollRef.scrollTo?this._scrollRef.scrollTo(ci(this.props.horizontal)?{x:r,animated:t}:{y:r,animated:t}):console.warn("No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."))}recordInteraction(){this._nestedChildLists.forEach((e=>{e.recordInteraction()})),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.recordInteraction()})),this._updateViewableItems(this.props,this.state.cellsAroundViewport)}flashScrollIndicators(){null!=this._scrollRef&&this._scrollRef.flashScrollIndicators()}getScrollResponder(){if(this._scrollRef&&this._scrollRef.getScrollResponder)return this._scrollRef.getScrollResponder()}getScrollableNode(){return this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode():this._scrollRef}getScrollRef(){return this._scrollRef&&this._scrollRef.getScrollRef?this._scrollRef.getScrollRef():this._scrollRef}_getCellKey(){var e;return(null==(e=this.context)?void 0:e.cellKey)||"rootList"}hasMore(){return this._hasMore}constructor(e){var t;if(super(e),this._getScrollMetrics=()=>this._scrollMetrics,this._getOutermostParentListRef=()=>this._isNestedWithSameOrientation()?this.context.getOutermostParentListRef():this,this._registerAsNestedChild=e=>{this._nestedChildLists.add(e.ref,e.cellKey),this._hasInteracted&&e.ref.recordInteraction()},this._unregisterAsNestedChild=e=>{this._nestedChildLists.remove(e.ref)},this._onUpdateSeparators=(e,t)=>{e.forEach((e=>{var r=null!=e&&this._cellRefs[e];r&&r.updateSeparatorProps(t)}))},this._getSpacerKey=e=>e?"height":"width",this._averageCellLength=0,this._cellRefs={},this._frames={},this._footerLength=0,this._hasTriggeredInitialScrollToIndex=!1,this._hasInteracted=!1,this._hasMore=!1,this._hasWarned={},this._headerLength=0,this._hiPriInProgress=!1,this._highestMeasuredFrameIndex=0,this._indicesToKeys=new Map,this._lastFocusedCellKey=null,this._nestedChildLists=new Kn,this._offsetFromParentVirtualizedList=0,this._prevParentOffset=0,this._scrollMetrics={contentLength:0,dOffset:0,dt:10,offset:0,timestamp:0,velocity:0,visibleLength:0,zoomScale:1},this._scrollRef=null,this._sentStartForContentLength=0,this._sentEndForContentLength=0,this._totalCellLength=0,this._totalCellsMeasured=0,this._viewabilityTuples=[],this._captureScrollRef=e=>{this._scrollRef=e},this._defaultRenderScrollComponent=e=>{var t,r=e.onRefresh;return this._isNestedWithSameOrientation()?at.createElement(Xr,e):r?(Jr()("boolean"==typeof e.refreshing,"`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `"+JSON.stringify(null!==(t=e.refreshing)&&void 0!==t?t:"undefined")+"`"),at.createElement(wn,Ut({},e,{refreshControl:null==e.refreshControl?at.createElement(rn,{refreshing:e.refreshing,onRefresh:r,progressViewOffset:e.progressViewOffset}):e.refreshControl}))):at.createElement(wn,e)},this._onCellLayout=(e,t,r)=>{var n=e.nativeEvent.layout,i={offset:this._selectOffset(n),length:this._selectLength(n),index:r,inLayout:!0},a=this._frames[t];a&&i.offset===a.offset&&i.length===a.length&&r===a.index?this._frames[t].inLayout=!0:(this._totalCellLength+=i.length-(a?a.length:0),this._totalCellsMeasured+=a?0:1,this._averageCellLength=this._totalCellLength/this._totalCellsMeasured,this._frames[t]=i,this._highestMeasuredFrameIndex=Math.max(this._highestMeasuredFrameIndex,r),this._scheduleCellsToRenderUpdate()),this._triggerRemeasureForChildListsInCell(t),this._computeBlankness(),this._updateViewableItems(this.props,this.state.cellsAroundViewport)},this._onCellUnmount=e=>{delete this._cellRefs[e];var t=this._frames[e];t&&(this._frames[e]=h(h({},t),{},{inLayout:!1}))},this._onLayout=e=>{this._isNestedWithSameOrientation()?this.measureLayoutRelativeToContainingList():this._scrollMetrics.visibleLength=this._selectLength(e.nativeEvent.layout),this.props.onLayout&&this.props.onLayout(e),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._onLayoutEmpty=e=>{this.props.onLayout&&this.props.onLayout(e)},this._onLayoutFooter=e=>{this._triggerRemeasureForChildListsInCell(this._getFooterCellKey()),this._footerLength=this._selectLength(e.nativeEvent.layout)},this._onLayoutHeader=e=>{this._headerLength=this._selectLength(e.nativeEvent.layout)},this._onContentSizeChange=(e,t)=>{e>0&&t>0&&null!=this.props.initialScrollIndex&&this.props.initialScrollIndex>0&&!this._hasTriggeredInitialScrollToIndex&&(null==this.props.contentOffset&&(this.props.initialScrollIndex<this.props.getItemCount(this.props.data)?this.scrollToIndex({animated:!1,index:si()(this.props.initialScrollIndex)}):this.scrollToEnd({animated:!1})),this._hasTriggeredInitialScrollToIndex=!0),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t),this._scrollMetrics.contentLength=this._selectLength({height:t,width:e}),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._convertParentScrollMetrics=e=>{var t=e.offset-this._offsetFromParentVirtualizedList,r=e.visibleLength,n=t-this._scrollMetrics.offset;return{visibleLength:r,contentLength:this._scrollMetrics.contentLength,offset:t,dOffset:n}},this._onScroll=e=>{this._nestedChildLists.forEach((t=>{t._onScroll(e)})),this.props.onScroll&&this.props.onScroll(e);var t=e.timeStamp,r=this._selectLength(e.nativeEvent.layoutMeasurement),n=this._selectLength(e.nativeEvent.contentSize),i=this._selectOffset(e.nativeEvent.contentOffset),a=i-this._scrollMetrics.offset;if(this._isNestedWithSameOrientation()){if(0===this._scrollMetrics.contentLength)return;var o=this._convertParentScrollMetrics({visibleLength:r,offset:i});r=o.visibleLength,n=o.contentLength,i=o.offset,a=o.dOffset}var s=this._scrollMetrics.timestamp?Math.max(1,t-this._scrollMetrics.timestamp):1,l=a/s;s>500&&this._scrollMetrics.dt>500&&n>5*r&&!this._hasWarned.perf&&(function(){console.log(...arguments)}("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:s,prevDt:this._scrollMetrics.dt,contentLength:n}),this._hasWarned.perf=!0);var u=e.nativeEvent.zoomScale<0?1:e.nativeEvent.zoomScale;this._scrollMetrics={contentLength:n,dt:s,dOffset:a,offset:i,timestamp:t,velocity:l,visibleLength:r,zoomScale:u},this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.props&&(this._maybeCallOnEdgeReached(),0!==l&&this._fillRateHelper.activate(),this._computeBlankness(),this._scheduleCellsToRenderUpdate())},this._onScrollBeginDrag=e=>{this._nestedChildLists.forEach((t=>{t._onScrollBeginDrag(e)})),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.recordInteraction()})),this._hasInteracted=!0,this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this._onScrollEndDrag=e=>{this._nestedChildLists.forEach((t=>{t._onScrollEndDrag(e)}));var t=e.nativeEvent.velocity;t&&(this._scrollMetrics.velocity=this._selectOffset(t)),this._computeBlankness(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this._onMomentumScrollBegin=e=>{this._nestedChildLists.forEach((t=>{t._onMomentumScrollBegin(e)})),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this._onMomentumScrollEnd=e=>{this._nestedChildLists.forEach((t=>{t._onMomentumScrollEnd(e)})),this._scrollMetrics.velocity=0,this._computeBlankness(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this._updateCellsToRender=()=>{this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.setState(((e,t)=>{var r=this._adjustCellsAroundViewport(t,e.cellsAroundViewport),n=vi._createRenderMask(t,r,this._getNonViewportRenderRegions(t));return r.first===e.cellsAroundViewport.first&&r.last===e.cellsAroundViewport.last&&n.equals(e.renderMask)?null:{cellsAroundViewport:r,renderMask:n}}))},this._createViewToken=(e,t,r)=>{var n=r.data,i=(0,r.getItem)(n,e);return{index:e,item:i,key:this._keyExtractor(i,e,r),isViewable:t}},this._getOffsetApprox=(e,t)=>{if(Number.isInteger(e))return this.__getFrameMetricsApprox(e,t).offset;var r=this.__getFrameMetricsApprox(Math.floor(e),t),n=e-Math.floor(e);return r.offset+n*r.length},this.__getFrameMetricsApprox=(e,t)=>{var r=this._getFrameMetrics(e,t);if(r&&r.index===e)return r;var n=t.data,i=t.getItemCount,a=t.getItemLayout;return Jr()(e>=0&&e<i(n),"Tried to get frame for out of range index "+e),Jr()(!a,"Should not have to estimate frames when a measurement metrics function is provided"),{length:this._averageCellLength,offset:this._averageCellLength*e}},this._getFrameMetrics=(e,t)=>{var r=t.data,n=t.getItem,i=t.getItemCount,a=t.getItemLayout;Jr()(e>=0&&e<i(r),"Tried to get frame for out of range index "+e);var o=n(r,e),s=this._frames[this._keyExtractor(o,e,t)];return s&&s.index===e||!a?s:a(r,e)},this._getNonViewportRenderRegions=e=>{if(!this._lastFocusedCellKey||!this._cellRefs[this._lastFocusedCellKey])return[];var t=this._cellRefs[this._lastFocusedCellKey].props.index,r=e.getItemCount(e.data);if(t>=r||this._keyExtractor(e.getItem(e.data,t),t,e)!==this._lastFocusedCellKey)return[];for(var n=t,i=0,a=n-1;a>=0&&i<this._scrollMetrics.visibleLength;a--)n--,i+=this.__getFrameMetricsApprox(a,e).length;for(var o=t,s=0,l=o+1;l<r&&s<this._scrollMetrics.visibleLength;l++)o++,s+=this.__getFrameMetricsApprox(l,e).length;return[{first:n,last:o}]},this._checkProps(e),this._fillRateHelper=new $n(this._getFrameMetrics),this._updateCellsToRenderBatcher=new Wn(this._updateCellsToRender,null!==(t=this.props.updateCellsBatchingPeriod)&&void 0!==t?t:50),this.props.viewabilityConfigCallbackPairs)this._viewabilityTuples=this.props.viewabilityConfigCallbackPairs.map((e=>({viewabilityHelper:new Qn(e.viewabilityConfig),onViewableItemsChanged:e.onViewableItemsChanged})));else{var r=this.props,n=r.onViewableItemsChanged,i=r.viewabilityConfig;n&&this._viewabilityTuples.push({viewabilityHelper:new Qn(i),onViewableItemsChanged:n})}var a=vi._initialRenderRegion(e);this.state={cellsAroundViewport:a,renderMask:vi._createRenderMask(e,a)},this.invertedWheelEventHandler=e=>{var t=this.props.horizontal?e.target.scrollLeft:e.target.scrollTop,r=this.props.horizontal?e.target.scrollWidth:e.target.scrollHeight,n=this.props.horizontal?e.target.clientWidth:e.target.clientHeight,i=r>n,a=this.props.horizontal?e.deltaX||e.wheelDeltaX:e.deltaY||e.wheelDeltaY,o=a;i&&(o=a<0?Math.min(a+t,0):Math.max(a-(r-n-t),0));var s=a-o;if(this.props.inverted&&this._scrollRef&&this._scrollRef.getScrollableNode){var l=this._scrollRef.getScrollableNode();if(this.props.horizontal){e.target.scrollLeft+=s;var u=l.scrollLeft-o;l.scrollLeft=this.props.getItemLayout?u:Math.min(u,this._totalCellLength)}else{e.target.scrollTop+=s;var c=l.scrollTop-o;l.scrollTop=this.props.getItemLayout?c:Math.min(c,this._totalCellLength)}e.preventDefault()}}}_checkProps(e){var t=e.onScroll,r=e.windowSize,n=e.getItemCount,i=e.data,a=e.initialScrollIndex;Jr()(!t||!t.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),Jr()(fi(r)>0,"VirtualizedList: The windowSize prop must be present and set to a value greater than 0."),Jr()(n,'VirtualizedList: The "getItemCount" prop must be provided');var o=n(i);null==a||this._hasTriggeredInitialScrollToIndex||!(a<0||o>0&&a>=o)||this._hasWarned.initialScrollIndex||(console.warn('initialScrollIndex "'+a+'" is not valid (list has '+o+" items)"),this._hasWarned.initialScrollIndex=!0)}static _createRenderMask(e,t,r){var n=e.getItemCount(e.data);Jr()(t.first>=0&&t.last>=t.first-1&&t.last<n,'Invalid cells around viewport "['+t.first+", "+t.last+']" was passed to VirtualizedList._createRenderMask');var i=new Un(n);if(n>0){for(var a=0,o=[t,...null!=r?r:[]];a<o.length;a++){var s=o[a];i.addCells(s)}if(null==e.initialScrollIndex||e.initialScrollIndex<=0){var l=vi._initialRenderRegion(e);i.addCells(l)}var u=new Set(e.stickyHeaderIndices);vi._ensureClosestStickyHeader(e,u,i,t.first)}return i}static _initialRenderRegion(e){var t,r,n=e.getItemCount(e.data),i=Math.max(0,Math.min(n-1,Math.floor(null!==(t=e.initialScrollIndex)&&void 0!==t?t:0)));return{first:i,last:Math.min(n,i+(null!=(r=e.initialNumToRender)?r:10))-1}}static _ensureClosestStickyHeader(e,t,r,n){for(var i=e.ListHeaderComponent?1:0,a=n-1;a>=0;a--)if(t.has(a+i)){r.addCells({first:a,last:a});break}}_adjustCellsAroundViewport(e,t){var r,n=e.data,i=e.getItemCount,a=hi(e.onEndReachedThreshold),o=this._scrollMetrics,s=o.contentLength,l=o.offset,u=o.visibleLength,c=s-u-l;if(u<=0||s<=0)return t.last>=i(n)?vi._constrainToItemCount(t,e):t;if(e.disableVirtualization){var d=c<a*u?di(e.maxToRenderPerBatch):0;r={first:0,last:Math.min(t.last+d,i(n)-1)}}else{if(e.initialScrollIndex&&!this._scrollMetrics.offset&&Math.abs(c)>=Number.EPSILON)return t.last>=i(n)?vi._constrainToItemCount(t,e):t;r=function(e,t,r,n,i,a){var o=e.getItemCount(e.data);if(0===o)return{first:0,last:-1};var s=a.offset,l=a.velocity,u=a.visibleLength,c=a.zoomScale,d=void 0===c?1:c,h=Math.max(0,s),p=h+u,f=(r-1)*u,v=l>1?"after":l<-1?"before":"none",m=Math.max(0,h-.5*f),g=Math.max(0,p+.5*f);if(i(o-1,e).offset*d<m)return{first:Math.max(0,o-1-t),last:o-1};var _=function(e,t,r,n){void 0===n&&(n=1);for(var i=t.getItemCount(t.data),a=[],o=0;o<e.length;o++)for(var s=e[o],l=0,u=i-1;l<=u;){var c=l+(u-l>>>1),d=r(c,t),h=d.offset*n,p=(d.offset+d.length)*n;if(0===c&&s<h||0!==c&&s<=h)u=c-1;else{if(!(s>p)){a[o]=c;break}l=c+1}}return a}([m,h,p,g],e,i,d),y=_[0],b=_[1],S=_[2],R=_[3];y=null==y?0:y,R=null==R?o-1:R;for(var E={first:b=null==b?Math.max(0,y):b,last:S=null==S?Math.min(R,b+t-1):S},C=function(e,t){return t.last-t.first+1-Math.max(0,1+Math.min(t.last,e.last)-Math.max(t.first,e.first))}(n,E);!(b<=y&&S>=R);){var w=C>=t,T=b<=n.first||b>n.last,k=b>y&&(!w||!T),x=S>=n.last||S<n.first,P=S<R&&(!w||!x);if(w&&!k&&!P)break;!k||"after"===v&&P&&x||(T&&C++,b--),!P||"before"===v&&k&&T||(x&&C++,S++)}if(!(S>=b&&b>=0&&S<o&&b>=y&&S<=R&&b<=E.first&&S>=E.last))throw new Error("Bad window calculation "+JSON.stringify({first:b,last:S,itemCount:o,overscanFirst:y,overscanLast:R,visible:E}));return{first:b,last:S}}(e,di(e.maxToRenderPerBatch),fi(e.windowSize),t,this.__getFrameMetricsApprox,this._scrollMetrics),Jr()(r.last<i(n),"computeWindowedRenderLimits() should return range in-bounds")}if(this._nestedChildLists.size()>0){var h=this._findFirstChildWithMore(r.first,r.last);r.last=null!=h?h:r.last}return r}_findFirstChildWithMore(e,t){for(var r=e;r<=t;r++){var n=this._indicesToKeys.get(r);if(null!=n&&this._nestedChildLists.anyInCell(n,(e=>e.hasMore())))return r}return null}componentDidMount(){this._isNestedWithSameOrientation()&&this.context.registerAsNestedChild({ref:this,cellKey:this.context.cellKey}),this.setupWebWheelHandler()}componentWillUnmount(){this._isNestedWithSameOrientation()&&this.context.unregisterAsNestedChild({ref:this}),this._updateCellsToRenderBatcher.dispose({abort:!0}),this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.dispose()})),this._fillRateHelper.deactivateAndFlush(),this.teardownWebWheelHandler()}setupWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode().addEventListener("wheel",this.invertedWheelEventHandler):setTimeout((()=>this.setupWebWheelHandler()),50)}teardownWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode&&this._scrollRef.getScrollableNode().removeEventListener("wheel",this.invertedWheelEventHandler)}static getDerivedStateFromProps(e,t){if(e.getItemCount(e.data)===t.renderMask.numCells())return t;var r=vi._constrainToItemCount(t.cellsAroundViewport,e);return{cellsAroundViewport:r,renderMask:vi._createRenderMask(e,r)}}_pushCells(e,t,r,n,i,a){var o,s=this,l=this.props,u=l.CellRendererComponent,c=l.ItemSeparatorComponent,d=l.ListHeaderComponent,h=l.ListItemComponent,p=l.data,f=l.debug,v=l.getItem,m=l.getItemCount,g=l.getItemLayout,_=l.horizontal,y=l.renderItem,b=d?1:0,S=m(p)-1;i=Math.min(S,i);for(var R=function(){var n=v(p,E),i=s._keyExtractor(n,E,s.props);s._indicesToKeys.set(E,i),r.has(E+b)&&t.push(e.length);var l=null==g||f||s._fillRateHelper.enabled();e.push(at.createElement(ni,Ut({CellRendererComponent:u,ItemSeparatorComponent:E<S?c:void 0,ListItemComponent:h,cellKey:i,horizontal:_,index:E,inversionStyle:a,item:n,key:i,prevCellKey:o,onUpdateSeparators:s._onUpdateSeparators,onCellFocusCapture:e=>s._onCellFocusCapture(i),onUnmount:s._onCellUnmount,ref:e=>{s._cellRefs[i]=e},renderItem:y},l&&{onCellLayout:s._onCellLayout}))),o=i},E=n;E<=i;E++)R()}static _constrainToItemCount(e,t){var r=t.getItemCount(t.data),n=Math.min(r-1,e.last),i=di(t.maxToRenderPerBatch);return{first:jn(0,r-1-i,e.first),last:n}}_isNestedWithSameOrientation(){var e=this.context;return!(!e||!!e.horizontal!==ci(this.props.horizontal))}_keyExtractor(e,t,r){if(null!=r.keyExtractor)return r.keyExtractor(e,t);var n=ai(e,t);return n===String(t)&&(li=!0,e.type&&e.type.displayName&&(ui=e.type.displayName)),n}render(){this._checkProps(this.props);var e=this.props,t=e.ListEmptyComponent,r=e.ListFooterComponent,n=e.ListHeaderComponent,i=this.props,a=i.data,o=i.horizontal,s=this.props.inverted?ci(this.props.horizontal)?mi.horizontallyInverted:mi.verticallyInverted:null,l=[],u=new Set(this.props.stickyHeaderIndices),c=[];if(n){u.has(0)&&c.push(0);var d=at.isValidElement(n)?n:at.createElement(n,null);l.push(at.createElement(ri,{cellKey:this._getCellKey()+"-header",key:"$header"},at.createElement(Xr,{onLayout:this._onLayoutHeader,style:[s,this.props.ListHeaderComponentStyle]},d)))}var p=this.props.getItemCount(a);if(0===p&&t){var f=at.isValidElement(t)?t:at.createElement(t,null);l.push(at.createElement(ri,{cellKey:this._getCellKey()+"-empty",key:"$empty"},at.cloneElement(f,{onLayout:e=>{this._onLayoutEmpty(e),f.props.onLayout&&f.props.onLayout(e)},style:[s,f.props.style]})))}if(p>0){li=!1,ui="";for(var v,m=this._getSpacerKey(!o),g=this.state.renderMask.enumerateRegions(),_=function(e){for(var t=e.length-1;t>=0;t--)if(e[t].isSpacer)return e[t];return null}(g),y=en(g);!(v=y()).done;){var b=v.value;if(b.isSpacer){if(this.props.disableVirtualization)continue;var S=b!==_||this.props.getItemLayout?b.last:jn(b.first-1,b.last,this._highestMeasuredFrameIndex),R=this.__getFrameMetricsApprox(b.first,this.props),E=this.__getFrameMetricsApprox(S,this.props),C=E.offset+E.length-R.offset;l.push(at.createElement(Xr,{key:"$spacer-"+b.first,style:{[m]:C}}))}else this._pushCells(l,c,u,b.first,b.last,s)}!this._hasWarned.keys&&li&&(console.warn("VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.",ui),this._hasWarned.keys=!0)}if(r){var w=at.isValidElement(r)?r:at.createElement(r,null);l.push(at.createElement(ri,{cellKey:this._getFooterCellKey(),key:"$footer"},at.createElement(Xr,{onLayout:this._onLayoutFooter,style:[s,this.props.ListFooterComponentStyle]},w)))}var T,k=h(h({},this.props),{},{onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,onScroll:this._onScroll,onScrollBeginDrag:this._onScrollBeginDrag,onScrollEndDrag:this._onScrollEndDrag,onMomentumScrollBegin:this._onMomentumScrollBegin,onMomentumScrollEnd:this._onMomentumScrollEnd,scrollEventThrottle:(T=this.props.scrollEventThrottle,null!=T?T:50),invertStickyHeaders:void 0!==this.props.invertStickyHeaders?this.props.invertStickyHeaders:this.props.inverted,stickyHeaderIndices:c,style:s?[s,this.props.style]:this.props.style});this._hasMore=this.state.cellsAroundViewport.last<p-1;var x=at.createElement(ti,{value:{cellKey:null,getScrollMetrics:this._getScrollMetrics,horizontal:ci(this.props.horizontal),getOutermostParentListRef:this._getOutermostParentListRef,registerAsNestedChild:this._registerAsNestedChild,unregisterAsNestedChild:this._unregisterAsNestedChild}},at.cloneElement((this.props.renderScrollComponent||this._defaultRenderScrollComponent)(k),{ref:this._captureScrollRef},l));return this.props.debug?at.createElement(Xr,{style:mi.debug},x,this._renderDebugOverlay()):x}componentDidUpdate(e){var t=this.props,r=t.data,n=t.extraData;r===e.data&&n===e.extraData||this._viewabilityTuples.forEach((e=>{e.viewabilityHelper.resetViewableIndices()}));var i=this._hiPriInProgress;this._scheduleCellsToRenderUpdate(),i&&(this._hiPriInProgress=!1)}_computeBlankness(){this._fillRateHelper.computeBlankness(this.props,this.state.cellsAroundViewport,this._scrollMetrics)}_onCellFocusCapture(e){this._lastFocusedCellKey=e,this._updateCellsToRender()}_triggerRemeasureForChildListsInCell(e){this._nestedChildLists.forEachInCell(e,(e=>{e.measureLayoutRelativeToContainingList()}))}measureLayoutRelativeToContainingList(){try{if(!this._scrollRef)return;this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(),((e,t,r,n)=>{this._offsetFromParentVirtualizedList=this._selectOffset({x:e,y:t}),this._scrollMetrics.contentLength=this._selectLength({width:r,height:n});var i=this._convertParentScrollMetrics(this.context.getScrollMetrics());(this._scrollMetrics.visibleLength!==i.visibleLength||this._scrollMetrics.offset!==i.offset)&&(this._scrollMetrics.visibleLength=i.visibleLength,this._scrollMetrics.offset=i.offset,this._nestedChildLists.forEach((e=>{e.measureLayoutRelativeToContainingList()})))}),(e=>{console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.")}))}catch(e){console.warn("measureLayoutRelativeToContainingList threw an error",e.stack)}}_getFooterCellKey(){return this._getCellKey()+"-footer"}_renderDebugOverlay(){for(var e=this._scrollMetrics.visibleLength/(this._scrollMetrics.contentLength||1),t=[],r=this.props.getItemCount(this.props.data),n=0;n<r;n++){var i=this.__getFrameMetricsApprox(n,this.props);i.inLayout&&t.push(i)}var a=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.first,this.props).offset,o=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.last,this.props),s=o.offset+o.length-a,l=this._scrollMetrics.offset,u=this._scrollMetrics.visibleLength;return at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlay]},t.map(((t,r)=>at.createElement(Xr,{key:"f"+r,style:[mi.debugOverlayBase,mi.debugOverlayFrame,{top:t.offset*e,height:t.length*e}]}))),at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlayFrameLast,{top:a*e,height:s*e}]}),at.createElement(Xr,{style:[mi.debugOverlayBase,mi.debugOverlayFrameVis,{top:l*e,height:u*e}]}))}_selectLength(e){return ci(this.props.horizontal)?e.width:e.height}_selectOffset(e){return ci(this.props.horizontal)?e.x:e.y}_maybeCallOnEdgeReached(){var e=this.props,t=e.data,r=e.getItemCount,n=e.onStartReached,i=e.onStartReachedThreshold,a=e.onEndReached,o=e.onEndReachedThreshold,s=e.initialScrollIndex,l=this._scrollMetrics,u=l.contentLength,c=l.visibleLength,d=l.offset,h=d,p=u-c-d;h<.001&&(h=0),p<.001&&(p=0);var f=h<=(null!=i?i*c:2),v=p<=(null!=o?o*c:2);a&&this.state.cellsAroundViewport.last===r(t)-1&&v&&this._scrollMetrics.contentLength!==this._sentEndForContentLength?(this._sentEndForContentLength=this._scrollMetrics.contentLength,a({distanceFromEnd:p})):null!=n&&0===this.state.cellsAroundViewport.first&&f&&this._scrollMetrics.contentLength!==this._sentStartForContentLength?s&&0===this._scrollMetrics.timestamp||(this._sentStartForContentLength=this._scrollMetrics.contentLength,n({distanceFromStart:h})):(this._sentStartForContentLength=f?this._sentStartForContentLength:0,this._sentEndForContentLength=v?this._sentEndForContentLength:0)}_scheduleCellsToRenderUpdate(){var e=this.state.cellsAroundViewport,t=e.first,r=e.last,n=this._scrollMetrics,i=n.offset,a=n.visibleLength,o=n.velocity,s=this.props.getItemCount(this.props.data),l=!1,u=function(e){return null!=e?e:2}(this.props.onStartReachedThreshold),c=hi(this.props.onEndReachedThreshold);if(t>0){var d=i-this.__getFrameMetricsApprox(t,this.props).offset;l=d<0||o<-2&&d<pi(u,a)}if(!l&&r>=0&&r<s-1){var h=this.__getFrameMetricsApprox(r,this.props).offset-(i+a);l=h<0||o>2&&h<pi(c,a)}if(l&&(this._averageCellLength||this.props.getItemLayout)&&!this._hiPriInProgress)return this._hiPriInProgress=!0,this._updateCellsToRenderBatcher.dispose({abort:!0}),void this._updateCellsToRender();this._updateCellsToRenderBatcher.schedule()}_updateViewableItems(e,t){this._viewabilityTuples.forEach((r=>{r.viewabilityHelper.onUpdate(e,this._scrollMetrics.offset,this._scrollMetrics.visibleLength,this._getFrameMetrics,this._createViewToken,r.onViewableItemsChanged,t)}))}}vi.contextType=ei;var mi=$e.create({verticallyInverted:{transform:"scaleY(-1)"},horizontallyInverted:{transform:"scaleX(-1)"},debug:{flex:1},debugOverlayBase:{position:"absolute",top:0,right:0},debugOverlay:{bottom:0,width:20,borderColor:"blue",borderWidth:1},debugOverlayFrame:{left:0,backgroundColor:"orange"},debugOverlayFrameLast:{left:0,borderColor:"green",borderWidth:2},debugOverlayFrameVis:{left:0,borderColor:"red",borderWidth:2}});const gi=vi;var _i=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yi(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(i=t[r])||_i(n)&&_i(i)))return!1;var n,i;return!0}var bi=["numColumns","columnWrapperStyle","removeClippedSubviews","strictMode"];function Si(e){return null!=e?e:1}class Ri extends at.PureComponent{scrollToEnd(e){this._listRef&&this._listRef.scrollToEnd(e)}scrollToIndex(e){this._listRef&&this._listRef.scrollToIndex(e)}scrollToItem(e){this._listRef&&this._listRef.scrollToItem(e)}scrollToOffset(e){this._listRef&&this._listRef.scrollToOffset(e)}recordInteraction(){this._listRef&&this._listRef.recordInteraction()}flashScrollIndicators(){this._listRef&&this._listRef.flashScrollIndicators()}getScrollResponder(){if(this._listRef)return this._listRef.getScrollResponder()}getNativeScrollRef(){if(this._listRef)return this._listRef.getScrollRef()}getScrollableNode(){if(this._listRef)return this._listRef.getScrollableNode()}constructor(e){super(e),this._virtualizedListPairs=[],this._captureRef=e=>{this._listRef=e},this._getItem=(e,t)=>{var r=Si(this.props.numColumns);if(r>1){for(var n=[],i=0;i<r;i++){var a=t*r+i;if(a<e.length){var o=e[a];n.push(o)}}return n}return e[t]},this._getItemCount=e=>{if(null!=e&&function(e){return"number"==typeof Object(e).length}(e)){var t=Si(this.props.numColumns);return t>1?Math.ceil(e.length/t):e.length}return 0},this._keyExtractor=(e,t)=>{var r,n=Si(this.props.numColumns),i=null!==(r=this.props.keyExtractor)&&void 0!==r?r:ai;return n>1?(Jr()(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",n),e.map(((e,r)=>i(e,t*n+r))).join(":")):i(e,t)},this._renderer=(e,t,r,n,i)=>{var a=Si(n),o=r=>e?at.createElement(e,r):t?t(r):null,s=e=>{if(a>1){var t=e.item,n=e.index;return Jr()(Array.isArray(t),"Expected array of items with numColumns > 1"),at.createElement(Xr,{style:[Ei.row,r]},t.map(((t,r)=>{var i=o({item:t,index:n*a+r,separators:e.separators});return null!=i?at.createElement(at.Fragment,{key:r},i):null})))}return o(e)};return e?{ListItemComponent:s}:{renderItem:s}},this._memoizedRenderer=function(e,t){void 0===t&&(t=yi);var r=null;function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return n.clear=function(){r=null},n}(this._renderer),this._checkProps(this.props),this.props.viewabilityConfigCallbackPairs?this._virtualizedListPairs=this.props.viewabilityConfigCallbackPairs.map((e=>({viewabilityConfig:e.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(e.onViewableItemsChanged)}))):this.props.onViewableItemsChanged&&this._virtualizedListPairs.push({viewabilityConfig:this.props.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(this.props.onViewableItemsChanged)})}componentDidUpdate(e){Jr()(e.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),Jr()(e.onViewableItemsChanged===this.props.onViewableItemsChanged,"Changing onViewableItemsChanged on the fly is not supported"),Jr()(!$r(e.viewabilityConfig,this.props.viewabilityConfig),"Changing viewabilityConfig on the fly is not supported"),Jr()(e.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,"Changing viewabilityConfigCallbackPairs on the fly is not supported"),this._checkProps(this.props)}_checkProps(e){var t=e.getItem,r=e.getItemCount,n=e.horizontal,i=e.columnWrapperStyle,a=e.onViewableItemsChanged,o=e.viewabilityConfigCallbackPairs,s=Si(this.props.numColumns);Jr()(!t&&!r,"FlatList does not support custom data formats."),s>1?Jr()(!n,"numColumns does not support horizontal."):Jr()(!i,"columnWrapperStyle not supported for single column lists"),Jr()(!(a&&o),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}_pushMultiColumnViewable(e,t){var r,n=Si(this.props.numColumns),i=null!==(r=this.props.keyExtractor)&&void 0!==r?r:ai;t.item.forEach(((r,a)=>{Jr()(null!=t.index,"Missing index!");var o=t.index*n+a;e.push(h(h({},t),{},{item:r,key:i(r,o),index:o}))}))}_createOnViewableItemsChanged(e){return t=>{var r=Si(this.props.numColumns);if(e)if(r>1){var n=[],i=[];t.viewableItems.forEach((e=>this._pushMultiColumnViewable(i,e))),t.changed.forEach((e=>this._pushMultiColumnViewable(n,e))),e({viewableItems:i,changed:n})}else e(t)}}render(){var e,t=this.props,r=t.numColumns,n=t.columnWrapperStyle,i=t.removeClippedSubviews,a=t.strictMode,o=void 0!==a&&a,s=p(t,bi),l=o?this._memoizedRenderer:this._renderer;return at.createElement(gi,Ut({},s,{getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs,removeClippedSubviews:(e=i,null!=e?e:"android"===jt.OS)},l(this.props.ListItemComponent,this.props.renderItem,n,r,this.props.extraData)))}}var Ei=$e.create({row:{flexDirection:"row"}});const Ci=Ri,wi=new Tn;class Ti{constructor(e){"ios"===jt.OS&&(Jr()(null!=e,"`new NativeEventEmitter()` requires a non-null argument."),this._nativeModule=e)}addListener(e,t,r){var n;null==(n=this._nativeModule)||n.addListener(e);var i=wi.addListener(e,t,r);return{remove:()=>{var e;null!=i&&(null==(e=this._nativeModule)||e.removeListeners(1),i.remove(),i=null)}}}removeListener(e,t){var r;null==(r=this._nativeModule)||r.removeListeners(1),wi.removeListener(e,t)}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];wi.emit(e,...r)}removeAllListeners(e){var t;Jr()(null!=e,"`NativeEventEmitter.removeAllListener()` requires a non-null argument."),null==(t=this._nativeModule)||t.removeListeners(this.listenerCount(e)),wi.removeAllListeners(e)}listenerCount(e){return wi.listenerCount(e)}}const ki=jt,xi=()=>!1,Pi=()=>!1;var Ii,Ai=("ios"===ki.OS&&r.g.RN$Bridgeless,null),Ni=1,Li=1,Oi=new Set,Mi=!1,Di=[];"android"===ki.OS&&null!=Ai&&Ai.queueAndExecuteBatchedOperations&&Pi();var Vi=null,Bi=Ai,Fi={getValue:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.getValue,e,t)},setWaitingForIdentifier:function(e){Oi.add(e),Mi=!0,xi()&&Vi&&clearTimeout(Vi)},unsetWaitingForIdentifier:function(e){Oi.delete(e),0===Oi.size&&(Mi=!1,Fi.disableQueue())},disableQueue:function(){Jr()(Bi,"Native animated module is not available"),xi()?(clearImmediate(Vi),Vi=setImmediate(Fi.flushQueue)):Fi.flushQueue()},flushQueue:function(){},queueOperation:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];Mi||0!==Di.length?Di.push((()=>e(...r))):e(...r)},createAnimatedNode:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.createAnimatedNode,e,t)},updateAnimatedNodeConfig:function(e,t){Jr()(Bi,"Native animated module is not available")},startListeningToAnimatedNodeValue:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.startListeningToAnimatedNodeValue,e)},stopListeningToAnimatedNodeValue:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.stopListeningToAnimatedNodeValue,e)},connectAnimatedNodes:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.connectAnimatedNodes,e,t)},disconnectAnimatedNodes:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.disconnectAnimatedNodes,e,t)},startAnimatingNode:function(e,t,r,n){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.startAnimatingNode,e,t,r,n)},stopAnimation:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.stopAnimation,e)},setAnimatedNodeValue:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.setAnimatedNodeValue,e,t)},setAnimatedNodeOffset:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.setAnimatedNodeOffset,e,t)},flattenAnimatedNodeOffset:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.flattenAnimatedNodeOffset,e)},extractAnimatedNodeOffset:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.extractAnimatedNodeOffset,e)},connectAnimatedNodeToView:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.connectAnimatedNodeToView,e,t)},disconnectAnimatedNodeFromView:function(e,t){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.disconnectAnimatedNodeFromView,e,t)},restoreDefaultValues:function(e){Jr()(Bi,"Native animated module is not available"),null!=Bi.restoreDefaultValues&&Fi.queueOperation(Bi.restoreDefaultValues,e)},dropAnimatedNode:function(e){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.dropAnimatedNode,e)},addAnimatedEventToView:function(e,t,r){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.addAnimatedEventToView,e,t,r)},removeAnimatedEventFromView(e,t,r){Jr()(Bi,"Native animated module is not available"),Fi.queueOperation(Bi.removeAnimatedEventFromView,e,t,r)}},Hi={backgroundColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderRightColor:!0,borderStartColor:!0,borderTopColor:!0,color:!0,tintColor:!0},zi=h(h({},Hi),{},{borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,opacity:!0,transform:!0,zIndex:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0}),Wi={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,rotateZ:!0,perspective:!0},ji={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};function Ui(e){return zi.hasOwnProperty(e)}function Ki(e){return Wi.hasOwnProperty(e)}function Gi(e){return ji.hasOwnProperty(e)}function Yi(){return Li++}var qi=!1;function Xi(e){return null==e.useNativeDriver&&console.warn("Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`"),!0!==e.useNativeDriver||Ai?e.useNativeDriver||!1:(qi||(console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md"),qi=!0),!1)}const $i={API:Fi,isSupportedColorStyleProp:function(e){return Hi.hasOwnProperty(e)},isSupportedStyleProp:Ui,isSupportedTransformProp:Ki,isSupportedInterpolationParam:Gi,addWhitelistedStyleProp:function(e){zi[e]=!0},addWhitelistedTransformProp:function(e){Wi[e]=!0},addWhitelistedInterpolationParam:function(e){ji[e]=!0},validateStyles:function(e){for(var t in e)if(!Ui(t))throw new Error("Style property '"+t+"' is not supported by native animated module")},validateTransform:function(e){e.forEach((e=>{if(!Ki(e.property))throw new Error("Property '"+e.property+"' is not supported by native animated module")}))},validateInterpolation:function(e){for(var t in e)if(!Gi(t))throw new Error("Interpolation property '"+t+"' is not supported by native animated module")},generateNewNodeTag:function(){return Ni++},generateNewAnimationId:Yi,assertNativeAnimatedModule:function(){Jr()(Ai,"Native animated module is not available")},shouldUseNativeDriver:Xi,transformDataType:function(e){return"string"!=typeof e?e:/deg$/.test(e)?(parseFloat(e)||0)*Math.PI/180:e},get nativeEventEmitter(){return Ii||(Ii=new Ti("ios"!==ki.OS?null:Ai)),Ii}};var Zi=$i.API,Ji=1;const Qi=class{__attach(){}__detach(){this.__isNative&&null!=this.__nativeTag&&($i.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}__getValue(){}__getAnimatedValue(){return this.__getValue()}__addChild(e){}__removeChild(e){}__getChildren(){return[]}constructor(){this._listeners={}}__makeNative(e){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node');this._platformConfig=e,this.hasListeners()&&this._startListeningToNativeValueUpdates()}addListener(e){var t=String(Ji++);return this._listeners[t]=e,this.__isNative&&this._startListeningToNativeValueUpdates(),t}removeListener(e){delete this._listeners[e],this.__isNative&&!this.hasListeners()&&this._stopListeningForNativeValueUpdates()}removeAllListeners(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()}hasListeners(){return!!Object.keys(this._listeners).length}_startListeningToNativeValueUpdates(){this.__nativeAnimatedValueListener&&!this.__shouldUpdateListenersForNewNativeTag||(this.__shouldUpdateListenersForNewNativeTag&&(this.__shouldUpdateListenersForNewNativeTag=!1,this._stopListeningForNativeValueUpdates()),Zi.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=$i.nativeEventEmitter.addListener("onAnimatedValueUpdate",(e=>{e.tag===this.__getNativeTag()&&this.__onAnimatedValueUpdateReceived(e.value)})))}__onAnimatedValueUpdateReceived(e){this.__callListeners(e)}__callListeners(e){for(var t in this._listeners)this._listeners[t]({value:e})}_stopListeningForNativeValueUpdates(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,Zi.stopListeningToAnimatedNodeValue(this.__getNativeTag()))}__getNativeTag(){var e;$i.assertNativeAnimatedModule(),Jr()(this.__isNative,'Attempt to get native tag from node not marked as "native"');var t=null!==(e=this.__nativeTag)&&void 0!==e?e:$i.generateNewNodeTag();if(null==this.__nativeTag){this.__nativeTag=t;var r=this.__getNativeConfig();this._platformConfig&&(r.platformConfig=this._platformConfig),$i.API.createAnimatedNode(t,r),this.__shouldUpdateListenersForNewNativeTag=!0}return t}__getNativeConfig(){throw new Error("This JS animated node type cannot be used as native animated node")}toJSON(){return this.__getValue()}__getPlatformConfig(){return this._platformConfig}__setPlatformConfig(e){this._platformConfig=e}},ea=class extends Qi{constructor(){super(),this._children=[]}__makeNative(e){if(!this.__isNative){this.__isNative=!0;for(var t,r=en(this._children);!(t=r()).done;){var n=t.value;n.__makeNative(e),$i.API.connectAnimatedNodes(this.__getNativeTag(),n.__getNativeTag())}}super.__makeNative(e)}__addChild(e){0===this._children.length&&this.__attach(),this._children.push(e),this.__isNative&&(e.__makeNative(this.__getPlatformConfig()),$i.API.connectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()))}__removeChild(e){var t=this._children.indexOf(e);-1!==t?(this.__isNative&&e.__isNative&&$i.API.disconnectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()),this._children.splice(t,1),0===this._children.length&&this.__detach()):console.warn("Trying to remove a child that doesn't exist")}__getChildren(){return this._children}__callListeners(e){if(super.__callListeners(e),!this.__isNative)for(var t,r=en(this._children);!(t=r()).done;){var n=t.value;n.__getValue&&n.__callListeners(n.__getValue())}}};var ta=e=>e;function ra(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return function(e){var t=e.outputRange;Jr()(t.length>=2,"Bad output range"),function(e){for(var t=e[0].replace(ia,""),r=1;r<e.length;++r)Jr()(t===e[r].replace(ia,""),"invalid pattern "+e[0]+" and "+e[r])}(t=t.map(na));var r=t[0].match(ia).map((()=>[]));t.forEach((e=>{e.match(ia).forEach(((e,t)=>{r[t].push(+e)}))}));var n,i=t[0].match(ia).map(((t,n)=>ra(h(h({},e),{},{outputRange:r[n]})))),a="string"==typeof(n=t[0])&&n.startsWith("rgb");return e=>{var r=0;return t[0].replace(ia,(()=>{var t=+i[r++](e);return a&&(t=r<4?Math.round(t):Math.round(1e3*t)/1e3),String(t)}))}}(e);var t=e.outputRange,r=e.inputRange,n=e.easing||ta,i="extend";void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var a="extend";return void 0!==e.extrapolateRight?a=e.extrapolateRight:void 0!==e.extrapolate&&(a=e.extrapolate),e=>{Jr()("number"==typeof e,"Cannot interpolation an input which is not a number");var o=function(e,t){var r;for(r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,r);return function(e,t,r,n,i,a,o,s){var l=e;if(l<t){if("identity"===o)return l;"clamp"===o&&(l=t)}if(l>r){if("identity"===s)return l;"clamp"===s&&(l=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?l=-l:r===1/0?l-=t:l=(l-t)/(r-t),l=a(l),n===-1/0?l=-l:i===1/0?l+=n:l=l*(i-n)+n,l)}(e,r[o],r[o+1],t[o],t[o+1],n,i,a)}}function na(e){var t=_()(e);return null===t||"number"!=typeof t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var ia=/[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;class aa extends ea{constructor(e,t){super(),this._parent=e,this._config=t,this._interpolation=ra(t)}__makeNative(e){this._parent.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._parent.__getValue();return Jr()("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}interpolate(e){return new aa(this,e)}__attach(){this._parent.__addChild(this)}__detach(){this._parent.__removeChild(this),super.__detach()}__transformDataType(e){return e.map($i.transformDataType)}__getNativeConfig(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||"extend",extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||"extend",type:"interpolation"}}}aa.__createInterpolation=ra;const oa=aa;var sa=$i.API;const la=class extends ea{constructor(e,t){if(super(),"number"!=typeof e)throw new Error("AnimatedValue: Attempting to set value to undefined");this._startingValue=this._value=e,this._offset=0,this._animation=null,t&&t.useNativeDriver&&this.__makeNative()}__detach(){this.__isNative&&sa.getValue(this.__getNativeTag(),(e=>{this._value=e-this._offset})),this.stopAnimation(),super.__detach()}__getValue(){return this._value+this._offset}setValue(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e,!this.__isNative),this.__isNative&&function(e,t){sa.setWaitingForIdentifier(e),t(),sa.unsetWaitingForIdentifier(e)}(this.__getNativeTag().toString(),(()=>sa.setAnimatedNodeValue(this.__getNativeTag(),e)))}setOffset(e){this._offset=e,this.__isNative&&sa.setAnimatedNodeOffset(this.__getNativeTag(),e)}flattenOffset(){this._value+=this._offset,this._offset=0,this.__isNative&&sa.flattenAnimatedNodeOffset(this.__getNativeTag())}extractOffset(){this._offset+=this._value,this._value=0,this.__isNative&&sa.extractAnimatedNodeOffset(this.__getNativeTag())}stopAnimation(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&(this.__isNative?sa.getValue(this.__getNativeTag(),e):e(this.__getValue()))}resetAnimation(e){this.stopAnimation(e),this._value=this._startingValue,this.__isNative&&sa.setAnimatedNodeValue(this.__getNativeTag(),this._startingValue)}__onAnimatedValueUpdateReceived(e){this._updateValue(e,!1)}interpolate(e){return new oa(this,e)}animate(e,t){var r=null;e.__isInteraction&&(r=zn.createInteractionHandle());var n=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,(e=>{this._updateValue(e,!0)}),(e=>{this._animation=null,null!==r&&zn.clearInteractionHandle(r),t&&t(e)}),n,this)}stopTracking(){this._tracking&&this._tracking.__detach(),this._tracking=null}track(e){this.stopTracking(),this._tracking=e,this._tracking&&this._tracking.update()}_updateValue(e,t){if(void 0===e)throw new Error("AnimatedValue: Attempting to set value to undefined");var r;this._value=e,t&&(r=new Set,function e(t){"function"==typeof t.update?r.add(t):t.__getChildren().forEach(e)}(this),r.forEach((e=>e.update()))),super.__callListeners(this.__getValue())}__getNativeConfig(){return{type:"value",value:this._value,offset:this._offset}}};function ua(e,t,r){var n=[],i=(e,t)=>{if(e instanceof la)e.__makeNative(),n.push({nativeEventPath:t,animatedValueTag:e.__getNativeTag()});else if("object"==typeof e)for(var r in e)i(e[r],t.concat(r))};return Jr()(r[0]&&r[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),i(r[0].nativeEvent,[]),null!=e&&n.forEach((r=>{$i.API.addAnimatedEventToView(e,t,r)})),{detach(){null!=e&&n.forEach((r=>{$i.API.removeAnimatedEventFromView(e,t,r.animatedValueTag)}))}}}class ca{constructor(e,t){this._listeners=[],this._argMapping=e,null==t&&(console.warn("Animated.event now requires a second argument for options"),t={useNativeDriver:!1}),t.listener&&this.__addListener(t.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=Xi(t)}__addListener(e){this._listeners.push(e)}__removeListener(e){this._listeners=this._listeners.filter((t=>t!==e))}__attach(e,t){Jr()(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=ua(e,t,this._argMapping)}__detach(e,t){Jr()(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()}__getHandler(){var e=this;return this.__isNative?this._callListeners:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=(e,t,r)=>{if(e instanceof la)"number"==typeof t&&e.setValue(t);else if("object"==typeof e)for(var n in e)i(e[n],t[n],n)};e._argMapping.forEach(((e,t)=>{i(e,r[t],"arg"+t)})),e._callListeners(...r)}}_callListeners(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this._listeners.forEach((e=>e(...t)))}}const da=class extends ea{constructor(e){super(),this._transforms=e}__makeNative(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__makeNative()}})),super.__makeNative()}__getValue(){return this._transforms.map((e=>{var t={};for(var r in e){var n=e[r];t[r]=n instanceof Qi?n.__getValue():n}return t}))}__getAnimatedValue(){return this._transforms.map((e=>{var t={};for(var r in e){var n=e[r];t[r]=n instanceof Qi?n.__getAnimatedValue():n}return t}))}__attach(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__addChild(this)}}))}__detach(){this._transforms.forEach((e=>{for(var t in e){var r=e[t];r instanceof Qi&&r.__removeChild(this)}})),super.__detach()}__getNativeConfig(){var e=[];return this._transforms.forEach((t=>{for(var r in t){var n=t[r];n instanceof Qi?e.push({type:"animated",property:r,nodeTag:n.__getNativeTag()}):e.push({type:"static",property:r,value:$i.transformDataType(n)})}})),$i.validateTransform(e),{type:"transform",transforms:e}}};var ha=$e.flatten;function pa(e){var t=ha(e),r={};for(var n in t){var i=t[n];"transform"===n&&Array.isArray(i)?r[n]=new da(i):i instanceof Qi?r[n]=i:i&&!Array.isArray(i)&&"object"==typeof i&&(r[n]=pa(i))}return r}const fa=class extends ea{constructor(e){super(),this._inputStyle=e,this._style=pa(e)}_walkStyleAndGetValues(e){var t={};for(var r in e){var n=e[r];n instanceof Qi?n.__isNative||(t[r]=n.__getValue()):n&&!Array.isArray(n)&&"object"==typeof n?t[r]=this._walkStyleAndGetValues(n):t[r]=n}return t}__getValue(){return[this._inputStyle,this._walkStyleAndGetValues(this._style)]}_walkStyleAndGetAnimatedValues(e){var t={};for(var r in e){var n=e[r];n instanceof Qi?t[r]=n.__getAnimatedValue():n&&!Array.isArray(n)&&"object"==typeof n&&(t[r]=this._walkStyleAndGetAnimatedValues(n))}return t}__getAnimatedValue(){return this._walkStyleAndGetAnimatedValues(this._style)}__attach(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__addChild(this)}}__detach(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__removeChild(this)}super.__detach()}__makeNative(){for(var e in this._style){var t=this._style[e];t instanceof Qi&&t.__makeNative()}super.__makeNative()}__getNativeConfig(){var e={};for(var t in this._style)if(this._style[t]instanceof Qi){var r=this._style[t];r.__makeNative(),e[t]=r.__getNativeTag()}return $i.validateStyles(e),{type:"style",style:e}}},va=class extends Qi{constructor(e,t){super(),e.style&&(e=h(h({},e),{},{style:new fa(e.style)})),this._props=e,this._callback=t,this.__attach()}__getValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi?(!r.__isNative||r instanceof fa)&&(e[t]=r.__getValue()):e[t]=r instanceof ca?r.__getHandler():r}return e}__getAnimatedValue(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi&&(e[t]=r.__getAnimatedValue())}return e}__attach(){for(var e in this._props){var t=this._props[e];t instanceof Qi&&t.__addChild(this)}}__detach(){for(var e in this.__isNative&&this._animatedView&&this.__disconnectAnimatedView(),this._props){var t=this._props[e];t instanceof Qi&&t.__removeChild(this)}super.__detach()}update(){this._callback()}__makeNative(){if(!this.__isNative){for(var e in this.__isNative=!0,this._props){var t=this._props[e];t instanceof Qi&&t.__makeNative()}this._animatedView&&this.__connectAnimatedView()}}setNativeView(e){this._animatedView!==e&&(this._animatedView=e,this.__isNative&&this.__connectAnimatedView())}__connectAnimatedView(){Jr()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;Jr()(null!=e,"Unable to locate attached view in the native tree"),$i.API.connectAnimatedNodeToView(this.__getNativeTag(),e)}__disconnectAnimatedView(){Jr()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;Jr()(null!=e,"Unable to locate attached view in the native tree"),$i.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),e)}__restoreDefaultValues(){this.__isNative&&$i.API.restoreDefaultValues(this.__getNativeTag())}__getNativeConfig(){var e={};for(var t in this._props){var r=this._props[t];r instanceof Qi&&(r.__makeNative(),e[t]=r.__getNativeTag())}return{type:"props",props:e}}};function ma(e){return h(h({},e.__getValue()),{},{collapsable:!1})}var ga=["style"];function _a(e){return at.forwardRef(((t,r)=>{var n=function(e){var t=(0,at.useReducer)((e=>e+1),0)[1],r=(0,at.useRef)(null),n=(0,at.useMemo)((()=>new va(e,(()=>null==r.current?void 0:r.current()))),[e]);!function(e){var t=(0,at.useRef)(null),r=(0,at.useRef)(!1);(0,at.useEffect)((()=>{$i.API.flushQueue()})),er((()=>(r.current=!1,()=>{r.current=!0})),[]),er((()=>{if(e.__attach(),null!=t.current){var n=t.current;n.__restoreDefaultValues(),n.__detach(),t.current=null}return()=>{r.current?e.__detach():t.current=e}}),[e])}(n);var i,a,o=(0,at.useCallback)((i=>{n.setNativeView(i),r.current=()=>{t()};var a=function(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e.getScrollableNode)?e.getScrollableNode():e}(i),o=[];for(var s in e){var l=e[s];l instanceof ca&&l.__isNative&&(l.__attach(a,s),o.push([s,l]))}return()=>{r.current=null;for(var e=0,t=o;e<t.length;e++){var n=t[e],i=n[0];n[1].__detach(a,i)}}}),[e,n]),s=(i=o,a=(0,at.useRef)(void 0),(0,at.useCallback)((e=>{a.current&&(a.current(),a.current=void 0),null!=e&&(a.current=i(e))}),[i]));return[ma(n),s]}(t),i=n[0],a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,at.useCallback)((e=>{for(var r=0,n=t;r<n.length;r++){var i=n[r];null!=i&&("function"==typeof i?i(e):i.current=e)}}),[...t])}(n[1],r),o=i.passthroughAnimatedPropExplicitValues,s=i.style,l=null!=o?o:{},u=l.style,c=p(l,ga),d=[s,u];return at.createElement(e,Ut({},i,c,{style:d,ref:a}))}))}const ya=_a(at.forwardRef(((e,t)=>at.createElement(Ci,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var ba=[];function Sa(e){return ba[e-1]}var Ra=/^data:/;class Ea{static has(e){var t=Ea._entries;return Ra.test(e)||Boolean(t[e])}static add(e){var t=Ea._entries,r=Date.now();t[e]?(t[e].lastUsedTimestamp=r,t[e].refCount+=1):t[e]={lastUsedTimestamp:r,refCount:1}}static remove(e){var t=Ea._entries;t[e]&&(t[e].refCount-=1),Ea._cleanUpIfNeeded()}static _cleanUpIfNeeded(){var e,t,r=Ea._entries,n=Object.keys(r);n.length+1>Ea._maximumEntries&&(n.forEach((n=>{var i=r[n];(!t||i.lastUsedTimestamp<t.lastUsedTimestamp)&&0===i.refCount&&(e=n,t=i)})),e&&delete r[e])}}Ea._maximumEntries=256,Ea._entries={};var Ca=0,wa={},Ta={abort(e){var t=wa[""+e];t&&(t.onerror=null,t.onload=null,t=null,delete wa[""+e])},getSize(e,t,r){var n=!1,i=setInterval(o,16),a=Ta.load(e,o,(function(){"function"==typeof r&&r(),Ta.abort(a),clearInterval(i)}));function o(){var e=wa[""+a];if(e){var r=e.naturalHeight,o=e.naturalWidth;r&&o&&(t(o,r),n=!0)}n&&(Ta.abort(a),clearInterval(i))}},has:e=>Ea.has(e),load(e,t,r){Ca+=1;var n=new window.Image;return n.onerror=r,n.onload=e=>{var r=()=>t({nativeEvent:e});"function"==typeof n.decode?n.decode().then(r,r):setTimeout(r,0)},n.src=e,wa[""+Ca]=n,Ca},prefetch:e=>new Promise(((t,r)=>{Ta.load(e,(()=>{Ea.add(e),Ea.remove(e),t()}),r)})),queryCache(e){var t={};return e.forEach((e=>{Ea.has(e)&&(t[e]="disk/memory")})),Promise.resolve(t)}};const ka=Ta;class xa{static get(){return un.get("window").scale}static getFontScale(){return un.get("window").fontScale||xa.get()}static getPixelSizeForLayoutSize(e){return Math.round(e*xa.get())}static roundToNearestPixel(e){var t=xa.get();return Math.round(e*t)/t}}var Pa=["aria-label","accessibilityLabel","blurRadius","defaultSource","draggable","onError","onLayout","onLoad","onLoadEnd","onLoadStart","pointerEvents","source","style"],Ia="LOADED",Aa="LOADING",Na=0,La=/^(data:image\/svg\+xml;utf8,)(.*)/;function Oa(e){var t=null;if("number"==typeof e){var r=Sa(e);if(null==r)throw new Error('Image: asset with ID "'+e+'" could not be found. Please check the image source or packager.');var n=r.scales[0];if(r.scales.length>1){var i=xa.get();n=r.scales.reduce(((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e))}var a=1!==n?"@"+n+"x":"";t=r?r.httpServerLocation+"/"+r.name+a+"."+r.type:""}else"string"==typeof e?t=e:e&&"string"==typeof e.uri&&(t=e.uri);if(t){var o=t.match(La);if(o){var s=o[1],l=o[2];return""+s+encodeURIComponent(l)}}return t}var Ma=at.forwardRef(((e,t)=>{var r=e["aria-label"],n=e.accessibilityLabel,i=e.blurRadius,a=e.defaultSource,o=e.draggable,s=e.onError,l=e.onLayout,u=e.onLoad,c=e.onLoadEnd,d=e.onLoadStart,h=e.pointerEvents,f=e.source,v=e.style,m=p(e,Pa),g=r||n,_=at.useState((()=>{var e=Oa(f);return null!=e&&ka.has(e)?Ia:"IDLE"})),y=_[0],b=_[1],S=at.useState({}),R=S[0],E=S[1],C=at.useContext(Ur),w=at.useRef(null),T=at.useRef(Na++),k=at.useRef(null),x=y===Ia||y===Aa&&null==a,P=function(e,t,r,n){var i=$e.flatten(e),a=i.filter,o=i.resizeMode,s=i.shadowOffset,l=i.tintColor;i.resizeMode,i.tintColor;var u=[],c=null;if(a&&u.push(a),t&&u.push("blur("+t+"px)"),s){var d=Oe(i);d&&u.push("drop-shadow("+d+")")}return(n||l)&&null!=r&&u.push("url(#tint-"+r+")"),u.length>0&&(c=u.join(" ")),[o,c,l]}(v,i,T.current,e.tintColor),I=P[0],A=P[1],N=P[2],L=e.resizeMode||I||"cover",O=e.tintColor||N,M=x?f:a,D=Oa(M),V=function(e){if("number"==typeof e){var t=Sa(e);return{height:t.height,width:t.width}}if(null!=e&&!Array.isArray(e)&&"object"==typeof e)return{height:e.height,width:e.width}}(M),B=D?'url("'+D+'")':null,F=function(){if(null!=w.current&&("center"===L||"repeat"===L)){var e=w.current,t=e.naturalHeight,r=e.naturalWidth,n=R.height,i=R.width;if(t&&r&&n&&i){var a=Math.min(1,i/r,n/t);return Math.ceil(a*r)+"px "+Math.ceil(a*t)+"px"}}}(),H=D?vt("img",{alt:g||"",style:Va.accessibilityImage$raw,draggable:o||!1,ref:w,src:D}):null,z=Oa(f);return at.useEffect((()=>{function e(){null!=k.current&&(ka.abort(k.current),k.current=null)}return e(),null!=z&&(b(Aa),d&&d(),k.current=ka.load(z,(function(e){b(Ia),u&&u(e),c&&c()}),(function(){b("ERRORED"),s&&s({nativeEvent:{error:"Failed to load resource "+z}}),c&&c()}))),e}),[z,k,b,s,u,c,d]),at.createElement(Xr,Ut({},m,{"aria-label":g,onLayout:function(e){if("center"===L||"repeat"===L||l){var t=e.nativeEvent.layout;l&&l(e),E(t)}},pointerEvents:h,ref:t,style:[Va.root,C&&Va.inline,V,v,Va.undo,{boxShadow:null}]}),at.createElement(Xr,{style:[Va.image,Ba[L],{backgroundImage:B,filter:A},null!=F&&{backgroundSize:F}],suppressHydrationWarning:!0}),H,function(e,t){return e&&null!=t?at.createElement("svg",{style:{position:"absolute",height:0,visibility:"hidden",width:0}},at.createElement("defs",null,at.createElement("filter",{id:"tint-"+t,suppressHydrationWarning:!0},at.createElement("feFlood",{floodColor:""+e,key:e}),at.createElement("feComposite",{in2:"SourceAlpha",operator:"in"})))):null}(O,T.current))}));Ma.displayName="Image";var Da=Ma;Da.getSize=function(e,t,r){ka.getSize(e,t,r)},Da.prefetch=function(e){return ka.prefetch(e)},Da.queryCache=function(e){return ka.queryCache(e)};var Va=$e.create({root:{flexBasis:"auto",overflow:"hidden",zIndex:0},inline:{display:"inline-flex"},undo:{blurRadius:null,shadowColor:null,shadowOpacity:null,shadowOffset:null,shadowRadius:null,tintColor:null,overlayColor:null,resizeMode:null},image:h(h({},$e.absoluteFillObject),{},{backgroundColor:"transparent",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"100%",width:"100%",zIndex:-1}),accessibilityImage$raw:h(h({},$e.absoluteFillObject),{},{height:"100%",opacity:0,width:"100%",zIndex:-1})}),Ba=$e.create({center:{backgroundSize:"auto"},contain:{backgroundSize:"contain"},cover:{backgroundSize:"cover"},none:{backgroundPosition:"0",backgroundSize:"auto"},repeat:{backgroundPosition:"0",backgroundRepeat:"repeat",backgroundSize:"auto"},stretch:{backgroundSize:"100% 100%"}});const Fa=Da,Ha=_a(Fa),za=_a(at.forwardRef(((e,t)=>at.createElement(wn,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var Wa=["ItemSeparatorComponent","SectionSeparatorComponent","renderItem","renderSectionFooter","renderSectionHeader","sections","stickySectionHeadersEnabled"];class ja extends at.PureComponent{constructor(){super(...arguments),this._keyExtractor=(e,t)=>{var r=this._subExtractor(t);return r&&r.key||String(t)},this._convertViewable=e=>{var t;Jr()(null!=e.index,"Received a broken ViewToken");var r=this._subExtractor(e.index);if(!r)return null;var n=r.section.keyExtractor,i=this.props.keyExtractor||ai,a=null!=n?n(e.item,r.index):i(e.item,null!==(t=r.index)&&void 0!==t?t:0);return h(h({},e),{},{index:r.index,key:a,section:r.section})},this._onViewableItemsChanged=e=>{var t=e.viewableItems,r=e.changed,n=this.props.onViewableItemsChanged;null!=n&&n({viewableItems:t.map(this._convertViewable,this).filter(Boolean),changed:r.map(this._convertViewable,this).filter(Boolean)})},this._renderItem=e=>t=>{var r=t.item,n=t.index,i=this._subExtractor(n);if(!i)return null;var a=i.index;if(null==a){var o=i.section;if(!0===i.header){var s=this.props.renderSectionHeader;return s?s({section:o}):null}var l=this.props.renderSectionFooter;return l?l({section:o}):null}var u=i.section.renderItem||this.props.renderItem,c=this._getSeparatorComponent(n,i,e);return Jr()(u,"no renderItem!"),at.createElement(Ua,{SeparatorComponent:c,LeadingSeparatorComponent:0===a?this.props.SectionSeparatorComponent:void 0,cellKey:i.key,index:a,item:r,leadingItem:i.leadingItem,leadingSection:i.leadingSection,prevCellKey:(this._subExtractor(n-1)||{}).key,setSelfHighlightCallback:this._setUpdateHighlightFor,setSelfUpdatePropsCallback:this._setUpdatePropsFor,updateHighlightFor:this._updateHighlightFor,updatePropsFor:this._updatePropsFor,renderItem:u,section:i.section,trailingItem:i.trailingItem,trailingSection:i.trailingSection,inverted:!!this.props.inverted})},this._updatePropsFor=(e,t)=>{var r=this._updatePropsMap[e];null!=r&&r(t)},this._updateHighlightFor=(e,t)=>{var r=this._updateHighlightMap[e];null!=r&&r(t)},this._setUpdateHighlightFor=(e,t)=>{null!=t?this._updateHighlightMap[e]=t:delete this._updateHighlightFor[e]},this._setUpdatePropsFor=(e,t)=>{null!=t?this._updatePropsMap[e]=t:delete this._updatePropsMap[e]},this._updateHighlightMap={},this._updatePropsMap={},this._captureRef=e=>{this._listRef=e}}scrollToLocation(e){for(var t=e.itemIndex,r=0;r<e.sectionIndex;r++)t+=this.props.getItemCount(this.props.sections[r].data)+2;var n=e.viewOffset||0;if(null!=this._listRef){e.itemIndex>0&&this.props.stickySectionHeadersEnabled&&(n+=this._listRef.__getFrameMetricsApprox(t-e.itemIndex,this._listRef.props).length);var i=h(h({},e),{},{viewOffset:n,index:t});this._listRef.scrollToIndex(i)}}getListRef(){return this._listRef}render(){for(var e,t=this.props,r=(t.ItemSeparatorComponent,t.SectionSeparatorComponent,t.renderItem,t.renderSectionFooter,t.renderSectionHeader,t.sections,t.stickySectionHeadersEnabled,p(t,Wa)),n=this.props.ListHeaderComponent?1:0,i=this.props.stickySectionHeadersEnabled?[]:void 0,a=0,o=en(this.props.sections);!(e=o()).done;){var s=e.value;null!=i&&i.push(a+n),a+=2,a+=this.props.getItemCount(s.data)}var l=this._renderItem(a);return at.createElement(gi,Ut({},r,{keyExtractor:this._keyExtractor,stickyHeaderIndices:i,renderItem:l,data:this.props.sections,getItem:(e,t)=>this._getItem(this.props,e,t),getItemCount:()=>a,onViewableItemsChanged:this.props.onViewableItemsChanged?this._onViewableItemsChanged:void 0,ref:this._captureRef}))}_getItem(e,t,r){if(!t)return null;for(var n=r-1,i=0;i<t.length;i++){var a=t[i],o=a.data,s=e.getItemCount(o);if(-1===n||n===s)return a;if(n<s)return e.getItem(o,n);n-=s+2}return null}_subExtractor(e){for(var t=e,r=this.props,n=r.getItem,i=r.getItemCount,a=r.keyExtractor,o=r.sections,s=0;s<o.length;s++){var l=o[s],u=l.data,c=l.key||String(s);if(!((t-=1)>=i(u)+1))return-1===t?{section:l,key:c+":header",index:null,header:!0,trailingSection:o[s+1]}:t===i(u)?{section:l,key:c+":footer",index:null,header:!1,trailingSection:o[s+1]}:{section:l,key:c+":"+(l.keyExtractor||a||ai)(n(u,t),t),index:t,leadingItem:n(u,t-1),leadingSection:o[s-1],trailingItem:n(u,t+1),trailingSection:o[s+1]};t-=i(u)+1}}_getSeparatorComponent(e,t,r){if(!(t=t||this._subExtractor(e)))return null;var n=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,i=this.props.SectionSeparatorComponent,a=e===r-1,o=t.index===this.props.getItemCount(t.section.data)-1;return i&&o?i:!n||o||a?null:n}}function Ua(e){var t=e.LeadingSeparatorComponent,r=e.SeparatorComponent,n=e.cellKey,i=e.prevCellKey,a=e.setSelfHighlightCallback,o=e.updateHighlightFor,s=e.setSelfUpdatePropsCallback,l=e.updatePropsFor,u=e.item,c=e.index,d=e.section,p=e.inverted,f=at.useState(!1),v=f[0],m=f[1],g=at.useState(!1),_=g[0],y=g[1],b=at.useState({leadingItem:e.leadingItem,leadingSection:e.leadingSection,section:e.section,trailingItem:e.item,trailingSection:e.trailingSection}),S=b[0],R=b[1],E=at.useState({leadingItem:e.item,leadingSection:e.leadingSection,section:e.section,trailingItem:e.trailingItem,trailingSection:e.trailingSection}),C=E[0],w=E[1];at.useEffect((()=>(a(n,y),s(n,w),()=>{s(n,null),a(n,null)})),[n,a,w,s]);var T={highlight:()=>{m(!0),y(!0),null!=i&&o(i,!0)},unhighlight:()=>{m(!1),y(!1),null!=i&&o(i,!1)},updateProps:(e,n)=>{"leading"===e?null!=t?R(h(h({},S),n)):null!=i&&l(i,h(h({},S),n)):"trailing"===e&&null!=r&&w(h(h({},C),n))}},k=e.renderItem({item:u,index:c,section:d,separators:T}),x=null!=t&&at.createElement(t,Ut({highlighted:v},S)),P=null!=r&&at.createElement(r,Ut({highlighted:_},C));return x||P?at.createElement(Xr,null,!1===p?x:P,k,!1===p?P:x):k}const Ka=ja;var Ga=["stickySectionHeadersEnabled"];class Ya extends at.PureComponent{constructor(){super(...arguments),this._captureRef=e=>{this._wrapperListRef=e}}scrollToLocation(e){null!=this._wrapperListRef&&this._wrapperListRef.scrollToLocation(e)}recordInteraction(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.recordInteraction()}flashScrollIndicators(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.flashScrollIndicators()}getScrollResponder(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollResponder()}getScrollableNode(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollableNode()}render(){var e=this.props,t=e.stickySectionHeadersEnabled,r=p(e,Ga),n=null!=t?t:"ios"===jt.OS;return at.createElement(Ka,Ut({},r,{stickySectionHeadersEnabled:n,ref:this._captureRef,getItemCount:e=>e.length,getItem:(e,t)=>e[t]}))}}const qa=Ya,Xa=_a(at.forwardRef(((e,t)=>at.createElement(qa,Ut({scrollEventThrottle:1e-4},e,{ref:t})))));var $a=["hrefAttrs","numberOfLines","onClick","onLayout","onPress","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","selectable"],Za=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{href:!0,lang:!0,pointerEvents:!0}),Ja=at.forwardRef(((e,t)=>{var r=e.hrefAttrs,n=e.numberOfLines,i=e.onClick,a=e.onLayout,o=e.onPress,s=e.onMoveShouldSetResponder,l=e.onMoveShouldSetResponderCapture,u=e.onResponderEnd,c=e.onResponderGrant,d=e.onResponderMove,h=e.onResponderReject,f=e.onResponderRelease,v=e.onResponderStart,m=e.onResponderTerminate,g=e.onResponderTerminationRequest,_=e.onScrollShouldSetResponder,y=e.onScrollShouldSetResponderCapture,b=e.onSelectionChangeShouldSetResponder,S=e.onSelectionChangeShouldSetResponderCapture,R=e.onStartShouldSetResponder,E=e.onStartShouldSetResponderCapture,C=e.selectable,w=p(e,$a),T=at.useContext(Ur),k=at.useRef(null),x=ft().direction;nr(k,a),jr(k,{onMoveShouldSetResponder:s,onMoveShouldSetResponderCapture:l,onResponderEnd:u,onResponderGrant:c,onResponderMove:d,onResponderReject:h,onResponderRelease:f,onResponderStart:v,onResponderTerminate:m,onResponderTerminationRequest:g,onScrollShouldSetResponder:_,onScrollShouldSetResponderCapture:y,onSelectionChangeShouldSetResponder:b,onSelectionChangeShouldSetResponderCapture:S,onStartShouldSetResponder:R,onStartShouldSetResponderCapture:E});var P=at.useCallback((e=>{null!=i?i(e):null!=o&&(e.stopPropagation(),o(e))}),[i,o]),I=T?"span":"div",A=null!=e.lang?ht(e.lang):null,N=e.dir||A,L=N||x,O=(e=>Qt(e,Za))(w);if(O.dir=N,T||(O.dir=null!=N?N:"auto"),(i||o)&&(O.onClick=P),O.style=[null!=n&&n>1&&{WebkitLineClamp:n},!0===T?eo.textHasAncestor$raw:eo.text$raw,1===n&&eo.textOneLine,null!=n&&n>1&&eo.textMultiLine,e.style,!0===C&&eo.selectable,!1===C&&eo.notSelectable,o&&eo.pressable],null!=e.href&&(I="a",null!=r)){var M=r.download,D=r.rel,V=r.target;null!=M&&(O.download=M),null!=D&&(O.rel=D),"string"==typeof V&&(O.target="_"!==V.charAt(0)?"_"+V:V)}var B=ar(k,lr(O),t);O.ref=B;var F=vt(I,O,{writingDirection:L});return T?F:at.createElement(Ur.Provider,{value:!0},F)}));Ja.displayName="Text";var Qa={backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",listStyle:"none",margin:0,padding:0,position:"relative",textAlign:"start",textDecoration:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},eo=$e.create({text$raw:Qa,textHasAncestor$raw:h(h({},Qa),{},{color:"inherit",font:"inherit",textAlign:"inherit",whiteSpace:"inherit"}),textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"},notSelectable:{userSelect:"none"},selectable:{userSelect:"text"},pressable:{cursor:"pointer"}});const to=Ja,ro=_a(to),no=_a(Xr),io=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()+this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"addition",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},ao=class extends ea{constructor(e,t,r){super(),this._a=e,this._min=t,this._max=r,this._value=this._lastValue=this._a.__getValue()}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}interpolate(e){return new oa(this,e)}__getValue(){var e=this._a.__getValue(),t=e-this._lastValue;return this._lastValue=e,this._value=Math.min(Math.max(this._value+t,this._min),this._max),this._value}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"diffclamp",input:this._a.__getNativeTag(),min:this._min,max:this._max}}},oo=class extends ea{constructor(e,t){super(),this._warnedAboutDivideByZero=!1,(0===t||t instanceof Qi&&0===t.__getValue())&&console.error("Detected potential division by zero in AnimatedDivision"),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._a.__getValue(),t=this._b.__getValue();return 0===t?(this._warnedAboutDivideByZero||(console.error("Detected division by zero in AnimatedDivision"),this._warnedAboutDivideByZero=!0),0):(this._warnedAboutDivideByZero=!1,e/t)}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"division",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},so=class extends ea{constructor(e,t){super(),this._a=e,this._modulus=t}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}__getValue(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"modulus",input:this._a.__getNativeTag(),modulus:this._modulus}}},lo=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()*this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"multiplication",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},uo=class extends ea{constructor(e,t){super(),this._a="number"==typeof e?new la(e):e,this._b="number"==typeof t?new la(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()-this._b.__getValue()}interpolate(e){return new oa(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"subtraction",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}},co=class extends Qi{constructor(e,t,r,n,i){super(),this._value=e,this._parent=t,this._animationClass=r,this._animationConfig=n,this._useNativeDriver=Xi(n),this._callback=i,this.__attach()}__makeNative(){this.__isNative=!0,this._parent.__makeNative(),super.__makeNative(),this._value.__makeNative()}__getValue(){return this._parent.__getValue()}__attach(){this._parent.__addChild(this),this._useNativeDriver&&this.__makeNative()}__detach(){this._parent.__removeChild(this),super.__detach()}update(){this._value.animate(new this._animationClass(h(h({},this._animationConfig),{},{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}__getNativeConfig(){var e=new this._animationClass(h(h({},this._animationConfig),{},{toValue:void 0})).__getNativeAnimationConfig();return{type:"tracking",animationId:Yi(),animationConfig:e,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()}}};var ho=1;const po=class extends ea{constructor(e){super();var t=e||{x:0,y:0};"number"==typeof t.x&&"number"==typeof t.y?(this.x=new la(t.x),this.y=new la(t.y)):(Jr()(t.x instanceof la&&t.y instanceof la,"AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."),this.x=t.x,this.y=t.y),this._listeners={}}setValue(e){this.x.setValue(e.x),this.y.setValue(e.y)}setOffset(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}flattenOffset(){this.x.flattenOffset(),this.y.flattenOffset()}extractOffset(){this.x.extractOffset(),this.y.extractOffset()}__getValue(){return{x:this.x.__getValue(),y:this.y.__getValue()}}resetAnimation(e){this.x.resetAnimation(),this.y.resetAnimation(),e&&e(this.__getValue())}stopAnimation(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}addListener(e){var t=String(ho++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={x:this.x.addListener(r),y:this.y.addListener(r)},t}removeListener(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}removeAllListeners(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}}getLayout(){return{left:this.x,top:this.y}}getTranslateTransform(){return[{translateX:this.x},{translateY:this.y}]}};var fo=1;const vo=class{start(e,t,r,n,i){}stop(){this.__nativeId&&$i.API.stopAnimation(this.__nativeId)}__getNativeAnimationConfig(){throw new Error("This animation type cannot be offloaded to native")}__debouncedOnEnd(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}__startNativeAnimation(e){var t=fo+":startAnimation";fo+=1,$i.API.setWaitingForIdentifier(t);try{var r=this.__getNativeAnimationConfig();e.__makeNative(r.platformConfig),this.__nativeId=$i.generateNewAnimationId(),$i.API.startAnimatingNode(this.__nativeId,e.__getNativeTag(),r,this.__debouncedOnEnd.bind(this))}catch(e){throw e}finally{$i.API.unsetWaitingForIdentifier(t)}}},mo=class extends vo{constructor(e){var t,r,n;super(),this._deceleration=null!==(t=e.deceleration)&&void 0!==t?t:.998,this._velocity=e.velocity,this._useNativeDriver=Xi(e),this.__isInteraction=null!==(r=e.isInteraction)&&void 0!==r?r:!this._useNativeDriver,this.__iterations=null!==(n=e.iterations)&&void 0!==n?n:1}__getNativeAnimationConfig(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}start(e,t,r,n,i){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=r,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}onUpdate(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));this._onUpdate(t),Math.abs(this._lastValue-t)<.1?this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))))}stop(){super.stop(),this.__active=!1,r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};function go(e){return 3.62*(e-30)+194}function _o(e){return 3*(e-8)+25}const yo=function(e,t){return{stiffness:go(e),damping:_o(t)}},bo=function(e,t){function r(e,t,r){return(e-t)/(r-t)}function n(e,t,r){return t+e*(r-t)}var i=r(e/1.7,0,20);i=n(i,0,.8);var a,o,s,l=n(r(t/1.7,0,20),.5,200),u=function(e,t){return.01*e+(1-e)*t}(2*(a=i)-a*a,(o=l)<=18?(s=o,7e-4*Math.pow(s,3)-.031*Math.pow(s,2)+.64*s+1.28):o>18&&o<=44?function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}(o):function(e){return 45e-8*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}(o));return{stiffness:go(l),damping:_o(u)}};class So extends vo{constructor(e){var t,r,n,i,a,o,s,l,u,c,d;if(super(),this._overshootClamping=null!==(t=e.overshootClamping)&&void 0!==t&&t,this._restDisplacementThreshold=null!==(r=e.restDisplacementThreshold)&&void 0!==r?r:.001,this._restSpeedThreshold=null!==(n=e.restSpeedThreshold)&&void 0!==n?n:.001,this._initialVelocity=null!==(i=e.velocity)&&void 0!==i?i:0,this._lastVelocity=null!==(a=e.velocity)&&void 0!==a?a:0,this._toValue=e.toValue,this._delay=null!==(o=e.delay)&&void 0!==o?o:0,this._useNativeDriver=Xi(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(s=e.isInteraction)&&void 0!==s?s:!this._useNativeDriver,this.__iterations=null!==(l=e.iterations)&&void 0!==l?l:1,void 0!==e.stiffness||void 0!==e.damping||void 0!==e.mass)Jr()(void 0===e.bounciness&&void 0===e.speed&&void 0===e.tension&&void 0===e.friction,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one"),this._stiffness=null!==(u=e.stiffness)&&void 0!==u?u:100,this._damping=null!==(c=e.damping)&&void 0!==c?c:10,this._mass=null!==(d=e.mass)&&void 0!==d?d:1;else if(void 0!==e.bounciness||void 0!==e.speed){var h,p;Jr()(void 0===e.tension&&void 0===e.friction&&void 0===e.stiffness&&void 0===e.damping&&void 0===e.mass,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one");var f=bo(null!==(h=e.bounciness)&&void 0!==h?h:8,null!==(p=e.speed)&&void 0!==p?p:12);this._stiffness=f.stiffness,this._damping=f.damping,this._mass=1}else{var v,m,g=yo(null!==(v=e.tension)&&void 0!==v?v:40,null!==(m=e.friction)&&void 0!==m?m:7);this._stiffness=g.stiffness,this._damping=g.damping,this._mass=1}Jr()(this._stiffness>0,"Stiffness value must be greater than 0"),Jr()(this._damping>0,"Damping value must be greater than 0"),Jr()(this._mass>0,"Mass value must be greater than 0")}__getNativeAnimationConfig(){var e;return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:null!==(e=this._initialVelocity)&&void 0!==e?e:this._lastVelocity,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,n,i){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=t,this.__onEnd=r,this._lastTime=Date.now(),this._frameTime=0,n instanceof So){var a=n.getInternalState();this._lastPosition=a.lastPosition,this._lastVelocity=a.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=a.lastTime}var o=()=>{this._useNativeDriver?this.__startNativeAnimation(i):this.onUpdate()};this._delay?this._timeout=setTimeout(o,this._delay):o()}getInternalState(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}onUpdate(){var e=Date.now();e>this._lastTime+64&&(e=this._lastTime+64);var t=(e-this._lastTime)/1e3;this._frameTime+=t;var r=this._damping,n=this._mass,i=this._stiffness,a=-this._initialVelocity,o=r/(2*Math.sqrt(i*n)),s=Math.sqrt(i/n),l=s*Math.sqrt(1-o*o),u=this._toValue-this._startPosition,c=0,d=0,h=this._frameTime;if(o<1){var p=Math.exp(-o*s*h);c=this._toValue-p*((a+o*s*u)/l*Math.sin(l*h)+u*Math.cos(l*h)),d=o*s*p*(Math.sin(l*h)*(a+o*s*u)/l+u*Math.cos(l*h))-p*(Math.cos(l*h)*(a+o*s*u)-l*u*Math.sin(l*h))}else{var f=Math.exp(-s*h);c=this._toValue-f*(u+(a+s*u)*h),d=f*(a*(h*s-1)+h*u*(s*s))}if(this._lastTime=e,this._lastPosition=c,this._lastVelocity=d,this._onUpdate(c),this.__active){var v=!1;this._overshootClamping&&0!==this._stiffness&&(v=this._startPosition<this._toValue?c>this._toValue:c<this._toValue);var m=Math.abs(d)<=this._restSpeedThreshold,g=!0;if(0!==this._stiffness&&(g=Math.abs(this._toValue-c)<=this._restDisplacementThreshold),v||m&&g)return 0!==this._stiffness&&(this._lastPosition=this._toValue,this._lastVelocity=0,this._onUpdate(this._toValue)),void this.__debouncedOnEnd({finished:!0});this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}const Ro=So;var Eo,Co=.1,wo="function"==typeof Float32Array;function To(e,t){return 1-3*t+3*e}function ko(e,t){return 3*t-6*e}function xo(e){return 3*e}function Po(e,t,r){return((To(t,r)*e+ko(t,r))*e+xo(t))*e}function Io(e,t,r){return 3*To(t,r)*e*e+2*ko(t,r)*e+xo(t)}function Ao(e,t,r,n){if(!(e>=0&&e<=1&&r>=0&&r<=1))throw new Error("bezier x values must be in [0, 1] range");var i=wo?new Float32Array(11):new Array(11);if(e!==t||r!==n)for(var a=0;a<11;++a)i[a]=Po(a*Co,e,r);return function(a){return e===t&&r===n?a:0===a?0:1===a?1:Po(function(t){for(var n=0,a=1;10!==a&&i[a]<=t;++a)n+=Co;--a;var o=n+(t-i[a])/(i[a+1]-i[a])*Co,s=Io(o,e,r);return s>=.001?function(e,t,r,n){for(var i=t,a=0;a<4;++a){var o=Io(i,r,n);if(0===o)return i;i-=(Po(i,r,n)-e)/o}return i}(t,o,e,r):0===s?o:function(e,t,r,n,i){var a,o,s=0,l=t,u=r;do{(a=Po(o=l+(u-l)/2,n,i)-e)>0?u=o:l=o}while(Math.abs(a)>1e-7&&++s<10);return o}(t,n,n+Co,e,r)}(a),t,n)}}class No{static step0(e){return e>0?1:0}static step1(e){return e>=1?1:0}static linear(e){return e}static ease(e){return Eo||(Eo=No.bezier(.42,0,1,1)),Eo(e)}static quad(e){return e*e}static cubic(e){return e*e*e}static poly(e){return t=>Math.pow(t,e)}static sin(e){return 1-Math.cos(e*Math.PI/2)}static circle(e){return 1-Math.sqrt(1-e*e)}static exp(e){return Math.pow(2,10*(e-1))}static elastic(e){void 0===e&&(e=1);var t=e*Math.PI;return e=>1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}static back(e){return void 0===e&&(e=1.70158),t=>t*t*((e+1)*t-e)}static bounce(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){var r=e-2.25/2.75;return 7.5625*r*r+.9375}var n=e-2.625/2.75;return 7.5625*n*n+.984375}static bezier(e,t,r,n){return Ao(e,t,r,n)}static in(e){return e}static out(e){return t=>1-e(1-t)}static inOut(e){return t=>t<.5?e(2*t)/2:1-e(2*(1-t))/2}}const Lo=No;var Oo;const Mo=class extends vo{constructor(e){var t,r,n,i,a;super(),this._toValue=e.toValue,this._easing=null!==(t=e.easing)&&void 0!==t?t:(Oo||(Oo=Lo.inOut(Lo.ease)),Oo),this._duration=null!==(r=e.duration)&&void 0!==r?r:500,this._delay=null!==(n=e.delay)&&void 0!==n?n:0,this.__iterations=null!==(i=e.iterations)&&void 0!==i?i:1,this._useNativeDriver=Xi(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(a=e.isInteraction)&&void 0!==a?a:!this._useNativeDriver}__getNativeAnimationConfig(){for(var e=[],t=Math.round(this._duration/(1e3/60)),r=0;r<t;r++)e.push(this._easing(r/t));return e.push(this._easing(1)),{type:"frames",frames:e,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,r,n,i){this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=r;var a=()=>{0!==this._duration||this._useNativeDriver?(this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))):(this._onUpdate(this._toValue),this.__debouncedOnEnd({finished:!0}))};this._delay?this._timeout=setTimeout(a,this._delay):a()}onUpdate(){var e=Date.now();if(e>=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};var Do=$i.API,Vo={r:0,g:0,b:0,a:1},Bo=1;function Fo(e){if(null==e)return null;if(Ho(e))return e;var t=_()(e);if(null==t)return null;if("object"==typeof t){if(null!=t)return t}else if("number"==typeof t)return{r:(4278190080&t)>>>24,g:(16711680&t)>>>16,b:(65280&t)>>>8,a:(255&t)/255};return null}function Ho(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}class zo extends ea{constructor(e,t){super(),this._listeners={};var r=null!=e?e:Vo;if(function(e){return e&&e.r instanceof la&&e.g instanceof la&&e.b instanceof la&&e.a instanceof la}(r)){var n=r;this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a}else{var i,a=null!==(i=Fo(r))&&void 0!==i?i:Vo,o=Vo;Ho(a)?o=a:this.nativeColor=a,this.r=new la(o.r),this.g=new la(o.g),this.b=new la(o.b),this.a=new la(o.a)}(this.nativeColor||t&&t.useNativeDriver)&&this.__makeNative()}setValue(e){var t,r=!1;if(this.__isNative){var n=this.__getNativeTag();Do.setWaitingForIdentifier(n.toString())}var i=null!==(t=Fo(e))&&void 0!==t?t:Vo;if(Ho(i)){var a=i;this.r.setValue(a.r),this.g.setValue(a.g),this.b.setValue(a.b),this.a.setValue(a.a),null!=this.nativeColor&&(this.nativeColor=null,r=!0)}else{var o=i;this.nativeColor!==o&&(this.nativeColor=o,r=!0)}if(this.__isNative){var s=this.__getNativeTag();r&&Do.updateAnimatedNodeConfig(s,this.__getNativeConfig()),Do.unsetWaitingForIdentifier(s.toString())}}setOffset(e){this.r.setOffset(e.r),this.g.setOffset(e.g),this.b.setOffset(e.b),this.a.setOffset(e.a)}flattenOffset(){this.r.flattenOffset(),this.g.flattenOffset(),this.b.flattenOffset(),this.a.flattenOffset()}extractOffset(){this.r.extractOffset(),this.g.extractOffset(),this.b.extractOffset(),this.a.extractOffset()}addListener(e){var t=String(Bo++),r=t=>{t.value,e(this.__getValue())};return this._listeners[t]={r:this.r.addListener(r),g:this.g.addListener(r),b:this.b.addListener(r),a:this.a.addListener(r)},t}removeListener(e){this.r.removeListener(this._listeners[e].r),this.g.removeListener(this._listeners[e].g),this.b.removeListener(this._listeners[e].b),this.a.removeListener(this._listeners[e].a),delete this._listeners[e]}removeAllListeners(){this.r.removeAllListeners(),this.g.removeAllListeners(),this.b.removeAllListeners(),this.a.removeAllListeners(),this._listeners={}}stopAnimation(e){this.r.stopAnimation(),this.g.stopAnimation(),this.b.stopAnimation(),this.a.stopAnimation(),e&&e(this.__getValue())}resetAnimation(e){this.r.resetAnimation(),this.g.resetAnimation(),this.b.resetAnimation(),this.a.resetAnimation(),e&&e(this.__getValue())}__getValue(){return null!=this.nativeColor?this.nativeColor:"rgba("+this.r.__getValue()+", "+this.g.__getValue()+", "+this.b.__getValue()+", "+this.a.__getValue()+")"}__attach(){this.r.__addChild(this),this.g.__addChild(this),this.b.__addChild(this),this.a.__addChild(this),super.__attach()}__detach(){this.r.__removeChild(this),this.g.__removeChild(this),this.b.__removeChild(this),this.a.__removeChild(this),super.__detach()}__makeNative(e){this.r.__makeNative(e),this.g.__makeNative(e),this.b.__makeNative(e),this.a.__makeNative(e),super.__makeNative(e)}__getNativeConfig(){return{type:"color",r:this.r.__getNativeTag(),g:this.g.__getNativeTag(),b:this.b.__getNativeTag(),a:this.a.__getNativeTag(),nativeColor:this.nativeColor}}}var Wo=function(e,t){return e&&t.onComplete?function(){t.onComplete&&t.onComplete(...arguments),e&&e(...arguments)}:e||t.onComplete},jo=function(e,t,r){if(e instanceof po){var n=h({},t),i=h({},t);for(var a in t){var o=t[a],s=o.x,l=o.y;void 0!==s&&void 0!==l&&(n[a]=s,i[a]=l)}var u=r(e.x,n),c=r(e.y,i);return Go([u,c],{stopTogether:!1})}if(e instanceof zo){var d=h({},t),p=h({},t),f=h({},t),v=h({},t);for(var m in t){var g=t[m],_=g.r,y=g.g,b=g.b,S=g.a;void 0!==_&&void 0!==y&&void 0!==b&&void 0!==S&&(d[m]=_,p[m]=y,f[m]=b,v[m]=S)}var R=r(e.r,d),E=r(e.g,p),C=r(e.b,f),w=r(e.a,v);return Go([R,E,C,w],{stopTogether:!1})}return null},Uo=function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),t.toValue instanceof Qi?n.track(new co(n,t.toValue,Mo,i,r)):n.animate(new Mo(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},Ko=function(e){var t=0;return{start:function(r){0===e.length?r&&r({finished:!0}):e[t].start((function n(i){i.finished&&++t!==e.length?e[t].start(n):r&&r(i)}))},stop:function(){t<e.length&&e[t].stop()},reset:function(){e.forEach(((e,r)=>{r<=t&&e.reset()})),t=0},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.sequence animations")},_isUsingNativeDriver:function(){return!1}}},Go=function(e,t){var r=0,n={},i=!(t&&!1===t.stopTogether),a={start:function(t){r!==e.length?e.forEach(((o,s)=>{var l=function(o){if(n[s]=!0,++r===e.length)return r=0,void(t&&t(o));!o.finished&&i&&a.stop()};o?o.start(l):l({finished:!0})})):t&&t({finished:!0})},stop:function(){e.forEach(((e,t)=>{!n[t]&&e.stop(),n[t]=!0}))},reset:function(){e.forEach(((e,t)=>{e.reset(),n[t]=!1,r=0}))},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.parallel animations")},_isUsingNativeDriver:function(){return!1}};return a},Yo=function(e){return Uo(new la(0),{toValue:0,delay:e,duration:0,useNativeDriver:!1})};const qo={Value:la,ValueXY:po,Color:zo,Interpolation:oa,Node:Qi,decay:function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),n.animate(new mo(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},timing:Uo,spring:function e(t,r){var n=function(e,t,r){r=Wo(r,t);var n=e,i=t;n.stopTracking(),t.toValue instanceof Qi?n.track(new co(n,t.toValue,Ro,i,r)):n.animate(new Ro(i),r)};return jo(t,r,e)||{start:function(e){n(t,r,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var i=h(h({},r),{},{iterations:e});n(t,i)},_isUsingNativeDriver:function(){return r.useNativeDriver||!1}}},add:function(e,t){return new io(e,t)},subtract:function(e,t){return new uo(e,t)},divide:function(e,t){return new oo(e,t)},multiply:function(e,t){return new lo(e,t)},modulo:function(e,t){return new so(e,t)},diffClamp:function(e,t,r){return new ao(e,t,r)},delay:Yo,sequence:Ko,parallel:Go,stagger:function(e,t){return Go(t.map(((t,r)=>Ko([Yo(e*r),t]))))},loop:function(e,t){var r=void 0===t?{}:t,n=r.iterations,i=void 0===n?-1:n,a=r.resetBeforeIteration,o=void 0===a||a,s=!1,l=0;return{start:function(t){e&&0!==i?e._isUsingNativeDriver()?e._startNativeLoop(i):function r(n){void 0===n&&(n={finished:!0}),s||l===i||!1===n.finished?t&&t(n):(l++,o&&e.reset(),e.start(r))}():t&&t({finished:!0})},stop:function(){s=!0,e.stop()},reset:function(){l=0,s=!1,e.reset()},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return e._isUsingNativeDriver()}}},event:function(e,t){var r=new ca(e,t);return r.__isNative?r:r.__getHandler()},createAnimatedComponent:_a,attachNativeEvent:ua,forkEvent:function(e,t){return e?e instanceof ca?(e.__addListener(t),e):function(){"function"==typeof e&&e(...arguments),t(...arguments)}:t},unforkEvent:function(e,t){e&&e instanceof ca&&e.__removeListener(t)},Event:ca};var Xo=!1;function $o(e){return t=>{var r=null==t?t:function(){if(Xo)console.warn("Ignoring recursive animation callback when running mock animations");else{Xo=!0;try{t(...arguments)}finally{Xo=!1}}};e(r)}}var Zo={start:()=>{},stop:()=>{},reset:()=>{},_startNativeLoop:()=>{},_isUsingNativeDriver:()=>!1},Jo=e=>h(h({},Zo),{},{start:$o((t=>{e.forEach((e=>e.start())),null==t||t({finished:!0})}))});const Qo={Value:la,ValueXY:po,Color:zo,Interpolation:oa,Node:Qi,decay:function(e,t){return Zo},timing:function(e,t){var r=e;return h(h({},Zo),{},{start:$o((e=>{r.setValue(t.toValue),null==e||e({finished:!0})}))})},spring:function(e,t){var r=e;return h(h({},Zo),{},{start:$o((e=>{r.setValue(t.toValue),null==e||e({finished:!0})}))})},add:qo.add,subtract:qo.subtract,divide:qo.divide,multiply:qo.multiply,modulo:qo.modulo,diffClamp:qo.diffClamp,delay:function(e){return Zo},sequence:function(e){return Jo(e)},parallel:function(e,t){return Jo(e)},stagger:function(e,t){return Jo(t)},loop:function(e,t){return(void 0===t?{}:t).iterations,Zo},event:qo.event,createAnimatedComponent:_a,attachNativeEvent:ua,forkEvent:qo.forkEvent,unforkEvent:qo.unforkEvent,Event:ca},es=h({FlatList:ya,Image:Ha,ScrollView:za,SectionList:Xa,Text:ro,View:no},jt.isTesting?Qo:qo);var ts=E&&null!=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null,rs=new WeakMap;const ns={getColorScheme:()=>ts&&ts.matches?"dark":"light",addChangeListener(e){var t=rs.get(e);return t||(t=t=>{var r=t.matches;e({colorScheme:r?"dark":"light"})},rs.set(e,t)),ts&&ts.addListener(t),{remove:function(){var t=rs.get(e);ts&&t&&ts.removeListener(t),rs.delete(e)}}}};var is=at.createContext(null),as=at.forwardRef(((e,t)=>{var r=e.children,n=e.WrapperComponent,i=at.createElement(Xr,{children:r,key:1,style:ls.appContainer});return n&&(i=at.createElement(n,null,i)),at.createElement(is.Provider,{value:e.rootTag},at.createElement(Xr,{ref:t,style:ls.appContainer},i))}));as.displayName="AppContainer";const os=as;var ss,ls=$e.create({appContainer:{flex:1,pointerEvents:"box-none"}}),us={},cs={},ds=e=>e();class hs{static getAppKeys(){return Object.keys(cs)}static getApplication(e,t){return Jr()(cs[e]&&cs[e].getApplication,"Application "+e+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),cs[e].getApplication(t)}static registerComponent(e,t){return cs[e]={getApplication:e=>{return r=ds(t),n=e?e.initialProps:us,i=ss&&ss(e),{element:ot().createElement(os,{WrapperComponent:i,rootTag:{}},ot().createElement(r,n)),getStyleElement:e=>{var t=$e.getSheet();return ot().createElement("style",Ut({},e,{dangerouslySetInnerHTML:{__html:t.textContent},id:t.id}))}};var r,n,i},run:e=>{return r=ds(t),n=ss&&ss(e),i=e.callback,o=(a={hydrate:e.hydrate||!1,initialProps:e.initialProps||us,mode:e.mode||"concurrent",rootTag:e.rootTag}).initialProps,s=a.mode,l=a.rootTag,u=a.hydrate?"concurrent"===s?St:Et:"concurrent"===s?Rt:Ct,Jr()(l,"Expect to have a valid rootTag, instead got ",l),u(ot().createElement(os,{WrapperComponent:n,ref:i,rootTag:l},ot().createElement(r,o)),l);var r,n,i,a,o,s,l,u}},e}static registerConfig(e){e.forEach((e=>{var t=e.appKey,r=e.component,n=e.run;n?hs.registerRunnable(t,n):(Jr()(r,"No component provider passed in"),hs.registerComponent(t,r))}))}static registerRunnable(e,t){return cs[e]={run:t},e}static runApplication(e,t){return Jr()(cs[e]&&cs[e].run,'Application "'+e+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),cs[e].run(t)}static setComponentProviderInstrumentationHook(e){ds=e}static setWrapperComponentProvider(e){ss=e}static unmountApplicationComponentAtRootTag(e){bt(e)}}var ps=E&&!document.hasOwnProperty("hidden")&&document.hasOwnProperty("webkitHidden"),fs=["change","memoryWarning"],vs=ps?"webkitvisibilitychange":"visibilitychange",ms=ps?"webkitVisibilityState":"visibilityState",gs="active",_s=null;class ys{static get currentState(){if(!ys.isAvailable)return gs;switch(document[ms]){case"hidden":case"prerender":case"unloaded":return"background";default:return gs}}static addEventListener(e,t){if(ys.isAvailable&&(Jr()(-1!==fs.indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e))return _s||(_s=new Tn,document.addEventListener(vs,(()=>{_s&&_s.emit("change",ys.currentState)}),!1)),_s.addListener(e,t)}}function bs(){}ys.isAvailable=E&&!!document[ms];const Ss={exitApp:bs,addEventListener:()=>(console.error("BackHandler is not supported on web and should not be used."),{remove:bs}),removeEventListener:bs};var Rs;class Es{static isAvailable(){return void 0===Rs&&(Rs="function"==typeof document.queryCommandSupported&&document.queryCommandSupported("copy")),Rs}static getString(){return Promise.resolve("")}static setString(e){var t=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=e,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var i=window.getSelection();i.removeAllRanges();var a=document.createRange();a.selectNodeContents(n),i.addRange(a);try{document.execCommand("copy"),t=!0}catch(e){}i.removeAllRanges(),r.removeChild(n)}return t}}const Cs={allowRTL(){},forceRTL(){},getConstants:()=>({isRTL:!1})},ws={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){dn()},removeAllListeners(){},removeListener(){}};function Ts(e,t){jt.isTesting||Mt.configureNextLayoutAnimation(e,null!=t?t:function(){},(function(){}))}function ks(e,t,r){return{duration:e,create:{type:t,property:r},update:{type:t},delete:{type:t,property:r}}}var xs={easeInEaseOut:ks(300,"easeInEaseOut","opacity"),linear:ks(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}};const Ps={configureNext:Ts,create:ks,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:xs,easeInEaseOut:Ts.bind(null,xs.easeInEaseOut),linear:Ts.bind(null,xs.linear),spring:Ts.bind(null,xs.spring)};var Is=E?window.location.href:"";const As=new class{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=this._eventCallbacks[e];null!=i&&Array.isArray(i)&&i.map((e=>{e(...r)}))}addEventListener(e,t){var r=this;return r._eventCallbacks[e]||(r._eventCallbacks[e]=[t]),r._eventCallbacks[e].push(t),{remove(){var n=r._eventCallbacks[e].filter((e=>e.toString()!==t.toString()));r._eventCallbacks[e]=n}}}removeEventListener(e,t){console.error("Linking.removeEventListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `Linking.addEventListener`.");var r=this._eventCallbacks[e].filter((e=>e.toString()!==t.toString()));this._eventCallbacks[e]=r}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(Is)}openURL(e,t){1===arguments.length&&(t="_blank");try{return((e,t)=>{if(E){var r=new URL(e,window.location).toString();0===r.indexOf("tel:")?window.location=r:window.open(r,t,"noopener")}})(e,t),this._dispatchEvent("onOpen",e),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){Jr()("string"==typeof e,"Invalid URL: should be a string. Was: "+e),Jr()(e,"Invalid URL: cannot be empty")}},Ns=Ti;var Ls={centroidDimension:function(e,t,r,n){var i=e.touchBank,a=0,o=0,s=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==s)s.touchActive&&s.currentTimeStamp>t&&(a+=n&&r?s.currentPageX:n&&!r?s.currentPageY:!n&&r?s.previousPageX:s.previousPageY,o=1);else for(var l=0;l<i.length;l++){var u=i[l];null!=u&&u.touchActive&&u.currentTimeStamp>=t&&(a+=n&&r?u.currentPageX:n&&!r?u.currentPageY:!n&&r?u.previousPageX:u.previousPageY,o++)}return o>0?a/o:Ls.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return Ls.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return Ls.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return Ls.centroidDimension(e,0,!1,!0)},noCentroid:-1};const Os=Ls;var Ms=Os.currentCentroidXOfTouchesChangedAfter,Ds=Os.currentCentroidYOfTouchesChangedAfter,Vs=Os.previousCentroidXOfTouchesChangedAfter,Bs=Os.previousCentroidYOfTouchesChangedAfter,Fs=Os.currentCentroidX,Hs=Os.currentCentroidY,zs={_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=Ms(t,e._accountsForMovesUpTo),e.moveY=Ds(t,e._accountsForMovesUpTo);var r=e._accountsForMovesUpTo,n=Vs(t,r),i=Ms(t,r),a=Bs(t,r),o=Ds(t,r),s=e.dx+(i-n),l=e.dy+(o-a),u=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(s-e.dx)/u,e.vy=(l-e.dy)/u,e.dx=s,e.dy=l,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},r={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,r),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,r),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&zs._initializeGestureState(r),r.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,r)),onMoveShouldSetResponderCapture(t){var n=t.touchHistory;return r._accountsForMovesUpTo!==n.mostRecentTimeStamp&&(zs._updateGestureStateOnMove(r,n),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,r))},onResponderGrant:n=>(t.handle||(t.handle=zn.createInteractionHandle()),t.timeout&&function(e){clearTimeout(e.timeout)}(t),t.shouldCancelClick=!0,r.x0=Fs(n.touchHistory),r.y0=Hs(n.touchHistory),r.dx=0,r.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,r),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(n,r)),onResponderReject(n){Ws(t,e.onPanResponderReject,n,r)},onResponderRelease(n){Ws(t,e.onPanResponderRelease,n,r),js(t),zs._initializeGestureState(r)},onResponderStart(t){var n=t.touchHistory;r.numberActiveTouches=n.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,r)},onResponderMove(t){var n=t.touchHistory;r._accountsForMovesUpTo!==n.mostRecentTimeStamp&&(zs._updateGestureStateOnMove(r,n),e.onPanResponderMove&&e.onPanResponderMove(t,r))},onResponderEnd(n){var i=n.touchHistory;r.numberActiveTouches=i.numberActiveTouches,Ws(t,e.onPanResponderEnd,n,r)},onResponderTerminate(n){Ws(t,e.onPanResponderTerminate,n,r),js(t),zs._initializeGestureState(r)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,r),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function Ws(e,t,r,n){e.handle&&(zn.clearInteractionHandle(e.handle),e.handle=null),t&&t(r,n)}function js(e){e.timeout=setTimeout((()=>{e.shouldCancelClick=!1}),250)}const Us=zs,Ks=class{static share(e,t){return void 0===t&&(t={}),Jr()("object"==typeof e&&null!==e,"Content to share must be a valid object"),Jr()("string"==typeof e.url||"string"==typeof e.message,"At least one of URL and message is required"),Jr()("object"==typeof t&&null!==t,"Options must be a valid object"),Jr()(!e.title||"string"==typeof e.title,"Invalid title: title should be a string."),void 0!==window.navigator.share?window.navigator.share({title:e.title,text:e.message,url:e.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}};var Gs=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)};const Ys={cancel(){Gs(0)},vibrate(e){void 0===e&&(e=400),Gs(e)}};var qs=["animating","color","hidesWhenStopped","size","style"],Xs=e=>at.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),$s=at.forwardRef(((e,t)=>{var r=e.animating,n=void 0===r||r,i=e.color,a=void 0===i?"#1976D2":i,o=e.hidesWhenStopped,s=void 0===o||o,l=e.size,u=void 0===l?"small":l,c=e.style,d=p(e,qs),h=at.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},Xs({stroke:a,opacity:.2}),Xs({stroke:a,strokeDasharray:80,strokeDashoffset:60}));return at.createElement(Xr,Ut({},d,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[Zs.container,c]}),at.createElement(Xr,{children:h,style:["number"==typeof u?{height:u,width:u}:Js[u],Zs.animation,!n&&Zs.animationPause,!n&&s&&Zs.hidesWhenStopped]}))}));$s.displayName="ActivityIndicator";var Zs=$e.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),Js=$e.create({small:{width:20,height:20},large:{width:36,height:36}});const Qs=$s;var el="DELAY",tl="ERROR",rl="LONG_PRESS_DETECTED",nl="NOT_RESPONDER",il="RESPONDER_ACTIVE_LONG_PRESS_START",al="RESPONDER_ACTIVE_PRESS_START",ol="RESPONDER_INACTIVE_PRESS_START",sl="RESPONDER_RELEASE",ll="RESPONDER_TERMINATED",ul=Object.freeze({NOT_RESPONDER:{DELAY:tl,RESPONDER_GRANT:ol,RESPONDER_RELEASE:tl,RESPONDER_TERMINATED:tl,LONG_PRESS_DETECTED:tl},RESPONDER_INACTIVE_PRESS_START:{DELAY:al,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:tl},RESPONDER_ACTIVE_PRESS_START:{DELAY:tl,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:il},RESPONDER_ACTIVE_LONG_PRESS_START:{DELAY:tl,RESPONDER_GRANT:tl,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:il},ERROR:{DELAY:nl,RESPONDER_GRANT:ol,RESPONDER_RELEASE:nl,RESPONDER_TERMINATED:nl,LONG_PRESS_DETECTED:nl}}),cl=e=>e.getAttribute("role"),dl=e=>e.tagName.toLowerCase(),hl=e=>e===al||e===il,pl=e=>"button"===cl(e),fl=e=>e===ol||e===al||e===il,vl=e=>{var t=e.key,r=e.target,n=" "===t||"Spacebar"===t,i="button"===dl(r)||pl(r);return"Enter"===t||n&&i};class ml{constructor(e){this._eventHandlers=null,this._isPointerTouch=!1,this._longPressDelayTimeout=null,this._longPressDispatched=!1,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._touchState=nl,this._responderElement=null,this.configure(e)}configure(e){this._config=e}reset(){this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()}getEventHandlers(){return null==this._eventHandlers&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers}_createEventHandlers(){var e=(e,t)=>{e.persist(),this._cancelPressOutDelayTimeout(),this._longPressDispatched=!1,this._selectionTerminated=!1,this._touchState=nl,this._isPointerTouch="touchstart"===e.nativeEvent.type,this._receiveSignal("RESPONDER_GRANT",e);var r=gl(this._config.delayPressStart,0,50);!1!==t&&r>0?this._pressDelayTimeout=setTimeout((()=>{this._receiveSignal(el,e)}),r):this._receiveSignal(el,e);var n=gl(this._config.delayLongPress,10,450);this._longPressDelayTimeout=setTimeout((()=>{this._handleLongPress(e)}),n+r)},t=e=>{this._receiveSignal(sl,e)},r=e=>{var n=this._config.onPress,i=e.target;if(this._touchState!==nl&&vl(e)){t(e),document.removeEventListener("keyup",r);var a=i.getAttribute("role"),o=dl(i),s="link"===a||"a"===o||"button"===o||"input"===o||"select"===o||"textarea"===o,l=this._responderElement===i;null!=n&&!s&&l&&n(e),this._responderElement=null}};return{onStartShouldSetResponder:e=>{var t=this._config.disabled;return t&&pl(e.currentTarget)&&e.stopPropagation(),null==t||!t},onKeyDown:t=>{var n=this._config.disabled,i=t.key,a=t.target;if(!n&&vl(t)){this._touchState===nl&&(e(t,!1),this._responderElement=a,document.addEventListener("keyup",r));var o=" "===i||"Spacebar"===i,s=cl(a);o&&("button"===s||"menuitem"===s)&&"button"!==dl(a)&&t.preventDefault(),t.stopPropagation()}},onResponderGrant:t=>e(t),onResponderMove:e=>{null!=this._config.onPressMove&&this._config.onPressMove(e);var t=_l(e);if(null!=this._touchActivatePosition){var r=this._touchActivatePosition.pageX-t.pageX,n=this._touchActivatePosition.pageY-t.pageY;Math.hypot(r,n)>10&&this._cancelLongPressDelayTimeout()}},onResponderRelease:e=>t(e),onResponderTerminate:e=>{"selectionchange"===e.nativeEvent.type&&(this._selectionTerminated=!0),this._receiveSignal(ll,e)},onResponderTerminationRequest:e=>{var t=this._config,r=t.cancelable,n=t.disabled,i=t.onLongPress;return!(!n&&null!=i&&this._isPointerTouch&&"contextmenu"===e.nativeEvent.type)&&(null==r||r)},onClick:e=>{var t=this._config,r=t.disabled,n=t.onPress;r?pl(e.currentTarget)&&e.stopPropagation():(e.stopPropagation(),this._longPressDispatched||this._selectionTerminated?e.preventDefault():null!=n&&!1===e.altKey&&n(e))},onContextMenu:e=>{var t=this._config,r=t.disabled,n=t.onLongPress;r?pl(e.currentTarget)&&e.stopPropagation():null!=n&&this._isPointerTouch&&!e.defaultPrevented&&(e.preventDefault(),e.stopPropagation())}}}_receiveSignal(e,t){var r=this._touchState,n=null;null!=ul[r]&&(n=ul[r][e]),this._touchState===nl&&e===sl||(null==n||n===tl?console.error("PressResponder: Invalid signal "+e+" for state "+r+" on responder"):r!==n&&(this._performTransitionSideEffects(r,n,e,t),this._touchState=n))}_performTransitionSideEffects(e,t,r,n){if((e=>e===ll||e===sl)(r)&&(setTimeout((()=>{this._isPointerTouch=!1}),0),this._touchActivatePosition=null,this._cancelLongPressDelayTimeout()),fl(e)&&r===rl){var i=this._config.onLongPress;null!=i&&null==n.nativeEvent.key&&(i(n),this._longPressDispatched=!0)}var a=hl(e),o=hl(t);if(!a&&o?this._activate(n):a&&!o&&this._deactivate(n),fl(e)&&r===sl){var s=this._config,l=s.onLongPress;null!=s.onPress&&(null!=l&&e===il||o||a||(this._activate(n),this._deactivate(n)))}this._cancelPressDelayTimeout()}_activate(e){var t=this._config,r=t.onPressChange,n=t.onPressStart,i=_l(e);this._touchActivatePosition={pageX:i.pageX,pageY:i.pageY},null!=n&&n(e),null!=r&&r(!0)}_deactivate(e){var t=this._config,r=t.onPressChange,n=t.onPressEnd;function i(){null!=n&&n(e),null!=r&&r(!1)}var a=gl(this._config.delayPressEnd);a>0?this._pressOutDelayTimeout=setTimeout((()=>{i()}),a):i()}_handleLongPress(e){this._touchState!==al&&this._touchState!==il||this._receiveSignal(rl,e)}_cancelLongPressDelayTimeout(){null!=this._longPressDelayTimeout&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)}_cancelPressDelayTimeout(){null!=this._pressDelayTimeout&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)}_cancelPressOutDelayTimeout(){null!=this._pressOutDelayTimeout&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)}}function gl(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),Math.max(t,null!=e?e:r)}function _l(e){var t=e.nativeEvent,r=t.changedTouches,n=t.touches;return null!=n&&n.length>0?n[0]:null!=r&&r.length>0?r[0]:e.nativeEvent}function yl(e,t){var r=(0,at.useRef)(null);null==r.current&&(r.current=new ml(t));var n=r.current;return(0,at.useEffect)((()=>{n.configure(t)}),[t,n]),(0,at.useEffect)((()=>()=>{n.reset()}),[n]),(0,at.useDebugValue)(t),n.getEventHandlers()}var bl=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function Sl(e,t){var r=e.activeOpacity,n=e.delayPressIn,i=e.delayPressOut,a=e.delayLongPress,o=e.disabled,s=e.focusable,l=e.onLongPress,u=e.onPress,c=e.onPressIn,d=e.onPressOut,h=e.rejectResponderTermination,f=e.style,v=p(e,bl),m=ar(t,(0,at.useRef)(null)),g=(0,at.useState)("0s"),_=g[0],y=g[1],b=(0,at.useState)(null),S=b[0],R=b[1],E=(0,at.useCallback)(((e,t)=>{R(e),y(t?t/1e3+"s":"0s")}),[R,y]),C=(0,at.useCallback)((e=>{E(null!=r?r:.2,e)}),[r,E]),w=(0,at.useCallback)((e=>{E(null,e)}),[E]),T=yl(0,(0,at.useMemo)((()=>({cancelable:!h,disabled:o,delayLongPress:a,delayPressStart:n,delayPressEnd:i,onLongPress:l,onPress:u,onPressStart(e){var t=null!=e.dispatchConfig?"onResponderGrant"===e.dispatchConfig.registrationName:"keydown"===e.type;C(t?0:150),null!=c&&c(e)},onPressEnd(e){w(250),null!=d&&d(e)}})),[a,n,i,o,l,u,c,d,h,C,w]));return at.createElement(Xr,Ut({},v,T,{accessibilityDisabled:o,focusable:!o&&!1!==s,pointerEvents:o?"box-none":void 0,ref:m,style:[Rl.root,!o&&Rl.actionable,f,null!=S&&{opacity:S},{transitionDuration:_}]}))}var Rl=$e.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),El=at.memo(at.forwardRef(Sl));El.displayName="TouchableOpacity";const Cl=El;var wl=at.forwardRef(((e,t)=>{var r=e.accessibilityLabel,n=e.color,i=e.disabled,a=e.onPress,o=e.testID,s=e.title;return at.createElement(Cl,{accessibilityLabel:r,accessibilityRole:"button",disabled:i,focusable:!i,onPress:a,ref:t,style:[Tl.button,n&&{backgroundColor:n},i&&Tl.buttonDisabled],testID:o},at.createElement(to,{style:[Tl.text,i&&Tl.textDisabled]},s))}));wl.displayName="Button";var Tl=$e.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});const kl=wl;var xl=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],Pl=at.forwardRef(((e,t)=>{var r=e["aria-readonly"],n=e.color,i=e.disabled,a=e.onChange,o=e.onValueChange,s=e.readOnly,l=e.style,u=e.value,c=p(e,xl),d=at.createElement(Xr,{style:[Il.fakeControl,u&&Il.fakeControlChecked,u&&n&&{backgroundColor:n,borderColor:n},i&&Il.fakeControlDisabled,u&&i&&Il.fakeControlCheckedAndDisabled]}),h=vt("input",{checked:u,disabled:i,onChange:function(e){var t=e.nativeEvent.target.checked;e.nativeEvent.value=t,a&&a(e),o&&o(t)},readOnly:!0===s||!0===r||!0===c.accessibilityReadOnly,ref:t,style:[Il.nativeControl,Il.cursorInherit],type:"checkbox"});return at.createElement(Xr,Ut({},c,{"aria-disabled":i,"aria-readonly":r,style:[Il.root,l,i&&Il.cursorDefault]}),d,h)}));Pl.displayName="CheckBox";var Il=$e.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:h(h({},$e.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const Al=Pl;var Nl=["children","style","imageStyle","imageRef"],Ll={},Ol=(0,at.forwardRef)(((e,t)=>{var r=e.children,n=e.style,i=void 0===n?Ll:n,a=e.imageStyle,o=e.imageRef,s=p(e,Nl),l=$e.flatten(i),u=l.height,c=l.width;return at.createElement(Xr,{ref:t,style:i},at.createElement(Fa,Ut({},s,{ref:o,style:[{width:c,height:u,zIndex:-1},$e.absoluteFill,a]})),r)}));Ol.displayName="ImageBackground";const Ml=Ol;var Dl=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Vl extends at.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=e=>{this.frame=e.nativeEvent.layout}}relativeKeyboardHeight(e){var t=this.frame;if(!t||!e)return 0;var r=e.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(t.y+t.height-r,0)}onKeyboardChange(e){}render(){var e=this.props,t=(e.behavior,e.contentContainerStyle,e.keyboardVerticalOffset,p(e,Dl));return at.createElement(Xr,Ut({onLayout:this.onLayout},t))}}const Bl=Vl,Fl=function(e){var t=e.children,r=at.useRef(null);if(E&&!r.current){var n=document.createElement("div");n&&document.body&&(document.body.appendChild(n),r.current=n)}return at.useEffect((()=>{if(E)return()=>{document.body&&r.current&&(document.body.removeChild(r.current),r.current=null)}}),[]),r.current&&E?gt().createPortal(t,r.current):null};function Hl(e,t){return"slide"===e?t?Wl:jl:"fade"===e?t?Ul:Kl:t?zl.container:zl.hidden}var zl=$e.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:"300ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:"300ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),Wl=[zl.container,zl.animatedIn,zl.slideIn],jl=[zl.container,zl.animatedOut,zl.slideOut],Ul=[zl.container,zl.animatedIn,zl.fadeIn],Kl=[zl.container,zl.animatedOut,zl.fadeOut];const Gl=function(e){var t=e.animationType,r=e.children,n=e.onDismiss,i=e.onShow,a=e.visible,o=at.useState(!1),s=o[0],l=o[1],u=at.useRef(!1),c=at.useRef(!1),d=t&&"none"!==t,h=at.useCallback((e=>{e&&e.currentTarget!==e.target||(a?i&&i():l(!1))}),[i,a]);return at.useEffect((()=>{c.current&&!s&&n&&n(),c.current=s}),[s,n]),at.useEffect((()=>{a&&l(!0),a===u.current||d||h(),u.current=a}),[d,a,h]),s||a?vt("div",{style:s?Hl(t,a):zl.hidden,onAnimationEnd:h,children:r}):null};var Yl=["active","children","onRequestClose","transparent"],ql=at.forwardRef(((e,t)=>{var r=e.active,n=e.children,i=e.onRequestClose,a=e.transparent,o=p(e,Yl);at.useEffect((()=>{if(E){var e=e=>{r&&"Escape"===e.key&&(e.stopPropagation(),i&&i())};return document.addEventListener("keyup",e,!1),()=>document.removeEventListener("keyup",e,!1)}}),[r,i]);var s=at.useMemo((()=>[Xl.modal,a?Xl.modalTransparent:Xl.modalOpaque]),[a]);return at.createElement(Xr,Ut({},o,{"aria-modal":!0,ref:t,role:r?"dialog":null,style:s}),at.createElement(Xr,{style:Xl.container},n))})),Xl=$e.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}});const $l=ql;var Zl=()=>vt("div",{role:"none",tabIndex:0,style:ru.focusBracket});function Jl(e){if(!E)return!1;try{e.focus()}catch(e){}return document.activeElement===e}function Ql(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if(Jl(r)||Ql(r))return!0}return!1}function eu(e){for(var t=e.childNodes.length-1;t>=0;t--){var r=e.childNodes[t];if(Jl(r)||eu(r))return!0}return!1}const tu=e=>{var t=e.active,r=e.children,n=at.useRef(),i=at.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return at.useEffect((()=>{if(E){var e=()=>{if(null!=n.current&&!i.current.trapFocusInProgress&&t){try{if(i.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!n.current.contains(document.activeElement)){var e=Ql(n.current);i.current.lastFocusedElement===document.activeElement&&(e=eu(n.current)),!e&&null!=n.current&&document.activeElement&&Mt.focus(n.current)}}finally{i.current.trapFocusInProgress=!1}i.current.lastFocusedElement=document.activeElement}};return e(),document.addEventListener("focus",e,!0),()=>document.removeEventListener("focus",e,!0)}}),[t]),at.useEffect((function(){if(E){var e=document.activeElement;return function(){e&&document.contains(e)&&Mt.focus(e)}}}),[]),at.createElement(at.Fragment,null,at.createElement(Zl,null),at.createElement(Xr,{ref:n},r),at.createElement(Zl,null))};var ru=$e.create({focusBracket:{outlineStyle:"none"}}),nu=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],iu=0,au=[],ou={};function su(){if(0!==au.length){var e=au[au.length-1];au.forEach((t=>{t in ou&&ou[t](t===e)}))}}function lu(e){e in ou&&(ou[e](!1),delete ou[e]);var t=au.indexOf(e);-1!==t&&(au.splice(t,1),su())}const uu=at.forwardRef(((e,t)=>{var r=e.animationType,n=e.children,i=e.onDismiss,a=e.onRequestClose,o=e.onShow,s=e.transparent,l=e.visible,u=void 0===l||l,c=p(e,nu),d=at.useMemo((()=>iu++),[]),h=at.useState(!1),f=h[0],v=h[1],m=at.useCallback((()=>{lu(d),i&&i()}),[d,i]),g=at.useCallback((()=>{!function(e,t){lu(e),au.push(e),ou[e]=t,su()}(d,v),o&&o()}),[d,o]);return at.useEffect((()=>()=>lu(d)),[d]),at.createElement(Fl,null,at.createElement(Gl,{animationType:r,onDismiss:m,onShow:g,visible:u},at.createElement(tu,{active:f},at.createElement($l,Ut({},c,{active:f,onRequestClose:a,ref:t,transparent:s}),n))))}));var cu=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],du=at.forwardRef(((e,t)=>{var r=e.children,n=e.enabled,i=e.onValueChange,a=e.selectedValue,o=e.style,s=e.testID,l=(e.itemStyle,e.mode,e.prompt,p(e,cu)),u=at.useRef(null),c=h({children:r,disabled:!1===n||void 0,onChange:function(e){var t=e.target,r=t.selectedIndex,n=t.value;i&&i(n,r)},style:[hu.initial,o],testID:s,value:a},l),d=ar(u,lr(c),t);return c.ref=d,vt("select",c)}));du.Item=function(e){var t=e.color,r=e.label,n=e.testID,i=e.value;return vt("option",{children:r,style:{color:t},testID:n,value:i})};var hu=$e.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}});const pu=du;var fu=()=>{},vu=function(){var e=!1;if(E)try{var t={};Object.defineProperty(t,"passive",{get:()=>(e=!0,!1)}),window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function mu(){return this.cancelBubble}function gu(){return this.defaultPrevented}function _u(e,t,r,n){var i=function(e){return null!=e&&(vu?e:Boolean(e.capture))}(n),a=e=>{return r(((t=e).nativeEvent=t,t.persist=fu,t.isDefaultPrevented=gu,t.isPropagationStopped=mu,t));var t};return e.addEventListener(t,a,i),function(){null!=e&&e.removeEventListener(t,a,i)}}var yu,bu,Su="keyboard",Ru="keyboard",Eu=!1,Cu=new Set,wu="keyboard",Tu="mouse",ku="touch",xu="contextmenu",Pu="mousedown",Iu="mousemove",Au="mouseup",Nu="pointerdown",Lu="pointermove",Ou="scroll",Mu="selectionchange",Du="touchcancel",Vu="touchmove",Bu="touchstart",Fu={passive:!0},Hu={capture:!0,passive:!0};function zu(){null==yu&&null==bu||(null!=yu&&(Ru=yu,yu=null),null!=bu&&(Su=bu,bu=null),ju())}function Wu(e){var t=e.type;if("undefined"!=typeof window&&null!=window.PointerEvent){if(t===Nu)return void(Su!==e.pointerType&&(Ru=e.pointerType,Su=e.pointerType,ju()));if(t===Lu)return void(Ru!==e.pointerType&&(Ru=e.pointerType,ju()))}else{if(Eu||(t===Pu&&Su!==Tu&&(Ru=Tu,Su=Tu,ju()),t===Iu&&Ru!==Tu&&(Ru=Tu,ju())),t===Bu)return Eu=!0,e.touches&&e.touches.length>1&&(Eu=!1),void(Su!==ku&&(Ru=ku,Su=ku,ju()));t!==xu&&t!==Au&&t!==Mu&&t!==Ou&&t!==Du&&t!==Vu||(Eu=!1)}}function ju(){var e={activeModality:Su,modality:Ru};Cu.forEach((t=>{t(e)}))}function Uu(e,t){var r=sr((()=>new Map)),n=sr((()=>(n,i)=>{var a=r.get(n);null!=a&&a(),null==i&&(r.delete(n),i=()=>{});var o=_u(n,e,i,t);return r.set(n,o),o}));return er((()=>()=>{r.forEach((e=>{e()})),r.clear()}),[r]),n}E&&(_u(window,"blur",(function(){yu=Ru,bu=Su,Su=wu,Ru=wu,ju(),Eu=!1}),Fu),_u(window,"focus",(function(){zu()}),Fu),_u(document,"keydown",(function(e){e.metaKey||e.altKey||e.ctrlKey||Ru!==wu&&(Ru=wu,Su=wu,ju())}),Hu),_u(document,"visibilitychange",(function(){"hidden"!==document.visibilityState&&zu()}),Hu),_u(document,Nu,Wu,Hu),_u(document,Lu,Wu,Hu),_u(document,xu,Wu,Hu),_u(document,Pu,Wu,Hu),_u(document,Iu,Wu,Hu),_u(document,Au,Wu,Hu),_u(document,Du,Wu,Hu),_u(document,Vu,Wu,Hu),_u(document,Bu,Wu,Hu),_u(document,Mu,Wu,Hu),_u(document,Ou,Wu,Hu));var Ku={},Gu={passive:!0},Yu="react-gui:hover:lock",qu="react-gui:hover:unlock";function Xu(e,t,r){var n=document.createEvent("CustomEvent"),i=r||Ku,a=i.bubbles,o=void 0===a||a,s=i.cancelable,l=void 0===s||s,u=i.detail;n.initCustomEvent(t,o,l,u),e.dispatchEvent(n)}function $u(e){var t=e.pointerType;return null!=t?t:Ru}var Zu=["children","delayLongPress","delayPressIn","delayPressOut","disabled","onBlur","onContextMenu","onFocus","onHoverIn","onHoverOut","onKeyDown","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","tabIndex","testOnly_hovered","testOnly_pressed"];function Ju(e,t){var r=e.children,n=e.delayLongPress,i=e.delayPressIn,a=e.delayPressOut,o=e.disabled,s=e.onBlur,l=e.onContextMenu,u=e.onFocus,c=e.onHoverIn,d=e.onHoverOut,h=e.onKeyDown,f=e.onLongPress,v=e.onPress,m=e.onPressMove,g=e.onPressIn,_=e.onPressOut,y=e.style,b=e.tabIndex,S=e.testOnly_hovered,R=e.testOnly_pressed,E=p(e,Zu),C=Qu(!0===S),w=C[0],T=C[1],k=Qu(!1),x=k[0],P=k[1],I=Qu(!0===R),A=I[0],N=I[1],L=(0,at.useRef)(null),O=ar(t,L),M=yl(0,(0,at.useMemo)((()=>({delayLongPress:n,delayPressStart:i,delayPressEnd:a,disabled:o,onLongPress:f,onPress:v,onPressChange:N,onPressStart:g,onPressMove:m,onPressEnd:_})),[n,i,a,o,f,v,g,m,_,N])),D=M.onContextMenu,V=M.onKeyDown;!function(e,t){var r=t.contain,n=t.disabled,i=t.onHoverStart,a=t.onHoverChange,o=t.onHoverUpdate,s=t.onHoverEnd,l=!("undefined"==typeof window||null==window.PointerEvent),u=Uu(l?"pointermove":"mousemove",Gu),c=Uu(l?"pointerenter":"mouseenter",Gu),d=Uu(l?"pointerleave":"mouseleave",Gu),h=Uu(Yu,Gu),p=Uu(qu,Gu);er((()=>{var t=e.current;if(null!==t){var l=function(e){null!=s&&s(e),null!=a&&a(!1),u(t,null),d(t,null)},f=function(t){var n=e.current;null!=n&&"touch"!==$u(t)&&(r&&Xu(n,qu),l(t))},v=function(e){"touch"!==$u(e)&&null!=o&&(null==e.x&&(e.x=e.clientX),null==e.y&&(e.y=e.clientY),o(e))},m=function(e){null!=i&&i(e),null!=a&&a(!0),null!=o&&u(t,n?null:v),d(t,n?null:f)};c(t,n?null:function(t){var i=e.current;null!=i&&"touch"!==$u(t)&&(r&&Xu(i,Yu),m(t),h(i,n?null:function(e){e.target!==i&&l(t)}),p(i,n?null:function(e){e.target!==i&&m(t)}))})}}),[c,u,d,h,p,r,n,i,a,o,s,e])}(L,{contain:!0,disabled:o,onHoverChange:T,onHoverStart:c,onHoverEnd:d});var B,F={hovered:w,focused:x,pressed:A},H=at.useCallback((e=>{e.nativeEvent.target===L.current&&(P(!1),null!=s&&s(e))}),[L,P,s]),z=at.useCallback((e=>{e.nativeEvent.target===L.current&&(P(!0),null!=u&&u(e))}),[L,P,u]),W=at.useCallback((e=>{null!=D&&D(e),null!=l&&l(e)}),[l,D]),j=at.useCallback((e=>{null!=V&&V(e),null!=h&&h(e)}),[h,V]);return B=void 0!==b?b:o?-1:0,at.createElement(Xr,Ut({},E,M,{"aria-disabled":o,onBlur:H,onContextMenu:W,onFocus:z,onKeyDown:j,ref:O,style:[o?ec.disabled:ec.active,"function"==typeof y?y(F):y],tabIndex:B}),"function"==typeof r?r(F):r)}function Qu(e){var t=(0,at.useState)(!1);return[t[0]||e,t[1]]}var ec=$e.create({active:{cursor:"pointer",touchAction:"manipulation"},disabled:{pointerEvents:"box-none"}}),tc=(0,at.memo)((0,at.forwardRef)(Ju));tc.displayName="Pressable";const rc=tc;var nc=["color","indeterminate","progress","trackColor","style"],ic=at.forwardRef(((e,t)=>{var r=e.color,n=void 0===r?"#1976D2":r,i=e.indeterminate,a=void 0!==i&&i,o=e.progress,s=void 0===o?0:o,l=e.trackColor,u=void 0===l?"transparent":l,c=e.style,d=p(e,nc),h=100*s,f=a?"25%":h+"%";return at.createElement(Xr,Ut({},d,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a?null:h,ref:t,role:"progressbar",style:[ac.track,c,{backgroundColor:u}]}),at.createElement(Xr,{style:[{backgroundColor:n,width:f},ac.progress,a&&ac.animation]}))}));ic.displayName="ProgressBar";var ac=$e.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}});const oc=ic;var sc=["style"],lc=E&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env",uc=at.forwardRef(((e,t)=>{var r=e.style,n=p(e,sc);return at.createElement(Xr,Ut({},n,{ref:t,style:[cc.root,r]}))}));uc.displayName="SafeAreaView";var cc=$e.create({root:{paddingTop:lc+"(safe-area-inset-top)",paddingRight:lc+"(safe-area-inset-right)",paddingBottom:lc+"(safe-area-inset-bottom)",paddingLeft:lc+"(safe-area-inset-left)"}});const dc=uc;var hc=()=>{};function pc(){return null}pc.setBackgroundColor=hc,pc.setBarStyle=hc,pc.setHidden=hc,pc.setNetworkActivityIndicatorVisible=hc,pc.setTranslucent=hc;const fc=pc;var vc=/^[+-]?\d*(?:\.\d+)?(?:[Ee][+-]?\d+)?(%|\w*)/;const mc=(e,t)=>{var r;return"string"==typeof e?""+parseFloat(e)*t+e.match(vc)[1]:(r=e,!isNaN(parseFloat(r))&&isFinite(r)?e*t:void 0)};var gc=["aria-label","accessibilityLabel","activeThumbColor","activeTrackColor","disabled","onValueChange","style","thumbColor","trackColor","value"],_c={},yc="0px 1px 3px rgba(0,0,0,0.5)",bc=yc+", 0 0 0 10px rgba(0,0,0,0.1)",Sc="#D5D5D5",Rc="#BDBDBD",Ec=at.forwardRef(((e,t)=>{var r=e["aria-label"],n=e.accessibilityLabel,i=e.activeThumbColor,a=e.activeTrackColor,o=e.disabled,s=void 0!==o&&o,l=e.onValueChange,u=e.style,c=void 0===u?_c:u,d=e.thumbColor,h=e.trackColor,f=e.value,v=void 0!==f&&f,m=p(e,gc),g=at.useRef(null);function _(e){var t="focus"===e.nativeEvent.type?bc:yc;null!=g.current&&(g.current.style.boxShadow=t)}var y=$e.flatten(c),b=y.height,S=y.width,R=b||"20px",E=mc(R,2),C=S>E?S:E,w=mc(R,.5),T=!0===v?null!=h&&"object"==typeof h?h.true:null!=a?a:"#A3D3CF":null!=h&&"object"==typeof h?h.false:null!=h?h:"#939393",k=v?null!=i?i:"#009688":null!=d?d:"#FAFAFA",x=R,P=x,I=[Cc.root,c,s&&Cc.cursorDefault,{height:R,width:C}],A=!0===v?"string"==typeof a&&null!=a||"object"==typeof h&&null!=h&&h.true?T:Sc:"string"==typeof h&&null!=h||"object"==typeof h&&null!=h&&h.false?T:Sc,N=!0===v?null==i?Rc:k:null==d?Rc:k,L=[Cc.track,{backgroundColor:s?A:T,borderRadius:w}],O=[Cc.thumb,v&&Cc.thumbActive,{backgroundColor:s?N:k,height:x,marginStart:v?mc(P,-1):0,width:P}],M=vt("input",{"aria-label":r||n,checked:v,disabled:s,onBlur:_,onChange:function(e){null!=l&&l(e.nativeEvent.target.checked)},onFocus:_,ref:t,style:[Cc.nativeControl,Cc.cursorInherit],type:"checkbox",role:"switch"});return at.createElement(Xr,Ut({},m,{style:I}),at.createElement(Xr,{style:L}),at.createElement(Xr,{ref:g,style:O}),M)}));Ec.displayName="Switch";var Cc=$e.create({root:{cursor:"pointer",userSelect:"none"},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},track:h(h({forcedColorAdjust:"none"},$e.absoluteFillObject),{},{height:"70%",margin:"auto",transitionDuration:"0.1s",width:"100%"}),thumb:{forcedColorAdjust:"none",alignSelf:"flex-start",borderRadius:"100%",boxShadow:yc,start:"0%",transform:"translateZ(0)",transitionDuration:"0.1s"},thumbActive:{insetInlineStart:"100%"},nativeControl:h(h({},$e.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const wc=Ec;var Tc=(e,t)=>{if(((e,t)=>{var r=e.selectionEnd,n=e.selectionStart,i=t.start,a=t.end;return i!==n||a!==r})(e,t)){var r=t.start,n=t.end;try{e.setSelectionRange(r,n||r)}catch(e){}}},kc=Object.assign({},Kt,Gt,Yt,qt,Xt,$t,Zt,Jt,{autoCapitalize:!0,autoComplete:!0,autoCorrect:!0,autoFocus:!0,defaultValue:!0,disabled:!0,lang:!0,maxLength:!0,onChange:!0,onScroll:!0,placeholder:!0,pointerEvents:!0,readOnly:!0,rows:!0,spellCheck:!0,value:!0,type:!0}),xc=null,Pc=at.forwardRef(((e,t)=>{var r,n,i=e.autoCapitalize,a=void 0===i?"sentences":i,o=e.autoComplete,s=e.autoCompleteType,l=e.autoCorrect,u=void 0===l||l,c=e.blurOnSubmit,d=e.caretHidden,h=e.clearTextOnFocus,p=e.dir,f=e.editable,v=e.enterKeyHint,m=e.inputMode,g=e.keyboardType,_=e.multiline,y=void 0!==_&&_,b=e.numberOfLines,S=e.onBlur,R=e.onChange,E=e.onChangeText,C=e.onContentSizeChange,w=e.onFocus,T=e.onKeyPress,k=e.onLayout,x=e.onMoveShouldSetResponder,P=e.onMoveShouldSetResponderCapture,I=e.onResponderEnd,A=e.onResponderGrant,N=e.onResponderMove,L=e.onResponderReject,O=e.onResponderRelease,M=e.onResponderStart,D=e.onResponderTerminate,V=e.onResponderTerminationRequest,B=e.onScrollShouldSetResponder,F=e.onScrollShouldSetResponderCapture,H=e.onSelectionChange,z=e.onSelectionChangeShouldSetResponder,W=e.onSelectionChangeShouldSetResponderCapture,j=e.onStartShouldSetResponder,U=e.onStartShouldSetResponderCapture,K=e.onSubmitEditing,G=e.placeholderTextColor,Y=e.readOnly,q=void 0!==Y&&Y,X=e.returnKeyType,$=e.rows,Z=e.secureTextEntry,J=void 0!==Z&&Z,Q=e.selection,ee=e.selectTextOnFocus,te=e.showSoftInputOnFocus,re=e.spellCheck;if(null!=m)n=m,r="email"===m?"email":"tel"===m?"tel":"search"===m?"search":"url"===m?"url":"text";else if(null!=g)switch(g){case"email-address":r="email";break;case"number-pad":case"numeric":n="numeric";break;case"decimal-pad":n="decimal";break;case"phone-pad":r="tel";break;case"search":case"web-search":r="search";break;case"url":r="url";break;default:r="text"}J&&(r="password");var ne=at.useRef({height:null,width:null}),ie=at.useRef(null),ae=at.useRef(null),oe=at.useRef(!1);at.useEffect((()=>{ie.current&&ae.current&&Tc(ie.current,ae.current),oe.current=J}),[J]);var se=at.useCallback((e=>{if(y&&C&&null!=e){var t=e.scrollHeight,r=e.scrollWidth;t===ne.current.height&&r===ne.current.width||(ne.current.height=t,ne.current.width=r,C({nativeEvent:{contentSize:{height:ne.current.height,width:ne.current.width}}}))}}),[y,C]),le=at.useMemo((()=>e=>{null!=e&&(e.clear=function(){null!=e&&(e.value="")},e.isFocused=function(){return null!=e&&cn.currentlyFocusedField()===e},se(e))}),[se]);er((()=>{var e=ie.current;null!=e&&null!=Q&&Tc(e,Q),document.activeElement===e&&(cn._currentlyFocusedNode=e)}),[ie,Q]);var ue=y?"textarea":"input";nr(ie,k),jr(ie,{onMoveShouldSetResponder:x,onMoveShouldSetResponderCapture:P,onResponderEnd:I,onResponderGrant:A,onResponderMove:N,onResponderReject:L,onResponderRelease:O,onResponderStart:M,onResponderTerminate:D,onResponderTerminationRequest:V,onScrollShouldSetResponder:B,onScrollShouldSetResponderCapture:F,onSelectionChangeShouldSetResponder:z,onSelectionChangeShouldSetResponderCapture:W,onStartShouldSetResponder:j,onStartShouldSetResponderCapture:U});var ce=ft().direction,de=(e=>Qt(e,kc))(e);de.autoCapitalize=a,de.autoComplete=o||s||"on",de.autoCorrect=u?"on":"off",de.dir=void 0!==p?p:"auto",de.enterKeyHint=v||X,de.inputMode=n,de.onBlur=function(e){cn._currentlyFocusedNode=null,S&&(e.nativeEvent.text=e.target.value,S(e))},de.onChange=function(e){var t=e.target,r=t.value;e.nativeEvent.text=r,se(t),R&&R(e),E&&E(r)},de.onFocus=function(e){var t=e.target;w&&(e.nativeEvent.text=t.value,w(e)),null!=t&&(cn._currentlyFocusedNode=t,h&&(t.value=""),ee&&(null!=xc&&clearTimeout(xc),xc=setTimeout((()=>{null!=t&&document.activeElement===t&&t.select()}),0)))},de.onKeyDown=function(e){var t=e.target;e.stopPropagation();var r=null==c?!y:c,n=e.nativeEvent,i=function(e){return e.isComposing||229===e.keyCode}(n);T&&T(e),"Enter"!==e.key||e.shiftKey||i||e.isDefaultPrevented()||(!c&&y||!K||(e.preventDefault(),n.text=e.target.value,K(e)),r&&null!=t&&setTimeout((()=>t.blur()),0))},de.onSelect=function(e){try{var t=e.target,r={start:t.selectionStart,end:t.selectionEnd};H&&(e.nativeEvent.selection=r,e.nativeEvent.text=e.target.value,H(e)),oe.current===J&&(ae.current=r)}catch(e){}},de.readOnly=!0===q||!1===f,de.rows=y?null!=$?$:b:1,de.spellCheck=null!=re?re:u,de.style=[{"--placeholderTextColor":G},Ic.textinput$raw,Ic.placeholder,e.style,d&&Ic.caretHidden],de.type=y?void 0:r,de.virtualkeyboardpolicy=!1===te?"manual":"auto";var he=lr(de),pe=ar(ie,he,le,t);de.ref=pe;var fe=null!=e.lang?ht(e.lang):null,ve=e.dir||fe;return vt(ue,de,{writingDirection:ve||ce})}));Pc.displayName="TextInput",Pc.State=cn;var Ic=$e.create({textinput$raw:{MozAppearance:"textfield",WebkitAppearance:"none",backgroundColor:"transparent",border:"0 solid black",borderRadius:0,boxSizing:"border-box",font:"14px System",margin:0,padding:0,resize:"none"},placeholder:{placeholderTextColor:"var(--placeholderTextColor)"},caretHidden:{caretColor:"transparent"}});const Ac=Pc;var Nc=function(e,t){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,e,t),n}return new r(e,t)},Lc=function(e){var t=this;e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},Oc=Nc;const Mc=function(e,t){var r=e;return r.instancePool=[],r.getPooled=t||Oc,r.poolSize||(r.poolSize=10),r.release=Lc,r},Dc=Nc;var Vc=Dc;function Bc(e,t){this.width=e,this.height=t}Bc.prototype.destructor=function(){this.width=null,this.height=null},Bc.getPooledFromElement=function(e){return Bc.getPooled(e.offsetWidth,e.offsetHeight)},Mc(Bc,Vc);const Fc=Bc;var Hc=Dc;function zc(e,t){this.left=e,this.top=t}zc.prototype.destructor=function(){this.left=null,this.top=null},Mc(zc,Hc);const Wc=zc;var jc=e=>{var t=e.touches,r=e.changedTouches,n=t&&t.length>0,i=r&&r.length>0;return!n&&i?r[0]:n?t[0]:e},Uc="NOT_RESPONDER",Kc="RESPONDER_INACTIVE_PRESS_IN",Gc="RESPONDER_INACTIVE_PRESS_OUT",Yc="RESPONDER_ACTIVE_PRESS_IN",qc="RESPONDER_ACTIVE_PRESS_OUT",Xc="RESPONDER_ACTIVE_LONG_PRESS_IN",$c="RESPONDER_ACTIVE_LONG_PRESS_OUT",Zc="ERROR",Jc={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},Qc=h(h({},Jc),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),ed=h(h({},Jc),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),td=h(h({},Jc),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),rd="RESPONDER_RELEASE",nd="RESPONDER_TERMINATED",id="LONG_PRESS_DETECTED",ad={NOT_RESPONDER:{DELAY:Zc,RESPONDER_GRANT:Kc,RESPONDER_RELEASE:Zc,RESPONDER_TERMINATED:Zc,ENTER_PRESS_RECT:Zc,LEAVE_PRESS_RECT:Zc,LONG_PRESS_DETECTED:Zc},RESPONDER_INACTIVE_PRESS_IN:{DELAY:Yc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Kc,LEAVE_PRESS_RECT:Gc,LONG_PRESS_DETECTED:Zc},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:qc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Kc,LEAVE_PRESS_RECT:Gc,LONG_PRESS_DETECTED:Zc},RESPONDER_ACTIVE_PRESS_IN:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Yc,LEAVE_PRESS_RECT:qc,LONG_PRESS_DETECTED:Xc},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Yc,LEAVE_PRESS_RECT:qc,LONG_PRESS_DETECTED:Zc},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Xc,LEAVE_PRESS_RECT:$c,LONG_PRESS_DETECTED:Xc},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:Zc,RESPONDER_GRANT:Zc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Xc,LEAVE_PRESS_RECT:$c,LONG_PRESS_DETECTED:Zc},error:{DELAY:Uc,RESPONDER_GRANT:Kc,RESPONDER_RELEASE:Uc,RESPONDER_TERMINATED:Uc,ENTER_PRESS_RECT:Uc,LEAVE_PRESS_RECT:Uc,LONG_PRESS_DETECTED:Uc}},od={componentDidMount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&(this._touchableBlurListener=e=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==Uc&&this.touchableHandleResponderTerminate({nativeEvent:e}),this._isTouchableKeyboardActive=!1)},e.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&e.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=Uc,this.state.touchable.responderID=t,this._receiveSignal("RESPONDER_GRANT",e);var r=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(r=isNaN(r)?130:r)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),r):this._handleDelay(e);var n=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;n=isNaN(n)?370:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),n+r)},touchableHandleResponderRelease:function(e){this.pressInLocation=null,this._receiveSignal(rd,e)},touchableHandleResponderTerminate:function(e){this.pressInLocation=null,this._receiveSignal(nd,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},i=n.left,a=n.top,o=n.right,s=n.bottom,l=this.touchableGetHitSlop?this.touchableGetHitSlop():null;l&&(i+=l.left||0,a+=l.top||0,o+=l.right||0,s+=l.bottom||0);var u=jc(e.nativeEvent),c=u&&u.pageX,d=u&&u.pageY;if(this.pressInLocation&&this._getDistanceBetweenPoints(c,d,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout(),c>t.left-i&&d>t.top-a&&c<t.left+r.width+o&&d<t.top+r.height+s){var h=this.state.touchable.touchState;this._receiveSignal("ENTER_PRESS_RECT",e),this.state.touchable.touchState===Kc&&h!==Kc&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal("LEAVE_PRESS_RECT",e)}},touchableHandleFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},touchableHandleBlur:function(e){this.props.onBlur&&this.props.onBlur(e)},_remeasureMetricsOnActivation:function(){var e=this.state.touchable.responderID;null!=e&&Mt.measure(e,this._handleQueryLayout)},_handleQueryLayout:function(e,t,r,n,i,a){(e||t||r||n||i||a)&&(this.state.touchable.positionOnActivate&&Wc.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&Fc.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=Wc.getPooled(i,a),this.state.touchable.dimensionsOnActivate=Fc.getPooled(r,n))},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal("DELAY",e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null;var t=this.state.touchable.touchState;t!==Yc&&t!==Xc?console.error("Attempted to transition from state `"+t+"` to `"+Xc+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(id,e)},_receiveSignal:function(e,t){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,i=ad[n]&&ad[n][e];if(r||e!==rd){if(!i)throw new Error("Unrecognized signal `"+e+"` or state `"+n+"` for Touchable responder `"+r+"`");if(i===Zc)throw new Error("Touchable cannot transition from `"+n+"` to `"+e+"` for responder `"+r+"`");n!==i&&(this._performSideEffectsForTransition(n,i,e,t),this.state.touchable.touchState=i)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===Yc||e===Xc},_savePressInLocation:function(e){var t=jc(e.nativeEvent),r=t&&t.pageX,n=t&&t.pageY,i=t&&t.locationX,a=t&&t.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:i,locationY:a}},_getDistanceBetweenPoints:function(e,t,r,n){var i=e-r,a=t-n;return Math.sqrt(i*i+a*a)},_performSideEffectsForTransition:function(e,t,r,n){var i=this._isHighlight(e),a=this._isHighlight(t);(r===nd||r===rd)&&this._cancelLongPressDelayTimeout();var o=e===Uc&&t===Kc,s=!Qc[e]&&Qc[t];if((o||s)&&this._remeasureMetricsOnActivation(),ed[e]&&r===id&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),a&&!i?this._startHighlight(n):!a&&i&&this._endHighlight(n),ed[e]&&r===rd){var l=!!this.props.onLongPress,u=td[e]&&(!l||!this.touchableLongPressCancelsPress());(!td[e]||u)&&this.touchableHandlePress&&(a||i||(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){Mt.playTouchSound()},_startHighlight:function(e){this._savePressInLocation(e),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e)},_endHighlight:function(e){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout((()=>{this.touchableHandleActivePressOut(e)}),this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(e))},touchableHandleKeyEvent:function(e){var t=e.type,r=e.key;"Enter"!==r&&" "!==r||("keydown"===t?this._isTouchableKeyboardActive||this.state.touchable.touchState&&this.state.touchable.touchState!==Uc||(this.touchableHandleResponderGrant(e),this._isTouchableKeyboardActive=!0):"keyup"===t&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==Uc&&(this.touchableHandleResponderRelease(e),this._isTouchableKeyboardActive=!1),e.stopPropagation(),"Enter"===r&&"link"===l(this.props)||e.preventDefault())},withoutDefaultFocusAndBlur:{}},sd=(od.touchableHandleFocus,od.touchableHandleBlur,p(od,["touchableHandleFocus","touchableHandleBlur"]));od.withoutDefaultFocusAndBlur=sd;var ld={Mixin:od,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,r=e.hitSlop;if(!ld.TOUCH_TARGET_DEBUG)return null;var n={};for(var i in r=r||{top:0,bottom:0,left:0,right:0})n[i]=-r[i];var a=_()(t);if("number"!=typeof a)return null;var o="#"+("00000000"+a.toString(16)).substr(-8);return ot().createElement(Xr,{pointerEvents:"none",style:h({position:"absolute",borderColor:o.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:o.slice(0,-2)+"0F"},n)})}};const ud=ld;var cd=["activeOpacity","children","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onHideUnderlay","onLongPress","onPress","onPressIn","onPressOut","onShowUnderlay","rejectResponderTermination","style","testOnly_pressed","underlayColor"];function dd(e,t){return{child:{opacity:null!=e?e:.85},underlay:{backgroundColor:void 0===t?"black":t}}}function hd(e){return null!=e.onPress||null!=e.onPressIn||null!=e.onPressOut||null!=e.onLongPress}function pd(e,t){var r=e.activeOpacity,n=e.children,i=e.delayPressIn,a=e.delayPressOut,o=e.delayLongPress,s=e.disabled,l=e.focusable,u=e.onHideUnderlay,c=e.onLongPress,d=e.onPress,h=e.onPressIn,f=e.onPressOut,v=e.onShowUnderlay,m=e.rejectResponderTermination,g=e.style,_=e.testOnly_pressed,y=e.underlayColor,b=p(e,cd),S=ar(t,(0,at.useRef)(null)),R=(0,at.useState)(!0===_?dd(r,y):null),E=R[0],C=R[1],w=(0,at.useCallback)((()=>{hd(e)&&(C(dd(r,y)),null!=v&&v())}),[r,v,e,y]),T=(0,at.useCallback)((()=>{!0!==_&&hd(e)&&(C(null),null!=u&&u())}),[u,e,_]),k=yl(0,(0,at.useMemo)((()=>({cancelable:!m,disabled:s,delayLongPress:o,delayPressStart:i,delayPressEnd:a,onLongPress:c,onPress:d,onPressStart(e){w(),null!=h&&h(e)},onPressEnd(e){T(),null!=f&&f(e)}})),[o,i,a,s,c,d,h,f,m,w,T])),x=at.Children.only(n);return at.createElement(Xr,Ut({},b,k,{accessibilityDisabled:s,focusable:!s&&!1!==l,pointerEvents:s?"box-none":void 0,ref:S,style:[fd.root,g,!s&&fd.actionable,E&&E.underlay]}),at.cloneElement(x,{style:[x.props.style,E&&E.child]}))}var fd=$e.create({root:{userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),vd=at.memo(at.forwardRef(pd));vd.displayName="TouchableHighlight";const md=vd;var gd=["style"],_d={};const yd=function(e){var t=e.style,r=p(e,gd);return ot().createElement(Xr,Ut({},r,{style:[_d,t]}))},bd=yd;var Sd={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0};function Rd(e,t){var r=e.delayPressIn,n=e.delayPressOut,i=e.delayLongPress,a=e.disabled,o=e.focusable,s=e.onLongPress,l=e.onPress,u=e.onPressIn,c=e.onPressOut,d=e.rejectResponderTermination,h=(0,at.useRef)(null),p=yl(0,(0,at.useMemo)((()=>({cancelable:!d,disabled:a,delayLongPress:i,delayPressStart:r,delayPressEnd:n,onLongPress:s,onPress:l,onPressStart:u,onPressEnd:c})),[a,r,n,i,s,l,u,c,d])),f=at.Children.only(e.children),v=[f.props.children],m=(e=>Qt(e,Sd))(e);m.accessibilityDisabled=a,m.focusable=!a&&!1!==o,m.ref=ar(t,h,f.ref);var g=Object.assign(m,p);return at.cloneElement(f,g,...v)}var Ed=at.memo(at.forwardRef(Rd));Ed.displayName="TouchableWithoutFeedback";const Cd=Ed,wd=gi;function Td(e){return ot().createElement(yd,e)}Td.ignoreWarnings=()=>{};const kd=Td,xd={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}},Pd=wi;function Id(){var e=at.useState(ns.getColorScheme()),t=e[0],r=e[1];return at.useEffect((()=>ns.addChangeListener((function(e){r(e.colorScheme)})).remove)),t}const Ad=ft;function Nd(){var e=(0,at.useState)((()=>un.get("window"))),t=e[0],r=e[1];return(0,at.useEffect)((()=>{function e(e){var t=e.window;null!=t&&r(t)}return un.addEventListener("change",e),r(un.get("window")),()=>{un.removeEventListener("change",e)}}),[]),t}},515:e=>{function t(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function r(e,r,n){const i=n<.5?n*(1+r):n+r-n*r,a=2*n-i,o=t(a,i,e+1/3),s=t(a,i,e),l=t(a,i,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}const n="[-+]?\\d*\\.?\\d+",i=n+"%";function a(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function o(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let l;function u(e){const 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){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function h(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;const p=(void 0===l&&(l={rgb:new RegExp("rgb"+a(n,n,n)),rgba:new RegExp("rgba("+s(n,n,n,n)+"|"+o(n,n,n,n)+")"),hsl:new RegExp("hsl"+a(n,i,i)),hsla:new RegExp("hsla("+s(n,i,i,n)+"|"+o(n,i,i,n)+")"),hwb:new RegExp("hwb"+a(n,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})$/}),l);let f;if(f=p.hex6.exec(e))return parseInt(f[1]+"ff",16)>>>0;const v=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!=v?v:(f=p.rgb.exec(e))?(u(f[1])<<24|u(f[2])<<16|u(f[3])<<8|255)>>>0:(f=p.rgba.exec(e))?void 0!==f[6]?(u(f[6])<<24|u(f[7])<<16|u(f[8])<<8|d(f[9]))>>>0:(u(f[2])<<24|u(f[3])<<16|u(f[4])<<8|d(f[5]))>>>0:(f=p.hex3.exec(e))?parseInt(f[1]+f[1]+f[2]+f[2]+f[3]+f[3]+"ff",16)>>>0:(f=p.hex8.exec(e))?parseInt(f[1],16)>>>0:(f=p.hex4.exec(e))?parseInt(f[1]+f[1]+f[2]+f[2]+f[3]+f[3]+f[4]+f[4],16)>>>0:(f=p.hsl.exec(e))?(255|r(c(f[1]),h(f[2]),h(f[3])))>>>0:(f=p.hsla.exec(e))?void 0!==f[6]?(r(c(f[6]),h(f[7]),h(f[8]))|d(f[9]))>>>0:(r(c(f[2]),h(f[3]),h(f[4]))|d(f[5]))>>>0:(f=p.hwb.exec(e))?(255|function(e,r,n){if(r+n>=1){const e=Math.round(255*r/(r+n));return e<<24|e<<16|e<<8}const i=t(0,1,e+1/3)*(1-r-n)+r,a=t(0,1,e)*(1-r-n)+r,o=t(0,1,e-1/3)*(1-r-n)+r;return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*o)<<8}(c(f[1]),h(f[2]),h(f[3])))>>>0:null}},176:(e,t)=>{t.P=void 0;var r=new WeakMap;function n(e){var t,n,i;return null!=e&&(t=!0===e.disableCache,n=!0===e.disableMix,i=e.transform),function(){for(var e=[],a="",o=null,s=t?null:r,l=new Array(arguments.length),u=0;u<arguments.length;u++)l[u]=arguments[u];for(;l.length>0;){var c=l.pop();if(null!=c&&!1!==c)if(Array.isArray(c))for(var d=0;d<c.length;d++)l.push(c[d]);else{var h=null!=i?i(c):c;if(h.$$css){var p="";if(null!=s&&s.has(h)){var f=s.get(h);null!=f&&(p=f[0],e.push.apply(e,f[1]),s=f[2])}else{var v=[];for(var m in h){var g=h[m];"$$css"!==m&&("string"==typeof g||null===g?e.includes(m)||(e.push(m),null!=s&&v.push(m),"string"==typeof g&&(p+=p?" "+g:g)):console.error("styleq: ".concat(m," typeof ").concat(String(g),' is not "string" or "null".')))}if(null!=s){var _=new WeakMap;s.set(h,[p,v,_]),s=_}}p&&(a=a?p+" "+a:p)}else if(n)null==o&&(o={}),o=Object.assign({},h,o);else{var y=null;for(var b in h){var S=h[b];void 0!==S&&(e.includes(b)||(null!=S&&(null==o&&(o={}),null==y&&(y={}),y[b]=S),e.push(b),s=null))}null!=y&&(o=Object.assign(y,o))}}}return[a,o]}}var i=n();t.P=i,i.factory=n},336:(e,t)=>{t.n=function(e,t){if(null!=e[n]){var a=t?1:0;if(r.has(e)){var o=r.get(e),s=o[a];return null==s&&(s=i(e,t),o[a]=s,r.set(e,o)),s}var l=i(e,t),u=new Array(2);return u[a]=l,r.set(e,u),l}return e};var r=new WeakMap,n="$$css$localize";function i(e,t){var r={};for(var i in e)if(i!==n){var a=e[i];Array.isArray(a)?r[i]=t?a[1]:a[0]:r[i]=a}return r}},155:t=>{t.exports=e},514:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};i.r(a),i.d(a,{renderReactNativeInitialStyle:()=>s});var o=i(155);const s=(e,t="main")=>{const r=i(659),n=r.AppRegistry??r.default?.AppRegistry;n.registerComponent(t,(()=>e));const a=n.getApplication(t,{}).getStyleElement();if((0,o.isValidElement)(a))return a;throw new Error("Failed to render react-native initial style element!")};return a})()));
|