티스토리 수익 글 보기
/*! For license information please see 22.5036880c.js.LICENSE.txt */
try{let e=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof globalThis?globalThis:”undefined”!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=”2ef85f5a-e90d-4778-bbed-937108b46d6c”,e._sentryDebugIdIdentifier=”sentry-dbid-2ef85f5a-e90d-4778-bbed-937108b46d6c”)}catch(e){}{let e=”undefined”!==typeof window?window:”undefined”!==typeof global?global:”undefined”!==typeof globalThis?globalThis:”undefined”!==typeof self?self:{};e.SENTRY_RELEASE={id:”1.102.0″}}(self.webpackChunkweb=self.webpackChunkweb||[]).push([[22],{12792:e=>{“use strict”;const t=[];e.exports={registerAsset:function(e){return t.push(e)},getAssetByID:function(e){return t[e-1]}}},8795:e=>{“use strict”;function t(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function n(e,n,r){const i=r<.5?r*(1+n):r+n-r*n,o=2*r-i,a=t(o,i,e+1/3),s=t(o,i,e),l=t(o,i,e-1/3);return Math.round(255*a)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}const r="[-+]?\\d*\\.?\\d+",i=r+"%";function o(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function a(...e){return"\\(\\s*("+e.join(")\\s*(")+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let c;function u(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function d(e){return(parseFloat(e)%360+360)%360/360}function p(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(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 h=function(){void 0===c&&(c={rgb:new RegExp("rgb"+o(r,r,r)),rgba:new RegExp("rgba("+l(r,r,r,r)+"|"+s(r,r,r,r)+")"),hsl:new RegExp("hsl"+o(r,i,i)),hsla:new RegExp("hsla("+l(r,i,i,r)+"|"+s(r,i,i,r)+")"),hwb:new RegExp("hwb"+a(r,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})$/});return c}();let m;if(m=h.hex6.exec(e))return parseInt(m[1]+"ff",16)>>>0;const g=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!=g?g:(m=h.rgb.exec(e))?(u(m[1])<<24|u(m[2])<<16|u(m[3])<<8|255)>>>0:(m=h.rgba.exec(e))?void 0!==m[6]?(u(m[6])<<24|u(m[7])<<16|u(m[8])<<8|p(m[9]))>>>0:(u(m[2])<<24|u(m[3])<<16|u(m[4])<<8|p(m[5]))>>>0:(m=h.hex3.exec(e))?parseInt(m[1]+m[1]+m[2]+m[2]+m[3]+m[3]+”ff”,16)>>>0:(m=h.hex8.exec(e))?parseInt(m[1],16)>>>0:(m=h.hex4.exec(e))?parseInt(m[1]+m[1]+m[2]+m[2]+m[3]+m[3]+m[4]+m[4],16)>>>0:(m=h.hsl.exec(e))?(255|n(d(m[1]),f(m[2]),f(m[3])))>>>0:(m=h.hsla.exec(e))?void 0!==m[6]?(n(d(m[6]),f(m[7]),f(m[8]))|p(m[9]))>>>0:(n(d(m[2]),f(m[3]),f(m[4]))|p(m[5]))>>>0:(m=h.hwb.exec(e))?(255|function(e,n,r){if(n+r>=1){const e=Math.round(255*n/(n+r));return e<<24|e<<16|e<<8}const i=t(0,1,e+1/3)*(1-n-r)+n,o=t(0,1,e)*(1-n-r)+n,a=t(0,1,e-1/3)*(1-n-r)+n;return Math.round(255*i)<<24|Math.round(255*o)<<16|Math.round(255*a)<<8}(d(m[1]),f(m[2]),f(m[3])))>>>0:null}},13881:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{default:()=>pe});var i=r(63366),o=r(95189),a=r(95004),s=r(17365),l=r.n(s),c=r(67095),u=r(2066),d=r(75339),p=r(58236),f=r(59550),h=r(69052);const m=a.createContext(void 0),g=a.createContext(void 0);var y=r(33387);function v(e){let{color:t,size:n,style:r}=e;return a.createElement(y.default,{style:[b.icon,{color:t,fontSize:n},r]},”\u23f7″)}const b=f.default.create({icon:{backgroundColor:”transparent”}});var w=r(19202),k=r(2734);const _=(e,t)=>{const n=e.getParent();if(n){const e=n.getState();return _(n,{index:0,routes:[Object.assign({},e.routes[e.index],{state:t})]})}return t};var E=r(6740),S=r(67842),C=r(13308);var x=r(65010);const A=[“to”,”action”];function R(e){let{to:t,action:n}=e,r=(0,i.default)(e,A);const o=(0,x.default)({to:t,action:n});return a.createElement(y.default,Object.assign({},o,r,{onClick:e=>{var t;”onPress”in r&&(null===(t=r.onPress)||void 0===t||t.call(r,e));o.onPress(e)}}))}var T=r(88203),D=r.n(T),I=r(41711);const O=[“children”,”style”,”visible”,”size”],j=[“backgroundColor”];function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;tnew E.default.Value(r?1:0))),[c,u]=a.useState(r),d=(0,w.default)();if(a.useEffect((()=>{if(c)return E.default.timing(l,{toValue:r?1:0,duration:150,useNativeDriver:!0}).start((e=>{let{finished:t}=e;t&&!r&&u(!1)})),()=>l.stopAnimation()}),[l,c,r]),!c){if(!r)return null;u(!0)}const p=f.default.flatten(n)||{},{backgroundColor:h=d.colors.notification}=p,m=(0,i.default)(p,j),g=D()(h).isLight()?”black”:”white”,y=o/2,v=Math.floor(3*o/4);return a.createElement(E.default.Text,P({numberOfLines:1,style:[{transform:[{scale:l.interpolate({inputRange:[0,1],outputRange:[.5,1]})}],color:g,lineHeight:o-1,height:o,minWidth:o,opacity:l,backgroundColor:h,fontSize:v,borderRadius:y},N.container,m]},s),t)}const N=f.default.create({container:{alignSelf:”flex-end”,textAlign:”center”,paddingHorizontal:4,overflow:”hidden”}});function L(e){let{route:t,horizontal:n,badge:r,badgeStyle:i,activeOpacity:o,inactiveOpacity:s,activeTintColor:l,inactiveTintColor:c,renderIcon:u,style:d}=e;return a.createElement(S.default,{style:[n?F.iconHorizontal:F.iconVertical,d]},a.createElement(S.default,{style:[F.icon,{opacity:o}]},u({focused:!0,size:25,color:l})),a.createElement(S.default,{style:[F.icon,{opacity:s}]},u({focused:!1,size:25,color:c})),a.createElement(M,{visible:null!=r,style:[F.badge,n?F.badgeHorizontal:F.badgeVertical,i],size:75/4},r))}const F=f.default.create({icon:{position:”absolute”,alignSelf:”center”,alignItems:”center”,justifyContent:”center”,height:”100%”,width:”100%”,minWidth:25},iconVertical:{flex:1},iconHorizontal:{height:”100%”,marginTop:3},badge:{position:”absolute”,left:3},badgeVertical:{top:3},badgeHorizontal:{top:7}}),V=[“children”,”style”,”onPress”,”to”,”accessibilityRole”];function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{children:t,style:n,onPress:r,to:o,accessibilityRole:s}=e,l=(0,i.default)(e,V);return o?a.createElement(R,B({},l,{to:o,style:[U.button,n],onPress:e=>{e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||null!=e.button&&0!==e.button||(e.preventDefault(),null===r||void 0===r||r(e))}}),t):a.createElement(I.default,B({},l,{accessibilityRole:s,onPress:r,style:n}),t)}),accessibilityLabel:p,testID:f,onPress:h,onLongPress:m,horizontal:g,activeTintColor:v,inactiveTintColor:b,activeBackgroundColor:k=”transparent”,inactiveBackgroundColor:_=”transparent”,showLabel:E=!0,allowFontScaling:S,labelStyle:C,iconStyle:x,style:A}=e;const{colors:T}=(0,w.default)(),O=void 0===v?T.primary:v,j=void 0===b?D()(T.text).mix(D()(T.card),.5).hex():b,P={route:n,focused:t},M=t?k:_;return d({to:u,onPress:h,onLongPress:m,testID:f,accessibilityLabel:p,accessibilityRole:”tab”,accessibilityState:{selected:t},accessibilityStates:t?[“selected”]:[],style:[U.tab,{backgroundColor:M},g?U.tabLandscape:U.tabPortrait,A],children:a.createElement(a.Fragment,null,(e=>{let{focused:t}=e;if(void 0===s)return null;const r=t?1:0,i=t?0:1;return a.createElement(L,{route:n,horizontal:g,badge:l,badgeStyle:c,activeOpacity:r,inactiveOpacity:i,activeTintColor:O,inactiveTintColor:j,renderIcon:s,style:x})})(P),(e=>{let{focused:t}=e;if(!1===E)return null;const i=t?O:j;if(“string”===typeof o)return a.createElement(y.default,{numberOfLines:1,style:[U.label,{color:i},g?U.labelBeside:U.labelBeneath,C],allowFontScaling:S},o);const{options:s}=r,l=”string”===typeof s.tabBarLabel?s.tabBarLabel:void 0!==s.title?s.title:n.name;return o({focused:t,color:i,position:g?”beside-icon”:”below-icon”,children:l})})(P))})}const U=f.default.create({tab:{flex:1,alignItems:”center”},tabPortrait:{justifyContent:”flex-end”,flexDirection:”column”},tabLandscape:{justifyContent:”center”,flexDirection:”row”},label:{textAlign:”center”,backgroundColor:”transparent”},labelBeneath:{fontSize:10},labelBeside:{fontSize:13,marginLeft:20,marginTop:3},button:{display:”flex”}}),z=[“state”,”descriptors”,”dimensions”,”insets”,”style”],W=!1,K=e=>{let{state:t,descriptors:n,layout:r,dimensions:i}=e;const{tabBarLabelPosition:o}=n[t.routes[t.index].key].options;if(o)switch(o){case”beside-icon”:return!0;case”below-icon”:return!1}if(r.width>=768){return t.routes.reduce(((e,t)=>{const{tabBarItemStyle:r}=n[t.key].options,i=f.default.flatten(r);if(i){if(“number”===typeof i.width)return e+i.width;if(“number”===typeof i.maxWidth)return e+i.maxWidth}return e+125}),0)<=r.width}return i.width>i.height},X=e=>Math.max(e.bottom-0,0),q=e=>{var t;let{state:n,descriptors:r,dimensions:o,insets:a,style:s}=e,l=(0,i.default)(e,z);const c=null===(t=f.default.flatten(s))||void 0===t?void 0:t.height;if(“number”===typeof c)return c;o.width,o.height,K(Object.assign({state:n,descriptors:r,dimensions:o},l));return 49+X(a)};function G(e){let{state:t,navigation:n,descriptors:r,insets:i,style:s}=e;const{colors:l}=(0,w.default)(),c=function(){const e=a.useContext(o.NavigationHelpersContext),t=a.useContext(k.default);return a.useCallback(((n,r)=>{const{options:i}=t;if(!1===(null===i||void 0===i?void 0:i.enabled))return;const a=e?_(e,{index:0,routes:[{name:n,params:r}]}):{index:0,routes:[{name:n,params:r}]};return null!==i&&void 0!==i&&i.getPathFromState?i.getPathFromState(a,null===i||void 0===i?void 0:i.config):(0,o.getPathFromState)(a,null===i||void 0===i?void 0:i.config)}),[t,e])}(),u=t.routes[t.index],d=r[u.key].options,{tabBarShowLabel:p,tabBarHideOnKeyboard:g=!1,tabBarVisibilityAnimationConfig:y,tabBarStyle:b,tabBarBackground:x,tabBarActiveTintColor:A,tabBarInactiveTintColor:R,tabBarActiveBackgroundColor:T,tabBarInactiveBackgroundColor:D}=d,I=(0,h.useSafeAreaFrame)(),O=function(){const[e,t]=a.useState(!1);return a.useEffect((()=>{const e=()=>t(!0),n=()=>t(!1);let r;return r=[C.default.addListener(“keyboardDidShow”,e),C.default.addListener(“keyboardDidHide”,n)],()=>{r.forEach((e=>e.remove()))}}),[]),e}(),j=a.useContext(m),P=!(g&&O),M=a.useRef(y);a.useEffect((()=>{M.current=y}));const[N,L]=a.useState(!P),[F]=a.useState((()=>new E.default.Value(P?1:0)));a.useEffect((()=>{const e=M.current;if(P){var t,n;(“spring”===(null===e||void 0===e||null===(t=e.show)||void 0===t?void 0:t.animation)?E.default.spring:E.default.timing)(F,Object.assign({toValue:1,useNativeDriver:W,duration:250},null===e||void 0===e||null===(n=e.show)||void 0===n?void 0:n.config)).start((e=>{let{finished:t}=e;t&&L(!1)}))}else{var r,i;L(!0);(“spring”===(null===e||void 0===e||null===(r=e.hide)||void 0===r?void 0:r.animation)?E.default.spring:E.default.timing)(F,Object.assign({toValue:0,useNativeDriver:W,duration:200},null===e||void 0===e||null===(i=e.hide)||void 0===i?void 0:i.config)).start()}return()=>F.stopAnimation()}),[F,P]);const[V,B]=a.useState({height:0,width:I.width}),{routes:U}=t,z=X(i),G=q({state:t,descriptors:r,insets:i,dimensions:I,layout:V,style:[b,s]}),Z=K({state:t,descriptors:r,dimensions:I,layout:V}),J=null===x||void 0===x?void 0:x();return a.createElement(E.default.View,{style:[Y.tabBar,{backgroundColor:null!=J?”transparent”:l.card,borderTopColor:l.border},{transform:[{translateY:F.interpolate({inputRange:[0,1],outputRange:[V.height+z+f.default.hairlineWidth,0]})}],position:N?”absolute”:null},{height:G,paddingBottom:z,paddingHorizontal:Math.max(i.left,i.right)},b],pointerEvents:N?”none”:”auto”,onLayout:e=>{const{height:t,width:n}=e.nativeEvent.layout;null===j||void 0===j||j(t),B((e=>t===e.height&&n===e.width?e:{height:t,width:n}))}},a.createElement(S.default,{pointerEvents:”none”,style:f.default.absoluteFill},J),a.createElement(S.default,{accessibilityRole:”tablist”,style:Y.content},U.map(((e,i)=>{const s=i===t.index,{options:l}=r[e.key],u=void 0!==l.tabBarLabel?l.tabBarLabel:void 0!==l.title?l.title:e.name,d=void 0!==l.tabBarAccessibilityLabel?l.tabBarAccessibilityLabel:void 0;return a.createElement(o.NavigationContext.Provider,{key:e.key,value:r[e.key].navigation},a.createElement(o.NavigationRouteContext.Provider,{value:e},a.createElement(H,{route:e,descriptor:r[e.key],focused:s,horizontal:Z,onPress:()=>{const r=n.emit({type:”tabPress”,target:e.key,canPreventDefault:!0});s||r.defaultPrevented||n.dispatch(Object.assign({},o.CommonActions.navigate({name:e.name,merge:!0}),{target:t.key}))},onLongPress:()=>{n.emit({type:”tabLongPress”,target:e.key})},accessibilityLabel:d,to:c(e.name,e.params),testID:l.tabBarTestID,allowFontScaling:l.tabBarAllowFontScaling,activeTintColor:A,inactiveTintColor:R,activeBackgroundColor:T,inactiveBackgroundColor:D,button:l.tabBarButton,icon:l.tabBarIcon??(e=>{let{color:t,size:n}=e;return a.createElement(v,{color:t,size:n})}),badge:l.tabBarBadge,badgeStyle:l.tabBarBadgeStyle,label:u,showLabel:p,labelStyle:l.tabBarLabelStyle,iconStyle:l.tabBarIconStyle,style:l.tabBarItemStyle})))}))))}const Y=f.default.create({tabBar:{left:0,right:0,bottom:0,borderTopWidth:f.default.hairlineWidth,elevation:8},content:{flex:1,flexDirection:”row”}}),Z=[“visible”,”children”,”style”];function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t,n;let{enabled:r}=e,o=(0,i.default)(e,ee);return null!==(t=re)&&void 0!==t&&null!==(n=t.screensEnabled)&&void 0!==n&&n.call(t)?a.createElement(re.ScreenContainer,ne({enabled:r},o)):a.createElement(S.default,o)};function oe(e){var t,n;let{visible:r,children:o}=e,s=(0,i.default)(e,te);return null!==(t=re)&&void 0!==t&&null!==(n=t.screensEnabled)&&void 0!==n&&n.call(t)?a.createElement(re.Screen,ne({activityState:r?2:0},s),o):a.createElement($,ne({visible:r},s),o)}function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(G,e)),state:n,navigation:r,descriptors:i,safeAreaInsets:o,detachInactiveScreens:s=!0,sceneContainerStyle:l}=e,y=n.routes[n.index].key,[v,b]=a.useState([y]);v.includes(y)||b([…v,y]);const w=c.default.initialMetrics.frame,[k,_]=a.useState((()=>q({state:n,descriptors:i,dimensions:w,layout:{width:w.width,height:0},insets:Object.assign({},c.default.initialMetrics.insets,e.safeAreaInsets),style:i[n.routes[n.index].key].options.tabBarStyle}))),{routes:E}=n;return a.createElement(c.default,null,a.createElement(ie,{enabled:s,hasTwoStates:!0,style:le.container},E.map(((e,t)=>{const r=i[e.key],{lazy:o=!0,unmountOnBlur:c}=r.options,h=n.index===t;if(c&&!h)return null;if(o&&!v.includes(e.key)&&!h)return null;const{freezeOnBlur:m,header:y=(t=>{let{layout:n,options:r}=t;return a.createElement(u.default,ae({},r,{layout:n,title:(0,d.default)(r,e.name)}))}),headerShown:b,headerStatusBarHeight:_,headerTransparent:E}=r.options;return a.createElement(oe,{key:e.key,style:[f.default.absoluteFill,{zIndex:h?0:-1}],visible:h,enabled:s,freezeOnBlur:m},a.createElement(g.Provider,{value:k},a.createElement(p.default,{focused:h,route:r.route,navigation:r.navigation,headerShown:b,headerStatusBarHeight:_,headerTransparent:E,header:y({layout:w,route:r.route,navigation:r.navigation,options:r.options}),style:l},r.render())))}))),a.createElement(m.Provider,{value:_},a.createElement(h.SafeAreaInsetsContext.Consumer,null,(e=>t({state:n,descriptors:i,navigation:r,insets:{top:(null===o||void 0===o?void 0:o.top)??(null===e||void 0===e?void 0:e.top)??0,right:(null===o||void 0===o?void 0:o.right)??(null===e||void 0===e?void 0:e.right)??0,bottom:(null===o||void 0===o?void 0:o.bottom)??(null===e||void 0===e?void 0:e.bottom)??0,left:(null===o||void 0===o?void 0:o.left)??(null===e||void 0===e?void 0:e.left)??0}})))))}const le=f.default.create({container:{flex:1,overflow:”hidden”}}),ce=[“id”,”initialRouteName”,”backBehavior”,”children”,”screenListeners”,”screenOptions”,”sceneContainerStyle”],ue=[“lazy”,”tabBarOptions”];function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t{void 0===g[e]&&delete g[e]})),l()(h,`Bottom Tab Navigator: ‘tabBarOptions’ is deprecated. Migrate the options to ‘screenOptions’ instead.\n\nPlace the following in ‘screenOptions’ in your code to keep current behavior:\n\n${JSON.stringify(g,null,2)}\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator#options for more details.`)),”boolean”===typeof f&&(g.lazy=f,l()(!0,”Bottom Tab Navigator: ‘lazy’ in props is deprecated. Move it to ‘screenOptions’ instead.\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator/#lazy for more details.”));const{state:y,descriptors:v,navigation:b,NavigationContent:w}=(0,o.useNavigationBuilder)(o.TabRouter,{id:t,initialRouteName:n,backBehavior:r,children:s,screenListeners:c,screenOptions:u,defaultScreenOptions:g});return a.createElement(w,null,a.createElement(se,de({},m,{state:y,navigation:b,descriptors:v,sceneContainerStyle:d})))}))},95189:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{BaseNavigationContainer:()=>D,BaseRouter:()=>Ve,CommonActions:()=>r,CurrentRenderContext:()=>M,DrawerActions:()=>Xe,DrawerRouter:()=>qe,NavigationContainerRefContext:()=>m,NavigationContext:()=>g,NavigationHelpersContext:()=>se,NavigationRouteContext:()=>y,PreventRemoveContext:()=>le,PreventRemoveProvider:()=>fe,PrivateValueStore:()=>he,StackActions:()=>Ge,StackRouter:()=>Ye,TabActions:()=>He,TabRouter:()=>We,UNSTABLE_usePreventRemove:()=>Le,createNavigationContainerRef:()=>I,createNavigatorFactory:()=>P,findFocusedRoute:()=>f,getActionFromState:()=>N,getFocusedRouteNameFromRoute:()=>B,getPathFromState:()=>X,getStateFromPath:()=>$,useFocusEffect:()=>ge,useIsFocused:()=>ye,useNavigation:()=>me,useNavigationBuilder:()=>Oe,useNavigationContainerRef:()=>je,useNavigationState:()=>Pe,usePreventRemoveContext:()=>Me,useRoute:()=>Ne,validatePathConfig:()=>W});var r={};n.r(r),n.d(r,{goBack:()=>o,navigate:()=>a,reset:()=>s,setParams:()=>l});var i=n(63366);function o(){return{type:”GO_BACK”}}function a(){if(“string”===typeof(arguments.length<=0?void 0:arguments[0]))return{type:"NAVIGATE",payload:{name:arguments.length<=0?void 0:arguments[0],params:arguments.length<=1?void 0:arguments[1]}};{const e=(arguments.length<=0?void 0:arguments[0])||{};if(!e.hasOwnProperty("key")&&!e.hasOwnProperty("name"))throw new Error("You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.");return{type:"NAVIGATE",payload:e}}}function s(e){return{type:"RESET",payload:e}}function l(e){return{type:"SET_PARAMS",payload:{params:e}}}var c=n(95004);const u='Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.',d=c.createContext(void 0);function p(e){let{children:t}=e;const n=c.useRef(),r=c.useMemo((()=>({register(e){const t=n.current;if(void 0!==t&&e!==t)throw new Error(u);n.current=e},unregister(e){e===n.current&&(n.current=void 0)}})),[]);return c.createElement(d.Provider,{value:r},t)}function f(e){var t,n;let r=e;for(;null!=(null===(i=r)||void 0===i?void 0:i.routes[r.index??0].state);){var i;r=r.routes[r.index??0].state}return null===(t=r)||void 0===t?void 0:t.routes[(null===(n=r)||void 0===n?void 0:n.index)??0]}const h=c.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{}}),m=c.createContext(void 0),g=c.createContext(void 0),y=c.createContext(void 0),v=”Couldn’t find a navigation context. Have you wrapped your app with ‘NavigationContainer’? See https://reactnavigation.org/docs/getting-started for setup instructions.”,b=c.createContext({isDefault:!0,get getKey(){throw new Error(v)},get setKey(){throw new Error(v)},get getState(){throw new Error(v)},get setState(){throw new Error(v)},get getIsInitial(){throw new Error(v)}}),w=c.createContext(void 0);function k(){const{current:e}=c.useRef({action:[],focus:[]}),t=c.useCallback(((t,n)=>{e[t].push(n);let r=!1;return()=>{const i=e[t].indexOf(n);!r&&i>-1&&(r=!0,e[t].splice(i,1))}}),[e]);return{listeners:e,addListener:t}}function _(e){const t=c.useRef(e);c.useEffect((()=>{t.current=e}));const n=c.useRef(Object.create(null)),r=c.useCallback((e=>{const t=(t,r)=>{const i=n.current[t]?n.current[t][e]:void 0;if(!i)return;const o=i.indexOf(r);o>-1&&i.splice(o,1)};return{addListener:(r,i)=>{n.current[r]=n.current[r]||{},n.current[r][e]=n.current[r][e]||[],n.current[r][e].push(i);let o=!1;return()=>{o||(o=!0,t(r,i))}},removeListener:t}}),[]),i=c.useCallback((e=>{var r,i;let{type:o,data:a,target:s,canPreventDefault:l}=e;const c=n.current[o]||{},u=void 0!==s?null===(r=c[s])||void 0===r?void 0:r.slice():[].concat(…Object.keys(c).map((e=>c[e]))).filter(((e,t,n)=>n.lastIndexOf(e)===t)),d={get type(){return o}};if(void 0!==s&&Object.defineProperty(d,”target”,{enumerable:!0,get:()=>s}),void 0!==a&&Object.defineProperty(d,”data”,{enumerable:!0,get:()=>a}),l){let e=!1;Object.defineProperties(d,{defaultPrevented:{enumerable:!0,get:()=>e},preventDefault:{enumerable:!0,value(){e=!0}}})}return null===(i=t.current)||void 0===i||i.call(t,d),null===u||void 0===u||u.forEach((e=>e(d))),d}),[]);return c.useMemo((()=>({create:r,emit:i})),[r,i])}function E(){const{current:e}=c.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),t=c.useCallback(((t,n,r)=>(e[t][n]=r,()=>{e[t][n]=void 0})),[e]);return{keyedListeners:e,addKeyedListener:t}}function S(e){let{key:t,options:n,navigation:r}=e;const i=c.useRef(n),o=c.useRef({}),{onOptionsChange:a}=c.useContext(h),{addOptionsGetter:s}=c.useContext(b),l=c.useCallback((()=>{const e=(null===r||void 0===r?void 0:r.isFocused())??!0,t=Object.keys(o.current).length;e&&!t&&a(i.current??{})}),[r,a]);c.useEffect((()=>(i.current=n,l(),null===r||void 0===r?void 0:r.addListener(“focus”,l))),[r,n,l]);const u=c.useCallback((()=>{for(let n in o.current)if(o.current.hasOwnProperty(n)){var e,t;const r=null===(e=(t=o.current)[n])||void 0===e?void 0:e.call(t);if(null!==r)return r}return null}),[]),d=c.useCallback((()=>{if(!((null===r||void 0===r?void 0:r.isFocused())??!0))return null;const e=u();return null!==e?e:i.current}),[r,u]);c.useEffect((()=>null===s||void 0===s?void 0:s(t,d)),[d,s,t]);const p=c.useCallback(((e,t)=>(o.current[e]=t,l(),()=>{delete o.current[e],l()})),[l]);return{addOptionsGetter:p,getCurrentOptions:d}}const C=”Couldn’t find a schedule context.”,x=c.createContext({scheduleUpdate(){throw new Error(C)},flushUpdates(){throw new Error(C)}});const A={};const R=[“key”,”routeNames”],T=e=>{if(void 0===e)return;const t=(0,i.default)(e,R);return Object.assign({},t,{stale:!0,routes:e.routes.map((e=>void 0===e.state?e:Object.assign({},e,{state:T(e.state)})))})},D=c.forwardRef((function(e,t){let{initialState:n,onStateChange:i,onUnhandledAction:o,independent:a,children:l}=e;if(!c.useContext(b).isDefault&&!a)throw new Error(“Looks like you have nested a ‘NavigationContainer’ inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass ‘independent={true}’ explicitly. Note that this will make the child navigators disconnected from the parent and you won’t be able to navigate between them.”);const[u,d,v,C,R]=function(e){const t=c.useRef(A),n=c.useRef(!1),r=c.useRef(!0);c.useEffect((()=>(r.current=!0,()=>{r.current=!1})),[]),t.current===A&&(t.current=”function”===typeof e?e():e);const[i,o]=c.useState(t.current),a=c.useCallback((()=>t.current),[]),s=c.useCallback((e=>{e!==t.current&&r.current&&(t.current=e,n.current||o(e))}),[]),l=c.useCallback((e=>{n.current=!0;try{e()}finally{n.current=!1}}),[]),u=c.useCallback((()=>{r.current&&o(t.current)}),[]);i!==t.current&&o(t.current);const d=t.current;return c.useDebugValue(d),[d,a,s,l,u]}((()=>T(null==n?void 0:n))),D=c.useRef(!0),I=c.useRef(),O=c.useCallback((()=>I.current),[]),j=c.useCallback((e=>{I.current=e}),[]),{listeners:P,addListener:M}=k(),{keyedListeners:N,addKeyedListener:L}=E(),F=c.useCallback((e=>{null==P.focus[0]||P.focus[0]((t=>t.dispatch(e)))}),[P.focus]),V=c.useCallback((()=>{if(null==P.focus[0])return!1;const{result:e,handled:t}=P.focus[0]((e=>e.canGoBack()));return!!t&&e}),[P.focus]),B=c.useCallback((e=>{var t,n;const r=(null===e||void 0===e?void 0:e.key)??(null===(t=(n=N.getState).root)||void 0===t?void 0:t.call(n).key);null==r||P.focus[0]((t=>t.dispatch(Object.assign({},s(e),{target:r}))))}),[N.getState,P.focus]),H=c.useCallback((()=>{var e,t;return null===(e=(t=N.getState).root)||void 0===e?void 0:e.call(t)}),[N.getState]),U=c.useCallback((()=>{const e=H();if(null==e)return;return f(e)}),[H]),z=_(),{addOptionsGetter:W,getCurrentOptions:K}=S({}),X=c.useMemo((()=>Object.assign({},Object.keys(r).reduce(((e,t)=>(e[t]=function(){return F(r[t](…arguments))},e)),{}),z.create(“root”),{dispatch:F,resetRoot:B,isFocused:()=>!0,canGoBack:V,getParent:()=>{},getState:()=>re.current,getRootState:H,getCurrentRoute:U,getCurrentOptions:K,isReady:()=>null!=P.focus[0],setOptions:()=>{throw new Error(“Cannot call setOptions outside a screen”)}})),[V,F,z,K,U,H,P.focus,B]);c.useImperativeHandle(t,(()=>X),[X]);const q=c.useCallback(((e,t)=>{z.emit({type:”__unsafe_action__”,data:{action:e,noop:t,stack:Z.current}})}),[z]),G=c.useRef(),Y=c.useCallback((e=>{G.current!==e&&(G.current=e,z.emit({type:”options”,data:{options:e}}))}),[z]),Z=c.useRef(),J=c.useMemo((()=>({addListener:M,addKeyedListener:L,onDispatchAction:q,onOptionsChange:Y,stackRef:Z})),[M,L,q,Y]),$=c.useMemo((()=>({scheduleUpdate:C,flushUpdates:R})),[C,R]),Q=c.useRef(!0),ee=c.useCallback((()=>Q.current),[]),te=c.useMemo((()=>({state:u,getState:d,setState:v,getKey:O,setKey:j,getIsInitial:ee,addOptionsGetter:W})),[u,d,v,O,j,ee,W]),ne=c.useRef(i),re=c.useRef(u);c.useEffect((()=>{Q.current=!1,ne.current=i,re.current=u})),c.useEffect((()=>{const e=H();z.emit({type:”state”,data:{state:u}}),!D.current&&ne.current&&ne.current(e),D.current=!1}),[H,z,u]);const ie=c.useCallback((e=>{}),[]);let oe=c.createElement(m.Provider,{value:X},c.createElement(x.Provider,{value:$},c.createElement(h.Provider,{value:J},c.createElement(b.Provider,{value:te},c.createElement(w.Provider,{value:o??ie},c.createElement(p,null,l))))));return a&&(oe=c.createElement(y.Provider,{value:void 0},c.createElement(g.Provider,{value:void 0},oe))),oe}));function I(){const e=[…Object.keys(r),”addListener”,”removeListener”,”resetRoot”,”dispatch”,”isFocused”,”canGoBack”,”getRootState”,”getState”,”getParent”,”getCurrentRoute”,”getCurrentOptions”],t={},n=(e,n)=>{t[e]&&(t[e]=t[e].filter((e=>e!==n)))};let i=null;const o=Object.assign({get current(){return i},set current(e){i=e,null!=e&&Object.entries(t).forEach((t=>{let[n,r]=t;r.forEach((t=>{e.addListener(n,t)}))}))},isReady:()=>null!=i&&i.isReady()},e.reduce(((e,r)=>(e[r]=function(){for(var e=arguments.length,o=new Array(e),a=0;an(e,r)}case”removeListener”:{const[e,t]=o;n(e,t);break}}},e)),{}));return o}function O(e){return null}function j(e){return null}function P(e){return function(){if(void 0!==arguments[0])throw new Error(“Creating a navigator doesn’t take an argument. Maybe you are trying to use React Navigation 4 API? See https://reactnavigation.org/docs/hello-react-navigation for the latest API and guides.”);return{Navigator:e,Group:O,Screen:j}}}const M=c.createContext(void 0);function N(e,t){var n;const r=t?L(t):{},i=null!=e.index?e.routes.slice(0,e.index+1):e.routes;if(0===i.length)return;if(!(1===i.length&&void 0===i[0].key||2===i.length&&void 0===i[0].key&&i[0].name===(null===r||void 0===r?void 0:r.initialRouteName)&&void 0===i[1].key))return{type:”RESET”,payload:e};const o=e.routes[e.index??e.routes.length-1];let a=null===o||void 0===o?void 0:o.state,s=null===r||void 0===r||null===(n=r.screens)||void 0===n?void 0:n[null===o||void 0===o?void 0:o.name],l=Object.assign({},o.params),c=o?{name:o.name,path:o.path,params:l}:void 0;for(;a;){var u,d,p;if(0===a.routes.length)return;const e=null!=a.index?a.routes.slice(0,a.index+1):a.routes,t=e[e.length-1];if(Object.assign(l,{initial:void 0,screen:void 0,params:void 0,state:void 0}),1===e.length&&void 0===e[0].key)l.initial=!0,l.screen=t.name;else{if(2!==e.length||void 0!==e[0].key||e[0].name!==(null===(u=s)||void 0===u?void 0:u.initialRouteName)||void 0!==e[1].key){l.state=a;break}l.initial=!1,l.screen=t.name}t.state?(l.params=Object.assign({},t.params),l=l.params):(l.path=t.path,l.params=t.params),a=t.state,s=null===(d=s)||void 0===d||null===(p=d.screens)||void 0===p?void 0:p[t.name]}return c?{type:”NAVIGATE”,payload:c}:void 0}const L=e=>”object”===typeof e&&null!=e?{initialRouteName:e.initialRouteName,screens:null!=e.screens?F(e.screens):void 0}:{},F=e=>Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return e[n]=L(r),e}),{}),V=Symbol(“CHILD_STATE”);function B(e){const t=e[V]??e.state,n=e.params;return t?t.routes[t.index??(“string”===typeof t.type&&”stack”!==t.type?0:t.routes.length-1)].name:”string”===typeof(null===n||void 0===n?void 0:n.screen)?n.screen:void 0}var H=n(81830);function U(e){return e.reduce(((e,t)=>{let[n,r]=t;if(e.hasOwnProperty(n))throw new Error(`A value for key ‘${n}’ already exists in the object.`);return e[n]=r,e}),{})}const z=e=>e.map((e=>`- ${e}`)).join(“\n”);function W(e){const t=[“initialRouteName”,”screens”];!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||t.push(“path”,”exact”,”stringify”,”parse”);const n=Object.keys(e).filter((e=>!t.includes(e)));if(n.length)throw new Error(`Found invalid properties in the configuration:\n${z(n)}\n\nDid you forget to specify them under a ‘screens’ property?\n\nYou can only specify the following properties:\n${z(t)}\n\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.`);e.screens&&Object.entries(e.screens).forEach((e=>{let[t,n]=e;”string”!==typeof n&&W(n,!1)}))}const K=e=>{const t=”number”===typeof e.index?e.routes[e.index]:e.routes[e.routes.length-1];return t.state?K(t.state):t};function X(e,t){if(null==e)throw Error(“Got ‘undefined’ for the navigation state. You must pass a valid state object.”);t&&W(t);const n=null!==t&&void 0!==t&&t.screens?Y(null===t||void 0===t?void 0:t.screens):{};let r=”/”,i=e;const o={};for(;i;){let t,l,c=”number”===typeof i.index?i.index:0,u=i.routes[c],d=K(e),p=n,f=[],h=!0;for(;u.name in p&&h;){if(t=p[u.name].pattern,f.push(u.name),u.params){var a;const e=null===(a=p[u.name])||void 0===a?void 0:a.stringify,n=U(Object.entries(u.params).map((t=>{let[n,r]=t;return[n,null!==e&&void 0!==e&&e[n]?e[n](r):String(r)]})));var s;if(t&&Object.assign(o,n),d===u)l=Object.assign({},n),null===(s=t)||void 0===s||s.split(“/”).filter((e=>e.startsWith(“:”))).forEach((e=>{const t=q(e);l&&delete l[t]}))}if(p[u.name].screens&&void 0!==u.state){c=”number”===typeof u.state.index?u.state.index:u.state.routes.length-1;const e=u.state.routes[c],t=p[u.name].screens;t&&e.name in t?(u=e,p=t):h=!1}else h=!1}if(void 0===t&&(t=f.join(“/”)),void 0!==p[u.name]?r+=t.split(“/”).map((e=>{const t=q(e);if(“*”===e)return u.name;if(e.startsWith(“:”)){const n=o[t];return void 0===n&&e.endsWith(“?”)?””:encodeURIComponent(n)}return encodeURIComponent(e)})).join(“/”):r+=encodeURIComponent(u.name),l||(l=d.params),u.state)r+=”/”;else if(l){for(let t in l)”undefined”===l[t]&&delete l[t];const e=H.stringify(l,{sort:!1});e&&(r+=`?${e}`)}i=u.state}return r=r.replace(/\/+/g,”/”),r=r.length>1?r.replace(/\/$/,””):r,r}const q=e=>e.replace(/^:/,””).replace(/\?$/,””),G=function(){for(var e=arguments.length,t=new Array(e),n=0;ne.split(“/”)))).filter(Boolean).join(“/”)},Y=(e,t)=>U(Object.entries(e).map((e=>{let[n,r]=e;const i=((e,t)=>{var n;if(“string”===typeof e)return{pattern:t?G(t,e):e};let r;if(e.exact&&void 0===e.path)throw new Error(“A ‘path’ needs to be specified when specifying ‘exact: true’. If you don’t want this screen in the URL, specify it as empty string, e.g. `path: ”`.”);r=!0!==e.exact?G(t||””,e.path||””):e.path||””;const i=e.screens?Y(e.screens,r):void 0;return{pattern:null===(n=r)||void 0===n?void 0:n.split(“/”).filter(Boolean).join(“/”),stringify:e.stringify,screens:i}})(r,t);return[n,i]})));var Z=n(28100),J=n.n(Z);function $(e,t){t&&W(t);let n=[];null!==t&&void 0!==t&&t.initialRouteName&&n.push({initialRouteName:t.initialRouteName,parentScreens:[]});const r=null===t||void 0===t?void 0:t.screens;let i=e.replace(/\/+/g,”/”).replace(/^\//,””).replace(/\?.*$/,””);if(i=i.endsWith(“/”)?i:`${i}/`,void 0===r){const t=i.split(“/”).filter(Boolean).map((e=>({name:decodeURIComponent(e)})));return t.length?oe(e,t,n):void 0}const o=[].concat(…Object.keys(r).map((e=>te(e,r,[],n,[])))).sort(((e,t)=>{if(e.pattern===t.pattern)return t.routeNames.join(“>”).localeCompare(e.routeNames.join(“>”));if(e.pattern.startsWith(t.pattern))return-1;if(t.pattern.startsWith(e.pattern))return 1;const n=e.pattern.split(“/”),r=t.pattern.split(“/”);for(let i=0;i{if(e[t.pattern]){const n=e[t.pattern].routeNames,r=t.routeNames;if(!(n.length>r.length?r.every(((e,t)=>n[t]===e)):n.every(((e,t)=>r[t]===e))))throw new Error(`Found conflicting screens with the same pattern. The pattern ‘${t.pattern}’ resolves to both ‘${n.join(” > “)}’ and ‘${r.join(” > “)}’. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(e,{[t.pattern]:t})}),{}),”/”===i){const t=o.find((e=>””===e.path&&e.routeNames.every((e=>{var t;return!(null!==(t=o.find((t=>t.screen===e)))&&void 0!==t&&t.path)}))));return t?oe(e,t.routeNames.map((e=>({name:e}))),n,o):void 0}let a,s;const{routes:l,remainingPath:c}=ee(i,o.map((e=>Object.assign({},e,{regex:e.regex?new RegExp(e.regex.source+”$”):void 0}))));if(void 0!==l&&(s=oe(e,l,n,o),i=c,a=s),null!=s&&null!=a)return a}const Q=function(){for(var e=arguments.length,t=new Array(e),n=0;ne.split(“/”)))).filter(Boolean).join(“/”)},ee=(e,t)=>{let n,r=e;for(const o of t){if(!o.regex)continue;const e=r.match(o.regex);if(e){var i;const a=(null===(i=o.pattern)||void 0===i?void 0:i.split(“/”).reduce(((t,n,r)=>{if(!n.startsWith(“:”))return t;t.pos+=1;const i=decodeURIComponent(e[2*(t.pos+1)].replace(/\/$/,””));return Object.assign(t.matchedParams,{[n]:Object.assign(t.matchedParams[n]||{},{[r]:i})}),t}),{pos:-1,matchedParams:{}})).matchedParams||{};n=o.routeNames.map((e=>{var n;const r=t.find((t=>t.screen===e&&o.pattern.startsWith(t.pattern))),i=null===r||void 0===r?void 0:r.path.split(“/”).filter(Boolean).join(“/”),s=null===r||void 0===r||null===(n=r.pattern.replace(new RegExp(`${J()(i)}$`),””))||void 0===n?void 0:n.split(“/”).length,l=null===i||void 0===i?void 0:i.split(“/”).reduce(((e,t,n)=>{var i;if(!t.startsWith(“:”))return e;const o=s?s-1:0,l=null===(i=a[t])||void 0===i?void 0:i[n+o];if(l){var c;const n=t.replace(/^:/,””).replace(/\?$/,””);e[n]=null!==r&&void 0!==r&&null!==(c=r.parse)&&void 0!==c&&c[n]?r.parse[n](l):l}return e}),{});return l&&Object.keys(l).length?{name:e,params:l}:{name:e}})),r=r.replace(e[1],””);break}}return{routes:n,remainingPath:r}},te=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;const a=[];n.push(e),i.push(e);const s=t[e];if(“string”===typeof s){const t=o?Q(o,s):s;a.push(ne(e,n,t,s))}else if(“object”===typeof s){let t;if(“string”===typeof s.path){if(s.exact&&void 0===s.path)throw new Error(“A ‘path’ needs to be specified when specifying ‘exact: true’. If you don’t want this screen in the URL, specify it as empty string, e.g. `path: ”`.”);t=!0!==s.exact?Q(o||””,s.path||””):s.path||””,a.push(ne(e,n,t,s.path,s.parse))}s.screens&&(s.initialRouteName&&r.push({initialRouteName:s.initialRouteName,parentScreens:i}),Object.keys(s.screens).forEach((e=>{const l=te(e,s.screens,n,r,[…i],t??o);a.push(…l)})))}return n.pop(),a},ne=(e,t,n,r,i)=>({screen:e,regex:(n=n.split(“/”).filter(Boolean).join(“/”))?new RegExp(`^(${n.split(“/”).map((e=>e.startsWith(“:”)?`(([^/]+\\/)${e.endsWith(“?”)?”?”:””})`:`${“*”===e?”.*”:J()(e)}\\/`)).join(“”)})`):void 0,pattern:n,path:r,routeNames:[…t],parse:i}),re=(e,t,n)=>{for(const r of n)if(t.length===r.parentScreens.length){let n=!0;for(let e=0;en?e?{index:1,routes:[{name:e},t]}:{routes:[t]}:e?{index:1,routes:[{name:e},Object.assign({},t,{state:{routes:[]}})]}:{routes:[Object.assign({},t,{state:{routes:[]}})]},oe=(e,t,n,r)=>{let i,o=t.shift();const a=[];let s=re(o.name,a,n);if(a.push(o.name),i=ie(s,o,0===t.length),t.length>0){let e=i;for(;o=t.shift();){s=re(o.name,a,n);const r=e.index||e.routes.length-1;e.routes[r].state=ie(s,o,0===t.length),t.length>0&&(e=e.routes[r].state),a.push(o.name)}}o=f(i),o.path=e;const l=ae(e,r?((e,t)=>{for(const n of t)if(e===n.routeNames[n.routeNames.length-1])return n.parse})(o.name,r):void 0);return l&&(o.params=Object.assign({},o.params,l)),i},ae=(e,t)=>{const n=e.split(“?”)[1],r=H.parse(n);return t&&Object.keys(r).forEach((e=>{Object.hasOwnProperty.call(t,e)&&”string”===typeof r[e]&&(r[e]=t[e](r[e]))})),Object.keys(r).length?r:void 0},se=c.createContext(void 0),le=c.createContext(void 0);let ce=(e=21)=>{let t=””,n=e;for(;n–;)t+=”useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict”[64*Math.random()|0];return t};var ue=n(70809),de=n.n(ue);const pe=e=>[…e.values()].reduce(((e,t)=>{var n;let{routeKey:r,preventRemove:i}=t;return e[r]={preventRemove:(null===(n=e[r])||void 0===n?void 0:n.preventRemove)||i},e}),{});function fe(e){let{children:t}=e;const[n]=c.useState((()=>ce())),[r,i]=c.useState(new Map),o=c.useContext(se),a=c.useContext(y),s=c.useContext(le),l=null===s||void 0===s?void 0:s.setPreventRemove,u=de()(((e,t,n)=>{if(n&&(null==o||null!==o&&void 0!==o&&o.getState().routes.every((e=>e.key!==t))))throw new Error(`Couldn’t find a route with the key ${t}. Is your component inside NavigationContent?`);i((r=>{var i,o;if(t===(null===(i=r.get(e))||void 0===i?void 0:i.routeKey)&&n===(null===(o=r.get(e))||void 0===o?void 0:o.preventRemove))return r;const a=new Map(r);return n?a.set(e,{routeKey:t,preventRemove:n}):a.delete(e),a}))})),d=[…r.values()].some((e=>{let{preventRemove:t}=e;return t}));c.useEffect((()=>{if(void 0!==(null===a||void 0===a?void 0:a.key)&&void 0!==l)return l(n,a.key,d),()=>{l(n,a.key,!1)}}),[n,d,null===a||void 0===a?void 0:a.key,l]);const p=c.useMemo((()=>({setPreventRemove:u,preventedRoutes:pe(r)})),[u,r]);return c.createElement(le.Provider,{value:p},t)}class he{}function me(){const e=c.useContext(m),t=c.useContext(g);if(void 0===t&&void 0===e)throw new Error(“Couldn’t find a navigation object. Is your component inside NavigationContainer?”);return t??e}function ge(e){const t=me();if(void 0!==arguments[1]){}c.useEffect((()=>{let n,r=!1;const i=()=>{const t=e();if(void 0===t||”function”===typeof t)return t};t.isFocused()&&(n=i(),r=!0);const o=t.addListener(“focus”,(()=>{r||(void 0!==n&&n(),n=i(),r=!0)})),a=t.addListener(“blur”,(()=>{void 0!==n&&n(),n=void 0,r=!1}));return()=>{void 0!==n&&n(),o(),a()}}),[e,t])}function ye(){const e=me(),[t,n]=(0,c.useState)(e.isFocused),r=e.isFocused();return t!==r&&n(r),c.useEffect((()=>{const t=e.addListener(“focus”,(()=>n(!0))),r=e.addListener(“blur”,(()=>n(!1)));return()=>{t(),r()}}),[e]),c.useDebugValue(r),r}n(57273);function ve(e,t){return e===t||e.length===t.length&&e.every(((e,n)=>e===t[n]))}const be=e=>{let{render:t,children:n}=e;return t(n)};function we(e){const t=c.useRef(e);return t.current=e,c.useEffect((()=>{t.current=null})),c.useRef((e=>{let{children:n}=e;const r=t.current;if(null===r)throw new Error(“The returned component must be rendered in the same render phase as the hook.”);return c.createElement(be,{render:r},n)})).current}const ke=c.memo((function(e){return e.children}),((e,t)=>{const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n)if(“children”!==i&&e[i]!==t[i])return!1;return!0}));function _e(e){let{screen:t,route:n,navigation:r,routeState:i,getState:o,setState:a,options:s,clearOptions:l}=e;const u=c.useRef(),d=c.useCallback((()=>u.current),[]),{addOptionsGetter:f}=S({key:n.key,options:s,navigation:r}),h=c.useCallback((e=>{u.current=e}),[]),m=c.useCallback((()=>{const e=o().routes.find((e=>e.key===n.key));return e?e.state:void 0}),[o,n.key]),g=c.useCallback((e=>{const t=o();a(Object.assign({},t,{routes:t.routes.map((t=>t.key===n.key?Object.assign({},t,{state:e}):t))}))}),[o,n.key,a]),y=c.useRef(!0);c.useEffect((()=>{y.current=!1})),c.useEffect((()=>l),[]);const v=c.useCallback((()=>y.current),[]),w=c.useMemo((()=>({state:i,getState:m,setState:g,getKey:d,setKey:h,getIsInitial:v,addOptionsGetter:f})),[i,m,g,d,h,v,f]),k=t.getComponent?t.getComponent():t.component;return c.createElement(b.Provider,{value:w},c.createElement(p,null,c.createElement(ke,{name:t.name,render:k||t.children,navigation:r,route:n},void 0!==k?c.createElement(k,{navigation:r,route:n}):void 0!==t.children?t.children({navigation:r,route:n}):null)))}const Ee=[“emit”];function Se(e){var t=function(e,t){if(“object”!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||”default”);if(“object”!==typeof r)return r;throw new TypeError(“@@toPrimitive must return a primitive value.”)}return(“string”===t?String:Number)(e)}(e,”string”);return”symbol”===typeof t?t:String(t)}function Ce(e){let{state:t,screens:n,navigation:o,screenOptions:a,defaultScreenOptions:s,onAction:l,getState:u,setState:d,addListener:p,addKeyedListener:f,onRouteFocus:m,router:v,emitter:b}=e;const[w,k]=c.useState({}),{onDispatchAction:_,onOptionsChange:E,stackRef:S}=c.useContext(h),C=c.useMemo((()=>({navigation:o,onAction:l,addListener:p,addKeyedListener:f,onRouteFocus:m,onDispatchAction:_,onOptionsChange:E,stackRef:S})),[o,l,p,f,m,_,E,S]),x=function(e){let{state:t,getState:n,navigation:o,setOptions:a,router:s,emitter:l}=e;const{stackRef:u}=c.useContext(h),d=c.useMemo((()=>({current:{}})),[n,o,a,s,l]),p=Object.assign({},s.actionCreators,r);return d.current=t.routes.reduce(((e,t)=>{const r=d.current[t.key];if(r)e[t.key]=r;else{const r=(0,i.default)(o,Ee),s=e=>{const r=”function”===typeof e?e(n()):e;null!=r&&o.dispatch(Object.assign({source:t.key},r))},c=e=>{try{e()}finally{}},u=Object.keys(p).reduce(((e,t)=>(e[t]=function(){for(var e=arguments.length,n=new Array(e),r=0;rs(p[t](…n))))},e)),{});e[t.key]=Object.assign({},r,u,l.create(t.key),{dispatch:e=>c((()=>s(e))),getParent:n=>void 0!==n&&n===r.getId()?e[t.key]:r.getParent(n),setOptions:e=>a((n=>Object.assign({},n,{[t.key]:Object.assign({},n[t.key],e)}))),isFocused:()=>{const e=n();return e.routes[e.index].key===t.key&&(!o||o.isFocused())}})}return e}),{}),d.current}({state:t,getState:u,navigation:o,setOptions:k,router:v,emitter:b});return function(e){return c.useMemo((()=>({current:new Map})),[]),e}(t.routes).reduce(((e,r,o)=>{const l=n[r.name],p=l.props,f=x[r.key],m=[a,…l.options?l.options.filter(Boolean):[],p.options,w[r.key]].reduce(((e,t)=>Object.assign(e,”function”!==typeof t?t:t({route:r,navigation:f}))),{}),v=Object.assign({},”function”===typeof s?s({route:r,navigation:f,options:m}):s,m),b=()=>k((e=>{if(r.key in e){const t=r.key;return(0,i.default)(e,[t].map(Se))}return e}));return e[r.key]={route:r,navigation:f,render:()=>c.createElement(h.Provider,{key:r.key,value:C},c.createElement(g.Provider,{value:f},c.createElement(y.Provider,{value:r},c.createElement(_e,{navigation:f,route:r,screen:p,routeState:t.routes[o].state,getState:u,setState:d,options:v,clearOptions:b})))),options:v},e}),{})}const xe=Symbol(“VISITED_ROUTE_KEYS”),Ae=(e,t,n,r,i)=>{const o=r.map((e=>e.key)),a=n.filter((e=>!o.includes(e.key))).reverse(),s=i[xe]??new Set,l=Object.assign({},i,{[xe]:s});for(const u of a){var c;if(s.has(u.key))continue;if(null===(c=t[u.key])||void 0===c?void 0:c.call(t,l))return!0;s.add(u.key);if(e.emit({type:”beforeRemove”,target:u.key,data:{action:l},canPreventDefault:!0}).defaultPrevented)return!0}return!1};function Re(e){let{router:t,getState:n,setState:r,key:i,actionListeners:o,beforeRemoveListeners:a,routerConfigOptions:s,emitter:l}=e;const{onAction:u,onRouteFocus:d,addListener:p,onDispatchAction:f}=c.useContext(h),m=c.useRef(s);c.useEffect((()=>{m.current=s}));const g=c.useCallback((function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;const c=n();if(s.has(c.key))return!1;if(s.add(c.key),”string”!==typeof e.target||e.target===c.key){let n=t.getStateForAction(c,e,m.current);if(n=null===n&&e.target===c.key?c:n,null!==n){if(f(e,c===n),c!==n){if(Ae(l,a,c.routes,n.routes,e))return!0;r(n)}if(void 0!==d){t.shouldActionChangeFocus(e)&&void 0!==i&&d(i)}return!0}}if(void 0!==u&&u(e,s))return!0;for(let t=o.length-1;t>=0;t–){if((0,o[t])(e,s))return!0}return!1}),[o,a,l,n,i,u,f,d,t,r]);return function(e){let{getState:t,emitter:n,beforeRemoveListeners:r}=e;const{addKeyedListener:i}=c.useContext(h),o=c.useContext(y),a=null===o||void 0===o?void 0:o.key;c.useEffect((()=>{if(a)return null===i||void 0===i?void 0:i(“beforeRemove”,a,(e=>{const i=t();return Ae(n,r,i.routes,[],e)}))}),[i,r,n,t,a])}({getState:n,emitter:l,beforeRemoveListeners:a}),c.useEffect((()=>null===p||void 0===p?void 0:p(“action”,g)),[p,g]),g}const Te=[“children”,”screenListeners”],De=e=>void 0===e||”string”===typeof e&&””!==e,Ie=(e,t,n)=>c.Children.toArray(e).reduce(((e,r)=>{var i,o;if(c.isValidElement(r)){if(r.type===j){if(!De(r.props.navigationKey))throw new Error(`Got an invalid ‘navigationKey’ prop (${JSON.stringify(r.props.navigationKey)}) for the screen ‘${r.props.name}’. It must be a non-empty string or ‘undefined’.`);return e.push({keys:[t,r.props.navigationKey],options:n,props:r.props}),e}if(r.type===c.Fragment||r.type===O){if(!De(r.props.navigationKey))throw new Error(`Got an invalid ‘navigationKey’ prop (${JSON.stringify(r.props.navigationKey)}) for the group. It must be a non-empty string or ‘undefined’.`);return e.push(…Ie(r.props.children,r.props.navigationKey,r.type!==O?n:null!=n?[…n,r.props.screenOptions]:[r.props.screenOptions])),e}}throw new Error(`A navigator can only contain ‘Screen’, ‘Group’ or ‘React.Fragment’ as its direct children (found ${c.isValidElement(r)?`’${“string”===typeof r.type?r.type:null===(i=r.type)||void 0===i?void 0:i.name}’${null!=r.props&&”object”===typeof r.props&&”name”in r.props&&null!==(o=r.props)&&void 0!==o&&o.name?` for the screen ‘${r.props.name}’`:””}`:”object”===typeof r?JSON.stringify(r):`’${String(r)}’`}). To render this component in the navigator, pass it in the ‘component’ prop to ‘Screen’.`)}),[]);function Oe(e,t){const n=function(){const[e]=c.useState((()=>ce())),t=c.useContext(d);if(void 0===t)throw new Error(“Couldn’t register the navigator. Have you wrapped your app with ‘NavigationContainer’?\n\nThis can also happen if there are multiple copies of ‘@react-navigation’ packages installed.”);return c.useEffect((()=>{const{register:n,unregister:r}=t;return n(e),()=>r(e)}),[t,e]),e}(),o=c.useContext(y),{children:l,screenListeners:u}=t,p=(0,i.default)(t,Te),{current:f}=c.useRef(e(Object.assign({},p,null!==o&&void 0!==o&&o.params&&null==o.params.state&&!1!==o.params.initial&&”string”===typeof o.params.screen?{initialRouteName:o.params.screen}:null))),m=Ie(l),v=m.reduce(((e,t)=>{if(t.props.name in e)throw new Error(`A navigator cannot contain multiple ‘Screen’ components with the same name (found duplicate screen named ‘${t.props.name}’)`);return e[t.props.name]=t,e}),{}),S=m.map((e=>e.props.name)),C=S.reduce(((e,t)=>(e[t]=v[t].keys.map((e=>e??””)).join(“:”),e)),{}),A=S.reduce(((e,t)=>{const{initialParams:n}=v[t].props;return e[t]=n,e}),{}),R=S.reduce(((e,t)=>Object.assign(e,{[t]:v[t].props.getId})),{});if(!S.length)throw new Error(“Couldn’t find any screens for the navigator. Have you defined any screens as its children?”);const T=c.useCallback((e=>void 0===e.type||e.type===f.type),[f.type]),D=c.useCallback((e=>void 0!==e&&!1===e.stale&&T(e)),[T]),{state:I,getState:O,setState:j,setKey:P,getKey:N,getIsInitial:L}=c.useContext(b),F=c.useRef(!1),V=c.useCallback((()=>{j(void 0),F.current=!0}),[j]),B=c.useCallback((e=>{F.current||j(e)}),[j]),[H,U]=c.useMemo((()=>{var e;const t=S.reduce(((e,t)=>{var n,r,i;const{initialParams:a}=v[t].props,s=null==(null===o||void 0===o||null===(n=o.params)||void 0===n?void 0:n.state)&&!1!==(null===o||void 0===o||null===(r=o.params)||void 0===r?void 0:r.initial)&&(null===o||void 0===o||null===(i=o.params)||void 0===i?void 0:i.screen)===t?o.params.params:void 0;return e[t]=void 0!==a||void 0!==s?Object.assign({},a,s):void 0,e}),{});var n;return void 0!==I&&T(I)||null!=(null===o||void 0===o||null===(e=o.params)||void 0===e?void 0:e.state)?[f.getRehydratedState((null===o||void 0===o||null===(n=o.params)||void 0===n?void 0:n.state)??I,{routeNames:S,routeParamList:t,routeGetIdList:R}),!1]:[f.getInitialState({routeNames:S,routeParamList:t,routeGetIdList:R}),!0]}),[I,f,T]),z=c.useRef(C);c.useEffect((()=>{z.current=C}));const W=z.current;let K=D(I)?I:H,X=K;ve(K.routeNames,S)&&function(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>e[n]===t[n]))}(C,W)||(X=f.getStateForRouteNamesChange(K,{routeNames:S,routeParamList:A,routeGetIdList:R,routeKeyChanges:Object.keys(C).filter((e=>W.hasOwnProperty(e)&&C[e]!==W[e]))}));const q=c.useRef(null===o||void 0===o?void 0:o.params);if(c.useEffect((()=>{q.current=null===o||void 0===o?void 0:o.params}),[null===o||void 0===o?void 0:o.params]),null!==o&&void 0!==o&&o.params){const e=q.current;let t;”object”===typeof o.params.state&&null!=o.params.state&&o.params!==e?t=s(o.params.state):”string”===typeof o.params.screen&&(!1===o.params.initial&&U||o.params!==e)&&(t=a({name:o.params.screen,params:o.params.params,path:o.params.path}));const n=t?f.getStateForAction(X,t,{routeNames:S,routeParamList:A,routeGetIdList:R}):null;X=null!==n?f.getRehydratedState(n,{routeNames:S,routeParamList:A,routeGetIdList:R}):X}const G=K!==X;!function(e){const{scheduleUpdate:t,flushUpdates:n}=c.useContext(x);t(e),c.useEffect(n)}((()=>{G&&B(X)})),K=X,c.useEffect((()=>(P(n),L()||B(X),()=>{setTimeout((()=>{void 0!==O()&&N()===n&&V()}),0)})),[]);const Y=c.useRef();Y.current=H;const Z=c.useCallback((()=>{const e=O();return D(e)?e:Y.current}),[O,D]),J=_((e=>{let t,n=[];var r;e.target?(t=K.routes.find((t=>t.key===e.target)),null!==(r=t)&&void 0!==r&&r.name&&n.push(t.name)):(t=K.routes[K.index],n.push(…Object.keys(v).filter((e=>{var n;return(null===(n=t)||void 0===n?void 0:n.name)===e}))));if(null==t)return;const i=oe[t.key].navigation;[].concat(…[u,…n.map((e=>{const{listeners:t}=v[e].props;return t}))].map((n=>{const r=”function”===typeof n?n({route:t,navigation:i}):n;return r?Object.keys(r).filter((t=>t===e.type)).map((e=>null===r||void 0===r?void 0:r[e])):void 0}))).filter(((e,t,n)=>e&&n.lastIndexOf(e)===t)).forEach((t=>null===t||void 0===t?void 0:t(e)))}));!function(e){let{state:t,emitter:n}=e;const r=c.useContext(g),i=c.useRef(),o=t.routes[t.index].key;c.useEffect((()=>null===r||void 0===r?void 0:r.addListener(“focus”,(()=>{i.current=o,n.emit({type:”focus”,target:o})}))),[o,n,r]),c.useEffect((()=>null===r||void 0===r?void 0:r.addListener(“blur”,(()=>{i.current=void 0,n.emit({type:”blur”,target:o})}))),[o,n,r]),c.useEffect((()=>{const e=i.current;i.current=o,void 0!==e||r||n.emit({type:”focus”,target:o}),e===o||r&&!r.isFocused()||void 0!==e&&(n.emit({type:”blur”,target:e}),n.emit({type:”focus”,target:o}))}),[o,n,r])}({state:K,emitter:J}),c.useEffect((()=>{J.emit({type:”state”,data:{state:K}})}),[J,K]);const{listeners:$,addListener:Q}=k(),{keyedListeners:ee,addKeyedListener:te}=E(),ne=Re({router:f,getState:Z,setState:B,key:null===o||void 0===o?void 0:o.key,actionListeners:$.action,beforeRemoveListeners:ee.beforeRemove,routerConfigOptions:{routeNames:S,routeParamList:A,routeGetIdList:R},emitter:J}),re=function(e){let{router:t,getState:n,key:r,setState:i}=e;const{onRouteFocus:o}=c.useContext(h);return c.useCallback((e=>{const a=n(),s=t.getStateForRouteFocus(a,e);s!==a&&i(s),void 0!==o&&void 0!==r&&o(r)}),[n,o,t,i,r])}({router:f,key:null===o||void 0===o?void 0:o.key,getState:Z,setState:B}),ie=function(e){let{id:t,onAction:n,getState:i,emitter:o,router:a}=e;const s=c.useContext(w),l=c.useContext(g);return c.useMemo((()=>{const e=e=>{const t=”function”===typeof e?e(i()):e;n(t)||null===s||void 0===s||s(t)},c=Object.assign({},a.actionCreators,r),u=Object.keys(c).reduce(((t,n)=>(t[n]=function(){return e(c[n](…arguments))},t)),{}),d=Object.assign({},l,u,{dispatch:e,emit:o.emit,isFocused:l?l.isFocused:()=>!0,canGoBack:()=>{const e=i();return null!==a.getStateForAction(e,{type:”GO_BACK”},{routeNames:e.routeNames,routeParamList:{},routeGetIdList:{}})||(null===l||void 0===l?void 0:l.canGoBack())||!1},getId:()=>t,getParent:e=>{if(void 0!==e){let t=d;for(;t&&e!==t.getId();)t=t.getParent();return t}return l},getState:i});return d}),[t,o.emit,i,n,s,l,a])}({id:t.id,onAction:ne,getState:Z,emitter:J,router:f});!function(e){let{navigation:t,focusedListeners:n}=e;const{addListener:r}=c.useContext(h),i=c.useCallback((e=>{if(t.isFocused()){for(const t of n){const{handled:n,result:r}=t(e);if(n)return{handled:n,result:r}}return{handled:!0,result:e(t)}}return{handled:!1,result:null}}),[n,t]);c.useEffect((()=>null===r||void 0===r?void 0:r(“focus”,i)),[r,i])}({navigation:ie,focusedListeners:$.focus}),function(e){let{getState:t,getStateListeners:n}=e;const{addKeyedListener:r}=c.useContext(h),i=c.useContext(y),o=i?i.key:”root”,a=c.useCallback((()=>{const e=t(),r=e.routes.map((e=>{var t;const r=null===(t=n[e.key])||void 0===t?void 0:t.call(n);return e.state===r?e:Object.assign({},e,{state:r})}));return ve(e.routes,r)?e:Object.assign({},e,{routes:r})}),[t,n]);c.useEffect((()=>null===r||void 0===r?void 0:r(“getState”,o,a)),[r,a,o])}({getState:Z,getStateListeners:ee.getState});const oe=Ce({state:K,screens:v,navigation:ie,screenOptions:t.screenOptions,defaultScreenOptions:t.defaultScreenOptions,onAction:ne,getState:Z,setState:B,onRouteFocus:re,addListener:Q,addKeyedListener:te,router:f,emitter:J});!function(e){let{state:t,navigation:n,descriptors:r}=e;const i=c.useContext(M);i&&n.isFocused()&&(i.options=r[t.routes[t.index].key].options)}({state:K,navigation:ie,descriptors:oe});const ae=we((e=>c.createElement(se.Provider,{value:ie},c.createElement(fe,null,e))));return{state:K,navigation:ie,descriptors:oe,NavigationContent:ae}}function je(){const e=c.useRef(null);return null==e.current&&(e.current=I()),e.current}function Pe(e){const t=me(),[,n]=c.useState((()=>e(t.getState()))),r=c.useRef(e);return c.useEffect((()=>{r.current=e})),c.useEffect((()=>t.addListener(“state”,(e=>{n(r.current(e.data.state))}))),[t]),e(t.getState())}function Me(){const e=c.useContext(le);if(null==e)throw new Error(“Couldn’t find the prevent remove context. Is your component inside NavigationContent?”);return e}function Ne(){const e=c.useContext(y);if(void 0===e)throw new Error(“Couldn’t find a route object. Is your component inside a screen in a navigator?”);return e}function Le(e,t){const[n]=c.useState((()=>ce())),r=me(),{key:i}=Ne(),{setPreventRemove:o}=Me();c.useEffect((()=>(o(n,i,e),()=>{o(n,i,!1)})),[o,n,i,e]);const a=de()((n=>{e&&(n.preventDefault(),t({data:n.data}))}));c.useEffect((()=>null===r||void 0===r?void 0:r.addListener(“beforeRemove”,a)),[r,a])}let Fe=(e=21)=>{let t=””,n=e;for(;n–;)t+=”useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict”[64*Math.random()|0];return t};const Ve={getStateForAction(e,t){switch(t.type){case”SET_PARAMS”:{const n=t.source?e.routes.findIndex((e=>e.key===t.source)):e.index;return-1===n?null:Object.assign({},e,{routes:e.routes.map(((e,r)=>r===n?Object.assign({},e,{params:Object.assign({},e.params,t.payload.params)}):e))})}case”RESET”:{const n=t.payload;return 0===n.routes.length||n.routes.some((t=>!e.routeNames.includes(t.name)))?null:!1===n.stale?e.routeNames.length!==n.routeNames.length||n.routeNames.some((t=>!e.routeNames.includes(t)))?null:Object.assign({},n,{routes:n.routes.map((e=>e.key?e:Object.assign({},e,{key:`${e.name}-${Fe()}`})))}):n}default:return null}},shouldActionChangeFocus:e=>”NAVIGATE”===e.type},Be=”route”,He={jumpTo:(e,t)=>({type:”JUMP_TO”,payload:{name:e,params:t}})},Ue=(e,t,n,r)=>{const i=[{type:Be,key:e[t].key}];let o;switch(n){case”order”:for(let n=t;n>0;n–)i.unshift({type:Be,key:e[n-1].key});break;case”firstRoute”:0!==t&&i.unshift({type:Be,key:e[0].key});break;case”initialRoute”:o=e.findIndex((e=>e.name===r)),o=-1===o?0:o,t!==o&&i.unshift({type:Be,key:e[o].key})}return i},ze=(e,t,n,r)=>{let i;if(“history”===n){const n=e.routes[t].key;i=e.history.filter((e=>”route”===e.type&&e.key!==n)).concat({type:Be,key:n})}else i=Ue(e.routes,t,n,r);return Object.assign({},e,{index:t,history:i})};function We(e){let{initialRouteName:t,backBehavior:n=”firstRoute”}=e;return Object.assign({},Ve,{type:”tab”,getInitialState(e){let{routeNames:r,routeParamList:i}=e;const o=void 0!==t&&r.includes(t)?r.indexOf(t):0,a=r.map((e=>({name:e,key:`${e}-${Fe()}`,params:i[e]}))),s=Ue(a,o,n,t);return{stale:!1,type:”tab”,key:`tab-${Fe()}`,index:o,routeNames:r,history:s,routes:a}},getRehydratedState(e,r){var i,o;let{routeNames:a,routeParamList:s}=r,l=e;if(!1===l.stale)return l;const c=a.map((e=>{const t=l.routes.find((t=>t.name===e));return Object.assign({},t,{name:e,key:t&&t.name===e&&t.key?t.key:`${e}-${Fe()}`,params:void 0!==s[e]?Object.assign({},s[e],t?t.params:void 0):t?t.params:void 0})})),u=Math.min(Math.max(a.indexOf(null===(i=l.routes[(null===l||void 0===l?void 0:l.index)??0])||void 0===i?void 0:i.name),0),c.length-1),d=(null===(o=l.history)||void 0===o?void 0:o.filter((e=>c.find((t=>t.key===e.key)))))??[];return ze({stale:!1,type:”tab”,key:`tab-${Fe()}`,index:u,routeNames:a,history:d,routes:c},u,n,t)},getStateForRouteNamesChange(e,r){let{routeNames:i,routeParamList:o,routeKeyChanges:a}=r;const s=i.map((t=>e.routes.find((e=>e.name===t&&!a.includes(e.name)))||{name:t,key:`${t}-${Fe()}`,params:o[t]})),l=Math.max(0,i.indexOf(e.routes[e.index].name));let c=e.history.filter((e=>”route”!==e.type||s.find((t=>t.key===e.key))));return c.length||(c=Ue(s,l,n,t)),Object.assign({},e,{history:c,routeNames:i,routes:s,index:l})},getStateForRouteFocus(e,r){const i=e.routes.findIndex((e=>e.key===r));return-1===i||i===e.index?e:ze(e,i,n,t)},getStateForAction(e,r,i){let{routeParamList:o,routeGetIdList:a}=i;switch(r.type){case”JUMP_TO”:case”NAVIGATE”:{let i=-1;return i=”NAVIGATE”===r.type&&r.payload.key?e.routes.findIndex((e=>e.key===r.payload.key)):e.routes.findIndex((e=>e.name===r.payload.name)),-1===i?null:ze(Object.assign({},e,{routes:e.routes.map(((e,t)=>{if(t!==i)return e;const n=a[e.name],s=null===n||void 0===n?void 0:n({params:e.params}),l=null===n||void 0===n?void 0:n({params:r.payload.params}),c=s===l?e.key:`${e.name}-${Fe()}`;let u;u=”NAVIGATE”===r.type&&r.payload.merge&&s===l?void 0!==r.payload.params||void 0!==o[e.name]?Object.assign({},o[e.name],e.params,r.payload.params):e.params:void 0!==o[e.name]?Object.assign({},o[e.name],r.payload.params):r.payload.params;const d=”NAVIGATE”===r.type&&null!=r.payload.path?r.payload.path:e.path;return u!==e.params||d!==e.path?Object.assign({},e,{key:c,path:d,params:u}):e}))}),i,n,t)}case”GO_BACK”:{if(1===e.history.length)return null;const t=e.history[e.history.length-2].key,n=e.routes.findIndex((e=>e.key===t));return-1===n?null:Object.assign({},e,{history:e.history.slice(0,-1),index:n})}default:return Ve.getStateForAction(e,r)}},shouldActionChangeFocus:e=>”NAVIGATE”===e.type,actionCreators:He})}const Ke=[“defaultStatus”],Xe=Object.assign({},He,{openDrawer:()=>({type:”OPEN_DRAWER”}),closeDrawer:()=>({type:”CLOSE_DRAWER”}),toggleDrawer:()=>({type:”TOGGLE_DRAWER”})});function qe(e){let{defaultStatus:t=”closed”}=e;const n=We((0,i.default)(e,Ke)),r=e=>{var t;return Boolean(null===(t=e.history)||void 0===t?void 0:t.some((e=>”drawer”===e.type)))},o=e=>r(e)?e:Object.assign({},e,{history:[…e.history,{type:”drawer”,status:”open”===t?”closed”:”open”}]}),a=e=>r(e)?Object.assign({},e,{history:e.history.filter((e=>”drawer”!==e.type))}):e,s=e=>”open”===t?o(e):a(e);return Object.assign({},n,{type:”drawer”,getInitialState(e){let{routeNames:r,routeParamList:i,routeGetIdList:o}=e;const a=n.getInitialState({routeNames:r,routeParamList:i,routeGetIdList:o});return Object.assign({},a,{default:t,stale:!1,type:”drawer”,key:`drawer-${Fe()}`})},getRehydratedState(e,i){let{routeNames:s,routeParamList:l,routeGetIdList:c}=i;if(!1===e.stale)return e;let u=n.getRehydratedState(e,{routeNames:s,routeParamList:l,routeGetIdList:c});return r(e)&&(u=a(u),u=o(u)),Object.assign({},u,{default:t,type:”drawer”,key:`drawer-${Fe()}`})},getStateForRouteFocus(e,t){const r=n.getStateForRouteFocus(e,t);return s(r)},getStateForAction(e,i,l){switch(i.type){case”OPEN_DRAWER”:return(e=>”open”===t?a(e):o(e))(e);case”CLOSE_DRAWER”:return s(e);case”TOGGLE_DRAWER”:return r(e)?a(e):o(e);case”JUMP_TO”:case”NAVIGATE”:{const t=n.getStateForAction(e,i,l);return null!=t&&t.index!==e.index?s(t):t}case”GO_BACK”:return r(e)?a(e):n.getStateForAction(e,i,l);default:return n.getStateForAction(e,i,l)}},actionCreators:Xe})}const Ge={replace:(e,t)=>({type:”REPLACE”,payload:{name:e,params:t}}),push:(e,t)=>({type:”PUSH”,payload:{name:e,params:t}}),pop(){return{type:”POP”,payload:{count:arguments.length>0&&void 0!==arguments[0]?arguments[0]:1}}},popToTop:()=>({type:”POP_TO_TOP”})};function Ye(e){const t=Object.assign({},Ve,{type:”stack”,getInitialState(t){let{routeNames:n,routeParamList:r}=t;const i=void 0!==e.initialRouteName&&n.includes(e.initialRouteName)?e.initialRouteName:n[0];return{stale:!1,type:”stack”,key:`stack-${Fe()}`,index:0,routeNames:n,routes:[{key:`${i}-${Fe()}`,name:i,params:r[i]}]}},getRehydratedState(t,n){let{routeNames:r,routeParamList:i}=n,o=t;if(!1===o.stale)return o;const a=o.routes.filter((e=>r.includes(e.name))).map((e=>Object.assign({},e,{key:e.key||`${e.name}-${Fe()}`,params:void 0!==i[e.name]?Object.assign({},i[e.name],e.params):e.params})));if(0===a.length){const t=void 0!==e.initialRouteName?e.initialRouteName:r[0];a.push({key:`${t}-${Fe()}`,name:t,params:i[t]})}return{stale:!1,type:”stack”,key:`stack-${Fe()}`,index:a.length-1,routeNames:r,routes:a}},getStateForRouteNamesChange(t,n){let{routeNames:r,routeParamList:i,routeKeyChanges:o}=n;const a=t.routes.filter((e=>r.includes(e.name)&&!o.includes(e.name)));if(0===a.length){const t=void 0!==e.initialRouteName&&r.includes(e.initialRouteName)?e.initialRouteName:r[0];a.push({key:`${t}-${Fe()}`,name:t,params:i[t]})}return Object.assign({},t,{routeNames:r,routes:a,index:Math.min(t.index,a.length-1)})},getStateForRouteFocus(e,t){const n=e.routes.findIndex((e=>e.key===t));return-1===n||n===e.index?e:Object.assign({},e,{index:n,routes:e.routes.slice(0,n+1)})},getStateForAction(e,n,r){const{routeParamList:i}=r;switch(n.type){case”REPLACE”:{const t=n.target===e.key&&n.source?e.routes.findIndex((e=>e.key===n.source)):e.index;if(-1===t)return null;const{name:r,key:o,params:a}=n.payload;return e.routeNames.includes(r)?Object.assign({},e,{routes:e.routes.map(((e,n)=>n===t?{key:void 0!==o?o:`${r}-${Fe()}`,name:r,params:void 0!==i[r]?Object.assign({},i[r],a):a}:e))}):null}case”PUSH”:if(e.routeNames.includes(n.payload.name)){const t=r.routeGetIdList[n.payload.name],o=null===t||void 0===t?void 0:t({params:n.payload.params}),a=o?e.routes.find((e=>e.name===n.payload.name&&o===(null===t||void 0===t?void 0:t({params:e.params})))):void 0;let s;return a?(s=e.routes.filter((e=>e.key!==a.key)),s.push(Object.assign({},a,{params:void 0!==i[n.payload.name]?Object.assign({},i[n.payload.name],n.payload.params):n.payload.params}))):s=[…e.routes,{key:`${n.payload.name}-${Fe()}`,name:n.payload.name,params:void 0!==i[n.payload.name]?Object.assign({},i[n.payload.name],n.payload.params):n.payload.params}],Object.assign({},e,{index:s.length-1,routes:s})}return null;case”POP”:{const t=n.target===e.key&&n.source?e.routes.findIndex((e=>e.key===n.source)):e.index;if(t>0){const r=Math.max(t-n.payload.count+1,1),i=e.routes.slice(0,r).concat(e.routes.slice(t+1));return Object.assign({},e,{index:i.length-1,routes:i})}return null}case”POP_TO_TOP”:return t.getStateForAction(e,{type:”POP”,payload:{count:e.routes.length-1}},r);case”NAVIGATE”:if(void 0!==n.payload.name&&!e.routeNames.includes(n.payload.name))return null;if(n.payload.key||n.payload.name){let t=-1;const o=void 0===n.payload.key&&void 0!==n.payload.name?r.routeGetIdList[n.payload.name]:void 0,a=null===o||void 0===o?void 0:o({params:n.payload.params});if(a)t=e.routes.findIndex((e=>e.name===n.payload.name&&a===(null===o||void 0===o?void 0:o({params:e.params}))));else if(e.routes[e.index].name===n.payload.name&&void 0===n.payload.key||e.routes[e.index].key===n.payload.key)t=e.index;else for(let r=e.routes.length-1;r>=0;r–)if(e.routes[r].name===n.payload.name&&void 0===n.payload.key||e.routes[r].key===n.payload.key){t=r;break}if(-1===t&&n.payload.key&&void 0===n.payload.name)return null;if(-1===t&&void 0!==n.payload.name){const t=[…e.routes,{key:n.payload.key??`${n.payload.name}-${Fe()}`,name:n.payload.name,path:n.payload.path,params:void 0!==i[n.payload.name]?Object.assign({},i[n.payload.name],n.payload.params):n.payload.params}];return Object.assign({},e,{routes:t,index:t.length-1})}const s=e.routes[t];let l;return l=n.payload.merge?void 0!==n.payload.params||void 0!==i[s.name]?Object.assign({},i[s.name],s.params,n.payload.params):s.params:void 0!==i[s.name]?Object.assign({},i[s.name],n.payload.params):n.payload.params,Object.assign({},e,{index:t,routes:[…e.routes.slice(0,t),l!==s.params||n.payload.path&&n.payload.path!==s.path?Object.assign({},s,{path:n.payload.path??s.path,params:l}):e.routes[t]]})}return null;case”GO_BACK”:return e.index>0?t.getStateForAction(e,{type:”POP”,payload:{count:1},target:n.target,source:n.source},r):null;default:return Ve.getStateForAction(e,n)}},actionCreators:Ge});return t}},79852:(e,t)=>{“use strict”;var n=”function”===typeof Symbol&&Symbol.for,r=n?Symbol.for(“react.element”):60103,i=n?Symbol.for(“react.portal”):60106,o=n?Symbol.for(“react.fragment”):60107,a=n?Symbol.for(“react.strict_mode”):60108,s=n?Symbol.for(“react.profiler”):60114,l=n?Symbol.for(“react.provider”):60109,c=n?Symbol.for(“react.context”):60110,u=n?Symbol.for(“react.async_mode”):60111,d=n?Symbol.for(“react.concurrent_mode”):60111,p=n?Symbol.for(“react.forward_ref”):60112,f=n?Symbol.for(“react.suspense”):60113,h=n?Symbol.for(“react.suspense_list”):60120,m=n?Symbol.for(“react.memo”):60115,g=n?Symbol.for(“react.lazy”):60116,y=n?Symbol.for(“react.block”):60121,v=n?Symbol.for(“react.fundamental”):60117,b=n?Symbol.for(“react.responder”):60118,w=n?Symbol.for(“react.scope”):60119;function k(e){if(“object”===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function _(e){return k(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||k(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return”object”===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return”string”===typeof e||”function”===typeof e||e===o||e===d||e===s||e===a||e===f||e===h||”object”===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},57273:(e,t,n)=>{“use strict”;e.exports=n(79852)},70809:function(e,t,n){“use strict”;var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!(“get”in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,”default”,{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)”default”!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0});var s=o(n(95004)),l=a(n(38258));t.default=function(e){var t=s.useRef(e),n=s.useRef((function(){for(var e=[],n=0;n{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(95004),i=”undefined”!==typeof document?r.useLayoutEffect:r.useEffect;t.default=i},2066:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>k});var r=n(63366),i=n(95004),o=n(6740),a=n(59550),s=n(67842),l=n(69052),c=n(18796),u=n(19202);const d=[“style”];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement(v,e):y;return i.createElement(i.Fragment,null,i.createElement(o.default.View,{pointerEvents:”box-none”,style:[a.default.absoluteFill,{zIndex:0},j]},x?x({style:Se}):S?null:i.createElement(f,{style:Se})),i.createElement(o.default.View,{pointerEvents:”box-none”,style:[{height:H,minHeight:U,maxHeight:z,opacity:ke,transform:_e}]},i.createElement(s.default,{pointerEvents:”none”,style:{height:F}}),i.createElement(s.default,{pointerEvents:”box-none”,style:_.content},i.createElement(o.default.View,{pointerEvents:”box-none”,style:[_.left,”center”===b&&_.expand,{marginStart:t.left},D]},Ce),i.createElement(o.default.View,{pointerEvents:”box-none”,style:[_.title,{maxWidth:”center”===b?p.width-2*((Ce?!1!==E?80:32:16)+Math.max(t.left,t.right)):p.width-((Ce?72:16)+(xe?72:16)+t.left-t.right)},O]},Ae({children:g,allowFontScaling:R,tintColor:C,style:T})),i.createElement(o.default.View,{pointerEvents:”box-none”,style:[_.right,_.expand,{marginEnd:t.right},I]},xe))))}const _=a.default.create({content:{flex:1,flexDirection:”row”,alignItems:”stretch”},title:{marginHorizontal:16,justifyContent:”center”},left:{justifyContent:”center”,alignItems:”flex-start”},right:{justifyContent:”center”,alignItems:”flex-end”},expand:{flexGrow:1,flexBasis:0}})},89681:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>r});const r=(0,n(75259).default)(“HeaderShownContext”,!1)},18796:(e,t,n)=>{“use strict”;function r(e,t,n){let r;e.width,e.height;return r=64,r+n}n.r(t),n.d(t,{default:()=>r})},75339:(e,t,n)=>{“use strict”;function r(e,t){return”string”===typeof e.headerTitle?e.headerTitle:void 0!==e.title?e.title:t}n.r(t),n.d(t,{default:()=>r})},67095:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>d});var r=n(95004),i=n(45458),o=n(59550),a=n(67842),s=n(69052);const{width:l=0,height:c=0}=i.default.get(“window”),u={frame:{x:0,y:0,width:l,height:c},insets:{top:0,left:0,right:0,bottom:0}};function d(e){let{children:t,style:n}=e;return r.useContext(s.SafeAreaInsetsContext)?r.createElement(a.default,{style:[f.container,n]},t):(t=r.createElement(p,{initialMetrics:u},t),r.createElement(s.SafeAreaProvider,{initialMetrics:u,style:n},t))}const p=e=>{let{initialMetrics:t,children:n}=e;const i=r.useRef(null),[a,l]=r.useState(t.frame);return r.useEffect((()=>{if(null==i.current)return;const e=i.current.getBoundingClientRect();let t;l({x:e.x,y:e.y,width:e.width,height:e.height});const n=new ResizeObserver((e=>{const n=e[0];if(n){const{x:e,y:r,width:i,height:o}=n.contentRect;clearTimeout(t),t=setTimeout((()=>{l({x:e,y:r,width:i,height:o})}),100)}}));return n.observe(i.current),()=>{n.disconnect(),clearTimeout(t)}}),[]),r.createElement(s.SafeAreaFrameContext.Provider,{value:a},r.createElement(“div”,{ref:i,style:Object.assign({},o.default.absoluteFillObject,{pointerEvents:”none”,visibility:”hidden”})}),n)};d.initialMetrics=u;const f=o.default.create({container:{flex:1}})},58236:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>g});var r=n(95189),i=n(95004),o=n(59550),a=n(67842),s=n(69052),l=n(63366),c=n(19202);const u=[“style”];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,f.default)(t,u,b)));return i.createElement(p,{accessibilityElementsHidden:!c,importantForAccessibility:c?”auto”:”no-hide-descendants”,style:[y.container,E]},i.createElement(a.default,{style:y.content},i.createElement(m.default.Provider,{value:o||!1!==g},i.createElement(h.Provider,{value:g?S:l??0},_))),g?i.createElement(r.NavigationContext.Provider,{value:w},i.createElement(r.NavigationRouteContext.Provider,{value:k},i.createElement(a.default,{onLayout:e=>{const{height:t}=e.nativeEvent.layout;C(t)},style:v?y.absolute:null},d))):null)}const y=o.default.create({container:{flex:1,flexDirection:”column-reverse”},content:{flex:1},absolute:{position:”absolute”,top:0,left:0,right:0}})},75259:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>o});var r=n(95004);const i=”__react_navigation__elements_contexts”;function o(e,t){let o=n.g[i].get(e);return o||(o=r.createContext(t),o.displayName=e,n.g[i].set(e,o),o)}n.g[i]=n.g[i]??new Map},43696:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>A});const r=(0,n(75259).default)(“HeaderBackContext”,void 0);var i=n(67095),o=n(75339),a=n(58236),s=n(2066),l=n(19202),c=n(95004),u=n(6740),d=n(7287),p=n(68922),f=n(59550),h=n(67842);var m=n(63366),g=n(91601),y=n(41711);const v=[“onPressIn”,”onPressOut”,”android_ripple”,”pressColor”,”pressOpacity”,”style”];function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;tnew u.default.Value(1))),f=(e,t)=>{k||u.default.timing(p,{toValue:e,duration:t,easing:g.default.inOut(g.default.quad),useNativeDriver:!0}).start()};return c.createElement(w,b({onPressIn:e=>{f(o,0),null===t||void 0===t||t(e)},onPressOut:e=>{f(1,200),null===n||void 0===n||n(e)},android_ripple:k?Object.assign({color:void 0!==i?i:d?”rgba(255, 255, 255, .32)”:”rgba(0, 0, 0, .32)”},r):void 0,style:[{opacity:k?1:p},a]},s))}function E(e){let{disabled:t,allowFontScaling:r,backImage:i,label:o,labelStyle:a,labelVisible:s=!1,onLabelLayout:d,onPress:f,pressColor:m,pressOpacity:g,screenLayout:y,tintColor:v,titleLayout:b,truncatedLabel:w=”Back”,accessibilityLabel:k=(o&&”Back”!==o?`${o}, back`:”Go back”),testID:E,style:x}=e;const{colors:A}=(0,l.default)(),[R,T]=c.useState(void 0),D=void 0!==v?v:A.text,I=e=>{null===d||void 0===d||d(e),T(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return c.createElement(_,{disabled:t,accessible:!0,accessibilityRole:”button”,accessibilityLabel:k,testID:E,onPress:t?void 0:()=>f&&requestAnimationFrame(f),pressColor:m,pressOpacity:g,android_ripple:S,style:[C.container,t&&C.disabled,x],hitSlop:{top:16,right:16,bottom:16,left:16}},c.createElement(c.Fragment,null,i?i({tintColor:D}):c.createElement(p.default,{style:[C.icon,Boolean(s)&&C.iconWithLabel,Boolean(D)&&{tintColor:D}],source:n(43748),fadeDuration:0}),(()=>{const e=!o||R&&b&&y&&(y.width-b.width)/2{var u,d;const m=t.index===i,g=null===(u=t.routes[i-1])||void 0===u?void 0:u.key,y=null===(d=t.routes[i+1])||void 0===d?void 0:d.key,v=g?n[g]:void 0,b=y?n[y]:void 0,{options:w,navigation:k,render:_}=n[e.key],S=v?{title:(0,o.default)(v.options,v.route.name)}:l,C=void 0!==S,{header:A,headerShown:T,headerTintColor:D,headerBackImageSource:I,headerLeft:O,headerRight:j,headerTitle:P,headerTitleAlign:M,headerTitleStyle:N,headerStyle:L,headerShadowVisible:F,headerTransparent:V,headerBackground:B,headerBackTitle:H,presentation:U,contentStyle:z}=w,W=null===b||void 0===b?void 0:b.options.presentation;return c.createElement(a.default,{key:e.key,focused:m,route:e,navigation:k,headerShown:T,headerTransparent:V,header:void 0!==A?A({back:S,options:w,route:e,navigation:k}):c.createElement(s.default,{title:(0,o.default)(w,e.name),headerTintColor:D,headerLeft:”function”===typeof O?e=>{let{tintColor:t}=e;return O({tintColor:t,canGoBack:C,label:H})}:void 0===O&&C?e=>{let{tintColor:t}=e;return c.createElement(E,{tintColor:t,backImage:void 0!==I?()=>c.createElement(p.default,{source:I,style:[R.backImage,{tintColor:t}]}):void 0,onPress:k.goBack,canGoBack:C})}:O,headerRight:”function”===typeof j?e=>{let{tintColor:t}=e;return j({tintColor:t,canGoBack:C})}:j,headerTitle:”function”===typeof P?e=>{let{children:t,tintColor:n}=e;return P({children:t,tintColor:n})}:P,headerTitleAlign:M,headerTitleStyle:N,headerTransparent:V,headerShadowVisible:F,headerBackground:B,headerStyle:L}),style:[f.default.absoluteFill,{display:m||null!=W&&x.includes(W)?”flex”:”none”},null!=U&&x.includes(U)?{backgroundColor:”transparent”}:null]},c.createElement(r.Provider,{value:S},c.createElement(h.default,{style:[R.contentContainer,z]},_())))}))))}const R=f.default.create({container:{flex:1},contentContainer:{flex:1},backImage:{height:24,width:24,margin:3,resizeMode:”contain”}})},2734:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>i});const r=n(95004).createContext({options:void 0});r.displayName=”LinkingContext”;const i=r},68574:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{default:()=>k});var i=r(63366),o=r(95189),a=r(95004),s=r(2734),l=r(75803),c=r(68581);function u(e){let{value:t,children:n}=e;return a.createElement(c.default.Provider,{value:t},n)}var d=r(82352),p=r.n(d);let f=(e=21)=>{let t=””,n=e;for(;n–;)t+=”useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict”[64*Math.random()|0];return t};function h(){let e=0,t=[];const n=[],r=()=>{n.forEach((e=>{const t=e.cb;e.cb=()=>t(!0)}))};return{get index(){var e;const n=null===(e=window.history.state)||void 0===e?void 0:e.id;if(n){const e=t.findIndex((e=>e.id===n));return e>-1?e:0}return 0},get:e=>t[e],backIndex(n){let{path:r}=n;for(let i=e-1;i>=0;i–){if(t[i].path===r)return i}return-1},push(n){let{path:i,state:o}=n;r();const a=f();t=t.slice(0,e+1),t.push({path:i,state:o,id:a}),e=t.length-1,window.history.pushState({id:a},””,i)},replace(n){var i;let{path:o,state:a}=n;r();const s=(null===(i=window.history.state)||void 0===i?void 0:i.id)??f();let l=o;!t.length||t.findIndex((e=>e.id===s))<0?(l+=location.hash,t=[{path:l,state:a,id:s}],e=0):(t[e].path===o&&(l+=location.hash),t[e]={path:o,state:a,id:s}),window.history.replaceState({id:s},"",l)},go(i){r();const o=e+i,a=t.length-1;if(i<0&&!t[o]?(i=-e,e=0):i>0&&o>a?(i=a-e,e=a):e=o,0!==i)return new Promise(((r,o)=>{const a=e=>{if(clearTimeout(s),e)return void o(new Error(“History was changed during navigation.”));const{title:t}=window.document;window.document.title=””,window.document.title=t,r()};n.push({ref:a,cb:a});const s=setTimeout((()=>{const e=n.findIndex((e=>e.ref===a));e>-1&&(n[e].cb(),n.splice(e,1))}),100),l=()=>{var r;const i=null===(r=window.history.state)||void 0===r?void 0:r.id,o=t.findIndex((e=>e.id===i));e=Math.max(o,0);const a=n.pop();window.removeEventListener(“popstate”,l),null===a||void 0===a||a.cb()};window.addEventListener(“popstate”,l),window.history.go(i)}))},listen(e){const t=()=>{n.length||e()};return window.addEventListener(“popstate”,t),()=>window.removeEventListener(“popstate”,t)}}}const m=a.createContext(void 0),g=(e,t)=>{if(void 0===e||void 0===t||e.key!==t.key)return[void 0,void 0];const n=e.history?e.history.length:e.routes.length,r=t.history?t.history.length:t.routes.length,i=e.routes[e.index],o=t.routes[t.index],a=i.state,s=o.state;return n!==r||i.key!==o.key||void 0===a||void 0===s||a.key!==s.key?[e,t]:g(a,s)},y=e=>{let t=Promise.resolve();return()=>{t=t.then(e)}};function v(e){const[t]=a.useState(e);let n=[!1,void 0];t.then((e=>{n=[!0,e]}));const[r,i]=a.useState(n),[o]=r;return a.useEffect((()=>{let e=!1;return o||(async()=>{let n;try{n=await t}finally{e||i([!0,n])}})(),()=>{e=!0}}),[t,o]),r}const b=[“theme”,”linking”,”fallback”,”documentTitle”,”onReady”];function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t(null===e||void 0===e?void 0:e.title)??(null===t||void 0===t?void 0:t.name))}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a.useEffect((()=>{if(!t)return;const r=e.current;if(r){const e=n(r.getCurrentOptions(),r.getCurrentRoute());document.title=e}return null===r||void 0===r?void 0:r.addListener(“options”,(e=>{const t=n(e.data.options,null===r||void 0===r?void 0:r.getCurrentRoute());document.title=t}))}))}(S,f);const{getInitialState:C}=function(t,n){let{independent:r,enabled:i=!0,config:s,getStateFromPath:l=o.getStateFromPath,getPathFromState:c=o.getPathFromState,getActionFromState:u=o.getActionFromState}=n;a.useEffect((()=>{}),[i,r]);const[d]=a.useState(h),f=a.useRef(i),v=a.useRef(s),b=a.useRef(l),w=a.useRef(c),k=a.useRef(u);a.useEffect((()=>{f.current=i,v.current=s,b.current=l,w.current=c,k.current=u}));const _=a.useContext(m),E=a.useCallback((()=>{let e;if(f.current){const t=(null===_||void 0===_?void 0:_.location)??window.location,n=t?t.pathname+t.search:void 0;n&&(e=b.current(n,v.current))}const t={then:t=>Promise.resolve(t?t(e):e),catch:()=>t};return t}),[]),S=a.useRef(void 0),C=a.useRef(void 0),x=a.useRef(void 0);return a.useEffect((()=>(S.current=d.index,d.listen((()=>{const n=t.current;if(!n||!i)return;const{location:r}=window,o=r.pathname+r.search,a=d.index,s=S.current??0;S.current=a,x.current=o;const l=d.get(a);if((null===l||void 0===l?void 0:l.path)===o&&null!==l&&void 0!==l&&l.state)return void n.resetRoot(l.state);const c=b.current(o,v.current);if(c){const t=n.getRootState();if(c.routes.some((e=>!(null!==t&&void 0!==t&&t.routeNames.includes(e.name)))))return;if(a>s){const t=k.current(c,v.current);if(void 0!==t)try{n.dispatch(t)}catch(e){}else n.resetRoot(c)}else n.resetRoot(c)}else n.resetRoot(c)})))),[i,d,t]),a.useEffect((()=>{var n;if(!i)return;const r=(e,t)=>{if(null!==e&&void 0!==e&&e.path){const t=b.current(e.path,v.current);if(t){const n=(0,o.findFocusedRoute)(t);if(n&&n.name===e.name&&p()(n.params,e.params))return e.path}}return w.current(t,v.current)};if(t.current){const e=t.current.getRootState();if(e){const t=(0,o.findFocusedRoute)(e),n=r(t,e);void 0===C.current&&(C.current=e),d.replace({path:n,state:e})}}return null===(n=t.current)||void 0===n?void 0:n.addListener(“state”,y((async()=>{const n=t.current;if(!n||!i)return;const a=C.current,s=n.getRootState();if(!s)return;const l=x.current,c=(0,o.findFocusedRoute)(s),u=r(c,s);C.current=s,x.current=void 0;const[p,f]=g(a,s);if(p&&f&&u!==l){const t=(f.history?f.history.length:f.routes.length)-(p.history?p.history.length:p.routes.length);if(t>0)d.push({path:u,state:s});else if(t<0){const n=d.backIndex({path:u}),r=d.index;try{-1!==n&&n{S.current&&REACT_NAVIGATION_DEVTOOLS.set(S.current,{get linking(){return Object.assign({},c,{enabled:E,prefixes:(null===c||void 0===c?void 0:c.prefixes)??[],getStateFromPath:(null===c||void 0===c?void 0:c.getStateFromPath)??o.getStateFromPath,getPathFromState:(null===c||void 0===c?void 0:c.getPathFromState)??o.getPathFromState,getActionFromState:(null===c||void 0===c?void 0:c.getActionFromState)??o.getActionFromState})}})}));const[x,A]=v(C);a.useImperativeHandle(n,(()=>S.current));const R=a.useMemo((()=>({options:c})),[c]),T=null!=_.initialState||!E||x,D=a.useRef(k);return a.useEffect((()=>{D.current=k})),a.useEffect((()=>{var e;T&&(null===(e=D.current)||void 0===e||e.call(D))}),[T]),T?a.createElement(s.default.Provider,{value:R},a.createElement(u,{value:r},a.createElement(o.BaseNavigationContainer,w({},_,{initialState:null==_.initialState?A:_.initialState,ref:S})))):d}))},94604:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>r});const r={dark:!0,colors:{primary:”rgb(10, 132, 255)”,background:”rgb(1, 1, 1)”,card:”rgb(18, 18, 18)”,text:”rgb(229, 229, 231)”,border:”rgb(39, 39, 41)”,notification:”rgb(255, 69, 58)”}}},75803:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>r});const r={dark:!1,colors:{primary:”rgb(0, 122, 255)”,background:”rgb(242, 242, 242)”,card:”rgb(255, 255, 255)”,text:”rgb(28, 28, 30)”,border:”rgb(216, 216, 216)”,notification:”rgb(255, 59, 48)”}}},68581:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>a});var r=n(95004),i=n(75803);const o=r.createContext(i.default);o.displayName=”ThemeContext”;const a=o},19202:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>o});var r=n(95004),i=n(68581);function o(){return r.useContext(i.default)}},65010:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>s});var r=n(95189),i=n(95004),o=n(2734);const a=e=>null!==e&&void 0!==e&&e.state?e.state:null!==e&&void 0!==e&&e.screen?{routes:[{name:e.screen,params:e.params,state:e.screen?a(e.params):void 0}]}:void 0;function s(e){let{to:t,action:n}=e;const s=i.useContext(r.NavigationContainerRefContext),l=i.useContext(r.NavigationHelpersContext),{options:c}=i.useContext(o.default),u=function(){const e=i.useContext(r.NavigationContainerRefContext),t=i.useContext(o.default);return i.useCallback((n=>{if(void 0===e)throw new Error(“Couldn’t find a navigation object. Is your component inside NavigationContainer?”);if(“string”!==typeof n)return void e.navigate(n.screen,n.params);if(!n.startsWith(“/”))throw new Error(`The path must start with ‘/’ (${n}).`);const{options:i}=t,o=null!==i&&void 0!==i&&i.getStateFromPath?i.getStateFromPath(n,i.config):(0,r.getStateFromPath)(n,null===i||void 0===i?void 0:i.config);if(!o)throw new Error(“Failed to parse the path to a navigation state.”);{const t=(0,r.getActionFromState)(o,null===i||void 0===i?void 0:i.config);void 0!==t?e.dispatch(t):e.reset(o)}}),[t,e])}(),d=(null===c||void 0===c?void 0:c.getPathFromState)??r.getPathFromState;return{href:”string”===typeof t?t:d({routes:[{name:t.screen,params:t.params,state:a(t.params)}]},null===c||void 0===c?void 0:c.config),accessibilityRole:”link”,onPress:e=>{var r;let i=!1;if(e?e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||null!=e.button&&0!==e.button||![void 0,null,””,”self”].includes(null===(r=e.currentTarget)||void 0===r?void 0:r.target)||(e.preventDefault(),i=!0):i=!e||!e.defaultPrevented,i)if(n)if(l)l.dispatch(n);else{if(!s)throw new Error(“Couldn’t find a navigation object. Is your component inside NavigationContainer?”);s.dispatch(n)}else u(t)}}}},51949:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>u});var r=n(63366),i=n(95004),o=n(67842);function a(e,t){const n=e/100;switch(t){case”dark”:case”systemMaterialDark”:return`rgba(25,25,25,${.78*n})`;case”light”:case”extraLight”:case”systemMaterialLight”:case”systemUltraThinMaterialLight”:case”systemThickMaterialLight”:return`rgba(249,249,249,${.78*n})`;case”default”:case”prominent”:case”systemMaterial”:return`rgba(255,255,255,${.3*n})`;case”regular”:return`rgba(179,179,179,${.82*n})`;case”systemThinMaterial”:return`rgba(199,199,199,${.97*n})`;case”systemChromeMaterial”:return`rgba(255,255,255,${.75*n})`;case”systemChromeMaterialLight”:return`rgba(255,255,255,${.97*n})`;case”systemUltraThinMaterial”:case”systemThickMaterial”:return`rgba(191,191,191,${.44*n})`;case”systemThickMaterialDark”:return`rgba(37,37,37,${.9*n})`;case”systemThinMaterialDark”:return`rgba(37,37,37,${.7*n})`;case”systemUltraThinMaterialDark”:return`rgba(37,37,37,${.55*n})`;case”systemChromeMaterialDark”:return`rgba(0,0,0,${.75*n})`;case”systemThinMaterialLight”:return`rgba(199,199,199,${.78*n})`}}var s=n(2629);const l=[“tint”,”intensity”,”style”];function c({intensity:e,tint:t}){const n=`saturate(180%) blur(${.2*Math.min(e,100)}px)`;return{backgroundColor:a(Math.min(e,100),t),backdropFilter:n,WebkitBackdropFilter:n}}const u=(0,i.forwardRef)(((e,t)=>{let{tint:n=”default”,intensity:a=50,style:u}=e,d=(0,r.default)(e,l);const p=(0,i.useRef)(null),f=c({tint:n,intensity:a});return(0,i.useImperativeHandle)(t,(()=>({setNativeProps:e=>{if(!p.current?.style)return;const t=c({intensity:e.style?.intensity??a,tint:n??”default”});if(e.style)for(const n in e.style)”intensity”!==n&&(p.current.style[n]=e.style[n]);p.current.style.backgroundColor=t.backgroundColor,p.current.style.backdropFilter=t.backdropFilter,p.current.style.webkitBackdropFilter=t.WebkitBackdropFilter}})),[a,n]),(0,s.jsx)(o.default,Object.assign({},d,{style:[u,f],ref:p}))}))},44278:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ClipboardPasteButton:()=>l,ContentType:()=>c,StringFormat:()=>u,addClipboardListener:()=>P,getImageAsync:()=>I,getStringAsync:()=>S,getUrlAsync:()=>R,hasImageAsync:()=>j,hasStringAsync:()=>A,hasUrlAsync:()=>D,isPasteButtonAvailable:()=>N,removeClipboardListener:()=>M,setImageAsync:()=>O,setString:()=>x,setStringAsync:()=>C,setUrlAsync:()=>T});var r=n(80824),i=n(63366);n(95004);const o=undefined;var a=n(2629);const s=[“onPress”];function l(e){let{onPress:t}=e,n=(0,i.default)(e,s);if(!o)return null;return(0,a.jsx)(o,Object.assign({onPastePressed:({nativeEvent:e})=>{t(e)}},n))}var c,u,d=n(75074);class p extends d.CodedError{constructor(){super(“ERR_CLIPBOARD_UNAVAILABLE”,”The ‘AsyncClipboard’ API is not available on this browser”)}}class f extends d.CodedError{constructor(e){super(“ERR_COPY_FAILURE”,`Failed to copy to clipboard: ${e}`)}}class h extends d.CodedError{constructor(e){super(“ERR_COPY_FAILURE”,`Failed to paste from clipboard: ${e}`)}}class m extends d.CodedError{constructor(){super(“ERR_NO_PERMISSION”,”User denied permission to access clipboard”)}}function g(e){return new Promise(((t,n)=>{const r=new FileReader;r.onloadend=()=>t(r.result),r.readAsDataURL(e)}))}function y(e){const t=document.createElement(“div”);return t.innerHTML=e,t.textContent||t.innerText||””}function v(e){return new Promise(((t,n)=>{const r=URL.createObjectURL(e),i=document.createElement(“img”);i.src=r,i.onload=function(){t({width:i.width,height:i.height})}}))}async function b(e){for(const t of e)if(t.types.some((e=>”text/html”===e)))return await t.getType(“text/html”);return null}async function w(){return”denied”===(await navigator.permissions.query({name:”clipboard-read”})).state}!function(e){e.PLAIN_TEXT=”plain-text”,e.HTML=”html”,e.IMAGE=”image”,e.URL=”url”}(c||(c={})),function(e){e.PLAIN_TEXT=”plainText”,e.HTML=”html”}(u||(u={}));const k={async getStringAsync(e){if(!navigator.clipboard)throw new p;try{if(e.preferredFormat===u.HTML){const e=await navigator.clipboard.read(),t=await b(e);return t?await new Response(t).text():await navigator.clipboard.readText()}{let e=await navigator.clipboard.readText();if(!e||””===e){const t=await navigator.clipboard.read(),n=await b(t);e=y(await(n?.text())??””)}return e}}catch(t){if(“object”===typeof t&&”NotAllowedError”===t?.name||await w())throw new m;try{return window.clipboardData.getData(“Text”)}catch{return Promise.reject(new Error(“Unable to retrieve item from clipboard”))}}},setString(e){const t=document.createElement(“textarea”);t.textContent=e,document.body.appendChild(t),t.select();try{return document.execCommand(“copy”),!0}catch{return!1}finally{document.body.removeChild(t)}},async setStringAsync(e,t){if(t.inputFormat===u.HTML){if(!navigator.clipboard)throw new p;try{const t=(n=e,new ClipboardItem({“text/html”:new Blob([n],{type:”text/html”}),”text/plain”:new Blob([y(n)],{type:”text/plain”})}));return await navigator.clipboard.write([t]),!0}catch(r){if(“object”===typeof r&&”NotAllowedError”===r?.name||await w())throw new m;throw new f(r.message)}}try{if(!navigator.clipboard)throw new Error;return await navigator.clipboard.writeText(e),!0}catch{return this.setString(e)}var n},hasStringAsync:async()=>await _([“text/plain”,”text/html”]),async getImageAsync(e){if(!navigator.clipboard)throw new p;try{const e=await navigator.clipboard.read(),t=await async function(e){for(const t of e){if(t.types.some((e=>”image/png”===e)))return await t.getType(“image/png”);if(t.types.some((e=>”image/jpeg”===e)))return await t.getType(“image/jpeg”)}return null}(e);if(!t)return null;const[n,r]=await Promise.all([g(t),v(t)]);return{data:n,size:r}}catch(t){if(“object”===typeof t&&”NotAllowedError”===t?.name||await w())throw new m;throw new h(t.message)}},async setImageAsync(e){if(!navigator.clipboard)throw new p;try{const t=function(e,t){t=t||””;const n=1024,r=atob(e),i=r.length,o=Math.ceil(i/n),a=new Array(o);for(let s=0;sawait _([“image/png”,”image/jpeg”]),addClipboardListener(){},removeClipboardListener(){}};async function _(e){if(!navigator.clipboard)throw new p;try{return(await navigator.clipboard.read()).flatMap((e=>e.types)).some((t=>e.includes(t)))}catch(t){if(“object”===typeof t&&”NotAllowedError”===t?.name||await w())throw new m;throw t}}const E=”onClipboardChanged”;async function S(e={}){if(!k.getStringAsync)throw new r.UnavailabilityError(“Clipboard”,”getStringAsync”);return await k.getStringAsync(e)}async function C(e,t={}){if(!k.setStringAsync)throw new r.UnavailabilityError(“Clipboard”,”setStringAsync”);return k.setStringAsync(e,t)}function x(e){return k.setString(e)}function A(){if(!k.hasStringAsync)throw new r.UnavailabilityError(“Clipboard”,”hasStringAsync”);return k.hasStringAsync()}async function R(){if(!k.getUrlAsync)throw new r.UnavailabilityError(“Clipboard”,”getUrlAsync”);return await k.getUrlAsync()}async function T(e){if(!k.setUrlAsync)throw new r.UnavailabilityError(“Clipboard”,”setUrlAsync”);return k.setUrlAsync(e)}async function D(){if(!k.hasUrlAsync)throw new r.UnavailabilityError(“Clipboard”,”hasUrlAsync”);return await k.hasUrlAsync()}async function I(e){if(!k.getImageAsync)throw new r.UnavailabilityError(“Clipboard”,”getImageAsync”);return await k.getImageAsync(e)}async function O(e){if(!k.setImageAsync)throw new r.UnavailabilityError(“Clipboard”,”setImageAsync”);return k.setImageAsync(e)}async function j(){if(!k.hasImageAsync)throw new r.UnavailabilityError(“Clipboard”,”hasImageAsync”);return k.hasImageAsync()}function P(e){return k.addListener(E,(t=>{const n=Object.assign({},t,{get content(){return””}});e(n)}))}function M(e){e.remove()}const N=!1},535:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{AppOwnership:()=>o,ExecutionEnvironment:()=>a,UserInterfaceIdiom:()=>s,default:()=>S});var r=n(63366);function i(e){return”object”===typeof globalThis.ExpoDomWebView&&null!=globalThis?.expo?.modules?globalThis.expo?.modules?.[e]??null:null}var o,a,s,l=n(75074),c=n(81879);!function(e){e.Expo=”expo”}(o||(o={})),function(e){e.Bare=”bare”,e.Standalone=”standalone”,e.StoreClient=”storeClient”}(a||(a={})),function(e){e.Handset=”handset”,e.Tablet=”tablet”,e.Desktop=”desktop”,e.TV=”tv”,e.Unsupported=”unsupported”}(s||(s={}));const u=(Date.now()+”-“+Math.floor(1e9*Math.random())).toString();const d={get appOwnership(){return null},get executionEnvironment(){return a.Bare},get sessionId(){return u},get isHeadless(){return”undefined”===typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return”undefined”!==typeof location?location.origin:””},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return function(){if(“undefined”!==typeof navigator&&”string”===typeof navigator.userAgent){const e=navigator.userAgent.toLowerCase();if(e.includes(“edge”))return”Edge”;if(e.includes(“edg”))return”Chromium Edge”;if(e.includes(“opr”)&&window.opr)return”Opera”;if(e.includes(“chrome”)&&window.chrome)return”Chrome”;if(e.includes(“trident”))return”IE”;if(e.includes(“firefox”))return”Firefox”;if(e.includes(“safari”))return”Safari”}}()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return{version:”1.102.0″,name:”Bluesky”,slug:”bluesky”,scheme:”bluesky”,owner:”blueskysocial”,runtimeVersion:{policy:”appVersion”},icon:”./assets/app-icons/ios_icon_default_light.png”,userInterfaceStyle:”automatic”,primaryColor:”#1083fe”,androidStatusBar:{barStyle:”light-content”,backgroundColor:”#0c7cff”},androidNavigationBar:{barStyle:”light-content”},web:{},updates:{url:”https://updates.bsky.app/manifest”,enabled:!1,fallbackToCacheTimeout:3e4,checkAutomatically:”NEVER”},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:”Share-with-Bluesky”,bundleIdentifier:”xyz.blueskyweb.app.Share-with-Bluesky”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyNSE”,bundleIdentifier:”xyz.blueskyweb.app.BlueskyNSE”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyClip”,bundleIdentifier:”xyz.blueskyweb.app.AppClip”}]}}},projectId:”55bd077a-d905-4184-9c7f-94789ba0f302″}},sdkVersion:”53.0.0″,platforms:[“ios”,”android”,”web”]}||{}},get manifest2(){return null},get experienceUrl(){return”undefined”!==typeof location?location.origin:””},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>”undefined”!==typeof navigator?navigator.userAgent:null},p=i(“ExpoUpdates”);let f=null;if(p){let e;p.manifest?e=p.manifest:p.manifestString&&(e=JSON.parse(p.manifestString)),e&&Object.keys(e).length>0&&(f=e)}let h=null;if(c.default.EXDevLauncher){let e;c.default.EXDevLauncher.manifestString&&(e=JSON.parse(c.default.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(h=e)}let m=null;if(d&&d.manifest){const e=d.manifest;m=”string”===typeof e?JSON.parse(e):e}let g=f??h??m;const y=d||{},{appOwnership:v}=y,b=(0,r.default)(y,[“name”,”appOwnership”]),w=Object.assign({},b,{appOwnership:v??null});function k(e){return!_(e)}function _(e){return”metadata”in e}function E(e=!1){if(!g){const e=null===g?”null”:”undefined”;if(b.executionEnvironment,a.Bare,b.executionEnvironment===a.StoreClient||b.executionEnvironment===a.Standalone)throw new l.CodedError(“ERR_CONSTANTS_MANIFEST_UNAVAILABLE”,`Constants.manifest is ${e}, must be an object.`)}return g}Object.defineProperties(w,{__unsafeNoWarnManifest:{get(){const e=E(!0);return e&&k(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){const e=E(!0);return e&&_(e)?e:null},enumerable:!1},manifest:{get(){const e=E();return e&&k(e)?e:null},enumerable:!0},manifest2:{get(){const e=E();return e&&_(e)?e:null},enumerable:!0},expoConfig:{get(){const e=E(!0);return e?p&&p.isEmbeddedLaunch?m:_(e)?e.extra?.expoClient??null:k(e)?e:null:null},enumerable:!0},expoGoConfig:{get(){const e=E(!0);return e?_(e)?e.extra?.expoGo??null:k(e)?e:null:null},enumerable:!0},easConfig:{get(){const e=E(!0);return e?_(e)?e.extra?.eas??null:k(e)?e:null:null},enumerable:!0},__rawManifest_TEST:{get:()=>g,set(e){g=e},enumerable:!1}});const S=w},47797:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{DeviceType:()=>r,brand:()=>p,designName:()=>g,deviceName:()=>R,deviceType:()=>v,deviceYearClass:()=>b,getDeviceTypeAsync:()=>T,getMaxMemoryAsync:()=>I,getPlatformFeaturesAsync:()=>P,getUptimeAsync:()=>D,hasPlatformFeatureAsync:()=>M,isDevice:()=>d,isRootedExperimentalAsync:()=>O,isSideLoadingEnabledAsync:()=>j,manufacturer:()=>f,modelId:()=>h,modelName:()=>m,osBuildFingerprint:()=>x,osBuildId:()=>S,osInternalBuildId:()=>C,osName:()=>_,osVersion:()=>E,platformApiLevel:()=>A,productName:()=>y,supportedCpuArchitectures:()=>k,totalMemory:()=>w});var r,i=n(80824);!function(e){e[e.UNKNOWN=0]=”UNKNOWN”,e[e.PHONE=1]=”PHONE”,e[e.TABLET=2]=”TABLET”,e[e.DESKTOP=3]=”DESKTOP”,e[e.TV=4]=”TV”}(r||(r={}));var o=n(97549),a=n(5775),s=n.n(a);let l=null;if(o.default.isDOMAvailable){const e=new(s())(window.navigator.userAgent);l=e.getResult()}function c(){switch(l?.device?.type){case”mobile”:return r.PHONE;case”tablet”:return r.TABLET;case”smarttv”:return r.TV;case”console”:case”embedded”:case”wearable”:return r.UNKNOWN;default:return r.DESKTOP}}const u={get isDevice(){return!0},get brand(){return null},get manufacturer(){return l&&l.device.vendor||null},get modelName(){return l&&l.device.model||null},get deviceYearClass(){return null},get deviceType(){return c()},get totalMemory(){if(o.default.isDOMAvailable&&”deviceMemory”in navigator){const{deviceMemory:t}=navigator;return e=t,Math.round(e*1024**3)}var e;return null},get supportedCpuArchitectures(){return l&&l.cpu.architecture?[l.cpu.architecture]:null},get osName(){return l&&l.os.name||””},get osVersion(){return l&&l.os.version||””},get osBuildId(){return null},get osInternalBuildId(){return null},get deviceName(){return null},getDeviceTypeAsync:async()=>c(),isRootedExperimentalAsync:async()=>!1},d=!u||u.isDevice,p=u?u.brand:null,f=u?u.manufacturer:null,h=u&&u.modelId||null,m=u?u.modelName:null,g=u&&u.designName||null,y=u&&u.productName||null,v=u?u.deviceType:null,b=u?u.deviceYearClass:null,w=u?u.totalMemory:null,k=u?u.supportedCpuArchitectures:null,_=u?u.osName:null,E=u?u.osVersion:null,S=u?u.osBuildId:null,C=u?u.osInternalBuildId:null,x=u&&u.osBuildFingerprint||null,A=u&&u.platformApiLevel||null,R=u?u.deviceName:null;async function T(){if(!u.getDeviceTypeAsync)throw new i.UnavailabilityError(“expo-device”,”getDeviceTypeAsync”);return await u.getDeviceTypeAsync()}async function D(){if(!u.getUptimeAsync)throw new i.UnavailabilityError(“expo-device”,”getUptimeAsync”);return await u.getUptimeAsync()}async function I(){if(!u.getMaxMemoryAsync)throw new i.UnavailabilityError(“expo-device”,”getMaxMemoryAsync”);let e=await u.getMaxMemoryAsync();return-1===e&&(e=Number.MAX_SAFE_INTEGER),e}async function O(){if(!u.isRootedExperimentalAsync)throw new i.UnavailabilityError(“expo-device”,”isRootedExperimentalAsync”);return await u.isRootedExperimentalAsync()}async function j(){if(!u.isSideLoadingEnabledAsync)throw new i.UnavailabilityError(“expo-device”,”isSideLoadingEnabledAsync”);return await u.isSideLoadingEnabledAsync()}async function P(){return u.getPlatformFeaturesAsync?await u.getPlatformFeaturesAsync():[]}async function M(e){return!!u.hasPlatformFeatureAsync&&await u.hasPlatformFeatureAsync(e)}},13058:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{DownloadResumable:()=>O,FileSystemCancellableNetworkTask:()=>D,StorageAccessFramework:()=>F,UploadTask:()=>I,bundleDirectory:()=>f,cacheDirectory:()=>p,copyAsync:()=>k,createDownloadResumable:()=>R,createUploadTask:()=>T,deleteAsync:()=>v,deleteLegacyDocumentDirectoryAndroid:()=>b,documentDirectory:()=>d,downloadAsync:()=>x,getContentUriAsync:()=>g,getFreeDiskStorageAsync:()=>S,getInfoAsync:()=>h,getTotalDiskCapacityAsync:()=>C,makeDirectoryAsync:()=>_,moveAsync:()=>w,readAsStringAsync:()=>m,readDirectoryAsync:()=>E,uploadAsync:()=>A,writeAsStringAsync:()=>y});var r=n(80824),i=n(29597),o=n(11814);class a extends o.default{documentDirectory=null;cacheDirectory=null;bundleDirectory=null}const s=a;let l=function(e){return e[e.BACKGROUND=0]=”BACKGROUND”,e[e.FOREGROUND=1]=”FOREGROUND”,e}({}),c=function(e){return e[e.BINARY_CONTENT=0]=”BINARY_CONTENT”,e[e.MULTIPART=1]=”MULTIPART”,e}({});!function(e){e.UTF8=”utf8″,e.Base64=”base64″}({});function u(e){return null!=e?e.replace(/\/*$/,””)+”/”:null}const d=u(s.documentDirectory),p=u(s.cacheDirectory),f=u(s.bundleDirectory);async function h(e,t={}){if(!s.getInfoAsync)throw new r.UnavailabilityError(“expo-file-system”,”getInfoAsync”);return await s.getInfoAsync(e,t)}async function m(e,t={}){if(!s.readAsStringAsync)throw new r.UnavailabilityError(“expo-file-system”,”readAsStringAsync”);return await s.readAsStringAsync(e,t)}async function g(e){return e}async function y(e,t,n={}){if(!s.writeAsStringAsync)throw new r.UnavailabilityError(“expo-file-system”,”writeAsStringAsync”);return await s.writeAsStringAsync(e,t,n)}async function v(e,t={}){if(!s.deleteAsync)throw new r.UnavailabilityError(“expo-file-system”,”deleteAsync”);return await s.deleteAsync(e,t)}async function b(){}async function w(e){if(!s.moveAsync)throw new r.UnavailabilityError(“expo-file-system”,”moveAsync”);return await s.moveAsync(e)}async function k(e){if(!s.copyAsync)throw new r.UnavailabilityError(“expo-file-system”,”copyAsync”);return await s.copyAsync(e)}async function _(e,t={}){if(!s.makeDirectoryAsync)throw new r.UnavailabilityError(“expo-file-system”,”makeDirectoryAsync”);return await s.makeDirectoryAsync(e,t)}async function E(e){if(!s.readDirectoryAsync)throw new r.UnavailabilityError(“expo-file-system”,”readDirectoryAsync”);return await s.readDirectoryAsync(e)}async function S(){if(!s.getFreeDiskStorageAsync)throw new r.UnavailabilityError(“expo-file-system”,”getFreeDiskStorageAsync”);return await s.getFreeDiskStorageAsync()}async function C(){if(!s.getTotalDiskCapacityAsync)throw new r.UnavailabilityError(“expo-file-system”,”getTotalDiskCapacityAsync”);return await s.getTotalDiskCapacityAsync()}async function x(e,t,n={}){if(!s.downloadAsync)throw new r.UnavailabilityError(“expo-file-system”,”downloadAsync”);return await s.downloadAsync(e,t,Object.assign({sessionType:l.BACKGROUND},n))}async function A(e,t,n={}){if(!s.uploadAsync)throw new r.UnavailabilityError(“expo-file-system”,”uploadAsync”);return await s.uploadAsync(e,t,Object.assign({sessionType:l.BACKGROUND,uploadType:c.BINARY_CONTENT},n,{httpMethod:(n.httpMethod||”POST”).toUpperCase()}))}function R(e,t,n,r,i){return new O(e,t,n,r,i)}function T(e,t,n,r){return new I(e,t,n,r)}class D{_uuid=i.default.v4();taskWasCanceled=!1;async cancelAsync(){if(!s.networkTaskCancelAsync)throw new r.UnavailabilityError(“expo-file-system”,”networkTaskCancelAsync”);return this.removeSubscription(),this.taskWasCanceled=!0,await s.networkTaskCancelAsync(this.uuid)}isTaskCancelled(){return!!this.taskWasCanceled}get uuid(){return this._uuid}addSubscription(){this.subscription||(this.subscription=s.addListener(this.getEventName(),(e=>{if(e.uuid===this.uuid){const t=this.getCallback();t&&t(e.data)}})))}removeSubscription(){this.subscription&&(this.subscription.remove(),this.subscription=null)}}class I extends D{constructor(e,t,n,r){super(),this.url=e,this.fileUri=t,this.callback=r;const i=n?.httpMethod?.toUpperCase()||”POST”;this.options=Object.assign({sessionType:l.BACKGROUND,uploadType:c.BINARY_CONTENT},n,{httpMethod:i})}getEventName(){return”expo-file-system.uploadProgress”}getCallback(){return this.callback}async uploadAsync(){if(!s.uploadTaskStartAsync)throw new r.UnavailabilityError(“expo-file-system”,”uploadTaskStartAsync”);if(this.isTaskCancelled())return;this.addSubscription();const e=await s.uploadTaskStartAsync(this.url,this.fileUri,this.uuid,this.options);return this.removeSubscription(),e}}class O extends D{constructor(e,t,n={},r,i){super(),this.url=e,this._fileUri=t,this.options=n,this.callback=r,this.resumeData=i}get fileUri(){return this._fileUri}getEventName(){return”expo-file-system.downloadProgress”}getCallback(){return this.callback}async downloadAsync(){if(!s.downloadResumableStartAsync)throw new r.UnavailabilityError(“expo-file-system”,”downloadResumableStartAsync”);if(!this.isTaskCancelled())return this.addSubscription(),await s.downloadResumableStartAsync(this.url,this._fileUri,this.uuid,this.options,this.resumeData)}async pauseAsync(){if(!s.downloadResumablePauseAsync)throw new r.UnavailabilityError(“expo-file-system”,”downloadResumablePauseAsync”);if(this.isTaskCancelled())return{fileUri:this._fileUri,options:this.options,url:this.url};const e=await s.downloadResumablePauseAsync(this.uuid);if(this.removeSubscription(),e)return this.resumeData=e.resumeData,this.savable();throw new Error(“Unable to generate a savable pause state”)}async resumeAsync(){if(!s.downloadResumableStartAsync)throw new r.UnavailabilityError(“expo-file-system”,”downloadResumableStartAsync”);if(!this.isTaskCancelled())return this.addSubscription(),await s.downloadResumableStartAsync(this.url,this.fileUri,this.uuid,this.options,this.resumeData)}savable(){return{url:this.url,fileUri:this.fileUri,options:this.options,resumeData:this.resumeData}}}const j=m,P=y,M=v,N=w,L=k;let F;!function(e){e.getUriForDirectoryInRoot=function(e){return`content://com.android.externalstorage.documents/tree/primary:${e}/document/primary:${e}`},e.requestDirectoryPermissionsAsync=async function(e=null){if(!s.requestDirectoryPermissionsAsync)throw new r.UnavailabilityError(“expo-file-system”,”StorageAccessFramework.requestDirectoryPermissionsAsync”);return await s.requestDirectoryPermissionsAsync(e)},e.readDirectoryAsync=async function(e){if(!s.readSAFDirectoryAsync)throw new r.UnavailabilityError(“expo-file-system”,”StorageAccessFramework.readDirectoryAsync”);return await s.readSAFDirectoryAsync(e)},e.makeDirectoryAsync=async function(e,t){if(!s.makeSAFDirectoryAsync)throw new r.UnavailabilityError(“expo-file-system”,”StorageAccessFramework.makeDirectoryAsync”);return await s.makeSAFDirectoryAsync(e,t)},e.createFileAsync=async function(e,t,n){if(!s.createSAFFileAsync)throw new r.UnavailabilityError(“expo-file-system”,”StorageAccessFramework.createFileAsync”);return await s.createSAFFileAsync(e,t,n)};e.writeAsStringAsync=P,e.readAsStringAsync=j,e.deleteAsync=M,e.moveAsync=N,e.copyAsync=L}(F||(F={}))},12634:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{useFonts:()=>B});var i,o=r(95004),a=r(75074),s=(r(80824),r(97549)),l=r(77692),c=r.n(l);function u(){if(!s.default.isDOMAvailable)return null;const e=g();return e.sheet?e.sheet:null}function d(){const e=u();if(e){const t=[…e.cssRules],n=[];for(let e=0;en.style.fontFamily===e&&(!t||!t.display||t.display===n.style.fontDisplay)))}!function(e){e.AUTO=”auto”,e.SWAP=”swap”,e.BLOCK=”block”,e.FALLBACK=”fallback”,e.OPTIONAL=”optional”}(i||(i={}));const f=new Set;const h={async unloadAllAsync(){if(!s.default.isDOMAvailable)return;const e=document.getElementById(m);e&&e instanceof HTMLStyleElement&&document.removeChild(e)},async unloadAsync(e,t){const n=u();if(!n)return;const r=p(e,t);for(const i of r)n.deleteRule(i.index)},getServerResources:()=>function(){const e=[…f.entries()];if(!e.length)return[];const t=e.map((([{css:e}])=>e)).join(“\n”),n=e.map((([{resourceId:e}])=>e));return[{$$type:”style”,children:t,id:m,type:”text/css”},…n.map((e=>({$$type:”link”,rel:”preload”,href:e,as:”font”,crossorigin:””})))]}().map((e=>{switch(e.$$type){case”style”:return``;case”link”:return``;default:return””}})).filter(Boolean),resetServerContext(){f.clear()},getLoadedFonts(){return d().map((({rule:e})=>e.style.fontFamily))},isLoaded:(e,t={})=>p(e,t)?.length>0,loadAsync(e,t){if(!(document.head&&”function”===typeof document.head.appendChild))throw new a.CodedError(“ERR_WEB_ENVIRONMENT”,”The browser’s `document.head` element doesn’t support injecting fonts.”);const n=g();document.head.appendChild(n);return p(e,t).length||function(e,t){const n=function(e,t){return`@font-face{font-family:${e};src:url(${t.uri});font-display:${t.display||i.AUTO}}`}(e,t),r=g();if(r.styleSheet){const e=r;e.styleSheet.cssText=e.styleSheet.cssText?e.styleSheet.cssText+n:n}else{const e=document.createTextNode(n);r.appendChild(e)}}(e,t),function(){const{userAgent:e}=window.navigator,t=!!e.match(/iPad|iPhone/i),n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),r=e.includes(“Edge”),i=e.includes(“Trident”),o=e.includes(“Firefox”);return!n&&!t&&!r&&!i&&!o}()?new(c())(e,{display:t.display}).load(null,6e3):Promise.resolve()}},m=”expo-generated-fonts”;function g(){const e=document.getElementById(m);if(e&&e instanceof HTMLStyleElement)return e;const t=document.createElement(“style”);return t.id=m,t.type=”text/css”,t}var y=r(12792),v=r(72068),b=r(81879);class w{constructor(e,t,n){this.serverUrl=e||”https://expo.dev”,this.jsbundleUrl=null,this.asset=n}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(function(e){const t=w.pickScale(e.scales,v.default.get()),n=1===t?””:”@”+t+”x”,r=e.type?`.${e.type}`:””;return e.httpServerLocation.replace(/\.\.\//g,”_”)+”/”+e.name+n+r}(this.asset),this.serverUrl);return e.searchParams.set(“platform”,”web”),e.searchParams.set(“hash”,this.asset.hash),this.fromSource(e.toString().replace(e.origin,””))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:w.pickScale(this.asset.scales,v.default.get())}}static pickScale(e,t){for(let n=0;n=t)return e[n];return e[e.length-1]||1}}const k=null;function _(e){return k?new URL(e,k).href:e}function E(e){const{pathname:t,searchParams:n}=new URL(e,”https://e”);return function(e){return e.substring(e.lastIndexOf(“/”)+1)}(t)}function S(e){const t=E(e),n=t.lastIndexOf(“.”);return n>0?t.substring(n):””}let C;function x(e){C=e}function A(e){if(“object”===typeof e)return e;const t=(0,y.getAssetByID)(e);if(!t)return null;const n=new w(“https://expo.dev”,null,t);return C?C(n):n.defaultAsset()}Object.defineProperty(A,”setCustomSourceTransformer”,{get:()=>x});const R=A,{pickScale:T}=w;class D{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:e,type:t,hash:n=null,uri:r,width:i,height:o}){this.name=e,this.type=t,this.hash=n,this.uri=r,”number”===typeof i&&(this.width=i),”number”===typeof o&&(this.height=o),n&&(this.localUri=null,this.localUri?.startsWith(“file:///android_res/”)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),e||(this.name=E(r)),t||(this.type=S(r))}static loadAsync(e){const t=Array.isArray(e)?e:[e];return Promise.all(t.map((e=>D.fromModule(e).downloadAsync())))}static fromModule(e){if(“string”===typeof e)return D.fromURI(e);if(“object”===typeof e&&”uri”in e&&”string”===typeof e.uri){const t=S(e.uri);return new D({name:””,type:t.startsWith(“.”)?t.substring(1):t,hash:null,uri:e.uri,width:e.width,height:e.height})}const t=(0,y.getAssetByID)(e);if(!t)throw new Error(`Module “${e}” is missing from the asset registry`);{const{uri:n}=R(e),r=new D({name:t.name,type:t.type,hash:t.hash,uri:n,width:t.width,height:t.height});return D.byHash[t.hash]=r,r}}static fromMetadata(e){const t=e.hash;if(D.byHash[t])return D.byHash[t];const{uri:n,hash:r}=function(e){const t=w.pickScale(e.scales,v.default.get()),n=e.scales.findIndex((e=>e===t)),r=e.fileHashes?e.fileHashes[n]??e.fileHashes[0]:e.hash,i=e.fileUris?e.fileUris[n]??e.fileUris[0]:e.uri;if(i)return{uri:_(i),hash:r};const o=1===t?””:`@${t}x`,a=e.type?`.${encodeURIComponent(e.type)}`:””,s=`/${encodeURIComponent(e.name)}${o}${a}`,l=new URLSearchParams({platform:”web”,hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation))return{uri:e.httpServerLocation+s+”?”+l,hash:r};const c={},u=c?.extra?.expoGo?.developer?”http://”+c.extra.expoGo.debuggerHost:null;if(u){const t=new URL(e.httpServerLocation+s,u);return t.searchParams.set(“platform”,”web”),t.searchParams.set(“hash”,e.hash),{uri:t.href,hash:r}}return b.default.ExponentKernel?{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(r)}`,hash:r}:{uri:””,hash:r}}(e),i=new D({name:e.name,type:e.type,hash:r,uri:n,width:e.width,height:e.height});return D.byHash[t]=i,i}static fromURI(e){if(D.byUri[e])return D.byUri[e];let t=””;if(e.indexOf(“;base64”)>-1)t=e.split(“;”)[0].split(“/”)[1];else{const n=S(e);t=n.startsWith(“.”)?n.substring(1):n}const n=new D({name:””,type:t,hash:null,uri:e});return D.byUri[e]=n,n}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise(((e,t)=>{this._downloadCallbacks.push({resolve:e,reject:t})})),this;this.downloading=!0;try{if(n=this.type,/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)){const{width:e,height:n,name:r}=await(t=this.uri,new Promise(((e,n)=>{const r=new Image;r.onerror=n,r.onload=()=>{e({name:E(t),width:r.naturalWidth,height:r.naturalHeight})},r.src=t})));this.width=e,this.height=n,this.name=r}else this.name=E(this.uri);this.localUri=await async function(e,t,n){return e}(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach((({resolve:e})=>e()))}catch(e){throw this._downloadCallbacks.forEach((({reject:n})=>n(e))),e}finally{this.downloading=!1,this._downloadCallbacks=[]}var t,n;return this}}function I(e){return”string”===typeof e?e||null:”number”===typeof e?I(D.fromModule(e)):”object”===typeof e&&”number”===typeof e.uri?I(e.uri):”object”===typeof e&&(e.uri||e.localUri||e.default)||null}function O(e){const t=I(e),n=”object”===typeof(r=e)&&”display”in r&&r.display||i.AUTO;var r;return t&&”string”===typeof t||j(t),{uri:t,display:n}}function j(e){let t=typeof e;throw”object”===t&&(t=JSON.stringify(e,null,2)),new a.CodedError(“ERR_FONT_SOURCE”,`Expected font asset of type \`string | FontResource | Asset\` instead got: ${t}`)}function P(e,t){(“object”!==typeof t||”string”!==typeof t.uri||t.downloadAsync)&&j(t);try{return h.loadAsync(e,t)}catch{}return Promise.resolve()}const M={};let N={};function L(e){return e in N}function F(e){return L(e)||!!h.isLoaded(e)}async function V(e,t){if(!t)throw new a.CodedError(“ERR_FONT_SOURCE”,`Cannot load null or undefined font source: { “${e}”: ${t} }. Expected asset of type \`FontSource\` for fontFamily of name: “${e}”`);if(F(e))return;if(M.hasOwnProperty(e))return M[e];const n=O(t);M[e]=(async()=>{try{await P(e,n),function(e){N[e]=!0}(e)}finally{delete M[e]}})(),await M[e]}const B=function(e){const[t,n]=(0,o.useState)(function(e){return”string”===typeof e?F(e):Object.keys(e).every((e=>F(e)))}(e)),[r,i]=(0,o.useState)(null);return(0,o.useEffect)((()=>{let t=!0;return function(e,t){if(“object”===typeof e){if(t)return Promise.reject(new a.CodedError(“ERR_FONT_API”,`No fontFamily can be used for the provided source: ${t}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const n=e,r=Object.keys(n);return Promise.all(r.map((e=>V(e,n[e])))).then((()=>{}))}return V(e,t)}(e).then((()=>{t&&n(!0)})).catch((e=>{t&&i(e)})),()=>{t=!1}}),[]),[t,r]}},48320:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{AndroidHaptics:()=>i.AndroidHaptics,ImpactFeedbackStyle:()=>i.ImpactFeedbackStyle,NotificationFeedbackType:()=>i.NotificationFeedbackType,impactAsync:()=>c,notificationAsync:()=>l,performAndroidHapticsAsync:()=>d,selectionAsync:()=>u});var r=n(80824),i=n(58590);const o={[i.NotificationFeedbackType.Success]:[40,100,40],[i.NotificationFeedbackType.Warning]:[50,100,50],[i.NotificationFeedbackType.Error]:[60,100,60,100,60],[i.ImpactFeedbackStyle.Light]:[40],[i.ImpactFeedbackStyle.Medium]:[50],[i.ImpactFeedbackStyle.Heavy]:[60],[i.ImpactFeedbackStyle.Soft]:[35],[i.ImpactFeedbackStyle.Rigid]:[45],selection:[50]};function a(){return”navigator”in window&&”vibrate”in navigator}const s={async notificationAsync(e){a()&&navigator.vibrate(o[e])},async impactAsync(e){a()&&navigator.vibrate(o[e])},async selectionAsync(){a()&&navigator.vibrate(o.selection)}};async function l(e=i.NotificationFeedbackType.Success){if(!s?.notificationAsync)throw new r.UnavailabilityError(“Haptics”,”notificationAsync”);await s.notificationAsync(e)}async function c(e=i.ImpactFeedbackStyle.Medium){if(!s?.impactAsync)throw new r.UnavailabilityError(“Haptic”,”impactAsync”);await s.impactAsync(e)}async function u(){if(!s?.selectionAsync)throw new r.UnavailabilityError(“Haptic”,”selectionAsync”);await s.selectionAsync()}async function d(e){}},58590:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{AndroidHaptics:()=>o,ImpactFeedbackStyle:()=>i,NotificationFeedbackType:()=>r});let r=function(e){return e.Success=”success”,e.Warning=”warning”,e.Error=”error”,e}({}),i=function(e){return e.Light=”light”,e.Medium=”medium”,e.Heavy=”heavy”,e.Soft=”soft”,e.Rigid=”rigid”,e}({}),o=function(e){return e.Confirm=”confirm”,e.Reject=”reject”,e.Gesture_Start=”gesture-start”,e.Gesture_End=”gesture-end”,e.Toggle_On=”toggle-on”,e.Toggle_Off=”toggle-off”,e.Clock_Tick=”clock-tick”,e.Context_Click=”context-click”,e.Drag_Start=”drag-start”,e.Keyboard_Tap=”keyboard-tap”,e.Keyboard_Press=”keyboard-press”,e.Keyboard_Release=”keyboard-release”,e.Long_Press=”long-press”,e.Virtual_Key=”virtual-key”,e.Virtual_Key_Release=”virtual-key-release”,e.No_Haptics=”no-haptics”,e.Segment_Tick=”segment-tick”,e.Segment_Frequent_Tick=”segment-frequent-tick”,e.Text_Handle_Move=”text-handle-move”,e}({})},26777:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ImageManipulator:()=>b,manipulateAsync:()=>A,useImageManipulator:()=>R});var r=n(63366),i=n(95004);var o=n(36657),a=n(11814),s=n(82787);(0,n(53640).ensureNativeModulesAreInstalled)();const l=globalThis.expo.SharedObject;var c=n(30992),u=n(75074);function d(e){const t=e.getContext(“2d”);if(!t)throw new u.CodedError(“ERR_IMAGE_MANIPULATOR”,”Failed to create canvas context”);return t}function p(e){return new Promise(((t,n)=>{const r=new Image;r.crossOrigin=”anonymous”;const i=document.createElement(“canvas”);r.onload=()=>{i.width=r.naturalWidth,i.height=r.naturalHeight;d(i).drawImage(r,0,0,r.naturalWidth,r.naturalHeight),t(i)},r.onerror=()=>n(i),r.src=e}))}class f extends c.default{nativeRefType=”image”;constructor(e,t){super(),this.uri=e,this.canvas=t}get width(){return this.canvas.width}get height(){return this.canvas.height}async saveAsync(e={base64:!1}){return new Promise(((t,n)=>{this.canvas.toBlob((async r=>{if(!r)return n(new Error(`Unable to save image: ${this.uri}`));const i=e.base64?await async function(e){return(await new Promise(((t,n)=>{const r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=()=>n(new Error(`Unable to convert blob to base64 string: ${r.error}`)),r.readAsDataURL(e)}))).replace(/^data:image\/\w+;base64,/,””)}(r):void 0,o=URL.createObjectURL(r);t({uri:o,width:this.width,height:this.height,base64:i})}),`image/${e.format??o.SaveFormat.JPEG}`,e.compress)}))}}const h=(e,{width:t,height:n})=>{const r=e.width/e.height;let i=0,o=0;return void 0!==t&&(i=t,o=i/r),void 0!==n&&(o=n,0===i&&(i=o*r)),function(e,t,n,r=!1){const i=document.createElement(“canvas”);i.width=e.width,i.height=e.height;const o=e.width,a=e.height,s=o/(t=Math.round(t)),l=a/(n=Math.round(n)),c=Math.ceil(s/2),u=Math.ceil(l/2),p=d(e),f=p.getImageData(0,0,o,a),h=p.createImageData(t,n),m=f.data,g=h.data;for(let d=0;d=1)continue;r=2*s*s*s-3*s*s+1;const u=4*(e+t*o);y+=r*m[u+3],a+=r,m[u+3]<255&&(r=r*m[u+3]/250),p+=r*m[u],f+=r*m[u+1],h+=r*m[u+2],i+=r}}g[n]=p/i,g[n+1]=f/i,g[n+2]=h/i,g[n+3]=y/a}return r&&(i.width=t,i.height=n),d(i).putImageData(h,0,0),i}(e,i,o,!0)};const m=(e,t)=>{const{width:n,height:r}=function(e,t,n){const r=n*Math.PI/180;let i=Math.cos(r),o=Math.sin(r);return o<0&&(o=-o),i<0&&(i=-i),{width:t*o+e*i,height:t*i+e*o}}(e.width,e.height,t),i=document.createElement("canvas");i.width=n,i.height=r;const o=d(i);o.translate(i.width/2,i.height/2);const a=t*Math.PI/180;return o.rotate(a),o.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i},g=(e,t)=>Math.max(0,Math.min(t,e));class y extends l{constructor(e){super(),this.loader=e??(()=>document.createElement(“canvas”)),this.currentTask=new Promise((e=>e(this.loader())))}resize(e){return this.addTask((t=>h(t,e)))}rotate(e){return this.addTask((t=>m(t,e)))}flip(e){return this.addTask((t=>((e,t)=>{const n=t===o.FlipType.Horizontal,r=t===o.FlipType.Vertical,i=document.createElement(“canvas”);i.width=e.width,i.height=e.height;const a=d(i);a.translate(e.width/2,e.height/2);const s=n?-1:1,l=r?-1:1;return a.scale(s,l),a.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i})(t,e)))}crop(e){return this.addTask((t=>((e,t)=>{let{originX:n=0,originY:r=0,width:i=0,height:o=0}=t;if(i=g(i,e.width),o=g(o,e.height),n=g(n,e.width),r=g(r,e.height),i=Math.min(n+i,e.width)-n,o=Math.min(r+o,e.height)-r,0===i||0===o)throw new u.CodedError(“ERR_IMAGE_MANIPULATOR_CROP”,”Crop size must be greater than 0: “+JSON.stringify(t,null,2));const a=document.createElement(“canvas”);return a.width=i,a.height=o,d(a).drawImage(e,n,r,i,o,0,0,i,o),a})(t,e)))}extent(e){return this.addTask((t=>((e,t)=>{const{backgroundColor:n=null,originX:r=0,originY:i=0,width:o=0,height:a=0}=t;if(0===o||0===a)throw new u.CodedError(“ERR_IMAGE_MANIPULATOR_EXTENT”,”Extent size must be greater than 0: “+JSON.stringify(t,null,2));const s=document.createElement(“canvas”);s.width=o,s.height=a;const l=r<0?0:r,c=i<0?0:i,p=r<0?Math.min(e.width,o+r):Math.min(e.width-r,o),f=i<0?Math.min(e.height,a+i):Math.min(e.height-i,a),h=r<0?-r:0,m=i<0?-i:0,g=d(s);return null!=n&&(g.fillStyle=n,g.fillRect(0,0,o,a)),g.drawImage(e,l,c,p,f,h,m,p,f),s})(t,e)))}reset(){return this.currentTask=new Promise((e=>e(this.loader()))),this}async renderAsync(){const e=await this.currentTask,t=document.createElement(“canvas”),n=t.getContext(“2d”);return t.width=e.width,t.height=e.height,n?.drawImage(e,0,0),new Promise((n=>{e.toBlob((r=>{const i=r?URL.createObjectURL(r):e.toDataURL(),o=new f(i,t);n(o)}),”image/png”)}))}addTask(e){return this.currentTask=this.currentTask.then((t=>e(t))),this}}class v extends a.default{Context=y;Image=f;manipulate(e){return new y((()=>{if(“string”===typeof e)return p(e);if(“object”===typeof e&&”uri”in e&&”string”===typeof e.uri)return p(e.uri);throw new Error(`Source not supported: ${e}`)}))}}const b=(0,s.registerWebModule)(v,”ImageManipulator”);function w(e,t,n){!function(e){if(“string”!==typeof e)throw new TypeError(‘The “uri” argument must be a string’)}(e),function(e){if(!Array.isArray(e))throw new TypeError(‘The “actions” argument must be an array’);for(const t of e){if(“object”!==typeof t||null===t)throw new TypeError(“Action must be an object”);const e=[“crop”,”extent”,”flip”,”rotate”,”resize”],n=Object.keys(t);if(1!==n.length)throw new TypeError(`Single action must contain exactly one transformation: ${e.join(“, “)}`);const r=n[0];if(!e.includes(r))throw new TypeError(`Unsupported action type: ${r}`);”crop”===r?k(t):”extent”===r?_(t):”flip”===r?E(t):”rotate”===r?S(t):”resize”===r&&C(t)}}(t),function({base64:e,compress:t,format:n}){if(void 0!==e&&”boolean”!==typeof e)throw new TypeError(‘The “base64” argument must be a boolean’);if(void 0!==t){if(“number”!==typeof t)throw new TypeError(‘The “compress” argument must be a number’);if(t<0||t>1)throw new TypeError(‘The “compress” argument must be a number between 0 and 1’)}const r=[o.SaveFormat.JPEG,o.SaveFormat.PNG,o.SaveFormat.WEBP];if(void 0!==n&&!r.includes(n))throw new TypeError(`The “format” argument must be one of: ${r.join(“, “)}`)}(n)}function k(e){if(!(“object”===typeof e.crop&&null!==e.crop&&”number”===typeof e.crop.originX&&”number”===typeof e.crop.originY&&”number”===typeof e.crop.width&&”number”===typeof e.crop.height))throw new TypeError(“Crop action must be an object of shape { originX: number; originY: number; width: number; height: number }”)}function _(e){if(!(“object”===typeof e.extent&&null!==e.extent&&(null==e.extent.backgroundColor||”string”===typeof e.extent.backgroundColor)&&(null==e.extent.originX||”number”===typeof e.extent.originX)&&(null==e.extent.originY||”number”===typeof e.extent.originY)&&”number”===typeof e.extent.width&&”number”===typeof e.extent.height))throw new TypeError(“Extent action must be an object of shape { backgroundColor?: string; originX?: number; originY?: number; width: number; height: number }”)}function E(e){if(“string”!==typeof e.flip||![o.FlipType.Horizontal,o.FlipType.Vertical].includes(e.flip))throw new TypeError(`Unsupported flip type: ${e.flip}`)}function S(e){if(“number”!==typeof e.rotate)throw new TypeError(“Rotation must be a number”)}function C(e){if(!(“object”===typeof e.resize&&null!==e.resize&&(“number”===typeof e.resize.width||”undefined”===typeof e.resize.width)&&(“number”===typeof e.resize.height||”undefined”===typeof e.resize.height)))throw new TypeError(“Resize action must be an object of shape { width?: number; height?: number }”)}const x=[“format”];async function A(e,t=[],n={}){w(e,t,n);const{format:i=o.SaveFormat.JPEG}=n,a=(0,r.default)(n,x),s=b.manipulate(e);for(const r of t)”resize”in r?s.resize(r.resize):”rotate”in r?s.rotate(r.rotate):”flip”in r?s.flip(r.flip):”crop”in r?s.crop(r.crop):”extent”in r&&s.extent&&s.extent(r.extent);const l=await s.renderAsync(),c=await l.saveAsync(Object.assign({format:i},a));return s.release(),l.release(),c}function R(e){return function(e,t){const n=(0,i.useRef)(null),r=(0,i.useRef)(!1),o=(0,i.useRef)(t);null==n.current&&(n.current=e());const a=(0,i.useMemo)((()=>{let i=n.current;const a=o.current?.length===t.length&&t.every(((e,t)=>e===o.current[t]));return i&&a?r.current=!0:(n.current?.release(),i=e(),n.current=i,o.current=t),i}),t);return(0,i.useEffect)((()=>(r.current=!1,()=>{!r.current&&n.current&&n.current.release()})),[]),a}((()=>b.manipulate(e)),[e])}},36657:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{FlipType:()=>r,SaveFormat:()=>i});let r=function(e){return e.Vertical=”vertical”,e.Horizontal=”horizontal”,e}({}),i=function(e){return e.JPEG=”jpeg”,e.PNG=”png”,e.WEBP=”webp”,e}({})},63911:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{CameraType:()=>l.CameraType,MediaTypeOptions:()=>l.MediaTypeOptions,PermissionStatus:()=>a.PermissionStatus,UIImagePickerControllerQualityType:()=>l.UIImagePickerControllerQualityType,UIImagePickerPreferredAssetRepresentationMode:()=>l.UIImagePickerPreferredAssetRepresentationMode,UIImagePickerPresentationStyle:()=>l.UIImagePickerPresentationStyle,VideoExportPreset:()=>l.VideoExportPreset,getCameraPermissionsAsync:()=>m,getMediaLibraryPermissionsAsync:()=>g,getPendingResultAsync:()=>k,launchCameraAsync:()=>_,launchImageLibraryAsync:()=>E,requestCameraPermissionsAsync:()=>y,requestMediaLibraryPermissionsAsync:()=>v,useCameraPermissions:()=>w,useMediaLibraryPermissions:()=>b});var r=n(75074),i=n(58945),o=n(80824),a=n(66320),s=n(97549),l=n(75443);function c(e){const t={Images:[“images”],Videos:[“videos”],All:[“images”,”videos”]};return e===l.MediaTypeOptions.Images||e===l.MediaTypeOptions.Videos||e===l.MediaTypeOptions.All?t[e]:”string”===typeof e?[e]:e}function u(e){return e.mediaTypes?Object.assign({},e,{mediaTypes:c(e.mediaTypes??[])}):e}const d={images:”image/*”,videos:”video/mp4,video/quicktime,video/x-m4v,video/*”,livePhotos:””},p={launchImageLibraryAsync:async({mediaTypes:e=[“images”],allowsMultipleSelection:t=!1,base64:n=!1})=>s.default.isDOMAvailable?await h({mediaTypes:e,allowsMultipleSelection:t,base64:n}):{canceled:!0,assets:null},launchCameraAsync:async({mediaTypes:e=l.MediaTypeOptions.Images,allowsMultipleSelection:t=!1,base64:n=!1,cameraType:r})=>s.default.isDOMAvailable?await h({mediaTypes:e,allowsMultipleSelection:t,capture:r??!0,base64:n}):{canceled:!0,assets:null},getCameraPermissionsAsync:async()=>f(),requestCameraPermissionsAsync:async()=>f(),getMediaLibraryPermissionsAsync:async e=>f(),requestMediaLibraryPermissionsAsync:async e=>f()};function f(){return{status:a.PermissionStatus.GRANTED,expires:”never”,granted:!0,canAskAgain:!0}}function h({mediaTypes:e,capture:t=!1,allowsMultipleSelection:n=!1,base64:r}){const i=function(e){const t=e.filter((e=>”livePhotos”!==e));if(0===t.length)return”image/*”;let n=””;for(const r of t)n.includes(d[r])||(n=n.concat(“,”,d[r]));return n}(c(e)),o=document.createElement(“input”);if(o.style.display=”none”,o.setAttribute(“type”,”file”),o.setAttribute(“accept”,i),o.setAttribute(“id”,String(Math.random())),o.setAttribute(“data-testid”,”file-input”),n&&o.setAttribute(“multiple”,”multiple”),t)switch(t){case!0:o.setAttribute(“capture”,”camera”);break;case l.CameraType.front:o.setAttribute(“capture”,”environment”);break;case l.CameraType.back:o.setAttribute(“capture”,”user”)}return document.body.appendChild(o),new Promise((e=>{o.addEventListener(“change”,(async()=>{if(o.files?.length){const t=n?o.files:[o.files[0]],i=await Promise.all(Array.from(t).map((e=>{return t=e,n={base64:r},new Promise(((e,r)=>{const i=new FileReader;i.onerror=()=>{r(new Error(“Failed to read the selected media because the operation failed.”))},i.onload=({target:r})=>{const i=r.result,o=()=>e({uri:i,width:0,height:0}),a=r=>{e(Object.assign({},r,n.base64&&{base64:i.substr(i.indexOf(“,”)+1)},{file:t}))};if(“string”===typeof i)if(t.type.startsWith(“image/”)){const e=new Image;e.src=i,e.onload=()=>{a({uri:i,width:e.naturalWidth??e.width,height:e.naturalHeight??e.height,type:”image”,mimeType:t.type,fileName:t.name,fileSize:t.size})},e.onerror=()=>o()}else if(t.type.startsWith(“video/”)){const e=document.createElement(“video”);e.preload=”metadata”,e.src=i,e.onloadedmetadata=()=>{a({uri:i,width:e.videoWidth,height:e.videoHeight,type:”video”,mimeType:t.type,fileName:t.name,fileSize:t.size,duration:e.duration})},e.onerror=()=>o()}else o();else o()},i.readAsDataURL(t)}));var t,n})));e({canceled:!1,assets:i})}else e({canceled:!0,assets:null});document.body.removeChild(o)})),o.addEventListener(“cancel”,(()=>{o.dispatchEvent(new Event(“change”))}));const t=new MouseEvent(“click”);o.dispatchEvent(t)}))}async function m(){return p.getCameraPermissionsAsync()}async function g(e=!1){return p.getMediaLibraryPermissionsAsync(e)}async function y(){return p.requestCameraPermissionsAsync()}async function v(e=!1){return(0,p.requestMediaLibraryPermissionsAsync)(e)}const b=(0,i.createPermissionHook)({getMethod:e=>g(e?.writeOnly),requestMethod:e=>v(e?.writeOnly)}),w=(0,i.createPermissionHook)({getMethod:m,requestMethod:y});async function k(){return p.getPendingResultAsync?p.getPendingResultAsync():null}async function _(e={}){if(!p.launchCameraAsync)throw new o.UnavailabilityError(“ImagePicker”,”launchCameraAsync”);const t=u(e);return await p.launchCameraAsync(function(e){const{aspect:t,quality:n,videoMaxDuration:i}=e;if(null!=t){const[e,n]=t;if(e<=0||n<=0)throw new r.CodedError("ERR_INVALID_ARGUMENT",`Invalid aspect ratio values ${e}:${n}. Provide positive numbers.`)}if(n&&(n<0||n>1))throw new r.CodedError(“ERR_INVALID_ARGUMENT”,`Invalid ‘quality’ value ${n}. Provide a value between 0 and 1.`);if(i&&i<0)throw new r.CodedError("ERR_INVALID_ARGUMENT",`Invalid 'videoMaxDuration' value ${i}. Provide a non-negative number.`);return e}(t))}async function E(e={}){const t=u(e);if(!p.launchImageLibraryAsync)throw new o.UnavailabilityError("ImagePicker","launchImageLibraryAsync");return t?.allowsEditing&&t.allowsMultipleSelection,await p.launchImageLibraryAsync(t)}},75443:(e,t,n)=>{“use strict”;var r,i,o,a,s,l;n.r(t),n.d(t,{CameraType:()=>l,MediaTypeOptions:()=>r,UIImagePickerControllerQualityType:()=>o,UIImagePickerPreferredAssetRepresentationMode:()=>s,UIImagePickerPresentationStyle:()=>a,VideoExportPreset:()=>i}),function(e){e.All=”All”,e.Videos=”Videos”,e.Images=”Images”}(r||(r={})),function(e){e[e.Passthrough=0]=”Passthrough”,e[e.LowQuality=1]=”LowQuality”,e[e.MediumQuality=2]=”MediumQuality”,e[e.HighestQuality=3]=”HighestQuality”,e[e.H264_640x480=4]=”H264_640x480″,e[e.H264_960x540=5]=”H264_960x540″,e[e.H264_1280x720=6]=”H264_1280x720″,e[e.H264_1920x1080=7]=”H264_1920x1080″,e[e.H264_3840x2160=8]=”H264_3840x2160″,e[e.HEVC_1920x1080=9]=”HEVC_1920x1080″,e[e.HEVC_3840x2160=10]=”HEVC_3840x2160″}(i||(i={})),function(e){e[e.High=0]=”High”,e[e.Medium=1]=”Medium”,e[e.Low=2]=”Low”,e[e.VGA640x480=3]=”VGA640x480″,e[e.IFrame1280x720=4]=”IFrame1280x720″,e[e.IFrame960x540=5]=”IFrame960x540″}(o||(o={})),function(e){e.FULL_SCREEN=”fullScreen”,e.PAGE_SHEET=”pageSheet”,e.FORM_SHEET=”formSheet”,e.CURRENT_CONTEXT=”currentContext”,e.OVER_FULL_SCREEN=”overFullScreen”,e.OVER_CURRENT_CONTEXT=”overCurrentContext”,e.POPOVER=”popover”,e.AUTOMATIC=”automatic”}(a||(a={})),function(e){e.Automatic=”automatic”,e.Compatible=”compatible”,e.Current=”current”}(s||(s={})),function(e){e.back=”back”,e.front=”front”}(l||(l={}))},31545:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{Image:()=>Ce});var r=n(63366),i=n(95004);function o(){return(0,i.createRef)()}var a=n(59550),s=n(67842),l=n(2629);const c=[“cross-dissolve”,”flip-from-left”,”flip-from-right”,”flip-from-top”,”flip-from-bottom”];function u(e,t){return i.useMemo((()=>{if(!e)return null;const[n,r]=e;return{animationKey:n,persistedElement:r,status:t||”mounted”}}),[e?.[0]])}function d(e){if(!e?.duration)return null;const t=(n=e.effect,c.includes(n)?n:”cross-dissolve”);var n;if(!t)return{startingClass:””,animateInClass:””,animateOutClass:””,containerClass:””,timingFunction:”linear”,animationClass:””,duration:0};const r=function(e,t){return e?.includes(“flip”)?t?.includes(“ease”)?”ease-in-out”:”linear”:t||null}(t,e.timing),i=`image-timing-${r}`;return{startingClass:`${t}-start`,animateInClass:[t,”transitioning”,`${t}-active`,i].join(” “),animateOutClass:[t,`${t}-end`,i].join(” “),containerClass:`${t}-container`,timingFunction:r,animationClass:t,duration:e?.duration||0}}function p({children:e,initial:t,transition:n,recyclingKey:r}){const o=d(n),a=u(t,”active”),[s,c]=i.useState(a?[a]:[]),[p,f]=i.useState(r??””);p!==(r??””)&&(f(r??””),c(a?[a]:[]));const h=e=>{c((t=>t.filter((t=>!!e&&t.animationKey!==e||”in”===t.status||”active”===t.status))))},m=u(e);i.useEffect((()=>{c((e=>{if(!m)return e;return e.findIndex((e=>e.animationKey===m.animationKey))>=0?o?e.map((e=>e.animationKey===m.animationKey?Object.assign({},m,{status:”in”}):Object.assign({},e,{status:”out”}))):[Object.assign({},m,{status:”in”})]:[…e,m]}))}),[m]);const g={transitionDuration:`${o?.duration||0}ms`,transitionTimingFunction:o?.timingFunction||”linear”},y={in:o?.animateInClass,out:o?.animateOutClass,mounted:o?.startingClass};return(0,l.jsx)(l.Fragment,{children:[…s].filter((e=>”errored”!==e.status)).map((n=>{const r=n.status,i=y[r];return(0,l.jsx)(“div”,{className:o?.containerClass,children:(a=n,e[0]===a.animationKey?e[1]({onReady:()=>{c(o?e=>e.map((e=>e===m?Object.assign({},e,{status:”in”}):Object.assign({},e,{status:”out”}))):[Object.assign({},a,{status:”in”})])},onAnimationFinished:()=>{c([Object.assign({},a,{status:”in”})])},onError:()=>{c((e=>e.map((e=>e===a?Object.assign({},e,{status:”errored”}):e))))}}):t?.[0]===a.animationKey?t[1]({onAnimationFinished:()=>{“out”===a.status&&h(a.animationKey)},onError:()=>{c((e=>e.map((e=>e===a?Object.assign({},e,{status:”errored”}):e))))}}):a.persistedElement({onAnimationFinished:()=>{h(a.animationKey)}}))(i,g)},n.animationKey);var a}))})}function f(e,t){return t?{filter:`url(#expo-image-tint-${e})`}:{}}function h({id:e,tintColor:t}){return t?(0,l.jsx)(“svg”,{style:m.svg,children:(0,l.jsx)(“defs”,{children:(0,l.jsxs)(“filter”,{id:`expo-image-tint-${e}`,children:[(0,l.jsx)(“feFlood”,{floodColor:t}),(0,l.jsx)(“feComposite”,{in2:”SourceAlpha”,operator:”atop”})]})})}):null}const m=a.default.create({svg:{width:0,height:0}});var g=n(12792),y=n(72068);class v{constructor(e,t,n){this.serverUrl=e||”https://expo.dev”,this.jsbundleUrl=null,this.asset=n}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(function(e){const t=v.pickScale(e.scales,y.default.get()),n=1===t?””:”@”+t+”x”,r=e.type?`.${e.type}`:””;return e.httpServerLocation.replace(/\.\.\//g,”_”)+”/”+e.name+n+r}(this.asset),this.serverUrl);return e.searchParams.set(“platform”,”web”),e.searchParams.set(“hash”,this.asset.hash),this.fromSource(e.toString().replace(e.origin,””))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:v.pickScale(this.asset.scales,y.default.get())}}static pickScale(e,t){for(let n=0;n=t)return e[n];return e[e.length-1]||1}}let b;function w(e){b=e}function k(e){if(“object”===typeof e)return e;const t=(0,g.getAssetByID)(e);if(!t)return;const n=new v(“https://expo.dev”,null,t);return b?b(n):n.defaultAsset()}Object.defineProperty(k,”setCustomSourceTransformer”,{get:()=>w});const{pickScale:_}=v;function E(e){const[t,n,r]=e.replace(/^blurhash:\//,””).split(“/”);return{uri:”blurhash:/”+t,width:parseInt(n,10)||16,height:parseInt(r,10)||16}}function S(e){return{uri:”thumbhash:/”+e.replace(/^thumbhash:\//,””)}}var C=n(30992);let x=!1,A=!1,R=!1;function T(e,t){if(e)return e;if(t)switch(x||(x=!0),t){case”contain”:case”cover”:case”none”:return t;case”stretch”:return”fill”;case”center”:return”scale-down”;case”repeat”:return A||(A=!0),”cover”;default:throw new Error(`Unhandled resizeMode case: ${t}`)}return”cover”}function D(e){if(“string”===typeof e){const t={center:{top:”50%”,left:”50%”},top:{top:0,left:”50%”},right:{top:”50%”,right:0},bottom:{bottom:0,left:”50%”},left:{top:”50%”,left:0},”top center”:{top:0,left:”50%”},”top right”:{top:0,right:0},”top left”:{top:0,left:0},”right center”:{top:”50%”,right:0},”right top”:{top:0,right:0},”right bottom”:{bottom:0,right:0},”bottom center”:{bottom:0,left:”50%”},”bottom right”:{bottom:0,right:0},”bottom left”:{bottom:0,left:0},”left center”:{top:”50%”,left:0},”left top”:{top:0,left:0},”left bottom”:{bottom:0,left:0}},n=t[e];return n||t.center}return e??{top:”50%”,left:”50%”}}function I(e,t){return”number”===typeof e?{duration:e}:e||”number”!==typeof t?e??null:(R||(R=!0),{duration:t})}function O(e){return e instanceof C.default&&”image”===e.nativeRefType}const j=[“blurhash”,”thumbhash”];function P(e){return/^(blurhash:\/)+[\w#$%*+,\-.:;=?@[\]^_{}|~]+(\/[\d.]+)*$/.test(e)}function M(e){return e.startsWith(“thumbhash:/”)}function N(e){if(“string”===typeof e)return P(e)?E(e):M(e)?S(e):{uri:e};if(“number”===typeof e)return k(e);if(“object”===typeof e&&(e?.blurhash||e?.thumbhash)){const{blurhash:t,thumbhash:n}=e,i=(0,r.default)(e,j),o=n?S(n):E(t);return Object.assign({},o,i)}return e??null}function L(e){return Array.isArray(e)?e.map(N).filter(Boolean):O(e)?e:[N(e)].filter(Boolean)}function F(e,t){return{onLoad:t=>{e?.onLoad?.forEach((e=>e?.(t))),window.requestAnimationFrame((()=>{e?.onDisplay?.forEach((e=>e?.()))}))},onTransitionEnd:()=>e?.onTransitionEnd?.forEach((e=>e?.())),onError:()=>{t?.uri&&P(t?.uri)||e?.onError?.forEach((e=>e?.({source:t||null})))}}}const V=[“0″,”1″,”2″,”3″,”4″,”5″,”6″,”7″,”8″,”9″,”A”,”B”,”C”,”D”,”E”,”F”,”G”,”H”,”I”,”J”,”K”,”L”,”M”,”N”,”O”,”P”,”Q”,”R”,”S”,”T”,”U”,”V”,”W”,”X”,”Y”,”Z”,”a”,”b”,”c”,”d”,”e”,”f”,”g”,”h”,”i”,”j”,”k”,”l”,”m”,”n”,”o”,”p”,”q”,”r”,”s”,”t”,”u”,”v”,”w”,”x”,”y”,”z”,”#”,”$”,”%”,”*”,”+”,”,”,”-“,”.”,”:”,”;”,”=”,”?”,”@”,”[“,”]”,”^”,”_”,”{“,”|”,”}”,”~”],B=e=>{let t=0;for(let n=0;n{const t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},z=e=>{const t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(12.92*t*255+.5):Math.trunc(255*(1.055*Math.pow(t,1/2.4)-.055)+.5)},W=(e,t)=>(e<0?-1:1)*Math.pow(Math.abs(e),t),K=e=>{if(!e||e.length<6)throw new H("The blurhash string must be at least 6 characters");const t=B(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new H(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},X=e=>{const t=e>>8&255,n=255&e;return[U(e>>16),U(t),U(n)]},q=(e,t)=>{const n=Math.floor(e/361),r=Math.floor(e/19)%19,i=e%19;return[W((n-9)/9,2)*t,W((r-9)/9,2)*t,W((i-9)/9,2)*t]},G=(e,t,n,r)=>{K(e),r=1|(r||1);const i=B(e[0]),o=Math.floor(i/9)+1,a=i%9+1,s=(B(e[1])+1)/166,l=new Array(a*o);for(let d=0;d{let n=!1;if(!e||!e.uri||!o)return;const i=e.uri.replace(/blurhash:\//,””),a=G(i,e.width??Y.width,e.height??Y.height,t),s=document.createElement(“canvas”),l=document.createElement(“canvas”);s.width=e.width??Y.width,s.height=e.height??Y.height,l.width=(e.width??Y.width)*Z,l.height=(e.height??Y.height)*Z;const c=s.getContext(“2d”);if(!c)return;const u=c.createImageData(s.width,s.height);u.data.set(a),c.putImageData(u,0,0);const d=l.getContext(“2d”);return d?(d.scale(Z,Z),d.drawImage(s,0,0),l.toBlob((e=>{n||r((t=>(t&&URL.revokeObjectURL(t),e?URL.createObjectURL(e):t)))})),function(){n=!0,r((e=>(e&&URL.revokeObjectURL(e),null)))}):void 0}),[e?.uri,e?.height,e?.width,t,o]);return[(0,i.useMemo)((()=>n?{uri:n}:null),[n]),o]}function $(e){const t=function(e){const{PI:t,min:n,max:r,cos:i,round:o}=Math,a=e[0]|e[1]<<8|e[2]<<16,s=e[3]|e[4]<<8,l=(63&a)/63,c=(a>>6&63)/31.5-1,u=(a>>12&63)/31.5-1,d=(a>>18&31)/31,p=a>>23,f=(s>>3&63)/63,h=(s>>9&63)/63,m=s>>15,g=r(3,m?p?5:7:7&s),y=r(3,m?7&s:p?5:7),v=p?(15&e[5])/15:1,b=(e[5]>>4)/15,w=p?6:5;let k=0;const _=(t,n,r)=>{const i=[];for(let o=0;o>1)]>>((1&k++)<<2)&15)/7.5-1)*r);return i},E=_(g,y,d),S=_(3,3,1.25*f),C=_(3,3,1.25*h),x=p?_(5,5,b):null,A=function(e){const t=e[3],n=128&e[2],r=128&e[4];return(r?n?5:7:7&t)/(r?7&t:n?5:7)}(e),R=o(A>1?32:32*A),T=o(A>1?32/A:32),D=new Uint8Array(R*T*4),I=[],O=[];for(let j=0,P=0;j>8,255&e,0,0,t>>8,255&t,8,6,0,0,0,0,0,0,0,i>>>24,i>>16&255,i>>8&255,255&i,73,68,65,84,120,1],a=[0,498536548,997073096,651767980,1994146192,1802195444,1303535960,1342533948,-306674912,-267414716,-690576408,-882789492,-1687895376,-2032938284,-1609899400,-1111625188];let s=1,l=0;for(let c=0,u=0,d=r-1;c>8,255&~r,r>>8^255,0),l=(l+s)%65521;u>8,255&l,s>>8,255&s,0,0,0,0,0,0,0,0,73,69,78,68,174,66,96,130);for(let[c,u]of[[12,29],[37,41+i]]){let e=-1;for(let t=c;t>>4^a[15&e],e=e>>>4^a[15&e];e=~e,o[u++]=e>>>24,o[u++]=e>>16&255,o[u++]=e>>8&255,o[u++]=255&e}return”data:image/png;base64,”+btoa(String.fromCharCode(…o))}(t.w,t.h,t.rgba)}function Q(e){const t=M(e?.uri||””),n=e?.uri?.replace(/thumbhash:\//,””)??””;return[(0,i.useMemo)((()=>{return t?{uri:(e=n,$(Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))))}:null;var e}),[n,t]),t]}const ee={width:”100%”,height:”100%”,position:”absolute”,left:0,top:0};function te(e){const t=Object.assign({},e);return t?(null==t.top&&null==t.bottom&&(t.top=”50%”),null==t.left&&null==t.right&&(t.left=”50%”),[“top”,”bottom”,”left”,”right”].map((e=>e in t?`${e} ${function(e){const t=String(e).trim();return t.endsWith(“%”)?t:`${t}px`}(t[e])}`:””)).join(” “)||”50% 50%”):”50% 50%”}const ne=[“source”,”events”,”contentPosition”,”hashPlaceholderContentPosition”,”priority”,”style”,”hashPlaceholderStyle”,”tintColor”,”className”,”accessibilityLabel”,”cachePolicy”];function re(e=”normal”){return e&&[“low”,”high”].includes(e)?e:”auto”}function ie(e){return e&&”srcset”in e?{srcSet:e.srcset,sizes:e.sizes}:{}}const oe=i.forwardRef(((e,t)=>{let{source:n,events:o,contentPosition:a,hashPlaceholderContentPosition:s,priority:c,style:u,hashPlaceholderStyle:d,tintColor:p,className:m,accessibilityLabel:g,cachePolicy:y}=e,v=(0,r.default)(e,ne);(0,i.useEffect)((()=>{o?.onMount?.forEach((e=>e?.()))}),[]);const b=(0,i.useId)(),{resolvedSource:w,isImageHash:k}=function(e){const[t,n]=Q(e),[r,o]=J(e);return(0,i.useMemo)((()=>n||o?r||t?{resolvedSource:r??t,isImageHash:!0}:{resolvedSource:null,isImageHash:!0}:{resolvedSource:e,isImageHash:!1}),[r,t,n,o,e])}(n),_=te(k?s:a),E=function(e,t,n){const[r,o]=(0,i.useState)(null);return(0,i.useEffect)((()=>{(async()=>{if(e?.headers&&e.uri)try{const n=await fetch(e.uri,{headers:e.headers,cache:”none”===t?”no-cache”:”default”,redirect:”follow”});if(!n.ok)throw new Error(`Failed to fetch image: ${n.status} ${n.statusText}`);const r=await n.blob();o((e=>(e&&URL.revokeObjectURL(e),URL.createObjectURL(r))))}catch{n?.forEach((t=>t?.({source:e})))}})()}),[e]),e?.headers?r?Object.assign({},e,{uri:r}):null:e}(w,y,o?.onError);return E?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h,{id:b,tintColor:p}),(0,l.jsx)(“img”,Object.assign({ref:t,alt:g,className:m,src:E?.uri||void 0,style:Object.assign({objectPosition:_},ee,f(b,p),u,k?d:{}),fetchPriority:re(c||”normal”)},F(o,E),ie(n),v),n?.uri)]}):null})),ae=oe;function se(e,t){return 1===e?.length?e[0]:[…e||[]]?.map((e=>{if(!t)return{source:e,penalty:0,covers:!1};const{width:n,height:r}=”object”===typeof e?e:{width:null,height:null};return null==n||null==r?{source:e,penalty:0,covers:!1}:ne.penalty-t.penalty)).sort(((e,t)=>Number(t.covers)-Number(e.covers)))[0]?.source??null}function le(e){return`(max-width: ${e.webMaxViewportWidth??e.width}px) ${e.width}px`}function ce(e,t=”static”,n,r=null){const o=(Array.isArray(e)?e.length:0)>1,[a,s]=(0,i.useState)(n.current?.getBoundingClientRect()??null);return a&&n.current&&r?.(n.current,a),i.useEffect((()=>{if(!o&&!r||!n.current)return()=>{};if(“live”===t){const e=new ResizeObserver((e=>{s(e[0].contentRect),r?.(e[0].target,e[0].contentRect)}));return e.observe(n.current),()=>{e.disconnect()}}return()=>{}}),[t,o,n.current,r]),O(e)?e:function(e,t,n){if(null==e||0===e.length)return null;if(1===e.length)return e[0];if(“static”!==n)return se(e,t);const r=e.filter((e=>e.uri&&null!=e.width&&!P(e.uri)&&!M(e.uri))).sort(((e,t)=>(e.webMaxViewportWidth??e.width??0)-(t.webMaxViewportWidth??t.width??0)));if(0===r.length)return se(e,t);const i=r?.map((e=>`${e.uri} ${e.width}w`)).join(“, “);return{srcset:i,sizes:`${r?.map(le).join(“, “)}, ${r[r.length-1]?.width}px`,uri:r[r.length-1]?.uri??””,type:”srcset”}}(e,a,t)}const ue=[“source”,”placeholder”,”contentFit”,”contentPosition”,”placeholderContentFit”,”cachePolicy”,”onLoad”,”transition”,”onError”,”responsivePolicy”,”onLoadEnd”,”onDisplay”,”priority”,”blurRadius”,”recyclingKey”,”style”,”nativeViewRef”,”accessibilityLabel”,”tintColor”,”containerViewRef”];function de(e){return t=>{const n=t.target;e?.({source:{url:n.currentSrc,width:n.naturalWidth,height:n.naturalHeight,mediaType:null},cacheType:”none”})}}function pe(e){return({source:t})=>{e?.({error:`Failed to load image from url: ${t?.uri}`})}}function fe(e,t){e?.style.setProperty(“–expo-image-width”,`${t.width}px`),e?.style.setProperty(“–expo-image-height”,`${t.height}px`)}function he(e,t){const n=e&&”uri”in e&&e.uri||””;return t?[t,n].join(“-“):n}function me(e){let{source:t,placeholder:n,contentFit:i,contentPosition:o,placeholderContentFit:a,cachePolicy:c,onLoad:u,transition:d,onError:f,responsivePolicy:h,onLoadEnd:m,onDisplay:g,priority:y,blurRadius:v,recyclingKey:b,style:w,nativeViewRef:k,accessibilityLabel:_,tintColor:E,containerViewRef:S}=e,C=(0,r.default)(e,ue);const x=a||”scale-down”,A={objectFit:a||i},R=ce(t,h,S,function(e){return”flip-from-bottom”===e?.effect||”flip-from-top”===e?.effect||”flip-from-left”===e?.effect||”flip-from-right”===e?.effect}(d)?fe:null),T=n?.[0],D=he(T,b),I=T?.uri?[D,({onAnimationFinished:e})=>(t,n)=>(0,l.jsx)(ae,{ref:k,source:T,style:Object.assign({objectFit:x},v?{filter:`blur(${v}px)`}:{},n),className:t,events:{onTransitionEnd:[e]},contentPosition:{left:”50%”,top:”50%”},hashPlaceholderContentPosition:o,hashPlaceholderStyle:A,accessibilityLabel:_,cachePolicy:c,priority:y,tintColor:E})]:null,O=[he(R??T,b),({onAnimationFinished:e,onReady:t,onMount:n,onError:r})=>(a,s)=>(0,l.jsx)(ae,{ref:k,source:R||T,events:{onError:[pe(f),m,r],onLoad:[de(u),m,t],onMount:[n],onTransitionEnd:[e],onDisplay:[g]},style:Object.assign({objectFit:R?i:x},v?{filter:`blur(${v}px)`}:{},s),className:a,cachePolicy:c,priority:y,contentPosition:R?o:{top:”50%”,left:”50%”},hashPlaceholderContentPosition:o,hashPlaceholderStyle:A,accessibilityLabel:_,tintColor:E})];return(0,l.jsx)(s.default,Object.assign({ref:S,dataSet:{expoimage:!0},style:[{overflow:”hidden”},w]},C,{children:(0,l.jsx)(p,{transition:d,recyclingKey:b,initial:I,children:O})}))}!function(){{const e=document.createElement(“style”);e.innerHTML=”\n[data-expoimage] .cross-dissolve {\n transition-property: opacity;\n animation-fill-mode: forwards;\n}\n[data-expoimage] .cross-dissolve-start:not(.transitioning) {\n opacity: 0;\n}\n[data-expoimage] .cross-dissolve-active {\n opacity: 1;\n}\n[data-expoimage] .cross-dissolve-end {\n opacity: 0;\n}\n[data-expoimage] .flip-from-left {\n transition-property: transform, opacity;\n transition-timing-function: var(–expo-image-timing,linear), steps(2, jump-none) !important;\n transform-origin: center;\n\n}\n[data-expoimage] .flip-from-left-container {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n perspective: 1000px;\n}\n[data-expoimage] .flip-from-left-start:not(.transitioning) {\n transform: translateZ(calc(var(–expo-image-width,1000px) * -1.25)) rotateY(-180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-left-active {\n transform: translateZ(0px) rotateY(0) ;\n opacity:1;\n}\n[data-expoimage] .flip-from-left-end {\n transform: translateZ(calc(var(–expo-image-width,1000px) * -1.25)) rotateY(180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-right {\n transition-property: transform, opacity;\n transition-timing-function: var(–expo-image-timing,linear), steps(2, jump-none) !important;\n transform-origin: center;\n}\n[data-expoimage] .flip-from-right-container {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n perspective: 1000px;\n}\n[data-expoimage] .flip-from-right-start:not(.transitioning) {\n transform: translateZ(calc(var(–expo-image-width,1000px) * -1.25)) rotateY(180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-right-active {\n transform: translateZ(0px) rotateY(0) ;\n opacity:1;\n}\n[data-expoimage] .flip-from-right-end {\n transform: translateZ(calc(var(–expo-image-width,1000px) * -1.25)) rotateY(-180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-top {\n transition-property: transform, opacity;\n transition-timing-function: var(–expo-image-timing,linear), steps(2, jump-none) !important;\n transform-origin: center;\n}\n[data-expoimage] .flip-from-top-container {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n perspective: 1000px;\n}\n[data-expoimage] .flip-from-top-start:not(.transitioning) {\n transform: translateZ(calc(var(–expo-image-height,1000px) * -1.5)) rotateX(180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-top-active {\n transform: translateZ(0px) rotateX(0) ;\n opacity:1;\n}\n[data-expoimage] .flip-from-top-end {\n transform: translateZ(calc(var(–expo-image-height,1000px) * -1.5)) rotateX(-180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-bottom {\n transition-property: transform, opacity;\n transition-timing-function: var(–expo-image-timing,linear), steps(2, jump-none) !important;\n transform-origin: center;\n}\n[data-expoimage] .flip-from-bottom-container {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n perspective: 1000px;\n}\n[data-expoimage] .flip-from-bottom-start:not(.transitioning) {\n transform: translateZ(calc(var(–expo-image-height,1000px) * -1.25)) rotateX(-180deg);\n opacity: 0;\n}\n[data-expoimage] .flip-from-bottom-active {\n transform: translateZ(0px) rotateX(0) ;\n opacity:1;\n}\n[data-expoimage] .flip-from-bottom-end {\n transform: translateZ(calc(var(–expo-image-height,1000px) * -1.25)) rotateX(180deg);\n opacity: 0;\n}\n[data-expoimage] .image-timing-linear {\n –expo-image-timing: linear;\n}\n[data-expoimage] .image-timing-ease-in {\n –expo-image-timing: ease-in;\n}\n[data-expoimage] .image-timing-ease-out {\n –expo-image-timing: ease-out;\n}\n[data-expoimage] .image-timing-ease-in-out {\n –expo-image-timing: ease-in-out;\n}\n”,e.id=”expo-image-styles”,document.head.appendChild(e)}}();var ge=n(11814),ye=n(82787);class ve extends C.default{nativeRefType=”image”;uri=null;width=0;height=0;mediaType=null;scale=1;isAnimated=!1;static init(e,t,n,r){return Object.assign(new ve,{uri:e,width:t,height:n,mediaType:r,isAnimated:”image/gif”===r})}}class be extends ge.default{static name=”ExpoImage”;Image=ve;async prefetch(e,t,n){const r=Array.isArray(e)?e:[e];return new Promise((e=>{let t=0;r.forEach((n=>{const i=new Image;i.src=n,i.onload=()=>{t++,t===r.length&&e(!0)},i.onerror=()=>e(!1)}))}))}async clearMemoryCache(){return!1}async clearDiskCache(){return!1}async loadAsync(e){if(!e.uri)throw new Error(‘The image source must have the “uri” property defined’);const t=await fetch(e.uri,{headers:e.headers});if(!t.ok)throw new Error(`Image request failed with the status code: ${t.status}`);const n=await t.blob(),r=URL.createObjectURL(n),i=await async function(e){return new Promise(((t,n)=>{const r=document.createElement(“img”);r.onload=()=>t(r),r.onerror=()=>n(new Error(`Unable to load the image from ‘${e}’`)),r.src=e}))}(r);return ve.init(r,i.width,i.height,t.headers.get(“Content-Type”))}}const we=(0,ye.registerWebModule)(be,”ExpoImage”),ke=[“style”,”source”,”placeholder”,”contentFit”,”contentPosition”,”transition”,”fadeDuration”,”resizeMode”,”defaultSource”,”loadingIndicatorSource”],_e=[“resizeMode”];let Ee=!1,Se=!1;class Ce extends i.PureComponent{constructor(e){super(e),this.nativeViewRef=o(),this.containerViewRef=o()}getAnimatableRef=()=>this.containerViewRef.current;static Image=we.Image;static async prefetch(e,t){let n,r=”memory-disk”;switch(typeof t){case”string”:r=t;break;case”object”:r=t.cachePolicy??r,n=t.headers}return we.prefetch(Array.isArray(e)?e:[e],r,n)}static async clearMemoryCache(){return await we.clearMemoryCache()}static async clearDiskCache(){return await we.clearDiskCache()}static async getCachePathAsync(e){return await we.getCachePathAsync(e)}static async generateBlurhashAsync(e,t){return await we.generateBlurhashAsync(e,t)}async startAnimating(){await(this.nativeViewRef.current?.startAnimating())}async stopAnimating(){await(this.nativeViewRef.current?.stopAnimating())}static async loadAsync(e,t){const n=N(e);return await we.loadAsync(n,t)}render(){const e=this.props,{style:t,source:n,placeholder:i,contentFit:o,contentPosition:s,transition:c,fadeDuration:u,resizeMode:d,defaultSource:p,loadingIndicatorSource:f}=e,h=(0,r.default)(e,ke),m=a.default.flatten(t)||{},{resizeMode:g}=m,y=(0,r.default)(m,_e),v=d??g;return!p&&!f||Ee||(Ee=!0),h.children&&!Se&&(Se=!0),(0,l.jsx)(me,Object.assign({},h,{style:y,source:L(n),placeholder:L(i??p??f),contentFit:T(o,v),contentPosition:D(s),transition:I(c,u),nativeViewRef:this.nativeViewRef,containerViewRef:this.containerViewRef}))}}},44922:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{LinearGradient:()=>p});var r=n(63366),i=n(95004),o=n(67842),a=n(24139);const s=e=>”currentcolor”===e||”currentColor”===e||”inherit”===e||0===e.indexOf(“var(“);var l=n(2629);const c=[“colors”,”locations”,”startPoint”,”endPoint”];function u(e){let{colors:t,locations:n,startPoint:u,endPoint:d}=e,p=(0,r.default)(e,c);const[{height:f,width:h},m]=i.useState({height:1,width:1}),g=i.useMemo((()=>function(e,t,n,r,i=1,o=1){const l=function(e,t){return e.map(((e,n)=>{const r=function(e,t=1){if(null==e)return;if(“string”===typeof e&&s(e))return e;const n=(0,a.default)(e);if(“number”===typeof n)return`rgba(${n>>16&255},${n>>8&255},${255&n},${((n>>24&255)/255*t).toFixed(2)})`}(e);if(t&&t[n]){return`${r} ${100*Math.max(0,Math.min(1,t[n]))}%`}return r}))}(e,t),c=function(e,t,n,r){const i=()=>{let e=[0,0];Array.isArray(n)&&(e=[null!=n[0]?n[0]:0,null!=n[1]?n[1]:0]);let t=[0,1];return Array.isArray(r)&&(t=[null!=r[0]?r[0]:0,null!=r[1]?r[1]:1]),[e,t]},[o,a]=i();o[0]*=e,a[0]*=e,o[1]*=t,a[1]*=t;const s=a[1]-o[1],l=a[0]-o[0];return 90+180*Math.atan2(s,l)/Math.PI}(i,o,n,r);return`linear-gradient(${c}deg, ${l.join(“, “)})`}(t,n,u,d,h,f)),[t,n,u,d,h,f]);return(0,l.jsx)(o.default,Object.assign({},p,{style:[p.style,{backgroundImage:g}],onLayout:e=>{const{width:t,height:n}=e.nativeEvent.layout;m((e=>t!==e.width||n!==e.height?{height:n,width:t}:e)),p.onLayout&&p.onLayout(e)}}))}const d=[“colors”,”locations”,”start”,”end”,”dither”];class p extends i.Component{render(){const e=this.props,{colors:t,locations:n,start:i,end:o,dither:a}=e,s=(0,r.default)(e,d);let c=n;return n&&t.length!==n.length&&(c=n.slice(0,t.length)),(0,l.jsx)(u,Object.assign({},s,{colors:t,dither:void 0,locations:c,startPoint:f(i),endPoint:f(o)}))}}function f(e){if(e&&(!Array.isArray(e)||2===e.length))return Array.isArray(e)?e:[e.x,e.y]}},88186:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{addEventListener:()=>y,canOpenURL:()=>S,collectManifestSchemes:()=>h,createURL:()=>u,getInitialURL:()=>k,getLinkingURL:()=>_,hasConstantsManifest:()=>m,hasCustomScheme:()=>f,openSettings:()=>w,openURL:()=>E,parse:()=>d,parseInitialURLAsync:()=>v,resolveScheme:()=>g,sendIntent:()=>b,useLinkingURL:()=>x,useURL:()=>C});var r=n(80824),i=n(95004),o=n(69590),a=n.n(o);const s={addListener(e,t){a()(“onURLReceived”===e,`Linking.addListener(): ${e} is not a valid event`);const n=e=>t({url:window.location.href,nativeEvent:e});return window.addEventListener(“message”,n,!1),{remove:()=>{window.removeEventListener(“message”,n)}}},getLinkingURL:()=>window.location.href},l=[],c={addEventListener(e,t){a()(“url”===e,`Linking.addEventListener(): ${e} is not a valid event`);const n=e=>t({url:window.location.href,nativeEvent:e});return l.push({listener:t,nativeListener:n}),window.addEventListener(“message”,n,!1),{remove:()=>{this.removeEventListener(e,t)}}},removeEventListener(e,t){a()(“url”===e,`Linking.addEventListener(): ${e} is not a valid event`);const n=l.findIndex((e=>e.listener===t));a()(-1!==n,”Linking.removeEventListener(): cannot remove an unregistered event listener.”);const r=l[n].nativeListener;window.removeEventListener(“message”,r,!1),l.splice(n,1)},canOpenURL:async()=>!0,getInitialURL:async()=>window.location.href,async openURL(e){window.location=new URL(e,window.location).toString()}};function u(e,{queryParams:t={}}={}){const n=new URL(e,window.location.origin);return Object.entries(t).forEach((([e,t])=>{“string”===typeof t?n.searchParams.set(e,encodeURIComponent(t)):null!=t&&n.searchParams.set(e,t)})),n.toString().replace(/\/$/,””)}function d(e){let t;try{t=new URL(e)}catch{return{hostname:”localhost”,path:e,queryParams:{},scheme:”http”}}const n={};return t.searchParams.forEach(((e,t)=>{n[t]=decodeURIComponent(e)})),{hostname:t.hostname||null,path:t.hostname||t.pathname?””===t.pathname?null:t.pathname.replace(/^\//,””):null,queryParams:n,scheme:t.protocol.replace(/:$/,””)}}function p(e){a()(“string”===typeof e,”Invalid URL: should be a string. Was: “+e),a()(e,”Invalid URL: cannot be empty”)}function f(){return!0}function h(){return[]}function m(){return!1}function g(){return”https”}function y(e,t){return c.addEventListener(e,t)}async function v(){const e=await c.getInitialURL();return e?d(e):{scheme:null,hostname:null,path:null,queryParams:null}}async function b(e,t){throw new r.UnavailabilityError(“Linking”,”sendIntent”)}async function w(){throw new r.UnavailabilityError(“Linking”,”openSettings”)}async function k(){return await c.getInitialURL()??null}function _(){return s.getLinkingURL()}async function E(e){return p(e),await c.openURL(e)}async function S(e){return p(e),await c.canOpenURL(e)}function C(){const[e,t]=(0,i.useState)(null);function n(e){t(e.url)}return(0,i.useEffect)((()=>{k().then((e=>t(e)));const e=y(“url”,n);return()=>e.remove()}),[]),e}function x(){const[e,t]=(0,i.useState)(s.getLinkingURL);function n(e){t(e.url)}return(0,i.useEffect)((()=>{const e=s.addListener(“onURLReceived”,n);return()=>e.remove()}),[]),e??null}},2854:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{CalendarIdentifier:()=>d,Weekday:()=>u,currency:()=>p,decimalSeparator:()=>f,digitGroupingSeparator:()=>h,getCalendars:()=>E,getLocales:()=>_,getLocalizationAsync:()=>x,isMetric:()=>g,isRTL:()=>y,isoCurrencyCodes:()=>m,locale:()=>v,locales:()=>b,region:()=>k,timezone:()=>w,useCalendars:()=>C,useLocales:()=>S});var r=n(95004),i=n(97549),o=n(98746);const a=”languagechange”,s=[“AG”,”BZ”,”VG”,”FM”,”MH”,”MS”,”KN”,”BS”,”CY”,”TC”,”US”,”LR”,”PW”,”KY”];function l(e){e.remove()}const c={get currency(){return null},get decimalSeparator(){return 1.1.toLocaleString().substring(1,2)},get digitGroupingSeparator(){const e=1e3.toLocaleString();return 5===e.length?e.substring(1,2):””},get isRTL(){return o.isRtlLang(this.locale)??!1},get isMetric(){const{region:e}=this;switch(e){case”US”:case”LR”:case”MM”:return!1}return!0},get locale(){if(!i.default.isDOMAvailable)return””;return navigator.language||navigator.systemLanguage||navigator.browserLanguage||navigator.userLanguage||this.locales[0]},get locales(){if(!i.default.isDOMAvailable)return[];const{languages:e=[]}=navigator;return Array.from(e)},get timezone(){const e=”Etc/UTC”;return”undefined”===typeof Intl?e:Intl.DateTimeFormat().resolvedOptions().timeZone||e},get isoCurrencyCodes(){return[]},get region(){const{locale:e}=this,[,…t]=”string”===typeof e?e.split(“-“):[];for(const n of t)if(2===n.length)return n.toUpperCase();return null},getLocales(){const e=i.default.isDOMAvailable?navigator.languages||[navigator.language]:[];return e?.map((e=>{let t={},n=null,r=null,i=null;try{n=Array.from(1e4.toLocaleString(e)).filter((e=>e>”9″||e<"0"))[0]||null,r=1.1.toLocaleString(e).substring(1,2),"undefined"!==typeof Intl&&(t=new Intl.Locale(e))}catch{}const{region:o,textInfo:a,language:l,script:c}=t;return o&&(i=function(e){return s.includes(e)?"fahrenheit":"celsius"}(o)),{languageTag:e,languageCode:l||e.split("-")[0]||"en",languageScriptCode:c||null,textDirection:a?.direction||null,digitGroupingSeparator:n,decimalSeparator:r,measurementSystem:null,currencyCode:null,currencySymbol:null,languageCurrencyCode:null,languageCurrencySymbol:null,regionCode:o||null,languageRegionCode:o||null,temperatureUnit:i}}))},getCalendars(){const e=("undefined"!==typeof Intl?Intl.DateTimeFormat().resolvedOptions():null)??null;return[{calendar:e?.calendar||e?.calendars?.[0]||null,timeZone:e?.timeZone||e?.timeZones?.[0]||null,uses24hourClock:(e?.hourCycle||e?.hourCycles?.[0])?.startsWith("h2")??null,firstWeekday:e?.weekInfo?.firstDay||null}]},async getLocalizationAsync(){const{currency:e,decimalSeparator:t,digitGroupingSeparator:n,isoCurrencyCodes:r,isMetric:i,isRTL:o,locale:a,locales:s,region:l,timezone:c}=this;return{currency:e,decimalSeparator:t,digitGroupingSeparator:n,isoCurrencyCodes:r,isMetric:i,isRTL:o,locale:a,locales:s,region:l,timezone:c}}};var u,d;!function(e){e[e.SUNDAY=1]="SUNDAY",e[e.MONDAY=2]="MONDAY",e[e.TUESDAY=3]="TUESDAY",e[e.WEDNESDAY=4]="WEDNESDAY",e[e.THURSDAY=5]="THURSDAY",e[e.FRIDAY=6]="FRIDAY",e[e.SATURDAY=7]="SATURDAY"}(u||(u={})),function(e){e.BUDDHIST="buddhist",e.CHINESE="chinese",e.COPTIC="coptic",e.DANGI="dangi",e.ETHIOAA="ethioaa",e.ETHIOPIC="ethiopic",e.GREGORY="gregory",e.GREGORIAN="gregory",e.HEBREW="hebrew",e.INDIAN="indian",e.ISLAMIC="islamic",e.ISLAMIC_CIVIL="islamic-civil",e.ISLAMIC_RGSA="islamic-rgsa",e.ISLAMIC_TBLA="islamic-tbla",e.ISLAMIC_UMALQURA="islamic-umalqura",e.ISO8601="iso8601",e.JAPANESE="japanese",e.PERSIAN="persian",e.ROC="roc"}(d||(d={}));const p=c.currency,f=c.decimalSeparator,h=c.digitGroupingSeparator,m=c.isoCurrencyCodes,g=c.isMetric,y=c.isRTL,v=c.locale,b=c.locales,w=c.timezone,k=c.region,_=c.getLocales,E=c.getCalendars;function S(){const[e,t]=(0,r.useReducer)((e=>e+1),0),n=(0,r.useMemo)((()=>_()),[e]);return(0,r.useEffect)((()=>{const e=(n=t,addEventListener(a,n),{remove:()=>removeEventListener(a,n)});var n;return()=>{l(e)}}),[]),n}function C(){const[e,t]=(0,r.useReducer)((e=>e+1),0),n=(0,r.useMemo)((()=>E()),[e]);return(0,r.useEffect)((()=>{const e=(n=t,addEventListener(a,n),{remove:()=>removeEventListener(a,n)});var n;return()=>{l(e)}}),[]),n}async function x(){return await c.getLocalizationAsync()}},4168:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{MediaType:()=>g,PermissionStatus:()=>o.PermissionStatus,SortBy:()=>y,addAssetsToAlbumAsync:()=>C,addListener:()=>P,albumNeedsMigrationAsync:()=>V,createAlbumAsync:()=>I,createAssetAsync:()=>E,deleteAlbumsAsync:()=>O,deleteAssetsAsync:()=>A,getAlbumAsync:()=>D,getAlbumsAsync:()=>T,getAssetInfoAsync:()=>R,getAssetsAsync:()=>j,getMomentsAsync:()=>L,getPermissionsAsync:()=>w,isAvailableAsync:()=>v,migrateAlbumIfNeededAsync:()=>F,presentPermissionsPickerAsync:()=>_,removeAllListeners:()=>N,removeAssetsFromAlbumAsync:()=>x,removeSubscription:()=>M,requestPermissionsAsync:()=>b,saveToLibraryAsync:()=>S,usePermissions:()=>k});var r=n(80824),i=n(58945),o=n(66320);const a={status:o.PermissionStatus.UNDETERMINED,canAskAgain:!0,granted:!1,expires:”never”},s={get CHANGE_LISTENER_NAME(){return”mediaLibraryDidChange”},get MediaType(){return{audio:”audio”,photo:”photo”,video:”video”,unknown:”unknown”}},get SortBy(){return{default:”default”,mediaType:”mediaType”,width:”width”,height:”height”,creationTime:”creationTime”,modificationTime:”modificationTime”,duration:”duration”}},getPermissionsAsync:async e=>a,requestPermissionsAsync:async e=>a};let l=!1;function c(e){return Array.isArray(e)?e:e?[e]:[]}function u(e){return”string”===typeof e?e:e?e.id:void 0}function d(e){if(e.some((e=>!e||”string”!==typeof e)))throw new Error(“Asset ID must be a string!”)}function p(e){if(-1===Object.values(g).indexOf(e))throw new Error(`Invalid mediaType: ${e}`)}function f(e){if(-1===Object.values(y).indexOf(e))throw new Error(`Invalid sortBy key: ${e}`)}function h(e){return function(e){if(Array.isArray(e)){if(f(e[0]),”boolean”!==typeof e[1])throw new Error(“Invalid sortBy array argument. Second item must be a boolean!”)}else f(e)}(e),Array.isArray(e)?`${e[0]} ${e[1]?”ASC”:”DESC”}`:`${e} DESC`}function m(e){return e instanceof Date?e.getTime():e}”undefined”!==typeof expo&&globalThis.expo?.modules?.ExpoGo&&!l&&(l=!0);const g=s.MediaType,y=s.SortBy;async function v(){return!!s&&”getAssetsAsync”in s}async function b(e=!1,t){if(!s.requestPermissionsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”requestPermissionsAsync”);return await s.requestPermissionsAsync(e)}async function w(e=!1,t){if(!s.getPermissionsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”getPermissionsAsync”);return await s.getPermissionsAsync(e)}const k=(0,i.createPermissionHook)({getMethod:e=>w(e?.writeOnly,e?.granularPermissions),requestMethod:e=>b(e?.writeOnly,e?.granularPermissions)});async function _(e=[“photo”,”video”]){if(!s.presentPermissionsPickerAsync)throw new r.UnavailabilityError(“MediaLibrary”,”presentPermissionsPickerAsync”);return await s.presentPermissionsPickerAsync()}async function E(e,t){if(!s.createAssetAsync)throw new r.UnavailabilityError(“MediaLibrary”,”createAssetAsync”);const n=u(t);if(!e||”string”!==typeof e)throw new Error(‘Invalid argument “localUri”. It must be a string!’);const i=await s.createAssetAsync(e,n);return Array.isArray(i)?i[0]:i}async function S(e){if(!s.saveToLibraryAsync)throw new r.UnavailabilityError(“MediaLibrary”,”saveToLibraryAsync”);return await s.saveToLibraryAsync(e)}async function C(e,t,n=!0){if(!s.addAssetsToAlbumAsync)throw new r.UnavailabilityError(“MediaLibrary”,”addAssetsToAlbumAsync”);const i=c(e).map(u),o=u(t);if(d(i),!o||”string”!==typeof o)throw new Error(“Invalid album ID. It must be a string!”);return await s.addAssetsToAlbumAsync(i,o,!!n)}async function x(e,t){if(!s.removeAssetsFromAlbumAsync)throw new r.UnavailabilityError(“MediaLibrary”,”removeAssetsFromAlbumAsync”);const n=c(e).map(u),i=u(t);return d(n),await s.removeAssetsFromAlbumAsync(n,i)}async function A(e){if(!s.deleteAssetsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”deleteAssetsAsync”);const t=c(e).map(u);return d(t),await s.deleteAssetsAsync(t)}async function R(e,t={shouldDownloadFromNetwork:!0}){if(!s.getAssetInfoAsync)throw new r.UnavailabilityError(“MediaLibrary”,”getAssetInfoAsync”);const n=u(e);d([n]);const i=await s.getAssetInfoAsync(n,t);return Array.isArray(i)?i[0]:i}async function T({includeSmartAlbums:e=!1}={}){if(!s.getAlbumsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”getAlbumsAsync”);return await s.getAlbumsAsync({includeSmartAlbums:e})}async function D(e){if(!s.getAlbumAsync)throw new r.UnavailabilityError(“MediaLibrary”,”getAlbumAsync”);if(“string”!==typeof e)throw new Error(“Album title must be a string!”);return await s.getAlbumAsync(e)}async function I(e,t,n=!0,i){if(!s.createAlbumAsync)throw new r.UnavailabilityError(“MediaLibrary”,”createAlbumAsync”);const o=u(t);if(!e||”string”!==typeof e)throw new Error(‘Invalid argument “albumName”. It must be a string!’);if(null!=o&&”string”!==typeof o)throw new Error(“Asset ID must be a string!”);return await s.createAlbumAsync(e,o,!!n,i)}async function O(e,t=!1){if(!s.deleteAlbumsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”deleteAlbumsAsync”);const n=c(e).map(u);return function(e){if(e.some((e=>!e||”string”!==typeof e)))throw new Error(“Album ID must be a string!”)}(n),await s.deleteAlbumsAsync(n,!!t)}async function j(e={}){if(!s.getAssetsAsync)throw new r.UnavailabilityError(“MediaLibrary”,”getAssetsAsync”);const{first:t,after:n,album:i,sortBy:o,mediaType:a,createdAfter:l,createdBefore:d}=e,f={first:null==t?20:t,after:u(n),album:u(i),sortBy:c(o),mediaType:c(a||[g.photo]),createdAfter:m(l),createdBefore:m(d)};if(null!=t&&”number”!==typeof f.first)throw new Error(‘Option “first” must be a number!’);if(null!=n&&”string”!==typeof f.after)throw new Error(‘Option “after” must be a string!’);if(null!=i&&”string”!==typeof f.album)throw new Error(‘Option “album” must be a string!’);if(null!=t&&t<0)throw new Error('Option "first" must be a positive integer!');return f.mediaType.forEach(p),await s.getAssetsAsync(Object.assign({},f,{sortBy:f.sortBy.map(h)}))}function P(e){return s.addListener(s.CHANGE_LISTENER_NAME,e)}function M(e){e.remove()}function N(){s.removeAllListeners(s.CHANGE_LISTENER_NAME)}async function L(){if(!s.getMomentsAsync)throw new r.UnavailabilityError("MediaLibrary","getMomentsAsync");return await s.getMomentsAsync()}async function F(e){if(s.migrateAlbumIfNeededAsync)return await s.migrateAlbumIfNeededAsync(u(e))}async function V(e){return!!s.albumNeedsMigrationAsync&&await s.albumNeedsMigrationAsync(u(e))}},11814:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>r}),(0,n(53640).ensureNativeModulesAreInstalled)();const r=globalThis.expo.NativeModule},58945:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{createPermissionHook:()=>a});var r=n(63366),i=n(95004);const o=[“get”,”request”];function a(e){return t=>function(e,t){const n=(0,i.useRef)(!0),[a,s]=(0,i.useState)(null),l=t||{},{get:c=!0,request:u=!1}=l,d=(0,r.default)(l,o),p=(0,i.useCallback)((async()=>{const t=await e.getMethod(Object.keys(d).length>0?d:void 0);return n.current&&s(t),t}),[e.getMethod]),f=(0,i.useCallback)((async()=>{const t=await e.requestMethod(Object.keys(d).length>0?d:void 0);return n.current&&s(t),t}),[e.requestMethod]);return(0,i.useEffect)((function(){u&&f(),!u&&c&&p()}),[c,u,f,p]),(0,i.useEffect)((function(){return n.current=!0,()=>{n.current=!1}}),[]),[a,f,p]}(e,t)}},66320:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{PermissionStatus:()=>r});let r=function(e){return e.GRANTED=”granted”,e.UNDETERMINED=”undetermined”,e.DENIED=”denied”,e}({})},97549:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>s});var r=n(96106);const i=!!window.document?.createElement,o=i&&!(!window.addEventListener&&!window.attachEvent),a=i&&!!window.screen;const s={OS:”web”,select:r.default.select,isDOMAvailable:i,canUseEventListeners:o,canUseViewport:a,isAsyncDebugging:!1}},30992:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>r}),(0,n(53640).ensureNativeModulesAreInstalled)();const r=globalThis.expo.SharedRef},53640:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ensureNativeModulesAreInstalled:()=>c});class r{addListener(e,t){this.listeners||(this.listeners=new Map),this.listeners?.has(e)||this.listeners?.set(e,new Set);const n=this.listenerCount(e);return this.listeners?.get(e)?.add(t),0===n&&1===this.listenerCount(e)&&this.startObserving(e),{remove:()=>{this.removeListener(e,t)}}}removeListener(e,t){const n=this.listeners?.get(e)?.delete(t);0===this.listenerCount(e)&&n&&this.stopObserving(e)}removeAllListeners(e){const t=this.listenerCount(e);this.listeners?.get(e)?.clear(),t>0&&this.stopObserving(e)}emit(e,…t){new Set(this.listeners?.get(e)).forEach((e=>{try{e(…t)}catch(n){}}))}listenerCount(e){return this.listeners?.get(e)?.size??0}startObserving(e){}stopObserving(e){}}class i extends r{}class o extends r{release(){}}class a extends o{nativeRefType=”unknown”}var s=n(29597);n(67652);function l(){globalThis.expo||(globalThis.expo={EventEmitter:r,NativeModule:i,SharedObject:o,SharedRef:a,modules:globalThis.ExpoDomWebView?.expoModulesProxy??{},uuidv4:s.default.v4,uuidv5:s.default.v5,getViewConfig:()=>{throw new Error(“Method not implemented.”)},reloadAppAsync:async()=>{window.location.reload()}})}function c(){if(!globalThis.expo)try{l()}catch(e){}}l()},75074:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{CodedError:()=>r});class r extends Error{constructor(e,t){super(t),this.code=e}}},80824:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{UnavailabilityError:()=>i});var r=n(75074);class i extends r.CodedError{constructor(e,t){super(“ERR_UNAVAILABLE”,`The method or property ${e}.${t} is not available on web, are you sure you’ve linked all the native dependencies properly?`)}}},82787:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{registerWebModule:()=>i});var r=n(53640);function i(e,t){if((0,r.ensureNativeModulesAreInstalled)(),!(t=t??e.name))throw new Error(“Web module implementation is missing a name – it is either not a class or has been minified. Pass the name as a second argument to the `registerWebModule` function.”);return globalThis?.expo?.modules||(globalThis.expo.modules={}),globalThis.expo.modules[t]||(globalThis.expo.modules[t]=new e),globalThis.expo.modules[t]}},67652:()=>{},29597:(e,t,n)=>{“use strict”;function r(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r;default:return 0}}function i(e,t){return e<>>32-t}n.r(t),n.d(t,{default:()=>c});const o=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(“string”==typeof e){const t=unescape(encodeURIComponent(e));e=new Array(t.length);for(let n=0;n>>0;d=u,u=c,c=i(a,30)>>>0,a=o,o=l}n[0]=n[0]+o>>>0,n[1]=n[1]+a>>>0,n[2]=n[2]+c>>>0,n[3]=n[3]+u>>>0,n[4]=n[4]+d>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]},a=[];for(let u=0;u<256;++u)a[u]=(u+256).toString(16).substr(1);const s=function(e,t){let n=t||0;const r=a;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};let l=function(e){return e.dns="6ba7b810-9dad-11d1-80b4-00c04fd430c8",e.url="6ba7b811-9dad-11d1-80b4-00c04fd430c8",e.oid="6ba7b812-9dad-11d1-80b4-00c04fd430c8",e.x500="6ba7b814-9dad-11d1-80b4-00c04fd430c8",e}({});const c={v4:function(){return crypto.randomUUID()},v5:function(e,t,n){const r=function(e,r,i,o){const a=i&&o||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=new Array(e.length);for(let n=0;n(t.push(parseInt(e,16)),””))),t}(r)),!Array.isArray(e))throw TypeError(“value must be an array of bytes”);if(!Array.isArray(r)||16!==r.length)throw TypeError(“namespace must be uuid string or an Array of 16 byte values”);const l=n(r.concat(e));if(l[6]=15&l[6]|t,l[8]=63&l[8]|128,i)for(let t=0;t<16;++t)i[a+t]=l[t];return s(l)};try{r.name=e}catch{}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}("v5",80,o),namespace:l}},76355:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>i});let r=0;const i={addListener:()=>{},removeListeners:()=>{},getBadgeCountAsync:async()=>r,setBadgeCountAsync:async(e,t)=>{const i=n(31496);return e>0?i.set(e,t):i.clear(),r=e,!0}}},41003:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{getPermissionsAsync:()=>c,requestPermissionsAsync:()=>u});var r=n(80824),i=n(66320),o=n(97549);function a(e){switch(e){case”granted”:return{status:i.PermissionStatus.GRANTED,expires:”never”,canAskAgain:!1,granted:!0};case”denied”:return{status:i.PermissionStatus.DENIED,expires:”never”,canAskAgain:!1,granted:!1};default:return{status:i.PermissionStatus.UNDETERMINED,expires:”never”,canAskAgain:!0,granted:!1}}}async function s({shouldAsk:e}){if(!o.default.isDOMAvailable)return a(“denied”);const{Notification:t={}}=window;if(“undefined”!==typeof t.requestPermission){let n=t.permission;return e&&(n=await new Promise(((e,n)=>{let r=!1;function i(t){r||(r=!0,e(t))}t.requestPermission(i)?.then(i)?.catch(n)}))),a(n)}if(“undefined”!==typeof navigator&&navigator?.permissions?.query){return a((await navigator.permissions.query({name:”notifications”})).state)}return a(“denied”)}const l={addListener:()=>{},removeListeners:()=>{},getPermissionsAsync:async()=>s({shouldAsk:!1}),requestPermissionsAsync:async e=>s({shouldAsk:!0})};async function c(){if(!l.getPermissionsAsync)throw new r.UnavailabilityError(“Notifications”,”getPermissionsAsync”);return await l.getPermissionsAsync()}async function u(e){if(!l.requestPermissionsAsync)throw new r.UnavailabilityError(“Notifications”,”requestPermissionsAsync”);const t=(e??{ios:{allowAlert:!0,allowBadge:!0,allowSound:!0}}).web;return await l.requestPermissionsAsync(t)}},66581:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{addPushTokenListener:()=>s,removePushTokenSubscription:()=>l});let r=!1;const i={addListener:()=>(r||(r=!0),{remove:()=>{}}),removeListener:()=>{},removeAllListeners:()=>{},emit:()=>{},listenerCount:()=>0};const o=()=>{0},a=”onDevicePushToken”;function s(e){return o(),i.addListener(a,(({devicePushToken:t})=>e({data:t,type:”web”})))}function l(e){e.remove()}},97737:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>o});var r=n(80824),i=n(76355);async function o(){if(!i.default.getBadgeCountAsync)throw new r.UnavailabilityError(“ExpoNotifications”,”getBadgeCountAsync”);return await i.default.getBadgeCountAsync()}},30674:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>a});var r=n(535),i=n(75074),o=n(11731);async function a(){const e=await async function(){const e=r.default.expoConfig?.notification?.vapidPublicKey;if(!e)throw new i.CodedError(“ERR_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG”,”You must provide `notification.vapidPublicKey` in `app.json` to use push notifications on web. Learn more: https://docs.expo.dev/versions/latest/guides/using-vapid/.”);const t=r.default.expoConfig?.notification?.serviceWorkerPath;if(!t)throw new i.CodedError(“ERR_NOTIFICATIONS_PUSH_MISSING_CONFIGURATION”,”You must specify `notification.serviceWorkerPath` in `app.json` to use push notifications on the web. Please provide the path to the service worker that will handle notifications.”);!function(){if(!(“Notification”in window))throw new i.CodedError(“ERR_UNAVAILABLE”,”The Web Notifications API is not available on this device.”);if(!navigator.serviceWorker)throw new i.CodedError(“ERR_UNAVAILABLE”,”Notifications cannot be used because the service worker API is not supported on this device. This might also happen because your web page does not support HTTPS.”);if(“granted”!==Notification.permission)throw new i.CodedError(“ERR_NOTIFICATIONS_PERMISSION_DENIED”,’Cannot use web notifications without permissions granted. Request permissions with “expo-permissions”.’)}();let n=null;try{n=await navigator.serviceWorker.register(t)}catch(d){throw new i.CodedError(“ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED”,`Could not register this device for push notifications because the service worker (${t}) could not be registered: ${d}`)}if(await navigator.serviceWorker.ready,!n.active)throw new i.CodedError(“ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED”,”Could not register this device for push notifications because the service worker is not active.”);const o={userVisibleOnly:!0,applicationServerKey:s(e)};let a=null;try{a=await n.pushManager.subscribe(o)}catch(d){throw new i.CodedError(“ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED”,”The device was unable to register for remote notifications with the browser endpoint. (“+d+”)”)}const l=a.toJSON(),c={endpoint:l.endpoint,keys:{p256dh:l.keys.p256dh,auth:l.keys.auth}},u=(r.default.expoConfig?.notification??{}).icon;return await n.active.postMessage(JSON.stringify({fromExpoWebClient:{notificationIcon:u}})),c}();return o.default.emit(“onDevicePushToken”,{devicePushToken:e}),{type:”web”,data:e}}function s(e){const t=(e+”=”.repeat((4-e.length%4)%4)).replace(/-/g,”+”).replace(/_/g,”/”),n=window.atob(t),r=new Uint8Array(n.length);for(let i=0;i{“use strict”;n.r(t),n.d(t,{default:()=>o});var r=n(80824),i=n(76355);async function o(e,t){if(!i.default.setBadgeCountAsync)throw new r.UnavailabilityError(“ExpoNotifications”,”setBadgeCountAsync”);const n=t?.web;return await i.default.setBadgeCountAsync(e,n)}},38072:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{isAvailableAsync:()=>o,shareAsync:()=>a});var r=n(80824);const i={isAvailableAsync:async()=>”undefined”!==typeof navigator&&!!navigator.share,async shareAsync(e,t={}){if(!navigator.share)throw new r.UnavailabilityError(“navigator”,”share”);await navigator.share(Object.assign({},t,{url:e}))}};async function o(){return!!i&&(!i.isAvailableAsync||await i.isAvailableAsync())}async function a(e,t={}){if(!i||!i.shareAsync)throw new r.UnavailabilityError(“Sharing”,”shareAsync”);return await i.shareAsync(e,t)}},19955:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{WebBrowserPresentationStyle:()=>s.WebBrowserPresentationStyle,WebBrowserResultType:()=>s.WebBrowserResultType,coolDownAsync:()=>_,dismissAuthSession:()=>x,dismissBrowser:()=>S,getCustomTabsSupportingBrowsersAsync:()=>b,mayInitWithUrlAsync:()=>k,maybeCompleteAuthSession:()=>A,openAuthSessionAsync:()=>C,openBrowserAsync:()=>E,warmUpAsync:()=>w});var r=n(80824),i=n(43549),o=(n(75632),n(24139)),a=n(75074),s=n(77222);let l=null;const c=new Map,u=e=>`ExpoWebBrowser_OriginUrl_${e}`,d=e=>`ExpoWebBrowser_RedirectUrl_${e}`;function p(e){return(e.origin.replace(e.protocol,””).replace(/^\/+/,””).replace(/\/+$/,””)+decodeURI(e.pathname.replace(/\/{2,}/g,”/”))).toLowerCase()}function f(){if(l&&(l.close(),c.has(l))){const{listener:e,appStateSubscription:t,interval:n}=c.get(l);clearInterval(n),window.removeEventListener(“message”,e),t.remove(),c.delete(l);const r=window.localStorage.getItem(“ExpoWebBrowserRedirectHandle”);r&&(window.localStorage.removeItem(“ExpoWebBrowserRedirectHandle”),window.localStorage.removeItem(u(r)),window.localStorage.removeItem(d(r))),l=null}}const h={async openBrowserAsync(e,t={}){const{windowName:n=”_blank”,windowFeatures:r}=t,i=y(r);return window.open(e,n,i),{type:s.WebBrowserResultType.OPENED}},dismissAuthSession(){f()},maybeCompleteAuthSession({skipRedirectCheck:e}){const t=window.localStorage.getItem(“ExpoWebBrowserRedirectHandle”);if(!t)return{type:”failed”,message:”No auth session is currently in progress”};const n=window.location.href;if(!0!==e){const e=window.localStorage.getItem(d(t)),n=p(window.location);if(e!==n)return{type:”failed”,message:`Current URL “${n}” and original redirect URL “${e}” do not match.`}}window.localStorage.setItem(u(t),n);const r=window.opener??window.parent;if(!r)throw new a.CodedError(“ERR_WEB_BROWSER_REDIRECT”,”The window cannot complete the redirect request because the invoking window doesn’t have a reference to it’s parent. This can happen if the parent window was reloaded.”);return r.postMessage({url:n,expoSender:t},r.location.toString()),{type:”success”,message:”Attempting to complete auth”}},async openAuthSessionAsync(e,t,n){if(t=t??function(e){const t=new URL(e);if(t.searchParams.has(“redirect_uri”)&&”string”===typeof t.searchParams.get(“redirect_uri”))return t.searchParams.get(“redirect_uri”);return location.origin+location.pathname}(e),null==l||l?.closed){const t=y(n?.windowFeatures);if(l=window.open(e,n?.windowName,t),!l)throw new a.CodedError(“ERR_WEB_BROWSER_BLOCKED”,”Popup window was blocked by the browser or failed to open. This can happen in mobile browsers when the window.open() method was invoked too long after a user input was fired.”);try{l.focus()}catch{}}const r=await async function(e){const t=new URL(e);if(t.searchParams.has(“state”)&&”string”===typeof t.searchParams.get(“state”))return t.searchParams.get(“state”);return await async function(){if(!m()||!window.crypto.subtle)throw new a.CodedError(“ERR_WEB_BROWSER_CRYPTO”,”The current environment doesn’t support crypto. Ensure you are running from a secure origin (localhost/https).”);const e=new TextEncoder,t=function(e){let t=new Uint8Array(e);t.byteLength!==t.length&&(t=new Uint8Array(t.buffer));const n=new Uint8Array(t.length);if(m())window.crypto.getRandomValues(n);else for(let r=0;r{if(!t)return t;try{return p(new URL(t))}catch{return t}})();return window.localStorage.setItem(d(r),o),new Promise((async e=>{const t=t=>{if(!t.isTrusted)return;if(t.origin!==window.location.origin)return;const{data:n}=t,r=window.localStorage.getItem(“ExpoWebBrowserRedirectHandle”);n.expoSender===r&&(f(),e({type:”success”,url:n.url}))};window.addEventListener(“message”,t,!1);const n=i.default.addEventListener(“change”,(t=>{if(“active”!==t)return;const n=window.localStorage.getItem(“ExpoWebBrowserRedirectHandle”);if(n){const t=window.localStorage.getItem(u(n));t&&(f(),e({type:”success”,url:t}))}})),r=setInterval((()=>{l?.closed&&(e&&e({type:s.WebBrowserResultType.DISMISS}),clearInterval(r),f())}),1e3);c.set(l,{listener:t,interval:r,appStateSubscription:n})}))}};function m(){return!!window?.crypto}const g=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789″;function y(e){const t=function(e){let t={};if(“string”===typeof e){const n=e.split(“,”);for(const e of n){const[n,r]=e.trim().split(“=”);n&&r&&(t[n]=r)}}else e&&(t=e);return t}(e),n=t.width??500,r=t.height??650,i=t.top??Math.max(0,.5*(window.screen.height-r)),o=t.left??Math.max(0,.5*(window.screen.width-n));return a=Object.assign({},t,{toolbar:t.toolbar??”no”,menubar:t.menubar??”no”,location:t.location??”yes”,resizable:t.resizable??”yes”,status:t.status??”no”,scrollbars:t.scrollbars??”yes”,top:i,left:o,width:n,height:r}),Object.keys(a).reduce(((e,t)=>{let n=a[t];return”boolean”===typeof n&&(n=n?”yes”:”no”),t&&n?(e&&(e+=”,”),`${e}${t}=${n}`):e}),””);var a}const v={defaultBrowserPackage:void 0,preferredBrowserPackage:void 0,browserPackages:[],servicePackages:[]};async function b(){if(!h.getCustomTabsSupportingBrowsersAsync)throw new r.UnavailabilityError(“WebBrowser”,”getCustomTabsSupportingBrowsersAsync”);return v}async function w(e){if(!h.warmUpAsync)throw new r.UnavailabilityError(“WebBrowser”,”warmUpAsync”);return{}}async function k(e,t){if(!h.mayInitWithUrlAsync)throw new r.UnavailabilityError(“WebBrowser”,”mayInitWithUrlAsync”);return{}}async function _(e){if(!h.coolDownAsync)throw new r.UnavailabilityError(“WebBrowser”,”coolDownAsync”);return{}}async function E(e,t={}){if(!h.openBrowserAsync)throw new r.UnavailabilityError(“WebBrowser”,”openBrowserAsync”);return await h.openBrowserAsync(e,R(t))}function S(){return h.dismissBrowser?.()}async function C(e,t,n={}){if(!h.openAuthSessionAsync)throw new r.UnavailabilityError(“WebBrowser”,”openAuthSessionAsync”);return[“ios”,”web”].includes(“web”)?h.openAuthSessionAsync(e,t,R(n)):h.openAuthSessionAsync(e,t)}function x(){if(!h.dismissAuthSession)throw new r.UnavailabilityError(“WebBrowser”,”dismissAuthSession”);h.dismissAuthSession()}function A(e={}){return h.maybeCompleteAuthSession?h.maybeCompleteAuthSession(e):{type:”failed”,message:”Not supported on this platform”}}function R(e){return Object.assign({},e,{controlsColor:(0,o.default)(e.controlsColor),toolbarColor:(0,o.default)(e.toolbarColor),secondaryToolbarColor:(0,o.default)(e.secondaryToolbarColor)})}i.default.currentState},77222:(e,t,n)=>{“use strict”;var r,i;n.r(t),n.d(t,{WebBrowserPresentationStyle:()=>i,WebBrowserResultType:()=>r}),function(e){e.CANCEL=”cancel”,e.DISMISS=”dismiss”,e.OPENED=”opened”,e.LOCKED=”locked”}(r||(r={})),function(e){e.FULL_SCREEN=”fullScreen”,e.PAGE_SHEET=”pageSheet”,e.FORM_SHEET=”formSheet”,e.CURRENT_CONTEXT=”currentContext”,e.OVER_FULL_SCREEN=”overFullScreen”,e.OVER_CURRENT_CONTEXT=”overCurrentContext”,e.POPOVER=”popover”,e.AUTOMATIC=”automatic”}(i||(i={}))},37895:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>i});n(44135);var r=n(74543);function i(e){let t=e;r.default.registerComponent(“main”,(()=>t));{const e=document.getElementById(“root”);0,r.default.runApplication(“main”,{rootTag:e,hydrate:globalThis.__EXPO_ROUTER_HYDRATE__})}}},14028:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ImportMetaRegistry:()=>r});const r={get url(){return function(){let e=null;if(e=document.currentScript?.src,null==e)return null;const t=new URL(e);return`${t.protocol}//${t.host}${t.pathname}`}()}}},44135:(e,t,n)=>{Object.defineProperty(globalThis,”__ExpoImportMetaRegistry”,{value:n(14028).ImportMetaRegistry,enumerable:!1,writable:!0})},4673:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{SystemBarStyle:()=>y.SystemBarStyle,SystemBars:()=>g,SystemBarsEntry:()=>y.SystemBarsEntry,SystemBarsProps:()=>y.SystemBarsProps});var r=n(95004),i=n(13582),o=n(94134);function a(){return”light”===(i.default?.getColorScheme()??”light”)}function s(e){switch(e){case”auto”:return a()?”dark”:”light”;case”inverted”:return a()?”light”:”dark”;default:return e}}function l({hidden:e,style:t}){const n=”string”===typeof t,r=”boolean”===typeof e;return{statusBarStyle:n?t:t?.statusBar,navigationBarStyle:n?t:t?.navigationBar,statusBarHidden:r?e:e?.statusBar,navigationBarHidden:r?e:e?.navigationBar}}function c(e){return l(e)}const u=[];const d={statusBarStyle:void 0,navigationBarStyle:void 0,statusBarHidden:!1,navigationBarHidden:!1};function p(){0}function f(e){const t=c(e);return u.push(t),p(),t}function h(e){const t=u.indexOf(e);-1!==t&&u.splice(t,1),p()}function m(e,t){const n=c(t),r=u.indexOf(e);return-1!==r&&(u[r]=n),p(),n}function g(e){const{statusBarStyle:t,navigationBarStyle:n,statusBarHidden:i,navigationBarHidden:a}=l(e),s=(0,r.useMemo)((()=>({style:t===n?t:{statusBar:t,navigationBar:n},hidden:i===a?i:{statusBar:i,navigationBar:a}})),[t,n,i,a]),c=(0,o.default)(),u=(0,r.useRef)(null);return(0,r.useEffect)((()=>(u.current=f(s),()=>{u.current&&h(u.current)})),[]),(0,r.useEffect)((()=>{u.current&&(u.current=m(u.current,s))}),[c,s]),null}g.pushStackEntry=f,g.popStackEntry=h,g.replaceStackEntry=m,g.setStyle=function(e){const t=l({style:e}),n=s(t.statusBarStyle),r=s(t.navigationBarStyle);”string”===typeof n&&function(e){e!==d.statusBarStyle&&(d.statusBarStyle=e)}(n),”string”===typeof r&&function(e){e!==d.navigationBarStyle&&(d.navigationBarStyle=e)}(r)},g.setHidden=function(e){const{statusBarHidden:t,navigationBarHidden:n}=l({hidden:e});”boolean”===typeof t&&function(e){e!==d.statusBarHidden&&(d.statusBarHidden=e)}(t),”boolean”===typeof n&&function(e){e!==d.navigationBarHidden&&(d.navigationBarHidden=e)}(n)};var y=n(17746)},17746:()=>{},18403:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{BaseButton:()=>ca,BorderlessButton:()=>ma,Directions:()=>Ce,DrawerLayout:()=>Cs,DrawerLayoutAndroid:()=>Ha,FlatList:()=>za,FlingGestureHandler:()=>Mi,ForceTouchGestureHandler:()=>xi,Gesture:()=>Yo,GestureDetector:()=>So,GestureHandlerRootView:()=>Zr,HoverEffect:()=>lo,LongPressGestureHandler:()=>Ri,MouseButton:()=>se,NativeViewGestureHandler:()=>Fi,PanGestureHandler:()=>Ii,PinchGestureHandler:()=>Oi,PointerType:()=>U,Pressable:()=>gs,PureNativeButton:()=>Qo,RawButton:()=>oa,RectButton:()=>fa,RefreshControl:()=>Ua,RotationGestureHandler:()=>ji,ScrollView:()=>Fa,State:()=>o,Swipeable:()=>Ja,Switch:()=>Va,TapGestureHandler:()=>_i,Text:()=>qa,TextInput:()=>Ba,TouchableHighlight:()=>Pa,TouchableNativeFeedback:()=>ga,TouchableOpacity:()=>Da,TouchableWithoutFeedback:()=>Ca,createNativeWrapper:()=>Hi,enableExperimentalWebImplementation:()=>P,enableLegacyWebImplementation:()=>M,gestureHandlerRootHOC:()=>$r});var i=r(11731);const o={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5},a={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4};var s=r(95004);function l(){return e=r.g,t=”process”,Object.prototype.hasOwnProperty.call(e,t)&&!1;var e,t}function c(e){return`[react-native-gesture-handler] ${e}`}function u(){var e;return!(null===(e=r.g)||void 0===e||!e.nativeFabricUIManager)}function d(e,t){if(e===t)return!0;if(“object”!==typeof e||”object”!==typeof t||null===e||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n)if(!r.includes(i)||!d(e[i],t[i]))return!1;return!0}const p=2**31-1,f={},h=new Map,m=new Map,g=new Map;function y(e,t,n){h.set(e,t),l()&&n&&g.set(n,e)}function v(e,t){h.delete(e),l()&&t&&g.delete(t)}function b(e){return h.get(e)}class w{static getHandler(e){if(e in this.gestures)return this.gestures[e];throw new Error(`No handler for tag ${e}`)}static createGestureHandler(e,t){if(e in this.gestures)throw new Error(`Handler with tag ${e} already exists. Please ensure that no Gesture instance is used across multiple GestureDetectors.`);this.gestures[e]=t,this.gestures[e].handlerTag=e}static dropGestureHandler(e){e in this.gestures&&(this.gestures[e].onDestroy(),delete this.gestures[e])}static get nodes(){return Object.assign({},this.gestures)}}var k,_,E;E={},(_=”gestures”)in(k=w)?Object.defineProperty(k,_,{value:E,enumerable:!0,configurable:!0,writable:!0}):k[_]=E;const S={create:e=>({begin:()=>{w.getHandler(e).begin()},activate:()=>{w.getHandler(e).activate(!0)},fail:()=>{w.getHandler(e).fail()},end:()=>{w.getHandler(e).end()}})};let C=null,x=null;const A=new Map,R=[];function T(e){return null!=e.oldState}function D(e){var t,n,r,i,s,l,c,u;const d=b(e.handlerTag);if(d){var p,f;if(T(e))if(e.oldState===o.UNDETERMINED&&e.state===o.BEGAN)null===(p=(f=d.handlers).onBegin)||void 0===p||p.call(f,e);else if(e.oldState!==o.BEGAN&&e.oldState!==o.UNDETERMINED||e.state!==o.ACTIVE){if(e.oldState!==e.state&&e.state===o.END){var h,g,y,v;if(e.oldState===o.ACTIVE)null===(y=(v=d.handlers).onEnd)||void 0===y||y.call(v,e,!0);null===(h=(g=d.handlers).onFinalize)||void 0===h||h.call(g,e,!0),R[d.handlers.handlerTag]=void 0}else if((e.state===o.FAILED||e.state===o.CANCELLED)&&e.oldState!==e.state){var w,k,_,E;if(e.oldState===o.ACTIVE)null===(_=(E=d.handlers).onEnd)||void 0===_||_.call(E,e,!1);null===(w=(k=d.handlers).onFinalize)||void 0===w||w.call(k,e,!1),A.delete(e.handlerTag),R[d.handlers.handlerTag]=void 0}}else{var C,x;null===(C=(x=d.handlers).onStart)||void 0===C||C.call(x,e),R[d.handlers.handlerTag]=e}else if(function(e){return null!=e.eventType}(e)){A.has(e.handlerTag)||A.set(e.handlerTag,S.create(e.handlerTag));const o=A.get(e.handlerTag);switch(e.eventType){case a.TOUCHES_DOWN:null===(t=d.handlers)||void 0===t||null===(n=t.onTouchesDown)||void 0===n||n.call(t,e,o);break;case a.TOUCHES_MOVE:null===(r=d.handlers)||void 0===r||null===(i=r.onTouchesMove)||void 0===i||i.call(r,e,o);break;case a.TOUCHES_UP:null===(s=d.handlers)||void 0===s||null===(l=s.onTouchesUp)||void 0===l||l.call(s,e,o);break;case a.TOUCHES_CANCELLED:null===(c=d.handlers)||void 0===c||null===(u=c.onTouchesCancelled)||void 0===u||u.call(c,e,o)}}else{var D,I,O,j,P,M;if(null===(D=(I=d.handlers).onUpdate)||void 0===D||D.call(I,e),d.handlers.onChange&&d.handlers.changeEventCalculator)null===(O=(j=d.handlers).onChange)||void 0===O||O.call(j,null===(P=(M=d.handlers).changeEventCalculator)||void 0===P?void 0:P.call(M,e,R[d.handlers.handlerTag])),R[d.handlers.handlerTag]=e}}else{const t=function(e){return m.get(e)}(e.handlerTag);if(t){const n={nativeEvent:e};return void(T(e)?t.onGestureStateChange(n):t.onGestureEvent(n))}}}function I(){!function(){C&&(C.remove(),C=null);x&&(x.remove(),x=null)}(),C=i.default.addListener(“onGestureHandlerEvent”,D),x=i.default.addListener(“onGestureHandlerStateChange”,D)}let O=!0,j=!1;function P(e=!0){}function M(e=!0){O!==!e&&(j||(O=!e))}function N(){return j=!0,O}var L=r(63366);const F=15;let V,B,H,U;function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.DOWN=0]=”DOWN”,e[e.ADDITIONAL_POINTER_DOWN=1]=”ADDITIONAL_POINTER_DOWN”,e[e.UP=2]=”UP”,e[e.ADDITIONAL_POINTER_UP=3]=”ADDITIONAL_POINTER_UP”,e[e.MOVE=4]=”MOVE”,e[e.ENTER=5]=”ENTER”,e[e.LEAVE=6]=”LEAVE”,e[e.CANCEL=7]=”CANCEL”}(V||(V={})),function(e){e[e.UNDETERMINED=0]=”UNDETERMINED”,e[e.DOWN=1]=”DOWN”,e[e.MOVE=2]=”MOVE”,e[e.UP=3]=”UP”,e[e.CANCELLED=4]=”CANCELLED”}(B||(B={})),function(e){e[e.UNDETERMINED=0]=”UNDETERMINED”,e[e.MOUSE=1]=”MOUSE”,e[e.TOUCHPAD=2]=”TOUCHPAD”}(H||(H={})),function(e){e[e.TOUCH=0]=”TOUCH”,e[e.STYLUS=1]=”STYLUS”,e[e.MOUSE=2]=”MOUSE”,e[e.KEY=3]=”KEY”,e[e.OTHER=4]=”OTHER”}(U||(U={}));class W{constructor(e){z(this,”capacity”,void 0),z(this,”buffer”,void 0),z(this,”index”,void 0),z(this,”_size”,void 0),this.capacity=e,this.buffer=new Array(e),this.index=0,this._size=0}push(e){this.buffer[this.index]=e,this.index=(this.index+1)%this.capacity,this._size=Math.min(this.size+1,this.capacity)}get(e){if(this._size===this.capacity){let t=(this.index+e)%this.capacity;return t<0&&(t+=this.capacity),this.buffer[t]}return this.buffer[e]}clear(){this.buffer=new Array(this.capacity),this.index=0,this._size=0}get size(){return this._size}}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class X{constructor(e){K(this,"offset",void 0),K(this,"length",void 0),K(this,"elements",void 0),this.offset=0,this.length=e,this.elements=new Array(e)}static fromVOL(e,t,n){const r=new X(0);return r.offset=t,r.length=n,r.elements=e,r}get(e){return this.elements[this.offset+e]}set(e,t){this.elements[this.offset+e]=t}dot(e){let t=0;for(let n=0;nthis.x.length)return null;const t=new G(e),n=this.x.length,r=e+1,i=new q(r,n);for(let l=0;l=0;l-=1){t.coefficients[l]=o.getRow(l).dot(s);for(let e=r-1;e>l;e-=1)t.coefficients[l]-=a.get(l,e)*t.coefficients[e];t.coefficients[l]/=a.get(l,l)}return t}}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class J{constructor(){Z(this,”assumePointerMoveStoppedMilliseconds”,40),Z(this,”historySize”,20),Z(this,”horizonMilliseconds”,300),Z(this,”minSampleSize”,3),Z(this,”samples”,void 0),this.samples=new W(this.historySize)}add(e){this.samples.push(e)}getVelocityEstimate(){const e=[],t=[],n=[],r=[];let i=0,o=this.samples.size-1;const a=this.samples.get(o);if(!a)return null;let s=a;for(;ithis.horizonMilliseconds||u>this.assumePointerMoveStoppedMilliseconds)break;e.push(l.x),t.push(l.y),n.push(1),r.push(-c),i++,o–}if(i>=this.minSampleSize){const i=new Y(r,e,n).solve(2);if(null!==i){const e=new Y(r,t,n).solve(2);if(null!==e){return[1e3*i.coefficients[1],1e3*e.coefficients[1]]}}}return null}get velocity(){const e=this.getVelocityEstimate();return null!==e?e:[0,0]}reset(){this.samples.clear()}}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Q{constructor(){$(this,”velocityTracker”,new J),$(this,”_trackedPointers”,new Map),$(this,”touchEventsIds”,new Map),$(this,”lastMovedPointerId”,void 0),$(this,”cachedAbsoluteAverages”,{x:0,y:0}),$(this,”cachedRelativeAverages”,{x:0,y:0}),this.lastMovedPointerId=NaN;for(let e=0;e<20;++e)this.touchEventsIds.set(e,NaN)}addToTracker(e){if(this.trackedPointers.has(e.pointerId))return;this.lastMovedPointerId=e.pointerId;const t={abosoluteCoords:{x:e.x,y:e.y},relativeCoords:{x:e.offsetX,y:e.offsetY},timestamp:e.time,velocityX:0,velocityY:0};this.trackedPointers.set(e.pointerId,t),this.mapTouchEventId(e.pointerId),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}removeFromTracker(e){this.trackedPointers.delete(e),this.removeMappedTouchId(e)}track(e){const t=this.trackedPointers.get(e.pointerId);if(!t)return;this.lastMovedPointerId=e.pointerId,this.velocityTracker.add(e);const[n,r]=this.velocityTracker.velocity;t.velocityX=n,t.velocityY=r,t.abosoluteCoords={x:e.x,y:e.y},t.relativeCoords={x:e.offsetX,y:e.offsetY},this.trackedPointers.set(e.pointerId,t),this.cachedAbsoluteAverages=this.getAbsoluteCoordsAverage(),this.cachedRelativeAverages=this.getRelativeCoordsAverage()}mapTouchEventId(e){for(const[t,n]of this.touchEventsIds)if(isNaN(n)){this.touchEventsIds.set(t,e);break}}removeMappedTouchId(e){const t=this.getMappedTouchEventId(e);isNaN(t)||this.touchEventsIds.set(t,NaN)}getMappedTouchEventId(e){for(const[t,n]of this.touchEventsIds.entries())if(n===e)return t;return NaN}getVelocity(e){var t,n;return{x:null===(t=this.trackedPointers.get(e))||void 0===t?void 0:t.velocityX,y:null===(n=this.trackedPointers.get(e))||void 0===n?void 0:n.velocityY}}getLastAbsoluteCoords(e){var t;return null===(t=this.trackedPointers.get(null!==e&&void 0!==e?e:this.lastMovedPointerId))||void 0===t?void 0:t.abosoluteCoords}getLastRelativeCoords(e){var t;return null===(t=this.trackedPointers.get(null!==e&&void 0!==e?e:this.lastMovedPointerId))||void 0===t?void 0:t.relativeCoords}getAbsoluteCoordsAverage(){const e=this.getAbsoluteCoordsSum(),t=e.x/this.trackedPointers.size,n=e.y/this.trackedPointers.size;return{x:isNaN(t)?this.cachedAbsoluteAverages.x:t,y:isNaN(n)?this.cachedAbsoluteAverages.y:n}}getRelativeCoordsAverage(){const e=this.getRelativeCoordsSum(),t=e.x/this.trackedPointers.size,n=e.y/this.trackedPointers.size;return{x:isNaN(t)?this.cachedRelativeAverages.x:t,y:isNaN(n)?this.cachedRelativeAverages.y:n}}getAbsoluteCoordsSum(e){const t={x:0,y:0};return this.trackedPointers.forEach(((n,r)=>{r!==e&&(t.x+=n.abosoluteCoords.x,t.y+=n.abosoluteCoords.y)})),t}getRelativeCoordsSum(e){const t={x:0,y:0};return this.trackedPointers.forEach(((n,r)=>{r!==e&&(t.x+=n.relativeCoords.x,t.y+=n.relativeCoords.y)})),t}resetTracker(){this.velocityTracker.reset(),this.trackedPointers.clear(),this.lastMovedPointerId=NaN;for(let e=0;e<20;++e)this.touchEventsIds.set(e,NaN)}static shareCommonPointers(e,t){return e.some((e=>t.includes(e)))}get trackedPointersCount(){return this.trackedPointers.size}get trackedPointersIDs(){const e=[];return this.trackedPointers.forEach(((t,n)=>{e.push(n)})),e}get trackedPointers(){return this._trackedPointers}}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class te{constructor(){ee(this,”gestureHandlers”,[]),ee(this,”awaitingHandlers”,[]),ee(this,”awaitingHandlersTags”,new Set),ee(this,”handlingChangeSemaphore”,0),ee(this,”activationIndex”,0)}scheduleFinishedHandlersCleanup(){0===this.handlingChangeSemaphore&&this.cleanupFinishedHandlers()}cleanHandler(e){e.reset(),e.active=!1,e.awaiting=!1,e.activationIndex=Number.MAX_VALUE}removeHandlerFromOrchestrator(e){const t=this.gestureHandlers.indexOf(e),n=this.awaitingHandlers.indexOf(e);t>=0&&this.gestureHandlers.splice(t,1),n>=0&&(this.awaitingHandlers.splice(n,1),this.awaitingHandlersTags.delete(e.handlerTag))}cleanupFinishedHandlers(){const e=new Set;for(let t=this.gestureHandlers.length-1;t>=0;–t){const n=this.gestureHandlers[t];this.isFinished(n.state)&&!n.awaiting&&(this.cleanHandler(n),e.add(n))}this.gestureHandlers=this.gestureHandlers.filter((t=>!e.has(t)))}hasOtherHandlerToWaitFor(e){return this.gestureHandlers.some((t=>!this.isFinished(t.state)&&this.shouldHandlerWaitForOther(e,t)))}shouldBeCancelledByFinishedHandler(e){return this.gestureHandlers.some((t=>this.shouldHandlerWaitForOther(e,t)&&t.state===o.END))}tryActivate(e){if(this.shouldBeCancelledByFinishedHandler(e))return void e.cancel();if(this.hasOtherHandlerToWaitFor(e))return void this.addAwaitingHandler(e);const t=e.state;t!==o.CANCELLED&&t!==o.FAILED&&(this.shouldActivate(e)?this.makeActive(e):t!==o.ACTIVE?t===o.BEGAN&&e.cancel():e.fail())}shouldActivate(e){return!this.gestureHandlers.some((t=>this.shouldHandlerBeCancelledBy(e,t)))}cleanupAwaitingHandlers(e){const t=t=>!t.awaiting&&this.shouldHandlerWaitForOther(t,e);for(const n of this.awaitingHandlers)t(n)&&(this.cleanHandler(n),this.awaitingHandlersTags.delete(n.handlerTag));this.awaitingHandlers=this.awaitingHandlers.filter((e=>this.awaitingHandlersTags.has(e.handlerTag)))}onHandlerStateChange(e,t,n,r){if(e.enabled||r){if(this.handlingChangeSemaphore+=1,this.isFinished(t))for(const n of this.awaitingHandlers)this.shouldHandlerWaitForOther(n,e)&&this.awaitingHandlersTags.has(n.handlerTag)&&(t===o.END?(n.cancel(),n.state===o.END&&n.sendEvent(o.CANCELLED,o.BEGAN),n.awaiting=!1):this.tryActivate(n));t===o.ACTIVE?this.tryActivate(e):n===o.ACTIVE||n===o.END?e.active?e.sendEvent(t,n):n!==o.ACTIVE||t!==o.CANCELLED&&t!==o.FAILED||e.sendEvent(t,o.BEGAN):n===o.UNDETERMINED&&t===o.CANCELLED||e.sendEvent(t,n),this.handlingChangeSemaphore-=1,this.scheduleFinishedHandlersCleanup(),this.awaitingHandlers.includes(e)||this.cleanupAwaitingHandlers(e)}}makeActive(e){const t=e.state;e.active=!0,e.shouldResetProgress=!0,e.activationIndex=this.activationIndex++;for(let n=this.gestureHandlers.length-1;n>=0;–n)this.shouldHandlerBeCancelledBy(this.gestureHandlers[n],e)&&this.gestureHandlers[n].cancel();for(const n of this.awaitingHandlers)this.shouldHandlerBeCancelledBy(n,e)&&(n.awaiting=!1);e.sendEvent(o.ACTIVE,o.BEGAN),t!==o.ACTIVE&&(e.sendEvent(o.END,o.ACTIVE),t!==o.END&&e.sendEvent(o.UNDETERMINED,o.END)),e.awaiting&&(e.awaiting=!1,this.awaitingHandlers=this.awaitingHandlers.filter((t=>t!==e)))}addAwaitingHandler(e){this.awaitingHandlers.includes(e)||(this.awaitingHandlers.push(e),this.awaitingHandlersTags.add(e.handlerTag),e.awaiting=!0,e.activationIndex=this.activationIndex++)}recordHandlerIfNotPresent(e){this.gestureHandlers.includes(e)||(this.gestureHandlers.push(e),e.active=!1,e.awaiting=!1,e.activationIndex=Number.MAX_SAFE_INTEGER)}shouldHandlerWaitForOther(e,t){return e!==t&&(e.shouldWaitForHandlerFailure(t)||t.shouldRequireToWaitForFailure(e))}canRunSimultaneously(e,t){return e===t||e.shouldRecognizeSimultaneously(t)||t.shouldRecognizeSimultaneously(e)}shouldHandlerBeCancelledBy(e,t){if(this.canRunSimultaneously(e,t))return!1;if(e.awaiting||e.state===o.ACTIVE)return e.shouldBeCancelledByOther(t);const n=e.getTrackedPointersID(),r=t.getTrackedPointersID();return!(!Q.shareCommonPointers(n,r)&&e.delegate.view!==t.delegate.view)||this.checkOverlap(e,t)}checkOverlap(e,t){return e.getTrackedPointersID().some((n=>{const r=e.tracker.getLastAbsoluteCoords(n);return e.delegate.isPointerInBounds(r)&&t.delegate.isPointerInBounds(r)}))}isFinished(e){return e===o.END||e===o.FAILED||e===o.CANCELLED}cancelMouseAndPenGestures(e){this.gestureHandlers.forEach((t=>{t.pointerType!==U.MOUSE&&t.pointerType!==U.STYLUS||(t!==e?t.cancel():t.tracker.resetTracker())}))}static get instance(){return te._instance||(te._instance=new te),te._instance}}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ee(te,”_instance”,void 0);class re{constructor(){ne(this,”waitForRelations”,new Map),ne(this,”simultaneousRelations”,new Map),ne(this,”blocksHandlersRelations”,new Map)}configureInteractions(e,t){if(this.dropRelationsForHandlerWithTag(e.handlerTag),t.waitFor){const n=[];t.waitFor.forEach((e=>{“number”===typeof e?n.push(e):n.push(e.handlerTag)})),this.waitForRelations.set(e.handlerTag,n)}if(t.simultaneousHandlers){const n=[];t.simultaneousHandlers.forEach((e=>{“number”===typeof e?n.push(e):n.push(e.handlerTag)})),this.simultaneousRelations.set(e.handlerTag,n)}if(t.blocksHandlers){const n=[];t.blocksHandlers.forEach((e=>{“number”===typeof e?n.push(e):n.push(e.handlerTag)})),this.blocksHandlersRelations.set(e.handlerTag,n)}}shouldWaitForHandlerFailure(e,t){const n=this.waitForRelations.get(e.handlerTag);return void 0!==(null===n||void 0===n?void 0:n.find((e=>e===t.handlerTag)))}shouldRecognizeSimultaneously(e,t){const n=this.simultaneousRelations.get(e.handlerTag);return void 0!==(null===n||void 0===n?void 0:n.find((e=>e===t.handlerTag)))}shouldRequireHandlerToWaitForFailure(e,t){const n=this.blocksHandlersRelations.get(e.handlerTag);return void 0!==(null===n||void 0===n?void 0:n.find((e=>e===t.handlerTag)))}shouldHandlerBeCancelledBy(e,t){var n;const r=”NativeViewGestureHandler”===t.constructor.name,i=t.active,o=!0===(null===(n=t.isButton)||void 0===n?void 0:n.call(t));return r&&i&&!o}dropRelationsForHandlerWithTag(e){this.waitForRelations.delete(e),this.simultaneousRelations.delete(e),this.blocksHandlersRelations.delete(e)}reset(){this.waitForRelations.clear(),this.simultaneousRelations.clear(),this.blocksHandlersRelations.clear()}static get instance(){return this._instance||(this._instance=new re),this._instance}}ne(re,”_instance”,void 0);const ie=[“id”,”enabled”,”shouldCancelWhenOutside”,”hitSlop”,”cancelsTouchesInView”,”userSelect”,”activeCursor”,”mouseButton”,”enableContextMenu”,”touchAction”],oe=[…ie,”waitFor”,”simultaneousHandlers”,”blocksHandlers”,”onBegan”,”onFailed”,”onCancelled”,”onActivated”,”onEnded”,”onGestureEvent”,”onHandlerStateChange”],ae=[…ie,”needsPointerData”,”manualActivation”];let se;!function(e){e[e.LEFT=1]=”LEFT”,e[e.RIGHT=2]=”RIGHT”,e[e.MIDDLE=4]=”MIDDLE”,e[e.BUTTON_4=8]=”BUTTON_4″,e[e.BUTTON_5=16]=”BUTTON_5″,e[e.ALL=31]=”ALL”}(se||(se={}));const le=[“enabled”];function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class ue{constructor(e){ce(this,”lastSentState”,null),ce(this,”_state”,o.UNDETERMINED),ce(this,”_shouldCancelWhenOutside”,!1),ce(this,”hasCustomActivationCriteria”,!1),ce(this,”_enabled”,!1),ce(this,”viewRef”,void 0),ce(this,”propsRef”,void 0),ce(this,”_handlerTag”,void 0),ce(this,”_config”,{enabled:!1}),ce(this,”_tracker”,new Q),ce(this,”_activationIndex”,0),ce(this,”_awaiting”,!1),ce(this,”_active”,!1),ce(this,”_shouldResetProgress”,!1),ce(this,”_pointerType”,U.MOUSE),ce(this,”_delegate”,void 0),ce(this,”sendEvent”,((e,t)=>{const{onGestureHandlerEvent:n,onGestureHandlerStateChange:r}=this.propsRef.current,i=this.transformEventData(e,t);this.lastSentState!==e&&(this.lastSentState=e,de(r,i)),this.state===o.ACTIVE&&(i.nativeEvent.oldState=void 0,de(n,i))})),this._delegate=e}init(e,t){this.propsRef=t,this.viewRef=e,this.state=o.UNDETERMINED,this.delegate.init(e,this)}attachEventManager(e){e.setOnPointerDown(this.onPointerDown.bind(this)),e.setOnPointerAdd(this.onPointerAdd.bind(this)),e.setOnPointerUp(this.onPointerUp.bind(this)),e.setOnPointerRemove(this.onPointerRemove.bind(this)),e.setOnPointerMove(this.onPointerMove.bind(this)),e.setOnPointerEnter(this.onPointerEnter.bind(this)),e.setOnPointerLeave(this.onPointerLeave.bind(this)),e.setOnPointerCancel(this.onPointerCancel.bind(this)),e.setOnPointerOutOfBounds(this.onPointerOutOfBounds.bind(this)),e.setOnPointerMoveOver(this.onPointerMoveOver.bind(this)),e.setOnPointerMoveOut(this.onPointerMoveOut.bind(this)),e.setOnWheel(this.onWheel.bind(this)),e.registerListeners()}onCancel(){}onReset(){}resetProgress(){}reset(){this.tracker.resetTracker(),this.onReset(),this.resetProgress(),this.delegate.reset(),this.state=o.UNDETERMINED}moveToState(e,t){if(this.state===e)return;const n=this.state;this.state=e,this.tracker.trackedPointersCount>0&&this.config.needsPointerData&&this.isFinished()&&this.cancelTouches(),te.instance.onHandlerStateChange(this,e,n,t),this.onStateChange(e,n),!this.enabled&&this.isFinished()&&(this.state=o.UNDETERMINED)}onStateChange(e,t){}begin(){this.checkHitSlop()&&this.state===o.UNDETERMINED&&this.moveToState(o.BEGAN)}fail(e){this.state!==o.ACTIVE&&this.state!==o.BEGAN||(this.delegate.onFail(),this.moveToState(o.FAILED,e)),this.resetProgress()}cancel(e){this.state!==o.ACTIVE&&this.state!==o.UNDETERMINED&&this.state!==o.BEGAN||(this.onCancel(),this.delegate.onCancel(),this.moveToState(o.CANCELLED,e))}activate(e=!1){!0===this.config.manualActivation&&!e||this.state!==o.UNDETERMINED&&this.state!==o.BEGAN||(this.delegate.onActivate(),this.moveToState(o.ACTIVE))}end(){this.state!==o.BEGAN&&this.state!==o.ACTIVE||(this.delegate.onEnd(),this.moveToState(o.END)),this.resetProgress()}getShouldResetProgress(){return this.shouldResetProgress}setShouldResetProgress(e){this.shouldResetProgress=e}shouldWaitForHandlerFailure(e){return e!==this&&re.instance.shouldWaitForHandlerFailure(this,e)}shouldRequireToWaitForFailure(e){return e!==this&&re.instance.shouldRequireHandlerToWaitForFailure(this,e)}shouldRecognizeSimultaneously(e){return e===this||re.instance.shouldRecognizeSimultaneously(this,e)}shouldBeCancelledByOther(e){return e!==this&&re.instance.shouldHandlerBeCancelledBy(this,e)}onPointerDown(e){te.instance.recordHandlerIfNotPresent(this),this.pointerType=e.pointerType,this.pointerType===U.TOUCH&&te.instance.cancelMouseAndPenGestures(this)}onPointerAdd(e){this.tryToSendTouchEvent(e)}onPointerUp(e){this.tryToSendTouchEvent(e)}onPointerRemove(e){this.tryToSendTouchEvent(e)}onPointerMove(e){this.tryToSendMoveEvent(!1,e)}onPointerLeave(e){if(this.shouldCancelWhenOutside)switch(this.state){case o.ACTIVE:this.cancel();break;case o.BEGAN:this.fail()}else this.tryToSendTouchEvent(e)}onPointerEnter(e){this.tryToSendTouchEvent(e)}onPointerCancel(e){this.tryToSendTouchEvent(e),this.cancel(),this.reset()}onPointerOutOfBounds(e){this.tryToSendMoveEvent(!0,e)}onPointerMoveOver(e){}onPointerMoveOut(e){}onWheel(e){}tryToSendMoveEvent(e,t){e&&this.shouldCancelWhenOutside||!this.enabled||(this.active&&this.sendEvent(this.state,this.state),this.tryToSendTouchEvent(t))}tryToSendTouchEvent(e){this.config.needsPointerData&&this.sendTouchEvent(e)}sendTouchEvent(e){if(!this.enabled)return;const{onGestureHandlerEvent:t}=this.propsRef.current,n=this.transformTouchEvent(e);n&&de(t,n)}transformEventData(e,t){return{nativeEvent:Object.assign({numberOfPointers:this.tracker.trackedPointersCount,state:e,pointerInside:this.delegate.isPointerInBounds(this.tracker.getAbsoluteCoordsAverage())},this.transformNativeEvent(),{handlerTag:this.handlerTag,target:this.viewRef,oldState:e!==t?t:void 0,pointerType:this.pointerType}),timeStamp:Date.now()}}transformTouchEvent(e){const t=this.delegate.measureView(),n=[],r=[],i=this.tracker.trackedPointers;if(0===i.size||!i.has(e.pointerId))return;i.forEach(((e,r)=>{const i=this.tracker.getMappedTouchEventId(r);n.push({id:i,x:e.abosoluteCoords.x-t.pageX,y:e.abosoluteCoords.y-t.pageY,absoluteX:e.abosoluteCoords.x,absoluteY:e.abosoluteCoords.y})})),e.eventType!==V.CANCEL?r.push({id:this.tracker.getMappedTouchEventId(e.pointerId),x:e.x-t.pageX,y:e.y-t.pageY,absoluteX:e.x,absoluteY:e.y}):i.forEach(((e,n)=>{const i=this.tracker.getMappedTouchEventId(n);r.push({id:i,x:e.abosoluteCoords.x-t.pageX,y:e.abosoluteCoords.y-t.pageY,absoluteX:e.abosoluteCoords.x,absoluteY:e.abosoluteCoords.y})}));let o=B.UNDETERMINED;switch(e.eventType){case V.DOWN:case V.ADDITIONAL_POINTER_DOWN:o=B.DOWN;break;case V.UP:case V.ADDITIONAL_POINTER_UP:o=B.UP;break;case V.MOVE:o=B.MOVE;break;case V.CANCEL:o=B.CANCELLED}let a=n.length;return e.eventType!==V.UP&&e.eventType!==V.ADDITIONAL_POINTER_UP||–a,{nativeEvent:{handlerTag:this.handlerTag,state:this.state,eventType:o,changedTouches:r,allTouches:n,numberOfTouches:a,pointerType:this.pointerType},timeStamp:Date.now()}}cancelTouches(){const e=this.delegate.measureView(),t=[],n=[],r=this.tracker.trackedPointers;if(0===r.size)return;r.forEach(((r,i)=>{const o=this.tracker.getMappedTouchEventId(i);t.push({id:o,x:r.abosoluteCoords.x-e.pageX,y:r.abosoluteCoords.y-e.pageY,absoluteX:r.abosoluteCoords.x,absoluteY:r.abosoluteCoords.y}),n.push({id:o,x:r.abosoluteCoords.x-e.pageX,y:r.abosoluteCoords.y-e.pageY,absoluteX:r.abosoluteCoords.x,absoluteY:r.abosoluteCoords.y})}));const i={nativeEvent:{handlerTag:this.handlerTag,state:this.state,eventType:B.CANCELLED,changedTouches:n,allTouches:t,numberOfTouches:t.length,pointerType:this.pointerType},timeStamp:Date.now()},{onGestureHandlerEvent:o}=this.propsRef.current;de(o,i)}transformNativeEvent(){const e=this.tracker.getAbsoluteCoordsAverage(),t=this.tracker.getRelativeCoordsAverage();return{x:t.x,y:t.y,absoluteX:e.x,absoluteY:e.y}}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,le);if(this._config=Object.assign({enabled:t},n),this.enabled=t,this.delegate.onEnabledChange(t),void 0!==this.config.shouldCancelWhenOutside&&(this.shouldCancelWhenOutside=this.config.shouldCancelWhenOutside),this.validateHitSlops(),!this.enabled)switch(this.state){case o.ACTIVE:this.fail(!0);break;case o.UNDETERMINED:te.instance.removeHandlerFromOrchestrator(this);break;default:this.cancel(!0)}}checkCustomActivationCriteria(e){for(const t in this.config)e.indexOf(t)>=0&&(this.hasCustomActivationCriteria=!0)}validateHitSlops(){if(this.config.hitSlop){if(void 0!==this.config.hitSlop.left&&void 0!==this.config.hitSlop.right&&void 0!==this.config.hitSlop.width)throw new Error(“HitSlop Error: Cannot define left, right and width at the same time”);if(void 0!==this.config.hitSlop.width&&void 0===this.config.hitSlop.left&&void 0===this.config.hitSlop.right)throw new Error(“HitSlop Error: When width is defined, either left or right has to be defined”);if(void 0!==this.config.hitSlop.height&&void 0!==this.config.hitSlop.top&&void 0!==this.config.hitSlop.bottom)throw new Error(“HitSlop Error: Cannot define top, bottom and height at the same time”);if(void 0!==this.config.hitSlop.height&&void 0===this.config.hitSlop.top&&void 0===this.config.hitSlop.bottom)throw new Error(“HitSlop Error: When height is defined, either top or bottom has to be defined”)}}checkHitSlop(){if(!this.config.hitSlop)return!0;const{width:e,height:t}=this.delegate.measureView();let n=0,r=0,i=e,o=t;void 0!==this.config.hitSlop.horizontal&&(n-=this.config.hitSlop.horizontal,i+=this.config.hitSlop.horizontal),void 0!==this.config.hitSlop.vertical&&(r-=this.config.hitSlop.vertical,o+=this.config.hitSlop.vertical),void 0!==this.config.hitSlop.left&&(n=-this.config.hitSlop.left),void 0!==this.config.hitSlop.right&&(i=e+this.config.hitSlop.right),void 0!==this.config.hitSlop.top&&(r=-this.config.hitSlop.top),void 0!==this.config.hitSlop.bottom&&(o=e+this.config.hitSlop.bottom),void 0!==this.config.hitSlop.width&&(void 0!==this.config.hitSlop.left?i=n+this.config.hitSlop.width:void 0!==this.config.hitSlop.right&&(n=i-this.config.hitSlop.width)),void 0!==this.config.hitSlop.height&&(void 0!==this.config.hitSlop.top?o=r+this.config.hitSlop.height:void 0!==this.config.hitSlop.bottom&&(r=o-this.config.hitSlop.height));const a=this.delegate.measureView(),{x:s,y:l}=this.tracker.getLastAbsoluteCoords(),c=s-a.pageX,u=l-a.pageY;return c>=n&&c<=i&&u>=r&&u<=o}isButtonInConfig(e){return!e||!this.config.mouseButton&&e===se.LEFT||this.config.mouseButton&&e&this.config.mouseButton}resetConfig(){}onDestroy(){this.delegate.destroy(this.config)}get handlerTag(){return this._handlerTag}set handlerTag(e){this._handlerTag=e}get config(){return this._config}get delegate(){return this._delegate}get tracker(){return this._tracker}get state(){return this._state}set state(e){this._state=e}get shouldCancelWhenOutside(){return this._shouldCancelWhenOutside}set shouldCancelWhenOutside(e){this._shouldCancelWhenOutside=e}get enabled(){return this._enabled}set enabled(e){this._enabled=e}get pointerType(){return this._pointerType}set pointerType(e){this._pointerType=e}get active(){return this._active}set active(e){this._active=e}get awaiting(){return this._awaiting}set awaiting(e){this._awaiting=e}get activationIndex(){return this._activationIndex}set activationIndex(e){this._activationIndex=e}get shouldResetProgress(){return this._shouldResetProgress}set shouldResetProgress(e){this._shouldResetProgress=e}getTrackedPointersID(){return this.tracker.trackedPointersIDs}isFinished(){return this.state===o.END||this.state===o.FAILED||this.state===o.CANCELLED}}function de(e,t){if(!e)return;if("function"===typeof e)return void e(t);if("__getHandler"in e&&"function"===typeof e.__getHandler){return void de(e.__getHandler(),t)}if(!("__nodeConfig"in e))return;const{argMapping:n}=e.__nodeConfig;if(Array.isArray(n))for(const[r,[i,o]]of n.entries()){if(!(i in t.nativeEvent))continue;const n=t.nativeEvent[i];null!==o&&void 0!==o&&o.setValue?o.setValue(n):e.__nodeConfig.argMapping[r]=[i,n]}}const pe=["enabled"];function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const he=["enabled"];function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ge=["enabled"];function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class be{constructor(e){ve(this,"onScaleBegin",void 0),ve(this,"onScale",void 0),ve(this,"onScaleEnd",void 0),ve(this,"_focusX",void 0),ve(this,"_focusY",void 0),ve(this,"_currentSpan",void 0),ve(this,"prevSpan",void 0),ve(this,"initialSpan",void 0),ve(this,"currentTime",void 0),ve(this,"prevTime",void 0),ve(this,"inProgress",!1),ve(this,"spanSlop",void 0),ve(this,"minSpan",void 0),this.onScaleBegin=e.onScaleBegin,this.onScale=e.onScale,this.onScaleEnd=e.onScaleEnd,this.spanSlop=30,this.minSpan=0}onTouchEvent(e,t){this.currentTime=e.time;const n=e.eventType,r=t.trackedPointersCount,i=n===V.UP||n===V.ADDITIONAL_POINTER_UP||n===V.CANCEL;if((n===V.DOWN||i)&&(this.inProgress&&(this.onScaleEnd(this),this.inProgress=!1,this.initialSpan=0),i))return!0;const o=n===V.DOWN||n===V.ADDITIONAL_POINTER_UP||n===V.ADDITIONAL_POINTER_DOWN,a=n===V.ADDITIONAL_POINTER_UP,s=a?e.pointerId:void 0,l=a?r-1:r,c=t.getAbsoluteCoordsSum(),u=c.x/l,d=c.y/l;let p=0,f=0;t.trackedPointers.forEach(((e,t)=>{t!==s&&(p+=Math.abs(e.abosoluteCoords.x-u),f+=Math.abs(e.abosoluteCoords.y-d))}));const h=2*(p/l),m=2*(f/l),g=Math.hypot(h,m),y=this.inProgress;return this._focusX=u,this._focusY=d,this.inProgress&&(g=this.minSpan&&(y||Math.abs(g-this.initialSpan)>this.spanSlop)&&(this.prevSpan=this._currentSpan=g,this.prevTime=this.currentTime,this.inProgress=this.onScaleBegin(this)),n!==V.MOVE||(this._currentSpan=g,this.inProgress&&!this.onScale(this)||(this.prevSpan=this.currentSpan,this.prevTime=this.currentTime),!0)}calculateScaleFactor(e){return e<2?1:this.prevSpan>0?this.currentSpan/this.prevSpan:1}get currentSpan(){return this._currentSpan}get focusX(){return this._focusX}get focusY(){return this._focusY}get timeDelta(){return this.currentTime-this.prevTime}}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class _e{constructor(e){ke(this,”onRotationBegin”,void 0),ke(this,”onRotation”,void 0),ke(this,”onRotationEnd”,void 0),ke(this,”currentTime”,0),ke(this,”previousTime”,0),ke(this,”previousAngle”,0),ke(this,”_rotation”,0),ke(this,”_anchorX”,0),ke(this,”_anchorY”,0),ke(this,”isInProgress”,!1),ke(this,”keyPointers”,[NaN,NaN]),this.onRotationBegin=e.onRotationBegin,this.onRotation=e.onRotation,this.onRotationEnd=e.onRotationEnd}updateCurrent(e,t){this.previousTime=this.currentTime,this.currentTime=e.time;const[n,r]=this.keyPointers,i=t.getLastAbsoluteCoords(n),o=t.getLastAbsoluteCoords(r),a=o.x-i.x,s=o.y-i.y;this._anchorX=(i.x+o.x)/2,this._anchorY=(i.y+o.y)/2;const l=-Math.atan2(s,a);this._rotation=Number.isNaN(this.previousAngle)?0:this.previousAngle-l,this.previousAngle=l,this.rotation>Math.PI?this._rotation-=Math.PI:this.rotation<-Math.PI&&(this._rotation+=Math.PI),this.rotation>Math.PI/2?this._rotation-=Math.PI:this.rotation<-Math.PI/2&&(this._rotation+=Math.PI)}finish(){this.isInProgress&&(this.isInProgress=!1,this.keyPointers=[NaN,NaN],this.onRotationEnd(this))}setKeyPointers(e){if(this.keyPointers[0]&&this.keyPointers[1])return;const t=e.trackedPointers.keys();this.keyPointers[0]=t.next().value,this.keyPointers[1]=t.next().value}onTouchEvent(e,t){switch(e.eventType){case V.DOWN:this.isInProgress=!1;break;case V.ADDITIONAL_POINTER_DOWN:if(this.isInProgress)break;this.isInProgress=!0,this.previousTime=e.time,this.previousAngle=NaN,this.setKeyPointers(t),this.updateCurrent(e,t),this.onRotationBegin(this);break;case V.MOVE:if(!this.isInProgress)break;this.updateCurrent(e,t),this.onRotation(this);break;case V.ADDITIONAL_POINTER_UP:if(!this.isInProgress)break;this.keyPointers.indexOf(e.pointerId)>=0&&this.finish();break;case V.UP:this.isInProgress&&this.finish()}return!0}reset(){this.keyPointers=[NaN,NaN],this.isInProgress=!1}get anchorX(){return this._anchorX}get anchorY(){return this._anchorY}get rotation(){return this._rotation}get timeDelta(){return this.currentTime+this.previousTime}}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Se=Math.PI/36;const Ce={RIGHT:1,LEFT:2,UP:4,DOWN:8},xe={UP_RIGHT:5,DOWN_RIGHT:9,UP_LEFT:6,DOWN_LEFT:10};function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Re{constructor(e,t){Ae(this,”x”,void 0),Ae(this,”y”,void 0),Ae(this,”unitX”,void 0),Ae(this,”unitY”,void 0),Ae(this,”_magnitude”,void 0),this.x=e,this.y=t,this._magnitude=Math.hypot(this.x,this.y);const n=this._magnitude>.1;this.unitX=n?this.x/this._magnitude:0,this.unitY=n?this.y/this._magnitude:0}static fromDirection(e){var t;return null!==(t=Te.get(e))&&void 0!==t?t:new Re(0,0)}static fromVelocity(e,t){const n=e.getVelocity(t);return new Re(n.x,n.y)}get magnitude(){return this._magnitude}computeSimilarity(e){return this.unitX*e.unitX+this.unitY*e.unitY}isSimilar(e,t){return this.computeSimilarity(e)>t}}const Te=new Map([[Ce.LEFT,new Re(-1,0)],[Ce.RIGHT,new Re(1,0)],[Ce.UP,new Re(0,-1)],[Ce.DOWN,new Re(0,1)],[xe.UP_RIGHT,new Re(1,-1)],[xe.DOWN_RIGHT,new Re(1,1)],[xe.UP_LEFT,new Re(-1,-1)],[xe.DOWN_LEFT,new Re(-1,1)]]);function De(e,{x:t,y:n}){const r=e.getBoundingClientRect();return t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom}const Ie=new Map([["mouse",U.MOUSE],["touch",U.TOUCH],["pen",U.STYLUS],["none",U.OTHER]]),Oe=e=>Math.cos((e=>e*Math.PI/180)(e/2));function je(e){if(Ie.get(e.pointerType)!==U.STYLUS)return;const t=e.azimuthAngle,n=e.altitudeAngle;if(0===e.tiltX&&0===e.tiltY){if(void 0===t||void 0===n)return{tiltX:0,tiltY:0,azimuthAngle:Math.PI/2,altitudeAngle:Math.PI/2,pressure:e.pressure};const{tiltX:r,tiltY:i}=function(e,t){const n=180/Math.PI;let r=0,i=0;0===e&&(0!==t&&t!==2*Math.PI||(r=Math.PI/2),t===Math.PI/2&&(i=Math.PI/2),t===Math.PI&&(r=-Math.PI/2),t===3*Math.PI/2&&(i=-Math.PI/2),t>0&&tMath.PI/2&&tMath.PI&&t<3*Math.PI/2&&(r=-Math.PI/2,i=-Math.PI/2),t>3*Math.PI/2&&t<2*Math.PI&&(r=Math.PI/2,i=-Math.PI/2));if(0!==e){const n=Math.tan(e);r=Math.atan(Math.cos(t)/n),i=Math.atan(Math.sin(t)/n)}const o=Math.round(r*n),a=Math.round(i*n);return{tiltX:o,tiltY:a}}(n,t);return{tiltX:r,tiltY:i,azimuthAngle:t,altitudeAngle:n,pressure:e.pressure}}const{altitudeAngle:r,azimuthAngle:i}=function(e,t){const n=e*Math.PI/180,r=t*Math.PI/180;let i=0;if(0===e)t>0?i=Math.PI/2:t<0&&(i=3*Math.PI/2);else if(0===t)e<0&&(i=Math.PI);else if(90===Math.abs(e)||90===Math.abs(t))i=0;else{const e=Math.tan(n),t=Math.tan(r);i=Math.atan2(t,e),i<0&&(i+=2*Math.PI)}let o=0;o=90===Math.abs(e)||90===Math.abs(t)?0:0===e?Math.PI/2-Math.abs(r):0===t?Math.PI/2-Math.abs(n):Math.atan(1/Math.sqrt(Math.pow(Math.tan(n),2)+Math.pow(Math.tan(r),2)));return{altitudeAngle:o,azimuthAngle:i}}(e.tiltX,e.tiltY);return{tiltX:e.tiltX,tiltY:e.tiltY,azimuthAngle:i,altitudeAngle:r,pressure:e.pressure}}const Pe=new Set(["Circle","ClipPath","Ellipse","ForeignObject","G","Image","Line","Marker","Mask","Path","Pattern","Polygon","Polyline","Rect","Svg","Symbol","TSpan","Text","TextPath","Use"]);const Me=["enabled"];function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Le=Ce.RIGHT,Fe=Oe(30),Ve=Oe(60);const Be=["enabled"];function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Ue extends ue{constructor(...e){super(...e),He(this,"buttonRole",void 0),He(this,"shouldActivateOnStart",!1),He(this,"disallowInterruption",!1),He(this,"startX",0),He(this,"startY",0),He(this,"minDistSq",225)}init(e,t){super.init(e,t),this.shouldCancelWhenOutside=!0;const n=this.delegate.view;this.restoreViewStyles(n),this.buttonRole="button"===n.getAttribute("role")}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,Be);super.updateGestureConfig(Object.assign({enabled:t},n)),void 0!==this.config.shouldActivateOnStart&&(this.shouldActivateOnStart=this.config.shouldActivateOnStart),void 0!==this.config.disallowInterruption&&(this.disallowInterruption=this.config.disallowInterruption);const r=this.delegate.view;this.restoreViewStyles(r)}restoreViewStyles(e){e&&(e.style.touchAction="auto",e.style.WebkitTouchCallout="auto")}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){const e=this.tracker.getAbsoluteCoordsAverage();if(this.startX=e.x,this.startY=e.y,this.state!==o.UNDETERMINED)return;this.begin();const t=this.delegate.view.hasAttribute("rnghtext");(this.buttonRole||t)&&this.activate()}onPointerMove(e){this.tracker.track(e);const t=this.tracker.getAbsoluteCoordsAverage(),n=this.startX-t.x,r=this.startY-t.y;n*n+r*r>=this.minDistSq&&(this.buttonRole&&this.state===o.ACTIVE?this.cancel():this.buttonRole||this.state!==o.BEGAN||this.activate())}onPointerLeave(){this.state!==o.BEGAN&&this.state!==o.ACTIVE||this.cancel()}onPointerUp(e){super.onPointerUp(e),this.onUp(e)}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.tracker.removeFromTracker(e.pointerId),0===this.tracker.trackedPointersCount&&(this.state===o.ACTIVE?this.end():this.fail())}shouldRecognizeSimultaneously(e){if(super.shouldRecognizeSimultaneously(e))return!0;if(e instanceof Ue&&e.state===o.ACTIVE&&e.disallowsInterruption())return!1;const t=!this.disallowInterruption;return(this.state!==o.ACTIVE||e.state!==o.ACTIVE||!t)&&(this.state===o.ACTIVE&&t&&e.handlerTag>0)}shouldBeCancelledByOther(e){return!this.disallowInterruption}disallowsInterruption(){return this.disallowInterruption}isButton(){return this.buttonRole}}function ze(){return ze=Object.assign||function(e){for(var t=1;t-1}var It=function(){function e(e,t){this.manager=e,this.set(t)}var t=e.prototype;return t.set=function(e){e===nt&&(e=this.compute()),tt&&this.manager.element.style&<[e]&&(this.manager.element.style[et]=e),this.actions=e.toLowerCase().trim()},t.update=function(){this.set(this.manager.options.touchAction)},t.compute=function(){var e=[];return Rt(this.manager.recognizers,(function(t){Tt(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(Dt(e,ot))return ot;var t=Dt(e,at),n=Dt(e,st);return t&&n?ot:t||n?t?at:st:Dt(e,it)?it:rt}(e.join(” “))},t.preventDefaults=function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,i=Dt(r,ot)&&!lt[ot],o=Dt(r,st)&&!lt[st],a=Dt(r,at)&&!lt[at];if(i){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}if(!a||!o)return i||o&&n&Et||a&&n&St?this.preventSrc(t):void 0}},t.preventSrc=function(e){this.manager.session.prevented=!0,e.preventDefault()},e}();function Ot(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function jt(e){var t=e.length;if(1===t)return{x:Ze(e[0].clientX),y:Ze(e[0].clientY)};for(var n=0,r=0,i=0;i=Je(t)?e<0?bt:wt:t<0?kt:_t}function Ft(e,t,n){return{x:t/e||0,y:n/e||0}}function Vt(e,t){var n=e.session,r=t.pointers,i=r.length;n.firstInput||(n.firstInput=Pt(t)),i>1&&!n.firstMultiple?n.firstMultiple=Pt(t):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=t.center=jt(r);t.timeStamp=$e(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=Nt(s,l),t.distance=Mt(s,l),function(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},o=e.prevInput||{};t.eventType!==mt&&o.eventType!==gt||(i=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}(n,t),t.offsetDirection=Lt(t.deltaX,t.deltaY);var c,u,d=Ft(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=d.x,t.overallVelocityY=d.y,t.overallVelocity=Je(d.x)>Je(d.y)?d.x:d.y,t.scale=a?(c=a.pointers,Mt((u=r)[0],u[1],At)/Mt(c[0],c[1],At)):1,t.rotation=a?function(e,t){return Nt(t[1],t[0],At)+Nt(e[1],e[0],At)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,i,o,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(t.eventType!==yt&&(s>ht||void 0===a.velocity)){var l=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,u=Ft(s,l,c);r=u.x,i=u.y,n=Je(u.x)>Je(u.y)?u.x:u.y,o=Lt(l,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=i,t.direction=o}(n,t);var p,f=e.element,h=t.srcEvent;Ot(p=h.composedPath?h.composedPath()[0]:h.path?h.path[0]:h.target,f)&&(f=p),t.target=f}function Bt(e,t,n){var r=n.pointers.length,i=n.changedPointers.length,o=t&mt&&r-i===0,a=t&(gt|yt)&&r-i===0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,Vt(e,n),e.emit(“hammer.input”,n),e.recognize(n),e.session.prevInput=n}function Ht(e){return e.trim().split(/\s+/g)}function Ut(e,t,n){Rt(Ht(t),(function(t){e.addEventListener(t,n,!1)}))}function zt(e,t,n){Rt(Ht(t),(function(t){e.removeEventListener(t,n,!1)}))}function Wt(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||window}var Kt=function(){function e(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){Tt(e.options.enable,[e])&&n.handler(t)},this.init()}var t=e.prototype;return t.handler=function(){},t.init=function(){this.evEl&&Ut(this.element,this.evEl,this.domHandler),this.evTarget&&Ut(this.target,this.evTarget,this.domHandler),this.evWin&&Ut(Wt(this.element),this.evWin,this.domHandler)},t.destroy=function(){this.evEl&&zt(this.element,this.evEl,this.domHandler),this.evTarget&&zt(this.target,this.evTarget,this.domHandler),this.evWin&&zt(Wt(this.element),this.evWin,this.domHandler)},e}();function Xt(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;rn[t]})):r.sort()),r}var en={touchstart:mt,touchmove:2,touchend:gt,touchcancel:yt},tn=function(e){function t(){var n;return t.prototype.evTarget=”touchstart touchmove touchend touchcancel”,(n=e.apply(this,arguments)||this).targetIds={},n}return We(t,e),t.prototype.handler=function(e){var t=en[e.type],n=nn.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:pt,srcEvent:e})},t}(Kt);function nn(e,t){var n,r,i=$t(e.touches),o=this.targetIds;if(t&(2|mt)&&1===i.length)return o[i[0].identifier]=!0,[i,i];var a=$t(e.changedTouches),s=[],l=this.target;if(r=i.filter((function(e){return Ot(e.target,l)})),t===mt)for(n=0;n-1&&r.splice(e,1)}),an)}}function ln(e,t){e&mt?(this.primaryTouch=t.changedPointers[0].identifier,sn.call(this,t)):e&(gt|yt)&&sn.call(this,t)}function cn(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r-1&&this.requireFail.splice(t,1),this},t.hasRequireFailures=function(){return this.requireFail.length>0},t.canRecognizeWith=function(e){return!!this.simultaneous[e.id]},t.emit=function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+mn(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+mn(n))},t.tryEmit=function(e){if(this.canEmit())return this.emit(e);this.state=pn},t.canEmit=function(){for(var e=0;et.threshold&&i&t.direction},n.attrTest=function(e){return vn.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},n.emit=function(t){this.pX=t.deltaX,this.pY=t.deltaY;var n=bn(t.direction);n&&(t.additionalEvent=this.options.event+n),e.prototype.emit.call(this,t)},t}(vn),kn=function(e){function t(t){return void 0===t&&(t={}),e.call(this,ze({event:”swipe”,threshold:10,velocity:.3,direction:Et|St,pointers:1},t))||this}We(t,e);var n=t.prototype;return n.getTouchAction=function(){return wn.prototype.getTouchAction.call(this)},n.attrTest=function(t){var n,r=this.options.direction;return r&(Et|St)?n=t.overallVelocity:r&Et?n=t.overallVelocityX:r&St&&(n=t.overallVelocityY),e.prototype.attrTest.call(this,t)&&r&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers===this.options.pointers&&Je(n)>this.options.velocity&&t.eventType>},n.emit=function(e){var t=bn(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)},t}(vn),_n=function(e){function t(t){return void 0===t&&(t={}),e.call(this,ze({event:”pinch”,threshold:0,pointers:2},t))||this}We(t,e);var n=t.prototype;return n.getTouchAction=function(){return[ot]},n.attrTest=function(t){return e.prototype.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},n.emit=function(t){if(1!==t.scale){var n=t.scale<1?"in":"out";t.additionalEvent=this.options.event+n}e.prototype.emit.call(this,t)},t}(vn),En=function(e){function t(t){return void 0===t&&(t={}),e.call(this,ze({event:"rotate",threshold:0,pointers:2},t))||this}We(t,e);var n=t.prototype;return n.getTouchAction=function(){return[ot]},n.attrTest=function(t){return e.prototype.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)},t}(vn),Sn=function(e){function t(t){var n;return void 0===t&&(t={}),(n=e.call(this,ze({event:”press”,pointers:1,time:251,threshold:9},t))||this)._timer=null,n._input=null,n}We(t,e);var n=t.prototype;return n.getTouchAction=function(){return[rt]},n.process=function(e){var t=this,n=this.options,r=e.pointers.length===n.pointers,i=e.distancen.time;if(this._input=e,!i||!r||e.eventType&(gt|yt)&&!o)this.reset();else if(e.eventType&mt)this.reset(),this._timer=setTimeout((function(){t.state=8,t.tryEmit()}),n.time);else if(e.eventType>)return 8;return pn},n.reset=function(){clearTimeout(this._timer)},n.emit=function(e){8===this.state&&(e&&e.eventType>?this.manager.emit(this.options.event+”up”,e):(this._input.timeStamp=$e(),this.manager.emit(this.options.event,this._input)))},t}(gn),Cn={domEvents:!1,touchAction:nt,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:”none”,touchSelect:”none”,touchCallout:”none”,contentZooming:”none”,userDrag:”none”,tapHighlightColor:”rgba(0,0,0,0)”}},xn=[[En,{enable:!1}],[_n,{enable:!1},[“rotate”]],[kn,{direction:Et}],[wn,{direction:Et},[“swipe”]],[yn],[yn,{event:”doubletap”,taps:2},[“tap”]],[Sn]];function An(e,t){var n,r=e.element;r.style&&(Rt(e.options.cssProps,(function(i,o){n=Qe(r.style,o),t?(e.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=e.oldCssProps[n]||””})),t||(e.oldCssProps={}))}var Rn=function(){function e(e,t){var n,r=this;this.options=qe({},Cn,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(ut?Jt:dt?tn:ct?un:on))(n,Bt),this.touchAction=new It(this,this.options.touchAction),An(this,!0),Rt(this.options.recognizers,(function(e){var t=r.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}var t=e.prototype;return t.set=function(e){return qe(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},t.stop=function(e){this.session.stopped=e?2:1},t.recognize=function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,i=t.curRecognizer;(!i||i&&8&i.state)&&(t.curRecognizer=null,i=null);for(var o=0;o\s*\(/gm,”{anonymous}()@”):”Unknown Stack Trace”,i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,r,n),e.apply(this,arguments)}}var jn=On((function(e,t,n){for(var r=Object.keys(t),i=0;i{if(Array.isArray(this.config.waitFor))for(const e of this.config.waitFor)e.removePendingGesture(this.id)})),Zn(this,”destroy”,(()=>{this.clearSelfAsPending(),this.hammer&&(this.hammer.stop(!1),this.hammer.destroy()),this.hammer=null})),Zn(this,”isPointInView”,(({x:e,y:t})=>{const n=this.view.getBoundingClientRect();return e>=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom})),Zn(this,"sendEvent",(e=>{const{onGestureHandlerEvent:t,onGestureHandlerStateChange:n}=this.propsRef.current,r=this.transformEventData(e);$n(t,r),this.lastSentState!==r.nativeEvent.state&&(this.lastSentState=r.nativeEvent.state,$n(n,r))})),Zn(this,”sync”,(()=>{const e=this.hammer.get(this.name);if(!e)return;const t=this.getHammerConfig();e.set(Object.assign({},t,{enable:(e,t)=>{if(!this.config.enabled)return this.isGestureRunning=!1,this.hasGestureFailed=!1,!1;if(!t||!e.options||”undefined”===typeof t.maxPointers)return this.shouldEnableGestureOnSetup;if(this.hasGestureFailed)return!1;if(!this.isDiscrete){if(this.isGestureRunning)return!0;if(this._stillWaiting=this._getPendingGestures(),this._stillWaiting.length){for(const e of this._stillWaiting)if(!e.isDiscrete&&e.isGestureRunning)return this.hasGestureFailed=!0,this.isGestureRunning=!1,!1;return!1}}if(!this.hasCustomActivationCriteria)return!0;const n=null==this.initialRotation?0:t.rotation-this.initialRotation,{success:r,failed:i}=this.isGestureEnabledForEvent(this.getConfig(),e,Object.assign({},t,{deltaRotation:n}));return i&&(this.simulateCancelEvent(t),this.hasGestureFailed=!0),r}}))})),this.gestureInstance=Jn++,this.hasCustomActivationCriteria=!1}getConfig(){return this.config}onWaitingEnded(e){}removePendingGesture(e){delete this.pendingGestures[e]}addPendingGesture(e){this.pendingGestures[e.id]=e}isGestureEnabledForEvent(e,t,n){return{success:!0}}get NativeGestureClass(){throw new Error(“Must override GestureHandler.NativeGestureClass”)}updateHasCustomActivationCriteria(e){return!0}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,Yn);if(this.clearSelfAsPending(),this.config=this.ensureConfig(Object.assign({enabled:t},n)),this.hasCustomActivationCriteria=this.updateHasCustomActivationCriteria(this.config),Array.isArray(this.config.waitFor))for(const r of this.config.waitFor)r.addPendingGesture(this);return this.hammer&&this.sync(),this.config}getState(e){return 0==e?0:Hn[e]}transformEventData(e){const{eventType:t,maxPointers:n}=e,r=e.changedPointers[0],i=this.isPointInView({x:r.clientX,y:r.clientY}),o=this.getState(t);return o!==this.previousState&&(this.oldState=this.previousState,this.previousState=o),{nativeEvent:Object.assign({numberOfPointers:n,state:o,pointerInside:i},this.transformNativeEvent(e),{handlerTag:this.handlerTag,target:this.ref,oldState:o!==this.previousState||4!=o?this.oldState:void 0}),timeStamp:Date.now()}}transformNativeEvent(e){return{}}cancelPendingGestures(e){for(const t of Object.values(this.pendingGestures))t&&t.isGestureRunning&&(t.hasGestureFailed=!0,t.cancelEvent(e))}notifyPendingGestures(){for(const e of Object.values(this.pendingGestures))e&&e.onWaitingEnded(this)}onGestureEnded(e){this.isGestureRunning=!1,this.cancelPendingGestures(e)}forceInvalidate(e){this.isGestureRunning&&(this.hasGestureFailed=!0,this.cancelEvent(e))}cancelEvent(e){this.notifyPendingGestures(),this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_CANCEL,isFinal:!0})),this.onGestureEnded(e)}onRawEvent({isFirst:e}){e&&(this.hasGestureFailed=!1)}shouldUseTouchEvents(e){var t,n;return null!==(t=null===(n=e.simultaneousHandlers)||void 0===n?void 0:n.some((e=>e.isNative)))&&void 0!==t&&t}setView(e,t){if(null==e)return this.destroy(),void(this.view=null);const n=”ontouchstart”in window;this.propsRef=t,this.ref=e,this.view=(0,Vn.default)(e),this.hammer=n&&this.shouldUseTouchEvents(this.config)?new Fn.Manager(this.view,{inputClass:Fn.TouchInput}):new Fn.Manager(this.view),this.oldState=o.UNDETERMINED,this.previousState=o.UNDETERMINED,this.lastSentState=null;const{NativeGestureClass:r}=this,i=new r(this.getHammerConfig());this.hammer.add(i),this.hammer.on(“hammer.input”,(e=>{if(!this.config.enabled)return this.hasGestureFailed=!1,void(this.isGestureRunning=!1);this.onRawEvent(e),null===this.initialRotation&&0!==e.rotation&&(this.initialRotation=e.rotation),e.isFinal&&setTimeout((()=>{this.initialRotation=null,this.hasGestureFailed=!1}))})),this.setupEvents(),this.sync()}setupEvents(){this.isDiscrete||(this.hammer.on(`${this.name}start`,(e=>this.onStart(e))),this.hammer.on(`${this.name}end ${this.name}cancel`,(e=>{this.onGestureEnded(e)}))),this.hammer.on(this.name,(e=>this.onGestureActivated(e)))}onStart({deltaX:e,deltaY:t,rotation:n}){this.oldState=o.UNDETERMINED,this.previousState=o.UNDETERMINED,this.lastSentState=null,this.isGestureRunning=!0,this.__initialX=e,this.__initialY=t,this.initialRotation=n}onGestureActivated(e){this.sendEvent(e)}onSuccess(){}_getPendingGestures(){if(Array.isArray(this.config.waitFor)&&this.config.waitFor.length){return this.config.waitFor.filter((({hasGestureFailed:e})=>!1===e))}return[]}getHammerConfig(){return{pointers:this.config.minPointers===this.config.maxPointers?this.config.minPointers:0}}simulateCancelEvent(e){}ensureConfig(e){const t=Object.assign({},e);if(“minDist”in e&&(t.minDist=e.minDist,t.minDistSq=t.minDist*t.minDist),”minVelocity”in e&&(t.minVelocity=e.minVelocity,t.minVelocitySq=t.minVelocity*t.minVelocity),”maxDist”in e&&(t.maxDist=e.maxDist,t.maxDistSq=e.maxDist*e.maxDist),t.waitFor=”waitFor”in e?Qn(e.waitFor).map((({handlerTag:e})=>qn(e))).filter((e=>e)):null,”simultaneousHandlers”in e){const n=this.shouldUseTouchEvents(this.config);t.simultaneousHandlers=Qn(e.simultaneousHandlers).map((e=>qn(“number”===typeof e?e:e.handlerTag))).filter((e=>e)),n!==this.shouldUseTouchEvents(t)&&Gn((()=>{this.destroy(),this.setView(this.ref,this.propsRef)}))}else t.simultaneousHandlers=null;return[“minPointers”,”maxPointers”,”minDist”,”maxDist”,”maxDistSq”,”minVelocitySq”,”minDistSq”,”minVelocity”,”failOffsetXStart”,”failOffsetYStart”,”failOffsetXEnd”,”failOffsetYEnd”,”activeOffsetXStart”,”activeOffsetXEnd”,”activeOffsetYStart”,”activeOffsetYEnd”].forEach((e=>{“undefined”===typeof t[e]&&(t[e]=Number.NaN)})),t}},tr=e=>Number.isNaN(e),nr=e=>”number”===typeof e&&!Number.isNaN(e),rr=(e,t)=>!tr(t)&&(t<0&&e<=t||t>=0&&e>=t),ir=({x:e=0,y:t=0}={})=>e*e+t*t,or=(e,t)=>!tr(t)&&(t<0&&e=0&&e>t);function ar(e,t){return t?setTimeout((()=>e()),t):(e(),null)}const sr=class extends er{get isDiscrete(){return!0}get shouldEnableGestureOnSetup(){return!0}shouldFailUnderCustomCriteria({x:e,y:t,deltaX:n,deltaY:r},{maxDeltaX:i,maxDeltaY:o,maxDistSq:a,shouldCancelWhenOutside:s}){return!(!s||this.isPointInView({x:e,y:t}))||(or(Math.abs(n),i)||or(Math.abs(r),o)||or(Math.abs(r*r+n*n),a))}transformNativeEvent({center:{x:e,y:t}}){const n=this.view.getBoundingClientRect();return{absoluteX:e,absoluteY:t,x:e-n.left,y:t-n.top}}isGestureEnabledForEvent({minPointers:e,maxPointers:t,maxDeltaX:n,maxDeltaY:r,maxDistSq:i,shouldCancelWhenOutside:o},a,{maxPointers:s,center:l,deltaX:c,deltaY:u}){const d=s>=e&&s<=t;return this.shouldFailUnderCustomCriteria(Object.assign({},l,{deltaX:c,deltaY:u}),{maxDeltaX:n,maxDeltaY:r,maxDistSq:i,shouldCancelWhenOutside:o})||!d&&this.isGestureRunning?{failed:!0}:{success:d}}},lr=["shouldActivateOnStart","disallowInterruption","shouldCancelWhenOutside","minDurationMs","maxDist","minPointers","maxPointers"];function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ur=class extends sr{constructor(...e){super(...e),cr(this,"visualFeedbackTimer",void 0),cr(this,"initialEvent",null),cr(this,"shouldDelayTouches",!0)}get name(){return"press"}get minDurationMs(){return tr(this.config.minDurationMs)?5:this.config.minDurationMs}get maxDist(){return tr(this.config.maxDist)?9:this.config.maxDist}get NativeGestureClass(){return Fn.Press}simulateCancelEvent(e){this.hasGestureFailed=!0,this.cancelEvent(e)}updateHasCustomActivationCriteria({shouldCancelWhenOutside:e,maxDistSq:t}){return e||!nr(t)}getState(e){return{[Fn.INPUT_START]:o.BEGAN,[Fn.INPUT_MOVE]:o.ACTIVE,[Fn.INPUT_END]:o.END,[Fn.INPUT_CANCEL]:o.CANCELLED}[e]}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return Object.assign({},super.getHammerConfig(),{time:this.minDurationMs})}onGestureActivated(e){this.onGestureStart(e)}shouldDelayTouchForEvent({pointerType:e}){return this.shouldDelayTouches&&"touch"===e}onGestureStart(e){this.isGestureRunning=!0,clearTimeout(this.visualFeedbackTimer),this.initialEvent=e,this.visualFeedbackTimer=ar((()=>{this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null}),this.shouldDelayTouchForEvent(e)&&240)}sendGestureStartedEvent(e){clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_MOVE,isFirst:!0}))}forceInvalidate(e){super.forceInvalidate(e),clearTimeout(this.visualFeedbackTimer),this.visualFeedbackTimer=null,this.initialEvent=null}onRawEvent(e){if(super.onRawEvent(e),this.isGestureRunning)if(e.isFinal){let t;this.visualFeedbackTimer&&(t=50,this.sendGestureStartedEvent(this.initialEvent),this.initialEvent=null),ar((()=>{this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_END,isFinal:!0})),this.onGestureEnded()}),t)}else this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_MOVE,isFinal:!1}))}updateGestureConfig(e){let{shouldActivateOnStart:t=!1,disallowInterruption:n=!1,shouldCancelWhenOutside:r=!0,minDurationMs:i=Number.NaN,maxDist:o=Number.NaN,minPointers:a=1,maxPointers:s=1}=e,l=(0,L.default)(e,lr);return super.updateGestureConfig(Object.assign({shouldActivateOnStart:t,disallowInterruption:n,shouldCancelWhenOutside:r,minDurationMs:i,maxDist:o,minPointers:a,maxPointers:s},l))}};const dr=class extends ur{get isNative(){return!0}onRawEvent(e){if(super.onRawEvent(e),!e.isFinal&&rr(ir({x:e.deltaX,y:e.deltaY}),10)&&this.config.disallowInterruption){const t=Object.values(Object.assign({},Xn)).filter((e=>{const{handlerTag:t,view:n,isGestureRunning:r}=e;return t!==this.handlerTag&&r&&e instanceof sr&&n&&this.view.contains(n)}));for(const n of t)n.forceInvalidate(e)}}};var pr=r(72068);const fr=class extends er{get shouldEnableGestureOnSetup(){return!0}transformNativeEvent({deltaX:e,deltaY:t,velocityX:n,velocityY:r,center:{x:i,y:o}}){const a=this.view.getBoundingClientRect(),s=pr.default.get();return{translationX:e-(this.__initialX||0),translationY:t-(this.__initialY||0),absoluteX:i,absoluteY:o,velocityX:n*s,velocityY:r*s,x:i-a.left,y:o-a.top}}};const hr=class extends fr{get name(){return”pan”}get NativeGestureClass(){return Fn.Pan}getHammerConfig(){return Object.assign({},super.getHammerConfig(),{direction:this.getDirection()})}getState(e){const t=super.getState(e);return this.previousState===o.UNDETERMINED&&t===o.ACTIVE?o.BEGAN:t}getDirection(){const e=this.getConfig(),{activeOffsetXStart:t,activeOffsetXEnd:n,activeOffsetYStart:r,activeOffsetYEnd:i,minDist:o}=e;let a=[],s=[];if(!tr(o))return Fn.DIRECTION_ALL;tr(t)||s.push(Fn.DIRECTION_LEFT),tr(n)||s.push(Fn.DIRECTION_RIGHT),2===s.length&&(s=[Fn.DIRECTION_HORIZONTAL]),a=a.concat(s);let l=[];return tr(r)||l.push(Fn.DIRECTION_UP),tr(i)||l.push(Fn.DIRECTION_DOWN),2===l.length&&(l=[Fn.DIRECTION_VERTICAL]),a=a.concat(l),a.length?a[0]===Fn.DIRECTION_HORIZONTAL&&a[1]===Fn.DIRECTION_VERTICAL||s.length&&l.length?Fn.DIRECTION_ALL:a[0]:Fn.DIRECTION_NONE}getConfig(){return this.hasCustomActivationCriteria?this.config:{minDistSq:10}}shouldFailUnderCustomCriteria({deltaX:e,deltaY:t},n){return!tr(n.failOffsetXStart)&&en.failOffsetXEnd||!tr(n.failOffsetYStart)&&tn.failOffsetYEnd}shouldActivateUnderCustomCriteria({deltaX:e,deltaY:t,velocity:n},r){return!tr(r.activeOffsetXStart)&&er.activeOffsetXEnd||!tr(r.activeOffsetYStart)&&tr.activeOffsetYEnd||rr(ir({x:e,y:t}),r.minDistSq)||rr(n.x,r.minVelocityX)||rr(n.y,r.minVelocityY)||rr(ir(n),r.minVelocitySq)}shouldMultiFingerPanFail({pointerLength:e,scale:t,deltaRotation:n}){if(e<=1)return!1;const r=Math.abs(t-1),i=Math.abs(n);return r>.1||i>7}updateHasCustomActivationCriteria(e){return nr(e.minDistSq)||nr(e.minVelocityX)||nr(e.minVelocityY)||nr(e.minVelocitySq)||nr(e.activeOffsetXStart)||nr(e.activeOffsetXEnd)||nr(e.activeOffsetYStart)||nr(e.activeOffsetYEnd)}isGestureEnabledForEvent(e,t,n){if(this.shouldFailUnderCustomCriteria(n,e))return{failed:!0};const r={x:n.velocityX,y:n.velocityY};return this.hasCustomActivationCriteria&&this.shouldActivateUnderCustomCriteria({deltaX:n.deltaX,deltaY:n.deltaY,velocity:r},e)?this.shouldMultiFingerPanFail({pointerLength:n.maxPointers,scale:n.scale,deltaRotation:n.deltaRotation})?{failed:!0}:{success:!0}:{success:!1}}},mr=[“shouldCancelWhenOutside”,”maxDeltaX”,”maxDeltaY”,”numberOfTaps”,”minDurationMs”,”maxDelayMs”,”maxDurationMs”,”maxDist”,”minPointers”,”maxPointers”];function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yr=class extends sr{constructor(…e){super(…e),gr(this,”_shouldFireEndEvent”,null),gr(this,”_timer”,void 0),gr(this,”_multiTapTimer”,void 0),gr(this,”onSuccessfulTap”,(e=>{this._getPendingGestures().length?this._shouldFireEndEvent=e:(e.eventType===Fn.INPUT_END&&this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_MOVE})),this.sendEvent(Object.assign({},e,{isFinal:!0})),this.onGestureEnded(e))}))}get name(){return”tap”}get NativeGestureClass(){return Fn.Tap}get maxDelayMs(){return tr(this.config.maxDelayMs)?300:this.config.maxDelayMs}simulateCancelEvent(e){this.isGestureRunning&&this.cancelEvent(e)}onGestureActivated(e){this.isGestureRunning&&this.onSuccessfulTap(e)}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed&&!this.isGestureRunning&&!e.isFinal){const t=this.hammer.get(this.name);t.options.enable(t,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}if(e.isFinal&&e.maxPointers>1&&setTimeout((()=>{this.isGestureRunning&&this.cancelEvent(e)})),!this.hasGestureFailed)if(e.isFinal)e.maxPointers>1&&setTimeout((()=>{this.isGestureRunning&&this.cancelEvent(e)})),clearTimeout(this._timer),this._timer=setTimeout((()=>{this.hasGestureFailed=!0,this.cancelEvent(e)}),this.maxDelayMs);else if(!this.hasGestureFailed&&!this.isGestureRunning){const t=this.hammer.get(this.name);t.options.enable(t,e)&&(clearTimeout(this._multiTapTimer),this.onStart(e),this.sendEvent(e))}}getHammerConfig(){return Object.assign({},super.getHammerConfig(),{event:this.name,taps:tr(this.config.numberOfTaps)?1:this.config.numberOfTaps,interval:this.maxDelayMs,time:tr(this.config.maxDurationMs)||null==this.config.maxDurationMs?250:this.config.maxDurationMs})}updateGestureConfig(e){let{shouldCancelWhenOutside:t=!0,maxDeltaX:n=Number.NaN,maxDeltaY:r=Number.NaN,numberOfTaps:i=1,minDurationMs:o=525,maxDelayMs:a=Number.NaN,maxDurationMs:s=Number.NaN,maxDist:l=2,minPointers:c=1,maxPointers:u=1}=e,d=(0,L.default)(e,mr);return super.updateGestureConfig(Object.assign({shouldCancelWhenOutside:t,numberOfTaps:i,maxDeltaX:n,maxDeltaY:r,minDurationMs:o,maxDelayMs:a,maxDist:l,minPointers:c,maxPointers:u},d))}onGestureEnded(…e){clearTimeout(this._timer),super.onGestureEnded(…e)}onWaitingEnded(e){this._shouldFireEndEvent&&(this.onSuccessfulTap(this._shouldFireEndEvent),this._shouldFireEndEvent=null)}};const vr=class extends ur{get minDurationMs(){return tr(this.config.minDurationMs)?251:this.config.minDurationMs}get maxDist(){return tr(this.config.maxDist)?9:this.config.maxDist}updateHasCustomActivationCriteria({maxDistSq:e}){return!nr(e)}getConfig(){return this.hasCustomActivationCriteria?this.config:{shouldCancelWhenOutside:!0,maxDistSq:10}}getHammerConfig(){return Object.assign({},super.getHammerConfig(),{time:this.minDurationMs})}getState(e){return{[Fn.INPUT_START]:o.ACTIVE,[Fn.INPUT_MOVE]:o.ACTIVE,[Fn.INPUT_END]:o.END,[Fn.INPUT_CANCEL]:o.FAILED}[e]}},br=[“minPointers”,”maxPointers”];const wr=class extends er{get shouldEnableGestureOnSetup(){return!1}updateGestureConfig(e){let{minPointers:t=2,maxPointers:n=2}=e,r=(0,L.default)(e,br);return super.updateGestureConfig(Object.assign({minPointers:t,maxPointers:n},r))}isGestureEnabledForEvent({minPointers:e,maxPointers:t},n,{maxPointers:r}){if(r>t)return{failed:!0};return{success:r>=e}}};const kr=class extends wr{get name(){return”pinch”}get NativeGestureClass(){return Fn.Pinch}transformNativeEvent({scale:e,velocity:t,center:n}){return{focalX:n.x,focalY:n.y,velocity:t,scale:e}}};const _r=class extends wr{get name(){return”rotate”}get NativeGestureClass(){return Fn.Rotate}transformNativeEvent({rotation:e,velocity:t,center:n}){var r;return{rotation:(e-(null!==(r=this.initialRotation)&&void 0!==r?r:0))*Bn,anchorX:n.x,anchorY:n.y,velocity:t}}};class Er extends Error{constructor(e,t,n){super(`Invalid property \`${e}: ${t}\` expected \`${n}\“)}}const Sr=[“numberOfPointers”,”direction”];const Cr=class extends fr{get name(){return”swipe”}get NativeGestureClass(){return Fn.Swipe}onGestureActivated(e){this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_MOVE,isFinal:!1,isFirst:!0})),this.isGestureRunning=!1,this.hasGestureFailed=!1,this.sendEvent(Object.assign({},e,{eventType:Fn.INPUT_END,isFinal:!0}))}onRawEvent(e){if(super.onRawEvent(e),!this.hasGestureFailed)if(e.isFinal)setTimeout((()=>{this.isGestureRunning&&this.cancelEvent(e)}));else if(!this.hasGestureFailed&&!this.isGestureRunning){const t=this.hammer.get(this.name);t.options.enable(t,e)&&(this.onStart(e),this.sendEvent(e))}}getHammerConfig(){return{pointers:this.config.numberOfPointers,direction:this.getDirection()}}getTargetDirections(e){const t=[];return e&Un&&t.push(Fn.DIRECTION_RIGHT),e&zn&&t.push(Fn.DIRECTION_LEFT),e&Wn&&t.push(Fn.DIRECTION_UP),e&Kn&&t.push(Fn.DIRECTION_DOWN),t}getDirection(){const{direction:e}=this.getConfig();let t=[];return e&Un&&t.push(Fn.DIRECTION_HORIZONTAL),e&zn&&t.push(Fn.DIRECTION_HORIZONTAL),e&Wn&&t.push(Fn.DIRECTION_VERTICAL),e&Kn&&t.push(Fn.DIRECTION_VERTICAL),t=[…new Set(t)],0===t.length?Fn.DIRECTION_NONE:1===t.length?t[0]:Fn.DIRECTION_ALL}isGestureEnabledForEvent({numberOfPointers:e},t,{maxPointers:n}){const r=n===e;return!r&&this.isGestureRunning?{failed:!0}:{success:r}}updateGestureConfig(e){let{numberOfPointers:t=1,direction:n}=e,r=(0,L.default)(e,Sr);if(tr(n)||”number”!==typeof n)throw new Er(“direction”,n,”number”);return super.updateGestureConfig(Object.assign({numberOfPointers:t,direction:n},r))}},xr={NativeViewGestureHandler:Ue,PanGestureHandler:class extends ue{constructor(…e){super(…e),fe(this,”customActivationProperties”,[“activeOffsetXStart”,”activeOffsetXEnd”,”failOffsetXStart”,”failOffsetXEnd”,”activeOffsetYStart”,”activeOffsetYEnd”,”failOffsetYStart”,”failOffsetYEnd”,”minVelocityX”,”minVelocityY”,”minVelocity”]),fe(this,”velocityX”,0),fe(this,”velocityY”,0),fe(this,”minDistSq”,225),fe(this,”activeOffsetXStart”,-Number.MAX_SAFE_INTEGER),fe(this,”activeOffsetXEnd”,Number.MIN_SAFE_INTEGER),fe(this,”failOffsetXStart”,Number.MIN_SAFE_INTEGER),fe(this,”failOffsetXEnd”,Number.MAX_SAFE_INTEGER),fe(this,”activeOffsetYStart”,Number.MAX_SAFE_INTEGER),fe(this,”activeOffsetYEnd”,Number.MIN_SAFE_INTEGER),fe(this,”failOffsetYStart”,Number.MIN_SAFE_INTEGER),fe(this,”failOffsetYEnd”,Number.MAX_SAFE_INTEGER),fe(this,”minVelocityX”,Number.MAX_SAFE_INTEGER),fe(this,”minVelocityY”,Number.MAX_SAFE_INTEGER),fe(this,”minVelocitySq”,Number.MAX_SAFE_INTEGER),fe(this,”minPointers”,1),fe(this,”maxPointers”,10),fe(this,”startX”,0),fe(this,”startY”,0),fe(this,”offsetX”,0),fe(this,”offsetY”,0),fe(this,”lastX”,0),fe(this,”lastY”,0),fe(this,”stylusData”,void 0),fe(this,”activateAfterLongPress”,0),fe(this,”activationTimeout”,0),fe(this,”enableTrackpadTwoFingerGesture”,!1),fe(this,”endWheelTimeout”,0),fe(this,”wheelDevice”,H.UNDETERMINED)}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,pe);this.resetConfig(),super.updateGestureConfig(Object.assign({enabled:t},n)),this.checkCustomActivationCriteria(this.customActivationProperties),void 0!==this.config.minDist?this.minDistSq=this.config.minDist*this.config.minDist:this.hasCustomActivationCriteria&&(this.minDistSq=Number.MAX_SAFE_INTEGER),void 0!==this.config.minPointers&&(this.minPointers=this.config.minPointers),void 0!==this.config.maxPointers&&(this.maxPointers=this.config.maxPointers),void 0!==this.config.minVelocity&&(this.minVelocityX=this.config.minVelocity,this.minVelocityY=this.config.minVelocity),void 0!==this.config.minVelocityX&&(this.minVelocityX=this.config.minVelocityX),void 0!==this.config.minVelocityY&&(this.minVelocityY=this.config.minVelocityY),void 0!==this.config.activateAfterLongPress&&(this.activateAfterLongPress=this.config.activateAfterLongPress),void 0!==this.config.activeOffsetXStart&&(this.activeOffsetXStart=this.config.activeOffsetXStart,void 0===this.config.activeOffsetXEnd&&(this.activeOffsetXEnd=Number.MAX_SAFE_INTEGER)),void 0!==this.config.activeOffsetXEnd&&(this.activeOffsetXEnd=this.config.activeOffsetXEnd,void 0===this.config.activeOffsetXStart&&(this.activeOffsetXStart=Number.MIN_SAFE_INTEGER)),void 0!==this.config.failOffsetXStart&&(this.failOffsetXStart=this.config.failOffsetXStart,void 0===this.config.failOffsetXEnd&&(this.failOffsetXEnd=Number.MAX_SAFE_INTEGER)),void 0!==this.config.failOffsetXEnd&&(this.failOffsetXEnd=this.config.failOffsetXEnd,void 0===this.config.failOffsetXStart&&(this.failOffsetXStart=Number.MIN_SAFE_INTEGER)),void 0!==this.config.activeOffsetYStart&&(this.activeOffsetYStart=this.config.activeOffsetYStart,void 0===this.config.activeOffsetYEnd&&(this.activeOffsetYEnd=Number.MAX_SAFE_INTEGER)),void 0!==this.config.activeOffsetYEnd&&(this.activeOffsetYEnd=this.config.activeOffsetYEnd,void 0===this.config.activeOffsetYStart&&(this.activeOffsetYStart=Number.MIN_SAFE_INTEGER)),void 0!==this.config.failOffsetYStart&&(this.failOffsetYStart=this.config.failOffsetYStart,void 0===this.config.failOffsetYEnd&&(this.failOffsetYEnd=Number.MAX_SAFE_INTEGER)),void 0!==this.config.failOffsetYEnd&&(this.failOffsetYEnd=this.config.failOffsetYEnd,void 0===this.config.failOffsetYStart&&(this.failOffsetYStart=Number.MIN_SAFE_INTEGER)),void 0!==this.config.enableTrackpadTwoFingerGesture&&(this.enableTrackpadTwoFingerGesture=this.config.enableTrackpadTwoFingerGesture)}resetConfig(){super.resetConfig(),this.activeOffsetXStart=-Number.MAX_SAFE_INTEGER,this.activeOffsetXEnd=Number.MIN_SAFE_INTEGER,this.failOffsetXStart=Number.MIN_SAFE_INTEGER,this.failOffsetXEnd=Number.MAX_SAFE_INTEGER,this.activeOffsetYStart=Number.MAX_SAFE_INTEGER,this.activeOffsetYEnd=Number.MIN_SAFE_INTEGER,this.failOffsetYStart=Number.MIN_SAFE_INTEGER,this.failOffsetYEnd=Number.MAX_SAFE_INTEGER,this.minVelocityX=Number.MAX_SAFE_INTEGER,this.minVelocityY=Number.MAX_SAFE_INTEGER,this.minVelocitySq=Number.MAX_SAFE_INTEGER,this.minDistSq=225,this.minPointers=1,this.maxPointers=10,this.activateAfterLongPress=0}transformNativeEvent(){const e=this.getTranslationX(),t=this.getTranslationY();return Object.assign({},super.transformNativeEvent(),{translationX:isNaN(e)?0:e,translationY:isNaN(t)?0:t,velocityX:this.velocityX,velocityY:this.velocityY,stylusData:this.stylusData})}getTranslationX(){return this.lastX-this.startX+this.offsetX}getTranslationY(){return this.lastY-this.startY+this.offsetY}clearActivationTimeout(){clearTimeout(this.activationTimeout)}onPointerDown(e){if(!this.isButtonInConfig(e.button))return;this.tracker.addToTracker(e),this.stylusData=e.stylusData,super.onPointerDown(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=this.lastX,this.startY=this.lastY,this.tryBegin(e),this.checkBegan(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=this.lastX,this.startY=this.lastY,this.tracker.trackedPointersCount>this.maxPointers?this.state===o.ACTIVE?this.cancel():this.fail():this.checkBegan()}onPointerUp(e){if(this.stylusData=e.stylusData,super.onPointerUp(e),this.state===o.ACTIVE){const e=this.tracker.getAbsoluteCoordsAverage();this.lastX=e.x,this.lastY=e.y}this.tracker.removeFromTracker(e.pointerId),0===this.tracker.trackedPointersCount&&this.clearActivationTimeout(),this.state===o.ACTIVE?this.end():(this.resetProgress(),this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=this.lastX,this.startY=this.lastY,this.state===o.ACTIVE&&this.tracker.trackedPointersCount{this.state===o.ACTIVE&&(this.end(),this.tracker.removeFromTracker(e.pointerId),this.state=o.UNDETERMINED),this.wheelDevice=H.UNDETERMINED}),30)}onWheel(e){if(this.wheelDevice===H.MOUSE||!this.enableTrackpadTwoFingerGesture)return;if(this.state===o.UNDETERMINED){if(this.wheelDevice=e.wheelDeltaY%120!==0?H.TOUCHPAD:H.MOUSE,this.wheelDevice===H.MOUSE)return void this.scheduleWheelEnd(e);this.tracker.addToTracker(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=this.lastX,this.startY=this.lastY,this.begin(),this.activate()}this.tracker.track(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y;const n=this.tracker.getVelocity(e.pointerId);this.velocityX=n.x,this.velocityY=n.y,this.tryToSendMoveEvent(!1,e),this.scheduleWheelEnd(e)}shouldActivate(){const e=this.getTranslationX();if(this.activeOffsetXStart!==Number.MAX_SAFE_INTEGER&ðis.activeOffsetXEnd)return!0;const t=this.getTranslationY();if(this.activeOffsetYStart!==Number.MAX_SAFE_INTEGER&&tthis.activeOffsetYEnd)return!0;const n=e*e+t*t;if(this.minDistSq!==Number.MAX_SAFE_INTEGER&&n>=this.minDistSq)return!0;const r=this.velocityX;if(this.minVelocityX!==Number.MAX_SAFE_INTEGER&&(this.minVelocityX<0&&r<=this.minVelocityX||this.minVelocityX>=0&&this.minVelocityX<=r))return!0;const i=this.velocityY;if(this.minVelocityY!==Number.MAX_SAFE_INTEGER&&(this.minVelocityY<0&&i<=this.minVelocityY||this.minVelocityY>=0&&this.minVelocityY<=i))return!0;const o=r*r+i*i;return this.minVelocitySq!==Number.MAX_SAFE_INTEGER&&o>=this.minVelocitySq}shouldFail(){const e=this.getTranslationX(),t=this.getTranslationY(),n=e*e+t*t;return this.activateAfterLongPress>0&&n>225?(this.clearActivationTimeout(),!0):this.failOffsetXStart!==Number.MIN_SAFE_INTEGER&ðis.failOffsetXEnd||(this.failOffsetYStart!==Number.MIN_SAFE_INTEGER&&tthis.failOffsetYEnd))}tryBegin(e){if(this.state===o.UNDETERMINED&&this.tracker.trackedPointersCount>=this.minPointers)this.resetProgress(),this.offsetX=0,this.offsetY=0,this.velocityX=0,this.velocityY=0,this.begin(),this.activateAfterLongPress>0&&(this.activationTimeout=setTimeout((()=>{this.activate()}),this.activateAfterLongPress));else{const t=this.tracker.getVelocity(e.pointerId);this.velocityX=t.x,this.velocityY=t.y}}checkBegan(){this.state===o.BEGAN&&(this.shouldFail()?this.fail():this.shouldActivate()&&this.activate())}activate(e=!1){this.state!==o.ACTIVE&&this.resetProgress(),super.activate(e)}onCancel(){this.clearActivationTimeout()}onReset(){this.clearActivationTimeout()}resetProgress(){this.state!==o.ACTIVE&&(this.startX=this.lastX,this.startY=this.lastY)}},TapGestureHandler:class extends ue{constructor(…e){super(…e),me(this,”maxDeltaX”,Number.MIN_SAFE_INTEGER),me(this,”maxDeltaY”,Number.MIN_SAFE_INTEGER),me(this,”maxDistSq”,Number.MIN_SAFE_INTEGER),me(this,”maxDurationMs”,500),me(this,”maxDelayMs”,500),me(this,”numberOfTaps”,1),me(this,”minNumberOfPointers”,1),me(this,”currentMaxNumberOfPointers”,1),me(this,”startX”,0),me(this,”startY”,0),me(this,”offsetX”,0),me(this,”offsetY”,0),me(this,”lastX”,0),me(this,”lastY”,0),me(this,”waitTimeout”,void 0),me(this,”delayTimeout”,void 0),me(this,”tapsSoFar”,0)}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,he);super.updateGestureConfig(Object.assign({enabled:t},n)),void 0!==this.config.numberOfTaps&&(this.numberOfTaps=this.config.numberOfTaps),void 0!==this.config.maxDurationMs&&(this.maxDurationMs=this.config.maxDurationMs),void 0!==this.config.maxDelayMs&&(this.maxDelayMs=this.config.maxDelayMs),void 0!==this.config.maxDeltaX&&(this.maxDeltaX=this.config.maxDeltaX),void 0!==this.config.maxDeltaY&&(this.maxDeltaY=this.config.maxDeltaY),void 0!==this.config.maxDist&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),void 0!==this.config.minPointers&&(this.minNumberOfPointers=this.config.minPointers)}resetConfig(){super.resetConfig(),this.maxDeltaX=Number.MIN_SAFE_INTEGER,this.maxDeltaY=Number.MIN_SAFE_INTEGER,this.maxDistSq=Number.MIN_SAFE_INTEGER,this.maxDurationMs=500,this.maxDelayMs=500,this.numberOfTaps=1,this.minNumberOfPointers=1}clearTimeouts(){clearTimeout(this.waitTimeout),clearTimeout(this.delayTimeout)}startTap(){this.clearTimeouts(),this.waitTimeout=setTimeout((()=>this.fail()),this.maxDurationMs)}endTap(){this.clearTimeouts(),++this.tapsSoFar===this.numberOfTaps&&this.currentMaxNumberOfPointers>=this.minNumberOfPointers?this.activate():this.delayTimeout=setTimeout((()=>this.fail()),this.maxDelayMs)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.trySettingPosition(e),this.startX=e.x,this.startY=e.y,this.lastX=e.x,this.lastY=e.y,this.updateState(e),this.tryToSendTouchEvent(e))}onPointerAdd(e){super.onPointerAdd(e),this.tracker.addToTracker(e),this.trySettingPosition(e),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY-this.startY;const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=t.x,this.startY=t.y,this.updateState(e)}onPointerUp(e){super.onPointerUp(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.tracker.removeFromTracker(e.pointerId),this.updateState(e)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.offsetX+=this.lastX-this.startX,this.offsetY+=this.lastY=this.startY;const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.startX=this.lastX,this.startY=this.lastY,this.updateState(e)}onPointerMove(e){this.trySettingPosition(e),this.tracker.track(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.updateState(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.trySettingPosition(e),this.tracker.track(e);const t=this.tracker.getAbsoluteCoordsAverage();this.lastX=t.x,this.lastY=t.y,this.updateState(e),super.onPointerOutOfBounds(e)}updateState(e){if(this.currentMaxNumberOfPointersthis.maxDeltaX)return!0;const t=this.lastY-this.startY+this.offsetY;if(this.maxDeltaY!==Number.MIN_SAFE_INTEGER&&Math.abs(t)>this.maxDeltaY)return!0;const n=t*t+e*e;return this.maxDistSq!==Number.MIN_SAFE_INTEGER&&n>this.maxDistSq}activate(){super.activate(),this.end()}onCancel(){this.resetProgress(),this.clearTimeouts()}resetProgress(){this.clearTimeouts(),this.tapsSoFar=0,this.currentMaxNumberOfPointers=0}},LongPressGestureHandler:class extends ue{constructor(…e){super(…e),ye(this,”minDurationMs”,500),ye(this,”defaultMaxDistSq”,100),ye(this,”maxDistSq”,this.defaultMaxDistSq),ye(this,”numberOfPointers”,1),ye(this,”startX”,0),ye(this,”startY”,0),ye(this,”startTime”,0),ye(this,”previousTime”,0),ye(this,”activationTimeout”,void 0)}init(e,t){void 0===this.config.enableContextMenu&&(this.config.enableContextMenu=!1),super.init(e,t)}transformNativeEvent(){return Object.assign({},super.transformNativeEvent(),{duration:Date.now()-this.startTime})}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,ge);super.updateGestureConfig(Object.assign({enabled:t},n)),void 0!==this.config.minDurationMs&&(this.minDurationMs=this.config.minDurationMs),void 0!==this.config.maxDist&&(this.maxDistSq=this.config.maxDist*this.config.maxDist),void 0!==this.config.numberOfPointers&&(this.numberOfPointers=this.config.numberOfPointers)}resetConfig(){super.resetConfig(),this.minDurationMs=500,this.maxDistSq=this.defaultMaxDistSq}onStateChange(e,t){clearTimeout(this.activationTimeout)}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),super.onPointerDown(e),this.startX=e.x,this.startY=e.y,this.tryBegin(),this.tryActivate(),this.tryToSendTouchEvent(e))}onPointerAdd(e){if(super.onPointerAdd(e),this.tracker.addToTracker(e),this.tracker.trackedPointersCount>this.numberOfPointers)return void this.fail();const t=this.tracker.getAbsoluteCoordsAverage();this.startX=t.x,this.startY=t.y,this.tryActivate()}onPointerMove(e){super.onPointerMove(e),this.tracker.track(e),this.checkDistanceFail()}onPointerOutOfBounds(e){super.onPointerOutOfBounds(e),this.tracker.track(e),this.checkDistanceFail()}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.state===o.ACTIVE?this.end():this.fail()}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId),this.tracker.trackedPointersCount0?this.activationTimeout=setTimeout((()=>{this.activate()}),this.minDurationMs):0===this.minDurationMs&&this.activate())}checkDistanceFail(){const e=this.tracker.getAbsoluteCoordsAverage(),t=e.x-this.startX,n=e.y-this.startY;t*t+n*n<=this.maxDistSq||(this.state===o.ACTIVE?this.cancel():this.fail())}},PinchGestureHandler:class extends ue{constructor(...e){super(...e),we(this,"scale",1),we(this,"velocity",0),we(this,"startingSpan",0),we(this,"spanSlop",F),we(this,"scaleDetectorListener",{onScaleBegin:e=>(this.startingSpan=e.currentSpan,!0),onScale:e=>{const t=this.scale;this.scale*=e.calculateScaleFactor(this.tracker.trackedPointersCount);const n=e.timeDelta;return n>0&&(this.velocity=(this.scale-t)/n),Math.abs(this.startingSpan-e.currentSpan)>=this.spanSlop&&this.state===o.BEGAN&&this.activate(),!0},onScaleEnd:e=>{}}),we(this,”scaleGestureDetector”,new be(this.scaleDetectorListener))}init(e,t){super.init(e,t),this.shouldCancelWhenOutside=!1}transformNativeEvent(){return{focalX:this.scaleGestureDetector.focusX,focalY:this.scaleGestureDetector.focusY,velocity:this.velocity,scale:this.scale}}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.scaleGestureDetector.onTouchEvent(e,this.tracker)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.state===o.ACTIVE&&(this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.state===o.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId),this.state===o.ACTIVE&&this.tracker.trackedPointersCount<2&&this.end()}onPointerMove(e){this.tracker.trackedPointersCount<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.trackedPointersCount<2||(this.tracker.track(e),this.scaleGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}tryBegin(){this.state===o.UNDETERMINED&&(this.resetProgress(),this.begin())}activate(e){this.state!==o.ACTIVE&&this.resetProgress(),super.activate(e)}onReset(){this.resetProgress()}resetProgress(){this.state!==o.ACTIVE&&(this.velocity=0,this.scale=1)}},RotationGestureHandler:class extends ue{constructor(...e){super(...e),Ee(this,"rotation",0),Ee(this,"velocity",0),Ee(this,"cachedAnchorX",0),Ee(this,"cachedAnchorY",0),Ee(this,"rotationGestureListener",{onRotationBegin:e=>!0,onRotation:e=>{const t=this.rotation;this.rotation+=e.rotation;const n=e.timeDelta;return n>0&&(this.velocity=(this.rotation-t)/n),Math.abs(this.rotation)>=Se&&this.state===o.BEGAN&&this.activate(),!0},onRotationEnd:e=>{this.end()}}),Ee(this,”rotationGestureDetector”,new _e(this.rotationGestureListener))}init(e,t){super.init(e,t),this.shouldCancelWhenOutside=!1}transformNativeEvent(){return{rotation:this.rotation?this.rotation:0,anchorX:this.getAnchorX(),anchorY:this.getAnchorY(),velocity:this.velocity?this.velocity:0}}getAnchorX(){const e=this.rotationGestureDetector.anchorX;return e||this.cachedAnchorX}getAnchorY(){const e=this.rotationGestureDetector.anchorY;return e||this.cachedAnchorY}onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.tryBegin(),this.rotationGestureDetector.onTouchEvent(e,this.tracker)}onPointerMove(e){this.tracker.trackedPointersCount<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerMove(e))}onPointerOutOfBounds(e){this.tracker.trackedPointersCount<2||(this.getAnchorX()&&(this.cachedAnchorX=this.getAnchorX()),this.getAnchorY()&&(this.cachedAnchorY=this.getAnchorY()),this.tracker.track(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),super.onPointerOutOfBounds(e))}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.state===o.ACTIVE&&(this.state===o.ACTIVE?this.end():this.fail())}onPointerRemove(e){super.onPointerRemove(e),this.rotationGestureDetector.onTouchEvent(e,this.tracker),this.tracker.removeFromTracker(e.pointerId)}tryBegin(){this.state===o.UNDETERMINED&&this.begin()}onReset(){this.state!==o.ACTIVE&&(this.rotation=0,this.velocity=0,this.rotationGestureDetector.reset())}},FlingGestureHandler:class extends ue{constructor(...e){super(...e),Ne(this,"numberOfPointersRequired",1),Ne(this,"direction",Le),Ne(this,"maxDurationMs",800),Ne(this,"minVelocity",700),Ne(this,"delayTimeout",void 0),Ne(this,"maxNumberOfPointersSimultaneously",0),Ne(this,"keyPointer",NaN)}updateGestureConfig(e){let{enabled:t=!0}=e,n=(0,L.default)(e,Me);super.updateGestureConfig(Object.assign({enabled:t},n)),this.config.direction&&(this.direction=this.config.direction),this.config.numberOfPointers&&(this.numberOfPointersRequired=this.config.numberOfPointers)}startFling(){this.begin(),this.maxNumberOfPointersSimultaneously=1,this.delayTimeout=setTimeout((()=>this.fail()),this.maxDurationMs)}tryEndFling(){const e=Re.fromVelocity(this.tracker,this.keyPointer),t=(t,n)=>(t&this.direction)===t&&e.isSimilar(Re.fromDirection(t),n),n=Object.values(Ce),r=Object.values(xe),i=n.map((e=>t(e,Fe))),o=r.map((e=>t(e,Ve))),a=i.some(Boolean)||o.some(Boolean),s=e.magnitude>this.minVelocity;return!(this.maxNumberOfPointersSimultaneously!==this.numberOfPointersRequired||!a||!s)&&(clearTimeout(this.delayTimeout),this.activate(),!0)}endFling(){this.tryEndFling()||this.fail()}onPointerDown(e){this.isButtonInConfig(e.button)&&(this.tracker.addToTracker(e),this.keyPointer=e.pointerId,super.onPointerDown(e),this.newPointerAction(),this.tryToSendTouchEvent(e))}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e),this.newPointerAction()}newPointerAction(){this.state===o.UNDETERMINED&&this.startFling(),this.state===o.BEGAN&&(this.tryEndFling(),this.tracker.trackedPointersCount>this.maxNumberOfPointersSimultaneously&&(this.maxNumberOfPointersSimultaneously=this.tracker.trackedPointersCount))}pointerMoveAction(e){this.tracker.track(e),this.state===o.BEGAN&&this.tryEndFling()}onPointerMove(e){this.pointerMoveAction(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.pointerMoveAction(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.onUp(e),this.keyPointer=NaN}onPointerRemove(e){super.onPointerRemove(e),this.onUp(e)}onUp(e){this.state===o.BEGAN&&this.endFling(),this.tracker.removeFromTracker(e.pointerId)}activate(e){super.activate(e),this.end()}resetConfig(){super.resetConfig(),this.numberOfPointersRequired=1,this.direction=Le}},ManualGestureHandler:class extends ue{onPointerDown(e){this.tracker.addToTracker(e),super.onPointerDown(e),this.begin(),this.tryToSendTouchEvent(e)}onPointerAdd(e){this.tracker.addToTracker(e),super.onPointerAdd(e)}onPointerMove(e){this.tracker.track(e),super.onPointerMove(e)}onPointerOutOfBounds(e){this.tracker.track(e),super.onPointerOutOfBounds(e)}onPointerUp(e){super.onPointerUp(e),this.tracker.removeFromTracker(e.pointerId)}onPointerRemove(e){super.onPointerRemove(e),this.tracker.removeFromTracker(e.pointerId)}},HoverGestureHandler:class extends ue{constructor(…e){super(…e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,”stylusData”,void 0)}transformNativeEvent(){return Object.assign({},super.transformNativeEvent(),{stylusData:this.stylusData})}onPointerMoveOver(e){te.instance.recordHandlerIfNotPresent(this),this.tracker.addToTracker(e),this.stylusData=e.stylusData,super.onPointerMoveOver(e),this.state===o.UNDETERMINED&&(this.begin(),this.activate())}onPointerMoveOut(e){this.tracker.removeFromTracker(e.pointerId),this.stylusData=e.stylusData,super.onPointerMoveOut(e),this.end()}onPointerMove(e){this.tracker.track(e),this.stylusData=e.stylusData,super.onPointerMove(e)}onPointerCancel(e){super.onPointerCancel(e),this.reset()}}},Ar={NativeViewGestureHandler:dr,PanGestureHandler:hr,TapGestureHandler:yr,LongPressGestureHandler:vr,PinchGestureHandler:kr,RotationGestureHandler:_r,FlingGestureHandler:Cr};var Rr=r(33057);function Tr(e){if(e instanceof Rr.default)return e._listRef._scrollRef.firstChild;if(void 0!==(null===e||void 0===e?void 0:e.viewTag))return Tr(e.viewTag);if(e instanceof Element)return”contents”===e.style.display?Tr(e.firstChild):e;if(function(e){const t=Object.getPrototypeOf(e).constructor.name;return Pe.has(t)&&Object.hasOwn(e,”elementRef”)}(e))return e.elementRef.current;let t=null===e||void 0===e?void 0:e.current;for(;t&&”contents”===t.style.display;)t=t.firstChild;return t}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Ir{constructor(e){Dr(this,”view”,void 0),Dr(this,”pointersInBounds”,[]),Dr(this,”activePointersCounter”,void 0),this.view=e,this.activePointersCounter=0}onPointerDown(e){}onPointerAdd(e){}onPointerUp(e){}onPointerRemove(e){}onPointerMove(e){}onPointerLeave(e){}onPointerEnter(e){}onPointerCancel(e){}onPointerOutOfBounds(e){}onPointerMoveOver(e){}onPointerMoveOut(e){}onWheel(e){}setOnPointerDown(e){this.onPointerDown=e}setOnPointerAdd(e){this.onPointerAdd=e}setOnPointerUp(e){this.onPointerUp=e}setOnPointerRemove(e){this.onPointerRemove=e}setOnPointerMove(e){this.onPointerMove=e}setOnPointerLeave(e){this.onPointerLeave=e}setOnPointerEnter(e){this.onPointerEnter=e}setOnPointerCancel(e){this.onPointerCancel=e}setOnPointerOutOfBounds(e){this.onPointerOutOfBounds=e}setOnPointerMoveOver(e){this.onPointerMoveOver=e}setOnPointerMoveOut(e){this.onPointerMoveOut=e}setOnWheel(e){this.onWheel=e}markAsInBounds(e){this.pointersInBounds.indexOf(e)>=0||this.pointersInBounds.push(e)}markAsOutOfBounds(e){const t=this.pointersInBounds.indexOf(e);t<0||this.pointersInBounds.splice(t,1)}resetManager(){this.activePointersCounter=0,this.pointersInBounds=[]}}function Or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jr=new Set(["SELECT","INPUT"]);class Pr extends Ir{constructor(e){super(e),Or(this,"trackedPointers",new Set),Or(this,"mouseButtonsMapper",new Map),Or(this,"lastPosition",void 0),Or(this,"pointerDownCallback",(e=>{if(!De(this.view,{x:e.clientX,y:e.clientY}))return;const t=this.mapEvent(e,V.DOWN),n=e.target;jr.has(n.tagName)||n.setPointerCapture(t.pointerId),this.markAsInBounds(t.pointerId),this.trackedPointers.add(t.pointerId),++this.activePointersCounter>1?(t.eventType=V.ADDITIONAL_POINTER_DOWN,this.onPointerAdd(t)):this.onPointerDown(t)})),Or(this,”pointerUpCallback”,(e=>{if(0===this.activePointersCounter)return;const t=this.mapEvent(e,V.UP),n=e.target;jr.has(n.tagName)||n.releasePointerCapture(t.pointerId),this.markAsOutOfBounds(t.pointerId),this.trackedPointers.delete(t.pointerId),–this.activePointersCounter>0?(t.eventType=V.ADDITIONAL_POINTER_UP,this.onPointerRemove(t)):this.onPointerUp(t)})),Or(this,”pointerMoveCallback”,(e=>{const t=this.mapEvent(e,V.MOVE),n=e.target;n.hasPointerCapture(e.pointerId)||jr.has(n.tagName)||n.setPointerCapture(e.pointerId);const r=De(this.view,{x:t.x,y:t.y}),i=this.pointersInBounds.indexOf(t.pointerId);r?i<0?(t.eventType=V.ENTER,this.onPointerEnter(t),this.markAsInBounds(t.pointerId)):this.onPointerMove(t):i>=0?(t.eventType=V.LEAVE,this.onPointerLeave(t),this.markAsOutOfBounds(t.pointerId)):this.onPointerOutOfBounds(t),this.lastPosition.x=e.x,this.lastPosition.y=e.y})),Or(this,”pointerCancelCallback”,(e=>{const t=this.mapEvent(e,V.CANCEL);this.onPointerCancel(t),this.markAsOutOfBounds(t.pointerId),this.activePointersCounter=0,this.trackedPointers.clear()})),Or(this,”pointerEnterCallback”,(e=>{const t=this.mapEvent(e,V.ENTER);this.onPointerMoveOver(t)})),Or(this,”pointerLeaveCallback”,(e=>{const t=this.mapEvent(e,V.LEAVE);this.onPointerMoveOut(t)})),Or(this,”lostPointerCaptureCallback”,(e=>{const t=this.mapEvent(e,V.CANCEL);this.trackedPointers.has(t.pointerId)&&(this.onPointerCancel(t),this.activePointersCounter=0,this.trackedPointers.clear())})),this.mouseButtonsMapper.set(0,se.LEFT),this.mouseButtonsMapper.set(1,se.MIDDLE),this.mouseButtonsMapper.set(2,se.RIGHT),this.mouseButtonsMapper.set(3,se.BUTTON_4),this.mouseButtonsMapper.set(4,se.BUTTON_5),this.lastPosition={x:-1/0,y:-1/0}}registerListeners(){this.view.addEventListener(“pointerdown”,this.pointerDownCallback),this.view.addEventListener(“pointerup”,this.pointerUpCallback),this.view.addEventListener(“pointermove”,this.pointerMoveCallback),this.view.addEventListener(“pointercancel”,this.pointerCancelCallback),this.view.addEventListener(“pointerenter”,this.pointerEnterCallback),this.view.addEventListener(“pointerleave”,this.pointerLeaveCallback),this.view.addEventListener(“lostpointercapture”,this.lostPointerCaptureCallback)}unregisterListeners(){this.view.removeEventListener(“pointerdown”,this.pointerDownCallback),this.view.removeEventListener(“pointerup”,this.pointerUpCallback),this.view.removeEventListener(“pointermove”,this.pointerMoveCallback),this.view.removeEventListener(“pointercancel”,this.pointerCancelCallback),this.view.removeEventListener(“pointerenter”,this.pointerEnterCallback),this.view.removeEventListener(“pointerleave”,this.pointerLeaveCallback),this.view.removeEventListener(“lostpointercapture”,this.lostPointerCaptureCallback)}mapEvent(e,t){var n;const r=this.view.getBoundingClientRect(),{scaleX:i,scaleY:o}=function(e){var t;const n=getComputedStyle(e),r={scaleX:1,scaleY:1};if(void 0!==n.scale&&”none”!==n.scale){const e=n.scale.split(” “);e[0]&&(r.scaleX=parseFloat(e[0])),r.scaleY=e[1]?parseFloat(e[1]):parseFloat(e[0])}const i=null===(t=new RegExp(/matrix\((.+)\)/).exec(n.transform))||void 0===t?void 0:t[1];if(i){const e=i.split(“, “);r.scaleX*=parseFloat(e[0]),r.scaleY*=parseFloat(e[3])}return r}(this.view);return{x:e.clientX,y:e.clientY,offsetX:(e.clientX-r.left)/i,offsetY:(e.clientY-r.top)/o,pointerId:e.pointerId,eventType:t,pointerType:null!==(n=Ie.get(e.pointerType))&&void 0!==n?n:U.OTHER,button:this.mouseButtonsMapper.get(e.button),time:e.timeStamp,stylusData:je(e)}}resetManager(){super.resetManager(),this.trackedPointers.clear()}}function Mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Nr extends Ir{constructor(…e){super(…e),Mr(this,”activationKeys”,[“Enter”,” “]),Mr(this,”cancelationKeys”,[“Tab”]),Mr(this,”isPressed”,!1),Mr(this,”keyDownCallback”,(e=>{-1!==this.cancelationKeys.indexOf(e.key)&&this.isPressed?this.dispatchEvent(e,V.CANCEL):-1!==this.activationKeys.indexOf(e.key)&&this.dispatchEvent(e,V.DOWN)})),Mr(this,”keyUpCallback”,(e=>{-1!==this.activationKeys.indexOf(e.key)&&this.isPressed&&this.dispatchEvent(e,V.UP)}))}dispatchEvent(e,t){if(!(e.target instanceof HTMLElement))return;const n=this.mapEvent(e,t);switch(t){case V.UP:this.isPressed=!1,this.onPointerUp(n);break;case V.DOWN:this.isPressed=!0,this.onPointerDown(n);break;case V.CANCEL:this.isPressed=!1,this.onPointerCancel(n)}}registerListeners(){this.view.addEventListener(“keydown”,this.keyDownCallback),this.view.addEventListener(“keyup”,this.keyUpCallback)}unregisterListeners(){this.view.removeEventListener(“keydown”,this.keyDownCallback),this.view.removeEventListener(“keyup”,this.keyUpCallback)}mapEvent(e,t){const n=e.target.getBoundingClientRect(),r={x:(null===n||void 0===n?void 0:n.x)+(null===n||void 0===n?void 0:n.width)/2,y:(null===n||void 0===n?void 0:n.y)+(null===n||void 0===n?void 0:n.height)/2},i={x:(null===n||void 0===n?void 0:n.width)/2,y:(null===n||void 0===n?void 0:n.height)/2};return{x:r.x,y:r.y,offsetX:i.x,offsetY:i.y,pointerId:0,eventType:t,pointerType:U.KEY,time:e.timeStamp}}}function Lr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Fr extends Ir{constructor(…e){super(…e),Lr(this,”wheelDelta”,{x:0,y:0}),Lr(this,”resetDelta”,(e=>{this.wheelDelta={x:0,y:0}})),Lr(this,”wheelCallback”,(e=>{this.wheelDelta.x+=e.deltaX,this.wheelDelta.y+=e.deltaY;const t=this.mapEvent(e);this.onWheel(t)}))}registerListeners(){this.view.addEventListener(“pointermove”,this.resetDelta),this.view.addEventListener(“wheel”,this.wheelCallback)}unregisterListeners(){this.view.removeEventListener(“pointermove”,this.resetDelta),this.view.removeEventListener(“wheel”,this.wheelCallback)}mapEvent(e){return{x:e.clientX+this.wheelDelta.x,y:e.clientY+this.wheelDelta.y,offsetX:e.offsetX-e.deltaX,offsetY:e.offsetY-e.deltaY,pointerId:-1,eventType:V.MOVE,pointerType:U.OTHER,time:e.timeStamp,wheelDeltaY:e.wheelDeltaY}}resetManager(){super.resetManager()}}function Vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Br{constructor(){Vr(this,”isInitialized”,!1),Vr(this,”_view”,void 0),Vr(this,”gestureHandler”,void 0),Vr(this,”eventManagers”,[]),Vr(this,”defaultViewStyles”,{userSelect:””,touchAction:””})}init(e,t){if(!e)throw new Error(`Cannot find HTML Element for handler ${t.handlerTag}`);this.isInitialized=!0,this.gestureHandler=t,this.view=Tr(e),this.defaultViewStyles={userSelect:this.view.style.userSelect,touchAction:this.view.style.touchAction};const n=t.config;this.setUserSelect(n.enabled),this.setTouchAction(n.enabled),this.setContextMenu(n.enabled),this.eventManagers.push(new Pr(this.view)),this.eventManagers.push(new Nr(this.view)),this.eventManagers.push(new Fr(this.view)),this.eventManagers.forEach((e=>this.gestureHandler.attachEventManager(e)))}isPointerInBounds({x:e,y:t}){return De(this.view,{x:e,y:t})}measureView(){const e=this.view.getBoundingClientRect();return{pageX:e.left,pageY:e.top,width:e.width,height:e.height}}reset(){this.eventManagers.forEach((e=>e.resetManager()))}tryResetCursor(){const e=this.gestureHandler.config;e.activeCursor&&”auto”!==e.activeCursor&&this.gestureHandler.state===o.ACTIVE&&(this.view.style.cursor=”auto”)}shouldDisableContextMenu(e){return void 0===e.enableContextMenu&&this.gestureHandler.isButtonInConfig(se.RIGHT)||!1===e.enableContextMenu}addContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.addEventListener(“contextmenu”,this.disableContextMenu):e.enableContextMenu&&this.view.addEventListener(“contextmenu”,this.enableContextMenu)}removeContextMenuListeners(e){this.shouldDisableContextMenu(e)?this.view.removeEventListener(“contextmenu”,this.disableContextMenu):e.enableContextMenu&&this.view.removeEventListener(“contextmenu”,this.enableContextMenu)}disableContextMenu(e){e.preventDefault()}enableContextMenu(e){e.stopPropagation()}setUserSelect(e){const{userSelect:t}=this.gestureHandler.config;this.view.style.userSelect=e?null!==t&&void 0!==t?t:”none”:this.defaultViewStyles.userSelect,this.view.style.webkitUserSelect=e?null!==t&&void 0!==t?t:”none”:this.defaultViewStyles.userSelect}setTouchAction(e){const{touchAction:t}=this.gestureHandler.config;this.view.style.touchAction=e?null!==t&&void 0!==t?t:”none”:this.defaultViewStyles.touchAction,this.view.style.WebkitTouchCallout=e?null!==t&&void 0!==t?t:”none”:this.defaultViewStyles.touchAction}setContextMenu(e){const t=this.gestureHandler.config;e?this.addContextMenuListeners(t):this.removeContextMenuListeners(t)}onEnabledChange(e){this.isInitialized&&(this.setUserSelect(e),this.setTouchAction(e),this.setContextMenu(e),e?this.eventManagers.forEach((e=>{e.registerListeners()})):this.eventManagers.forEach((e=>{e.unregisterListeners()})))}onBegin(){}onActivate(){const e=this.gestureHandler.config;this.view.style.cursor&&”auto”!==this.view.style.cursor||!e.activeCursor||(this.view.style.cursor=e.activeCursor)}onEnd(){this.tryResetCursor()}onCancel(){this.tryResetCursor()}onFail(){this.tryResetCursor()}destroy(e){this.removeContextMenuListeners(e),this.eventManagers.forEach((e=>{e.unregisterListeners()}))}get view(){return this._view}set view(e){this._view=e}}let Hr=!1;const Ur={handleSetJSResponder(e,t){},handleClearJSResponder(){},createGestureHandler(e,t,n){if(N()){if(!(e in xr))throw new Error(`react-native-gesture-handler: ${e} is not supported on web.`);const r=xr[e];w.createGestureHandler(t,new r(new Br)),re.instance.configureInteractions(w.getHandler(t),n)}else{if(!(e in Ar))throw new Error(`react-native-gesture-handler: ${e} is not supported on web.`);!function(e,t){if(e in Xn)throw new Error(`Handler with tag ${e} already exists`);Xn[e]=t,Xn[e].handlerTag=e}(t,new(0,Ar[e]))}this.updateGestureHandler(t,n)},attachGestureHandler(e,t,n,r){if(!(t instanceof Element||t instanceof s.Component)){Hr=!0;const t=(N()?w.getHandler(e):qn(e)).constructor.name;throw new Error(`${t} with tag ${e} received child that is not valid HTML element.`)}N()?w.getHandler(e).init(t,r):qn(e).setView(t,r)},updateGestureHandler(e,t){N()?(w.getHandler(e).updateGestureConfig(t),re.instance.configureInteractions(w.getHandler(e),t)):qn(e).updateGestureConfig(t)},getGestureHandlerNode:e=>N()?w.getHandler(e):qn(e),dropGestureHandler(e){Hr||(N()?w.dropGestureHandler(e):function(e){e in Xn&&(qn(e).destroy(),delete Xn[e])}(e))},flushOperations(){}};var zr=r(59550),Wr=r(62273),Kr=r.n(Wr),Xr=r(67842);const qr=s.createContext(!1),Gr=[“style”];function Yr(){return Yr=Object.assign||function(e){for(var t=1;te)).filter((e=>e))}let oi=!1;function ai(){oi||(oi=!0,Gn((()=>{Ur.flushOperations(),oi=!1})))}const si={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4};function li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class ci{static addMountListener(e){return this.mountListeners.add(e),()=>{this.mountListeners.delete(e)}}static addUnmountListener(e){return this.unmountListeners.add(e),()=>{this.unmountListeners.delete(e)}}static gestureHandlerWillMount(e){this.mountListeners.forEach((t=>t(e)))}static gestureHandlerWillUnmount(e){this.unmountListeners.forEach((t=>t(e)))}static gestureWillMount(e){this.mountListeners.forEach((t=>t(e)))}static gestureWillUnmount(e){this.unmountListeners.forEach((t=>t(e)))}}var ui;function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}li(ci,”mountListeners”,new Set),li(ci,”unmountListeners”,new Set);const pi=ei.default,fi=Object.assign({onGestureHandlerEvent:{registrationName:”onGestureHandlerEvent”},onGestureHandlerStateChange:{registrationName:”onGestureHandlerStateChange”}},u()&&!1);pi.genericDirectEventTypes=Object.assign({},pi.genericDirectEventTypes,fi);const hi=null===(ui=pi.getViewManagerConfig)||void 0===ui?void 0:ui.call(pi,”getConstants”);hi&&(hi.genericDirectEventTypes=Object.assign({},hi.genericDirectEventTypes,fi));const{setJSResponder:mi=(()=>{}),clearJSResponder:gi=(()=>{})}=pi;pi.setJSResponder=(e,t)=>{Ur.handleSetJSResponder(e,t),mi(e,t)},pi.clearJSResponder=()=>{Ur.handleClearJSResponder(),gi()};let yi=!0;function vi(e){const t=e=>Array.isArray(e)?e.some((e=>e&&null===e.current)):e&&null===e.current;return t(e.simultaneousHandlers)||t(e.waitFor)}const bi={[o.UNDETERMINED]:void 0,[o.BEGAN]:”onBegan”,[o.FAILED]:”onFailed”,[o.CANCELLED]:”onCancelled”,[o.ACTIVE]:”onActivated”,[o.END]:”onEnded”};function wi({name:t,allowedProps:n=[],config:r={},transformProps:i,customNativeProps:o=[]}){class a extends s.Component{constructor(e){if(super(e),di(this,”handlerTag”,-1),di(this,”config”,void 0),di(this,”propsRef”,void 0),di(this,”isMountedRef”,void 0),di(this,”viewNode”,void 0),di(this,”viewTag”,void 0),di(this,”inspectorToggleListener”,void 0),di(this,”onGestureHandlerEvent”,(e=>{var t,n,r,i;e.nativeEvent.handlerTag===this.handlerTag?”function”===typeof this.props.onGestureEvent&&(null===(t=(n=this.props).onGestureEvent)||void 0===t||t.call(n,e)):null===(r=(i=this.props).onGestureHandlerEvent)||void 0===r||r.call(i,e)})),di(this,”onGestureHandlerStateChange”,(e=>{if(e.nativeEvent.handlerTag===this.handlerTag){var t,n;if(“function”===typeof this.props.onHandlerStateChange)null===(t=(n=this.props).onHandlerStateChange)||void 0===t||t.call(n,e);const r=e.nativeEvent.state,i=bi[r],o=i&&this.props[i];o&&”function”===typeof o&&o(e)}else{var r,i;null===(r=(i=this.props).onGestureHandlerStateChange)||void 0===r||r.call(i,e)}})),di(this,”refHandler”,(e=>{var t;this.viewNode=e;const n=s.Children.only(this.props.children),r=s.version.startsWith(“19.”)?null===(t=n.props)||void 0===t?void 0:t.ref:null===n||void 0===n?void 0:n.ref;r&&(“function”===typeof r?r(e):r.current=e)})),di(this,”createGestureHandler”,(e=>{this.handlerTag=ni(),this.config=e,Ur.createGestureHandler(t,this.handlerTag,e)})),di(this,”attachGestureHandler”,(e=>{this.viewTag=e,Ur.attachGestureHandler(this.handlerTag,e,si.JS_FUNCTION_OLD_API,this.propsRef),ai(),Gn((()=>{ci.gestureHandlerWillMount(this)}))})),di(this,”updateGestureHandler”,(e=>{this.config=e,Ur.updateGestureHandler(this.handlerTag,e),ai()})),this.config={},this.propsRef=s.createRef(),this.isMountedRef=s.createRef(),this.state={allowTouches:yi},e.id){if(void 0!==f[e.id])throw new Error(`Handler with ID “${e.id}” already registered`);f[e.id]=this.handlerTag}}componentDidMount(){const e=this.props;if(this.isMountedRef.current=!0,vi(e)&&Gn((()=>{this.update(1)})),this.createGestureHandler(ri(i?i(this.props):this.props,[…n,…o],r)),!this.viewNode)throw new Error(`[Gesture Handler] Failed to obtain view for ${a.displayName}. Note that old API doesn’t support functional components.`);this.attachGestureHandler(Tr(this.viewNode))}componentDidUpdate(){const e=Tr(this.viewNode);this.viewTag!==e&&this.attachGestureHandler(e),this.update(1)}componentWillUnmount(){var e;null===(e=this.inspectorToggleListener)||void 0===e||e.remove(),this.isMountedRef.current=!1,Ur.dropGestureHandler(this.handlerTag),ai();const t=this.props.id;t&&delete f[t],ci.gestureHandlerWillUnmount(this)}update(e){if(!this.isMountedRef.current)return;if(vi(this.props)&&e>0)Gn((()=>{this.update(e-1)}));else{const e=ri(i?i(this.props):this.props,[…n,…o],r);d(this.config,e)||this.updateGestureHandler(e)}}setNativeProps(e){const t=Object.assign({},this.props,e),a=ri(i?i(t):t,[…n,…o],r);this.updateGestureHandler(a)}render(){var n;let r=this.onGestureHandlerEvent;const{onGestureEvent:i,onGestureHandlerEvent:o}=this.props;if(i&&”function”!==typeof i){if(o)throw new Error(“Nesting touch handlers with native animated driver is not supported yet”);r=i}else if(o&&”function”!==typeof o)throw new Error(“Nesting touch handlers with native animated driver is not supported yet”);let a=this.onGestureHandlerStateChange;const{onHandlerStateChange:u,onGestureHandlerStateChange:d}=this.props;if(u&&”function”!==typeof u){if(d)throw new Error(“Nesting touch handlers with native animated driver is not supported yet”);a=u}else if(d&&”function”!==typeof d)throw new Error(“Nesting touch handlers with native animated driver is not supported yet”);const p={onGestureHandlerEvent:this.state.allowTouches?r:void 0,onGestureHandlerStateChange:this.state.allowTouches?a:void 0};this.propsRef.current=p;let f=null;try{f=s.Children.only(this.props.children)}catch(e){throw new Error(c(`${t} got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`))}let h=f.props.children;return s.cloneElement(f,Object.assign({ref:this.refHandler,collapsable:!1},l()?{handlerType:t,handlerTag:this.handlerTag,enabled:this.props.enabled}:{},{testID:null!==(n=this.props.testID)&&void 0!==n?n:f.props.testID},p),h)}}return di(a,”displayName”,t),di(a,”contextType”,qr),a}const ki=[“maxDurationMs”,”maxDelayMs”,”numberOfTaps”,”maxDeltaX”,”maxDeltaY”,”maxDist”,”minPointers”],_i=wi({name:”TapGestureHandler”,allowedProps:[…oe,…ki],config:{shouldCancelWhenOutside:!0}}),Ei={get forceTouchAvailable(){return!1}};const Si=[“minForce”,”maxForce”,”feedbackOnActivation”];class Ci extends s.Component{componentDidMount(){}render(){return this.props.children}}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Ci,”forceTouchAvailable”,!1);const xi=null!==Ei&&void 0!==Ei&&Ei.forceTouchAvailable?wi({name:”ForceTouchGestureHandler”,allowedProps:[…oe,…Si],config:{}}):Ci;xi.forceTouchAvailable=(null===Ei||void 0===Ei?void 0:Ei.forceTouchAvailable)||!1;const Ai=[“minDurationMs”,”maxDist”,”numberOfPointers”],Ri=wi({name:”LongPressGestureHandler”,allowedProps:[…oe,…Ai],config:{shouldCancelWhenOutside:!0}}),Ti=[“activeOffsetY”,”activeOffsetX”,”failOffsetY”,”failOffsetX”,”minDist”,”minVelocity”,”minVelocityX”,”minVelocityY”,”minPointers”,”maxPointers”,”avgTouches”,”enableTrackpadTwoFingerGesture”,”activateAfterLongPress”],Di=[“activeOffsetYStart”,”activeOffsetYEnd”,”activeOffsetXStart”,”activeOffsetXEnd”,”failOffsetYStart”,”failOffsetYEnd”,”failOffsetXStart”,”failOffsetXEnd”],Ii=wi({name:”PanGestureHandler”,allowedProps:[…oe,…Ti],config:{},transformProps:function(e){0;return function(e){const t=Object.assign({},e);void 0!==e.activeOffsetX&&(delete t.activeOffsetX,Array.isArray(e.activeOffsetX)?(t.activeOffsetXStart=e.activeOffsetX[0],t.activeOffsetXEnd=e.activeOffsetX[1]):e.activeOffsetX<0?t.activeOffsetXStart=e.activeOffsetX:t.activeOffsetXEnd=e.activeOffsetX);void 0!==e.activeOffsetY&&(delete t.activeOffsetY,Array.isArray(e.activeOffsetY)?(t.activeOffsetYStart=e.activeOffsetY[0],t.activeOffsetYEnd=e.activeOffsetY[1]):e.activeOffsetY<0?t.activeOffsetYStart=e.activeOffsetY:t.activeOffsetYEnd=e.activeOffsetY);void 0!==e.failOffsetX&&(delete t.failOffsetX,Array.isArray(e.failOffsetX)?(t.failOffsetXStart=e.failOffsetX[0],t.failOffsetXEnd=e.failOffsetX[1]):e.failOffsetX<0?t.failOffsetXStart=e.failOffsetX:t.failOffsetXEnd=e.failOffsetX);void 0!==e.failOffsetY&&(delete t.failOffsetY,Array.isArray(e.failOffsetY)?(t.failOffsetYStart=e.failOffsetY[0],t.failOffsetYEnd=e.failOffsetY[1]):e.failOffsetY<0?t.failOffsetYStart=e.failOffsetY:t.failOffsetYEnd=e.failOffsetY);return t}(e)},customNativeProps:Di});const Oi=wi({name:"PinchGestureHandler",allowedProps:oe,config:{}}),ji=wi({name:"RotationGestureHandler",allowedProps:oe,config:{}}),Pi=["numberOfPointers","direction"],Mi=wi({name:"FlingGestureHandler",allowedProps:[...oe,...Pi],config:{}}),Ni=["shouldActivateOnStart","disallowInterruption"],Li=[...oe,...Ni],Fi=wi({name:"NativeViewGestureHandler",allowedProps:Li,config:{}});function Vi(){return Vi=Object.assign||function(e){for(var t=1;t{const{gestureHandlerProps:i,childProps:o}=Object.keys(n).reduce(((e,t)=>(Bi.includes(t)?e.gestureHandlerProps[t]=n[t]:e.childProps[t]=n[t],e)),{gestureHandlerProps:Object.assign({},t),childProps:{enabled:n.enabled,hitSlop:n.hitSlop,testID:n.testID}}),a=(0,s.useRef)(null),l=(0,s.useRef)(null);return(0,s.useImperativeHandle)(r,(()=>{const e=l.current;return a.current&&e?(a.current.handlerTag=e.handlerTag,a.current):null}),[a,l]),s.createElement(Fi,Vi({},i,{ref:l}),s.createElement(e,Vi({},o,{ref:a})))}));return r.displayName=(null===e||void 0===e?void 0:e.displayName)||(null===e||void 0===e||null===(n=e.render)||void 0===n?void 0:n.name)||”string”===typeof e&&e||”ComponentWrapper”,r}function Ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zi={UNDEFINED:0,BEGAN:1,START:2,UPDATE:3,CHANGE:4,END:5,FINALIZE:6,TOUCHES_DOWN:7,TOUCHES_MOVE:8,TOUCHES_UP:9,TOUCHES_CANCELLED:10};class Wi{}let Ki=0;class Xi extends Wi{constructor(){super(),Ui(this,”gestureId”,-1),Ui(this,”handlerTag”,-1),Ui(this,”handlerName”,””),Ui(this,”config”,{}),Ui(this,”handlers”,{gestureId:-1,handlerTag:-1,isWorklet:[]}),this.gestureId=Ki++,this.handlers.gestureId=this.gestureId}addDependency(e,t){const n=this.config[e];this.config[e]=n?Array().concat(n,t):[t]}withRef(e){return this.config.ref=e,this}isWorklet(e){return void 0!==e.__workletHash}onBegin(e){return this.handlers.onBegin=e,this.handlers.isWorklet[zi.BEGAN]=this.isWorklet(e),this}onStart(e){return this.handlers.onStart=e,this.handlers.isWorklet[zi.START]=this.isWorklet(e),this}onEnd(e){return this.handlers.onEnd=e,this.handlers.isWorklet[zi.END]=this.isWorklet(e),this}onFinalize(e){return this.handlers.onFinalize=e,this.handlers.isWorklet[zi.FINALIZE]=this.isWorklet(e),this}onTouchesDown(e){return this.config.needsPointerData=!0,this.handlers.onTouchesDown=e,this.handlers.isWorklet[zi.TOUCHES_DOWN]=this.isWorklet(e),this}onTouchesMove(e){return this.config.needsPointerData=!0,this.handlers.onTouchesMove=e,this.handlers.isWorklet[zi.TOUCHES_MOVE]=this.isWorklet(e),this}onTouchesUp(e){return this.config.needsPointerData=!0,this.handlers.onTouchesUp=e,this.handlers.isWorklet[zi.TOUCHES_UP]=this.isWorklet(e),this}onTouchesCancelled(e){return this.config.needsPointerData=!0,this.handlers.onTouchesCancelled=e,this.handlers.isWorklet[zi.TOUCHES_CANCELLED]=this.isWorklet(e),this}enabled(e){return this.config.enabled=e,this}shouldCancelWhenOutside(e){return this.config.shouldCancelWhenOutside=e,this}hitSlop(e){return this.config.hitSlop=e,this}activeCursor(e){return this.config.activeCursor=e,this}mouseButton(e){return this.config.mouseButton=e,this}runOnJS(e){return this.config.runOnJS=e,this}simultaneousWithExternalGesture(…e){for(const t of e)this.addDependency(“simultaneousWith”,t);return this}requireExternalGestureToFail(…e){for(const t of e)this.addDependency(“requireToFail”,t);return this}blocksExternalGesture(…e){for(const t of e)this.addDependency(“blocksHandlers”,t);return this}withTestId(e){return this.config.testId=e,this}cancelsTouchesInView(e){return this.config.cancelsTouchesInView=e,this}initialize(){this.handlerTag=ni(),this.handlers=Object.assign({},this.handlers,{handlerTag:this.handlerTag}),this.config.ref&&(this.config.ref.current=this)}toGestureArray(){return[this]}prepare(){}get shouldUseReanimated(){return!0!==this.config.runOnJS&&!this.handlers.isWorklet.includes(!1)&&!function(){const e=r.g;return(!e.nativeCallSyncHook||!!e.__REMOTEDEV__)&&!e.RN$Bridgeless}()}}class qi extends Xi{onUpdate(e){return this.handlers.onUpdate=e,this.handlers.isWorklet[zi.UPDATE]=this.isWorklet(e),this}onChange(e){return this.handlers.onChange=e,this.handlers.isWorklet[zi.CHANGE]=this.isWorklet(e),this}manualActivation(e){return this.config.manualActivation=e,this}}var Gi;let Yi;try{Yi=r(61551)}catch(e){Yi=void 0}null!==(Gi=Yi)&&void 0!==Gi&&Gi.useSharedValue||(Yi=void 0);const Zi={code:”function reactNativeGestureHandler_reanimatedWrapperJs1(){const{tagMessage}=this.__closure;console.warn(tagMessage(‘Please use newer version of react-native-reanimated in order to control state of the gestures.’));}”};void 0===Yi||Yi.setGestureState||(Yi.setGestureState=function(){const e=function(){};return e.__closure={tagMessage:c},e.__workletHash=7298969188432,e.__initData=Zi,e}());const Ji={code:”function getHandler_reactNativeGestureHandler_useAnimatedGestureJs1(type,gesture){const{CALLBACK_TYPE}=this.__closure;switch(type){case CALLBACK_TYPE.BEGAN:return gesture.onBegin;case CALLBACK_TYPE.START:return gesture.onStart;case CALLBACK_TYPE.UPDATE:return gesture.onUpdate;case CALLBACK_TYPE.CHANGE:return gesture.onChange;case CALLBACK_TYPE.END:return gesture.onEnd;case CALLBACK_TYPE.FINALIZE:return gesture.onFinalize;case CALLBACK_TYPE.TOUCHES_DOWN:return gesture.onTouchesDown;case CALLBACK_TYPE.TOUCHES_MOVE:return gesture.onTouchesMove;case CALLBACK_TYPE.TOUCHES_UP:return gesture.onTouchesUp;case CALLBACK_TYPE.TOUCHES_CANCELLED:return gesture.onTouchesCancelled;}}”},$i=function(){const e=function(e,t){switch(e){case zi.BEGAN:return t.onBegin;case zi.START:return t.onStart;case zi.UPDATE:return t.onUpdate;case zi.CHANGE:return t.onChange;case zi.END:return t.onEnd;case zi.FINALIZE:return t.onFinalize;case zi.TOUCHES_DOWN:return t.onTouchesDown;case zi.TOUCHES_MOVE:return t.onTouchesMove;case zi.TOUCHES_UP:return t.onTouchesUp;case zi.TOUCHES_CANCELLED:return t.onTouchesCancelled}};return e.__closure={CALLBACK_TYPE:zi},e.__workletHash=4317557963300,e.__initData=Ji,e}(),Qi={code:”function touchEventTypeToCallbackType_reactNativeGestureHandler_useAnimatedGestureJs2(eventType){const{TouchEventType,CALLBACK_TYPE}=this.__closure;switch(eventType){case TouchEventType.TOUCHES_DOWN:return CALLBACK_TYPE.TOUCHES_DOWN;case TouchEventType.TOUCHES_MOVE:return CALLBACK_TYPE.TOUCHES_MOVE;case TouchEventType.TOUCHES_UP:return CALLBACK_TYPE.TOUCHES_UP;case TouchEventType.TOUCHES_CANCELLED:return CALLBACK_TYPE.TOUCHES_CANCELLED;}return CALLBACK_TYPE.UNDEFINED;}”},eo=function(){const e=function(e){switch(e){case a.TOUCHES_DOWN:return zi.TOUCHES_DOWN;case a.TOUCHES_MOVE:return zi.TOUCHES_MOVE;case a.TOUCHES_UP:return zi.TOUCHES_UP;case a.TOUCHES_CANCELLED:return zi.TOUCHES_CANCELLED}return zi.UNDEFINED};return e.__closure={TouchEventType:a,CALLBACK_TYPE:zi},e.__workletHash=2039840524711,e.__initData=Qi,e}(),to={code:”function runWorklet_reactNativeGestureHandler_useAnimatedGestureJs3(type,gesture,event,…args){const{getHandler,tagMessage}=this.__closure;const handler=getHandler(type,gesture);if(gesture.isWorklet[type]){handler===null||handler===void 0?void 0:handler(event,…args);}else if(handler){console.warn(tagMessage(‘Animated gesture callback must be a worklet’));}}”},no=function(){const e=function(e,t,n,…r){const i=$i(e,t);t.isWorklet[e]&&(null===i||void 0===i||i(n,…r))};return e.__closure={getHandler:$i,tagMessage:c},e.__workletHash=0xfd590d2cb89,e.__initData=to,e}(),ro={code:”function isStateChangeEvent_reactNativeGestureHandler_useAnimatedGestureJs4(event){return event.oldState!=null;}”},io=function(){const e=function(e){return null!=e.oldState};return e.__closure={},e.__workletHash=7889847699524,e.__initData=ro,e}(),oo={code:”function isTouchEvent_reactNativeGestureHandler_useAnimatedGestureJs5(event){return event.eventType!=null;}”},ao=function(){const e=function(e){return null!=e.eventType};return e.__closure={},e.__workletHash=0xbe72c4143d5,e.__initData=oo,e}(),so={code:”function reactNativeGestureHandler_useAnimatedGestureJs6(event){const{sharedHandlersCallbacks,isStateChangeEvent,State,runWorklet,CALLBACK_TYPE,lastUpdateEvent,isTouchEvent,stateControllers,GestureStateManager,TouchEventType,touchEventTypeToCallbackType}=this.__closure;const currentCallback=sharedHandlersCallbacks.value;if(!currentCallback){return;}for(let i=0;ie>0)))&&void 0!==t?t:[]}function go(e){return{waitFor:mo(e.config.requireToFail),simultaneousHandlers:mo(e.config.simultaneousWith),blocksHandlers:mo(e.config.blocksHandlers)}}function yo({preparedGesture:e,gestureConfig:t,gesturesToAttach:n,viewTag:r,webEventHandlersRef:i}){t.initialize(),Gn((()=>{e.isMounted&&t.prepare()}));for(const o of n)Ur.createGestureHandler(o.handlerName,o.handlerTag,ri(o.config,fo)),y(o.handlerTag,o,o.config.testId);Gn((()=>{if(e.isMounted){for(const e of n)Ur.updateGestureHandler(e.handlerTag,ri(e.config,fo,go(e)));ai()}}));for(const o of n){o.shouldUseReanimated?si.REANIMATED_WORKLET:si.JS_FUNCTION_NEW_API;Ur.attachGestureHandler(o.handlerTag,r,si.JS_FUNCTION_OLD_API,i),ci.gestureWillMount(o)}if(e.attachedGestures=n,e.animatedHandlers){const t=e=>e.shouldUseReanimated;e.animatedHandlers.value=n.filter(t).map((e=>e.handlers))}}function vo(e,t){if(t.length!==e.attachedGestures.length)return!0;for(let n=0;n{try{const e=s.Children.only(t);if(function(e){var t,n,r;return(null===(t=e.ref)||void 0===t||!t.rngh)&&(“WebShape”===(null===(n=Object.getPrototypeOf(null===e||void 0===e?void 0:e.type))||void 0===n?void 0:n.name)||Pe.has(null===e||void 0===e||null===(r=e.type)||void 0===r?void 0:r.displayName))}(e)){return s.cloneElement(e,{ref:n},e.props.children)}return s.createElement(“div”,{ref:n,style:{display:”contents”}},e)}catch(e){throw new Error(c(“GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.”))}})),ko=wo;function _o(e,t,n,r,i){const o=function(){const[e,t]=(0,s.useState)(!1);return(0,s.useCallback)((()=>{t(!e)}),[e,t])}(),a=(0,s.useCallback)((a=>{const s=Tr(e.viewRef),l=s!==e.previousViewTag;l||vo(t,n)?(e.viewRef,bo(t),yo({preparedGesture:t,gestureConfig:r,gesturesToAttach:n,webEventHandlersRef:i,viewTag:s}),l&&(e.previousViewTag=s,e.forceRebuildReanimatedEvent=!0,o())):a||function(e,t,n){t.prepare();for(let i=0;i{if(!e.isMounted)return;if(r!==e.attachedGestures)return;let t=r.length!==n.length;for(let e=0;ee.shouldUseReanimated)).map((e=>e.handlers));e.animatedHandlers.value=t}ai()}))}(t,r,n)}),[o,r,n,t,e,i]);return a}function Eo(e,t){if(void 0===e)return!1;for(const n of ii(e))if(n===t.handlerTag)return!0;return!1}const So=e=>{(0,s.useContext)(qr);const t=e.gesture;!function(e,t){const n=[“userSelect”,”enableContextMenu”,”touchAction”];for(const r of n){const n=e[r];if(void 0!==n)for(const e of t.toGestureArray())e.config[r]=n}}(e,t);const n=(0,s.useMemo)((()=>t.toGestureArray()),[t]),r=n.some((e=>e.shouldUseReanimated)),i=(0,s.useRef)({onGestureHandlerEvent:e=>{D(e.nativeEvent)},onGestureHandlerStateChange:N()?e=>{D(e.nativeEvent)}:void 0}),l=(0,s.useRef)({firstRender:!0,viewRef:null,previousViewTag:-1,forceRebuildReanimatedEvent:!1}).current,c=s.useRef({attachedGestures:[],animatedEventHandler:null,animatedHandlers:null,shouldUseReanimated:r,isMounted:!1}).current,u=_o(l,c,n,t,i),d=function(e,t){return(0,s.useCallback)((n=>{null!==n&&(e.viewRef=n,-1===e.previousViewTag&&(e.previousViewTag=Tr(e.viewRef)),e.firstRender||t(!0))}),[e,t])}(l,u),p=l.firstRender||l.forceRebuildReanimatedEvent||vo(c,n);return l.forceRebuildReanimatedEvent=!1,function(e,t){if(!Yi)return;const n=Yi.useSharedValue(null),r=Yi.useSharedValue([]),i=[],s=function(){const e=function(e){const t=n.value;if(t)for(let n=0;n{const e=Tr(l.viewRef);return c.isMounted=!0,yo({preparedGesture:c,gestureConfig:t,gesturesToAttach:n,webEventHandlersRef:i,viewTag:e}),()=>{c.isMounted=!1,bo(c)}}),[]),(0,s.useEffect)((()=>{l.firstRender?l.firstRender=!1:u()}),[e]),function(e,t){(0,s.useEffect)((()=>ci.addMountListener((n=>{for(const r of t.attachedGestures){const t=r.config.blocksHandlers,i=r.config.requireToFail,o=r.config.simultaneousWith;if(Eo(t,n)||Eo(i,n)||Eo(o,n))return void e()}}))),[e,t])}(u,c),r?s.createElement(ko,{ref:d,onGestureHandlerEvent:c.animatedEventHandler},e.children):s.createElement(wo,{ref:d},e.children)};class Co extends Xi{constructor(){super(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,”config”,{}),this.handlerName=”FlingGestureHandler”}numberOfPointers(e){return this.config.numberOfPointers=e,this}direction(e){return this.config.direction=e,this}}const xo={code:”function changeEventCalculator_reactNativeGestureHandler_forceTouchGestureJs1(current,previous){let changePayload;if(previous===undefined){changePayload={forceChange:current.force};}else{changePayload={forceChange:current.force-previous.force};}return{…current,…changePayload};}”},Ao=function(){const e=function(e,t){let n;return n=void 0===t?{forceChange:e.force}:{forceChange:e.force-t.force},Object.assign({},e,n)};return e.__closure={},e.__workletHash=6555184671956,e.__initData=xo,e}();class Ro extends qi{constructor(){super(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,”config”,{}),this.handlerName=”ForceTouchGestureHandler”}minForce(e){return this.config.minForce=e,this}maxForce(e){return this.config.maxForce=e,this}feedbackOnActivation(e){return this.config.feedbackOnActivation=e,this}onChange(e){return this.handlers.changeEventCalculator=Ao,super.onChange(e)}}function To(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Do(e,t){return void 0===e?[…t]:[…e,…t]}class Io extends Wi{constructor(…e){super(),To(this,”gestures”,[]),To(this,”simultaneousGestures”,[]),To(this,”requireGesturesToFail”,[]),this.gestures=e}prepareSingleGesture(e,t,n){if(e instanceof Xi){const r=Object.assign({},e.config);r.simultaneousWith=Do(r.simultaneousWith,t),r.requireToFail=Do(r.requireToFail,n),e.config=r}else e instanceof Io&&(e.simultaneousGestures=t,e.requireGesturesToFail=n,e.prepare())}prepare(){for(const e of this.gestures)this.prepareSingleGesture(e,this.simultaneousGestures,this.requireGesturesToFail)}initialize(){for(const e of this.gestures)e.initialize()}toGestureArray(){return this.gestures.flatMap((e=>e.toGestureArray()))}}class Oo extends Io{prepare(){const e=this.gestures.map((e=>this.gestures.filter((t=>t!==e)).flatMap((e=>e.toGestureArray()))));for(let t=0;te.toGestureArray()));let t=[];for(let n=0;nnew Wo,Pan:()=>new Lo,Pinch:()=>new Bo,Rotation:()=>new zo,Fling:()=>new Co,LongPress:()=>new Po,ForceTouch:()=>new Ro,Native:()=>new Ko,Manual:()=>new Go,Hover:()=>new po,Race:(…e)=>new Io(…e),Simultaneous:(…e)=>new Oo(…e),Exclusive:(…e)=>new jo(…e)};var Zo=r(6740),Jo=r(24139);function $o(){return $o=Object.assign||function(e){for(var t=1;ts.createElement(Xr.default,$o({ref:t,accessibilityRole:”button”},e)))),ea=[“rippleColor”,”style”],ta=[“children”,”style”],na=[“children”,”style”,”innerRef”];function ra(){return ra=Object.assign||function(e){for(var t=1;t{const{state:t,oldState:n,pointerInside:r}=e,i=r&&t===o.ACTIVE;i!==this.lastActive&&this.props.onActiveStateChange&&this.props.onActiveStateChange(i),!this.longPressDetected&&n===o.ACTIVE&&t!==o.CANCELLED&&this.lastActive&&this.props.onPress&&this.props.onPress(r),!this.lastActive&&t===o.ACTIVE&&r?(this.longPressDetected=!1,this.props.onLongPress&&(this.longPressTimeout=setTimeout(this.onLongPress,this.props.delayLongPress))):(t!==o.ACTIVE||r||void 0===this.longPressTimeout)&&(void 0===this.longPressTimeout||t!==o.END&&t!==o.CANCELLED&&t!==o.FAILED)||(clearTimeout(this.longPressTimeout),this.longPressTimeout=void 0),this.lastActive=i})),ia(this,”onLongPress”,(()=>{var e,t;this.longPressDetected=!0,null===(e=(t=this.props).onLongPress)||void 0===e||e.call(t)})),ia(this,”onHandlerStateChange”,(e=>{var t,n;null===(t=(n=this.props).onHandlerStateChange)||void 0===t||t.call(n,e),this.handleEvent(e)})),ia(this,”onGestureEvent”,(e=>{var t,n;null===(t=(n=this.props).onGestureEvent)||void 0===t||t.call(n,e),this.handleEvent(e)})),this.lastActive=!1,this.longPressDetected=!1}render(){const e=this.props,{rippleColor:t,style:n}=e,r=(0,L.default)(e,ea);null===aa&&(aa=u());const i=aa?t:(0,Jo.default)(null!==t&&void 0!==t?t:void 0);return s.createElement(oa,ra({ref:this.props.innerRef,rippleColor:i,style:[n,!1]},r,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}ia(sa,”defaultProps”,{delayLongPress:600});const la=Zo.default.createAnimatedComponent(sa),ca=s.forwardRef(((e,t)=>s.createElement(sa,ra({innerRef:t},e)))),ua=s.forwardRef(((e,t)=>s.createElement(la,ra({innerRef:t},e)))),da=zr.default.create({underlay:{position:”absolute”,left:0,right:0,bottom:0,top:0}});class pa extends s.Component{constructor(e){super(e),ia(this,”opacity”,void 0),ia(this,”onActiveStateChange”,(e=>{var t,n;this.opacity.setValue(e?this.props.activeOpacity:0),null===(t=(n=this.props).onActiveStateChange)||void 0===t||t.call(n,e)})),this.opacity=new Zo.default.Value(0)}render(){const e=this.props,{children:t,style:n}=e,r=(0,L.default)(e,ta),i=zr.default.flatten(null!==n&&void 0!==n?n:{});return s.createElement(ca,ra({},r,{ref:this.props.innerRef,style:i,onActiveStateChange:this.onActiveStateChange}),s.createElement(Zo.default.View,{style:[da.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:i.borderRadius,borderTopLeftRadius:i.borderTopLeftRadius,borderTopRightRadius:i.borderTopRightRadius,borderBottomLeftRadius:i.borderBottomLeftRadius,borderBottomRightRadius:i.borderBottomRightRadius}]}),t)}}ia(pa,”defaultProps”,{activeOpacity:.105,underlayColor:”black”});const fa=s.forwardRef(((e,t)=>s.createElement(pa,ra({innerRef:t},e))));class ha extends s.Component{constructor(e){super(e),ia(this,”opacity”,void 0),ia(this,”onActiveStateChange”,(e=>{var t,n;this.opacity.setValue(e?this.props.activeOpacity:1),null===(t=(n=this.props).onActiveStateChange)||void 0===t||t.call(n,e)})),this.opacity=new Zo.default.Value(1)}render(){const e=this.props,{children:t,style:n,innerRef:r}=e,i=(0,L.default)(e,na);return s.createElement(ua,ra({},i,{innerRef:r,onActiveStateChange:this.onActiveStateChange,style:[n,!1]}),t)}}ia(ha,”defaultProps”,{activeOpacity:.3,borderless:!0});const ma=s.forwardRef(((e,t)=>s.createElement(ha,ra({innerRef:t},e))));const ga=r(75610).default;function ya(){return ya=Object.assign||function(e){for(var t=1;t{this.pointerInside!==e&&(e?this.onMoveIn():this.onMoveOut()),this.pointerInside=e})),va(this,”onHandlerStateChange”,(({nativeEvent:e})=>{const{state:t}=e;if(t===o.CANCELLED||t===o.FAILED)this.moveToState(ba);else if(t===o.ACTIVE&&this.STATE===ba)this.handlePressIn();else if(t===o.END){const e=!this.longPressDetected&&this.STATE!==ka&&null===this.pressOutTimeout;var n,r;if(this.handleGoToUndetermined(),e)null===(n=(r=this.props).onPress)||void 0===n||n.call(r)}})),va(this,”onLongPressDetected”,(()=>{var e,t;this.longPressDetected=!0,null===(e=(t=this.props).onLongPress)||void 0===e||e.call(t)}))}handlePressIn(){if(this.props.delayPressIn?this.pressInTimeout=setTimeout((()=>{this.moveToState(wa),this.pressInTimeout=null}),this.props.delayPressIn):this.moveToState(wa),this.props.onLongPress){const e=(this.props.delayPressIn||0)+(this.props.delayLongPress||0);this.longPressTimeout=setTimeout(this.onLongPressDetected,e)}}handleMoveOutside(){this.props.delayPressOut?this.pressOutTimeout=this.pressOutTimeout||setTimeout((()=>{this.moveToState(ka),this.pressOutTimeout=null}),this.props.delayPressOut):this.moveToState(ka)}handleGoToUndetermined(){clearTimeout(this.pressOutTimeout),this.props.delayPressOut?this.pressOutTimeout=setTimeout((()=>{this.STATE===ba&&this.moveToState(wa),this.moveToState(ba),this.pressOutTimeout=null}),this.props.delayPressOut):(this.STATE===ba&&this.moveToState(wa),this.moveToState(ba))}componentDidMount(){this.reset()}reset(){this.longPressDetected=!1,this.pointerInside=!0,clearTimeout(this.pressInTimeout),clearTimeout(this.pressOutTimeout),clearTimeout(this.longPressTimeout),this.pressOutTimeout=null,this.longPressTimeout=null,this.pressInTimeout=null}moveToState(e){var t,n;if(e!==this.STATE){var r,i;if(e===wa)null===(r=(i=this.props).onPressIn)||void 0===r||r.call(i);else if(e===ka){var o,a;null===(o=(a=this.props).onPressOut)||void 0===o||o.call(a)}else if(e===ba){var s,l;if(this.reset(),this.STATE===wa)null===(s=(l=this.props).onPressOut)||void 0===s||s.call(l)}null===(t=(n=this.props).onStateChange)||void 0===t||t.call(n,this.STATE,e),this.STATE=e}}componentWillUnmount(){this.reset()}onMoveIn(){this.STATE===ka&&this.moveToState(wa)}onMoveOut(){clearTimeout(this.longPressTimeout),this.longPressTimeout=null,this.STATE===wa&&this.handleMoveOutside()}render(){var e,t;const n=null!==(e=”number”===typeof this.props.hitSlop?{top:this.props.hitSlop,left:this.props.hitSlop,bottom:this.props.hitSlop,right:this.props.hitSlop}:this.props.hitSlop)&&void 0!==e?e:void 0,r={accessible:!1!==this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityHint:this.props.accessibilityHint,accessibilityRole:this.props.accessibilityRole,accessibilityState:this.props.accessibilityState,accessibilityActions:this.props.accessibilityActions,onAccessibilityAction:this.props.onAccessibilityAction,nativeID:this.props.nativeID,onLayout:this.props.onLayout};return s.createElement(ca,ya({style:this.props.containerStyle,onHandlerStateChange:this.props.disabled?void 0:this.onHandlerStateChange,onGestureEvent:this.onGestureEvent,hitSlop:n,userSelect:this.props.userSelect,shouldActivateOnStart:this.props.shouldActivateOnStart,disallowInterruption:this.props.disallowInterruption,testID:this.props.testID,touchSoundDisabled:null!==(t=this.props.touchSoundDisabled)&&void 0!==t&&t,enabled:!this.props.disabled},this.props.extraButtonProps),s.createElement(Zo.default.View,ya({},r,{style:this.props.style}),this.props.children))}}va(_a,”defaultProps”,{delayLongPress:600,extraButtonProps:{rippleColor:”transparent”,exclusive:!0}});const Ea=[“delayLongPress”,”extraButtonProps”];function Sa(){return Sa=Object.assign||function(e){for(var t=1;t{let{delayLongPress:n=600,extraButtonProps:r={rippleColor:”transparent”,exclusive:!0}}=e,i=(0,L.default)(e,Ea);return s.createElement(_a,Sa({ref:t,delayLongPress:n,extraButtonProps:r},i))}));var xa=r(91601);const Aa=[“style”];function Ra(){return Ra=Object.assign||function(e){for(var t=1;t{const e=zr.default.flatten(this.props.style)||{};return null==e.opacity?1:e.opacity.valueOf()})),Ta(this,”opacity”,new Zo.default.Value(this.getChildStyleOpacityWithDefault())),Ta(this,”setOpacityTo”,((e,t)=>{var n;Zo.default.timing(this.opacity,{toValue:e,duration:t,easing:xa.default.inOut(xa.default.quad),useNativeDriver:null===(n=this.props.useNativeAnimations)||void 0===n||n}).start()})),Ta(this,”onStateChange”,((e,t)=>{t===wa?this.setOpacityTo(this.props.activeOpacity,0):t!==ba&&t!==ka||this.setOpacityTo(this.getChildStyleOpacityWithDefault(),150)}))}render(){const e=this.props,{style:t={}}=e,n=(0,L.default)(e,Aa);return s.createElement(_a,Ra({},n,{style:[t,{opacity:this.opacity}],onStateChange:this.onStateChange}),this.props.children?this.props.children:s.createElement(Xr.default,null))}}Ta(Da,”defaultProps”,Object.assign({},_a.defaultProps,{activeOpacity:.2}));const Ia=[“style”];function Oa(){return Oa=Object.assign||function(e){for(var t=1;t{var e,t;this.hasPressHandler()&&(this.setState({extraChildStyle:{opacity:this.props.activeOpacity},extraUnderlayStyle:{backgroundColor:this.props.underlayColor}}),null===(e=(t=this.props).onShowUnderlay)||void 0===e||e.call(t))})),ja(this,”hasPressHandler”,(()=>this.props.onPress||this.props.onPressIn||this.props.onPressOut||this.props.onLongPress)),ja(this,”hideUnderlay”,(()=>{var e,t;this.setState({extraChildStyle:null,extraUnderlayStyle:null}),null===(e=(t=this.props).onHideUnderlay)||void 0===e||e.call(t)})),ja(this,”onStateChange”,((e,t)=>{t===wa?this.showUnderlay():t!==ba&&t!==ka||this.hideUnderlay()})),this.state={extraChildStyle:null,extraUnderlayStyle:null}}renderChildren(){if(!this.props.children)return s.createElement(Xr.default,null);const e=s.Children.only(this.props.children);return s.cloneElement(e,{style:zr.default.compose(e.props.style,this.state.extraChildStyle)})}render(){const e=this.props,{style:t={}}=e,n=(0,L.default)(e,Ia),{extraUnderlayStyle:r}=this.state;return s.createElement(_a,Oa({},n,{style:[t,r],onStateChange:this.onStateChange}),this.renderChildren())}}ja(Pa,”defaultProps”,Object.assign({},_a.defaultProps,{activeOpacity:.85,delayPressOut:100,underlayColor:”black”}));var Ma=r(91159),Na=r(8299);function La(){return La=Object.assign||function(e){for(var t=1;ts.createElement(Xr.default,null),Ua=Hi(Xr.default),za=s.forwardRef(((e,t)=>s.createElement(Rr.default,La({ref:t},e,{renderScrollComponent:e=>s.createElement(Fa,e)}))));var Wa=r(33387);const Ka=[“onPress”,”onLongPress”];function Xa(){return Xa=Object.assign||function(e){for(var t=1;t{const{onPress:n,onLongPress:r}=e,i=(0,L.default)(e,Ka),o=(0,s.useRef)(null),a=Yo.Native().runOnJS(!0),l=e=>{o.current=e,null!==t&&(“function”===typeof t?t(e):t.current=e)};return l.rngh=!0,(0,s.useEffect)((()=>{const e=t?t.current:o.current;null===e||void 0===e||e.setAttribute(“rnghtext”,”true”)}),[]),n||r?s.createElement(So,{gesture:a},s.createElement(Wa.default,Xa({onPress:n,onLongPress:r,ref:l},i))):s.createElement(Wa.default,Xa({ref:t},i))}));var Ga=r(7287);function Ya(){return Ya=Object.assign||function(e){for(var t=1;t{const{friction:n,overshootFriction:r}=e,{dragX:i,rowTranslation:o,leftWidth:a=0,rowWidth:s=0}=t,{rightOffset:l=s}=t,c=Math.max(0,s-l),{overshootLeft:u=a>0,overshootRight:d=c>0}=e,p=Zo.default.add(o,i.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-c-1,-c,a,a+1],outputRange:[-c-(d?1/r:0),-c,a,a+(u?1/r:0)]});this.transX=p,this.showLeftAction=a>0?p.interpolate({inputRange:[-1,0,a],outputRange:[0,0,1]}):new Zo.default.Value(0),this.leftActionTranslate=this.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:”clamp”}),this.showRightAction=c>0?p.interpolate({inputRange:[-c,0,1],outputRange:[1,0,0]}):new Zo.default.Value(0),this.rightActionTranslate=this.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:”clamp”})})),Za(this,”onTapHandlerStateChange”,(({nativeEvent:e})=>{e.oldState===o.ACTIVE&&this.close()})),Za(this,”onHandlerStateChange”,(e=>{if(e.nativeEvent.oldState===o.ACTIVE&&this.handleRelease(e),e.nativeEvent.state===o.ACTIVE){const{velocityX:o,translationX:a}=e.nativeEvent,{rowState:s}=this.state,{friction:l}=this.props,c=-1===s?”right”:1===s||(a+.05*o)/l>0?”left”:”right”;var t,n,r,i;if(0===s)null===(t=(n=this.props).onSwipeableOpenStartDrag)||void 0===t||t.call(n,c);else null===(r=(i=this.props).onSwipeableCloseStartDrag)||void 0===r||r.call(i,c)}})),Za(this,”handleRelease”,(e=>{const{velocityX:t,translationX:n}=e.nativeEvent,{leftWidth:r=0,rowWidth:i=0,rowState:o}=this.state,{rightOffset:a=i}=this.state,s=i-a,{friction:l,leftThreshold:c=r/2,rightThreshold:u=s/2}=this.props,d=this.currentOffset()+n/l,p=(n+.05*t)/l;let f=0;0===o?p>c?f=r:p<-u&&(f=-s):1===o?p>-c&&(f=r):p{const{dragX:r,rowTranslation:i}=this.state;var o,a,s,l;if(r.setValue(0),i.setValue(e),this.setState({rowState:Math.sign(t)}),Zo.default.spring(i,Object.assign({restSpeedThreshold:1.7,restDisplacementThreshold:.4,velocity:n,bounciness:0,toValue:t,useNativeDriver:this.props.useNativeAnimations},this.props.animationOptions)).start((({finished:n})=>{var r,i,o,a;if(n)if(t>0)null===(r=(i=this.props).onSwipeableLeftOpen)||void 0===r||r.call(i),null===(o=(a=this.props).onSwipeableOpen)||void 0===o||o.call(a,”left”,this);else if(t<0){var s,l,c,u;null===(s=(l=this.props).onSwipeableRightOpen)||void 0===s||s.call(l),null===(c=(u=this.props).onSwipeableOpen)||void 0===c||c.call(u,"right",this)}else{var d,p;const t=e>0?”left”:”right”;null===(d=(p=this.props).onSwipeableClose)||void 0===d||d.call(p,t,this)}})),t>0)null===(o=(a=this.props).onSwipeableLeftWillOpen)||void 0===o||o.call(a),null===(s=(l=this.props).onSwipeableWillOpen)||void 0===s||s.call(l,”left”);else if(t<0){var c,u,d,p;null===(c=(u=this.props).onSwipeableRightWillOpen)||void 0===c||c.call(u),null===(d=(p=this.props).onSwipeableWillOpen)||void 0===d||d.call(p,"right")}else{var f,h;const t=e>0?”left”:”right”;null===(f=(h=this.props).onSwipeableWillClose)||void 0===f||f.call(h,t)}})),Za(this,”onRowLayout”,(({nativeEvent:e})=>{this.setState({rowWidth:e.layout.width})})),Za(this,”currentOffset”,(()=>{const{leftWidth:e=0,rowWidth:t=0,rowState:n}=this.state,{rightOffset:r=t}=this.state;return 1===n?e:-1===n?-(t-r):0})),Za(this,”close”,(()=>{this.animateRow(this.currentOffset(),0)})),Za(this,”openLeft”,(()=>{const{leftWidth:e=0}=this.state;this.animateRow(this.currentOffset(),e)})),Za(this,”openRight”,(()=>{const{rowWidth:e=0}=this.state,{rightOffset:t=e}=this.state,n=e-t;this.animateRow(this.currentOffset(),-n)})),Za(this,”reset”,(()=>{const{dragX:e,rowTranslation:t}=this.state;e.setValue(0),t.setValue(0),this.setState({rowState:0})}));const t=new Zo.default.Value(0);this.state={dragX:t,rowTranslation:new Zo.default.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},this.updateAnimatedEvent(e,this.state),this.onGestureEvent=Zo.default.event([{nativeEvent:{translationX:t}}],{useNativeDriver:e.useNativeAnimations})}shouldComponentUpdate(e,t){return this.props.friction===e.friction&&this.props.overshootLeft===e.overshootLeft&&this.props.overshootRight===e.overshootRight&&this.props.overshootFriction===e.overshootFriction&&this.state.leftWidth===t.leftWidth&&this.state.rightOffset===t.rightOffset&&this.state.rowWidth===t.rowWidth||this.updateAnimatedEvent(e,t),!0}render(){const{rowState:e}=this.state,{children:t,renderLeftActions:n,renderRightActions:r,dragOffsetFromLeftEdge:i=10,dragOffsetFromRightEdge:o=10}=this.props,a=n&&s.createElement(Zo.default.View,{style:[$a.leftActions,{transform:[{translateX:this.leftActionTranslate}]}]},n(this.showLeftAction,this.transX,this),s.createElement(Xr.default,{onLayout:({nativeEvent:e})=>this.setState({leftWidth:e.layout.x})})),l=r&&s.createElement(Zo.default.View,{style:[$a.rightActions,{transform:[{translateX:this.rightActionTranslate}]}]},r(this.showRightAction,this.transX,this),s.createElement(Xr.default,{onLayout:({nativeEvent:e})=>this.setState({rightOffset:e.layout.x})}));return s.createElement(Ii,Ya({activeOffsetX:[-o,i],touchAction:”pan-y”},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}),s.createElement(Zo.default.View,{onLayout:this.onRowLayout,style:[$a.container,this.props.containerStyle]},a,l,s.createElement(_i,{enabled:0!==e,touchAction:”pan-y”,onHandlerStateChange:this.onTapHandlerStateChange},s.createElement(Zo.default.View,{pointerEvents:0===e?”auto”:”box-only”,style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle]},t))))}}Za(Ja,”defaultProps”,{friction:1,overshootFriction:1,useNativeAnimations:!0});const $a=zr.default.create({container:{overflow:”hidden”},leftActions:Object.assign({},zr.default.absoluteFillObject,{flexDirection:Ga.default.isRTL?”row-reverse”:”row”}),rightActions:Object.assign({},zr.default.absoluteFillObject,{flexDirection:Ga.default.isRTL?”row”:”row-reverse”})});var Qa=r(96106);const es=e=>({left:e,right:e,top:e,bottom:e}),ts=(e,t,n)=>({identifier:e.id,locationX:e.x,locationY:e.y,pageX:e.absoluteX,pageY:e.absoluteY,target:n,timestamp:t,touches:[],changedTouches:[]}),ns=e=>{const t=Date.now(),n=((e,t,n)=>({identifier:e.handlerTag,locationX:e.x,locationY:e.y,pageX:e.absoluteX,pageY:e.absoluteY,target:n,timestamp:t,touches:[],changedTouches:[]}))(e,t,0);return{nativeEvent:{touches:[n],changedTouches:[n],identifier:n.identifier,locationX:e.x,locationY:e.y,pageX:e.absoluteX,pageY:e.absoluteY,target:0,timestamp:t,force:void 0}}},rs=e=>{var t,n,r,i,o,a,s,l;const c=Date.now();return{nativeEvent:{touches:e.allTouches.map((e=>ts(e,c,0))),changedTouches:e.changedTouches.map((e=>ts(e,c,0))),identifier:e.handlerTag,locationX:null!==(t=null===(n=e.allTouches.at(0))||void 0===n?void 0:n.x)&&void 0!==t?t:-1,locationY:null!==(r=null===(i=e.allTouches.at(0))||void 0===i?void 0:i.y)&&void 0!==r?r:-1,pageX:null!==(o=null===(a=e.allTouches.at(0))||void 0===a?void 0:a.absoluteX)&&void 0!==o?o:-1,pageY:null!==(s=null===(l=e.allTouches.at(0))||void 0===l?void 0:l.absoluteY)&&void 0!==s?s:-1,target:0,timestamp:c,force:void 0}}},is=[“testOnly_pressed”,”hitSlop”,”pressRetentionOffset”,”delayHoverIn”,”onHoverIn”,”delayHoverOut”,”onHoverOut”,”delayLongPress”,”unstable_pressDelay”,”onPress”,”onPressIn”,”onPressOut”,”onLongPress”,”style”,”children”,”android_disableSound”,”android_ripple”,”disabled”,”accessible”];function os(){return os=Object.assign||function(e){for(var t=1;tevent.changedTouches.length){return;}pressOutHandler(gestureTouchToPressableEvent(event));}”},ds={code:”function reactNativeGestureHandler_PressableJs4(event){const{handlingOnTouchesDown,onEndHandlingTouchesDown,pressOutHandler,gestureTouchToPressableEvent,deferredEventPayload,shouldPreventNativeEffects}=this.__closure;if(handlingOnTouchesDown.current){onEndHandlingTouchesDown.current=function(){return pressOutHandler(gestureTouchToPressableEvent(event));};return;}if(deferredEventPayload.current!==null){shouldPreventNativeEffects.current=true;}pressOutHandler(gestureTouchToPressableEvent(event));}”},ps={code:”function reactNativeGestureHandler_PressableJs5(event){const{handlingOnTouchesDown,pressableRef,measureCallback,innerPressableRef}=this.__closure;handlingOnTouchesDown.current=true;if(pressableRef){var _current;(_current=pressableRef.current)===null||_current===void 0?void 0:_current.measure(function(_x,_y,width,height){measureCallback(width,height,event);});}else{var _innerPressableRef$cu;(_innerPressableRef$cu=innerPressableRef.current)===null||_innerPressableRef$cu===void 0?void 0:_innerPressableRef$cu.measure(function(_x,_y,width,height){measureCallback(width,height,event);});}}”},fs={code:”function reactNativeGestureHandler_PressableJs6(){const{Platform,isTouchPropagationAllowed,deferredEventPayload,hasPassedBoundsChecks,pressInHandler,pressOutHandler,shouldPreventNativeEffects,handlingOnTouchesDown}=this.__closure;if(Platform.OS===’web’){isTouchPropagationAllowed.current=true;}if(Platform.OS!==’ios’){return;}if(deferredEventPayload.current){isTouchPropagationAllowed.current=true;if(hasPassedBoundsChecks.current){pressInHandler(deferredEventPayload.current);deferredEventPayload.current=null;}else{pressOutHandler(deferredEventPayload.current);isTouchPropagationAllowed.current=false;}return;}if(hasPassedBoundsChecks.current){isTouchPropagationAllowed.current=true;return;}if(shouldPreventNativeEffects.current){shouldPreventNativeEffects.current=false;if(!handlingOnTouchesDown.current){return;}}isTouchPropagationAllowed.current=true;}”},hs={code:”function reactNativeGestureHandler_PressableJs7(){const{Platform,isTouchPropagationAllowed}=this.__closure;if(Platform.OS===’android’||Platform.OS===’macos’){isTouchPropagationAllowed.current=true;}}”},ms=(0,s.forwardRef)(((e,t)=>{var n;const{testOnly_pressed:r,hitSlop:i,pressRetentionOffset:o,delayHoverIn:a,onHoverIn:l,delayHoverOut:c,onHoverOut:d,delayLongPress:f,unstable_pressDelay:h,onPress:m,onPressIn:g,onPressOut:y,onLongPress:v,style:b,children:w,android_disableSound:k,android_ripple:_,disabled:E,accessible:S}=e,C=(0,L.default)(e,is),[x,A]=(0,s.useState)(null!==r&&void 0!==r&&r),R=(0,s.useRef)(!0),T=(0,s.useRef)(!1),D=(0,s.useRef)(!1),I=(0,s.useMemo)((()=>”number”===typeof i?es(i):null!==i&&void 0!==i?i:{}),[i]),O=(0,s.useMemo)((()=>”number”===typeof o?es(o):null!==o&&void 0!==o?o:{}),[o]),j=(0,s.useRef)(null),P=(0,s.useRef)(null),M=(0,s.useMemo)((()=>Yo.Hover().manualActivation(!0).cancelsTouchesInView(!1).onBegin(function(){const e=function(e){P.current&&clearTimeout(P.current),a?j.current=setTimeout((()=>null===l||void 0===l?void 0:l(ns(e))),a):null===l||void 0===l||l(ns(e))};return e.__closure={hoverOutTimeout:P,clearTimeout:clearTimeout,delayHoverIn:a,hoverInTimeout:j,setTimeout:setTimeout,onHoverIn:l,gestureToPressableEvent:ns},e.__workletHash=0xb52c8fcefa6,e.__initData=cs,e}()).onFinalize(function(){const e=function(e){j.current&&clearTimeout(j.current),c?P.current=setTimeout((()=>null===d||void 0===d?void 0:d(ns(e))),c):null===d||void 0===d||d(ns(e))};return e.__closure={hoverInTimeout:j,clearTimeout:clearTimeout,delayHoverOut:c,hoverOutTimeout:P,setTimeout:setTimeout,onHoverOut:d,gestureToPressableEvent:ns},e.__workletHash=0xc02ba20a8ec,e.__initData=ls,e}())),[a,c,l,d]),N=(0,s.useRef)(null),F=(0,s.useRef)(!1),V=(0,s.useRef)(null),B=(0,s.useCallback)((e=>{U.current&&(V.current=e),F.current&&(V.current=null,null===g||void 0===g||g(e),R.current=!0,N.current=null,A(!0))}),[g]),H=(0,s.useCallback)((e=>{if(!F.current)return T.current=!1,R.current=!0,V.current=null,X.current&&(clearTimeout(X.current),X.current=null),void(N.current&&(clearTimeout(N.current),N.current=null));!T.current||e.nativeEvent.touches.length>e.nativeEvent.changedTouches.length||(h&&null!==N.current&&(clearTimeout(N.current),B(e)),V.current&&(null===g||void 0===g||g(V.current),V.current=null),null===y||void 0===y||y(e),R.current&&(null===m||void 0===m||m(e)),X.current&&(clearTimeout(X.current),X.current=null),F.current=!1,T.current=!1,R.current=!0,A(!1))}),[m,g,y,B,h]),U=(0,s.useRef)(!1),z=(0,s.useRef)(null),W=(0,s.useRef)(!1),K=(0,s.useCallback)((e=>{F.current&&(T.current&&(null===v||void 0===v||v(rs(e)),R.current=!1),X.current&&(clearTimeout(X.current),X.current=null))}),[v]),X=(0,s.useRef)(null),q=(null!==f&&void 0!==f?f:500)+(null!==h&&void 0!==h?h:0),G=(0,s.useRef)(null),Y=(0,s.useCallback)(((e,t,n)=>{var r;if(!((e,t,n)=>{var r,i,o,a,s,l,c,u;return(null!==(r=null===n||void 0===n?void 0:n.x)&&void 0!==r?r:0)<(null!==(i=t.right)&&void 0!==i?i:0)+e.width&&(null!==(o=null===n||void 0===n?void 0:n.y)&&void 0!==o?o:0)<(null!==(a=t.bottom)&&void 0!==a?a:0)+e.height&&(null!==(s=null===n||void 0===n?void 0:n.x)&&void 0!==s?s:0)>-(null!==(l=t.left)&&void 0!==l?l:0)&&(null!==(c=null===n||void 0===n?void 0:n.y)&&void 0!==c?c:0)>-(null!==(u=t.top)&&void 0!==u?u:0)})({width:e,height:t},I,n.changedTouches.at(-1))||T.current||W.current)return W.current=!1,z.current=null,void(U.current=!1);T.current=!0,null===X.current&&(X.current=setTimeout((()=>K(n)),q)),h?N.current=setTimeout((()=>{B(rs(n))}),h):B(rs(n)),null===(r=z.current)||void 0===r||r.call(z),z.current=null,U.current=!1}),[K,q,I,B,h]),Z=(0,s.useMemo)((()=>Yo.LongPress().minDuration(p).maxDistance(p).cancelsTouchesInView(!1).onTouchesDown(function(){const e=function(e){var n,r;(U.current=!0,t)?null===(n=t.current)||void 0===n||n.measure(((t,n,r,i)=>{Y(r,i,e)})):null===(r=G.current)||void 0===r||r.measure(((t,n,r,i)=>{Y(r,i,e)}))};return e.__closure={handlingOnTouchesDown:U,pressableRef:t,measureCallback:Y,innerPressableRef:G},e.__workletHash=4769117753108,e.__initData=ps,e}()).onTouchesUp(function(){const e=function(e){U.current?z.current=()=>H(rs(e)):(null!==V.current&&(D.current=!0),H(rs(e)))};return e.__closure={handlingOnTouchesDown:U,onEndHandlingTouchesDown:z,pressOutHandler:H,gestureTouchToPressableEvent:rs,deferredEventPayload:V,shouldPreventNativeEffects:D},e.__workletHash=0xf0686e7b785,e.__initData=ds,e}()).onTouchesCancelled(function(){const e=function(e){if(R.current=!1,U.current)return W.current=!0,void(z.current=()=>H(rs(e)));!T.current||e.allTouches.length>e.changedTouches.length||H(rs(e))};return e.__closure={isPressCallbackEnabled:R,handlingOnTouchesDown:U,cancelledMidPress:W,onEndHandlingTouchesDown:z,pressOutHandler:H,gestureTouchToPressableEvent:rs,hasPassedBoundsChecks:T},e.__workletHash=6752300585029,e.__initData=us,e}())),[t,Y,H]),J=(0,s.useMemo)((()=>Yo.Native().onBegin(function(){const e=function(){0};return e.__closure={Platform:Qa.default,isTouchPropagationAllowed:F},e.__workletHash=9256909370777,e.__initData=hs,e}()).onStart(function(){const e=function(){F.current=!0};return e.__closure={Platform:Qa.default,isTouchPropagationAllowed:F,deferredEventPayload:V,hasPassedBoundsChecks:T,pressInHandler:B,pressOutHandler:H,shouldPreventNativeEffects:D,handlingOnTouchesDown:U},e.__workletHash=9266572672870,e.__initData=fs,e}())),[B,H]),$=((e,t)=>{var n,r,i,o,a,s,l,c;return{left:(null!==(n=e.left)&&void 0!==n?n:0)+(null!==(r=t.left)&&void 0!==r?r:0),right:(null!==(i=e.right)&&void 0!==i?i:0)+(null!==(o=t.right)&&void 0!==o?o:0),top:(null!==(a=e.top)&&void 0!==a?a:0)+(null!==(s=t.top)&&void 0!==s?s:0),bottom:(null!==(l=e.bottom)&&void 0!==l?l:0)+(null!==(c=t.bottom)&&void 0!==c?c:0)}})(I,O),Q=!0!==E,ee=[J,Z,M];for(const s of ee)s.enabled(Q),s.runOnJS(!0),s.hitSlop($),s.shouldCancelWhenOutside(!1);J.hitSlop(I);const te=Yo.Simultaneous(…ee),ne={cursor:”pointer”},re=”function”===typeof b?b({pressed:x}):b,ie=”function”===typeof w?w({pressed:x}):w,oe=(0,s.useMemo)((()=>{var e;null===ss&&(ss=u());const t=_?void 0:”transparent”,n=null!==(e=null===_||void 0===_?void 0:_.color)&&void 0!==e?e:t;return ss?n:(0,Jo.default)(n)}),[_]);return s.createElement(So,{gesture:te},s.createElement(Qo,os({},C,{ref:null!==t&&void 0!==t?t:G,accessible:!1!==S,hitSlop:$,enabled:Q,touchSoundDisabled:null!==k&&void 0!==k?k:void 0,rippleColor:oe,rippleRadius:null!==(n=null===_||void 0===_?void 0:_.radius)&&void 0!==n?n:void 0,style:[ne,re],testOnly_onPress:as?m:void 0,testOnly_onPressIn:as?g:void 0,testOnly_onPressOut:as?y:void 0,testOnly_onLongPress:as?v:void 0}),ie,null))})),gs=ms;var ys=r(69590),vs=r.n(ys),bs=r(13308),ws=r(8970);function ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _s=”Idle”,Es=”Dragging”,Ss=”Settling”;class Cs extends s.Component{constructor(e){super(e),ks(this,”openValue”,void 0),ks(this,”onGestureEvent”,void 0),ks(this,”accessibilityIsModalView”,s.createRef()),ks(this,”pointerEventsView”,s.createRef()),ks(this,”panGestureHandler”,s.createRef()),ks(this,”drawerShown”,!1),ks(this,”updateAnimatedEvent”,((e,t)=>{const{drawerPosition:n,drawerWidth:r,drawerType:i}=e,{dragX:o,touchX:a,drawerTranslation:s,containerWidth:l}=t;let c=o,u=a;”left”!==n?(c=Zo.default.multiply(new Zo.default.Value(-1),o),u=Zo.default.add(new Zo.default.Value(l),Zo.default.multiply(new Zo.default.Value(-1),a)),a.setValue(l)):a.setValue(0);let d=c;if(“front”===i){const e=Zo.default.add(u,Zo.default.multiply(new Zo.default.Value(-1),c)).interpolate({inputRange:[r-1,r,r+1],outputRange:[0,0,1]});d=Zo.default.add(c,e)}this.openValue=Zo.default.add(d,s).interpolate({inputRange:[0,r],outputRange:[0,1],extrapolate:”clamp”});const p={useNativeDriver:e.useNativeAnimations};this.props.onDrawerSlide&&(p.listener=e=>{var t,n;const r=Math.floor(Math.abs(e.nativeEvent.translationX))/this.state.containerWidth;null===(t=(n=this.props).onDrawerSlide)||void 0===t||t.call(n,r)}),this.onGestureEvent=Zo.default.event([{nativeEvent:{translationX:o,x:a}}],p)})),ks(this,”handleContainerLayout”,(({nativeEvent:e})=>{this.setState({containerWidth:e.layout.width})})),ks(this,”emitStateChanged”,((e,t)=>{var n,r;null===(n=(r=this.props).onDrawerStateChanged)||void 0===n||n.call(r,e,t)})),ks(this,”openingHandlerStateChange”,(({nativeEvent:e})=>{e.oldState===o.ACTIVE?this.handleRelease({nativeEvent:e}):e.state===o.ACTIVE&&(this.emitStateChanged(Es,!1),this.setState({drawerState:Es}),”on-drag”===this.props.keyboardDismissMode&&bs.default.dismiss(),this.props.hideStatusBar&&ws.default.setHidden(!0,this.props.statusBarAnimation||”slide”))})),ks(this,”onTapHandlerStateChange”,(({nativeEvent:e})=>{this.drawerShown&&e.oldState===o.ACTIVE&&”locked-open”!==this.props.drawerLockMode&&this.closeDrawer()})),ks(this,”handleRelease”,(({nativeEvent:e})=>{const{drawerWidth:t,drawerPosition:n,drawerType:r}=this.props,{containerWidth:i}=this.state;let{translationX:o,velocityX:a,x:s}=e;”left”!==n&&(o=-o,s=i-s,a=-a);const l=s-o;let c=0;”front”===r&&(c=l>t?l-t:0);const u=o+c+(this.drawerShown?t:0);u+.05*a>t/2?this.animateDrawer(u,t,a):this.animateDrawer(u,0,a)})),ks(this,”updateShowing”,(e=>{var t,n,r;this.drawerShown=e,null===(t=this.accessibilityIsModalView.current)||void 0===t||t.setNativeProps({accessibilityViewIsModal:e}),null===(n=this.pointerEventsView.current)||void 0===n||n.setNativeProps({pointerEvents:e?”auto”:”none”});const{drawerPosition:i,minSwipeDistance:o,edgeWidth:a}=this.props,s=”left”===i,l=(s?1:-1)*(this.drawerShown?-1:1),c=s?{left:0,width:e?void 0:a}:{right:0,width:e?void 0:a};null===(r=this.panGestureHandler.current)||void 0===r||r.setNativeProps({hitSlop:c,activeOffsetX:l*o})})),ks(this,”animateDrawer”,((e,t,n,r)=>{if(this.state.dragX.setValue(0),this.state.touchX.setValue(“left”===this.props.drawerPosition?0:this.state.containerWidth),null!=e){let r=e;this.props.useNativeAnimations&&(e0?r=Math.min(e+n/60,t):e>t&&n<0&&(r=Math.max(e+n/60,t))),this.state.drawerTranslation.setValue(r)}const i=0!==t;this.updateShowing(i),this.emitStateChanged(Ss,i),this.setState({drawerState:Ss}),this.props.hideStatusBar&&ws.default.setHidden(i,this.props.statusBarAnimation||"slide"),Zo.default.spring(this.state.drawerTranslation,{velocity:n,bounciness:0,toValue:t,useNativeDriver:this.props.useNativeAnimations,speed:null!==r&&void 0!==r?r:void 0}).start((({finished:e})=>{var t,n,r,o;e&&(this.emitStateChanged(_s,i),this.setState({drawerOpened:i}),this.state.drawerState!==Es&&this.setState({drawerState:_s}),i?null===(t=(n=this.props).onDrawerOpen)||void 0===t||t.call(n):null===(r=(o=this.props).onDrawerClose)||void 0===r||r.call(o))}))})),ks(this,”openDrawer”,((e={})=>{this.animateDrawer(void 0,this.props.drawerWidth,e.velocity?e.velocity:0,e.speed),this.forceUpdate()})),ks(this,”closeDrawer”,((e={})=>{this.animateDrawer(void 0,0,e.velocity?e.velocity:0,e.speed),this.forceUpdate()})),ks(this,”renderOverlay”,(()=>{let e;vs()(this.openValue,”should be set”),e=this.state.drawerState!==_s?this.openValue:this.state.drawerOpened?1:0;const t={opacity:e,backgroundColor:this.props.overlayColor};return s.createElement(_i,{onHandlerStateChange:this.onTapHandlerStateChange},s.createElement(Zo.default.View,{pointerEvents:this.drawerShown?”auto”:”none”,ref:this.pointerEventsView,style:[xs.overlay,t]}))})),ks(this,”renderDrawer”,(()=>{const{drawerBackgroundColor:e,drawerWidth:t,drawerPosition:n,drawerType:r,drawerContainerStyle:i,contentContainerStyle:o}=this.props,a=”left”===n,l=”back”!==r,c=”front”!==r,u=Ga.default.isRTL?a:!a,d={backgroundColor:e,width:t},p=this.openValue;let f;if(vs()(p,”should be set”),c){f={transform:[{translateX:p.interpolate({inputRange:[0,1],outputRange:a?[0,t]:[0,-t],extrapolate:”clamp”})}]}}let h=0;if(l){const e=a?-t:t;h=this.state.drawerState!==_s?p.interpolate({inputRange:[0,1],outputRange:[e,0],extrapolate:”clamp”}):this.state.drawerOpened?0:e}const m={transform:[{translateX:h}],flexDirection:u?”row-reverse”:”row”};return s.createElement(Zo.default.View,{style:xs.main,onLayout:this.handleContainerLayout},s.createElement(Zo.default.View,{style:[“front”===r?xs.containerOnBack:xs.containerInFront,f,o],importantForAccessibility:this.drawerShown?”no-hide-descendants”:”yes”},”function”===typeof this.props.children?this.props.children(this.openValue):this.props.children,this.renderOverlay()),s.createElement(Zo.default.View,{pointerEvents:”box-none”,ref:this.accessibilityIsModalView,accessibilityViewIsModal:this.drawerShown,style:[xs.drawerContainer,m,i]},s.createElement(Xr.default,{style:d},this.props.renderNavigationView(this.openValue))))})),ks(this,”setPanGestureRef”,(e=>{var t,n;this.panGestureHandler.current=e,null===(t=(n=this.props).onGestureRef)||void 0===t||t.call(n,e)}));const t=new Zo.default.Value(0),n=new Zo.default.Value(0),r=new Zo.default.Value(0);this.state={dragX:t,touchX:n,drawerTranslation:r,containerWidth:0,drawerState:_s,drawerOpened:!1},this.updateAnimatedEvent(e,this.state)}shouldComponentUpdate(e,t){return this.props.drawerPosition===e.drawerPosition&&this.props.drawerWidth===e.drawerWidth&&this.props.drawerType===e.drawerType&&this.state.containerWidth===t.containerWidth||this.updateAnimatedEvent(e,t),!0}render(){const{drawerPosition:e,drawerLockMode:t,edgeWidth:n,minSwipeDistance:r}=this.props,i=”left”===e,o=(i?1:-1)*(this.drawerShown?-1:1),a=i?{left:0,width:this.drawerShown?void 0:n}:{right:0,width:this.drawerShown?void 0:n};return s.createElement(Ii,{userSelect:this.props.userSelect,activeCursor:this.props.activeCursor,mouseButton:this.props.mouseButton,enableContextMenu:this.props.enableContextMenu,ref:this.setPanGestureRef,hitSlop:a,activeOffsetX:o*r,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:”locked-closed”!==t&&”locked-open”!==t},this.renderDrawer())}}ks(Cs,”defaultProps”,{drawerWidth:200,drawerPosition:”left”,useNativeAnimations:!0,drawerType:”front”,edgeWidth:20,minSwipeDistance:3,overlayColor:”rgba(0, 0, 0, 0.7)”,drawerLockMode:”unlocked”,enableTrackpadTwoFingerGesture:!1}),ks(Cs,”positions”,{Left:”left”,Right:”right”});const xs=zr.default.create({drawerContainer:Object.assign({},zr.default.absoluteFillObject,{zIndex:1001,flexDirection:”row”}),containerInFront:Object.assign({},zr.default.absoluteFillObject,{zIndex:1002}),containerOnBack:Object.assign({},zr.default.absoluteFillObject),main:{flex:1,zIndex:0,overflow:”hidden”},overlay:Object.assign({},zr.default.absoluteFillObject,{zIndex:1e3})});I()},5366:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{AndroidSoftInputModes:()=>Y,DefaultKeyboardToolbarTheme:()=>gt,FocusedInputEvents:()=>s,KeyboardAvoidingView:()=>De,KeyboardAwareScrollView:()=>at,KeyboardContext:()=>_,KeyboardController:()=>$,KeyboardControllerNative:()=>o,KeyboardControllerView:()=>c,KeyboardEvents:()=>a,KeyboardGestureArea:()=>u,KeyboardProvider:()=>G,KeyboardStickyView:()=>Pe,KeyboardToolbar:()=>xt,OverKeyboardView:()=>Rt,RCTOverKeyboardView:()=>d,WindowDimensionsEvents:()=>l,useFocusedInputHandler:()=>ue,useGenericKeyboardHandler:()=>ae,useKeyboardAnimation:()=>ie,useKeyboardContext:()=>E,useKeyboardController:()=>le,useKeyboardHandler:()=>se,useKeyboardState:()=>ne,useReanimatedFocusedInput:()=>ce,useReanimatedKeyboardAnimation:()=>oe,useResizeMode:()=>re,useWindowDimensions:()=>Q.default});var r=n(67842);const i=()=>{},o={setDefaultMode:i,setInputMode:i,dismiss:i,setFocusTo:i,addListener:i,removeListeners:i},a={addListener:()=>({remove:i})},s={addListener:()=>({remove:i})},l={addListener:()=>({remove:i})},c=r.default,u=r.default,d=r.default;var p=n(95004),f=n(6740),h=n(59550),m=n(61551);const g=()=>{},y=()=>g,v=e=>({value:e,addListener:g,removeListener:g,modify:g,get:()=>e,set:g}),b=v(0),w=v(null),k={enabled:!0,animated:{progress:new f.default.Value(0),height:new f.default.Value(0)},reanimated:{progress:b,height:b},layout:w,setKeyboardHandlers:y,setInputHandlers:y,setEnabled:g},_=(0,p.createContext)(k),E=()=>(0,p.useContext)(_),S=new Map([[“onStart”,”onKeyboardMoveStart”],[“onMove”,”onKeyboardMove”],[“onEnd”,”onKeyboardMoveEnd”],[“onInteractive”,”onKeyboardMoveInteractive”]]),C=new Map([[“onChangeText”,”onFocusedInputTextChanged”],[“onSelectionChange”,”onFocusedInputSelectionChanged”]]),x=()=>{},A=x,R=x,T={code:”function reactNativeKeyboardController_internalJs1(event){const{functionToCall}=this.__closure;functionToCall===null||functionToCall===void 0||functionToCall(event);}”};function D(e,t){return n=>{const r=[],i=()=>{const i=t.current;r.push(…Object.keys(n).map((t=>{const r=e.get(t),o=n[t];return r&&i?A(function(){const e=function(e){null===o||void 0===o||o(e)};return e.__closure={functionToCall:o},e.__workletHash=4105356989466,e.__initData=T,e}(),r,i):null})))};return t.current?i():queueMicrotask(i),()=>{r.forEach((e=>e?R(e):null))}}}function I(e,t){const n=(0,p.useRef)(null);return null===n.current&&(n.current=new f.default.Value(e,t)),n.current}const O=()=>{},j=O,P=O,M=()=>()=>{},N=M,L=M,F=!0,V=m.default.createAnimatedComponent(f.default.createAnimatedComponent(c)),B=h.default.create({container:{flex:1},hidden:{display:”none”,position:”absolute”}}),H=”web”,U={code:”function reactNativeKeyboardController_animatedJs1(event,platforms){const{OS,progressSV,heightSV}=this.__closure;if(platforms.includes(OS)){progressSV.value=event.progress;heightSV.value=-event.height;}}”},z={code:’function reactNativeKeyboardController_animatedJs2(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,[“ios”]);}’},W={code:’function reactNativeKeyboardController_animatedJs3(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,[“android”]);}’},K={code:’function reactNativeKeyboardController_animatedJs4(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,[“android”,”ios”]);}’},X={code:’function reactNativeKeyboardController_animatedJs5(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,[“android”]);}’},q={code:”function reactNativeKeyboardController_animatedJs6(e){const{layout}=this.__closure;if(e.target!==-1){layout.value=e;}else{layout.value=null;}}”},G=({children:e,statusBarTranslucent:t,navigationBarTranslucent:n,preserveEdgeToEdge:r,enabled:i=!0})=>{const o=(0,p.useRef)(null),[a,s]=(0,p.useState)(i),l=I(0),c=I(0),u=(0,m.useSharedValue)(0),d=(0,m.useSharedValue)(0),h=(0,m.useSharedValue)(null),g=D(S,o),y=D(C,o),v=(0,p.useMemo)((()=>({enabled:a,animated:{progress:l,height:f.default.multiply(c,-1)},reanimated:{progress:u,height:d},layout:h,setKeyboardHandlers:g,setInputHandlers:y,setEnabled:s})),[a]),b=(0,p.useMemo)((()=>[B.hidden,{transform:[{translateX:c},{translateY:l}]}]),[]),w=(0,p.useMemo)((()=>f.default.event([{nativeEvent:{progress:l,height:c}}],{useNativeDriver:!1})),[]),k=function(){const e=function(e,t){t.includes(H)&&(u.value=e.progress,d.value=-e.height)};return e.__closure={OS:H,progressSV:u,heightSV:d},e.__workletHash=0xd6422720300,e.__initData=U,e}(),E=N({onKeyboardMoveStart:function(){const e=function(e){k(e,[“ios”])};return e.__closure={updateSharedValues:k},e.__workletHash=0xc1c534a20a1,e.__initData=z,e}(),onKeyboardMove:function(){const e=function(e){k(e,[“android”])};return e.__closure={updateSharedValues:k},e.__workletHash=2502869656078,e.__initData=W,e}(),onKeyboardMoveInteractive:function(){const e=function(e){k(e,[“android”,”ios”])};return e.__closure={updateSharedValues:k},e.__workletHash=3557402111376,e.__initData=K,e}(),onKeyboardMoveEnd:function(){const e=function(e){k(e,[“android”])};return e.__closure={updateSharedValues:k},e.__workletHash=0xeac57fd71c8,e.__initData=X,e}()},[]),x=L({onFocusedInputLayoutChanged:function(){const e=function(e){-1!==e.target?h.value=e:h.value=null};return e.__closure={layout:h},e.__workletHash=7010723404151,e.__initData=q,e}()},[]);return(0,p.useLayoutEffect)((()=>{a?j():P()}),[a]),p.createElement(_.Provider,{value:v},p.createElement(V,{ref:o,enabled:a,navigationBarTranslucent:F,statusBarTranslucent:F,preserveEdgeToEdge:F,style:B.container,onKeyboardMoveReanimated:E,onKeyboardMoveStart:void 0,onKeyboardMove:void 0,onKeyboardMoveInteractive:w,onKeyboardMoveEnd:void 0,onFocusedInputLayoutChangedReanimated:x},e),p.createElement(f.default.View,{style:b}))};let Y=function(e){return e[e.SOFT_INPUT_ADJUST_NOTHING=48]=”SOFT_INPUT_ADJUST_NOTHING”,e[e.SOFT_INPUT_ADJUST_PAN=32]=”SOFT_INPUT_ADJUST_PAN”,e[e.SOFT_INPUT_ADJUST_RESIZE=16]=”SOFT_INPUT_ADJUST_RESIZE”,e[e.SOFT_INPUT_ADJUST_UNSPECIFIED=0]=”SOFT_INPUT_ADJUST_UNSPECIFIED”,e[e.SOFT_INPUT_IS_FORWARD_NAVIGATION=256]=”SOFT_INPUT_IS_FORWARD_NAVIGATION”,e[e.SOFT_INPUT_MASK_ADJUST=240]=”SOFT_INPUT_MASK_ADJUST”,e[e.SOFT_INPUT_MASK_STATE=15]=”SOFT_INPUT_MASK_STATE”,e[e.SOFT_INPUT_MODE_CHANGED=512]=”SOFT_INPUT_MODE_CHANGED”,e[e.SOFT_INPUT_STATE_ALWAYS_HIDDEN=3]=”SOFT_INPUT_STATE_ALWAYS_HIDDEN”,e[e.SOFT_INPUT_STATE_ALWAYS_VISIBLE=5]=”SOFT_INPUT_STATE_ALWAYS_VISIBLE”,e[e.SOFT_INPUT_STATE_HIDDEN=2]=”SOFT_INPUT_STATE_HIDDEN”,e[e.SOFT_INPUT_STATE_UNCHANGED=1]=”SOFT_INPUT_STATE_UNCHANGED”,e[e.SOFT_INPUT_STATE_UNSPECIFIED=0]=”SOFT_INPUT_STATE_UNSPECIFIED”,e[e.SOFT_INPUT_STATE_VISIBLE=4]=”SOFT_INPUT_STATE_VISIBLE”,e}({}),Z=!0,J={height:0,duration:0,timestamp:(new Date).getTime(),target:-1,type:”default”,appearance:”default”};a.addListener(“keyboardDidHide”,(e=>{Z=!0,J=e})),a.addListener(“keyboardDidShow”,(e=>{Z=!1,J=e}));const $={setDefaultMode:o.setDefaultMode,setInputMode:o.setInputMode,setFocusTo:o.setFocusTo,dismiss:async e=>{const t=(null===e||void 0===e?void 0:e.keepFocus)??!1;return new Promise((e=>{if(Z)return void e();const n=a.addListener(“keyboardDidHide”,(()=>{e(void 0),n.remove()}));o.dismiss(t)}))},isVisible:()=>!Z,state:()=>J};var Q=n(60578);const ee=[“keyboardDidShow”,”keyboardDidHide”],te=()=>Object.assign({},$.state(),{isVisible:$.isVisible()}),ne=()=>{const[e,t]=(0,p.useState)(te);return(0,p.useEffect)((()=>{const e=ee.map((e=>a.addListener(e,(()=>t(te)))));return t(te),()=>{e.forEach((e=>e.remove()))}}),[]),e},re=()=>{(0,p.useEffect)((()=>($.setInputMode(Y.SOFT_INPUT_ADJUST_RESIZE),()=>$.setDefaultMode())),[])},ie=()=>{re();return E().animated},oe=()=>{re();return E().reanimated};function ae(e,t){const n=E();(0,p.useLayoutEffect)((()=>{const t=n.setKeyboardHandlers(e);return()=>t()}),t)}function se(e,t){re(),ae(e,t)}function le(){const e=E();return{setEnabled:e.setEnabled,enabled:e.enabled}}function ce(){return{input:E().layout}}function ue(e,t){const n=E();(0,p.useLayoutEffect)((()=>{const t=n.setInputHandlers(e);return()=>t()}),t)}var de=n(63366);const pe=”web”,fe={code:”function reactNativeKeyboardController_hooksJs1(e){const{isClosed,heightWhenOpened}=this.__closure;if(e.height>0){isClosed.value=false;heightWhenOpened.value=e.height;}}”},he={code:”function reactNativeKeyboardController_hooksJs2(e){const{progress,height}=this.__closure;progress.value=e.progress;height.value=e.height;}”},me={code:”function reactNativeKeyboardController_hooksJs3(e){const{progress,height}=this.__closure;progress.value=e.progress;height.value=e.height;}”},ge={code:”function reactNativeKeyboardController_hooksJs4(e){const{isClosed,height,progress}=this.__closure;isClosed.value=e.height===0;height.value=e.height;progress.value=e.progress;}”},ye={code:’function reactNativeKeyboardController_hooksJs5(e){const{padding,OS,translate}=this.__closure;if(e.height===0){padding.value=0;}if(OS===”ios”){translate.value=e.progress;}}’},ve={code:’function reactNativeKeyboardController_hooksJs6(e){const{OS,translate}=this.__closure;if(OS===”android”){translate.value=e.progress;}}’},be={code:”function reactNativeKeyboardController_hooksJs7(e){const{padding,translate}=this.__closure;padding.value=0;translate.value=e.progress;}”},we={code:’function reactNativeKeyboardController_hooksJs8(e){const{padding,OS,translate}=this.__closure;padding.value=e.progress;if(OS===”android”){translate.value=e.progress;}}’},ke=[“behavior”,”children”,”contentContainerStyle”,”enabled”,”keyboardVerticalOffset”,”style”,”onLayout”];function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{behavior:n,children:i,contentContainerStyle:o,enabled:a=!0,keyboardVerticalOffset:s=0,style:l,onLayout:c}=e,u=(0,de.default)(e,ke);const d=(0,m.useSharedValue)(null),f=(0,m.useDerivedValue)(function(){const e=()=>d.value||Ee;return e.__closure={initialFrame:d,defaultLayout:Ee},e.__workletHash=6066180409086,e.__initData=Se,e}()),{translate:h,padding:g}=(()=>{const{reanimated:e}=E(),t=(0,m.useSharedValue)(0),n=(0,m.useSharedValue)(0);return(0,p.useLayoutEffect)((()=>{t.value=e.progress.value}),[]),se({onStart:function(){const e=function(e){0===e.height&&(t.value=0)};return e.__closure={padding:t,OS:pe,translate:n},e.__workletHash=7867357288574,e.__initData=ye,e}(),onMove:function(){const e=function(e){};return e.__closure={OS:pe,translate:n},e.__workletHash=3781306181469,e.__initData=ve,e}(),onInteractive:function(){const e=function(e){t.value=0,n.value=e.progress};return e.__closure={padding:t,translate:n},e.__workletHash=6608773493025,e.__initData=be,e}(),onEnd:function(){const e=function(e){t.value=e.progress};return e.__closure={padding:t,OS:pe,translate:n},e.__workletHash=0xb3c8dfb8dea,e.__initData=we,e}()},[]),{translate:n,padding:t}})(),y=(()=>{const{reanimated:e}=E(),t=(0,m.useSharedValue)(0),n=(0,m.useSharedValue)(0),r=(0,m.useSharedValue)(0),i=(0,m.useSharedValue)(!0);return(0,p.useLayoutEffect)((()=>{const o=-e.height.value,a=e.progress.value;t.value=o,n.value=o,r.value=a,i.value=0===a}),[]),se({onStart:function(){const e=function(e){e.height>0&&(i.value=!1,t.value=e.height)};return e.__closure={isClosed:i,heightWhenOpened:t},e.__workletHash=7196063302266,e.__initData=fe,e}(),onMove:function(){const e=function(e){r.value=e.progress,n.value=e.height};return e.__closure={progress:r,height:n},e.__workletHash=7700504342528,e.__initData=he,e}(),onInteractive:function(){const e=function(e){r.value=e.progress,n.value=e.height};return e.__closure={progress:r,height:n},e.__workletHash=0xaa565a09901,e.__initData=me,e}(),onEnd:function(){const e=function(e){i.value=0===e.height,n.value=e.height,r.value=e.progress};return e.__closure={isClosed:i,height:n,progress:r},e.__workletHash=0xed60f1e870,e.__initData=ge,e}()},[]),{height:n,progress:r,heightWhenOpened:t,isClosed:i}})(),{height:v}=(0,Q.default)(),b=(0,p.useCallback)(function(){const e=function(){const e=v-y.heightWhenOpened.value-s;return Math.max(f.value.y+f.value.height-e,0)};return e.__closure={screenHeight:v,keyboard:y,keyboardVerticalOffset:s,frame:f},e.__workletHash=532582167844,e.__initData=Ce,e}(),[v,s]),w=(0,p.useCallback)(function(){const e=function(e){return(0,m.interpolate)(e,[0,1],[0,b()])};return e.__closure={interpolate:m.interpolate,relativeKeyboardHeight:b},e.__workletHash=0xfe8f4031328,e.__initData=xe,e}(),[b]),k=(0,p.useCallback)(function(){const e=function(e){(y.isClosed.value||null===d.value||”height”!==n)&&(d.value=e)};return e.__closure={keyboard:y,initialFrame:d,behavior:n},e.__workletHash=0xbb331c78a95,e.__initData=Ae,e}(),[n]),_=(0,p.useCallback)((e=>{(0,m.runOnUI)(k)(e.nativeEvent.layout),null===c||void 0===c||c(e)}),[c]),S=(0,m.useAnimatedStyle)(function(){const e=function(){const e=w(y.progress.value),t=w(h.value),r=w(g.value),i=a?e:0;switch(n){case”height”:return y.isClosed.value?{}:{height:f.value.height-i,flex:0};case”position”:return{bottom:i};case”padding”:return{paddingBottom:i};case”translate-with-padding”:return{paddingTop:r,transform:[{translateY:-t}]};default:return{}}};return e.__closure={interpolateToRelativeKeyboardHeight:w,keyboard:y,translate:h,padding:g,enabled:a,behavior:n,frame:f},e.__workletHash=4224580635151,e.__initData=Re,e}(),[n,a,w]),C=”position”===n,x=C?o:l,A=(0,p.useMemo)((()=>[x,S]),[x,S]);return C?p.createElement(r.default,_e({ref:t,style:l,onLayout:_},u),p.createElement(m.default.View,{style:A},i)):p.createElement(m.default.View,_e({ref:t,style:A,onLayout:_},u),i)})),De=Te,Ie=[“children”,”offset”,”style”,”enabled”];function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{children:n,offset:{closed:r=0,opened:i=0}={},style:o,enabled:a=!0}=e,s=(0,de.default)(e,Ie);const{height:l,progress:c}=ie(),u=c.interpolate({inputRange:[0,1],outputRange:[r,i]}),d=(0,p.useMemo)((()=>[{transform:[{translateY:a?f.default.add(l,u):r}]},o]),[r,a,l,u,o]);return p.createElement(f.default.View,Oe({ref:t,style:d},s),n)})),Pe=je,Me=!1,Ne={duration:250,easing:m.Easing.bezier(.19919472913616398,.010644531250000006,.27920937042459737,.91025390625)},Le={code:”function reactNativeKeyboardController_useSmoothKeyboardHandlerJs1(){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,persistedHeight,TELEGRAM_ANDROID_TIMING_CONFIG,target,animatedKeyboardHeight}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){return;}if(persistedHeight.value===0){return;}const event={duration:TELEGRAM_ANDROID_TIMING_CONFIG.duration,target:target.value,height:animatedKeyboardHeight.value,progress:animatedKeyboardHeight.value/persistedHeight.value};return event;}”},Fe={code:”function reactNativeKeyboardController_useSmoothKeyboardHandlerJs2(evt){const{handler,height,persistedHeight}=this.__closure;var _handler$onMove;if(!evt){return;}(_handler$onMove=handler.onMove)===null||_handler$onMove===void 0||_handler$onMove.call(handler,evt);if(evt.height===height.value){var _handler$onEnd;(_handler$onEnd=handler.onEnd)===null||_handler$onEnd===void 0||_handler$onEnd.call(handler,evt);persistedHeight.value=height.value;}}”},Ve={code:”function reactNativeKeyboardController_useSmoothKeyboardHandlerJs3(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,persistedHeight,handler,target,height,animatedKeyboardHeight,withTiming,TELEGRAM_ANDROID_TIMING_CONFIG}=this.__closure;var _handler$onStart2;if(!IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS&&e.height===persistedHeight.value){var _handler$onStart,_handler$onEnd2;(_handler$onStart=handler.onStart)===null||_handler$onStart===void 0||_handler$onStart.call(handler,e);(_handler$onEnd2=handler.onEnd)===null||_handler$onEnd2===void 0||_handler$onEnd2.call(handler,e);return;}target.value=e.target;height.value=e.height;if(e.height>0){persistedHeight.value=e.height;}if(!IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){animatedKeyboardHeight.value=withTiming(e.height,TELEGRAM_ANDROID_TIMING_CONFIG);}(_handler$onStart2=handler.onStart)===null||_handler$onStart2===void 0||_handler$onStart2.call(handler,{…e,duration:IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS?e.duration:TELEGRAM_ANDROID_TIMING_CONFIG.duration});}”},Be={code:”function reactNativeKeyboardController_useSmoothKeyboardHandlerJs4(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,handler}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){var _handler$onMove2;(_handler$onMove2=handler.onMove)===null||_handler$onMove2===void 0||_handler$onMove2.call(handler,e);}}”},He={code:”function reactNativeKeyboardController_useSmoothKeyboardHandlerJs5(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,handler}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){var _handler$onEnd3;(_handler$onEnd3=handler.onEnd)===null||_handler$onEnd3===void 0||_handler$onEnd3.call(handler,e);}}”},Ue={code:’function reactNativeKeyboardController_utilsJs1(worklet,wait=0){const value={time:0};return function(…args){“worklet”;const t=Date.now();const now=t-value.time;if(now=defaultScrollValue;});}return(_snapPoint=snapPoint)!==null&&_snapPoint!==void 0?_snapPoint:defaultScrollValue;}”},Xe=function(){const e=function(e,t){let n;return t&&(n=t.find((t=>t>=e))),n??e};return e.__closure={},e.__workletHash=6874470081791,e.__initData=Ke,e}(),qe=[“children”,”onLayout”,”bottomOffset”,”disableScrollOnKeyboardHide”,”enabled”,”extraKeyboardSpace”,”ScrollViewComponent”,”snapToOffsets”];function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t0;keyboardWillAppear.value=e.height>0&&keyboardHeight.value===0;const keyboardWillHide=e.height===0;const focusWasChanged=tag.value!==e.target&&e.target!==-1||keyboardWillChangeSize;if(keyboardWillChangeSize){initialKeyboardSize.value=keyboardHeight.value;}if(keyboardWillHide){initialKeyboardSize.value=0;scrollPosition.value=scrollBeforeKeyboardMovement.value;}if(keyboardWillAppear.value||keyboardWillChangeSize||focusWasChanged){scrollPosition.value=position.value;keyboardHeight.value=e.height;}if(focusWasChanged){tag.value=e.target;layout.value=input.value;scrollBeforeKeyboardMovement.value=position.value;}if(focusWasChanged&&!keyboardWillAppear.value){position.value+=maybeScroll(e.height,true);}}”},tt={code:”function reactNativeKeyboardController_indexJs7(e){const{syncKeyboardFrame,disableScrollOnKeyboardHide,keyboardWillAppear,maybeScroll}=this.__closure;syncKeyboardFrame(e);if(!disableScrollOnKeyboardHide||keyboardWillAppear.value){maybeScroll(e.height);}}”},nt={code:”function reactNativeKeyboardController_indexJs8(e){const{keyboardHeight,scrollPosition,position,syncKeyboardFrame}=this.__closure;keyboardHeight.value=e.height;scrollPosition.value=position.value;syncKeyboardFrame(e);}”},rt={code:”function reactNativeKeyboardController_indexJs9(){const{input}=this.__closure;return input.value;}”},it={code:”function reactNativeKeyboardController_indexJs10(current,previous){const{layout,input,scrollPosition,maybeScroll,keyboardHeight}=this.__closure;if((current===null||current===void 0?void 0:current.target)===(previous===null||previous===void 0?void 0:previous.target)&&(current===null||current===void 0?void 0:current.layout.height)!==(previous===null||previous===void 0?void 0:previous.layout.height)){const prevLayout=layout.value;layout.value=input.value;scrollPosition.value+=maybeScroll(keyboardHeight.value,true);layout.value=prevLayout;}}”},ot={code:”function reactNativeKeyboardController_indexJs11(){const{enabled,currentKeyboardFrameHeight}=this.__closure;return enabled?{paddingBottom:currentKeyboardFrameHeight.value+1}:{};}”},at=(0,p.forwardRef)(((e,t)=>{let{children:n,onLayout:r,bottomOffset:i=0,disableScrollOnKeyboardHide:o=!1,enabled:a=!0,extraKeyboardSpace:s=0,ScrollViewComponent:l=m.default.ScrollView,snapToOffsets:c}=e,u=(0,de.default)(e,qe);const d=(0,m.useAnimatedRef)(),f=(0,m.useSharedValue)(null),h=(0,m.useSharedValue)(0),g=(0,m.useScrollViewOffset)(d),y=(0,m.useSharedValue)(0),v=(0,m.useSharedValue)(0),b=(0,m.useSharedValue)(!1),w=(0,m.useSharedValue)(-1),k=(0,m.useSharedValue)(0),_=(0,m.useSharedValue)(0),{input:E}=ce(),S=(0,m.useSharedValue)(null),{height:C}=(0,Q.default)(),x=(0,p.useCallback)((e=>{“function”===typeof t?t(e):t&&(t.current=e),d(e)}),[]),A=(0,p.useCallback)((e=>{f.value=d.current,null===r||void 0===r||r(e)}),[r]),R=(0,p.useCallback)(function(){const e=function(e,t=!1){var n,r,o;if(!a)return 0;if((null===(n=S.value)||void 0===n?void 0:n.parentScrollViewTarget)!==f.value)return 0;const s=C-v.value,l=(null===(r=S.value)||void 0===r?void 0:r.layout.absoluteY)||0,u=(null===(o=S.value)||void 0===o?void 0:o.layout.height)||0,p=l+u;if(s-p<=i){const n=v.value-(C-p)+i,r=(0,m.interpolate)(e,[k.value,v.value],[0,Xe(n+h.value,c)-h.value]),o=Math.max(r,0)+h.value;return(0,m.scrollTo)(d,0,o,t),r}if(l<0){const e=s-u-i,n=h.value+l;(0,m.scrollTo)(d,0,n-e,t)}return 0};return e.__closure={enabled:a,layout:S,scrollViewTarget:f,height:C,keyboardHeight:v,bottomOffset:i,interpolate:m.interpolate,initialKeyboardSize:k,scrollDistanceWithRespectToSnapPoints:Xe,scrollPosition:h,snapToOffsets:c,scrollTo:m.scrollTo,scrollViewAnimatedRef:d},e.__workletHash=4620600366376,e.__initData=Ye,e}(),[i,a,C,c]),T=(0,p.useCallback)(function(){const e=function(e){const t=(0,m.interpolate)(e.height,[0,v.value],[0,v.value+s]);y.value=t};return e.__closure={interpolate:m.interpolate,keyboardHeight:v,extraKeyboardSpace:s,currentKeyboardFrameHeight:y},e.__workletHash=4979852352288,e.__initData=Ze,e}(),[s]),D=(0,p.useCallback)(function(){const e=function(e){var t;const n=h.value,r=S.value;null!==(t=E.value)&&void 0!==t&&t.layout&&(S.value=Object.assign({},E.value,{layout:Object.assign({},E.value.layout,{height:e??E.value.layout.height})}),h.value=g.value,R(v.value,!0),h.value=n,S.value=r)};return e.__closure={scrollPosition:h,layout:S,input:E,position:g,maybeScroll:R,keyboardHeight:v},e.__workletHash=0xe88cd786620,e.__initData=Je,e}(),[R]),I=(0,p.useCallback)(function(){const e=function(){var e,t;(null===(e=S.value)||void 0===e?void 0:e.layout.height)===(null===(t=E.value)||void 0===t?void 0:t.layout.height)&&D()};return e.__closure={layout:S,input:E,scrollFromCurrentPosition:D},e.__workletHash=7410083513075,e.__initData=$e,e}(),[D]),O=(0,p.useCallback)(function(){const e=function(e){e.selection.start.position!==e.selection.end.position&&D(e.selection.end.y)};return e.__closure={scrollFromCurrentPosition:D},e.__workletHash=4928479646598,e.__initData=Qe,e}(),[D]),j=(0,p.useMemo)((()=>We(I,200)),[I]);ue({onChangeText:j,onSelectionChange:O},[j,O]),((e,t)=>{const n=(0,m.useSharedValue)(-1),r=(0,m.useSharedValue)(0),i=(0,m.useSharedValue)(0),o=(0,m.useSharedValue)(0);(0,m.useAnimatedReaction)(function(){const e=function(){if(0!==i.value)return{duration:Ne.duration,target:n.value,height:o.value,progress:o.value/i.value}};return e.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:Me,persistedHeight:i,TELEGRAM_ANDROID_TIMING_CONFIG:Ne,target:n,animatedKeyboardHeight:o},e.__workletHash=5433529001127,e.__initData=Le,e}(),function(){const t=function(t){var n,o;t&&(null===(n=e.onMove)||void 0===n||n.call(e,t),t.height===r.value&&(null===(o=e.onEnd)||void 0===o||o.call(e,t),i.value=r.value))};return t.__closure={handler:e,height:r,persistedHeight:i},t.__workletHash=3661104840654,t.__initData=Fe,t}(),t),se({onStart:function(){const t=function(t){var a,s,l;if(t.height===i.value)return null===(s=e.onStart)||void 0===s||s.call(e,t),void(null===(l=e.onEnd)||void 0===l||l.call(e,t));n.value=t.target,r.value=t.height,t.height>0&&(i.value=t.height),o.value=(0,m.withTiming)(t.height,Ne),null===(a=e.onStart)||void 0===a||a.call(e,Object.assign({},t,{duration:Ne.duration}))};return t.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:Me,persistedHeight:i,handler:e,target:n,height:r,animatedKeyboardHeight:o,withTiming:m.withTiming,TELEGRAM_ANDROID_TIMING_CONFIG:Ne},t.__workletHash=7456639499128,t.__initData=Ve,t}(),onMove:function(){const t=function(e){};return t.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:Me,handler:e},t.__workletHash=0xcb16ff49cec,t.__initData=Be,t}(),onEnd:function(){const t=function(e){};return t.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:Me,handler:e},t.__workletHash=5404286567635,t.__initData=He,t}()},t)})({onStart:function(){const e=function(e){const t=v.value!==e.height&&e.height>0;b.value=e.height>0&&0===v.value;const n=0===e.height,r=w.value!==e.target&&-1!==e.target||t;t&&(k.value=v.value),n&&(k.value=0,h.value=_.value),(b.value||t||r)&&(h.value=g.value,v.value=e.height),r&&(w.value=e.target,S.value=E.value,_.value=g.value),r&&!b.value&&(g.value+=R(e.height,!0))};return e.__closure={keyboardHeight:v,keyboardWillAppear:b,tag:w,initialKeyboardSize:k,scrollPosition:h,scrollBeforeKeyboardMovement:_,position:g,layout:S,input:E,maybeScroll:R},e.__workletHash=0xe19120facbd,e.__initData=et,e}(),onMove:function(){const e=function(e){T(e),o&&!b.value||R(e.height)};return e.__closure={syncKeyboardFrame:T,disableScrollOnKeyboardHide:o,keyboardWillAppear:b,maybeScroll:R},e.__workletHash=0xb731bfa4b74,e.__initData=tt,e}(),onEnd:function(){const e=function(e){v.value=e.height,h.value=g.value,T(e)};return e.__closure={keyboardHeight:v,scrollPosition:h,position:g,syncKeyboardFrame:T},e.__workletHash=0x979119ce1c8,e.__initData=nt,e}()},[R,o,T]),(0,m.useAnimatedReaction)(function(){const e=()=>E.value;return e.__closure={input:E},e.__workletHash=0xc5830b1b11a,e.__initData=rt,e}(),function(){const e=function(e,t){if((null===e||void 0===e?void 0:e.target)===(null===t||void 0===t?void 0:t.target)&&(null===e||void 0===e?void 0:e.layout.height)!==(null===t||void 0===t?void 0:t.layout.height)){const e=S.value;S.value=E.value,h.value+=R(v.value,!0),S.value=e}};return e.__closure={layout:S,input:E,scrollPosition:h,maybeScroll:R,keyboardHeight:v},e.__workletHash=196942346755,e.__initData=it,e}(),[]);const P=(0,m.useAnimatedStyle)(function(){const e=()=>a?{paddingBottom:y.value+1}:{};return e.__closure={enabled:a,currentKeyboardFrameHeight:y},e.__workletHash=3624931899508,e.__initData=ot,e}(),[a]);return p.createElement(l,Ge({ref:x},u,{scrollEventThrottle:16,onLayout:A}),n,a&&p.createElement(m.default.View,{style:P}))}));var st=n(33387),lt=n(94134);const ct=()=>(0,lt.default)()||”light”,ut={width:13,height:2,borderRadius:1},dt={marginHorizontal:5,width:30,height:30,justifyContent:”center”,alignItems:”center”},pt=h.default.create({arrowUpContainer:dt,arrowDownContainer:Object.assign({},dt,{transform:[{rotate:”180deg”}]}),arrow:{width:20,height:20,flexDirection:”row”,alignItems:”center”,justifyContent:”space-between”},arrowLeftLine:Object.assign({},ut,{transform:[{rotate:”-45deg”}],left:-.5}),arrowRightLine:Object.assign({},ut,{transform:[{rotate:”45deg”}],left:-5.5})}),ft=({type:e,disabled:t,theme:n})=>{const i=ct(),o=(0,p.useMemo)((()=>({backgroundColor:t?n[i].disabled:n[i].primary})),[t,n,i]),a=(0,p.useMemo)((()=>[pt.arrowLeftLine,o]),[o]),s=(0,p.useMemo)((()=>[pt.arrowRightLine,o]),[o]);return p.createElement(r.default,{style:”next”===e?pt.arrowDownContainer:pt.arrowUpContainer},p.createElement(r.default,{style:pt.arrow},p.createElement(f.default.View,{style:a}),p.createElement(f.default.View,{style:s})))};var ht=n(12062);const mt=({children:e,onPress:t,disabled:n,accessibilityLabel:i,accessibilityHint:o,testID:a,style:s})=>{const l=n?r.default:ht.default,c=(0,p.useMemo)((()=>({disabled:n})),[n]);return p.createElement(l,{accessibilityHint:o,accessibilityLabel:i,accessibilityRole:”button”,accessibilityState:c,style:s,testID:a,onPress:t},e)},gt={light:{primary:”#2c2c2c”,disabled:”#B0BEC5″,background:”#f3f3f4″,ripple:”#bcbcbcbc”},dark:{primary:”#fafafa”,disabled:”#707070″,background:”#2C2C2E”,ripple:”#F8F8F888″}},yt=[“content”,”theme”,”doneText”,”button”,”icon”,”showArrows”,”onNextCallback”,”onPrevCallback”,”onDoneCallback”,”blur”,”opacity”,”offset”,”enabled”,”insets”];function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{content:t,theme:n=gt,doneText:i=”Done”,button:o,icon:a,showArrows:l=!0,onNextCallback:c,onPrevCallback:u,onDoneCallback:d,blur:f=null,opacity:h=St,offset:{closed:m=0,opened:g=0}={},enabled:y=!0,insets:v}=e,b=(0,de.default)(e,yt);const w=ct(),[k,_]=(0,p.useState)({current:0,count:0}),E=0===k.current,S=k.current===k.count-1;(0,p.useEffect)((()=>s.addListener(“focusDidSet”,(e=>{_(e)})).remove),[]);const C=(0,p.useMemo)((()=>[Ct.doneButton,{color:n[w].primary}]),[w,n]),x=(0,p.useMemo)((()=>[Ct.toolbar,{backgroundColor:`${n[w].background}${h}`},{paddingLeft:null===v||void 0===v?void 0:v.left,paddingRight:null===v||void 0===v?void 0:v.right}]),[w,h,n,v]),A=(0,p.useMemo)((()=>({closed:m+42,opened:g})),[m,g]),R=o||mt,T=a||ft,D=(0,p.useCallback)((e=>{null===c||void 0===c||c(e),e.isDefaultPrevented()||$.setFocusTo(“next”)}),[c]),I=(0,p.useCallback)((e=>{null===u||void 0===u||u(e),e.isDefaultPrevented()||$.setFocusTo(“prev”)}),[u]),O=(0,p.useCallback)((e=>{null===d||void 0===d||d(e),e.isDefaultPrevented()||$.dismiss()}),[d]);return p.createElement(Pe,{enabled:y,offset:A},p.createElement(r.default,vt({},b,{style:x,testID:bt}),f,l&&p.createElement(r.default,{style:Ct.arrows},p.createElement(R,{accessibilityHint:”Moves focus to the previous field”,accessibilityLabel:”Previous”,disabled:E,testID:wt,theme:n,onPress:I},p.createElement(T,{disabled:E,theme:n,type:”prev”})),p.createElement(R,{accessibilityHint:”Moves focus to the next field”,accessibilityLabel:”Next”,disabled:S,testID:kt,theme:n,onPress:D},p.createElement(T,{disabled:S,theme:n,type:”next”}))),p.createElement(r.default,{style:Ct.flex,testID:_t},t),i&&p.createElement(R,{accessibilityHint:”Closes the keyboard”,accessibilityLabel:”Done”,rippleRadius:28,style:Ct.doneButtonContainer,testID:Et,theme:n,onPress:O},p.createElement(st.default,{maxFontSizeMultiplier:1.3,style:C},i))))},At=h.default.create({absolute:{position:”absolute”},stretch:{top:0,bottom:0,left:0,right:0}}),Rt=({children:e,visible:t})=>{const{height:n,width:i}=(0,Q.default)(),o=(0,p.useMemo)((()=>({height:n,width:i})),[n,i]),a=(0,p.useMemo)((()=>[At.absolute,void 0,void 0]),[o]);return p.createElement(d,{visible:t},p.createElement(r.default,{collapsable:!1,style:a},t&&e))}},61265:(e,t,n)=>{“use strict”;var r;n.r(t),n.d(t,{MMKV:()=>c,useMMKV:()=>f,useMMKVBoolean:()=>y,useMMKVBuffer:()=>v,useMMKVListener:()=>w,useMMKVNumber:()=>g,useMMKVObject:()=>b,useMMKVString:()=>m});const i=null!=(null===(r=window.document)||void 0===r?void 0:r.createElement),o=()=>{try{return window.localStorage,!0}catch{return!1}},a=new Map,s=e=>{if(null!=e.encryptionKey)throw new Error(“MMKV: ‘encryptionKey’ is not supported on Web!”);if(null!=e.path)throw new Error(“MMKV: ‘path’ is not supported on Web!”);o();const t=()=>{var e,t;if(!i)throw new Error(“Tried to access storage on the server. Did you forget to call this in useEffect?”);if(!o())return{getItem:e=>a.get(e)??null,setItem:(e,t)=>a.set(e,t),removeItem:e=>a.delete(e),clear:()=>a.clear(),length:a.size,key:e=>Object.keys(a).at(e)??null};const r=(null===(e=n.g)||void 0===e?void 0:e.localStorage)??(null===(t=window)||void 0===t?void 0:t.localStorage)??localStorage;if(null==r)throw new Error(“Could not find ‘localStorage’ instance!”);return r},r=null!=n.g.TextEncoder?new n.g.TextEncoder:{encode:()=>{throw new Error(“TextEncoder is not supported in this environment!”)},encodeInto:()=>{throw new Error(“TextEncoder is not supported in this environment!”)},encoding:”utf-8″};if(e.id.includes(“\\”))throw new Error(“MMKV: `id` cannot contain the backslash character (`\\`)!”);const s=`${e.id}\\`,l=e=>{if(e.includes(“\\”))throw new Error(“MMKV: `key` cannot contain the backslash character (`\\`)!”);return`${s}${e}`};return{clearAll:()=>{const e=Object.keys(t());for(const n of e)n.startsWith(s)&&t().removeItem(n)},delete:e=>t().removeItem(l(e)),set:(e,n)=>{t().setItem(l(e),n.toString())},getString:e=>t().getItem(l(e))??void 0,getNumber:e=>{const n=t().getItem(l(e));if(null!=n)return Number(n)},getBoolean:e=>{const n=t().getItem(l(e));if(null!=n)return”true”===n},getBuffer:e=>{const n=t().getItem(l(e));if(null!=n)return r.encode(n)},getAllKeys:()=>Object.keys(t()).filter((e=>e.startsWith(s))).map((e=>e.slice(s.length))),contains:e=>null!=t().getItem(l(e)),recrypt:()=>{throw new Error(“`recrypt(..)` is not supported on Web!”)}}};const l=new Map;class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:”mmkv.default”};this.id=e.id,this.nativeInstance=null!=n.g.process&&null!={NODE_ENV:”production”,PUBLIC_URL:””,APP_MANIFEST:{version:”1.102.0″,name:”Bluesky”,slug:”bluesky”,scheme:”bluesky”,owner:”blueskysocial”,runtimeVersion:{policy:”appVersion”},icon:”./assets/app-icons/ios_icon_default_light.png”,userInterfaceStyle:”automatic”,primaryColor:”#1083fe”,androidStatusBar:{barStyle:”light-content”,backgroundColor:”#0c7cff”},androidNavigationBar:{barStyle:”light-content”},web:{},updates:{url:”https://updates.bsky.app/manifest”,enabled:!1,fallbackToCacheTimeout:3e4,checkAutomatically:”NEVER”},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:”Share-with-Bluesky”,bundleIdentifier:”xyz.blueskyweb.app.Share-with-Bluesky”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyNSE”,bundleIdentifier:”xyz.blueskyweb.app.BlueskyNSE”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyClip”,bundleIdentifier:”xyz.blueskyweb.app.AppClip”}]}}},projectId:”55bd077a-d905-4184-9c7f-94789ba0f302″}},sdkVersion:”53.0.0″,platforms:[“ios”,”android”,”web”]},EXPO_DEBUG:!1,PLATFORM:”web”,WDS_SOCKET_PATH:”/_expo/ws”}.JEST_WORKER_ID?(()=>{const e=new Map;return{clearAll:()=>e.clear(),delete:t=>e.delete(t),set:(t,n)=>e.set(t,n),getString:t=>{const n=e.get(t);return”string”===typeof n?n:void 0},getNumber:t=>{const n=e.get(t);return”number”===typeof n?n:void 0},getBoolean:t=>{const n=e.get(t);return”boolean”===typeof n?n:void 0},getBuffer:t=>{const n=e.get(t);return n instanceof Uint8Array?n:void 0},getAllKeys:()=>Array.from(e.keys()),contains:t=>e.has(t),recrypt:()=>{}}})():s(e),this.functionCache={}}get onValueChangedListeners(){return l.has(this.id)||l.set(this.id,[]),l.get(this.id)}getFunctionFromCache(e){return null==this.functionCache[e]&&(this.functionCache[e]=this.nativeInstance[e]),this.functionCache[e]}onValuesChanged(e){if(0!==this.onValueChangedListeners.length)for(const t of e)for(const e of this.onValueChangedListeners)e(t)}set(e,t){this.getFunctionFromCache(“set”)(e,t),this.onValuesChanged([e])}getBoolean(e){return this.getFunctionFromCache(“getBoolean”)(e)}getString(e){return this.getFunctionFromCache(“getString”)(e)}getNumber(e){return this.getFunctionFromCache(“getNumber”)(e)}getBuffer(e){return this.getFunctionFromCache(“getBuffer”)(e)}contains(e){return this.getFunctionFromCache(“contains”)(e)}delete(e){this.getFunctionFromCache(“delete”)(e),this.onValuesChanged([e])}getAllKeys(){return this.getFunctionFromCache(“getAllKeys”)()}clearAll(){const e=this.getAllKeys();this.getFunctionFromCache(“clearAll”)(),this.onValuesChanged(e)}recrypt(e){return this.getFunctionFromCache(“recrypt”)(e)}toString(){return`MMKV (${this.id}): [${this.getAllKeys().join(“, “)}]`}toJSON(){return{[this.id]:this.getAllKeys()}}addOnValueChangedListener(e){return this.onValueChangedListeners.push(e),{remove:()=>{const t=this.onValueChangedListeners.indexOf(e);-1!==t&&this.onValueChangedListeners.splice(t,1)}}}}var u=n(95004);let d=null;function p(){return null==d&&(d=new c),d}function f(e){const t=(0,u.useRef)(),n=(0,u.useRef)();return null==e?p():(null!=t.current&&(r=n.current,i=e,null==r||null==i?null==r&&null==i:r.encryptionKey===i.encryptionKey&&r.id===i.id&&r.path===i.path)||(n.current=e,t.current=new c(e)),t.current);var r,i}function h(e){return(t,n)=>{const r=n??p(),[i,o]=(0,u.useState)(0),a=(0,u.useMemo)((()=>e(r,t)),[r,t,i]),s=(0,u.useCallback)((n=>{const i=”function”===typeof n?n(e(r,t)):n;switch(typeof i){case”number”:case”string”:case”boolean”:r.set(t,i);break;case”undefined”:r.delete(t);break;case”object”:if(i instanceof Uint8Array){r.set(t,i);break}throw new Error(`MMKV: Type object (${i}) is not supported!`);default:throw new Error(`MMKV: Type ${typeof i} is not supported!`)}}),[t,r]);return(0,u.useEffect)((()=>{const e=r.addOnValueChangedListener((e=>{e===t&&o((e=>e+1))}));return()=>e.remove()}),[t,r]),[a,s]}}const m=h(((e,t)=>e.getString(t))),g=h(((e,t)=>e.getNumber(t))),y=h(((e,t)=>e.getBoolean(t))),v=h(((e,t)=>e.getBuffer(t)));function b(e,t){const[n,r]=m(e,t);return[(0,u.useMemo)((()=>{if(null!=n)return JSON.parse(n)}),[n]),(0,u.useCallback)((e=>{if(e instanceof Function)r((t=>{const n=null!=t?JSON.parse(t):void 0,r=e(n);return null!=r?JSON.stringify(r):void 0}));else{const t=null!=e?JSON.stringify(e):void 0;r(t)}}),[r])]}function w(e,t){const n=(0,u.useRef)(e);n.current=e;const r=t??p();(0,u.useEffect)((()=>{const e=r.addOnValueChangedListener((e=>{n.current(e)}));return()=>e.remove()}),[r])}},89070:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ProgressCircle:()=>w,default:()=>k});var r=n(63366),i=n(95004),o=n(67773),a=n.n(o),s=n(6740),l=n(59550),c=n(33387),u=n(67842),d=n(77669),p=n(82610),f=n(57875),h=n(2629);const m=[“animated”,”borderColor”,”borderWidth”,”color”,”children”,”direction”,”fill”,”formatText”,”indeterminate”,”progress”,”rotation”,”showsText”,”size”,”style”,”strokeCap”,”textStyle”,”thickness”,”unfilledColor”,”endAngle”,”allowFontScaling”],g=2*Math.PI,y=s.default.createAnimatedComponent(d.Svg),v=s.default.createAnimatedComponent(p.default),b=l.default.create({container:{backgroundColor:”transparent”,overflow:”hidden”}});class w extends i.Component{static propTypes={animated:a().bool,borderColor:a().string,borderWidth:a().number,color:a().string,children:a().node,direction:a().oneOf([“clockwise”,”counter-clockwise”]),fill:a().string,formatText:a().func,indeterminate:a().bool,progress:a().oneOfType([a().number,a().instanceOf(s.default.Value)]),rotation:a().instanceOf(s.default.Value),showsText:a().bool,size:a().number,style:a().any,strokeCap:a().oneOf([“butt”,”square”,”round”]),textStyle:a().any,thickness:a().number,unfilledColor:a().string,endAngle:a().number,allowFontScaling:a().bool};static defaultProps={borderWidth:1,color:”rgba(0, 122, 255, 1)”,direction:”clockwise”,formatText:e=>`${Math.round(100*e)}%`,progress:0,showsText:!1,size:40,thickness:3,endAngle:.9,allowFontScaling:!0};constructor(e,t){super(e,t),this.progressValue=0}componentDidMount(){this.props.animated&&this.props.progress.addListener((e=>{this.progressValue=e.value,(this.props.showsText||1===this.progressValue)&&this.forceUpdate()}))}render(){const e=this.props,{animated:t,borderColor:n,borderWidth:i,color:o,children:a,direction:l,fill:f,formatText:w,indeterminate:k,progress:_,rotation:E,showsText:S,size:C,style:x,strokeCap:A,textStyle:R,thickness:T,unfilledColor:D,endAngle:I,allowFontScaling:O}=e,j=(0,r.default)(e,m),P=i||(k?1:0),M=C/2-P,N={top:P,left:P},L=P+T,F=C-2*L,V=E?y:d.Svg,B=t?v:p.default,H=t?this.progressValue:_,U=t?s.default.multiply(_,g):_*g;return(0,h.jsxs)(u.default,Object.assign({style:[b.container,x]},j,{children:[(0,h.jsxs)(V,{width:C,height:C,style:k&&E?{transform:[{rotate:E.interpolate({inputRange:[0,1],outputRange:[“0deg”,”360deg”]})}]}:void 0,fill:”none”,children:[!(!D||1===H)&&(0,h.jsx)(B,{fill:f,radius:M,offset:N,startAngle:U,endAngle:g,direction:l,stroke:D,strokeWidth:T}),!k&&(0,h.jsx)(B,{fill:f,radius:M,offset:N,startAngle:0,endAngle:U,direction:l,stroke:o,strokeCap:A,strokeWidth:T}),!!P&&(0,h.jsx)(p.default,{radius:C/2,startAngle:0,endAngle:(k?2*I:2)*Math.PI,stroke:n||o,strokeCap:A,strokeWidth:P})]}),!(k||!S)&&(0,h.jsx)(u.default,{style:{position:”absolute”,left:L,top:L,width:F,height:F,borderRadius:F/2,alignItems:”center”,justifyContent:”center”},children:(0,h.jsx)(c.default,{style:[{color:o,fontSize:F/4.5,fontWeight:”300″},R],allowFontScaling:O,children:w(H)})}),a]}))}}const k=(0,f.default)(w)},95821:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{ProgressPie:()=>E,default:()=>S});var r=n(63366),i=n(95004),o=n(67773),a=n.n(o),s=n(6740),l=n(59550),c=n(67842),u=n(77669),d=n(2629);const p=[“radius”,”offset”,”strokeWidth”,”direction”];class f extends i.Component{static propTypes={radius:a().number.isRequired,offset:a().shape({top:a().number,left:a().number}),strokeWidth:a().number,direction:a().oneOf([“clockwise”,”counter-clockwise”])};static defaultProps={offset:{top:0,left:0},strokeWidth:0,direction:”clockwise”};render(){const e=this.props,{radius:t,offset:n,strokeWidth:i,direction:o}=e,a=(0,r.default)(e,p),s=function(e,t,n,r){const i=”counter-clockwise”===r?0:1;return`M${e} ${t}\n m${n} 0\n a${n} ${n} 0 0 ${i} 0 ${2*n}\n a${n} ${n} 0 0 ${i} 0 ${-2*n}`}((n.left||0)+i/2,(n.top||0)+i/2,t-i/2,o);return(0,d.jsx)(u.Path,Object.assign({d:s,strokeLinecap:”butt”,strokeWidth:i},a))}}const h=[“angle”,”radius”,”offset”],m=2*Math.PI;class g extends i.Component{static propTypes={angle:a().number.isRequired,radius:a().number.isRequired,offset:a().shape({top:a().number,left:a().number})};static defaultProps={offset:{top:0,left:0}};render(){const e=this.props,{angle:t,radius:n,offset:i}=e,o=(0,r.default)(e,h),a=function(e,t,n,r){if(n>=m)return`M${e} ${t}\n m${r} 0\n a${r} ${r} 0 0 1 0 ${2*r}\n a${r} ${r} 0 0 1 0 ${-2*r}`;const i=Math.PI/2-n,o=Math.PI/2,a=n>Math.PI?1:0,s=e+r,l=t+r;return`M${s} ${l}\n L${s+Math.cos(i)*r} ${l-Math.sin(i)*r}\n A${r} ${r} 0 ${a} 0 ${s+Math.cos(o)*r} ${l-Math.sin(o)*r}\n L${s} ${l}`}(i.left||0,i.top||0,t,n);return(0,d.jsx)(u.Path,Object.assign({d:a},o))}}var y=n(57875);const v=[“animated”,”borderColor”,”borderWidth”,”children”,”color”,”progress”,”rotation”,”size”,”style”,”unfilledColor”],b=2*Math.PI,w=s.default.createAnimatedComponent(u.Svg),k=s.default.createAnimatedComponent(g),_=l.default.create({container:{backgroundColor:”transparent”,overflow:”hidden”}});class E extends i.Component{static propTypes={animated:a().bool,borderColor:a().string,borderWidth:a().number,color:a().string,children:a().node,progress:a().oneOfType([a().number,a().instanceOf(s.default.Value)]),rotation:a().instanceOf(s.default.Value),size:a().number,style:a().any,unfilledColor:a().string};static defaultProps={borderWidth:1,color:”rgba(0, 122, 255, 1)”,progress:0,size:40};render(){const e=this.props,{animated:t,borderColor:n,borderWidth:i,children:o,color:a,progress:l,rotation:p,size:h,style:m,unfilledColor:y}=e,E=(0,r.default)(e,v),S=p?w:u.Svg,C=t?k:g,x=t?s.default.multiply(l,b):l*b,A=h/2-i,R={top:i,left:i};return(0,d.jsxs)(c.default,Object.assign({style:[_.container,m]},E,{children:[(0,d.jsxs)(S,{width:h,height:h,style:p?{transform:[{rotate:p.interpolate({inputRange:[0,1],outputRange:[“0deg”,”360deg”]})}]}:void 0,fill:”none”,children:[!!y&&(0,d.jsx)(f,{radius:A,offset:R,fill:y}),(0,d.jsx)(C,{radius:A,angle:x,offset:R,fill:a}),!!i&&(0,d.jsx)(f,{radius:h/2,stroke:n||a,strokeWidth:i})]}),o]}))}}const S=(0,y.default)(E,.2)},82610:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>d});var r=n(63366),i=n(95004),o=n(67773),a=n.n(o),s=n(77669),l=n(2629);const c=[“startAngle”,”endAngle”,”radius”,”offset”,”direction”,”strokeCap”,”strokeWidth”],u=2*Math.PI;class d extends i.Component{static propTypes={startAngle:a().number.isRequired,endAngle:a().number.isRequired,radius:a().number.isRequired,offset:a().shape({top:a().number,left:a().number}),strokeCap:a().string,strokeWidth:a().number,direction:a().oneOf([“clockwise”,”counter-clockwise”])};static defaultProps={startAngle:0,offset:{top:0,left:0},strokeCap:”butt”,strokeWidth:0,direction:”clockwise”};render(){const e=this.props,{startAngle:t,endAngle:n,radius:i,offset:o,direction:a,strokeCap:d,strokeWidth:p}=e,f=(0,r.default)(e,c),h=function(e,t,n,r,i,o){let a=n,s=r;s-a>=u?s=u+s%u:s%=u,a%=u;const l=a>s?u-a+s:s-a;if(l>=u)return`M${e+i} ${t}\n a${i} ${i} 0 0 1 0 ${2*i}\n a${i} ${i} 0 0 1 0 ${-2*i}`;const c=”counter-clockwise”===o?-1:1;s*=c,a*=c;const d=Math.sin(a),p=Math.cos(a),f=Math.sin(s),h=Math.cos(s);return`M${e+i*(1+d)} ${t+i-i*p}\n A${i} ${i} 0 ${l>Math.PI?1:0} ${“counter-clockwise”===o?0:1} ${e+i*(1+f)} ${t+i-i*h}`}((o.left||0)+p/2,(o.top||0)+p/2,t,n,i-p/2,a);return(0,l.jsx)(s.Path,Object.assign({d:h,strokeLinecap:d,strokeWidth:p},f))}}},66142:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{Bar:()=>m,Circle:()=>g.default,CircleSnail:()=>_,Pie:()=>E.default});var r=n(63366),i=n(95004),o=n(67773),a=n.n(o),s=n(6740),l=n(91601),c=n(67842),u=n(7287),d=n(2629);const p=[“borderColor”,”borderRadius”,”borderWidth”,”children”,”color”,”height”,”style”,”unfilledColor”,”width”],f=.3,h=.23076923076923075;class m extends i.Component{static propTypes={animated:a().bool,borderColor:a().string,borderRadius:a().number,borderWidth:a().number,children:a().node,color:a().string,height:a().number,indeterminate:a().bool,indeterminateAnimationDuration:a().number,onLayout:a().func,progress:a().number,style:a().any,unfilledColor:a().string,width:a().number,useNativeDriver:a().bool,animationConfig:a().object,animationType:a().oneOf([“decay”,”timing”,”spring”])};static defaultProps={animated:!0,borderRadius:4,borderWidth:1,color:”rgba(0, 122, 255, 1)”,height:6,indeterminate:!1,indeterminateAnimationDuration:1e3,progress:0,width:150,useNativeDriver:!1,animationConfig:{bounciness:0},animationType:”spring”};constructor(e){super(e);const t=Math.min(Math.max(e.progress,0),1);this.state={width:0,progress:new s.default.Value(e.indeterminate?f:t),animationValue:new s.default.Value(h)}}componentDidMount(){this.props.indeterminate&&this.animate()}componentDidUpdate(e){if(e.indeterminate!==this.props.indeterminate&&(this.props.indeterminate?this.animate():s.default.spring(this.state.animationValue,{toValue:h,useNativeDriver:this.props.useNativeDriver}).start()),e.indeterminate!==this.props.indeterminate||e.progress!==this.props.progress){const e=this.props.indeterminate?f:Math.min(Math.max(this.props.progress,0),1);if(this.props.animated){const{animationType:t,animationConfig:n}=this.props;s.default[t](this.state.progress,Object.assign({},n,{toValue:e,useNativeDriver:this.props.useNativeDriver})).start()}else this.state.progress.setValue(e)}}handleLayout=e=>{this.props.width||this.setState({width:e.nativeEvent.layout.width}),this.props.onLayout&&this.props.onLayout(e)};animate(){this.state.animationValue.setValue(0),s.default.timing(this.state.animationValue,{toValue:1,duration:this.props.indeterminateAnimationDuration,easing:l.default.linear,isInteraction:!1,useNativeDriver:this.props.useNativeDriver}).start((e=>{e.finished&&this.animate()}))}render(){const e=this.props,{borderColor:t,borderRadius:n,borderWidth:i,children:o,color:a,height:l,style:f,unfilledColor:h,width:m}=e,g=(0,r.default)(e,p),y=Math.max(0,m||this.state.width)-2*i,v={width:m,borderWidth:i,borderColor:t||a,borderRadius:n,overflow:”hidden”,backgroundColor:h},b={backgroundColor:a,height:l,transform:[{translateX:this.state.animationValue.interpolate({inputRange:[0,1],outputRange:[-.3*y,y]})},{translateX:this.state.progress.interpolate({inputRange:[0,1],outputRange:[y/(u.default.isRTL?2:-2),0]})},{scaleX:this.state.progress.interpolate({inputRange:[0,1],outputRange:[1e-4,1]})}]};return(0,d.jsxs)(c.default,Object.assign({style:[v,f],onLayout:this.handleLayout},g,{children:[(0,d.jsx)(s.default.View,{style:b}),o]}))}}var g=n(89070),y=n(77669),v=n(82610);const b=[“animating”,”children”,”color”,”direction”,”hidesWhenStopped”,”size”,”style”,”thickness”,”strokeCap”],w=s.default.createAnimatedComponent(v.default),k=1.5*Math.PI;class _ extends i.Component{static propTypes={animating:a().bool,color:a().oneOfType([a().string,a().arrayOf(a().string)]),children:a().node,direction:a().oneOf([“clockwise”,”counter-clockwise”]),duration:a().number,hidesWhenStopped:a().bool,size:a().number,spinDuration:a().number,style:a().any,thickness:a().number,strokeCap:a().string,useNativeDriver:a().bool};static defaultProps={animating:!0,color:”rgba(0, 122, 255, 1)”,direction:”counter-clockwise”,hidesWhenStopped:!1,size:40,thickness:3,strokeCap:”round”,useNativeDriver:!1};constructor(e){super(e),this.state={startAngle:new s.default.Value(-.1),endAngle:new s.default.Value(0),rotation:new s.default.Value(0),colorIndex:0}}componentDidMount(){this.props.animating&&(this.animate(),this.spin())}componentDidUpdate(e){e.animating!==this.props.animating&&(this.props.animating?(this.animate(),this.spin()):this.stopAnimations())}animate(e=1){s.default.sequence([s.default.timing(this.state.startAngle,{toValue:-k*e-.1,duration:this.props.duration||1e3,isInteraction:!1,easing:l.default.inOut(l.default.quad),useNativeDriver:this.props.useNativeDriver}),s.default.timing(this.state.endAngle,{toValue:-k*e,duration:this.props.duration||1e3,isInteraction:!1,easing:l.default.inOut(l.default.quad),useNativeDriver:this.props.useNativeDriver})]).start((t=>{t.finished&&(Array.isArray(this.props.color)&&this.setState({colorIndex:e%this.props.color.length}),this.animate(e+1))}))}spin(){s.default.timing(this.state.rotation,{toValue:1,duration:this.props.spinDuration||5e3,easing:l.default.linear,isInteraction:!1,useNativeDriver:this.props.useNativeDriver}).start((e=>{e.finished&&(this.state.rotation.setValue(0),this.spin())}))}stopAnimations(){this.state.startAngle.stopAnimation(),this.state.endAngle.stopAnimation(),this.state.rotation.stopAnimation()}render(){const e=this.props,{animating:t,children:n,color:i,direction:o,hidesWhenStopped:a,size:l,style:c,thickness:u,strokeCap:p}=e,f=(0,r.default)(e,b);if(!t&&a)return null;const h=l/2-u,m={top:u,left:u},g=”counter-clockwise”===o?-1:1;return(0,d.jsxs)(s.default.View,Object.assign({},f,{style:[c,{backgroundColor:”transparent”,overflow:”hidden”,transform:[{rotate:this.state.rotation.interpolate({inputRange:[0,1],outputRange:[“0deg”,360*g+”deg”]})}]}],children:[(0,d.jsx)(y.Svg,{width:l,height:l,fill:”none”,children:(0,d.jsx)(w,{direction:”counter-clockwise”===o?”clockwise”:”counter-clockwise”,radius:h,stroke:Array.isArray(i)?i[this.state.colorIndex]:i,offset:m,startAngle:this.state.startAngle,endAngle:this.state.endAngle,strokeCap:p,strokeWidth:u})}),n]}))}}var E=n(95821)},57875:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>c});var r=n(95004),i=n(67773),o=n.n(i),a=n(6740),s=n(91601),l=n(2629);function c(e,t){const n=e.displayName||e.name||”Component”;return class extends r.Component{static displayName=`withAnimation(${n})`;static propTypes={animated:o().bool,direction:o().oneOf([“clockwise”,”counter-clockwise”]),indeterminate:o().bool,indeterminateAnimationDuration:o().number,progress:o().number};static defaultProps={animated:!0,indeterminateAnimationDuration:1e3,indeterminate:!1,progress:0};constructor(e){super(e),this.progressValue=Math.min(Math.max(e.progress,0),1),this.rotationValue=0,this.state={progress:new a.default.Value(this.progressValue),rotation:new a.default.Value(this.rotationValue)}}componentDidMount(){this.state.progress.addListener((e=>{this.progressValue=e.value})),this.state.rotation.addListener((e=>{this.rotationValue=e.value})),this.props.indeterminate&&(this.spin(),t&&a.default.spring(this.state.progress,{toValue:t,useNativeDriver:!1}).start())}componentDidUpdate(e){e.indeterminate!==this.props.indeterminate&&(this.props.indeterminate?this.spin():a.default.spring(this.state.rotation,{toValue:this.rotationValue>.5?1:0,useNativeDriver:!1}).start((e=>{e.finished&&this.state.rotation.setValue(0)})));const n=this.props.indeterminate?t||0:Math.min(Math.max(this.props.progress,0),1);n!==this.progressValue&&(this.props.animated?a.default.spring(this.state.progress,{toValue:n,bounciness:0,useNativeDriver:!1}).start():this.state.progress.setValue(n))}componentWillUnmount(){this.state.progress.removeAllListeners(),this.state.rotation.removeAllListeners()}spin(){this.state.rotation.setValue(0),a.default.timing(this.state.rotation,{toValue:”counter-clockwise”===this.props.direction?-1:1,duration:this.props.indeterminateAnimationDuration,easing:s.default.linear,isInteraction:!1,useNativeDriver:!1}).start((e=>{e.finished&&this.spin()}))}render(){return(0,l.jsx)(e,Object.assign({},this.props,{progress:this.props.animated?this.state.progress:this.props.progress,rotation:this.state.rotation}))}}}},5088:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{EYES_POSITIONS:()=>l,INNER_EYE_SIZE_IN_BITS:()=>s,OUTER_EYE_SIZE_IN_BITS:()=>a,QR_ECL_PERS:()=>c,SVGGradient:()=>F,default:()=>U,isCoordsOfBottomLeftInnerEye:()=>_,isCoordsOfBottomLeftOuterEye:()=>v,isCoordsOfInnerEyes:()=>E,isCoordsOfOuterEyes:()=>b,isCoordsOfTopLeftInnerEye:()=>w,isCoordsOfTopLeftOuterEye:()=>g,isCoordsOfTopRightInnerEye:()=>k,isCoordsOfTopRightOuterEye:()=>y,useQRCodeData:()=>C});var r=n(63366),i=n(95004),o=n(77669);const a=7,s=3,l=[“topLeft”,”topRight”,”bottomLeft”],c={L:.03,M:.06,Q:.1,H:.14,low:.03,medium:.06,quartile:.1,high:.14};function u(e){if(e)return Array.isArray(e)?0===e.length?void 0:e:Array.from({length:4},(()=>e))}function d(e){if(e)return Object.keys(e).find((e=>l.includes(e)))?e:l.reduce(((t,n)=>Object.assign({},t,{[n]:e})),{})}function p(e,t,n){const r=e*n,i=t*n;return`\n M${r} ${i}\n ${r+n} ${i}\n ${r+n} ${i+n}\n ${r} ${i+n}\n z\n `}function f({x:e,y:t,size:n,cornerType:r,borderRadius:i,isGlued:o,isLiquid:a,bitMatrix:s}){const l=e*n,c=t*n,u=”cut”===r;let[d=0,p=0,f=0,h=0]=i||[];const m=e=>u?”L”:`A${e} ${e} 0 0 1`;return o&&(1===s[t]?.[e-1]&&(d=0,h=0),1===s[t-1]?.[e]&&(d=0,p=0),1===s[t]?.[e+1]&&(p=0,f=0),1===s[t+1]?.[e]&&(h=0,f=0)),a&&(1===s[t-1]?.[e-1]&&(d=0),1===s[t-1]?.[e+1]&&(p=0),1===s[t+1]?.[e+1]&&(f=0),1===s[t+1]?.[e-1]&&(h=0)),`\n M${l} ${c+d}\n ${m(d)} ${l+d} ${c}\n L${l+n-p} ${c}\n ${m(p)} ${l+n} ${c+p}\n L${l+n} ${c+n-f}\n ${m(f)} ${l+n-f} ${c+n}\n L${l+h} ${c+n}\n ${m(h)} ${l} ${c+n-h}\n z\n `}function h(e,t,n,r){const i=e*n,o=t*n,a=r>n?n:r;return`\n M${i} ${o}\n L${i+a} ${o}\n A${a} ${a} 0 0 0 ${i} ${o+a} z`}function m(e,t,n){return e>=1&&e<6&&t>=1&&t<6||e>=n-6&&e=1&&t<6||e>=1&&e<6&&t>=n-6&&t=0&&e=0&&e0&&t0&&t=n-a&&e=n-a&&e0&&t0&&t=0&&e=0&&en-a&&tn-a&&t=2&&e=2&&t=n-a+2&&e=2&&t=2&&e=n-a+2&&t{try{return function(e,t){const n=S.create(e,t),{size:r=0,data:i=[]}=n?.modules||{},o=function(e,t){const n=[];let r=[];for(let i=0;ie?1:0)),r);return{size:r,bitMatrix:o}}(e,t)}catch(n){return}}),[e,t]),{size:r=0,bitMatrix:o=[]}=n||{};return{bitMatrix:o,qrCodeSize:r}}var x=n(57909),A=n.n(x),R=n(2629);const T=5;const D=(0,i.memo)((function({bitMatrix:e,pieceLiquidRadius:t=0,pieceBorderRadius:n,pieceSize:r=T,pieceCornerType:i,pieceScale:l,pieceRotation:c,pieceStroke:d,pieceStrokeWidth:g,outerEyesOptions:y,innerEyesOptions:v,isPiecesGlued:w=!1,renderCustomPieceItem:k,logoArea:_}){if(!e||!e[0])return null;const S=e.length*r,C=[];if(k){for(let t=0;te&&_.yt)continue}if(1===e[a]?.[n]){const s=`\n ${n*r+r/2},\n ${a*r+r/2}`;let u=p(n,a,r);x&&(u=f({x:n,y:a,size:r,cornerType:i,borderRadius:x,isGlued:w,isLiquid:!!t,bitMatrix:e}));let h=(0,R.jsx)(o.Path,{scale:l,rotation:c,origin:s,stroke:d,strokeWidth:g,d:u},`${n}_${a}`);y||v?(y&&!v&&!b(n,a,e.length)||!y&&v&&!E(n,a,e.length)||v&&!E(n,a,e.length)&&y&&!b(n,a,e.length))&&C.push(h):C.push(h)}else if(t&&(y&&!m(n,a,e.length)||!y)){const i=h(n,a,r,t),s=`\n ${n*r+r/2},\n ${a*r+r/2}`;1===e[a]?.[n-1]&&1===e[a-1]?.[n]&&C.push((0,R.jsx)(o.Path,{d:i},`${n}_${a}_topLeft`)),1===e[a]?.[n-1]&&1===e[a+1]?.[n]&&C.push((0,R.jsx)(o.Path,{rotation:-90,origin:s,d:i},`${n}_${a}_topRight`)),1===e[a]?.[n+1]&&1===e[a-1]?.[n]&&C.push((0,R.jsx)(o.Path,{rotation:90,origin:s,d:i},`${n}_${a}_bottomRight`)),1===e[a]?.[n+1]&&1===e[a+1]?.[n]&&C.push((0,R.jsx)(o.Path,{rotation:180,origin:s,d:i},`${n}_${a}_bottomLeft`))}}if(y){const t={topLeft:`${r*a/2}, ${r*a/2}`,topRight:`${S-r*a/2}, ${r*a/2}`,bottomLeft:`${r*a/2}, ${S-r*a/2}`};[“topLeft”,”topRight”,”bottomLeft”].forEach((n=>{let i=function(e,t,n){const r=a*t;return”topLeft”===e?`\n M0 0\n ${r} 0\n ${r} ${r}\n 0 ${r} z\n M${t} ${t}\n ${r-t} ${t}\n ${r-t} ${r-t}\n ${t} ${r-t} z\n `:”topRight”===e?`\n M${n-r} 0\n ${n} 0\n ${n} ${r}\n ${n-r} ${r} z\n M${n-r+t} ${t}\n ${n-t} ${t}\n ${n-t} ${r-t}\n ${n-r+t} ${r-t} z\n `:”bottomLeft”===e?`\n M0 ${n-r}\n ${r} ${n-r}\n ${r} ${n}\n 0 ${n} z\n M${t} ${n-r+t}\n ${r-t} ${n-r+t}\n ${r-t} ${n-t}\n ${t} ${n-t} z\n `:””}(n,r,S);if(Object.keys(y).includes(n)){const t=u(y[n]?.borderRadius);t&&(i=function(e,t,n,r){const i=a*n;let[o=0,s=0,l=0,c=0]=t||[],u=n{let i=function(e,t,n){const r=a*t,i=s*t,o=2*t;return”topLeft”===e?`\n M${o} ${o}\n ${o+i} ${o}\n ${o+i} ${o+i}\n ${o} ${o+i} z\n `:”topRight”===e?`\n M${n-r+o} ${o}\n ${n-o} ${o}\n ${n-o} ${o+i}\n ${n-r+o} ${o+i} z\n `:”bottomLeft”===e?`\n M${o} ${n-r+o}\n ${o+i} ${n-r+o}\n ${o+i} ${n-o}\n ${o} ${n-o} z\n `:””}(n,r,e.length*r);if(Object.keys(v).includes(n)){const t=u(v[n]?.borderRadius);t&&(i=function(e,t,n,r){const i=a*n,o=s*n,l=2*n,[c=0,u=0,d=0,p=0]=t||[];return”topLeft”===e?`\n M${l} ${l+c}\n A${c} ${c} 0 0 1 ${l+c} ${l}\n L${l+o-u} ${l}\n A${u} ${u} 0 0 1 ${l+o} ${l+u}\n L${l+o} ${l+o-d}\n A${d} ${d} 0 0 1 ${l+o-d} ${l+o}\n L${l+p} ${l+o} \n A${p} ${p} 0 0 1 ${l} ${l+o-p} z\n `:”topRight”===e?`\n M${r-i+l} ${l+c}\n A${c} ${c} 0 0 1 ${r-i+l+c} ${l}\n L${r-l-u} ${l}\n A${u} ${u} 0 0 1 ${r-l} ${l+u}\n L${r-l} ${l+o-d}\n A${d} ${d} 0 0 1 ${r-l-d} ${l+o}\n L${r-i+l+p} ${l+o} \n A${p} ${p} 0 0 1 ${r-i+l} ${l+o-p} z\n `:”bottomLeft”===e?`\n M${l} ${r-i+l+c}\n A${c} ${c} 0 0 1 ${l+c} ${r-i+l}\n L${l+o-u} ${r-i+l}\n A${u} ${u} 0 0 1 ${l+o} ${r-i+l+u}\n L${l+o} ${r-l-d}\n A${d} ${d} 0 0 1 ${l+o-d} ${r-l}\n L${l+p} ${r-l} \n A${p} ${p} 0 0 1 ${l} ${r-l-p} z\n `:””}(n,t,r,e.length*r))}C.push((0,R.jsx)(o.Path,{fill:v?.[n]?.gradient?`url(#${n}InnerEyeGradient)`:v?.[n]?.color||void 0,stroke:v?.[n]?.stroke,strokeWidth:v?.[n]?.strokeWidth,scale:v?.[n]?.scale,rotation:v?.[n]?.rotation,origin:t[n],d:i},`${n}InnerEye`))}))}return(0,R.jsx)(R.Fragment,{children:C})}),A());var I=n(68922),O=n(72068);const j=[“errorCorrectionLevel”,”pieceSize”,”qrCodeSize”,”padding”,”scale”,”href”,”x”,”y”,”onChange”];function P(e){let{errorCorrectionLevel:t,pieceSize:n,qrCodeSize:a,padding:s=0,scale:l=1,href:u,x:d,y:p,onChange:f}=e,h=(0,r.default)(e,j);const{width:m,height:g}=function({errorCorrectionLevel:e,logoHref:t,logoScale:n,pieceSize:r,qrCodeSize:o}){const[a,s]=(0,i.useState)({width:0,height:0}),l=(0,i.useCallback)(((t,i)=>{const[a,l]=[t/O.default.get(),i/O.default.get()],u=a*l,d=t/i,p=o**2*r**2*c[e];let f,h;if(u>p){const e=Math.sqrt(p/d);f=Math.floor(e*d)*n,h=Math.floor(e)*n}else f=a*n,h=l*n;const m=Math.round(f/r),g=Math.round(h/r);m===g?(f=r*(m%2===0?m-1:m),h=f):m>g?(f=r*(m%2===0?m-1:m),h=r*(f%r!==0?g-1:g)):(h=r*(g%2===0?g-1:g),f=r*(h%r!==0?m-1:m)),s({width:f,height:h})}),[e,n,r,o]);return(0,i.useEffect)((()=>{if(t){if(“number”===typeof t){const{width:e,height:n}=I.default.resolveAssetSource(t);l(e,n)}”string”===typeof t&&I.default.getSize(t,l,(()=>{})),”string”!==typeof t&&”number”!==typeof t&&!Array.isArray(t)&&t.uri&&I.default.getSize(t.uri,l,(()=>{t.uri}))}}),[t,l]),a}({errorCorrectionLevel:t,logoHref:u,logoScale:l,pieceSize:n,qrCodeSize:a}),y=n*a,v=m>0&&g>0,b=Number(d??(m?y/2-m/2:0)),w=Number(p??(g?y/2-g/2:0)),k=(0,i.useMemo)((()=>v?{x:b,y:w,width:m,height:g}:void 0),[v,b,w,m,g]);(0,i.useEffect)((()=>{v&&f?.(k)}),[v,k]);let _=s;return 2*_>m&&(_=m/2),2*_>g&&(_=g/2),v?(0,R.jsx)(o.Image,Object.assign({href:u,x:b+_,y:w+_,preserveAspectRatio:”xMidYMid meet”},h,{width:m-2*_,height:g-2*_})):null}function M({id:e,size:t,origin:n=[0,0],start:r=[0,0],end:i=[1,1],colors:a=[“black”,”white”],locations:s=[0,1]}){return(0,R.jsx)(o.LinearGradient,{id:e,gradientUnits:”userSpaceOnUse”,x1:r[0]*t+n[0],y1:r[1]*t+n[1],x2:i[0]*t+n[0],y2:i[1]*t+n[1],children:a?.map(((e,t)=>(0,R.jsx)(o.Stop,{offset:s?.[t],stopColor:e,stopOpacity:”1″},t)))})}function N({id:e,size:t,origin:n=[0,0],center:r=[.5,.5],radius:i=[1,1],colors:a=[“black”,”white”],locations:s=[0,1]}){return(0,R.jsx)(o.RadialGradient,{id:e,gradientUnits:”userSpaceOnUse”,cx:r[0]*t+n[0],cy:r[1]*t+n[1],rx:i[0]*t,ry:i[1]*t,children:a?.map(((e,t)=>(0,R.jsx)(o.Stop,{offset:s?.[t],stopColor:e,stopOpacity:”1″},t)))})}const L=[“type”,”options”];function F(e){let{type:t,options:n}=e,i=(0,r.default)(e,L);return”radial”===t?(0,R.jsx)(N,Object.assign({},n,i)):(0,R.jsx)(M,Object.assign({},n,i))}const V=[“data”,”onChangeSize”,”pieceSize”,”pieceScale”,”pieceRotation”,”pieceCornerType”,”pieceBorderRadius”,”pieceStroke”,”pieceStrokeWidth”,”pieceLiquidRadius”,”isPiecesGlued”,”outerEyesOptions”,”innerEyesOptions”,”renderCustomPieceItem”,”padding”,”color”,”gradient”,”logo”,”backgroundImage”,”version”,”maskPattern”,”toSJISFunc”,”errorCorrectionLevel”,”children”,”renderBackground”],B=[“hidePieces”,”onChange”];const H=(0,i.forwardRef)((function(e,t){let{data:n=”I’m QR Code!”,onChangeSize:l,pieceSize:c=T,pieceScale:u,pieceRotation:p,pieceCornerType:f=”rounded”,pieceBorderRadius:h=0,pieceStroke:m,pieceStrokeWidth:g,pieceLiquidRadius:y,isPiecesGlued:v=!1,outerEyesOptions:b,innerEyesOptions:w,renderCustomPieceItem:k,padding:_,color:E=”black”,gradient:S,logo:x,backgroundImage:A,version:I,maskPattern:O,toSJISFunc:j,errorCorrectionLevel:M=”M”,children:N,renderBackground:L}=e,H=(0,r.default)(e,V);const U=x||{},{hidePieces:z=!0,onChange:W}=U,K=(0,r.default)(U,B),[X,q]=(0,i.useState)(),G=(0,i.useMemo)((()=>({version:I,errorCorrectionLevel:M,maskPattern:O,toSJISFunc:j})),[M,O,j,I]),{qrCodeSize:Y,bitMatrix:Z}=C(n,G),J=c*Y;(0,i.useEffect)((()=>{l?.(Y)}),[Y]);const $=d(b),Q=d(w),ee=Object.assign({},H);if(_){const e=J+2*_;ee.width=e,ee.height=e,ee.viewBox=`-${_} -${_} ${e} ${e}`}const te={topLeft:[0,0],topRight:[J-c*a,0],bottomLeft:[0,J-c*a]},ne={topLeft:[2*c,2*c],topRight:[J-c*s+2*c,2*c],bottomLeft:[2*c,J-c*a+2*c]},re=()=>(0,R.jsx)(D,{bitMatrix:Z,isPiecesGlued:v,pieceLiquidRadius:y,pieceBorderRadius:h,pieceCornerType:f,pieceRotation:p,pieceScale:u,pieceSize:c,pieceStroke:m,pieceStrokeWidth:g,outerEyesOptions:$,innerEyesOptions:Q,renderCustomPieceItem:k,logoArea:z?X:void 0}),ie=e=>{q(e),W?.(e)},oe=()=>x?(0,R.jsx)(P,Object.assign({},K,{errorCorrectionLevel:M,pieceSize:c,qrCodeSize:Y,onChange:ie})):null;return A?(0,R.jsxs)(o.Svg,Object.assign({ref:t,width:J,height:J},ee,{children:[(0,R.jsx)(o.Defs,{children:(0,R.jsx)(o.ClipPath,{id:”image”,children:(0,R.jsx)(o.G,{children:re()})})}),L?.(c,Z),(0,R.jsx)(o.Image,Object.assign({x:”0″,y:”0″,width:”100%”,height:”100%”,preserveAspectRatio:”xMaxYMax slice”},A,{clipPath:”url(#image)”})),oe(),N?.(c,Z)]})):(0,R.jsxs)(o.Svg,Object.assign({ref:t,width:J,height:J},ee,{children:[(!!S||!!$||!!Q)&&(0,R.jsxs)(o.Defs,{children:[!!S&&(0,R.jsx)(F,Object.assign({id:”gradient”,size:J},S)),!!$&&Object.keys($).map((e=>(0,R.jsx)(F,Object.assign({id:`${e}CornerSquareGradient`,size:c*a,origin:te[e]},$?.[e]?.gradient),`${e}CornerSquareGradient`))),!!Q&&Object.keys(Q).map((e=>(0,R.jsx)(F,Object.assign({id:`${e}CornerDotGradient`,size:c*s,origin:ne[e]},Q?.[e]?.gradient),`${e}CornerDotGradient`)))]}),L?.(c,Z),(0,R.jsx)(o.G,{fill:S?”url(#gradient)”:E,children:re()}),oe(),N?.(c,Z)]}))}));H.displayName=”SVGQRCodeStyled”;const U=H},61551:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{BaseAnimationBuilder:()=>ef,BounceIn:()=>rf,BounceInDown:()=>af,BounceInLeft:()=>uf,BounceInRight:()=>pf,BounceInUp:()=>lf,BounceOut:()=>hf,BounceOutDown:()=>gf,BounceOutLeft:()=>wf,BounceOutRight:()=>_f,BounceOutUp:()=>vf,ColorSpace:()=>Kp,ComplexAnimationBuilder:()=>tf,CurvedTransition:()=>qf,Easing:()=>wi,EntryExitTransition:()=>Wf,Extrapolate:()=>Sp,Extrapolation:()=>dp,FadeIn:()=>Sf,FadeInDown:()=>Of,FadeInLeft:()=>Rf,FadeInRight:()=>xf,FadeInUp:()=>Df,FadeOut:()=>Pf,FadeOutDown:()=>Uf,FadeOutLeft:()=>Ff,FadeOutRight:()=>Nf,FadeOutUp:()=>Bf,FadingTransition:()=>Yf,FlipInEasyX:()=>oh,FlipInEasyY:()=>sh,FlipInXDown:()=>th,FlipInXUp:()=>Jf,FlipInYLeft:()=>Qf,FlipInYRight:()=>rh,FlipOutEasyX:()=>yh,FlipOutEasyY:()=>bh,FlipOutXDown:()=>fh,FlipOutXUp:()=>ch,FlipOutYLeft:()=>dh,FlipOutYRight:()=>mh,IOSReferenceFrame:()=>Y,InterfaceOrientation:()=>Z,JumpingTransition:()=>kh,KeyboardState:()=>J,Keyframe:()=>Qs,Layout:()=>Sh,LayoutAnimationConfig:()=>da,LightSpeedInLeft:()=>Rh,LightSpeedInRight:()=>xh,LightSpeedOutLeft:()=>Oh,LightSpeedOutRight:()=>Dh,LinearTransition:()=>Eh,PerformanceMonitor:()=>wd,PinwheelIn:()=>Ph,PinwheelOut:()=>Nh,ReanimatedLogLevel:()=>v,ReduceMotion:()=>$,ReducedMotionConfig:()=>_d,RollInLeft:()=>Fh,RollInRight:()=>Bh,RollOutLeft:()=>Uh,RollOutRight:()=>Wh,RotateInDownLeft:()=>Xh,RotateInDownRight:()=>Gh,RotateInUpLeft:()=>Zh,RotateInUpRight:()=>$h,RotateOutDownLeft:()=>em,RotateOutDownRight:()=>nm,RotateOutUpLeft:()=>im,RotateOutUpRight:()=>am,ScreenTransition:()=>ky,SensorType:()=>G,SequencedTransition:()=>lm,SharedTransition:()=>ka,SharedTransitionType:()=>K,SlideInDown:()=>wm,SlideInLeft:()=>pm,SlideInRight:()=>um,SlideInUp:()=>vm,SlideOutDown:()=>Sm,SlideOutLeft:()=>gm,SlideOutRight:()=>hm,SlideOutUp:()=>_m,StretchInX:()=>xm,StretchInY:()=>Rm,StretchOutX:()=>Dm,StretchOutY:()=>Om,ZoomIn:()=>Pm,ZoomInDown:()=>Wm,ZoomInEasyDown:()=>Gm,ZoomInEasyUp:()=>Xm,ZoomInLeft:()=>Fm,ZoomInRight:()=>Bm,ZoomInRotate:()=>Nm,ZoomInUp:()=>Um,ZoomOut:()=>Zm,ZoomOutDown:()=>ag,ZoomOutEasyDown:()=>ug,ZoomOutEasyUp:()=>lg,ZoomOutLeft:()=>eg,ZoomOutRight:()=>ng,ZoomOutRotate:()=>$m,ZoomOutUp:()=>ig,advanceAnimationByFrame:()=>Yp,advanceAnimationByTime:()=>Gp,cancelAnimation:()=>Fo,clamp:()=>Ep,combineTransition:()=>Kf,configureReanimatedLogger:()=>ya,convertToRGBA:()=>rr,createAnimatedPropAdapter:()=>bg,createWorkletRuntime:()=>Vt,default:()=>_y,defineAnimation:()=>Po,dispatchCommand:()=>dg,enableLayoutAnimations:()=>rn,executeOnUIRuntimeSync:()=>ze,finishScreenTransition:()=>Jg,getAnimatedStyle:()=>Jp,getRelativeCoords:()=>hg,getUseOfValueInStyleWarning:()=>vg,getViewProp:()=>Gt,interpolate:()=>kp,interpolateColor:()=>Wp,isColor:()=>Jn,isConfigured:()=>qt,isReanimated3:()=>Xt,isSharedValue:()=>Rt,isWorkletFunction:()=>q,makeMutable:()=>St,makeShareableCloneRecursive:()=>be,measure:()=>pg,processColor:()=>Qn,runOnJS:()=>Ye,runOnRuntime:()=>zt,runOnUI:()=>He,scrollTo:()=>mg,setGestureState:()=>gg,setNativeProps:()=>yg,setUpTests:()=>Zp,startMapper:()=>Pt,startScreenTransition:()=>qg,stopMapper:()=>Nt,useAnimatedGestureHandler:()=>xd,useAnimatedKeyboard:()=>Td,useAnimatedProps:()=>Qu,useAnimatedReaction:()=>Id,useAnimatedRef:()=>Rc,useAnimatedScrollHandler:()=>jd,useAnimatedSensor:()=>Hd,useAnimatedStyle:()=>Ju,useComposedEventHandler:()=>zd,useDerivedValue:()=>Kd,useEvent:()=>Tc,useFrameCallback:()=>ad,useHandler:()=>Ed,useInterpolateConfig:()=>Xp,useReducedMotion:()=>qd,useScrollViewOffset:()=>Dc,useSharedValue:()=>Sc,useWorkletCallback:()=>Gd,withClamp:()=>Vc,withDecay:()=>$c,withDelay:()=>zs,withReanimatedTimer:()=>qp,withRepeat:()=>tu,withSequence:()=>qs,withSpring:()=>ku,withTiming:()=>Ho});var i={};r.r(i),r.d(i,{FlatList:()=>kc,Image:()=>_c,ScrollView:()=>Mc,Text:()=>Nc,View:()=>vc,addWhitelistedNativeProps:()=>ma,addWhitelistedUIProps:()=>ga,createAnimatedComponent:()=>gc});var o=r(63366),a=r(95004),s=r(33057);const l={code:”function ReanimatedError_reactNativeReanimated_errorsJs1(message){const prefix='[Reanimated]’;const errorInstance=new Error(message?prefix+\” \”+message:prefix);errorInstance.name=’ReanimatedError’;return errorInstance;}”},c=function(){const e=function(e){const t=”[Reanimated]”,n=new Error(e?`${t} ${e}`:t);return n.name=”ReanimatedError”,n};return e.__closure={},e.__workletHash=3400383653491,e.__initData=l,e}(),u={code:”function registerReanimatedError_reactNativeReanimated_errorsJs2(){const{ReanimatedErrorConstructor}=this.__closure;if(!_WORKLET){throw new Error(‘[Reanimated] registerReanimatedError() must be called on Worklet runtime’);}global.ReanimatedError=ReanimatedErrorConstructor;}”},d=function(){const e=function(){if(!_WORKLET)throw new Error(“[Reanimated] registerReanimatedError() must be called on Worklet runtime”);r.g.ReanimatedError=c};return e.__closure={ReanimatedErrorConstructor:c},e.__workletHash=0xc878b3e5252,e.__initData=u,e}(),p=new Map;function f(e){const t=e.match(/worklet_(\d+):(\d+):(\d+)/g);let n=e;return t?.forEach((e=>{const[,t,r,i]=e.split(/:|_/).map(Number),o=p.get(t);if(!o)return;const[a,s,l]=o,[c,u,d]=function(e){const t=e.stack?.split(“\n”)?.[0];if(t){const e=/@([^@]+):(\d+):(\d+)/.exec(t);if(e){const[,t,n,r]=e;return[t,Number(n),Number(r)]}}return[“unknown”,0,0]}(a),f=r+u+s,h=i+d+l;n=n.replace(e,`${c}:${f}:${h}`)})),n}function h({message:e,stack:t}){const n=new Error;n.message=e,n.stack=t?f(t):void 0,n.name=”ReanimatedError”,n.jsEngine=”reanimated”,r.g.ErrorUtils.reportFatalError(n)}const m=r(33459).default,g=m?.addLog?.bind(m)??(()=>{}),y=”If you don’t want to see this message, you can disable the `strict` mode. Refer to:\nhttps://docs.swmansion.com/react-native-reanimated/docs/debugging/logger-configuration for more details.”;let v=function(e){return e[e.warn=1]=”warn”,e[e.error=2]=”error”,e}({});const b={code:”function logToConsole_reactNativeReanimated_loggerJs1(data){switch(data.level){case’warn’:console.warn(data.message.content);break;case’error’:case’fatal’:case’syntax’:console.error(data.message.content);break;}}”},w=function(){const e=function(e){e.level};return e.__closure={},e.__workletHash=0xdfcbff100a4,e.__initData=b,e}(),k={logFunction:w,level:v.warn,strict:!0},_={code:’function formatMessage_reactNativeReanimated_loggerJs2(message){return”[Reanimated] “+message;}’},E=function(){const e=function(e){return`[Reanimated] ${e}`};return e.__closure={},e.__workletHash=0x99bb31b9469,e.__initData=_,e}(),S={code:”function createLog_reactNativeReanimated_loggerJs3(level,message){const{formatMessage}=this.__closure;const formattedMessage=formatMessage(message);return{level:level,message:{content:formattedMessage,substitutions:[]},category:formattedMessage,componentStack:[],componentStackType:null,stack:new Error().stack};}”},C=function(){const e=function(e,t){const n=E(t);return{level:e,message:{content:n,substitutions:[]},category:n,componentStack:[],componentStackType:null,stack:(new Error).stack}};return e.__closure={formatMessage:E},e.__workletHash=2180930896482,e.__initData=S,e}();function x(e){g(e),w(e)}const A={code:”function registerLoggerConfig_reactNativeReanimated_loggerJs4(config){global.__reanimatedLoggerConfig=config;}”},R=function(){const e=function(e){r.g.__reanimatedLoggerConfig=e};return e.__closure={},e.__workletHash=0xb134f1a52b1,e.__initData=A,e}(),T={code:”function replaceLoggerImplementation_reactNativeReanimated_loggerJs5(logFunction){const{registerLoggerConfig}=this.__closure;registerLoggerConfig({…global.__reanimatedLoggerConfig,logFunction:logFunction});}”},D=function(){const e=function(e){R(Object.assign({},r.g.__reanimatedLoggerConfig,{logFunction:e}))};return e.__closure={registerLoggerConfig:R},e.__workletHash=0xf63f4142515,e.__initData=T,e}(),I={code:”function updateLoggerConfig_reactNativeReanimated_loggerJs6(options){const{registerLoggerConfig,DEFAULT_LOGGER_CONFIG}=this.__closure;var _options$level,_options$strict;registerLoggerConfig({…global.__reanimatedLoggerConfig,level:(_options$level=options===null||options===void 0?void 0:options.level)!==null&&_options$level!==void 0?_options$level:DEFAULT_LOGGER_CONFIG.level,strict:(_options$strict=options===null||options===void 0?void 0:options.strict)!==null&&_options$strict!==void 0?_options$strict:DEFAULT_LOGGER_CONFIG.strict});}”},O=function(){const e=function(e){R(Object.assign({},r.g.__reanimatedLoggerConfig,{level:e?.level??k.level,strict:e?.strict??k.strict}))};return e.__closure={registerLoggerConfig:R,DEFAULT_LOGGER_CONFIG:k},e.__workletHash=2984772376773,e.__initData=I,e}(),j={code:’function handleLog_reactNativeReanimated_loggerJs7(level,message,options){const{LogLevel,DOCS_REFERENCE,createLog}=this.__closure;const config=global.__reanimatedLoggerConfig;if(options.strict&&!config.strict||LogLevel[level]e(performance.now())),0)}function V(){return!!{NODE_ENV:”production”,PUBLIC_URL:””,APP_MANIFEST:{version:”1.102.0″,name:”Bluesky”,slug:”bluesky”,scheme:”bluesky”,owner:”blueskysocial”,runtimeVersion:{policy:”appVersion”},icon:”./assets/app-icons/ios_icon_default_light.png”,userInterfaceStyle:”automatic”,primaryColor:”#1083fe”,androidStatusBar:{barStyle:”light-content”,backgroundColor:”#0c7cff”},androidNavigationBar:{barStyle:”light-content”},web:{},updates:{url:”https://updates.bsky.app/manifest”,enabled:!1,fallbackToCacheTimeout:3e4,checkAutomatically:”NEVER”},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:”Share-with-Bluesky”,bundleIdentifier:”xyz.blueskyweb.app.Share-with-Bluesky”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyNSE”,bundleIdentifier:”xyz.blueskyweb.app.BlueskyNSE”,entitlements:{“com.apple.security.application-groups”:[“group.app.bsky”]}},{targetName:”BlueskyClip”,bundleIdentifier:”xyz.blueskyweb.app.AppClip”}]}}},projectId:”55bd077a-d905-4184-9c7f-94789ba0f302″}},sdkVersion:”53.0.0″,platforms:[“ios”,”android”,”web”]},EXPO_DEBUG:!1,PLATFORM:”web”,WDS_SOCKET_PATH:”/_expo/ws”}.JEST_WORKER_ID}function B(){return(!r.g.nativeCallSyncHook||!!r.g.__REMOTEDEV__)&&!r.g.RN$Bridgeless}function H(){return V()||B()||!0}function U(){return!!r.g._IS_FABRIC}function z(){return a.version.startsWith(“19.”)}let W=function(e){return e[e.ENTERING=1]=”ENTERING”,e[e.EXITING=2]=”EXITING”,e[e.LAYOUT=3]=”LAYOUT”,e[e.SHARED_ELEMENT_TRANSITION=4]=”SHARED_ELEMENT_TRANSITION”,e[e.SHARED_ELEMENT_TRANSITION_PROGRESS=5]=”SHARED_ELEMENT_TRANSITION_PROGRESS”,e}({}),K=function(e){return e.ANIMATION=”animation”,e.PROGRESS_ANIMATION=”progressAnimation”,e}({});const X={code:”function isWorkletFunction_reactNativeReanimated_commonTypesJs1(value){return(typeof value===’function’&&!!value.__workletHash);}”},q=function(){const e=function(e){return”function”===typeof e&&!!e.__workletHash};return e.__closure={},e.__workletHash=0xba7328596d5,e.__initData=X,e}();let G=function(e){return e[e.ACCELEROMETER=1]=”ACCELEROMETER”,e[e.GYROSCOPE=2]=”GYROSCOPE”,e[e.GRAVITY=3]=”GRAVITY”,e[e.MAGNETIC_FIELD=4]=”MAGNETIC_FIELD”,e[e.ROTATION=5]=”ROTATION”,e}({}),Y=function(e){return e[e.XArbitraryZVertical=0]=”XArbitraryZVertical”,e[e.XArbitraryCorrectedZVertical=1]=”XArbitraryCorrectedZVertical”,e[e.XMagneticNorthZVertical=2]=”XMagneticNorthZVertical”,e[e.XTrueNorthZVertical=3]=”XTrueNorthZVertical”,e[e.Auto=4]=”Auto”,e}({}),Z=function(e){return e[e.ROTATION_0=0]=”ROTATION_0″,e[e.ROTATION_90=90]=”ROTATION_90″,e[e.ROTATION_180=180]=”ROTATION_180″,e[e.ROTATION_270=270]=”ROTATION_270″,e}({}),J=function(e){return e[e.UNKNOWN=0]=”UNKNOWN”,e[e.OPENING=1]=”OPENING”,e[e.OPEN=2]=”OPEN”,e[e.CLOSING=3]=”CLOSING”,e[e.CLOSED=4]=”CLOSED”,e}({}),$=function(e){return e.System=”system”,e.Always=”always”,e.Never=”never”,e}({});class Q{makeShareableClone(){throw new c(“makeShareableClone should never be called in JSWorklets.”)}}const ee=new Q;const te=V()||!globalThis.requestAnimationFrame?F:globalThis.requestAnimationFrame;class ne{#e=ee;nextSensorId=0;sensors=new Map;platform=void 0;scheduleOnUI(e){te(e)}createWorkletRuntime(e,t){throw new c(“createWorkletRuntime is not available in JSReanimated.”)}scheduleOnRuntime(){throw new c(“scheduleOnRuntime is not available in JSReanimated.”)}registerEventHandler(e,t,n){throw new c(“registerEventHandler is not available in JSReanimated.”)}unregisterEventHandler(e){throw new c(“unregisterEventHandler is not available in JSReanimated.”)}enableLayoutAnimations(){L.warn(“Layout Animations are not supported on web yet.”)}configureLayoutAnimationBatch(){}setShouldAnimateExitingForTag(){}registerSensor(e,t,n,r){if(void 0===this.platform&&this.detectPlatform(),!(this.getSensorName(e)in window))return L.warn(“Sensor is not available.”+(“https:”!==location.protocol?” Make sure you use secure origin with `npx expo start –web –https`.”:””)+(this.platform===re.WEB_IOS?” For iOS web, you will also have to also grant permission in the browser: https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2.”:””)),-1;void 0===this.platform&&this.detectPlatform();const i=this.initializeSensor(e,t);return i.addEventListener(“reading”,this.getSensorCallback(i,e,r)),i.start(),this.sensors.set(this.nextSensorId,i),this.nextSensorId++}getSensorCallback=(e,t,n)=>{switch(t){case G.ACCELEROMETER:case G.GRAVITY:return()=>{let{x:t,y:r,z:i}=e;this.platform===re.WEB_ANDROID&&([t,r,i]=[-t,-r,-i]),n({x:t,y:r,z:i,interfaceOrientation:0})};case G.GYROSCOPE:case G.MAGNETIC_FIELD:return()=>{const{x:t,y:r,z:i}=e;n({x:t,y:r,z:i,interfaceOrientation:0})};case G.ROTATION:return()=>{let[t,r,i,o]=e.quaternion;this.platform===re.WEB_ANDROID&&([i,o]=[o,-i]);const a=-Math.atan2(2*(i*o+t*r),t*t-r*r-i*i+o*o),s=Math.sin(-2*(r*o-t*i)),l=-Math.atan2(2*(r*i+t*o),t*t+r*r-i*i-o*o);n({qw:t,qx:r,qy:i,qz:o,yaw:a,pitch:s,roll:l,interfaceOrientation:0})}}};unregisterSensor(e){const t=this.sensors.get(e);void 0!==t&&(t.stop(),this.sensors.delete(e))}subscribeForKeyboardEvents(e){return L.warn(“useAnimatedKeyboard is not available on web yet.”),-1}unsubscribeFromKeyboardEvents(e){}initializeSensor(e,t){const n=t<=0?{referenceFrame:"device"}:{frequency:1e3/t};switch(e){case G.ACCELEROMETER:return new window.Accelerometer(n);case G.GYROSCOPE:return new window.Gyroscope(n);case G.GRAVITY:return new window.GravitySensor(n);case G.MAGNETIC_FIELD:return new window.Magnetometer(n);case G.ROTATION:return new window.AbsoluteOrientationSensor(n)}}getSensorName(e){switch(e){case G.ACCELEROMETER:return"Accelerometer";case G.GRAVITY:return"GravitySensor";case G.GYROSCOPE:return"Gyroscope";case G.MAGNETIC_FIELD:return"Magnetometer";case G.ROTATION:return"AbsoluteOrientationSensor"}}detectPlatform(){const e=navigator.userAgent||navigator.vendor||window.opera;void 0===e?this.platform=re.UNKNOWN:/iPad|iPhone|iPod/.test(e)?this.platform=re.WEB_IOS:/android/i.test(e)?this.platform=re.WEB_ANDROID:this.platform=re.WEB}getViewProp(e,t,n,r){throw new c("getViewProp is not available in JSReanimated.")}configureProps(){throw new c("configureProps is not available in JSReanimated.")}executeOnUIRuntimeSync(e){throw new c("`executeOnUIRuntimeSync` is not available in JSReanimated.")}markNodeAsRemovable(e){throw new c("markNodeAsRemovable is not available in JSReanimated.")}unmarkNodeAsRemovable(e){throw new c("unmarkNodeAsRemovable is not available in JSReanimated.")}}let re=function(e){return e.WEB_IOS="web iOS",e.WEB_ANDROID="web Android",e.WEB="web",e.UNKNOWN="unknown",e}({});const ie=new ne,oe=H(),ae=Symbol("shareable flag"),se=oe?null:new WeakMap,le=oe?{set(){},get:()=>null}:{set(e,t){se.set(e,t||ae)},get:se.get.bind(se)},ce=H(),ue=”REANIMATED_MAGIC_KEY”,de={code:”function isHostObject_reactNativeReanimated_shareablesJs1(value){const{MAGIC_KEY}=this.__closure;return MAGIC_KEY in value;}”},pe=function(){const e=function(e){return ue in e};return e.__closure={MAGIC_KEY:ue},e.__workletHash=6235723271315,e.__initData=de,e}();function fe(e){return Object.getPrototypeOf(e)===Object.prototype}const he={code:”function reactNativeReanimated_shareablesJs2(){return new Proxy({},{get:function(_,prop){if(prop===’_isReanimatedSharedValue’||prop===’__remoteFunction’){return false;}throw new ReanimatedError(\”Trying to access property `\”+String(prop)+\”` of an object which cannot be sent to the UI runtime.\”);},set:function(){throw new ReanimatedError(‘Trying to write to an object which cannot be sent to the UI runtime.’);}});}”},me={__init:function(){const e=function(){return new Proxy({},{get:(e,t)=>{if(“_isReanimatedSharedValue”===t||”__remoteFunction”===t)return!1;throw new c(`Trying to access property \`${String(t)}\` of an object which cannot be sent to the UI runtime.`)},set:()=>{throw new c(“Trying to write to an object which cannot be sent to the UI runtime.”)}})};return e.__closure={},e.__workletHash=0xdb6a5808d38,e.__initData=he,e}()},ge=[“Int8Array”,”Uint8Array”,”Uint8ClampedArray”,”Int16Array”,”Uint16Array”,”Int32Array”,”Uint32Array”,”Float32Array”,”Float64Array”,”BigInt64Array”,”BigUint64Array”,”DataView”],ye=30;let ve;const be=ce?function(e){return e}:function(e,t=!1,n=0){!function(e,t){if(t>=ye){if(t===ye)ve=e;else if(e===ve)throw new c(“Trying to convert a cyclic object to a shareable. This is not supported.”)}else ve=void 0}(e,n);const i=”function”===typeof e;if(!(“object”===typeof e)&&!i||null===e)return function(e,t){return ee.makeShareableClone(e,t)}(e,t);const o=function(e){const t=le.get(e);return t===ae?e:t}(e);return void 0!==o?o:Array.isArray(e)?function(e,t,n){const r=e.map((e=>be(e,t,n+1))),i=ee.makeShareableClone(r,t,e);return le.set(e,i),le.set(i),xe(e),i}(e,t,n):i&&!q(e)?function(e,t){const n=ee.makeShareableClone(e,t,e);return le.set(e,n),le.set(n),xe(e),n}(e,t):pe(e)?function(e,t){const n=ee.makeShareableClone(e,t,e);return le.set(e,n),le.set(n),n}(e,t):fe(e)&&e.__workletContextObjectFactory?function(e){const t=e.__workletContextObjectFactory,n=be({__init:function(){const e=function(){return t()};return e.__closure={workletContextObjectFactory:t},e.__workletHash=0xbbe7003bba7,e.__initData=we,e}()});return le.set(e,n),n}(e):(fe(e)||i)&&q(e)?function(e,t,n){0;e.__stackDetails&&delete e.__stackDetails;const r={};r.__initData=be(e.__initData,!0,n+1);for(const[o,a]of Object.entries(e))”__initData”===o&&void 0!==r.__initData||(r[o]=be(a,t,n+1));const i=ee.makeShareableClone(r,!0,e);return le.set(e,i),le.set(i),xe(e),i}(e,t,n):fe(e)||i?function(e,t,n){const r={};for(const[o,a]of Object.entries(e))”__initData”===o&&void 0!==r.__initData||(r[o]=be(a,t,n+1));const i=ee.makeShareableClone(r,t,e);return le.set(e,i),le.set(i),xe(e),i}(e,t,n):e instanceof RegExp?function(e){const t=e.source,n=e.flags,r=be({__init:function(){const e=function(){return new RegExp(t,n)};return e.__closure={pattern:t,flags:n},e.__workletHash=5248003660769,e.__initData=ke,e}()});return le.set(e,r),r}(e):e instanceof Error?function(e){const{name:t,message:n,stack:r}=e,i=be({__init:function(){const e=function(){const e=new Error;return e.name=t,e.message=n,e.stack=r,e};return e.__closure={name:t,message:n,stack:r},e.__workletHash=0xbc18306e654,e.__initData=_e,e}()});return le.set(e,i),i}(e):e instanceof ArrayBuffer?function(e,t){const n=ee.makeShareableClone(e,t,e);return le.set(e,n),le.set(n),n}(e,t):ArrayBuffer.isView(e)?function(e){const t=e.buffer,n=e.constructor.name,i=be({__init:function(){const e=function(){if(!ge.includes(n))throw new c(`[Reanimated] Invalid array view name \`${n}\`.`);const e=r.g[n];if(void 0===e)throw new c(`[Reanimated] Constructor for \`${n}\` not found.`);return new e(t)};return e.__closure={VALID_ARRAY_VIEWS_NAMES:ge,typeName:n,buffer:t},e.__workletHash=4924230242707,e.__initData=Ee,e}()});return le.set(e,i),i}(e):function(e){const t=be(me);return le.set(e,t),t}(e)};const we={code:”function reactNativeReanimated_shareablesJs3(){const{workletContextObjectFactory}=this.__closure;return workletContextObjectFactory();}”};const ke={code:”function reactNativeReanimated_shareablesJs4(){const{pattern,flags}=this.__closure;return new RegExp(pattern,flags);}”};const _e={code:”function reactNativeReanimated_shareablesJs5(){const{name,message,stack}=this.__closure;const error=new Error();error.name=name;error.message=message;error.stack=stack;return error;}”};const Ee={code:’function reactNativeReanimated_shareablesJs6(){const{VALID_ARRAY_VIEWS_NAMES,typeName,buffer}=this.__closure;if(!VALID_ARRAY_VIEWS_NAMES.includes(typeName)){throw new ReanimatedError(“[Reanimated] Invalid array view name `”+typeName+”`.”);}const constructor=global[typeName];if(constructor===undefined){throw new ReanimatedError(“[Reanimated] Constructor for `”+typeName+”` not found.”);}return new constructor(buffer);}’};const Se={code:”function isRemoteFunction_reactNativeReanimated_shareablesJs7(value){return!!value.__remoteFunction;}”},Ce=function(){const e=function(e){return!!e.__remoteFunction};return e.__closure={},e.__workletHash=7140175189813,e.__initData=Se,e}();function xe(e){}const Ae={code:”function makeShareableCloneOnUIRecursive_reactNativeReanimated_shareablesJs8(value){const{SHOULD_BE_USE_WEB,isHostObject,isRemoteFunction}=this.__closure;if(SHOULD_BE_USE_WEB){return value;}function cloneRecursive(value){if(typeof value===’object’&&value!==null||typeof value===’function’){if(isHostObject(value)){return global._makeShareableClone(value,undefined);}if(isRemoteFunction(value)){return value.__remoteFunction;}if(Array.isArray(value)){return global._makeShareableClone(value.map(cloneRecursive),undefined);}const toAdapt={};for(const[key,element]of Object.entries(value)){toAdapt[key]=cloneRecursive(element);}return global._makeShareableClone(toAdapt,value);}return global._makeShareableClone(value,undefined);}return cloneRecursive(value);}”},Re=function(){const e=function(e){if(ce)return e;return function e(t){if(“object”===typeof t&&null!==t||”function”===typeof t){if(pe(t))return r.g._makeShareableClone(t,void 0);if(Ce(t))return t.__remoteFunction;if(Array.isArray(t))return r.g._makeShareableClone(t.map(e),void 0);const n={};for(const[r,i]of Object.entries(t))n[r]=e(i);return r.g._makeShareableClone(n,t)}return r.g._makeShareableClone(t,void 0)}(e)};return e.__closure={SHOULD_BE_USE_WEB:ce,isHostObject:pe,isRemoteFunction:Ce},e.__workletHash=4829768171363,e.__initData=Ae,e}();const Te={code:”function reactNativeReanimated_shareablesJs9(){const{value}=this.__closure;return value;}”};const De=ce?function(e){return e}:function(e){if(le.get(e))return e;const t=be({__init:function(){const t=function(){return e};return t.__closure={value:e},t.__workletHash=3766025653260,t.__initData=Te,t}()});return le.set(e,t),e},Ie=V(),Oe=H();let je=[];const Pe={code:”function setupMicrotasks_reactNativeReanimated_threadsJs1(){let microtasksQueue=[];let isExecutingMicrotasksQueue=false;global.queueMicrotask=function(callback){microtasksQueue.push(callback);};global.__callMicrotasks=function(){if(isExecutingMicrotasksQueue){return;}try{isExecutingMicrotasksQueue=true;for(let index=0;index{e.push(t)},r.g.__callMicrotasks=()=>{if(!t)try{t=!0;for(let t=0;t{}:Ne,Fe={code:”function runOnUI_reactNativeReanimated_threadsJs3(worklet){const{__DEV__,SHOULD_BE_USE_WEB,isWorkletFunction,IS_JEST,ReanimatedModule,makeShareableCloneRecursive,callMicrotasks}=this.__closure;if(__DEV__&&!SHOULD_BE_USE_WEB&&_WORKLET){throw new ReanimatedError(‘`runOnUI` cannot be called on the UI runtime. Please call the function synchronously or use `queueMicrotask` or `requestAnimationFrame` instead.’);}if(__DEV__&&!SHOULD_BE_USE_WEB&&!isWorkletFunction(worklet)){throw new ReanimatedError(‘`runOnUI` can only be used with worklets.’);}return function(…args){if(IS_JEST){ReanimatedModule.scheduleOnUI(makeShareableCloneRecursive(function(){‘worklet’;worklet(…args);}));return;}if(__DEV__){makeShareableCloneRecursive(worklet);makeShareableCloneRecursive(args);}_runOnUIQueue.push([worklet,args]);if(_runOnUIQueue.length===1){queueMicrotask(function(){const queue=_runOnUIQueue;_runOnUIQueue=[];ReanimatedModule.scheduleOnUI(makeShareableCloneRecursive(function(){‘worklet’;queue.forEach(function([worklet,args]){worklet(…args);});callMicrotasks();}));});}};}”},Ve={code:”function reactNativeReanimated_threadsJs4(){const{worklet,args}=this.__closure;worklet(…args);}”},Be={code:”function reactNativeReanimated_threadsJs5(){const{queue,callMicrotasks}=this.__closure;queue.forEach(function([worklet,args]){worklet(…args);});callMicrotasks();}”},He=function(){const e=function(e){return(…t)=>{Ie?ie.scheduleOnUI(be(function(){const n=function(){e(…t)};return n.__closure={worklet:e,args:t},n.__workletHash=2397368300769,n.__initData=Ve,n}())):(je.push([e,t]),1===je.length&&queueMicrotask((()=>{const e=je;je=[],ie.scheduleOnUI(be(function(){const t=function(){e.forEach((([e,t])=>{e(…t)})),Le()};return t.__closure={queue:e,callMicrotasks:Le},t.__workletHash=4355303211381,t.__initData=Be,t}()))})))}};return e.__closure={__DEV__:!1,SHOULD_BE_USE_WEB:Oe,isWorkletFunction:q,IS_JEST:Ie,ReanimatedModule:ie,makeShareableCloneRecursive:be,callMicrotasks:Le},e.__workletHash=4445380642666,e.__initData=Fe,e}(),Ue={code:”function reactNativeReanimated_threadsJs6(){const{worklet,args,makeShareableCloneOnUIRecursive}=this.__closure;const result=worklet(…args);return makeShareableCloneOnUIRecursive(result);}”};function ze(e){return(…t)=>ie.executeOnUIRuntimeSync(be(function(){const n=function(){const n=e(…t);return Re(n)};return n.__closure={worklet:e,args:t,makeShareableCloneOnUIRecursive:Re},n.__workletHash=6795603396775,n.__initData=Ue,n}()))}const We={code:”function runOnUIImmediately_reactNativeReanimated_threadsJs7(worklet){const{__DEV__,SHOULD_BE_USE_WEB,isWorkletFunction,ReanimatedModule,makeShareableCloneRecursive}=this.__closure;if(__DEV__&&!SHOULD_BE_USE_WEB&&_WORKLET){throw new ReanimatedError(‘`runOnUIImmediately` cannot be called on the UI runtime. Please call the function synchronously or use `queueMicrotask` or `requestAnimationFrame` instead.’);}if(__DEV__&&!SHOULD_BE_USE_WEB&&!isWorkletFunction(worklet)){throw new ReanimatedError(‘`runOnUIImmediately` can only be used with worklets.’);}return function(…args){ReanimatedModule.scheduleOnUI(makeShareableCloneRecursive(function(){‘worklet’;worklet(…args);}));};}”},Ke={code:”function reactNativeReanimated_threadsJs8(){const{worklet,args}=this.__closure;worklet(…args);}”},Xe=function(){const e=function(e){return(…t)=>{ie.scheduleOnUI(be(function(){const n=function(){e(…t)};return n.__closure={worklet:e,args:t},n.__workletHash=0xa007ba6f8ed,n.__initData=Ke,n}()))}};return e.__closure={__DEV__:!1,SHOULD_BE_USE_WEB:Oe,isWorkletFunction:q,ReanimatedModule:ie,makeShareableCloneRecursive:be},e.__workletHash=8122972075976,e.__initData=We,e}();function qe(e,…t){e(…t)}const Ge={code:”function runOnJS_reactNativeReanimated_threadsJs9(fun){const runOnJS_reactNativeReanimated_threadsJs9=this._recur;const{SHOULD_BE_USE_WEB,isWorkletFunction,runWorkletOnJS,makeShareableCloneOnUIRecursive}=this.__closure;if(SHOULD_BE_USE_WEB||!_WORKLET){return function(…args){return queueMicrotask(args.length?function(){return fun(…args);}:fun);};}if(isWorkletFunction(fun)){return function(…args){return runOnJS_reactNativeReanimated_threadsJs9(runWorkletOnJS)(fun,…args);};}if(fun.__remoteFunction){fun=fun.__remoteFunction;}const scheduleOnJS=typeof fun===’function’?global._scheduleHostFunctionOnJS:global._scheduleRemoteFunctionOnJS;return function(…args){scheduleOnJS(fun,args.length>0?makeShareableCloneOnUIRecursive(args):undefined);};}”},Ye=function(){const e=function(t){if(Oe||!_WORKLET)return(…e)=>queueMicrotask(e.length?()=>t(…e):t);if(q(t))return(…n)=>e(qe)(t,…n);t.__remoteFunction&&(t=t.__remoteFunction);const n=”function”===typeof t?r.g._scheduleHostFunctionOnJS:r.g._scheduleRemoteFunctionOnJS;return(…e)=>{n(t,e.length>0?Re(e):void 0)}};return e.__closure={SHOULD_BE_USE_WEB:Oe,isWorkletFunction:q,runWorkletOnJS:qe,makeShareableCloneOnUIRecursive:Re},e.__workletHash=0xed4e2d71377,e.__initData=Ge,e}(),Ze=(V(),H()),Je=B(),$e={code:”function overrideLogFunctionImplementation_reactNativeReanimated_initializersJs1(){const{replaceLoggerImplementation,runOnJS,logToLogBoxAndConsole}=this.__closure;replaceLoggerImplementation(function(data){‘worklet’;runOnJS(logToLogBoxAndConsole)(data);});}”},Qe={code:”function reactNativeReanimated_initializersJs2(data){const{runOnJS,logToLogBoxAndConsole}=this.__closure;runOnJS(logToLogBoxAndConsole)(data);}”},et=function(){const e=function(){D(function(){const e=function(e){Ye(x)(e)};return e.__closure={runOnJS:Ye,logToLogBoxAndConsole:x},e.__workletHash=0xced918978fc,e.__initData=Qe,e}())};return e.__closure={replaceLoggerImplementation:D,runOnJS:Ye,logToLogBoxAndConsole:x},e.__workletHash=125413399060,e.__initData=$e,e}();R(k),et(),Ze?(r.g._WORKLET=!1,r.g._log=function(){},r.g._getAnimationTimestamp=()=>performance.now()):(ze(d)(),ze(R)(k),ze(et)());const tt={code:”function callGuardDEV_reactNativeReanimated_initializersJs3(fn,…args){try{return fn(…args);}catch(e){if(global.__ErrorUtils){global.__ErrorUtils.reportFatalError(e);}else{throw e;}}}”},nt=function(){const t=function(t,…n){try{return t(…n)}catch(e){if(!r.g.__ErrorUtils)throw e;r.g.__ErrorUtils.reportFatalError(e)}};return t.__closure={},t.__workletHash=0xc75ace76a03,t.__initData=tt,t}(),rt={code:”function setupCallGuard_reactNativeReanimated_initializersJs4(){const{callGuardDEV,runOnJS,reportFatalErrorOnJS}=this.__closure;global.__callGuardDEV=callGuardDEV;global.__ErrorUtils={reportFatalError:function(error){runOnJS(reportFatalErrorOnJS)({message:error.message,stack:error.stack});}};}”},it=function(){const e=function(){r.g.__callGuardDEV=nt,r.g.__ErrorUtils={reportFatalError:e=>{Ye(h)({message:e.message,stack:e.stack})}}};return e.__closure={callGuardDEV:nt,runOnJS:Ye,reportFatalErrorOnJS:h},e.__workletHash=0xee0ea48f435,e.__initData=rt,e}();const ot=Object.fromEntries(Object.entries(console).map((([e,t])=>{const n=function(…e){return t(…e)};return t.name&&Object.defineProperty(n,”name”,{value:t.name,writable:!1}),[e,n]}))),at={code:”function setupConsole_reactNativeReanimated_initializersJs5(){const{IS_CHROME_DEBUGGER,runOnJS,capturableConsole}=this.__closure;if(!IS_CHROME_DEBUGGER){global.console={assert:runOnJS(capturableConsole.assert),debug:runOnJS(capturableConsole.debug),log:runOnJS(capturableConsole.log),warn:runOnJS(capturableConsole.warn),error:runOnJS(capturableConsole.error),info:runOnJS(capturableConsole.info)};}}”},st=function(){const e=function(){Je||(r.g.console={assert:Ye(ot.assert),debug:Ye(ot.debug),log:Ye(ot.log),warn:Ye(ot.warn),error:Ye(ot.error),info:Ye(ot.info)})};return e.__closure={IS_CHROME_DEBUGGER:Je,runOnJS:Ye,capturableConsole:ot},e.__workletHash=0xb41e09d4d59,e.__initData=at,e}(),lt={code:”function setupRequestAnimationFrame_reactNativeReanimated_initializersJs6(){const{callMicrotasks}=this.__closure;const nativeRequestAnimationFrame=global.requestAnimationFrame;let animationFrameCallbacks=[];let flushRequested=false;global.__flushAnimationFrame=function(frameTimestamp){const currentCallbacks=animationFrameCallbacks;animationFrameCallbacks=[];currentCallbacks.forEach(function(f){return f(frameTimestamp);});callMicrotasks();};global.requestAnimationFrame=function(callback){animationFrameCallbacks.push(callback);if(!flushRequested){flushRequested=true;nativeRequestAnimationFrame(function(timestamp){flushRequested=false;global.__frameTimestamp=timestamp;global.__flushAnimationFrame(timestamp);global.__frameTimestamp=undefined;});}return-1;};}”};!function(){const e=function(){const e=r.g.requestAnimationFrame;let t=[],n=!1;r.g.__flushAnimationFrame=e=>{const n=t;t=[],n.forEach((t=>t(e))),Le()},r.g.requestAnimationFrame=i=>(t.push(i),n||(n=!0,e((e=>{n=!1,r.g.__frameTimestamp=e,r.g.__flushAnimationFrame(e),r.g.__frameTimestamp=void 0}))),-1)};e.__closure={callMicrotasks:Le},e.__workletHash=8389799221965,e.__initData=lt}();const ct={code:”function valueSetter_reactNativeReanimated_valueSetterJs1(mutable,value,forceUpdate=false){const previousAnimation=mutable._animation;if(previousAnimation){previousAnimation.cancelled=true;mutable._animation=null;}if(typeof value===’function’||value!==null&&typeof value===’object’&&value.onFrame!==undefined){const animation=typeof value===’function’?value():value;if(mutable._value===animation.current&&!animation.isHigherOrder&&!forceUpdate){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,mutable.value,timestamp,previousAnimation);};const currentTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();initializeAnimation(currentTimestamp);const step=function(newTimestamp){const timestamp=newTimestamp<(animation.timestamp||0)?animation.timestamp:newTimestamp;if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;mutable._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};mutable._animation=animation;step(currentTimestamp);}else{if(mutable._value===value&&!forceUpdate){return;}mutable._value=value;}}"},ut=function(){const e=function(e,t,n=!1){const i=e._animation;if(i&&(i.cancelled=!0,e._animation=null),"function"===typeof t||null!==t&&"object"===typeof t&&void 0!==t.onFrame){const o="function"===typeof t?t():t;if(e._value===o.current&&!o.isHigherOrder&&!n)return void(o.callback&&o.callback(!0));const a=t=>{o.onStart(o,e.value,t,i)},s=r.g.__frameTimestamp||r.g._getAnimationTimestamp();a(s);const l=t=>{const n=t<(o.timestamp||0)?o.timestamp:t;if(o.cancelled)return void(o.callback&&o.callback(!1));const r=o.onFrame(o,n);o.finished=!0,o.timestamp=n,e._value=o.current,r?o.callback&&o.callback(!0):requestAnimationFrame(l)};e._animation=o,l(s)}else{if(e._value===t&&!n)return;e._value=t}};return e.__closure={},e.__workletHash=8092936786998,e.__initData=ct,e}(),dt=H();function pt(){0}function ft(){0}const ht={code:"function addCompilerSafeGetAndSet_reactNativeReanimated_mutablesJs1(mutable){Object.defineProperties(mutable,{get:{value:function(){return mutable.value;},configurable:false,enumerable:false},set:{value:function(newValue){if(typeof newValue==='function'&&!newValue.__isAnimationDefinition){mutable.value=newValue(mutable.value);}else{mutable.value=newValue;}},configurable:false,enumerable:false}});}"},mt=function(){const e=function(e){Object.defineProperties(e,{get:{value:()=>e.value,configurable:!1,enumerable:!1},set:{value(t){“function”!==typeof t||t.__isAnimationDefinition?e.value=t:e.value=t(e.value)},configurable:!1,enumerable:!1}})};return e.__closure={},e.__workletHash=0xf1c3f2ca2e2,e.__initData=ht,e}(),gt={code:”function hideInternalValueProp_reactNativeReanimated_mutablesJs2(mutable){Object.defineProperty(mutable,’_value’,{configurable:false,enumerable:false});}”},yt=function(){const e=function(e){Object.defineProperty(e,”_value”,{configurable:!1,enumerable:!1})};return e.__closure={},e.__workletHash=8838646149489,e.__initData=gt,e}(),vt={code:”function makeMutableUI_reactNativeReanimated_mutablesJs3(initial){const{valueSetter,hideInternalValueProp,addCompilerSafeGetAndSet}=this.__closure;const listeners=new Map();let value=initial;const mutable={get value(){return value;},set value(newValue){valueSetter(mutable,newValue);},get _value(){return value;},set _value(newValue){value=newValue;listeners.forEach(function(listener){listener(newValue);});},modify:function(modifier,forceUpdate=true){valueSetter(mutable,modifier!==undefined?modifier(value):value,forceUpdate);},addListener:function(id,listener){listeners.set(id,listener);},removeListener:function(id){listeners.delete(id);},_animation:null,_isReanimatedSharedValue:true};hideInternalValueProp(mutable);addCompilerSafeGetAndSet(mutable);return mutable;}”},bt=function(){const e=function(e){const t=new Map;let n=e;const r={get value(){return n},set value(e){ut(r,e)},get _value(){return n},set _value(e){n=e,t.forEach((t=>{t(e)}))},modify:(e,t=!0)=>{ut(r,void 0!==e?e(n):n,t)},addListener:(e,n)=>{t.set(e,n)},removeListener:e=>{t.delete(e)},_animation:null,_isReanimatedSharedValue:!0};return yt(r),mt(r),r};return e.__closure={valueSetter:ut,hideInternalValueProp:yt,addCompilerSafeGetAndSet:mt},e.__workletHash=2026298274947,e.__initData=vt,e}(),wt={code:”function reactNativeReanimated_mutablesJs4(){const{makeMutableUI,initial}=this.__closure;return makeMutableUI(initial);}”},kt={code:”function reactNativeReanimated_mutablesJs5(sv){return sv.value;}”},_t={code:”function reactNativeReanimated_mutablesJs6(){const{mutable,newValue}=this.__closure;mutable.value=newValue;}”},Et={code:”function reactNativeReanimated_mutablesJs7(){const{mutable,modifier,forceUpdate}=this.__closure;mutable.modify(modifier,forceUpdate);}”};const St=dt?function(e){let t=e;const n=new Map,r={get value(){return pt(),t},set value(e){ft(),ut(r,e)},get _value(){return t},set _value(e){t=e,n.forEach((t=>{t(e)}))},modify:(e,t=!0)=>{ut(r,void 0!==e?e(r.value):r.value,t)},addListener:(e,t)=>{n.set(e,t)},removeListener:e=>{n.delete(e)},_isReanimatedSharedValue:!0};return yt(r),mt(r),r}:function(e){const t=be({__init:function(){const t=function(){return bt(e)};return t.__closure={makeMutableUI:bt,initial:e},t.__workletHash=0xe0caed74c2d,t.__initData=wt,t}()}),n={get value(){pt();return ze(function(){const e=function(e){return e.value};return e.__closure={},e.__workletHash=5992386903096,e.__initData=kt,e}())(n)},set value(e){ft(),He(function(){const t=function(){n.value=e};return t.__closure={mutable:n,newValue:e},t.__workletHash=6286833930716,t.__initData=_t,t}())()},get _value(){throw new c(“Reading from `_value` directly is only possible on the UI runtime. Perhaps you passed an Animated Style to a non-animated component?”)},set _value(e){throw new c(“Setting `_value` directly is only possible on the UI runtime. Perhaps you want to assign to `value` instead?”)},modify:(e,t=!0)=>{He(function(){const r=function(){n.modify(e,t)};return r.__closure={mutable:n,modifier:e,forceUpdate:t},r.__workletHash=6323190190522,r.__initData=Et,r}())()},addListener:()=>{throw new c(“Adding listeners is only possible on the UI runtime.”)},removeListener:()=>{throw new c(“Removing listeners is only possible on the UI runtime.”)},_isReanimatedSharedValue:!0};return yt(n),mt(n),le.set(n,t),n};class Ct{listenersNumber=0;sensorId=null;constructor(e,t){this.sensorType=e,this.config=t,this.data=function(e){return e===G.ROTATION?St({qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0,interfaceOrientation:0}):St({x:0,y:0,z:0,interfaceOrientation:0})}(e)}register(e){const t=this.config,n=this.sensorType;return this.sensorId=ie.registerSensor(n,”auto”===t.interval?-1:t.interval,t.iosReferenceFrame,e),-1!==this.sensorId}isRunning(){return-1!==this.sensorId&&null!==this.sensorId}isAvailable(){return-1!==this.sensorId}getSharedValue(){return this.data}unregister(){null!==this.sensorId&&-1!==this.sensorId&&ie.unregisterSensor(this.sensorId),this.sensorId=null}}class xt{nativeSensors=new Map;getSensorId(e,t){return 100*e+10*t.iosReferenceFrame+Number(t.adjustToInterfaceOrientation)}initializeSensor(e,t){const n=this.getSensorId(e,t);if(!this.nativeSensors.has(n)){const r=new Ct(e,t);this.nativeSensors.set(n,r)}return this.nativeSensors.get(n).getSharedValue()}registerSensor(e,t,n){const r=this.getSensorId(e,t);if(!this.nativeSensors.has(r))return-1;const i=this.nativeSensors.get(r);return i&&i.isAvailable()&&(i.isRunning()||i.register(n))?(i.listenersNumber++,r):-1}unregisterSensor(e){if(this.nativeSensors.has(e)){const t=this.nativeSensors.get(e);t&&t.isRunning()&&(t.listenersNumber–,0===t.listenersNumber&&t.unregister())}}}const At={code:”function isSharedValue_reactNativeReanimated_isSharedValueJs1(value){return(value===null||value===void 0?void 0:value._isReanimatedSharedValue)===true;}”},Rt=function(){const e=function(e){return!0===e?._isReanimatedSharedValue};return e.__closure={},e.__workletHash=6111424988838,e.__initData=At,e}(),Tt=V(),Dt={code:”function createMapperRegistry_reactNativeReanimated_mappersJs1(){const{IS_JEST,isSharedValue}=this.__closure;const mappers=new Map();let sortedMappers=[];let runRequested=false;let processingMappers=false;function updateMappersOrder(){const pre=new Map();mappers.forEach(function(mapper){if(mapper.outputs){for(const output of mapper.outputs){const preMappers=pre.get(output);if(preMappers===undefined){pre.set(output,[mapper]);}else{preMappers.push(mapper);}}}});const visited=new Set();const newOrder=[];function dfs(mapper){visited.add(mapper);for(const input of mapper.inputs){const preMappers=pre.get(input);if(preMappers){for(const preMapper of preMappers){if(!visited.has(preMapper)){dfs(preMapper);}}}}newOrder.push(mapper);}mappers.forEach(function(mapper){if(!visited.has(mapper)){dfs(mapper);}});sortedMappers=newOrder;}function mapperRun(){runRequested=false;if(processingMappers){return;}try{processingMappers=true;if(mappers.size!==sortedMappers.length){updateMappersOrder();}for(const mapper of sortedMappers){if(mapper.dirty){mapper.dirty=false;mapper.worklet();}}}finally{processingMappers=false;}}function maybeRequestUpdates(){if(IS_JEST){mapperRun();}else if(!runRequested){if(processingMappers){requestAnimationFrame(mapperRun);}else{queueMicrotask(mapperRun);}runRequested=true;}}function extractInputs(inputs,resultArray){if(Array.isArray(inputs)){for(const input of inputs){input&&extractInputs(input,resultArray);}}else if(isSharedValue(inputs)){resultArray.push(inputs);}else if(Object.getPrototypeOf(inputs)===Object.prototype){for(const element of Object.values(inputs)){element&&extractInputs(element,resultArray);}}return resultArray;}return{start:function(mapperID,worklet,inputs,outputs){const mapper={id:mapperID,dirty:true,worklet:worklet,inputs:extractInputs(inputs,[]),outputs:outputs};mappers.set(mapper.id,mapper);sortedMappers=[];for(const sv of mapper.inputs){sv.addListener(mapper.id,function(){mapper.dirty=true;maybeRequestUpdates();});}maybeRequestUpdates();},stop:function(mapperID){const mapper=mappers.get(mapperID);if(mapper){mappers.delete(mapper.id);sortedMappers=[];for(const sv of mapper.inputs){sv.removeListener(mapper.id);}}}};}”},It=function(){const e=function(){const e=new Map;let t=[],n=!1,r=!1;function i(){const n=new Map;e.forEach((e=>{if(e.outputs)for(const t of e.outputs){const r=n.get(t);void 0===r?n.set(t,[e]):r.push(e)}}));const r=new Set,i=[];function o(e){r.add(e);for(const t of e.inputs){const e=n.get(t);if(e)for(const t of e)r.has(t)||o(t)}i.push(e)}e.forEach((e=>{r.has(e)||o(e)})),t=i}function o(){if(n=!1,!r)try{r=!0,e.size!==t.length&&i();for(const e of t)e.dirty&&(e.dirty=!1,e.worklet())}finally{r=!1}}function a(){Tt?o():n||(r?requestAnimationFrame(o):queueMicrotask(o),n=!0)}function s(e,t){if(Array.isArray(e))for(const n of e)n&&s(n,t);else if(Rt(e))t.push(e);else if(Object.getPrototypeOf(e)===Object.prototype)for(const n of Object.values(e))n&&s(n,t);return t}return{start:(n,r,i,o)=>{const l={id:n,dirty:!0,worklet:r,inputs:s(i,[]),outputs:o};e.set(l.id,l),t=[];for(const e of l.inputs)e.addListener(l.id,(()=>{l.dirty=!0,a()}));a()},stop:n=>{const r=e.get(n);if(r){e.delete(r.id),t=[];for(const e of r.inputs)e.removeListener(r.id)}}}};return e.__closure={IS_JEST:Tt,isSharedValue:Rt},e.__workletHash=1831615820738,e.__initData=Dt,e}();let Ot=9999;const jt={code:”function reactNativeReanimated_mappersJs2(){const{createMapperRegistry,mapperID,worklet,inputs,outputs}=this.__closure;let mapperRegistry=global.__mapperRegistry;if(mapperRegistry===undefined){mapperRegistry=global.__mapperRegistry=createMapperRegistry();}mapperRegistry.start(mapperID,worklet,inputs,outputs);}”};function Pt(e,t=[],n=[]){const i=Ot+=1;return He(function(){const o=function(){let o=r.g.__mapperRegistry;void 0===o&&(o=r.g.__mapperRegistry=It()),o.start(i,e,t,n)};return o.__closure={createMapperRegistry:It,mapperID:i,worklet:e,inputs:t,outputs:n},o.__workletHash=6546531365916,o.__initData=jt,o}())(),i}const Mt={code:”function reactNativeReanimated_mappersJs3(){const{mapperID}=this.__closure;const mapperRegistry=global.__mapperRegistry;mapperRegistry===null||mapperRegistry===void 0||mapperRegistry.stop(mapperID);}”};function Nt(e){He(function(){const t=function(){const t=r.g.__mapperRegistry;t?.stop(e)};return t.__closure={mapperID:e},t.__workletHash=2151698497712,t.__initData=Mt,t}())()}const Lt=H(),Ft={code:”function reactNativeReanimated_runtimesJs1(){const{registerReanimatedError,registerLoggerConfig,config,setupCallGuard,setupConsole,initializer}=this.__closure;var _initializer;registerReanimatedError();registerLoggerConfig(config);setupCallGuard();setupConsole();(_initializer=initializer)===null||_initializer===void 0||_initializer();}”};function Vt(e,t){const n=__reanimatedLoggerConfig;return ie.createWorkletRuntime(e,be(function(){const e=function(){d(),R(n),it(),st(),t?.()};return e.__closure={registerReanimatedError:d,registerLoggerConfig:R,config:n,setupCallGuard:it,setupConsole:st,initializer:t},e.__workletHash=3079584135205,e.__initData=Ft,e}()))}const Bt={code:”function runOnRuntime_reactNativeReanimated_runtimesJs2(workletRuntime,worklet){const{__DEV__,SHOULD_BE_USE_WEB,isWorkletFunction,makeShareableCloneOnUIRecursive,ReanimatedModule,makeShareableCloneRecursive}=this.__closure;if(__DEV__&&!SHOULD_BE_USE_WEB&&!isWorkletFunction(worklet)){throw new ReanimatedError(‘The function passed to `runOnRuntime` is not a worklet.’+(_WORKLET?’ Please make sure that `processNestedWorklets` option in Reanimated Babel plugin is enabled.’:”));}if(_WORKLET){return function(…args){return global._scheduleOnRuntime(workletRuntime,makeShareableCloneOnUIRecursive(function(){‘worklet’;worklet(…args);}));};}return function(…args){return ReanimatedModule.scheduleOnRuntime(workletRuntime,makeShareableCloneRecursive(function(){‘worklet’;worklet(…args);}));};}”},Ht={code:”function reactNativeReanimated_runtimesJs3(){const{worklet,args}=this.__closure;worklet(…args);}”},Ut={code:”function reactNativeReanimated_runtimesJs4(){const{worklet,args}=this.__closure;worklet(…args);}”},zt=function(){const e=function(e,t){return _WORKLET?(…n)=>r.g._scheduleOnRuntime(e,Re(function(){const e=function(){t(…n)};return e.__closure={worklet:t,args:n},e.__workletHash=734813279060,e.__initData=Ht,e}())):(…n)=>ie.scheduleOnRuntime(e,be(function(){const e=function(){t(…n)};return e.__closure={worklet:t,args:n},e.__workletHash=3463492873011,e.__initData=Ut,e}()))};return e.__closure={__DEV__:!1,SHOULD_BE_USE_WEB:Lt,isWorkletFunction:q,makeShareableCloneOnUIRecursive:Re,ReanimatedModule:ie,makeShareableCloneRecursive:be},e.__workletHash=0xbd8d109b845,e.__initData=Bt,e}(),Wt=!0,Kt=H(),Xt=()=>!0,qt=Xt;function Gt(e,t,n){if(U()&&!n)throw new c(“Function `getViewProp` requires a component to be passed as an argument on Fabric.”);return new Promise(((r,i)=>ie.getViewProp(e,t,n,(e=>{“string”===typeof e&&”error:”===e.substr(0,6)?i(e):r(e)}))))}function Yt(){return r.g.__sensorContainer||(r.g.__sensorContainer=new xt),r.g.__sensorContainer}const Zt={code:”function handleAndFlushAnimationFrame_reactNativeReanimated_coreJs1(eventTimestamp,event){const{eventHandler}=this.__closure;global.__frameTimestamp=eventTimestamp;eventHandler(event);global.__flushAnimationFrame(eventTimestamp);global.__frameTimestamp=undefined;}”};function Jt(e,t,n=-1){const i=function(){const t=function(t,n){r.g.__frameTimestamp=t,e(n),r.g.__flushAnimationFrame(t),r.g.__frameTimestamp=void 0};return t.__closure={eventHandler:e},t.__workletHash=5990672709877,t.__initData=Zt,t}();return ie.registerEventHandler(be(i),t,n)}function $t(e){return ie.unregisterEventHandler(e)}const Qt={code:”function handleAndFlushAnimationFrame_reactNativeReanimated_coreJs2(state,height){const{eventHandler}=this.__closure;const now=global._getAnimationTimestamp();global.__frameTimestamp=now;eventHandler(state,height);global.__flushAnimationFrame(now);global.__frameTimestamp=undefined;}”};function en(e,t){const n=function(){const t=function(t,n){const i=r.g._getAnimationTimestamp();r.g.__frameTimestamp=i,e(t,n),r.g.__flushAnimationFrame(i),r.g.__frameTimestamp=void 0};return t.__closure={eventHandler:e},t.__workletHash=0xf4dbf8a3558,t.__initData=Qt,t}();return ie.subscribeForKeyboardEvents(be(n),Wt||(t.isStatusBarTranslucentAndroid??!1),Wt||(t.isNavigationBarTranslucentAndroid??!1))}function tn(e,t){return Yt().initializeSensor(e,t)}let nn={enableLayoutAnimations:!1,setByUser:!1};function rn(e,t=!0){t?(nn={enableLayoutAnimations:e,setByUser:!0},ie.enableLayoutAnimations(e)):nn.setByUser||nn.enableLayoutAnimations===e||(nn.enableLayoutAnimations=e,ie.enableLayoutAnimations(e))}const on=”[-+]?\\d*\\.?\\d+”,an=on+”%”;function sn(…e){return”\\(\\s*(“+e.join(“)\\s*,?\\s*(“)+”)\\s*\\)”}function ln(…e){return”\\(\\s*(“+e.slice(0,e.length-1).join(“)\\s*,?\\s*(“)+”)\\s*/\\s*(“+e[e.length-1]+”)\\s*\\)”}function cn(…e){return”\\(\\s*(“+e.join(“)\\s*,\\s*(“)+”)\\s*\\)”}const un={rgb:new RegExp(“rgb”+sn(on,on,on)),rgba:new RegExp(“rgba(“+cn(on,on,on,on)+”|”+ln(on,on,on,on)+”)”),hsl:new RegExp(“hsl”+sn(on,an,an)),hsla:new RegExp(“hsla(“+cn(on,an,an,on)+”|”+ln(on,an,an,on)+”)”),hwb:new RegExp(“hwb”+sn(on,an,an)),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})$/},dn={code:”function hue2rgb_reactNativeReanimated_ColorsJs1(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}"},pn=function(){const e=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e};return e.__closure={},e.__workletHash=6465697987976,e.__initData=dn,e}(),fn={code:"function hslToRgb_reactNativeReanimated_ColorsJs2(h,s,l){const{hue2rgb}=this.__closure;const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}"},hn=function(){const e=function(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=pn(i,r,e+1/3),a=pn(i,r,e),s=pn(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8};return e.__closure={hue2rgb:pn},e.__workletHash=8357945951018,e.__initData=fn,e}(),mn={code:"function hwbToRgb_reactNativeReanimated_ColorsJs3(h,w,b){const{hue2rgb}=this.__closure;if(w+b>=1){const gray=Math.round(w*255/(w+b));return gray<<24|gray<<16|gray<<8;}const red=hue2rgb(0,1,h+1/3)*(1-w-b)+w;const green=hue2rgb(0,1,h)*(1-w-b)+w;const blue=hue2rgb(0,1,h-1/3)*(1-w-b)+w;return Math.round(red*255)<<24|Math.round(green*255)<<16|Math.round(blue*255)<<8;}"},gn=function(){const e=function(e,t,n){if(t+n>=1){const e=Math.round(255*t/(t+n));return e<<24|e<<16|e<<8}const r=pn(0,1,e+1/3)*(1-t-n)+t,i=pn(0,1,e)*(1-t-n)+t,o=pn(0,1,e-1/3)*(1-t-n)+t;return Math.round(255*r)<<24|Math.round(255*i)<<16|Math.round(255*o)<<8};return e.__closure={hue2rgb:pn},e.__workletHash=8354719868736,e.__initData=mn,e}(),yn={code:"function parse255_reactNativeReanimated_ColorsJs4(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}”},vn=function(){const e=function(e){const t=Number.parseInt(e,10);return t<0?0:t>255?255:t};return e.__closure={},e.__workletHash=2764477577497,e.__initData=yn,e}(),bn={code:”function parse360_reactNativeReanimated_ColorsJs5(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}”},wn=function(){const e=function(e){return(Number.parseFloat(e)%360+360)%360/360};return e.__closure={},e.__workletHash=0x922d49fc576,e.__initData=bn,e}(),kn={code:”function parse1_reactNativeReanimated_ColorsJs6(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}”},_n=function(){const e=function(e){const t=Number.parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)};return e.__closure={},e.__workletHash=0xbfd3b03d510,e.__initData=kn,e}(),En={code:”function parsePercentage_reactNativeReanimated_ColorsJs7(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}”},Sn=function(){const e=function(e){const t=Number.parseFloat(e);return t<0?0:t>100?1:t/100};return e.__closure={},e.__workletHash=8288364824928,e.__initData=En,e}(),Cn={code:”function clampRGBA_reactNativeReanimated_ColorsJs8(RGBA){for(let i=0;i<4;i++){RGBA[i]=Math.max(0,Math.min(RGBA[i],1));}}"},xn=function(){const e=function(e){for(let t=0;t<4;t++)e[t]=Math.max(0,Math.min(e[t],1))};return e.__closure={},e.__workletHash=1803948073058,e.__initData=Cn,e}(),An=De({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}),Rn=De(["backgroundColor","borderBottomColor","borderColor","borderLeftColor","borderRightColor","borderTopColor","borderStartColor","borderEndColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","outlineColor","shadowColor","textDecorationColor","tintColor","textShadowColor","overlayColor","fill","floodColor","lightingColor","stopColor","stroke"]),Tn=De({boxShadow:"color"}),Dn={code:"function normalizeColor_reactNativeReanimated_ColorsJs9(color){const{MATCHERS,names,parse255,parse1,hslToRgb,parse360,parsePercentage,hwbToRgb}=this.__closure;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}let match;if(match=MATCHERS.hex6.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=MATCHERS.rgb.exec(color)){return((parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0);}if(match=MATCHERS.rgba.exec(color)){if(match[6]!==undefined){return(parse255(match[6])<<24|parse255(match[7])<<16|parse255(match[8])<<8|parse1(match[9]))>>>0;}return(parse255(match[2])<<24|parse255(match[3])<<16|parse255(match[4])<<8|parse1(match[5]))>>>0;}if(match=MATCHERS.hex3.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+’ff’,16)>>>0;}if(match=MATCHERS.hex8.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=MATCHERS.hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=MATCHERS.hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=MATCHERS.hsla.exec(color)){if(match[6]!==undefined){return(hslToRgb(parse360(match[6]),parsePercentage(match[7]),parsePercentage(match[8]))|parse1(match[9]))>>>0;}return(hslToRgb(parse360(match[2]),parsePercentage(match[3]),parsePercentage(match[4]))|parse1(match[5]))>>>0;}if(match=MATCHERS.hwb.exec(color)){return(hwbToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}return null;}”},In=function(){const e=function(e){if(“number”===typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!==typeof e)return null;let t;return(t=un.hex6.exec(e))?Number.parseInt(t[1]+"ff",16)>>>0:void 0!==An[e]?An[e]:(t=un.rgb.exec(e))?(vn(t[1])<<24|vn(t[2])<<16|vn(t[3])<<8|255)>>>0:(t=un.rgba.exec(e))?void 0!==t[6]?(vn(t[6])<<24|vn(t[7])<<16|vn(t[8])<<8|_n(t[9]))>>>0:(vn(t[2])<<24|vn(t[3])<<16|vn(t[4])<<8|_n(t[5]))>>>0:(t=un.hex3.exec(e))?Number.parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+”ff”,16)>>>0:(t=un.hex8.exec(e))?Number.parseInt(t[1],16)>>>0:(t=un.hex4.exec(e))?Number.parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=un.hsl.exec(e))?(255|hn(wn(t[1]),Sn(t[2]),Sn(t[3])))>>>0:(t=un.hsla.exec(e))?void 0!==t[6]?(hn(wn(t[6]),Sn(t[7]),Sn(t[8]))|_n(t[9]))>>>0:(hn(wn(t[2]),Sn(t[3]),Sn(t[4]))|_n(t[5]))>>>0:(t=un.hwb.exec(e))?(255|gn(wn(t[1]),Sn(t[2]),Sn(t[3])))>>>0:null};return e.__closure={MATCHERS:un,names:An,parse255:vn,parse1:_n,hslToRgb:hn,parse360:wn,parsePercentage:Sn,hwbToRgb:gn},e.__workletHash=0xe009dc22815,e.__initData=Dn,e}(),On={code:”function reactNativeReanimated_ColorsJs10(c){return(c>>24&255)/255;}”},jn=function(){const e=function(e){return(e>>24&255)/255};return e.__closure={},e.__workletHash=2755491285980,e.__initData=On,e}(),Pn={code:”function reactNativeReanimated_ColorsJs11(c){return c>>16&255;}”},Mn=function(){const e=function(e){return e>>16&255};return e.__closure={},e.__workletHash=0xa28502fc5e0,e.__initData=Pn,e}(),Nn={code:”function reactNativeReanimated_ColorsJs12(c){return c>>8&255;}”},Ln=function(){const e=function(e){return e>>8&255};return e.__closure={},e.__workletHash=5817953192348,e.__initData=Nn,e}(),Fn={code:”function reactNativeReanimated_ColorsJs13(c){return c&255;}”},Vn=function(){const e=function(e){return 255&e};return e.__closure={},e.__workletHash=0xa536c1ad445,e.__initData=Fn,e}(),Bn={code:’function reactNativeReanimated_ColorsJs14(r,g,b,alpha=1){const safeAlpha=alpha<0.001?0:alpha;return"rgba("+r+", "+g+", "+b+", "+safeAlpha+")";}'},Hn=function(){const e=function(e,t,n,r=1){return`rgba(${e}, ${t}, ${n}, ${r<.001?0:r})`};return e.__closure={},e.__workletHash=0xb5c5114301c,e.__initData=Bn,e}(),Un={code:"function RGBtoHSV_reactNativeReanimated_ColorsJs15(r,g,b){const max=Math.max(r,g,b);const min=Math.min(r,g,b);const d=max-min;const s=max===0?0:d/max;const v=max/255;let h=0;switch(max){case min:break;case r:h=g-b+d*(g>>8)>>>0;}”},Yn=function(){const e=function(e){if(null===e||void 0===e)return e;let t;if(“number”===typeof e)t=e;else{const n=In(e);if(null===n||void 0===n)return;if(“number”!==typeof n)return null;t=n}return(t<<24|t>>>8)>>>0};return e.__closure={normalizeColor:In},e.__workletHash=0xb06d94c4cb9,e.__initData=Gn,e}(),Zn={code:”function isColor_reactNativeReanimated_ColorsJs19(value){const{processColorInitially}=this.__closure;if(typeof value!==’string’){return false;}return processColorInitially(value)!=null;}”},Jn=function(){const e=function(e){return”string”===typeof e&&null!=Yn(e)};return e.__closure={processColorInitially:Yn},e.__workletHash=0xf7ef9c8c6b3,e.__initData=Zn,e}(),$n={code:”function processColor_reactNativeReanimated_ColorsJs20(color){const{processColorInitially,IS_ANDROID}=this.__closure;let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!==’number’){return null;}if(IS_ANDROID){normalizedColor=normalizedColor|0x0;}return normalizedColor;}”},Qn=function(){const e=function(e){let t=Yn(e);if(null!==t&&void 0!==t)return”number”!==typeof t?null:t};return e.__closure={processColorInitially:Yn,IS_ANDROID:false},e.__workletHash=0xb48a0bd5d77,e.__initData=$n,e}(),er={code:”function processColorsInProps_reactNativeReanimated_ColorsJs21(props){const{ColorProperties,processColor,NestedColorProperties}=this.__closure;for(const key in props){if(ColorProperties.includes(key)){if(Array.isArray(props[key])){props[key]=props[key].map(function(color){return processColor(color);});}else{props[key]=processColor(props[key]);}}else if(NestedColorProperties[key]){const propGroupList=props[key];for(const propGroup of propGroupList){const nestedPropertyName=NestedColorProperties[key];if(propGroup[nestedPropertyName]!==undefined){propGroup[nestedPropertyName]=processColor(propGroup[nestedPropertyName]);}}}}}”},tr=function(){const e=function(e){for(const t in e)if(Rn.includes(t))Array.isArray(e[t])?e[t]=e[t].map((e=>Qn(e))):e[t]=Qn(e[t]);else if(Tn[t]){const n=e[t];for(const e of n){const n=Tn[t];void 0!==e[n]&&(e[n]=Qn(e[n]))}}};return e.__closure={ColorProperties:Rn,processColor:Qn,NestedColorProperties:Tn},e.__workletHash=0xbf79efc92df,e.__initData=er,e}(),nr={code:”function convertToRGBA_reactNativeReanimated_ColorsJs22(color){const{processColorInitially}=this.__closure;const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=(processedColor<<8>>>24)/255;const g=(processedColor<<16>>>24)/255;const b=(processedColor<<24>>>24)/255;return[r,g,b,a];}”},rr=function(){const e=function(e){const t=Yn(e);return[(t<<8>>>24)/255,(t<<16>>>24)/255,(t<<24>>>24)/255,(t>>>24)/255]};return e.__closure={processColorInitially:Yn},e.__workletHash=2701148573964,e.__initData=nr,e}(),ir={code:’function rgbaArrayToRGBAColor_reactNativeReanimated_ColorsJs23(RGBA){const alpha=RGBA[3]<0.001?0:RGBA[3];return"rgba("+Math.round(RGBA[0]*255)+", "+Math.round(RGBA[1]*255)+", "+Math.round(RGBA[2]*255)+", "+alpha+")";}'},or=function(){const e=function(e){const t=e[3]<.001?0:e[3];return`rgba(${Math.round(255*e[0])}, ${Math.round(255*e[1])}, ${Math.round(255*e[2])}, ${t})`};return e.__closure={},e.__workletHash=2087336200668,e.__initData=ir,e}(),ar={code:"function toLinearSpace_reactNativeReanimated_ColorsJs24(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],gamma));}res.push(RGBA[3]);return res;}"},sr=function(){const e=function(e,t=2.2){const n=[];for(let r=0;r<3;++r)n.push(Math.pow(e[r],t));return n.push(e[3]),n};return e.__closure={},e.__workletHash=388276346895,e.__initData=ar,e}(),lr={code:"function toGammaSpace_reactNativeReanimated_ColorsJs25(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],1/gamma));}res.push(RGBA[3]);return res;}"},cr=function(){const e=function(e,t=2.2){const n=[];for(let r=0;r<3;++r)n.push(Math.pow(e[r],1/t));return n.push(e[3]),n};return e.__closure={},e.__workletHash=0xe00d2f4d90a,e.__initData=lr,e}(),ur=.001,dr=11,pr=.1,fr={code:"function A_reactNativeReanimated_BezierJs1(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}"},hr=function(){const e=function(e,t){return 1-3*t+3*e};return e.__closure={},e.__workletHash=8828646082676,e.__initData=fr,e}(),mr={code:"function B_reactNativeReanimated_BezierJs2(aA1,aA2){return 3.0*aA2-6.0*aA1;}"},gr=function(){const e=function(e,t){return 3*t-6*e};return e.__closure={},e.__workletHash=4203953384949,e.__initData=mr,e}(),yr={code:"function C_reactNativeReanimated_BezierJs3(aA1){return 3.0*aA1;}"},vr=function(){const e=function(e){return 3*e};return e.__closure={},e.__workletHash=8388140024310,e.__initData=yr,e}(),br={code:"function calcBezier_reactNativeReanimated_BezierJs4(aT,aA1,aA2){const{A,B,C}=this.__closure;return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}"},wr=function(){const e=function(e,t,n){return((hr(t,n)*e+gr(t,n))*e+vr(t))*e};return e.__closure={A:hr,B:gr,C:vr},e.__workletHash=0xe50e323023e,e.__initData=br,e}(),kr={code:"function getSlope_reactNativeReanimated_BezierJs5(aT,aA1,aA2){const{A,B,C}=this.__closure;return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}"},_r=function(){const e=function(e,t,n){return 3*hr(t,n)*e*e+2*gr(t,n)*e+vr(t)};return e.__closure={A:hr,B:gr,C:vr},e.__workletHash=4162364291299,e.__initData=kr,e}(),Er={code:"function binarySubdivide_reactNativeReanimated_BezierJs6(aX,aA,aB,mX1,mX2){const{calcBezier,SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS}=this.__closure;let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<10);return a};return e.__closure={calcBezier:wr,SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10},e.__workletHash=9166841024279,e.__initData=Er,e}(),Cr={code:"function newtonRaphsonIterate_reactNativeReanimated_BezierJs7(aX,aGuessT,mX1,mX2){const{NEWTON_ITERATIONS,getSlope,calcBezier}=this.__closure;for(let i=0;i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new ReanimatedError('Bezier x values must be in [0, 1] range.');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function Bezier_reactNativeReanimated_BezierJs8(x){‘worklet’;if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}”},Rr={code:”function LinearEasing_reactNativeReanimated_BezierJs9(x){return x;}”},Tr={code:”function getTForX_reactNativeReanimated_BezierJs10(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=this.__closure;let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}”},Dr={code:”function BezierEasing_reactNativeReanimated_BezierJs11(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=this.__closure;if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}”},Ir=function(){const e=function(e,t,n,r){const i=function(){const e=function(e){return e};return e.__closure={},e.__workletHash=0xfaf2062d7d2,e.__initData=Rr,e}();if(!(e>=0&&e<=1&&n>=0&&n<=1))throw new c("Bezier x values must be in [0, 1] range.");if(e===t&&n===r)return i;const o=new Array(dr);for(let s=0;s=ur?xr(t,a,e,n):0===s?a:Sr(t,r,r+pr,e,n)};return t.__closure={kSplineTableSize:dr,sampleValues:o,kSampleStepSize:pr,getSlope:_r,mX1:e,mX2:n,NEWTON_MIN_SLOPE:ur,newtonRaphsonIterate:xr,binarySubdivide:Sr},t.__workletHash=0xdfdc8d4cb73,t.__initData=Tr,t}();return function(){const i=function(i){return e===t&&n===r?i:0===i?0:1===i?1:wr(a(i),t,r)};return i.__closure={mX1:e,mY1:t,mX2:n,mY2:r,calcBezier:wr,getTForX:a},i.__workletHash=7919274967463,i.__initData=Dr,i}()};return e.__closure={kSplineTableSize:dr,calcBezier:wr,kSampleStepSize:pr,getSlope:_r,NEWTON_MIN_SLOPE:ur,newtonRaphsonIterate:xr,binarySubdivide:Sr},e.__workletHash=6918608934740,e.__initData=Ar,e}(),Or={code:”function linear_reactNativeReanimated_EasingJs1(t){return t;}”},jr=function(){const e=function(e){return e};return e.__closure={},e.__workletHash=0x93fc152a439,e.__initData=Or,e}(),Pr={code:”function ease_reactNativeReanimated_EasingJs2(t){const{Bezier}=this.__closure;return Bezier(0.42,0,1,1)(t);}”},Mr=function(){const e=function(e){return Ir(.42,0,1,1)(e)};return e.__closure={Bezier:Ir},e.__workletHash=0xc58aa18772d,e.__initData=Pr,e}(),Nr={code:”function quad_reactNativeReanimated_EasingJs3(t){return t*t;}”},Lr=function(){const e=function(e){return e*e};return e.__closure={},e.__workletHash=0xab71d64c1d9,e.__initData=Nr,e}(),Fr={code:”function cubic_reactNativeReanimated_EasingJs4(t){return t*t*t;}”},Vr=function(){const e=function(e){return e*e*e};return e.__closure={},e.__workletHash=420874989599,e.__initData=Fr,e}(),Br={code:”function poly_reactNativeReanimated_EasingJs5(n){return function(t){‘worklet’;return Math.pow(t,n);};}”},Hr={code:”function reactNativeReanimated_EasingJs6(t){const{n}=this.__closure;return Math.pow(t,n);}”},Ur=function(){const e=function(e){return function(){const t=function(t){return Math.pow(t,e)};return t.__closure={n:e},t.__workletHash=485715021435,t.__initData=Hr,t}()};return e.__closure={},e.__workletHash=0xf070fd434a2,e.__initData=Br,e}(),zr={code:”function sin_reactNativeReanimated_EasingJs7(t){return 1-Math.cos(t*Math.PI/2);}”},Wr=function(){const e=function(e){return 1-Math.cos(e*Math.PI/2)};return e.__closure={},e.__workletHash=6057811655898,e.__initData=zr,e}(),Kr={code:”function circle_reactNativeReanimated_EasingJs8(t){return 1-Math.sqrt(1-t*t);}”},Xr=function(){const e=function(e){return 1-Math.sqrt(1-e*e)};return e.__closure={},e.__workletHash=8811157154490,e.__initData=Kr,e}(),qr={code:”function exp_reactNativeReanimated_EasingJs9(t){return Math.pow(2,10*(t-1));}”},Gr=function(){const e=function(e){return Math.pow(2,10*(e-1))};return e.__closure={},e.__workletHash=0xf31c99a983e,e.__initData=qr,e}(),Yr={code:”function elastic_reactNativeReanimated_EasingJs10(bounciness=1){const p=bounciness*Math.PI;return function(t){‘worklet’;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}”},Zr={code:”function reactNativeReanimated_EasingJs11(t){const{p}=this.__closure;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}”},Jr=function(){const e=function(e=1){const t=e*Math.PI;return function(){const e=function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)};return e.__closure={p:t},e.__workletHash=943036289222,e.__initData=Zr,e}()};return e.__closure={},e.__workletHash=1909362451472,e.__initData=Yr,e}(),$r={code:”function back_reactNativeReanimated_EasingJs12(s=1.70158){return function(t){‘worklet’;return t*t*((s+1)*t-s);};}”},Qr={code:”function reactNativeReanimated_EasingJs13(t){const{s}=this.__closure;return t*t*((s+1)*t-s);}”},ei=function(){const e=function(e=1.70158){return function(){const t=function(t){return t*t*((e+1)*t-e)};return t.__closure={s:e},t.__workletHash=3467309697498,t.__initData=Qr,t}()};return e.__closure={},e.__workletHash=0xe5bd9f260d9,e.__initData=$r,e}(),ti={code:”function bounce_reactNativeReanimated_EasingJs14(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}"},ni=function(){const e=function(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){const t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){const t=e-2.25/2.75;return 7.5625*t*t+.9375}const t=e-2.625/2.75;return 7.5625*t*t+.984375};return e.__closure={},e.__workletHash=6227633941748,e.__initData=ti,e}(),ri={code:"function bezier_reactNativeReanimated_EasingJs15(x1,y1,x2,y2){const{Bezier}=this.__closure;return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}"},ii={code:"function reactNativeReanimated_EasingJs16(){const{Bezier,x1,y1,x2,y2}=this.__closure;return Bezier(x1,y1,x2,y2);}"},oi=function(){const e=function(e,t,n,r){return{factory:function(){const i=function(){return Ir(e,t,n,r)};return i.__closure={Bezier:Ir,x1:e,y1:t,x2:n,y2:r},i.__workletHash=6381722808540,i.__initData=ii,i}()}};return e.__closure={Bezier:Ir},e.__workletHash=4688559456052,e.__initData=ri,e}(),ai={code:"function bezierFn_reactNativeReanimated_EasingJs17(x1,y1,x2,y2){const{Bezier}=this.__closure;return Bezier(x1,y1,x2,y2);}"},si=function(){const e=function(e,t,n,r){return Ir(e,t,n,r)};return e.__closure={Bezier:Ir},e.__workletHash=1286668932581,e.__initData=ai,e}(),li={code:"function in__reactNativeReanimated_EasingJs18(easing){return easing;}"},ci=function(){const e=function(e){return e};return e.__closure={},e.__workletHash=5692504487844,e.__initData=li,e}(),ui={code:"function out_reactNativeReanimated_EasingJs19(easing){return function(t){'worklet';return 1-easing(1-t);};}"},di={code:"function reactNativeReanimated_EasingJs20(t){const{easing}=this.__closure;return 1-easing(1-t);}"},pi=function(){const e=function(e){return function(){const t=function(t){return 1-e(1-t)};return t.__closure={easing:e},t.__workletHash=0xa87de49dc95,t.__initData=di,t}()};return e.__closure={},e.__workletHash=0xf3115823541,e.__initData=ui,e}(),fi={code:"function inOut_reactNativeReanimated_EasingJs21(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}"},hi={code:"function reactNativeReanimated_EasingJs22(t){const{easing}=this.__closure;if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}"},mi=function(){const e=function(e){return function(){const t=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2};return t.__closure={easing:e},t.__workletHash=0xab36e9b348e,t.__initData=hi,t}()};return e.__closure={},e.__workletHash=0xbe507f3ed54,e.__initData=fi,e}(),gi={code:"function steps_reactNativeReanimated_EasingJs23(n=10,roundToNextStep=true){return function(t){'worklet';const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;};}"},yi={code:"function reactNativeReanimated_EasingJs24(t){const{n,roundToNextStep}=this.__closure;const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;}"},vi={linear:jr,ease:Mr,quad:Lr,cubic:Vr,poly:Ur,sin:Wr,circle:Xr,exp:Gr,elastic:Jr,back:ei,bounce:ni,bezier:oi,bezierFn:si,steps:function(){const e=function(e=10,t=!0){return function(){const n=function(n){const r=Math.min(Math.max(n,0),1)*e;return t?Math.ceil(r)/e:Math.floor(r)/e};return n.__closure={n:e,roundToNextStep:t},n.__workletHash=8357878766723,n.__initData=yi,n}()};return e.__closure={},e.__workletHash=0xdc2af410382,e.__initData=gi,e}(),in:ci,out:pi,inOut:mi},bi=Symbol("easingName");for(const[e,Ey]of Object.entries(vi))Object.defineProperty(Ey,bi,{value:e,configurable:!1,enumerable:!1,writable:!1});const wi=vi;function ki(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}const _i=ki(),Ei={jsValue:_i,uiValue:St(_i),setEnabled(e){Ei.jsValue=e,Ei.uiValue.value=e}},Si={code:"function isAffineMatrixFlat_reactNativeReanimated_matrixUtilsJs1(x){return Array.isArray(x)&&x.length===16&&x.every(function(element){return typeof element==='number'&&!isNaN(element);});}"},Ci=function(){const e=function(e){return Array.isArray(e)&&16===e.length&&e.every((e=>“number”===typeof e&&!isNaN(e)))};return e.__closure={},e.__workletHash=0xd3b93720873,e.__initData=Si,e}(),xi={code:”function isAffineMatrix_reactNativeReanimated_matrixUtilsJs2(x){return Array.isArray(x)&&x.length===4&&x.every(function(row){return Array.isArray(row)&&row.length===4&&row.every(function(element){return typeof element===’number’&&!isNaN(element);});});}”},Ai=function(){const e=function(e){return Array.isArray(e)&&4===e.length&&e.every((e=>Array.isArray(e)&&4===e.length&&e.every((e=>”number”===typeof e&&!isNaN(e)))))};return e.__closure={},e.__workletHash=5469063891828,e.__initData=xi,e}(),Ri={code:”function flatten_reactNativeReanimated_matrixUtilsJs3(matrix){return matrix.flat();}”},Ti=function(){const e=function(e){return e.flat()};return e.__closure={},e.__workletHash=0xa0a63ceceed,e.__initData=Ri,e}(),Di={code:”function unflatten_reactNativeReanimated_matrixUtilsJs4(m){return[[m[0],m[1],m[2],m[3]],[m[4],m[5],m[6],m[7]],[m[8],m[9],m[10],m[11]],[m[12],m[13],m[14],m[15]]];}”},Ii=function(){const e=function(e){return[[e[0],e[1],e[2],e[3]],[e[4],e[5],e[6],e[7]],[e[8],e[9],e[10],e[11]],[e[12],e[13],e[14],e[15]]]};return e.__closure={},e.__workletHash=0xdfc53cfb7a6,e.__initData=Di,e}(),Oi={code:”function maybeFlattenMatrix_reactNativeReanimated_matrixUtilsJs5(matrix){const{isAffineMatrix,flatten}=this.__closure;return isAffineMatrix(matrix)?flatten(matrix):matrix;}”},ji=function(){const e=function(e){return Ai(e)?Ti(e):e};return e.__closure={isAffineMatrix:Ai,flatten:Ti},e.__workletHash=4631559778503,e.__initData=Oi,e}(),Pi={code:”function multiplyMatrices_reactNativeReanimated_matrixUtilsJs6(a,b){return[[a[0][0]*b[0][0]+a[0][1]*b[1][0]+a[0][2]*b[2][0]+a[0][3]*b[3][0],a[0][0]*b[0][1]+a[0][1]*b[1][1]+a[0][2]*b[2][1]+a[0][3]*b[3][1],a[0][0]*b[0][2]+a[0][1]*b[1][2]+a[0][2]*b[2][2]+a[0][3]*b[3][2],a[0][0]*b[0][3]+a[0][1]*b[1][3]+a[0][2]*b[2][3]+a[0][3]*b[3][3]],[a[1][0]*b[0][0]+a[1][1]*b[1][0]+a[1][2]*b[2][0]+a[1][3]*b[3][0],a[1][0]*b[0][1]+a[1][1]*b[1][1]+a[1][2]*b[2][1]+a[1][3]*b[3][1],a[1][0]*b[0][2]+a[1][1]*b[1][2]+a[1][2]*b[2][2]+a[1][3]*b[3][2],a[1][0]*b[0][3]+a[1][1]*b[1][3]+a[1][2]*b[2][3]+a[1][3]*b[3][3]],[a[2][0]*b[0][0]+a[2][1]*b[1][0]+a[2][2]*b[2][0]+a[2][3]*b[3][0],a[2][0]*b[0][1]+a[2][1]*b[1][1]+a[2][2]*b[2][1]+a[2][3]*b[3][1],a[2][0]*b[0][2]+a[2][1]*b[1][2]+a[2][2]*b[2][2]+a[2][3]*b[3][2],a[2][0]*b[0][3]+a[2][1]*b[1][3]+a[2][2]*b[2][3]+a[2][3]*b[3][3]],[a[3][0]*b[0][0]+a[3][1]*b[1][0]+a[3][2]*b[2][0]+a[3][3]*b[3][0],a[3][0]*b[0][1]+a[3][1]*b[1][1]+a[3][2]*b[2][1]+a[3][3]*b[3][1],a[3][0]*b[0][2]+a[3][1]*b[1][2]+a[3][2]*b[2][2]+a[3][3]*b[3][2],a[3][0]*b[0][3]+a[3][1]*b[1][3]+a[3][2]*b[2][3]+a[3][3]*b[3][3]]];}”},Mi=function(){const e=function(e,t){return[[e[0][0]*t[0][0]+e[0][1]*t[1][0]+e[0][2]*t[2][0]+e[0][3]*t[3][0],e[0][0]*t[0][1]+e[0][1]*t[1][1]+e[0][2]*t[2][1]+e[0][3]*t[3][1],e[0][0]*t[0][2]+e[0][1]*t[1][2]+e[0][2]*t[2][2]+e[0][3]*t[3][2],e[0][0]*t[0][3]+e[0][1]*t[1][3]+e[0][2]*t[2][3]+e[0][3]*t[3][3]],[e[1][0]*t[0][0]+e[1][1]*t[1][0]+e[1][2]*t[2][0]+e[1][3]*t[3][0],e[1][0]*t[0][1]+e[1][1]*t[1][1]+e[1][2]*t[2][1]+e[1][3]*t[3][1],e[1][0]*t[0][2]+e[1][1]*t[1][2]+e[1][2]*t[2][2]+e[1][3]*t[3][2],e[1][0]*t[0][3]+e[1][1]*t[1][3]+e[1][2]*t[2][3]+e[1][3]*t[3][3]],[e[2][0]*t[0][0]+e[2][1]*t[1][0]+e[2][2]*t[2][0]+e[2][3]*t[3][0],e[2][0]*t[0][1]+e[2][1]*t[1][1]+e[2][2]*t[2][1]+e[2][3]*t[3][1],e[2][0]*t[0][2]+e[2][1]*t[1][2]+e[2][2]*t[2][2]+e[2][3]*t[3][2],e[2][0]*t[0][3]+e[2][1]*t[1][3]+e[2][2]*t[2][3]+e[2][3]*t[3][3]],[e[3][0]*t[0][0]+e[3][1]*t[1][0]+e[3][2]*t[2][0]+e[3][3]*t[3][0],e[3][0]*t[0][1]+e[3][1]*t[1][1]+e[3][2]*t[2][1]+e[3][3]*t[3][1],e[3][0]*t[0][2]+e[3][1]*t[1][2]+e[3][2]*t[2][2]+e[3][3]*t[3][2],e[3][0]*t[0][3]+e[3][1]*t[1][3]+e[3][2]*t[2][3]+e[3][3]*t[3][3]]]};return e.__closure={},e.__workletHash=5391881567303,e.__initData=Pi,e}(),Ni={code:”function subtractMatrices_reactNativeReanimated_matrixUtilsJs7(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]-b[i];});return isFlatOnStart?c:unflatten(c);}”},Li=function(){const e=function(e,t){const n=Ci(e),r=ji(e),i=ji(t),o=r.map(((e,t)=>r[t]-i[t]));return n?o:Ii(o)};return e.__closure={isAffineMatrixFlat:Ci,maybeFlattenMatrix:ji,unflatten:Ii},e.__workletHash=0xcc64605ce59,e.__initData=Ni,e}(),Fi={code:”function addMatrices_reactNativeReanimated_matrixUtilsJs8(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]+b[i];});return isFlatOnStart?c:unflatten(c);}”},Vi=function(){const e=function(e,t){const n=Ci(e),r=ji(e),i=ji(t),o=r.map(((e,t)=>r[t]+i[t]));return n?o:Ii(o)};return e.__closure={isAffineMatrixFlat:Ci,maybeFlattenMatrix:ji,unflatten:Ii},e.__workletHash=0xdf95fa74225,e.__initData=Fi,e}(),Bi={code:”function scaleMatrix_reactNativeReanimated_matrixUtilsJs9(maybeFlatA,scalar){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=a.map(function(x){return x*scalar;});return isFlatOnStart?b:unflatten(b);}”},Hi=function(){const e=function(e,t){const n=Ci(e),r=ji(e).map((e=>e*t));return n?r:Ii(r)};return e.__closure={isAffineMatrixFlat:Ci,maybeFlattenMatrix:ji,unflatten:Ii},e.__workletHash=0xe81d6b243e0,e.__initData=Bi,e}(),Ui={code:”function getRotationMatrix_reactNativeReanimated_matrixUtilsJs10(angle,axis=’z’){const cos=Math.cos(angle);const sin=Math.sin(angle);switch(axis){case’z’:return[[cos,sin,0,0],[-sin,cos,0,0],[0,0,1,0],[0,0,0,1]];case’y’:return[[cos,0,-sin,0],[0,1,0,0],[sin,0,cos,0],[0,0,0,1]];case’x’:return[[1,0,0,0],[0,cos,sin,0],[0,-sin,cos,0],[0,0,0,1]];}}”},zi=function(){const e=function(e,t=”z”){const n=Math.cos(e),r=Math.sin(e);switch(t){case”z”:return[[n,r,0,0],[-r,n,0,0],[0,0,1,0],[0,0,0,1]];case”y”:return[[n,0,-r,0],[0,1,0,0],[r,0,n,0],[0,0,0,1]];case”x”:return[[1,0,0,0],[0,n,r,0],[0,-r,n,0],[0,0,0,1]]}};return e.__closure={},e.__workletHash=0xaaa8357fdbb,e.__initData=Ui,e}(),Wi={code:”function norm3d_reactNativeReanimated_matrixUtilsJs11(x,y,z){return Math.sqrt(x*x+y*y+z*z);}”},Ki=function(){const e=function(e,t,n){return Math.sqrt(e*e+t*t+n*n)};return e.__closure={},e.__workletHash=927634218413,e.__initData=Wi,e}(),Xi={code:”function transposeMatrix_reactNativeReanimated_matrixUtilsJs12(matrix){const{flatten}=this.__closure;const m=flatten(matrix);return[[m[0],m[4],m[8],m[12]],[m[1],m[5],m[9],m[13]],[m[2],m[6],m[10],m[14]],[m[3],m[7],m[11],m[15]]];}”},qi=function(){const e=function(e){const t=Ti(e);return[[t[0],t[4],t[8],t[12]],[t[1],t[5],t[9],t[13]],[t[2],t[6],t[10],t[14]],[t[3],t[7],t[11],t[15]]]};return e.__closure={flatten:Ti},e.__workletHash=0xb8ea1f97fdc,e.__initData=Xi,e}(),Gi={code:’function assertVectorsHaveEqualLengths_reactNativeReanimated_matrixUtilsJs13(a,b){const{__DEV__}=this.__closure;if(__DEV__&&a.length!==b.length){throw new ReanimatedError(“Cannot calculate inner product of two vectors of different lengths. Length of “+a.toString()+” is “+a.length+” and length of “+b.toString()+” is “+b.length+”.”);}}’},Yi=function(){const e=function(e,t){0};return e.__closure={__DEV__:!1},e.__workletHash=8857834171738,e.__initData=Gi,e}(),Zi={code:”function innerProduct_reactNativeReanimated_matrixUtilsJs14(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.reduce(function(acc,_,i){return acc+a[i]*b[i];},0);}”},Ji=function(){const e=function(e,t){return Yi(e,t),e.reduce(((n,r,i)=>n+e[i]*t[i]),0)};return e.__closure={assertVectorsHaveEqualLengths:Yi},e.__workletHash=0xbc883104f6a,e.__initData=Zi,e}(),$i={code:”function projection_reactNativeReanimated_matrixUtilsJs15(u,a){const{assertVectorsHaveEqualLengths,innerProduct}=this.__closure;assertVectorsHaveEqualLengths(u,a);const s=innerProduct(u,a)/innerProduct(u,u);return u.map(function(e){return e*s;});}”},Qi=function(){const e=function(e,t){Yi(e,t);const n=Ji(e,t)/Ji(e,e);return e.map((e=>e*n))};return e.__closure={assertVectorsHaveEqualLengths:Yi,innerProduct:Ji},e.__workletHash=0xf5f56090a8,e.__initData=$i,e}(),eo={code:”function subtractVectors_reactNativeReanimated_matrixUtilsJs16(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.map(function(_,i){return a[i]-b[i];});}”},to=function(){const e=function(e,t){return Yi(e,t),e.map(((n,r)=>e[r]-t[r]))};return e.__closure={assertVectorsHaveEqualLengths:Yi},e.__workletHash=0xbf5bdd5fec3,e.__initData=eo,e}(),no={code:”function scaleVector_reactNativeReanimated_matrixUtilsJs17(u,a){return u.map(function(e){return e*a;});}”},ro=function(){const e=function(e,t){return e.map((e=>e*t))};return e.__closure={},e.__workletHash=8263229383304,e.__initData=no,e}(),io={code:”function gramSchmidtAlgorithm_reactNativeReanimated_matrixUtilsJs18(matrix){const{subtractVectors,projection,scaleVector,innerProduct,transposeMatrix}=this.__closure;const[a0,a1,a2,a3]=matrix;const u0=a0;const u1=subtractVectors(a1,projection(u0,a1));const u2=subtractVectors(subtractVectors(a2,projection(u0,a2)),projection(u1,a2));const u3=subtractVectors(subtractVectors(subtractVectors(a3,projection(u0,a3)),projection(u1,a3)),projection(u2,a3));const[e0,e1,e2,e3]=[u0,u1,u2,u3].map(function(u){return scaleVector(u,1/Math.sqrt(innerProduct(u,u)));});const rotationMatrix=[[e0[0],e1[0],e2[0],e3[0]],[e0[1],e1[1],e2[1],e3[1]],[e0[2],e1[2],e2[2],e3[2]],[e0[3],e1[3],e2[3],e3[3]]];const skewMatrix=[[innerProduct(e0,a0),innerProduct(e0,a1),innerProduct(e0,a2),innerProduct(e0,a3)],[0,innerProduct(e1,a1),innerProduct(e1,a2),innerProduct(e1,a3)],[0,0,innerProduct(e2,a2),innerProduct(e2,a3)],[0,0,0,innerProduct(e3,a3)]];return{rotationMatrix:transposeMatrix(rotationMatrix),skewMatrix:transposeMatrix(skewMatrix)};}”},oo=function(){const e=function(e){const[t,n,r,i]=e,o=t,a=to(n,Qi(o,n)),s=to(to(r,Qi(o,r)),Qi(a,r)),l=to(to(to(i,Qi(o,i)),Qi(a,i)),Qi(s,i)),[c,u,d,p]=[o,a,s,l].map((e=>ro(e,1/Math.sqrt(Ji(e,e))))),f=[[c[0],u[0],d[0],p[0]],[c[1],u[1],d[1],p[1]],[c[2],u[2],d[2],p[2]],[c[3],u[3],d[3],p[3]]],h=[[Ji(c,t),Ji(c,n),Ji(c,r),Ji(c,i)],[0,Ji(u,n),Ji(u,r),Ji(u,i)],[0,0,Ji(d,r),Ji(d,i)],[0,0,0,Ji(p,i)]];return{rotationMatrix:qi(f),skewMatrix:qi(h)}};return e.__closure={subtractVectors:to,projection:Qi,scaleVector:ro,innerProduct:Ji,transposeMatrix:qi},e.__workletHash=0xc6100516636,e.__initData=io,e}(),ao={code:”function decomposeMatrix_reactNativeReanimated_matrixUtilsJs19(unknownTypeMatrix){const{maybeFlattenMatrix,norm3d,gramSchmidtAlgorithm}=this.__closure;const matrix=maybeFlattenMatrix(unknownTypeMatrix);if(matrix[15]===0){throw new ReanimatedError(‘Invalid transform matrix.’);}matrix.forEach(function(_,i){return matrix[i]/=matrix[15];});const translationMatrix=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[matrix[12],matrix[13],matrix[14],1]];const sx=matrix[15]*norm3d(matrix[0],matrix[4],matrix[8]);const sy=matrix[15]*norm3d(matrix[1],matrix[5],matrix[9]);const sz=matrix[15]*norm3d(matrix[2],matrix[6],matrix[10]);const scaleMatrix=[[sx,0,0,0],[0,sy,0,0],[0,0,sz,0],[0,0,0,1]];const rotationAndSkewMatrix=[[matrix[0]/sx,matrix[1]/sx,matrix[2]/sx,0],[matrix[4]/sy,matrix[5]/sy,matrix[6]/sy,0],[matrix[8]/sz,matrix[9]/sz,matrix[10]/sz,0],[0,0,0,1]];const{rotationMatrix:rotationMatrix,skewMatrix:skewMatrix}=gramSchmidtAlgorithm(rotationAndSkewMatrix);return{translationMatrix:translationMatrix,scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,skewMatrix:skewMatrix};}”},so=function(){const e=function(e){const t=ji(e);if(0===t[15])throw new c(“Invalid transform matrix.”);t.forEach(((e,n)=>t[n]/=t[15]));const n=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[t[12],t[13],t[14],1]],r=t[15]*Ki(t[0],t[4],t[8]),i=t[15]*Ki(t[1],t[5],t[9]),o=t[15]*Ki(t[2],t[6],t[10]),a=[[r,0,0,0],[0,i,0,0],[0,0,o,0],[0,0,0,1]],s=[[t[0]/r,t[1]/r,t[2]/r,0],[t[4]/i,t[5]/i,t[6]/i,0],[t[8]/o,t[9]/o,t[10]/o,0],[0,0,0,1]],{rotationMatrix:l,skewMatrix:u}=oo(s);return{translationMatrix:n,scaleMatrix:a,rotationMatrix:l,skewMatrix:u}};return e.__closure={maybeFlattenMatrix:ji,norm3d:Ki,gramSchmidtAlgorithm:oo},e.__workletHash=0xab4c59cfe28,e.__initData=ao,e}(),lo={code:”function decomposeMatrixIntoMatricesAndAngles_reactNativeReanimated_matrixUtilsJs20(matrix){const{decomposeMatrix}=this.__closure;const{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix}=decomposeMatrix(matrix);const sinRy=-rotationMatrix[0][2];const ry=Math.asin(sinRy);let rx;let rz;if(sinRy===1||sinRy===-1){rz=0;rx=Math.atan2(sinRy*rotationMatrix[0][1],sinRy*rotationMatrix[0][2]);}else{rz=Math.atan2(rotationMatrix[0][1],rotationMatrix[0][0]);rx=Math.atan2(rotationMatrix[1][2],rotationMatrix[2][2]);}return{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix,rx:rx||0,ry:ry||0,rz:rz||0};}”},co=function(){const e=function(e){const{scaleMatrix:t,rotationMatrix:n,translationMatrix:r,skewMatrix:i}=so(e),o=-n[0][2],a=Math.asin(o);let s,l;return 1===o||-1===o?(l=0,s=Math.atan2(o*n[0][1],o*n[0][2])):(l=Math.atan2(n[0][1],n[0][0]),s=Math.atan2(n[1][2],n[2][2])),{scaleMatrix:t,rotationMatrix:n,translationMatrix:r,skewMatrix:i,rx:s||0,ry:a||0,rz:l||0}};return e.__closure={decomposeMatrix:so},e.__workletHash=1937983127392,e.__initData=lo,e}();let uo=!1;const po=H(),fo={originX:!0,originY:!0,width:!0,height:!0,borderRadius:!0,globalOriginX:!0,globalOriginY:!0,opacity:!0,transform:!0},ho={code:”function isValidLayoutAnimationProp_reactNativeReanimated_utilJs1(prop){const{LAYOUT_ANIMATION_SUPPORTED_PROPS}=this.__closure;return prop in LAYOUT_ANIMATION_SUPPORTED_PROPS;}”},mo=function(){const e=function(e){return e in fo};return e.__closure={LAYOUT_ANIMATION_SUPPORTED_PROPS:fo},e.__workletHash=6433531961713,e.__initData=ho,e}();const go={code:”function assertEasingIsWorklet_reactNativeReanimated_utilJs2(easing){const{SHOULD_BE_USE_WEB,isWorkletFunction}=this.__closure;if(_WORKLET){return;}if(SHOULD_BE_USE_WEB){return;}if(easing!==null&&easing!==void 0&&easing.factory){return;}if(!isWorkletFunction(easing)){throw new ReanimatedError(‘The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated.’);}}”},yo=function(){const e=function(e){if(!_WORKLET&&!po&&!e?.factory&&!q(e))throw new c(“The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated.”)};return e.__closure={SHOULD_BE_USE_WEB:po,isWorkletFunction:q},e.__workletHash=0xc373a3eea32,e.__initData=go,e}();function vo(e){uo=!0;const t=e();return uo=!1,t}const bo={code:”function recognizePrefixSuffix_reactNativeReanimated_utilJs3(value){if(typeof value===’string’){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw new ReanimatedError(\”Couldn’t parse animation value.\”);}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:”);return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}”},wo=function(){const e=function(e){if(“string”===typeof e){const t=e.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw new c(“Couldn’t parse animation value.”);const n=t[1],r=t[4],i=t[2]+(t[3]??””);return{prefix:n,suffix:r,strippedValue:parseFloat(i)}}return{strippedValue:e}};return e.__closure={},e.__workletHash=0xfa2f60db350,e.__initData=bo,e}(),ko=Ei.uiValue,_o={code:”function getReduceMotionFromConfig_reactNativeReanimated_utilJs4(config){const{ReduceMotion,isReduceMotionOnUI}=this.__closure;return!config||config===ReduceMotion.System?isReduceMotionOnUI.value:config===ReduceMotion.Always;}”},Eo=function(){const e=function(e){return e&&e!==$.System?e===$.Always:ko.value};return e.__closure={ReduceMotion:$,isReduceMotionOnUI:ko},e.__workletHash=9218816022141,e.__initData=_o,e}(),So={code:”function getReduceMotionForAnimation_reactNativeReanimated_utilJs5(config){const{getReduceMotionFromConfig}=this.__closure;if(!config){return undefined;}return getReduceMotionFromConfig(config);}”},Co=function(){const e=function(e){if(e)return Eo(e)};return e.__closure={getReduceMotionFromConfig:Eo},e.__workletHash=4956957273507,e.__initData=So,e}(),xo={code:”function applyProgressToMatrix_reactNativeReanimated_utilJs6(progress,a,b){const{addMatrices,scaleMatrix,subtractMatrices}=this.__closure;return addMatrices(a,scaleMatrix(subtractMatrices(b,a),progress));}”},Ao=function(){const e=function(e,t,n){return Vi(t,Hi(Li(n,t),e))};return e.__closure={addMatrices:Vi,scaleMatrix:Hi,subtractMatrices:Li},e.__workletHash=0xb5bf74110c9,e.__initData=xo,e}(),Ro={code:”function applyProgressToNumber_reactNativeReanimated_utilJs7(progress,a,b){return a+progress*(b-a);}”},To=function(){const e=function(e,t,n){return t+e*(n-t)};return e.__closure={},e.__workletHash=7101026900556,e.__initData=Ro,e}(),Do={code:”function decorateAnimation_reactNativeReanimated_utilJs8(animation){const{getReduceMotionFromConfig,recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,clampRGBA,rgbaArrayToRGBAColor,toGammaSpace,decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix,applyProgressToNumber,getRotationMatrix,multiplyMatrices,flatten,isAffineMatrixFlat}=this.__closure;const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;if(animation.isHigherOrder){animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}return baseOnStart(animation,value,timestamp,previousAnimation);};return;}const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;previousAnimation.__suffix=paSuffix;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:”)+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:”);if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:”)+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:”);}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:”)+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:”);return res;};const tab=[‘R’,’G’,’B’,’A’];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});clampRGBA(res);animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const RGBACurrent=toLinearSpace(convertToRGBA(animation.current));const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=RGBACurrent[index];const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;res.push(animation[i].current);});clampRGBA(res);animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const transformationMatrixOnStart=function(animation,value,timestamp,previousAnimation){const toValue=animation.toValue;animation.startMatrices=decomposeMatrixIntoMatricesAndAngles(value);animation.stopMatrices=decomposeMatrixIntoMatricesAndAngles(toValue);animation[0]=Object.assign({},animationCopy);animation[0].current=0;animation[0].toValue=100;animation[0].onStart(animation[0],0,timestamp,previousAnimation?previousAnimation[0]:undefined);animation.current=value;};const transformationMatrixOnFrame=function(animation,timestamp){let finished=true;const result=animation[0].onFrame(animation[0],timestamp);finished=finished&&result;const progress=animation[0].current/100;const transforms=[‘translationMatrix’,’scaleMatrix’,’skewMatrix’];const mappedTransforms=[];transforms.forEach(function(key,_){return mappedTransforms.push(applyProgressToMatrix(progress,animation.startMatrices[key],animation.stopMatrices[key]));});const[currentTranslation,currentScale,skewMatrix]=mappedTransforms;const rotations=[‘x’,’y’,’z’];const mappedRotations=[];rotations.forEach(function(key,_){const angle=applyProgressToNumber(progress,animation.startMatrices[‘r’+key],animation.stopMatrices[‘r’+key]);mappedRotations.push(getRotationMatrix(angle,key));});const[rotationMatrixX,rotationMatrixY,rotationMatrixZ]=mappedRotations;const rotationMatrix=multiplyMatrices(rotationMatrixX,multiplyMatrices(rotationMatrixY,rotationMatrixZ));const updated=flatten(multiplyMatrices(multiplyMatrices(currentScale,multiplyMatrices(skewMatrix,rotationMatrix)),currentTranslation));animation.current=updated;return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=[…value];};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(_,i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;animation.current[i]=animation[i].current;});return finished;};const objectOnStart=function(animation,value,timestamp,previousAnimation){for(const key in value){animation[key]=Object.assign({},animationCopy);animation[key].onStart=animation.onStart;animation[key].current=value[key];animation[key].toValue=animation.toValue[key];animation[key].onStart(animation[key],value[key],timestamp,previousAnimation?previousAnimation[key]:undefined);}animation.current=value;};const objectOnFrame=function(animation,timestamp){let finished=true;const newObject={};for(const key in animation.current){const result=animation[key].onFrame(animation[key],timestamp);finished=finished&&result;newObject[key]=animation[key].current;}animation.current=newObject;return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}if(animation.reduceMotion){if(animation.toValue!==undefined){animation.current=animation.toValue;}else{baseOnStart(animation,value,timestamp,previousAnimation);}animation.startTime=0;animation.onFrame=function(){return true;};return;}if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(isAffineMatrixFlat(value)){transformationMatrixOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=transformationMatrixOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value===’string’){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}else if(typeof value===’object’&&value!==null){objectOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=objectOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}”},Io=function(){const e=function(e){const t=e.onStart,n=e.onFrame;if(e.isHigherOrder)return void(e.onStart=(e,n,r,i)=>(void 0===e.reduceMotion&&(e.reduceMotion=Eo()),t(e,n,r,i)));const r=Object.assign({},e);delete r.callback;const i=(e,t)=>{e.current=e.strippedCurrent;const r=n(e,t);return e.strippedCurrent=e.current,e.current=(e.__prefix??””)+e.current+(e.__suffix??””),r},o=[“R”,”G”,”B”,”A”],a=(e,t)=>{const n=sr(rr(e.current)),r=[];let i=!0;return o.forEach(((o,a)=>{e[o].current=n[a];const s=e[o].onFrame(e[o],t);i=i&&s,r.push(e[o].current)})),xn(r),e.current=or(cr(r)),i},s=(e,t)=>{let n=!0;const r=e[0].onFrame(e[0],t);n=n&&r;const i=e[0].current/100,o=[];[“translationMatrix”,”scaleMatrix”,”skewMatrix”].forEach(((t,n)=>o.push(Ao(i,e.startMatrices[t],e.stopMatrices[t]))));const[a,s,l]=o,c=[];[“x”,”y”,”z”].forEach(((t,n)=>{const r=To(i,e.startMatrices[“r”+t],e.stopMatrices[“r”+t]);c.push(zi(r,t))}));const[u,d,p]=c,f=Mi(u,Mi(d,p)),h=Ti(Mi(Mi(s,Mi(l,f)),a));return e.current=h,n},l=(e,t)=>{let n=!0;return e.current.forEach(((r,i)=>{const o=e[i].onFrame(e[i],t);n=n&&o,e.current[i]=e[i].current})),n},c=(e,t)=>{let n=!0;const r={};for(const i in e.current){const o=e[i].onFrame(e[i],t);n=n&&o,r[i]=e[i].current}return e.current=r,n};e.onStart=(e,n,u,d)=>(void 0===e.reduceMotion&&(e.reduceMotion=Eo()),e.reduceMotion?(void 0!==e.toValue?e.current=e.toValue:t(e,n,u,d),e.startTime=0,void(e.onFrame=()=>!0)):Jn(n)?(((e,t,n,i)=>{let a,s,l;const c=[];Jn(t)&&(s=sr(rr(e.current)),a=sr(rr(t)),e.toValue&&(l=sr(rr(e.toValue)))),o.forEach(((t,o)=>{e[t]=Object.assign({},r),e[t].current=s[o],e[t].toValue=l?l[o]:void 0,e[t].onStart(e[t],a[o],n,i?i[t]:void 0),c.push(e[t].current)})),xn(c),e.current=or(cr(c))})(e,n,u,d),void(e.onFrame=a)):Ci(n)?(((e,t,n,i)=>{const o=e.toValue;e.startMatrices=co(t),e.stopMatrices=co(o),e[0]=Object.assign({},r),e[0].current=0,e[0].toValue=100,e[0].onStart(e[0],0,n,i?i[0]:void 0),e.current=t})(e,n,u,d),void(e.onFrame=s)):Array.isArray(n)?(((e,t,n,i)=>{t.forEach(((t,o)=>{e[o]=Object.assign({},r),e[o].current=t,e[o].toValue=e.toValue[o],e[o].onStart(e[o],t,n,i?i[o]:void 0)})),e.current=[…t]})(e,n,u,d),void(e.onFrame=l)):”string”===typeof n?(((e,n,r,i)=>{const{prefix:o,suffix:a,strippedValue:s}=wo(n);e.__prefix=o,e.__suffix=a,e.strippedCurrent=s;const{strippedValue:l}=wo(e.toValue);if(e.current=s,e.startValue=s,e.toValue=l,i&&i!==e){const{prefix:e,suffix:t,strippedValue:n}=wo(i.current);i.current=n,i.__prefix=e,i.__suffix=t}t(e,s,r,i),e.current=(e.__prefix??””)+e.current+(e.__suffix??””),i&&i!==e&&(i.current=(i.__prefix??””)+i.current+(i.__suffix??””))})(e,n,u,d),void(e.onFrame=i)):”object”===typeof n&&null!==n?(((e,t,n,i)=>{for(const o in t)e[o]=Object.assign({},r),e[o].onStart=e.onStart,e[o].current=t[o],e[o].toValue=e.toValue[o],e[o].onStart(e[o],t[o],n,i?i[o]:void 0);e.current=t})(e,n,u,d),void(e.onFrame=c)):void t(e,n,u,d))};return e.__closure={getReduceMotionFromConfig:Eo,recognizePrefixSuffix:wo,isColor:Jn,toLinearSpace:sr,convertToRGBA:rr,clampRGBA:xn,rgbaArrayToRGBAColor:or,toGammaSpace:cr,decomposeMatrixIntoMatricesAndAngles:co,applyProgressToMatrix:Ao,applyProgressToNumber:To,getRotationMatrix:zi,multiplyMatrices:Mi,flatten:Ti,isAffineMatrixFlat:Ci},e.__workletHash=0x98b49ac8c8d,e.__initData=Do,e}(),Oo={code:”function defineAnimation_reactNativeReanimated_utilJs9(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,SHOULD_BE_USE_WEB}=this.__closure;if(IN_STYLE_UPDATER){return starting;}const create=function(){‘worklet’;const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||SHOULD_BE_USE_WEB){return create();}create.__isAnimationDefinition=true;return create;}”},jo={code:”function reactNativeReanimated_utilJs10(){const{factory,decorateAnimation}=this.__closure;const animation=factory();decorateAnimation(animation);return animation;}”},Po=function(){const e=function(e,t){if(uo)return e;const n=function(){const e=function(){const e=t();return Io(e),e};return e.__closure={factory:t,decorateAnimation:Io},e.__workletHash=0xccd0f4bd386,e.__initData=jo,e}();return _WORKLET||po?n():(n.__isAnimationDefinition=!0,n)};return e.__closure={IN_STYLE_UPDATER:uo,decorateAnimation:Io,SHOULD_BE_USE_WEB:po},e.__workletHash=7567361008935,e.__initData=Oo,e}(),Mo={code:”function cancelAnimationNative_reactNativeReanimated_utilJs11(sharedValue){const{runOnUI}=this.__closure;if(_WORKLET){sharedValue.value=sharedValue.value;}else{runOnUI(function(){‘worklet’;sharedValue.value=sharedValue.value;})();}}”},No={code:”function reactNativeReanimated_utilJs12(){const{sharedValue}=this.__closure;sharedValue.value=sharedValue.value;}”},Lo=function(){const e=function(e){_WORKLET?e.value=e.value:He(function(){const t=function(){e.value=e.value};return t.__closure={sharedValue:e},t.__workletHash=0xb170e05b4b3,t.__initData=No,t}())()};return e.__closure={runOnUI:He},e.__workletHash=5585762772979,e.__initData=Mo,e}();const Fo=po?function(e){e.value=e.value}:Lo,Vo={code:”function reactNativeReanimated_timingJs1(toValue,userConfig,callback){const{__DEV__,assertEasingIsWorklet,defineAnimation,Easing,getReduceMotionForAnimation}=this.__closure;if(__DEV__&&userConfig!==null&&userConfig!==void 0&&userConfig.easing){assertEasingIsWorklet(userConfig.easing);}return defineAnimation(toValue,function(){‘worklet’;const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type===’timing’&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing===’object’){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:’timing’,onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation(userConfig===null||userConfig===void 0?void 0:userConfig.reduceMotion)};});}”},Bo={code:”function reactNativeReanimated_timingJs2(){const{Easing,userConfig,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig;const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type===’timing’&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing===’object’){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:’timing’,onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation((_userConfig=userConfig)===null||_userConfig===void 0?void 0:_userConfig.reduceMotion)};}”},Ho=function(){const e=function(e,t,n){return Po(e,function(){const r=function(){const r={duration:300,easing:wi.inOut(wi.quad)};return t&&Object.keys(t).forEach((e=>r[e]=t[e])),{type:”timing”,onFrame:function(e,t){const{toValue:n,startTime:i,startValue:o}=e,a=t-i;if(a>=r.duration)return e.startTime=0,e.current=n,!0;const s=e.easing(a/r.duration);return e.current=o+(n-o)*s,!1},onStart:function(t,n,i,o){o&&”timing”===o.type&&o.toValue===e&&o.startTime?(t.startTime=o.startTime,t.startValue=o.startValue):(t.startTime=i,t.startValue=n),t.current=n,”object”===typeof r.easing?t.easing=r.easing.factory():t.easing=r.easing},progress:0,toValue:e,startValue:0,startTime:0,easing:()=>0,current:e,callback:n,reduceMotion:Co(t?.reduceMotion)}};return r.__closure={Easing:wi,userConfig:t,toValue:e,callback:n,getReduceMotionForAnimation:Co},r.__workletHash=0xb5767c8ce9a,r.__initData=Bo,r}())};return e.__closure={__DEV__:!1,assertEasingIsWorklet:yo,defineAnimation:Po,Easing:wi,getReduceMotionForAnimation:Co},e.__workletHash=0xd17d56414b8,e.__initData=Vo,e}(),Uo={code:”function resolvePath_reactNativeReanimated_styleAnimationJs1(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current===’number’){return acc[current];}else if(acc!==null&&typeof acc===’object’&¤t in acc){return acc[current];}return undefined;},obj);}”},zo=function(){const e=function(e,t){return(Array.isArray(t)?t:[t]).reduce(((e,t)=>Array.isArray(e)&&”number”===typeof t||null!==e&&”object”===typeof e&&t in e?e[t]:void 0),e)};return e.__closure={},e.__workletHash=0xa0236b1b95a,e.__initData=Uo,e}(),Wo={code:”function setPath_reactNativeReanimated_styleAnimationJs2(obj,path,value){const keys=Array.isArray(path)?path:[path];let currObj=obj;for(let i=0;i0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation===’object’&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}”},qo={code:”function reactNativeReanimated_styleAnimationJs4(){const{ColorProperties,setPath,processColor,styleAnimations,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming}=this.__closure;const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation===’object’&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}”},Go=function(){const e=function(e){return Po({},function(){const t=function(){return{isHigherOrder:!0,onFrame:(e,t)=>{let n=!1;const r=[{value:e.styleAnimations,path:[]}];for(;r.length>0;){const i=r.pop();if(Array.isArray(i.value))for(let e=0;e{const o=[{value:e,path:[]}];for(;o.length>0;){const e=o.pop();if(Array.isArray(e.value))for(let t=0;t{if(!t){const t=[e];for(;t.length>0;){const e=t.pop();if(Array.isArray(e))for(const n of e)t.push(n);else if(“object”===typeof e&&void 0===e.onStart)for(const n of Object.values(e))t.push(n);else{const t=e;!t.finished&&t.callback&&t.callback(!1)}}}}}};return t.__closure={ColorProperties:Rn,setPath:Ko,processColor:Qn,styleAnimations:e,resolvePath:zo,__DEV__:!1,logger:L,isValidLayoutAnimationProp:mo,withTiming:Ho},t.__workletHash=2043192133177,t.__initData=qo,t}())};return e.__closure={defineAnimation:Po,ColorProperties:Rn,setPath:Ko,processColor:Qn,resolvePath:zo,__DEV__:!1,logger:L,isValidLayoutAnimationProp:mo,withTiming:Ho},e.__workletHash=0xdb35f00a4da,e.__initData=Xo,e}(),Yo=1e9,Zo={code:”function startObservingProgress_reactNativeReanimated_animationsManagerJs1(tag,sharedValue,animationType){const{LayoutAnimationType,TAG_OFFSET}=this.__closure;const isSharedTransition=animationType===LayoutAnimationType.SHARED_ELEMENT_TRANSITION;sharedValue.addListener(tag+TAG_OFFSET,function(){global._notifyAboutProgress(tag,sharedValue.value,isSharedTransition);});}”},Jo=function(){const e=function(e,t,n){const i=n===W.SHARED_ELEMENT_TRANSITION;t.addListener(e+Yo,(()=>{r.g._notifyAboutProgress(e,t.value,i)}))};return e.__closure={LayoutAnimationType:W,TAG_OFFSET:Yo},e.__workletHash=0xbbc4d4d70e1,e.__initData=Zo,e}(),$o={code:”function stopObservingProgress_reactNativeReanimated_animationsManagerJs2(tag,sharedValue,removeView=false){const{TAG_OFFSET}=this.__closure;sharedValue.removeListener(tag+TAG_OFFSET);global._notifyAboutEnd(tag,removeView);}”},Qo=function(){const e=function(e,t,n=!1){t.removeListener(e+Yo),r.g._notifyAboutEnd(e,n)};return e.__closure={TAG_OFFSET:Yo},e.__workletHash=7600341837897,e.__initData=$o,e}(),ea={code:”function createLayoutAnimationManager_reactNativeReanimated_animationsManagerJs3(){const{LayoutAnimationType,makeMutableUI,stopObservingProgress,withStyleAnimation,startObservingProgress}=this.__closure;const currentAnimationForTag=new Map();const mutableValuesForTag=new Map();return{start:function(tag,type,yogaValues,config){if(type===LayoutAnimationType.SHARED_ELEMENT_TRANSITION_PROGRESS){global.ProgressTransitionRegister.onTransitionStart(tag,yogaValues);return;}const style=config(yogaValues);let currentAnimation=style.animations;const previousAnimation=currentAnimationForTag.get(tag);if(previousAnimation){currentAnimation={…previousAnimation,…style.animations};}currentAnimationForTag.set(tag,currentAnimation);let value=mutableValuesForTag.get(tag);if(value===undefined){value=makeMutableUI(style.initialValues);mutableValuesForTag.set(tag,value);}else{stopObservingProgress(tag,value);value._value=style.initialValues;}const animation=withStyleAnimation(currentAnimation);animation.callback=function(finished){if(finished){currentAnimationForTag.delete(tag);mutableValuesForTag.delete(tag);const shouldRemoveView=type===LayoutAnimationType.EXITING;stopObservingProgress(tag,value,shouldRemoveView);}style.callback&&style.callback(finished===undefined?false:finished);};startObservingProgress(tag,value,type);value.value=animation;},stop:function(tag){const value=mutableValuesForTag.get(tag);if(!value){return;}stopObservingProgress(tag,value);}};}”},ta=function(){const e=function(){const e=new Map,t=new Map;return{start(n,i,o,a){if(i===W.SHARED_ELEMENT_TRANSITION_PROGRESS)return void r.g.ProgressTransitionRegister.onTransitionStart(n,o);const s=a(o);let l=s.animations;const c=e.get(n);c&&(l=Object.assign({},c,s.animations)),e.set(n,l);let u=t.get(n);void 0===u?(u=bt(s.initialValues),t.set(n,u)):(Qo(n,u),u._value=s.initialValues);const d=Go(l);d.callback=r=>{if(r){e.delete(n),t.delete(n);const r=i===W.EXITING;Qo(n,u,r)}s.callback&&s.callback(void 0!==r&&r)},Jo(n,u,i),u.value=d},stop(e){const n=t.get(e);n&&Qo(e,n)}}};return e.__closure={LayoutAnimationType:W,makeMutableUI:bt,stopObservingProgress:Qo,withStyleAnimation:Go,startObservingProgress:Jo},e.__workletHash=0xecb2fc0b7f9,e.__initData=ea,e}(),na={code:”function reactNativeReanimated_animationsManagerJs4(){const{createLayoutAnimationManager}=this.__closure;global.LayoutAnimationsManager=createLayoutAnimationManager();}”};Xe(function(){const e=function(){r.g.LayoutAnimationsManager=ta()};return e.__closure={createLayoutAnimationManager:ta},e.__workletHash=0xb97c90554dc,e.__initData=na,e}())();var ra=r(69590),ia=r.n(ra);function oa(e,t,n){if(“build”in e&&”function”===typeof e.build){return e.build()}return e}function aa(e){return e}var sa=r(2629);const la=z(),ca=(0,a.createContext)(null);function ua(e){const t=(0,a.useRef)(e.shouldSkip);(0,a.useEffect)((()=>{t.current=!1}),[t]);const n=la?ca:ca.Provider;return(0,sa.jsx)(n,{value:t,children:e.children})}class da extends a.Component{getMaybeWrappedChildren(){return a.Children.count(this.props.children)>1&&this.props.skipExiting?a.Children.map(this.props.children,(e=>(0,sa.jsx)(da,{skipExiting:!0,children:e}))):this.props.children}setShouldAnimateExiting(){if(1===a.Children.count(this.props.children)){const n=this;n&&(e=n,t=!this.props.skipExiting,ie.setShouldAnimateExitingForTag(e,t))}var e,t}componentWillUnmount(){void 0!==this.props.skipExiting&&this.setShouldAnimateExiting()}render(){const e=this.getMaybeWrappedChildren();return void 0===this.props.skipEntering?e:(0,sa.jsx)(ua,{shouldSkip:this.props.skipEntering,children:e})}}const pa={UI_THREAD_PROPS_WHITELIST:{opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},NATIVE_THREAD_PROPS_WHITELIST:{borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,boxShadow:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,textShadowOffset:!0,letterSpacing:!0,aspectRatio:!0,columnGap:!0,end:!0,flexBasis:!0,gap:!0,rowGap:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,alignContent:!0,alignItems:!0,alignSelf:!0,direction:!0,flexDirection:!0,flexWrap:!0,justifyContent:!0,position:!0,color:!0,tintColor:!0,shadowColor:!0,placeholderTextColor:!0}},fa=H();function ha(){var e,t;!function(){for(const e in pa.NATIVE_THREAD_PROPS_WHITELIST)if(e in pa.UI_THREAD_PROPS_WHITELIST)throw new c(`Property \`${e}\` was whitelisted both as UI and native prop. Please remove it from one of the lists.`)}(),e=Object.keys(pa.UI_THREAD_PROPS_WHITELIST),t=Object.keys(pa.NATIVE_THREAD_PROPS_WHITELIST),Kt||ie.configureProps(e,t)}function ma(e){const t=Object.keys(pa.NATIVE_THREAD_PROPS_WHITELIST).length;pa.NATIVE_THREAD_PROPS_WHITELIST=Object.assign({},pa.NATIVE_THREAD_PROPS_WHITELIST,e),t!==Object.keys(pa.NATIVE_THREAD_PROPS_WHITELIST).length&&ha()}function ga(e){const t=Object.keys(pa.UI_THREAD_PROPS_WHITELIST).length;pa.UI_THREAD_PROPS_WHITELIST=Object.assign({},pa.UI_THREAD_PROPS_WHITELIST,e),t!==Object.keys(pa.UI_THREAD_PROPS_WHITELIST).length&&ha()}function ya(e){O(e),fa||ze(O)(e)}const va=new Set;function ba(e){const t=e.uiViewClassName,n=e.validAttributes;if(!va.has(t)){const e={};Object.keys(n).forEach((t=>{t in pa.NATIVE_THREAD_PROPS_WHITELIST||t in pa.UI_THREAD_PROPS_WHITELIST||(e[t]=!0)})),ga(e),va.add(t)}}function wa(){throw new c(“Trying to call `getShadowNodeWrapperFromRef` on web.”)}ha();class ka{custom(){return this}progressAnimation(){return this}duration(){return this}reduceMotion(){return this}defaultTransitionType(){return this}registerTransition(){}unregisterTransition(){}getReduceMotion(){return $.System}static custom(){return new ka}static duration(){return new ka}static progressAnimation(){return new ka}static defaultTransitionType(){return new ka}static reduceMotion(){return new ka}}let _a,Ea,Sa;try{_a=r(89773).default}catch(e){}try{Ea=r(83596).createTransformValue}catch(e){}try{Sa=r(83596).createTextShadowValue}catch(e){}r.g._makeShareableClone=()=>{throw new c(“`_makeShareableClone` should never be called from React runtime.”)},r.g._scheduleHostFunctionOnJS=()=>{throw new c(“`_scheduleOnJS` should never be called from React runtime.”)},r.g._scheduleOnRuntime=()=>{throw new c(“`_scheduleOnRuntime` should never be called from React runtime.”)};const Ca=(e,t,n)=>{if(t){const r=t.getAnimatableRef?t.getAnimatableRef():t,[i]=Object.keys(e).reduce(((t,n)=>{const r=e[n];return t[“function”===typeof r?1:0][n]=r,t}),[{},{}]);if(“function”===typeof r.setNativeProps)xa(r,i,n);else if(void 0!==_a&&void 0!==r.style)Aa(r,i,n);else if(Object.keys(r.props).length>0)Object.keys(r.props).forEach((e=>{if(!i[e])return;const t=e.replace(/[A-Z]/g,(e=>”-“+e.toLowerCase()));r._touchableNode.setAttribute(t,i[e])}));else{const e=”className”in r?r?.className:””;L.warn(`It’s not possible to manipulate the component ${e}`)}}},xa=(e,t,n)=>{if(n){const n={};for(const e in t)r=e,pa.NATIVE_THREAD_PROPS_WHITELIST[r]&&(n[e]=t[e]);e.setNativeProps?.(n)}var r;const i=e.previousStyle?e.previousStyle:{},o=Object.assign({},i,t);e.previousStyle=o,e.setNativeProps?.({style:o})},Aa=(e,t,n)=>{const r=e.previousStyle?e.previousStyle:{},i=Object.assign({},r,t);e.previousStyle=i;const o=_a(i);Array.isArray(o.transform)&&void 0!==Ea&&(o.transform=Ea(o.transform)),void 0!==Sa&&(o.textShadowColor||o.textShadowRadius||o.textShadowOffset)&&(o.textShadow=Sa({textShadowColor:o.textShadowColor,textShadowOffset:o.textShadowOffset,textShadowRadius:o.textShadowRadius}));for(const a in o)n?”INPUT”===e.nodeName&&”text”===a?e.value=o[a]:e.setAttribute(a,o[a]):e.style[a]=o[a]};const Ra=new WeakMap;function Ta(e,t){e.style.transform=””,e.style.position=”absolute”,e.style.top=`${t.top}px`,e.style.left=`${t.left}px`,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.margin=”0px”,e.parentElement&&function(e,t,n){const r=t.getBoundingClientRect(),i=parseInt(getComputedStyle(t).borderTopWidth),o=parseInt(getComputedStyle(t).borderLeftWidth),a=e.getBoundingClientRect();a.top!==n.top&&(e.style.top=n.top-r.top-i+”px”),a.left!==n.left&&(e.style.left=n.left-r.left-o+”px”)}(e,e.parentElement,t)}const Da={linear:[0,0,1,1],ease:[.42,0,1,1],quad:[.11,0,.5,0],cubic:[.32,0,.67,0],sin:[.12,0,.39,0],circle:[.55,0,1,.45],exp:[.7,0,.84,0]};function Ia(e){return`cubic-bezier(${Da[e].toString()})`}function Oa(e){let t=`@keyframes ${e.name} { `;for(const[n,r]of Object.entries(e.style)){t+=`${“from”===n?0:”to”===n?100:n}% { `;for(const[e,n]of Object.entries(r))if(“easing”!==e)”originX”!==e?”originY”!==e?”transform”===e?(t+=”transform:”,n.forEach((e=>{for(const[n,r]of Object.entries(e))t+=` ${n}(${r})`})),t+=”; “):t+=`${e}: ${n}; `:t+=`top: ${n}px; `:t+=`left: ${n}px; `;else{let e=”linear”;n in Da?e=n:n.name in Da&&(e=n.name),t+=`animation-timing-function: cubic-bezier(${Da[e].toString()});`}t+=”} “}return t+=”} “,t}const ja=.6,Pa={BounceIn:{name:”BounceIn”,style:{0:{transform:[{scale:0}]},55:{transform:[{scale:1.2}]},70:{transform:[{scale:.9}]},85:{transform:[{scale:1.1}]},100:{transform:[{scale:1}]}},duration:ja},BounceInRight:{name:”BounceInRight”,style:{0:{transform:[{translateX:”100vw”}]},55:{transform:[{translateX:”-20px”}]},70:{transform:[{translateX:”10px”}]},85:{transform:[{translateX:”-10px”}]},100:{transform:[{translateX:”0px”}]}},duration:ja},BounceInLeft:{name:”BounceInLeft”,style:{0:{transform:[{translateX:”-100vw”}]},55:{transform:[{translateX:”20px”}]},70:{transform:[{translateX:”-10px”}]},85:{transform:[{translateX:”10px”}]},100:{transform:[{translateX:”0px”}]}},duration:ja},BounceInUp:{name:”BounceInUp”,style:{0:{transform:[{translateY:”-100vh”}]},55:{transform:[{translateY:”20px”}]},70:{transform:[{translateY:”-10px”}]},85:{transform:[{translateY:”10px”}]},100:{transform:[{translateY:”0px”}]}},duration:ja},BounceInDown:{name:”BounceInDown”,style:{0:{transform:[{translateY:”100vh”}]},55:{transform:[{translateY:”-20px”}]},70:{transform:[{translateY:”10px”}]},85:{transform:[{translateY:”-10px”}]},100:{transform:[{translateY:”0px”}]}},duration:ja}},Ma={BounceOut:{name:”BounceOut”,style:{0:{transform:[{scale:1}]},15:{transform:[{scale:1.1}]},30:{transform:[{scale:.9}]},45:{transform:[{scale:1.2}]},100:{transform:[{scale:.1}]}},duration:ja},BounceOutRight:{name:”BounceOutRight”,style:{0:{transform:[{translateX:”0px”}]},15:{transform:[{translateX:”-10px”}]},30:{transform:[{translateX:”10px”}]},45:{transform:[{translateX:”-20px”}]},100:{transform:[{translateX:”100vh”}]}},duration:ja},BounceOutLeft:{name:”BounceOutLeft”,style:{0:{transform:[{translateX:”0px”}]},15:{transform:[{translateX:”10px”}]},30:{transform:[{translateX:”-10px”}]},45:{transform:[{translateX:”20px”}]},100:{transform:[{translateX:”-100vh”}]}},duration:ja},BounceOutUp:{name:”BounceOutUp”,style:{0:{transform:[{translateY:”0px”}]},15:{transform:[{translateY:”10px”}]},30:{transform:[{translateY:”-10px”}]},45:{transform:[{translateY:”20px”}]},100:{transform:[{translateY:”-100vh”}]}},duration:ja},BounceOutDown:{name:”BounceOutDown”,style:{0:{transform:[{translateY:”0px”}]},15:{transform:[{translateY:”-10px”}]},30:{transform:[{translateY:”10px”}]},45:{transform:[{translateY:”-20px”}]},100:{transform:[{translateY:”100vh”}]}},duration:ja}},Na={BounceIn:{style:Oa(Pa.BounceIn),duration:Pa.BounceIn.duration},BounceInRight:{style:Oa(Pa.BounceInRight),duration:Pa.BounceInRight.duration},BounceInLeft:{style:Oa(Pa.BounceInLeft),duration:Pa.BounceInLeft.duration},BounceInUp:{style:Oa(Pa.BounceInUp),duration:Pa.BounceInUp.duration},BounceInDown:{style:Oa(Pa.BounceInDown),duration:Pa.BounceInDown.duration}},La={BounceOut:{style:Oa(Ma.BounceOut),duration:Ma.BounceOut.duration},BounceOutRight:{style:Oa(Ma.BounceOutRight),duration:Ma.BounceOutRight.duration},BounceOutLeft:{style:Oa(Ma.BounceOutLeft),duration:Ma.BounceOutLeft.duration},BounceOutUp:{style:Oa(Ma.BounceOutUp),duration:Ma.BounceOutUp.duration},BounceOutDown:{style:Oa(Ma.BounceOutDown),duration:Ma.BounceOutDown.duration}},Fa=.3,Va={FadeIn:{name:”FadeIn”,style:{0:{opacity:0},100:{opacity:1}},duration:Fa},FadeInRight:{name:”FadeInRight”,style:{0:{opacity:0,transform:[{translateX:”25px”}]},100:{opacity:1,transform:[{translateX:”0px”}]}},duration:Fa},FadeInLeft:{name:”FadeInLeft”,style:{0:{opacity:0,transform:[{translateX:”-25px”}]},100:{opacity:1,transform:[{translateX:”0px”}]}},duration:Fa},FadeInUp:{name:”FadeInUp”,style:{0:{opacity:0,transform:[{translateY:”-25px”}]},100:{opacity:1,transform:[{translateY:”0px”}]}},duration:Fa},FadeInDown:{name:”FadeInDown”,style:{0:{opacity:0,transform:[{translateY:”25px”}]},100:{opacity:1,transform:[{translateY:”0px”}]}},duration:Fa}},Ba={FadeOut:{name:”FadeOut”,style:{0:{opacity:1},100:{opacity:0}},duration:Fa},FadeOutRight:{name:”FadeOutRight”,style:{0:{opacity:1,transform:[{translateX:”0px”}]},100:{opacity:0,transform:[{translateX:”25px”}]}},duration:Fa},FadeOutLeft:{name:”FadeOutLeft”,style:{0:{opacity:1,transform:[{translateX:”0px”}]},100:{opacity:0,transform:[{translateX:”-25px”}]}},duration:Fa},FadeOutUp:{name:”FadeOutUp”,style:{0:{opacity:1,transform:[{translateY:”0px”}]},100:{opacity:0,transform:[{translateY:”-25px”}]}},duration:Fa},FadeOutDown:{name:”FadeOutDown”,style:{0:{opacity:1,transform:[{translateY:”0px”}]},100:{opacity:0,transform:[{translateY:”25px”}]}},duration:Fa}},Ha={FadeIn:{style:Oa(Va.FadeIn),duration:Va.FadeIn.duration},FadeInRight:{style:Oa(Va.FadeInRight),duration:Va.FadeInRight.duration},FadeInLeft:{style:Oa(Va.FadeInLeft),duration:Va.FadeInLeft.duration},FadeInUp:{style:Oa(Va.FadeInUp),duration:Va.FadeInUp.duration},FadeInDown:{style:Oa(Va.FadeInDown),duration:Va.FadeInDown.duration}},Ua={FadeOut:{style:Oa(Ba.FadeOut),duration:Ba.FadeOut.duration},FadeOutRight:{style:Oa(Ba.FadeOutRight),duration:Ba.FadeOutRight.duration},FadeOutLeft:{style:Oa(Ba.FadeOutLeft),duration:Ba.FadeOutLeft.duration},FadeOutUp:{style:Oa(Ba.FadeOutUp),duration:Ba.FadeOutUp.duration},FadeOutDown:{style:Oa(Ba.FadeOutDown),duration:Ba.FadeOutDown.duration}},za=.3,Wa={FlipInYRight:{name:”FlipInYRight”,style:{0:{transform:[{perspective:”500px”,rotateY:”90deg”,translateX:”100%”}]},100:{transform:[{perspective:”500px”,rotateY:”0deg”,translateX:”0%”}]}},duration:za},FlipInYLeft:{name:”FlipInYLeft”,style:{0:{transform:[{perspective:”500px”,rotateY:”-90deg”,translateX:”-100%”}]},100:{transform:[{perspective:”500px”,rotateY:”0deg”,translateX:”0%”}]}},duration:za},FlipInXUp:{name:”FlipInXUp”,style:{0:{transform:[{perspective:”500px”,rotateX:”90deg”,translateY:”-100%”}]},100:{transform:[{perspective:”500px”,rotateX:”0deg”,translateY:”0%”}]}},duration:za},FlipInXDown:{name:”FlipInXDown”,style:{0:{transform:[{perspective:”500px”,rotateX:”-90deg”,translateY:”100%”}]},100:{transform:[{perspective:”500px”,rotateX:”0deg”,translateY:”0%”}]}},duration:za},FlipInEasyX:{name:”FlipInEasyX”,style:{0:{transform:[{perspective:”500px”,rotateX:”90deg”}]},100:{transform:[{perspective:”500px”,rotateX:”0deg”}]}},duration:za},FlipInEasyY:{name:”FlipInEasyY”,style:{0:{transform:[{perspective:”500px”,rotateY:”90deg”}]},100:{transform:[{perspective:”500px”,rotateY:”0deg”}]}},duration:za}},Ka={FlipOutYRight:{name:”FlipOutYRight”,style:{0:{transform:[{perspective:”500px”,rotateY:”0deg”,translateX:”0%”}]},100:{transform:[{perspective:”500px”,rotateY:”90deg”,translateX:”100%”}]}},duration:za},FlipOutYLeft:{name:”FlipOutYLeft”,style:{0:{transform:[{perspective:”500px”,rotateY:”0deg”,translateX:”0%”}]},100:{transform:[{perspective:”500px”,rotateY:”-90deg”,translateX:”-100%”}]}},duration:za},FlipOutXUp:{name:”FlipOutXUp”,style:{0:{transform:[{perspective:”500px”,rotateX:”0deg”,translateY:”0%”}]},100:{transform:[{perspective:”500px”,rotateX:”90deg”,translateY:”-100%”}]}},duration:za},FlipOutXDown:{name:”FlipOutXDown”,style:{0:{transform:[{perspective:”500px”,rotateX:”0deg”,translateY:”0%”}]},100:{transform:[{perspective:”500px”,rotateX:”-90deg”,translateY:”100%”}]}},duration:za},FlipOutEasyX:{name:”FlipOutEasyX”,style:{0:{transform:[{perspective:”500px”,rotateX:”0deg”}]},100:{transform:[{perspective:”500px”,rotateX:”90deg”}]}},duration:za},FlipOutEasyY:{name:”FlipOutEasyY”,style:{0:{transform:[{perspective:”500px”,rotateY:”0deg”}]},100:{transform:[{perspective:”500px”,rotateY:”90deg”}]}},duration:za}},Xa={FlipInYRight:{style:Oa(Wa.FlipInYRight),duration:Wa.FlipInYRight.duration},FlipInYLeft:{style:Oa(Wa.FlipInYLeft),duration:Wa.FlipInYLeft.duration},FlipInXUp:{style:Oa(Wa.FlipInXUp),duration:Wa.FlipInXUp.duration},FlipInXDown:{style:Oa(Wa.FlipInXDown),duration:Wa.FlipInXDown.duration},FlipInEasyX:{style:Oa(Wa.FlipInEasyX),duration:Wa.FlipInEasyX.duration},FlipInEasyY:{style:Oa(Wa.FlipInEasyY),duration:Wa.FlipInEasyY.duration}},qa={FlipOutYRight:{style:Oa(Ka.FlipOutYRight),duration:Ka.FlipOutYRight.duration},FlipOutYLeft:{style:Oa(Ka.FlipOutYLeft),duration:Ka.FlipOutYLeft.duration},FlipOutXUp:{style:Oa(Ka.FlipOutXUp),duration:Ka.FlipOutXUp.duration},FlipOutXDown:{style:Oa(Ka.FlipOutXDown),duration:Ka.FlipOutXDown.duration},FlipOutEasyX:{style:Oa(Ka.FlipOutEasyX),duration:Ka.FlipOutEasyX.duration},FlipOutEasyY:{style:Oa(Ka.FlipOutEasyY),duration:Ka.FlipOutEasyY.duration}},Ga=.3,Ya={LightSpeedInRight:{name:”LightSpeedInRight”,style:{0:{transform:[{translateX:”100vw”,skewX:”-45deg”}],opacity:0},70:{transform:[{skewX:”10deg”}]},85:{transform:[{skewX:”-5deg”}]},100:{transform:[{skewX:”0deg”}]}},duration:Ga},LightSpeedInLeft:{name:”LightSpeedInLeft”,style:{0:{transform:[{translateX:”-100vw”,skewX:”45deg”}],opacity:0},70:{transform:[{skewX:”-10deg”}]},85:{transform:[{skewX:”5deg”}]},100:{transform:[{skewX:”0deg”}]}},duration:Ga}},Za={LightSpeedOutRight:{name:”LightSpeedOutRight”,style:{0:{transform:[{translateX:”0vw”,skewX:”0deg”}],opacity:1},100:{transform:[{translateX:”100vw”,skewX:”-45deg”}],opacity:0}},duration:Ga},LightSpeedOutLeft:{name:”LightSpeedOutLeft”,style:{0:{transform:[{translateX:”0vw”,skew:”0deg”}],opacity:1},100:{transform:[{translateX:”-100vw”,skew:”45deg”}],opacity:0}},duration:Ga}},Ja={LightSpeedInRight:{style:Oa(Ya.LightSpeedInRight),duration:Ya.LightSpeedInRight.duration},LightSpeedInLeft:{style:Oa(Ya.LightSpeedInLeft),duration:Ya.LightSpeedInLeft.duration}},$a={LightSpeedOutRight:{style:Oa(Za.LightSpeedOutRight),duration:Za.LightSpeedOutRight.duration},LightSpeedOutLeft:{style:Oa(Za.LightSpeedOutLeft),duration:Za.LightSpeedOutLeft.duration}},Qa={PinwheelIn:{name:”PinwheelIn”,style:{0:{transform:[{rotate:”5rad”,scale:0}],opacity:0},100:{transform:[{rotate:”0deg”,scale:1}],opacity:1}},duration:.3},PinwheelOut:{name:”PinwheelOut”,style:{0:{transform:[{rotate:”0rad”,scale:1}],opacity:1},100:{transform:[{rotate:”5rad”,scale:0}],opacity:0}},duration:.3}},es={PinwheelIn:{style:Oa(Qa.PinwheelIn),duration:Qa.PinwheelIn.duration},PinwheelOut:{style:Oa(Qa.PinwheelOut),duration:Qa.PinwheelOut.duration}},ts=.3,ns={RollInLeft:{name:”RollInLeft”,style:{0:{transform:[{translateX:”-100vw”,rotate:”-180deg”}]},100:{transform:[{translateX:”0vw”,rotate:”0deg”}]}},duration:ts},RollInRight:{name:”RollInRight”,style:{0:{transform:[{translateX:”100vw”,rotate:”180deg”}]},100:{transform:[{translateX:”0vw”,rotate:”0deg”}]}},duration:ts}},rs={RollOutLeft:{name:”RollOutLeft”,style:{0:{transform:[{translateX:”0vw”,rotate:”0deg”}]},100:{transform:[{translateX:”-100vw”,rotate:”-180deg”}]}},duration:ts},RollOutRight:{name:”RollOutRight”,style:{0:{transform:[{translateX:”0vw”,rotate:”0deg”}]},100:{transform:[{translateX:”100vw”,rotate:”180deg”}]}},duration:ts}},is={RollInLeft:{style:Oa(ns.RollInLeft),duration:ns.RollInLeft.duration},RollInRight:{style:Oa(ns.RollInRight),duration:ns.RollInRight.duration}},os={RollOutLeft:{style:Oa(rs.RollOutLeft),duration:rs.RollOutLeft.duration},RollOutRight:{style:Oa(rs.RollOutRight),duration:rs.RollOutRight.duration}},as=.3,ss={RotateInDownLeft:{name:”RotateInDownLeft”,style:{0:{transform:[{translateX:”-50%”,translateY:”-250%”,rotate:”-90deg”}],opacity:0},100:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1}},duration:as},RotateInDownRight:{name:”RotateInDownRight”,style:{0:{transform:[{translateX:”40%”,translateY:”-250%”,rotate:”90deg”}],opacity:0},100:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1}},duration:as},RotateInUpLeft:{name:”RotateInUpLeft”,style:{0:{transform:[{translateX:”-40%”,translateY:”250%”,rotate:”90deg”}],opacity:0},100:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1}},duration:as},RotateInUpRight:{name:”RotateInUpRight”,style:{0:{transform:[{translateX:”40%”,translateY:”250%”,rotate:”-90deg”}],opacity:0},100:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1}},duration:as}},ls={RotateOutDownLeft:{name:”RotateOutDownLeft”,style:{0:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1},100:{transform:[{translateX:”-40%”,translateY:”250%”,rotate:”90deg”}],opacity:0}},duration:as},RotateOutDownRight:{name:”RotateOutDownRight”,style:{0:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1},100:{transform:[{translateX:”40%”,translateY:”250%”,rotate:”-90deg”}],opacity:0}},duration:as},RotateOutUpLeft:{name:”RotateOutUpLeft”,style:{0:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1},100:{transform:[{translateX:”-40%”,translateY:”-250%”,rotate:”-90deg”}],opacity:0}},duration:as},RotateOutUpRight:{name:”RotateOutUpRight”,style:{0:{transform:[{translateX:”0%”,translateY:”0%”,rotate:”0deg”}],opacity:1},100:{transform:[{translateX:”40%”,translateY:”-250%”,rotate:”90deg”}],opacity:0}},duration:as}},cs={RotateInDownLeft:{style:Oa(ss.RotateInDownLeft),duration:ss.RotateInDownLeft.duration},RotateInDownRight:{style:Oa(ss.RotateInDownRight),duration:ss.RotateInDownRight.duration},RotateInUpLeft:{style:Oa(ss.RotateInUpLeft),duration:ss.RotateInUpLeft.duration},RotateInUpRight:{style:Oa(ss.RotateInUpRight),duration:ss.RotateInUpRight.duration}},us={RotateOutDownLeft:{style:Oa(ls.RotateOutDownLeft),duration:ls.RotateOutDownLeft.duration},RotateOutDownRight:{style:Oa(ls.RotateOutDownRight),duration:ls.RotateOutDownRight.duration},RotateOutUpLeft:{style:Oa(ls.RotateOutUpLeft),duration:ls.RotateOutUpLeft.duration},RotateOutUpRight:{style:Oa(ls.RotateOutUpRight),duration:ls.RotateOutUpRight.duration}},ds=.3,ps={SlideInRight:{name:”SlideInRight”,style:{0:{transform:[{translateX:”100vw”}]},100:{transform:[{translateX:”0%”}]}},duration:ds},SlideInLeft:{name:”SlideInLeft”,style:{0:{transform:[{translateX:”-100vw”}]},100:{transform:[{translateX:”0%”}]}},duration:ds},SlideInUp:{name:”SlideInUp”,style:{0:{transform:[{translateY:”-100vh”}]},100:{transform:[{translateY:”0%”}]}},duration:ds},SlideInDown:{name:”SlideInDown”,style:{0:{transform:[{translateY:”100vh”}]},100:{transform:[{translateY:”0%”}]}},duration:ds}},fs={SlideOutRight:{name:”SlideOutRight”,style:{0:{transform:[{translateX:”0%”}]},100:{transform:[{translateX:”100vw”}]}},duration:ds},SlideOutLeft:{name:”SlideOutLeft”,style:{0:{transform:[{translateX:”0%”}]},100:{transform:[{translateX:”-100vw”}]}},duration:ds},SlideOutUp:{name:”SlideOutUp”,style:{0:{transform:[{translateY:”0%”}]},100:{transform:[{translateY:”-100vh”}]}},duration:ds},SlideOutDown:{name:”SlideOutDown”,style:{0:{transform:[{translateY:”0%”}]},100:{transform:[{translateY:”100vh”}]}},duration:ds}},hs={SlideInRight:{style:Oa(ps.SlideInRight),duration:ps.SlideInRight.duration},SlideInLeft:{style:Oa(ps.SlideInLeft),duration:ps.SlideInLeft.duration},SlideInUp:{style:Oa(ps.SlideInUp),duration:ps.SlideInUp.duration},SlideInDown:{style:Oa(ps.SlideInDown),duration:ps.SlideInDown.duration}},ms={SlideOutRight:{style:Oa(fs.SlideOutRight),duration:fs.SlideOutRight.duration},SlideOutLeft:{style:Oa(fs.SlideOutLeft),duration:fs.SlideOutLeft.duration},SlideOutUp:{style:Oa(fs.SlideOutUp),duration:fs.SlideOutUp.duration},SlideOutDown:{style:Oa(fs.SlideOutDown),duration:fs.SlideOutDown.duration}},gs=.3,ys={StretchInX:{name:”StretchInX”,style:{0:{transform:[{scaleX:0}]},100:{transform:[{scaleX:1}]}},duration:gs},StretchInY:{name:”StretchInY”,style:{0:{transform:[{scaleY:0}]},100:{transform:[{scaleY:1}]}},duration:gs}},vs={StretchOutX:{name:”StretchOutX”,style:{0:{transform:[{scaleX:1}]},100:{transform:[{scaleX:0}]}},duration:gs},StretchOutY:{name:”StretchOutY”,style:{0:{transform:[{scaleY:1}]},100:{transform:[{scaleY:0}]}},duration:gs}},bs={StretchInX:{style:Oa(ys.StretchInX),duration:ys.StretchInX.duration},StretchInY:{style:Oa(ys.StretchInY),duration:ys.StretchInY.duration}},ws={StretchOutX:{style:Oa(vs.StretchOutX),duration:vs.StretchOutX.duration},StretchOutY:{style:Oa(vs.StretchOutY),duration:vs.StretchOutY.duration}},ks=.3,_s={ZoomIn:{name:”ZoomIn”,style:{0:{transform:[{scale:0}]},100:{transform:[{scale:1}]}},duration:ks},ZoomInRotate:{name:”ZoomInRotate”,style:{0:{transform:[{scale:0,rotate:”0.3rad”}]},100:{transform:[{scale:1,rotate:”0deg”}]}},duration:ks},ZoomInRight:{name:”ZoomInRight”,style:{0:{transform:[{translateX:”100vw”,scale:0}]},100:{transform:[{translateX:”0%”,scale:1}]}},duration:ks},ZoomInLeft:{name:”ZoomInLeft”,style:{0:{transform:[{translateX:”-100vw”,scale:0}]},100:{transform:[{translateX:”0%”,scale:1}]}},duration:ks},ZoomInUp:{name:”ZoomInUp”,style:{0:{transform:[{translateY:”-100vh”,scale:0}]},100:{transform:[{translateY:”0%”,scale:1}]}},duration:ks},ZoomInDown:{name:”ZoomInDown”,style:{0:{transform:[{translateY:”100vh”,scale:0}]},100:{transform:[{translateY:”0%”,scale:1}]}},duration:ks},ZoomInEasyUp:{name:”ZoomInEasyUp”,style:{0:{transform:[{translateY:”-100%”,scale:0}]},100:{transform:[{translateY:”0%”,scale:1}]}},duration:ks},ZoomInEasyDown:{name:”ZoomInEasyDown”,style:{0:{transform:[{translateY:”100%”,scale:0}]},100:{transform:[{translateY:”0%”,scale:1}]}},duration:ks}},Es={ZoomOut:{name:”ZoomOut”,style:{0:{transform:[{scale:1}]},100:{transform:[{scale:0}]}},duration:ks},ZoomOutRotate:{name:”ZoomOutRotate”,style:{0:{transform:[{scale:1,rotate:”0rad”}]},100:{transform:[{scale:0,rotate:”0.3rad”}]}},duration:ks},ZoomOutRight:{name:”ZoomOutRight”,style:{0:{transform:[{translateX:”0vw”,scale:1}]},100:{transform:[{translateX:”100vw”,scale:0}]}},duration:ks},ZoomOutLeft:{name:”ZoomOutLeft”,style:{0:{transform:[{translateX:”0vw”,scale:1}]},100:{transform:[{translateX:”-100vw”,scale:0}]}},duration:ks},ZoomOutUp:{name:”ZoomOutUp”,style:{0:{transform:[{translateX:”0vh”,scale:1}]},100:{transform:[{translateY:”-100vh”,scale:0}]}},duration:ks},ZoomOutDown:{name:”ZoomOutDown”,style:{0:{transform:[{translateX:”0vh”,scale:1}]},100:{transform:[{translateY:”100vh”,scale:0}]}},duration:ks},ZoomOutEasyUp:{name:”ZoomOutEasyUp”,style:{0:{transform:[{translateY:”0%”,scale:1}]},100:{transform:[{translateY:”-100%”,scale:0}]}},duration:ks},ZoomOutEasyDown:{name:”ZoomOutEasyDown”,style:{0:{transform:[{translateY:”0%”,scale:1}]},100:{transform:[{translateY:”100%”,scale:0}]}},duration:ks}},Ss={ZoomIn:{style:Oa(_s.ZoomIn),duration:_s.ZoomIn.duration},ZoomInRotate:{style:Oa(_s.ZoomInRotate),duration:_s.ZoomInRotate.duration},ZoomInRight:{style:Oa(_s.ZoomInRight),duration:_s.ZoomInRight.duration},ZoomInLeft:{style:Oa(_s.ZoomInLeft),duration:_s.ZoomInLeft.duration},ZoomInUp:{style:Oa(_s.ZoomInUp),duration:_s.ZoomInUp.duration},ZoomInDown:{style:Oa(_s.ZoomInDown),duration:_s.ZoomInDown.duration},ZoomInEasyUp:{style:Oa(_s.ZoomInEasyUp),duration:_s.ZoomInEasyUp.duration},ZoomInEasyDown:{style:Oa(_s.ZoomInEasyDown),duration:_s.ZoomInEasyDown.duration}},Cs={ZoomOut:{style:Oa(Es.ZoomOut),duration:Es.ZoomOut.duration},ZoomOutRotate:{style:Oa(Es.ZoomOutRotate),duration:Es.ZoomOutRotate.duration},ZoomOutRight:{style:Oa(Es.ZoomOutRight),duration:Es.ZoomOutRight.duration},ZoomOutLeft:{style:Oa(Es.ZoomOutLeft),duration:Es.ZoomOutLeft.duration},ZoomOutUp:{style:Oa(Es.ZoomOutUp),duration:Es.ZoomOutUp.duration},ZoomOutDown:{style:Oa(Es.ZoomOutDown),duration:Es.ZoomOutDown.duration},ZoomOutEasyUp:{style:Oa(Es.ZoomOutEasyUp),duration:Es.ZoomOutEasyUp.duration},ZoomOutEasyDown:{style:Oa(Es.ZoomOutEasyDown),duration:Es.ZoomOutEasyDown.duration}};let xs=function(e){return e[e.LINEAR=0]=”LINEAR”,e[e.SEQUENCED=1]=”SEQUENCED”,e[e.FADING=2]=”FADING”,e[e.JUMPING=3]=”JUMPING”,e[e.CURVED=4]=”CURVED”,e[e.ENTRY_EXIT=5]=”ENTRY_EXIT”,e}({});const As=Object.assign({},Va,Ba,Pa,Ma,Wa,Ka,ys,vs,_s,Es,ps,fs,Ya,Za,Qa,ss,ls,ns,rs),Rs=Object.assign({},Ha,Ua,Na,La,Xa,qa,bs,ws,Ss,Cs,hs,ms,Ja,$a,es,cs,us,is,os),Ts=”ReanimatedPredefinedWebAnimationsStyle”,Ds=”ReanimatedCustomWebAnimationsStyle”,Is=new Map,Os=[];let js=!1;function Ps(e,t){const n=document.getElementById(Ds);if(n.sheet){n.sheet.insertRule(t,0),Os.unshift(e),Is.set(e,0);for(let e=1;efunction(e,t){const n=document.getElementById(Ds),r=Is.get(e);if(void 0===r)throw new c(“Failed to obtain animation index.”);t(),n.sheet?.deleteRule(r),Os.splice(r,1),Is.delete(e);for(let i=r;i{const t=e[e.length-1];if(!function(e){let t=”__reactFiber”;for(const n of Object.keys(e))if(n.startsWith(“__reactFiber”)){t=n;break}return void 0!==e[t]?.child?.memoizedProps?.navigation}(t.target))for(let n=0;n=delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}”},Us={code:”function reactNativeReanimated_delayJs2(){const{_nextAnimation,delayMs,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation===’function’?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;const current=animation.current;if(now-startTime>=delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};}”},zs=function(){const e=function(e,t,n){return Po(t,function(){const r=function(){const r=”function”===typeof t?t():t;return{isHigherOrder:!0,onFrame:function(t,n){const{startTime:i,started:o,previousAnimation:a}=t,s=t.current;if(n-i>=e||t.reduceMotion){o||(r.onStart(r,s,n,a),t.previousAnimation=null,t.started=!0);const e=r.onFrame(r,n);return t.current=r.current,e}if(a){const e=a.finished||a.onFrame(a,n);t.current=a.current,e&&(t.previousAnimation=null)}return!1},onStart:function(e,t,n,i){e.startTime=n,e.started=!1,e.current=t,e.previousAnimation=i===e?i.previousAnimation:i,void 0===r.reduceMotion&&(r.reduceMotion=e.reduceMotion)},current:r.current,callback:e=>{r.callback&&r.callback(e)},previousAnimation:null,startTime:0,started:!1,reduceMotion:Co(n)}};return r.__closure={_nextAnimation:t,delayMs:e,getReduceMotionForAnimation:Co,reduceMotion:n},r.__workletHash=0xf768dd0647d,r.__initData=Us,r}())};return e.__closure={defineAnimation:Po,getReduceMotionForAnimation:Co},e.__workletHash=0x922bb0474ae,e.__initData=Hs,e}(),Ws={code:”function withSequence_reactNativeReanimated_sequenceJs1(_reduceMotionOrFirstAnimation,…_animations){const{logger,defineAnimation,getReduceMotionForAnimation}=this.__closure;let reduceMotion;if(_reduceMotionOrFirstAnimation){if(typeof _reduceMotionOrFirstAnimation===’string’){reduceMotion=_reduceMotionOrFirstAnimation;}else{_animations.unshift(_reduceMotionOrFirstAnimation);}}if(_animations.length===0){logger.warn(‘No animation was provided for the sequence’);return defineAnimation(0,function(){‘worklet’;return{onStart:function(animation,value){return animation.current=value;},onFrame:function(){return true;},current:0,animationIndex:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}return defineAnimation(_animations[0],function(){‘worklet’;const animations=_animations.map(function(a){const result=typeof a===’function’?a():a;result.finished=false;return result;});function findNextNonReducedMotionAnimationIndex(index){while(indexe.current=t,onFrame:()=>!0,current:0,animationIndex:0,reduceMotion:Co(n)}};return e.__closure={getReduceMotionForAnimation:Co,reduceMotion:n},e.__workletHash=0xb6c5138675f,e.__initData=Ks,e}())):Po(t[0],function(){const e=function(){const e=t.map((e=>{const t=”function”===typeof e?e():e;return t.finished=!1,t}));function r(t){for(;t{void 0===e.reduceMotion&&(e.reduceMotion=t.reduceMotion)})),t.animationIndex=r(0),void 0===o&&(o=e[e.length-1]);const a=e[t.animationIndex];a.onStart(a,n,i,o)},animationIndex:0,current:e[0].current,callback:t=>{t||e.forEach((e=>{“function”!==typeof e.callback||e.finished||e.callback(t)}))},reduceMotion:Co(n)}};return e.__closure={_animations:t,getReduceMotionForAnimation:Co,reduceMotion:n},e.__workletHash=6232803474731,e.__initData=Xs,e}())};return e.__closure={logger:L,defineAnimation:Po,getReduceMotionForAnimation:Co},e.__workletHash=909393107299,e.__initData=Ws,e}(),Gs={code:”function reactNativeReanimated_KeyframeJs1(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);}”},Ys={code:”function reactNativeReanimated_KeyframeJs2(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;}”},Zs={code:”function reactNativeReanimated_KeyframeJs3(){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,initialValues,makeKeyframeKey,callback}=this.__closure;const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0){return;}const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence(…keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes(‘transform’)){if(!(‘transform’in animations)){animations.transform=[];}animations.transform.push({[key.split(‘:’)[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes(‘transform’)){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(makeKeyframeKey(index,transformPropKey));});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}”};const Js={code:’function makeKeyframeKey_reactNativeReanimated_KeyframeJs4(index,transformProp){return index+”_transform:”+transformProp;}’},$s=function(){const e=function(e,t){return`${e}_transform:${t}`};return e.__closure={},e.__workletHash=0xd2d26255c26,e.__initData=Js,e}(),Qs=class{reduceMotionV=$.System;constructor(e){this.definitions=e}parseDefinitions(){const e={};if(this.definitions.from){if(this.definitions[0])throw new c(“You cannot provide both keyframe 0 and ‘from’ as they both specified initial values.”);this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw new c(“You cannot provide both keyframe 100 and ‘to’ as they both specified values at the end of the animation.”);this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw new c(“Please provide 0 or ‘from’ keyframe with initial state of your object.”);const t=this.definitions[0];Object.keys(t).forEach((n=>{if(“transform”===n){if(!Array.isArray(t.transform))return;t.transform.forEach(((t,n)=>{Object.keys(t).forEach((t=>{e[$s(n,t)]=[]}))}))}else e[n]=[]}));const n=this.durationV?this.durationV:500,r=Array.from(Object.keys(this.definitions)).map(Number),i=(t,r)=>r/100*n-e[t].reduce(((e,t)=>e+t.duration),0);return r.filter((e=>0!==e)).sort(((e,t)=>e-t)).forEach((t=>{if(t<0||t>100)throw new c(“Keyframe should be in between range 0 – 100.”);const n=this.definitions[t],r=n.easing;delete n.easing;const o=(n,o)=>(({key:t,value:n,currentKeyPoint:r,easing:o})=>{if(!(t in e))throw new c(“Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or ‘from’)”);e[t].push({duration:i(t,r),value:n,easing:o})})({key:n,value:o,currentKeyPoint:t,easing:r});Object.keys(n).forEach((e=>{if(“transform”===e){if(!Array.isArray(n.transform))return;n.transform.forEach(((e,t)=>{Object.keys(e).forEach((n=>{o($s(t,n),e[n])}))}))}else o(e,n[e])}))})),{initialValues:t,keyframes:e}}duration(e){return this.durationV=e,this}delay(e){return this.delayV=e,this}withCallback(e){return this.callbackV=e,this}reduceMotion(e){return this.reduceMotionV=e,this}getDelayFunction(){const e=this.delayV,t=this.reduceMotionV;return e?function(){const e=function(e,n){return zs(e,n,t)};return e.__closure={withDelay:zs,reduceMotion:t},e.__workletHash=1199474877403,e.__initData=Gs,e}():function(){const e=function(e,n){return n.reduceMotion=Eo(t),n};return e.__closure={getReduceMotionFromConfig:Eo,reduceMotion:t},e.__workletHash=0x91aeec32a47,e.__initData=Ys,e}()}build=()=>{const e=this.delayV,t=this.getDelayFunction(),{keyframes:n,initialValues:r}=this.parseDefinitions(),i=this.callbackV;return this.parsedAnimation||(this.parsedAnimation=function(){const o=function(){const o={},a=r=>{const i=n[r];if(0===i.length)return;const a=t(e,1===i.length?Ho(i[0].value,{duration:i[0].duration,easing:i[0].easing?i[0].easing:wi.linear}):qs(…i.map((e=>Ho(e.value,{duration:e.duration,easing:e.easing?e.easing:wi.linear})))));r.includes(“transform”)?(“transform”in o||(o.transform=[]),o.transform.push({[r.split(“:”)[1]]:a})):o[r]=a};return Object.keys(r).forEach((e=>{e.includes(“transform”)?r[e].forEach(((e,t)=>{Object.keys(e).forEach((e=>{a($s(t,e))}))})):a(e)})),{animations:o,initialValues:r,callback:i}};return o.__closure={keyframes:n,delayFunction:t,delay:e,withTiming:Ho,Easing:wi,withSequence:qs,initialValues:r,makeKeyframeKey:$s,callback:i},o.__workletHash=9575547351751,o.__initData=Zs,o}()),this.parsedAnimation}};function el(e,t,n){for(let r=0;r{e.contains(t)&&e.removeChild(t),el(e,i,!0),e.style.backgroundColor=o},s=()=>{a(),e.removeEventListener(“animationcancel”,s)},l=()=>{a(),e.removeEventListener(“animationend”,l)};e.addEventListener(“animationend”,l),e.addEventListener(“animationcancel”,s),e.appendChild(t)}(e,i,t,n),{dummy:i,dummyAnimationConfig:o}}const nl=49,rl=50;function il(e,t,n,r){for(const[i,o]of Object.entries(t)){void 0!==o.transform?o.transform.unshift(n):o.transform=[n];const t=parseInt(i)/2;e[`${r?Math.min(t,nl):t+rl}`]=o}}function ol(e,t){const n=structuredClone(As[t.exiting]),r=structuredClone(As[t.entering]),i={translateX:`${t.translateX}px`,translateY:`${t.translateY}px`,scale:`${t.scaleX},${t.scaleY}`},o={translateX:”0px”,translateY:”0px”,scale:”1,1″},a={name:e,style:{},duration:300};return il(a.style,n.style,i,!0),il(a.style,r.style,o,!1),function(e){const t=new Map;void 0===e[0].opacity&&(t.set(48,1),t.set(49,0)),void 0===e[50].opacity&&(t.set(50,0),t.set(51,1));for(const[n,r]of t)e[n]=Object.assign({},e[n],{opacity:r})}(a.style),a}const al=[“transform”];function sl(e){return e.map((e=>{const t={};for(const[n,r]of Object.entries(e))(n.includes(“translate”)||n.includes(“perspective”))&&”number”===typeof r?t[n]=`${r}px`:t[n]=r;return t}))}let ll=0;function cl(){return”REA”+ll++}function ul(e,t){const n=cl();let r,i;switch(e){case xs.LINEAR:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:o}=t;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${o}`}]}},duration:300}}(n,t);break;case xs.SEQUENCED:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:o,reversed:a}=t;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${o}`}]},50:{transform:[{translateX:a?`${n}px`:”0px”,translateY:a?”0px”:`${r}px`,scale:a?`1,${i}`:`${o},1`}]},100:{transform:[{translateX:”0px”,translateY:”0px”,scale:”1,1″}]}},duration:300}}(n,t);break;case xs.FADING:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:o}=t;return{name:e,style:{0:{opacity:1,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${o}`}]},20:{opacity:0,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${o}`}]},60:{opacity:0,transform:[{translateX:”0px”,translateY:”0px”,scale:”1,1″}]},100:{opacity:1,transform:[{translateX:”0px”,translateY:”0px”,scale:”1,1″}]}},duration:300}}(n,t);break;case xs.JUMPING:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:o}=t,a=Math.max(Math.abs(n),Math.abs(r))/2,s=r<=0?r-a:-r+a;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${o}`}],easing:wi.exp},50:{transform:[{translateX:n/2+"px",translateY:`${s}px`,scale:`${i},${o}`}]},100:{transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}(n,t);break;case xs.CURVED:{r=cl();const{firstKeyframeObj:e,secondKeyframeObj:o}=function(e,t,n){return{firstKeyframeObj:{name:e,style:{0:{transform:[{translateX:`${n.translateX}px`,scale:`${n.scaleX},${n.scaleY}`}]}},duration:300},secondKeyframeObj:{name:t,style:{0:{transform:[{translateY:`${n.translateY}px`,scale:`${n.scaleX},${n.scaleY}`}]}},duration:300}}}(n,r,t);i=e;Ps(r,Oa(o));break}case xs.ENTRY_EXIT:i=ol(n,t)}return Ps(n,Oa(i)),{transitionKeyframeName:n,dummyTransitionKeyframeName:r}}function dl(e){if(!e.easingV)return Ia("linear");const t=e.easingV[bi];return t in Da?Ia(t):(L.warn("Selected easing is not currently supported on web."),Ia("linear"))}function pl(e=1e3){return Math.floor(Math.random()*(e+1))/1e3}function fl(e){const t=e.randomizeDelay,n=t?pl():0;return e.delayV?t?pl(e.delayV):e.delayV/1e3:n}function hl(e){if(!e.reduceMotionV)return Ei.jsValue;switch(e.reduceMotionV){case $.Never:return!1;case $.Always:return!0;default:return Ei.jsValue}}function ml(e,t){const n=t in Rs?Rs[t].duration:.3;return void 0!==e.durationV?e.durationV/1e3:n}function gl(e){return void 0!==e.callbackV?e.callbackV:null}function yl(e){return!!e.reversed}function vl(e){const t=e.getBoundingClientRect(),n={top:t.top,left:t.left,width:t.width,height:t.height,scrollOffsets:wl(e)};Ra.set(e,n)}function bl(e,t,n=!1,r=null){const{animationName:i,duration:o,delay:a,easing:s}=t,l=()=>{e.style.animationName=i,e.style.animationDuration=`${o}s`,e.style.animationDelay=`${a}s`,e.style.animationTimingFunction=s};t.animationType===W.ENTERING?requestAnimationFrame(l):l(),e.onanimationend=()=>{n&&vl(e),r?.contains(e)&&(e.removedAfterAnimation=!0,r.removeChild(e)),t.callback?.(!0),e.removeEventListener(“animationcancel”,c)};const c=()=>{t.callback?.(!1),r?.contains(e)&&(e.removedAfterAnimation=!0,r.removeChild(e)),e.removeEventListener(“animationcancel”,c)};e.onanimationstart=()=>{t.animationType===W.ENTERING&&Ca({visibility:”initial”},e),e.addEventListener(“animationcancel”,c)},i in Rs||Fs(i,o+a,(()=>{n&&Ta(e,Ra.get(e))}))}function wl(e){let t=e;const n={scrollTopOffset:0,scrollLeftOffset:0};for(;t;)0!==t.scrollTop&&0===n.scrollTopOffset&&(n.scrollTopOffset=t.scrollTop),0!==t.scrollLeft&&0===n.scrollLeftOffset&&(n.scrollLeftOffset=t.scrollLeft),t=t.parentElement;return n}function kl(e,t,n,r){switch(e){case W.ENTERING:bl(n,t,!0);break;case W.LAYOUT:r.reversed=t.reversed,function(e,t,n){const{animationName:r}=t;let i;switch(r){case”LinearTransition”:default:i=xs.LINEAR;break;case”SequencedTransition”:i=xs.SEQUENCED;break;case”FadingTransition”:i=xs.FADING;break;case”JumpingTransition”:i=xs.JUMPING;break;case”CurvedTransition”:i=xs.CURVED;break;case”EntryExitTransition”:i=xs.ENTRY_EXIT}const{transitionKeyframeName:o,dummyTransitionKeyframeName:a}=ul(i,n);if(t.animationName=o,i===xs.CURVED){const{dummy:r,dummyAnimationConfig:i}=tl(e,t,n,a);bl(r,i)}bl(e,t)}(n,t,r);break;case W.EXITING:!function(e,t){const n=e.offsetParent,r=e.cloneNode();for(r.reanimatedDummy=!0,e.style.animationName=””,r.style.animationName=””;e.firstChild;)r.appendChild(e.firstChild);n?.appendChild(r);const i=Ra.get(e),o=wl(e),a=o.scrollTopOffset,s=i.scrollOffsets.scrollTopOffset;a!==s&&(i.top+=s-a);const l=o.scrollLeftOffset,c=i.scrollOffsets.scrollLeftOffset;l!==c&&(i.left+=c-l),Ra.set(r,i),Ta(r,i),bl(r,t,!1,n)}(n,t)}}function _l(e,t){const n=function(e,t){return e===W.ENTERING?t.entering:e===W.EXITING?t.exiting:e===W.LAYOUT?t.layout:null}(t,e);if(!n)return null;const r=t===W.LAYOUT,i=n instanceof Qs,a=void 0!==n.initialValues;let s;s=i?function(e){for(const r of Object.values(e))r.transform&&(r.transform=sl(r.transform));const t={name:””,style:e,duration:-1};t.name=cl();const n=Oa(t);return Ps(t.name,n),t.name}(n.definitions):”function”===typeof n?n.presetName:n.constructor.presetName,a&&(s=function(e,t){const n=structuredClone(As[e].style),r=n[0],{transform:i}=t,a=(0,o.default)(t,al);if(i){const e=sl(i);if(r.transform){const t=new Map;for(const e of r.transform)for(const[n,r]of Object.entries(e))t.set(n,r);for(const n of e)for(const[e,r]of Object.entries(n))t.set(e,r);r.transform=Array.from(t,(([e,t])=>({[e]:t})))}else r.transform=e}n[0]=Object.assign({},n[0],a);const s=cl();return Ps(s,Oa({name:s,style:n,duration:As[e].duration})),s}(s,n.initialValues));var l;if(l=r||i||a,!(s in Rs)&&!l&&(L.warn(“Couldn’t load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, withCallback, reducedMotion.”),!0))return null;if(i){const e=Object.keys(n.definitions);e.includes(“100”)||e.includes(“to”)||L.warn(“Neither ‘100’ nor ‘to’ was specified in Keyframe definition. This may result in wrong final position of your component. One possible solution is to duplicate last timestamp in definition as ‘100’ (or ‘to’)”)}const c=function(e,t,n){return{animationName:e,animationType:t,duration:ml(n,e),delay:fl(n),easing:dl(n),callback:gl(n),reversed:yl(n)}}(s,t,n);return c}function El(e,t,n,r){const i=_l(e,n);!function(e,t){if(t instanceof Qs){e.style.animationFillMode=”forwards”;for(const n of Object.values(t.definitions))if(“originX”in n||”originY”in n)return void(e.style.position=”absolute”)}}(t,e.entering),i?.animationName in Rs&&function(e,t){const n=/([a-zA-Z-]+)(?=:)/g,r=new Set;for(const o of e.matchAll(n))r.add(o[1]);const i=Array.from(t).filter((e=>r.has(e)));0!==i.length&&L.warn(`${1===i.length?”Property”:”Properties”} [${i.join(“, “)}] may be overwritten by a layout animation. Please wrap your component with an animated view and apply the layout animation on the wrapper.`)}(Rs[i?.animationName].style,t.style),i?kl(n,i,t,r):function(e,t){0===t?Ca({visibility:”initial”},e):setTimeout((()=>{Ca({visibility:”initial”},e)}),1e3*t)}(t,0)}const Sl=[“ref”],Cl=z();function xl(e){return Cl?t=>{let{ref:n}=t,r=(0,o.default)(t,Sl);return e(r,n)}:(0,a.forwardRef)(e)}let Al;if(H())Al=()=>{};else{const e=function(){const e=[],t=[];return{update(n,r){r?t.push(n):e.push(n),e.length+t.length===1&&(U()?this.flush():setImmediate(this.flush))},flush(){var n;n=e.concat(t),ie.configureLayoutAnimationBatch(n),e.length=0,t.length=0}}}();Al=(t,n,r,i,o)=>e.update({viewTag:t,type:n,config:r?be(r):void 0,sharedTransitionTag:i},o)}let Rl=e=>void 0!==e._nativeTag&&null!==e.__nativeTag?(Rl=Tl,Tl(e)):void 0!==e.__nativeTag&&null!==e.__nativeTag?(Rl=Dl,Dl(e)):Tl(e);function Tl(e){return{viewName:e?.viewConfig?.uiViewClassName,viewTag:e?._nativeTag,viewConfig:e?.viewConfig}}function Dl(e){return{viewName:e?._viewConfig?.uiViewClassName,viewTag:e?.__nativeTag,viewConfig:e?._viewConfig}}const Il={code:”function validateTransformOrigin_reactNativeReanimated_processTransformOriginJs1(transformOrigin){if(transformOrigin.length!==3){throw new ReanimatedError(‘Transform origin must have exactly 3 values.’);}const[x,y,z]=transformOrigin;if(!(typeof x===’number’||typeof x===’string’&&x.endsWith(‘%’))){throw new ReanimatedError(\”Transform origin x-position must be a number or a percentage string. Passed value: \”+x+\”.\”);}if(!(typeof y===’number’||typeof y===’string’&&y.endsWith(‘%’))){throw new ReanimatedError(\”Transform origin y-position must be a number or a percentage string. Passed value: \”+y+\”.\”);}if(typeof z!==’number’){throw new ReanimatedError(\”Transform origin z-position must be a number. Passed value: \”+z+\”.\”);}}”},Ol=function(){const e=function(e){if(3!==e.length)throw new c(“Transform origin must have exactly 3 values.”);const[t,n,r]=e;if(!(“number”===typeof t||”string”===typeof t&&t.endsWith(“%”)))throw new c(`Transform origin x-position must be a number or a percentage string. Passed value: ${t}.`);if(!(“number”===typeof n||”string”===typeof n&&n.endsWith(“%”)))throw new c(`Transform origin y-position must be a number or a percentage string. Passed value: ${n}.`);if(“number”!==typeof r)throw new c(`Transform origin z-position must be a number. Passed value: ${r}.`)};return e.__closure={},e.__workletHash=7298181072720,e.__initData=Il,e}(),jl={code:”function processTransformOrigin_reactNativeReanimated_processTransformOriginJs2(transformOriginIn){const{INDEX_X,INDEX_Z,INDEX_Y,__DEV__,validateTransformOrigin}=this.__closure;let transformOrigin=Array.isArray(transformOriginIn)?transformOriginIn:[‘50%’,’50%’,0];if(typeof transformOriginIn===’string’){const transformOriginString=transformOriginIn;const regex=/(top|bottom|left|right|center|\\d+(?:%|px)|0)/gi;const transformOriginArray=[‘50%’,’50%’,0];let index=INDEX_X;let matches;while(matches=regex.exec(transformOriginString)){let nextIndex=index+1;const value=matches[0];const valueLower=value.toLowerCase();switch(valueLower){case’left’:case’right’:{if(index!==INDEX_X){throw new ReanimatedError(\”Transform-origin \”+value+\” can only be used for x-position\”);}transformOriginArray[INDEX_X]=valueLower===’left’?0:’100%’;break;}case’top’:case’bottom’:{if(index===INDEX_Z){throw new ReanimatedError(\”Transform-origin \”+value+\” can only be used for y-position\”);}transformOriginArray[INDEX_Y]=valueLower===’top’?0:’100%’;if(index===INDEX_X){const horizontal=regex.exec(transformOriginString);if(horizontal==null){break;}switch(horizontal===null||horizontal===void 0?void 0:horizontal[0].toLowerCase()){case’left’:transformOriginArray[INDEX_X]=0;break;case’right’:transformOriginArray[INDEX_X]=’100%’;break;case’center’:transformOriginArray[INDEX_X]=’50%’;break;default:throw new ReanimatedError(\”Could not parse transform-origin: \”+transformOriginString);}nextIndex=INDEX_Z;}break;}case’center’:{if(index===INDEX_Z){throw new ReanimatedError(\”Transform-origin value \”+value+\” cannot be used for z-position\”);}transformOriginArray[index]=’50%’;break;}default:{if(value.endsWith(‘%’)){transformOriginArray[index]=value;}else{const numericValue=parseFloat(value);if(isNaN(numericValue)){throw new ReanimatedError(\”Invalid numeric value in transform-origin: \”+value);}transformOriginArray[index]=numericValue;}break;}}index=nextIndex;}transformOrigin=transformOriginArray;}if(typeof transformOriginIn!==’string’&&!Array.isArray(transformOriginIn)){throw new ReanimatedError(\”Invalid transformOrigin type: \”+typeof transformOriginIn);}if(__DEV__){validateTransformOrigin(transformOrigin);}return transformOrigin;}”},Pl=function(){const e=function(e){let t=Array.isArray(e)?e:[“50%”,”50%”,0];if(“string”===typeof e){const n=e,r=/(top|bottom|left|right|center|\d+(?:%|px)|0)/gi,i=[“50%”,”50%”,0];let o,a=0;for(;o=r.exec(n);){let e=a+1;const t=o[0],s=t.toLowerCase();switch(s){case”left”:case”right”:if(0!==a)throw new c(`Transform-origin ${t} can only be used for x-position`);i[0]=”left”===s?0:”100%”;break;case”top”:case”bottom”:if(2===a)throw new c(`Transform-origin ${t} can only be used for y-position`);if(i[1]=”top”===s?0:”100%”,0===a){const t=r.exec(n);if(null==t)break;switch(t?.[0].toLowerCase()){case”left”:i[0]=0;break;case”right”:i[0]=”100%”;break;case”center”:i[0]=”50%”;break;default:throw new c(`Could not parse transform-origin: ${n}`)}e=2}break;case”center”:if(2===a)throw new c(`Transform-origin value ${t} cannot be used for z-position`);i[a]=”50%”;break;default:if(t.endsWith(“%”))i[a]=t;else{const e=parseFloat(t);if(isNaN(e))throw new c(`Invalid numeric value in transform-origin: ${t}`);i[a]=e}}a=e}t=i}if(“string”!==typeof e&&!Array.isArray(e))throw new c(“Invalid transformOrigin type: “+typeof e);return t};return e.__closure={INDEX_X:0,INDEX_Z:2,INDEX_Y:1,__DEV__:!1,validateTransformOrigin:Ol},e.__workletHash=4007711361503,e.__initData=jl,e}();let Ml;const Nl={code:”function reactNativeReanimated_updatePropsJs1(viewDescriptors,updates,isAnimatedProps){const{_updatePropsJS}=this.__closure;var _viewDescriptors$valu;(_viewDescriptors$valu=viewDescriptors.value)===null||_viewDescriptors$valu===void 0||_viewDescriptors$valu.forEach(function(viewDescriptor){const component=viewDescriptor.tag;_updatePropsJS(updates,component,isAnimatedProps);});}”},Ll={code:”function reactNativeReanimated_updatePropsJs2(viewDescriptors,updates){const{processColorsInProps,processTransformOrigin}=this.__closure;processColorsInProps(updates);if(‘transformOrigin’in updates){updates.transformOrigin=processTransformOrigin(updates.transformOrigin);}global.UpdatePropsManager.update(viewDescriptors,updates);}”};Ml=H()?function(){const e=function(e,t,n){e.value?.forEach((e=>{const r=e.tag;Ca(t,r,n)}))};return e.__closure={_updatePropsJS:Ca},e.__workletHash=0xd291c710306,e.__initData=Nl,e}():function(){const e=function(e,t){tr(t),”transformOrigin”in t&&(t.transformOrigin=Pl(t.transformOrigin)),r.g.UpdatePropsManager.update(e,t)};return e.__closure={processColorsInProps:tr,processTransformOrigin:Pl},e.__workletHash=0xc0a3634a3d7,e.__initData=Ll,e}();const Fl=(e,t,n,r)=>{r.forEach((e=>{e(t)})),n.current.value=Object.assign({},n.current.value,t),Ml(e,t)},Vl=Ml,Bl={code:”function reactNativeReanimated_updatePropsJs3(){const operations=[];return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){operations.push({shadowNodeWrapper:viewDescriptor.shadowNodeWrapper,updates:updates});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsFabric(operations);operations.length=0;}};}”},Hl={code:”function reactNativeReanimated_updatePropsJs4(){const operations=[];return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){operations.push({tag:viewDescriptor.tag,name:viewDescriptor.name||’RCTView’,updates:updates});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsPaper(operations);operations.length=0;}};}”},Ul=U()?function(){const e=function(){const e=[];return{update(t,n){t.value.forEach((t=>{e.push({shadowNodeWrapper:t.shadowNodeWrapper,updates:n}),1===e.length&&queueMicrotask(this.flush)}))},flush(){r.g._updatePropsFabric(e),e.length=0}}};return e.__closure={},e.__workletHash=5349556006606,e.__initData=Bl,e}():function(){const e=function(){const e=[];return{update(t,n){t.value.forEach((t=>{e.push({tag:t.tag,name:t.name||”RCTView”,updates:n}),1===e.length&&queueMicrotask(this.flush)}))},flush(){r.g._updatePropsPaper(e),e.length=0}}};return e.__closure={},e.__workletHash=481248343212,e.__initData=Hl,e}(),zl={code:”function reactNativeReanimated_updatePropsJs5(){const{createUpdatePropsManager}=this.__closure;global.UpdatePropsManager=createUpdatePropsManager();}”};if(H()){const e=()=>{if(!V())throw new c(“`UpdatePropsManager` is not available on non-native platform.”)};r.g.UpdatePropsManager=new Proxy({},{get:e,set:()=>(e(),!1)})}else Xe(function(){const e=function(){r.g.UpdatePropsManager=Ul()};return e.__closure={createUpdatePropsManager:Ul},e.__workletHash=0x998abf28cf4,e.__initData=zl,e}())();const Wl={code:”function reactNativeReanimated_ViewDescriptorsSetJs1(descriptors){const{item}=this.__closure;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===item.tag;});if(index!==-1){descriptors[index]=item;}else{descriptors.push(item);}return descriptors;}”},Kl={code:”function reactNativeReanimated_ViewDescriptorsSetJs2(descriptors){const{viewTag}=this.__closure;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===viewTag;});if(index!==-1){descriptors.splice(index,1);}return descriptors;}”};function Xl(){const e=St([]);return{shareableViewDescriptors:e,add:t=>{e.modify(function(){const e=function(e){const n=e.findIndex((e=>e.tag===t.tag));return-1!==n?e[n]=t:e.push(t),e};return e.__closure={item:t},e.__workletHash=0xf45b155a6b9,e.__initData=Wl,e}(),!1)},remove:t=>{e.modify(function(){const e=function(e){const n=e.findIndex((e=>e.tag===t));return-1!==n&&e.splice(n,1),e};return e.__closure={viewTag:t},e.__workletHash=2880512106780,e.__initData=Kl,e}(),!1)}}}function ql(e){if(!Array.isArray(e))return[e];const t=[],n=e=>{e.forEach((e=>{Array.isArray(e)?n(e):t.push(e)}))};return n(e),t}const Gl=(e,t)=>(“function”===typeof t||”object”===typeof t)&&(null!==t&&void 0!==t&&e in t);function Yl(e){return!!Array.isArray(e)&&e.some((e=>$l(e)))}const Zl={code:”function getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(inlineProps){const getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1=this._recur;const{isSharedValue}=this.__closure;const update={};for(const[key,styleValue]of Object.entries(inlineProps)){if(isSharedValue(styleValue)){update[key]=styleValue.value;}else if(Array.isArray(styleValue)){update[key]=styleValue.map(function(item){return getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(item);});}else if(typeof styleValue===’object’){update[key]=getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(styleValue);}else{update[key]=styleValue;}}return update;}”},Jl=function(){const e=function(t){const n={};for(const[r,i]of Object.entries(t))Rt(i)?n[r]=i.value:Array.isArray(i)?n[r]=i.map((t=>e(t))):n[r]=”object”===typeof i?e(i):i;return n};return e.__closure={isSharedValue:Rt},e.__workletHash=0xad6475858b6,e.__initData=Zl,e}();function $l(e){return!!e&&Object.keys(e).some((t=>{const n=e[t];return Rt(n)||”transform”===t&&Yl(n)}))}function Ql(e,t){if(t)return Jl(e);const n={};for(const[r,i]of Object.entries(e))Rt(i)||”transform”===r&&Yl(i)||(n[r]=i);return n}const ec={code:”function reactNativeReanimated_InlinePropManagerJs2(){const{getInlinePropsUpdate,newInlineProps,updateProps,shareableViewDescriptors}=this.__closure;const update=getInlinePropsUpdate(newInlineProps);updateProps(shareableViewDescriptors,update);}”};class tc{_inlinePropsViewDescriptors=null;_inlinePropsMapperId=null;_inlineProps={};attachInlineProps(e,t){const n=function(e){const t={};for(const n in e){const r=e[n];”style”===n?ql(e.style??[]).forEach((e=>{if(e)for(const[n,r]of Object.entries(e))(Rt(r)||”transform”===n&&Yl(r))&&(t[n]=r)})):Rt(r)&&(t[n]=r)}return t}(e.props);if(function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const n of Object.keys(e))if(e[n]!==t[n])return!0;return!1}(n,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=Xl();const{viewTag:e,viewName:r,shadowNodeWrapper:i,viewConfig:o}=t;Object.keys(n).length&&o&&ba(o),this._inlinePropsViewDescriptors.add({tag:e,name:r,shadowNodeWrapper:i})}const e=this._inlinePropsViewDescriptors.shareableViewDescriptors,r=function(){const t=function(){const t=Jl(n);Vl(e,t)};return t.__closure={getInlinePropsUpdate:Jl,newInlineProps:n,updateProps:Vl,shareableViewDescriptors:e},t.__workletHash=5061273221373,t.__initData=ec,t}();this._inlineProps=n,this._inlinePropsMapperId&&Nt(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(n).length&&(this._inlinePropsMapperId=Pt(r,Object.values(n)))}}detachInlineProps(){this._inlinePropsMapperId&&Nt(this._inlinePropsMapperId)}}class nc{addOnJSPropsChangeListener(e){}removeOnJSPropsChangeListener(e){}}const rc=H();const ic=rc?class{constructor(e,t=[]){this.worklet=e,this.eventNames=t,this.listeners={},this.setupWebListeners()}setupWebListeners(){this.listeners={},this.eventNames.forEach((e=>{this.listeners[e]=function(e,t){return n=>{t(Object.assign({},n.nativeEvent,{eventName:e}))}}(e,this.worklet)}))}updateEventHandler(e,t){this.worklet=e,this.eventNames=t,this.setupWebListeners()}registerForEvents(e,t){}unregisterFromEvents(e){}}:class{#t;#n;constructor(e,t){this.worklet=e,this.eventNames=t,this.#t=new Set,this.#n=new Map}updateEventHandler(e,t){this.worklet=e,this.eventNames=t,this.#n.forEach((e=>{e.forEach((e=>$t(e)))})),Array.from(this.#t).forEach((e=>{const t=this.eventNames.map((t=>Jt(this.worklet,t,e)));this.#n.set(e,t)}))}registerForEvents(e,t){this.#t.add(e);const n=this.eventNames.map((t=>Jt(this.worklet,t,e)));if(this.#n.set(e,n),0===this.eventNames.length&&t){const n=Jt(this.worklet,t,e);this.#n.set(e,[n])}}unregisterFromEvents(e){this.#t.delete(e),this.#n.get(e)?.forEach((e=>{$t(e)})),this.#n.delete(e)}};class oc{#r;#i;#o=-1;constructor(e,t){this.#r=e,this.#i=t,this.#o=this.getEventViewTag()}attachEvents(){sc(this.#r.props,((e,t)=>{t.registerForEvents(this.#o,e)}))}detachEvents(){sc(this.#r.props,((e,t)=>{t.unregisterFromEvents(this.#o)}))}updateEvents(e){const t=this.getEventViewTag(!0);if(this.#o!==t)return sc(e,((e,t)=>{t.unregisterFromEvents(this.#o)})),this.#o=t,void this.attachEvents();sc(e,((e,t)=>{const n=this.#r.props[e];n?ac(n)&&n.workletEventHandler!==t&&(t.unregisterFromEvents(this.#o),n.workletEventHandler.registerForEvents(this.#o)):t.unregisterFromEvents(this.#o)})),sc(this.#r.props,((t,n)=>{e[t]||n.registerForEvents(this.#o)}))}getEventViewTag(e=!1){const t=this.#r._componentRef;if(t.getScrollableNode){const e=t.getScrollableNode();return”number”===typeof e?e:e??-1}return this.#i?.setNativeProps?this.#r??-1:e?t.__nativeTag||t._nativeTag?t.__nativeTag??t._nativeTag??-1:t??-1:this.#r.getComponentViewTag()}}function ac(e){return Gl(“workletEventHandler”,e)&&e.workletEventHandler instanceof ic}function sc(e,t){for(const n in e){const r=e[n];ac(r)&&t(n,r.workletEventHandler)}}function lc(){}class cc{_initialPropsMap=new Map;filterNonAnimatedProps(e){const t=e.props,n={};for(const r in t){const i=t[r];if(“style”===r){const i=ql(t.style??[]).map((t=>{if(t&&t.viewDescriptors){const n=t;return e._isFirstRender&&this._initialPropsMap.set(n,Object.assign({},n.initial.value,vo(n.initial.updater))),this._initialPropsMap.get(n)??{}}return $l(t)?Ql(t,e._isFirstRender):t}));n[r]=i}else if(“animatedProps”===r){const e=t.animatedProps;void 0!==e.initial&&Object.keys(e.initial.value).forEach((t=>{n[t]=e.initial?.value[t]}))}else Gl(“workletEventHandler”,i)&&i.workletEventHandler instanceof ic?i.workletEventHandler.eventNames.length>0?i.workletEventHandler.eventNames.forEach((e=>{n[e]=Gl(“listeners”,i.workletEventHandler)?i.workletEventHandler.listeners[e]:lc})):n[r]=lc:Rt(i)?e._isFirstRender&&(n[r]=i.value):”onGestureHandlerStateChange”===r&&B()||(n[r]=i)}return n}}const uc=function({getForwardedRef:e,setLocalRef:t}){return function(n){const r=e();t(n),”function”===typeof r?r(n):”object”===typeof r&&null!=r&&(r.current=n)}},dc=!0,pc=V(),fc=z(),hc=H();dc&&function(){if(null!==document.getElementById(Ts))return;const e=document.createElement(“style”);e.id=Ts,e.onload=()=>{if(e.sheet)for(const t in Rs)e.sheet.insertRule(Rs[t].style);else L.error(“Failed to create layout animations stylesheet.”)};const t=document.createElement(“style”);t.id=Ds,document.head.appendChild(e),document.head.appendChild(t)}();let mc=0;function gc(e,t){fc||ia()(“function”!==typeof e||e.prototype&&e.prototype.isReactComponent,`Looks like you’re passing a function component \`${e.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`);class n extends a.Component{_styles=null;_isFirstRender=!0;jestAnimatedStyle={value:{}};jestAnimatedProps={value:{}};_componentRef=null;_hasAnimatedRef=!1;_componentDOMRef=null;_sharedElementTransition=null;_jsPropsUpdater=new nc;_InlinePropManager=new tc;_PropsFilter=new cc;static contextType=ca;reanimatedID=mc++;_willUnmount=!1;constructor(e){super(e),pc&&(this.jestAnimatedStyle={value:{}},this.jestAnimatedProps={value:{}});const t=this.props.entering,r=this.context?.current;t&&!hl(t)&&!r&&U()&&Al(this.reanimatedID,W.ENTERING,oa(t,this.props?.style,n.displayName))}componentDidMount(){dc||(this._NativeEventsManager=new oc(this,t)),this._NativeEventsManager?.attachEvents(),this._jsPropsUpdater.addOnJSPropsChangeListener(this),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo());if(this.props.layout&&this._configureLayoutTransition(),dc){if(this.props.exiting&&this._componentDOMRef&&vl(this._componentDOMRef),!this.props.entering||hl(this.props.entering))return void(this._isFirstRender=!1);const e=this.context?.current;e?this._componentDOMRef&&(this._componentDOMRef.style.visibility=”initial”):El(this.props,this._componentDOMRef,W.ENTERING)}const e=this._viewInfo?.viewTag;!hc&&U()&&this._willUnmount&&”number”===typeof e&&function(e){ie.unmarkNodeAsRemovable(e)}(e),this._isFirstRender=!1}componentWillUnmount(){this._NativeEventsManager?.detachEvents(),this._jsPropsUpdater.removeOnJSPropsChangeListener(this),this._detachStyles(),this._InlinePropManager.detachInlineProps(),this.props.sharedTransitionTag&&this._configureSharedTransition(!0),this._sharedElementTransition?.unregisterTransition(this.getComponentViewTag(),!0);const e=this.props.exiting;if(dc&&this._componentDOMRef&&e&&!hl(e))Bs(),El(this.props,this._componentDOMRef,W.EXITING);else if(e&&!dc&&!U()){(“getReduceMotion”in e&&”function”===typeof e.getReduceMotion?Eo(e.getReduceMotion()):Eo())||Al(this.getComponentViewTag(),W.EXITING,oa(e,this.props?.style,n.displayName))}const t=this._viewInfo?.shadowNodeWrapper;var r;!hc&&U()&&t&&(r=t,ie.markNodeAsRemovable(r)),this._willUnmount=!0}getComponentViewTag(){return this._getViewInfo().viewTag}_detachStyles(){const e=this.getComponentViewTag();if(-1!==e&&null!==this._styles){for(const t of this._styles)t.viewDescriptors.remove(e);this.props.animatedProps?.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(e)}}_updateFromNative(e){t?.setNativeProps?t.setNativeProps(this._componentRef,e):this._componentRef?.setNativeProps?.(e)}_getViewInfo(){if(void 0!==this._viewInfo)return this._viewInfo;let e,t,n,r=null,i=null;if(hc)e=this._componentRef,i=this._componentDOMRef,t=null,r=null,n=null;else{const i=void 0;if(!i)throw new c(“Cannot find host instance for this component. Maybe it renders nothing?”);const o=Rl(i);e=o.viewTag,t=o.viewName,n=o.viewConfig,r=U()?wa():null}return this._viewInfo={viewTag:e,viewName:t,shadowNodeWrapper:r,viewConfig:n},i&&(this._viewInfo.DOMElement=i),this._viewInfo}_attachAnimatedStyles(){const e=this.props.style?function(e){return e.filter((e=>e?.viewDescriptors))}(ql(this.props.style)):[],t=this.props.animatedProps,n=this._styles;this._styles=e;const r=this._animatedProps;this._animatedProps=t;const{viewTag:i,viewName:o,shadowNodeWrapper:a,viewConfig:s}=this._getViewInfo();if((this.props.animatedProps?.viewDescriptors||e.length)&&s&&ba(s),n){if(!(1===e.length&&1===n.length&&e[0]===n[0]))for(const t of n){e.some((e=>e===t))||t.viewDescriptors.remove(i)}}t&&pc&&(this.jestAnimatedProps.value=Object.assign({},this.jestAnimatedProps.value,t?.initial?.value),t?.jestAnimatedValues&&(t.jestAnimatedValues.current=this.jestAnimatedProps)),e.forEach((e=>{e.viewDescriptors.add({tag:i,name:o,shadowNodeWrapper:a}),pc&&(this.jestAnimatedStyle.value=Object.assign({},this.jestAnimatedStyle.value,e.initial.value),e.jestAnimatedValues.current=this.jestAnimatedStyle)})),r&&r!==this.props.animatedProps&&r.viewDescriptors.remove(i),this.props.animatedProps?.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:i,name:o,shadowNodeWrapper:a})}componentDidUpdate(e,t,n){this.props.layout!==e.layout&&this._configureLayoutTransition(),void 0===this.props.sharedTransitionTag&&void 0===e.sharedTransitionTag||this._configureSharedTransition(),this._NativeEventsManager?.updateEvents(e),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),dc&&this.props.exiting&&this._componentDOMRef&&vl(this._componentDOMRef),dc&&null!==n&&this.props.layout&&!hl(this.props.layout)&&function(e,t,n){if(!e.layout)return;const r=t.getBoundingClientRect();if(o=n,(i=r).x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height)return;var i,o;const a=e.layout.enteringV?.presetName,s=e.layout.exitingV?.presetName,l=(n.width-r.width)/2,c=(n.height-r.height)/2,u={translateX:n.x-r.x+l,translateY:n.y-r.y+c,scaleX:n.width/r.width,scaleY:n.height/r.height,reversed:!1,easingX:e.layout.easingXV?.[bi]??”ease”,easingY:e.layout.easingYV?.[bi]??”ease”,entering:a,exiting:s};El(e,t,W.LAYOUT,u)}(this.props,this._componentDOMRef,n)}_configureLayoutTransition(){if(dc)return;const e=this.props.layout;e&&hl(e)||Al(this.getComponentViewTag(),W.LAYOUT,e&&oa(e,0,n.displayName))}_configureSharedTransition(e=!1){if(dc)return;const{sharedTransitionTag:t}=this.props;if(!t)return this._sharedElementTransition?.unregisterTransition(this.getComponentViewTag(),e),void(this._sharedElementTransition=null);const n=this.props.sharedTransitionStyle??this._sharedElementTransition??new ka;n.registerTransition(this.getComponentViewTag(),t,e),this._sharedElementTransition=n}_resolveComponentRef=e=>{const t=e;return t&&t.getAnimatableRef?(this._hasAnimatedRef=!0,t.getAnimatableRef()):(hc&&(t&&t.elementRef?this._componentDOMRef=t.elementRef.current:this._componentDOMRef=e),t)};_setComponentRef=uc({getForwardedRef:()=>this.props.forwardedRef,setLocalRef:e=>{if(!e)return;e!==this._componentRef&&(this._componentRef=this._resolveComponentRef(e),this._viewInfo=void 0);const t=this.getComponentViewTag(),{layout:r,entering:i,exiting:o,sharedTransitionTag:a}=this.props;if(r||i||o||a){if(hc||rn(!0,!1),a&&this._configureSharedTransition(),o&&U()){(“getReduceMotion”in o&&”function”===typeof o.getReduceMotion?Eo(o.getReduceMotion()):Eo())||Al(t,W.EXITING,oa(o,this.props?.style,n.displayName))}const e=this.context?.current;!i||U()||e||dc||Al(t,W.ENTERING,oa(i,this.props?.style,n.displayName))}}});getSnapshotBeforeUpdate(){return dc&&void 0!==this._componentDOMRef?.getBoundingClientRect?this._componentDOMRef.getBoundingClientRect():null}render(){const t=this._PropsFilter.filterNonAnimatedProps(this);pc&&(t.jestAnimatedStyle=this.jestAnimatedStyle,t.jestAnimatedProps=this.jestAnimatedProps),this._isFirstRender&&dc&&t.entering&&!hl(t.entering)&&(t.style=Array.isArray(t.style)?t.style.concat([{visibility:”hidden”}]):Object.assign({},t.style??{},{visibility:”hidden”}));const n=this.context?.current,r=n||!U()?void 0:`${this.reanimatedID}`,i=pc?{jestInlineStyle:this.props.style,jestAnimatedStyle:this.jestAnimatedStyle,jestAnimatedProps:this.jestAnimatedProps}:{};return(0,sa.jsx)(e,Object.assign({nativeID:r},t,i,{ref:this._setComponentRef},{}))}}n.displayName=`AnimatedComponent(${e.displayName||e.name||”Component”})`;const r=xl(((e,t)=>(0,sa.jsx)(n,Object.assign({},e,null===t?null:{forwardedRef:t}))));return r.displayName=e.displayName||e.name||”Component”,r}var yc=r(67842);const vc=gc(yc.default),bc=[“itemLayoutAnimation”,”skipEnteringExitingAnimations”],wc=gc(s.default),kc=xl((function(e,t){const{itemLayoutAnimation:n,skipEnteringExitingAnimations:r}=e,i=(0,o.default)(e,bc);”scrollEventThrottle”in i||(i.scrollEventThrottle=1);const s=(0,a.useRef)(n);s.current=n;const l=a.useMemo((()=>(e=>t=>(0,sa.jsx)(vc,{layout:e?.current,onLayout:t.onLayout,style:t.style,children:t.children}))(s)),[s]),c=(0,sa.jsx)(wc,Object.assign({ref:t},i,{CellRendererComponent:l}));return void 0===r?c:(0,sa.jsx)(da,{skipEntering:!0,skipExiting:!0,children:c})}));const _c=gc(r(68922).default);var Ec=r(45208);function Sc(e){const[t]=(0,a.useState)((()=>St(e)));return(0,a.useEffect)((()=>()=>{Fo(t)}),[t]),t}const Cc=!0;function xc(e){return U()&&e.getNativeScrollRef?e.getNativeScrollRef():!U()&&e.getScrollableNode?e.getScrollableNode():e}const Ac={code:”function reactNativeReanimated_useAnimatedRefJs1(){const{tag,viewName}=this.__closure;const f=function(){return tag.value;};f.viewName=viewName;return f;}”};function Rc(){const e=Sc(-1),t=Sc(null),n=(0,a.useRef)(null);if(!n.current){const r=t=>{if(t){const n=U()?wa:aa,i=()=>Cc?xc(t):n(xc(t));e.value=i(),r.getTag=U()?()=>xc(t):i,r.current=t}return e.value};r.current=null;const i=be({__init:function(){const n=function(){const n=()=>e.value;return n.viewName=t,n};return n.__closure={tag:e,viewName:t},n.__workletHash=9724470751943,n.__initData=Ac,n}()});le.set(r,i),n.current=r}return n.current}function Tc(e,t=[],n=!1){const r=(0,a.useRef)(null);if(null===r.current){const n=new ic(e,t);r.current={workletEventHandler:n}}else if(n){const n=r.current.workletEventHandler;n.updateEventHandler(e,t),r.current={workletEventHandler:n}}return r.current}const Dc=function(e,t){const n=Sc(0),r=(0,a.useRef)(t??n).current,i=(0,a.useCallback)(function(){const t=function(){if(e){const t=Oc(e.current);r.value=0===t.scrollLeft?t.scrollTop:t.scrollLeft}};return t.__closure={animatedRef:e,getWebScrollableElement:Oc,offset:r},t.__workletHash=7236655608623,t.__initData=Ic,t}(),[e,e?.current]);return(0,a.useEffect)((()=>{const t=e?.current?Oc(e.current):null;return t&&t.addEventListener(“scroll”,i),()=>{t&&t.removeEventListener(“scroll”,i)}}),[e,e?.current,i]),r},Ic={code:”function reactNativeReanimated_useScrollViewOffsetJs1(){const{animatedRef,getWebScrollableElement,offset}=this.__closure;if(animatedRef){const element=getWebScrollableElement(animatedRef.current);offset.value=element.scrollLeft===0?element.scrollTop:element.scrollLeft;}}”};function Oc(e){return e?.getScrollableNode()??e}const jc=[“scrollViewOffset”],Pc=gc(Ec.default),Mc=xl(((e,t)=>{const{scrollViewOffset:n}=e,r=(0,o.default)(e,jc),i=null===t?Rc():t;return n&&Dc(i,n),”scrollEventThrottle”in r||(r.scrollEventThrottle=1),(0,sa.jsx)(Pc,Object.assign({ref:i},r))}));const Nc=gc(r(33387).default),Lc={code:”function reactNativeReanimated_clampJs1(config,_animationToClamp){const{defineAnimation,recognizePrefixSuffix,logger,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_animationToClamp,function(){‘worklet’;const animationToClamp=typeof _animationToClamp===’function’?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){logger.warn(\”Error inside ‘withClamp’ animation, the inner animation has invalid current value\”);return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMaxstrippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current===’number’?newValue:\”\”+(prefix===undefined?”:prefix)+newValue+(suffix===undefined?”:suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.maxstrippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current===’number’?newValue:\”\”+(prefix===undefined?”:prefix)+newValue+(suffix===undefined?”:suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.maxo?r:o,e.current=”number”===typeof n.current?s:`${void 0===t?””:t}${s}${void 0===a?””:a}`}return o},onStart:function(t,r,i,o){t.current=r,t.previousAnimation=n;const a=o?.previousAnimation;void 0!==e.max&&void 0!==e.min&&e.max{n.callback&&n.callback(e)},previousAnimation:null,reduceMotion:Co(e.reduceMotion)}};return n.__closure={_animationToClamp:t,config:e,recognizePrefixSuffix:wo,logger:L,getReduceMotionForAnimation:Co},n.__workletHash=0xdb018d05057,n.__initData=Fc,n}())};return e.__closure={defineAnimation:Po,recognizePrefixSuffix:wo,logger:L,getReduceMotionForAnimation:Co},e.__workletHash=0xa395161786b,e.__initData=Lc,e}(),Bc=.05,Hc=.1,Uc={code:”function isValidRubberBandConfig_reactNativeReanimated_utilsJs1(config){return!!config.rubberBandEffect&&Array.isArray(config.clamp)&&config.clamp.length===2;}”},zc=function(){const e=function(e){return!!e.rubberBandEffect&&Array.isArray(e.clamp)&&2===e.clamp.length};return e.__closure={},e.__workletHash=0xfd5c9ea3133,e.__initData=Uc,e}(),Wc={code:”function rigidDecay_reactNativeReanimated_rigidDecayJs1(animation,now,config){const{SLOPE_FACTOR,VELOCITY_EPS}=this.__closure;const{lastTimestamp:lastTimestamp,startTimestamp:startTimestamp,initialVelocity:initialVelocity,current:current,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);const v=velocity*Math.exp(-(1-config.deceleration)*(now-startTimestamp)*SLOPE_FACTOR);animation.current=current+v*config.velocityFactor*deltaTime/1000;animation.velocity=v;animation.lastTimestamp=now;if(config.clamp){if(initialVelocity<0&&animation.current<=config.clamp[0]){animation.current=config.clamp[0];return true;}else if(initialVelocity>0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&e.current>=n.clamp[1])return e.current=n.clamp[1],!0}return Math.abs(c)config.clamp[1]){derivative=current-config.clamp[clampIndex];}const v=velocity*Math.exp(-(1-config.deceleration)*(now-startTimestamp)*SLOPE_FACTOR)-derivative*config.rubberBandFactor;if(Math.abs(derivative)>DERIVATIVE_EPS){animation.springActive=true;}else if(animation.springActive){animation.current=config.clamp[clampIndex];return true;}else if(Math.abs(v)n.clamp[1])&&(c=o-n.clamp[l]);const u=a*Math.exp(-(1-n.deceleration)*(t-i)*Hc)-c*n.rubberBandFactor;if(Math.abs(c)>.1)e.springActive=!0;else{if(e.springActive)return e.current=n.clamp[l],!0;if(Math.abs(u)config.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:undefined,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};});}”},Jc={code:”function reactNativeReanimated_decayJs3(){const{userConfig,isValidRubberBandConfig,rubberBandDecay,rigidDecay,validateConfig,callback,getReduceMotionForAnimation}=this.__closure;var _config$velocity;const config={deceleration:0.998,velocityFactor:1,velocity:0,rubberBandFactor:0.6};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}const decay=isValidRubberBandConfig(config)?function(animation,now){return rubberBandDecay(animation,now,config);}:function(animation,now){return rigidDecay(animation,now,config);};function onStart(animation,value,now){const initialVelocity=config.velocity;animation.current=value;animation.lastTimestamp=now;animation.startTimestamp=now;animation.initialVelocity=initialVelocity;animation.velocity=initialVelocity;validateConfig(config);if(animation.reduceMotion&&config.clamp){if(valueconfig.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:undefined,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}”},$c=function(){const e=function(e,t){return Po(0,function(){const n=function(){const n={deceleration:.998,velocityFactor:1,velocity:0,rubberBandFactor:.6};e&&Object.keys(e).forEach((t=>n[t]=e[t]));return{onFrame:zc(n)?(e,t)=>qc(e,t,n):(e,t)=>Kc(e,t,n),onStart:function(e,t,r){const i=n.velocity;e.current=t,e.lastTimestamp=r,e.startTimestamp=r,e.initialVelocity=i,e.velocity=i,Yc(n),e.reduceMotion&&n.clamp&&(tn.clamp[1]&&(e.current=n.clamp[1]))},callback:t,velocity:n.velocity??0,initialVelocity:0,current:void 0,lastTimestamp:0,startTimestamp:0,reduceMotion:Co(n.reduceMotion)}};return n.__closure={userConfig:e,isValidRubberBandConfig:zc,rubberBandDecay:qc,rigidDecay:Kc,validateConfig:Yc,callback:t,getReduceMotionForAnimation:Co},n.__workletHash=3756010046105,n.__initData=Jc,n}())};return e.__closure={defineAnimation:Po,isValidRubberBandConfig:zc,rubberBandDecay:qc,rigidDecay:Kc,validateConfig:Yc,getReduceMotionForAnimation:Co},e.__workletHash=0xff16493aa76,e.__initData=Zc,e}(),Qc={code:”function reactNativeReanimated_repeatJs1(_nextAnimation,numberOfReps=2,reverse=false,callback,reduceMotion){const{defineAnimation,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_nextAnimation,function(){‘worklet’;const nextAnimation=typeof _nextAnimation===’function’?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}"},eu={code:"function reactNativeReanimated_repeatJs2(){const{_nextAnimation,numberOfReps,reverse,callback,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};}"},tu=function(){const e=function(e,t=2,n=!1,r,i){return Po(e,function(){const o=function(){const o="function"===typeof e?e():e;return{isHigherOrder:!0,onFrame:function(e,r){const i=o.onFrame(o,r);if(e.current=o.current,i){if(e.reps+=1,o.callback&&o.callback(!0,e.current),e.reduceMotion||t>0&&e.reps>=t)return!0;const i=n?o.current:e.startValue;return n&&(o.toValue=e.startValue,e.startValue=i),o.onStart(o,i,r,o.previousAnimation),!1}return!1},onStart:function(e,r,i,a){e.startValue=r,e.reps=0,void 0===o.reduceMotion&&(o.reduceMotion=e.reduceMotion),e.reduceMotion&&n&&(t<=0||t%2===0)?(e.current=e.startValue,e.onFrame=()=>!0):o.onStart(o,r,i,a)},reps:0,current:o.current,callback:e=>{r&&r(e),!e&&o.callback&&o.callback(!1)},startValue:0,reduceMotion:Co(i)}};return o.__closure={_nextAnimation:e,numberOfReps:t,reverse:n,callback:r,getReduceMotionForAnimation:Co,reduceMotion:i},o.__workletHash=6384536396530,o.__initData=eu,o}())};return e.__closure={defineAnimation:Po,getReduceMotionForAnimation:Co},e.__workletHash=0xd688674bc6e,e.__initData=Qc,e}(),nu={code:”function checkIfConfigIsValid_reactNativeReanimated_springUtilsJs1(config){const{logger}=this.__closure;var _config$clamp,_config$clamp2;let errorMessage=”;[‘stiffness’,’damping’,’dampingRatio’,’restDisplacementThreshold’,’restSpeedThreshold’,’mass’].forEach(function(prop){const value=config[prop];if(value<=0){errorMessage+=\", \"+prop+\" must be grater than zero but got \"+value;}});if(config.duration<0){errorMessage+=\", duration can't be negative, got \"+config.duration;}if((_config$clamp=config.clamp)!==null&&_config$clamp!==void 0&&_config$clamp.min&&(_config$clamp2=config.clamp)!==null&&_config$clamp2!==void 0&&_config$clamp2.max&&config.clamp.min>config.clamp.max){errorMessage+=\”, clamp.min should be lower than clamp.max, got clamp: {min: \”+config.clamp.min+\”, max: \”+config.clamp.max+\”} \”;}if(errorMessage!==”){logger.warn(‘Invalid spring config’+errorMessage);}return errorMessage===”;}”},ru=function(){const e=function(e){let t=””;return[“stiffness”,”damping”,”dampingRatio”,”restDisplacementThreshold”,”restSpeedThreshold”,”mass”].forEach((n=>{const r=e[n];r<=0&&(t+=`, ${n} must be grater than zero but got ${r}`)})),e.duration<0&&(t+=`, duration can't be negative, got ${e.duration}`),e.clamp?.min&&e.clamp?.max&&e.clamp.min>e.clamp.max&&(t+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${e.clamp.min}, max: ${e.clamp.max}} `),””!==t&&L.warn(“Invalid spring config”+t),””===t};return e.__closure={logger:L},e.__workletHash=955947669822,e.__initData=nu,e}(),iu={code:”function bisectRoot_reactNativeReanimated_springUtilsJs2({min:min,max:max,func:func,maxIterations=20}){const ACCURACY=0.00005;let idx=maxIterations;let current=(max+min)/2;while(Math.abs(func(current))>ACCURACY&&idx>0){idx-=1;if(func(current)<0){min=current;}else{max=current;}current=(min+max)/2;}return current;}"},ou=function(){const e=function({min:e,max:t,func:n,maxIterations:r=20}){let i=r,o=(t+e)/2;for(;Math.abs(n(o))>5e-5&&i>0;)i-=1,n(o)<0?e=o:t=o,o=(e+t)/2;return o};return e.__closure={},e.__workletHash=0xe200e84ed39,e.__initData=iu,e}(),au={code:"function initialCalculations_reactNativeReanimated_springUtilsJs3(mass=0,config){if(config.skipAnimation){return{zeta:0,omega0:0,omega1:0};}if(config.useDuration){const{stiffness:k,dampingRatio:zeta}=config;const omega0=Math.sqrt(k/mass);const omega1=omega0*Math.sqrt(1-zeta**2);return{zeta:zeta,omega0:omega0,omega1:omega1};}else{const{damping:c,mass:m,stiffness:k}=config;const zeta=c/(2*Math.sqrt(k*m));const omega0=Math.sqrt(k/m);const omega1=omega0*Math.sqrt(1-zeta**2);return{zeta:zeta,omega0:omega0,omega1:omega1};}}"},su=function(){const e=function(e=0,t){if(t.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(t.useDuration){const{stiffness:n,dampingRatio:r}=t,i=Math.sqrt(n/e);return{zeta:r,omega0:i,omega1:i*Math.sqrt(1-r**2)}}{const{damping:e,mass:n,stiffness:r}=t,i=e/(2*Math.sqrt(r*n)),o=Math.sqrt(r/n);return{zeta:i,omega0:o,omega1:o*Math.sqrt(1-i**2)}}};return e.__closure={},e.__workletHash=0xc5a4afeee15,e.__initData=au,e}(),lu={code:"function scaleZetaToMatchClamps_reactNativeReanimated_springUtilsJs4(animation,clamp){const{zeta:zeta,toValue:toValue,startValue:startValue}=animation;const toValueNum=Number(toValue);if(toValueNum===startValue){return zeta;}const[firstBound,secondBound]=toValueNum-startValue>0?[clamp.min,clamp.max]:[clamp.max,clamp.min];const relativeExtremum1=secondBound!==undefined?Math.abs((secondBound-toValueNum)/(toValueNum-startValue)):undefined;const relativeExtremum2=firstBound!==undefined?Math.abs((firstBound-toValueNum)/(toValueNum-startValue)):undefined;const newZeta1=relativeExtremum1!==undefined?Math.abs(Math.log(relativeExtremum1)/Math.PI):undefined;const newZeta2=relativeExtremum2!==undefined?Math.abs(Math.log(relativeExtremum2)/(2*Math.PI)):undefined;const zetaSatisfyingClamp=[newZeta1,newZeta2].filter(function(x){return x!==undefined;});return Math.max(…zetaSatisfyingClamp,zeta);}”},cu=function(){const e=function(e,t){const{zeta:n,toValue:r,startValue:i}=e,o=Number(r);if(o===i)return n;const[a,s]=o-i>0?[t.min,t.max]:[t.max,t.min],l=void 0!==s?Math.abs((s-o)/(o-i)):void 0,c=void 0!==a?Math.abs((a-o)/(o-i)):void 0,u=[void 0!==l?Math.abs(Math.log(l)/Math.PI):void 0,void 0!==c?Math.abs(Math.log(c)/(2*Math.PI)):void 0].filter((e=>void 0!==e));return Math.max(…u,n)};return e.__closure={},e.__workletHash=0xd7e46a407c6,e.__initData=lu,e}(),uu={code:”function calculateNewMassToMatchDuration_reactNativeReanimated_springUtilsJs5(x0,config,v0){const{bisectRoot}=this.__closure;if(config.skipAnimation){return 0;}const{stiffness:k,dampingRatio:zeta,restSpeedThreshold:threshold,duration:duration}=config;const durationForMass=function(mass){‘worklet’;const amplitude=(mass*v0*v0+k*x0*x0)/(Math.exp(1-0.5*zeta)*k);const c=zeta*2*Math.sqrt(k*mass);return 1000*(-2*mass/c)*Math.log(threshold*0.01/amplitude)-duration;};return bisectRoot({min:0,max:100,func:durationForMass});}”},du={code:”function reactNativeReanimated_springUtilsJs6(mass){const{v0,k,x0,zeta,threshold,duration}=this.__closure;const amplitude=(mass*v0*v0+k*x0*x0)/(Math.exp(1-0.5*zeta)*k);const c=zeta*2*Math.sqrt(k*mass);return 1000*(-2*mass/c)*Math.log(threshold*0.01/amplitude)-duration;}”},pu=function(){const e=function(e,t,n){if(t.skipAnimation)return 0;const{stiffness:r,dampingRatio:i,restSpeedThreshold:o,duration:a}=t,s=function(){const t=function(t){const s=(t*n*n+r*e*e)/(Math.exp(1-.5*i)*r);return-2*t/(2*i*Math.sqrt(r*t))*1e3*Math.log(.01*o/s)-a};return t.__closure={v0:n,k:r,x0:e,zeta:i,threshold:o,duration:a},t.__workletHash=0xbb152ee9ead,t.__initData=du,t}();return ou({min:0,max:100,func:s})};return e.__closure={bisectRoot:ou},e.__workletHash=0xd71885c08c2,e.__initData=uu,e}(),fu={code:”function criticallyDampedSpringCalculations_reactNativeReanimated_springUtilsJs7(animation,precalculatedValues){const{toValue:toValue}=animation;const{v0:v0,x0:x0,omega0:omega0,t:t}=precalculatedValues;const criticallyDampedEnvelope=Math.exp(-omega0*t);const criticallyDampedPosition=toValue-criticallyDampedEnvelope*(x0+(v0+omega0*x0)*t);const criticallyDampedVelocity=criticallyDampedEnvelope*(v0*(t*omega0-1)+t*x0*omega0*omega0);return{position:criticallyDampedPosition,velocity:criticallyDampedVelocity};}”},hu=function(){const e=function(e,t){const{toValue:n}=e,{v0:r,x0:i,omega0:o,t:a}=t,s=Math.exp(-o*a);return{position:n-s*(i+(r+o*i)*a),velocity:s*(r*(a*o-1)+a*i*o*o)}};return e.__closure={},e.__workletHash=349985694663,e.__initData=fu,e}(),mu={code:”function underDampedSpringCalculations_reactNativeReanimated_springUtilsJs8(animation,precalculatedValues){const{toValue:toValue,current:current,velocity:velocity}=animation;const{zeta:zeta,t:t,omega0:omega0,omega1:omega1}=precalculatedValues;const v0=-velocity;const x0=toValue-current;const sin1=Math.sin(omega1*t);const cos1=Math.cos(omega1*t);const underDampedEnvelope=Math.exp(-zeta*omega0*t);const underDampedFrag1=underDampedEnvelope*(sin1*((v0+zeta*omega0*x0)/omega1)+x0*cos1);const underDampedPosition=toValue-underDampedFrag1;const underDampedVelocity=zeta*omega0*underDampedFrag1-underDampedEnvelope*(cos1*(v0+zeta*omega0*x0)-omega1*x0*sin1);return{position:underDampedPosition,velocity:underDampedVelocity};}”},gu=function(){const e=function(e,t){const{toValue:n,current:r,velocity:i}=e,{zeta:o,t:a,omega0:s,omega1:l}=t,c=-i,u=n-r,d=Math.sin(l*a),p=Math.cos(l*a),f=Math.exp(-o*s*a),h=f*(d*((c+o*s*u)/l)+u*p);return{position:n-h,velocity:o*s*h-f*(p*(c+o*s*u)-l*u*d)}};return e.__closure={},e.__workletHash=2991431177292,e.__initData=mu,e}(),yu={code:”function isAnimationTerminatingCalculation_reactNativeReanimated_springUtilsJs9(animation,config){const{toValue:toValue,velocity:velocity,startValue:startValue,current:current}=animation;const isOvershooting=config.overshootClamping?current>toValue&&startValuetoValue:false;const isVelocity=Math.abs(velocity)n&&in),isVelocity:Math.abs(r)=config.duration){animation.current=toValue;animation.lastTimestamp=0;return true;}if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=-velocity;const x0=toValue-current;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;const{isOvershooting:isOvershooting,isVelocity:isVelocity,isDisplacement:isDisplacement}=isAnimationTerminatingCalculation(animation,config);const springIsNotInMove=isOvershooting||isVelocity&&isDisplacement;if(!config.useDuration&&springIsNotInMove){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.startValue=value;let mass=config.mass;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:Number(animation.toValue)-value;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;mass=calculateNewMassToMatchDuration(x0,config,animation.velocity);}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(mass,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};});}"},wu={code:"function reactNativeReanimated_springJs2(){const{userConfig,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewMassToMatchDuration,initialCalculations,scaleZetaToMatchClamps,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig,_userConfig2;const defaultConfig={damping:10,mass:1,stiffness:100,overshootClamping:false,restDisplacementThreshold:0.01,restSpeedThreshold:2,velocity:0,duration:2000,dampingRatio:0.5,reduceMotion:undefined,clamp:undefined};const config={...defaultConfig,...userConfig,useDuration:!!((_userConfig=userConfig)!==null&&_userConfig!==void 0&&_userConfig.duration||(_userConfig2=userConfig)!==null&&_userConfig2!==void 0&&_userConfig2.dampingRatio),skipAnimation:false};config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,startTimestamp:startTimestamp,current:current}=animation;const timeFromStart=now-startTimestamp;if(config.useDuration&&timeFromStart>=config.duration){animation.current=toValue;animation.lastTimestamp=0;return true;}if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=-velocity;const x0=toValue-current;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;const{isOvershooting:isOvershooting,isVelocity:isVelocity,isDisplacement:isDisplacement}=isAnimationTerminatingCalculation(animation,config);const springIsNotInMove=isOvershooting||isVelocity&&isDisplacement;if(!config.useDuration&&springIsNotInMove){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.startValue=value;let mass=config.mass;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:Number(animation.toValue)-value;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;mass=calculateNewMassToMatchDuration(x0,config,animation.velocity);}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(mass,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}"},ku=function(){const e=function(e,t,n){return Po(e,function(){const r=function(){const r={damping:10,mass:1,stiffness:100,overshootClamping:!1,restDisplacementThreshold:.01,restSpeedThreshold:2,velocity:0,duration:2e3,dampingRatio:.5,reduceMotion:void 0,clamp:void 0},i=Object.assign({},r,t,{useDuration:!(!t?.duration&&!t?.dampingRatio),skipAnimation:!1});return i.skipAnimation=!ru(i),0===i.duration&&(i.skipAnimation=!0),{onFrame:function(e,t){const{toValue:n,startTimestamp:r,current:o}=e,a=t-r;if(i.useDuration&&a>=i.duration)return e.current=n,e.lastTimestamp=0,!0;if(i.skipAnimation)return e.current=n,e.lastTimestamp=0,!0;const{lastTimestamp:s,velocity:l}=e,c=Math.min(t-s,64);e.lastTimestamp=t;const u=c/1e3,d=-l,p=n-o,{zeta:f,omega0:h,omega1:m}=e,{position:g,velocity:y}=f<1?gu(e,{zeta:f,v0:d,x0:p,omega0:h,omega1:m,t:u}):hu(e,{v0:d,x0:p,omega0:h,t:u});e.current=g,e.velocity=y;const{isOvershooting:v,isVelocity:b,isDisplacement:w}=vu(e,i),k=v||b&&w;return!(i.useDuration||!k)&&(e.velocity=0,e.current=n,e.lastTimestamp=0,!0)},onStart:function(e,t,n,r){e.current=t,e.startValue=t;let o=i.mass;const a=function(e,t){return e?.lastTimestamp&&e?.startTimestamp&&e?.toValue===t.toValue&&e?.duration===t.duration&&e?.dampingRatio===t.dampingRatio}(r,e),s=i.duration,l=a?r?.startValue:Number(e.toValue)-t;if(e.velocity=r?(a?r?.velocity:r?.velocity+i.velocity)||0:i.velocity||0,a)e.zeta=r?.zeta||0,e.omega0=r?.omega0||0,e.omega1=r?.omega1||0;else{if(i.useDuration){const t=a?s-((r?.lastTimestamp||0)-(r?.startTimestamp||0)):s;i.duration=t,o=pu(l,i,e.velocity)}const{zeta:t,omega0:n,omega1:c}=su(o,i);e.zeta=t,e.omega0=n,e.omega1=c,void 0!==i.clamp&&(e.zeta=cu(e,i.clamp))}e.lastTimestamp=r?.lastTimestamp||n,e.startTimestamp=a&&r?.startTimestamp||n},toValue:e,velocity:i.velocity||0,current:e,startValue:0,callback:n,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:Co(i.reduceMotion)}};return r.__closure={userConfig:t,checkIfConfigIsValid:ru,underDampedSpringCalculations:gu,criticallyDampedSpringCalculations:hu,isAnimationTerminatingCalculation:vu,calculateNewMassToMatchDuration:pu,initialCalculations:su,scaleZetaToMatchClamps:cu,toValue:e,callback:n,getReduceMotionForAnimation:Co},r.__workletHash=7127868893693,r.__initData=wu,r}())};return e.__closure={defineAnimation:Po,checkIfConfigIsValid:ru,underDampedSpringCalculations:gu,criticallyDampedSpringCalculations:hu,isAnimationTerminatingCalculation:vu,calculateNewMassToMatchDuration:pu,initialCalculations:su,scaleZetaToMatchClamps:cu,getReduceMotionForAnimation:Co},e.__workletHash=0xa481f675502,e.__initData=bu,e}();var _u=r(59550),Eu=r(8299);const Su={code:"function reactNativeReanimated_processBoxShadowJs1(value){return value.endsWith('px')||!isNaN(Number(value));}"},Cu=function(){const e=function(e){return e.endsWith("px")||!isNaN(Number(e))};return e.__closure={},e.__workletHash=9427335220479,e.__initData=Su,e}(),xu={code:"function parseBoxShadowString_reactNativeReanimated_processBoxShadowJs2(rawBoxShadows){const{isLength}=this.__closure;const result=[];for(const rawBoxShadow of rawBoxShadows.split(/,(?![^()]*\\))/).map(function(bS){return bS.trim();}).filter(function(bS){return bS!=='';})){const boxShadow={offsetX:0,offsetY:0};let offsetX=null;let offsetY=null;let keywordDetectedAfterLength=false;let lengthCount=0;const args=rawBoxShadow.split(/\\s+(?![^(]*\\))/);for(const arg of args){if(isLength(arg)){switch(lengthCount){case 0:offsetX=arg;lengthCount++;break;case 1:if(keywordDetectedAfterLength){return[];}offsetY=arg;lengthCount++;break;case 2:if(keywordDetectedAfterLength){return[];}boxShadow.blurRadius=arg;lengthCount++;break;case 3:if(keywordDetectedAfterLength){return[];}boxShadow.spreadDistance=arg;lengthCount++;break;default:return[];}}else if(arg==='inset'){if(boxShadow.inset){return[];}if(offsetX!==null){keywordDetectedAfterLength=true;}boxShadow.inset=true;continue;}else{if(boxShadow.color){return[];}if(offsetX!=null){keywordDetectedAfterLength=true;}boxShadow.color=arg;continue;}}if(offsetX===null||offsetY===null){return[];}boxShadow.offsetX=offsetX;boxShadow.offsetY=offsetY;result.push(boxShadow);}return result;}"},Au=function(){const e=function(e){const t=[];for(const n of e.split(/,(?![^()]*\))/).map((e=>e.trim())).filter((e=>””!==e))){const e={offsetX:0,offsetY:0};let r=null,i=null,o=!1,a=0;const s=n.split(/\s+(?![^(]*\))/);for(const t of s)if(Cu(t))switch(a){case 0:r=t,a++;break;case 1:if(o)return[];i=t,a++;break;case 2:if(o)return[];e.blurRadius=t,a++;break;case 3:if(o)return[];e.spreadDistance=t,a++;break;default:return[]}else{if(“inset”===t){if(e.inset)return[];null!==r&&(o=!0),e.inset=!0;continue}if(e.color)return[];null!=r&&(o=!0),e.color=t}if(null===r||null===i)return[];e.offsetX=r,e.offsetY=i,t.push(e)}return t};return e.__closure={isLength:Cu},e.__workletHash=7851366028467,e.__initData=xu,e}(),Ru={code:”function parseLength_reactNativeReanimated_processBoxShadowJs3(length){const{isLength}=this.__closure;const argsWithUnitsRegex=/([+-]?\\d*(\\.\\d+)?)([\\w\\W]+)?/g;const match=argsWithUnitsRegex.exec(length);if(!match||!isLength(length)){return null;}return Number(match[1]);}”},Tu=function(){const e=function(e){const t=/([+-]?\d*(\.\d+)?)([\w\W]+)?/g.exec(e);return t&&Cu(e)?Number(t[1]):null};return e.__closure={isLength:Cu},e.__workletHash=4929021388630,e.__initData=Ru,e}(),Du={code:”function processBoxShadow_reactNativeReanimated_processBoxShadowJs4(props){const{parseBoxShadowString,parseLength}=this.__closure;const result=[];const rawBoxShadows=props.boxShadow;if(rawBoxShadows===null){return result;}let boxShadowList;if(typeof rawBoxShadows===’string’){boxShadowList=parseBoxShadowString(rawBoxShadows.replace(/\\n/g,’ ‘));}else if(Array.isArray(rawBoxShadows)){boxShadowList=rawBoxShadows;}else{throw new ReanimatedError(\”Box shadow value must be an array of shadow objects or a string. Received: \”+JSON.stringify(rawBoxShadows));}for(const rawBoxShadow of boxShadowList){const parsedBoxShadow={offsetX:0,offsetY:0};let value;for(const arg in rawBoxShadow){switch(arg){case’offsetX’:value=typeof rawBoxShadow.offsetX===’string’?parseLength(rawBoxShadow.offsetX):rawBoxShadow.offsetX;if(value===null){return[];}parsedBoxShadow.offsetX=value;break;case’offsetY’:value=typeof rawBoxShadow.offsetY===’string’?parseLength(rawBoxShadow.offsetY):rawBoxShadow.offsetY;if(value===null){return[];}parsedBoxShadow.offsetY=value;break;case’spreadDistance’:value=typeof rawBoxShadow.spreadDistance===’string’?parseLength(rawBoxShadow.spreadDistance):rawBoxShadow.spreadDistance;if(value===null){return[];}parsedBoxShadow.spreadDistance=value;break;case’blurRadius’:value=typeof rawBoxShadow.blurRadius===’string’?parseLength(rawBoxShadow.blurRadius):rawBoxShadow.blurRadius;if(value===null||value<0){return[];}parsedBoxShadow.blurRadius=value;break;case'color':parsedBoxShadow.color=rawBoxShadow.color;break;case'inset':parsedBoxShadow.inset=rawBoxShadow.inset;}}result.push(parsedBoxShadow);}props.boxShadow=result;}"},Iu=function(){const e=function(e){const t=[],n=e.boxShadow;if(null===n)return t;let r;if("string"===typeof n)r=Au(n.replace(/\n/g," "));else{if(!Array.isArray(n))throw new c(`Box shadow value must be an array of shadow objects or a string. Received: ${JSON.stringify(n)}`);r=n}for(const i of r){const e={offsetX:0,offsetY:0};let n;for(const t in i)switch(t){case"offsetX":if(n="string"===typeof i.offsetX?Tu(i.offsetX):i.offsetX,null===n)return[];e.offsetX=n;break;case"offsetY":if(n="string"===typeof i.offsetY?Tu(i.offsetY):i.offsetY,null===n)return[];e.offsetY=n;break;case"spreadDistance":if(n="string"===typeof i.spreadDistance?Tu(i.spreadDistance):i.spreadDistance,null===n)return[];e.spreadDistance=n;break;case"blurRadius":if(n="string"===typeof i.blurRadius?Tu(i.blurRadius):i.blurRadius,null===n||n<0)return[];e.blurRadius=n;break;case"color":e.color=i.color;break;case"inset":e.inset=i.inset}t.push(e)}e.boxShadow=t};return e.__closure={parseBoxShadowString:Au,parseLength:Tu},e.__workletHash=3626154316227,e.__initData=Du,e}();function Ou(e){return Object.values(e).reduce(((e,t)=>e+t.__workletHash.toString()),””)}const ju={code:”function isAnimated_reactNativeReanimated_utilsJs1(prop){const isAnimated_reactNativeReanimated_utilsJs1=this._recur;if(Array.isArray(prop)){return prop.some(isAnimated_reactNativeReanimated_utilsJs1);}else if(typeof prop===’object’&&prop!==null){if(prop.onFrame!==undefined){return true;}else{return Object.values(prop).some(isAnimated_reactNativeReanimated_utilsJs1);}}return false;}”},Pu=function(){const e=function(t){return Array.isArray(t)?t.some(e):”object”===typeof t&&null!==t&&(void 0!==t.onFrame||Object.values(t).some(e))};return e.__closure={},e.__workletHash=0xfed152b37a0,e.__initData=ju,e}(),Mu={code:”function shallowEqual_reactNativeReanimated_utilsJs2(a,b){const aKeys=Object.keys(a);const bKeys=Object.keys(b);if(aKeys.length!==bKeys.length){return false;}for(let i=0;i{e(t,n,r&&r[o],i&&i[o])})),”object”===typeof n&&n.onFrame){const e=n;let o=e.current;void 0!==i&&null!==i&&(“object”===typeof i?void 0!==i.value?o=i.value:void 0!==i.onFrame&&(void 0!==r?.current?o=r.current:void 0!==i?.current&&(o=i.current)):o=i),e.callStart=t=>{e.onStart(e,o,t,r)},e.callStart(t),e.callStart=null}else”object”===typeof n&&Object.keys(n).forEach((o=>e(t,n[o],r&&r[o],i&&i[o])))};return e.__closure={},e.__workletHash=0xe1c3f4235d0,e.__initData=Vu,e}(),Hu={code:”function runAnimations_reactNativeReanimated_useAnimatedStyleJs2(animation,timestamp,key,result,animationsActive,forceCopyAnimation){const runAnimations_reactNativeReanimated_useAnimatedStyleJs2=this._recur;if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;forceCopyAnimation=key===’boxShadow’;animation.forEach(function(entry,index){if(!runAnimations_reactNativeReanimated_useAnimatedStyleJs2(entry,timestamp,index,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else if(typeof animation===’object’&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){animation.finished=true;animation.callback&&animation.callback(true);}}if(forceCopyAnimation){result[key]={…animation.current};}else{result[key]=animation.current;}return finished;}else if(typeof animation===’object’){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations_reactNativeReanimated_useAnimatedStyleJs2(animation[k],timestamp,k,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}”},Uu=function(){const e=function(t,n,r,i,o,a){if(!o.value)return!0;if(Array.isArray(t)){i[r]=[];let s=!0;return a=”boxShadow”===r,t.forEach(((t,l)=>{e(t,n,l,i[r],o,a)||(s=!1)})),s}if(“object”===typeof t&&t.onFrame){let e=!0;return t.finished||(t.callStart&&(t.callStart(n),t.callStart=null),e=t.onFrame(t,n),t.timestamp=n,e&&(t.finished=!0,t.callback&&t.callback(!0))),i[r]=a?Object.assign({},t.current):t.current,e}if(“object”===typeof t){i[r]={};let s=!0;return Object.keys(t).forEach((l=>{e(t[l],n,l,i[r],o,a)||(s=!1)})),s}return i[r]=t,!0};return e.__closure={},e.__workletHash=7950007328399,e.__initData=Hu,e}(),zu={code:”function styleUpdater_reactNativeReanimated_useAnimatedStyleJs3(viewDescriptors,updater,state,animationsActive,isAnimatedProps=false){const{SHOULD_BE_USE_WEB,processBoxShadow,isAnimated,prepareAnimation,runAnimations,updateProps,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;const nonAnimatedNewValues={};let hasAnimations=false;let frameTimestamp;let hasNonAnimatedValues=false;if(!SHOULD_BE_USE_WEB&&newValues.boxShadow){processBoxShadow(newValues);}for(const key in newValues){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{hasNonAnimatedValues=true;nonAnimatedNewValues[key]=value;delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){if(Array.isArray(updates[propName])){updates[propName].forEach(function(obj){for(const prop in obj){last[propName][prop]=obj[prop];}});}else{last[propName]=updates[propName];}delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}if(hasNonAnimatedValues){updateProps(viewDescriptors,nonAnimatedNewValues);}}else{state.isAnimationCancelled=true;state.animations=[];if(!shallowEqual(oldValues,newValues)){updateProps(viewDescriptors,newValues,isAnimatedProps);}}state.last=newValues;}”},Wu=function(){const e=function(e,t,n,i,o=!1){const a=n.animations??{},s=t()??{},l=n.last,c={};let u,d=!1,p=!1;!Fu&&s.boxShadow&&Iu(s);for(const f in s){const e=s[f];Pu(e)?(u=r.g.__frameTimestamp||r.g._getAnimationTimestamp(),Bu(u,e,a[f],l[f]),a[f]=e,d=!0):(p=!0,c[f]=e,delete a[f])}if(d){const t=r=>{const{animations:o,last:a,isAnimationCancelled:s}=n;if(s)return void(n.isAnimationRunning=!1);const l={};let c=!0;for(const e in o){Uu(o[e],r,e,l,i)?(Array.isArray(l[e])?l[e].forEach((t=>{for(const n in t)a[e][n]=t[n]})):a[e]=l[e],delete o[e]):c=!1}l&&Vl(e,l),c?n.isAnimationRunning=!1:requestAnimationFrame(t)};n.animations=a,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,t(u)),p&&Vl(e,c)}else n.isAnimationCancelled=!0,n.animations=[],Nu(l,s)||Vl(e,s,o);n.last=s};return e.__closure={SHOULD_BE_USE_WEB:Fu,processBoxShadow:Iu,isAnimated:Pu,prepareAnimation:Bu,runAnimations:Uu,updateProps:Vl,shallowEqual:Nu},e.__workletHash=9037738663389,e.__initData=zu,e}(),Ku={code:”function jestStyleUpdater_reactNativeReanimated_useAnimatedStyleJs4(viewDescriptors,updater,state,animationsActive,animatedValues,adapters){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;let frameTimestamp;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,animatedValues,adapters);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}}else{state.isAnimationCancelled=true;state.animations=[];}state.last=newValues;if(!shallowEqual(oldValues,newValues)){updatePropsJestWrapper(viewDescriptors,newValues,animatedValues,adapters);}}”},Xu=function(){const e=function(e,t,n,i,o,a){const s=n.animations??{},l=t()??{},c=n.last;let u,d=!1;Object.keys(s).forEach((e=>{const t=l[e];Pu(t)||delete s[e]})),Object.keys(l).forEach((e=>{const t=l[e];Pu(t)&&(u=r.g.__frameTimestamp||r.g._getAnimationTimestamp(),Bu(u,t,s[e],c[e]),s[e]=t,d=!0)})),d?(n.animations=s,n.isAnimationRunning||(n.isAnimationCancelled=!1,n.isAnimationRunning=!0,function t(r){const{animations:s,last:l,isAnimationCancelled:c}=n;if(c)return void(n.isAnimationRunning=!1);const u={};let d=!0;Object.keys(s).forEach((e=>{Uu(s[e],r,e,u,i)?(l[e]=u[e],delete s[e]):d=!1})),Object.keys(u).length&&Fl(e,u,o,a),d?n.isAnimationRunning=!1:requestAnimationFrame(t)}(u))):(n.isAnimationCancelled=!0,n.animations=[]),n.last=l,Nu(c,l)||Fl(e,l,o,a)};return e.__closure={isAnimated:Pu,prepareAnimation:Bu,runAnimations:Uu,updatePropsJestWrapper:Fl,shallowEqual:Nu},e.__workletHash=0x9e3568458b0,e.__initData=Ku,e}();function qu(e,t){if(Array.isArray(e))for(const n of e)qu(n,t);else if(“object”===typeof e&&null!==e&&void 0===e.value)for(const n of Object.keys(e))qu(e[n],n);else if(void 0!==t&&”object”===typeof e&&null!==e&&void 0!==e.value)throw new c(`Invalid value passed to \`${t}\`, maybe you forgot to use \`.value\`?`)}const Gu={code:”function reactNativeReanimated_useAnimatedStyleJs5(){const{updater,adaptersArray}=this.__closure;const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}”},Yu={code:”function reactNativeReanimated_useAnimatedStyleJs6(){const{jestStyleUpdater,shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray}=this.__closure;jestStyleUpdater(shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray);}”},Zu={code:”function reactNativeReanimated_useAnimatedStyleJs7(){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps);}”};function Ju(e,t,n,r=!1){const i=(0,a.useRef)(null);let o=Object.values(e.__closure??{});Fu&&!o.length&&t?.length&&(o=t);const s=n?Array.isArray(n)?n:[n]:[],l=n?Ou(s):null,c=Sc(!0),u=(0,a.useRef)({});if(t?t.push(e.__workletHash):t=[…o,e.__workletHash],l&&t.push(l),!i.current){const t=vo(e);0,i.current={initial:{value:t,updater:e},remoteState:De({last:t,animations:{},isAnimationCancelled:!1,isAnimationRunning:!1}),viewDescriptors:Xl()}}const{initial:d,remoteState:p,viewDescriptors:f}=i.current,h=f.shareableViewDescriptors;t.push(h),(0,a.useEffect)((()=>{let t,i=e;n&&(i=function(){const t=function(){const t=e();return s.forEach((e=>{e(t)})),t};return t.__closure={updater:e,adaptersArray:s},t.__workletHash=0xe8baca04aca,t.__initData=Gu,t}()),t=V()?function(){const t=function(){Xu(h,e,p,c,u,s)};return t.__closure={jestStyleUpdater:Xu,shareableViewDescriptors:h,updater:e,remoteState:p,areAnimationsActive:c,jestAnimatedValues:u,adaptersArray:s},t.__workletHash=0xfa5dee46b5b,t.__initData=Yu,t}():function(){const e=function(){Wu(h,i,p,c,r)};return e.__closure={styleUpdater:Wu,shareableViewDescriptors:h,updaterFn:i,remoteState:p,areAnimationsActive:c,isAnimatedProps:r},e.__workletHash=5297059117402,e.__initData=Zu,e}();const a=Pt(t,o);return()=>{Nt(a)}}),t),(0,a.useEffect)((()=>(c.value=!0,()=>{c.value=!1})),[c]),qu(d.value);const m=(0,a.useRef)(null);return m.current||(m.current=V()?{viewDescriptors:f,initial:d,jestAnimatedValues:u}:{viewDescriptors:f,initial:d}),m.current}const $u=Ju,Qu=H()?function(e,t,n){return Ju(e,t,n,!0)}:$u,ed={code:”function reactNativeReanimated_FrameCallbackRegistryUIJs1(){const frameCallbackRegistry={frameCallbackRegistry:new Map(),activeFrameCallbacks:new Set(),previousFrameTimestamp:null,nextCallId:0,runCallbacks:function(callId){var _this=this;const loop=function(timestamp){if(callId!==_this.nextCallId){return;}if(_this.previousFrameTimestamp===null){_this.previousFrameTimestamp=timestamp;}const delta=timestamp-_this.previousFrameTimestamp;_this.activeFrameCallbacks.forEach(function(callbackId){const callbackDetails=_this.frameCallbackRegistry.get(callbackId);const{startTime:startTime}=callbackDetails;if(startTime===null){callbackDetails.startTime=timestamp;callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:null,timeSinceFirstFrame:0});}else{callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:delta,timeSinceFirstFrame:timestamp-startTime});}});if(_this.activeFrameCallbacks.size>0){_this.previousFrameTimestamp=timestamp;requestAnimationFrame(loop);}else{_this.previousFrameTimestamp=null;}};if(this.activeFrameCallbacks.size===1&&callId===this.nextCallId){requestAnimationFrame(loop);}},registerFrameCallback:function(callback,callbackId){this.frameCallbackRegistry.set(callbackId,{callback:callback,startTime:null});},unregisterFrameCallback:function(callbackId){this.manageStateFrameCallback(callbackId,false);this.frameCallbackRegistry.delete(callbackId);},manageStateFrameCallback:function(callbackId,state){if(callbackId===-1){return;}if(state){this.activeFrameCallbacks.add(callbackId);this.runCallbacks(this.nextCallId);}else{const callback=this.frameCallbackRegistry.get(callbackId);callback.startTime=null;this.activeFrameCallbacks.delete(callbackId);if(this.activeFrameCallbacks.size===0){this.nextCallId+=1;}}}};global._frameCallbackRegistry=frameCallbackRegistry;}”},td=Xe(function(){const e=function(){const e={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,nextCallId:0,runCallbacks(e){const t=n=>{if(e!==this.nextCallId)return;null===this.previousFrameTimestamp&&(this.previousFrameTimestamp=n);const r=n-this.previousFrameTimestamp;this.activeFrameCallbacks.forEach((e=>{const t=this.frameCallbackRegistry.get(e),{startTime:i}=t;null===i?(t.startTime=n,t.callback({timestamp:n,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):t.callback({timestamp:n,timeSincePreviousFrame:r,timeSinceFirstFrame:n-i})})),this.activeFrameCallbacks.size>0?(this.previousFrameTimestamp=n,requestAnimationFrame(t)):this.previousFrameTimestamp=null};1===this.activeFrameCallbacks.size&&e===this.nextCallId&&requestAnimationFrame(t)},registerFrameCallback(e,t){this.frameCallbackRegistry.set(t,{callback:e,startTime:null})},unregisterFrameCallback(e){this.manageStateFrameCallback(e,!1),this.frameCallbackRegistry.delete(e)},manageStateFrameCallback(e,t){if(-1!==e)if(t)this.activeFrameCallbacks.add(e),this.runCallbacks(this.nextCallId);else{this.frameCallbackRegistry.get(e).startTime=null,this.activeFrameCallbacks.delete(e),0===this.activeFrameCallbacks.size&&(this.nextCallId+=1)}}};r.g._frameCallbackRegistry=e};return e.__closure={},e.__workletHash=0xa09b9e52d16,e.__initData=ed,e}()),nd={code:”function reactNativeReanimated_FrameCallbackRegistryJSJs1(){const{callback,callbackId}=this.__closure;global._frameCallbackRegistry.registerFrameCallback(callback,callbackId);}”},rd={code:”function reactNativeReanimated_FrameCallbackRegistryJSJs2(){const{callbackId}=this.__closure;global._frameCallbackRegistry.unregisterFrameCallback(callbackId);}”},id={code:”function reactNativeReanimated_FrameCallbackRegistryJSJs3(){const{callbackId,state}=this.__closure;global._frameCallbackRegistry.manageStateFrameCallback(callbackId,state);}”};const od=new class{nextCallbackId=0;constructor(){td()}registerFrameCallback(e){if(!e)return-1;const t=this.nextCallbackId;return this.nextCallbackId++,He(function(){const n=function(){r.g._frameCallbackRegistry.registerFrameCallback(e,t)};return n.__closure={callback:e,callbackId:t},n.__workletHash=0xc0a3b1e650b,n.__initData=nd,n}())(),t}unregisterFrameCallback(e){He(function(){const t=function(){r.g._frameCallbackRegistry.unregisterFrameCallback(e)};return t.__closure={callbackId:e},t.__workletHash=8067581193523,t.__initData=rd,t}())()}manageStateFrameCallback(e,t){He(function(){const n=function(){r.g._frameCallbackRegistry.manageStateFrameCallback(e,t)};return n.__closure={callbackId:e,state:t},n.__workletHash=4255326950806,n.__initData=id,n}())()}};function ad(e,t=!0){const n=(0,a.useRef)({setActive:e=>{od.manageStateFrameCallback(n.current.callbackId,e),n.current.isActive=e},isActive:t,callbackId:-1});return(0,a.useEffect)((()=>{n.current.callbackId=od.registerFrameCallback(e);const t=n.current;return n.current.setActive(n.current.isActive),()=>{od.unregisterFrameCallback(t.callbackId),t.callbackId=-1}}),[e,t]),n.current}const sd={code:”function createCircularDoublesBuffer_reactNativeReanimated_PerformanceMonitorJs1(size){return{next:0,buffer:new Float32Array(size),size:size,count:0,push:function(value){const oldValue=this.buffer[this.next];const oldCount=this.count;this.buffer[this.next]=value;this.next=(this.next+1)%this.size;this.count=Math.min(this.size,this.count+1);return oldCount===this.size?oldValue:null;},front:function(){const notEmpty=this.count>0;if(notEmpty){const current=this.next-1;const index=current<0?this.size-1:current;return this.buffer[index];}return null;},back:function(){const notEmpty=this.count>0;return notEmpty?this.buffer[this.next]:null;}};}”},ld=function(){const e=function(e){return{next:0,buffer:new Float32Array(e),size:e,count:0,push(e){const t=this.buffer[this.next],n=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),n===this.size?t:null},front(){if(this.count>0){const e=this.next-1,t=e<0?this.size-1:e;return this.buffer[t]}return null},back(){return this.count>0?this.buffer[this.next]:null}}};return e.__closure={},e.__workletHash=0xf9977dc7876,e.__initData=sd,e}(),cd=20;ma({text:!0});const ud=gc(Eu.default);const dd={code:”function getFps_reactNativeReanimated_PerformanceMonitorJs2(renderTimeInMs){return 1000/renderTimeInMs;}”},pd=function(){const e=function(e){return 1e3/e};return e.__closure={},e.__workletHash=0x934d06b3f99,e.__initData=dd,e}(),fd={code:”function completeBufferRoutine_reactNativeReanimated_PerformanceMonitorJs3(buffer,timestamp){const{getFps}=this.__closure;var _buffer$push;timestamp=Math.round(timestamp);const droppedTimestamp=(_buffer$push=buffer.push(timestamp))!==null&&_buffer$push!==void 0?_buffer$push:timestamp;const measuredRangeDuration=timestamp-droppedTimestamp;return getFps(measuredRangeDuration/buffer.count);}”},hd=function(){const e=function(e,t){t=Math.round(t);const n=e.push(t)??t;return pd((t-n)/e.count)};return e.__closure={getFps:pd},e.__workletHash=0xfd31cbf315e,e.__initData=fd,e}(),md={code:”function reactNativeReanimated_PerformanceMonitorJs4(){const{jsFps}=this.__closure;var _jsFps$value;const text=’JS: ‘+((_jsFps$value=jsFps.value)!==null&&_jsFps$value!==void 0?_jsFps$value:’N/A’)+’ ‘;return{text:text,defaultValue:text};}”};function gd({smoothingFrames:e}){const t=Sc(null),n=Sc(0),r=(0,a.useRef)(ld(e));(0,a.useEffect)((()=>{!function(e){let t=0;!function n(){requestAnimationFrame((r=>{t>0&&e(t,r),t=r,requestAnimationFrame(n)}))}()}(((e,n)=>{n=Math.round(n);const i=hd(r.current,n);t.value=(2*i).toFixed(0)}))}),[t,n]);const i=Qu(function(){const e=function(){const e=”JS: “+(t.value??”N/A”)+” “;return{text:e,defaultValue:e}};return e.__closure={jsFps:t},e.__workletHash=7926048032311,e.__initData=md,e}());return(0,sa.jsx)(yc.default,{style:kd.container,children:(0,sa.jsx)(ud,{style:kd.text,animatedProps:i,editable:!1})})}const yd={code:”function reactNativeReanimated_PerformanceMonitorJs5({timestamp:timestamp}){const{circularBuffer,createCircularDoublesBuffer,smoothingFrames,completeBufferRoutine,uiFps}=this.__closure;if(circularBuffer.value===null){circularBuffer.value=createCircularDoublesBuffer(smoothingFrames);}timestamp=Math.round(timestamp);const currentFps=completeBufferRoutine(circularBuffer.value,timestamp);uiFps.value=currentFps.toFixed(0);}”},vd={code:”function reactNativeReanimated_PerformanceMonitorJs6(){const{uiFps}=this.__closure;var _uiFps$value;const text=’UI: ‘+((_uiFps$value=uiFps.value)!==null&&_uiFps$value!==void 0?_uiFps$value:’N/A’)+’ ‘;return{text:text,defaultValue:text};}”};function bd({smoothingFrames:e}){const t=Sc(null),n=Sc(null);ad(function(){const r=function({timestamp:r}){null===n.value&&(n.value=ld(e)),r=Math.round(r);const i=hd(n.value,r);t.value=i.toFixed(0)};return r.__closure={circularBuffer:n,createCircularDoublesBuffer:ld,smoothingFrames:e,completeBufferRoutine:hd,uiFps:t},r.__workletHash=3606514044171,r.__initData=yd,r}());const r=Qu(function(){const e=function(){const e=”UI: “+(t.value??”N/A”)+” “;return{text:e,defaultValue:e}};return e.__closure={uiFps:t},e.__workletHash=9265903866512,e.__initData=vd,e}());return(0,sa.jsx)(yc.default,{style:kd.container,children:(0,sa.jsx)(ud,{style:kd.text,animatedProps:r,editable:!1})})}function wd({smoothingFrames:e=cd}){return(0,sa.jsxs)(yc.default,{style:kd.monitor,children:[(0,sa.jsx)(gd,{smoothingFrames:e}),(0,sa.jsx)(bd,{smoothingFrames:e})]})}const kd=_u.default.create({monitor:{flexDirection:”row”,position:”absolute”,backgroundColor:”#0006″,zIndex:1e3},header:{fontSize:14,color:”#ffff”,paddingHorizontal:5},text:{fontSize:13,fontVariant:[“tabular-nums”],color:”#ffff”,fontFamily:”monospace”,paddingHorizontal:3},container:{alignItems:”center”,justifyContent:”center”,flexDirection:”row”,flexWrap:”wrap”}});function _d({mode:e}){return(0,a.useEffect)((()=>{}),[]),(0,a.useEffect)((()=>{const t=Ei.jsValue;switch(e){case $.System:Ei.setEnabled(ki());break;case $.Always:Ei.setEnabled(!0);break;case $.Never:Ei.setEnabled(!1)}return()=>{Ei.setEnabled(t)}}),[e]),null}function Ed(e,t){const n=(0,a.useRef)(null);if(null===n.current){const e=De({});n.current={context:e,savedDependencies:[]}}(0,a.useEffect)((()=>()=>{n.current=null}),[]);const{context:r,savedDependencies:i}=n.current;t=function(e,t){const n=Object.values(t).filter((e=>void 0!==e));return e?e.push(Ou(n)):e=n.map((e=>({workletHash:e.__workletHash,closure:e.__closure}))),e}(t,e);const o=!function(e,t){const n=”function”===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||Number.isNaN(e)&&Number.isNaN(t)};return function(e,t){if(!e||!t||t.length!==e.length)return!1;for(let r=0;r{if(!1===r.current&&null!==t.current){const i=t.current;n.current=en(function(){const e=function(e,t){i.state.value=e,i.height.value=t};return e.__closure={keyboardEventData:i},e.__workletHash=5338428174022,e.__initData=Rd,e}(),e),r.current=!0}return()=>{!function(e){ie.unsubscribeFromKeyboardEvents(e)}(n.current),r.current=!1}}),[]),t.current}const Dd={code:”function reactNativeReanimated_useAnimatedReactionJs1(){const{prepare,react,previous}=this.__closure;const input=prepare();react(input,previous.value);previous.value=input;}”};function Id(e,t,n){const r=Sc(null);let i=Object.values(e.__closure??{});H()&&!i.length&&n?.length&&(i=n),void 0===n?n=[…Object.values(e.__closure??{}),…Object.values(t.__closure??{}),e.__workletHash,t.__workletHash]:n.push(e.__workletHash,t.__workletHash),(0,a.useEffect)((()=>{const n=Pt(function(){const n=function(){const n=e();t(n,r.value),r.value=n};return n.__closure={prepare:e,react:t,previous:r},n.__workletHash=0xcab92620901,n.__initData=Dd,n}(),i);return()=>{Nt(n)}}),n)}const Od={code:”function reactNativeReanimated_useAnimatedScrollHandlerJs1(event){const{scrollHandlers,context}=this.__closure;const{onScroll:onScroll,onBeginDrag:onBeginDrag,onEndDrag:onEndDrag,onMomentumBegin:onMomentumBegin,onMomentumEnd:onMomentumEnd}=scrollHandlers;if(onScroll&&event.eventName.endsWith(‘onScroll’)){onScroll(event,context);}else if(onBeginDrag&&event.eventName.endsWith(‘onScrollBeginDrag’)){onBeginDrag(event,context);}else if(onEndDrag&&event.eventName.endsWith(‘onScrollEndDrag’)){onEndDrag(event,context);}else if(onMomentumBegin&&event.eventName.endsWith(‘onMomentumScrollBegin’)){onMomentumBegin(event,context);}else if(onMomentumEnd&&event.eventName.endsWith(‘onMomentumScrollEnd’)){onMomentumEnd(event,context);}}”};function jd(e,t){const n=”function”===typeof e?{onScroll:e}:e,{context:r,doDependenciesDiffer:i}=Ed(n,t),o=[“onScroll”];return void 0!==n.onBeginDrag&&o.push(“onScrollBeginDrag”),void 0!==n.onEndDrag&&o.push(“onScrollEndDrag”),void 0!==n.onMomentumBegin&&o.push(“onMomentumScrollBegin”),void 0!==n.onMomentumEnd&&o.push(“onMomentumScrollEnd”),Tc(function(){const e=function(e){const{onScroll:t,onBeginDrag:i,onEndDrag:o,onMomentumBegin:a,onMomentumEnd:s}=n;t&&e.eventName.endsWith(“onScroll”)?t(e,r):i&&e.eventName.endsWith(“onScrollBeginDrag”)?i(e,r):o&&e.eventName.endsWith(“onScrollEndDrag”)?o(e,r):a&&e.eventName.endsWith(“onMomentumScrollBegin”)?a(e,r):s&&e.eventName.endsWith(“onMomentumScrollEnd”)&&s(e,r)};return e.__closure={scrollHandlers:n,context:r},e.__workletHash=9130425254161,e.__initData=Od,e}(),o,i)}const Pd={code:”function eulerToQuaternion_reactNativeReanimated_useAnimatedSensorJs1(pitch,roll,yaw){const c1=Math.cos(pitch/2);const s1=Math.sin(pitch/2);const c2=Math.cos(roll/2);const s2=Math.sin(roll/2);const c3=Math.cos(yaw/2);const s3=Math.sin(yaw/2);return[s1*c2*c3-c1*s2*s3,c1*s2*c3+s1*c2*s3,c1*c2*s3+s1*s2*c3,c1*c2*c3-s1*s2*s3];}”},Md=function(){const e=function(e,t,n){const r=Math.cos(e/2),i=Math.sin(e/2),o=Math.cos(t/2),a=Math.sin(t/2),s=Math.cos(n/2),l=Math.sin(n/2);return[i*o*s-r*a*l,r*a*s+i*o*l,r*o*l+i*a*s,r*o*s-i*a*l]};return e.__closure={},e.__workletHash=0xdb1ce8e186c,e.__initData=Pd,e}(),Nd={code:”function adjustRotationToInterfaceOrientation_reactNativeReanimated_useAnimatedSensorJs2(data){const{InterfaceOrientation,eulerToQuaternion}=this.__closure;const{interfaceOrientation:interfaceOrientation,pitch:pitch,roll:roll,yaw:yaw}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.pitch=roll;data.roll=-pitch;data.yaw=yaw-Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.pitch=-roll;data.roll=pitch;data.yaw=yaw+Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.pitch*=-1;data.roll*=-1;data.yaw*=-1;}const q=eulerToQuaternion(data.pitch,data.roll,data.yaw);data.qx=q[0];data.qy=q[1];data.qz=q[2];data.qw=q[3];return data;}”},Ld=function(){const e=function(e){const{interfaceOrientation:t,pitch:n,roll:r,yaw:i}=e;t===Z.ROTATION_90?(e.pitch=r,e.roll=-n,e.yaw=i-Math.PI/2):t===Z.ROTATION_270?(e.pitch=-r,e.roll=n,e.yaw=i+Math.PI/2):t===Z.ROTATION_180&&(e.pitch*=-1,e.roll*=-1,e.yaw*=-1);const o=Md(e.pitch,e.roll,e.yaw);return e.qx=o[0],e.qy=o[1],e.qz=o[2],e.qw=o[3],e};return e.__closure={InterfaceOrientation:Z,eulerToQuaternion:Md},e.__workletHash=0x994ae48a7fd,e.__initData=Nd,e}(),Fd={code:”function adjustVectorToInterfaceOrientation_reactNativeReanimated_useAnimatedSensorJs3(data){const{InterfaceOrientation}=this.__closure;const{interfaceOrientation:interfaceOrientation,x:x,y:y}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.x=-y;data.y=x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.x=y;data.y=-x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.x*=-1;data.y*=-1;}return data;}”},Vd=function(){const e=function(e){const{interfaceOrientation:t,x:n,y:r}=e;return t===Z.ROTATION_90?(e.x=-r,e.y=n):t===Z.ROTATION_270?(e.x=r,e.y=-n):t===Z.ROTATION_180&&(e.x*=-1,e.y*=-1),e};return e.__closure={InterfaceOrientation:Z},e.__workletHash=4028360763619,e.__initData=Fd,e}(),Bd={code:”function reactNativeReanimated_useAnimatedSensorJs4(data){const{adjustToInterfaceOrientation,sensorType,SensorType,adjustRotationToInterfaceOrientation,adjustVectorToInterfaceOrientation,sensorData,callMicrotasks}=this.__closure;if(adjustToInterfaceOrientation){if(sensorType===SensorType.ROTATION){data=adjustRotationToInterfaceOrientation(data);}else{data=adjustVectorToInterfaceOrientation(data);}}sensorData.value=data;callMicrotasks();}”};function Hd(e,t){const n=(0,a.useRef)(t);(n.current?.adjustToInterfaceOrientation!==t?.adjustToInterfaceOrientation||n.current?.interval!==t?.interval||n.current?.iosReferenceFrame!==t?.iosReferenceFrame)&&(n.current=Object.assign({},t));const r=(0,a.useMemo)((()=>Object.assign({interval:”auto”,adjustToInterfaceOrientation:!0,iosReferenceFrame:Y.Auto},n.current)),[n.current]),i=(0,a.useRef)({sensor:tn(e,r),unregister:()=>{},isAvailable:!1,config:r});return(0,a.useEffect)((()=>{i.current={sensor:tn(e,r),unregister:()=>{},isAvailable:!1,config:r};const t=i.current.sensor,n=i.current.config.adjustToInterfaceOrientation,o=function(e,t,n){return Yt().registerSensor(e,t,be(n))}(e,r,function(){const r=function(r){n&&(r=e===G.ROTATION?Ld(r):Vd(r)),t.value=r,Le()};return r.__closure={adjustToInterfaceOrientation:n,sensorType:e,SensorType:G,adjustRotationToInterfaceOrientation:Ld,adjustVectorToInterfaceOrientation:Vd,sensorData:t,callMicrotasks:Le},r.__workletHash=0xb8a2208d769,r.__initData=Bd,r}());return-1!==o?(i.current.unregister=()=>{return e=o,Yt().unregisterSensor(e);var e},i.current.isAvailable=!0):(i.current.unregister=()=>{},i.current.isAvailable=!1),()=>{i.current.unregister()}}),[e,r]),i.current}const Ud={code:”function reactNativeReanimated_useComposedEventHandlerJs1(event){const{workletsMap}=this.__closure;if(workletsMap[event.eventName]){workletsMap[event.eventName].forEach(function(worklet){return worklet(event);});}}”};function zd(e){const t={},n=new Set,r={};e.filter((e=>null!==e)).forEach((e=>{const{workletEventHandler:i}=e;i instanceof ic&&i.eventNames.forEach((e=>{n.add(e),r[e]?r[e].push(i.worklet):r[e]=[i.worklet];const o=e+`${r[e].length}`;t[o]=i.worklet}))}));const{doDependenciesDiffer:i}=Ed(t);return Tc(function(){const e=function(e){r[e.eventName]&&r[e.eventName].forEach((t=>t(e)))};return e.__closure={workletsMap:r},e.__workletHash=0xf95d411c94,e.__initData=Ud,e}(),Array.from(n),i)}const Wd={code:”function reactNativeReanimated_useDerivedValueJs1(){const{sharedValue,updater}=this.__closure;sharedValue.value=updater();}”};function Kd(e,t){const n=(0,a.useRef)(null);let r=Object.values(e.__closure??{});H()&&!r.length&&t?.length&&(r=t),void 0===t?t=[…r,e.__workletHash]:t.push(e.__workletHash),null===n.current&&(n.current=St(vo(e)));const i=n.current;return(0,a.useEffect)((()=>{const t=Pt(function(){const t=function(){i.value=e()};return t.__closure={sharedValue:i,updater:e},t.__workletHash=3093677085834,t.__initData=Wd,t}(),r,[i]);return()=>{Nt(t)}}),t),i}const Xd=ki();function qd(){return Xd}function Gd(e,t){return(0,a.useCallback)(e,t??[])}const Yd={code:”function reactNativeReanimated_lrgbJs1(c=0){const abs=Math.abs(c);if(abs>0.0031308){return(Math.sign(c)||1)*(1.055*Math.pow(abs,1/2.4)-0.055);}return c*12.92;}”},Zd=function(){const e=function(e=0){const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e};return e.__closure={},e.__workletHash=8638963679382,e.__initData=Yd,e}(),Jd={code:”function reactNativeReanimated_lrgbJs2({r:r,g:g,b:b,alpha:alpha}){const{channelFromLrgb}=this.__closure;return{r:channelFromLrgb(r),g:channelFromLrgb(g),b:channelFromLrgb(b),alpha:alpha};}”},$d=function(){const e=function({r:e,g:t,b:n,alpha:r}){return{r:Zd(e),g:Zd(t),b:Zd(n),alpha:r}};return e.__closure={channelFromLrgb:Zd},e.__workletHash=489495721257,e.__initData=Jd,e}(),Qd={code:”function reactNativeReanimated_lrgbJs3(c=0){const abs=Math.abs(c);if(abs<=0.04045){return c/12.92;}return(Math.sign(c)||1)*Math.pow((abs+0.055)/1.055,2.4);}"},ep=function(){const e=function(e=0){const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)};return e.__closure={},e.__workletHash=6135795305567,e.__initData=Qd,e}(),tp={code:"function reactNativeReanimated_lrgbJs4({r:r,g:g,b:b,alpha:alpha}){const{channelToLrgb}=this.__closure;return{r:channelToLrgb(r),g:channelToLrgb(g),b:channelToLrgb(b),alpha:alpha};}"},np={convert:{fromRgb:function(){const e=function({r:e,g:t,b:n,alpha:r}){return{r:ep(e),g:ep(t),b:ep(n),alpha:r}};return e.__closure={channelToLrgb:ep},e.__workletHash=1269246349231,e.__initData=tp,e}(),toRgb:$d}},rp={code:"function convertLrgbToOklab_reactNativeReanimated_oklabJs1({r=0,g=0,b=0,alpha:alpha}){const L=Math.cbrt(0.41222147079999993*r+0.5363325363*g+0.0514459929*b);const M=Math.cbrt(0.2119034981999999*r+0.6806995450999999*g+0.1073969566*b);const S=Math.cbrt(0.08830246189999998*r+0.2817188376*g+0.6299787005000002*b);return{l:0.2104542553*L+0.793617785*M-0.0040720468*S,a:1.9779984951*L-2.428592205*M+0.4505937099*S,b:0.0259040371*L+0.7827717662*M-0.808675766*S,alpha:alpha};}"},ip=function(){const e=function({r:e=0,g:t=0,b:n=0,alpha:r}){const i=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),o=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),a=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n);return{l:.2104542553*i+.793617785*o-.0040720468*a,a:1.9779984951*i-2.428592205*o+.4505937099*a,b:.0259040371*i+.7827717662*o-.808675766*a,alpha:r}};return e.__closure={},e.__workletHash=0xc081f2be830,e.__initData=rp,e}(),op={code:"function convertRgbToOklab_reactNativeReanimated_oklabJs2(rgb){const{lrgb,convertLrgbToOklab}=this.__closure;const lrgbColor=lrgb.convert.fromRgb(rgb);const result=convertLrgbToOklab(lrgbColor);if(rgb.r===rgb.b&&rgb.b===rgb.g){result.a=result.b=0;}return result;}"},ap=function(){const e=function(e){const t=np.convert.fromRgb(e),n=ip(t);return e.r===e.b&&e.b===e.g&&(n.a=n.b=0),n};return e.__closure={lrgb:np,convertLrgbToOklab:ip},e.__workletHash=4448019407832,e.__initData=op,e}(),sp={code:"function convertOklabToLrgb_reactNativeReanimated_oklabJs3({l=0,a=0,b=0,alpha:alpha}){const L=Math.pow(l*0.99999999845051981432+0.39633779217376785678*a+0.21580375806075880339*b,3);const M=Math.pow(l*1.0000000088817607767-0.1055613423236563494*a-0.063854174771705903402*b,3);const S=Math.pow(l*1.0000000546724109177-0.089484182094965759684*a-1.2914855378640917399*b,3);return{r:+4.076741661347994*L-3.307711590408193*M+0.230969928729428*S,g:-1.2684380040921763*L+2.6097574006633715*M-0.3413193963102197*S,b:-0.004196086541837188*L-0.7034186144594493*M+1.7076147009309444*S,alpha:alpha};}"},lp=function(){const e=function({l:e=0,a:t=0,b:n=0,alpha:r}){const i=Math.pow(.9999999984505198*e+.39633779217376786*t+.2158037580607588*n,3),o=Math.pow(1.0000000088817609*e-.10556134232365635*t-.06385417477170591*n,3),a=Math.pow(1.0000000546724108*e-.08948418209496575*t-1.2914855378640917*n,3);return{r:4.076741661347994*i-3.307711590408193*o+.230969928729428*a,g:-1.2684380040921763*i+2.6097574006633715*o-.3413193963102197*a,b:-.004196086541837188*i-.7034186144594493*o+1.7076147009309444*a,alpha:r}};return e.__closure={},e.__workletHash=2727607163353,e.__initData=sp,e}(),cp={code:"function convertOklabToRgb_reactNativeReanimated_oklabJs4(labColor){const{convertOklabToLrgb,lrgb}=this.__closure;const roundChannel=function(channel){return Math.ceil(channel*100_000)/100_000;};const lrgbColor=convertOklabToLrgb(labColor);const rgbColor=lrgb.convert.toRgb(lrgbColor);rgbColor.r=roundChannel(rgbColor.r);rgbColor.g=roundChannel(rgbColor.g);rgbColor.b=roundChannel(rgbColor.b);return rgbColor;}"},up={oklab:{convert:{fromRgb:ap,toRgb:function(){const e=function(e){const t=e=>Math.ceil(1e5*e)/1e5,n=lp(e),r=np.convert.toRgb(n);return r.r=t(r.r),r.g=t(r.g),r.b=t(r.b),r};return e.__closure={convertOklabToLrgb:lp,lrgb:np},e.__workletHash=0xdc3de429a2f,e.__initData=cp,e}()}}};let dp=function(e){return e.IDENTITY=”identity”,e.CLAMP=”clamp”,e.EXTEND=”extend”,e}({});const pp={code:”function getVal_reactNativeReanimated_interpolationJs1(type,coef,val,leftEdgeOutput,rightEdgeOutput,x){const{Extrapolation}=this.__closure;switch(type){case Extrapolation.IDENTITY:return x;case Extrapolation.CLAMP:if(coef*val=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}”},bp=function(){const e=function(e,t,n){const{leftEdgeInput:r,rightEdgeInput:i,leftEdgeOutput:o,rightEdgeOutput:a}=t;if(i-r===0)return o;const s=o+(e-r)/(i-r)*(a-o),l=a>=o?1:-1;return l*sl*a?fp(n.extrapolateRight,l,s,o,a,e):s};return e.__closure={getVal:fp},e.__workletHash=0xb70b0d76835,e.__initData=vp,e}(),wp={code:”function interpolate_reactNativeReanimated_interpolationJs5(x,inputRange,outputRange,type){const{validateType,internalInterpolate}=this.__closure;if(inputRange.length<2||outputRange.length<2){throw new ReanimatedError('Interpolation input and output ranges should contain at least two values.');}const extrapolationConfig=validateType(type);const length=inputRange.length;const narrowedInput={leftEdgeInput:inputRange[0],rightEdgeInput:inputRange[1],leftEdgeOutput:outputRange[0],rightEdgeOutput:outputRange[1]};if(length>2){if(x>inputRange[length-1]){narrowedInput.leftEdgeInput=inputRange[length-2];narrowedInput.rightEdgeInput=inputRange[length-1];narrowedInput.leftEdgeOutput=outputRange[length-2];narrowedInput.rightEdgeOutput=outputRange[length-1];}else{for(let i=1;i2)if(e>t[o-1])a.leftEdgeInput=t[o-2],a.rightEdgeInput=t[o-1],a.leftEdgeOutput=n[o-2],a.rightEdgeOutput=n[o-1];else for(let s=1;soriginalH[i-1]&&d>0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]-1);correctedH.push(originalH[i]);}else if(originalH[i]o[e-1]&&n>.5?(r.push(t[e]),r.push(t[e]+1e-5),a.push(o[e]-1),a.push(o[e])):o[e]Math.pow(e/255,t)))};return e.__closure={},e.__workletHash=7578010435416,e.__initData=Ap,e}(),Tp={code:”function reactNativeReanimated_interpolateColorJs3(x,gamma){return Math.round(Math.pow(x,1/gamma)*255);}”},Dp=function(){const e=function(e,t){return Math.round(255*Math.pow(e,1/t))};return e.__closure={},e.__workletHash=8612601199928,e.__initData=Tp,e}(),Ip={code:”function reactNativeReanimated_interpolateColorJs4(value,inputRange,colors,options){const{toLinearSpace,interpolate,Extrapolation,rgbaColor,toGammaSpace}=this.__closure;const{gamma=2.2}=options;let{r:outputR,g:outputG,b:outputB}=colors;if(gamma!==1){outputR=toLinearSpace(outputR,gamma);outputG=toLinearSpace(outputG,gamma);outputB=toLinearSpace(outputB,gamma);}const r=interpolate(value,inputRange,outputR,Extrapolation.CLAMP);const g=interpolate(value,inputRange,outputG,Extrapolation.CLAMP);const b=interpolate(value,inputRange,outputB,Extrapolation.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolation.CLAMP);if(gamma===1){return rgbaColor(r,g,b,a);}return rgbaColor(toGammaSpace(r,gamma),toGammaSpace(g,gamma),toGammaSpace(b,gamma),a);}”},Op=function(){const e=function(e,t,n,r){const{gamma:i=2.2}=r;let{r:o,g:a,b:s}=n;1!==i&&(o=Rp(o,i),a=Rp(a,i),s=Rp(s,i));const l=kp(e,t,o,dp.CLAMP),c=kp(e,t,a,dp.CLAMP),u=kp(e,t,s,dp.CLAMP),d=kp(e,t,n.a,dp.CLAMP);return 1===i?Hn(l,c,u,d):Hn(Dp(l,i),Dp(c,i),Dp(u,i),d)};return e.__closure={toLinearSpace:Rp,interpolate:kp,Extrapolation:dp,rgbaColor:Hn,toGammaSpace:Dp},e.__workletHash=9578440859780,e.__initData=Ip,e}(),jp={code:”function reactNativeReanimated_interpolateColorJs5(value,inputRange,colors,_options){const{interpolate,Extrapolation,culori,rgbaColor}=this.__closure;const l=interpolate(value,inputRange,colors.l,Extrapolation.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolation.CLAMP);const b=interpolate(value,inputRange,colors.b,Extrapolation.CLAMP);const alpha=interpolate(value,inputRange,colors.alpha,Extrapolation.CLAMP);const{r:_r,g:_g,b:_b,alpha:_alpha}=culori.oklab.convert.toRgb({l:l,a:a,b:b,alpha:alpha});return rgbaColor(_r,_g,_b,_alpha);}”},Pp=function(){const e=function(e,t,n,r){const i=kp(e,t,n.l,dp.CLAMP),o=kp(e,t,n.a,dp.CLAMP),a=kp(e,t,n.b,dp.CLAMP),s=kp(e,t,n.alpha,dp.CLAMP),{r:l,g:c,b:u,alpha:d}=up.oklab.convert.toRgb({l:i,a:o,b:a,alpha:s});return Hn(l,c,u,d)};return e.__closure={interpolate:kp,Extrapolation:dp,culori:up,rgbaColor:Hn},e.__workletHash=6220548705420,e.__initData=jp,e}(),Mp={code:”function reactNativeReanimated_interpolateColorJs6(colors,convFromRgb){const{processColor,red,green,blue,opacity}=this.__closure;const ch1=[];const ch2=[];const ch3=[];const alpha=[];for(let i=0;i({ch1:e.r,ch2:e.g,ch3:e.b})));return{r:t,g:n,b:r,a:i}};return e.__closure={_splitColorsIntoChannels:Np},e.__workletHash=5725401513521,e.__initData=Lp,e}(),Vp={code:”function reactNativeReanimated_interpolateColorJs8(colors){const{_splitColorsIntoChannels,RGBtoHSV}=this.__closure;const{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha}=_splitColorsIntoChannels(colors,function(color){const hsvColor=RGBtoHSV(color.r,color.g,color.b);return{ch1:hsvColor.h,ch2:hsvColor.s,ch3:hsvColor.v};});return{h:ch1,s:ch2,v:ch3,a:alpha};}”},Bp=function(){const e=function(e){const{ch1:t,ch2:n,ch3:r,alpha:i}=Np(e,(e=>{const t=zn(e.r,e.g,e.b);return{ch1:t.h,ch2:t.s,ch3:t.v}}));return{h:t,s:n,v:r,a:i}};return e.__closure={_splitColorsIntoChannels:Np,RGBtoHSV:zn},e.__workletHash=0x9ed1d3ad0a9,e.__initData=Vp,e}(),Hp={code:”function reactNativeReanimated_interpolateColorJs9(colors){const{_splitColorsIntoChannels,culori}=this.__closure;const{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha}=_splitColorsIntoChannels(colors,function(color){const labColor=culori.oklab.convert.fromRgb(color);return{ch1:labColor.l,ch2:labColor.a,ch3:labColor.b};});return{l:ch1,a:ch2,b:ch3,alpha:alpha};}”},Up=function(){const e=function(e){const{ch1:t,ch2:n,ch3:r,alpha:i}=Np(e,(e=>{const t=up.oklab.convert.fromRgb(e);return{ch1:t.l,ch2:t.a,ch3:t.b}}));return{l:t,a:n,b:r,alpha:i}};return e.__closure={_splitColorsIntoChannels:Np,culori:up},e.__workletHash=0xbe9b9a24ef7,e.__initData=Hp,e}(),zp={code:”function interpolateColor_reactNativeReanimated_interpolateColorJs10(value,inputRange,outputRange,colorSpace=’RGB’,options={}){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB,interpolateColorsLAB,getInterpolateLAB}=this.__closure;if(colorSpace===’HSV’){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange),options);}else if(colorSpace===’RGB’){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange),options);}else if(colorSpace===’LAB’){return interpolateColorsLAB(value,inputRange,getInterpolateLAB(outputRange),options);}throw new ReanimatedError(\”Invalid color space provided: \”+colorSpace+\”. Supported values are: [‘RGB’, ‘HSV’, ‘LAB’].\”);}”},Wp=function(){const e=function(e,t,n,r=”RGB”,i={}){if(“HSV”===r)return xp(e,t,Bp(n),i);if(“RGB”===r)return Op(e,t,Fp(n),i);if(“LAB”===r)return Pp(e,t,Up(n),i);throw new c(`Invalid color space provided: ${r}. Supported values are: [‘RGB’, ‘HSV’, ‘LAB’].`)};return e.__closure={interpolateColorsHSV:xp,getInterpolateHSV:Bp,interpolateColorsRGB:Op,getInterpolateRGB:Fp,interpolateColorsLAB:Pp,getInterpolateLAB:Up},e.__workletHash=6040343646811,e.__initData=zp,e}();let Kp=function(e){return e[e.RGB=0]=”RGB”,e[e.HSV=1]=”HSV”,e[e.LAB=2]=”LAB”,e}({});function Xp(e,t,n=Kp.RGB,r={}){return Sc({inputRange:e,outputRange:t,colorSpace:n,cache:St(null),options:r})}function qp(){}function Gp(){}function Yp(){}function Zp(){}function Jp(){}const $p={code:”function reactNativeReanimated_BaseAnimationBuilderJs1(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);}”},Qp={code:”function reactNativeReanimated_BaseAnimationBuilderJs2(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;}”};class ef{reduceMotionV=$.System;randomizeDelay=!1;build=()=>{throw new c(“Unimplemented method in child class.”)};static duration(e){return this.createInstance().duration(e)}duration(e){return this.durationV=e,this}static delay(e){return this.createInstance().delay(e)}delay(e){return this.delayV=e,this}static withCallback(e){return this.createInstance().withCallback(e)}withCallback(e){return this.callbackV=e,this}static reduceMotion(e){return this.createInstance().reduceMotion(e)}reduceMotion(e){return this.reduceMotionV=e,this}static getDuration(){return 300}getDuration(){return this.durationV??300}static randomDelay(){return this.createInstance().randomDelay()}randomDelay(){return this.randomizeDelay=!0,this}getDelay(){return this.randomizeDelay?Math.random()*(this.delayV??1e3):this.delayV??0}getReduceMotion(){return this.reduceMotionV}getDelayFunction(){const e=this.randomizeDelay||this.delayV,t=this.getReduceMotion();return e?function(){const e=function(e,n){return zs(e,n,t)};return e.__closure={withDelay:zs,reduceMotion:t},e.__workletHash=0xec2088a2593,e.__initData=$p,e}():function(){const e=function(e,n){return n.reduceMotion=Eo(t),n};return e.__closure={getReduceMotionFromConfig:Eo,reduceMotion:t},e.__workletHash=6646183570703,e.__initData=Qp,e}()}static build(){return this.createInstance().build()}}class tf extends ef{static easing(e){return this.createInstance().easing(e)}easing(e){return this.easingV=e,this}static rotate(e){return this.createInstance().rotate(e)}rotate(e){return this.rotateV=e,this}static springify(e){return this.createInstance().springify(e)}springify(e){return this.durationV=e,this.type=ku,this}static dampingRatio(e){return this.createInstance().dampingRatio(e)}dampingRatio(e){return this.dampingRatioV=e,this}static damping(e){return this.createInstance().damping(e)}damping(e){return this.dampingV=e,this}static mass(e){return this.createInstance().mass(e)}mass(e){return this.massV=e,this}static stiffness(e){return this.createInstance().stiffness(e)}stiffness(e){return this.stiffnessV=e,this}static overshootClamping(e){return this.createInstance().overshootClamping(e)}overshootClamping(e){return this.overshootClampingV=e,this}static restDisplacementThreshold(e){return this.createInstance().restDisplacementThreshold(e)}restDisplacementThreshold(e){return this.restDisplacementThresholdV=e,this}static restSpeedThreshold(e){return this.createInstance().restSpeedThreshold(e)}restSpeedThreshold(e){return this.restSpeedThresholdV=e,this}static withInitialValues(e){return this.createInstance().withInitialValues(e)}withInitialValues(e){return this.initialValues=e,this}getAnimationAndConfig(){const e=this.durationV,t=this.easingV,n=this.rotateV,r=this.type?this.type:Ho,i=this.dampingV,o=this.dampingRatioV,a=this.massV,s=this.stiffnessV,l=this.overshootClampingV,c=this.restDisplacementThresholdV,u=this.restSpeedThresholdV,d=r,p={};function f(e,t){e&&(p[t]=e)}return r===Ho&&f(t,”easing”),[{variableName:”damping”,value:i},{variableName:”dampingRatio”,value:o},{variableName:”mass”,value:a},{variableName:”stiffness”,value:s},{variableName:”overshootClamping”,value:l},{variableName:”restDisplacementThreshold”,value:c},{variableName:”restSpeedThreshold”,value:u},{variableName:”duration”,value:e},{variableName:”rotate”,value:n}].forEach((({value:e,variableName:t})=>f(e,t))),[d,p]}}const nf={code:”function reactNativeReanimated_BounceJs1(){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,withSequence(withTiming(1.2,{duration:duration*0.55}),withTiming(0.9,{duration:duration*0.15}),withTiming(1.1,{duration:duration*0.15}),withTiming(1,{duration:duration*0.15})))}]},initialValues:{transform:[{scale:0}],…initialValues},callback:callback};}”};class rf extends tf{static presetName=”BounceIn”;static createInstance(){return new rf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(){return{animations:{transform:[{scale:e(t,qs(Ho(1.2,{duration:.55*n}),Ho(.9,{duration:.15*n}),Ho(1.1,{duration:.15*n}),Ho(1,{duration:.15*n})))}]},initialValues:Object.assign({transform:[{scale:0}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=0xecf6b287ab9,o.__initData=nf,o}()}}const of={code:”function reactNativeReanimated_BounceJs2(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(-20,{duration:duration*0.55}),withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(0,{duration:duration*0.15})))}]},initialValues:{transform:[{translateY:values.windowHeight}],…initialValues},callback:callback};}”};class af extends tf{static presetName=”BounceInDown”;static createInstance(){return new af}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateY:e(t,qs(Ho(-20,{duration:.55*n}),Ho(10,{duration:.15*n}),Ho(-10,{duration:.15*n}),Ho(0,{duration:.15*n})))}]},initialValues:Object.assign({transform:[{translateY:o.windowHeight}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=8439271633968,o.__initData=of,o}()}}const sf={code:”function reactNativeReanimated_BounceJs3(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(20,{duration:duration*0.55}),withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(0,{duration:duration*0.15})))}]},initialValues:{transform:[{translateY:-values.windowHeight}],…initialValues},callback:callback};}”};class lf extends tf{static presetName=”BounceInUp”;static createInstance(){return new lf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateY:e(t,qs(Ho(20,{duration:.55*n}),Ho(-10,{duration:.15*n}),Ho(10,{duration:.15*n}),Ho(0,{duration:.15*n})))}]},initialValues:Object.assign({transform:[{translateY:-o.windowHeight}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=0x9bec198e911,o.__initData=sf,o}()}}const cf={code:”function reactNativeReanimated_BounceJs4(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(20,{duration:duration*0.55}),withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(0,{duration:duration*0.15})))}]},initialValues:{transform:[{translateX:-values.windowWidth}],…initialValues},callback:callback};}”};class uf extends tf{static presetName=”BounceInLeft”;static createInstance(){return new uf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateX:e(t,qs(Ho(20,{duration:.55*n}),Ho(-10,{duration:.15*n}),Ho(10,{duration:.15*n}),Ho(0,{duration:.15*n})))}]},initialValues:Object.assign({transform:[{translateX:-o.windowWidth}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=9594426187631,o.__initData=cf,o}()}}const df={code:”function reactNativeReanimated_BounceJs5(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(-20,{duration:duration*0.55}),withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(0,{duration:duration*0.15})))}]},initialValues:{transform:[{translateX:values.windowWidth}],…initialValues},callback:callback};}”};class pf extends tf{static presetName=”BounceInRight”;static createInstance(){return new pf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateX:e(t,qs(Ho(-20,{duration:.55*n}),Ho(10,{duration:.15*n}),Ho(-10,{duration:.15*n}),Ho(0,{duration:.15*n})))}]},initialValues:Object.assign({transform:[{translateX:o.windowWidth}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=0xb10532544ae,o.__initData=df,o}()}}const ff={code:”function reactNativeReanimated_BounceJs6(){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,withSequence(withTiming(1.1,{duration:duration*0.15}),withTiming(0.9,{duration:duration*0.15}),withTiming(1.2,{duration:duration*0.15}),withTiming(0,{duration:duration*0.55})))}]},initialValues:{transform:[{scale:1}],…initialValues},callback:callback};}”};class hf extends tf{static presetName=”BounceOut”;static createInstance(){return new hf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(){return{animations:{transform:[{scale:e(t,qs(Ho(1.1,{duration:.15*n}),Ho(.9,{duration:.15*n}),Ho(1.2,{duration:.15*n}),Ho(0,{duration:.55*n})))}]},initialValues:Object.assign({transform:[{scale:1}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=3716486229086,o.__initData=ff,o}()}}const mf={code:”function reactNativeReanimated_BounceJs7(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(-20,{duration:duration*0.15}),withTiming(values.windowHeight,{duration:duration*0.55})))}]},initialValues:{transform:[{translateY:0}],…initialValues},callback:callback};}”};class gf extends tf{static presetName=”BounceOutDown”;static createInstance(){return new gf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateY:e(t,qs(Ho(-10,{duration:.15*n}),Ho(10,{duration:.15*n}),Ho(-20,{duration:.15*n}),Ho(o.windowHeight,{duration:.55*n})))}]},initialValues:Object.assign({transform:[{translateY:0}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=3796851510421,o.__initData=mf,o}()}}const yf={code:”function reactNativeReanimated_BounceJs8(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(20,{duration:duration*0.15}),withTiming(-values.windowHeight,{duration:duration*0.55})))}]},initialValues:{transform:[{translateY:0}],…initialValues},callback:callback};}”};class vf extends tf{static presetName=”BounceOutUp”;static createInstance(){return new vf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateY:e(t,qs(Ho(10,{duration:.15*n}),Ho(-10,{duration:.15*n}),Ho(20,{duration:.15*n}),Ho(-o.windowHeight,{duration:.55*n})))}]},initialValues:Object.assign({transform:[{translateY:0}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=0xfe991d1cada,o.__initData=yf,o}()}}const bf={code:”function reactNativeReanimated_BounceJs9(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(20,{duration:duration*0.15}),withTiming(-values.windowWidth,{duration:duration*0.55})))}]},initialValues:{transform:[{translateX:0}],…initialValues},callback:callback};}”};class wf extends tf{static presetName=”BounceOutLeft”;static createInstance(){return new wf}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateX:e(t,qs(Ho(10,{duration:.15*n}),Ho(-10,{duration:.15*n}),Ho(20,{duration:.15*n}),Ho(-o.windowWidth,{duration:.55*n})))}]},initialValues:Object.assign({transform:[{translateX:0}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=5106130699650,o.__initData=bf,o}()}}const kf={code:”function reactNativeReanimated_BounceJs10(values){const{delayFunction,delay,withSequence,withTiming,duration,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(-20,{duration:duration*0.15}),withTiming(values.windowWidth,{duration:duration*0.55})))}]},initialValues:{transform:[{translateX:0}],…initialValues},callback:callback};}”};class _f extends tf{static presetName=”BounceOutRight”;static createInstance(){return new _f}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues;return function(){const o=function(o){return{animations:{transform:[{translateX:e(t,qs(Ho(-10,{duration:.15*n}),Ho(10,{duration:.15*n}),Ho(-20,{duration:.15*n}),Ho(o.windowWidth,{duration:.55*n})))}]},initialValues:Object.assign({transform:[{translateX:0}]},i),callback:r}};return o.__closure={delayFunction:e,delay:t,withSequence:qs,withTiming:Ho,duration:n,initialValues:i,callback:r},o.__workletHash=0xe9d1143e9fa,o.__initData=kf,o}()}}const Ef={code:”function reactNativeReanimated_FadeJs1(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config))},initialValues:{opacity:0,…initialValues},callback:callback};}”};class Sf extends tf{static presetName=”FadeIn”;static createInstance(){return new Sf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(1,n))},initialValues:Object.assign({opacity:0},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=2408710693551,a.__initData=Ef,a}()}}const Cf={code:”function reactNativeReanimated_FadeJs2(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{translateX:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{translateX:25}],…initialValues},callback:callback};}”};class xf extends tf{static presetName=”FadeInRight”;static createInstance(){return new xf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(1,n)),transform:[{translateX:e(o,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{translateX:25}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=2759384225477,a.__initData=Cf,a}()}}const Af={code:”function reactNativeReanimated_FadeJs3(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{translateX:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{translateX:-25}],…initialValues},callback:callback};}”};class Rf extends tf{static presetName=”FadeInLeft”;static createInstance(){return new Rf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(1,n)),transform:[{translateX:e(o,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{translateX:-25}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=0xd6870952949,a.__initData=Af,a}()}}const Tf={code:”function reactNativeReanimated_FadeJs4(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{translateY:-25}],…initialValues},callback:callback};}”};class Df extends tf{static presetName=”FadeInUp”;static createInstance(){return new Df}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(1,n)),transform:[{translateY:e(o,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{translateY:-25}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=7783727740462,a.__initData=Tf,a}()}}const If={code:”function reactNativeReanimated_FadeJs5(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{translateY:25}],…initialValues},callback:callback};}”};class Of extends tf{static presetName=”FadeInDown”;static createInstance(){return new Of}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(1,n)),transform:[{translateY:e(o,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{translateY:25}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=0xdf55d390722,a.__initData=If,a}()}}const jf={code:”function reactNativeReanimated_FadeJs6(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config))},initialValues:{opacity:1,…initialValues},callback:callback};}”};class Pf extends tf{static presetName=”FadeOut”;static createInstance(){return new Pf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(0,n))},initialValues:Object.assign({opacity:1},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=0xdeeb34b3ae8,a.__initData=jf,a}()}}const Mf={code:”function reactNativeReanimated_FadeJs7(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(25,config))}]},initialValues:{opacity:1,transform:[{translateX:0}],…initialValues},callback:callback};}”};class Nf extends tf{static presetName=”FadeOutRight”;static createInstance(){return new Nf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(0,n)),transform:[{translateX:e(o,t(25,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateX:0}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=0xefd10292d00,a.__initData=Mf,a}()}}const Lf={code:”function reactNativeReanimated_FadeJs8(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(-25,config))}]},initialValues:{opacity:1,transform:[{translateX:0}],…initialValues},callback:callback};}”};class Ff extends tf{static presetName=”FadeOutLeft”;static createInstance(){return new Ff}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(0,n)),transform:[{translateX:e(o,t(-25,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateX:0}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=7507875144002,a.__initData=Lf,a}()}}const Vf={code:”function reactNativeReanimated_FadeJs9(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateY:delayFunction(delay,animation(-25,config))}]},initialValues:{opacity:1,transform:[{translateY:0}],…initialValues},callback:callback};}”};class Bf extends tf{static presetName=”FadeOutUp”;static createInstance(){return new Bf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(0,n)),transform:[{translateY:e(o,t(-25,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateY:0}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=2169999521379,a.__initData=Vf,a}()}}const Hf={code:”function reactNativeReanimated_FadeJs10(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateY:delayFunction(delay,animation(25,config))}]},initialValues:{opacity:1,transform:[{translateY:0}],…initialValues},callback:callback};}”};class Uf extends tf{static presetName=”FadeOutDown”;static createInstance(){return new Uf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,o=this.getDelay();return function(){const a=function(){return{animations:{opacity:e(o,t(0,n)),transform:[{translateY:e(o,t(25,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateY:0}]},i),callback:r}};return a.__closure={delayFunction:e,delay:o,animation:t,config:n,initialValues:i,callback:r},a.__workletHash=1751875256886,a.__initData=Hf,a}()}}const zf={code:”function reactNativeReanimated_EntryExitTransitionJs1(values){const{enteringAnimation,exitingAnimation,delayFunction,delay,withSequence,withTiming,exitingDuration,logger,callback}=this.__closure;const enteringValues=enteringAnimation(values);const exitingValues=exitingAnimation(values);const animations={transform:[]};for(const prop of Object.keys(exitingValues.animations)){if(prop===’transform’){if(!Array.isArray(exitingValues.animations.transform)){continue;}exitingValues.animations.transform.forEach(function(value,index){for(const transformProp of Object.keys(value)){animations.transform.push({[transformProp]:delayFunction(delay,withSequence(value[transformProp],withTiming(exitingValues.initialValues.transform?exitingValues.initialValues.transform[index][transformProp]:0,{duration:0})))});}});}else{const sequence=enteringValues.animations[prop]!==undefined?[exitingValues.animations[prop],withTiming(enteringValues.initialValues[prop],{duration:0}),enteringValues.animations[prop]]:[exitingValues.animations[prop],withTiming(Object.keys(values).includes(prop)?values[prop]:exitingValues.initialValues[prop],{duration:0})];animations[prop]=delayFunction(delay,withSequence(…sequence));}}for(const prop of Object.keys(enteringValues.animations)){if(prop===’transform’){if(!Array.isArray(enteringValues.animations.transform)){continue;}enteringValues.animations.transform.forEach(function(value,index){for(const transformProp of Object.keys(value)){animations.transform.push({[transformProp]:delayFunction(delay+exitingDuration,withSequence(withTiming(enteringValues.initialValues.transform?enteringValues.initialValues.transform[index][transformProp]:0,{duration:exitingDuration}),value[transformProp]))});}});}else if(animations[prop]!==undefined){continue;}else{animations[prop]=delayFunction(delay,withSequence(withTiming(enteringValues.initialValues[prop],{duration:0}),enteringValues.animations[prop]));}}const mergedTransform=(Array.isArray(exitingValues.initialValues.transform)?exitingValues.initialValues.transform:[]).concat((Array.isArray(enteringValues.animations.transform)?enteringValues.animations.transform:[]).map(function(value){const objectKeys=Object.keys(value);if((objectKeys===null||objectKeys===void 0?void 0:objectKeys.length)<1){logger.error(\"${value} is not a valid Transform object\");return value;}const transformProp=objectKeys[0];const current=value[transformProp].current;if(typeof current==='string'){if(current.includes('deg')){return{[transformProp]:'0deg'};}else{return{[transformProp]:'0'};}}else if(transformProp.includes('translate')){return{[transformProp]:0};}else{return{[transformProp]:1};}}));return{initialValues:{...exitingValues.initialValues,originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight,transform:mergedTransform},animations:{originX:delayFunction(delay+exitingDuration,withTiming(values.targetOriginX,{duration:exitingDuration})),originY:delayFunction(delay+exitingDuration,withTiming(values.targetOriginY,{duration:exitingDuration})),width:delayFunction(delay+exitingDuration,withTiming(values.targetWidth,{duration:exitingDuration})),height:delayFunction(delay+exitingDuration,withTiming(values.targetHeight,{duration:exitingDuration})),...animations},callback:callback};}"};class Wf extends ef{static presetName="EntryExitTransition";enteringV=Sf;exitingV=Pf;static createInstance(){return new Wf}static entering(e){return this.createInstance().entering(e)}entering(e){return this.enteringV=e,this}static exiting(e){return this.createInstance().exiting(e)}exiting(e){return this.exitingV=e,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.enteringV.build(),i=this.exitingV.build(),o=this.exitingV.getDuration();return function(){const a=function(a){const s=r(a),l=i(a),c={transform:[]};for(const t of Object.keys(l.animations))if(“transform”===t){if(!Array.isArray(l.animations.transform))continue;l.animations.transform.forEach(((t,r)=>{for(const i of Object.keys(t))c.transform.push({[i]:e(n,qs(t[i],Ho(l.initialValues.transform?l.initialValues.transform[r][i]:0,{duration:0})))})}))}else{const r=void 0!==s.animations[t]?[l.animations[t],Ho(s.initialValues[t],{duration:0}),s.animations[t]]:[l.animations[t],Ho(Object.keys(a).includes(t)?a[t]:l.initialValues[t],{duration:0})];c[t]=e(n,qs(…r))}for(const t of Object.keys(s.animations))if(“transform”===t){if(!Array.isArray(s.animations.transform))continue;s.animations.transform.forEach(((t,r)=>{for(const i of Object.keys(t))c.transform.push({[i]:e(n+o,qs(Ho(s.initialValues.transform?s.initialValues.transform[r][i]:0,{duration:o}),t[i]))})}))}else{if(void 0!==c[t])continue;c[t]=e(n,qs(Ho(s.initialValues[t],{duration:0}),s.animations[t]))}const u=(Array.isArray(l.initialValues.transform)?l.initialValues.transform:[]).concat((Array.isArray(s.animations.transform)?s.animations.transform:[]).map((e=>{const t=Object.keys(e);if(t?.length<1)return L.error("${value} is not a valid Transform object"),e;const n=t[0],r=e[n].current;return"string"===typeof r?r.includes("deg")?{[n]:"0deg"}:{[n]:"0"}:n.includes("translate")?{[n]:0}:{[n]:1}})));return{initialValues:Object.assign({},l.initialValues,{originX:a.currentOriginX,originY:a.currentOriginY,width:a.currentWidth,height:a.currentHeight,transform:u}),animations:Object.assign({originX:e(n+o,Ho(a.targetOriginX,{duration:o})),originY:e(n+o,Ho(a.targetOriginY,{duration:o})),width:e(n+o,Ho(a.targetWidth,{duration:o})),height:e(n+o,Ho(a.targetHeight,{duration:o}))},c),callback:t}};return a.__closure={enteringAnimation:r,exitingAnimation:i,delayFunction:e,delay:n,withSequence:qs,withTiming:Ho,exitingDuration:o,logger:L,callback:t},a.__workletHash=0xc5a96c4f86b,a.__initData=zf,a}()}}function Kf(e,t){return Wf.entering(t).exiting(e)}const Xf={code:"function reactNativeReanimated_CurvedTransitionJs1(values){const{delayFunction,delay,withTiming,duration,easing,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withTiming(values.targetOriginX,{duration:duration,easing:easing.easingX})),originY:delayFunction(delay,withTiming(values.targetOriginY,{duration:duration,easing:easing.easingY})),width:delayFunction(delay,withTiming(values.targetWidth,{duration:duration,easing:easing.easingWidth})),height:delayFunction(delay,withTiming(values.targetHeight,{duration:duration,easing:easing.easingHeight}))},callback:callback};}"};class qf extends ef{static presetName="CurvedTransition";easingXV=wi.in(wi.ease);easingYV=wi.out(wi.ease);easingWidthV=wi.in(wi.exp);easingHeightV=wi.out(wi.exp);static createInstance(){return new qf}static easingX(e){return this.createInstance().easingX(e)}easingX(e){return this.easingXV=e,this}static easingY(e){return this.createInstance().easingY(e)}easingY(e){return this.easingYV=e,this}static easingWidth(e){return this.createInstance().easingWidth(e)}easingWidth(e){return this.easingWidthV=e,this}static easingHeight(e){return this.createInstance().easingHeight(e)}easingHeight(e){return this.easingHeightV=e,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.durationV??300,i={easingX:this.easingXV,easingY:this.easingYV,easingWidth:this.easingWidthV,easingHeight:this.easingHeightV};return function(){const o=function(o){return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:e(n,Ho(o.targetOriginX,{duration:r,easing:i.easingX})),originY:e(n,Ho(o.targetOriginY,{duration:r,easing:i.easingY})),width:e(n,Ho(o.targetWidth,{duration:r,easing:i.easingWidth})),height:e(n,Ho(o.targetHeight,{duration:r,easing:i.easingHeight}))},callback:t}};return o.__closure={delayFunction:e,delay:n,withTiming:Ho,duration:r,easing:i,callback:t},o.__workletHash=0xe3fd7eb0e8f,o.__initData=Xf,o}()}}const Gf={code:”function reactNativeReanimated_FadingTransitionJs1(values){const{delayFunction,delay,withSequence,withTiming,halfDuration,withDelay,callback}=this.__closure;return{initialValues:{opacity:1,originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{opacity:delayFunction(delay,withSequence(withTiming(0,{duration:halfDuration}),withTiming(1,{duration:halfDuration}))),originX:withDelay(delay+halfDuration,withTiming(values.targetOriginX,{duration:0})),originY:withDelay(delay+halfDuration,withTiming(values.targetOriginY,{duration:0})),width:withDelay(delay+halfDuration,withTiming(values.targetWidth,{duration:0})),height:withDelay(delay+halfDuration,withTiming(values.targetHeight,{duration:0}))},callback:callback};}”};class Yf extends ef{static presetName=”FadingTransition”;static createInstance(){return new Yf}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=(this.durationV??500)/2;return function(){const i=function(i){return{initialValues:{opacity:1,originX:i.currentOriginX,originY:i.currentOriginY,width:i.currentWidth,height:i.currentHeight},animations:{opacity:e(n,qs(Ho(0,{duration:r}),Ho(1,{duration:r}))),originX:zs(n+r,Ho(i.targetOriginX,{duration:0})),originY:zs(n+r,Ho(i.targetOriginY,{duration:0})),width:zs(n+r,Ho(i.targetWidth,{duration:0})),height:zs(n+r,Ho(i.targetHeight,{duration:0}))},callback:t}};return i.__closure={delayFunction:e,delay:n,withSequence:qs,withTiming:Ho,halfDuration:r,withDelay:zs,callback:t},i.__workletHash=0xea5a1e6b1fa,i.__initData=Gf,i}()}}const Zf={code:”function reactNativeReanimated_FlipJs1(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’90deg’},{translateY:-targetValues.targetHeight}],…initialValues},animations:{transform:[{perspective:500},{rotateX:delayFunction(delay,animation(‘0deg’,config))},{translateY:delayFunction(delay,animation(0,config))}]},callback:callback};}”};class Jf extends tf{static presetName=”FlipInXUp”;static createInstance(){return new Jf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”90deg”},{translateY:-a.targetHeight}]},o),animations:{transform:[{perspective:500},{rotateX:e(r,t(“0deg”,n))},{translateY:e(r,t(0,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=1601311507553,a.__initData=Zf,a}()}}const $f={code:”function reactNativeReanimated_FlipJs2(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’-90deg’},{translateX:-targetValues.targetWidth}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))}]},callback:callback};}”};class Qf extends tf{static presetName=”FlipInYLeft”;static createInstance(){return new Qf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”-90deg”},{translateX:-a.targetWidth}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=5889374379048,a.__initData=$f,a}()}}const eh={code:”function reactNativeReanimated_FlipJs3(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’-90deg’},{translateY:targetValues.targetHeight}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateX:delayFunction(delay,animation(‘0deg’,config))},{translateY:delayFunction(delay,animation(0,config))}]},callback:callback};}”};class th extends tf{static presetName=”FlipInXDown”;static createInstance(){return new th}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”-90deg”},{translateY:a.targetHeight}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateX:e(r,t(“0deg”,n))},{translateY:e(r,t(0,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xf9e57a39cbd,a.__initData=eh,a}()}}const nh={code:”function reactNativeReanimated_FlipJs4(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’90deg’},{translateX:targetValues.targetWidth}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))}]},callback:callback};}”};class rh extends tf{static presetName=”FlipInYRight”;static createInstance(){return new rh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”90deg”},{translateX:a.targetWidth}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xed138dd568e,a.__initData=nh,a}()}}const ih={code:”function reactNativeReanimated_FlipJs5(){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’90deg’}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateX:delayFunction(delay,animation(‘0deg’,config))}]},callback:callback};}”};class oh extends tf{static presetName=”FlipInEasyX”;static createInstance(){return new oh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”90deg”}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateX:e(r,t(“0deg”,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=8344922058616,a.__initData=ih,a}()}}const ah={code:”function reactNativeReanimated_FlipJs6(){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’90deg’}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(‘0deg’,config))}]},callback:callback};}”};class sh extends tf{static presetName=”FlipInEasyY”;static createInstance(){return new sh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”90deg”}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“0deg”,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xf293c74aefb,a.__initData=ah,a}()}}const lh={code:”function reactNativeReanimated_FlipJs7(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’0deg’},{translateY:0}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateX:delayFunction(delay,animation(’90deg’,config))},{translateY:delayFunction(delay,animation(-targetValues.currentHeight,config))}]},callback:callback};}”};class ch extends tf{static presetName=”FlipOutXUp”;static createInstance(){return new ch}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”0deg”},{translateY:0}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateX:e(r,t(“90deg”,n))},{translateY:e(r,t(-a.currentHeight,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xcaadcc45621,a.__initData=lh,a}()}}const uh={code:”function reactNativeReanimated_FlipJs8(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’0deg’},{translateX:0}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(‘-90deg’,config))},{translateX:delayFunction(delay,animation(-targetValues.currentWidth,config))}]},callback:callback};}”};class dh extends tf{static presetName=”FlipOutYLeft”;static createInstance(){return new dh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”0deg”},{translateX:0}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“-90deg”,n))},{translateX:e(r,t(-a.currentWidth,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0x9323a33cbda,a.__initData=uh,a}()}}const ph={code:”function reactNativeReanimated_FlipJs9(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’0deg’},{translateY:0}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateX:delayFunction(delay,animation(‘-90deg’,config))},{translateY:delayFunction(delay,animation(targetValues.currentHeight,config))}]},callback:callback};}”};class fh extends tf{static presetName=”FlipOutXDown”;static createInstance(){return new fh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”0deg”},{translateY:0}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateX:e(r,t(“-90deg”,n))},{translateY:e(r,t(a.currentHeight,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xf629aa1292f,a.__initData=ph,a}()}}const hh={code:”function reactNativeReanimated_FlipJs10(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’0deg’},{translateX:0}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(’90deg’,config))},{translateX:delayFunction(delay,animation(targetValues.currentWidth,config))}]},callback:callback};}”};class mh extends tf{static presetName=”FlipOutYRight”;static createInstance(){return new mh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”0deg”},{translateX:0}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“90deg”,n))},{translateX:e(r,t(a.currentWidth,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=0xd3405ea1a23,a.__initData=hh,a}()}}const gh={code:”function reactNativeReanimated_FlipJs11(){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:’0deg’}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateX:delayFunction(delay,animation(’90deg’,config))}]},callback:callback};}”};class yh extends tf{static presetName=”FlipOutEasyX”;static createInstance(){return new yh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{initialValues:Object.assign({transform:[{perspective:500},{rotateX:”0deg”}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateX:e(r,t(“90deg”,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=8532415155949,a.__initData=gh,a}()}}const vh={code:”function reactNativeReanimated_FlipJs12(){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateY:’0deg’}],…initialValues},animations:{transform:[{perspective:delayFunction(delay,animation(500,config))},{rotateY:delayFunction(delay,animation(’90deg’,config))}]},callback:callback};}”};class bh extends tf{static presetName=”FlipOutEasyY”;static createInstance(){return new bh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{initialValues:Object.assign({transform:[{perspective:500},{rotateY:”0deg”}]},o),animations:{transform:[{perspective:e(r,t(500,n))},{rotateY:e(r,t(“90deg”,n))}]},callback:i}};return a.__closure={initialValues:o,delayFunction:e,delay:r,animation:t,config:n,callback:i},a.__workletHash=4292891435118,a.__initData=vh,a}()}}const wh={code:”function reactNativeReanimated_JumpingTransitionJs1(values){const{delayFunction,delay,withTiming,config,withSequence,halfDuration,Easing,callback}=this.__closure;const d=Math.max(Math.abs(values.targetOriginX-values.currentOriginX),Math.abs(values.targetOriginY-values.currentOriginY));return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withTiming(values.targetOriginX,config)),originY:delayFunction(delay,withSequence(withTiming(Math.min(values.targetOriginY,values.currentOriginY)-d,{duration:halfDuration,easing:Easing.out(Easing.exp)}),withTiming(values.targetOriginY,{…config,duration:halfDuration,easing:Easing.bounce}))),width:delayFunction(delay,withTiming(values.targetWidth,config)),height:delayFunction(delay,withTiming(values.targetHeight,config))},callback:callback};}”};class kh extends ef{static presetName=”JumpingTransition”;static createInstance(){return new kh}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.durationV??300,i=r/2,o={duration:r};return function(){const r=function(r){const a=Math.max(Math.abs(r.targetOriginX-r.currentOriginX),Math.abs(r.targetOriginY-r.currentOriginY));return{initialValues:{originX:r.currentOriginX,originY:r.currentOriginY,width:r.currentWidth,height:r.currentHeight},animations:{originX:e(n,Ho(r.targetOriginX,o)),originY:e(n,qs(Ho(Math.min(r.targetOriginY,r.currentOriginY)-a,{duration:i,easing:wi.out(wi.exp)}),Ho(r.targetOriginY,Object.assign({},o,{duration:i,easing:wi.bounce})))),width:e(n,Ho(r.targetWidth,o)),height:e(n,Ho(r.targetHeight,o))},callback:t}};return r.__closure={delayFunction:e,delay:n,withTiming:Ho,config:o,withSequence:qs,halfDuration:i,Easing:wi,callback:t},r.__workletHash=0x984bebac63c,r.__initData=wh,r}()}}const _h={code:”function reactNativeReanimated_LinearTransitionJs1(values){const{delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,animation(values.targetOriginX,config)),originY:delayFunction(delay,animation(values.targetOriginY,config)),width:delayFunction(delay,animation(values.targetWidth,config)),height:delayFunction(delay,animation(values.targetHeight,config))},callback:callback};}”};class Eh extends tf{static presetName=”LinearTransition”;static createInstance(){return new Eh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.getDelay();return function(){const o=function(o){return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:e(i,t(o.targetOriginX,n)),originY:e(i,t(o.targetOriginY,n)),width:e(i,t(o.targetWidth,n)),height:e(i,t(o.targetHeight,n))},callback:r}};return o.__closure={delayFunction:e,delay:i,animation:t,config:n,callback:r},o.__workletHash=8121541185586,o.__initData=_h,o}()}}const Sh=Eh,Ch={code:”function reactNativeReanimated_LightspeedJs1(values){const{delayFunction,delay,withTiming,duration,animation,config,withSequence,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,withTiming(1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(0,{…config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming(’10deg’,{duration:duration*0.7}),withTiming(‘-5deg’,{duration:duration*0.15}),withTiming(‘0deg’,{duration:duration*0.15})))}]},initialValues:{opacity:0,transform:[{translateX:values.windowWidth},{skewX:’-45deg’}],…initialValues},callback:callback};}”};class xh extends tf{static presetName=”LightSpeedInRight”;static createInstance(){return new xh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.getDuration(),o=this.callbackV,a=this.initialValues;return function(){const s=function(s){return{animations:{opacity:e(r,Ho(1,{duration:i})),transform:[{translateX:e(r,t(0,Object.assign({},n,{duration:.7*i})))},{skewX:e(r,qs(Ho(“10deg”,{duration:.7*i}),Ho(“-5deg”,{duration:.15*i}),Ho(“0deg”,{duration:.15*i})))}]},initialValues:Object.assign({opacity:0,transform:[{translateX:s.windowWidth},{skewX:”-45deg”}]},a),callback:o}};return s.__closure={delayFunction:e,delay:r,withTiming:Ho,duration:i,animation:t,config:n,withSequence:qs,initialValues:a,callback:o},s.__workletHash=0xbd160ac351e,s.__initData=Ch,s}()}}const Ah={code:”function reactNativeReanimated_LightspeedJs2(values){const{delayFunction,delay,withTiming,duration,animation,config,withSequence,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,withTiming(1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(0,{…config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming(‘-10deg’,{duration:duration*0.7}),withTiming(‘5deg’,{duration:duration*0.15}),withTiming(‘0deg’,{duration:duration*0.15})))}]},initialValues:{opacity:0,transform:[{translateX:-values.windowWidth},{skewX:’45deg’}],…initialValues},callback:callback};}”};class Rh extends tf{static presetName=”LightSpeedInLeft”;static createInstance(){return new Rh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.getDuration(),o=this.callbackV,a=this.initialValues;return function(){const s=function(s){return{animations:{opacity:e(r,Ho(1,{duration:i})),transform:[{translateX:e(r,t(0,Object.assign({},n,{duration:.7*i})))},{skewX:e(r,qs(Ho(“-10deg”,{duration:.7*i}),Ho(“5deg”,{duration:.15*i}),Ho(“0deg”,{duration:.15*i})))}]},initialValues:Object.assign({opacity:0,transform:[{translateX:-s.windowWidth},{skewX:”45deg”}]},a),callback:o}};return s.__closure={delayFunction:e,delay:r,withTiming:Ho,duration:i,animation:t,config:n,withSequence:qs,initialValues:a,callback:o},s.__workletHash=0xb560dcf8c3d,s.__initData=Ah,s}()}}const Th={code:”function reactNativeReanimated_LightspeedJs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{skewX:delayFunction(delay,animation(‘-45deg’,config))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:’0deg’}],…initialValues},callback:callback};}”};class Dh extends tf{static presetName=”LightSpeedOutRight”;static createInstance(){return new Dh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{translateX:e(r,t(a.windowWidth,n))},{skewX:e(r,t(“-45deg”,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateX:0},{skewX:”0deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=2150615836506,a.__initData=Th,a}()}}const Ih={code:”function reactNativeReanimated_LightspeedJs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{skewX:delayFunction(delay,animation(’45deg’,config))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:’0deg’}],…initialValues},callback:callback};}”};class Oh extends tf{static presetName=”LightSpeedOutLeft”;static createInstance(){return new Oh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{translateX:e(r,t(-a.windowWidth,n))},{skewX:e(r,t(“45deg”,n))}]},initialValues:Object.assign({opacity:1,transform:[{translateX:0},{skewX:”0deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=2945630233341,a.__initData=Ih,a}()}}const jh={code:”function reactNativeReanimated_PinwheelJs1(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{scale:delayFunction(delay,animation(1,config))},{rotate:delayFunction(delay,animation(‘0rad’,config))}]},initialValues:{opacity:0,transform:[{scale:0},{rotate:’5rad’}],…initialValues},callback:callback};}”};class Ph extends tf{static presetName=”PinwheelIn”;static createInstance(){return new Ph}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{opacity:e(r,t(1,n)),transform:[{scale:e(r,t(1,n))},{rotate:e(r,t(“0rad”,n))}]},initialValues:Object.assign({opacity:0,transform:[{scale:0},{rotate:”5rad”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=666965387913,a.__initData=jh,a}()}}const Mh={code:”function reactNativeReanimated_PinwheelJs2(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{scale:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation(‘5rad’,config))}]},initialValues:{opacity:1,transform:[{scale:1},{rotate:’0rad’}],…initialValues},callback:callback};}”};class Nh extends tf{static presetName=”PinwheelOut”;static createInstance(){return new Nh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{opacity:e(r,t(0,n)),transform:[{scale:e(r,t(0,n))},{rotate:e(r,t(“5rad”,n))}]},initialValues:Object.assign({opacity:1,transform:[{scale:1},{rotate:”0rad”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=8717185426154,a.__initData=Mh,a}()}}const Lh={code:”function reactNativeReanimated_RollJs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation(‘0deg’,config))}]},initialValues:{transform:[{translateX:-values.windowWidth},{rotate:’-180deg’}],…initialValues},callback:callback};}”};class Fh extends tf{static presetName=”RollInLeft”;static createInstance(){return new Fh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(0,n))},{rotate:e(r,t(“0deg”,n))}]},initialValues:Object.assign({transform:[{translateX:-a.windowWidth},{rotate:”-180deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=1717494557174,a.__initData=Lh,a}()}}const Vh={code:”function reactNativeReanimated_RollJs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation(‘0deg’,config))}]},initialValues:{transform:[{translateX:values.windowWidth},{rotate:’180deg’}],…initialValues},callback:callback};}”};class Bh extends tf{static presetName=”RollInRight”;static createInstance(){return new Bh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(0,n))},{rotate:e(r,t(“0deg”,n))}]},initialValues:Object.assign({transform:[{translateX:a.windowWidth},{rotate:”180deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=6184507813205,a.__initData=Vh,a}()}}const Hh={code:”function reactNativeReanimated_RollJs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{rotate:delayFunction(delay,animation(‘-180deg’,config))}]},initialValues:{transform:[{translateX:0},{rotate:’0deg’}],…initialValues},callback:callback};}”};class Uh extends tf{static presetName=”RollOutLeft”;static createInstance(){return new Uh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(-a.windowWidth,n))},{rotate:e(r,t(“-180deg”,n))}]},initialValues:Object.assign({transform:[{translateX:0},{rotate:”0deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xaf71eced274,a.__initData=Hh,a}()}}const zh={code:”function reactNativeReanimated_RollJs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{rotate:delayFunction(delay,animation(‘180deg’,config))}]},initialValues:{transform:[{translateX:0},{rotate:’0deg’}],…initialValues},callback:callback};}”};class Wh extends tf{static presetName=”RollOutRight”;static createInstance(){return new Wh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(a.windowWidth,n))},{rotate:e(r,t(“180deg”,n))}]},initialValues:Object.assign({transform:[{translateX:0},{rotate:”0deg”}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=4328194112115,a.__initData=zh,a}()}}const Kh={code:”function reactNativeReanimated_RotateJs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{rotate:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))},{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{rotate:’-90deg’},{translateX:values.targetWidth/2-values.targetHeight/2},{translateY:-(values.targetWidth/2-values.targetHeight/2)}],…initialValues},callback:callback};}”};class Xh extends tf{static presetName=”RotateInDownLeft”;static createInstance(){return new Xh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(1,n)),transform:[{rotate:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))},{translateY:e(r,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{rotate:”-90deg”},{translateX:a.targetWidth/2-a.targetHeight/2},{translateY:-(a.targetWidth/2-a.targetHeight/2)}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=5352377200590,a.__initData=Kh,a}()}}const qh={code:”function reactNativeReanimated_RotateJs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{rotate:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))},{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{rotate:’90deg’},{translateX:-(values.targetWidth/2-values.targetHeight/2)},{translateY:-(values.targetWidth/2-values.targetHeight/2)}],…initialValues},callback:callback};}”};class Gh extends tf{static presetName=”RotateInDownRight”;static createInstance(){return new Gh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(1,n)),transform:[{rotate:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))},{translateY:e(r,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{rotate:”90deg”},{translateX:-(a.targetWidth/2-a.targetHeight/2)},{translateY:-(a.targetWidth/2-a.targetHeight/2)}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=9042789026668,a.__initData=qh,a}()}}const Yh={code:”function reactNativeReanimated_RotateJs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{rotate:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))},{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{rotate:’90deg’},{translateX:values.targetWidth/2-values.targetHeight/2},{translateY:values.targetWidth/2-values.targetHeight/2}],…initialValues},callback:callback};}”};class Zh extends tf{static presetName=”RotateInUpLeft”;static createInstance(){return new Zh}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(1,n)),transform:[{rotate:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))},{translateY:e(r,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{rotate:”90deg”},{translateX:a.targetWidth/2-a.targetHeight/2},{translateY:a.targetWidth/2-a.targetHeight/2}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=6099232345325,a.__initData=Yh,a}()}}const Jh={code:”function reactNativeReanimated_RotateJs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{rotate:delayFunction(delay,animation(‘0deg’,config))},{translateX:delayFunction(delay,animation(0,config))},{translateY:delayFunction(delay,animation(0,config))}]},initialValues:{opacity:0,transform:[{rotate:’-90deg’},{translateX:-(values.targetWidth/2-values.targetHeight/2)},{translateY:values.targetWidth/2-values.targetHeight/2}],…initialValues},callback:callback};}”};class $h extends tf{static presetName=”RotateInUpRight”;static createInstance(){return new $h}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(1,n)),transform:[{rotate:e(r,t(“0deg”,n))},{translateX:e(r,t(0,n))},{translateY:e(r,t(0,n))}]},initialValues:Object.assign({opacity:0,transform:[{rotate:”-90deg”},{translateX:-(a.targetWidth/2-a.targetHeight/2)},{translateY:a.targetWidth/2-a.targetHeight/2}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xded5f28964b,a.__initData=Jh,a}()}}const Qh={code:”function reactNativeReanimated_RotateJs5(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{rotate:delayFunction(delay,animation(’90deg’,config))},{translateX:delayFunction(delay,animation(values.currentWidth/2-values.currentHeight/2,config))},{translateY:delayFunction(delay,animation(values.currentWidth/2-values.currentHeight/2,config))}]},initialValues:{opacity:1,transform:[{rotate:’0deg’},{translateX:0},{translateY:0}],…initialValues},callback:callback};}”};class em extends tf{static presetName=”RotateOutDownLeft”;static createInstance(){return new em}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{rotate:e(r,t(“90deg”,n))},{translateX:e(r,t(a.currentWidth/2-a.currentHeight/2,n))},{translateY:e(r,t(a.currentWidth/2-a.currentHeight/2,n))}]},initialValues:Object.assign({opacity:1,transform:[{rotate:”0deg”},{translateX:0},{translateY:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=3165232963211,a.__initData=Qh,a}()}}const tm={code:”function reactNativeReanimated_RotateJs6(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{rotate:delayFunction(delay,animation(‘-90deg’,config))},{translateX:delayFunction(delay,animation(-(values.currentWidth/2-values.currentHeight/2),config))},{translateY:delayFunction(delay,animation(values.currentWidth/2-values.currentHeight/2,config))}]},initialValues:{opacity:1,transform:[{rotate:’0deg’},{translateX:0},{translateY:0}],…initialValues},callback:callback};}”};class nm extends tf{static presetName=”RotateOutDownRight”;static createInstance(){return new nm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{rotate:e(r,t(“-90deg”,n))},{translateX:e(r,t(-(a.currentWidth/2-a.currentHeight/2),n))},{translateY:e(r,t(a.currentWidth/2-a.currentHeight/2,n))}]},initialValues:Object.assign({opacity:1,transform:[{rotate:”0deg”},{translateX:0},{translateY:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=6587003180297,a.__initData=tm,a}()}}const rm={code:”function reactNativeReanimated_RotateJs7(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{rotate:delayFunction(delay,animation(‘-90deg’,config))},{translateX:delayFunction(delay,animation(values.currentWidth/2-values.currentHeight/2,config))},{translateY:delayFunction(delay,animation(-(values.currentWidth/2-values.currentHeight/2),config))}]},initialValues:{opacity:1,transform:[{rotate:’0deg’},{translateX:0},{translateY:0}],…initialValues},callback:callback};}”};class im extends tf{static presetName=”RotateOutUpLeft”;static createInstance(){return new im}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{rotate:e(r,t(“-90deg”,n))},{translateX:e(r,t(a.currentWidth/2-a.currentHeight/2,n))},{translateY:e(r,t(-(a.currentWidth/2-a.currentHeight/2),n))}]},initialValues:Object.assign({opacity:1,transform:[{rotate:”0deg”},{translateX:0},{translateY:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=9228134651400,a.__initData=rm,a}()}}const om={code:”function reactNativeReanimated_RotateJs8(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{rotate:delayFunction(delay,animation(’90deg’,config))},{translateX:delayFunction(delay,animation(-(values.currentWidth/2-values.currentHeight/2),config))},{translateY:delayFunction(delay,animation(-(values.currentWidth/2-values.currentHeight/2),config))}]},initialValues:{opacity:1,transform:[{rotate:’0deg’},{translateX:0},{translateY:0}],…initialValues},callback:callback};}”};class am extends tf{static presetName=”RotateOutUpRight”;static createInstance(){return new am}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{opacity:e(r,t(0,n)),transform:[{rotate:e(r,t(“90deg”,n))},{translateX:e(r,t(-(a.currentWidth/2-a.currentHeight/2),n))},{translateY:e(r,t(-(a.currentWidth/2-a.currentHeight/2),n))}]},initialValues:Object.assign({opacity:1,transform:[{rotate:”0deg”},{translateX:0},{translateY:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=7154390421766,a.__initData=om,a}()}}const sm={code:”function reactNativeReanimated_SequencedTransitionJs1(values){const{delayFunction,delay,withSequence,withTiming,reverse,config,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withSequence(withTiming(reverse?values.currentOriginX:values.targetOriginX,config),withTiming(values.targetOriginX,config))),originY:delayFunction(delay,withSequence(withTiming(reverse?values.targetOriginY:values.currentOriginY,config),withTiming(values.targetOriginY,config))),width:delayFunction(delay,withSequence(withTiming(reverse?values.currentWidth:values.targetWidth,config),withTiming(values.targetWidth,config))),height:delayFunction(delay,withSequence(withTiming(reverse?values.targetHeight:values.currentHeight,config),withTiming(values.targetHeight,config)))},callback:callback};}”};class lm extends ef{static presetName=”SequencedTransition”;reversed=!1;static createInstance(){return new lm}static reverse(){return lm.createInstance().reverse()}reverse(){return this.reversed=!this.reversed,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r={duration:(this.durationV??500)/2},i=this.reversed;return function(){const o=function(o){return{initialValues:{originX:o.currentOriginX,originY:o.currentOriginY,width:o.currentWidth,height:o.currentHeight},animations:{originX:e(n,qs(Ho(i?o.currentOriginX:o.targetOriginX,r),Ho(o.targetOriginX,r))),originY:e(n,qs(Ho(i?o.targetOriginY:o.currentOriginY,r),Ho(o.targetOriginY,r))),width:e(n,qs(Ho(i?o.currentWidth:o.targetWidth,r),Ho(o.targetWidth,r))),height:e(n,qs(Ho(i?o.targetHeight:o.currentHeight,r),Ho(o.targetHeight,r)))},callback:t}};return o.__closure={delayFunction:e,delay:n,withSequence:qs,withTiming:Ho,reverse:i,config:r,callback:t},o.__workletHash=0xc84270322ed,o.__initData=sm,o}()}}const cm={code:”function reactNativeReanimated_SlideJs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(values.targetOriginX,config))},initialValues:{originX:values.targetOriginX+values.windowWidth,…initialValues},callback:callback};}”};class um extends tf{static presetName=”SlideInRight”;static createInstance(){return new um}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originX:e(r,t(a.targetOriginX,n))},initialValues:Object.assign({originX:a.targetOriginX+a.windowWidth},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=2105442335056,a.__initData=cm,a}()}}const dm={code:”function reactNativeReanimated_SlideJs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(values.targetOriginX,config))},initialValues:{originX:values.targetOriginX-values.windowWidth,…initialValues},callback:callback};}”};class pm extends tf{static presetName=”SlideInLeft”;static createInstance(){return new pm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originX:e(r,t(a.targetOriginX,n))},initialValues:Object.assign({originX:a.targetOriginX-a.windowWidth},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=525408064277,a.__initData=dm,a}()}}const fm={code:”function reactNativeReanimated_SlideJs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(Math.max(values.currentOriginX+values.windowWidth,values.windowWidth),config))},initialValues:{originX:values.currentOriginX,…initialValues},callback:callback};}”};class hm extends tf{static presetName=”SlideOutRight”;static createInstance(){return new hm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originX:e(r,t(Math.max(a.currentOriginX+a.windowWidth,a.windowWidth),n))},initialValues:Object.assign({originX:a.currentOriginX},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xe5be8ca40e9,a.__initData=fm,a}()}}const mm={code:”function reactNativeReanimated_SlideJs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(Math.min(values.currentOriginX-values.windowWidth,-values.windowWidth),config))},initialValues:{originX:values.currentOriginX,…initialValues},callback:callback};}”};class gm extends tf{static presetName=”SlideOutLeft”;static createInstance(){return new gm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originX:e(r,t(Math.min(a.currentOriginX-a.windowWidth,-a.windowWidth),n))},initialValues:Object.assign({originX:a.currentOriginX},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=5193954722779,a.__initData=mm,a}()}}const ym={code:”function reactNativeReanimated_SlideJs5(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(values.targetOriginY,config))},initialValues:{originY:-values.windowHeight,…initialValues},callback:callback};}”};class vm extends tf{static presetName=”SlideInUp”;static createInstance(){return new vm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originY:e(r,t(a.targetOriginY,n))},initialValues:Object.assign({originY:-a.windowHeight},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0x9a5db09d241,a.__initData=ym,a}()}}const bm={code:”function reactNativeReanimated_SlideJs6(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(values.targetOriginY,config))},initialValues:{originY:values.targetOriginY+values.windowHeight,…initialValues},callback:callback};}”};class wm extends tf{static presetName=”SlideInDown”;static createInstance(){return new wm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originY:e(r,t(a.targetOriginY,n))},initialValues:Object.assign({originY:a.targetOriginY+a.windowHeight},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xcb198fef48e,a.__initData=bm,a}()}}const km={code:”function reactNativeReanimated_SlideJs7(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(Math.min(values.currentOriginY-values.windowHeight,-values.windowHeight),config))},initialValues:{originY:values.currentOriginY,…initialValues},callback:callback};}”};class _m extends tf{static presetName=”SlideOutUp”;static createInstance(){return new _m}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originY:e(r,t(Math.min(a.currentOriginY-a.windowHeight,-a.windowHeight),n))},initialValues:Object.assign({originY:a.currentOriginY},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xab0e66d4df8,a.__initData=km,a}()}}const Em={code:”function reactNativeReanimated_SlideJs8(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(Math.max(values.currentOriginY+values.windowHeight,values.windowHeight),config))},initialValues:{originY:values.currentOriginY,…initialValues},callback:callback};}”};class Sm extends tf{static presetName=”SlideOutDown”;static createInstance(){return new Sm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{originY:e(r,t(Math.max(a.currentOriginY+a.windowHeight,a.windowHeight),n))},initialValues:Object.assign({originY:a.currentOriginY},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=561109535554,a.__initData=Em,a}()}}const Cm={code:”function reactNativeReanimated_StretchJs1(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scaleX:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{scaleX:0}],…initialValues},callback:callback};}”};class xm extends tf{static presetName=”StretchInX”;static createInstance(){return new xm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scaleX:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{scaleX:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xbe0581be7e6,a.__initData=Cm,a}()}}const Am={code:”function reactNativeReanimated_StretchJs2(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scaleY:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{scaleY:0}],…initialValues},callback:callback};}”};class Rm extends tf{static presetName=”StretchInY”;static createInstance(){return new Rm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scaleY:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{scaleY:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=1979717714597,a.__initData=Am,a}()}}const Tm={code:”function reactNativeReanimated_StretchJs3(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scaleX:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{scaleX:1}],…initialValues},callback:callback};}”};class Dm extends tf{static presetName=”StretchOutX”;static createInstance(){return new Dm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scaleX:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{scaleX:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xb46c85b0a24,a.__initData=Tm,a}()}}const Im={code:”function reactNativeReanimated_StretchJs4(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scaleY:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{scaleY:1}],…initialValues},callback:callback};}”};class Om extends tf{static presetName=”StretchOutY”;static createInstance(){return new Om}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scaleY:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{scaleY:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=2583716022883,a.__initData=Im,a}()}}const jm={code:”function reactNativeReanimated_ZoomJs1(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{scale:0}],…initialValues},callback:callback};}”};class Pm extends tf{static presetName=”ZoomIn”;static createInstance(){return new Pm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xbd48626253e,a.__initData=jm,a}()}}const Mm={code:’function reactNativeReanimated_ZoomJs2(){const{delayFunction,delay,animation,config,rotate,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,animation(1,config))},{rotate:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{scale:0},{rotate:rotate+”rad”}],…initialValues},callback:callback};}’};class Nm extends tf{static presetName=”ZoomInRotate”;static createInstance(){return new Nm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.rotateV?this.rotateV:”0.3″,o=this.callbackV,a=this.initialValues;return function(){const s=function(){return{animations:{transform:[{scale:e(r,t(1,n))},{rotate:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{scale:0},{rotate:`${i}rad`}]},a),callback:o}};return s.__closure={delayFunction:e,delay:r,animation:t,config:n,rotate:i,initialValues:a,callback:o},s.__workletHash=9775775576323,s.__initData=Mm,s}()}}const Lm={code:”function reactNativeReanimated_ZoomJs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateX:-values.windowWidth},{scale:0}],…initialValues},callback:callback};}”};class Fm extends tf{static presetName=”ZoomInLeft”;static createInstance(){return new Fm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateX:-a.windowWidth},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=7924057890523,a.__initData=Lm,a}()}}const Vm={code:”function reactNativeReanimated_ZoomJs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateX:values.windowWidth},{scale:0}],…initialValues},callback:callback};}”};class Bm extends tf{static presetName=”ZoomInRight”;static createInstance(){return new Bm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateX:a.windowWidth},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xbb227297a31,a.__initData=Vm,a}()}}const Hm={code:”function reactNativeReanimated_ZoomJs5(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateY:-values.windowHeight},{scale:0}],…initialValues},callback:callback};}”};class Um extends tf{static presetName=”ZoomInUp”;static createInstance(){return new Um}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateY:-a.windowHeight},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xef0d90d7384,a.__initData=Hm,a}()}}const zm={code:”function reactNativeReanimated_ZoomJs6(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateY:values.windowHeight},{scale:0}],…initialValues},callback:callback};}”};class Wm extends tf{static presetName=”ZoomInDown”;static createInstance(){return new Wm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateY:a.windowHeight},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xa096f31e38a,a.__initData=zm,a}()}}const Km={code:”function reactNativeReanimated_ZoomJs7(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateY:-values.targetHeight},{scale:0}],…initialValues},callback:callback};}”};class Xm extends tf{static presetName=”ZoomInEasyUp”;static createInstance(){return new Xm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateY:-a.targetHeight},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=5737861637979,a.__initData=Km,a}()}}const qm={code:”function reactNativeReanimated_ZoomJs8(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(0,config))},{scale:delayFunction(delay,animation(1,config))}]},initialValues:{transform:[{translateY:values.targetHeight},{scale:0}],…initialValues},callback:callback};}”};class Gm extends tf{static presetName=”ZoomInEasyDown”;static createInstance(){return new Gm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(0,n))},{scale:e(r,t(1,n))}]},initialValues:Object.assign({transform:[{translateY:a.targetHeight},{scale:0}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xc0ffb562439,a.__initData=qm,a}()}}const Ym={code:”function reactNativeReanimated_ZoomJs9(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{scale:1}],…initialValues},callback:callback};}”};class Zm extends tf{static presetName=”ZoomOut”;static createInstance(){return new Zm}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(){return{animations:{transform:[{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=1159099652758,a.__initData=Ym,a}()}}const Jm={code:”function reactNativeReanimated_ZoomJs10(){const{delayFunction,delay,animation,config,rotate,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation(rotate,config))}]},initialValues:{transform:[{scale:1},{rotate:’0rad’}],…initialValues},callback:callback};}”};class $m extends tf{static presetName=”ZoomOutRotate”;static createInstance(){return new $m}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.rotateV?this.rotateV:”0.3″,o=this.callbackV,a=this.initialValues;return function(){const s=function(){return{animations:{transform:[{scale:e(r,t(0,n))},{rotate:e(r,t(i,n))}]},initialValues:Object.assign({transform:[{scale:1},{rotate:”0rad”}]},a),callback:o}};return s.__closure={delayFunction:e,delay:r,animation:t,config:n,rotate:i,initialValues:a,callback:o},s.__workletHash=9183648630459,s.__initData=Jm,s}()}}const Qm={code:”function reactNativeReanimated_ZoomJs11(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateX:0},{scale:1}],…initialValues},callback:callback};}”};class eg extends tf{static presetName=”ZoomOutLeft”;static createInstance(){return new eg}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(-a.windowWidth,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateX:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=1850484736744,a.__initData=Qm,a}()}}const tg={code:”function reactNativeReanimated_ZoomJs12(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateX:0},{scale:1}],…initialValues},callback:callback};}”};class ng extends tf{static presetName=”ZoomOutRight”;static createInstance(){return new ng}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateX:e(r,t(a.windowWidth,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateX:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=5269717396294,a.__initData=tg,a}()}}const rg={code:”function reactNativeReanimated_ZoomJs13(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(-values.windowHeight,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateY:0},{scale:1}],…initialValues},callback:callback};}”};class ig extends tf{static presetName=”ZoomOutUp”;static createInstance(){return new ig}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(-a.windowHeight,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateY:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=8329813472947,a.__initData=rg,a}()}}const og={code:”function reactNativeReanimated_ZoomJs14(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(values.windowHeight,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateY:0},{scale:1}],…initialValues},callback:callback};}”};class ag extends tf{static presetName=”ZoomOutDown”;static createInstance(){return new ag}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(a.windowHeight,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateY:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xc70efe19f19,a.__initData=og,a}()}}const sg={code:”function reactNativeReanimated_ZoomJs15(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(-values.currentHeight,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateY:0},{scale:1}],…initialValues},callback:callback};}”};class lg extends tf{static presetName=”ZoomOutEasyUp”;static createInstance(){return new lg}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(-a.currentHeight,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateY:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=0xb948da35570,a.__initData=sg,a}()}}const cg={code:”function reactNativeReanimated_ZoomJs16(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,animation(values.currentHeight,config))},{scale:delayFunction(delay,animation(0,config))}]},initialValues:{transform:[{translateY:0},{scale:1}],…initialValues},callback:callback};}”};class ug extends tf{static presetName=”ZoomOutEasyDown”;static createInstance(){return new ug}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,o=this.initialValues;return function(){const a=function(a){return{animations:{transform:[{translateY:e(r,t(a.currentHeight,n))},{scale:e(r,t(0,n))}]},initialValues:Object.assign({transform:[{translateY:0},{scale:1}]},o),callback:i}};return a.__closure={delayFunction:e,delay:r,animation:t,config:n,initialValues:o,callback:i},a.__workletHash=8014137760958,a.__initData=cg,a}()}}function dg(){L.warn(“dispatchCommand() is not supported on web.”)}function pg(e){const t=e();if(-1===t)return L.warn(`The view with tag ${t} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=t.getBoundingClientRect();return{width:t.offsetWidth,height:t.offsetHeight,x:t.offsetLeft,y:t.offsetTop,pageX:n.left,pageY:n.top}}const fg={code:”function getRelativeCoords_reactNativeReanimated_getRelativeCoordsJs1(animatedRef,absoluteX,absoluteY){const{measure}=this.__closure;const parentCoords=measure(animatedRef);if(parentCoords===null){return null;}return{x:absoluteX-parentCoords.pageX,y:absoluteY-parentCoords.pageY};}”},hg=function(){const e=function(e,t,n){const r=pg(e);return null===r?null:{x:t-r.pageX,y:n-r.pageY}};return e.__closure={measure:pg},e.__workletHash=5752716742403,e.__initData=fg,e}();function mg(e,t,n,r){const i=e();if(-1!==i){const e=i;e?.scrollTo({x:t,y:n,animated:r})}}function gg(){L.warn(“setGestureState() is not available on web.”)}function yg(e,t){const n=e();Ca(t,n)}function vg(){return”It looks like you might be using shared value’s .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling”}function bg(e,t){const n={};return t?.forEach((e=>{n[e]=!0})),ma(n),e}const wg=U(),kg={code:”function createViewDescriptorPaper_reactNativeReanimated_styleUpdaterJs1(screenId){return{tag:screenId,name:’RCTView’};}”},_g=function(){const e=function(e){return{tag:e,name:”RCTView”}};return e.__closure={},e.__workletHash=0xd4d7f9ac17c,e.__initData=kg,e}(),Eg={code:”function createViewDescriptorFabric_reactNativeReanimated_styleUpdaterJs2(screenId){return{shadowNodeWrapper:screenId};}”},Sg=function(){const e=function(e){return{shadowNodeWrapper:e}};return e.__closure={},e.__workletHash=0xc44a6d8360a,e.__initData=Eg,e}(),Cg=wg?Sg:_g,xg={code:”function applyStyleForTopScreen_reactNativeReanimated_styleUpdaterJs3(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,topScreenId:topScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{topScreenStyle:computeTopScreenStyle}=screenTransition;const topScreenStyle=computeTopScreenStyle(event,screenDimensions);const topScreenDescriptor={value:[createViewDescriptor(topScreenId)]};updateProps(topScreenDescriptor,topScreenStyle,undefined);}”},Ag=function(){const e=function(e,t){const{screenDimensions:n,topScreenId:r,screenTransition:i}=e,{topScreenStyle:o}=i,a=o(t,n),s={value:[Cg(r)]};Vl(s,a,void 0)};return e.__closure={createViewDescriptor:Cg,updateProps:Vl},e.__workletHash=0xe08e852d7fc,e.__initData=xg,e}(),Rg={code:”function applyStyleForBelowTopScreen_reactNativeReanimated_styleUpdaterJs4(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,belowTopScreenId:belowTopScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{belowTopScreenStyle:computeBelowTopScreenStyle}=screenTransition;const belowTopScreenStyle=computeBelowTopScreenStyle(event,screenDimensions);const belowTopScreenDescriptor={value:[createViewDescriptor(belowTopScreenId)]};updateProps(belowTopScreenDescriptor,belowTopScreenStyle,undefined);}”},Tg=function(){const e=function(e,t){const{screenDimensions:n,belowTopScreenId:r,screenTransition:i}=e,{belowTopScreenStyle:o}=i,a=o(t,n),s={value:[Cg(r)]};Vl(s,a,void 0)};return e.__closure={createViewDescriptor:Cg,updateProps:Vl},e.__workletHash=2747176653608,e.__initData=Rg,e}(),Dg={code:”function applyStyle_reactNativeReanimated_styleUpdaterJs5(screenTransitionConfig,event){const{applyStyleForTopScreen,applyStyleForBelowTopScreen}=this.__closure;applyStyleForTopScreen(screenTransitionConfig,event);applyStyleForBelowTopScreen(screenTransitionConfig,event);}”},Ig=function(){const e=function(e,t){Ag(e,t),Tg(e,t)};return e.__closure={applyStyleForTopScreen:Ag,applyStyleForBelowTopScreen:Tg},e.__workletHash=7793038430696,e.__initData=Dg,e}(),Og={code:”function reactNativeReanimated_RNScreensTurboModuleJs1(){const{logger,defaultReturnValue}=this.__closure;logger.warn(‘RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app.’);return defaultReturnValue;}”};function jg(e){return function(){const t=function(){return L.warn(“RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app.”),e};return t.__closure={logger:L,defaultReturnValue:e},t.__workletHash=0xf6fca5659c1,t.__initData=Og,t}()}const Pg=r.g.RNScreensTurboModule||{startTransition:jg({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:jg(),finishTransition:jg()},Mg=400,Ng={code:”function computeEasingProgress_reactNativeReanimated_swipeSimulatorJs1(startingTimestamp,distance,velocity){if(Math.abs(distance)<1){return 1;}const elapsedTime=(_getAnimationTimestamp()-startingTimestamp)/1000;const currentPosition=velocity*elapsedTime;const progress=currentPosition/distance;return progress;}"},Lg=function(){const e=function(e,t,n){if(Math.abs(t)<1)return 1;return n*((_getAnimationTimestamp()-e)/1e3)/t};return e.__closure={},e.__workletHash=0xd3bf9952dcf,e.__initData=Ng,e}(),Fg={code:"function easing_reactNativeReanimated_swipeSimulatorJs2(x){return 1-Math.pow(1-x,5);}"},Vg=function(){const e=function(e){return 1-Math.pow(1-e,5)};return e.__closure={},e.__workletHash=0x9cf7ced9ed7,e.__initData=Fg,e}(),Bg={code:"function computeProgress_reactNativeReanimated_swipeSimulatorJs3(screenTransitionConfig,event,isTransitionCanceled){const screenDimensions=screenTransitionConfig.screenDimensions;const progressX=Math.abs(event.translationX/screenDimensions.width);const progressY=Math.abs(event.translationY/screenDimensions.height);const maxProgress=Math.max(progressX,progressY);const progress=isTransitionCanceled?maxProgress/2:maxProgress;return progress;}"},Hg=function(){const e=function(e,t,n){const r=e.screenDimensions,i=Math.abs(t.translationX/r.width),o=Math.abs(t.translationY/r.height),a=Math.max(i,o);return n?a/2:a};return e.__closure={},e.__workletHash=1991703960680,e.__initData=Bg,e}(),Ug={code:"function maybeScheduleNextFrame_reactNativeReanimated_swipeSimulatorJs4(step,didScreenReachDestination,screenTransitionConfig,event,isTransitionCanceled){const{computeProgress,RNScreensTurboModule}=this.__closure;if(!didScreenReachDestination){const stackTag=screenTransitionConfig.stackTag;const progress=computeProgress(screenTransitionConfig,event,isTransitionCanceled);RNScreensTurboModule.updateTransition(stackTag,progress);requestAnimationFrame(step);}else{var _screenTransitionConf;(_screenTransitionConf=screenTransitionConfig.onFinishAnimation)===null||_screenTransitionConf===void 0||_screenTransitionConf.call(screenTransitionConfig);}}"},zg=function(){const e=function(e,t,n,r,i){if(t)n.onFinishAnimation?.();else{const t=n.stackTag,o=Hg(n,r,i);Pg.updateTransition(t,o),requestAnimationFrame(e)}};return e.__closure={computeProgress:Hg,RNScreensTurboModule:Pg},e.__workletHash=5191610802729,e.__initData=Ug,e}(),Wg={code:"function getSwipeSimulator_reactNativeReanimated_swipeSimulatorJs5(event,screenTransitionConfig,lockAxis){const{BASE_VELOCITY,ADDITIONAL_VELOCITY_FACTOR_X,ADDITIONAL_VELOCITY_FACTOR_Y,ADDITIONAL_VELOCITY_FACTOR_XY,applyStyleForBelowTopScreen,computeEasingProgress,easing,applyStyle,maybeScheduleNextFrame}=this.__closure;const screenDimensions=screenTransitionConfig.screenDimensions;const startTimestamp=_getAnimationTimestamp();const{isTransitionCanceled:isTransitionCanceled}=screenTransitionConfig;const startingPosition={x:event.translationX,y:event.translationY};const direction={x:Math.sign(event.translationX),y:Math.sign(event.translationY)};const finalPosition=isTransitionCanceled?{x:0,y:0}:{x:direction.x*screenDimensions.width,y:direction.y*screenDimensions.height};const distance={x:Math.abs(finalPosition.x-startingPosition.x),y:Math.abs(finalPosition.y-startingPosition.y)};const didScreenReachDestination={x:false,y:false};const velocity={x:BASE_VELOCITY,y:BASE_VELOCITY};if(lockAxis==='x'){velocity.y=0;velocity.x+=ADDITIONAL_VELOCITY_FACTOR_X*distance.x/screenDimensions.width;}else if(lockAxis==='y'){velocity.x=0;velocity.y+=ADDITIONAL_VELOCITY_FACTOR_Y*distance.y/screenDimensions.height;}else{const euclideanDistance=Math.sqrt(distance.x**2+distance.y**2);const screenDiagonal=Math.sqrt(screenDimensions.width**2+screenDimensions.height**2);const velocityVectorLength=BASE_VELOCITY+ADDITIONAL_VELOCITY_FACTOR_XY*euclideanDistance/screenDiagonal;if(Math.abs(startingPosition.x)>Math.abs(startingPosition.y)){velocity.x=velocityVectorLength;velocity.y=velocityVectorLength*Math.abs(startingPosition.y/startingPosition.x);}else{velocity.x=velocityVectorLength*Math.abs(startingPosition.x/startingPosition.y);velocity.y=velocityVectorLength;}}if(isTransitionCanceled){function didScreenReachDestinationCheck(){if(lockAxis===’x’){return didScreenReachDestination.x;}else if(lockAxis===’y’){return didScreenReachDestination.y;}else{return didScreenReachDestination.x&&didScreenReachDestination.y;}}function restoreOriginalStyleForBelowTopScreen(){event.translationX=direction.x*screenDimensions.width;event.translationY=direction.y*screenDimensions.height;applyStyleForBelowTopScreen(screenTransitionConfig,event);}const computeFrame=function(){const progress={x:computeEasingProgress(startTimestamp,distance.x,velocity.x),y:computeEasingProgress(startTimestamp,distance.y,velocity.y)};event.translationX=startingPosition.x-direction.x*distance.x*easing(progress.x);event.translationY=startingPosition.y-direction.y*distance.y*easing(progress.y);if(direction.x>0){if(event.translationX<=0){didScreenReachDestination.x=true;event.translationX=0;}}else{if(event.translationX>=0){didScreenReachDestination.x=true;event.translationX=0;}}if(direction.y>0){if(event.translationY<=0){didScreenReachDestination.y=true;event.translationY=0;}}else{if(event.translationY>=0){didScreenReachDestination.y=true;event.translationY=0;}}applyStyle(screenTransitionConfig,event);const finished=didScreenReachDestinationCheck();if(finished){restoreOriginalStyleForBelowTopScreen();}maybeScheduleNextFrame(computeFrame,finished,screenTransitionConfig,event,isTransitionCanceled);};return computeFrame;}else{const computeFrame=function(){const progress={x:computeEasingProgress(startTimestamp,distance.x,velocity.x),y:computeEasingProgress(startTimestamp,distance.y,velocity.y)};event.translationX=startingPosition.x+direction.x*distance.x*easing(progress.x);event.translationY=startingPosition.y+direction.y*distance.y*easing(progress.y);if(direction.x>0){if(event.translationX>=screenDimensions.width){didScreenReachDestination.x=true;event.translationX=screenDimensions.width;}}else{if(event.translationX<=-screenDimensions.width){didScreenReachDestination.x=true;event.translationX=-screenDimensions.width;}}if(direction.y>0){if(event.translationY>=screenDimensions.height){didScreenReachDestination.y=true;event.translationY=screenDimensions.height;}}else{if(event.translationY<=-screenDimensions.height){didScreenReachDestination.y=true;event.translationY=-screenDimensions.height;}}applyStyle(screenTransitionConfig,event);maybeScheduleNextFrame(computeFrame,didScreenReachDestination.x||didScreenReachDestination.y,screenTransitionConfig,event,isTransitionCanceled);};return computeFrame;}}"},Kg=function(){const e=function(e,t,n){const r=t.screenDimensions,i=_getAnimationTimestamp(),{isTransitionCanceled:o}=t,a={x:e.translationX,y:e.translationY},s=Math.sign(e.translationX),l=Math.sign(e.translationY),c=o?{x:0,y:0}:{x:s*r.width,y:l*r.height},u={x:Math.abs(c.x-a.x),y:Math.abs(c.y-a.y)},d={x:!1,y:!1},p={x:Mg,y:Mg};if("x"===n)p.y=0,p.x+=400*u.x/r.width;else if("y"===n)p.x=0,p.y+=500*u.y/r.height;else{const e=Math.sqrt(u.x**2+u.y**2),t=Math.sqrt(r.width**2+r.height**2),n=Mg+600*e/t;Math.abs(a.x)>Math.abs(a.y)?(p.x=n,p.y=n*Math.abs(a.y/a.x)):(p.x=n*Math.abs(a.x/a.y),p.y=n)}if(o){const c=()=>{const f={x:Lg(i,u.x,p.x),y:Lg(i,u.y,p.y)};e.translationX=a.x-s*u.x*Vg(f.x),e.translationY=a.y-l*u.y*Vg(f.y),s>0?e.translationX<=0&&(d.x=!0,e.translationX=0):e.translationX>=0&&(d.x=!0,e.translationX=0),l>0?e.translationY<=0&&(d.y=!0,e.translationY=0):e.translationY>=0&&(d.y=!0,e.translationY=0),Ig(t,e);const h=”x”===n?d.x:(“y”===n||d.x)&&d.y;h&&(e.translationX=s*r.width,e.translationY=l*r.height,Tg(t,e)),zg(c,h,t,e,o)};return c}{const n=()=>{const c={x:Lg(i,u.x,p.x),y:Lg(i,u.y,p.y)};e.translationX=a.x+s*u.x*Vg(c.x),e.translationY=a.y+l*u.y*Vg(c.y),s>0?e.translationX>=r.width&&(d.x=!0,e.translationX=r.width):e.translationX<=-r.width&&(d.x=!0,e.translationX=-r.width),l>0?e.translationY>=r.height&&(d.y=!0,e.translationY=r.height):e.translationY<=-r.height&&(d.y=!0,e.translationY=-r.height),Ig(t,e),zg(n,d.x||d.y,t,e,o)};return n}};return e.__closure={BASE_VELOCITY:Mg,ADDITIONAL_VELOCITY_FACTOR_X:400,ADDITIONAL_VELOCITY_FACTOR_Y:500,ADDITIONAL_VELOCITY_FACTOR_XY:600,applyStyleForBelowTopScreen:Tg,computeEasingProgress:Lg,easing:Vg,applyStyle:Ig,maybeScheduleNextFrame:zg},e.__workletHash=0xdbe497e2a3f,e.__initData=Wg,e}();ha();const Xg={code:"function startScreenTransition_reactNativeReanimated_animationManagerJs1(screenTransitionConfig){const{applyStyle}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent}=screenTransitionConfig;sharedEvent.addListener(stackTag,function(){applyStyle(screenTransitionConfig,sharedEvent.value);});}"},qg=function(){const e=function(e){const{stackTag:t,sharedEvent:n}=e;n.addListener(t,(()=>{Ig(e,n.value)}))};return e.__closure={applyStyle:Ig},e.__workletHash=0xda6f934d915,e.__initData=Xg,e}(),Gg={code:”function getLockAxis_reactNativeReanimated_animationManagerJs2(goBackGesture){if([‘swipeRight’,’swipeLeft’,’horizontalSwipe’].includes(goBackGesture)){return’x’;}else if([‘swipeUp’,’swipeDown’,’verticalSwipe’].includes(goBackGesture)){return’y’;}return undefined;}”},Yg=function(){const e=function(e){return[“swipeRight”,”swipeLeft”,”horizontalSwipe”].includes(e)?”x”:[“swipeUp”,”swipeDown”,”verticalSwipe”].includes(e)?”y”:void 0};return e.__closure={},e.__workletHash=0xc3b25d020cb,e.__initData=Gg,e}(),Zg={code:”function finishScreenTransition_reactNativeReanimated_animationManagerJs3(screenTransitionConfig){const{getLockAxis,getSwipeSimulator}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent,goBackGesture:goBackGesture}=screenTransitionConfig;sharedEvent.removeListener(stackTag);const lockAxis=getLockAxis(goBackGesture);const step=getSwipeSimulator(sharedEvent.value,screenTransitionConfig,lockAxis);step();}”},Jg=function(){const e=function(e){const{stackTag:t,sharedEvent:n,goBackGesture:r}=e;n.removeListener(t);const i=Yg(r);Kg(n.value,e,i)()};return e.__closure={getLockAxis:Yg,getSwipeSimulator:Kg},e.__workletHash=3004477788376,e.__initData=Zg,e}(),$g={code:”function reactNativeReanimated_presetsJs1(event){return{transform:[{translateX:event.translationX}]};}”},Qg={code:”function reactNativeReanimated_presetsJs2(event,screenSize){return{transform:[{translateX:(event.translationX-screenSize.width)*0.3}]};}”},ey={topScreenStyle:function(){const e=function(e){return{transform:[{translateX:e.translationX}]}};return e.__closure={},e.__workletHash=5484936344083,e.__initData=$g,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{transform:[{translateX:.3*(e.translationX-t.width)}]}};return e.__closure={},e.__workletHash=1982736006015,e.__initData=Qg,e}()},ty={code:”function reactNativeReanimated_presetsJs3(event){return{transform:[{translateX:event.translationX}]};}”},ny={code:”function reactNativeReanimated_presetsJs4(event,screenSize){return{transform:[{translateX:(event.translationX+screenSize.width)*0.3}]};}”},ry={topScreenStyle:function(){const e=function(e){return{transform:[{translateX:e.translationX}]}};return e.__closure={},e.__workletHash=0xc43157b0311,e.__initData=ty,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{transform:[{translateX:.3*(e.translationX+t.width)}]}};return e.__closure={},e.__workletHash=1538455951551,e.__initData=ny,e}()},iy={code:”function reactNativeReanimated_presetsJs5(event){return{transform:[{translateY:event.translationY}]};}”},oy={code:”function reactNativeReanimated_presetsJs6(event,screenSize){return{transform:[{translateY:(event.translationY-screenSize.height)*0.3}]};}”},ay={topScreenStyle:function(){const e=function(e){return{transform:[{translateY:e.translationY}]}};return e.__closure={},e.__workletHash=0xa151fe08477,e.__initData=iy,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{transform:[{translateY:.3*(e.translationY-t.height)}]}};return e.__closure={},e.__workletHash=5133619612290,e.__initData=oy,e}()},sy={code:”function reactNativeReanimated_presetsJs7(event){return{transform:[{translateY:event.translationY}]};}”},ly={code:”function reactNativeReanimated_presetsJs8(event,screenSize){return{transform:[{translateY:(event.translationY+screenSize.height)*0.3}]};}”},cy={topScreenStyle:function(){const e=function(e){return{transform:[{translateY:e.translationY}]}};return e.__closure={},e.__workletHash=4987507595125,e.__initData=sy,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{transform:[{translateY:.3*(e.translationY+t.height)}]}};return e.__closure={},e.__workletHash=0xf69bcbc8cca,e.__initData=ly,e}()},uy={code:”function reactNativeReanimated_presetsJs9(event,_screenSize){return{transform:[{translateX:event.translationX},{translateY:event.translationY}]};}”},dy={code:”function reactNativeReanimated_presetsJs10(_event,_screenSize){return{};}”},py={topScreenStyle:function(){const e=function(e,t){return{transform:[{translateX:e.translationX},{translateY:e.translationY}]}};return e.__closure={},e.__workletHash=1955209496670,e.__initData=uy,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{}};return e.__closure={},e.__workletHash=0xc395843a105,e.__initData=dy,e}()},fy={code:”function reactNativeReanimated_presetsJs11(event,_screenSize){return{transform:[{translateX:event.translationX}]};}”},hy={code:”function reactNativeReanimated_presetsJs12(_event,_screenSize){return{};}”},my={topScreenStyle:function(){const e=function(e,t){return{transform:[{translateX:e.translationX}]}};return e.__closure={},e.__workletHash=9289617012344,e.__initData=fy,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{}};return e.__closure={},e.__workletHash=0x9f91ee8d147,e.__initData=hy,e}()},gy={code:”function reactNativeReanimated_presetsJs13(event,_screenSize){return{transform:[{translateY:event.translationY}]};}”},yy={code:”function reactNativeReanimated_presetsJs14(_event,_screenSize){return{};}”},vy={topScreenStyle:function(){const e=function(e,t){return{transform:[{translateY:e.translationY}]}};return e.__closure={},e.__workletHash=0xab663eedb5a,e.__initData=gy,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{}};return e.__closure={},e.__workletHash=2357616099201,e.__initData=yy,e}()},by={code:”function reactNativeReanimated_presetsJs15(event,screenSize){return{opacity:1-Math.abs(event.translationX/screenSize.width)};}”},wy={code:”function reactNativeReanimated_presetsJs16(_event,_screenSize){return{};}”},ky={SwipeRight:ey,SwipeLeft:ry,SwipeDown:ay,SwipeUp:cy,Horizontal:my,Vertical:vy,TwoDimensional:py,SwipeRightFade:{topScreenStyle:function(){const e=function(e,t){return{opacity:1-Math.abs(e.translationX/t.width)}};return e.__closure={},e.__workletHash=0xed8b6e7e2ef,e.__initData=by,e}(),belowTopScreenStyle:function(){const e=function(e,t){return{}};return e.__closure={},e.__workletHash=0xfe3b383efc3,e.__initData=wy,e}()}},_y=i},26334:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{RootSiblingParent:()=>k,RootSiblingPortal:()=>_,default:()=>w,setSiblingWrapper:()=>h});var r,i=n(95004),o=n(74543),a=n(2629);function s(e){return(0,a.jsx)(a.Fragment,{children:e.children})}!function(e){e[e.Insert=0]=”Insert”,e[e.Update=1]=”Update”,e[e.Remove=2]=”Remove”}(r||(r={}));class l{constructor(){this.siblings=new Set,this.pendingActions=[],this.callback=null}update(e,t,n){this.siblings.has(e)?this.emit(e,{change:r.Update,element:t,updateCallback:n}):(this.emit(e,{change:r.Insert,element:t,updateCallback:n}),this.siblings.add(e))}destroy(e,t){this.siblings.has(e)?(this.emit(e,{change:r.Remove,element:null,updateCallback:t}),this.siblings.delete(e)):t&&t()}setCallback(e){this.callback=e,this.pendingActions.forEach((({id:t,action:n})=>{e(t,n)}))}emit(e,t){this.callback?this.callback(e,t):this.pendingActions.push({action:t,id:e})}}const c=class extends i.Component{shouldComponentUpdate(e){return e.shouldUpdate}render(){const e=this.props.children;return null===e||!1===e?null:i.Children.only(e)}},u=class extends i.Component{constructor(e){super(e),this.siblingsPool=[],this.updatedSiblings=new Set,this.unmounted=!1,this.state={siblings:[]}}componentDidMount(){this.props.controller.setCallback(((e,t)=>{setImmediate((()=>this.commitChange(e,t)))}))}componentDidUpdate(){this.updatedSiblings.clear()}componentWillUnmount(){this.unmounted=!0}commitChange(e,{change:t,element:n,updateCallback:i}){if(this.unmounted)return;const o=Array.from(this.siblingsPool),a=o.findIndex((t=>t.id===e));if(t===r.Remove){if(!(a>-1))return void this.invokeCallback(i);o.splice(a,1)}else if(t===r.Update){if(!(a>-1))return void this.invokeCallback(i);o.splice(a,1,{element:n,id:e}),this.updatedSiblings.add(e)}else a>-1&&o.splice(a,1),o.push({element:n,id:e}),this.updatedSiblings.add(e);this.siblingsPool=o,this.setState({siblings:o},(()=>this.invokeCallback(i)))}invokeCallback(e){e&&e()}renderSiblings(){return this.state.siblings.map((({id:e,element:t})=>(0,a.jsx)(c,{shouldUpdate:this.updatedSiblings.has(e),children:this.wrapSibling(t)},`root-sibling-${e}`)))}wrapSibling(e){const{renderSibling:t}=this.props;return t?t(e):e}render(){return(0,a.jsxs)(a.Fragment,{children:[this.props.children,this.renderSiblings()]})}};function d(e,t){const n=new l;return{Root:r=>(0,a.jsx)(u,{controller:n,renderSibling:t,children:(0,a.jsx)(e,Object.assign({},r))}),manager:{update(e,t,r){n.update(e,t,r)},destroy(e,t){n.destroy(e,t)}}}}let p=e=>e;function f(e){return p(e)}function h(e){p=e}n.g.__rootSiblingsInjected||n.g.__rootSiblingsDisabled||(o.default.setWrapperComponentProvider((()=>m)),n.g.__rootSiblingsInjected=!0);const{Root:m,manager:g}=d(s,f);let y=0;const v=[g],b=new Set;class w{constructor(e,t){this.id=`root-sibling-${y+1}`,this.manager=function(){for(let e=v.length-1;e>=0;e–){const t=v[e];if(!b.has(t))return t}return g}(),this.manager.update(this.id,e,t),y++}update(e,t){this.manager.update(this.id,e,t)}destroy(e){this.manager.destroy(this.id,e)}}function k(e){const{inactive:t}=e,[n]=(0,i.useState)((()=>{const{Root:e,manager:n}=d(s,f);return v.push(n),t&&b.add(n),{Root:e,manager:n}}));(0,i.useEffect)((()=>()=>{if(n){const e=v.indexOf(n.manager);e>0&&v.splice(e,1)}}),[n]),t&&n&&!b.has(n.manager)?b.add(n.manager):!t&&n&&b.has(n.manager)&&b.delete(n.manager);const r=n.Root;return(0,a.jsx)(r,{children:e.children})}function _(e){const[t]=(0,i.useState)((()=>new w(null)));return t.update(e.children),(0,i.useEffect)((()=>{if(t)return()=>t.destroy()}),[t]),null}},69052:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{SafeAreaConsumer:()=>C,SafeAreaContext:()=>x,SafeAreaFrameContext:()=>y,SafeAreaInsetsContext:()=>g,SafeAreaProvider:()=>v,useSafeArea:()=>S,useSafeAreaFrame:()=>_,useSafeAreaInsets:()=>k,withSafeAreaInsets:()=>E});var r=n(63366),i=n(95004),o=n(45458),a=n(59550),s=n(67842);const l={WebkitTransition:”webkitTransitionEnd”,Transition:”transitionEnd”,MozTransition:”transitionend”,MSTransition:”msTransitionEnd”,OTransition:”oTransitionEnd”};function c({children:e,style:t,onInsetsChange:n}){return i.useEffect((()=>{if(“undefined”===typeof document)return;const e=function(){const e=document.createElement(“div”),{style:t}=e;return t.position=”fixed”,t.left=”0″,t.top=”0″,t.width=”0″,t.height=”0″,t.zIndex=”-1″,t.overflow=”hidden”,t.visibility=”hidden”,t.transitionDuration=”0.05s”,t.transitionProperty=”padding”,t.transitionDelay=”0s”,t.paddingTop=f(“top”),t.paddingBottom=f(“bottom”),t.paddingLeft=f(“left”),t.paddingRight=f(“right”),e}();document.body.appendChild(e);const t=()=>{const{paddingTop:t,paddingBottom:r,paddingLeft:i,paddingRight:o}=window.getComputedStyle(e),a={top:t?parseInt(t,10):0,bottom:r?parseInt(r,10):0,left:i?parseInt(i,10):0,right:o?parseInt(o,10):0},s={x:0,y:0,width:document.documentElement.offsetWidth,height:document.documentElement.offsetHeight};n({nativeEvent:{insets:a,frame:s}})};return e.addEventListener(d(),t),t(),()=>{document.body.removeChild(e),e.removeEventListener(d(),t)}}),[n]),i.createElement(s.default,{style:t},e)}let u=null;function d(){if(null!=u)return u;const e=document.createElement(“invalidtype”);u=l.Transition;for(const t in l)if(void 0!==e.style[t]){u=l[t];break}return u}let p=null;function f(e){return`${function(){if(null!==p)return p;const{CSS:e}=window;return p=e&&e.supports&&e.supports(“top: constant(safe-area-inset-top)”)?”constant”:”env”,p}()}(safe-area-inset-${e})`}const h=[“children”,”initialMetrics”,”initialSafeAreaInsets”,”style”];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{nativeEvent:{frame:t,insets:n}}=e;w((e=>!t||t.height===e.height&&t.width===e.width&&t.x===e.x&&t.y===e.y?e:t)),f((e=>e&&n.bottom===e.bottom&&n.left===e.left&&n.right===e.right&&n.top===e.top?e:n))}),[]);return i.createElement(c,m({style:[b.fill,s],onInsetsChange:k},l),null!=p?i.createElement(y.Provider,{value:v},i.createElement(g.Provider,{value:p},t)):null)}const b=a.default.create({fill:{flex:1}});const w=”No safe area value available. Make sure you are rendering `` at the top of your app.”;function k(){const e=i.useContext(g);if(null==e)throw new Error(w);return e}function _(){const e=i.useContext(y);if(null==e)throw new Error(w);return e}function E(e){return i.forwardRef(((t,n)=>{const r=k();return i.createElement(e,m({},t,{insets:r,ref:n}))}))}function S(){return k()}const C=g.Consumer,x=g},17990:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{SafeAreaView:()=>p});var r=n(63366),i=n(95004),o=n(59550),a=n(67842),s=n(69052);const l=[“style”,”mode”,”edges”];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n={},mode:p,edges:f}=e,h=(0,r.default)(e,l);const m=(0,s.useSafeAreaInsets)(),g=i.useMemo((()=>null==f?u:Array.isArray(f)?f.reduce(((e,t)=>(e[t]=”additive”,e)),{}):f),[f]),y=i.useMemo((()=>{const e=o.default.flatten(n);if(“margin”===p){const{margin:t=0,marginVertical:r=t,marginHorizontal:i=t,marginTop:o=r,marginRight:a=i,marginBottom:s=r,marginLeft:l=i}=e,c={marginTop:d(m.top,o,g.top),marginRight:d(m.right,a,g.right),marginBottom:d(m.bottom,s,g.bottom),marginLeft:d(m.left,l,g.left)};return[n,c]}{const{padding:t=0,paddingVertical:r=t,paddingHorizontal:i=t,paddingTop:o=r,paddingRight:a=i,paddingBottom:s=r,paddingLeft:l=i}=e,c={paddingTop:d(m.top,o,g.top),paddingRight:d(m.right,a,g.right),paddingBottom:d(m.bottom,s,g.bottom),paddingLeft:d(m.left,l,g.left)};return[n,c]}}),[g.bottom,g.left,g.right,g.top,m.bottom,m.left,m.right,m.top,p,n]);return i.createElement(a.default,c({style:y},h,{ref:t}))}))},70024:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{FullWindowOverlay:()=>q,InnerScreen:()=>y,Screen:()=>k,ScreenContainer:()=>O,ScreenContentWrapper:()=>L,ScreenContext:()=>w,ScreenFooter:()=>U,ScreenStack:()=>j,ScreenStackHeaderBackButtonImage:()=>S,ScreenStackHeaderCenterView:()=>A,ScreenStackHeaderConfig:()=>T,ScreenStackHeaderLeftView:()=>x,ScreenStackHeaderRightView:()=>C,ScreenStackHeaderSearchBarView:()=>R,ScreenStackHeaderSubview:()=>D,ScreenStackItem:()=>K,SearchBar:()=>I,compatibilityFlags:()=>J,enableFreeze:()=>l,enableScreens:()=>a,executeNativeBackPress:()=>Z,freezeEnabled:()=>u,isSearchBarAvailableForCurrentPlatform:()=>Y,screensEnabled:()=>c,useTransitionProgress:()=>Q});var r=n(93235);const i=!1;let o=i;function a(e=!0){o=e,i&&o&&r.default.getViewManagerConfig(“RNSScreen”)}let s=!1;function l(e=!0){i&&(s=e)}function c(){return o}function u(){return s}var d=n(63366),p=n(6740),f=n(67842),h=n(95004);const m=[“active”,”activityState”,”style”,”enabled”];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;th.createElement(f.default,null,h.createElement(_.default,E({resizeMode:”center”,fadeDuration:0},e))),C=e=>h.createElement(f.default,e),x=e=>h.createElement(f.default,e),A=e=>h.createElement(f.default,e),R=e=>h.createElement(f.default,e),T=e=>h.createElement(f.default,e),D=f.default,I=f.default,O=f.default,j=f.default;var P=n(59550),M=n(17365),N=n.n(M);const L=f.default;function F(e){return h.createElement(L,e)}h.createContext((e=>h.createElement(h.Fragment,null,e.children)));const V=h.createContext(null),B=f.default,H=f.default,U=B,z=[“children”,”headerConfig”,”activityState”,”shouldFreeze”,”stackPresentation”,”sheetAllowedDetents”,”contentStyle”,”style”,”screenId”,”unstable_sheetFooter”];function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;tm.current));const y=”push”!==a&&!1===r?.hidden,v=h.useRef(r?.hidden);h.useEffect((()=>{N()(“push”!==a&&v.current!==r?.hidden,”Dynamically changing header’s visibility in modals will result in remounting the screen and losing all local state.”),v.current=r?.hidden}),[r?.hidden,a]);const b=h.createElement(h.Fragment,null,h.createElement(F,{style:[“formSheet”===a&&”fitToContents”===s?null:X.container,l],stackPresentation:a??”push”},n),h.createElement(T,r),”formSheet”===a&&p&&h.createElement(H,null,p()));let w;if(“formSheet”===a&&l){const e=P.default.flatten(l);w={backgroundColor:e?.backgroundColor}}return h.createElement(k,W({ref:e=>{if(m.current=e,null===g)return;const t=g.current;null===e?delete t[u]:t[u]={current:e}},enabled:!0,isNativeStack:!0,activityState:i,shouldFreeze:o,stackPresentation:a,hasLargeHeader:r?.largeTitle??!1,sheetAllowedDetents:s,style:[c,w]},f),y?h.createElement(j,{style:X.container},h.createElement(k,{enabled:!0,isNativeStack:!0,activityState:i,shouldFreeze:o,hasLargeHeader:r?.largeTitle??!1,style:P.default.absoluteFill},b)):b)})),X=P.default.create({container:{flex:1},absolute:{position:”absolute”,top:0,start:0,end:0}}),q=f.default;var G=n(67121);const Y=[“ios”,”android”].includes(“web”);function Z(){return G.default.exitApp(),!0}const J={isNewBackTitleImplementation:!0,usesHeaderFlexboxImplementation:!0},$=h.createContext(void 0);function Q(){const e=h.useContext($);if(void 0===e)throw new Error(“Couldn’t find values for transition progress. Are you inside a screen in Native Stack?”);return e}},77669:(t,n,r)=>{“use strict”;r.r(n),r.d(n,{Circle:()=>B,ClipPath:()=>H,Defs:()=>U,Ellipse:()=>z,FeBlend:()=>W,FeColorMatrix:()=>K,FeComponentTransfer:()=>X,FeComposite:()=>q,FeConvolveMatrix:()=>G,FeDiffuseLighting:()=>Y,FeDisplacementMap:()=>Z,FeDistantLight:()=>J,FeDropShadow:()=>$,FeFlood:()=>Q,FeFuncA:()=>ee,FeFuncB:()=>te,FeFuncG:()=>ne,FeFuncR:()=>re,FeGaussianBlur:()=>ie,FeImage:()=>oe,FeMerge:()=>ae,FeMergeNode:()=>se,FeMorphology:()=>le,FeOffset:()=>ce,FePointLight:()=>ue,FeSpecularLighting:()=>de,FeSpotLight:()=>pe,FeTile:()=>fe,FeTurbulence:()=>he,Filter:()=>me,ForeignObject:()=>ge,G:()=>ye,Image:()=>ve,Line:()=>be,LinearGradient:()=>we,LocalSvg:()=>lt,Marker:()=>ke,Mask:()=>_e,Path:()=>Ee,Pattern:()=>Se,Polygon:()=>Ce,Polyline:()=>xe,RadialGradient:()=>Ae,Rect:()=>Re,Stop:()=>Te,Svg:()=>De,SvgAst:()=>Be,SvgCss:()=>rt,SvgCssUri:()=>it,SvgFromUri:()=>Ke,SvgFromXml:()=>We,SvgUri:()=>ze,SvgWithCss:()=>ot,SvgWithCssUri:()=>at,SvgXml:()=>Ue,Symbol:()=>Ie,TSpan:()=>Oe,Text:()=>je,TextPath:()=>Pe,Use:()=>Me,WithLocalSvg:()=>ct,camelCase:()=>qe,default:()=>Ne,fetchText:()=>a,inlineStyles:()=>st,loadLocalRawResource:()=>ut,parse:()=>tt});var i=r(95004),o=r(94214);async function a(e){return e?(e.startsWith(“data:image/svg+xml;utf8”),e.startsWith(“data:image/svg+xml;base64”)?s(e):async function(e){const t=await fetch(e);if(t.ok||0===t.status&&e.startsWith(“file://”))return await t.text();throw new Error(`Fetching ${e} failed with status ${t.status}`)}(e)):null}const s=e=>{const t=decodeURIComponent(e).split(“;”)[1].split(“,”),n=t[0],r=t.slice(1).join(“,”);return o.Buffer.from(r,n).toString(“utf-8″)};var l=r(63366);Math.PI;r(22713),r(70580);function c(e){const t={};return null===e||void 0===e||e.forEach((e=>{const n=Object.keys(e);n.length;const r=n[0],i=e[r];t[r]=i})),t}const u=e=>e.onPress||e.onPressIn||e.onPressOut||e.onLongPress,d=e=>e.replace(/[A-Z]/g,(e=>”-“+e.toLowerCase()));function p(e){const t=[];return null!=e.translate&&t.push(`translate(${e.translate})`),null==e.translateX&&null==e.translateY||t.push(`translate(${e.translateX||0}, ${e.translateY||0})`),null!=e.scale&&t.push(`scale(${e.scale})`),null==e.scaleX&&null==e.scaleY||t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`),null!=e.rotation&&t.push(`rotate(${e.rotation})`),null!=e.skewX&&t.push(`skewX(${e.skewX})`),null!=e.skewY&&t.push(`skewY(${e.skewY})`),t}function f(e,t){const n=[];if(t&&n.push(…p(t)),Array.isArray(e))if(“number”===typeof e[0])n.push(`matrix(${e.join(” “)})`);else{const t=c(e);n.push(…p(t))}else”string”===typeof e&&n.push(e);return n.length?n.join(” “):void 0}const h=e=>{if(e){if(1===e.nodeType&&”function”===typeof e.getBoundingClientRect)return e.getBoundingClientRect()}throw new Error(“Can not get boundingClientRect of “+e||0)};function m(){const e=this.state.touchable.responderID;null!==e&&((e,t)=>{const n=null===e||void 0===e?void 0:e.parentNode;n&&setTimeout((()=>{const r=h(n),{height:i,left:o,top:a,width:s}=h(e),l=o-r.left,c=a-r.top;t(l,c,s,i,o,a)}),0)})(e,this._handleQueryLayout)}var g=r(60718),y=r(59550);var v=r(72068),b=r(12792);const w=/^(data:image\/svg\+xml;utf8,)(.*)/;const k=[“transform”,”origin”,”originX”,”originY”,”fontFamily”,”fontSize”,”fontWeight”,”fontStyle”,”style”,”forwardedRef”,”gradientTransform”,”patternTransform”,”onPress”],_=(e,t=e.props)=>{const{transform:n,origin:r,originX:i,originY:o,fontFamily:a,fontSize:s,fontWeight:c,fontStyle:d,style:p,forwardedRef:h,gradientTransform:m,patternTransform:g,onPress:_}=t,E=(0,l.default)(t,k),S=Object.assign({},u(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,E);null!=r?S[“transform-origin”]=r.toString().replace(“,”,” “):null==i&&null==o||(S[“transform-origin”]=`${i||0} ${o||0}`);const C=f(n,t);C&&(S.transform=C);const x=f(m);x&&(S.gradientTransform=x);const A=f(g);A&&(S.patternTransform=A),S.ref=t=>{e.elementRef.current=t,”function”===typeof h?h(t):h&&(h.current=t)};const R={};var T,D,I;(null!=a&&(R.fontFamily=a),null!=s&&(R.fontSize=s),null!=c&&(R.fontWeight=c),null!=d&&(R.fontStyle=d),S.style=(D=R,(T=p)?y.default?[T,D]:T[Symbol.iterator]?Object.assign({},…T,D):Object.assign({},T,D):D),null!==_&&(S.onClick=t.onPress),null!==t.href&&void 0!==t.href)&&(S.href=null===(I=function(e){let t={};if(“number”===typeof e){const n=(0,b.getAssetByID)(e);if(null==n)throw new Error(`Image: asset with ID “${e}” could not be found. Please check the image source or packager.`);if(t={width:n.width,height:n.height,scale:n.scales[0]},n.scales.length>1){const e=v.default.get();t.scale=n.scales.reduce(((t,n)=>Math.abs(n-e)>16&255},${e>>8&255},${255&e},${((e>>24&255)/255).toFixed(2)})`}var S=r(32744);const C={top:20,left:20,right:20,bottom:30},{Mixin:x}=S.default,{touchableHandleStartShouldSetResponder:A,touchableHandleResponderTerminationRequest:R,touchableHandleResponderGrant:T,touchableHandleResponderMove:D,touchableHandleResponderRelease:I,touchableHandleResponderTerminate:O,touchableGetInitialState:j}=x,P=Object.assign({},x,{touchableHandleStartShouldSetResponder(e){const{onStartShouldSetResponder:t}=this.props;return t?t(e):A.call(this,e)},touchableHandleResponderTerminationRequest(e){const{onResponderTerminationRequest:t}=this.props;return t?t(e):R.call(this,e)},touchableHandleResponderGrant(e){const{onResponderGrant:t}=this.props;return t?t(e):T.call(this,e)},touchableHandleResponderMove(e){const{onResponderMove:t}=this.props;return t?t(e):D.call(this,e)},touchableHandleResponderRelease(e){const{onResponderRelease:t}=this.props;return t?t(e):I.call(this,e)},touchableHandleResponderTerminate(e){const{onResponderTerminate:t}=this.props;return t?t(e):O.call(this,e)},touchableHandlePress(e){const{onPress:t}=this.props;t&&t(e)},touchableHandleActivePressIn(e){const{onPressIn:t}=this.props;t&&t(e)},touchableHandleActivePressOut(e){const{onPressOut:t}=this.props;t&&t(e)},touchableHandleLongPress(e){const{onLongPress:t}=this.props;t&&t(e)},touchableGetPressRectOffset(){const{pressRetentionOffset:e}=this.props;return e||C},touchableGetHitSlop(){const{hitSlop:e}=this.props;return e},touchableGetHighlightDelayMS(){const{delayPressIn:e}=this.props;return e||0},touchableGetLongPressDelayMS(){const{delayLongPress:e}=this.props;return 0===e?0:e||500},touchableGetPressOutDelayMS(){const{delayPressOut:e}=this.props;return e||0}}),M=Object.keys(P),N=M.map((e=>P[e])),L=M.length;class F extends i.Component{prepareProps(e){return e}elementRef=i.createRef();lastMergedProps={};setNativeProps(e){const t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;const n=_(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(const i of Object.keys(n)){const e=n[i];switch(i){case”ref”:case”children”:break;case”style”:for(const e of[].concat(n.style??[]))Object.assign(r.style,e);break;case”fill”:if(e&&”object”===typeof e){const t=e;r.setAttribute(“fill”,E(t.payload))}break;case”stroke”:if(e&&”object”===typeof e){const t=e;r.setAttribute(“stroke”,E(t.payload))}break;default:r.setAttribute(d(i),e)}}}constructor(e){super(e),u(e)&&(e=>{for(let t=0;t{const t=document.createElement(“canvas”);t.width=i,t.height=o;const n=t.getContext(“2d”);null===n||void 0===n||n.drawImage(s,0,0),e(t.toDataURL().replace(“data:image/png;base64,”,””))},s.src=`data:image/svg+xml;utf8,${l=(new window.XMLSerializer).serializeToString(a),l.replace(“/g,”%3E”).replace(/\s+/g,” “)}`}}class Ie extends F{tag=”symbol”}class Oe extends F{tag=”tspan”}class je extends F{tag=”text”}class Pe extends F{tag=”textPath”}class Me extends F{tag=”use”}const Ne=De,Le={circle:B,clipPath:H,defs:U,ellipse:z,filter:me,feBlend:W,feColorMatrix:K,feComponentTransfer:X,feComposite:q,feConvolveMatrix:G,feDiffuseLighting:Y,feDisplacementMap:Z,feDistantLight:J,feDropShadow:$,feFlood:Q,feGaussianBlur:ie,feImage:oe,feMerge:ae,feMergeNode:se,feMorphology:le,feOffset:ce,fePointLight:ue,feSpecularLighting:de,feSpotLight:pe,feTile:fe,feTurbulence:he,foreignObject:ge,g:ye,image:ve,line:be,linearGradient:we,marker:ke,mask:_e,path:Ee,pattern:Se,polygon:Ce,polyline:xe,radialGradient:Ae,rect:Re,stop:Te,svg:De,symbol:Ie,text:je,textPath:Pe,tspan:Oe,use:Me};function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;tnull!==n?tt(n):null),[n]);return i.createElement(Be,{ast:t,override:r||e})}catch(a){return t(a),o??null}}function ze(e){const{onError:t=He,uri:n,onLoad:r,fallback:o}=e,[s,l]=(0,i.useState)(null),[c,u]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{n?a(n).then((e=>{l(e),c&&u(!1),null===r||void 0===r||r()})).catch((e=>{t(e),u(!0)})):l(null)}),[t,n,r]),c?o??null:i.createElement(Ue,{xml:s,override:e,fallback:o})}class We extends i.Component{state={ast:null};componentDidMount(){this.parse(this.props.xml)}componentDidUpdate(e){const{xml:t}=this.props;t!==e.xml&&this.parse(t)}parse(t){const{onError:n=He}=this.props;try{this.setState({ast:t?tt(t):null})}catch(e){const r=e;n(Object.assign({},r,{message:`[RNSVG] Couldn’t parse SVG, reason: ${r.message}`}))}}render(){const{props:e,state:{ast:t}}=this;return i.createElement(Be,{ast:t,override:e.override||e})}}class Ke extends i.Component{state={xml:null};componentDidMount(){this.fetch(this.props.uri)}componentDidUpdate(e){const{uri:t}=this.props;t!==e.uri&&this.fetch(t)}async fetch(t){try{this.setState({xml:t?await a(t):null})}catch(e){}}render(){const{props:e,state:{xml:t}}=this;return i.createElement(We,{xml:t,override:e,onError:e.onError})}}const Xe=(e,t)=>t.toUpperCase(),qe=e=>e.replace(/[:-]([a-z])/g,Xe);function Ge(e,t){if(“object”===typeof e){const{Tag:n,props:r,children:o}=e;return null!==r&&void 0!==r&&r.class&&(r.className=r.class,delete r.class),i.createElement(n,Fe({key:t},r),o.map(Ge))}return e}function Ye(e,t){let n=””;for(;t–;)n+=e;return n}const Ze=e=>Ye(” “,e.length);const Je=/[a-zA-Z0-9:_-]/,$e=/