diff --git a/android/src/main/java/in/juspay/hypersdkreact/HyperViewManager.java b/android/src/main/java/in/juspay/hypersdkreact/HyperFragmentViewManager.java similarity index 93% rename from android/src/main/java/in/juspay/hypersdkreact/HyperViewManager.java rename to android/src/main/java/in/juspay/hypersdkreact/HyperFragmentViewManager.java index bb8f974..7bcf009 100644 --- a/android/src/main/java/in/juspay/hypersdkreact/HyperViewManager.java +++ b/android/src/main/java/in/juspay/hypersdkreact/HyperFragmentViewManager.java @@ -29,14 +29,14 @@ import in.juspay.hypersdk.core.SdkTracker; import in.juspay.services.HyperServices; -public class HyperViewManager extends ViewGroupManager { +public class HyperFragmentViewManager extends ViewGroupManager { - private static final String NAME = "HyperViewManager"; + private static final String NAME = "HyperFragmentViewManager"; private static final int COMMAND_PROCESS = 175; private final ReactApplicationContext reactContext; - public HyperViewManager(ReactApplicationContext reactContext) { + public HyperFragmentViewManager(ReactApplicationContext reactContext) { this.reactContext = reactContext; } @@ -111,7 +111,7 @@ public void receiveCommand(@NonNull FrameLayout root, String commandId, @Nullabl LogConstants.CATEGORY_LIFECYCLE, LogConstants.SUBCATEGORY_HYPER_SDK, LogConstants.SDK_TRACKER_LABEL, - "Exception in HyperViewManager.createCommand", + "Exception in HyperFragmentViewManager.createCommand", e ); } @@ -131,7 +131,7 @@ public void doFrame(long frameTimeNanos) { LogConstants.CATEGORY_LIFECYCLE, LogConstants.SUBCATEGORY_HYPER_SDK, LogConstants.SDK_TRACKER_LABEL, - "Exception in HyperViewManager.doFrame", + "Exception in HyperFragmentViewManager.doFrame", e ); } diff --git a/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactPackage.java b/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactPackage.java index 77bdea7..15f92b4 100644 --- a/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactPackage.java +++ b/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactPackage.java @@ -28,6 +28,6 @@ public List createNativeModules(@NonNull ReactApplicationContext r @Override @SuppressWarnings("rawtypes") public List createViewManagers(@NonNull ReactApplicationContext reactContext) { - return Collections.singletonList(new HyperViewManager(reactContext)); + return Collections.singletonList(new HyperFragmentViewManager(reactContext)); } } diff --git a/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/base.html b/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/base.html deleted file mode 100644 index f7e9d37..0000000 --- a/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/base.html +++ /dev/null @@ -1,38 +0,0 @@ - - - MYSTIQUE - - - - - - diff --git a/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/v2-index_bundle.jsa b/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/v2-index_bundle.jsa deleted file mode 100644 index c62272a..0000000 Binary files a/example/android/app/src/main/assets/juspay/payments/in.juspay.flyer/v2-index_bundle.jsa and /dev/null differ diff --git a/example/android/app/src/main/assets/juspay/payments/in.juspay.hyperpay/base.html b/example/android/app/src/main/assets/juspay/payments/in.juspay.hyperpay/base.html deleted file mode 100644 index 584029a..0000000 --- a/example/android/app/src/main/assets/juspay/payments/in.juspay.hyperpay/base.html +++ /dev/null @@ -1,49 +0,0 @@ - - - MYSTIQUE - - - - - - diff --git a/example/android/build.gradle b/example/android/build.gradle index 177b1a6..d73e97c 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -13,7 +13,7 @@ buildscript { // Hyper SDK clientId = 'geddit' hyperSDKVersion = "2.1.25" - excludedMicroSDKs = ["hyperapay"] + excludedMicroSDKs = [] } repositories { google() diff --git a/example/ios/HyperSdkReactExample.xcodeproj/project.pbxproj b/example/ios/HyperSdkReactExample.xcodeproj/project.pbxproj index 4b85944..a5fca8d 100644 --- a/example/ios/HyperSdkReactExample.xcodeproj/project.pbxproj +++ b/example/ios/HyperSdkReactExample.xcodeproj/project.pbxproj @@ -492,6 +492,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = GE8BT8LF5K; ENABLE_BITCODE = NO; INFOPLIST_FILE = HyperSdkReactExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -519,6 +520,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = GE8BT8LF5K; INFOPLIST_FILE = HyperSdkReactExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", diff --git a/example/ios/assets/images/promotion.png b/example/ios/assets/images/promotion.png new file mode 100644 index 0000000..eb58b32 Binary files /dev/null and b/example/ios/assets/images/promotion.png differ diff --git a/example/ios/main.jsbundle b/example/ios/main.jsbundle index 254d511..9dabe6d 100644 --- a/example/ios/main.jsbundle +++ b/example/ios/main.jsbundle @@ -3,7 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date. !(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,r){e[n]=!0})),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var g=r.name?': '+r.name:'';return n.stylize('[Function'+g+']','special')}if(p(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return p(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?p(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map((function(e){return l(n,r,u,s,e,j)})),n.seen.pop(),a(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],a=0,u=e.length;a-1&&(u=l?u.split('\n').map((function(n){return' '+n})).join('\n').substr(2):'\n'+u.split('\n').map((function(n){return' '+n})).join('\n')):u=n.stylize('[Circular]','special')),s(a)){if(l&&i.match(/^\d+$/))return u;(a=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,'name')):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,'string'))}return a+': '+u}function a(n,e,r){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function p(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r={trace:0,info:1,warn:2,error:3},t=[];t[r.trace]='debug',t[r.info]='log',t[r.warn]='warning',t[r.error]='error';function o(o){return function(){var i;i=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],f=o;'string'==typeof u&&'Warning: '===u.slice(0,9)&&f>=r.error&&(f=r.warn),n.__inspectorLog&&n.__inspectorLog(t[f],i,[].slice.call(arguments),1),l.length&&(i=a('',i)),n.nativeLoggingHook(i,f)}}function i(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var l=[];function a(n,e){return l.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:o(r.error),info:o(r.info),log:o(r.info),warn:o(r.warn),trace:o(r.trace),debug:o(r.trace),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var l=t[o];l["(index)"]=o,e.push(l)}}if(0!==e.length){var a=Object.keys(e[0]).sort(),u=[],f=[];a.forEach((function(n,r){f[r]=n.length;for(var t=0;t';return function(){for(var r=arguments.length,u=new Array(r),e=0;e "+o.name:o.name;null==(f=o.state)||null==(c=f.routeNames)||c.forEach((function(n){n===o.name&&t.push([l,l+" > "+o.name])})),o.state&&n(l,o.state)}))})('',n),t}}),443,[]); -__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n(t,new Set,[])};var t=r(d[0])(r(d[1])),n=function n(i,l,o){if(null==i||'boolean'==typeof i||'number'==typeof i||'string'==typeof i)return{serializable:!0};if('[object Object]'!==Object.prototype.toString.call(i)&&!Array.isArray(i))return{serializable:!1,location:o,reason:'function'==typeof i?'Function':String(i)};if(l.has(i))return{serializable:!1,reason:'Circular reference',location:o};if(l.add(i),Array.isArray(i))for(var f=0;f "+o.name:o.name;null==(f=o.state)||null==(c=f.routeNames)||c.forEach((function(n){n===o.name&&t.push([l,l+" > "+o.name])})),o.state&&n(l,o.state)}))})('',n),t}}),445,[]); +__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n(t,new Set,[])};var t=r(d[0])(r(d[1])),n=function n(i,l,o){if(null==i||'boolean'==typeof i||'number'==typeof i||'string'==typeof i)return{serializable:!0};if('[object Object]'!==Object.prototype.toString.call(i)&&!Array.isArray(i))return{serializable:!1,location:o,reason:'function'==typeof i?'Function':String(i)};if(l.has(i))return{serializable:!1,reason:'Circular reference',location:o};if(l.add(i),Array.isArray(i))for(var f=0;f-1&&(f=!0,n[t].splice(o,1))}}),[n]);return{listeners:n,addListener:u}};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(u);if(f&&f.has(t))return f.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,f&&f.set(t,o);return o})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:u})(t)}}),453,[144]); -__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var c=n.useRef(u);n.useEffect((function(){c.current=u}));var f=n.useRef(Object.create(null)),i=n.useCallback((function(t){var n=function(n,u){var c=f.current[n]?f.current[n][t]:void 0;if(c){var i=c.indexOf(u);i>-1&&c.splice(i,1)}};return{addListener:function(u,c){f.current[u]=f.current[u]||{},f.current[u][t]=f.current[u][t]||[],f.current[u][t].push(c);var i=!1;return function(){i||(i=!0,n(u,c))}},removeListener:n}}),[]),o=n.useCallback((function(n){var u,i,o=n.type,l=n.data,p=n.target,v=n.canPreventDefault,s=f.current[o]||{},b=void 0!==p?null==(u=s[p])?void 0:u.slice():(i=[]).concat.apply(i,(0,t.default)(Object.keys(s).map((function(t){return s[t]})))).filter((function(t,n,u){return u.lastIndexOf(t)===n})),y={get type(){return o}};if(void 0!==p&&Object.defineProperty(y,'target',{enumerable:!0,get:function(){return p}}),void 0!==l&&Object.defineProperty(y,'data',{enumerable:!0,get:function(){return l}}),v){var O=!1;Object.defineProperties(y,{defaultPrevented:{enumerable:!0,get:function(){return O}},preventDefault:{enumerable:!0,value:function(){O=!0}}})}return null==c.current||c.current(y),null==b||b.forEach((function(t){return t(y)})),y}),[]);return n.useMemo((function(){return{create:i,emit:o}}),[i,o])};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var c=u(n);if(c&&c.has(t))return c.get(t);var f={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=i?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(f,o,l):f[o]=t[o]}f.default=t,c&&c.set(t,f);return f})(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,c=new WeakMap;return(u=function(t){return t?c:n})(t)}}),454,[3,27,144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var n=t.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})).current,u=t.useCallback((function(t,u,o){return n[t][u]=o,function(){n[t][u]=void 0}}),[n]);return{keyedListeners:n,addKeyedListener:u}};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}}),455,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var o=l.key,c=l.options,f=l.navigation,s=t.useRef(c),p=t.useRef({}),v=t.useContext(n.default).onOptionsChange,O=t.useContext(u.default).addOptionsGetter,y=t.useCallback((function(){var t,n,u=null==(t=null==f?void 0:f.isFocused())||t,l=Object.keys(p.current).length;u&&!l&&v(null!=(n=s.current)?n:{})}),[f,v]);t.useEffect((function(){return s.current=c,y(),null==f?void 0:f.addListener('focus',y)}),[f,c,y]);var b=t.useCallback((function(){for(var t in p.current)if(p.current.hasOwnProperty(t)){var n,u,l=null==(n=(u=p.current)[t])?void 0:n.call(u);if(null!==l)return l}return null}),[]),k=t.useCallback((function(){var t;if(!(null==(t=null==f?void 0:f.isFocused())||t))return null;var n=b();return null!==n?n:s.current}),[f,b]);return t.useEffect((function(){return null==O?void 0:O(o,k)}),[k,O,o]),{addOptionsGetter:t.useCallback((function(t,n){return p.current[t]=n,y(),function(){delete p.current[t],y()}}),[y]),getCurrentOptions:k}};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=l(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(o,f,s):o[f]=t[f]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2])),u=r(d[1])(r(d[3]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(l=function(t){return t?u:n})(t)}}),456,[144,3,447,451]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var f=n.useRef(c),o=n.useRef(!1),l=n.useRef(!0);n.useEffect((function(){return l.current=!0,function(){l.current=!1}}),[]),f.current===c&&(f.current='function'==typeof u?u():u);var s=n.useState(f.current),p=(0,t.default)(s,2),y=p[0],b=p[1],v=n.useCallback((function(){return f.current}),[]),O=n.useCallback((function(t){t!==f.current&&l.current&&(f.current=t,o.current||b(t))}),[]),j=n.useCallback((function(t){o.current=!0;try{t()}finally{o.current=!1}}),[]),k=n.useCallback((function(){l.current&&b(f.current)}),[]);y!==f.current&&b(f.current);var P=f.current;return n.useDebugValue(P),[P,v,O,j,k]};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var c=u(n);if(c&&c.has(t))return c.get(t);var f={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=o?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(f,l,s):f[l]=t[l]}f.default=t,c&&c.set(t,f);return f})(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,c=new WeakMap;return(u=function(t){return t?c:n})(t)}var c={}}),457,[3,16,144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NOT_INITIALIZED_ERROR=void 0,e.default=function(){var u=[].concat((0,n.default)(Object.keys(r(d[3]).CommonActions)),['addListener','removeListener','resetRoot','dispatch','isFocused','canGoBack','getRootState','getState','getParent','getCurrentRoute','getCurrentOptions']),c={},s=function(t,n){c[t]&&(c[t]=c[t].filter((function(t){return t!==n})))},f=null,l=Object.assign({get current(){return f},set current(n){f=n,null!=n&&Object.entries(c).forEach((function(o){var u=(0,t.default)(o,2),c=u[0];u[1].forEach((function(t){n.addListener(c,t)}))}))},isReady:function(){return null!=f&&f.isReady()}},u.reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,u=new Array(t),l=0;l1&&void 0!==arguments[1]?arguments[1]:21;return function(){for(var o='',i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t;i--;)o+=n[Math.random()*n.length|0];return o}};e.nanoid=function(){for(var n='',t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;t--;)n+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return n}}),462,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DrawerActions=void 0,e.default=function(s){var f=s.defaultStatus,l=void 0===f?'closed':f,p=(0,n.default)(s,u),y=(0,o.default)(p),O=function(t){var n;return Boolean(null==(n=t.history)?void 0:n.some((function(t){return'drawer'===t.type})))},w=function(n){return O(n)?n:Object.assign({},n,{history:[].concat((0,t.default)(n.history),[{type:'drawer',status:'open'===l?'closed':'open'}])})},v=function(t){return O(t)?Object.assign({},t,{history:t.history.filter((function(t){return'drawer'!==t.type}))}):t},A=function(t){return'open'===l?v(t):w(t)},R=function(t){return'open'===l?w(t):v(t)};return Object.assign({},y,{type:'drawer',getInitialState:function(t){var n=t.routeNames,o=t.routeParamList,u=t.routeGetIdList,s=y.getInitialState({routeNames:n,routeParamList:o,routeGetIdList:u});return Object.assign({},s,{default:l,stale:!1,type:'drawer',key:"drawer-"+(0,r(d[4]).nanoid)()})},getRehydratedState:function(t,n){var o=n.routeNames,u=n.routeParamList,s=n.routeGetIdList;if(!1===t.stale)return t;var c=y.getRehydratedState(t,{routeNames:o,routeParamList:u,routeGetIdList:s});return O(t)&&(c=v(c),c=w(c)),Object.assign({},c,{default:l,type:'drawer',key:"drawer-"+(0,r(d[4]).nanoid)()})},getStateForRouteFocus:function(t,n){var o=y.getStateForRouteFocus(t,n);return R(o)},getStateForAction:function(t,n,o){switch(n.type){case'OPEN_DRAWER':return A(t);case'CLOSE_DRAWER':return R(t);case'TOGGLE_DRAWER':return O(t)?v(t):w(t);case'JUMP_TO':case'NAVIGATE':var u=y.getStateForAction(t,n,o);return null!=u&&u.index!==t.index?R(u):u;case'GO_BACK':return O(t)?v(t):y.getStateForAction(t,n,o);default:return y.getStateForAction(t,n,o)}},actionCreators:c})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var l=c?Object.getOwnPropertyDescriptor(t,f):null;l&&(l.get||l.set)?Object.defineProperty(u,f,l):u[f]=t[f]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),u=["defaultStatus"];function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}var c=Object.assign({},o.TabActions,{openDrawer:function(){return{type:'OPEN_DRAWER'}},closeDrawer:function(){return{type:'CLOSE_DRAWER'}},toggleDrawer:function(){return{type:'TOGGLE_DRAWER'}}});e.DrawerActions=c}),463,[3,27,108,464,462]); -__d((function(g,_r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TabActions=void 0,e.default=function(n){var u=n.initialRouteName,s=n.backBehavior,y=void 0===s?'firstRoute':s;return Object.assign({},t.default,{type:'tab',getInitialState:function(t){var n=t.routeNames,r=t.routeParamList,o=void 0!==u&&n.includes(u)?n.indexOf(u):0,s=n.map((function(t){return{name:t,key:t+"-"+(0,_r(d[2]).nanoid)(),params:r[t]}})),c=i(s,o,y,u);return{stale:!1,type:'tab',key:"tab-"+(0,_r(d[2]).nanoid)(),index:o,routeNames:n,history:c,routes:s}},getRehydratedState:function(t,n){var r,i,s,c,l=n.routeNames,f=n.routeParamList,p=t;if(!1===p.stale)return p;var h=l.map((function(t){var n=p.routes.find((function(n){return n.name===t}));return Object.assign({},n,{name:t,key:n&&n.name===t&&n.key?n.key:t+"-"+(0,_r(d[2]).nanoid)(),params:void 0!==f[t]?Object.assign({},f[t],n?n.params:void 0):n?n.params:void 0})})),v=Math.min(Math.max(l.indexOf(null==(r=p.routes[null!=(i=null==p?void 0:p.index)?i:0])?void 0:r.name),0),h.length-1),k=null!=(s=null==(c=p.history)?void 0:c.filter((function(t){return h.find((function(n){return n.key===t.key}))})))?s:[];return o({stale:!1,type:'tab',key:"tab-"+(0,_r(d[2]).nanoid)(),index:v,routeNames:l,history:k,routes:h},v,y,u)},getStateForRouteNamesChange:function(t,n){var r=n.routeNames,o=n.routeParamList,s=n.routeKeyChanges,c=r.map((function(n){return t.routes.find((function(t){return t.name===n&&!s.includes(t.name)}))||{name:n,key:n+"-"+(0,_r(d[2]).nanoid)(),params:o[n]}})),l=Math.max(0,r.indexOf(t.routes[t.index].name)),f=t.history.filter((function(t){return'route'!==t.type||c.find((function(n){return n.key===t.key}))}));return f.length||(f=i(c,l,y,u)),Object.assign({},t,{history:f,routeNames:r,routes:c,index:l})},getStateForRouteFocus:function(t,n){var r=t.routes.findIndex((function(t){return t.key===n}));return-1===r||r===t.index?t:o(t,r,y,u)},getStateForAction:function(n,r,i){var s=i.routeParamList,c=i.routeGetIdList;switch(r.type){case'JUMP_TO':case'NAVIGATE':var l=-1;return-1===(l='NAVIGATE'===r.type&&r.payload.key?n.routes.findIndex((function(t){return t.key===r.payload.key})):n.routes.findIndex((function(t){return t.name===r.payload.name})))?null:o(Object.assign({},n,{routes:n.routes.map((function(t,n){if(n!==l)return t;var i,o=c[t.name],u=null==o?void 0:o({params:t.params}),y=null==o?void 0:o({params:r.payload.params}),f=u===y?t.key:t.name+"-"+(0,_r(d[2]).nanoid)();i='NAVIGATE'===r.type&&r.payload.merge&&u===y?void 0!==r.payload.params||void 0!==s[t.name]?Object.assign({},s[t.name],t.params,r.payload.params):t.params:void 0!==s[t.name]?Object.assign({},s[t.name],r.payload.params):r.payload.params;var p='NAVIGATE'===r.type&&null!=r.payload.path?r.payload.path:t.path;return i!==t.params||p!==t.path?Object.assign({},t,{key:f,path:p,params:i}):t}))}),l,y,u);case'GO_BACK':if(1===n.history.length)return null;var f=n.history[n.history.length-2].key,p=n.routes.findIndex((function(t){return t.key===f}));return-1===p?null:Object.assign({},n,{history:n.history.slice(0,-1),index:p});default:return t.default.getStateForAction(n,r)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:r})};var t=_r(d[0])(_r(d[1])),n='route',r={jumpTo:function(t,n){return{type:'JUMP_TO',payload:{name:t,params:n}}}};e.TabActions=r;var i=function(t,r,i,o){var u,s=[{type:n,key:t[r].key}];switch(i){case'order':for(var y=r;y>0;y--)s.unshift({type:n,key:t[y-1].key});break;case'firstRoute':0!==r&&s.unshift({type:n,key:t[0].key});break;case'initialRoute':r!==(u=-1===(u=t.findIndex((function(t){return t.name===o})))?0:u)&&s.unshift({type:n,key:t[u].key})}return s},o=function(t,r,o,u){var s;if('history'===o){var y=t.routes[r].key;s=t.history.filter((function(t){return'route'===t.type&&t.key!==y})).concat({type:n,key:y})}else s=i(t.routes,r,o,u);return Object.assign({},t,{index:r,history:s})}}),464,[3,461,462]); -__d((function(g,_r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.StackActions=void 0,e.default=function(r){var i=Object.assign({},n.default,{type:'stack',getInitialState:function(t){var n=t.routeNames,o=t.routeParamList,i=void 0!==r.initialRouteName&&n.includes(r.initialRouteName)?r.initialRouteName:n[0];return{stale:!1,type:'stack',key:"stack-"+(0,_r(d[3]).nanoid)(),index:0,routeNames:n,routes:[{key:i+"-"+(0,_r(d[3]).nanoid)(),name:i,params:o[i]}]}},getRehydratedState:function(t,n){var o=n.routeNames,i=n.routeParamList,s=t;if(!1===s.stale)return s;var u=s.routes.filter((function(t){return o.includes(t.name)})).map((function(t){return Object.assign({},t,{key:t.key||t.name+"-"+(0,_r(d[3]).nanoid)(),params:void 0!==i[t.name]?Object.assign({},i[t.name],t.params):t.params})}));if(0===u.length){var l=void 0!==r.initialRouteName?r.initialRouteName:o[0];u.push({key:l+"-"+(0,_r(d[3]).nanoid)(),name:l,params:i[l]})}return{stale:!1,type:'stack',key:"stack-"+(0,_r(d[3]).nanoid)(),index:u.length-1,routeNames:o,routes:u}},getStateForRouteNamesChange:function(t,n){var o=n.routeNames,i=n.routeParamList,s=n.routeKeyChanges,u=t.routes.filter((function(t){return o.includes(t.name)&&!s.includes(t.name)}));if(0===u.length){var l=void 0!==r.initialRouteName&&o.includes(r.initialRouteName)?r.initialRouteName:o[0];u.push({key:l+"-"+(0,_r(d[3]).nanoid)(),name:l,params:i[l]})}return Object.assign({},t,{routeNames:o,routes:u,index:Math.min(t.index,u.length-1)})},getStateForRouteFocus:function(t,n){var o=t.routes.findIndex((function(t){return t.key===n}));return-1===o||o===t.index?t:Object.assign({},t,{index:o,routes:t.routes.slice(0,o+1)})},getStateForAction:function(o,r,s){var u=s.routeParamList;switch(r.type){case'REPLACE':var l=r.target===o.key&&r.source?o.routes.findIndex((function(t){return t.key===r.source})):o.index;if(-1===l)return null;var p=r.payload,y=p.name,c=p.key,f=p.params;return o.routeNames.includes(y)?Object.assign({},o,{routes:o.routes.map((function(t,n){return n===l?{key:void 0!==c?c:y+"-"+(0,_r(d[3]).nanoid)(),name:y,params:void 0!==u[y]?Object.assign({},u[y],f):f}:t}))}):null;case'PUSH':if(o.routeNames.includes(r.payload.name)){var v,k=s.routeGetIdList[r.payload.name],O=null==k?void 0:k({params:r.payload.params}),h=O?o.routes.find((function(t){return t.name===r.payload.name&&O===(null==k?void 0:k({params:t.params}))})):void 0;return h?(v=o.routes.filter((function(t){return t.key!==h.key}))).push(Object.assign({},h,{params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params})):v=[].concat((0,t.default)(o.routes),[{key:r.payload.name+"-"+(0,_r(d[3]).nanoid)(),name:r.payload.name,params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params}]),Object.assign({},o,{index:v.length-1,routes:v})}return null;case'POP':var P=r.target===o.key&&r.source?o.routes.findIndex((function(t){return t.key===r.source})):o.index;if(P>0){var x=Math.max(P-r.payload.count+1,1),b=o.routes.slice(0,x).concat(o.routes.slice(P+1));return Object.assign({},o,{index:b.length-1,routes:b})}return null;case'POP_TO_TOP':return i.getStateForAction(o,{type:'POP',payload:{count:o.routes.length-1}},s);case'NAVIGATE':if(void 0!==r.payload.name&&!o.routeNames.includes(r.payload.name))return null;if(r.payload.key||r.payload.name){var j,N=-1,R=void 0===r.payload.key&&void 0!==r.payload.name?s.routeGetIdList[r.payload.name]:void 0,S=null==R?void 0:R({params:r.payload.params});if(S)N=o.routes.findIndex((function(t){return t.name===r.payload.name&&S===(null==R?void 0:R({params:t.params}))}));else if(o.routes[o.index].name===r.payload.name&&void 0===r.payload.key||o.routes[o.index].key===r.payload.key)N=o.index;else for(var A=o.routes.length-1;A>=0;A--)if(o.routes[A].name===r.payload.name&&void 0===r.payload.key||o.routes[A].key===r.payload.key){N=A;break}if(-1===N&&r.payload.key&&void 0===r.payload.name)return null;if(-1===N&&void 0!==r.payload.name){var _,I=[].concat((0,t.default)(o.routes),[{key:null!=(_=r.payload.key)?_:r.payload.name+"-"+(0,_r(d[3]).nanoid)(),name:r.payload.name,path:r.payload.path,params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params}]);return Object.assign({},o,{routes:I,index:I.length-1})}var L,F=o.routes[N];return L=r.payload.merge?void 0!==r.payload.params||void 0!==u[F.name]?Object.assign({},u[F.name],F.params,r.payload.params):F.params:void 0!==u[F.name]?Object.assign({},u[F.name],r.payload.params):r.payload.params,Object.assign({},o,{index:N,routes:[].concat((0,t.default)(o.routes.slice(0,N)),[L!==F.params||r.payload.path&&r.payload.path!==F.path?Object.assign({},F,{path:null!=(j=r.payload.path)?j:F.path,params:L}):o.routes[N]])})}return null;case'GO_BACK':return o.index>0?i.getStateForAction(o,{type:'POP',payload:{count:1},target:r.target,source:r.source},s):null;default:return n.default.getStateForAction(o,r)}},actionCreators:o});return i};var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),o={replace:function(t,n){return{type:'REPLACE',payload:{name:t,params:n}}},push:function(t,n){return{type:'PUSH',payload:{name:t,params:n}}},pop:function(){return{type:'POP',payload:{count:arguments.length>0&&void 0!==arguments[0]?arguments[0]:1}}},popToTop:function(){return{type:'POP_TO_TOP'}}};e.StackActions=o}),465,[3,27,461,462]); -__d((function(g,r,i,a,m,e,d){}),466,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ScheduleUpdateContext=void 0,e.default=function(n){var o=t.useContext(u),f=o.scheduleUpdate,c=o.flushUpdates;f(n),t.useEffect(c)};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o="Couldn't find a schedule context.",u=t.createContext({scheduleUpdate:function(){throw new Error(o)},flushUpdates:function(){throw new Error(o)}});e.ScheduleUpdateContext=u}),467,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){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:o,Group:t.default,Screen:n.default}}};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))}),468,[3,469,470]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),469,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),470,[]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),471,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,l){var s,u,o=l?t(l):{},v=null!=n.index?n.routes.slice(0,n.index+1):n.routes;if(0===v.length)return;if(!(1===v.length&&void 0===v[0].key||2===v.length&&void 0===v[0].key&&v[0].name===(null==o?void 0:o.initialRouteName)&&void 0===v[1].key))return{type:'RESET',payload:n};var c=n.routes[null!=(s=n.index)?s:n.routes.length-1],p=null==c?void 0:c.state,f=null==o||null==(u=o.screens)?void 0:u[null==c?void 0:c.name],h=Object.assign({},c.params),y=c?{name:c.name,path:c.path,params:h}:void 0;for(;p;){var b,k,j;if(0===p.routes.length)return;var x=null!=p.index?p.routes.slice(0,p.index+1):p.routes,N=x[x.length-1];if(Object.assign(h,{initial:void 0,screen:void 0,params:void 0,state:void 0}),1===x.length&&void 0===x[0].key)h.initial=!0,h.screen=N.name;else{if(2!==x.length||void 0!==x[0].key||x[0].name!==(null==(b=f)?void 0:b.initialRouteName)||void 0!==x[1].key){h.state=p;break}h.initial=!1,h.screen=N.name}N.state?(h.params=Object.assign({},N.params),h=h.params):(h.path=N.path,h.params=N.params),p=N.state,f=null==(k=f)||null==(j=k.screens)?void 0:j[N.name]}if(!y)return;return{type:'NAVIGATE',payload:y}};var n=r(d[0])(r(d[1]));var t=function(n){return'object'==typeof n&&null!=n?{initialRouteName:n.initialRouteName,screens:null!=n.screens?l(n.screens):void 0}:{}},l=function(l){return Object.entries(l).reduce((function(l,s){var u=(0,n.default)(s,2),o=u[0],v=u[1];return l[o]=t(v),l}),{})}}),472,[3,16]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n,u,l=null!=(n=t[r(d[0]).CHILD_STATE])?n:t.state,o=t.params;return l?l.routes[null!=(u=l.index)?u:'string'==typeof l.type&&'stack'!==l.type?0:l.routes.length-1].name:'string'==typeof(null==o?void 0:o.screen)?o.screen:void 0}}),473,[474]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CHILD_STATE=void 0,e.default=function(n){t.useMemo((function(){return{current:new Map}}),[]);return n};r(d[0])(r(d[1]));var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var l=c?Object.getOwnPropertyDescriptor(t,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=t[p]}f.default=t,o&&o.set(t,f);return f})(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}var u=Symbol('CHILD_STATE');e.CHILD_STATE=u}),474,[3,108,144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,f){if(null==t)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");f&&(0,s.default)(f);var p=null!=f&&f.screens?y(null==f?void 0:f.screens):{},v='/',h=t,b={},j=function(){for(var s,f,y='number'==typeof h.index?h.index:0,j=h.routes[y],O=c(t),w=p,x=[],P=!0,W=function(){if(s=w[j.name].pattern,x.push(j.name),j.params){var t,o,c=null==(t=w[j.name])?void 0:t.stringify,p=(0,u.default)(Object.entries(j.params).map((function(t){var o=(0,n.default)(t,2),u=o[0],s=o[1];return[u,null!=c&&c[u]?c[u](s):String(s)]})));if(s&&Object.assign(b,p),O===j)f=Object.assign({},p),null==(o=s)||o.split('/').filter((function(t){return t.startsWith(':')})).forEach((function(t){var n=l(t);f&&delete f[n]}))}if(w[j.name].screens&&void 0!==j.state){y='number'==typeof j.state.index?j.state.index:j.state.routes.length-1;var v=j.state.routes[y],h=w[j.name].screens;h&&v.name in h?(j=v,w=h):P=!1}else P=!1};j.name in w&&P;)W();if(void 0===s&&(s=x.join('/')),void 0!==w[j.name]?v+=s.split('/').map((function(t){var n=l(t);if('*'===t)return j.name;if(t.startsWith(':')){var o=b[n];return void 0===o&&t.endsWith('?')?'':encodeURIComponent(o)}return encodeURIComponent(t)})).join('/'):v+=encodeURIComponent(j.name),f||(f=O.params),j.state)v+='/';else if(f){for(var _ in f)'undefined'===f[_]&&delete f[_];var M=o.stringify(f,{sort:!1});M&&(v+="?"+M)}h=j.state};for(;h;)j();return v=(v=v.replace(/\/+/g,'/')).length>1?v.replace(/\/$/,''):v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var u={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=s?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),s=r(d[0])(r(d[5]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var c=function t(n){var o='number'==typeof n.index?n.routes[n.index]:n.routes[n.routes.length-1];return o.state?t(o.state):o};var l=function(t){return t.replace(/^:/,'').replace(/\?$/,'')},p=function(){for(var n,o=arguments.length,u=new Array(o),s=0;s0})).join('&')},e.parseUrl=function(t,n){n=Object.assign({decode:!0},n);var a=r(d[3])(t,'#'),o=r(d[4])(a,2),u=o[0],s=o[1];return Object.assign({url:u.split('?')[0]||'',query:v(p(t),n)},n&&n.parseFragmentIdentifier&&s?{fragmentIdentifier:c(s,n)}:{})},e.stringifyUrl=function(n,a){a=Object.assign(r(d[5])({encode:!0,strict:!0},t,!0),a);var o=l(n.url).split('?')[0]||'',c=e.extract(n.url),s=e.parse(c,{sort:!1}),p=Object.assign(s,n.query),y=e.stringify(p,a);y&&(y="?"+y);var v=f(n.url);return n.fragmentIdentifier&&(v="#"+(a[t]?u(n.fragmentIdentifier,a):n.fragmentIdentifier)),""+o+y+v},e.pick=function(n,a,o){o=Object.assign(r(d[5])({parseFragmentIdentifier:!0},t,!1),o);var u=e.parseUrl(n,o),c=u.url,s=u.query,l=u.fragmentIdentifier;return e.stringifyUrl({url:c,query:r(d[6])(s,a),fragmentIdentifier:l},o)},e.exclude=function(t,n,a){var o=Array.isArray(n)?function(t){return!n.includes(t)}:function(t,a){return!n(t,a)};return e.pick(t,o,a)}}),476,[27,477,478,479,16,169,480]); -__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}}),477,[]); -__d((function(g,r,_i,a,m,e,d){'use strict';var t=new RegExp("(%[a-f0-9]{2})|([^%]+?)",'gi'),n=new RegExp("(%[a-f0-9]{2})+",'gi');function o(t,n){try{return[decodeURIComponent(t.join(''))]}catch(t){}if(1===t.length)return t;n=n||1;var c=t.slice(0,n),p=t.slice(n);return Array.prototype.concat.call([],o(c),o(p))}function c(n){try{return decodeURIComponent(n)}catch(i){for(var c=n.match(t)||[],p=1;p1&&void 0!==arguments[1])||arguments[1],f=['initialRouteName','screens'];s||f.push('path','exact','stringify','parse');var u=Object.keys(c).filter((function(n){return!f.includes(n)}));if(u.length)throw new Error("Found invalid properties in the configuration:\n"+t(u)+"\n\nDid you forget to specify them under a 'screens' property?\n\nYou can only specify the following properties:\n"+t(f)+"\n\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");c.screens&&Object.entries(c.screens).forEach((function(t){var c=(0,n.default)(t,2),s=(c[0],c[1]);'string'!=typeof s&&o(s,!1)}))};var n=r(d[0])(r(d[1])),t=function(n){return n.map((function(n){return"- "+n})).join('\n')}}),482,[3,16]); -__d((function(g,r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,i){var u;i&&(0,o.default)(i);var s=[];null!=i&&i.initialRouteName&&s.push({initialRouteName:i.initialRouteName,parentScreens:[]});var f=null==i?void 0:i.screens,c=a.replace(/\/+/g,'/').replace(/^\//,'').replace(/\?.*$/,'');if(c=c.endsWith('/')?c:c+"/",void 0===f){var h=c.split('/').filter(Boolean).map((function(t){return{name:decodeURIComponent(t)}}));return h.length?b(a,h,s):void 0}var v,y,j=(u=[]).concat.apply(u,(0,n.default)(Object.keys(f).map((function(t){return p(t,f,[],s,[])})))).sort((function(t,n){if(t.pattern===n.pattern)return n.routeNames.join('>').localeCompare(t.routeNames.join('>'));if(t.pattern.startsWith(n.pattern))return-1;if(n.pattern.startsWith(t.pattern))return 1;for(var a=t.pattern.split('/'),i=n.pattern.split('/'),u=0;uu.length?u.every((function(t,n){return i[n]===t})):i.every((function(t,n){return u[n]===t}))))throw new Error("Found conflicting screens with the same pattern. The pattern '"+a.pattern+"' resolves to both '"+i.join(' > ')+"' and '"+u.join(' > ')+"'. Patterns must be unique and cannot resolve to more than one screen.")}return Object.assign(n,(0,t.default)({},a.pattern,a))}),{}),'/'===c){var O=j.find((function(t){return''===t.path&&t.routeNames.every((function(t){var n;return!(null!=(n=j.find((function(n){return n.screen===t})))&&n.path)}))}));return O?b(a,O.routeNames.map((function(t){return{name:t}})),s,j):void 0}var N=l(c,j.map((function(t){return Object.assign({},t,{regex:t.regex?new RegExp(t.regex.source+'$'):void 0})}))),w=N.routes,x=N.remainingPath;void 0!==w&&(c=x,v=y=b(a,w,s,j));if(null==y||null==v)return;return v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),a=r(d[0])(r(d[3])),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var a=s(n);if(a&&a.has(t))return a.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var f=u?Object.getOwnPropertyDescriptor(t,o):null;f&&(f.get||f.set)?Object.defineProperty(i,o,f):i[o]=t[o]}i.default=t,a&&a.set(t,i);return i})(r(d[4])),u=r(d[0])(r(d[5])),o=r(d[0])(r(d[6]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(s=function(t){return t?a:n})(t)}var f=function(){for(var t,a=arguments.length,i=new Array(a),u=0;u2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,p=[];u.push(a),s.push(a);var h=i[a];if('string'==typeof h){var v=l?f(l,h):h;p.push(c(a,u,v,h))}else if('object'==typeof h){var y;if('string'==typeof h.path){if(h.exact&&void 0===h.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: ''`.");y=!0!==h.exact?f(l||'',h.path||''):h.path||'',p.push(c(a,u,y,h.path,h.parse))}h.screens&&(h.initialRouteName&&o.push({initialRouteName:h.initialRouteName,parentScreens:s}),Object.keys(h.screens).forEach((function(a){var i,f=t(a,h.screens,u,o,(0,n.default)(s),null!=(i=y)?i:l);p.push.apply(p,(0,n.default)(f))})))}return u.pop(),p},c=function(t,i,u,o,s){return{screen:t,regex:(u=u.split('/').filter(Boolean).join('/'))?new RegExp("^("+u.split('/').map((function(t){return t.startsWith(':')?"(([^/]+\\/)"+(t.endsWith('?')?'?':'')+")":('*'===t?'.*':(0,a.default)(t))+"\\/"})).join('')+")"):void 0,pattern:u,path:o,routeNames:(0,n.default)(i),parse:s}},h=function(t,n){for(var a of n)if(t===a.routeNames[a.routeNames.length-1])return a.parse},v=function(t,n,a){for(var i of a)if(n.length===i.parentScreens.length){for(var u=!0,o=0;o0)for(var p=o;s=n.shift();){l=v(s.name,f,a);var c=p.index||p.routes.length-1;p.routes[c].state=y(l,s,0===n.length),n.length>0&&(p=p.routes[c].state),f.push(s.name)}(s=(0,u.default)(o)).path=t;var b=j(t,i?h(s.name,i):void 0);return b&&(s.params=Object.assign({},s.params,b)),o},j=function(t,n){var a=t.split('?')[1],u=i.parse(a);return n&&Object.keys(u).forEach((function(t){Object.hasOwnProperty.call(n,t)&&'string'==typeof u[t]&&(u[t]=n[t](u[t]))})),Object.keys(u).length?u:void 0}}),483,[3,169,27,484,476,446,482]); -__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){if('string'!=typeof t)throw new TypeError('Expected a string');return t.replace(/[|\\{}()[\]^$+*?.]/g,'\\$&').replace(/-/g,'\\x2d')}}),484,[]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),485,[144]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),486,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var s=c.children,y=u.useState((function(){return(0,r(d[8]).nanoid)()})),w=(0,t.default)(y,1)[0],k=u.useState(new Map),O=(0,t.default)(k,2),P=O[0],R=O[1],j=u.useContext(f.default),M=u.useContext(l.default),b=u.useContext(v.default),h=null==b?void 0:b.setPreventRemove,_=(0,o.default)((function(t,n,u){if(u&&(null==j||null!=j&&j.getState().routes.every((function(t){return t.key!==n}))))throw new Error("Couldn't find a route with the key "+n+". Is your component inside NavigationContent?");R((function(o){var f,l;if(n===(null==(f=o.get(t))?void 0:f.routeKey)&&u===(null==(l=o.get(t))?void 0:l.preventRemove))return o;var v=new Map(o);return u?v.set(t,{routeKey:n,preventRemove:u}):v.delete(t),v}))})),C=(0,n.default)(P.values()).some((function(t){return t.preventRemove}));u.useEffect((function(){if(void 0!==(null==M?void 0:M.key)&&void 0!==h)return h(w,M.key,C),function(){h(w,M.key,!1)}}),[w,C,null==M?void 0:M.key,h]);var x=u.useMemo((function(){return{setPreventRemove:_,preventedRoutes:p(P)}}),[_,P]);return(0,r(d[9]).jsx)(v.default.Provider,{value:x,children:s})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var v=f?Object.getOwnPropertyDescriptor(t,l):null;v&&(v.get||v.set)?Object.defineProperty(o,l,v):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3])),o=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),v=r(d[0])(r(d[7]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}var p=function(t){return(0,n.default)(t.values()).reduce((function(t,n){var u,o=n.routeKey,f=n.preventRemove;return t[o]={preventRemove:(null==(u=t[o])?void 0:u.preventRemove)||f},t}),{})}}),487,[3,16,27,144,488,485,450,486,462,192]); -__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,u,f){void 0===f&&(f=u),Object.defineProperty(t,f,{enumerable:!0,get:function(){return n[u]}})}:function(t,n,u,f){void 0===f&&(f=u),t[f]=n[u]}),n=this&&this.__setModuleDefault||(Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n}),u=this&&this.__importStar||function(u){if(u&&u.__esModule)return u;var f={};if(null!=u)for(var c in u)"default"!==c&&Object.prototype.hasOwnProperty.call(u,c)&&t(f,u,c);return n(f,u),f};Object.defineProperty(e,"__esModule",{value:!0});var f=u(r(d[0])),c='undefined'!=typeof document?f.useLayoutEffect:f.useEffect;e.default=function(t){var n=f.useRef(t),u=f.useRef((function(){for(var t=[],u=0;u {\n // Your code here\n }, [depA, depB])\n);\n\nSee usage guide: https://reactnavigation.org/docs/use-focus-effect")}t.useEffect((function(){var t,n=!1,c=function(){var t=o();if(void 0===t||'function'==typeof t)return t};u.isFocused()&&(t=c(),n=!0);var f=u.addListener('focus',(function(){n||(void 0!==t&&t(),t=c(),n=!0)})),s=u.addListener('blur',(function(){void 0!==t&&t(),t=void 0,n=!1}));return function(){void 0!==t&&t(),f(),s()}}),[o,u])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var p=f?Object.getOwnPropertyDescriptor(t,s):null;p&&(p.get||p.set)?Object.defineProperty(c,s,p):c[s]=t[s]}c.default=t,u&&u.set(t,c);return c})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),490,[144,3,491]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=t.useContext(n.default),f=t.useContext(o.default);if(void 0===f&&void 0===u)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return null!=f?f:u};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2])),o=r(d[1])(r(d[3]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),491,[144,3,448,449]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var f=(0,u.default)(),o=(0,n.useState)(f.isFocused),c=(0,t.default)(o,2),l=c[0],s=c[1],p=f.isFocused();l!==p&&s(p);return n.useEffect((function(){var t=f.addListener('focus',(function(){return s(!0)})),n=f.addListener('blur',(function(){return s(!1)}));return function(){t(),n()}}),[f]),n.useDebugValue(p),p};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),492,[3,16,144,491]); -__d((function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u,y){var G=(0,N.default)(),A=i.useContext(f.default),M=y.children,_=y.screenListeners,F=(0,n.default)(y,E),J=i.useRef(u(Object.assign({},F,null!=A&&A.params&&null==A.params.state&&!1!==A.params.initial&&'string'==typeof A.params.screen?{initialRouteName:A.params.screen}:null))).current,V=x(M),W=V.reduce((function(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}),{}),D=V.map((function(e){return e.props.name})),T=D.reduce((function(e,t){return e[t]=W[t].keys.map((function(e){return null!=e?e:''})).join(':'),e}),{}),H=D.reduce((function(e,t){var n=W[t].props.initialParams;return e[t]=n,e}),{}),q=D.reduce((function(e,n){return Object.assign(e,(0,t.default)({},n,W[n].props.getId))}),{});if(!D.length)throw new Error("Couldn't find any screens for the navigator. Have you defined any screens as its children?");var z=i.useCallback((function(e){return void 0===e.type||e.type===J.type}),[J.type]),B=i.useCallback((function(e){return void 0!==e&&!1===e.stale&&z(e)}),[z]),Q=i.useContext(c.default),U=Q.state,X=Q.getState,Y=Q.setState,Z=Q.setKey,$=Q.getKey,ee=Q.getIsInitial,te=i.useRef(!1),ne=i.useCallback((function(){Y(void 0),te.current=!0}),[Y]),re=i.useCallback((function(e){te.current||Y(e)}),[Y]),ae=i.useMemo((function(){var e,t,n,o=D.reduce((function(e,t){var n,o,i,u=W[t].props.initialParams,s=null==(null==A||null==(n=A.params)?void 0:n.state)&&!1!==(null==A||null==(o=A.params)?void 0:o.initial)&&(null==A||null==(i=A.params)?void 0:i.screen)===t?A.params.params:void 0;return e[t]=void 0!==u||void 0!==s?Object.assign({},u,s):void 0,e}),{});return void 0!==U&&z(U)||null!=(null==A||null==(e=A.params)?void 0:e.state)?[J.getRehydratedState(null!=(t=null==A||null==(n=A.params)?void 0:n.state)?t:U,{routeNames:D,routeParamList:o,routeGetIdList:q}),!1]:[J.getInitialState({routeNames:D,routeParamList:o,routeGetIdList:q}),!0]}),[U,J,z]),oe=(0,e.default)(ae,2),ie=oe[0],ue=oe[1],se=i.useRef(T);i.useEffect((function(){se.current=T}));var le=se.current,pe=B(U)?U:ie,fe=pe;(0,s.default)(pe.routeNames,D)&&(0,l.default)(T,le)||(fe=J.getStateForRouteNamesChange(pe,{routeNames:D,routeParamList:H,routeGetIdList:q,routeKeyChanges:Object.keys(T).filter((function(e){return le.hasOwnProperty(e)&&T[e]!==le[e]}))}));var ce=i.useRef(null==A?void 0:A.params);if(i.useEffect((function(){ce.current=null==A?void 0:A.params}),[null==A?void 0:A.params]),null!=A&&A.params){var de,me=ce.current;'object'==typeof A.params.state&&null!=A.params.state&&A.params!==me?de=r(d[29]).CommonActions.reset(A.params.state):'string'==typeof A.params.screen&&(!1===A.params.initial&&ue||A.params!==me)&&(de=r(d[29]).CommonActions.navigate({name:A.params.screen,params:A.params.params,path:A.params.path}));var ve=de?J.getStateForAction(fe,de,{routeNames:D,routeParamList:H,routeGetIdList:q}):null;fe=null!==ve?J.getRehydratedState(ve,{routeNames:D,routeParamList:H,routeGetIdList:q}):fe}var ye=pe!==fe;(0,R.default)((function(){ye&&re(fe)})),pe=fe,i.useEffect((function(){return Z(G),ee()||re(fe),function(){setTimeout((function(){void 0!==X()&&$()===G&&ne()}),0)}}),[]);var ge=i.useRef();ge.current=ie;var he=i.useCallback((function(){var e=X();return B(e)?e:ge.current}),[X,B]),Oe=(0,L.default)((function(e){var t,n,i,u=[];e.target?null!=(i=n=pe.routes.find((function(t){return t.key===e.target})))&&i.name&&u.push(n.name):(n=pe.routes[pe.index],u.push.apply(u,(0,o.default)(Object.keys(W).filter((function(e){var t;return(null==(t=n)?void 0:t.name)===e})))));if(null!=n){var s=Ke[n.key].navigation;(t=[]).concat.apply(t,(0,o.default)([_].concat((0,o.default)(u.map((function(e){return W[e].props.listeners})))).map((function(t){var o='function'==typeof t?t({route:n,navigation:s}):t;return o?Object.keys(o).filter((function(t){return t===e.type})).map((function(e){return null==o?void 0:o[e]})):void 0})))).filter((function(e,t,n){return e&&n.lastIndexOf(e)===t})).forEach((function(t){return null==t?void 0:t(e)}))}}));(0,j.default)({state:pe,emitter:Oe}),i.useEffect((function(){Oe.emit({type:'state',data:{state:pe}})}),[Oe,pe]);var Se=(0,h.default)(),be=Se.listeners,Le=Se.addListener,ke=(0,w.default)(),je=ke.keyedListeners,we=ke.addKeyedListener,Pe=(0,C.default)({router:J,getState:he,setState:re,key:null==A?void 0:A.key,actionListeners:be.action,beforeRemoveListeners:je.beforeRemove,routerConfigOptions:{routeNames:D,routeParamList:H,routeGetIdList:q},emitter:Oe}),Ce=(0,K.default)({router:J,key:null==A?void 0:A.key,getState:he,setState:re}),Ie=(0,P.default)({id:y.id,onAction:Pe,getState:he,emitter:Oe,router:J});(0,k.default)({navigation:Ie,focusedListeners:be.focus}),(0,I.default)({getState:he,getStateListeners:je.getState});var Ke=(0,b.default)({state:pe,screens:W,navigation:Ie,screenOptions:y.screenOptions,defaultScreenOptions:y.defaultScreenOptions,onAction:Pe,getState:he,setState:re,onRouteFocus:Ce,addListener:Le,addKeyedListener:we,router:J,emitter:Oe});(0,S.default)({state:pe,navigation:Ie,descriptors:Ke});var Ne=(0,O.default)((function(e){return(0,r(d[30]).jsx)(p.default.Provider,{value:Ie,children:(0,r(d[30]).jsx)(v.default,{children:e})})}));return{state:pe,navigation:Ie,descriptors:Ke,NavigationContent:Ne}};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=G(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[5])),u=r(d[0])(r(d[6])),s=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),c=r(d[0])(r(d[11])),v=r(d[0])(r(d[12])),y=r(d[0])(r(d[13])),h=r(d[0])(r(d[14])),O=r(d[0])(r(d[15])),S=r(d[0])(r(d[16])),b=r(d[0])(r(d[17])),L=r(d[0])(r(d[18])),k=r(d[0])(r(d[19])),j=r(d[0])(r(d[20])),w=r(d[0])(r(d[21])),P=r(d[0])(r(d[22])),C=r(d[0])(r(d[23])),I=r(d[0])(r(d[24])),K=r(d[0])(r(d[25])),N=r(d[0])(r(d[26])),R=r(d[0])(r(d[27])),E=["children","screenListeners"];function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(G=function(e){return e?n:t})(e)}r(d[28]).PrivateValueStore;var A=function(e){return void 0===e||'string'==typeof e&&''!==e},x=function e(t,n,s){return i.Children.toArray(t).reduce((function(t,l){var p,f;if(i.isValidElement(l)){if(l.type===y.default){if(!A(l.props.navigationKey))throw new Error("Got an invalid 'navigationKey' prop ("+JSON.stringify(l.props.navigationKey)+") for the screen '"+l.props.name+"'. It must be a non-empty string or 'undefined'.");return t.push({keys:[n,l.props.navigationKey],options:s,props:l.props}),t}if(l.type===i.Fragment||l.type===u.default){if(!A(l.props.navigationKey))throw new Error("Got an invalid 'navigationKey' prop ("+JSON.stringify(l.props.navigationKey)+") for the group. It must be a non-empty string or 'undefined'.");return t.push.apply(t,(0,o.default)(e(l.props.children,l.props.navigationKey,l.type!==u.default?s:null!=s?[].concat((0,o.default)(s),[l.props.screenOptions]):[l.props.screenOptions]))),t}}throw new Error("A navigator can only contain 'Screen', 'Group' or 'React.Fragment' as its direct children (found "+(i.isValidElement(l)?"'"+('string'==typeof l.type?l.type:null==(p=l.type)?void 0:p.name)+"'"+(null!=(f=l.props)&&f.name?" for the screen '"+l.props.name+"'":''):'object'==typeof l?JSON.stringify(l):"'"+String(l)+"'")+"). To render this component in the navigator, pass it in the 'component' prop to 'Screen'.")}),[])}}),493,[3,16,169,108,27,144,469,494,495,485,450,451,487,470,453,496,497,498,454,502,503,455,504,505,507,508,509,467,489,459,192]); -__d((function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){if(n===t)return!0;if(n.length!==t.length)return!1;return n.every((function(n,u){return n===t[u]}))}}),494,[]); -__d((function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){if(t===n)return!0;var u=Object.keys(t),f=Object.keys(n);if(u.length!==f.length)return!1;return u.every((function(u){return t[u]===n[u]}))}}),495,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var o=t.useRef(n);return o.current=n,t.useEffect((function(){o.current=null})),t.useRef((function(t){var n=t.children,f=o.current;if(null===f)throw new Error('The returned component must be rendered in the same render phase as the hook.');return(0,r(d[1]).jsx)(u,{render:f,children:n})})).current};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}var u=function(t){return(0,t.render)(t.children)}}),496,[144,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.state,f=o.navigation,c=o.descriptors,p=t.useContext(n.default);p&&f.isFocused()&&(p.options=c[u.routes[u.index].key].options)};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var s=c?Object.getOwnPropertyDescriptor(t,p):null;s&&(s.get||s.set)?Object.defineProperty(f,p,s):f[p]=t[p]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),497,[144,3,471]); -__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(v){var O=v.state,j=v.screens,b=v.navigation,k=v.screenOptions,P=v.defaultScreenOptions,S=v.onAction,h=v.getState,w=v.setState,M=v.addListener,_=v.addKeyedListener,x=v.onRouteFocus,A=v.router,D=v.emitter,L=i.useState({}),R=(0,o.default)(L,2),C=R[0],W=R[1],F=i.useContext(u.default),K=F.onDispatchAction,B=F.onOptionsChange,E=F.stackRef,N=i.useMemo((function(){return{navigation:b,onAction:S,addListener:M,addKeyedListener:_,onRouteFocus:x,onDispatchAction:K,onOptionsChange:B,stackRef:E}}),[b,S,M,_,x,K,B,E]),T=(0,l.default)({state:O,getState:h,navigation:b,setOptions:W,router:A,emitter:D});return(0,p.default)(O.routes).reduce((function(o,i,l){var p=j[i.name],v=p.props,b=T[i.key],S=[k].concat((0,n.default)(p.options?p.options.filter(Boolean):[]),[v.options,C[i.key]]).reduce((function(t,n){return Object.assign(t,'function'!=typeof n?n:n({route:i,navigation:b}))}),{}),M=Object.assign({},'function'==typeof P?P({route:i,navigation:b,options:S}):P,S),_=function(){return W((function(n){if(i.key in n){var o=i.key;n[o];return(0,t.default)(n,[o].map(y))}return n}))};return o[i.key]={route:i,navigation:b,render:function(){return(0,r(d[11]).jsx)(u.default.Provider,{value:N,children:(0,r(d[11]).jsx)(s.default.Provider,{value:b,children:(0,r(d[11]).jsx)(f.default.Provider,{value:i,children:(0,r(d[11]).jsx)(c.default,{navigation:b,route:i,screen:v,routeState:O.routes[l].state,getState:h,setState:w,options:M,clearOptions:_})})})},i.key)},options:M},o}),{})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=v(n);if(o&&o.has(t))return o.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var f=u?Object.getOwnPropertyDescriptor(t,s):null;f&&(f.get||f.set)?Object.defineProperty(i,s,f):i[s]=t[s]}i.default=t,o&&o.set(t,i);return i})(r(d[4])),u=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),f=r(d[0])(r(d[7])),c=r(d[0])(r(d[8])),l=r(d[0])(r(d[9])),p=r(d[0])(r(d[10]));function v(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(v=function(t){return t?o:n})(t)}function y(t){var n=O(t,"string");return"symbol"==typeof n?n:String(n)}function O(t,n){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,n||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}}),498,[3,108,27,16,144,447,449,450,499,501,474,192]); -__d((function(g,_r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var f=c.screen,s=c.route,l=c.navigation,p=c.routeState,v=c.getState,y=c.setState,k=c.options,b=c.clearOptions,O=t.useRef(),j=t.useCallback((function(){return O.current}),[]),h=(0,o.default)({key:s.key,options:k,navigation:l}).addOptionsGetter,C=t.useCallback((function(t){O.current=t}),[]),P=t.useCallback((function(){var t=v().routes.find((function(t){return t.key===s.key}));return t?t.state:void 0}),[v,s.key]),M=t.useCallback((function(t){var n=v();y(Object.assign({},n,{routes:n.routes.map((function(n){return n.key===s.key?Object.assign({},n,{state:t}):n}))}))}),[v,s.key,y]),_=t.useRef(!0);t.useEffect((function(){_.current=!1})),t.useEffect((function(){return b}),[]);var w=t.useCallback((function(){return _.current}),[]),S=t.useMemo((function(){return{state:p,getState:P,setState:M,getKey:j,setKey:C,getIsInitial:w,addOptionsGetter:h}}),[p,P,M,j,C,w,h]),x=f.getComponent?f.getComponent():f.component;return(0,_r(d[6]).jsx)(r.default.Provider,{value:S,children:(0,_r(d[6]).jsx)(n.default,{children:(0,_r(d[6]).jsx)(u.default,{name:f.name,render:x||f.children,navigation:l,route:s,children:void 0!==x?(0,_r(d[6]).jsx)(x,{navigation:l,route:s}):void 0!==f.children?f.children({navigation:l,route:s}):null})})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=c(n);if(r&&r.has(t))return r.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=o?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(u,f,s):u[f]=t[f]}u.default=t,r&&r.set(t,u);return u})(_r(d[0])),n=_r(d[1])(_r(d[2])),r=_r(d[1])(_r(d[3])),u=_r(d[1])(_r(d[4])),o=_r(d[1])(_r(d[5]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(c=function(t){return t?r:n})(t)}}),499,[144,3,445,451,500,456,192]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var u=new WeakMap,f=new WeakMap;return(t=function(t){return t?f:u})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,u){if(!u&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var f=t(u);if(f&&f.has(n))return f.get(n);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=n[l]}o.default=n,f&&f.set(n,o);return o})(r(d[0])).memo((function(t){return t.children}),(function(t,n){var u=Object.keys(t),f=Object.keys(n);if(u.length!==f.length)return!1;for(var o of u)if('children'!==o&&t[o]!==n[o])return!1;return!0}));e.default=n}),500,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var s=f.state,y=f.getState,l=f.navigation,p=f.setOptions,O=f.router,k=f.emitter,v=(u.useContext(o.default).stackRef,u.useMemo((function(){return{current:{}}}),[y,l,p,O,k])),b=Object.assign({},O.actionCreators,r(d[5]).CommonActions);return v.current=s.routes.reduce((function(u,o){var f=v.current[o.key];if(f)u[o.key]=f;else{l.emit;var s=(0,n.default)(l,c),O=function(t){var n='function'==typeof t?t(y()):t;null!=n&&l.dispatch(Object.assign({source:o.key},n))},j=function(t){try{t()}finally{}},P=Object.keys(b).reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,u=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:new Set,u=f();if(n.has(u.key))return!1;if(n.add(u.key),'string'!=typeof t.target||t.target===u.key){var p=i.getStateForAction(u,t,P.current);if(null!==(p=null===p&&t.target===u.key?u:p)){if(j(t,u===p),u!==p){if((0,o.shouldPreventRemove)(y,v,u.routes,p.routes,t))return!0;c(p)}if(void 0!==h)i.shouldActionChangeFocus(t)&&void 0!==s&&h(s);return!0}}if(void 0!==O&&O(t,n))return!0;for(var b=l.length-1;b>=0;b--){if((0,l[b])(t,n))return!0}return!1}),[l,v,y,f,s,O,j,h,i,c]);return(0,o.default)({getState:f,emitter:y,beforeRemoveListeners:v}),t.useEffect((function(){return null==k?void 0:k('action',w)}),[k,w]),w};var t=i(r(d[0])),n=r(d[1])(r(d[2])),o=i(r(d[3]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}function i(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var i={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(i,c,s):i[c]=t[c]}return i.default=t,o&&o.set(t,i),i}}),505,[144,3,447,506]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.getState,l=t.emitter,v=t.beforeRemoveListeners,s=n.useContext(u.default).addKeyedListener,y=n.useContext(o.default),p=null==y?void 0:y.key;n.useEffect((function(){if(p)return null==s?void 0:s('beforeRemove',p,(function(t){var n=f();return c(l,v,n.routes,[],t)}))}),[s,v,l,f,p])},e.shouldPreventRemove=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var v=l?Object.getOwnPropertyDescriptor(t,c):null;v&&(v.get||v.set)?Object.defineProperty(o,c,v):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var l=Symbol('VISITED_ROUTE_KEYS'),c=function(n,u,o,f,c){var v,s=f.map((function(t){return t.key})),y=o.filter((function(t){return!s.includes(t.key)})).reverse(),p=null!=(v=c[l])?v:new Set,b=Object.assign({},c,(0,t.default)({},l,p));for(var O of y){var k;if(!p.has(O.key)){if(null==(k=u[O.key])?void 0:k.call(u,b))return!0;if(p.add(O.key),n.emit({type:'beforeRemove',target:O.key,data:{action:b},canPreventDefault:!0}).defaultPrevented)return!0}}return!1};e.shouldPreventRemove=c}),506,[3,169,144,447,450]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var l=f.getState,c=f.getStateListeners,s=t.useContext(u.default).addKeyedListener,p=t.useContext(o.default),y=p?p.key:'root',v=t.useCallback((function(){var t=l(),u=t.routes.map((function(t){var n,u=null==(n=c[t.key])?void 0:n.call(c);return t.state===u?t:Object.assign({},t,{state:u})}));return(0,n.default)(t.routes,u)?t:Object.assign({},t,{routes:u})}),[l,c]);t.useEffect((function(){return null==s?void 0:s('getState',y,v)}),[s,v,y])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(o,c,s):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2])),u=r(d[1])(r(d[3])),o=r(d[1])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),507,[144,3,494,447,450]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.router,f=o.getState,c=o.key,l=o.setState,p=t.useContext(n.default).onRouteFocus;return t.useCallback((function(t){var n=f(),o=u.getStateForRouteFocus(n,t);o!==n&&l(o),void 0!==p&&void 0!==c&&p(c)}),[f,p,u,l,c])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),508,[144,3,447]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=n.useState((function(){return(0,r(d[3]).nanoid)()})),u=(0,t.default)(o,1)[0],f=n.useContext(r(d[4]).SingleNavigatorContext);if(void 0===f)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 n.useEffect((function(){var t=f.register,n=f.unregister;return t(u),function(){return n(u)}}),[f,u]),u};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var l=c?Object.getOwnPropertyDescriptor(t,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=t[p]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),509,[3,16,144,462,445]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=t.useRef(null);null==u.current&&(u.current=(0,n.default)());return u.current};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=u(n);if(f&&f.has(t))return f.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,f&&f.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}}),510,[144,3,458]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var f=(0,n.default)(),o=t.useState((function(){return u(f.getState())})),c=(0,e.default)(o,2)[1],l=t.useRef(u);return t.useEffect((function(){l.current=u})),t.useEffect((function(){return f.addListener('state',(function(e){c(l.current(e.data.state))}))}),[f]),u(f.getState())};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var f={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(f,c,l):f[c]=e[c]}f.default=e,n&&n.set(e,f);return f})(r(d[2])),n=r(d[0])(r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}}),511,[3,16,144,491]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c,l){var p=t.useState((function(){return(0,r(d[7]).nanoid)()})),v=(0,e.default)(p,1)[0],s=(0,u.default)(),y=(0,o.default)().key,O=(0,f.default)().setPreventRemove;t.useEffect((function(){return O(v,y,c),function(){O(v,y,!1)}}),[O,v,y,c]);var b=(0,n.default)((function(e){c&&(e.preventDefault(),l({data:e.data}))}));t.useEffect((function(){return null==s?void 0:s.addListener('beforeRemove',b)}),[s,b])};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=f?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(u,o,l):u[o]=e[o]}u.default=e,n&&n.set(e,u);return u})(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),o=r(d[0])(r(d[6]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}}),512,[3,16,144,488,491,513,514,462]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(null==o)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),513,[144,3,486]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),514,[144,3,450]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=S(n);if(l&&l.has(t))return l.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=o?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(u,f,c):u[f]=t[f]}u.default=t,l&&l.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),f=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),s=r(d[0])(r(d[8])),v=r(d[0])(r(d[9])),p=r(d[0])(r(d[10])),O=["theme","linking","fallback","documentTitle","onReady"];function S(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,l=new WeakMap;return(S=function(t){return t?l:n})(t)}g.REACT_NAVIGATION_DEVTOOLS=new WeakMap;var b=l.forwardRef((function(S,b){var P=S.theme,h=void 0===P?o.default:P,j=S.linking,y=S.fallback,_=void 0===y?null:y,k=S.documentTitle,A=S.onReady,F=(0,n.default)(S,O),T=!!j&&!1!==j.enabled;null!=j&&j.config&&(0,r(d[11]).validatePathConfig)(j.config);var w=l.useRef(null);(0,c.default)(w),(0,s.default)(w,k);var E=(0,v.default)(w,Object.assign({independent:F.independent,enabled:T,prefixes:[]},j)).getInitialState;l.useEffect((function(){w.current&&REACT_NAVIGATION_DEVTOOLS.set(w.current,{get linking(){var t,n,l,u;return Object.assign({},j,{enabled:T,prefixes:null!=(t=null==j?void 0:j.prefixes)?t:[],getStateFromPath:null!=(n=null==j?void 0:j.getStateFromPath)?n:r(d[11]).getStateFromPath,getPathFromState:null!=(l=null==j?void 0:j.getPathFromState)?l:r(d[11]).getPathFromState,getActionFromState:null!=(u=null==j?void 0:j.getActionFromState)?u:r(d[11]).getActionFromState})}})}));var M=(0,p.default)(E),R=(0,t.default)(M,2),x=R[0],I=R[1];l.useImperativeHandle(b,(function(){return w.current}));var N=l.useMemo((function(){return{options:j}}),[j]),C=null!=F.initialState||!T||x,D=l.useRef(A);return l.useEffect((function(){D.current=A})),l.useEffect((function(){C&&(null==D.current||D.current())}),[C]),C?(0,r(d[12]).jsx)(u.default.Provider,{value:N,children:(0,r(d[12]).jsx)(f.default,{value:h,children:(0,r(d[12]).jsx)(r(d[11]).BaseNavigationContainer,Object.assign({},F,{initialState:null==F.initialState?I:F.initialState,ref:w}))})}):_}));e.default=b}),515,[3,16,108,144,439,516,517,519,520,521,523,441,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={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)'}};e.default=o}),516,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.value,o=n.children;return(0,r(d[3]).jsx)(t.default.Provider,{value:u,children:o})};!(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f)})(r(d[0]));var t=r(d[1])(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}}),517,[144,3,518,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.createContext(n.default);u.displayName='ThemeContext';var f=u;e.default=f}),518,[144,3,516]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){t.useEffect((function(){var t=n.BackHandler.addEventListener('hardwareBackPress',(function(){var t=u.current;return null!=t&&(!!t.canGoBack()&&(t.goBack(),!0))}));return function(){return t.remove()}}),[u])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),519,[144,1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}),520,[]); -__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r,u){var o=u.independent,c=u.enabled,f=void 0===c||c,s=u.prefixes,l=u.filter,v=u.config,p=u.getInitialURL,h=void 0===p?function(){return Promise.race([t.Linking.getInitialURL(),new Promise((function(e){return setTimeout(e,150)}))])}:p,y=u.subscribe,b=void 0===y?function(e){var n,r=function(t){var n=t.url;return e(n)},u=t.Linking.addEventListener('url',r),o=null==(n=t.Linking.removeEventListener)?void 0:n.bind(t.Linking);return function(){null!=u&&u.remove?u.remove():null==o||o('url',r)}}:y,k=u.getStateFromPath,R=void 0===k?_r(d[4]).getStateFromPath:k,P=u.getActionFromState,w=void 0===P?_r(d[4]).getActionFromState:P;e.useEffect((function(){}),[f,o]);var L=e.useRef(f),O=e.useRef(s),j=e.useRef(l),S=e.useRef(v),_=e.useRef(h),E=e.useRef(R),M=e.useRef(w);e.useEffect((function(){L.current=f,O.current=s,j.current=l,S.current=v,_.current=h,E.current=R,M.current=w}));var F=e.useCallback((function(e){if(e&&(!j.current||j.current(e))){var t=(0,n.default)(O.current,e);return void 0!==t?E.current(t,S.current):void 0}}),[]),A=e.useCallback((function(){var e;if(L.current){var t=_.current();if(null!=t&&'string'!=typeof t)return t.then((function(e){return F(e)}));e=F(t)}var n={then:function(t){return Promise.resolve(t?t(e):e)},catch:function(){return n}};return n}),[F]);return e.useEffect((function(){return b((function(e){if(f){var t=r.current,n=t?F(e):void 0;if(t&&n){var u=t.getRootState();if(n.routes.some((function(e){return!(null!=u&&u.routeNames.includes(e.name))})))return void console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");var o=M.current(n,S.current);if(void 0!==o)try{t.dispatch(o)}catch(t){console.warn("An error occurred when trying to handle the link '"+e+"': "+('object'==typeof t&&null!=t&&'message'in t?t.message:t))}else t.resetRoot(n)}}}))}),[f,F,r,b]),{getInitialState:A}};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=o?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(u,c,f):u[c]=e[c]}u.default=e,n&&n.set(e,u);return u})(_r(d[0])),t=_r(d[1]),n=_r(d[2])(_r(d[3]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}),521,[144,1,3,522,441]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){for(var u of t){var f,c,p=null!=(f=null==(c=u.match(/^[^:]+:/))?void 0:c[0])?f:'',o=u.replace(new RegExp("^"+(0,l.default)(p)),'').replace(/\/+/g,'/').replace(/^\//,''),v=new RegExp("^"+(0,l.default)(p)+"(/)*"+o.split('.').map((function(t){return'*'===t?'[^/]+':(0,l.default)(t)})).join('\\.')),_=n.replace(/\/+/g,'/');if(v.test(_))return _.replace(v,'')}return};var l=r(d[0])(r(d[1]))}),522,[3,484]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var o=u.useState(f),c=(0,n.default)(o,1)[0],l=[!1,void 0];c.then((function(t){l=[!0,t]}));var p=u.useState(l),y=(0,n.default)(p,2),v=y[0],s=y[1],O=(0,n.default)(v,1)[0];return u.useEffect((function(){var n=!1,u=(function(){var u=(0,t.default)((function*(){var t;try{t=yield c}finally{n||s([!0,t])}}));return function(){return u.apply(this,arguments)}})();return O||u(),function(){n=!0}}),[c,O]),v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),523,[3,322,16,144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.forwardRef((function(o,u){var f=o.children,c=o.location;t.useEffect((function(){console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.")}),[]);var l={};if(u){var p={getCurrentOptions:function(){return l.options}};'function'==typeof u?u(p):u.current=p}return(0,r(d[3]).jsx)(n.default.Provider,{value:{location:c},children:(0,r(d[3]).jsx)(r(d[4]).CurrentRenderContext.Provider,{value:l,children:f})})}));e.default=u}),524,[144,3,525,192,441]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),525,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={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)'}};e.default=o}),526,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return t.useContext(n.default)};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),527,[144,3,518]); -__d((function(g,r,i,a,m,e,d){}),528,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(r(d[3]).NavigationHelpersContext),f=t.useContext(n.default);return t.useCallback((function(t,n){var l=f.options;if(!1!==(null==l?void 0:l.enabled)){var c=o?u(o,{index:0,routes:[{name:t,params:n}]}):{index:0,routes:[{name:t,params:n}]};return null!=l&&l.getPathFromState?l.getPathFromState(c,null==l?void 0:l.config):(0,r(d[3]).getPathFromState)(c,null==l?void 0:l.config)}}),[f,o])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=function t(n,o){var u=n.getParent();if(u){var f=u.getState();return t(u,{index:0,routes:[Object.assign({},f.routes[f.index],{state:o})]})}return o}}),529,[144,3,439,441]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var o=(0,r(d[1]).useNavigation)(),u=(0,r(d[1]).useRoute)();e.useEffect((function(){for(var e=[],c=o;c;)'tab'===c.getState().type&&e.push(c),c=c.getParent();if(0!==e.length){var l=e.map((function(c){return c.addListener('tabPress',(function(c){var l=o.isFocused(),f=e.includes(o)||o.getState().routes[0].key===u.key;requestAnimationFrame((function(){var e=n(t);l&&f&&e&&!c.defaultPrevented&&('scrollToTop'in e?e.scrollToTop():'scrollTo'in e?e.scrollTo({y:0,animated:!0}):'scrollToOffset'in e?e.scrollToOffset({offset:0,animated:!0}):'scrollResponderScrollTo'in e&&e.scrollResponderScrollTo({y:0,animated:!0}))}))}))}));return function(){l.forEach((function(e){return e()}))}}}),[o,t,u.key])};var e=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=t(n);if(o&&o.has(e))return o.get(e);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=c?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(u,l,f):u[l]=e[l]}u.default=e,o&&o.set(e,u);return u})(r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(t=function(e){return e?o:n})(e)}function n(e){return null==e.current?null:'scrollToTop'in e.current||'scrollTo'in e.current||'scrollToOffset'in e.current||'scrollResponderScrollTo'in e.current?e.current:'getScrollResponder'in e.current?e.current.getScrollResponder():'getNode'in e.current?e.current.getNode():e.current}}),530,[144,441]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=(0,r(d[15]).useNavigation)();return(0,r(d[13]).jsx)(y,Object.assign({},e,{navigate:t}))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5]));r(d[6]);var o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=s?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(l,o,c):l[o]=e[o]}l.default=e,n&&n.set(e,l);return l})(r(d[7])),c=r(d[8]),u=r(d[0])(r(d[9])),h=r(d[0])(r(d[10])),p=r(d[0])(r(d[11])),x=r(d[0])(r(d[12]));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var y=(function(o){(0,n.default)(j,o);var u,f,y=(u=j,f=T(),function(){var e,t=(0,s.default)(u);if(f){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(t,n){var l;(0,e.default)(this,j),(l=y.call(this,t,n)).state={pickerSelected:'getPM',upiSdkPresent:!1,saveToLocker:!1,shouldLink:!1,resultText:'',animation:new c.Animated.Value(0)},l.handleOpen=function(){c.Animated.timing(l.state.animation,{toValue:1,duration:300,useNativeDriver:!0}).start(),l.isPopupVisible=!0},l.handleClose=function(){c.Animated.timing(l.state.animation,{toValue:0,duration:200,useNativeDriver:!0}).start(),l.isPopupVisible=!1},l.navigation=t.navigation,l.isPopupVisible=!1;var s=t.route.params;return l.merchantId=s.merchantId,l.clientId=s.clientId,l.merchantKeyId=s.merchantKeyId,l.privateKey=s.privateKey,l.service=s.service,l.customerId=s.customerId,l.mobile=s.mobile,l.email=s.email,l.apiKey=s.apiKey,l.amount=s.amount,l.orderId='',l.clientAuthToken='',l.orderDetails={},l.signature='',l.nbTxnBank='NB_SBI',l.cardNumber='',l.cardToken='',l.cardNetwork='',l.expMonth='',l.expYear='',l.cvv='',l.authType='',l.upiTxnApp='net.one97.paytm',l.vpa='',l.walletName='PAYTM',l.directWalletToken='',l.walletId='',l.otp='',l.sdkPresent='',l.walletMobile='','pp'===l.service&&(l.state.pickerSelected='quickPay'),l}return(0,t.default)(j,[{key:"componentDidMount",value:function(){var e=this,t=new c.NativeEventEmitter(c.NativeModules.HyperSdkReact);this.eventListener=t.addListener(h.default.HyperEvent,(function(t){e.setState({resultText:t})})),c.BackHandler.addEventListener('hardwareBackPress',(function(){return e.isPopupVisible?(e.handleClose(),!0):!h.default.isNull()&&h.default.onBackPressed()}))}},{key:"componentWillUnmount",value:function(){this.eventListener.remove(),c.BackHandler.removeEventListener('hardwareBackPress',(function(){return null}))}},{key:"render",value:function(){var e=this,t=c.Dimensions.get('window').height,n={transform:[{translateY:this.state.animation.interpolate({inputRange:[0,.01],outputRange:[t,0],extrapolate:'clamp'})}],opacity:this.state.animation.interpolate({inputRange:[.01,.5],outputRange:[0,1],extrapolate:'clamp'})},l={transform:[{translateY:this.state.animation.interpolate({inputRange:[.01,1],outputRange:[0,-1*t],extrapolate:'clamp'})}]};return(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.ScrollView,{children:(0,r(d[13]).jsxs)(c.View,{style:k.container,children:[(0,r(d[13]).jsx)(v,{title:'ec'===this.service?'Create Order':'Generate Order ID',onPress:function(){e.orderId=x.default.generateOrderId(),'ec'===e.service?p.default.generateOrder(e.orderId,e.amount,e.customerId,e.mobile,e.email,e.apiKey).then((function(t){console.log(t),x.default.showCopyAlert('OrderID',e.orderId),e.clientAuthToken=x.default.getClientAuthToken(t)})).catch((function(e){console.error(e)})):x.default.showCopyAlert('OrderID',e.orderId)}}),(0,r(d[13]).jsx)(c.View,{style:k.pickerContainer,children:'ec'===this.service?(0,r(d[13]).jsxs)(r(d[14]).Picker,{style:k.picker,selectedValue:this.state.pickerSelected,onValueChange:function(t,n){e.setState({pickerSelected:t}),console.log(t,n)},children:[(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Get Payment Methods",value:"getPM"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"List Saved Cards",value:"cardList"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Get UPI Apps",value:"getUPI"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Refresh Wallet Balances",value:"listWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Check IsDeviceReady",value:"isDeviceReady"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"NB Txn",value:"nbTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Card Txn",value:"cardTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"UPI Txn",value:"upiTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Create Wallet",value:"createWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Link Wallet",value:"linkWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Wallet Txn",value:"walletTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Delete Saved Card",value:"deleteCard"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"DeLink Wallet",value:"delinkWallet"})]}):(0,r(d[13]).jsxs)(r(d[14]).Picker,{style:k.picker,selectedValue:this.state.pickerSelected,onValueChange:function(t,n){e.setState({pickerSelected:t}),console.log(t,n)},children:[(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"paymentPage",value:"paymentPage"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"quickPay",value:"quickPay"})]})}),'getPM'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Get Payment Methods",onPress:function(){var e=x.default.generatePaymentMethodsPayload();h.default.process(JSON.stringify(e))}}):null,'cardList'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"List Saved Cards",onPress:function(){var t=x.default.generateListCardsPayload(e.clientAuthToken);h.default.process(JSON.stringify(t))}}):null,'getUPI'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Get UPI Apps",onPress:function(){var t=x.default.generateGetUPIAppsPayload(e.orderId);h.default.process(JSON.stringify(t))}}):null,'listWallet'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Refresh Wallet Balances",onPress:function(){var t=x.default.generateListWalletsPayload(e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}}):null,'isDeviceReady'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[13]).jsx)(v,{title:"Is Device Ready",onPress:function(){var t=x.default.generateDeviceReadyPayload(e.sdkPresent);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'nbTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"NB_SBI",onChangeText:function(t){e.nbTxnBank=t},defaultValue:this.nbTxnBank}),(0,r(d[13]).jsx)(v,{title:"NB Txn",onPress:function(){var t=x.default.generateNBTxnPayload(e.orderId,e.clientAuthToken,e.nbTxnBank);h.default.process(JSON.stringify(t))}})]}):null,'cardTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card number (new card)",onChangeText:function(t){e.cardNumber=t},defaultValue:this.cardNumber}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card token (saved card)",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"expMonth (for new card)",onChangeText:function(t){e.expMonth=t},defaultValue:this.expMonth}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"expYear (for new card)",onChangeText:function(t){e.expYear=t},defaultValue:this.expYear}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card network (e.g. VISA)",onChangeText:function(t){e.cardNetwork=t},defaultValue:this.cardNetwork}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"cvv",onChangeText:function(t){e.cvv=t},defaultValue:this.cvv}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"authType",onChangeText:function(t){e.authType=t},defaultValue:this.authType}),(0,r(d[13]).jsx)(P,{value:this.state.saveToLocker,onValueChange:function(t){console.log(t),e.setState({saveToLocker:t})},text:"Save to locker"}),(0,r(d[13]).jsx)(v,{title:"Card Txn",onPress:function(){var t=x.default.generateCardTxnPayload(e.orderId,e.clientAuthToken,e.cardNetwork,e.cardToken,e.cardNumber,e.expMonth,e.expYear,e.cvv,e.authType,e.state.saveToLocker);h.default.process(JSON.stringify(t))}})]}):null,'upiTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"package name",onChangeText:function(t){e.upiTxnApp=t},defaultValue:this.upiTxnApp}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"vpa",onChangeText:function(t){e.vpa=t},defaultValue:this.vpa}),(0,r(d[13]).jsx)(P,{value:this.state.upiSdkPresent,onValueChange:function(t){console.log(t),e.setState({upiSdkPresent:t})},text:"UPI SDK Present"}),(0,r(d[13]).jsx)(v,{title:"UPI Txn",onPress:function(){var t=x.default.generateUPIIntentTxnPayload(e.orderId,e.clientAuthToken,e.upiTxnApp,e.vpa,e.state.upiSdkPresent);h.default.process(JSON.stringify(t))}})]}):null,'createWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(v,{title:"Create Wallet",onPress:function(){var t=x.default.generateCreateWalletPayload(e.walletName,e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'linkWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletId from createWallet",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"Enter otp",onChangeText:function(t){e.otp=t},defaultValue:this.otp}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(v,{title:"Link Wallet",onPress:function(){var t=x.default.generateLinkWalletPayload(e.walletName,e.walletId,e.otp,e.clientAuthToken);h.default.process(JSON.stringify(t))}})]}):null,'walletTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"paymentMethod",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"directWalletToken",onChangeText:function(t){e.directWalletToken=t},defaultValue:this.directWalletToken}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletMobileNumber",onChangeText:function(t){e.walletMobile=t},defaultValue:this.walletMobile}),(0,r(d[13]).jsx)(P,{value:this.state.shouldLink,onValueChange:function(t){console.log(t),e.setState({shouldLink:t})},text:"Should Link"}),(0,r(d[13]).jsx)(v,{title:"Wallet Txn",onPress:function(){var t=x.default.generateWalletTxnPayload(e.orderId,e.clientAuthToken,e.walletName,e.directWalletToken,e.sdkPresent);h.default.process(JSON.stringify(t))}})]}):null,'delinkWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletName",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletId",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[13]).jsx)(v,{title:"DeLink Wallet",onPress:function(){var t=x.default.generateDeLinkWalletPayload(e.walletName,e.walletId,e.clientAuthToken);h.default.process(JSON.stringify(t))}})]}):null,'deleteCard'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"cardToken",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[13]).jsx)(v,{title:"Delete Card",onPress:function(){var t=x.default.generateDeleteCardPayload(e.cardToken,e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'pp'===this.service?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(v,{title:"Sign Order Details",onPress:function(){e.orderDetails={merchant_id:e.merchantId,customer_id:e.customerId,order_id:e.orderId,amount:e.amount,mobile_number:e.mobile,customer_email:e.email,timestamp:x.default.getTimestamp()},p.default.generateSign(e.privateKey,JSON.stringify(e.orderDetails)).then((function(t){e.signature=t,x.default.showCopyAlert('Payload signed',e.signature)})).catch((function(e){console.warn(e)}))}}),(0,r(d[13]).jsx)(v,{title:"Process",onPress:function(){var t=x.default.generateProcessPayloadPP(e.state.pickerSelected,e.clientId,e.merchantId,JSON.stringify(e.orderDetails),e.signature,e.merchantKeyId);h.default.process(JSON.stringify(t))}}),(0,r(d[13]).jsx)(v,{title:"Process With New Activity",onPress:function(){var t=x.default.generateProcessPayloadPP(e.state.pickerSelected,e.clientId,e.merchantId,JSON.stringify(e.orderDetails),e.signature,e.merchantKeyId);h.default.processWithActivity(JSON.stringify(t))}})]}):null,(0,r(d[13]).jsx)(v,{title:"Is Initialised?",onPress:function(){h.default.isInitialised().then((function(e){x.default.showCopyAlert('isInitialised',e+'')}))}}),(0,r(d[13]).jsx)(v,{title:"Terminate",onPress:function(){h.default.terminate()}}),(0,r(d[13]).jsx)(v,{title:"Check Result",onPress:function(){e.handleOpen()}})]})}),(0,r(d[13]).jsx)(c.Animated.View,{style:[c.StyleSheet.absoluteFill,k.cover,n],children:(0,r(d[13]).jsx)(c.View,{style:[k.sheet],children:(0,r(d[13]).jsx)(c.Animated.View,{style:[k.popup,l],children:(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.textArea,underlineColorAndroid:"transparent",placeholder:"Type something",placeholderTextColor:"grey",numberOfLines:100,multiline:!0,value:this.state.resultText}),(0,r(d[13]).jsx)(v,{title:"Close",onPress:this.handleClose})]})})})})]})}}]),j})(o.Component),k=c.StyleSheet.create({container:{flex:1,alignItems:'center',justifyContent:'center'},horizontal:{flexDirection:'row'},button:{backgroundColor:'blue',paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12},buttonText:{color:'white',fontSize:18},editText:{height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12,marginEnd:20},checkbox:{width:40,height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,borderRadius:20,marginVertical:12},picker:{width:250},pickerContainer:{borderColor:'gray',borderWidth:1,borderRadius:12},centerAligned:{alignItems:'center',justifyContent:'center'},marginEnd:{marginEnd:20},cover:{backgroundColor:'rgba(0,0,0,.5)'},sheet:{position:'absolute',top:c.Dimensions.get('window').height,left:0,right:0,height:'100%',justifyContent:'flex-end'},popup:{backgroundColor:'#FFF',borderTopLeftRadius:20,borderTopRightRadius:20,alignItems:'center',justifyContent:'center',minHeight:80},textArea:{borderColor:'gray',height:150,justifyContent:'flex-start',minHeight:40,borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:12,marginVertical:12,marginHorizontal:12}}),v=function(e){return(0,r(d[13]).jsx)(c.TouchableOpacity,{onPress:e.onPress,style:k.button,children:(0,r(d[13]).jsx)(c.Text,{style:k.buttonText,children:e.title})})},P=function(e){return(0,r(d[13]).jsxs)(c.View,{style:[k.horizontal,k.centerAligned],children:[(0,r(d[13]).jsx)(u.default,{style:k.checkbox,value:e.value,onValueChange:e.onValueChange,tintColors:{true:'blue'}}),(0,r(d[13]).jsx)(c.Text,{style:k.marginEnd,children:e.text})]})}}),531,[3,6,7,44,46,48,532,144,1,678,424,423,425,192,428,436]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseButton",{enumerable:!0,get:function(){return r(d[0]).BaseButton}}),Object.defineProperty(e,"BorderlessButton",{enumerable:!0,get:function(){return r(d[0]).BorderlessButton}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return r(d[1]).Directions}}),Object.defineProperty(e,"DrawerLayout",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DrawerLayoutAndroid",{enumerable:!0,get:function(){return r(d[2]).DrawerLayoutAndroid}}),Object.defineProperty(e,"FlatList",{enumerable:!0,get:function(){return r(d[2]).FlatList}}),Object.defineProperty(e,"FlingGestureHandler",{enumerable:!0,get:function(){return r(d[3]).FlingGestureHandler}}),Object.defineProperty(e,"ForceTouchGestureHandler",{enumerable:!0,get:function(){return r(d[4]).ForceTouchGestureHandler}}),Object.defineProperty(e,"Gesture",{enumerable:!0,get:function(){return r(d[5]).GestureObjects}}),Object.defineProperty(e,"GestureDetector",{enumerable:!0,get:function(){return r(d[6]).GestureDetector}}),Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"LongPressGestureHandler",{enumerable:!0,get:function(){return r(d[7]).LongPressGestureHandler}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return r(d[8]).NativeViewGestureHandler}}),Object.defineProperty(e,"PanGestureHandler",{enumerable:!0,get:function(){return r(d[9]).PanGestureHandler}}),Object.defineProperty(e,"PinchGestureHandler",{enumerable:!0,get:function(){return r(d[10]).PinchGestureHandler}}),Object.defineProperty(e,"RawButton",{enumerable:!0,get:function(){return r(d[0]).RawButton}}),Object.defineProperty(e,"RectButton",{enumerable:!0,get:function(){return r(d[0]).RectButton}}),Object.defineProperty(e,"RefreshControl",{enumerable:!0,get:function(){return r(d[2]).RefreshControl}}),Object.defineProperty(e,"RotationGestureHandler",{enumerable:!0,get:function(){return r(d[11]).RotationGestureHandler}}),Object.defineProperty(e,"ScrollView",{enumerable:!0,get:function(){return r(d[2]).ScrollView}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return r(d[12]).State}}),Object.defineProperty(e,"Swipeable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return r(d[2]).Switch}}),Object.defineProperty(e,"TapGestureHandler",{enumerable:!0,get:function(){return r(d[13]).TapGestureHandler}}),Object.defineProperty(e,"TextInput",{enumerable:!0,get:function(){return r(d[2]).TextInput}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return r(d[14]).TouchableHighlight}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableNativeFeedback}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return r(d[14]).TouchableOpacity}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableWithoutFeedback}}),Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"enableExperimentalWebImplementation",{enumerable:!0,get:function(){return r(d[15]).enableExperimentalWebImplementation}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return t.default}});var t=r(d[16])(r(d[17])),n=r(d[16])(r(d[18])),u=r(d[16])(r(d[19])),o=r(d[16])(r(d[20])),c=r(d[16])(r(d[21]));(0,r(d[22]).initialize)()}),532,[533,635,636,637,638,640,652,655,535,654,662,663,629,653,664,660,3,670,674,534,676,677,675]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.BorderlessButton=_e.BaseButton=void 0,Object.defineProperty(_e,"PureNativeButton",{enumerable:!0,get:function(){return f.default}}),_e.RectButton=_e.RawButton=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=C(e);if(n&&n.has(t))return n.get(t);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var l=s?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}o.default=t,n&&n.set(t,o);return o})(r(d[7])),c=r(d[8]),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),v=["rippleColor"],h=["children","style"],y=["children","style"];function C(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(C=function(t){return t?n:e})(t)}function S(t){var e=P();return function(){var n,o=(0,u.default)(t);if(e){var l=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,l)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var A=(0,p.default)(f.default,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!1});_e.RawButton=A;var b=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).handleEvent=function(t){var e=t.nativeEvent,o=e.state,s=e.oldState,u=e.pointerInside,l=u&&o===r(d[11]).State.ACTIVE;l!==n.lastActive&&n.props.onActiveStateChange&&n.props.onActiveStateChange(l),!n.longPressDetected&&s===r(d[11]).State.ACTIVE&&o!==r(d[11]).State.CANCELLED&&n.lastActive&&n.props.onPress&&n.props.onPress(l),!n.lastActive&&o===('android'!==c.Platform.OS?r(d[11]).State.ACTIVE:r(d[11]).State.BEGAN)&&u?(n.longPressDetected=!1,n.props.onLongPress&&(n.longPressTimeout=setTimeout(n.onLongPress,n.props.delayLongPress))):(o!==r(d[11]).State.ACTIVE||u||void 0===n.longPressTimeout)&&(void 0===n.longPressTimeout||o!==r(d[11]).State.END&&o!==r(d[11]).State.CANCELLED&&o!==r(d[11]).State.FAILED)||(clearTimeout(n.longPressTimeout),n.longPressTimeout=void 0),n.lastActive=l},n.onLongPress=function(){n.longPressDetected=!0,null==n.props.onLongPress||n.props.onLongPress()},n.onHandlerStateChange=function(t){null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(t),n.handleEvent(t)},n.onGestureEvent=function(t){null==n.props.onGestureEvent||n.props.onGestureEvent(t),n.handleEvent(t)},n.lastActive=!1,n.longPressDetected=!1,n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.rippleColor,o=(0,t.default)(e,v);return(0,r(d[12]).jsx)(A,Object.assign({rippleColor:(0,c.processColor)(n)},o,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}]),l})(l.Component);_e.BaseButton=b,b.defaultProps={delayLongPress:600};var O=c.Animated.createAnimatedComponent(b),R=c.StyleSheet.create({underlay:{position:'absolute',left:0,right:0,bottom:0,top:0}}),B=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:0),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(0),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,h),u=c.StyleSheet.flatten(null!=o?o:{});return(0,r(d[12]).jsxs)(b,Object.assign({},s,{style:u,onActiveStateChange:this.onActiveStateChange,children:[(0,r(d[12]).jsx)(c.Animated.View,{style:[R.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:u.borderRadius,borderTopLeftRadius:u.borderTopLeftRadius,borderTopRightRadius:u.borderTopRightRadius,borderBottomLeftRadius:u.borderBottomLeftRadius,borderBottomRightRadius:u.borderBottomRightRadius}]}),n]}))}}]),l})(l.Component);_e.RectButton=B,B.defaultProps={activeOpacity:.105,underlayColor:'black'};var E=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:1),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(1),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,y);return(0,r(d[12]).jsx)(O,Object.assign({},s,{onActiveStateChange:this.onActiveStateChange,style:[o,'ios'===c.Platform.OS&&{opacity:this.opacity}],children:n}))}}]),l})(l.Component);_e.BorderlessButton=E,E.defaultProps={activeOpacity:.3,borderless:!0}}),533,[3,108,6,7,44,46,48,144,1,534,633,629,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=t.forwardRef((function(u,f){var c=Object.keys(u).reduce((function(n,t){return o.includes(t)&&(n[t]=u[t]),n}),Object.assign({},l)),s=(0,t.useRef)(),p=(0,t.useRef)();return(0,t.useImperativeHandle)(f,(function(){var n=p.current;return s.current&&n?(s.current.handlerTag=n.handlerTag,s.current):null}),[s,p]),(0,r(d[4]).jsx)(r(d[3]).NativeViewGestureHandler,Object.assign({},c,{ref:p,children:(0,r(d[4]).jsx)(n,Object.assign({},u,{ref:s}))}))}));return f.displayName=(null==n?void 0:n.displayName)||(null==n||null==(u=n.render)?void 0:u.name)||'string'==typeof n&&n||'ComponentWrapper',f};var n=r(d[0])(r(d[1])),t=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=u(t);if(o&&o.has(n))return o.get(n);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var s=f?Object.getOwnPropertyDescriptor(n,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=n[c]}l.default=n,o&&o.set(n,l);return l})(r(d[2]));function u(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(n){return n?o:t})(n)}var o=[].concat((0,n.default)(r(d[3]).nativeViewProps),['onGestureHandlerEvent','onGestureHandlerStateChange'])}),534,[3,27,144,535,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.nativeViewProps=e.nativeViewHandlerName=e.nativeViewGestureHandlerProps=e.NativeViewGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['shouldActivateOnStart','disallowInterruption'];e.nativeViewGestureHandlerProps=l;var o=[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l);e.nativeViewProps=o;var s='NativeViewGestureHandler';e.nativeViewHandlerName=s;var v=(0,n.default)({name:s,allowedProps:o,config:{}});e.NativeViewGestureHandler=v}),535,[3,27,536,632]); -__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=e.name,p=e.allowedProps,E=void 0===p?[]:p,G=e.config,H=void 0===G?{}:G,T=e.transformProps,w=e.customNativeProps,C=void 0===w?[]:w,S=(function(e){(0,s.default)(S,e);var p,G,w=(p=S,G=y(),function(){var e,t=(0,l.default)(p);if(G){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(e){var n;if((0,r.default)(this,S),(n=w.call(this,e)).updateEnqueued=null,n.onGestureHandlerEvent=function(e){e.nativeEvent.handlerTag===n.handlerTag?'function'==typeof n.props.onGestureEvent&&(null==n.props.onGestureEvent||n.props.onGestureEvent(e)):null==n.props.onGestureHandlerEvent||n.props.onGestureHandlerEvent(e)},n.onGestureHandlerStateChange=function(e){if(e.nativeEvent.handlerTag===n.handlerTag){'function'==typeof n.props.onHandlerStateChange&&(null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(e));var t=e.nativeEvent.state,r=I[t],o=r&&n.props[r];o&&'function'==typeof o&&o(e)}else null==n.props.onGestureHandlerStateChange||n.props.onGestureHandlerStateChange(e)},n.refHandler=function(e){n.viewNode=e;var t=c.Children.only(n.props.children).ref;null!==t&&('function'==typeof t?t(e):t.current=e)},n.createGestureHandler=function(e){n.config=e,v.default.createGestureHandler(t,n.handlerTag,e)},n.attachGestureHandler=function(e){if(n.viewTag=e,'web'===f.Platform.OS)v.default.attachGestureHandler(n.handlerTag,e,_r(d[14]).ActionType.JS_FUNCTION_OLD_API,n.propsRef);else{(0,_r(d[15]).registerOldGestureHandler)(n.handlerTag,{onGestureEvent:n.onGestureHandlerEvent,onGestureStateChange:n.onGestureHandlerStateChange});var t=null!=(r=n.props)&&r.onGestureEvent&&'current'in n.props.onGestureEvent?_r(d[14]).ActionType.REANIMATED_WORKLET:null!=(o=n.props)&&o.onGestureEvent&&'__isNative'in n.props.onGestureEvent?_r(d[14]).ActionType.NATIVE_ANIMATED_EVENT:_r(d[14]).ActionType.JS_FUNCTION_OLD_API;v.default.attachGestureHandler(n.handlerTag,e,t)}var r,o;(0,_r(d[16]).scheduleFlushOperations)()},n.updateGestureHandler=function(e){n.config=e,v.default.updateGestureHandler(n.handlerTag,e),(0,_r(d[16]).scheduleFlushOperations)()},n.handlerTag=(0,_r(d[15]).getNextHandlerTag)(),n.config={},n.propsRef=c.createRef(),n.state={allowTouches:O},e.id){if(void 0!==_r(d[15]).handlerIDToTag[e.id])throw new Error("Handler with ID \""+e.id+"\" already registered");_r(d[15]).handlerIDToTag[e.id]=n.handlerTag}return n}return(0,o.default)(S,[{key:"componentDidMount",value:function(){var e=this;D(this.props)&&(this.updateEnqueued=setImmediate((function(){e.updateEnqueued=null,e.update(A)}))),this.createGestureHandler((0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H)),this.attachGestureHandler((0,_r(d[16]).findNodeHandle)(this.viewNode))}},{key:"componentDidUpdate",value:function(){var e=(0,_r(d[16]).findNodeHandle)(this.viewNode);this.viewTag!==e&&this.attachGestureHandler(e),this.update(A)}},{key:"componentWillUnmount",value:function(){var e;null==(e=this.inspectorToggleListener)||e.remove(),v.default.dropGestureHandler(this.handlerTag),(0,_r(d[16]).scheduleFlushOperations)(),this.updateEnqueued&&clearImmediate(this.updateEnqueued);var t=this.props.id;t&&delete _r(d[15]).handlerIDToTag[t]}},{key:"update",value:function(e){var t=this;if(D(this.props)&&e>0)this.updateEnqueued=setImmediate((function(){t.updateEnqueued=null,t.update(e-1)}));else{var r=(0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H);(0,h.default)(this.config,r)||this.updateGestureHandler(r)}}},{key:"setNativeProps",value:function(e){var t=Object.assign({},this.props,e),r=(0,_r(d[16]).filterConfig)(T?T(t):t,[].concat((0,n.default)(E),(0,n.default)(C)),H);this.updateGestureHandler(r)}},{key:"render",value:function(){var e,n=this.onGestureHandlerEvent,r=this.props,o=r.onGestureEvent,s=r.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');n=o}else if(s&&'function'!=typeof s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var u=this.onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,f=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');u=p}else if(f&&'function'!=typeof f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var h={onGestureHandlerEvent:this.state.allowTouches?n:void 0,onGestureHandlerStateChange:this.state.allowTouches?u:void 0};this.propsRef.current=h;var v=null;try{v=c.Children.only(this.props.children)}catch(e){throw new Error((0,_r(d[12]).tagMessage)(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."))}var E=v.props.children;return c.cloneElement(v,Object.assign({ref:this.refHandler,collapsable:!1},(0,_r(d[12]).isJestEnv)()?{handlerType:t,handlerTag:this.handlerTag}:{},{testID:null!=(e=this.props.testID)?e:v.props.testID},h),E)}}]),S})(c.Component);return S.displayName=t,S};var e,t,n=_r(d[0])(_r(d[1])),r=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),s=_r(d[0])(_r(d[4])),u=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),p=_r(d[0])(_r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r})(_r(d[8])),f=_r(d[9]),h=_r(d[0])(_r(d[10])),v=_r(d[0])(_r(d[11]));function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var G=f.UIManager,H=Object.assign({onGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},onGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}},(0,_r(d[12]).isFabric)()&&'android'===f.Platform.OS&&{topOnGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},topOnGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}});G.genericDirectEventTypes=Object.assign({},G.genericDirectEventTypes,H);var T=null!=(e=null==G.getViewManagerConfig?void 0:G.getViewManagerConfig('getConstants'))?e:null==G.getConstants?void 0:G.getConstants();T&&(T.genericDirectEventTypes=Object.assign({},T.genericDirectEventTypes,H));var w=G.setJSResponder,C=void 0===w?function(){}:w,S=G.clearJSResponder,N=void 0===S?function(){}:S;G.setJSResponder=function(e,t){v.default.handleSetJSResponder(e,t),C(e,t)},G.clearJSResponder=function(){v.default.handleClearJSResponder(),N()};var O=!0;function D(e){var t=function(e){return Array.isArray(e)?e.some((function(e){return e&&null===e.current})):e&&null===e.current};return t(e.simultaneousHandlers)||t(e.waitFor)}var I=(t={},(0,p.default)(t,_r(d[13]).State.UNDETERMINED,void 0),(0,p.default)(t,_r(d[13]).State.BEGAN,'onBegan'),(0,p.default)(t,_r(d[13]).State.FAILED,'onFailed'),(0,p.default)(t,_r(d[13]).State.CANCELLED,'onCancelled'),(0,p.default)(t,_r(d[13]).State.ACTIVE,'onActivated'),(0,p.default)(t,_r(d[13]).State.END,'onEnded'),t),A=1}),536,[3,27,6,7,44,46,48,169,144,1,537,626,627,629,630,631,632]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n,t){return r(d[0])(n,t)}}),537,[538]); -__d((function(g,r,i,a,m,e,d){m.exports=function n(u,l,t,o,c){return u===l||(null==u||null==l||!r(d[0])(u)&&!r(d[0])(l)?u!=u&&l!=l:r(d[1])(u,l,t,o,n,c))}}),538,[539,540]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n){return null!=n&&'object'==typeof n}}),539,[]); -__d((function(g,r,i,a,m,e,d){var t='[object Arguments]',n='[object Array]',_='[object Object]',c=Object.prototype.hasOwnProperty;m.exports=function(o,u,p,f,l,v){var w=r(d[0])(o),b=r(d[0])(u),j=w?n:r(d[1])(o),s=b?n:r(d[1])(u),y=(j=j==t?_:j)==_,O=(s=s==t?_:s)==_,A=j==s;if(A&&r(d[2])(o)){if(!r(d[2])(u))return!1;w=!0,y=!1}if(A&&!y)return v||(v=new(r(d[3]))),w||r(d[4])(o)?r(d[5])(o,u,p,f,l,v):r(d[6])(o,u,j,p,f,l,v);if(!(1&p)){var h=y&&c.call(o,'__wrapped__'),x=O&&c.call(u,'__wrapped__');if(h||x){var P=h?o.value():o,k=x?u.value():u;return v||(v=new(r(d[3]))),l(P,k,p,f,v)}}return!!A&&(v||(v=new(r(d[3]))),r(d[7])(o,u,p,f,l,v))}}),540,[541,542,562,564,593,598,604,608]); -__d((function(g,r,i,a,m,e,d){var n=Array.isArray;m.exports=n}),541,[]); -__d((function(g,r,i,a,m,e,d){var t='[object Map]',c='[object Promise]',n='[object Set]',o='[object WeakMap]',s='[object DataView]',u=r(d[0])(r(d[1])),b=r(d[0])(r(d[2])),j=r(d[0])(r(d[3])),w=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),v=r(d[6]);(r(d[1])&&v(new(r(d[1]))(new ArrayBuffer(1)))!=s||r(d[2])&&v(new(r(d[2])))!=t||r(d[3])&&v(r(d[3]).resolve())!=c||r(d[4])&&v(new(r(d[4])))!=n||r(d[5])&&v(new(r(d[5])))!=o)&&(v=function(v){var p=r(d[6])(v),M="[object Object]"==p?v.constructor:void 0,_=M?r(d[0])(M):'';if(_)switch(_){case u:return s;case b:return t;case j:return c;case w:return n;case f:return o}return p}),m.exports=v}),542,[543,544,558,559,560,561,554]); -__d((function(g,r,i,a,m,_e,d){var t=Function.prototype.toString;m.exports=function(n){if(null!=n){try{return t.call(n)}catch(t){}try{return n+''}catch(t){}}return''}}),543,[]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'DataView');m.exports=t}),544,[545,551]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){var t=r(d[0])(n,o);return r(d[1])(t)?t:void 0}}),545,[546,547]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){return null==n?void 0:n[o]}}),546,[]); -__d((function(g,r,i,a,m,e,d){var t=/^\[object .+?Constructor\]$/,o=Function.prototype,n=Object.prototype,c=o.toString,p=n.hasOwnProperty,u=RegExp('^'+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');m.exports=function(o){return!(!r(d[0])(o)||r(d[1])(o))&&(r(d[2])(o)?u:t).test(r(d[3])(o))}}),547,[548,549,553,543]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}}),548,[]); -__d((function(g,r,i,a,m,e,d){var n,c=(n=/[^.]+$/.exec(r(d[0])&&r(d[0]).keys&&r(d[0]).keys.IE_PROTO||''))?'Symbol(src)_1.'+n:'';m.exports=function(n){return!!c&&c in n}}),549,[550]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0])['__core-js_shared__']}),550,[551]); -__d((function(g,r,i,a,m,e,d){var t='object'==typeof self&&self&&self.Object===Object&&self,f=r(d[0])||t||Function('return this')();m.exports=f}),551,[552]); -__d((function(g,r,i,a,m,e,d){var t='object'==typeof g&&g&&g.Object===Object&&g;m.exports=t}),552,[]); -__d((function(g,r,i,a,m,e,d){m.exports=function(n){if(!r(d[0])(n))return!1;var t=r(d[1])(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}),553,[548,554]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?r(d[1])(t):r(d[2])(t)}}),554,[555,556,557]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).Symbol}),555,[551]); -__d((function(g,r,i,a,m,_e,d){var t=Object.prototype,o=t.hasOwnProperty,e=t.toString,n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){var c=o.call(t,n),l=t[n];try{t[n]=void 0}catch(t){}var v=e.call(t);return c?t[n]=l:delete t[n],v}}),556,[555]); -__d((function(g,r,i,a,m,e,d){var t=Object.prototype.toString;m.exports=function(n){return t.call(n)}}),557,[]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'Map');m.exports=n}),558,[545,551]); -__d((function(g,r,i,a,m,e,d){var o=r(d[0])(r(d[1]),'Promise');m.exports=o}),559,[545,551]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'Set');m.exports=t}),560,[545,551]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'WeakMap');m.exports=n}),561,[545,551]); -__d((function(g,r,i,a,m,e,d){var o='object'==typeof e&&e&&!e.nodeType&&e,f=o&&'object'==typeof m&&m&&!m.nodeType&&m,t=f&&f.exports===o?r(d[0]).Buffer:void 0,p=(t?t.isBuffer:void 0)||r(d[1]);m.exports=p}),562,[551,563]); -__d((function(g,r,i,a,m,e,d){m.exports=function(){return!1}}),563,[]); -__d((function(g,r,i,a,m,e,d){function t(t){var o=this.__data__=new(r(d[0]))(t);this.size=o.size}t.prototype.clear=r(d[1]),t.prototype.delete=r(d[2]),t.prototype.get=r(d[3]),t.prototype.has=r(d[4]),t.prototype.set=r(d[5]),m.exports=t}),564,[565,573,574,575,576,577]); -__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1}}),571,[568]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__,n=r(d[0])(_,t);return n<0?(++this.size,_.push([t,s])):_[n][1]=s,this}}),572,[568]); -__d((function(g,r,i,a,m,e,d){m.exports=function(){this.__data__=new(r(d[0])),this.size=0}}),573,[565]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t){var _=this.__data__,n=_.delete(t);return this.size=_.size,n}}),574,[]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.get(t)}}),575,[]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.has(t)}}),576,[]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__;if(_ instanceof r(d[0])){var n=_.__data__;if(!r(d[1])||n.length<199)return n.push([t,s]),this.size=++_.size,this;_=this.__data__=new(r(d[2]))(n)}return _.set(t,s),this.size=_.size,this}}),577,[565,558,578]); -__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1&&n%1==0&&n<=9007199254740991}}),597,[]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t,n,f,u,o,v){var l=1&f,s=t.length,c=n.length;if(s!=c&&!(l&&c>s))return!1;var b=v.get(t),h=v.get(n);if(b&&h)return b==n&&h==t;var k=-1,p=!0,_=2&f?new(r(d[0])):void 0;for(v.set(t,n),v.set(n,t);++k-1&&t%1==0&&t=68||c.major>0},e.tagMessage=function(n){return"[react-native-gesture-handler] "+n},e.toArray=function(n){if(!Array.isArray(n))return[n];return n},e.withPrevAndCurrent=function(t,o){var u=[null],i=(0,n.default)(t),s=[];return i.forEach((function(n,t){var i=u[t],c=o(i,n);u.push(c),s.push(c)})),s};var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])).default.version.split('.'),u=(0,t.default)(o,2),i=u[0],s=u[1],c={major:parseInt(i,10),minor:parseInt(s,10)};function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}e.REACT_NATIVE_VERSION=c}),627,[3,27,16,628]); -__d((function(e,s,t,r,i,c,a){i.exports={name:"react-native",version:"0.72.6",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=16"},types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","flow-typed","gradle.properties","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-codegen-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen","!scripts/codegen/__tests__","!scripts/codegen/__test_fixtures__","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/native_modules.rb","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","!scripts/cocoapods/__tests__","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","settings.gradle.kts","template.config.js","template","!template/node_modules","!template/package-lock.json","!template/yarn.lock","third-party-podspecs","types"],scripts:{prepack:"cp ../../README.md ."},peerDependencies:{react:"18.2.0"},dependencies:{"@jest/create-cache-key-function":"^29.2.1","@react-native-community/cli":"11.3.7","@react-native-community/cli-platform-android":"11.3.7","@react-native-community/cli-platform-ios":"11.3.7","@react-native/assets-registry":"^0.72.0","@react-native/codegen":"^0.72.7","@react-native/gradle-plugin":"^0.72.11","@react-native/js-polyfills":"^0.72.1","@react-native/normalize-colors":"^0.72.0","@react-native/virtualized-lists":"^0.72.8","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","deprecated-react-native-prop-types":"4.1.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.5",invariant:"^2.2.4","jest-environment-node":"^29.2.1","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"0.76.8","metro-source-map":"0.76.8",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.2","react-refresh":"^0.4.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.2.2",yargs:"^17.6.2"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}}),628,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;e.State={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5}}),629,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionType=void 0;e.ActionType={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4}}),630,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.findHandler=o,e.findHandlerByTestID=function(n){var t,u=l.get(n);return void 0!==u&&null!=(t=o(u))?t:null},e.findOldGestureHandler=function(n){return t.get(n)},e.getNextHandlerTag=function(){return u++},e.handlerIDToTag=void 0,e.registerHandler=function(t,u,o){n.set(t,u),(0,r(d[0]).isJestEnv)()&&o&&l.set(o,t)},e.registerOldGestureHandler=function(n,l){t.set(n,l)},e.unregisterHandler=function(t,u){n.delete(t),(0,r(d[0]).isJestEnv)()&&u&&l.delete(u)};e.handlerIDToTag={};var n=new Map,t=new Map,l=new Map,u=1;function o(t){return n.get(t)}}),631,[627]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.baseGestureHandlerWithMonitorProps=e.baseGestureHandlerProps=void 0,e.filterConfig=function(n,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Object.assign({},o);for(var u of t){var c=n[u];v=u,void 0===(f=c)||f===Object(f)&&'__isNative'in f||'onHandlerStateChange'===v||'onGestureEvent'===v||('simultaneousHandlers'===u||'waitFor'===u?c=s(n[u]):'hitSlop'===u&&'object'!=typeof c&&(c={top:c,left:c,bottom:c,right:c}),l[u]=c)}var f,v;return l},e.findNodeHandle=function(t){if('web'===n.Platform.OS)return t;return(0,n.findNodeHandle)(t)},e.scheduleFlushOperations=function(){null===c&&(c=requestAnimationFrame((function(){t.default.flushOperations(),c=null})))};var n=r(d[0]),t=r(d[1])(r(d[2])),o=['id','enabled','shouldCancelWhenOutside','hitSlop','cancelsTouchesInView','userSelect'],l=[].concat(o,['waitFor','simultaneousHandlers'],['onBegan','onFailed','onCancelled','onActivated','onEnded','onGestureEvent','onHandlerStateChange']);e.baseGestureHandlerProps=l;var u=[].concat(o,['needsPointerData','manualActivation']);function s(t){return t=(0,r(d[3]).toArray)(t),'web'===n.Platform.OS?t.map((function(n){return n.current})).filter((function(n){return n})):t.map((function(n){var t;return r(d[4]).handlerIDToTag[n]||(null==(t=n.current)?void 0:t.handlerTag)||-1})).filter((function(n){return n>0}))}e.baseGestureHandlerWithMonitorProps=u;var c=null}),632,[1,3,626,627,631]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=(0,r(d[1]).shouldUseCodegenNativeComponent)()?r(d[2]).default:(0,t.requireNativeComponent)('RNGestureHandlerButton');e.default=o}),633,[1,627,634]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('RNGestureHandlerButton');e.default=t}),634,[3,205]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Directions=void 0;e.Directions={RIGHT:1,LEFT:2,UP:4,DOWN:8}}),635,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextInput=e.Switch=e.ScrollView=e.RefreshControl=e.FlatList=e.DrawerLayoutAndroid=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=w(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[4])),u=r(d[5]),f=r(d[0])(r(d[6])),s=["refreshControl","waitFor"],c=["waitFor","refreshControl"];function w(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(w=function(t){return t?o:n})(t)}var p=(0,f.default)(u.RefreshControl,{disallowInterruption:!0,shouldCancelWhenOutside:!1});e.RefreshControl=p;var v=(0,f.default)(u.ScrollView,{disallowInterruption:!0,shouldCancelWhenOutside:!1}),h=l.forwardRef((function(t,u){var f=l.useRef(null),c=t.refreshControl,w=t.waitFor,p=(0,o.default)(t,s);return(0,r(d[7]).jsx)(v,Object.assign({},p,{ref:u,waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=w?w:[])),[f]),refreshControl:c?l.cloneElement(c,{ref:f}):void 0}))}));e.ScrollView=h;var O=(0,f.default)(u.Switch,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!0,disallowInterruption:!0});e.Switch=O;var j=(0,f.default)(u.TextInput);e.TextInput=j;var y=(0,f.default)(u.DrawerLayoutAndroid,{disallowInterruption:!0});e.DrawerLayoutAndroid=y;var C=l.forwardRef((function(f,s){var w=l.useRef(null),p=f.waitFor,v=f.refreshControl,O=(0,o.default)(f,c),j={},y={};for(var C of Object.entries(O)){var b=(0,t.default)(C,2),F=b[0],S=b[1];r(d[9]).nativeViewProps.includes(F)?y[F]=S:j[F]=S}return(0,r(d[7]).jsx)(u.FlatList,Object.assign({ref:s},j,{renderScrollComponent:function(t){return(0,r(d[7]).jsx)(h,Object.assign({},Object.assign({},t,y,{waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=p?p:[])),[w])})))},refreshControl:v?l.cloneElement(v,{ref:w}):void 0}))}));e.FlatList=C}),636,[3,16,27,108,144,1,534,192,627,535]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.flingHandlerName=e.flingGestureHandlerProps=e.FlingGestureHandler=void 0;var n=r(d[0])(r(d[1])),l=r(d[0])(r(d[2])),t=['numberOfPointers','direction'];e.flingGestureHandlerProps=t;var o='FlingGestureHandler';e.flingHandlerName=o;var s=(0,l.default)({name:o,allowedProps:[].concat((0,n.default)(r(d[3]).baseGestureHandlerProps),t),config:{}});e.FlingGestureHandler=s}),637,[3,27,536,632]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.forceTouchHandlerName=_e.forceTouchGestureHandlerProps=_e.ForceTouchGestureHandler=void 0;var e=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),s=r(d[0])(r(d[9]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var v=['minForce','maxForce','feedbackOnActivation'];_e.forceTouchGestureHandlerProps=v;var p=(function(e){(0,c.default)(v,e);var l,f,s=(l=v,f=h(),function(){var e,o=(0,u.default)(l);if(f){var t=(0,u.default)(this).constructor;e=Reflect.construct(o,arguments,t)}else e=o.apply(this,arguments);return(0,n.default)(this,e)});function v(){return(0,o.default)(this,v),s.apply(this,arguments)}return(0,t.default)(v,[{key:"componentDidMount",value:function(){console.warn((0,r(d[10]).tagMessage)('ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'))}},{key:"render",value:function(){return this.props.children}}]),v})(l.default.Component);p.forceTouchAvailable=!1;var T='ForceTouchGestureHandler';_e.forceTouchHandlerName=T;var y=null!=f.default&&f.default.forceTouchAvailable?(0,s.default)({name:T,allowedProps:[].concat((0,e.default)(r(d[11]).baseGestureHandlerProps),v),config:{}}):p;_e.ForceTouchGestureHandler=y,y.forceTouchAvailable=(null==f.default?void 0:f.default.forceTouchAvailable)||!1}),638,[3,27,6,7,44,46,48,144,639,536,627,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,l=r(d[0]),o=null!=(t=null==l.NativeModules?void 0:l.NativeModules.PlatformConstants)?t:l.Platform.constants;e.default=o}),639,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureObjects=void 0;var n=r(d[0])(r(d[1])),t={Tap:function(){return new(r(d[2]).TapGesture)},Pan:function(){return new(r(d[3]).PanGesture)},Pinch:function(){return new(r(d[4]).PinchGesture)},Rotation:function(){return new(r(d[5]).RotationGesture)},Fling:function(){return new(r(d[6]).FlingGesture)},LongPress:function(){return new(r(d[7]).LongPressGesture)},ForceTouch:function(){return new(r(d[8]).ForceTouchGesture)},Native:function(){return new(r(d[9]).NativeGesture)},Manual:function(){return new(r(d[10]).ManualGesture)},Race:function(){for(var t=arguments.length,u=new Array(t),o=0;o0})))?t:[]}function A(e){for(var t of e.config)h.default.dropGestureHandler(t.handlerTag),(0,r(d[18]).unregisterHandler)(t.handlerTag,t.config.testId);(0,r(d[11]).scheduleFlushOperations)()}function L(e){if(!e.config.runOnJS){var t=e.handlers.isWorklet.includes(!1),n=e.handlers.isWorklet.includes(!0);t&&n&&console.error((0,r(d[19]).tagMessage)("Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread."))}}function H(e){var t=e.preparedGesture,n=e.gestureConfig,o=e.gesture,u=e.viewTag,l=e.webEventHandlersRef,i=e.mountedRef;for(var s of(t.firstExecution?t.firstExecution=!1:n.initialize(),setImmediate((function(){i.current&&n.prepare()})),o))L(s),h.default.createGestureHandler(s.handlerName,s.handlerTag,(0,r(d[11]).filterConfig)(s.config,T)),(0,r(d[18]).registerHandler)(s.handlerTag,s,s.config.testId);for(var f of(setImmediate((function(){if(i.current){for(var e of o){var t=[];e.config.requireToFail&&(t=C(e.config.requireToFail));var n=[];e.config.simultaneousWith&&(n=C(e.config.simultaneousWith)),h.default.updateGestureHandler(e.handlerTag,(0,r(d[11]).filterConfig)(e.config,T,{simultaneousHandlers:n,waitFor:t}))}(0,r(d[11]).scheduleFlushOperations)()}})),t.config=o,t.config)){var c=f.shouldUseReanimated?r(d[20]).ActionType.REANIMATED_WORKLET:r(d[20]).ActionType.JS_FUNCTION_NEW_API;'web'===g.Platform.OS?h.default.attachGestureHandler(f.handlerTag,u,r(d[20]).ActionType.JS_FUNCTION_OLD_API,l):h.default.attachGestureHandler(f.handlerTag,u,c)}if(t.animatedHandlers){t.animatedHandlers.value=o.filter((function(e){return e.shouldUseReanimated})).map((function(e){return e.handlers}))}}function w(e,t,n,o){t.prepare();for(var u=0;u3?u-3:0),i=3;i`."))}};return o?(0,r(d[28]).jsx)(B,{ref:C,onGestureHandlerEvent:E.animatedEventHandler,children:e.children}):(0,r(d[28]).jsx)(U,{ref:C,children:e.children})};var U=(function(e){(0,u.default)(h,e);var t,s,f=(t=h,s=E(),function(){var e,n=(0,i.default)(t);if(s){var o=(0,i.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function h(){return(0,n.default)(this,h),f.apply(this,arguments)}return(0,o.default)(h,[{key:"render",value:function(){try{var e=c.default.Children.only(this.props.children);return c.default.cloneElement(e,{collapsable:!1},e.props.children)}catch(e){throw new Error((0,r(d[19]).tagMessage)("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."))}}}]),h})(c.default.Component),B=null!=(e=null==r(d[22]).Reanimated||null==(t=r(d[22]).Reanimated.default)?void 0:t.createAnimatedComponent(U))?e:U}),652,[3,6,7,44,46,48,16,27,144,626,1,632,653,654,655,638,637,642,631,627,630,656,657,629,658,659,660,661,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.tapHandlerName=e.tapGestureHandlerProps=e.TapGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['maxDurationMs','maxDelayMs','numberOfTaps','maxDeltaX','maxDeltaY','maxDist','minPointers'];e.tapGestureHandlerProps=l;var s='TapGestureHandler';e.tapHandlerName=s;var u=(0,n.default)({name:s,allowedProps:[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.TapGestureHandler=u}),653,[3,27,536,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PanGestureHandler=void 0,e.managePanProps=c,e.panHandlerName=e.panGestureHandlerProps=e.panGestureHandlerCustomNativeProps=void 0;var f=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=['activeOffsetY','activeOffsetX','failOffsetY','failOffsetX','minDist','minVelocity','minVelocityX','minVelocityY','minPointers','maxPointers','avgTouches','enableTrackpadTwoFingerGesture','activateAfterLongPress'];e.panGestureHandlerProps=s;var O=['activeOffsetYStart','activeOffsetYEnd','activeOffsetXStart','activeOffsetXEnd','failOffsetYStart','failOffsetYEnd','failOffsetXStart','failOffsetXEnd'];e.panGestureHandlerCustomNativeProps=O;var n='PanGestureHandler';e.panHandlerName=n;var l=(0,t.default)({name:n,allowedProps:[].concat((0,f.default)(r(d[3]).baseGestureHandlerProps),s),config:{},transformProps:c,customNativeProps:O});function v(f){var t=Object.assign({},f);return void 0!==f.activeOffsetX&&(delete t.activeOffsetX,Array.isArray(f.activeOffsetX)?(t.activeOffsetXStart=f.activeOffsetX[0],t.activeOffsetXEnd=f.activeOffsetX[1]):f.activeOffsetX<0?t.activeOffsetXStart=f.activeOffsetX:t.activeOffsetXEnd=f.activeOffsetX),void 0!==f.activeOffsetY&&(delete t.activeOffsetY,Array.isArray(f.activeOffsetY)?(t.activeOffsetYStart=f.activeOffsetY[0],t.activeOffsetYEnd=f.activeOffsetY[1]):f.activeOffsetY<0?t.activeOffsetYStart=f.activeOffsetY:t.activeOffsetYEnd=f.activeOffsetY),void 0!==f.failOffsetX&&(delete t.failOffsetX,Array.isArray(f.failOffsetX)?(t.failOffsetXStart=f.failOffsetX[0],t.failOffsetXEnd=f.failOffsetX[1]):f.failOffsetX<0?t.failOffsetXStart=f.failOffsetX:t.failOffsetXEnd=f.failOffsetX),void 0!==f.failOffsetY&&(delete t.failOffsetY,Array.isArray(f.failOffsetY)?(t.failOffsetYStart=f.failOffsetY[0],t.failOffsetYEnd=f.failOffsetY[1]):f.failOffsetY<0?t.failOffsetYStart=f.failOffsetY:t.failOffsetYEnd=f.failOffsetY),t}function c(f){return v(f)}e.PanGestureHandler=l}),654,[3,27,536,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.longPressHandlerName=e.longPressGestureHandlerProps=e.LongPressGestureHandler=void 0;var s=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['minDurationMs','maxDist'];e.longPressGestureHandlerProps=l;var o='LongPressGestureHandler';e.longPressHandlerName=o;var t=(0,n.default)({name:o,allowedProps:[].concat((0,s.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.LongPressGestureHandler=t}),655,[3,27,536,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TouchEventType=void 0;e.TouchEventType={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4}}),656,[]); -__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.Reanimated=void 0,_e.Reanimated=e;try{if(_e.Reanimated=e=r(d[0]),!e.useSharedValue)throw _e.Reanimated=e=void 0,new Error('react-native-reanimated is not found');e.setGestureState||(e.setGestureState=function(){console.warn((0,r(d[1]).tagMessage)('Please use newer version of react-native-reanimated in order to control state of the gestures.'))})}catch(e){}}),657,[627]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureStateManager=void 0;var t=(0,r(d[0]).tagMessage)('react-native-reanimated is required in order to use synchronous state management'),n=void 0!==(null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.useSharedValue),o=null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.setGestureState,u={create:function(u){return{begin:function(){n?o(u,r(d[2]).State.BEGAN):console.warn(t)},activate:function(){n?o(u,r(d[2]).State.ACTIVE):console.warn(t)},fail:function(){n?o(u,r(d[2]).State.FAILED):console.warn(t)},end:function(){n?o(u,r(d[2]).State.END):console.warn(t)}}}};e.GestureStateManager=u}),658,[627,657,629]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.onGestureHandlerEvent=E,e.startListening=function(){T(),l=n.DeviceEventEmitter.addListener('onGestureHandlerEvent',E),t=n.DeviceEventEmitter.addListener('onGestureHandlerStateChange',E)},e.stopListening=T;var n=r(d[0]),l=null,t=null,o=new Map,s=[];function h(n){return null!=n.oldState}function u(n){return null!=n.eventType}function E(n){var l,t,E,T,c=(0,r(d[1]).findHandler)(n.handlerTag);if(c)if(h(n))n.oldState===r(d[2]).State.UNDETERMINED&&n.state===r(d[2]).State.BEGAN?null==c.handlers.onBegin||c.handlers.onBegin(n):n.oldState!==r(d[2]).State.BEGAN&&n.oldState!==r(d[2]).State.UNDETERMINED||n.state!==r(d[2]).State.ACTIVE?n.oldState!==n.state&&n.state===r(d[2]).State.END?(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!0)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!0),s[c.handlers.handlerTag]=void 0):n.state!==r(d[2]).State.FAILED&&n.state!==r(d[2]).State.CANCELLED||n.oldState===n.state||(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!1)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!1),o.delete(n.handlerTag),s[c.handlers.handlerTag]=void 0):(null==c.handlers.onStart||c.handlers.onStart(n),s[c.handlers.handlerTag]=n);else if(u(n)){o.has(n.handlerTag)||o.set(n.handlerTag,r(d[3]).GestureStateManager.create(n.handlerTag));var v=o.get(n.handlerTag);switch(n.eventType){case r(d[4]).TouchEventType.TOUCHES_DOWN:null==(l=c.handlers)||null==l.onTouchesDown||l.onTouchesDown(n,v);break;case r(d[4]).TouchEventType.TOUCHES_MOVE:null==(t=c.handlers)||null==t.onTouchesMove||t.onTouchesMove(n,v);break;case r(d[4]).TouchEventType.TOUCHES_UP:null==(E=c.handlers)||null==E.onTouchesUp||E.onTouchesUp(n,v);break;case r(d[4]).TouchEventType.TOUCHES_CANCELLED:null==(T=c.handlers)||null==T.onTouchesCancelled||T.onTouchesCancelled(n,v)}}else null==c.handlers.onUpdate||c.handlers.onUpdate(n),c.handlers.onChange&&c.handlers.changeEventCalculator&&(null==c.handlers.onChange||c.handlers.onChange(null==c.handlers.changeEventCalculator?void 0:c.handlers.changeEventCalculator(n,s[c.handlers.handlerTag])),s[c.handlers.handlerTag]=n);else{var S=(0,r(d[1]).findOldGestureHandler)(n.handlerTag);if(S){var C={nativeEvent:n};return void(h(n)?S.onGestureStateChange(C):S.onGestureEvent(C))}}}function T(){l&&(l.remove(),l=null),t&&(t.remove(),t=null)}}),659,[1,631,629,658,656]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.enableExperimentalWebImplementation=function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if('web'!==n.Platform.OS||t===o)return;if(l)return void console.error('Some parts of this application have already started using old gesture handler implementation. No changes will be applied. You can try enabling new implementation earlier.');t=o},e.isExperimentalWebImplementationEnabled=function(){return l=!0,t};var n=r(d[0]),t=!1,l=!1}),660,[1]); -__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.getShadowNodeFromRef=function(n){if(void 0===e)try{e=r(d[0]).findHostInstance_DEPRECATED}catch(n){e=function(e){return null}}return e(n)._internalInstanceHandle.stateNode.node}}),661,[37]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.pinchHandlerName=e.PinchGestureHandler=void 0;var n=r(d[0])(r(d[1])),l='PinchGestureHandler';e.pinchHandlerName=l;var c=(0,n.default)({name:l,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.PinchGestureHandler=c}),662,[3,536,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.rotationHandlerName=e.RotationGestureHandler=void 0;var o=r(d[0])(r(d[1])),t='RotationGestureHandler';e.rotationHandlerName=t;var n=(0,o.default)({name:t,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.RotationGestureHandler=n}),663,[3,536,632]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return u.default}});var t=r(d[0])(r(d[1])),u=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]))}),664,[3,665,666,668,669]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TouchableNativeFeedback;e.default=t}),665,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var u=t.forwardRef((function(t,f){return(0,r(d[3]).jsx)(n.default,Object.assign({ref:f},t))}));u.defaultProps=n.default.defaultProps;var o=u;e.default=o}),666,[144,3,667,192]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.TOUCHABLE_STATE=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var s=p(e);if(s&&s.has(t))return s.get(t);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var u=n?Object.getOwnPropertyDescriptor(t,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=t[l]}o.default=t,s&&s.set(t,o);return o})(r(d[6])),u=r(d[7]);function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,s=new WeakMap;return(p=function(t){return t?s:e})(t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var h={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};_e.TOUCHABLE_STATE=h;var T=(function(l){(0,s.default)(E,l);var p,T,f=(p=E,T=c(),function(){var t,e=(0,n.default)(p);if(T){var s=(0,n.default)(this).constructor;t=Reflect.construct(e,arguments,s)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function E(){var e;(0,t.default)(this,E);for(var s=arguments.length,o=new Array(s),n=0;n0:b,y=t.overshootRight,A=void 0===y?O>0:y,W=u.Animated.add(p,l.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-O-1,-O,h,h+1],outputRange:[-O-(A?1/s:0),-O,h,h+(R?1/s:0)]});o.transX=W,o.showLeftAction=h>0?W.interpolate({inputRange:[-1,0,h],outputRange:[0,0,1]}):new u.Animated.Value(0),o.leftActionTranslate=o.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o.showRightAction=O>0?W.interpolate({inputRange:[-O,0,1],outputRange:[1,0,0]}):new u.Animated.Value(0),o.rightActionTranslate=o.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o.onTapHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.close()},o.onHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.handleRelease(t)},o.handleRelease=function(t){var e=t.nativeEvent,n=e.velocityX,s=e.translationX,l=o.state,p=l.leftWidth,u=void 0===p?0:p,f=l.rowWidth,h=void 0===f?0:f,c=l.rowState,v=o.state.rightOffset,w=h-(void 0===v?h:v),S=o.props,O=S.friction,b=S.leftThreshold,R=void 0===b?u/2:b,y=S.rightThreshold,A=void 0===y?w/2:y,W=o.currentOffset()+s/O,j=(s+.05*n)/O,L=0;0===c?j>R?L=u:j<-A&&(L=-w):1===c?j>-R&&(L=u):j0)null==o.props.onSwipeableLeftOpen||o.props.onSwipeableLeftOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('left',(0,n.default)(o));else if(e<0)null==o.props.onSwipeableRightOpen||o.props.onSwipeableRightOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('right',(0,n.default)(o));else{var l=t>0?'left':'right';null==o.props.onSwipeableClose||o.props.onSwipeableClose(l,(0,n.default)(o))}})),e>0)null==o.props.onSwipeableLeftWillOpen||o.props.onSwipeableLeftWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('left');else if(e<0)null==o.props.onSwipeableRightWillOpen||o.props.onSwipeableRightWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('right');else{var h=t>0?'left':'right';null==o.props.onSwipeableWillClose||o.props.onSwipeableWillClose(h)}},o.onRowLayout=function(t){var e=t.nativeEvent;o.setState({rowWidth:e.layout.width})},o.currentOffset=function(){var t=o.state,e=t.leftWidth,n=void 0===e?0:e,s=t.rowWidth,l=void 0===s?0:s,p=t.rowState,u=o.state.rightOffset;return 1===p?n:-1===p?-(l-(void 0===u?l:u)):0},o.close=function(){o.animateRow(o.currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,e=void 0===t?0:t;o.animateRow(o.currentOffset(),e)},o.openRight=function(){var t=o.state.rowWidth,e=void 0===t?0:t,n=o.state.rightOffset,s=e-(void 0===n?e:n);o.animateRow(o.currentOffset(),-s)};var s=new u.Animated.Value(0);return o.state={dragX:s,rowTranslation:new u.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o.updateAnimatedEvent(e,o.state),o.onGestureEvent=u.Animated.event([{nativeEvent:{translationX:s}}],{useNativeDriver:e.useNativeAnimations}),o}return(0,e.default)(S,[{key:"shouldComponentUpdate",value:function(t,e){return this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===e.leftWidth&&this.state.rightOffset===e.rightOffset&&this.state.rowWidth===e.rowWidth||this.updateAnimatedEvent(t,e),!0}},{key:"render",value:function(){var t=this,e=this.state.rowState,n=this.props,o=n.children,s=n.renderLeftActions,l=n.renderRightActions,p=s&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.leftActions,{transform:[{translateX:this.leftActionTranslate}]}],children:[s(this.showLeftAction,this.transX),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({leftWidth:n.layout.x})}})]}),f=l&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.rightActions,{transform:[{translateX:this.rightActionTranslate}]}],children:[l(this.showRightAction,this.transX,this),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({rightOffset:n.layout.x})}})]});return(0,r(d[10]).jsx)(r(d[11]).PanGestureHandler,Object.assign({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange,children:(0,r(d[10]).jsxs)(u.Animated.View,{onLayout:this.onRowLayout,style:[v.container,this.props.containerStyle],children:[p,f,(0,r(d[10]).jsx)(r(d[12]).TapGestureHandler,{enabled:0!==e,onHandlerStateChange:this.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(u.Animated.View,{pointerEvents:0===e?'auto':'box-only',style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle],children:o})})]})}))}}]),S})(p.Component);_e.default=c,c.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var v=u.StyleSheet.create({container:{overflow:'hidden'},leftActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row-reverse':'row'}),rightActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row':'row-reverse'})})}),676,[3,6,7,47,44,46,48,144,1,629,192,654,653]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=s?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[6])),u=r(d[0])(r(d[7])),p=r(d[8]);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var f='Idle',h='Dragging',v='Settling',S=(function(c){(0,n.default)(A,c);var S,b,V=(S=A,b=w(),function(){var e,t=(0,s.default)(S);if(b){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function A(t){var n;(0,e.default)(this,A),(n=V.call(this,t)).accessibilityIsModalView=l.createRef(),n.pointerEventsView=l.createRef(),n.panGestureHandler=l.createRef(),n.drawerShown=!1,n.updateAnimatedEvent=function(e,t){var o=e.drawerPosition,s=e.drawerWidth,l=e.drawerType,u=t.dragX,c=t.touchX,w=t.drawerTranslation,f=t.containerWidth,h=u,v=c;'left'!==o?(h=p.Animated.multiply(new p.Animated.Value(-1),u),v=p.Animated.add(new p.Animated.Value(f),p.Animated.multiply(new p.Animated.Value(-1),c)),c.setValue(f)):c.setValue(0);var S=h;if('front'===l){var y=p.Animated.add(v,p.Animated.multiply(new p.Animated.Value(-1),h)).interpolate({inputRange:[s-1,s,s+1],outputRange:[0,0,1]});S=p.Animated.add(h,y)}n.openValue=p.Animated.add(S,w).interpolate({inputRange:[0,s],outputRange:[0,1],extrapolate:'clamp'});var b={useNativeDriver:e.useNativeAnimations};n.props.onDrawerSlide&&(b.listener=function(e){var t=Math.floor(Math.abs(e.nativeEvent.translationX))/n.state.containerWidth;null==n.props.onDrawerSlide||n.props.onDrawerSlide(t)}),n.onGestureEvent=p.Animated.event([{nativeEvent:{translationX:u,x:c}}],b)},n.handleContainerLayout=function(e){var t=e.nativeEvent;n.setState({containerWidth:t.layout.width})},n.emitStateChanged=function(e,t){null==n.props.onDrawerStateChanged||n.props.onDrawerStateChanged(e,t)},n.openingHandlerStateChange=function(e){var t=e.nativeEvent;t.oldState===r(d[9]).State.ACTIVE?n.handleRelease({nativeEvent:t}):t.state===r(d[9]).State.ACTIVE&&(n.emitStateChanged(h,!1),n.setState({drawerState:h}),'on-drag'===n.props.keyboardDismissMode&&p.Keyboard.dismiss(),n.props.hideStatusBar&&p.StatusBar.setHidden(!0,n.props.statusBarAnimation||'slide'))},n.onTapHandlerStateChange=function(e){var t=e.nativeEvent;n.drawerShown&&t.oldState===r(d[9]).State.ACTIVE&&'locked-open'!==n.props.drawerLockMode&&n.closeDrawer()},n.handleRelease=function(e){var t=e.nativeEvent,o=n.props,s=o.drawerWidth,l=o.drawerPosition,u=o.drawerType,p=n.state.containerWidth,c=t.translationX,w=t.velocityX,f=t.x;'left'!==l&&(c=-c,f=p-f,w=-w);var h=f-c,v=0;'front'===u&&(v=h>s?h-s:0);var S=c+v+(n.drawerShown?s:0);S+.05*w>s/2?n.animateDrawer(S,s,w):n.animateDrawer(S,0,w)},n.updateShowing=function(e){var t,o,s;n.drawerShown=e,null==(t=n.accessibilityIsModalView.current)||t.setNativeProps({accessibilityViewIsModal:e}),null==(o=n.pointerEventsView.current)||o.setNativeProps({pointerEvents:e?'auto':'none'});var l=n.props,u=l.drawerPosition,p=l.minSwipeDistance,c=l.edgeWidth,w='left'===u,f=(w?1:-1)*(n.drawerShown?-1:1),h=w?{left:0,width:e?void 0:c}:{right:0,width:e?void 0:c};null==(s=n.panGestureHandler.current)||s.setNativeProps({hitSlop:h,activeOffsetX:f*p})},n.animateDrawer=function(e,t,o,s){if(n.state.dragX.setValue(0),n.state.touchX.setValue('left'===n.props.drawerPosition?0:n.state.containerWidth),null!=e){var l=e;n.props.useNativeAnimations&&(e0?l=Math.min(e+o/60,t):e>t&&o<0&&(l=Math.max(e+o/60,t))),n.state.drawerTranslation.setValue(l)}var u=0!==t;n.updateShowing(u),n.emitStateChanged(v,u),n.setState({drawerState:v}),n.props.hideStatusBar&&p.StatusBar.setHidden(u,n.props.statusBarAnimation||'slide'),p.Animated.spring(n.state.drawerTranslation,{velocity:o,bounciness:0,toValue:t,useNativeDriver:n.props.useNativeAnimations,speed:null!=s?s:void 0}).start((function(e){e.finished&&(n.emitStateChanged(f,u),n.setState({drawerOpened:u}),n.state.drawerState!==h&&n.setState({drawerState:f}),u?null==n.props.onDrawerOpen||n.props.onDrawerOpen():null==n.props.onDrawerClose||n.props.onDrawerClose())}))},n.openDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,n.props.drawerWidth,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,0,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.renderOverlay=function(){(0,u.default)(n.openValue,'should be set');var e={opacity:n.state.drawerState!==f?n.openValue:n.state.drawerOpened?1:0,backgroundColor:n.props.overlayColor};return(0,r(d[10]).jsx)(r(d[11]).TapGestureHandler,{onHandlerStateChange:n.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:n.drawerShown?'auto':'none',ref:n.pointerEventsView,style:[y.overlay,e]})})},n.renderDrawer=function(){var e,t=n.props,o=t.drawerBackgroundColor,s=t.drawerWidth,l=t.drawerPosition,c=t.drawerType,w=t.drawerContainerStyle,h=t.contentContainerStyle,v='left'===l,S='back'!==c,b='front'!==c,V=p.I18nManager.isRTL?v:!v,A={backgroundColor:o,width:s},O=n.openValue;((0,u.default)(O,'should be set'),b)&&(e={transform:[{translateX:O.interpolate({inputRange:[0,1],outputRange:v?[0,s]:[0,-s],extrapolate:'clamp'})}]});var C=0;if(S){var D=v?-s:s;C=n.state.drawerState!==f?O.interpolate({inputRange:[0,1],outputRange:[D,0],extrapolate:'clamp'}):n.state.drawerOpened?0:D}var R={transform:[{translateX:C}],flexDirection:V?'row-reverse':'row'};return(0,r(d[10]).jsxs)(p.Animated.View,{style:y.main,onLayout:n.handleContainerLayout,children:[(0,r(d[10]).jsxs)(p.Animated.View,{style:['front'===c?y.containerOnBack:y.containerInFront,e,h],importantForAccessibility:n.drawerShown?'no-hide-descendants':'yes',children:['function'==typeof n.props.children?n.props.children(n.openValue):n.props.children,n.renderOverlay()]}),(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:"box-none",ref:n.accessibilityIsModalView,accessibilityViewIsModal:n.drawerShown,style:[y.drawerContainer,R,w],children:(0,r(d[10]).jsx)(p.View,{style:A,children:n.props.renderNavigationView(n.openValue)})})]})},n.setPanGestureRef=function(e){n.panGestureHandler.current=e,null==n.props.onGestureRef||n.props.onGestureRef(e)};var o=new p.Animated.Value(0),s=new p.Animated.Value(0),c=new p.Animated.Value(0);return n.state={dragX:o,touchX:s,drawerTranslation:c,containerWidth:0,drawerState:f,drawerOpened:!1},n.updateAnimatedEvent(t,n.state),n}return(0,t.default)(A,[{key:"shouldComponentUpdate",value:function(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}},{key:"render",value:function(){var e=this.props,t=e.drawerPosition,n=e.drawerLockMode,o=e.edgeWidth,s=e.minSwipeDistance,l='left'===t,u=(l?1:-1)*(this.drawerShown?-1:1),p=l?{left:0,width:this.drawerShown?void 0:o}:{right:0,width:this.drawerShown?void 0:o};return(0,r(d[10]).jsx)(r(d[12]).PanGestureHandler,{userSelect:this.props.userSelect,ref:this.setPanGestureRef,hitSlop:p,activeOffsetX:u*s,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:'locked-closed'!==n&&'locked-open'!==n,children:this.renderDrawer()})}}]),A})(l.Component);_e.default=S,S.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked',enableTrackpadTwoFingerGesture:!1},S.positions={Left:'left',Right:'right'};var y=p.StyleSheet.create({drawerContainer:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:Object.assign({},p.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1e3})})}),677,[3,6,7,44,46,48,144,14,1,629,192,653,654]); -__d((function(g,r,_i,a,m,_e,_d){'use strict';var e,t=this&&this.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)},function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n20,h=R.width>R.height,x=h?0:10,v=f.top,S=R.height/R.width,w=o(u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),A=0===l,Y=p(w.interpolate({inputRange:[0,1,2],outputRange:[R.height,A?0:x,(A?v:0)-x*S]}),c),B=w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),F=h?1:w.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*x/R.width:1]}),O=h?0:A?w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,y?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomLeftRadius:y?O:0,borderBottomRightRadius:y?O:0,marginTop:A?0:v,marginBottom:A?0:x,transform:[{translateY:Y},{scale:F}]},overlayStyle:{opacity:B}}},e.forNoAnimation=function(){return{}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,l=t.inverted,u=t.layouts.screen,s=p(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),l),c=p(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),l),R=o?p(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),l):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var p=t.current,l=t.next,u=t.closing,s=o(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),l?l.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.75,.875,1,1.0825,1.2075,2],outputRange:[0,0,1,1,1,1,0]}),R=(0,n.default)(u,p.progress.interpolate({inputRange:[0,1],outputRange:[.925,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.075]}));return{cardStyle:{opacity:c,transform:[{scale:R}]}}},e.forVerticalIOS=function(t){var n=t.current,o=t.inverted,l=t.layouts.screen;return{cardStyle:{transform:[{translateY:p(n.progress.interpolate({inputRange:[0,1],outputRange:[l.height,0],extrapolate:'clamp'}),o)}]}}};var t=r(d[0]),n=r(d[1])(r(d[2])),o=t.Animated.add,p=t.Animated.multiply}),682,[1,3,683]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l,o){return n(u(t,l),u(t.interpolate({inputRange:[0,1],outputRange:[1,0]}),o))};var t=r(d[0]),n=t.Animated.add,u=t.Animated.multiply}),683,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.forFade=function(t){var o=t.current,p=t.next,u=n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),l=u.interpolate({inputRange:[0,1,2],outputRange:[0,1,0]});return{leftButtonStyle:{opacity:l},rightButtonStyle:{opacity:l},titleStyle:{opacity:l},backgroundStyle:{opacity:u.interpolate({inputRange:[0,1,1.9,2],outputRange:[0,1,1,0]})}}},e.forNoAnimation=function(){return{}},e.forSlideLeft=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.width,0,l.width]:[l.width,0,-l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideRight=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[l.width,0,-l.width]:[-l.width,0,l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideUp=function(t){var o=t.current,p=t.next,u=t.layouts.header,l=[{translateY:n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:[-u.height,0,-u.height]})}];return{leftButtonStyle:{transform:l},rightButtonStyle:{transform:l},titleStyle:{transform:l},backgroundStyle:{transform:l}}},e.forUIKit=function(o){var p=o.current,u=o.next,l=o.layouts,s=l.leftLabel?(l.screen.width-l.leftLabel.width)/2-27:100,R=l.title?(l.screen.width-l.title.width)/2-27:100,c=l.screen.width/4,f=n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0);return{leftButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},leftLabelStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-c,0,s]:[s,0,-c]})}]},rightButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},titleStyle:{opacity:f.interpolate({inputRange:[0,.4,1,1.5],outputRange:[0,.1,1,0]}),transform:[{translateX:f.interpolate({inputRange:[.5,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-R,0,c]:[c,0,-R]})}]},backgroundStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.screen.width,0,l.screen.width]:[l.screen.width,0,-l.screen.width]})}]}}};var t=r(d[0]),n=t.Animated.add}),684,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SlideFromRightIOS=e.ScaleFromCenterAndroid=e.RevealFromBottomAndroid=e.ModalTransition=e.ModalSlideFromBottomIOS=e.ModalPresentationIOS=e.ModalFadeTransition=e.FadeFromBottomAndroid=e.DefaultTransition=e.BottomSheetAndroid=void 0;var o=r(d[0]),t={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forHorizontalIOS,headerStyleInterpolator:r(d[3]).forFade};e.SlideFromRightIOS=t;var n={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forVerticalIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalSlideFromBottomIOS=n;var l={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forModalPresentationIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalPresentationIOS=l;var S={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).FadeInFromBottomAndroidSpec,close:r(d[1]).FadeOutToBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forFadeFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.FadeFromBottomAndroid=S;var c={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).RevealFromBottomAndroidSpec,close:r(d[1]).RevealFromBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forRevealFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.RevealFromBottomAndroid=c;var p={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).ScaleFromCenterAndroidSpec,close:r(d[1]).ScaleFromCenterAndroidSpec},cardStyleInterpolator:r(d[2]).forScaleFromCenterAndroid,headerStyleInterpolator:r(d[3]).forFade};e.ScaleFromCenterAndroid=p;var s={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forBottomSheetAndroid,headerStyleInterpolator:r(d[3]).forFade};e.BottomSheetAndroid=s;var F={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forFadeFromCenter,headerStyleInterpolator:r(d[3]).forFade};e.ModalFadeTransition=F;var I=o.Platform.select({ios:t,android:o.Platform.Version>=29?p:o.Platform.Version>=28?c:S,default:p});e.DefaultTransition=I;var f=o.Platform.select({ios:l,default:s});e.ModalTransition=f}),685,[1,686,682,684]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TransitionIOSSpec=e.ScaleFromCenterAndroidSpec=e.RevealFromBottomAndroidSpec=e.FadeOutToBottomAndroidSpec=e.FadeInFromBottomAndroidSpec=e.BottomSheetSlideOutSpec=e.BottomSheetSlideInSpec=void 0;var n=r(d[0]);e.TransitionIOSSpec={animation:'spring',config:{stiffness:1e3,damping:500,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}};var o={animation:'timing',config:{duration:350,easing:n.Easing.out(n.Easing.poly(5))}};e.FadeInFromBottomAndroidSpec=o;var t={animation:'timing',config:{duration:150,easing:n.Easing.in(n.Easing.linear)}};e.FadeOutToBottomAndroidSpec=t;var c={animation:'timing',config:{duration:425,easing:n.Easing.bezier(.35,.45,0,1)}};e.RevealFromBottomAndroidSpec=c;var s={animation:'timing',config:{duration:400,easing:n.Easing.bezier(.35,.45,0,1)}};e.ScaleFromCenterAndroidSpec=s;var S={animation:'timing',config:{duration:250,easing:function(n){return Math.cos((n+1)*Math.PI)/2+.5}}};e.BottomSheetSlideInSpec=S;var p={animation:'timing',config:{duration:200,easing:function(n){return 1===n?1:Math.pow(n,2)}}};e.BottomSheetSlideOutSpec=p}),686,[1]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=s?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=["id","initialRouteName","children","screenListeners","screenOptions"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=(0,r(d[5]).createNavigatorFactory)((function(c){var u=c.id,l=c.initialRouteName,p=c.children,f=c.screenListeners,v=c.screenOptions,h=(0,e.default)(c,s),k=h.mode;(0,n.default)(null!=k,"Stack Navigator: 'mode=\""+k+"\"' is deprecated. Use 'presentation: \""+k+"\"' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator#presentation for more details.");var b=h.headerMode;(0,n.default)('none'===b,"Stack Navigator: 'headerMode=\"none\"' is deprecated. Use 'headerShown: false' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headershown for more details."),(0,n.default)(null!=b&&'none'!==b,"Stack Navigator: 'headerMode' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headermode for more details.");var O=h.keyboardHandlingEnabled;(0,n.default)(void 0!==O,"Stack Navigator: 'keyboardHandlingEnabled' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#keyboardhandlingenabled for more details.");var y={presentation:k,headerShown:!b||'none'!==b,headerMode:b&&'none'!==b?b:void 0,keyboardHandlingEnabled:O},S=(0,r(d[5]).useNavigationBuilder)(r(d[5]).StackRouter,{id:u,initialRouteName:l,children:p,screenListeners:f,screenOptions:v,defaultScreenOptions:y}),j=S.state,M=S.descriptors,N=S.navigation,w=S.NavigationContent;return t.useEffect((function(){return null==N.addListener?void 0:N.addListener('tabPress',(function(e){var t=N.isFocused();requestAnimationFrame((function(){j.index>0&&t&&!e.defaultPrevented&&N.dispatch(Object.assign({},r(d[5]).StackActions.popToTop(),{target:j.key}))}))}))}),[N,j.index,j.key]),(0,r(d[6]).jsx)(w,{children:(0,r(d[6]).jsx)(o.default,Object.assign({},h,{state:j,descriptors:M,navigation:N}))})}));_e.default=u}),687,[3,108,144,688,689,436,192]); -__d((function(g,r,i,a,m,e,d){new Set;m.exports=function(n){}}),688,[]); -__d((function(g,_r,i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),o=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=_r(d[0])(_r(d[7])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=k(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=o?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(n,u,s):n[u]=e[u]}n.default=e,r&&r.set(e,n);return n})(_r(d[8])),c=_r(d[9]),l=_r(d[0])(_r(d[10])),f=_r(d[0])(_r(d[11])),p=_r(d[0])(_r(d[12])),y=["state","descriptors"];function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(k=function(e){return e?r:t})(e)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var h=null!=_r(d[13]).GestureHandlerRootView?_r(d[13]).GestureHandlerRootView:c.View,R=(function(a){(0,o.default)(S,a);var c,k,R=(c=S,k=v(),function(){var e,t=(0,s.default)(c);if(k){var r=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(){var e;(0,r.default)(this,S);for(var t=arguments.length,n=new Array(t),o=0;oo.height;n='ios'===t.Platform.OS?t.Platform.isPad||t.Platform.isTV?f?56:50:u?32:f?56:44:'android'===t.Platform.OS?56:64;return n+l};var t=r(d[0])}),698,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l){return'string'==typeof t.headerTitle?t.headerTitle:void 0!==t.title?t.title:l}}),699,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var c=(0,r(d[8]).useSafeAreaInsets)(),y=(0,r(d[8]).useSafeAreaFrame)(),R=o.useContext(h.default),C=f.layout,S=void 0===C?y:C,w=f.modal,x=void 0!==w&&w,v=f.title,W=f.headerTitle,T=f.headerTitleAlign,B=void 0===T?n.Platform.select({ios:'center',default:'left'}):T,j=f.headerLeft,E=f.headerLeftLabelVisible,O=f.headerTransparent,L=f.headerTintColor,V=f.headerBackground,A=f.headerRight,P=f.headerTitleAllowFontScaling,k=f.headerTitleStyle,H=f.headerLeftContainerStyle,M=f.headerRightContainerStyle,_=f.headerTitleContainerStyle,F=f.headerBackgroundContainerStyle,I=f.headerStyle,D=f.headerShadowVisible,z=f.headerPressColor,G=f.headerPressOpacity,q=f.headerStatusBarHeight,J=void 0===q?R?0:c.top:q,K=(0,l.default)(S,x,J),N=n.StyleSheet.flatten(I||{}),Q=N.height,U=void 0===Q?K:Q,X=N.minHeight,Y=N.maxHeight,Z=N.backgroundColor,$=N.borderBottomColor,ee=N.borderBottomEndRadius,te=N.borderBottomLeftRadius,re=N.borderBottomRightRadius,oe=N.borderBottomStartRadius,de=N.borderBottomWidth,ie=N.borderColor,ae=N.borderEndColor,ne=N.borderEndWidth,le=N.borderLeftColor,se=N.borderLeftWidth,he=N.borderRadius,be=N.borderRightColor,ue=N.borderRightWidth,fe=N.borderStartColor,pe=N.borderStartWidth,ce=N.borderStyle,ge=N.borderTopColor,ye=N.borderTopEndRadius,me=N.borderTopLeftRadius,Re=N.borderTopRightRadius,Ce=N.borderTopStartRadius,Se=N.borderTopWidth,we=N.borderWidth,xe=N.boxShadow,ve=N.elevation,We=N.shadowColor,Te=N.shadowOffset,Be=N.shadowOpacity,je=N.shadowRadius,Ee=N.opacity,Oe=N.transform,Le=((0,t.default)(N,u),{backgroundColor:Z,borderBottomColor:$,borderBottomEndRadius:ee,borderBottomLeftRadius:te,borderBottomRightRadius:re,borderBottomStartRadius:oe,borderBottomWidth:de,borderColor:ie,borderEndColor:ae,borderEndWidth:ne,borderLeftColor:le,borderLeftWidth:se,borderRadius:he,borderRightColor:be,borderRightWidth:ue,borderStartColor:fe,borderStartWidth:pe,borderStyle:ce,borderTopColor:ge,borderTopEndRadius:ye,borderTopLeftRadius:me,borderTopRightRadius:Re,borderTopStartRadius:Ce,borderTopWidth:Se,borderWidth:we,boxShadow:xe,elevation:ve,shadowColor:We,shadowOffset:Te,shadowOpacity:Be,shadowRadius:je,opacity:Ee,transform:Oe});for(var Ve in Le)void 0===Le[Ve]&&delete Le[Ve];var Ae=[Le,!1===D&&{elevation:0,shadowOpacity:0,borderBottomWidth:0}],Pe=j?j({tintColor:L,pressColor:z,pressOpacity:G,labelVisible:E}):null,ke=A?A({tintColor:L,pressColor:z,pressOpacity:G}):null,He='function'!=typeof W?function(t){return(0,r(d[9]).jsx)(b.default,Object.assign({},t))}:W;return(0,r(d[9]).jsxs)(o.Fragment,{children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[n.StyleSheet.absoluteFill,{zIndex:0},F],children:V?V({style:Ae}):O?null:(0,r(d[9]).jsx)(s.default,{style:Ae})}),(0,r(d[9]).jsxs)(n.Animated.View,{pointerEvents:"box-none",style:[{height:U,minHeight:X,maxHeight:Y,opacity:Ee,transform:Oe}],children:[(0,r(d[9]).jsx)(n.View,{pointerEvents:"none",style:{height:J}}),(0,r(d[9]).jsxs)(n.View,{pointerEvents:"box-none",style:p.content,children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.left,'center'===B&&p.expand,{marginStart:c.left},H],children:Pe}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.title,{maxWidth:'center'===B?S.width-2*((Pe?!1!==E?80:32:16)+Math.max(c.left,c.right)):S.width-((Pe?72:16)+(ke?72:16)+c.left-c.right)},_],children:He({children:v,allowFontScaling:P,tintColor:L,style:k})}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.right,p.expand,{marginEnd:c.right},M],children:ke})]})]})]})};var t=r(d[0])(r(d[1])),o=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in t)if("default"!==h&&Object.prototype.hasOwnProperty.call(t,h)){var b=s?Object.getOwnPropertyDescriptor(t,h):null;b&&(b.get||b.set)?Object.defineProperty(l,h,b):l[h]=t[h]}l.default=t,n&&n.set(t,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),h=r(d[0])(r(d[6])),b=r(d[0])(r(d[7])),u=["height","minHeight","maxHeight","backgroundColor","borderBottomColor","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderBottomWidth","borderColor","borderEndColor","borderEndWidth","borderLeftColor","borderLeftWidth","borderRadius","borderRightColor","borderRightWidth","borderStartColor","borderStartWidth","borderStyle","borderTopColor","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","borderTopWidth","borderWidth","boxShadow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","opacity","transform"];function f(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:o})(t)}var p=n.StyleSheet.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}})}),700,[3,108,144,1,698,701,702,704,705,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.style,c=(0,t.default)(l,n),s=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(o.Animated.View,Object.assign({style:[f.container,{backgroundColor:s.card,borderBottomColor:s.border,shadowColor:s.border},u]},c))};var t=r(d[0])(r(d[1])),o=((function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=l(o);if(n&&n.has(t))return n.get(t);var f={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,n&&n.set(t,f)})(r(d[2])),r(d[3])),n=["style"];function l(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:o})(t)}var f=o.StyleSheet.create({container:Object.assign({flex:1},o.Platform.select({android:{elevation:4},ios:{shadowOpacity:.85,shadowRadius:0,shadowOffset:{width:0,height:o.StyleSheet.hairlineWidth}},default:{borderBottomWidth:o.StyleSheet.hairlineWidth}}))})}),701,[3,108,144,1,436,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderShownContext',!1);e.default=t}),702,[3,703]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){var f=g[u].get(t);if(f)return f;return(f=n.createContext(o)).displayName=t,g[u].set(t,f),f};var t,n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u='__react_navigation__elements_contexts';g[u]=null!=(t=g[u])?t:new Map}),703,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var u=f.tintColor,c=f.style,s=(0,t.default)(f,o),p=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(n.Animated.Text,Object.assign({accessibilityRole:"header","aria-level":"1",numberOfLines:1},s,{style:[l.title,{color:void 0===u?p.text:u},c]}))};var t=r(d[0])(r(d[1])),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,o&&o.set(t,l)})(r(d[2])),r(d[3])),o=["tintColor","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var l=n.StyleSheet.create({title:n.Platform.select({ios:{fontSize:17,fontWeight:'600'},android:{fontSize:20,fontFamily:'sans-serif-medium',fontWeight:'normal'},default:{fontSize:18,fontWeight:'500'}})})}),704,[3,108,144,1,436,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r(d[0])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[0])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[0])[n]}}))})),Object.keys(r(d[1])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[1])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[1])[n]}}))})),Object.keys(r(d[2])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[2])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[2])[n]}}))})),Object.keys(r(d[3])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[3])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[3])[n]}}))}))}),705,[706,709,711,713]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaInsetsContext=e.SafeAreaFrameContext=e.SafeAreaContext=e.SafeAreaConsumer=void 0,e.SafeAreaProvider=function(f){var h,p,S,x,w,y=f.children,A=f.initialMetrics,C=f.initialSafeAreaInsets,b=f.style,j=(0,n.default)(f,u),O=o.useContext(s),P=o.useContext(c),M=o.useState(null!=(h=null!=(p=null!=(S=null==A?void 0:A.insets)?S:C)?p:O)?h:null),I=(0,t.default)(M,2),_=I[0],k=I[1],D=o.useState(null!=(x=null!=(w=null==A?void 0:A.frame)?w:P)?x:{x:0,y:0,width:l.Dimensions.get('window').width,height:l.Dimensions.get('window').height}),E=(0,t.default)(D,2),F=E[0],W=E[1],N=o.useCallback((function(t){var n=t.nativeEvent,o=n.frame,l=n.insets;!o||o.height===F.height&&o.width===F.width&&o.x===F.x&&o.y===F.y||W(o),_&&l.bottom===_.bottom&&l.left===_.left&&l.right===_.right&&l.top===_.top||k(l)}),[F,_]);return(0,r(d[5]).jsx)(r(d[6]).NativeSafeAreaProvider,Object.assign({style:[v.fill,b],onInsetsChange:N},j,{children:null!=_?(0,r(d[5]).jsx)(c.Provider,{value:F,children:(0,r(d[5]).jsx)(s.Provider,{value:_,children:y})}):null}))},e.useSafeArea=function(){return p()},e.useSafeAreaFrame=function(){var t=o.useContext(c);if(null==t)throw new Error(h);return t},e.useSafeAreaInsets=p,e.withSafeAreaInsets=function(t){return o.forwardRef((function(n,o){var l=p();return(0,r(d[5]).jsx)(t,Object.assign({},n,{insets:l,ref:o}))}))};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=u?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(l,s,c):l[s]=t[s]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=["children","initialMetrics","initialSafeAreaInsets","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var s=o.createContext(null);e.SafeAreaInsetsContext=s;var c=o.createContext(null);e.SafeAreaFrameContext=c;var v=l.StyleSheet.create({fill:{flex:1}});var h='No safe area value available. Make sure you are rendering `` at the top of your app.';function p(){var t=o.useContext(s);if(null==t)throw new Error(h);return t}var S=s.Consumer;e.SafeAreaConsumer=S;var x=s;e.SafeAreaContext=x}),706,[3,16,108,144,1,192,707]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeSafeAreaProvider",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),707,[3,708]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaProvider');e.default=f}),708,[3,205]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=u(n);if(f&&f.has(t))return f.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,f&&f.set(t,o);return o})(r(d[2])),f=r(d[0])(r(d[3])),o=["edges"];function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}var l=n.forwardRef((function(n,u){var l=n.edges,c=(0,t.default)(n,o);return(0,r(d[4]).jsx)(f.default,Object.assign({},c,{edges:null!=l?l:['bottom','left','right','top'],ref:u}))}));e.SafeAreaView=l}),709,[3,108,144,710,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaView',{interfaceOnly:!0});e.default=f}),710,[3,205]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n,t,l=r(d[0])(r(d[1])),s=null!=(n=null==l.default||null==l.default.getConstants||null==(t=l.default.getConstants())?void 0:t.initialWindowMetrics)?n:null;e.initialWindowMetrics=s;var o=null==s?void 0:s.insets;e.initialWindowSafeAreaInsets=o}),711,[3,712]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TurboModuleRegistry.get('RNCSafeAreaContext');e.default=t}),712,[1]); -__d((function(g,r,i,a,m,e,d){}),713,[]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(s){var u=s.disabled,f=s.allowFontScaling,b=s.backImage,y=s.label,h=s.labelStyle,p=s.labelVisible,v=s.onLabelLayout,w=s.onPress,j=s.pressColor,x=s.pressOpacity,M=s.screenLayout,k=s.tintColor,L=s.titleLayout,O=s.truncatedLabel,P=void 0===O?'Back':O,S=s.accessibilityLabel,C=void 0===S?y&&'Back'!==y?y+", back":'Go back':S,I=s.testID,W=s.style,D=(0,r(d[6]).useTheme)().colors,R=t.useState(void 0),V=(0,e.default)(R,2),_=V[0],F=V[1],z=void 0!==k?k:n.Platform.select({ios:D.primary,default:D.text}),T=function(e){null==v||v(e),F(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return(0,r(d[7]).jsx)(o.default,{disabled:u,accessible:!0,accessibilityRole:"button",accessibilityLabel:C,testID:I,onPress:u?void 0:function(){return w&&requestAnimationFrame(w)},pressColor:j,pressOpacity:x,android_ripple:{borderless:!0},style:[c.container,u&&c.disabled,W],hitSlop:n.Platform.select({ios:void 0,default:{top:16,right:16,bottom:16,left:16}}),children:(0,r(d[7]).jsxs)(t.Fragment,{children:[b?b({tintColor:z}):(0,r(d[7]).jsx)(n.Image,{style:[c.icon,Boolean(p)&&c.iconWithLabel,Boolean(z)&&{tintColor:z}],source:r(d[8]),fadeDuration:0}),(function(){var e=!y||_&&L&&M&&(M.width-L.width)/2<_+26?P:y;if(!p||void 0===e)return null;var t=(0,r(d[7]).jsx)(n.View,{style:M?[c.labelWrapper,{minWidth:M.width/2-27}]:null,children:(0,r(d[7]).jsx)(n.Animated.Text,{accessible:!1,onLayout:e===y?T:void 0,style:[c.label,z?{color:z}:null,h],numberOfLines:1,allowFontScaling:!!f,children:e})});return b||'ios'!==n.Platform.OS?t:(0,r(d[7]).jsx)(l.default,{maskElement:(0,r(d[7]).jsxs)(n.View,{style:c.iconMaskContainer,children:[(0,r(d[7]).jsx)(n.Image,{source:r(d[9]),style:c.iconMask}),(0,r(d[7]).jsx)(n.View,{style:c.iconMaskFillerRect})]}),children:t})})()]})})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=o?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=e[c]}l.default=e,n&&n.set(e,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5]));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var c=n.StyleSheet.create({container:Object.assign({alignItems:'center',flexDirection:'row',minWidth:n.StyleSheet.hairlineWidth},n.Platform.select({ios:null,default:{marginVertical:3,marginHorizontal:11}})),disabled:{opacity:.5},label:{fontSize:17,letterSpacing:.35},labelWrapper:{flexDirection:'row',alignItems:'flex-start'},icon:n.Platform.select({ios:{height:21,width:13,marginLeft:8,marginRight:22,marginVertical:12,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]},default:{height:24,width:24,margin:3,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}}),iconWithLabel:'ios'===n.Platform.OS?{marginRight:6}:{},iconMaskContainer:{flex:1,flexDirection:'row',justifyContent:'center'},iconMaskFillerRect:{flex:1,backgroundColor:'#000'},iconMask:{height:21,width:13,marginLeft:-14.5,marginVertical:12,alignSelf:'center',resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}})}),714,[3,16,144,1,715,717,436,192,718,720]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),715,[3,716]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(n){var f=n.children,c=(0,t.default)(n,u);if(o&&e)return(0,r(d[5]).jsx)(e,Object.assign({},c,{children:f}));return f};var e,t=r(d[0])(r(d[1])),n=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=e[c]}u.default=e,n&&n.set(e,u)})(r(d[2])),r(d[3])),u=["children"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}try{e=r(d[4]).default}catch(e){}var o=null!=n.UIManager.getViewManagerConfig('RNCMaskedView')}),716,[3,108,144,1,192]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var p=u.onPressIn,c=u.onPressOut,O=u.android_ripple,y=u.pressColor,P=u.pressOpacity,v=void 0===P?.3:P,b=u.style,j=(0,t.default)(u,s),_=(0,r(d[5]).useTheme)().dark,w=n.useState((function(){return new o.Animated.Value(1)})),M=(0,e.default)(w,1)[0],k=function(e,t){f||o.Animated.timing(M,{toValue:e,duration:t,easing:o.Easing.inOut(o.Easing.quad),useNativeDriver:!0}).start()};return(0,r(d[6]).jsx)(l,Object.assign({onPressIn:function(e){k(v,0),null==p||p(e)},onPressOut:function(e){k(1,200),null==c||c(e)},android_ripple:f?Object.assign({color:void 0!==y?y:_?'rgba(255, 255, 255, .32)':'rgba(0, 0, 0, .32)'},O):void 0,style:[{opacity:f?1:M},b]},j))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=s?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[3])),o=r(d[4]),s=["onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=o.Animated.createAnimatedComponent(o.Pressable),f='android'===o.Platform.OS&&o.Platform.Version>=21}),717,[3,16,108,144,1,436,192]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:12,height:21,scales:[1,1.5,2,3,4],hash:"c90fb4585dd852a3d67af39baf923f67",name:"back-icon",type:"png"})}),718,[719]); -__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),719,[177]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:50,height:85,scales:[1],hash:"5223c8d9b0d08b82a5670fb5f71faf78",name:"back-icon-mask",type:"png"})}),720,[719]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderBackContext',void 0);e.default=t}),721,[3,703]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderHeightContext',void 0);e.default=t}),722,[3,703]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),723,[144,3,722]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.color,c=n.size,f=n.style;return(0,r(d[2]).jsx)(t.Text,{style:[o.icon,{color:u,fontSize:c},f],children:"\u23f7"})};!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=f?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(c,l,p):c[l]=t[l]}c.default=t,u&&u.set(t,c)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o=t.StyleSheet.create({icon:{backgroundColor:'transparent'}})}),724,[144,1,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var f=l.visible,u=l.children,s=l.style,p=(0,t.default)(l,o);if('web'===n.Platform.OS)return(0,r(d[4]).jsx)(n.View,Object.assign({hidden:!f,style:[{display:f?'flex':'none'},c.container,s],pointerEvents:f?'auto':'none'},p,{children:u}));return(0,r(d[4]).jsx)(n.View,{style:[c.container,s],pointerEvents:f?'auto':'none',children:(0,r(d[4]).jsx)(n.View,{collapsable:!1,removeClippedSubviews:'ios'!==n.Platform.OS&&'macos'!==n.Platform.OS||!f,pointerEvents:f?'auto':'none',style:f?c.attached:c.detached,children:u})})};var t=r(d[0])(r(d[1])),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=f?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(c,u,s):c[u]=t[u]}c.default=t,o&&o.set(t,c)})(r(d[2])),r(d[3])),o=["visible","children","style"];function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}var c=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e4}})}),725,[3,108,144,1,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=n(o);if(l&&l.has(t))return l.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=c?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(f,u,s):f[u]=t[u]}f.default=t,l&&l.set(t,f)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,l=new WeakMap;return(n=function(t){return t?l:o})(t)}var o=t.Dimensions.get('window'),l=o.width,f=void 0===l?0:l,c=o.height,u=void 0===c?0:c,s='web'===t.Platform.OS||null==r(d[2]).initialWindowMetrics?{frame:{x:0,y:0,width:f,height:u},insets:{top:0,left:0,right:0,bottom:0}}:r(d[2]).initialWindowMetrics;function p(n){var o=n.children,l=n.style;return(0,r(d[3]).jsx)(r(d[2]).SafeAreaInsetsContext.Consumer,{children:function(n){return n?(0,r(d[3]).jsx)(t.View,{style:[y.container,l],children:o}):(0,r(d[3]).jsx)(r(d[2]).SafeAreaProvider,{initialMetrics:s,style:l,children:o})}})}p.initialMetrics=s;var y=t.StyleSheet.create({container:{flex:1}})}),726,[144,1,705,192]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c){var v=(0,r(d[8]).useSafeAreaFrame)(),h=(0,r(d[8]).useSafeAreaInsets)(),p=t.useContext(s.default),y=t.useContext(u.default),j=c.focused,x=c.modal,b=void 0!==x&&x,P=c.header,O=c.headerShown,w=void 0===O||O,S=c.headerTransparent,_=c.headerStatusBarHeight,M=void 0===_?p?0:h.top:_,C=c.navigation,k=c.route,A=c.children,D=c.style,W=t.useState((function(){return(0,l.default)(v,b,M)})),E=(0,e.default)(W,2),F=E[0],H=E[1];return(0,r(d[9]).jsxs)(o.default,{accessibilityElementsHidden:!j,importantForAccessibility:j?'auto':'no-hide-descendants',style:[f.container,D],children:[(0,r(d[9]).jsx)(n.View,{style:f.content,children:(0,r(d[9]).jsx)(s.default.Provider,{value:p||!1!==w,children:(0,r(d[9]).jsx)(u.default.Provider,{value:w?F:null!=y?y:0,children:A})})}),w?(0,r(d[9]).jsx)(r(d[10]).NavigationContext.Provider,{value:C,children:(0,r(d[9]).jsx)(r(d[10]).NavigationRouteContext.Provider,{value:k,children:(0,r(d[9]).jsx)(n.View,{onLayout:function(e){var t=e.nativeEvent.layout.height;H(t)},style:S?f.absolute:null,children:P})})}):null]})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=l?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),s=r(d[0])(r(d[7]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var f=n.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},content:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0}})}),727,[3,16,144,1,697,698,722,702,705,192,436]); -__d((function(g,r,i,a,m,e,d){}),728,[]); -__d((function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=i?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),c=r(d[9]),p=r(d[0])(r(d[10])),f=r(d[0])(r(d[11])),h=r(d[0])(r(d[12]));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var S=Object.freeze({options:{}}),k=function(e,t){for(var n=e[t].descriptor.options.cardStyleInterpolator,o=0,i=t-1;i>=0;i--){var s;if((null==(s=e[i])?void 0:s.descriptor.options.cardStyleInterpolator)!==n)break;o++}return o},P=function(e,t,n){if(n)return!0;var o=e.descriptor.options.cardStyleInterpolator;return(0,r(d[13]).getIsModalPresentation)(o)&&0!==t},b=function(e,t,n,o,i,s){return e.reduce((function(u,l,p){var f=l.descriptor.options,h=f.headerStatusBarHeight,y=void 0===h?n?0:t.top:h,v=f.headerStyle,S=c.StyleSheet.flatten(v||{}),b='height'in S&&'number'==typeof S.height?S.height:s[l.route.key],M=k(e,p),O=P(l,M,o);return u[l.route.key]='number'==typeof b?b:(0,r(d[14]).getDefaultHeaderHeight)(i,O,y),u}),{})},M=function(e,t){var n=(null==t?void 0:t.options)||{},o=n.presentation,i=n.gestureDirection,s=void 0===i?'modal'===o?r(d[15]).ModalTransition.gestureDirection:r(d[15]).DefaultTransition.gestureDirection:i;return(0,f.default)(e,s)},O=function(e,t,n){var o=M({width:Math.max(1,t.width),height:Math.max(1,t.height)},n);return o>0?e.interpolate({inputRange:[0,o],outputRange:[1,0]}):e.interpolate({inputRange:[o,0],outputRange:[0,1]})},H=(function(f){(0,o.default)(w,f);var y,H,R=(y=w,H=v(),function(){var e,t=(0,s.default)(y);if(H){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,i.default)(this,e)});function w(n){var o;return(0,t.default)(this,w),(o=R.call(this,n)).handleLayout=function(e){var t=e.nativeEvent.layout,n=t.height,i=t.width,s={width:i,height:n};o.setState((function(e,t){return n===e.layout.height&&i===e.layout.width?null:{layout:s,headerHeights:b(e.scenes,t.insets,t.isParentHeaderShown,t.isParentModal,s,e.headerHeights)}}))},o.handleHeaderLayout=function(t){var n=t.route,i=t.height;o.setState((function(t){var o=t.headerHeights;return o[n.key]===i?null:{headerHeights:Object.assign({},o,(0,e.default)({},n.key,i))}}))},o.getFocusedRoute=function(){var e=o.props.state;return e.routes[e.index]},o.getPreviousScene=function(e){var t=e.route,n=o.props.getPreviousRoute,i=o.state.scenes,s=n({route:t});if(s)return i.find((function(e){return e.descriptor.route.key===s.key}))},o.state={routes:[],scenes:[],gestures:{},layout:r(d[14]).SafeAreaProviderCompat.initialMetrics.frame,descriptors:o.props.descriptors,headerHeights:{}},o}return(0,n.default)(w,[{key:"render",value:function(){for(var e=this,t=this.props,n=t.insets,o=t.state,i=t.routes,s=t.closingRouteKeys,f=t.onOpenRoute,y=t.onCloseRoute,v=t.renderHeader,S=t.renderScene,b=t.isParentHeaderShown,M=t.isParentModal,O=t.onTransitionStart,H=t.onTransitionEnd,R=t.onGestureStart,w=t.onGestureEnd,x=t.onGestureCancel,j=t.detachInactiveScreens,C=void 0===j?'web'===c.Platform.OS||'android'===c.Platform.OS||'ios'===c.Platform.OS:j,D=this.state,T=D.scenes,E=D.layout,_=D.gestures,F=D.headerHeights,A=o.routes[o.index],B=F[A.key],L=this.state.scenes.slice(-2).some((function(e){var t,n=null!=(t=e.descriptor.options)?t:{},o=n.headerMode,i=n.headerTransparent,s=n.headerShown;return!(!i&&!1!==(void 0===s||s)&&'screen'!==o)})),G=1,z=T.length-1;z>=0;z--){var W=T[z].descriptor.options,K=W.detachPreviousScreen;if(!1===(void 0===K?'transparentModal'!==W.presentation&&(!(0,r(d[13]).getIsModalPresentation)(W.cardStyleInterpolator)||z!==(0,p.default)(T,(function(e){var t=e.descriptor.options.cardStyleInterpolator;return t===r(d[16]).forModalPresentationIOS||'forModalPresentationIOS'===(null==t?void 0:t.name)}))):K))G++;else if(z<=T.length-2)break}var N=(0,r(d[17]).jsx)(l.Fragment,{children:v({mode:'float',layout:E,scenes:T,getPreviousScene:this.getPreviousScene,getFocusedRoute:this.getFocusedRoute,onContentHeightChange:this.handleHeaderLayout,style:[I.floating,L&&[{height:B},I.absolute]]})},"header");return(0,r(d[17]).jsxs)(r(d[14]).Background,{children:[L?null:N,(0,r(d[17]).jsx)(r(d[18]).MaybeScreenContainer,{enabled:C,style:I.container,onLayout:this.handleLayout,children:i.map((function(t,o,i){var l,p,I=A.key===t.key,j=_[t.key],D=T[o],B=1;if(o=i.length-G?1:0;B=z?z.progress.current.interpolate({inputRange:[0,.99999,1],outputRange:[1,1,W],extrapolate:'clamp'}):1}var K,N=D.descriptor.options,V=N.headerShown,q=void 0===V||V,J=N.headerTransparent,Q=N.headerStyle,U=N.headerTintColor,X=N.freezeOnBlur,Y=n.top,Z=n.right,$=n.bottom,ee=n.left,te=!1!==q?F[t.key]:0;if(q)if('string'==typeof U)K=(0,u.default)(U).isDark();else{var re=c.StyleSheet.flatten(Q);re&&'backgroundColor'in re&&'string'==typeof re.backgroundColor&&(K=!(0,u.default)(re.backgroundColor).isDark())}var ne=k(T,o),oe=P(D,ne,M),ae='transparentModal'===(null==(l=T[o+1])?void 0:l.descriptor.options.presentation),ie=!1!==(null==(p=T[o+1])?void 0:p.descriptor.options.detachPreviousScreen);return(0,r(d[17]).jsx)(r(d[18]).MaybeScreen,{style:c.StyleSheet.absoluteFill,enabled:C,active:B,freezeOnBlur:X,pointerEvents:"box-none",children:(0,r(d[17]).jsx)(h.default,{index:o,interpolationIndex:ne,modal:oe,active:o===i.length-1,focused:I,closing:s.includes(t.key),layout:E,gesture:j,scene:D,safeAreaInsetTop:Y,safeAreaInsetRight:Z,safeAreaInsetBottom:$,safeAreaInsetLeft:ee,onGestureStart:R,onGestureCancel:x,onGestureEnd:w,headerHeight:te,isParentHeaderShown:b,onHeaderHeightChange:e.handleHeaderLayout,getPreviousScene:e.getPreviousScene,getFocusedRoute:e.getFocusedRoute,headerDarkContent:K,hasAbsoluteFloatHeader:L&&!J,renderHeader:v,renderScene:S,onOpenRoute:f,onCloseRoute:y,onTransitionStart:O,onTransitionEnd:H,isNextScreenTransparent:ae,detachCurrentScreen:ie})},t.key)}))}),L?N:null]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.routes===t.routes&&e.descriptors===t.descriptors)return null;var n=e.routes.reduce((function(n,o){var i=e.descriptors[o.key],s=((null==i?void 0:i.options)||{}).animationEnabled;return n[o.key]=t.gestures[o.key]||new c.Animated.Value(e.openingRouteKeys.includes(o.key)&&!1!==s?M(t.layout,i):0),n}),{}),o=e.routes.map((function(o,i,s){var u,l=s[i-1],p=s[i+1],f=t.scenes[i],h=n[o.key],y=l?n[l.key]:void 0,v=p?n[p.key]:void 0,k=e.descriptors[o.key]||t.descriptors[o.key]||(f?f.descriptor:S),P=e.descriptors[null==p?void 0:p.key]||t.descriptors[null==p?void 0:p.key],b=e.descriptors[null==l?void 0:l.key]||t.descriptors[null==l?void 0:l.key],M=i!==s.length-1&&P&&'transparentModal'!==P.options.presentation?P.options:k.options,H='modal'===M.presentation?r(d[15]).ModalTransition:'transparentModal'===M.presentation?r(d[15]).ModalFadeTransition:r(d[15]).DefaultTransition,I=M.animationEnabled,R=void 0===I?'web'!==c.Platform.OS&&'windows'!==c.Platform.OS&&'macos'!==c.Platform.OS:I,w=M.gestureEnabled,x=void 0===w?'ios'===c.Platform.OS&&R:w,j=M.gestureDirection,C=void 0===j?H.gestureDirection:j,D=M.transitionSpec,T=void 0===D?H.transitionSpec:D,E=M.cardStyleInterpolator,_=void 0===E?!1===R?r(d[16]).forNoAnimation:H.cardStyleInterpolator:E,F=M.headerStyleInterpolator,A=void 0===F?H.headerStyleInterpolator:F,B=M.cardOverlayEnabled,L=void 0===B?'ios'!==c.Platform.OS&&'transparentModal'!==M.presentation||(0,r(d[13]).getIsModalPresentation)(_):B,G=null!=(u=k.options.headerMode)?u:'modal'===M.presentation||'transparentModal'===M.presentation||'modal'===(null==P?void 0:P.options.presentation)||'transparentModal'===(null==P?void 0:P.options.presentation)||(0,r(d[13]).getIsModalPresentation)(_)||'ios'!==c.Platform.OS||void 0!==k.options.header?'screen':'float',z={route:o,descriptor:Object.assign({},k,{options:Object.assign({},k.options,{animationEnabled:R,cardOverlayEnabled:L,cardStyleInterpolator:_,gestureDirection:C,gestureEnabled:x,headerStyleInterpolator:A,transitionSpec:T,headerMode:G})}),progress:{current:O(h,t.layout,k),next:v&&'transparentModal'!==(null==P?void 0:P.options.presentation)?O(v,t.layout,P):void 0,previous:y?O(y,t.layout,b):void 0},__memo:[t.layout,k,P,b,h,v,y]};return f&&z.__memo.every((function(e,t){return f.__memo[t]===e}))?f:z}));return{routes:e.routes,scenes:o,gestures:n,descriptors:e.descriptors,headerHeights:b(o,e.insets,e.isParentHeaderShown,e.isParentModal,t.layout,t.headerHeights)}}}]),w})(l.Component);_e.default=H;var I=c.StyleSheet.create({container:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0},floating:{zIndex:1}})}),729,[3,169,6,7,44,46,48,730,144,1,738,739,741,743,696,685,682,192,750]); -__d((function(g,r,_i,_a,_m,e,d){var t=['keyword','gray','hex'],o={};for(var n of Object.keys(r(d[0])))o[r(d[1])(r(d[0])[n].labels).sort().join('')]=n;var a={};function i(n,h){if(!(this instanceof i))return new i(n,h);if(h&&h in t&&(h=null),h&&!(h in r(d[0])))throw new Error('Unknown model: '+h);var l,s;if(null==n)this.model='rgb',this.color=[0,0,0],this.valpha=1;else if(n instanceof i)this.model=n.model,this.color=r(d[1])(n.color),this.valpha=n.valpha;else if('string'==typeof n){var c=r(d[2]).get(n);if(null===c)throw new Error('Unable to parse color from string: '+n);this.model=c.model,s=r(d[0])[this.model].channels,this.color=c.value.slice(0,s),this.valpha='number'==typeof c.value[s]?c.value[s]:1}else if(n.length>0){this.model=h||'rgb',s=r(d[0])[this.model].channels;var u=Array.prototype.slice.call(n,0,s);this.color=v(u,s),this.valpha='number'==typeof n[s]?n[s]:1}else if('number'==typeof n)this.model='rgb',this.color=[n>>16&255,n>>8&255,255&n],this.valpha=1;else{this.valpha=1;var f=Object.keys(n);'alpha'in n&&(f.splice(f.indexOf('alpha'),1),this.valpha='number'==typeof n.alpha?n.alpha:0);var p=f.sort().join('');if(!(p in o))throw new Error('Unable to parse color from object: '+JSON.stringify(n));this.model=o[p];var b=r(d[0])[this.model].labels,m=[];for(l=0;ln?(o+.05)/(n+.05):(n+.05)/(o+.05)},level:function(t){var o=this.contrast(t);return o>=7?'AAA':o>=4.5?'AA':''},isDark:function(){var t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),o=0;o<3;o++)t.color[o]=255-t.color[o];return t},lighten:function(t){var o=this.hsl();return o.color[2]+=o.color[2]*t,o},darken:function(t){var o=this.hsl();return o.color[2]-=o.color[2]*t,o},saturate:function(t){var o=this.hsl();return o.color[1]+=o.color[1]*t,o},desaturate:function(t){var o=this.hsl();return o.color[1]-=o.color[1]*t,o},whiten:function(t){var o=this.hwb();return o.color[1]+=o.color[1]*t,o},blacken:function(t){var o=this.hwb();return o.color[2]+=o.color[2]*t,o},grayscale:function(){var t=this.rgb().color,o=.3*t[0]+.59*t[1]+.11*t[2];return i.rgb(o,o,o)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var o=this.hsl(),n=o.color[0];return n=(n=(n+t)%360)<0?360+n:n,o.color[0]=n,o},mix:function(t,o){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),a=this.rgb(),h=void 0===o?.5:o,l=2*h-1,s=n.alpha()-a.alpha(),c=((l*s==-1?l:(l+s)/(1+l*s))+1)/2,u=1-c;return i.rgb(c*n.red()+u*a.red(),c*n.green()+u*a.green(),c*n.blue()+u*a.blue(),n.alpha()*h+a.alpha()*(1-h))}};var h=function(o){if(t.includes(o))return"continue";var n=r(d[0])[o].channels;i.prototype[o]=function(){if(this.model===o)return new i(this);for(var t=arguments.length,n=new Array(t),a=0;a0?new i(n,o):new i([].concat(r(d[1])((h=r(d[0])[this.model][o].raw(this.color),Array.isArray(h)?h:[h])),[this.valpha]),o);var h},i[o]=function(){for(var t=arguments.length,a=new Array(t),h=0;h1&&(t=i),n(t))};return'conversion'in n&&(o.conversion=n.conversion),o}function t(n){var o=function(){for(var o=arguments.length,t=new Array(o),c=0;c1&&(t=i);var v=n(t);if('object'==typeof v)for(var f=v.length,l=0;l1&&(h-=1)),[360*h,100*u,100*i]},a.rgb.hwb=function(r){var n=r[0],t=r[1],h=r[2];return[a.rgb.hsl(r)[0],100*(.00392156862745098*Math.min(n,Math.min(t,h))),100*(h=1-.00392156862745098*Math.max(n,Math.max(t,h)))]},a.rgb.cmyk=function(r){var n=r[0]/255,a=r[1]/255,t=r[2]/255,h=Math.min(1-n,1-a,1-t);return[100*((1-n-h)/(1-h)||0),100*((1-a-h)/(1-h)||0),100*((1-t-h)/(1-h)||0),100*h]},a.rgb.keyword=function(n){var a=r[n];if(a)return a;var t,h,u,c=1/0;for(var s of Object.keys(_r(d[0]))){var l=_r(d[0])[s],i=(u=l,((h=n)[0]-u[0])**2+(h[1]-u[1])**2+(h[2]-u[2])**2);i.04045?((n+.055)/1.055)**2.4:n/12.92)+.3576*(a=a>.04045?((a+.055)/1.055)**2.4:a/12.92)+.1805*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)),100*(.2126*n+.7152*a+.0722*t),100*(.0193*n+.1192*a+.9505*t)]},a.rgb.lab=function(r){var n=a.rgb.xyz(r),t=n[0],h=n[1],u=n[2];return[116*(h=(h/=100)>.008856?h**.3333333333333333:7.787*h+.13793103448275862)-16,500*((t=(t/=95.047)>.008856?t**.3333333333333333:7.787*t+.13793103448275862)-h),200*(h-(u=(u/=108.883)>.008856?u**.3333333333333333:7.787*u+.13793103448275862))]},a.hsl.rgb=function(r){var n,a,t,h=r[0]/360,u=r[1]/100,c=r[2]/100;if(0===u)return[t=255*c,t,t];for(var s=2*c-(n=c<.5?c*(1+u):c+u-c*u),l=[0,0,0],i=0;i<3;i++)(a=h+.3333333333333333*-(i-1))<0&&a++,a>1&&a--,t=6*a<1?s+6*(n-s)*a:2*a<1?n:3*a<2?s+(n-s)*(.6666666666666666-a)*6:s,l[i]=255*t;return l},a.hsl.hsv=function(r){var n=r[0],a=r[1]/100,t=r[2]/100,h=a,u=Math.max(t,.01);return a*=(t*=2)<=1?t:2-t,h*=u<=1?u:2-u,[n,100*(0===t?2*h/(u+h):2*a/(t+a)),100*((t+a)/2)]},a.hsv.rgb=function(r){var n=r[0]/60,a=r[1]/100,t=r[2]/100,h=Math.floor(n)%6,u=n-Math.floor(n),c=255*t*(1-a),s=255*t*(1-a*u),l=255*t*(1-a*(1-u));switch(t*=255,h){case 0:return[t,l,c];case 1:return[s,t,c];case 2:return[c,t,l];case 3:return[c,s,t];case 4:return[l,c,t];case 5:return[t,c,s]}},a.hsv.hsl=function(r){var n,a,t=r[0],h=r[1]/100,u=r[2]/100,c=Math.max(u,.01);a=(2-h)*u;var s=(2-h)*c;return n=h*c,[t,100*(n=(n/=s<=1?s:2-s)||0),100*(a/=2)]},a.hwb.rgb=function(r){var n,a=r[0]/360,t=r[1]/100,h=r[2]/100,u=t+h;u>1&&(t/=u,h/=u);var c=Math.floor(6*a),s=1-h;n=6*a-c,0!=(1&c)&&(n=1-n);var l,i,o,b=t+n*(s-t);switch(c){default:case 6:case 0:l=s,i=b,o=t;break;case 1:l=b,i=s,o=t;break;case 2:l=t,i=s,o=b;break;case 3:l=t,i=b,o=s;break;case 4:l=b,i=t,o=s;break;case 5:l=s,i=t,o=b}return[255*l,255*i,255*o]},a.cmyk.rgb=function(r){var n=r[0]/100,a=r[1]/100,t=r[2]/100,h=r[3]/100;return[255*(1-Math.min(1,n*(1-h)+h)),255*(1-Math.min(1,a*(1-h)+h)),255*(1-Math.min(1,t*(1-h)+h))]},a.xyz.rgb=function(r){var n,a,t,h=r[0]/100,u=r[1]/100,c=r[2]/100;return n=(n=3.2406*h+-1.5372*u+-.4986*c)>.0031308?1.055*n**.4166666666666667-.055:12.92*n,a=(a=-.9689*h+1.8758*u+.0415*c)>.0031308?1.055*a**.4166666666666667-.055:12.92*a,t=(t=.0557*h+-.204*u+1.057*c)>.0031308?1.055*t**.4166666666666667-.055:12.92*t,[255*(n=Math.min(Math.max(0,n),1)),255*(a=Math.min(Math.max(0,a),1)),255*(t=Math.min(Math.max(0,t),1))]},a.xyz.lab=function(r){var n=r[0],a=r[1],t=r[2];return[116*(a=(a/=100)>.008856?a**.3333333333333333:7.787*a+.13793103448275862)-16,500*((n=(n/=95.047)>.008856?n**.3333333333333333:7.787*n+.13793103448275862)-a),200*(a-(t=(t/=108.883)>.008856?t**.3333333333333333:7.787*t+.13793103448275862))]},a.lab.xyz=function(r){var n,a,t,h=(a=(r[0]+16)/116)**3,u=(n=r[1]/500+a)**3,c=(t=a-r[2]/200)**3;return a=h>.008856?h:(a-.13793103448275862)/7.787,n=u>.008856?u:(n-.13793103448275862)/7.787,t=c>.008856?c:(t-.13793103448275862)/7.787,[n*=95.047,a*=100,t*=108.883]},a.lab.lch=function(r){var n,a=r[0],t=r[1],h=r[2];return(n=360*Math.atan2(h,t)/2/Math.PI)<0&&(n+=360),[a,Math.sqrt(t*t+h*h),n]},a.lch.lab=function(r){var n=r[0],a=r[1],t=r[2]/360*2*Math.PI;return[n,a*Math.cos(t),a*Math.sin(t)]},a.rgb.ansi16=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=_r(d[1])(r,3),h=t[0],u=t[1],c=t[2],s=null===n?a.rgb.hsv(r)[2]:n;if(0===(s=Math.round(s/50)))return 30;var l=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(h/255));return 2===s&&(l+=60),l},a.hsv.ansi16=function(r){return a.rgb.ansi16(a.hsv.rgb(r),r[2])},a.rgb.ansi256=function(r){var n=r[0],a=r[1],t=r[2];return n===a&&a===t?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(a/255*5)+Math.round(t/255*5)},a.ansi16.rgb=function(r){var n=r%10;if(0===n||7===n)return r>50&&(n+=3.5),[n=n/10.5*255,n,n];var a=.5*(1+~~(r>50));return[(1&n)*a*255,(n>>1&1)*a*255,(n>>2&1)*a*255]},a.ansi256.rgb=function(r){if(r>=232){var n=10*(r-232)+8;return[n,n,n]}var a;return r-=16,[Math.floor(r/36)/5*255,Math.floor((a=r%36)/6)/5*255,a%6/5*255]},a.rgb.hex=function(r){var n=(((255&Math.round(r[0]))<<16)+((255&Math.round(r[1]))<<8)+(255&Math.round(r[2]))).toString(16).toUpperCase();return'000000'.substring(n.length)+n},a.hex.rgb=function(r){var n=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var a=n[0];3===n[0].length&&(a=a.split('').map((function(r){return r+r})).join(''));var t=parseInt(a,16);return[t>>16&255,t>>8&255,255&t]},a.rgb.hcg=function(r){var n,a=r[0]/255,t=r[1]/255,h=r[2]/255,u=Math.max(Math.max(a,t),h),c=Math.min(Math.min(a,t),h),s=u-c;return n=s<=0?0:u===a?(t-h)/s%6:u===t?2+(h-a)/s:4+(a-t)/s,n/=6,[360*(n%=1),100*s,100*(s<1?c/(1-s):0)]},a.hsl.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=a<.5?2*n*a:2*n*(1-a),h=0;return t<1&&(h=(a-.5*t)/(1-t)),[r[0],100*t,100*h]},a.hsv.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=n*a,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.hcg.rgb=function(r){var n=r[0]/360,a=r[1]/100,t=r[2]/100;if(0===a)return[255*t,255*t,255*t];var h,u=[0,0,0],c=n%1*6,s=c%1,l=1-s;switch(Math.floor(c)){case 0:u[0]=1,u[1]=s,u[2]=0;break;case 1:u[0]=l,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=s;break;case 3:u[0]=0,u[1]=l,u[2]=1;break;case 4:u[0]=s,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=l}return h=(1-a)*t,[255*(a*u[0]+h),255*(a*u[1]+h),255*(a*u[2]+h)]},a.hcg.hsv=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n),t=0;return a>0&&(t=n/a),[r[0],100*t,100*a]},a.hcg.hsl=function(r){var n=r[1]/100,a=r[2]/100*(1-n)+.5*n,t=0;return a>0&&a<.5?t=n/(2*a):a>=.5&&a<1&&(t=n/(2*(1-a))),[r[0],100*t,100*a]},a.hcg.hwb=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n);return[r[0],100*(a-n),100*(1-a)]},a.hwb.hcg=function(r){var n=r[1]/100,a=1-r[2]/100,t=a-n,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},a.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},a.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},a.gray.hsl=function(r){return[0,0,r[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(r){return[0,100,r[0]]},a.gray.cmyk=function(r){return[0,0,0,r[0]]},a.gray.lab=function(r){return[r[0],0,0]},a.gray.hex=function(r){var n=255&Math.round(r[0]/100*255),a=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return'000000'.substring(a.length)+a},a.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]}}),732,[733,16]); -__d((function(g,r,i,a,m,e,d){'use strict';m.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),733,[]); -__d((function(g,r,_i,a,m,e,d){function n(){for(var n={},t=Object.keys(r(d[0])),u=t.length,c=0;c=4&&1!==r[3]&&(t=', '+r[3]),'hwb('+r[0]+', '+r[1]+'%, '+r[2]+'%'+t+')'},n.to.keyword=function(r){return t[r.slice(0,3)]}}),735,[733,736]); -__d((function(g,r,_i,a,m,e,d){'use strict';var t=Array.prototype.concat,n=Array.prototype.slice,o=m.exports=function(o){for(var c=[],u=0,p=o.length;u=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}}),737,[]); -__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){for(var u=n.length-1;u>=0;u--)if(t(n[u]))return u;return-1}}),738,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,c){var l=(0,t.default)(c);switch(c){case'vertical':case'vertical-inverted':return n.height*l;case'horizontal':case'horizontal-inverted':return n.width*l}};var t=r(d[0])(r(d[1]))}),739,[3,740]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){switch(n){case'vertical':return 1;case'vertical-inverted':return-1;case'horizontal':return t.I18nManager.getConstants().isRTL?-1:1;case'horizontal-inverted':return t.I18nManager.getConstants().isRTL?1:-1}};var t=r(d[0])}),740,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=c(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=u?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(s,l,p):s[l]=t[l]}s.default=t,o&&o.set(t,s);return s})(r(d[2])),o=r(d[3]),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),l=r(d[0])(r(d[6]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}var p=n.memo((function(c){var p=c.interpolationIndex,v=c.index,h=c.active,y=c.closing,b=c.gesture,x=c.focused,S=c.modal,C=c.getPreviousScene,H=c.getFocusedRoute,P=c.headerDarkContent,E=c.hasAbsoluteFloatHeader,j=c.headerHeight,w=c.onHeaderHeightChange,O=c.isParentHeaderShown,k=c.isNextScreenTransparent,I=c.detachCurrentScreen,D=c.layout,M=c.onCloseRoute,T=c.onOpenRoute,R=c.onGestureCancel,A=c.onGestureEnd,F=c.onGestureStart,G=c.onTransitionEnd,_=c.onTransitionStart,L=c.renderHeader,V=c.renderScene,B=c.safeAreaInsetBottom,W=c.safeAreaInsetLeft,N=c.safeAreaInsetRight,q=c.safeAreaInsetTop,z=c.scene,J=n.useContext(r(d[7]).HeaderHeightContext),K=(0,u.default)(n.useCallback((function(){var t=z.descriptor,n=t.options;return t.navigation.isFocused()&&!1!==n.keyboardHandlingEnabled}),[z.descriptor])),Q=K.onPageChangeStart,U=K.onPageChangeCancel,X=K.onPageChangeConfirm,Y={top:q,right:N,bottom:B,left:W},Z=(0,r(d[8]).useTheme)().colors,$=n.useState('box-none'),ee=(0,t.default)($,2),te=ee[0],ne=ee[1];n.useEffect((function(){var t,n=null==(t=z.progress.next)||null==t.addListener?void 0:t.addListener((function(t){var n=t.value;ne(n<=.1?'box-none':'none')}));return function(){var t;n&&(null==(t=z.progress.next)||null==t.removeListener||t.removeListener(n))}}),[te,z.progress.next]);var re,oe=z.descriptor.options,ae=oe.presentation,ie=oe.animationEnabled,se=oe.cardOverlay,ue=oe.cardOverlayEnabled,le=oe.cardShadowEnabled,de=oe.cardStyle,ce=oe.cardStyleInterpolator,pe=oe.gestureDirection,fe=oe.gestureEnabled,ve=oe.gestureResponseDistance,ge=oe.gestureVelocityImpact,he=oe.headerMode,ye=oe.headerShown,be=oe.transitionSpec,xe=C({route:z.descriptor.route});if(xe){var Se=xe.descriptor,Ce=Se.options,me=Se.route;re=(0,r(d[7]).getHeaderTitle)(Ce,me.name)}var He=n.useMemo((function(){return void 0!==re?{title:re}:void 0}),[re]);return(0,r(d[9]).jsx)(l.default,{interpolationIndex:p,gestureDirection:pe,layout:D,insets:Y,gesture:b,current:z.progress.current,next:z.progress.next,closing:y,onOpen:function(){var t=z.descriptor.route;G({route:t},!1),T({route:t})},onClose:function(){var t=z.descriptor.route;G({route:t},!0),M({route:t})},overlay:se,overlayEnabled:ue,shadowEnabled:le,onTransition:function(t){var n=t.closing,o=t.gesture,s=z.descriptor.route;o?h&&n?null==X||X(!1):null==U||U():null==X||X(!0),null==_||_({route:s},n)},onGestureBegin:function(){var t=z.descriptor.route;Q(),F({route:t})},onGestureCanceled:function(){var t=z.descriptor.route;U(),R({route:t})},onGestureEnd:function(){var t=z.descriptor.route;A({route:t})},gestureEnabled:0!==v&&fe,gestureResponseDistance:ve,gestureVelocityImpact:ge,transitionSpec:be,styleInterpolator:ce,accessibilityElementsHidden:!x,importantForAccessibility:x?'auto':'no-hide-descendants',pointerEvents:h?'box-none':te,pageOverflowEnabled:'float'!==he&&'modal'!==ae,headerDarkContent:P,containerStyle:E&&'screen'!==he?{marginTop:j}:null,contentStyle:[{backgroundColor:'transparentModal'===ae?'transparent':Z.background},de],style:[{overflow:h?void 0:'hidden',display:!1!==ie||!1!==k||!1===I||x?'flex':'none'},o.StyleSheet.absoluteFill],children:(0,r(d[9]).jsx)(o.View,{style:f.container,children:(0,r(d[9]).jsxs)(s.default.Provider,{value:S,children:[(0,r(d[9]).jsx)(o.View,{style:f.scene,children:(0,r(d[9]).jsx)(r(d[7]).HeaderBackContext.Provider,{value:He,children:(0,r(d[9]).jsx)(r(d[7]).HeaderShownContext.Provider,{value:O||!1!==ye,children:(0,r(d[9]).jsx)(r(d[7]).HeaderHeightContext.Provider,{value:ye?j:null!=J?J:0,children:V({route:z.descriptor.route})})})})}),'float'!==he?L({mode:'screen',layout:D,scenes:[xe,z],getPreviousScene:C,getFocusedRoute:H,onContentHeightChange:w}):null]})})})}));e.default=p;var f=o.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},scene:{flex:1}})}),741,[3,16,144,1,690,742,743,696,436,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var o=t.useRef(void 0),c=t.useRef(0),f=t.useRef(),l=t.useCallback((function(){void 0!==f.current&&(clearTimeout(f.current),f.current=void 0)}),[]),s=t.useCallback((function(){if(u()){l();var t=n.TextInput.State.currentlyFocusedInput();null==t||t.blur(),o.current=t,c.current=Date.now()}}),[l,u]),p=t.useCallback((function(t){if(u()){if(l(),t)n.Keyboard.dismiss();else{var c=o.current;null==c||c.blur()}o.current=void 0}}),[l,u]),v=t.useCallback((function(){if(u()){l();var t=o.current;t&&(Date.now()-c.current<100?f.current=setTimeout((function(){null==t||t.focus(),o.current=void 0}),100):(null==t||t.focus(),o.current=void 0))}}),[l,u]);return t.useEffect((function(){return function(){return l()}}),[l]),{onPageChangeStart:s,onPageChangeConfirm:p,onPageChangeCancel:v}};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=f?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(c,l,s):c[l]=t[l]}c.default=t,o&&o.set(t,c);return c})(r(d[0])),n=r(d[1]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),742,[144,1]); -__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.getIsModalPresentation=_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),h=r(d[9]),f=r(d[0])(r(d[10])),p=r(d[0])(r(d[11])),v=r(d[0])(r(d[12])),y=r(d[0])(r(d[13])),w=r(d[0])(r(d[14])),b=r(d[0])(r(d[15])),S=["styleInterpolator","interpolationIndex","current","gesture","next","layout","insets","overlay","overlayEnabled","shadowEnabled","gestureEnabled","gestureDirection","pageOverflowEnabled","headerDarkContent","children","containerStyle","contentStyle"];function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var C='web'!==h.Platform.OS,O=(function(E){(0,o.default)(D,E);var O,I,k=(O=D,I=V(),function(){var e,t=(0,s.default)(O);if(I){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function D(){var e;(0,t.default)(this,D);for(var n=arguments.length,o=new Array(n),l=0;lw/2?0!==S||0!==b:e.props.closing;e.animate({closing:E,velocity:S}),E&&(e.pendingGestureCallback=setTimeout((function(){s(),e.forceUpdate()}),32)),null==h||h()}},e.getInterpolatedStyle=(0,y.default)((function(e,t){return e(t)})),e.getCardAnimation=(0,y.default)((function(t,n,o,l,s,u,c,h){return{index:t,current:{progress:n},next:o&&{progress:o},closing:e.isClosing,swiping:e.isSwiping,inverted:e.inverted,layouts:{screen:l},insets:{top:s,right:u,bottom:c,left:h}}})),e.ref=c.createRef(),e}return(0,n.default)(D,[{key:"componentDidMount",value:function(){this.animate({closing:this.props.closing}),this.isCurrentlyMounted=!0}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.layout,o=t.gestureDirection,l=t.closing,s=n.width,u=n.height;s!==e.layout.width&&this.layout.width.setValue(s),u!==e.layout.height&&this.layout.height.setValue(u),o!==e.gestureDirection&&this.inverted.setValue((0,v.default)(o));var c=this.getAnimateToValue(this.props);this.getAnimateToValue(e)===c&&this.lastToValue===c||this.animate({closing:l})}},{key:"componentWillUnmount",value:function(){this.props.gesture.stopAnimation(),this.isCurrentlyMounted=!1,this.handleEndInteraction()}},{key:"gestureActivationCriteria",value:function(){var e=this.props,t=e.layout,n=e.gestureDirection,o=e.gestureResponseDistance,l=!0,s=void 0!==o?o:'vertical'===n||'vertical-inverted'===n?135:50;if('vertical'===n)return{maxDeltaX:15,minOffsetY:5,hitSlop:{bottom:-t.height+s},enableTrackpadTwoFingerGesture:l};if('vertical-inverted'===n)return{maxDeltaX:15,minOffsetY:-5,hitSlop:{top:-t.height+s},enableTrackpadTwoFingerGesture:l};var u=-t.width+s;return 1===(0,v.default)(n)?{minOffsetX:5,maxDeltaY:20,hitSlop:{right:u},enableTrackpadTwoFingerGesture:l}:{minOffsetX:-5,maxDeltaY:20,hitSlop:{left:u},enableTrackpadTwoFingerGesture:l}}},{key:"render",value:function(){var t,n=this.props,o=n.styleInterpolator,l=n.interpolationIndex,s=n.current,c=n.gesture,p=n.next,v=n.layout,y=n.insets,E=n.overlay,V=n.overlayEnabled,O=n.shadowEnabled,I=n.gestureEnabled,k=n.gestureDirection,D=n.pageOverflowEnabled,j=n.headerDarkContent,T=n.children,P=n.containerStyle,G=n.contentStyle,M=(0,e.default)(n,S),H=this.getCardAnimation(l,s,p,v,y.top,y.right,y.bottom,y.left),R=this.getInterpolatedStyle(o,H),X=R.containerStyle,Y=R.cardStyle,_=R.overlayStyle,z=R.shadowStyle,B=I?h.Animated.event([{nativeEvent:'vertical'===k||'vertical-inverted'===k?{translationY:c}:{translationX:c}}],{useNativeDriver:C}):void 0,F=h.StyleSheet.flatten(G||{}).backgroundColor,L='string'==typeof F&&0===(0,u.default)(F).alpha();return(0,r(d[17]).jsxs)(f.default.Provider,{value:H,children:['ios'===h.Platform.OS&&V&&p&&x(o)?(0,r(d[17]).jsx)(w.default,{dark:j,layout:v,insets:y,style:Y}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:{opacity:s},collapsable:!1}),(0,r(d[17]).jsxs)(h.View,Object.assign({pointerEvents:"box-none"},M,{children:[V?(0,r(d[17]).jsx)(h.View,{pointerEvents:"box-none",style:h.StyleSheet.absoluteFill,children:E({style:_})}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:[A.container,X,P],pointerEvents:"box-none",children:(0,r(d[17]).jsx)(r(d[16]).PanGestureHandler,Object.assign({enabled:0!==v.width&&I,onGestureEvent:B,onHandlerStateChange:this.handleGestureStateChange},this.gestureActivationCriteria(),{children:(0,r(d[17]).jsxs)(h.Animated.View,{needsOffscreenAlphaCompositing:(t=Y,!!t&&null!=h.StyleSheet.flatten(t).opacity),style:[A.container,Y],children:[O&&z&&!L?(0,r(d[17]).jsx)(h.Animated.View,{style:[A.shadow,'horizontal'===k?[A.shadowHorizontal,A.shadowLeft]:'horizontal-inverted'===k?[A.shadowHorizontal,A.shadowRight]:'vertical'===k?[A.shadowVertical,A.shadowTop]:[A.shadowVertical,A.shadowBottom],{backgroundColor:F},z],pointerEvents:"none"}):null,(0,r(d[17]).jsx)(b.default,{ref:this.ref,enabled:D,layout:v,style:G,children:T})]})}))})]}))]})}}]),D})(c.Component);_e.default=O,O.defaultProps={shadowEnabled:!1,gestureEnabled:!0,gestureVelocityImpact:.3,overlay:function(e){var t=e.style;return t?(0,r(d[17]).jsx)(h.Animated.View,{pointerEvents:"none",style:[A.overlay,t]}):null}};var x=function(e){return e===r(d[18]).forModalPresentationIOS||'forModalPresentationIOS'===e.name};_e.getIsModalPresentation=x;var A=h.StyleSheet.create({container:{flex:1},overlay:{flex:1,backgroundColor:'#000'},shadow:{position:'absolute',shadowRadius:5,shadowColor:'#000',shadowOpacity:.3},shadowHorizontal:{top:0,bottom:0,width:3,shadowOffset:{width:-1,height:1}},shadowLeft:{left:0},shadowRight:{right:0},shadowVertical:{left:0,right:0,height:3,shadowOffset:{width:1,height:-1}},shadowTop:{top:0},shadowBottom:{bottom:0}})}),743,[3,108,6,7,44,46,48,730,144,1,744,739,740,695,745,746,747,192,682]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),744,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var l,f,c=o.dark,s=o.layout,p=o.insets,v=o.style,y=(0,r(d[4]).useTheme)().dark,O=n.useState(!0),b=(0,t.default)(O,2),j=b[0],h=b[1],k=1-20/s.width,w=(p.top-34)*k,P=u.StyleSheet.flatten(v),_=null==P||null==(l=P.transform)||null==(f=l.find((function(t){return void 0!==t.translateY})))?void 0:f.translateY;n.useEffect((function(){var t=null==_?void 0:_.addListener((function(t){var n=t.value;h(n1,children:e})}));return(0,r(d[13]).jsx)(I.NativeScreenStack,Object.assign({},n,{children:c}))},InnerScreen:D,FullWindowOverlay:function(e){return'ios'!==v.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,r(d[13]).jsx)(v.View,Object.assign({},e))):(0,r(d[13]).jsx)(I.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return I.NativeScreen},get NativeScreenContainer(){return I.NativeScreenContainer},get NativeScreenNavigationContainer(){return I.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return I.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return I.NativeScreenStackHeaderSubview},get SearchBar(){return r(d[15]).isSearchBarAvailableForCurrentPlatform?I.NativeSearchBar:(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),v.View)},ScreenStackHeaderBackButtonImage:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,{type:"back",style:T.headerSubview,children:(0,r(d[13]).jsx)(v.Image,Object.assign({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"right",style:T.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"left",style:T.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"center",style:T.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"searchBar",style:T.headerSubview}))},enableScreens:function(){(j=k&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))&&!v.UIManager.getViewManagerConfig('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")},enableFreeze:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=parseInt(r(d[12]).version.split('.')[1]);0===t||t>=64||!e||console.warn('react-freeze library requires at least react-native 0.64. Please upgrade your react-native version in order to use this feature.'),O=e},screensEnabled:function(){return j},shouldUseActivityState:!0,useTransitionProgress:f.default,isSearchBarAvailableForCurrentPlatform:r(d[15]).isSearchBarAvailableForCurrentPlatform,executeNativeBackPress:r(d[15]).executeNativeBackPress}}),751,[3,6,7,44,46,48,108,16,144,1,752,753,628,192,754,755]); -__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),752,[144]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),753,[144,3,752]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(n){var f=n.freeze,u=n.children,c=n.placeholder,l=void 0===c?null:c;return(0,r(d[1]).jsx)(t.Suspense,{fallback:l,children:(0,r(d[1]).jsx)(o,{freeze:f,children:u})})};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(o);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u);return u})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:o})(t)}function o(n){var o=n.freeze,f=n.children,u=(0,t.useRef)({}).current;if(o&&!u.promise)throw u.promise=new Promise((function(t){u.resolve=t})),u.promise;if(o)throw u.promise;return u.promise&&(u.resolve(),u.promise=void 0),(0,r(d[1]).jsx)(t.Fragment,{children:f})}}),754,[144,192]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o}),755,[1]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for card animation. Are you inside a screen in Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),756,[144,3,744]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a ref for gesture handler. Are you inside a screen in Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),757,[144,3,749]); -__d((function(e,a,p,d,m,t,c){m.exports={name:"HyperSdkReactExample",displayName:"HyperSdkReact Example"}}),758,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var f={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=p?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(f,c,l):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",u=t.createContext({isDefault:!0,get getKey(){throw new Error(o)},get setKey(){throw new Error(o)},get getState(){throw new Error(o)},get setState(){throw new Error(o)},get getIsInitial(){throw new Error(o)}});e.default=u}),453,[144]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),454,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var n=t.useRef({action:[],focus:[]}).current,u=t.useCallback((function(t,u){n[t].push(u);var f=!1;return function(){var o=n[t].indexOf(u);!f&&o>-1&&(f=!0,n[t].splice(o,1))}}),[n]);return{listeners:n,addListener:u}};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(u);if(f&&f.has(t))return f.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,f&&f.set(t,o);return o})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:u})(t)}}),455,[144]); +__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var c=n.useRef(u);n.useEffect((function(){c.current=u}));var f=n.useRef(Object.create(null)),i=n.useCallback((function(t){var n=function(n,u){var c=f.current[n]?f.current[n][t]:void 0;if(c){var i=c.indexOf(u);i>-1&&c.splice(i,1)}};return{addListener:function(u,c){f.current[u]=f.current[u]||{},f.current[u][t]=f.current[u][t]||[],f.current[u][t].push(c);var i=!1;return function(){i||(i=!0,n(u,c))}},removeListener:n}}),[]),o=n.useCallback((function(n){var u,i,o=n.type,l=n.data,p=n.target,v=n.canPreventDefault,s=f.current[o]||{},b=void 0!==p?null==(u=s[p])?void 0:u.slice():(i=[]).concat.apply(i,(0,t.default)(Object.keys(s).map((function(t){return s[t]})))).filter((function(t,n,u){return u.lastIndexOf(t)===n})),y={get type(){return o}};if(void 0!==p&&Object.defineProperty(y,'target',{enumerable:!0,get:function(){return p}}),void 0!==l&&Object.defineProperty(y,'data',{enumerable:!0,get:function(){return l}}),v){var O=!1;Object.defineProperties(y,{defaultPrevented:{enumerable:!0,get:function(){return O}},preventDefault:{enumerable:!0,value:function(){O=!0}}})}return null==c.current||c.current(y),null==b||b.forEach((function(t){return t(y)})),y}),[]);return n.useMemo((function(){return{create:i,emit:o}}),[i,o])};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var c=u(n);if(c&&c.has(t))return c.get(t);var f={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=i?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(f,o,l):f[o]=t[o]}f.default=t,c&&c.set(t,f);return f})(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,c=new WeakMap;return(u=function(t){return t?c:n})(t)}}),456,[3,27,144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var n=t.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})).current,u=t.useCallback((function(t,u,o){return n[t][u]=o,function(){n[t][u]=void 0}}),[n]);return{keyedListeners:n,addKeyedListener:u}};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}}),457,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var o=l.key,c=l.options,f=l.navigation,s=t.useRef(c),p=t.useRef({}),v=t.useContext(n.default).onOptionsChange,O=t.useContext(u.default).addOptionsGetter,y=t.useCallback((function(){var t,n,u=null==(t=null==f?void 0:f.isFocused())||t,l=Object.keys(p.current).length;u&&!l&&v(null!=(n=s.current)?n:{})}),[f,v]);t.useEffect((function(){return s.current=c,y(),null==f?void 0:f.addListener('focus',y)}),[f,c,y]);var b=t.useCallback((function(){for(var t in p.current)if(p.current.hasOwnProperty(t)){var n,u,l=null==(n=(u=p.current)[t])?void 0:n.call(u);if(null!==l)return l}return null}),[]),k=t.useCallback((function(){var t;if(!(null==(t=null==f?void 0:f.isFocused())||t))return null;var n=b();return null!==n?n:s.current}),[f,b]);return t.useEffect((function(){return null==O?void 0:O(o,k)}),[k,O,o]),{addOptionsGetter:t.useCallback((function(t,n){return p.current[t]=n,y(),function(){delete p.current[t],y()}}),[y]),getCurrentOptions:k}};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=l(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(o,f,s):o[f]=t[f]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2])),u=r(d[1])(r(d[3]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(l=function(t){return t?u:n})(t)}}),458,[144,3,449,453]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var f=n.useRef(c),o=n.useRef(!1),l=n.useRef(!0);n.useEffect((function(){return l.current=!0,function(){l.current=!1}}),[]),f.current===c&&(f.current='function'==typeof u?u():u);var s=n.useState(f.current),p=(0,t.default)(s,2),y=p[0],b=p[1],v=n.useCallback((function(){return f.current}),[]),O=n.useCallback((function(t){t!==f.current&&l.current&&(f.current=t,o.current||b(t))}),[]),j=n.useCallback((function(t){o.current=!0;try{t()}finally{o.current=!1}}),[]),k=n.useCallback((function(){l.current&&b(f.current)}),[]);y!==f.current&&b(f.current);var P=f.current;return n.useDebugValue(P),[P,v,O,j,k]};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var c=u(n);if(c&&c.has(t))return c.get(t);var f={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=o?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(f,l,s):f[l]=t[l]}f.default=t,c&&c.set(t,f);return f})(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,c=new WeakMap;return(u=function(t){return t?c:n})(t)}var c={}}),459,[3,16,144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NOT_INITIALIZED_ERROR=void 0,e.default=function(){var u=[].concat((0,n.default)(Object.keys(r(d[3]).CommonActions)),['addListener','removeListener','resetRoot','dispatch','isFocused','canGoBack','getRootState','getState','getParent','getCurrentRoute','getCurrentOptions']),c={},s=function(t,n){c[t]&&(c[t]=c[t].filter((function(t){return t!==n})))},f=null,l=Object.assign({get current(){return f},set current(n){f=n,null!=n&&Object.entries(c).forEach((function(o){var u=(0,t.default)(o,2),c=u[0];u[1].forEach((function(t){n.addListener(c,t)}))}))},isReady:function(){return null!=f&&f.isReady()}},u.reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,u=new Array(t),l=0;l1&&void 0!==arguments[1]?arguments[1]:21;return function(){for(var o='',i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t;i--;)o+=n[Math.random()*n.length|0];return o}};e.nanoid=function(){for(var n='',t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;t--;)n+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return n}}),464,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DrawerActions=void 0,e.default=function(s){var f=s.defaultStatus,l=void 0===f?'closed':f,p=(0,n.default)(s,u),y=(0,o.default)(p),O=function(t){var n;return Boolean(null==(n=t.history)?void 0:n.some((function(t){return'drawer'===t.type})))},w=function(n){return O(n)?n:Object.assign({},n,{history:[].concat((0,t.default)(n.history),[{type:'drawer',status:'open'===l?'closed':'open'}])})},v=function(t){return O(t)?Object.assign({},t,{history:t.history.filter((function(t){return'drawer'!==t.type}))}):t},A=function(t){return'open'===l?v(t):w(t)},R=function(t){return'open'===l?w(t):v(t)};return Object.assign({},y,{type:'drawer',getInitialState:function(t){var n=t.routeNames,o=t.routeParamList,u=t.routeGetIdList,s=y.getInitialState({routeNames:n,routeParamList:o,routeGetIdList:u});return Object.assign({},s,{default:l,stale:!1,type:'drawer',key:"drawer-"+(0,r(d[4]).nanoid)()})},getRehydratedState:function(t,n){var o=n.routeNames,u=n.routeParamList,s=n.routeGetIdList;if(!1===t.stale)return t;var c=y.getRehydratedState(t,{routeNames:o,routeParamList:u,routeGetIdList:s});return O(t)&&(c=v(c),c=w(c)),Object.assign({},c,{default:l,type:'drawer',key:"drawer-"+(0,r(d[4]).nanoid)()})},getStateForRouteFocus:function(t,n){var o=y.getStateForRouteFocus(t,n);return R(o)},getStateForAction:function(t,n,o){switch(n.type){case'OPEN_DRAWER':return A(t);case'CLOSE_DRAWER':return R(t);case'TOGGLE_DRAWER':return O(t)?v(t):w(t);case'JUMP_TO':case'NAVIGATE':var u=y.getStateForAction(t,n,o);return null!=u&&u.index!==t.index?R(u):u;case'GO_BACK':return O(t)?v(t):y.getStateForAction(t,n,o);default:return y.getStateForAction(t,n,o)}},actionCreators:c})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var l=c?Object.getOwnPropertyDescriptor(t,f):null;l&&(l.get||l.set)?Object.defineProperty(u,f,l):u[f]=t[f]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),u=["defaultStatus"];function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}var c=Object.assign({},o.TabActions,{openDrawer:function(){return{type:'OPEN_DRAWER'}},closeDrawer:function(){return{type:'CLOSE_DRAWER'}},toggleDrawer:function(){return{type:'TOGGLE_DRAWER'}}});e.DrawerActions=c}),465,[3,27,108,466,464]); +__d((function(g,_r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TabActions=void 0,e.default=function(n){var u=n.initialRouteName,s=n.backBehavior,y=void 0===s?'firstRoute':s;return Object.assign({},t.default,{type:'tab',getInitialState:function(t){var n=t.routeNames,r=t.routeParamList,o=void 0!==u&&n.includes(u)?n.indexOf(u):0,s=n.map((function(t){return{name:t,key:t+"-"+(0,_r(d[2]).nanoid)(),params:r[t]}})),c=i(s,o,y,u);return{stale:!1,type:'tab',key:"tab-"+(0,_r(d[2]).nanoid)(),index:o,routeNames:n,history:c,routes:s}},getRehydratedState:function(t,n){var r,i,s,c,l=n.routeNames,f=n.routeParamList,p=t;if(!1===p.stale)return p;var h=l.map((function(t){var n=p.routes.find((function(n){return n.name===t}));return Object.assign({},n,{name:t,key:n&&n.name===t&&n.key?n.key:t+"-"+(0,_r(d[2]).nanoid)(),params:void 0!==f[t]?Object.assign({},f[t],n?n.params:void 0):n?n.params:void 0})})),v=Math.min(Math.max(l.indexOf(null==(r=p.routes[null!=(i=null==p?void 0:p.index)?i:0])?void 0:r.name),0),h.length-1),k=null!=(s=null==(c=p.history)?void 0:c.filter((function(t){return h.find((function(n){return n.key===t.key}))})))?s:[];return o({stale:!1,type:'tab',key:"tab-"+(0,_r(d[2]).nanoid)(),index:v,routeNames:l,history:k,routes:h},v,y,u)},getStateForRouteNamesChange:function(t,n){var r=n.routeNames,o=n.routeParamList,s=n.routeKeyChanges,c=r.map((function(n){return t.routes.find((function(t){return t.name===n&&!s.includes(t.name)}))||{name:n,key:n+"-"+(0,_r(d[2]).nanoid)(),params:o[n]}})),l=Math.max(0,r.indexOf(t.routes[t.index].name)),f=t.history.filter((function(t){return'route'!==t.type||c.find((function(n){return n.key===t.key}))}));return f.length||(f=i(c,l,y,u)),Object.assign({},t,{history:f,routeNames:r,routes:c,index:l})},getStateForRouteFocus:function(t,n){var r=t.routes.findIndex((function(t){return t.key===n}));return-1===r||r===t.index?t:o(t,r,y,u)},getStateForAction:function(n,r,i){var s=i.routeParamList,c=i.routeGetIdList;switch(r.type){case'JUMP_TO':case'NAVIGATE':var l=-1;return-1===(l='NAVIGATE'===r.type&&r.payload.key?n.routes.findIndex((function(t){return t.key===r.payload.key})):n.routes.findIndex((function(t){return t.name===r.payload.name})))?null:o(Object.assign({},n,{routes:n.routes.map((function(t,n){if(n!==l)return t;var i,o=c[t.name],u=null==o?void 0:o({params:t.params}),y=null==o?void 0:o({params:r.payload.params}),f=u===y?t.key:t.name+"-"+(0,_r(d[2]).nanoid)();i='NAVIGATE'===r.type&&r.payload.merge&&u===y?void 0!==r.payload.params||void 0!==s[t.name]?Object.assign({},s[t.name],t.params,r.payload.params):t.params:void 0!==s[t.name]?Object.assign({},s[t.name],r.payload.params):r.payload.params;var p='NAVIGATE'===r.type&&null!=r.payload.path?r.payload.path:t.path;return i!==t.params||p!==t.path?Object.assign({},t,{key:f,path:p,params:i}):t}))}),l,y,u);case'GO_BACK':if(1===n.history.length)return null;var f=n.history[n.history.length-2].key,p=n.routes.findIndex((function(t){return t.key===f}));return-1===p?null:Object.assign({},n,{history:n.history.slice(0,-1),index:p});default:return t.default.getStateForAction(n,r)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:r})};var t=_r(d[0])(_r(d[1])),n='route',r={jumpTo:function(t,n){return{type:'JUMP_TO',payload:{name:t,params:n}}}};e.TabActions=r;var i=function(t,r,i,o){var u,s=[{type:n,key:t[r].key}];switch(i){case'order':for(var y=r;y>0;y--)s.unshift({type:n,key:t[y-1].key});break;case'firstRoute':0!==r&&s.unshift({type:n,key:t[0].key});break;case'initialRoute':r!==(u=-1===(u=t.findIndex((function(t){return t.name===o})))?0:u)&&s.unshift({type:n,key:t[u].key})}return s},o=function(t,r,o,u){var s;if('history'===o){var y=t.routes[r].key;s=t.history.filter((function(t){return'route'===t.type&&t.key!==y})).concat({type:n,key:y})}else s=i(t.routes,r,o,u);return Object.assign({},t,{index:r,history:s})}}),466,[3,463,464]); +__d((function(g,_r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.StackActions=void 0,e.default=function(r){var i=Object.assign({},n.default,{type:'stack',getInitialState:function(t){var n=t.routeNames,o=t.routeParamList,i=void 0!==r.initialRouteName&&n.includes(r.initialRouteName)?r.initialRouteName:n[0];return{stale:!1,type:'stack',key:"stack-"+(0,_r(d[3]).nanoid)(),index:0,routeNames:n,routes:[{key:i+"-"+(0,_r(d[3]).nanoid)(),name:i,params:o[i]}]}},getRehydratedState:function(t,n){var o=n.routeNames,i=n.routeParamList,s=t;if(!1===s.stale)return s;var u=s.routes.filter((function(t){return o.includes(t.name)})).map((function(t){return Object.assign({},t,{key:t.key||t.name+"-"+(0,_r(d[3]).nanoid)(),params:void 0!==i[t.name]?Object.assign({},i[t.name],t.params):t.params})}));if(0===u.length){var l=void 0!==r.initialRouteName?r.initialRouteName:o[0];u.push({key:l+"-"+(0,_r(d[3]).nanoid)(),name:l,params:i[l]})}return{stale:!1,type:'stack',key:"stack-"+(0,_r(d[3]).nanoid)(),index:u.length-1,routeNames:o,routes:u}},getStateForRouteNamesChange:function(t,n){var o=n.routeNames,i=n.routeParamList,s=n.routeKeyChanges,u=t.routes.filter((function(t){return o.includes(t.name)&&!s.includes(t.name)}));if(0===u.length){var l=void 0!==r.initialRouteName&&o.includes(r.initialRouteName)?r.initialRouteName:o[0];u.push({key:l+"-"+(0,_r(d[3]).nanoid)(),name:l,params:i[l]})}return Object.assign({},t,{routeNames:o,routes:u,index:Math.min(t.index,u.length-1)})},getStateForRouteFocus:function(t,n){var o=t.routes.findIndex((function(t){return t.key===n}));return-1===o||o===t.index?t:Object.assign({},t,{index:o,routes:t.routes.slice(0,o+1)})},getStateForAction:function(o,r,s){var u=s.routeParamList;switch(r.type){case'REPLACE':var l=r.target===o.key&&r.source?o.routes.findIndex((function(t){return t.key===r.source})):o.index;if(-1===l)return null;var p=r.payload,y=p.name,c=p.key,f=p.params;return o.routeNames.includes(y)?Object.assign({},o,{routes:o.routes.map((function(t,n){return n===l?{key:void 0!==c?c:y+"-"+(0,_r(d[3]).nanoid)(),name:y,params:void 0!==u[y]?Object.assign({},u[y],f):f}:t}))}):null;case'PUSH':if(o.routeNames.includes(r.payload.name)){var v,k=s.routeGetIdList[r.payload.name],O=null==k?void 0:k({params:r.payload.params}),h=O?o.routes.find((function(t){return t.name===r.payload.name&&O===(null==k?void 0:k({params:t.params}))})):void 0;return h?(v=o.routes.filter((function(t){return t.key!==h.key}))).push(Object.assign({},h,{params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params})):v=[].concat((0,t.default)(o.routes),[{key:r.payload.name+"-"+(0,_r(d[3]).nanoid)(),name:r.payload.name,params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params}]),Object.assign({},o,{index:v.length-1,routes:v})}return null;case'POP':var P=r.target===o.key&&r.source?o.routes.findIndex((function(t){return t.key===r.source})):o.index;if(P>0){var x=Math.max(P-r.payload.count+1,1),b=o.routes.slice(0,x).concat(o.routes.slice(P+1));return Object.assign({},o,{index:b.length-1,routes:b})}return null;case'POP_TO_TOP':return i.getStateForAction(o,{type:'POP',payload:{count:o.routes.length-1}},s);case'NAVIGATE':if(void 0!==r.payload.name&&!o.routeNames.includes(r.payload.name))return null;if(r.payload.key||r.payload.name){var j,N=-1,R=void 0===r.payload.key&&void 0!==r.payload.name?s.routeGetIdList[r.payload.name]:void 0,S=null==R?void 0:R({params:r.payload.params});if(S)N=o.routes.findIndex((function(t){return t.name===r.payload.name&&S===(null==R?void 0:R({params:t.params}))}));else if(o.routes[o.index].name===r.payload.name&&void 0===r.payload.key||o.routes[o.index].key===r.payload.key)N=o.index;else for(var A=o.routes.length-1;A>=0;A--)if(o.routes[A].name===r.payload.name&&void 0===r.payload.key||o.routes[A].key===r.payload.key){N=A;break}if(-1===N&&r.payload.key&&void 0===r.payload.name)return null;if(-1===N&&void 0!==r.payload.name){var _,I=[].concat((0,t.default)(o.routes),[{key:null!=(_=r.payload.key)?_:r.payload.name+"-"+(0,_r(d[3]).nanoid)(),name:r.payload.name,path:r.payload.path,params:void 0!==u[r.payload.name]?Object.assign({},u[r.payload.name],r.payload.params):r.payload.params}]);return Object.assign({},o,{routes:I,index:I.length-1})}var L,F=o.routes[N];return L=r.payload.merge?void 0!==r.payload.params||void 0!==u[F.name]?Object.assign({},u[F.name],F.params,r.payload.params):F.params:void 0!==u[F.name]?Object.assign({},u[F.name],r.payload.params):r.payload.params,Object.assign({},o,{index:N,routes:[].concat((0,t.default)(o.routes.slice(0,N)),[L!==F.params||r.payload.path&&r.payload.path!==F.path?Object.assign({},F,{path:null!=(j=r.payload.path)?j:F.path,params:L}):o.routes[N]])})}return null;case'GO_BACK':return o.index>0?i.getStateForAction(o,{type:'POP',payload:{count:1},target:r.target,source:r.source},s):null;default:return n.default.getStateForAction(o,r)}},actionCreators:o});return i};var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),o={replace:function(t,n){return{type:'REPLACE',payload:{name:t,params:n}}},push:function(t,n){return{type:'PUSH',payload:{name:t,params:n}}},pop:function(){return{type:'POP',payload:{count:arguments.length>0&&void 0!==arguments[0]?arguments[0]:1}}},popToTop:function(){return{type:'POP_TO_TOP'}}};e.StackActions=o}),467,[3,27,463,464]); +__d((function(g,r,i,a,m,e,d){}),468,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ScheduleUpdateContext=void 0,e.default=function(n){var o=t.useContext(u),f=o.scheduleUpdate,c=o.flushUpdates;f(n),t.useEffect(c)};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o="Couldn't find a schedule context.",u=t.createContext({scheduleUpdate:function(){throw new Error(o)},flushUpdates:function(){throw new Error(o)}});e.ScheduleUpdateContext=u}),469,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){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:o,Group:t.default,Screen:n.default}}};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))}),470,[3,471,472]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),471,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),472,[]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),473,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,l){var s,u,o=l?t(l):{},v=null!=n.index?n.routes.slice(0,n.index+1):n.routes;if(0===v.length)return;if(!(1===v.length&&void 0===v[0].key||2===v.length&&void 0===v[0].key&&v[0].name===(null==o?void 0:o.initialRouteName)&&void 0===v[1].key))return{type:'RESET',payload:n};var c=n.routes[null!=(s=n.index)?s:n.routes.length-1],p=null==c?void 0:c.state,f=null==o||null==(u=o.screens)?void 0:u[null==c?void 0:c.name],h=Object.assign({},c.params),y=c?{name:c.name,path:c.path,params:h}:void 0;for(;p;){var b,k,j;if(0===p.routes.length)return;var x=null!=p.index?p.routes.slice(0,p.index+1):p.routes,N=x[x.length-1];if(Object.assign(h,{initial:void 0,screen:void 0,params:void 0,state:void 0}),1===x.length&&void 0===x[0].key)h.initial=!0,h.screen=N.name;else{if(2!==x.length||void 0!==x[0].key||x[0].name!==(null==(b=f)?void 0:b.initialRouteName)||void 0!==x[1].key){h.state=p;break}h.initial=!1,h.screen=N.name}N.state?(h.params=Object.assign({},N.params),h=h.params):(h.path=N.path,h.params=N.params),p=N.state,f=null==(k=f)||null==(j=k.screens)?void 0:j[N.name]}if(!y)return;return{type:'NAVIGATE',payload:y}};var n=r(d[0])(r(d[1]));var t=function(n){return'object'==typeof n&&null!=n?{initialRouteName:n.initialRouteName,screens:null!=n.screens?l(n.screens):void 0}:{}},l=function(l){return Object.entries(l).reduce((function(l,s){var u=(0,n.default)(s,2),o=u[0],v=u[1];return l[o]=t(v),l}),{})}}),474,[3,16]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n,u,l=null!=(n=t[r(d[0]).CHILD_STATE])?n:t.state,o=t.params;return l?l.routes[null!=(u=l.index)?u:'string'==typeof l.type&&'stack'!==l.type?0:l.routes.length-1].name:'string'==typeof(null==o?void 0:o.screen)?o.screen:void 0}}),475,[476]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CHILD_STATE=void 0,e.default=function(n){t.useMemo((function(){return{current:new Map}}),[]);return n};r(d[0])(r(d[1]));var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var l=c?Object.getOwnPropertyDescriptor(t,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=t[p]}f.default=t,o&&o.set(t,f);return f})(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}var u=Symbol('CHILD_STATE');e.CHILD_STATE=u}),476,[3,108,144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,f){if(null==t)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");f&&(0,s.default)(f);var p=null!=f&&f.screens?y(null==f?void 0:f.screens):{},v='/',h=t,b={},j=function(){for(var s,f,y='number'==typeof h.index?h.index:0,j=h.routes[y],O=c(t),w=p,x=[],P=!0,W=function(){if(s=w[j.name].pattern,x.push(j.name),j.params){var t,o,c=null==(t=w[j.name])?void 0:t.stringify,p=(0,u.default)(Object.entries(j.params).map((function(t){var o=(0,n.default)(t,2),u=o[0],s=o[1];return[u,null!=c&&c[u]?c[u](s):String(s)]})));if(s&&Object.assign(b,p),O===j)f=Object.assign({},p),null==(o=s)||o.split('/').filter((function(t){return t.startsWith(':')})).forEach((function(t){var n=l(t);f&&delete f[n]}))}if(w[j.name].screens&&void 0!==j.state){y='number'==typeof j.state.index?j.state.index:j.state.routes.length-1;var v=j.state.routes[y],h=w[j.name].screens;h&&v.name in h?(j=v,w=h):P=!1}else P=!1};j.name in w&&P;)W();if(void 0===s&&(s=x.join('/')),void 0!==w[j.name]?v+=s.split('/').map((function(t){var n=l(t);if('*'===t)return j.name;if(t.startsWith(':')){var o=b[n];return void 0===o&&t.endsWith('?')?'':encodeURIComponent(o)}return encodeURIComponent(t)})).join('/'):v+=encodeURIComponent(j.name),f||(f=O.params),j.state)v+='/';else if(f){for(var _ in f)'undefined'===f[_]&&delete f[_];var M=o.stringify(f,{sort:!1});M&&(v+="?"+M)}h=j.state};for(;h;)j();return v=(v=v.replace(/\/+/g,'/')).length>1?v.replace(/\/$/,''):v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var u={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=s?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),s=r(d[0])(r(d[5]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var c=function t(n){var o='number'==typeof n.index?n.routes[n.index]:n.routes[n.routes.length-1];return o.state?t(o.state):o};var l=function(t){return t.replace(/^:/,'').replace(/\?$/,'')},p=function(){for(var n,o=arguments.length,u=new Array(o),s=0;s0})).join('&')},e.parseUrl=function(t,n){n=Object.assign({decode:!0},n);var a=r(d[3])(t,'#'),o=r(d[4])(a,2),u=o[0],s=o[1];return Object.assign({url:u.split('?')[0]||'',query:v(p(t),n)},n&&n.parseFragmentIdentifier&&s?{fragmentIdentifier:c(s,n)}:{})},e.stringifyUrl=function(n,a){a=Object.assign(r(d[5])({encode:!0,strict:!0},t,!0),a);var o=l(n.url).split('?')[0]||'',c=e.extract(n.url),s=e.parse(c,{sort:!1}),p=Object.assign(s,n.query),y=e.stringify(p,a);y&&(y="?"+y);var v=f(n.url);return n.fragmentIdentifier&&(v="#"+(a[t]?u(n.fragmentIdentifier,a):n.fragmentIdentifier)),""+o+y+v},e.pick=function(n,a,o){o=Object.assign(r(d[5])({parseFragmentIdentifier:!0},t,!1),o);var u=e.parseUrl(n,o),c=u.url,s=u.query,l=u.fragmentIdentifier;return e.stringifyUrl({url:c,query:r(d[6])(s,a),fragmentIdentifier:l},o)},e.exclude=function(t,n,a){var o=Array.isArray(n)?function(t){return!n.includes(t)}:function(t,a){return!n(t,a)};return e.pick(t,o,a)}}),478,[27,479,480,481,16,169,482]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}}),479,[]); +__d((function(g,r,_i,a,m,e,d){'use strict';var t=new RegExp("(%[a-f0-9]{2})|([^%]+?)",'gi'),n=new RegExp("(%[a-f0-9]{2})+",'gi');function o(t,n){try{return[decodeURIComponent(t.join(''))]}catch(t){}if(1===t.length)return t;n=n||1;var c=t.slice(0,n),p=t.slice(n);return Array.prototype.concat.call([],o(c),o(p))}function c(n){try{return decodeURIComponent(n)}catch(i){for(var c=n.match(t)||[],p=1;p1&&void 0!==arguments[1])||arguments[1],f=['initialRouteName','screens'];s||f.push('path','exact','stringify','parse');var u=Object.keys(c).filter((function(n){return!f.includes(n)}));if(u.length)throw new Error("Found invalid properties in the configuration:\n"+t(u)+"\n\nDid you forget to specify them under a 'screens' property?\n\nYou can only specify the following properties:\n"+t(f)+"\n\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");c.screens&&Object.entries(c.screens).forEach((function(t){var c=(0,n.default)(t,2),s=(c[0],c[1]);'string'!=typeof s&&o(s,!1)}))};var n=r(d[0])(r(d[1])),t=function(n){return n.map((function(n){return"- "+n})).join('\n')}}),484,[3,16]); +__d((function(g,r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,i){var u;i&&(0,o.default)(i);var s=[];null!=i&&i.initialRouteName&&s.push({initialRouteName:i.initialRouteName,parentScreens:[]});var f=null==i?void 0:i.screens,c=a.replace(/\/+/g,'/').replace(/^\//,'').replace(/\?.*$/,'');if(c=c.endsWith('/')?c:c+"/",void 0===f){var h=c.split('/').filter(Boolean).map((function(t){return{name:decodeURIComponent(t)}}));return h.length?b(a,h,s):void 0}var v,y,j=(u=[]).concat.apply(u,(0,n.default)(Object.keys(f).map((function(t){return p(t,f,[],s,[])})))).sort((function(t,n){if(t.pattern===n.pattern)return n.routeNames.join('>').localeCompare(t.routeNames.join('>'));if(t.pattern.startsWith(n.pattern))return-1;if(n.pattern.startsWith(t.pattern))return 1;for(var a=t.pattern.split('/'),i=n.pattern.split('/'),u=0;uu.length?u.every((function(t,n){return i[n]===t})):i.every((function(t,n){return u[n]===t}))))throw new Error("Found conflicting screens with the same pattern. The pattern '"+a.pattern+"' resolves to both '"+i.join(' > ')+"' and '"+u.join(' > ')+"'. Patterns must be unique and cannot resolve to more than one screen.")}return Object.assign(n,(0,t.default)({},a.pattern,a))}),{}),'/'===c){var O=j.find((function(t){return''===t.path&&t.routeNames.every((function(t){var n;return!(null!=(n=j.find((function(n){return n.screen===t})))&&n.path)}))}));return O?b(a,O.routeNames.map((function(t){return{name:t}})),s,j):void 0}var N=l(c,j.map((function(t){return Object.assign({},t,{regex:t.regex?new RegExp(t.regex.source+'$'):void 0})}))),w=N.routes,x=N.remainingPath;void 0!==w&&(c=x,v=y=b(a,w,s,j));if(null==y||null==v)return;return v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),a=r(d[0])(r(d[3])),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var a=s(n);if(a&&a.has(t))return a.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var f=u?Object.getOwnPropertyDescriptor(t,o):null;f&&(f.get||f.set)?Object.defineProperty(i,o,f):i[o]=t[o]}i.default=t,a&&a.set(t,i);return i})(r(d[4])),u=r(d[0])(r(d[5])),o=r(d[0])(r(d[6]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(s=function(t){return t?a:n})(t)}var f=function(){for(var t,a=arguments.length,i=new Array(a),u=0;u2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,p=[];u.push(a),s.push(a);var h=i[a];if('string'==typeof h){var v=l?f(l,h):h;p.push(c(a,u,v,h))}else if('object'==typeof h){var y;if('string'==typeof h.path){if(h.exact&&void 0===h.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: ''`.");y=!0!==h.exact?f(l||'',h.path||''):h.path||'',p.push(c(a,u,y,h.path,h.parse))}h.screens&&(h.initialRouteName&&o.push({initialRouteName:h.initialRouteName,parentScreens:s}),Object.keys(h.screens).forEach((function(a){var i,f=t(a,h.screens,u,o,(0,n.default)(s),null!=(i=y)?i:l);p.push.apply(p,(0,n.default)(f))})))}return u.pop(),p},c=function(t,i,u,o,s){return{screen:t,regex:(u=u.split('/').filter(Boolean).join('/'))?new RegExp("^("+u.split('/').map((function(t){return t.startsWith(':')?"(([^/]+\\/)"+(t.endsWith('?')?'?':'')+")":('*'===t?'.*':(0,a.default)(t))+"\\/"})).join('')+")"):void 0,pattern:u,path:o,routeNames:(0,n.default)(i),parse:s}},h=function(t,n){for(var a of n)if(t===a.routeNames[a.routeNames.length-1])return a.parse},v=function(t,n,a){for(var i of a)if(n.length===i.parentScreens.length){for(var u=!0,o=0;o0)for(var p=o;s=n.shift();){l=v(s.name,f,a);var c=p.index||p.routes.length-1;p.routes[c].state=y(l,s,0===n.length),n.length>0&&(p=p.routes[c].state),f.push(s.name)}(s=(0,u.default)(o)).path=t;var b=j(t,i?h(s.name,i):void 0);return b&&(s.params=Object.assign({},s.params,b)),o},j=function(t,n){var a=t.split('?')[1],u=i.parse(a);return n&&Object.keys(u).forEach((function(t){Object.hasOwnProperty.call(n,t)&&'string'==typeof u[t]&&(u[t]=n[t](u[t]))})),Object.keys(u).length?u:void 0}}),485,[3,169,27,486,478,448,484]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){if('string'!=typeof t)throw new TypeError('Expected a string');return t.replace(/[|\\{}()[\]^$+*?.]/g,'\\$&').replace(/-/g,'\\x2d')}}),486,[]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),487,[144]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),488,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var s=c.children,y=u.useState((function(){return(0,r(d[8]).nanoid)()})),w=(0,t.default)(y,1)[0],k=u.useState(new Map),O=(0,t.default)(k,2),P=O[0],R=O[1],j=u.useContext(f.default),M=u.useContext(l.default),b=u.useContext(v.default),h=null==b?void 0:b.setPreventRemove,_=(0,o.default)((function(t,n,u){if(u&&(null==j||null!=j&&j.getState().routes.every((function(t){return t.key!==n}))))throw new Error("Couldn't find a route with the key "+n+". Is your component inside NavigationContent?");R((function(o){var f,l;if(n===(null==(f=o.get(t))?void 0:f.routeKey)&&u===(null==(l=o.get(t))?void 0:l.preventRemove))return o;var v=new Map(o);return u?v.set(t,{routeKey:n,preventRemove:u}):v.delete(t),v}))})),C=(0,n.default)(P.values()).some((function(t){return t.preventRemove}));u.useEffect((function(){if(void 0!==(null==M?void 0:M.key)&&void 0!==h)return h(w,M.key,C),function(){h(w,M.key,!1)}}),[w,C,null==M?void 0:M.key,h]);var x=u.useMemo((function(){return{setPreventRemove:_,preventedRoutes:p(P)}}),[_,P]);return(0,r(d[9]).jsx)(v.default.Provider,{value:x,children:s})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var v=f?Object.getOwnPropertyDescriptor(t,l):null;v&&(v.get||v.set)?Object.defineProperty(o,l,v):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3])),o=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),v=r(d[0])(r(d[7]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}var p=function(t){return(0,n.default)(t.values()).reduce((function(t,n){var u,o=n.routeKey,f=n.preventRemove;return t[o]={preventRemove:(null==(u=t[o])?void 0:u.preventRemove)||f},t}),{})}}),489,[3,16,27,144,490,487,452,488,464,192]); +__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,u,f){void 0===f&&(f=u),Object.defineProperty(t,f,{enumerable:!0,get:function(){return n[u]}})}:function(t,n,u,f){void 0===f&&(f=u),t[f]=n[u]}),n=this&&this.__setModuleDefault||(Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n}),u=this&&this.__importStar||function(u){if(u&&u.__esModule)return u;var f={};if(null!=u)for(var c in u)"default"!==c&&Object.prototype.hasOwnProperty.call(u,c)&&t(f,u,c);return n(f,u),f};Object.defineProperty(e,"__esModule",{value:!0});var f=u(r(d[0])),c='undefined'!=typeof document?f.useLayoutEffect:f.useEffect;e.default=function(t){var n=f.useRef(t),u=f.useRef((function(){for(var t=[],u=0;u {\n // Your code here\n }, [depA, depB])\n);\n\nSee usage guide: https://reactnavigation.org/docs/use-focus-effect")}t.useEffect((function(){var t,n=!1,c=function(){var t=o();if(void 0===t||'function'==typeof t)return t};u.isFocused()&&(t=c(),n=!0);var f=u.addListener('focus',(function(){n||(void 0!==t&&t(),t=c(),n=!0)})),s=u.addListener('blur',(function(){void 0!==t&&t(),t=void 0,n=!1}));return function(){void 0!==t&&t(),f(),s()}}),[o,u])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var p=f?Object.getOwnPropertyDescriptor(t,s):null;p&&(p.get||p.set)?Object.defineProperty(c,s,p):c[s]=t[s]}c.default=t,u&&u.set(t,c);return c})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),492,[144,3,493]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=t.useContext(n.default),f=t.useContext(o.default);if(void 0===f&&void 0===u)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return null!=f?f:u};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2])),o=r(d[1])(r(d[3]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),493,[144,3,450,451]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var f=(0,u.default)(),o=(0,n.useState)(f.isFocused),c=(0,t.default)(o,2),l=c[0],s=c[1],p=f.isFocused();l!==p&&s(p);return n.useEffect((function(){var t=f.addListener('focus',(function(){return s(!0)})),n=f.addListener('blur',(function(){return s(!1)}));return function(){t(),n()}}),[f]),n.useDebugValue(p),p};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),494,[3,16,144,493]); +__d((function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u,y){var G=(0,N.default)(),A=i.useContext(f.default),M=y.children,_=y.screenListeners,F=(0,n.default)(y,E),J=i.useRef(u(Object.assign({},F,null!=A&&A.params&&null==A.params.state&&!1!==A.params.initial&&'string'==typeof A.params.screen?{initialRouteName:A.params.screen}:null))).current,V=x(M),W=V.reduce((function(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}),{}),D=V.map((function(e){return e.props.name})),T=D.reduce((function(e,t){return e[t]=W[t].keys.map((function(e){return null!=e?e:''})).join(':'),e}),{}),H=D.reduce((function(e,t){var n=W[t].props.initialParams;return e[t]=n,e}),{}),q=D.reduce((function(e,n){return Object.assign(e,(0,t.default)({},n,W[n].props.getId))}),{});if(!D.length)throw new Error("Couldn't find any screens for the navigator. Have you defined any screens as its children?");var z=i.useCallback((function(e){return void 0===e.type||e.type===J.type}),[J.type]),B=i.useCallback((function(e){return void 0!==e&&!1===e.stale&&z(e)}),[z]),Q=i.useContext(c.default),U=Q.state,X=Q.getState,Y=Q.setState,Z=Q.setKey,$=Q.getKey,ee=Q.getIsInitial,te=i.useRef(!1),ne=i.useCallback((function(){Y(void 0),te.current=!0}),[Y]),re=i.useCallback((function(e){te.current||Y(e)}),[Y]),ae=i.useMemo((function(){var e,t,n,o=D.reduce((function(e,t){var n,o,i,u=W[t].props.initialParams,s=null==(null==A||null==(n=A.params)?void 0:n.state)&&!1!==(null==A||null==(o=A.params)?void 0:o.initial)&&(null==A||null==(i=A.params)?void 0:i.screen)===t?A.params.params:void 0;return e[t]=void 0!==u||void 0!==s?Object.assign({},u,s):void 0,e}),{});return void 0!==U&&z(U)||null!=(null==A||null==(e=A.params)?void 0:e.state)?[J.getRehydratedState(null!=(t=null==A||null==(n=A.params)?void 0:n.state)?t:U,{routeNames:D,routeParamList:o,routeGetIdList:q}),!1]:[J.getInitialState({routeNames:D,routeParamList:o,routeGetIdList:q}),!0]}),[U,J,z]),oe=(0,e.default)(ae,2),ie=oe[0],ue=oe[1],se=i.useRef(T);i.useEffect((function(){se.current=T}));var le=se.current,pe=B(U)?U:ie,fe=pe;(0,s.default)(pe.routeNames,D)&&(0,l.default)(T,le)||(fe=J.getStateForRouteNamesChange(pe,{routeNames:D,routeParamList:H,routeGetIdList:q,routeKeyChanges:Object.keys(T).filter((function(e){return le.hasOwnProperty(e)&&T[e]!==le[e]}))}));var ce=i.useRef(null==A?void 0:A.params);if(i.useEffect((function(){ce.current=null==A?void 0:A.params}),[null==A?void 0:A.params]),null!=A&&A.params){var de,me=ce.current;'object'==typeof A.params.state&&null!=A.params.state&&A.params!==me?de=r(d[29]).CommonActions.reset(A.params.state):'string'==typeof A.params.screen&&(!1===A.params.initial&&ue||A.params!==me)&&(de=r(d[29]).CommonActions.navigate({name:A.params.screen,params:A.params.params,path:A.params.path}));var ve=de?J.getStateForAction(fe,de,{routeNames:D,routeParamList:H,routeGetIdList:q}):null;fe=null!==ve?J.getRehydratedState(ve,{routeNames:D,routeParamList:H,routeGetIdList:q}):fe}var ye=pe!==fe;(0,R.default)((function(){ye&&re(fe)})),pe=fe,i.useEffect((function(){return Z(G),ee()||re(fe),function(){setTimeout((function(){void 0!==X()&&$()===G&&ne()}),0)}}),[]);var ge=i.useRef();ge.current=ie;var he=i.useCallback((function(){var e=X();return B(e)?e:ge.current}),[X,B]),Oe=(0,L.default)((function(e){var t,n,i,u=[];e.target?null!=(i=n=pe.routes.find((function(t){return t.key===e.target})))&&i.name&&u.push(n.name):(n=pe.routes[pe.index],u.push.apply(u,(0,o.default)(Object.keys(W).filter((function(e){var t;return(null==(t=n)?void 0:t.name)===e})))));if(null!=n){var s=Ke[n.key].navigation;(t=[]).concat.apply(t,(0,o.default)([_].concat((0,o.default)(u.map((function(e){return W[e].props.listeners})))).map((function(t){var o='function'==typeof t?t({route:n,navigation:s}):t;return o?Object.keys(o).filter((function(t){return t===e.type})).map((function(e){return null==o?void 0:o[e]})):void 0})))).filter((function(e,t,n){return e&&n.lastIndexOf(e)===t})).forEach((function(t){return null==t?void 0:t(e)}))}}));(0,j.default)({state:pe,emitter:Oe}),i.useEffect((function(){Oe.emit({type:'state',data:{state:pe}})}),[Oe,pe]);var Se=(0,h.default)(),be=Se.listeners,Le=Se.addListener,ke=(0,w.default)(),je=ke.keyedListeners,we=ke.addKeyedListener,Pe=(0,C.default)({router:J,getState:he,setState:re,key:null==A?void 0:A.key,actionListeners:be.action,beforeRemoveListeners:je.beforeRemove,routerConfigOptions:{routeNames:D,routeParamList:H,routeGetIdList:q},emitter:Oe}),Ce=(0,K.default)({router:J,key:null==A?void 0:A.key,getState:he,setState:re}),Ie=(0,P.default)({id:y.id,onAction:Pe,getState:he,emitter:Oe,router:J});(0,k.default)({navigation:Ie,focusedListeners:be.focus}),(0,I.default)({getState:he,getStateListeners:je.getState});var Ke=(0,b.default)({state:pe,screens:W,navigation:Ie,screenOptions:y.screenOptions,defaultScreenOptions:y.defaultScreenOptions,onAction:Pe,getState:he,setState:re,onRouteFocus:Ce,addListener:Le,addKeyedListener:we,router:J,emitter:Oe});(0,S.default)({state:pe,navigation:Ie,descriptors:Ke});var Ne=(0,O.default)((function(e){return(0,r(d[30]).jsx)(p.default.Provider,{value:Ie,children:(0,r(d[30]).jsx)(v.default,{children:e})})}));return{state:pe,navigation:Ie,descriptors:Ke,NavigationContent:Ne}};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=G(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[5])),u=r(d[0])(r(d[6])),s=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),c=r(d[0])(r(d[11])),v=r(d[0])(r(d[12])),y=r(d[0])(r(d[13])),h=r(d[0])(r(d[14])),O=r(d[0])(r(d[15])),S=r(d[0])(r(d[16])),b=r(d[0])(r(d[17])),L=r(d[0])(r(d[18])),k=r(d[0])(r(d[19])),j=r(d[0])(r(d[20])),w=r(d[0])(r(d[21])),P=r(d[0])(r(d[22])),C=r(d[0])(r(d[23])),I=r(d[0])(r(d[24])),K=r(d[0])(r(d[25])),N=r(d[0])(r(d[26])),R=r(d[0])(r(d[27])),E=["children","screenListeners"];function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(G=function(e){return e?n:t})(e)}r(d[28]).PrivateValueStore;var A=function(e){return void 0===e||'string'==typeof e&&''!==e},x=function e(t,n,s){return i.Children.toArray(t).reduce((function(t,l){var p,f;if(i.isValidElement(l)){if(l.type===y.default){if(!A(l.props.navigationKey))throw new Error("Got an invalid 'navigationKey' prop ("+JSON.stringify(l.props.navigationKey)+") for the screen '"+l.props.name+"'. It must be a non-empty string or 'undefined'.");return t.push({keys:[n,l.props.navigationKey],options:s,props:l.props}),t}if(l.type===i.Fragment||l.type===u.default){if(!A(l.props.navigationKey))throw new Error("Got an invalid 'navigationKey' prop ("+JSON.stringify(l.props.navigationKey)+") for the group. It must be a non-empty string or 'undefined'.");return t.push.apply(t,(0,o.default)(e(l.props.children,l.props.navigationKey,l.type!==u.default?s:null!=s?[].concat((0,o.default)(s),[l.props.screenOptions]):[l.props.screenOptions]))),t}}throw new Error("A navigator can only contain 'Screen', 'Group' or 'React.Fragment' as its direct children (found "+(i.isValidElement(l)?"'"+('string'==typeof l.type?l.type:null==(p=l.type)?void 0:p.name)+"'"+(null!=(f=l.props)&&f.name?" for the screen '"+l.props.name+"'":''):'object'==typeof l?JSON.stringify(l):"'"+String(l)+"'")+"). To render this component in the navigator, pass it in the 'component' prop to 'Screen'.")}),[])}}),495,[3,16,169,108,27,144,471,496,497,487,452,453,489,472,455,498,499,500,456,504,505,457,506,507,509,510,511,469,491,461,192]); +__d((function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){if(n===t)return!0;if(n.length!==t.length)return!1;return n.every((function(n,u){return n===t[u]}))}}),496,[]); +__d((function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){if(t===n)return!0;var u=Object.keys(t),f=Object.keys(n);if(u.length!==f.length)return!1;return u.every((function(u){return t[u]===n[u]}))}}),497,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var o=t.useRef(n);return o.current=n,t.useEffect((function(){o.current=null})),t.useRef((function(t){var n=t.children,f=o.current;if(null===f)throw new Error('The returned component must be rendered in the same render phase as the hook.');return(0,r(d[1]).jsx)(u,{render:f,children:n})})).current};var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}var u=function(t){return(0,t.render)(t.children)}}),498,[144,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.state,f=o.navigation,c=o.descriptors,p=t.useContext(n.default);p&&f.isFocused()&&(p.options=c[u.routes[u.index].key].options)};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var s=c?Object.getOwnPropertyDescriptor(t,p):null;s&&(s.get||s.set)?Object.defineProperty(f,p,s):f[p]=t[p]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),499,[144,3,473]); +__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(v){var O=v.state,j=v.screens,b=v.navigation,k=v.screenOptions,P=v.defaultScreenOptions,S=v.onAction,h=v.getState,w=v.setState,M=v.addListener,_=v.addKeyedListener,x=v.onRouteFocus,A=v.router,D=v.emitter,L=i.useState({}),R=(0,o.default)(L,2),C=R[0],W=R[1],F=i.useContext(u.default),K=F.onDispatchAction,B=F.onOptionsChange,E=F.stackRef,N=i.useMemo((function(){return{navigation:b,onAction:S,addListener:M,addKeyedListener:_,onRouteFocus:x,onDispatchAction:K,onOptionsChange:B,stackRef:E}}),[b,S,M,_,x,K,B,E]),T=(0,l.default)({state:O,getState:h,navigation:b,setOptions:W,router:A,emitter:D});return(0,p.default)(O.routes).reduce((function(o,i,l){var p=j[i.name],v=p.props,b=T[i.key],S=[k].concat((0,n.default)(p.options?p.options.filter(Boolean):[]),[v.options,C[i.key]]).reduce((function(t,n){return Object.assign(t,'function'!=typeof n?n:n({route:i,navigation:b}))}),{}),M=Object.assign({},'function'==typeof P?P({route:i,navigation:b,options:S}):P,S),_=function(){return W((function(n){if(i.key in n){var o=i.key;n[o];return(0,t.default)(n,[o].map(y))}return n}))};return o[i.key]={route:i,navigation:b,render:function(){return(0,r(d[11]).jsx)(u.default.Provider,{value:N,children:(0,r(d[11]).jsx)(s.default.Provider,{value:b,children:(0,r(d[11]).jsx)(f.default.Provider,{value:i,children:(0,r(d[11]).jsx)(c.default,{navigation:b,route:i,screen:v,routeState:O.routes[l].state,getState:h,setState:w,options:M,clearOptions:_})})})},i.key)},options:M},o}),{})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=v(n);if(o&&o.has(t))return o.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var f=u?Object.getOwnPropertyDescriptor(t,s):null;f&&(f.get||f.set)?Object.defineProperty(i,s,f):i[s]=t[s]}i.default=t,o&&o.set(t,i);return i})(r(d[4])),u=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),f=r(d[0])(r(d[7])),c=r(d[0])(r(d[8])),l=r(d[0])(r(d[9])),p=r(d[0])(r(d[10]));function v(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(v=function(t){return t?o:n})(t)}function y(t){var n=O(t,"string");return"symbol"==typeof n?n:String(n)}function O(t,n){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,n||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}}),500,[3,108,27,16,144,449,451,452,501,503,476,192]); +__d((function(g,_r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var f=c.screen,s=c.route,l=c.navigation,p=c.routeState,v=c.getState,y=c.setState,k=c.options,b=c.clearOptions,O=t.useRef(),j=t.useCallback((function(){return O.current}),[]),h=(0,o.default)({key:s.key,options:k,navigation:l}).addOptionsGetter,C=t.useCallback((function(t){O.current=t}),[]),P=t.useCallback((function(){var t=v().routes.find((function(t){return t.key===s.key}));return t?t.state:void 0}),[v,s.key]),M=t.useCallback((function(t){var n=v();y(Object.assign({},n,{routes:n.routes.map((function(n){return n.key===s.key?Object.assign({},n,{state:t}):n}))}))}),[v,s.key,y]),_=t.useRef(!0);t.useEffect((function(){_.current=!1})),t.useEffect((function(){return b}),[]);var w=t.useCallback((function(){return _.current}),[]),S=t.useMemo((function(){return{state:p,getState:P,setState:M,getKey:j,setKey:C,getIsInitial:w,addOptionsGetter:h}}),[p,P,M,j,C,w,h]),x=f.getComponent?f.getComponent():f.component;return(0,_r(d[6]).jsx)(r.default.Provider,{value:S,children:(0,_r(d[6]).jsx)(n.default,{children:(0,_r(d[6]).jsx)(u.default,{name:f.name,render:x||f.children,navigation:l,route:s,children:void 0!==x?(0,_r(d[6]).jsx)(x,{navigation:l,route:s}):void 0!==f.children?f.children({navigation:l,route:s}):null})})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=c(n);if(r&&r.has(t))return r.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=o?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(u,f,s):u[f]=t[f]}u.default=t,r&&r.set(t,u);return u})(_r(d[0])),n=_r(d[1])(_r(d[2])),r=_r(d[1])(_r(d[3])),u=_r(d[1])(_r(d[4])),o=_r(d[1])(_r(d[5]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(c=function(t){return t?r:n})(t)}}),501,[144,3,447,453,502,458,192]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var u=new WeakMap,f=new WeakMap;return(t=function(t){return t?f:u})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,u){if(!u&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var f=t(u);if(f&&f.has(n))return f.get(n);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=n[l]}o.default=n,f&&f.set(n,o);return o})(r(d[0])).memo((function(t){return t.children}),(function(t,n){var u=Object.keys(t),f=Object.keys(n);if(u.length!==f.length)return!1;for(var o of u)if('children'!==o&&t[o]!==n[o])return!1;return!0}));e.default=n}),502,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var s=f.state,y=f.getState,l=f.navigation,p=f.setOptions,O=f.router,k=f.emitter,v=(u.useContext(o.default).stackRef,u.useMemo((function(){return{current:{}}}),[y,l,p,O,k])),b=Object.assign({},O.actionCreators,r(d[5]).CommonActions);return v.current=s.routes.reduce((function(u,o){var f=v.current[o.key];if(f)u[o.key]=f;else{l.emit;var s=(0,n.default)(l,c),O=function(t){var n='function'==typeof t?t(y()):t;null!=n&&l.dispatch(Object.assign({source:o.key},n))},j=function(t){try{t()}finally{}},P=Object.keys(b).reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,u=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:new Set,u=f();if(n.has(u.key))return!1;if(n.add(u.key),'string'!=typeof t.target||t.target===u.key){var p=i.getStateForAction(u,t,P.current);if(null!==(p=null===p&&t.target===u.key?u:p)){if(j(t,u===p),u!==p){if((0,o.shouldPreventRemove)(y,v,u.routes,p.routes,t))return!0;c(p)}if(void 0!==h)i.shouldActionChangeFocus(t)&&void 0!==s&&h(s);return!0}}if(void 0!==O&&O(t,n))return!0;for(var b=l.length-1;b>=0;b--){if((0,l[b])(t,n))return!0}return!1}),[l,v,y,f,s,O,j,h,i,c]);return(0,o.default)({getState:f,emitter:y,beforeRemoveListeners:v}),t.useEffect((function(){return null==k?void 0:k('action',w)}),[k,w]),w};var t=i(r(d[0])),n=r(d[1])(r(d[2])),o=i(r(d[3]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}function i(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var i={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(i,c,s):i[c]=t[c]}return i.default=t,o&&o.set(t,i),i}}),507,[144,3,449,508]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.getState,l=t.emitter,v=t.beforeRemoveListeners,s=n.useContext(u.default).addKeyedListener,y=n.useContext(o.default),p=null==y?void 0:y.key;n.useEffect((function(){if(p)return null==s?void 0:s('beforeRemove',p,(function(t){var n=f();return c(l,v,n.routes,[],t)}))}),[s,v,l,f,p])},e.shouldPreventRemove=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var v=l?Object.getOwnPropertyDescriptor(t,c):null;v&&(v.get||v.set)?Object.defineProperty(o,c,v):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var l=Symbol('VISITED_ROUTE_KEYS'),c=function(n,u,o,f,c){var v,s=f.map((function(t){return t.key})),y=o.filter((function(t){return!s.includes(t.key)})).reverse(),p=null!=(v=c[l])?v:new Set,b=Object.assign({},c,(0,t.default)({},l,p));for(var O of y){var k;if(!p.has(O.key)){if(null==(k=u[O.key])?void 0:k.call(u,b))return!0;if(p.add(O.key),n.emit({type:'beforeRemove',target:O.key,data:{action:b},canPreventDefault:!0}).defaultPrevented)return!0}}return!1};e.shouldPreventRemove=c}),508,[3,169,144,449,452]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var l=f.getState,c=f.getStateListeners,s=t.useContext(u.default).addKeyedListener,p=t.useContext(o.default),y=p?p.key:'root',v=t.useCallback((function(){var t=l(),u=t.routes.map((function(t){var n,u=null==(n=c[t.key])?void 0:n.call(c);return t.state===u?t:Object.assign({},t,{state:u})}));return(0,n.default)(t.routes,u)?t:Object.assign({},t,{routes:u})}),[l,c]);t.useEffect((function(){return null==s?void 0:s('getState',y,v)}),[s,v,y])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(o,c,s):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2])),u=r(d[1])(r(d[3])),o=r(d[1])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),509,[144,3,496,449,452]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.router,f=o.getState,c=o.key,l=o.setState,p=t.useContext(n.default).onRouteFocus;return t.useCallback((function(t){var n=f(),o=u.getStateForRouteFocus(n,t);o!==n&&l(o),void 0!==p&&void 0!==c&&p(c)}),[f,p,u,l,c])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),510,[144,3,449]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=n.useState((function(){return(0,r(d[3]).nanoid)()})),u=(0,t.default)(o,1)[0],f=n.useContext(r(d[4]).SingleNavigatorContext);if(void 0===f)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 n.useEffect((function(){var t=f.register,n=f.unregister;return t(u),function(){return n(u)}}),[f,u]),u};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var l=c?Object.getOwnPropertyDescriptor(t,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=t[p]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),511,[3,16,144,464,447]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=t.useRef(null);null==u.current&&(u.current=(0,n.default)());return u.current};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=u(n);if(f&&f.has(t))return f.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,f&&f.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}}),512,[144,3,460]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var f=(0,n.default)(),o=t.useState((function(){return u(f.getState())})),c=(0,e.default)(o,2)[1],l=t.useRef(u);return t.useEffect((function(){l.current=u})),t.useEffect((function(){return f.addListener('state',(function(e){c(l.current(e.data.state))}))}),[f]),u(f.getState())};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var f={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(f,c,l):f[c]=e[c]}f.default=e,n&&n.set(e,f);return f})(r(d[2])),n=r(d[0])(r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}}),513,[3,16,144,493]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c,l){var p=t.useState((function(){return(0,r(d[7]).nanoid)()})),v=(0,e.default)(p,1)[0],s=(0,u.default)(),y=(0,o.default)().key,O=(0,f.default)().setPreventRemove;t.useEffect((function(){return O(v,y,c),function(){O(v,y,!1)}}),[O,v,y,c]);var b=(0,n.default)((function(e){c&&(e.preventDefault(),l({data:e.data}))}));t.useEffect((function(){return null==s?void 0:s.addListener('beforeRemove',b)}),[s,b])};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=f?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(u,o,l):u[o]=e[o]}u.default=e,n&&n.set(e,u);return u})(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),o=r(d[0])(r(d[6]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}}),514,[3,16,144,490,493,515,516,464]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(null==o)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),515,[144,3,488]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),516,[144,3,452]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=S(n);if(l&&l.has(t))return l.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=o?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(u,f,c):u[f]=t[f]}u.default=t,l&&l.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),f=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),s=r(d[0])(r(d[8])),v=r(d[0])(r(d[9])),p=r(d[0])(r(d[10])),O=["theme","linking","fallback","documentTitle","onReady"];function S(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,l=new WeakMap;return(S=function(t){return t?l:n})(t)}g.REACT_NAVIGATION_DEVTOOLS=new WeakMap;var b=l.forwardRef((function(S,b){var P=S.theme,h=void 0===P?o.default:P,j=S.linking,y=S.fallback,_=void 0===y?null:y,k=S.documentTitle,A=S.onReady,F=(0,n.default)(S,O),T=!!j&&!1!==j.enabled;null!=j&&j.config&&(0,r(d[11]).validatePathConfig)(j.config);var w=l.useRef(null);(0,c.default)(w),(0,s.default)(w,k);var E=(0,v.default)(w,Object.assign({independent:F.independent,enabled:T,prefixes:[]},j)).getInitialState;l.useEffect((function(){w.current&&REACT_NAVIGATION_DEVTOOLS.set(w.current,{get linking(){var t,n,l,u;return Object.assign({},j,{enabled:T,prefixes:null!=(t=null==j?void 0:j.prefixes)?t:[],getStateFromPath:null!=(n=null==j?void 0:j.getStateFromPath)?n:r(d[11]).getStateFromPath,getPathFromState:null!=(l=null==j?void 0:j.getPathFromState)?l:r(d[11]).getPathFromState,getActionFromState:null!=(u=null==j?void 0:j.getActionFromState)?u:r(d[11]).getActionFromState})}})}));var M=(0,p.default)(E),R=(0,t.default)(M,2),x=R[0],I=R[1];l.useImperativeHandle(b,(function(){return w.current}));var N=l.useMemo((function(){return{options:j}}),[j]),C=null!=F.initialState||!T||x,D=l.useRef(A);return l.useEffect((function(){D.current=A})),l.useEffect((function(){C&&(null==D.current||D.current())}),[C]),C?(0,r(d[12]).jsx)(u.default.Provider,{value:N,children:(0,r(d[12]).jsx)(f.default,{value:h,children:(0,r(d[12]).jsx)(r(d[11]).BaseNavigationContainer,Object.assign({},F,{initialState:null==F.initialState?I:F.initialState,ref:w}))})}):_}));e.default=b}),517,[3,16,108,144,441,518,519,521,522,523,525,443,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={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)'}};e.default=o}),518,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.value,o=n.children;return(0,r(d[3]).jsx)(t.default.Provider,{value:u,children:o})};!(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f)})(r(d[0]));var t=r(d[1])(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}}),519,[144,3,520,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.createContext(n.default);u.displayName='ThemeContext';var f=u;e.default=f}),520,[144,3,518]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){t.useEffect((function(){var t=n.BackHandler.addEventListener('hardwareBackPress',(function(){var t=u.current;return null!=t&&(!!t.canGoBack()&&(t.goBack(),!0))}));return function(){return t.remove()}}),[u])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),521,[144,1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}),522,[]); +__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r,u){var o=u.independent,c=u.enabled,f=void 0===c||c,s=u.prefixes,l=u.filter,v=u.config,p=u.getInitialURL,h=void 0===p?function(){return Promise.race([t.Linking.getInitialURL(),new Promise((function(e){return setTimeout(e,150)}))])}:p,y=u.subscribe,b=void 0===y?function(e){var n,r=function(t){var n=t.url;return e(n)},u=t.Linking.addEventListener('url',r),o=null==(n=t.Linking.removeEventListener)?void 0:n.bind(t.Linking);return function(){null!=u&&u.remove?u.remove():null==o||o('url',r)}}:y,k=u.getStateFromPath,R=void 0===k?_r(d[4]).getStateFromPath:k,P=u.getActionFromState,w=void 0===P?_r(d[4]).getActionFromState:P;e.useEffect((function(){}),[f,o]);var L=e.useRef(f),O=e.useRef(s),j=e.useRef(l),S=e.useRef(v),_=e.useRef(h),E=e.useRef(R),M=e.useRef(w);e.useEffect((function(){L.current=f,O.current=s,j.current=l,S.current=v,_.current=h,E.current=R,M.current=w}));var F=e.useCallback((function(e){if(e&&(!j.current||j.current(e))){var t=(0,n.default)(O.current,e);return void 0!==t?E.current(t,S.current):void 0}}),[]),A=e.useCallback((function(){var e;if(L.current){var t=_.current();if(null!=t&&'string'!=typeof t)return t.then((function(e){return F(e)}));e=F(t)}var n={then:function(t){return Promise.resolve(t?t(e):e)},catch:function(){return n}};return n}),[F]);return e.useEffect((function(){return b((function(e){if(f){var t=r.current,n=t?F(e):void 0;if(t&&n){var u=t.getRootState();if(n.routes.some((function(e){return!(null!=u&&u.routeNames.includes(e.name))})))return void console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");var o=M.current(n,S.current);if(void 0!==o)try{t.dispatch(o)}catch(t){console.warn("An error occurred when trying to handle the link '"+e+"': "+('object'==typeof t&&null!=t&&'message'in t?t.message:t))}else t.resetRoot(n)}}}))}),[f,F,r,b]),{getInitialState:A}};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=o?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(u,c,f):u[c]=e[c]}u.default=e,n&&n.set(e,u);return u})(_r(d[0])),t=_r(d[1]),n=_r(d[2])(_r(d[3]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}),523,[144,1,3,524,443]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){for(var u of t){var f,c,p=null!=(f=null==(c=u.match(/^[^:]+:/))?void 0:c[0])?f:'',o=u.replace(new RegExp("^"+(0,l.default)(p)),'').replace(/\/+/g,'/').replace(/^\//,''),v=new RegExp("^"+(0,l.default)(p)+"(/)*"+o.split('.').map((function(t){return'*'===t?'[^/]+':(0,l.default)(t)})).join('\\.')),_=n.replace(/\/+/g,'/');if(v.test(_))return _.replace(v,'')}return};var l=r(d[0])(r(d[1]))}),524,[3,486]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var o=u.useState(f),c=(0,n.default)(o,1)[0],l=[!1,void 0];c.then((function(t){l=[!0,t]}));var p=u.useState(l),y=(0,n.default)(p,2),v=y[0],s=y[1],O=(0,n.default)(v,1)[0];return u.useEffect((function(){var n=!1,u=(function(){var u=(0,t.default)((function*(){var t;try{t=yield c}finally{n||s([!0,t])}}));return function(){return u.apply(this,arguments)}})();return O||u(),function(){n=!0}}),[c,O]),v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),525,[3,322,16,144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.forwardRef((function(o,u){var f=o.children,c=o.location;t.useEffect((function(){console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.")}),[]);var l={};if(u){var p={getCurrentOptions:function(){return l.options}};'function'==typeof u?u(p):u.current=p}return(0,r(d[3]).jsx)(n.default.Provider,{value:{location:c},children:(0,r(d[3]).jsx)(r(d[4]).CurrentRenderContext.Provider,{value:l,children:f})})}));e.default=u}),526,[144,3,527,192,443]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),527,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={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)'}};e.default=o}),528,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return t.useContext(n.default)};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),529,[144,3,520]); +__d((function(g,r,i,a,m,e,d){}),530,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(r(d[3]).NavigationHelpersContext),f=t.useContext(n.default);return t.useCallback((function(t,n){var l=f.options;if(!1!==(null==l?void 0:l.enabled)){var c=o?u(o,{index:0,routes:[{name:t,params:n}]}):{index:0,routes:[{name:t,params:n}]};return null!=l&&l.getPathFromState?l.getPathFromState(c,null==l?void 0:l.config):(0,r(d[3]).getPathFromState)(c,null==l?void 0:l.config)}}),[f,o])};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=function t(n,o){var u=n.getParent();if(u){var f=u.getState();return t(u,{index:0,routes:[Object.assign({},f.routes[f.index],{state:o})]})}return o}}),531,[144,3,441,443]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var o=(0,r(d[1]).useNavigation)(),u=(0,r(d[1]).useRoute)();e.useEffect((function(){for(var e=[],c=o;c;)'tab'===c.getState().type&&e.push(c),c=c.getParent();if(0!==e.length){var l=e.map((function(c){return c.addListener('tabPress',(function(c){var l=o.isFocused(),f=e.includes(o)||o.getState().routes[0].key===u.key;requestAnimationFrame((function(){var e=n(t);l&&f&&e&&!c.defaultPrevented&&('scrollToTop'in e?e.scrollToTop():'scrollTo'in e?e.scrollTo({y:0,animated:!0}):'scrollToOffset'in e?e.scrollToOffset({offset:0,animated:!0}):'scrollResponderScrollTo'in e&&e.scrollResponderScrollTo({y:0,animated:!0}))}))}))}));return function(){l.forEach((function(e){return e()}))}}}),[o,t,u.key])};var e=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=t(n);if(o&&o.has(e))return o.get(e);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=c?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(u,l,f):u[l]=e[l]}u.default=e,o&&o.set(e,u);return u})(r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(t=function(e){return e?o:n})(e)}function n(e){return null==e.current?null:'scrollToTop'in e.current||'scrollTo'in e.current||'scrollToOffset'in e.current||'scrollResponderScrollTo'in e.current?e.current:'getScrollResponder'in e.current?e.current.getScrollResponder():'getNode'in e.current?e.current.getNode():e.current}}),532,[144,443]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=(0,r(d[16]).useNavigation)();return(0,r(d[13]).jsx)(y,Object.assign({},e,{navigate:t}))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5]));r(d[6]);var o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=s?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(l,o,c):l[o]=e[o]}l.default=e,n&&n.set(e,l);return l})(r(d[7])),c=r(d[8]),u=r(d[0])(r(d[9])),h=r(d[0])(r(d[10])),p=r(d[0])(r(d[11])),x=r(d[0])(r(d[12]));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var y=(function(o){(0,n.default)(j,o);var u,f,y=(u=j,f=T(),function(){var e,t=(0,s.default)(u);if(f){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(t,n){var l;(0,e.default)(this,j),(l=y.call(this,t,n)).state={pickerSelected:'getPM',upiSdkPresent:!1,saveToLocker:!1,shouldLink:!1,resultText:'',animation:new c.Animated.Value(0)},l.handleOpen=function(){c.Animated.timing(l.state.animation,{toValue:1,duration:300,useNativeDriver:!0}).start(),l.isPopupVisible=!0},l.handleClose=function(){c.Animated.timing(l.state.animation,{toValue:0,duration:200,useNativeDriver:!0}).start(),l.isPopupVisible=!1},l.navigation=t.navigation,l.isPopupVisible=!1;var s=t.route.params;return l.merchantId=s.merchantId,l.clientId=s.clientId,l.merchantKeyId=s.merchantKeyId,l.privateKey=s.privateKey,l.service=s.service,l.customerId=s.customerId,l.mobile=s.mobile,l.email=s.email,l.apiKey=s.apiKey,l.amount=s.amount,l.orderId='',l.clientAuthToken='',l.orderDetails={},l.signature='',l.nbTxnBank='NB_SBI',l.cardNumber='',l.cardToken='',l.cardNetwork='',l.expMonth='',l.expYear='',l.cvv='',l.authType='',l.upiTxnApp='net.one97.paytm',l.vpa='',l.walletName='PAYTM',l.directWalletToken='',l.walletId='',l.otp='',l.sdkPresent='',l.walletMobile='','pp'===l.service&&(l.state.pickerSelected='quickPay'),l}return(0,t.default)(j,[{key:"componentDidMount",value:function(){var e=this,t=new c.NativeEventEmitter(c.NativeModules.HyperSdkReact);this.eventListener=t.addListener(h.default.HyperEvent,(function(t){e.setState({resultText:t})})),c.BackHandler.addEventListener('hardwareBackPress',(function(){return e.isPopupVisible?(e.handleClose(),!0):!h.default.isNull()&&h.default.onBackPressed()}))}},{key:"componentWillUnmount",value:function(){this.eventListener.remove(),c.BackHandler.removeEventListener('hardwareBackPress',(function(){return null}))}},{key:"render",value:function(){var e=this,t=c.Dimensions.get('window').height,n={transform:[{translateY:this.state.animation.interpolate({inputRange:[0,.01],outputRange:[t,0],extrapolate:'clamp'})}],opacity:this.state.animation.interpolate({inputRange:[.01,.5],outputRange:[0,1],extrapolate:'clamp'})},l={transform:[{translateY:this.state.animation.interpolate({inputRange:[.01,1],outputRange:[0,-1*t],extrapolate:'clamp'})}]};return(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.ScrollView,{children:(0,r(d[13]).jsxs)(c.View,{style:k.container,children:[(0,r(d[13]).jsx)(v,{title:'ec'===this.service?'Create Order':'Generate Order ID',onPress:function(){e.orderId=x.default.generateOrderId(),'ec'===e.service?p.default.generateOrder(e.orderId,e.amount,e.customerId,e.mobile,e.email,e.apiKey).then((function(t){console.log(t),x.default.showCopyAlert('OrderID',e.orderId),e.clientAuthToken=x.default.getClientAuthToken(t)})).catch((function(e){console.error(e)})):x.default.showCopyAlert('OrderID',e.orderId)}}),(0,r(d[13]).jsx)(c.View,{style:k.pickerContainer,children:'ec'===this.service?(0,r(d[13]).jsxs)(r(d[14]).Picker,{style:k.picker,selectedValue:this.state.pickerSelected,onValueChange:function(t,n){e.setState({pickerSelected:t}),console.log(t,n)},children:[(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Get Payment Methods",value:"getPM"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"List Saved Cards",value:"cardList"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Get UPI Apps",value:"getUPI"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Refresh Wallet Balances",value:"listWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Check IsDeviceReady",value:"isDeviceReady"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"NB Txn",value:"nbTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Card Txn",value:"cardTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"UPI Txn",value:"upiTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Create Wallet",value:"createWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Link Wallet",value:"linkWallet"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Wallet Txn",value:"walletTxn"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"Delete Saved Card",value:"deleteCard"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"DeLink Wallet",value:"delinkWallet"})]}):(0,r(d[13]).jsxs)(r(d[14]).Picker,{style:k.picker,selectedValue:this.state.pickerSelected,onValueChange:function(t,n){e.setState({pickerSelected:t}),console.log(t,n)},children:[(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"paymentPage",value:"paymentPage"}),(0,r(d[13]).jsx)(r(d[14]).Picker.Item,{label:"quickPay",value:"quickPay"})]})}),'getPM'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Get Payment Methods",onPress:function(){var e=x.default.generatePaymentMethodsPayload();h.default.process(JSON.stringify(e))}}):null,'cardList'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"List Saved Cards",onPress:function(){var t=x.default.generateListCardsPayload(e.clientAuthToken);h.default.process(JSON.stringify(t))}}):null,'getUPI'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Get UPI Apps",onPress:function(){var t=x.default.generateGetUPIAppsPayload(e.orderId);h.default.process(JSON.stringify(t))}}):null,'listWallet'===this.state.pickerSelected?(0,r(d[13]).jsx)(v,{title:"Refresh Wallet Balances",onPress:function(){var t=x.default.generateListWalletsPayload(e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}}):null,'isDeviceReady'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[13]).jsx)(v,{title:"Is Device Ready",onPress:function(){var t=x.default.generateDeviceReadyPayload(e.sdkPresent);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'nbTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"NB_SBI",onChangeText:function(t){e.nbTxnBank=t},defaultValue:this.nbTxnBank}),(0,r(d[13]).jsx)(v,{title:"NB Txn",onPress:function(){var t=x.default.generateNBTxnPayload(e.orderId,e.clientAuthToken,e.nbTxnBank);h.default.process(JSON.stringify(t))}})]}):null,'cardTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card number (new card)",onChangeText:function(t){e.cardNumber=t},defaultValue:this.cardNumber}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card token (saved card)",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"expMonth (for new card)",onChangeText:function(t){e.expMonth=t},defaultValue:this.expMonth}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"expYear (for new card)",onChangeText:function(t){e.expYear=t},defaultValue:this.expYear}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"card network (e.g. VISA)",onChangeText:function(t){e.cardNetwork=t},defaultValue:this.cardNetwork}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"cvv",onChangeText:function(t){e.cvv=t},defaultValue:this.cvv}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"authType",onChangeText:function(t){e.authType=t},defaultValue:this.authType}),(0,r(d[13]).jsx)(P,{value:this.state.saveToLocker,onValueChange:function(t){console.log(t),e.setState({saveToLocker:t})},text:"Save to locker"}),(0,r(d[13]).jsx)(v,{title:"Card Txn",onPress:function(){var t=x.default.generateCardTxnPayload(e.orderId,e.clientAuthToken,e.cardNetwork,e.cardToken,e.cardNumber,e.expMonth,e.expYear,e.cvv,e.authType,e.state.saveToLocker);h.default.process(JSON.stringify(t))}})]}):null,'upiTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"package name",onChangeText:function(t){e.upiTxnApp=t},defaultValue:this.upiTxnApp}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"vpa",onChangeText:function(t){e.vpa=t},defaultValue:this.vpa}),(0,r(d[13]).jsx)(P,{value:this.state.upiSdkPresent,onValueChange:function(t){console.log(t),e.setState({upiSdkPresent:t})},text:"UPI SDK Present"}),(0,r(d[13]).jsx)(v,{title:"UPI Txn",onPress:function(){var t=x.default.generateUPIIntentTxnPayload(e.orderId,e.clientAuthToken,e.upiTxnApp,e.vpa,e.state.upiSdkPresent);h.default.process(JSON.stringify(t))}})]}):null,'createWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(v,{title:"Create Wallet",onPress:function(){var t=x.default.generateCreateWalletPayload(e.walletName,e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'linkWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletId from createWallet",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"Enter otp",onChangeText:function(t){e.otp=t},defaultValue:this.otp}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(v,{title:"Link Wallet",onPress:function(){var t=x.default.generateLinkWalletPayload(e.walletName,e.walletId,e.otp,e.clientAuthToken);h.default.process(JSON.stringify(t))}})]}):null,'walletTxn'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"paymentMethod",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"directWalletToken",onChangeText:function(t){e.directWalletToken=t},defaultValue:this.directWalletToken}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletMobileNumber",onChangeText:function(t){e.walletMobile=t},defaultValue:this.walletMobile}),(0,r(d[13]).jsx)(P,{value:this.state.shouldLink,onValueChange:function(t){console.log(t),e.setState({shouldLink:t})},text:"Should Link"}),(0,r(d[13]).jsx)(v,{title:"Wallet Txn",onPress:function(){var t=x.default.generateWalletTxnPayload(e.orderId,e.clientAuthToken,e.walletName,e.directWalletToken,e.sdkPresent);h.default.process(JSON.stringify(t))}})]}):null,'delinkWallet'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletName",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"walletId",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[13]).jsx)(v,{title:"DeLink Wallet",onPress:function(){var t=x.default.generateDeLinkWalletPayload(e.walletName,e.walletId,e.clientAuthToken);h.default.process(JSON.stringify(t))}})]}):null,'deleteCard'===this.state.pickerSelected?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.editText,placeholder:"cardToken",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[13]).jsx)(v,{title:"Delete Card",onPress:function(){var t=x.default.generateDeleteCardPayload(e.cardToken,e.clientAuthToken);console.log(t),h.default.process(JSON.stringify(t))}})]}):null,'pp'===this.service?(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(v,{title:"Sign Order Details",onPress:function(){var t={merchant_id:e.merchantId,customer_id:e.customerId,order_id:e.orderId,amount:e.amount,mobile_number:e.mobile,customer_email:e.email,timestamp:x.default.getTimestamp()};e.orderDetails=t,(0,r(d[15]).setOrderDetails)(t),p.default.generateSign(e.privateKey,JSON.stringify(e.orderDetails)).then((function(t){e.signature=t,x.default.showCopyAlert('Payload signed',e.signature)})).catch((function(e){console.warn(e)}))}}),(0,r(d[13]).jsx)(v,{title:"Process",onPress:function(){var t=x.default.generateProcessPayloadPP(e.state.pickerSelected,e.clientId,e.merchantId,JSON.stringify(e.orderDetails),e.signature,e.merchantKeyId);h.default.process(JSON.stringify(t))}}),(0,r(d[13]).jsx)(v,{title:"Process With New Activity",onPress:function(){var t=x.default.generateProcessPayloadPP(e.state.pickerSelected,e.clientId,e.merchantId,JSON.stringify(e.orderDetails),e.signature,e.merchantKeyId);h.default.processWithActivity(JSON.stringify(t))}})]}):null,(0,r(d[13]).jsx)(v,{title:"Is Initialised?",onPress:function(){h.default.isInitialised().then((function(e){x.default.showCopyAlert('isInitialised',e+'')}))}}),(0,r(d[13]).jsx)(v,{title:"Terminate",onPress:function(){h.default.terminate()}}),(0,r(d[13]).jsx)(v,{title:"Check Result",onPress:function(){e.handleOpen()}})]})}),(0,r(d[13]).jsx)(c.Animated.View,{style:[c.StyleSheet.absoluteFill,k.cover,n],children:(0,r(d[13]).jsx)(c.View,{style:[k.sheet],children:(0,r(d[13]).jsx)(c.Animated.View,{style:[k.popup,l],children:(0,r(d[13]).jsxs)(c.View,{children:[(0,r(d[13]).jsx)(c.TextInput,{style:k.textArea,underlineColorAndroid:"transparent",placeholder:"Type something",placeholderTextColor:"grey",numberOfLines:100,multiline:!0,value:this.state.resultText}),(0,r(d[13]).jsx)(v,{title:"Close",onPress:this.handleClose})]})})})})]})}}]),j})(o.Component),k=c.StyleSheet.create({container:{flex:1,alignItems:'center',justifyContent:'center'},horizontal:{flexDirection:'row'},button:{backgroundColor:'blue',paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12},buttonText:{color:'white',fontSize:18},editText:{height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12,marginEnd:20},checkbox:{width:40,height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,borderRadius:20,marginVertical:12},picker:{width:250},pickerContainer:{borderColor:'gray',borderWidth:1,borderRadius:12},centerAligned:{alignItems:'center',justifyContent:'center'},marginEnd:{marginEnd:20},cover:{backgroundColor:'rgba(0,0,0,.5)'},sheet:{position:'absolute',top:c.Dimensions.get('window').height,left:0,right:0,height:'100%',justifyContent:'flex-end'},popup:{backgroundColor:'#FFF',borderTopLeftRadius:20,borderTopRightRadius:20,alignItems:'center',justifyContent:'center',minHeight:80},textArea:{borderColor:'gray',height:150,justifyContent:'flex-start',minHeight:40,borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:12,marginVertical:12,marginHorizontal:12}}),v=function(e){return(0,r(d[13]).jsx)(c.TouchableOpacity,{onPress:e.onPress,style:k.button,children:(0,r(d[13]).jsx)(c.Text,{style:k.buttonText,children:e.title})})},P=function(e){return(0,r(d[13]).jsxs)(c.View,{style:[k.horizontal,k.centerAligned],children:[(0,r(d[13]).jsx)(u.default,{style:k.checkbox,value:e.value,onValueChange:e.onValueChange,tintColors:{true:'blue'}}),(0,r(d[13]).jsx)(c.Text,{style:k.marginEnd,children:e.text})]})}}),533,[3,6,7,44,46,48,534,144,1,680,424,423,427,192,430,683,438]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseButton",{enumerable:!0,get:function(){return r(d[0]).BaseButton}}),Object.defineProperty(e,"BorderlessButton",{enumerable:!0,get:function(){return r(d[0]).BorderlessButton}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return r(d[1]).Directions}}),Object.defineProperty(e,"DrawerLayout",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DrawerLayoutAndroid",{enumerable:!0,get:function(){return r(d[2]).DrawerLayoutAndroid}}),Object.defineProperty(e,"FlatList",{enumerable:!0,get:function(){return r(d[2]).FlatList}}),Object.defineProperty(e,"FlingGestureHandler",{enumerable:!0,get:function(){return r(d[3]).FlingGestureHandler}}),Object.defineProperty(e,"ForceTouchGestureHandler",{enumerable:!0,get:function(){return r(d[4]).ForceTouchGestureHandler}}),Object.defineProperty(e,"Gesture",{enumerable:!0,get:function(){return r(d[5]).GestureObjects}}),Object.defineProperty(e,"GestureDetector",{enumerable:!0,get:function(){return r(d[6]).GestureDetector}}),Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"LongPressGestureHandler",{enumerable:!0,get:function(){return r(d[7]).LongPressGestureHandler}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return r(d[8]).NativeViewGestureHandler}}),Object.defineProperty(e,"PanGestureHandler",{enumerable:!0,get:function(){return r(d[9]).PanGestureHandler}}),Object.defineProperty(e,"PinchGestureHandler",{enumerable:!0,get:function(){return r(d[10]).PinchGestureHandler}}),Object.defineProperty(e,"RawButton",{enumerable:!0,get:function(){return r(d[0]).RawButton}}),Object.defineProperty(e,"RectButton",{enumerable:!0,get:function(){return r(d[0]).RectButton}}),Object.defineProperty(e,"RefreshControl",{enumerable:!0,get:function(){return r(d[2]).RefreshControl}}),Object.defineProperty(e,"RotationGestureHandler",{enumerable:!0,get:function(){return r(d[11]).RotationGestureHandler}}),Object.defineProperty(e,"ScrollView",{enumerable:!0,get:function(){return r(d[2]).ScrollView}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return r(d[12]).State}}),Object.defineProperty(e,"Swipeable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return r(d[2]).Switch}}),Object.defineProperty(e,"TapGestureHandler",{enumerable:!0,get:function(){return r(d[13]).TapGestureHandler}}),Object.defineProperty(e,"TextInput",{enumerable:!0,get:function(){return r(d[2]).TextInput}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return r(d[14]).TouchableHighlight}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableNativeFeedback}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return r(d[14]).TouchableOpacity}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableWithoutFeedback}}),Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"enableExperimentalWebImplementation",{enumerable:!0,get:function(){return r(d[15]).enableExperimentalWebImplementation}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return t.default}});var t=r(d[16])(r(d[17])),n=r(d[16])(r(d[18])),u=r(d[16])(r(d[19])),o=r(d[16])(r(d[20])),c=r(d[16])(r(d[21]));(0,r(d[22]).initialize)()}),534,[535,637,638,639,640,642,654,657,537,656,664,665,631,655,666,662,3,672,676,536,678,679,677]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.BorderlessButton=_e.BaseButton=void 0,Object.defineProperty(_e,"PureNativeButton",{enumerable:!0,get:function(){return f.default}}),_e.RectButton=_e.RawButton=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=C(e);if(n&&n.has(t))return n.get(t);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var l=s?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}o.default=t,n&&n.set(t,o);return o})(r(d[7])),c=r(d[8]),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),v=["rippleColor"],h=["children","style"],y=["children","style"];function C(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(C=function(t){return t?n:e})(t)}function S(t){var e=P();return function(){var n,o=(0,u.default)(t);if(e){var l=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,l)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var A=(0,p.default)(f.default,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!1});_e.RawButton=A;var b=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).handleEvent=function(t){var e=t.nativeEvent,o=e.state,s=e.oldState,u=e.pointerInside,l=u&&o===r(d[11]).State.ACTIVE;l!==n.lastActive&&n.props.onActiveStateChange&&n.props.onActiveStateChange(l),!n.longPressDetected&&s===r(d[11]).State.ACTIVE&&o!==r(d[11]).State.CANCELLED&&n.lastActive&&n.props.onPress&&n.props.onPress(l),!n.lastActive&&o===('android'!==c.Platform.OS?r(d[11]).State.ACTIVE:r(d[11]).State.BEGAN)&&u?(n.longPressDetected=!1,n.props.onLongPress&&(n.longPressTimeout=setTimeout(n.onLongPress,n.props.delayLongPress))):(o!==r(d[11]).State.ACTIVE||u||void 0===n.longPressTimeout)&&(void 0===n.longPressTimeout||o!==r(d[11]).State.END&&o!==r(d[11]).State.CANCELLED&&o!==r(d[11]).State.FAILED)||(clearTimeout(n.longPressTimeout),n.longPressTimeout=void 0),n.lastActive=l},n.onLongPress=function(){n.longPressDetected=!0,null==n.props.onLongPress||n.props.onLongPress()},n.onHandlerStateChange=function(t){null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(t),n.handleEvent(t)},n.onGestureEvent=function(t){null==n.props.onGestureEvent||n.props.onGestureEvent(t),n.handleEvent(t)},n.lastActive=!1,n.longPressDetected=!1,n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.rippleColor,o=(0,t.default)(e,v);return(0,r(d[12]).jsx)(A,Object.assign({rippleColor:(0,c.processColor)(n)},o,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}]),l})(l.Component);_e.BaseButton=b,b.defaultProps={delayLongPress:600};var O=c.Animated.createAnimatedComponent(b),R=c.StyleSheet.create({underlay:{position:'absolute',left:0,right:0,bottom:0,top:0}}),B=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:0),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(0),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,h),u=c.StyleSheet.flatten(null!=o?o:{});return(0,r(d[12]).jsxs)(b,Object.assign({},s,{style:u,onActiveStateChange:this.onActiveStateChange,children:[(0,r(d[12]).jsx)(c.Animated.View,{style:[R.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:u.borderRadius,borderTopLeftRadius:u.borderTopLeftRadius,borderTopRightRadius:u.borderTopRightRadius,borderBottomLeftRadius:u.borderBottomLeftRadius,borderBottomRightRadius:u.borderBottomRightRadius}]}),n]}))}}]),l})(l.Component);_e.RectButton=B,B.defaultProps={activeOpacity:.105,underlayColor:'black'};var E=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:1),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(1),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,y);return(0,r(d[12]).jsx)(O,Object.assign({},s,{onActiveStateChange:this.onActiveStateChange,style:[o,'ios'===c.Platform.OS&&{opacity:this.opacity}],children:n}))}}]),l})(l.Component);_e.BorderlessButton=E,E.defaultProps={activeOpacity:.3,borderless:!0}}),535,[3,108,6,7,44,46,48,144,1,536,635,631,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=t.forwardRef((function(u,f){var c=Object.keys(u).reduce((function(n,t){return o.includes(t)&&(n[t]=u[t]),n}),Object.assign({},l)),s=(0,t.useRef)(),p=(0,t.useRef)();return(0,t.useImperativeHandle)(f,(function(){var n=p.current;return s.current&&n?(s.current.handlerTag=n.handlerTag,s.current):null}),[s,p]),(0,r(d[4]).jsx)(r(d[3]).NativeViewGestureHandler,Object.assign({},c,{ref:p,children:(0,r(d[4]).jsx)(n,Object.assign({},u,{ref:s}))}))}));return f.displayName=(null==n?void 0:n.displayName)||(null==n||null==(u=n.render)?void 0:u.name)||'string'==typeof n&&n||'ComponentWrapper',f};var n=r(d[0])(r(d[1])),t=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=u(t);if(o&&o.has(n))return o.get(n);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var s=f?Object.getOwnPropertyDescriptor(n,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=n[c]}l.default=n,o&&o.set(n,l);return l})(r(d[2]));function u(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(n){return n?o:t})(n)}var o=[].concat((0,n.default)(r(d[3]).nativeViewProps),['onGestureHandlerEvent','onGestureHandlerStateChange'])}),536,[3,27,144,537,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.nativeViewProps=e.nativeViewHandlerName=e.nativeViewGestureHandlerProps=e.NativeViewGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['shouldActivateOnStart','disallowInterruption'];e.nativeViewGestureHandlerProps=l;var o=[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l);e.nativeViewProps=o;var s='NativeViewGestureHandler';e.nativeViewHandlerName=s;var v=(0,n.default)({name:s,allowedProps:o,config:{}});e.NativeViewGestureHandler=v}),537,[3,27,538,634]); +__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=e.name,p=e.allowedProps,E=void 0===p?[]:p,G=e.config,H=void 0===G?{}:G,T=e.transformProps,w=e.customNativeProps,C=void 0===w?[]:w,S=(function(e){(0,s.default)(S,e);var p,G,w=(p=S,G=y(),function(){var e,t=(0,l.default)(p);if(G){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(e){var n;if((0,r.default)(this,S),(n=w.call(this,e)).updateEnqueued=null,n.onGestureHandlerEvent=function(e){e.nativeEvent.handlerTag===n.handlerTag?'function'==typeof n.props.onGestureEvent&&(null==n.props.onGestureEvent||n.props.onGestureEvent(e)):null==n.props.onGestureHandlerEvent||n.props.onGestureHandlerEvent(e)},n.onGestureHandlerStateChange=function(e){if(e.nativeEvent.handlerTag===n.handlerTag){'function'==typeof n.props.onHandlerStateChange&&(null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(e));var t=e.nativeEvent.state,r=I[t],o=r&&n.props[r];o&&'function'==typeof o&&o(e)}else null==n.props.onGestureHandlerStateChange||n.props.onGestureHandlerStateChange(e)},n.refHandler=function(e){n.viewNode=e;var t=c.Children.only(n.props.children).ref;null!==t&&('function'==typeof t?t(e):t.current=e)},n.createGestureHandler=function(e){n.config=e,v.default.createGestureHandler(t,n.handlerTag,e)},n.attachGestureHandler=function(e){if(n.viewTag=e,'web'===f.Platform.OS)v.default.attachGestureHandler(n.handlerTag,e,_r(d[14]).ActionType.JS_FUNCTION_OLD_API,n.propsRef);else{(0,_r(d[15]).registerOldGestureHandler)(n.handlerTag,{onGestureEvent:n.onGestureHandlerEvent,onGestureStateChange:n.onGestureHandlerStateChange});var t=null!=(r=n.props)&&r.onGestureEvent&&'current'in n.props.onGestureEvent?_r(d[14]).ActionType.REANIMATED_WORKLET:null!=(o=n.props)&&o.onGestureEvent&&'__isNative'in n.props.onGestureEvent?_r(d[14]).ActionType.NATIVE_ANIMATED_EVENT:_r(d[14]).ActionType.JS_FUNCTION_OLD_API;v.default.attachGestureHandler(n.handlerTag,e,t)}var r,o;(0,_r(d[16]).scheduleFlushOperations)()},n.updateGestureHandler=function(e){n.config=e,v.default.updateGestureHandler(n.handlerTag,e),(0,_r(d[16]).scheduleFlushOperations)()},n.handlerTag=(0,_r(d[15]).getNextHandlerTag)(),n.config={},n.propsRef=c.createRef(),n.state={allowTouches:O},e.id){if(void 0!==_r(d[15]).handlerIDToTag[e.id])throw new Error("Handler with ID \""+e.id+"\" already registered");_r(d[15]).handlerIDToTag[e.id]=n.handlerTag}return n}return(0,o.default)(S,[{key:"componentDidMount",value:function(){var e=this;D(this.props)&&(this.updateEnqueued=setImmediate((function(){e.updateEnqueued=null,e.update(A)}))),this.createGestureHandler((0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H)),this.attachGestureHandler((0,_r(d[16]).findNodeHandle)(this.viewNode))}},{key:"componentDidUpdate",value:function(){var e=(0,_r(d[16]).findNodeHandle)(this.viewNode);this.viewTag!==e&&this.attachGestureHandler(e),this.update(A)}},{key:"componentWillUnmount",value:function(){var e;null==(e=this.inspectorToggleListener)||e.remove(),v.default.dropGestureHandler(this.handlerTag),(0,_r(d[16]).scheduleFlushOperations)(),this.updateEnqueued&&clearImmediate(this.updateEnqueued);var t=this.props.id;t&&delete _r(d[15]).handlerIDToTag[t]}},{key:"update",value:function(e){var t=this;if(D(this.props)&&e>0)this.updateEnqueued=setImmediate((function(){t.updateEnqueued=null,t.update(e-1)}));else{var r=(0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H);(0,h.default)(this.config,r)||this.updateGestureHandler(r)}}},{key:"setNativeProps",value:function(e){var t=Object.assign({},this.props,e),r=(0,_r(d[16]).filterConfig)(T?T(t):t,[].concat((0,n.default)(E),(0,n.default)(C)),H);this.updateGestureHandler(r)}},{key:"render",value:function(){var e,n=this.onGestureHandlerEvent,r=this.props,o=r.onGestureEvent,s=r.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');n=o}else if(s&&'function'!=typeof s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var u=this.onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,f=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');u=p}else if(f&&'function'!=typeof f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var h={onGestureHandlerEvent:this.state.allowTouches?n:void 0,onGestureHandlerStateChange:this.state.allowTouches?u:void 0};this.propsRef.current=h;var v=null;try{v=c.Children.only(this.props.children)}catch(e){throw new Error((0,_r(d[12]).tagMessage)(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."))}var E=v.props.children;return c.cloneElement(v,Object.assign({ref:this.refHandler,collapsable:!1},(0,_r(d[12]).isJestEnv)()?{handlerType:t,handlerTag:this.handlerTag}:{},{testID:null!=(e=this.props.testID)?e:v.props.testID},h),E)}}]),S})(c.Component);return S.displayName=t,S};var e,t,n=_r(d[0])(_r(d[1])),r=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),s=_r(d[0])(_r(d[4])),u=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),p=_r(d[0])(_r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r})(_r(d[8])),f=_r(d[9]),h=_r(d[0])(_r(d[10])),v=_r(d[0])(_r(d[11]));function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var G=f.UIManager,H=Object.assign({onGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},onGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}},(0,_r(d[12]).isFabric)()&&'android'===f.Platform.OS&&{topOnGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},topOnGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}});G.genericDirectEventTypes=Object.assign({},G.genericDirectEventTypes,H);var T=null!=(e=null==G.getViewManagerConfig?void 0:G.getViewManagerConfig('getConstants'))?e:null==G.getConstants?void 0:G.getConstants();T&&(T.genericDirectEventTypes=Object.assign({},T.genericDirectEventTypes,H));var w=G.setJSResponder,C=void 0===w?function(){}:w,S=G.clearJSResponder,N=void 0===S?function(){}:S;G.setJSResponder=function(e,t){v.default.handleSetJSResponder(e,t),C(e,t)},G.clearJSResponder=function(){v.default.handleClearJSResponder(),N()};var O=!0;function D(e){var t=function(e){return Array.isArray(e)?e.some((function(e){return e&&null===e.current})):e&&null===e.current};return t(e.simultaneousHandlers)||t(e.waitFor)}var I=(t={},(0,p.default)(t,_r(d[13]).State.UNDETERMINED,void 0),(0,p.default)(t,_r(d[13]).State.BEGAN,'onBegan'),(0,p.default)(t,_r(d[13]).State.FAILED,'onFailed'),(0,p.default)(t,_r(d[13]).State.CANCELLED,'onCancelled'),(0,p.default)(t,_r(d[13]).State.ACTIVE,'onActivated'),(0,p.default)(t,_r(d[13]).State.END,'onEnded'),t),A=1}),538,[3,27,6,7,44,46,48,169,144,1,539,628,629,631,632,633,634]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n,t){return r(d[0])(n,t)}}),539,[540]); +__d((function(g,r,i,a,m,e,d){m.exports=function n(u,l,t,o,c){return u===l||(null==u||null==l||!r(d[0])(u)&&!r(d[0])(l)?u!=u&&l!=l:r(d[1])(u,l,t,o,n,c))}}),540,[541,542]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n){return null!=n&&'object'==typeof n}}),541,[]); +__d((function(g,r,i,a,m,e,d){var t='[object Arguments]',n='[object Array]',_='[object Object]',c=Object.prototype.hasOwnProperty;m.exports=function(o,u,p,f,l,v){var w=r(d[0])(o),b=r(d[0])(u),j=w?n:r(d[1])(o),s=b?n:r(d[1])(u),y=(j=j==t?_:j)==_,O=(s=s==t?_:s)==_,A=j==s;if(A&&r(d[2])(o)){if(!r(d[2])(u))return!1;w=!0,y=!1}if(A&&!y)return v||(v=new(r(d[3]))),w||r(d[4])(o)?r(d[5])(o,u,p,f,l,v):r(d[6])(o,u,j,p,f,l,v);if(!(1&p)){var h=y&&c.call(o,'__wrapped__'),x=O&&c.call(u,'__wrapped__');if(h||x){var P=h?o.value():o,k=x?u.value():u;return v||(v=new(r(d[3]))),l(P,k,p,f,v)}}return!!A&&(v||(v=new(r(d[3]))),r(d[7])(o,u,p,f,l,v))}}),542,[543,544,564,566,595,600,606,610]); +__d((function(g,r,i,a,m,e,d){var n=Array.isArray;m.exports=n}),543,[]); +__d((function(g,r,i,a,m,e,d){var t='[object Map]',c='[object Promise]',n='[object Set]',o='[object WeakMap]',s='[object DataView]',u=r(d[0])(r(d[1])),b=r(d[0])(r(d[2])),j=r(d[0])(r(d[3])),w=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),v=r(d[6]);(r(d[1])&&v(new(r(d[1]))(new ArrayBuffer(1)))!=s||r(d[2])&&v(new(r(d[2])))!=t||r(d[3])&&v(r(d[3]).resolve())!=c||r(d[4])&&v(new(r(d[4])))!=n||r(d[5])&&v(new(r(d[5])))!=o)&&(v=function(v){var p=r(d[6])(v),M="[object Object]"==p?v.constructor:void 0,_=M?r(d[0])(M):'';if(_)switch(_){case u:return s;case b:return t;case j:return c;case w:return n;case f:return o}return p}),m.exports=v}),544,[545,546,560,561,562,563,556]); +__d((function(g,r,i,a,m,_e,d){var t=Function.prototype.toString;m.exports=function(n){if(null!=n){try{return t.call(n)}catch(t){}try{return n+''}catch(t){}}return''}}),545,[]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'DataView');m.exports=t}),546,[547,553]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){var t=r(d[0])(n,o);return r(d[1])(t)?t:void 0}}),547,[548,549]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){return null==n?void 0:n[o]}}),548,[]); +__d((function(g,r,i,a,m,e,d){var t=/^\[object .+?Constructor\]$/,o=Function.prototype,n=Object.prototype,c=o.toString,p=n.hasOwnProperty,u=RegExp('^'+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');m.exports=function(o){return!(!r(d[0])(o)||r(d[1])(o))&&(r(d[2])(o)?u:t).test(r(d[3])(o))}}),549,[550,551,555,545]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}}),550,[]); +__d((function(g,r,i,a,m,e,d){var n,c=(n=/[^.]+$/.exec(r(d[0])&&r(d[0]).keys&&r(d[0]).keys.IE_PROTO||''))?'Symbol(src)_1.'+n:'';m.exports=function(n){return!!c&&c in n}}),551,[552]); +__d((function(g,r,i,a,m,e,d){m.exports=r(d[0])['__core-js_shared__']}),552,[553]); +__d((function(g,r,i,a,m,e,d){var t='object'==typeof self&&self&&self.Object===Object&&self,f=r(d[0])||t||Function('return this')();m.exports=f}),553,[554]); +__d((function(g,r,i,a,m,e,d){var t='object'==typeof g&&g&&g.Object===Object&&g;m.exports=t}),554,[]); +__d((function(g,r,i,a,m,e,d){m.exports=function(n){if(!r(d[0])(n))return!1;var t=r(d[1])(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}),555,[550,556]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?r(d[1])(t):r(d[2])(t)}}),556,[557,558,559]); +__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).Symbol}),557,[553]); +__d((function(g,r,i,a,m,_e,d){var t=Object.prototype,o=t.hasOwnProperty,e=t.toString,n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){var c=o.call(t,n),l=t[n];try{t[n]=void 0}catch(t){}var v=e.call(t);return c?t[n]=l:delete t[n],v}}),558,[557]); +__d((function(g,r,i,a,m,e,d){var t=Object.prototype.toString;m.exports=function(n){return t.call(n)}}),559,[]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'Map');m.exports=n}),560,[547,553]); +__d((function(g,r,i,a,m,e,d){var o=r(d[0])(r(d[1]),'Promise');m.exports=o}),561,[547,553]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'Set');m.exports=t}),562,[547,553]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'WeakMap');m.exports=n}),563,[547,553]); +__d((function(g,r,i,a,m,e,d){var o='object'==typeof e&&e&&!e.nodeType&&e,f=o&&'object'==typeof m&&m&&!m.nodeType&&m,t=f&&f.exports===o?r(d[0]).Buffer:void 0,p=(t?t.isBuffer:void 0)||r(d[1]);m.exports=p}),564,[553,565]); +__d((function(g,r,i,a,m,e,d){m.exports=function(){return!1}}),565,[]); +__d((function(g,r,i,a,m,e,d){function t(t){var o=this.__data__=new(r(d[0]))(t);this.size=o.size}t.prototype.clear=r(d[1]),t.prototype.delete=r(d[2]),t.prototype.get=r(d[3]),t.prototype.has=r(d[4]),t.prototype.set=r(d[5]),m.exports=t}),566,[567,575,576,577,578,579]); +__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1}}),573,[570]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__,n=r(d[0])(_,t);return n<0?(++this.size,_.push([t,s])):_[n][1]=s,this}}),574,[570]); +__d((function(g,r,i,a,m,e,d){m.exports=function(){this.__data__=new(r(d[0])),this.size=0}}),575,[567]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t){var _=this.__data__,n=_.delete(t);return this.size=_.size,n}}),576,[]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.get(t)}}),577,[]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.has(t)}}),578,[]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__;if(_ instanceof r(d[0])){var n=_.__data__;if(!r(d[1])||n.length<199)return n.push([t,s]),this.size=++_.size,this;_=this.__data__=new(r(d[2]))(n)}return _.set(t,s),this.size=_.size,this}}),579,[567,560,580]); +__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1&&n%1==0&&n<=9007199254740991}}),599,[]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t,n,f,u,o,v){var l=1&f,s=t.length,c=n.length;if(s!=c&&!(l&&c>s))return!1;var b=v.get(t),h=v.get(n);if(b&&h)return b==n&&h==t;var k=-1,p=!0,_=2&f?new(r(d[0])):void 0;for(v.set(t,n),v.set(n,t);++k-1&&t%1==0&&t=68||c.major>0},e.tagMessage=function(n){return"[react-native-gesture-handler] "+n},e.toArray=function(n){if(!Array.isArray(n))return[n];return n},e.withPrevAndCurrent=function(t,o){var u=[null],i=(0,n.default)(t),s=[];return i.forEach((function(n,t){var i=u[t],c=o(i,n);u.push(c),s.push(c)})),s};var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])).default.version.split('.'),u=(0,t.default)(o,2),i=u[0],s=u[1],c={major:parseInt(i,10),minor:parseInt(s,10)};function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}e.REACT_NATIVE_VERSION=c}),629,[3,27,16,630]); +__d((function(e,s,t,r,i,c,a){i.exports={name:"react-native",version:"0.72.6",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=16"},types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","flow-typed","gradle.properties","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-codegen-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen","!scripts/codegen/__tests__","!scripts/codegen/__test_fixtures__","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/native_modules.rb","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","!scripts/cocoapods/__tests__","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","settings.gradle.kts","template.config.js","template","!template/node_modules","!template/package-lock.json","!template/yarn.lock","third-party-podspecs","types"],scripts:{prepack:"cp ../../README.md ."},peerDependencies:{react:"18.2.0"},dependencies:{"@jest/create-cache-key-function":"^29.2.1","@react-native-community/cli":"11.3.7","@react-native-community/cli-platform-android":"11.3.7","@react-native-community/cli-platform-ios":"11.3.7","@react-native/assets-registry":"^0.72.0","@react-native/codegen":"^0.72.7","@react-native/gradle-plugin":"^0.72.11","@react-native/js-polyfills":"^0.72.1","@react-native/normalize-colors":"^0.72.0","@react-native/virtualized-lists":"^0.72.8","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","deprecated-react-native-prop-types":"4.1.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.5",invariant:"^2.2.4","jest-environment-node":"^29.2.1","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"0.76.8","metro-source-map":"0.76.8",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.2","react-refresh":"^0.4.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.2.2",yargs:"^17.6.2"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}}),630,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;e.State={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5}}),631,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionType=void 0;e.ActionType={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4}}),632,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.findHandler=o,e.findHandlerByTestID=function(n){var t,u=l.get(n);return void 0!==u&&null!=(t=o(u))?t:null},e.findOldGestureHandler=function(n){return t.get(n)},e.getNextHandlerTag=function(){return u++},e.handlerIDToTag=void 0,e.registerHandler=function(t,u,o){n.set(t,u),(0,r(d[0]).isJestEnv)()&&o&&l.set(o,t)},e.registerOldGestureHandler=function(n,l){t.set(n,l)},e.unregisterHandler=function(t,u){n.delete(t),(0,r(d[0]).isJestEnv)()&&u&&l.delete(u)};e.handlerIDToTag={};var n=new Map,t=new Map,l=new Map,u=1;function o(t){return n.get(t)}}),633,[629]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.baseGestureHandlerWithMonitorProps=e.baseGestureHandlerProps=void 0,e.filterConfig=function(n,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Object.assign({},o);for(var u of t){var c=n[u];v=u,void 0===(f=c)||f===Object(f)&&'__isNative'in f||'onHandlerStateChange'===v||'onGestureEvent'===v||('simultaneousHandlers'===u||'waitFor'===u?c=s(n[u]):'hitSlop'===u&&'object'!=typeof c&&(c={top:c,left:c,bottom:c,right:c}),l[u]=c)}var f,v;return l},e.findNodeHandle=function(t){if('web'===n.Platform.OS)return t;return(0,n.findNodeHandle)(t)},e.scheduleFlushOperations=function(){null===c&&(c=requestAnimationFrame((function(){t.default.flushOperations(),c=null})))};var n=r(d[0]),t=r(d[1])(r(d[2])),o=['id','enabled','shouldCancelWhenOutside','hitSlop','cancelsTouchesInView','userSelect'],l=[].concat(o,['waitFor','simultaneousHandlers'],['onBegan','onFailed','onCancelled','onActivated','onEnded','onGestureEvent','onHandlerStateChange']);e.baseGestureHandlerProps=l;var u=[].concat(o,['needsPointerData','manualActivation']);function s(t){return t=(0,r(d[3]).toArray)(t),'web'===n.Platform.OS?t.map((function(n){return n.current})).filter((function(n){return n})):t.map((function(n){var t;return r(d[4]).handlerIDToTag[n]||(null==(t=n.current)?void 0:t.handlerTag)||-1})).filter((function(n){return n>0}))}e.baseGestureHandlerWithMonitorProps=u;var c=null}),634,[1,3,628,629,633]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=(0,r(d[1]).shouldUseCodegenNativeComponent)()?r(d[2]).default:(0,t.requireNativeComponent)('RNGestureHandlerButton');e.default=o}),635,[1,629,636]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('RNGestureHandlerButton');e.default=t}),636,[3,205]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Directions=void 0;e.Directions={RIGHT:1,LEFT:2,UP:4,DOWN:8}}),637,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextInput=e.Switch=e.ScrollView=e.RefreshControl=e.FlatList=e.DrawerLayoutAndroid=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=w(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[4])),u=r(d[5]),f=r(d[0])(r(d[6])),s=["refreshControl","waitFor"],c=["waitFor","refreshControl"];function w(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(w=function(t){return t?o:n})(t)}var p=(0,f.default)(u.RefreshControl,{disallowInterruption:!0,shouldCancelWhenOutside:!1});e.RefreshControl=p;var v=(0,f.default)(u.ScrollView,{disallowInterruption:!0,shouldCancelWhenOutside:!1}),h=l.forwardRef((function(t,u){var f=l.useRef(null),c=t.refreshControl,w=t.waitFor,p=(0,o.default)(t,s);return(0,r(d[7]).jsx)(v,Object.assign({},p,{ref:u,waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=w?w:[])),[f]),refreshControl:c?l.cloneElement(c,{ref:f}):void 0}))}));e.ScrollView=h;var O=(0,f.default)(u.Switch,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!0,disallowInterruption:!0});e.Switch=O;var j=(0,f.default)(u.TextInput);e.TextInput=j;var y=(0,f.default)(u.DrawerLayoutAndroid,{disallowInterruption:!0});e.DrawerLayoutAndroid=y;var C=l.forwardRef((function(f,s){var w=l.useRef(null),p=f.waitFor,v=f.refreshControl,O=(0,o.default)(f,c),j={},y={};for(var C of Object.entries(O)){var b=(0,t.default)(C,2),F=b[0],S=b[1];r(d[9]).nativeViewProps.includes(F)?y[F]=S:j[F]=S}return(0,r(d[7]).jsx)(u.FlatList,Object.assign({ref:s},j,{renderScrollComponent:function(t){return(0,r(d[7]).jsx)(h,Object.assign({},Object.assign({},t,y,{waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=p?p:[])),[w])})))},refreshControl:v?l.cloneElement(v,{ref:w}):void 0}))}));e.FlatList=C}),638,[3,16,27,108,144,1,536,192,629,537]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.flingHandlerName=e.flingGestureHandlerProps=e.FlingGestureHandler=void 0;var n=r(d[0])(r(d[1])),l=r(d[0])(r(d[2])),t=['numberOfPointers','direction'];e.flingGestureHandlerProps=t;var o='FlingGestureHandler';e.flingHandlerName=o;var s=(0,l.default)({name:o,allowedProps:[].concat((0,n.default)(r(d[3]).baseGestureHandlerProps),t),config:{}});e.FlingGestureHandler=s}),639,[3,27,538,634]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.forceTouchHandlerName=_e.forceTouchGestureHandlerProps=_e.ForceTouchGestureHandler=void 0;var e=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),s=r(d[0])(r(d[9]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var v=['minForce','maxForce','feedbackOnActivation'];_e.forceTouchGestureHandlerProps=v;var p=(function(e){(0,c.default)(v,e);var l,f,s=(l=v,f=h(),function(){var e,o=(0,u.default)(l);if(f){var t=(0,u.default)(this).constructor;e=Reflect.construct(o,arguments,t)}else e=o.apply(this,arguments);return(0,n.default)(this,e)});function v(){return(0,o.default)(this,v),s.apply(this,arguments)}return(0,t.default)(v,[{key:"componentDidMount",value:function(){console.warn((0,r(d[10]).tagMessage)('ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'))}},{key:"render",value:function(){return this.props.children}}]),v})(l.default.Component);p.forceTouchAvailable=!1;var T='ForceTouchGestureHandler';_e.forceTouchHandlerName=T;var y=null!=f.default&&f.default.forceTouchAvailable?(0,s.default)({name:T,allowedProps:[].concat((0,e.default)(r(d[11]).baseGestureHandlerProps),v),config:{}}):p;_e.ForceTouchGestureHandler=y,y.forceTouchAvailable=(null==f.default?void 0:f.default.forceTouchAvailable)||!1}),640,[3,27,6,7,44,46,48,144,641,538,629,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,l=r(d[0]),o=null!=(t=null==l.NativeModules?void 0:l.NativeModules.PlatformConstants)?t:l.Platform.constants;e.default=o}),641,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureObjects=void 0;var n=r(d[0])(r(d[1])),t={Tap:function(){return new(r(d[2]).TapGesture)},Pan:function(){return new(r(d[3]).PanGesture)},Pinch:function(){return new(r(d[4]).PinchGesture)},Rotation:function(){return new(r(d[5]).RotationGesture)},Fling:function(){return new(r(d[6]).FlingGesture)},LongPress:function(){return new(r(d[7]).LongPressGesture)},ForceTouch:function(){return new(r(d[8]).ForceTouchGesture)},Native:function(){return new(r(d[9]).NativeGesture)},Manual:function(){return new(r(d[10]).ManualGesture)},Race:function(){for(var t=arguments.length,u=new Array(t),o=0;o0})))?t:[]}function A(e){for(var t of e.config)h.default.dropGestureHandler(t.handlerTag),(0,r(d[18]).unregisterHandler)(t.handlerTag,t.config.testId);(0,r(d[11]).scheduleFlushOperations)()}function L(e){if(!e.config.runOnJS){var t=e.handlers.isWorklet.includes(!1),n=e.handlers.isWorklet.includes(!0);t&&n&&console.error((0,r(d[19]).tagMessage)("Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread."))}}function H(e){var t=e.preparedGesture,n=e.gestureConfig,o=e.gesture,u=e.viewTag,l=e.webEventHandlersRef,i=e.mountedRef;for(var s of(t.firstExecution?t.firstExecution=!1:n.initialize(),setImmediate((function(){i.current&&n.prepare()})),o))L(s),h.default.createGestureHandler(s.handlerName,s.handlerTag,(0,r(d[11]).filterConfig)(s.config,T)),(0,r(d[18]).registerHandler)(s.handlerTag,s,s.config.testId);for(var f of(setImmediate((function(){if(i.current){for(var e of o){var t=[];e.config.requireToFail&&(t=C(e.config.requireToFail));var n=[];e.config.simultaneousWith&&(n=C(e.config.simultaneousWith)),h.default.updateGestureHandler(e.handlerTag,(0,r(d[11]).filterConfig)(e.config,T,{simultaneousHandlers:n,waitFor:t}))}(0,r(d[11]).scheduleFlushOperations)()}})),t.config=o,t.config)){var c=f.shouldUseReanimated?r(d[20]).ActionType.REANIMATED_WORKLET:r(d[20]).ActionType.JS_FUNCTION_NEW_API;'web'===g.Platform.OS?h.default.attachGestureHandler(f.handlerTag,u,r(d[20]).ActionType.JS_FUNCTION_OLD_API,l):h.default.attachGestureHandler(f.handlerTag,u,c)}if(t.animatedHandlers){t.animatedHandlers.value=o.filter((function(e){return e.shouldUseReanimated})).map((function(e){return e.handlers}))}}function w(e,t,n,o){t.prepare();for(var u=0;u3?u-3:0),i=3;i`."))}};return o?(0,r(d[28]).jsx)(B,{ref:C,onGestureHandlerEvent:E.animatedEventHandler,children:e.children}):(0,r(d[28]).jsx)(U,{ref:C,children:e.children})};var U=(function(e){(0,u.default)(h,e);var t,s,f=(t=h,s=E(),function(){var e,n=(0,i.default)(t);if(s){var o=(0,i.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function h(){return(0,n.default)(this,h),f.apply(this,arguments)}return(0,o.default)(h,[{key:"render",value:function(){try{var e=c.default.Children.only(this.props.children);return c.default.cloneElement(e,{collapsable:!1},e.props.children)}catch(e){throw new Error((0,r(d[19]).tagMessage)("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."))}}}]),h})(c.default.Component),B=null!=(e=null==r(d[22]).Reanimated||null==(t=r(d[22]).Reanimated.default)?void 0:t.createAnimatedComponent(U))?e:U}),654,[3,6,7,44,46,48,16,27,144,628,1,634,655,656,657,640,639,644,633,629,632,658,659,631,660,661,662,663,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.tapHandlerName=e.tapGestureHandlerProps=e.TapGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['maxDurationMs','maxDelayMs','numberOfTaps','maxDeltaX','maxDeltaY','maxDist','minPointers'];e.tapGestureHandlerProps=l;var s='TapGestureHandler';e.tapHandlerName=s;var u=(0,n.default)({name:s,allowedProps:[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.TapGestureHandler=u}),655,[3,27,538,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PanGestureHandler=void 0,e.managePanProps=c,e.panHandlerName=e.panGestureHandlerProps=e.panGestureHandlerCustomNativeProps=void 0;var f=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=['activeOffsetY','activeOffsetX','failOffsetY','failOffsetX','minDist','minVelocity','minVelocityX','minVelocityY','minPointers','maxPointers','avgTouches','enableTrackpadTwoFingerGesture','activateAfterLongPress'];e.panGestureHandlerProps=s;var O=['activeOffsetYStart','activeOffsetYEnd','activeOffsetXStart','activeOffsetXEnd','failOffsetYStart','failOffsetYEnd','failOffsetXStart','failOffsetXEnd'];e.panGestureHandlerCustomNativeProps=O;var n='PanGestureHandler';e.panHandlerName=n;var l=(0,t.default)({name:n,allowedProps:[].concat((0,f.default)(r(d[3]).baseGestureHandlerProps),s),config:{},transformProps:c,customNativeProps:O});function v(f){var t=Object.assign({},f);return void 0!==f.activeOffsetX&&(delete t.activeOffsetX,Array.isArray(f.activeOffsetX)?(t.activeOffsetXStart=f.activeOffsetX[0],t.activeOffsetXEnd=f.activeOffsetX[1]):f.activeOffsetX<0?t.activeOffsetXStart=f.activeOffsetX:t.activeOffsetXEnd=f.activeOffsetX),void 0!==f.activeOffsetY&&(delete t.activeOffsetY,Array.isArray(f.activeOffsetY)?(t.activeOffsetYStart=f.activeOffsetY[0],t.activeOffsetYEnd=f.activeOffsetY[1]):f.activeOffsetY<0?t.activeOffsetYStart=f.activeOffsetY:t.activeOffsetYEnd=f.activeOffsetY),void 0!==f.failOffsetX&&(delete t.failOffsetX,Array.isArray(f.failOffsetX)?(t.failOffsetXStart=f.failOffsetX[0],t.failOffsetXEnd=f.failOffsetX[1]):f.failOffsetX<0?t.failOffsetXStart=f.failOffsetX:t.failOffsetXEnd=f.failOffsetX),void 0!==f.failOffsetY&&(delete t.failOffsetY,Array.isArray(f.failOffsetY)?(t.failOffsetYStart=f.failOffsetY[0],t.failOffsetYEnd=f.failOffsetY[1]):f.failOffsetY<0?t.failOffsetYStart=f.failOffsetY:t.failOffsetYEnd=f.failOffsetY),t}function c(f){return v(f)}e.PanGestureHandler=l}),656,[3,27,538,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.longPressHandlerName=e.longPressGestureHandlerProps=e.LongPressGestureHandler=void 0;var s=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['minDurationMs','maxDist'];e.longPressGestureHandlerProps=l;var o='LongPressGestureHandler';e.longPressHandlerName=o;var t=(0,n.default)({name:o,allowedProps:[].concat((0,s.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.LongPressGestureHandler=t}),657,[3,27,538,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TouchEventType=void 0;e.TouchEventType={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4}}),658,[]); +__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.Reanimated=void 0,_e.Reanimated=e;try{if(_e.Reanimated=e=r(d[0]),!e.useSharedValue)throw _e.Reanimated=e=void 0,new Error('react-native-reanimated is not found');e.setGestureState||(e.setGestureState=function(){console.warn((0,r(d[1]).tagMessage)('Please use newer version of react-native-reanimated in order to control state of the gestures.'))})}catch(e){}}),659,[629]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureStateManager=void 0;var t=(0,r(d[0]).tagMessage)('react-native-reanimated is required in order to use synchronous state management'),n=void 0!==(null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.useSharedValue),o=null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.setGestureState,u={create:function(u){return{begin:function(){n?o(u,r(d[2]).State.BEGAN):console.warn(t)},activate:function(){n?o(u,r(d[2]).State.ACTIVE):console.warn(t)},fail:function(){n?o(u,r(d[2]).State.FAILED):console.warn(t)},end:function(){n?o(u,r(d[2]).State.END):console.warn(t)}}}};e.GestureStateManager=u}),660,[629,659,631]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.onGestureHandlerEvent=E,e.startListening=function(){T(),l=n.DeviceEventEmitter.addListener('onGestureHandlerEvent',E),t=n.DeviceEventEmitter.addListener('onGestureHandlerStateChange',E)},e.stopListening=T;var n=r(d[0]),l=null,t=null,o=new Map,s=[];function h(n){return null!=n.oldState}function u(n){return null!=n.eventType}function E(n){var l,t,E,T,c=(0,r(d[1]).findHandler)(n.handlerTag);if(c)if(h(n))n.oldState===r(d[2]).State.UNDETERMINED&&n.state===r(d[2]).State.BEGAN?null==c.handlers.onBegin||c.handlers.onBegin(n):n.oldState!==r(d[2]).State.BEGAN&&n.oldState!==r(d[2]).State.UNDETERMINED||n.state!==r(d[2]).State.ACTIVE?n.oldState!==n.state&&n.state===r(d[2]).State.END?(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!0)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!0),s[c.handlers.handlerTag]=void 0):n.state!==r(d[2]).State.FAILED&&n.state!==r(d[2]).State.CANCELLED||n.oldState===n.state||(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!1)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!1),o.delete(n.handlerTag),s[c.handlers.handlerTag]=void 0):(null==c.handlers.onStart||c.handlers.onStart(n),s[c.handlers.handlerTag]=n);else if(u(n)){o.has(n.handlerTag)||o.set(n.handlerTag,r(d[3]).GestureStateManager.create(n.handlerTag));var v=o.get(n.handlerTag);switch(n.eventType){case r(d[4]).TouchEventType.TOUCHES_DOWN:null==(l=c.handlers)||null==l.onTouchesDown||l.onTouchesDown(n,v);break;case r(d[4]).TouchEventType.TOUCHES_MOVE:null==(t=c.handlers)||null==t.onTouchesMove||t.onTouchesMove(n,v);break;case r(d[4]).TouchEventType.TOUCHES_UP:null==(E=c.handlers)||null==E.onTouchesUp||E.onTouchesUp(n,v);break;case r(d[4]).TouchEventType.TOUCHES_CANCELLED:null==(T=c.handlers)||null==T.onTouchesCancelled||T.onTouchesCancelled(n,v)}}else null==c.handlers.onUpdate||c.handlers.onUpdate(n),c.handlers.onChange&&c.handlers.changeEventCalculator&&(null==c.handlers.onChange||c.handlers.onChange(null==c.handlers.changeEventCalculator?void 0:c.handlers.changeEventCalculator(n,s[c.handlers.handlerTag])),s[c.handlers.handlerTag]=n);else{var S=(0,r(d[1]).findOldGestureHandler)(n.handlerTag);if(S){var C={nativeEvent:n};return void(h(n)?S.onGestureStateChange(C):S.onGestureEvent(C))}}}function T(){l&&(l.remove(),l=null),t&&(t.remove(),t=null)}}),661,[1,633,631,660,658]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.enableExperimentalWebImplementation=function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if('web'!==n.Platform.OS||t===o)return;if(l)return void console.error('Some parts of this application have already started using old gesture handler implementation. No changes will be applied. You can try enabling new implementation earlier.');t=o},e.isExperimentalWebImplementationEnabled=function(){return l=!0,t};var n=r(d[0]),t=!1,l=!1}),662,[1]); +__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.getShadowNodeFromRef=function(n){if(void 0===e)try{e=r(d[0]).findHostInstance_DEPRECATED}catch(n){e=function(e){return null}}return e(n)._internalInstanceHandle.stateNode.node}}),663,[37]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.pinchHandlerName=e.PinchGestureHandler=void 0;var n=r(d[0])(r(d[1])),l='PinchGestureHandler';e.pinchHandlerName=l;var c=(0,n.default)({name:l,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.PinchGestureHandler=c}),664,[3,538,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.rotationHandlerName=e.RotationGestureHandler=void 0;var o=r(d[0])(r(d[1])),t='RotationGestureHandler';e.rotationHandlerName=t;var n=(0,o.default)({name:t,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.RotationGestureHandler=n}),665,[3,538,634]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return u.default}});var t=r(d[0])(r(d[1])),u=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]))}),666,[3,667,668,670,671]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TouchableNativeFeedback;e.default=t}),667,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var u=t.forwardRef((function(t,f){return(0,r(d[3]).jsx)(n.default,Object.assign({ref:f},t))}));u.defaultProps=n.default.defaultProps;var o=u;e.default=o}),668,[144,3,669,192]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.TOUCHABLE_STATE=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var s=p(e);if(s&&s.has(t))return s.get(t);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var u=n?Object.getOwnPropertyDescriptor(t,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=t[l]}o.default=t,s&&s.set(t,o);return o})(r(d[6])),u=r(d[7]);function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,s=new WeakMap;return(p=function(t){return t?s:e})(t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var h={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};_e.TOUCHABLE_STATE=h;var T=(function(l){(0,s.default)(E,l);var p,T,f=(p=E,T=c(),function(){var t,e=(0,n.default)(p);if(T){var s=(0,n.default)(this).constructor;t=Reflect.construct(e,arguments,s)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function E(){var e;(0,t.default)(this,E);for(var s=arguments.length,o=new Array(s),n=0;n0:b,y=t.overshootRight,A=void 0===y?O>0:y,W=u.Animated.add(p,l.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-O-1,-O,h,h+1],outputRange:[-O-(A?1/s:0),-O,h,h+(R?1/s:0)]});o.transX=W,o.showLeftAction=h>0?W.interpolate({inputRange:[-1,0,h],outputRange:[0,0,1]}):new u.Animated.Value(0),o.leftActionTranslate=o.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o.showRightAction=O>0?W.interpolate({inputRange:[-O,0,1],outputRange:[1,0,0]}):new u.Animated.Value(0),o.rightActionTranslate=o.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o.onTapHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.close()},o.onHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.handleRelease(t)},o.handleRelease=function(t){var e=t.nativeEvent,n=e.velocityX,s=e.translationX,l=o.state,p=l.leftWidth,u=void 0===p?0:p,f=l.rowWidth,h=void 0===f?0:f,c=l.rowState,v=o.state.rightOffset,w=h-(void 0===v?h:v),S=o.props,O=S.friction,b=S.leftThreshold,R=void 0===b?u/2:b,y=S.rightThreshold,A=void 0===y?w/2:y,W=o.currentOffset()+s/O,j=(s+.05*n)/O,L=0;0===c?j>R?L=u:j<-A&&(L=-w):1===c?j>-R&&(L=u):j0)null==o.props.onSwipeableLeftOpen||o.props.onSwipeableLeftOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('left',(0,n.default)(o));else if(e<0)null==o.props.onSwipeableRightOpen||o.props.onSwipeableRightOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('right',(0,n.default)(o));else{var l=t>0?'left':'right';null==o.props.onSwipeableClose||o.props.onSwipeableClose(l,(0,n.default)(o))}})),e>0)null==o.props.onSwipeableLeftWillOpen||o.props.onSwipeableLeftWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('left');else if(e<0)null==o.props.onSwipeableRightWillOpen||o.props.onSwipeableRightWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('right');else{var h=t>0?'left':'right';null==o.props.onSwipeableWillClose||o.props.onSwipeableWillClose(h)}},o.onRowLayout=function(t){var e=t.nativeEvent;o.setState({rowWidth:e.layout.width})},o.currentOffset=function(){var t=o.state,e=t.leftWidth,n=void 0===e?0:e,s=t.rowWidth,l=void 0===s?0:s,p=t.rowState,u=o.state.rightOffset;return 1===p?n:-1===p?-(l-(void 0===u?l:u)):0},o.close=function(){o.animateRow(o.currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,e=void 0===t?0:t;o.animateRow(o.currentOffset(),e)},o.openRight=function(){var t=o.state.rowWidth,e=void 0===t?0:t,n=o.state.rightOffset,s=e-(void 0===n?e:n);o.animateRow(o.currentOffset(),-s)};var s=new u.Animated.Value(0);return o.state={dragX:s,rowTranslation:new u.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o.updateAnimatedEvent(e,o.state),o.onGestureEvent=u.Animated.event([{nativeEvent:{translationX:s}}],{useNativeDriver:e.useNativeAnimations}),o}return(0,e.default)(S,[{key:"shouldComponentUpdate",value:function(t,e){return this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===e.leftWidth&&this.state.rightOffset===e.rightOffset&&this.state.rowWidth===e.rowWidth||this.updateAnimatedEvent(t,e),!0}},{key:"render",value:function(){var t=this,e=this.state.rowState,n=this.props,o=n.children,s=n.renderLeftActions,l=n.renderRightActions,p=s&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.leftActions,{transform:[{translateX:this.leftActionTranslate}]}],children:[s(this.showLeftAction,this.transX),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({leftWidth:n.layout.x})}})]}),f=l&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.rightActions,{transform:[{translateX:this.rightActionTranslate}]}],children:[l(this.showRightAction,this.transX,this),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({rightOffset:n.layout.x})}})]});return(0,r(d[10]).jsx)(r(d[11]).PanGestureHandler,Object.assign({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange,children:(0,r(d[10]).jsxs)(u.Animated.View,{onLayout:this.onRowLayout,style:[v.container,this.props.containerStyle],children:[p,f,(0,r(d[10]).jsx)(r(d[12]).TapGestureHandler,{enabled:0!==e,onHandlerStateChange:this.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(u.Animated.View,{pointerEvents:0===e?'auto':'box-only',style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle],children:o})})]})}))}}]),S})(p.Component);_e.default=c,c.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var v=u.StyleSheet.create({container:{overflow:'hidden'},leftActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row-reverse':'row'}),rightActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row':'row-reverse'})})}),678,[3,6,7,47,44,46,48,144,1,631,192,656,655]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=s?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[6])),u=r(d[0])(r(d[7])),p=r(d[8]);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var f='Idle',h='Dragging',v='Settling',S=(function(c){(0,n.default)(A,c);var S,b,V=(S=A,b=w(),function(){var e,t=(0,s.default)(S);if(b){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function A(t){var n;(0,e.default)(this,A),(n=V.call(this,t)).accessibilityIsModalView=l.createRef(),n.pointerEventsView=l.createRef(),n.panGestureHandler=l.createRef(),n.drawerShown=!1,n.updateAnimatedEvent=function(e,t){var o=e.drawerPosition,s=e.drawerWidth,l=e.drawerType,u=t.dragX,c=t.touchX,w=t.drawerTranslation,f=t.containerWidth,h=u,v=c;'left'!==o?(h=p.Animated.multiply(new p.Animated.Value(-1),u),v=p.Animated.add(new p.Animated.Value(f),p.Animated.multiply(new p.Animated.Value(-1),c)),c.setValue(f)):c.setValue(0);var S=h;if('front'===l){var y=p.Animated.add(v,p.Animated.multiply(new p.Animated.Value(-1),h)).interpolate({inputRange:[s-1,s,s+1],outputRange:[0,0,1]});S=p.Animated.add(h,y)}n.openValue=p.Animated.add(S,w).interpolate({inputRange:[0,s],outputRange:[0,1],extrapolate:'clamp'});var b={useNativeDriver:e.useNativeAnimations};n.props.onDrawerSlide&&(b.listener=function(e){var t=Math.floor(Math.abs(e.nativeEvent.translationX))/n.state.containerWidth;null==n.props.onDrawerSlide||n.props.onDrawerSlide(t)}),n.onGestureEvent=p.Animated.event([{nativeEvent:{translationX:u,x:c}}],b)},n.handleContainerLayout=function(e){var t=e.nativeEvent;n.setState({containerWidth:t.layout.width})},n.emitStateChanged=function(e,t){null==n.props.onDrawerStateChanged||n.props.onDrawerStateChanged(e,t)},n.openingHandlerStateChange=function(e){var t=e.nativeEvent;t.oldState===r(d[9]).State.ACTIVE?n.handleRelease({nativeEvent:t}):t.state===r(d[9]).State.ACTIVE&&(n.emitStateChanged(h,!1),n.setState({drawerState:h}),'on-drag'===n.props.keyboardDismissMode&&p.Keyboard.dismiss(),n.props.hideStatusBar&&p.StatusBar.setHidden(!0,n.props.statusBarAnimation||'slide'))},n.onTapHandlerStateChange=function(e){var t=e.nativeEvent;n.drawerShown&&t.oldState===r(d[9]).State.ACTIVE&&'locked-open'!==n.props.drawerLockMode&&n.closeDrawer()},n.handleRelease=function(e){var t=e.nativeEvent,o=n.props,s=o.drawerWidth,l=o.drawerPosition,u=o.drawerType,p=n.state.containerWidth,c=t.translationX,w=t.velocityX,f=t.x;'left'!==l&&(c=-c,f=p-f,w=-w);var h=f-c,v=0;'front'===u&&(v=h>s?h-s:0);var S=c+v+(n.drawerShown?s:0);S+.05*w>s/2?n.animateDrawer(S,s,w):n.animateDrawer(S,0,w)},n.updateShowing=function(e){var t,o,s;n.drawerShown=e,null==(t=n.accessibilityIsModalView.current)||t.setNativeProps({accessibilityViewIsModal:e}),null==(o=n.pointerEventsView.current)||o.setNativeProps({pointerEvents:e?'auto':'none'});var l=n.props,u=l.drawerPosition,p=l.minSwipeDistance,c=l.edgeWidth,w='left'===u,f=(w?1:-1)*(n.drawerShown?-1:1),h=w?{left:0,width:e?void 0:c}:{right:0,width:e?void 0:c};null==(s=n.panGestureHandler.current)||s.setNativeProps({hitSlop:h,activeOffsetX:f*p})},n.animateDrawer=function(e,t,o,s){if(n.state.dragX.setValue(0),n.state.touchX.setValue('left'===n.props.drawerPosition?0:n.state.containerWidth),null!=e){var l=e;n.props.useNativeAnimations&&(e0?l=Math.min(e+o/60,t):e>t&&o<0&&(l=Math.max(e+o/60,t))),n.state.drawerTranslation.setValue(l)}var u=0!==t;n.updateShowing(u),n.emitStateChanged(v,u),n.setState({drawerState:v}),n.props.hideStatusBar&&p.StatusBar.setHidden(u,n.props.statusBarAnimation||'slide'),p.Animated.spring(n.state.drawerTranslation,{velocity:o,bounciness:0,toValue:t,useNativeDriver:n.props.useNativeAnimations,speed:null!=s?s:void 0}).start((function(e){e.finished&&(n.emitStateChanged(f,u),n.setState({drawerOpened:u}),n.state.drawerState!==h&&n.setState({drawerState:f}),u?null==n.props.onDrawerOpen||n.props.onDrawerOpen():null==n.props.onDrawerClose||n.props.onDrawerClose())}))},n.openDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,n.props.drawerWidth,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,0,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.renderOverlay=function(){(0,u.default)(n.openValue,'should be set');var e={opacity:n.state.drawerState!==f?n.openValue:n.state.drawerOpened?1:0,backgroundColor:n.props.overlayColor};return(0,r(d[10]).jsx)(r(d[11]).TapGestureHandler,{onHandlerStateChange:n.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:n.drawerShown?'auto':'none',ref:n.pointerEventsView,style:[y.overlay,e]})})},n.renderDrawer=function(){var e,t=n.props,o=t.drawerBackgroundColor,s=t.drawerWidth,l=t.drawerPosition,c=t.drawerType,w=t.drawerContainerStyle,h=t.contentContainerStyle,v='left'===l,S='back'!==c,b='front'!==c,V=p.I18nManager.isRTL?v:!v,A={backgroundColor:o,width:s},O=n.openValue;((0,u.default)(O,'should be set'),b)&&(e={transform:[{translateX:O.interpolate({inputRange:[0,1],outputRange:v?[0,s]:[0,-s],extrapolate:'clamp'})}]});var C=0;if(S){var D=v?-s:s;C=n.state.drawerState!==f?O.interpolate({inputRange:[0,1],outputRange:[D,0],extrapolate:'clamp'}):n.state.drawerOpened?0:D}var R={transform:[{translateX:C}],flexDirection:V?'row-reverse':'row'};return(0,r(d[10]).jsxs)(p.Animated.View,{style:y.main,onLayout:n.handleContainerLayout,children:[(0,r(d[10]).jsxs)(p.Animated.View,{style:['front'===c?y.containerOnBack:y.containerInFront,e,h],importantForAccessibility:n.drawerShown?'no-hide-descendants':'yes',children:['function'==typeof n.props.children?n.props.children(n.openValue):n.props.children,n.renderOverlay()]}),(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:"box-none",ref:n.accessibilityIsModalView,accessibilityViewIsModal:n.drawerShown,style:[y.drawerContainer,R,w],children:(0,r(d[10]).jsx)(p.View,{style:A,children:n.props.renderNavigationView(n.openValue)})})]})},n.setPanGestureRef=function(e){n.panGestureHandler.current=e,null==n.props.onGestureRef||n.props.onGestureRef(e)};var o=new p.Animated.Value(0),s=new p.Animated.Value(0),c=new p.Animated.Value(0);return n.state={dragX:o,touchX:s,drawerTranslation:c,containerWidth:0,drawerState:f,drawerOpened:!1},n.updateAnimatedEvent(t,n.state),n}return(0,t.default)(A,[{key:"shouldComponentUpdate",value:function(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}},{key:"render",value:function(){var e=this.props,t=e.drawerPosition,n=e.drawerLockMode,o=e.edgeWidth,s=e.minSwipeDistance,l='left'===t,u=(l?1:-1)*(this.drawerShown?-1:1),p=l?{left:0,width:this.drawerShown?void 0:o}:{right:0,width:this.drawerShown?void 0:o};return(0,r(d[10]).jsx)(r(d[12]).PanGestureHandler,{userSelect:this.props.userSelect,ref:this.setPanGestureRef,hitSlop:p,activeOffsetX:u*s,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:'locked-closed'!==n&&'locked-open'!==n,children:this.renderDrawer()})}}]),A})(l.Component);_e.default=S,S.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked',enableTrackpadTwoFingerGesture:!1},S.positions={Left:'left',Right:'right'};var y=p.StyleSheet.create({drawerContainer:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:Object.assign({},p.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1e3})})}),679,[3,6,7,44,46,48,144,14,1,631,192,655,656]); +__d((function(g,r,_i,a,m,_e,_d){'use strict';var e,t=this&&this.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)},function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n20,h=R.width>R.height,x=h?0:10,v=f.top,S=R.height/R.width,w=o(u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),A=0===l,Y=p(w.interpolate({inputRange:[0,1,2],outputRange:[R.height,A?0:x,(A?v:0)-x*S]}),c),B=w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),F=h?1:w.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*x/R.width:1]}),O=h?0:A?w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,y?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomLeftRadius:y?O:0,borderBottomRightRadius:y?O:0,marginTop:A?0:v,marginBottom:A?0:x,transform:[{translateY:Y},{scale:F}]},overlayStyle:{opacity:B}}},e.forNoAnimation=function(){return{}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,l=t.inverted,u=t.layouts.screen,s=p(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),l),c=p(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),l),R=o?p(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),l):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var p=t.current,l=t.next,u=t.closing,s=o(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),l?l.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.75,.875,1,1.0825,1.2075,2],outputRange:[0,0,1,1,1,1,0]}),R=(0,n.default)(u,p.progress.interpolate({inputRange:[0,1],outputRange:[.925,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.075]}));return{cardStyle:{opacity:c,transform:[{scale:R}]}}},e.forVerticalIOS=function(t){var n=t.current,o=t.inverted,l=t.layouts.screen;return{cardStyle:{transform:[{translateY:p(n.progress.interpolate({inputRange:[0,1],outputRange:[l.height,0],extrapolate:'clamp'}),o)}]}}};var t=r(d[0]),n=r(d[1])(r(d[2])),o=t.Animated.add,p=t.Animated.multiply}),685,[1,3,686]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l,o){return n(u(t,l),u(t.interpolate({inputRange:[0,1],outputRange:[1,0]}),o))};var t=r(d[0]),n=t.Animated.add,u=t.Animated.multiply}),686,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.forFade=function(t){var o=t.current,p=t.next,u=n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),l=u.interpolate({inputRange:[0,1,2],outputRange:[0,1,0]});return{leftButtonStyle:{opacity:l},rightButtonStyle:{opacity:l},titleStyle:{opacity:l},backgroundStyle:{opacity:u.interpolate({inputRange:[0,1,1.9,2],outputRange:[0,1,1,0]})}}},e.forNoAnimation=function(){return{}},e.forSlideLeft=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.width,0,l.width]:[l.width,0,-l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideRight=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[l.width,0,-l.width]:[-l.width,0,l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideUp=function(t){var o=t.current,p=t.next,u=t.layouts.header,l=[{translateY:n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:[-u.height,0,-u.height]})}];return{leftButtonStyle:{transform:l},rightButtonStyle:{transform:l},titleStyle:{transform:l},backgroundStyle:{transform:l}}},e.forUIKit=function(o){var p=o.current,u=o.next,l=o.layouts,s=l.leftLabel?(l.screen.width-l.leftLabel.width)/2-27:100,R=l.title?(l.screen.width-l.title.width)/2-27:100,c=l.screen.width/4,f=n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0);return{leftButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},leftLabelStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-c,0,s]:[s,0,-c]})}]},rightButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},titleStyle:{opacity:f.interpolate({inputRange:[0,.4,1,1.5],outputRange:[0,.1,1,0]}),transform:[{translateX:f.interpolate({inputRange:[.5,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-R,0,c]:[c,0,-R]})}]},backgroundStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.screen.width,0,l.screen.width]:[l.screen.width,0,-l.screen.width]})}]}}};var t=r(d[0]),n=t.Animated.add}),687,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SlideFromRightIOS=e.ScaleFromCenterAndroid=e.RevealFromBottomAndroid=e.ModalTransition=e.ModalSlideFromBottomIOS=e.ModalPresentationIOS=e.ModalFadeTransition=e.FadeFromBottomAndroid=e.DefaultTransition=e.BottomSheetAndroid=void 0;var o=r(d[0]),t={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forHorizontalIOS,headerStyleInterpolator:r(d[3]).forFade};e.SlideFromRightIOS=t;var n={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forVerticalIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalSlideFromBottomIOS=n;var l={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forModalPresentationIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalPresentationIOS=l;var S={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).FadeInFromBottomAndroidSpec,close:r(d[1]).FadeOutToBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forFadeFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.FadeFromBottomAndroid=S;var c={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).RevealFromBottomAndroidSpec,close:r(d[1]).RevealFromBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forRevealFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.RevealFromBottomAndroid=c;var p={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).ScaleFromCenterAndroidSpec,close:r(d[1]).ScaleFromCenterAndroidSpec},cardStyleInterpolator:r(d[2]).forScaleFromCenterAndroid,headerStyleInterpolator:r(d[3]).forFade};e.ScaleFromCenterAndroid=p;var s={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forBottomSheetAndroid,headerStyleInterpolator:r(d[3]).forFade};e.BottomSheetAndroid=s;var F={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forFadeFromCenter,headerStyleInterpolator:r(d[3]).forFade};e.ModalFadeTransition=F;var I=o.Platform.select({ios:t,android:o.Platform.Version>=29?p:o.Platform.Version>=28?c:S,default:p});e.DefaultTransition=I;var f=o.Platform.select({ios:l,default:s});e.ModalTransition=f}),688,[1,689,685,687]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TransitionIOSSpec=e.ScaleFromCenterAndroidSpec=e.RevealFromBottomAndroidSpec=e.FadeOutToBottomAndroidSpec=e.FadeInFromBottomAndroidSpec=e.BottomSheetSlideOutSpec=e.BottomSheetSlideInSpec=void 0;var n=r(d[0]);e.TransitionIOSSpec={animation:'spring',config:{stiffness:1e3,damping:500,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}};var o={animation:'timing',config:{duration:350,easing:n.Easing.out(n.Easing.poly(5))}};e.FadeInFromBottomAndroidSpec=o;var t={animation:'timing',config:{duration:150,easing:n.Easing.in(n.Easing.linear)}};e.FadeOutToBottomAndroidSpec=t;var c={animation:'timing',config:{duration:425,easing:n.Easing.bezier(.35,.45,0,1)}};e.RevealFromBottomAndroidSpec=c;var s={animation:'timing',config:{duration:400,easing:n.Easing.bezier(.35,.45,0,1)}};e.ScaleFromCenterAndroidSpec=s;var S={animation:'timing',config:{duration:250,easing:function(n){return Math.cos((n+1)*Math.PI)/2+.5}}};e.BottomSheetSlideInSpec=S;var p={animation:'timing',config:{duration:200,easing:function(n){return 1===n?1:Math.pow(n,2)}}};e.BottomSheetSlideOutSpec=p}),689,[1]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=s?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=["id","initialRouteName","children","screenListeners","screenOptions"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=(0,r(d[5]).createNavigatorFactory)((function(c){var u=c.id,l=c.initialRouteName,p=c.children,f=c.screenListeners,v=c.screenOptions,h=(0,e.default)(c,s),k=h.mode;(0,n.default)(null!=k,"Stack Navigator: 'mode=\""+k+"\"' is deprecated. Use 'presentation: \""+k+"\"' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator#presentation for more details.");var b=h.headerMode;(0,n.default)('none'===b,"Stack Navigator: 'headerMode=\"none\"' is deprecated. Use 'headerShown: false' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headershown for more details."),(0,n.default)(null!=b&&'none'!==b,"Stack Navigator: 'headerMode' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headermode for more details.");var O=h.keyboardHandlingEnabled;(0,n.default)(void 0!==O,"Stack Navigator: 'keyboardHandlingEnabled' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#keyboardhandlingenabled for more details.");var y={presentation:k,headerShown:!b||'none'!==b,headerMode:b&&'none'!==b?b:void 0,keyboardHandlingEnabled:O},S=(0,r(d[5]).useNavigationBuilder)(r(d[5]).StackRouter,{id:u,initialRouteName:l,children:p,screenListeners:f,screenOptions:v,defaultScreenOptions:y}),j=S.state,M=S.descriptors,N=S.navigation,w=S.NavigationContent;return t.useEffect((function(){return null==N.addListener?void 0:N.addListener('tabPress',(function(e){var t=N.isFocused();requestAnimationFrame((function(){j.index>0&&t&&!e.defaultPrevented&&N.dispatch(Object.assign({},r(d[5]).StackActions.popToTop(),{target:j.key}))}))}))}),[N,j.index,j.key]),(0,r(d[6]).jsx)(w,{children:(0,r(d[6]).jsx)(o.default,Object.assign({},h,{state:j,descriptors:M,navigation:N}))})}));_e.default=u}),690,[3,108,144,691,692,438,192]); +__d((function(g,r,i,a,m,e,d){new Set;m.exports=function(n){}}),691,[]); +__d((function(g,_r,i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),o=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=_r(d[0])(_r(d[7])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=k(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=o?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(n,u,s):n[u]=e[u]}n.default=e,r&&r.set(e,n);return n})(_r(d[8])),c=_r(d[9]),l=_r(d[0])(_r(d[10])),f=_r(d[0])(_r(d[11])),p=_r(d[0])(_r(d[12])),y=["state","descriptors"];function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(k=function(e){return e?r:t})(e)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var h=null!=_r(d[13]).GestureHandlerRootView?_r(d[13]).GestureHandlerRootView:c.View,R=(function(a){(0,o.default)(S,a);var c,k,R=(c=S,k=v(),function(){var e,t=(0,s.default)(c);if(k){var r=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(){var e;(0,r.default)(this,S);for(var t=arguments.length,n=new Array(t),o=0;oo.height;n='ios'===t.Platform.OS?t.Platform.isPad||t.Platform.isTV?f?56:50:u?32:f?56:44:'android'===t.Platform.OS?56:64;return n+l};var t=r(d[0])}),701,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l){return'string'==typeof t.headerTitle?t.headerTitle:void 0!==t.title?t.title:l}}),702,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var c=(0,r(d[8]).useSafeAreaInsets)(),y=(0,r(d[8]).useSafeAreaFrame)(),R=o.useContext(h.default),C=f.layout,S=void 0===C?y:C,w=f.modal,x=void 0!==w&&w,v=f.title,W=f.headerTitle,T=f.headerTitleAlign,B=void 0===T?n.Platform.select({ios:'center',default:'left'}):T,j=f.headerLeft,E=f.headerLeftLabelVisible,O=f.headerTransparent,L=f.headerTintColor,V=f.headerBackground,A=f.headerRight,P=f.headerTitleAllowFontScaling,k=f.headerTitleStyle,H=f.headerLeftContainerStyle,M=f.headerRightContainerStyle,_=f.headerTitleContainerStyle,F=f.headerBackgroundContainerStyle,I=f.headerStyle,D=f.headerShadowVisible,z=f.headerPressColor,G=f.headerPressOpacity,q=f.headerStatusBarHeight,J=void 0===q?R?0:c.top:q,K=(0,l.default)(S,x,J),N=n.StyleSheet.flatten(I||{}),Q=N.height,U=void 0===Q?K:Q,X=N.minHeight,Y=N.maxHeight,Z=N.backgroundColor,$=N.borderBottomColor,ee=N.borderBottomEndRadius,te=N.borderBottomLeftRadius,re=N.borderBottomRightRadius,oe=N.borderBottomStartRadius,de=N.borderBottomWidth,ie=N.borderColor,ae=N.borderEndColor,ne=N.borderEndWidth,le=N.borderLeftColor,se=N.borderLeftWidth,he=N.borderRadius,be=N.borderRightColor,ue=N.borderRightWidth,fe=N.borderStartColor,pe=N.borderStartWidth,ce=N.borderStyle,ge=N.borderTopColor,ye=N.borderTopEndRadius,me=N.borderTopLeftRadius,Re=N.borderTopRightRadius,Ce=N.borderTopStartRadius,Se=N.borderTopWidth,we=N.borderWidth,xe=N.boxShadow,ve=N.elevation,We=N.shadowColor,Te=N.shadowOffset,Be=N.shadowOpacity,je=N.shadowRadius,Ee=N.opacity,Oe=N.transform,Le=((0,t.default)(N,u),{backgroundColor:Z,borderBottomColor:$,borderBottomEndRadius:ee,borderBottomLeftRadius:te,borderBottomRightRadius:re,borderBottomStartRadius:oe,borderBottomWidth:de,borderColor:ie,borderEndColor:ae,borderEndWidth:ne,borderLeftColor:le,borderLeftWidth:se,borderRadius:he,borderRightColor:be,borderRightWidth:ue,borderStartColor:fe,borderStartWidth:pe,borderStyle:ce,borderTopColor:ge,borderTopEndRadius:ye,borderTopLeftRadius:me,borderTopRightRadius:Re,borderTopStartRadius:Ce,borderTopWidth:Se,borderWidth:we,boxShadow:xe,elevation:ve,shadowColor:We,shadowOffset:Te,shadowOpacity:Be,shadowRadius:je,opacity:Ee,transform:Oe});for(var Ve in Le)void 0===Le[Ve]&&delete Le[Ve];var Ae=[Le,!1===D&&{elevation:0,shadowOpacity:0,borderBottomWidth:0}],Pe=j?j({tintColor:L,pressColor:z,pressOpacity:G,labelVisible:E}):null,ke=A?A({tintColor:L,pressColor:z,pressOpacity:G}):null,He='function'!=typeof W?function(t){return(0,r(d[9]).jsx)(b.default,Object.assign({},t))}:W;return(0,r(d[9]).jsxs)(o.Fragment,{children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[n.StyleSheet.absoluteFill,{zIndex:0},F],children:V?V({style:Ae}):O?null:(0,r(d[9]).jsx)(s.default,{style:Ae})}),(0,r(d[9]).jsxs)(n.Animated.View,{pointerEvents:"box-none",style:[{height:U,minHeight:X,maxHeight:Y,opacity:Ee,transform:Oe}],children:[(0,r(d[9]).jsx)(n.View,{pointerEvents:"none",style:{height:J}}),(0,r(d[9]).jsxs)(n.View,{pointerEvents:"box-none",style:p.content,children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.left,'center'===B&&p.expand,{marginStart:c.left},H],children:Pe}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.title,{maxWidth:'center'===B?S.width-2*((Pe?!1!==E?80:32:16)+Math.max(c.left,c.right)):S.width-((Pe?72:16)+(ke?72:16)+c.left-c.right)},_],children:He({children:v,allowFontScaling:P,tintColor:L,style:k})}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.right,p.expand,{marginEnd:c.right},M],children:ke})]})]})]})};var t=r(d[0])(r(d[1])),o=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in t)if("default"!==h&&Object.prototype.hasOwnProperty.call(t,h)){var b=s?Object.getOwnPropertyDescriptor(t,h):null;b&&(b.get||b.set)?Object.defineProperty(l,h,b):l[h]=t[h]}l.default=t,n&&n.set(t,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),h=r(d[0])(r(d[6])),b=r(d[0])(r(d[7])),u=["height","minHeight","maxHeight","backgroundColor","borderBottomColor","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderBottomWidth","borderColor","borderEndColor","borderEndWidth","borderLeftColor","borderLeftWidth","borderRadius","borderRightColor","borderRightWidth","borderStartColor","borderStartWidth","borderStyle","borderTopColor","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","borderTopWidth","borderWidth","boxShadow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","opacity","transform"];function f(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:o})(t)}var p=n.StyleSheet.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}})}),703,[3,108,144,1,701,704,705,707,708,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.style,c=(0,t.default)(l,n),s=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(o.Animated.View,Object.assign({style:[f.container,{backgroundColor:s.card,borderBottomColor:s.border,shadowColor:s.border},u]},c))};var t=r(d[0])(r(d[1])),o=((function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=l(o);if(n&&n.has(t))return n.get(t);var f={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,n&&n.set(t,f)})(r(d[2])),r(d[3])),n=["style"];function l(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:o})(t)}var f=o.StyleSheet.create({container:Object.assign({flex:1},o.Platform.select({android:{elevation:4},ios:{shadowOpacity:.85,shadowRadius:0,shadowOffset:{width:0,height:o.StyleSheet.hairlineWidth}},default:{borderBottomWidth:o.StyleSheet.hairlineWidth}}))})}),704,[3,108,144,1,438,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderShownContext',!1);e.default=t}),705,[3,706]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){var f=g[u].get(t);if(f)return f;return(f=n.createContext(o)).displayName=t,g[u].set(t,f),f};var t,n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u='__react_navigation__elements_contexts';g[u]=null!=(t=g[u])?t:new Map}),706,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var u=f.tintColor,c=f.style,s=(0,t.default)(f,o),p=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(n.Animated.Text,Object.assign({accessibilityRole:"header","aria-level":"1",numberOfLines:1},s,{style:[l.title,{color:void 0===u?p.text:u},c]}))};var t=r(d[0])(r(d[1])),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,o&&o.set(t,l)})(r(d[2])),r(d[3])),o=["tintColor","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var l=n.StyleSheet.create({title:n.Platform.select({ios:{fontSize:17,fontWeight:'600'},android:{fontSize:20,fontFamily:'sans-serif-medium',fontWeight:'normal'},default:{fontSize:18,fontWeight:'500'}})})}),707,[3,108,144,1,438,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r(d[0])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[0])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[0])[n]}}))})),Object.keys(r(d[1])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[1])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[1])[n]}}))})),Object.keys(r(d[2])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[2])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[2])[n]}}))})),Object.keys(r(d[3])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[3])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[3])[n]}}))}))}),708,[709,712,714,716]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaInsetsContext=e.SafeAreaFrameContext=e.SafeAreaContext=e.SafeAreaConsumer=void 0,e.SafeAreaProvider=function(f){var h,p,S,x,w,y=f.children,A=f.initialMetrics,C=f.initialSafeAreaInsets,b=f.style,j=(0,n.default)(f,u),O=o.useContext(s),P=o.useContext(c),M=o.useState(null!=(h=null!=(p=null!=(S=null==A?void 0:A.insets)?S:C)?p:O)?h:null),I=(0,t.default)(M,2),_=I[0],k=I[1],D=o.useState(null!=(x=null!=(w=null==A?void 0:A.frame)?w:P)?x:{x:0,y:0,width:l.Dimensions.get('window').width,height:l.Dimensions.get('window').height}),E=(0,t.default)(D,2),F=E[0],W=E[1],N=o.useCallback((function(t){var n=t.nativeEvent,o=n.frame,l=n.insets;!o||o.height===F.height&&o.width===F.width&&o.x===F.x&&o.y===F.y||W(o),_&&l.bottom===_.bottom&&l.left===_.left&&l.right===_.right&&l.top===_.top||k(l)}),[F,_]);return(0,r(d[5]).jsx)(r(d[6]).NativeSafeAreaProvider,Object.assign({style:[v.fill,b],onInsetsChange:N},j,{children:null!=_?(0,r(d[5]).jsx)(c.Provider,{value:F,children:(0,r(d[5]).jsx)(s.Provider,{value:_,children:y})}):null}))},e.useSafeArea=function(){return p()},e.useSafeAreaFrame=function(){var t=o.useContext(c);if(null==t)throw new Error(h);return t},e.useSafeAreaInsets=p,e.withSafeAreaInsets=function(t){return o.forwardRef((function(n,o){var l=p();return(0,r(d[5]).jsx)(t,Object.assign({},n,{insets:l,ref:o}))}))};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=u?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(l,s,c):l[s]=t[s]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=["children","initialMetrics","initialSafeAreaInsets","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var s=o.createContext(null);e.SafeAreaInsetsContext=s;var c=o.createContext(null);e.SafeAreaFrameContext=c;var v=l.StyleSheet.create({fill:{flex:1}});var h='No safe area value available. Make sure you are rendering `` at the top of your app.';function p(){var t=o.useContext(s);if(null==t)throw new Error(h);return t}var S=s.Consumer;e.SafeAreaConsumer=S;var x=s;e.SafeAreaContext=x}),709,[3,16,108,144,1,192,710]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeSafeAreaProvider",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),710,[3,711]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaProvider');e.default=f}),711,[3,205]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=u(n);if(f&&f.has(t))return f.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,f&&f.set(t,o);return o})(r(d[2])),f=r(d[0])(r(d[3])),o=["edges"];function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}var l=n.forwardRef((function(n,u){var l=n.edges,c=(0,t.default)(n,o);return(0,r(d[4]).jsx)(f.default,Object.assign({},c,{edges:null!=l?l:['bottom','left','right','top'],ref:u}))}));e.SafeAreaView=l}),712,[3,108,144,713,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaView',{interfaceOnly:!0});e.default=f}),713,[3,205]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n,t,l=r(d[0])(r(d[1])),s=null!=(n=null==l.default||null==l.default.getConstants||null==(t=l.default.getConstants())?void 0:t.initialWindowMetrics)?n:null;e.initialWindowMetrics=s;var o=null==s?void 0:s.insets;e.initialWindowSafeAreaInsets=o}),714,[3,715]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TurboModuleRegistry.get('RNCSafeAreaContext');e.default=t}),715,[1]); +__d((function(g,r,i,a,m,e,d){}),716,[]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(s){var u=s.disabled,f=s.allowFontScaling,b=s.backImage,y=s.label,h=s.labelStyle,p=s.labelVisible,v=s.onLabelLayout,w=s.onPress,j=s.pressColor,x=s.pressOpacity,M=s.screenLayout,k=s.tintColor,L=s.titleLayout,O=s.truncatedLabel,P=void 0===O?'Back':O,S=s.accessibilityLabel,C=void 0===S?y&&'Back'!==y?y+", back":'Go back':S,I=s.testID,W=s.style,D=(0,r(d[6]).useTheme)().colors,R=t.useState(void 0),V=(0,e.default)(R,2),_=V[0],F=V[1],z=void 0!==k?k:n.Platform.select({ios:D.primary,default:D.text}),T=function(e){null==v||v(e),F(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return(0,r(d[7]).jsx)(o.default,{disabled:u,accessible:!0,accessibilityRole:"button",accessibilityLabel:C,testID:I,onPress:u?void 0:function(){return w&&requestAnimationFrame(w)},pressColor:j,pressOpacity:x,android_ripple:{borderless:!0},style:[c.container,u&&c.disabled,W],hitSlop:n.Platform.select({ios:void 0,default:{top:16,right:16,bottom:16,left:16}}),children:(0,r(d[7]).jsxs)(t.Fragment,{children:[b?b({tintColor:z}):(0,r(d[7]).jsx)(n.Image,{style:[c.icon,Boolean(p)&&c.iconWithLabel,Boolean(z)&&{tintColor:z}],source:r(d[8]),fadeDuration:0}),(function(){var e=!y||_&&L&&M&&(M.width-L.width)/2<_+26?P:y;if(!p||void 0===e)return null;var t=(0,r(d[7]).jsx)(n.View,{style:M?[c.labelWrapper,{minWidth:M.width/2-27}]:null,children:(0,r(d[7]).jsx)(n.Animated.Text,{accessible:!1,onLayout:e===y?T:void 0,style:[c.label,z?{color:z}:null,h],numberOfLines:1,allowFontScaling:!!f,children:e})});return b||'ios'!==n.Platform.OS?t:(0,r(d[7]).jsx)(l.default,{maskElement:(0,r(d[7]).jsxs)(n.View,{style:c.iconMaskContainer,children:[(0,r(d[7]).jsx)(n.Image,{source:r(d[9]),style:c.iconMask}),(0,r(d[7]).jsx)(n.View,{style:c.iconMaskFillerRect})]}),children:t})})()]})})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=o?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=e[c]}l.default=e,n&&n.set(e,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5]));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var c=n.StyleSheet.create({container:Object.assign({alignItems:'center',flexDirection:'row',minWidth:n.StyleSheet.hairlineWidth},n.Platform.select({ios:null,default:{marginVertical:3,marginHorizontal:11}})),disabled:{opacity:.5},label:{fontSize:17,letterSpacing:.35},labelWrapper:{flexDirection:'row',alignItems:'flex-start'},icon:n.Platform.select({ios:{height:21,width:13,marginLeft:8,marginRight:22,marginVertical:12,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]},default:{height:24,width:24,margin:3,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}}),iconWithLabel:'ios'===n.Platform.OS?{marginRight:6}:{},iconMaskContainer:{flex:1,flexDirection:'row',justifyContent:'center'},iconMaskFillerRect:{flex:1,backgroundColor:'#000'},iconMask:{height:21,width:13,marginLeft:-14.5,marginVertical:12,alignSelf:'center',resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}})}),717,[3,16,144,1,718,720,438,192,721,723]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),718,[3,719]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(n){var f=n.children,c=(0,t.default)(n,u);if(o&&e)return(0,r(d[5]).jsx)(e,Object.assign({},c,{children:f}));return f};var e,t=r(d[0])(r(d[1])),n=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=e[c]}u.default=e,n&&n.set(e,u)})(r(d[2])),r(d[3])),u=["children"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}try{e=r(d[4]).default}catch(e){}var o=null!=n.UIManager.getViewManagerConfig('RNCMaskedView')}),719,[3,108,144,1,192]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var p=u.onPressIn,c=u.onPressOut,O=u.android_ripple,y=u.pressColor,P=u.pressOpacity,v=void 0===P?.3:P,b=u.style,j=(0,t.default)(u,s),_=(0,r(d[5]).useTheme)().dark,w=n.useState((function(){return new o.Animated.Value(1)})),M=(0,e.default)(w,1)[0],k=function(e,t){f||o.Animated.timing(M,{toValue:e,duration:t,easing:o.Easing.inOut(o.Easing.quad),useNativeDriver:!0}).start()};return(0,r(d[6]).jsx)(l,Object.assign({onPressIn:function(e){k(v,0),null==p||p(e)},onPressOut:function(e){k(1,200),null==c||c(e)},android_ripple:f?Object.assign({color:void 0!==y?y:_?'rgba(255, 255, 255, .32)':'rgba(0, 0, 0, .32)'},O):void 0,style:[{opacity:f?1:M},b]},j))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=s?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[3])),o=r(d[4]),s=["onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=o.Animated.createAnimatedComponent(o.Pressable),f='android'===o.Platform.OS&&o.Platform.Version>=21}),720,[3,16,108,144,1,438,192]); +__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:12,height:21,scales:[1,1.5,2,3,4],hash:"c90fb4585dd852a3d67af39baf923f67",name:"back-icon",type:"png"})}),721,[722]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),722,[177]); +__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:50,height:85,scales:[1],hash:"5223c8d9b0d08b82a5670fb5f71faf78",name:"back-icon-mask",type:"png"})}),723,[722]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderBackContext',void 0);e.default=t}),724,[3,706]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderHeightContext',void 0);e.default=t}),725,[3,706]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),726,[144,3,725]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.color,c=n.size,f=n.style;return(0,r(d[2]).jsx)(t.Text,{style:[o.icon,{color:u,fontSize:c},f],children:"\u23f7"})};!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=f?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(c,l,p):c[l]=t[l]}c.default=t,u&&u.set(t,c)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o=t.StyleSheet.create({icon:{backgroundColor:'transparent'}})}),727,[144,1,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var f=l.visible,u=l.children,s=l.style,p=(0,t.default)(l,o);if('web'===n.Platform.OS)return(0,r(d[4]).jsx)(n.View,Object.assign({hidden:!f,style:[{display:f?'flex':'none'},c.container,s],pointerEvents:f?'auto':'none'},p,{children:u}));return(0,r(d[4]).jsx)(n.View,{style:[c.container,s],pointerEvents:f?'auto':'none',children:(0,r(d[4]).jsx)(n.View,{collapsable:!1,removeClippedSubviews:'ios'!==n.Platform.OS&&'macos'!==n.Platform.OS||!f,pointerEvents:f?'auto':'none',style:f?c.attached:c.detached,children:u})})};var t=r(d[0])(r(d[1])),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=f?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(c,u,s):c[u]=t[u]}c.default=t,o&&o.set(t,c)})(r(d[2])),r(d[3])),o=["visible","children","style"];function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}var c=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e4}})}),728,[3,108,144,1,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=n(o);if(l&&l.has(t))return l.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=c?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(f,u,s):f[u]=t[u]}f.default=t,l&&l.set(t,f)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,l=new WeakMap;return(n=function(t){return t?l:o})(t)}var o=t.Dimensions.get('window'),l=o.width,f=void 0===l?0:l,c=o.height,u=void 0===c?0:c,s='web'===t.Platform.OS||null==r(d[2]).initialWindowMetrics?{frame:{x:0,y:0,width:f,height:u},insets:{top:0,left:0,right:0,bottom:0}}:r(d[2]).initialWindowMetrics;function p(n){var o=n.children,l=n.style;return(0,r(d[3]).jsx)(r(d[2]).SafeAreaInsetsContext.Consumer,{children:function(n){return n?(0,r(d[3]).jsx)(t.View,{style:[y.container,l],children:o}):(0,r(d[3]).jsx)(r(d[2]).SafeAreaProvider,{initialMetrics:s,style:l,children:o})}})}p.initialMetrics=s;var y=t.StyleSheet.create({container:{flex:1}})}),729,[144,1,708,192]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c){var v=(0,r(d[8]).useSafeAreaFrame)(),h=(0,r(d[8]).useSafeAreaInsets)(),p=t.useContext(s.default),y=t.useContext(u.default),j=c.focused,x=c.modal,b=void 0!==x&&x,P=c.header,O=c.headerShown,w=void 0===O||O,S=c.headerTransparent,_=c.headerStatusBarHeight,M=void 0===_?p?0:h.top:_,C=c.navigation,k=c.route,A=c.children,D=c.style,W=t.useState((function(){return(0,l.default)(v,b,M)})),E=(0,e.default)(W,2),F=E[0],H=E[1];return(0,r(d[9]).jsxs)(o.default,{accessibilityElementsHidden:!j,importantForAccessibility:j?'auto':'no-hide-descendants',style:[f.container,D],children:[(0,r(d[9]).jsx)(n.View,{style:f.content,children:(0,r(d[9]).jsx)(s.default.Provider,{value:p||!1!==w,children:(0,r(d[9]).jsx)(u.default.Provider,{value:w?F:null!=y?y:0,children:A})})}),w?(0,r(d[9]).jsx)(r(d[10]).NavigationContext.Provider,{value:C,children:(0,r(d[9]).jsx)(r(d[10]).NavigationRouteContext.Provider,{value:k,children:(0,r(d[9]).jsx)(n.View,{onLayout:function(e){var t=e.nativeEvent.layout.height;H(t)},style:S?f.absolute:null,children:P})})}):null]})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=l?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),s=r(d[0])(r(d[7]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var f=n.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},content:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0}})}),730,[3,16,144,1,700,701,725,705,708,192,438]); +__d((function(g,r,i,a,m,e,d){}),731,[]); +__d((function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=i?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),c=r(d[9]),p=r(d[0])(r(d[10])),f=r(d[0])(r(d[11])),h=r(d[0])(r(d[12]));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var S=Object.freeze({options:{}}),k=function(e,t){for(var n=e[t].descriptor.options.cardStyleInterpolator,o=0,i=t-1;i>=0;i--){var s;if((null==(s=e[i])?void 0:s.descriptor.options.cardStyleInterpolator)!==n)break;o++}return o},P=function(e,t,n){if(n)return!0;var o=e.descriptor.options.cardStyleInterpolator;return(0,r(d[13]).getIsModalPresentation)(o)&&0!==t},b=function(e,t,n,o,i,s){return e.reduce((function(u,l,p){var f=l.descriptor.options,h=f.headerStatusBarHeight,y=void 0===h?n?0:t.top:h,v=f.headerStyle,S=c.StyleSheet.flatten(v||{}),b='height'in S&&'number'==typeof S.height?S.height:s[l.route.key],M=k(e,p),O=P(l,M,o);return u[l.route.key]='number'==typeof b?b:(0,r(d[14]).getDefaultHeaderHeight)(i,O,y),u}),{})},M=function(e,t){var n=(null==t?void 0:t.options)||{},o=n.presentation,i=n.gestureDirection,s=void 0===i?'modal'===o?r(d[15]).ModalTransition.gestureDirection:r(d[15]).DefaultTransition.gestureDirection:i;return(0,f.default)(e,s)},O=function(e,t,n){var o=M({width:Math.max(1,t.width),height:Math.max(1,t.height)},n);return o>0?e.interpolate({inputRange:[0,o],outputRange:[1,0]}):e.interpolate({inputRange:[o,0],outputRange:[0,1]})},H=(function(f){(0,o.default)(w,f);var y,H,R=(y=w,H=v(),function(){var e,t=(0,s.default)(y);if(H){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,i.default)(this,e)});function w(n){var o;return(0,t.default)(this,w),(o=R.call(this,n)).handleLayout=function(e){var t=e.nativeEvent.layout,n=t.height,i=t.width,s={width:i,height:n};o.setState((function(e,t){return n===e.layout.height&&i===e.layout.width?null:{layout:s,headerHeights:b(e.scenes,t.insets,t.isParentHeaderShown,t.isParentModal,s,e.headerHeights)}}))},o.handleHeaderLayout=function(t){var n=t.route,i=t.height;o.setState((function(t){var o=t.headerHeights;return o[n.key]===i?null:{headerHeights:Object.assign({},o,(0,e.default)({},n.key,i))}}))},o.getFocusedRoute=function(){var e=o.props.state;return e.routes[e.index]},o.getPreviousScene=function(e){var t=e.route,n=o.props.getPreviousRoute,i=o.state.scenes,s=n({route:t});if(s)return i.find((function(e){return e.descriptor.route.key===s.key}))},o.state={routes:[],scenes:[],gestures:{},layout:r(d[14]).SafeAreaProviderCompat.initialMetrics.frame,descriptors:o.props.descriptors,headerHeights:{}},o}return(0,n.default)(w,[{key:"render",value:function(){for(var e=this,t=this.props,n=t.insets,o=t.state,i=t.routes,s=t.closingRouteKeys,f=t.onOpenRoute,y=t.onCloseRoute,v=t.renderHeader,S=t.renderScene,b=t.isParentHeaderShown,M=t.isParentModal,O=t.onTransitionStart,H=t.onTransitionEnd,R=t.onGestureStart,w=t.onGestureEnd,x=t.onGestureCancel,j=t.detachInactiveScreens,C=void 0===j?'web'===c.Platform.OS||'android'===c.Platform.OS||'ios'===c.Platform.OS:j,D=this.state,T=D.scenes,E=D.layout,_=D.gestures,F=D.headerHeights,A=o.routes[o.index],B=F[A.key],L=this.state.scenes.slice(-2).some((function(e){var t,n=null!=(t=e.descriptor.options)?t:{},o=n.headerMode,i=n.headerTransparent,s=n.headerShown;return!(!i&&!1!==(void 0===s||s)&&'screen'!==o)})),G=1,z=T.length-1;z>=0;z--){var W=T[z].descriptor.options,K=W.detachPreviousScreen;if(!1===(void 0===K?'transparentModal'!==W.presentation&&(!(0,r(d[13]).getIsModalPresentation)(W.cardStyleInterpolator)||z!==(0,p.default)(T,(function(e){var t=e.descriptor.options.cardStyleInterpolator;return t===r(d[16]).forModalPresentationIOS||'forModalPresentationIOS'===(null==t?void 0:t.name)}))):K))G++;else if(z<=T.length-2)break}var N=(0,r(d[17]).jsx)(l.Fragment,{children:v({mode:'float',layout:E,scenes:T,getPreviousScene:this.getPreviousScene,getFocusedRoute:this.getFocusedRoute,onContentHeightChange:this.handleHeaderLayout,style:[I.floating,L&&[{height:B},I.absolute]]})},"header");return(0,r(d[17]).jsxs)(r(d[14]).Background,{children:[L?null:N,(0,r(d[17]).jsx)(r(d[18]).MaybeScreenContainer,{enabled:C,style:I.container,onLayout:this.handleLayout,children:i.map((function(t,o,i){var l,p,I=A.key===t.key,j=_[t.key],D=T[o],B=1;if(o=i.length-G?1:0;B=z?z.progress.current.interpolate({inputRange:[0,.99999,1],outputRange:[1,1,W],extrapolate:'clamp'}):1}var K,N=D.descriptor.options,V=N.headerShown,q=void 0===V||V,J=N.headerTransparent,Q=N.headerStyle,U=N.headerTintColor,X=N.freezeOnBlur,Y=n.top,Z=n.right,$=n.bottom,ee=n.left,te=!1!==q?F[t.key]:0;if(q)if('string'==typeof U)K=(0,u.default)(U).isDark();else{var re=c.StyleSheet.flatten(Q);re&&'backgroundColor'in re&&'string'==typeof re.backgroundColor&&(K=!(0,u.default)(re.backgroundColor).isDark())}var ne=k(T,o),oe=P(D,ne,M),ae='transparentModal'===(null==(l=T[o+1])?void 0:l.descriptor.options.presentation),ie=!1!==(null==(p=T[o+1])?void 0:p.descriptor.options.detachPreviousScreen);return(0,r(d[17]).jsx)(r(d[18]).MaybeScreen,{style:c.StyleSheet.absoluteFill,enabled:C,active:B,freezeOnBlur:X,pointerEvents:"box-none",children:(0,r(d[17]).jsx)(h.default,{index:o,interpolationIndex:ne,modal:oe,active:o===i.length-1,focused:I,closing:s.includes(t.key),layout:E,gesture:j,scene:D,safeAreaInsetTop:Y,safeAreaInsetRight:Z,safeAreaInsetBottom:$,safeAreaInsetLeft:ee,onGestureStart:R,onGestureCancel:x,onGestureEnd:w,headerHeight:te,isParentHeaderShown:b,onHeaderHeightChange:e.handleHeaderLayout,getPreviousScene:e.getPreviousScene,getFocusedRoute:e.getFocusedRoute,headerDarkContent:K,hasAbsoluteFloatHeader:L&&!J,renderHeader:v,renderScene:S,onOpenRoute:f,onCloseRoute:y,onTransitionStart:O,onTransitionEnd:H,isNextScreenTransparent:ae,detachCurrentScreen:ie})},t.key)}))}),L?N:null]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.routes===t.routes&&e.descriptors===t.descriptors)return null;var n=e.routes.reduce((function(n,o){var i=e.descriptors[o.key],s=((null==i?void 0:i.options)||{}).animationEnabled;return n[o.key]=t.gestures[o.key]||new c.Animated.Value(e.openingRouteKeys.includes(o.key)&&!1!==s?M(t.layout,i):0),n}),{}),o=e.routes.map((function(o,i,s){var u,l=s[i-1],p=s[i+1],f=t.scenes[i],h=n[o.key],y=l?n[l.key]:void 0,v=p?n[p.key]:void 0,k=e.descriptors[o.key]||t.descriptors[o.key]||(f?f.descriptor:S),P=e.descriptors[null==p?void 0:p.key]||t.descriptors[null==p?void 0:p.key],b=e.descriptors[null==l?void 0:l.key]||t.descriptors[null==l?void 0:l.key],M=i!==s.length-1&&P&&'transparentModal'!==P.options.presentation?P.options:k.options,H='modal'===M.presentation?r(d[15]).ModalTransition:'transparentModal'===M.presentation?r(d[15]).ModalFadeTransition:r(d[15]).DefaultTransition,I=M.animationEnabled,R=void 0===I?'web'!==c.Platform.OS&&'windows'!==c.Platform.OS&&'macos'!==c.Platform.OS:I,w=M.gestureEnabled,x=void 0===w?'ios'===c.Platform.OS&&R:w,j=M.gestureDirection,C=void 0===j?H.gestureDirection:j,D=M.transitionSpec,T=void 0===D?H.transitionSpec:D,E=M.cardStyleInterpolator,_=void 0===E?!1===R?r(d[16]).forNoAnimation:H.cardStyleInterpolator:E,F=M.headerStyleInterpolator,A=void 0===F?H.headerStyleInterpolator:F,B=M.cardOverlayEnabled,L=void 0===B?'ios'!==c.Platform.OS&&'transparentModal'!==M.presentation||(0,r(d[13]).getIsModalPresentation)(_):B,G=null!=(u=k.options.headerMode)?u:'modal'===M.presentation||'transparentModal'===M.presentation||'modal'===(null==P?void 0:P.options.presentation)||'transparentModal'===(null==P?void 0:P.options.presentation)||(0,r(d[13]).getIsModalPresentation)(_)||'ios'!==c.Platform.OS||void 0!==k.options.header?'screen':'float',z={route:o,descriptor:Object.assign({},k,{options:Object.assign({},k.options,{animationEnabled:R,cardOverlayEnabled:L,cardStyleInterpolator:_,gestureDirection:C,gestureEnabled:x,headerStyleInterpolator:A,transitionSpec:T,headerMode:G})}),progress:{current:O(h,t.layout,k),next:v&&'transparentModal'!==(null==P?void 0:P.options.presentation)?O(v,t.layout,P):void 0,previous:y?O(y,t.layout,b):void 0},__memo:[t.layout,k,P,b,h,v,y]};return f&&z.__memo.every((function(e,t){return f.__memo[t]===e}))?f:z}));return{routes:e.routes,scenes:o,gestures:n,descriptors:e.descriptors,headerHeights:b(o,e.insets,e.isParentHeaderShown,e.isParentModal,t.layout,t.headerHeights)}}}]),w})(l.Component);_e.default=H;var I=c.StyleSheet.create({container:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0},floating:{zIndex:1}})}),732,[3,169,6,7,44,46,48,733,144,1,741,742,744,746,699,688,685,192,753]); +__d((function(g,r,_i,_a,_m,e,d){var t=['keyword','gray','hex'],o={};for(var n of Object.keys(r(d[0])))o[r(d[1])(r(d[0])[n].labels).sort().join('')]=n;var a={};function i(n,h){if(!(this instanceof i))return new i(n,h);if(h&&h in t&&(h=null),h&&!(h in r(d[0])))throw new Error('Unknown model: '+h);var l,s;if(null==n)this.model='rgb',this.color=[0,0,0],this.valpha=1;else if(n instanceof i)this.model=n.model,this.color=r(d[1])(n.color),this.valpha=n.valpha;else if('string'==typeof n){var c=r(d[2]).get(n);if(null===c)throw new Error('Unable to parse color from string: '+n);this.model=c.model,s=r(d[0])[this.model].channels,this.color=c.value.slice(0,s),this.valpha='number'==typeof c.value[s]?c.value[s]:1}else if(n.length>0){this.model=h||'rgb',s=r(d[0])[this.model].channels;var u=Array.prototype.slice.call(n,0,s);this.color=v(u,s),this.valpha='number'==typeof n[s]?n[s]:1}else if('number'==typeof n)this.model='rgb',this.color=[n>>16&255,n>>8&255,255&n],this.valpha=1;else{this.valpha=1;var f=Object.keys(n);'alpha'in n&&(f.splice(f.indexOf('alpha'),1),this.valpha='number'==typeof n.alpha?n.alpha:0);var p=f.sort().join('');if(!(p in o))throw new Error('Unable to parse color from object: '+JSON.stringify(n));this.model=o[p];var b=r(d[0])[this.model].labels,m=[];for(l=0;ln?(o+.05)/(n+.05):(n+.05)/(o+.05)},level:function(t){var o=this.contrast(t);return o>=7?'AAA':o>=4.5?'AA':''},isDark:function(){var t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),o=0;o<3;o++)t.color[o]=255-t.color[o];return t},lighten:function(t){var o=this.hsl();return o.color[2]+=o.color[2]*t,o},darken:function(t){var o=this.hsl();return o.color[2]-=o.color[2]*t,o},saturate:function(t){var o=this.hsl();return o.color[1]+=o.color[1]*t,o},desaturate:function(t){var o=this.hsl();return o.color[1]-=o.color[1]*t,o},whiten:function(t){var o=this.hwb();return o.color[1]+=o.color[1]*t,o},blacken:function(t){var o=this.hwb();return o.color[2]+=o.color[2]*t,o},grayscale:function(){var t=this.rgb().color,o=.3*t[0]+.59*t[1]+.11*t[2];return i.rgb(o,o,o)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var o=this.hsl(),n=o.color[0];return n=(n=(n+t)%360)<0?360+n:n,o.color[0]=n,o},mix:function(t,o){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),a=this.rgb(),h=void 0===o?.5:o,l=2*h-1,s=n.alpha()-a.alpha(),c=((l*s==-1?l:(l+s)/(1+l*s))+1)/2,u=1-c;return i.rgb(c*n.red()+u*a.red(),c*n.green()+u*a.green(),c*n.blue()+u*a.blue(),n.alpha()*h+a.alpha()*(1-h))}};var h=function(o){if(t.includes(o))return"continue";var n=r(d[0])[o].channels;i.prototype[o]=function(){if(this.model===o)return new i(this);for(var t=arguments.length,n=new Array(t),a=0;a0?new i(n,o):new i([].concat(r(d[1])((h=r(d[0])[this.model][o].raw(this.color),Array.isArray(h)?h:[h])),[this.valpha]),o);var h},i[o]=function(){for(var t=arguments.length,a=new Array(t),h=0;h1&&(t=i),n(t))};return'conversion'in n&&(o.conversion=n.conversion),o}function t(n){var o=function(){for(var o=arguments.length,t=new Array(o),c=0;c1&&(t=i);var v=n(t);if('object'==typeof v)for(var f=v.length,l=0;l1&&(h-=1)),[360*h,100*u,100*i]},a.rgb.hwb=function(r){var n=r[0],t=r[1],h=r[2];return[a.rgb.hsl(r)[0],100*(.00392156862745098*Math.min(n,Math.min(t,h))),100*(h=1-.00392156862745098*Math.max(n,Math.max(t,h)))]},a.rgb.cmyk=function(r){var n=r[0]/255,a=r[1]/255,t=r[2]/255,h=Math.min(1-n,1-a,1-t);return[100*((1-n-h)/(1-h)||0),100*((1-a-h)/(1-h)||0),100*((1-t-h)/(1-h)||0),100*h]},a.rgb.keyword=function(n){var a=r[n];if(a)return a;var t,h,u,c=1/0;for(var s of Object.keys(_r(d[0]))){var l=_r(d[0])[s],i=(u=l,((h=n)[0]-u[0])**2+(h[1]-u[1])**2+(h[2]-u[2])**2);i.04045?((n+.055)/1.055)**2.4:n/12.92)+.3576*(a=a>.04045?((a+.055)/1.055)**2.4:a/12.92)+.1805*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)),100*(.2126*n+.7152*a+.0722*t),100*(.0193*n+.1192*a+.9505*t)]},a.rgb.lab=function(r){var n=a.rgb.xyz(r),t=n[0],h=n[1],u=n[2];return[116*(h=(h/=100)>.008856?h**.3333333333333333:7.787*h+.13793103448275862)-16,500*((t=(t/=95.047)>.008856?t**.3333333333333333:7.787*t+.13793103448275862)-h),200*(h-(u=(u/=108.883)>.008856?u**.3333333333333333:7.787*u+.13793103448275862))]},a.hsl.rgb=function(r){var n,a,t,h=r[0]/360,u=r[1]/100,c=r[2]/100;if(0===u)return[t=255*c,t,t];for(var s=2*c-(n=c<.5?c*(1+u):c+u-c*u),l=[0,0,0],i=0;i<3;i++)(a=h+.3333333333333333*-(i-1))<0&&a++,a>1&&a--,t=6*a<1?s+6*(n-s)*a:2*a<1?n:3*a<2?s+(n-s)*(.6666666666666666-a)*6:s,l[i]=255*t;return l},a.hsl.hsv=function(r){var n=r[0],a=r[1]/100,t=r[2]/100,h=a,u=Math.max(t,.01);return a*=(t*=2)<=1?t:2-t,h*=u<=1?u:2-u,[n,100*(0===t?2*h/(u+h):2*a/(t+a)),100*((t+a)/2)]},a.hsv.rgb=function(r){var n=r[0]/60,a=r[1]/100,t=r[2]/100,h=Math.floor(n)%6,u=n-Math.floor(n),c=255*t*(1-a),s=255*t*(1-a*u),l=255*t*(1-a*(1-u));switch(t*=255,h){case 0:return[t,l,c];case 1:return[s,t,c];case 2:return[c,t,l];case 3:return[c,s,t];case 4:return[l,c,t];case 5:return[t,c,s]}},a.hsv.hsl=function(r){var n,a,t=r[0],h=r[1]/100,u=r[2]/100,c=Math.max(u,.01);a=(2-h)*u;var s=(2-h)*c;return n=h*c,[t,100*(n=(n/=s<=1?s:2-s)||0),100*(a/=2)]},a.hwb.rgb=function(r){var n,a=r[0]/360,t=r[1]/100,h=r[2]/100,u=t+h;u>1&&(t/=u,h/=u);var c=Math.floor(6*a),s=1-h;n=6*a-c,0!=(1&c)&&(n=1-n);var l,i,o,b=t+n*(s-t);switch(c){default:case 6:case 0:l=s,i=b,o=t;break;case 1:l=b,i=s,o=t;break;case 2:l=t,i=s,o=b;break;case 3:l=t,i=b,o=s;break;case 4:l=b,i=t,o=s;break;case 5:l=s,i=t,o=b}return[255*l,255*i,255*o]},a.cmyk.rgb=function(r){var n=r[0]/100,a=r[1]/100,t=r[2]/100,h=r[3]/100;return[255*(1-Math.min(1,n*(1-h)+h)),255*(1-Math.min(1,a*(1-h)+h)),255*(1-Math.min(1,t*(1-h)+h))]},a.xyz.rgb=function(r){var n,a,t,h=r[0]/100,u=r[1]/100,c=r[2]/100;return n=(n=3.2406*h+-1.5372*u+-.4986*c)>.0031308?1.055*n**.4166666666666667-.055:12.92*n,a=(a=-.9689*h+1.8758*u+.0415*c)>.0031308?1.055*a**.4166666666666667-.055:12.92*a,t=(t=.0557*h+-.204*u+1.057*c)>.0031308?1.055*t**.4166666666666667-.055:12.92*t,[255*(n=Math.min(Math.max(0,n),1)),255*(a=Math.min(Math.max(0,a),1)),255*(t=Math.min(Math.max(0,t),1))]},a.xyz.lab=function(r){var n=r[0],a=r[1],t=r[2];return[116*(a=(a/=100)>.008856?a**.3333333333333333:7.787*a+.13793103448275862)-16,500*((n=(n/=95.047)>.008856?n**.3333333333333333:7.787*n+.13793103448275862)-a),200*(a-(t=(t/=108.883)>.008856?t**.3333333333333333:7.787*t+.13793103448275862))]},a.lab.xyz=function(r){var n,a,t,h=(a=(r[0]+16)/116)**3,u=(n=r[1]/500+a)**3,c=(t=a-r[2]/200)**3;return a=h>.008856?h:(a-.13793103448275862)/7.787,n=u>.008856?u:(n-.13793103448275862)/7.787,t=c>.008856?c:(t-.13793103448275862)/7.787,[n*=95.047,a*=100,t*=108.883]},a.lab.lch=function(r){var n,a=r[0],t=r[1],h=r[2];return(n=360*Math.atan2(h,t)/2/Math.PI)<0&&(n+=360),[a,Math.sqrt(t*t+h*h),n]},a.lch.lab=function(r){var n=r[0],a=r[1],t=r[2]/360*2*Math.PI;return[n,a*Math.cos(t),a*Math.sin(t)]},a.rgb.ansi16=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=_r(d[1])(r,3),h=t[0],u=t[1],c=t[2],s=null===n?a.rgb.hsv(r)[2]:n;if(0===(s=Math.round(s/50)))return 30;var l=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(h/255));return 2===s&&(l+=60),l},a.hsv.ansi16=function(r){return a.rgb.ansi16(a.hsv.rgb(r),r[2])},a.rgb.ansi256=function(r){var n=r[0],a=r[1],t=r[2];return n===a&&a===t?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(a/255*5)+Math.round(t/255*5)},a.ansi16.rgb=function(r){var n=r%10;if(0===n||7===n)return r>50&&(n+=3.5),[n=n/10.5*255,n,n];var a=.5*(1+~~(r>50));return[(1&n)*a*255,(n>>1&1)*a*255,(n>>2&1)*a*255]},a.ansi256.rgb=function(r){if(r>=232){var n=10*(r-232)+8;return[n,n,n]}var a;return r-=16,[Math.floor(r/36)/5*255,Math.floor((a=r%36)/6)/5*255,a%6/5*255]},a.rgb.hex=function(r){var n=(((255&Math.round(r[0]))<<16)+((255&Math.round(r[1]))<<8)+(255&Math.round(r[2]))).toString(16).toUpperCase();return'000000'.substring(n.length)+n},a.hex.rgb=function(r){var n=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var a=n[0];3===n[0].length&&(a=a.split('').map((function(r){return r+r})).join(''));var t=parseInt(a,16);return[t>>16&255,t>>8&255,255&t]},a.rgb.hcg=function(r){var n,a=r[0]/255,t=r[1]/255,h=r[2]/255,u=Math.max(Math.max(a,t),h),c=Math.min(Math.min(a,t),h),s=u-c;return n=s<=0?0:u===a?(t-h)/s%6:u===t?2+(h-a)/s:4+(a-t)/s,n/=6,[360*(n%=1),100*s,100*(s<1?c/(1-s):0)]},a.hsl.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=a<.5?2*n*a:2*n*(1-a),h=0;return t<1&&(h=(a-.5*t)/(1-t)),[r[0],100*t,100*h]},a.hsv.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=n*a,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.hcg.rgb=function(r){var n=r[0]/360,a=r[1]/100,t=r[2]/100;if(0===a)return[255*t,255*t,255*t];var h,u=[0,0,0],c=n%1*6,s=c%1,l=1-s;switch(Math.floor(c)){case 0:u[0]=1,u[1]=s,u[2]=0;break;case 1:u[0]=l,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=s;break;case 3:u[0]=0,u[1]=l,u[2]=1;break;case 4:u[0]=s,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=l}return h=(1-a)*t,[255*(a*u[0]+h),255*(a*u[1]+h),255*(a*u[2]+h)]},a.hcg.hsv=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n),t=0;return a>0&&(t=n/a),[r[0],100*t,100*a]},a.hcg.hsl=function(r){var n=r[1]/100,a=r[2]/100*(1-n)+.5*n,t=0;return a>0&&a<.5?t=n/(2*a):a>=.5&&a<1&&(t=n/(2*(1-a))),[r[0],100*t,100*a]},a.hcg.hwb=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n);return[r[0],100*(a-n),100*(1-a)]},a.hwb.hcg=function(r){var n=r[1]/100,a=1-r[2]/100,t=a-n,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},a.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},a.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},a.gray.hsl=function(r){return[0,0,r[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(r){return[0,100,r[0]]},a.gray.cmyk=function(r){return[0,0,0,r[0]]},a.gray.lab=function(r){return[r[0],0,0]},a.gray.hex=function(r){var n=255&Math.round(r[0]/100*255),a=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return'000000'.substring(a.length)+a},a.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]}}),735,[736,16]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),736,[]); +__d((function(g,r,_i,a,m,e,d){function n(){for(var n={},t=Object.keys(r(d[0])),u=t.length,c=0;c=4&&1!==r[3]&&(t=', '+r[3]),'hwb('+r[0]+', '+r[1]+'%, '+r[2]+'%'+t+')'},n.to.keyword=function(r){return t[r.slice(0,3)]}}),738,[736,739]); +__d((function(g,r,_i,a,m,e,d){'use strict';var t=Array.prototype.concat,n=Array.prototype.slice,o=m.exports=function(o){for(var c=[],u=0,p=o.length;u=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}}),740,[]); +__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){for(var u=n.length-1;u>=0;u--)if(t(n[u]))return u;return-1}}),741,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,c){var l=(0,t.default)(c);switch(c){case'vertical':case'vertical-inverted':return n.height*l;case'horizontal':case'horizontal-inverted':return n.width*l}};var t=r(d[0])(r(d[1]))}),742,[3,743]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){switch(n){case'vertical':return 1;case'vertical-inverted':return-1;case'horizontal':return t.I18nManager.getConstants().isRTL?-1:1;case'horizontal-inverted':return t.I18nManager.getConstants().isRTL?1:-1}};var t=r(d[0])}),743,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=c(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=u?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(s,l,p):s[l]=t[l]}s.default=t,o&&o.set(t,s);return s})(r(d[2])),o=r(d[3]),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),l=r(d[0])(r(d[6]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}var p=n.memo((function(c){var p=c.interpolationIndex,v=c.index,h=c.active,y=c.closing,b=c.gesture,x=c.focused,S=c.modal,C=c.getPreviousScene,H=c.getFocusedRoute,P=c.headerDarkContent,E=c.hasAbsoluteFloatHeader,j=c.headerHeight,w=c.onHeaderHeightChange,O=c.isParentHeaderShown,k=c.isNextScreenTransparent,I=c.detachCurrentScreen,D=c.layout,M=c.onCloseRoute,T=c.onOpenRoute,R=c.onGestureCancel,A=c.onGestureEnd,F=c.onGestureStart,G=c.onTransitionEnd,_=c.onTransitionStart,L=c.renderHeader,V=c.renderScene,B=c.safeAreaInsetBottom,W=c.safeAreaInsetLeft,N=c.safeAreaInsetRight,q=c.safeAreaInsetTop,z=c.scene,J=n.useContext(r(d[7]).HeaderHeightContext),K=(0,u.default)(n.useCallback((function(){var t=z.descriptor,n=t.options;return t.navigation.isFocused()&&!1!==n.keyboardHandlingEnabled}),[z.descriptor])),Q=K.onPageChangeStart,U=K.onPageChangeCancel,X=K.onPageChangeConfirm,Y={top:q,right:N,bottom:B,left:W},Z=(0,r(d[8]).useTheme)().colors,$=n.useState('box-none'),ee=(0,t.default)($,2),te=ee[0],ne=ee[1];n.useEffect((function(){var t,n=null==(t=z.progress.next)||null==t.addListener?void 0:t.addListener((function(t){var n=t.value;ne(n<=.1?'box-none':'none')}));return function(){var t;n&&(null==(t=z.progress.next)||null==t.removeListener||t.removeListener(n))}}),[te,z.progress.next]);var re,oe=z.descriptor.options,ae=oe.presentation,ie=oe.animationEnabled,se=oe.cardOverlay,ue=oe.cardOverlayEnabled,le=oe.cardShadowEnabled,de=oe.cardStyle,ce=oe.cardStyleInterpolator,pe=oe.gestureDirection,fe=oe.gestureEnabled,ve=oe.gestureResponseDistance,ge=oe.gestureVelocityImpact,he=oe.headerMode,ye=oe.headerShown,be=oe.transitionSpec,xe=C({route:z.descriptor.route});if(xe){var Se=xe.descriptor,Ce=Se.options,me=Se.route;re=(0,r(d[7]).getHeaderTitle)(Ce,me.name)}var He=n.useMemo((function(){return void 0!==re?{title:re}:void 0}),[re]);return(0,r(d[9]).jsx)(l.default,{interpolationIndex:p,gestureDirection:pe,layout:D,insets:Y,gesture:b,current:z.progress.current,next:z.progress.next,closing:y,onOpen:function(){var t=z.descriptor.route;G({route:t},!1),T({route:t})},onClose:function(){var t=z.descriptor.route;G({route:t},!0),M({route:t})},overlay:se,overlayEnabled:ue,shadowEnabled:le,onTransition:function(t){var n=t.closing,o=t.gesture,s=z.descriptor.route;o?h&&n?null==X||X(!1):null==U||U():null==X||X(!0),null==_||_({route:s},n)},onGestureBegin:function(){var t=z.descriptor.route;Q(),F({route:t})},onGestureCanceled:function(){var t=z.descriptor.route;U(),R({route:t})},onGestureEnd:function(){var t=z.descriptor.route;A({route:t})},gestureEnabled:0!==v&&fe,gestureResponseDistance:ve,gestureVelocityImpact:ge,transitionSpec:be,styleInterpolator:ce,accessibilityElementsHidden:!x,importantForAccessibility:x?'auto':'no-hide-descendants',pointerEvents:h?'box-none':te,pageOverflowEnabled:'float'!==he&&'modal'!==ae,headerDarkContent:P,containerStyle:E&&'screen'!==he?{marginTop:j}:null,contentStyle:[{backgroundColor:'transparentModal'===ae?'transparent':Z.background},de],style:[{overflow:h?void 0:'hidden',display:!1!==ie||!1!==k||!1===I||x?'flex':'none'},o.StyleSheet.absoluteFill],children:(0,r(d[9]).jsx)(o.View,{style:f.container,children:(0,r(d[9]).jsxs)(s.default.Provider,{value:S,children:[(0,r(d[9]).jsx)(o.View,{style:f.scene,children:(0,r(d[9]).jsx)(r(d[7]).HeaderBackContext.Provider,{value:He,children:(0,r(d[9]).jsx)(r(d[7]).HeaderShownContext.Provider,{value:O||!1!==ye,children:(0,r(d[9]).jsx)(r(d[7]).HeaderHeightContext.Provider,{value:ye?j:null!=J?J:0,children:V({route:z.descriptor.route})})})})}),'float'!==he?L({mode:'screen',layout:D,scenes:[xe,z],getPreviousScene:C,getFocusedRoute:H,onContentHeightChange:w}):null]})})})}));e.default=p;var f=o.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},scene:{flex:1}})}),744,[3,16,144,1,693,745,746,699,438,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var o=t.useRef(void 0),c=t.useRef(0),f=t.useRef(),l=t.useCallback((function(){void 0!==f.current&&(clearTimeout(f.current),f.current=void 0)}),[]),s=t.useCallback((function(){if(u()){l();var t=n.TextInput.State.currentlyFocusedInput();null==t||t.blur(),o.current=t,c.current=Date.now()}}),[l,u]),p=t.useCallback((function(t){if(u()){if(l(),t)n.Keyboard.dismiss();else{var c=o.current;null==c||c.blur()}o.current=void 0}}),[l,u]),v=t.useCallback((function(){if(u()){l();var t=o.current;t&&(Date.now()-c.current<100?f.current=setTimeout((function(){null==t||t.focus(),o.current=void 0}),100):(null==t||t.focus(),o.current=void 0))}}),[l,u]);return t.useEffect((function(){return function(){return l()}}),[l]),{onPageChangeStart:s,onPageChangeConfirm:p,onPageChangeCancel:v}};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=f?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(c,l,s):c[l]=t[l]}c.default=t,o&&o.set(t,c);return c})(r(d[0])),n=r(d[1]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),745,[144,1]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.getIsModalPresentation=_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),h=r(d[9]),f=r(d[0])(r(d[10])),p=r(d[0])(r(d[11])),v=r(d[0])(r(d[12])),y=r(d[0])(r(d[13])),w=r(d[0])(r(d[14])),b=r(d[0])(r(d[15])),S=["styleInterpolator","interpolationIndex","current","gesture","next","layout","insets","overlay","overlayEnabled","shadowEnabled","gestureEnabled","gestureDirection","pageOverflowEnabled","headerDarkContent","children","containerStyle","contentStyle"];function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var C='web'!==h.Platform.OS,O=(function(E){(0,o.default)(D,E);var O,I,k=(O=D,I=V(),function(){var e,t=(0,s.default)(O);if(I){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function D(){var e;(0,t.default)(this,D);for(var n=arguments.length,o=new Array(n),l=0;lw/2?0!==S||0!==b:e.props.closing;e.animate({closing:E,velocity:S}),E&&(e.pendingGestureCallback=setTimeout((function(){s(),e.forceUpdate()}),32)),null==h||h()}},e.getInterpolatedStyle=(0,y.default)((function(e,t){return e(t)})),e.getCardAnimation=(0,y.default)((function(t,n,o,l,s,u,c,h){return{index:t,current:{progress:n},next:o&&{progress:o},closing:e.isClosing,swiping:e.isSwiping,inverted:e.inverted,layouts:{screen:l},insets:{top:s,right:u,bottom:c,left:h}}})),e.ref=c.createRef(),e}return(0,n.default)(D,[{key:"componentDidMount",value:function(){this.animate({closing:this.props.closing}),this.isCurrentlyMounted=!0}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.layout,o=t.gestureDirection,l=t.closing,s=n.width,u=n.height;s!==e.layout.width&&this.layout.width.setValue(s),u!==e.layout.height&&this.layout.height.setValue(u),o!==e.gestureDirection&&this.inverted.setValue((0,v.default)(o));var c=this.getAnimateToValue(this.props);this.getAnimateToValue(e)===c&&this.lastToValue===c||this.animate({closing:l})}},{key:"componentWillUnmount",value:function(){this.props.gesture.stopAnimation(),this.isCurrentlyMounted=!1,this.handleEndInteraction()}},{key:"gestureActivationCriteria",value:function(){var e=this.props,t=e.layout,n=e.gestureDirection,o=e.gestureResponseDistance,l=!0,s=void 0!==o?o:'vertical'===n||'vertical-inverted'===n?135:50;if('vertical'===n)return{maxDeltaX:15,minOffsetY:5,hitSlop:{bottom:-t.height+s},enableTrackpadTwoFingerGesture:l};if('vertical-inverted'===n)return{maxDeltaX:15,minOffsetY:-5,hitSlop:{top:-t.height+s},enableTrackpadTwoFingerGesture:l};var u=-t.width+s;return 1===(0,v.default)(n)?{minOffsetX:5,maxDeltaY:20,hitSlop:{right:u},enableTrackpadTwoFingerGesture:l}:{minOffsetX:-5,maxDeltaY:20,hitSlop:{left:u},enableTrackpadTwoFingerGesture:l}}},{key:"render",value:function(){var t,n=this.props,o=n.styleInterpolator,l=n.interpolationIndex,s=n.current,c=n.gesture,p=n.next,v=n.layout,y=n.insets,E=n.overlay,V=n.overlayEnabled,O=n.shadowEnabled,I=n.gestureEnabled,k=n.gestureDirection,D=n.pageOverflowEnabled,j=n.headerDarkContent,T=n.children,P=n.containerStyle,G=n.contentStyle,M=(0,e.default)(n,S),H=this.getCardAnimation(l,s,p,v,y.top,y.right,y.bottom,y.left),R=this.getInterpolatedStyle(o,H),X=R.containerStyle,Y=R.cardStyle,_=R.overlayStyle,z=R.shadowStyle,B=I?h.Animated.event([{nativeEvent:'vertical'===k||'vertical-inverted'===k?{translationY:c}:{translationX:c}}],{useNativeDriver:C}):void 0,F=h.StyleSheet.flatten(G||{}).backgroundColor,L='string'==typeof F&&0===(0,u.default)(F).alpha();return(0,r(d[17]).jsxs)(f.default.Provider,{value:H,children:['ios'===h.Platform.OS&&V&&p&&x(o)?(0,r(d[17]).jsx)(w.default,{dark:j,layout:v,insets:y,style:Y}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:{opacity:s},collapsable:!1}),(0,r(d[17]).jsxs)(h.View,Object.assign({pointerEvents:"box-none"},M,{children:[V?(0,r(d[17]).jsx)(h.View,{pointerEvents:"box-none",style:h.StyleSheet.absoluteFill,children:E({style:_})}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:[A.container,X,P],pointerEvents:"box-none",children:(0,r(d[17]).jsx)(r(d[16]).PanGestureHandler,Object.assign({enabled:0!==v.width&&I,onGestureEvent:B,onHandlerStateChange:this.handleGestureStateChange},this.gestureActivationCriteria(),{children:(0,r(d[17]).jsxs)(h.Animated.View,{needsOffscreenAlphaCompositing:(t=Y,!!t&&null!=h.StyleSheet.flatten(t).opacity),style:[A.container,Y],children:[O&&z&&!L?(0,r(d[17]).jsx)(h.Animated.View,{style:[A.shadow,'horizontal'===k?[A.shadowHorizontal,A.shadowLeft]:'horizontal-inverted'===k?[A.shadowHorizontal,A.shadowRight]:'vertical'===k?[A.shadowVertical,A.shadowTop]:[A.shadowVertical,A.shadowBottom],{backgroundColor:F},z],pointerEvents:"none"}):null,(0,r(d[17]).jsx)(b.default,{ref:this.ref,enabled:D,layout:v,style:G,children:T})]})}))})]}))]})}}]),D})(c.Component);_e.default=O,O.defaultProps={shadowEnabled:!1,gestureEnabled:!0,gestureVelocityImpact:.3,overlay:function(e){var t=e.style;return t?(0,r(d[17]).jsx)(h.Animated.View,{pointerEvents:"none",style:[A.overlay,t]}):null}};var x=function(e){return e===r(d[18]).forModalPresentationIOS||'forModalPresentationIOS'===e.name};_e.getIsModalPresentation=x;var A=h.StyleSheet.create({container:{flex:1},overlay:{flex:1,backgroundColor:'#000'},shadow:{position:'absolute',shadowRadius:5,shadowColor:'#000',shadowOpacity:.3},shadowHorizontal:{top:0,bottom:0,width:3,shadowOffset:{width:-1,height:1}},shadowLeft:{left:0},shadowRight:{right:0},shadowVertical:{left:0,right:0,height:3,shadowOffset:{width:1,height:-1}},shadowTop:{top:0},shadowBottom:{bottom:0}})}),746,[3,108,6,7,44,46,48,733,144,1,747,742,743,698,748,749,750,192,685]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),747,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var l,f,c=o.dark,s=o.layout,p=o.insets,v=o.style,y=(0,r(d[4]).useTheme)().dark,O=n.useState(!0),b=(0,t.default)(O,2),j=b[0],h=b[1],k=1-20/s.width,w=(p.top-34)*k,P=u.StyleSheet.flatten(v),_=null==P||null==(l=P.transform)||null==(f=l.find((function(t){return void 0!==t.translateY})))?void 0:f.translateY;n.useEffect((function(){var t=null==_?void 0:_.addListener((function(t){var n=t.value;h(n1,children:e})}));return(0,r(d[13]).jsx)(I.NativeScreenStack,Object.assign({},n,{children:c}))},InnerScreen:D,FullWindowOverlay:function(e){return'ios'!==v.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,r(d[13]).jsx)(v.View,Object.assign({},e))):(0,r(d[13]).jsx)(I.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return I.NativeScreen},get NativeScreenContainer(){return I.NativeScreenContainer},get NativeScreenNavigationContainer(){return I.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return I.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return I.NativeScreenStackHeaderSubview},get SearchBar(){return r(d[15]).isSearchBarAvailableForCurrentPlatform?I.NativeSearchBar:(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),v.View)},ScreenStackHeaderBackButtonImage:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,{type:"back",style:T.headerSubview,children:(0,r(d[13]).jsx)(v.Image,Object.assign({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"right",style:T.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"left",style:T.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"center",style:T.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"searchBar",style:T.headerSubview}))},enableScreens:function(){(j=k&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))&&!v.UIManager.getViewManagerConfig('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")},enableFreeze:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=parseInt(r(d[12]).version.split('.')[1]);0===t||t>=64||!e||console.warn('react-freeze library requires at least react-native 0.64. Please upgrade your react-native version in order to use this feature.'),O=e},screensEnabled:function(){return j},shouldUseActivityState:!0,useTransitionProgress:f.default,isSearchBarAvailableForCurrentPlatform:r(d[15]).isSearchBarAvailableForCurrentPlatform,executeNativeBackPress:r(d[15]).executeNativeBackPress}}),754,[3,6,7,44,46,48,108,16,144,1,755,756,630,192,757,758]); +__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),755,[144]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),756,[144,3,755]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(n){var f=n.freeze,u=n.children,c=n.placeholder,l=void 0===c?null:c;return(0,r(d[1]).jsx)(t.Suspense,{fallback:l,children:(0,r(d[1]).jsx)(o,{freeze:f,children:u})})};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(o);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u);return u})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:o})(t)}function o(n){var o=n.freeze,f=n.children,u=(0,t.useRef)({}).current;if(o&&!u.promise)throw u.promise=new Promise((function(t){u.resolve=t})),u.promise;if(o)throw u.promise;return u.promise&&(u.resolve(),u.promise=void 0),(0,r(d[1]).jsx)(t.Fragment,{children:f})}}),757,[144,192]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o}),758,[1]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for card animation. Are you inside a screen in Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),759,[144,3,747]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a ref for gesture handler. Are you inside a screen in Stack?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),760,[144,3,752]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[0])(r(d[1]));var t=r(d[2]),n=r(d[0])(r(d[3])),o=t.Dimensions.get('window').width,l=t.StyleSheet.create({container:{justifyContent:'center',width:'100%',height:720*o/1022},image:{flex:1,width:'100%',resizeMode:'contain'}}),u=function(){return console.log((0,r(d[4]).getOrderDetails)()),(0,r(d[5]).jsx)(t.View,{style:l.container,onLayout:function(t){var o=t.nativeEvent.layout,l=o.height,u=o.width;console.log('image height',l,u),n.default.updateMerchantViewHeight('JuspayHeader',l)},children:(0,r(d[5]).jsx)(t.Image,{source:r(d[6]),style:l.image})})};e.default=u}),761,[3,144,1,424,683,192,762]); +__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/images",width:1022,height:720,scales:[1],hash:"a1a1127430d5fc2c2ee56ce5097be87c",name:"promotion",type:"png"})}),762,[722]); +__d((function(g,_r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),r=_r(d[3]),o=_r(d[0])(_r(d[4])),l=_r(d[0])(_r(d[5]));function s(t){var n=(0,_r(d[6]).getOrderDetails)();n.amount=t;var r=JSON.stringify(n);o.default.generateSign('',r).then((function(t){var n={requestId:'dfkljfdskjlj',payload:{action:'updateOrder',orderDetails:r,signature:t},service:'in.juspay.hyperpay'};console.log('process called',n),l.default.process(JSON.stringify(n))}))}var u=r.StyleSheet.create({container:{height:'auto',justifyContent:'center'},hello:{fontSize:20,textAlign:'center',margin:10,height:24},input:{height:40,margin:12,borderWidth:1,padding:10}}),c=function(){console.log((0,_r(d[6]).getOrderDetails)());var o=n.default.useState((0,_r(d[6]).getOrderDetails)().amount),l=(0,t.default)(o,2),c=l[0],f=l[1];return(0,_r(d[7]).jsxs)(r.View,{style:u.container,children:[(0,_r(d[7]).jsx)(r.Text,{style:u.hello,children:"amount"}),(0,_r(d[7]).jsx)(r.TextInput,{style:u.input,onChangeText:f}),(0,_r(d[7]).jsx)(r.Button,{title:"Update Amount",onPress:function(){return s(c)}})]})};e.default=c}),763,[3,16,144,1,423,424,683,192]); +__d((function(e,a,p,d,m,t,c){m.exports={name:"HyperSdkReactExample",displayName:"HyperSdkReact Example"}}),764,[]); __r(40); __r(0); \ No newline at end of file diff --git a/example/src/App.tsx b/example/src/App.tsx index 42044b9..3bf5402 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -10,7 +10,6 @@ import { createStackNavigator } from '@react-navigation/stack'; import { NavigationContainer } from '@react-navigation/native'; import HomeScreen from './HomeScreen'; import ProcessScreen from './ProcessScreen'; -import OfferScreen from './OfferScreen'; const AppNavigator = createStackNavigator(); @@ -27,11 +26,6 @@ const App = () => ( component={ProcessScreen} options={{ title: 'Process Screen' }} /> - ); diff --git a/example/src/OfferScreen.tsx b/example/src/OfferScreen.tsx deleted file mode 100644 index e5af641..0000000 --- a/example/src/OfferScreen.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import { Text, View } from 'react-native'; - -export default function OfferScreen() { - return ( - - Offer Screen - - ); -} diff --git a/example/src/ProcessScreen.tsx b/example/src/ProcessScreen.tsx index 42ff275..da32736 100644 --- a/example/src/ProcessScreen.tsx +++ b/example/src/ProcessScreen.tsx @@ -22,7 +22,7 @@ import { } from 'react-native'; // import { Picker } from '@react-native-picker/picker'; import CheckBox from '@react-native-community/checkbox'; -import HyperSdkReact, { HyperView } from 'hyper-sdk-react'; +import HyperSdkReact, { HyperFragmentView } from 'hyper-sdk-react'; import HyperAPIUtils from './API'; import HyperUtils from './Utils'; import { useNavigation } from '@react-navigation/native'; @@ -122,7 +122,7 @@ class ProcessScreen extends React.Component { this.otp = ''; this.sdkPresent = ''; this.walletMobile = ''; - this.flyerPayload = JSON.stringify(HyperUtils.generateFlyerPayload()); + this.flyerPayload = JSON.stringify({}); if (this.service === 'pp') { this.state.pickerSelected = 'paymentPage'; @@ -899,7 +899,7 @@ class ProcessScreen extends React.Component { /> {this.state.isPayloadGenerated ? ( - {this.state.isPayloadGenerated ? ( - { }; const services = { - ec: 'in.juspay.flyer', + ec: 'in.juspay.hyperapi', pp: 'in.juspay.hyperpay', }; @@ -147,16 +147,6 @@ const generateNBTxnPayload = ( }; }; -const generateFlyerPayload = () => { - return { - requestId: uuidv4(), - service: services.ec, - payload: { - action: 'process', - }, - }; -}; - const generateCardTxnPayload = ( orderId: string, clientAuthToken: string, @@ -429,7 +419,7 @@ const alertCallbackResponse = (screen: string, resp: any) => { var data = JSON.parse(resp); var event: string = data.event || ''; var payload = JSON.stringify(data.payload) || ''; - console.log(screen + ': callback response' + resp); + console.log(screen + ': callback response' + payload); showCopyAlert(screen + ': ' + event, payload); // console.warn(screen, resp); }; @@ -512,7 +502,6 @@ type HyperUtils = { generateDeviceReadyPayload(sdkPresent: string): {}; showCopyAlert(title: string, body: any): void; alertCallbackResponse(screen: string, resp: any): void; - generateFlyerPayload(): {}; }; export default { @@ -540,5 +529,4 @@ export default { generateDeviceReadyPayload, showCopyAlert, alertCallbackResponse, - generateFlyerPayload, } as HyperUtils; diff --git a/src/HyperView.tsx b/src/HyperFragmentView.tsx similarity index 56% rename from src/HyperView.tsx rename to src/HyperFragmentView.tsx index f4b59c2..54ffd2b 100644 --- a/src/HyperView.tsx +++ b/src/HyperFragmentView.tsx @@ -11,27 +11,31 @@ import { UIManager, findNodeHandle, requireNativeComponent, + Platform, } from 'react-native'; -export interface HyperViewProps { +export interface HyperFragmentViewProps { height?: number; width?: number; namespace: string; payload: string; } +var HyperFragmentViewManager: any; -const HyperViewManager = requireNativeComponent('HyperViewManager'); +if (Platform.OS === 'android') { + HyperFragmentViewManager = requireNativeComponent('HyperFragmentViewManager'); +} const createFragment = (viewId: number, namespace: string, payload: string) => { UIManager.dispatchViewManagerCommand( viewId, //@ts-ignore - UIManager.HyperViewManager.Commands.process.toString(), + UIManager.HyperFragmentViewManager.Commands.process.toString(), [viewId, namespace, payload] ); }; -const HyperView: React.FC = ({ +const HyperFragmentView: React.FC = ({ height, width, namespace, @@ -39,17 +43,23 @@ const HyperView: React.FC = ({ }) => { const ref = React.useRef(null); React.useEffect(() => { - const viewId = findNodeHandle(ref.current); - if (viewId) { - createFragment(viewId, namespace, payload); + if (Platform.OS == 'android') { + const viewId = findNodeHandle(ref.current); + if (viewId) { + createFragment(viewId, namespace, payload); + } } }, [namespace, payload]); + if (!HyperFragmentViewManager) { + return null; + } + return ( - + ); }; -export default HyperView; +export default HyperFragmentView; diff --git a/src/index.tsx b/src/index.tsx index 73e81f6..b96e285 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -24,7 +24,7 @@ const HyperSdkReact = NativeModules.HyperSdkReact } ); -export { default as HyperView } from './HyperView'; +export { default as HyperFragmentView } from './HyperFragmentView'; if (Platform.OS === 'android') { HyperSdkReact.updateBaseViewController = () => {};