diff --git a/README.md b/README.md index deeef54..10393b4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ - Bookmark - [Requirement](#requirement) - - [Authenticate the npm registry](#authenticate-the-npm-registry) - [Installation](#installation) - [New Architecture Support](#new-architecture-support) - [Run the Sample App](#requirement) @@ -27,44 +26,55 @@ Install Apple’s Xcode development software: [Xcode in the Apple App Store](htt ``` > How to install Homebrew on MacOS: [Link](https://mac.install.guide/homebrew/3.html) - -## Authenticate the npm registry - -Create a Personal Access Token (PAT) in your [GitHub setting](https://github.com/settings/tokens). Use the `Configure SSO` button next to your created token to authorize `circlefin` organization. More instructions can be found [here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), and check below links for creating GitHub PAT: -- [Creating a fine-grained personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) -- [Creating a personal access token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) - - + ## Installation ```shell yarn add @circle-fin/w3s-pw-react-native-sdk ``` ### Android -Add the maven repository to your `android/build.gradle`. It's suggested that load settings from the `local.properties`: -```properties -repositories { - ... - maven { - Properties properties = new Properties() - // Load local.properties. - properties.load(new File(rootDir.absolutePath + "/local.properties").newDataInputStream()) +1. In your root-level (project-level) Gradle file (`android/build.gradle`) + 1. Add the maven repository as below. It's suggested that load settings from the `local.properties`: + ```properties + repositories { + ... + maven { + Properties properties = new Properties() + // Load local.properties. + properties.load(new File(rootDir.absolutePath + "/local.properties").newDataInputStream()) + + url properties.getProperty('pwsdk.maven.url') + credentials { + username properties.getProperty('pwsdk.maven.username') + password properties.getProperty('pwsdk.maven.password') + } + } + } + ``` + 2. Add the Google services plugin as a dependency: + ``` + buildscript { + dependencies { + classpath 'com.google.gms:google-services:4.4.2' + } + } + ``` +2. In your module (app-level) Gradle file (`android/app/build.gradle`), add the Google services plugin: + ``` + apply plugin: "com.google.gms.google-services" + ``` - url properties.getProperty('pwsdk.maven.url') - credentials { - username properties.getProperty('pwsdk.maven.username') - password properties.getProperty('pwsdk.maven.password') - } - } -} -``` -Add the maven setting values in the `local.properties` file. -```properties -pwsdk.maven.url=https://maven.pkg.github.com/circlefin/w3s-android-sdk -pwsdk.maven.username= -pwsdk.maven.password= -``` -> **Note** -> When pasting the values above for `` and ``, make sure to not surround the values with quotes. +3. Add the maven setting values in the `local.properties` file. + ```properties + pwsdk.maven.url=https://maven.pkg.github.com/circlefin/w3s-android-sdk + pwsdk.maven.username= + pwsdk.maven.password= + ``` + > **Note** + > When pasting the values above for `` and ``, make sure to not surround the values with quotes. + + - Check the following links for creating PAT. + - [Creating a personal access token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) + - [Creating a fine-grained personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) ### iOS Run the command under `ios/`: ``` @@ -88,29 +98,62 @@ Or run without flag to use old architecture: pod install ``` ## Run the Sample App +### Android 1. Edit `src/config.json` ➜ `pw_app_id` to fill in your `APP ID`. -2. (Optional) Open the project in [Android Studio](https://developer.android.com/studio) and see if there's any build error. +2. Place your `google-services.json` file downloaded from Firebase to `android/app` [(LearnMore)](https://github.com/react-native-community/react-native-google-signin/blob/master/docs/get-config-file.md) +3. **_Skip this if not using Google sign-in_** + Edit `android/app/src/main/res/values/strings.xml` ➜ `YOUR_GOOGLE_WEB_CLIENT_ID` to fill in your `Google sign-in client ID`. +4. **_Skip this if not using Facebook sign-in_** + Edit `android/app/src/main/res/values/strings.xml` ➜ `YOUR_FACEBOOK_APP_ID` to fill in your `Facebook app id`. + Edit `android/app/src/main/res/values/strings.xml` ➜ `YOUR_FACEBOOK_CLIENT_TOKEN` to fill in your `Facebook client token`. +5. **_Skip this if not using Apple sign-in_** + Edit `android/app/build.gradle` ➜ `YOUR_APPLE_SERVICE_ID` to fill in your `Apple service-id`. +6. (Optional) Open the project in [Android Studio](https://developer.android.com/studio) and see if there's any build error. - File ➜ Open ➜ choose `android` folder. - File ➜ Sync Project with Files. - Build ➜ Rebuild Project. -3. (Optional) Open the project in [Xcode](https://apps.apple.com/tw/app/xcode/id497799835?mt=12) and build to see if there's any build error. +7. Run on device + You can simply run the command below or find more detail on [reactnative.dev](https://reactnative.dev/docs/running-on-device?package-manager=yarn&platform=android). + - Android + ```sh + yarn android + ``` +### iOS +1. Edit `src/config.json` ➜ `pw_app_id` to fill in your `APP ID`. +2. Open the project in [Xcode](https://apps.apple.com/tw/app/xcode/id497799835?mt=12) and build to see if there's any build error. - Open `W3sSampleWallet.xcworkspace` in Xcode. - Product ➜ Build. - If the Metro server does not launch by Xcode, please run the command on project folder. ```sh yarn start ``` +3. Social login setups + - **_Apple sign-in (Optional)_** + In the project editor, setup your own development team and Bundle Identifier. + Add the Sign In with Apple capability to your target if needed. + > Learn more: https://help.apple.com/xcode/mac/11.0/#/dev50571b902 + + - **_Google sign-in (Optional)_** + Edit `W3sSampleWallet/info.plist` ➜ `YOUR_IOS_CLIENT_ID` to fill in your `OAuth client ID`. + Edit `W3sSampleWallet/info.plist/URL types/URL Schemes` ➜ `YOUR_DOT_REVERSED_IOS_CLIENT_ID` to fill in your `reversed client ID`. + > Learn more: https://developers.google.com/identity/sign-in/ios/start-integrating?hl=en#add_client_id + + - **_Facebook sign-in (Optional)_** + Edit `W3sSampleWallet/info.plist/URL types/URL Schemes` ➜ `fbAPP-ID` replace with `fb{your-facebook-app-id}`. + Edit `W3sSampleWallet/info.plist/FacebookAppID` ➜ `APP-ID` replace with `your-facebook-app-id`. + Edit `W3sSampleWallet/info.plist/FacebookClientToken` ➜ `CLIENT-TOKEN` to fill in your `Facebook client token`. + Edit `W3sSampleWallet/info.plist/FacebookDisplayName` ➜ `APP-NAME` to fill in your `App Name`. + > Learn more: https://developers.facebook.com/docs/ios/getting-started#configure-your-project + 4. Run on device You can simply run the command below or find more detail on [reactnative.dev](https://reactnative.dev/docs/running-on-device?package-manager=yarn&platform=android). - - Android - ```sh - yarn android - ``` - iOS ```sh yarn ios ``` +### Usage +There are three tabs corresponding to different [authentication methods](https://developers.circle.com/w3s/docs/authentication-methods). + Fill in the `App ID` and the relevant fields in each tab according to the requirements of different authentication methods for challenge execution. - 5. Fill in the `App ID` and execute it along with `User Token`, `Encryption Key` and `Challenge ID`. -drawing +drawing drawing drawing diff --git a/android/app/build.gradle b/android/app/build.gradle index 02cc257..641ff59 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -17,6 +17,7 @@ apply plugin: "com.android.application" apply plugin: "org.jetbrains.kotlin.android" apply plugin: "com.facebook.react" +apply plugin: "com.google.gms.google-services" /** * This is the configuration block to customize your React Native Android app. @@ -90,27 +91,14 @@ android { buildToolsVersion rootProject.ext.buildToolsVersion compileSdk rootProject.ext.compileSdkVersion - namespace "com.w3ssamplewallet" + namespace "com.circle.w3s.rn.sample.wallet" defaultConfig { - applicationId "com.w3ssamplewallet" + applicationId "com.circle.w3s.rn.sample.wallet" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" - } - signingConfigs { - debug { - storeFile file('debug.keystore') - storePassword 'android' - keyAlias 'androiddebugkey' - keyPassword 'android' - } - release { - storeFile file('debug.keystore') - storePassword 'android' - keyAlias 'androiddebugkey' - keyPassword 'android' - } + manifestPlaceholders = [appAuthRedirectScheme: 'YOUR_APPLE_SERVICE_ID'] } buildTypes { debug { @@ -137,5 +125,4 @@ dependencies { implementation jscFlavor } } - apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 5d28425..39a0be9 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -24,3 +24,13 @@ # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: +# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). +-keep,allowobfuscation,allowshrinking interface retrofit2.Call +-keep,allowobfuscation,allowshrinking class retrofit2.Response + +# With R8 full mode generic signatures are stripped for classes that are not +# kept. Suspend functions are wrapped in continuations where the type argument +# is used. +-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation +-dontwarn java.beans.ConstructorProperties +-dontwarn java.beans.Transient \ No newline at end of file diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle index 128d830..cd6d0fa 100644 --- a/android/app/src/main/assets/index.android.bundle +++ b/android/app/src/main/assets/index.android.bundle @@ -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,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(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 m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=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],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r';return function(){for(var r=arguments.length,u=new Array(r),e=0;e0&&void 0!==arguments[0]?arguments[0]:{};t=Object.assign({},t,n)};var t={bindI18n:'languageChanged',bindI18nStore:'',transEmptyNodeValue:'',transSupportBasicHtmlNodes:!0,transWrapTextNodes:'',transKeepBasicHtmlNodesFor:['br','strong','i','p'],useSuspense:!0,unescape:r(d[0]).unescape}}),444,[445]); -__d((function(g,r,i,a,_m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=void 0;var t=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,p={'&':'&','&':'&','<':'<','<':'<','>':'>','>':'>',''':"'",''':"'",'"':'"','"':'"',' ':' ',' ':' ','©':'\xa9','©':'\xa9','®':'\xae','®':'\xae','…':'\u2026','…':'\u2026','/':'/','/':'/'},n=function(t){return p[t]};e.unescape=function(p){return p.replace(t,n)}}),445,[]); -__d((function(g,r,i,a,m,e,d){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getI18n=function(){return n},e.setI18n=function(t){n=t}}),446,[]); -__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initReactI18next=void 0;var t={type:'3rdParty',init:function(t){(0,r(d[0]).setDefaults)(t.options.react),(0,r(d[1]).setI18n)(t)}};e.initReactI18next=t}),447,[444,446]); -__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.I18nextProvider=function(t){var u=t.i18n,o=t.defaultNS,c=t.children,l=(0,n.useMemo)((function(){return{i18n:u,defaultNS:o}}),[u,o]);return(0,n.createElement)(r(d[1]).I18nContext.Provider,{value:l},c)};var n=r(d[0])}),448,[153,443]); -__d((function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]),t=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];Object.defineProperty(e,"__esModule",{value:!0}),e.Trans=function(s){var u=s.children,c=s.count,l=s.parent,p=s.i18nKey,f=s.context,v=s.tOptions,h=void 0===v?{}:v,O=s.values,b=s.defaults,x=s.components,y=s.ns,S=s.i18n,T=s.t,_=s.shouldUnescape,j=n(s,t),K=(0,o.useContext)(r(d[3]).I18nContext)||{},U=K.i18n,C=K.defaultNS,I=S||U||(0,r(d[3]).getI18n)(),N=T||I&&I.t.bind(I);return(0,r(d[1]).Trans)(Object.assign({children:u,count:c,parent:l,i18nKey:p,context:f,tOptions:h,values:O,defaults:b,components:x,ns:y||N&&N.ns||C||I&&I.options&&I.options.defaultNS,i18n:I,t:T,shouldUnescape:_},j))},Object.defineProperty(e,"nodesToString",{enumerable:!0,get:function(){return r(d[1]).nodesToString}});var o=r(d[2])}),449,[119,450,153,443]); -__d((function(g,r,_i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]),i=["format"],s=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"],o=r(d[2]);Object.defineProperty(e,"__esModule",{value:!0}),e.Trans=function(t){var i=t.children,o=t.count,l=t.parent,c=t.i18nKey,u=t.context,f=t.tOptions,y=void 0===f?{}:f,h=t.values,v=t.defaults,O=t.components,$=t.ns,E=t.i18n,k=t.t,x=t.shouldUnescape,w=n(t,s),N=E||(0,r(d[7]).getI18n)();if(!N)return(0,r(d[6]).warnOnce)('You will need to pass in an i18next instance by using i18nextReactModule'),i;var V=k||N.t.bind(N)||function(t){return t};u&&(y.context=u);var P=Object.assign({},(0,r(d[8]).getDefaults)(),N.options&&N.options.react),D=$||V.ns||N.options&&N.options.defaultNS;D='string'==typeof D?[D]:D||['translation'];var T=b(i,P),I=v||T||P.transEmptyNodeValue||c,K=P.hashTransKey,M=c||(K?K(T||I):T||I);N.options&&N.options.interpolation&&N.options.interpolation.defaultVariables&&(h=h&&Object.keys(h).length>0?Object.assign({},h,N.options.interpolation.defaultVariables):Object.assign({},N.options.interpolation.defaultVariables));var _=h?y.interpolation:{interpolation:Object.assign({},y.interpolation,{prefix:'#$?',suffix:'?$#'})},B=Object.assign({},y,{count:o},h,_,{defaultValue:I,ns:D}),F=M?V(M,B):I;O&&Object.keys(O).forEach((function(t){var n=O[t];'function'==typeof n.type||!n.props||!n.props.children||F.indexOf(`${t}/>`)<0&&F.indexOf(`${t} />`)<0||(O[t]=p.default.createElement((function(){return p.default.createElement(p.default.Fragment,null,n)}),null))}));var H=j(O||i,F,N,P,B,x),S=void 0!==l?l:P.defaultTransParent;return S?(0,p.createElement)(S,w,H):H},e.nodesToString=b;var l=o(r(d[3])),p=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=u(n);if(i&&i.has(t))return i.get(t);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=o?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(s,l,p):s[l]=t[l]}s.default=t,i&&i.set(t,s);return s})(r(d[4])),c=o(r(d[5]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(u=function(t){return t?i:n})(t)}function f(t,n){if(!t)return!1;var i=t.props?t.props.children:t.children;return n?i.length>0:!!i}function y(t){if(!t)return[];var n=t.props?t.props.children:t.children;return t.props&&t.props.i18nIsDynamicList?v(n):n}function h(t){return'[object Array]'===Object.prototype.toString.call(t)&&t.every((function(t){return(0,p.isValidElement)(t)}))}function v(t){return Array.isArray(t)?t:[t]}function b(t,s){if(!t)return'';var o='',l=v(t),c=s.transSupportBasicHtmlNodes&&s.transKeepBasicHtmlNodesFor?s.transKeepBasicHtmlNodesFor:[];return l.forEach((function(t,l){if('string'==typeof t)o+=`${t}`;else if((0,p.isValidElement)(t)){var u=Object.keys(t.props).length,f=c.indexOf(t.type)>-1,y=t.props.children;if(!y&&f&&0===u)o+=`<${t.type}/>`;else if(y||f&&0===u)if(t.props.i18nIsDynamicList)o+=`<${l}>`;else if(f&&1===u&&'string'==typeof y)o+=`<${t.type}>${y}`;else{var h=b(y,s);o+=`<${l}>${h}`}else o+=`<${l}>`}else if(null===t)(0,r(d[6]).warn)("Trans: the passed in value is invalid - seems you passed in a null child.");else if('object'==typeof t){var v=t.format,j=n(t,i),O=Object.keys(j);if(1===O.length){var $=v?`${O[0]}, ${v}`:O[0];o+=`{{${$}}}`}else(0,r(d[6]).warn)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else(0,r(d[6]).warn)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)})),o}function j(n,i,s,o,u,b){if(''===i)return[];var j=o.transKeepBasicHtmlNodesFor||[],O=i&&new RegExp(j.map((function(t){return`<${t}`})).join('|')).test(i);if(!n&&!O&&!b)return[i];var $={};!(function t(n){v(n).forEach((function(n){'string'!=typeof n&&(f(n)?t(y(n)):'object'!=typeof n||(0,p.isValidElement)(n)||Object.assign($,n))}))})(n);var E=c.default.parse(`<0>${i}`),k=Object.assign({},$,u);function x(t,n,i){var s=y(t),o=N(s,n.children,i);return h(s)&&0===o.length||t.props&&t.props.i18nIsDynamicList?s:o}function w(n,i,s,o,c){n.dummy?(n.children=i,s.push((0,p.cloneElement)(n,{key:o},c?void 0:i))):s.push.apply(s,t(p.Children.map([n],(function(t){var n=Object.assign({},t.props);return delete n.i18nIsDynamicList,p.default.createElement(t.type,(0,l.default)({},n,{key:o,ref:t.ref},c?{}:{children:i}))}))))}function N(t,i,l){var c=v(t);return v(i).reduce((function(t,i,u){var y,h,v,$=i.children&&i.children[0]&&i.children[0].content&&s.services.interpolator.interpolate(i.children[0].content,k,s.language);if('tag'===i.type){var E=c[parseInt(i.name,10)];1!==l.length||E||(E=l[0][i.name]),E||(E={});var V=0!==Object.keys(i.attrs).length?(y={props:i.attrs},h=E,(v=Object.assign({},h)).props=Object.assign(y.props,h.props),v):E,P=(0,p.isValidElement)(V),D=P&&f(i,!0)&&!i.voidElement,T=O&&'object'==typeof V&&V.dummy&&!P,I='object'==typeof n&&null!==n&&Object.hasOwnProperty.call(n,i.name);if('string'==typeof V){var K=s.services.interpolator.interpolate(V,k,s.language);t.push(K)}else if(f(V)||D){w(V,x(V,i,l),t,u)}else if(T){w(V,N(c,i.children,l),t,u)}else if(Number.isNaN(parseFloat(i.name))){if(I)w(V,x(V,i,l),t,u,i.voidElement);else if(o.transSupportBasicHtmlNodes&&j.indexOf(i.name)>-1)if(i.voidElement)t.push((0,p.createElement)(i.name,{key:`${i.name}-${u}`}));else{var M=N(c,i.children,l);t.push((0,p.createElement)(i.name,{key:`${i.name}-${u}`},M))}else if(i.voidElement)t.push(`<${i.name} />`);else{var _=N(c,i.children,l);t.push(`<${i.name}>${_}`)}}else if('object'!=typeof V||P)w(V,$,t,u,1!==i.children.length||!$);else{var B=i.children[0]?$:null;B&&t.push(B)}}else if('text'===i.type){var F=o.transWrapTextNodes,H=b?o.unescape(s.services.interpolator.interpolate(i.content,k,s.language)):s.services.interpolator.interpolate(i.content,k,s.language);F?t.push((0,p.createElement)(F,{key:`${i.name}-${u}`},H)):t.push(H)}return t}),[])}return y(N([{dummy:!0,children:n||[]}],E,v(n||[]))[0])}}),450,[34,119,1,451,153,452,454,446,444]); -__d((function(g,r,_i,a,m,e,d){function t(){return m.exports=t=Object.assign?Object.assign.bind():function(t){for(var o=1;o<]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function r(e){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=e.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(t[i[1]]||"/"===e.charAt(e.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var c=e.indexOf("--\x3e");return{type:"comment",comment:-1!==c?e.slice(4,c):""}}for(var s=new RegExp(n),a=null;null!==(a=s.exec(e));)if(a[0].trim())if(a[1]){var o=a[1].trim(),u=[o,""];o.indexOf("=")>-1&&(u=o.split("=")),r.attrs[u[0]]=u[1],s.lastIndex--}else a[2]&&(r.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return r}var i=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?(function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""})(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}_m.exports={parse:function(e,t){t||(t={}),t.components||(t.components=s);var n,a=[],o=[],u=-1,l=!1;if(0!==e.indexOf("<")){var m=e.indexOf("<");a.push({type:"text",content:-1===m?e:e.substring(0,m)})}return e.replace(i,(function(i,s){if(l){if(i!=="")return;l=!1}var m,f="/"!==i.charAt(1),d=i.startsWith("\x3c!--"),h=s+i.length,p=e.charAt(h);if(d){var v=r(i);return u<0?(a.push(v),a):((m=o[u]).children.push(v),a)}if(f&&(u++,"tag"===(n=r(i)).type&&t.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!p||"<"===p||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===u&&a.push(n),(m=o[u-1])&&m.children.push(n),o[u]=n),(!f||n.voidElement)&&(u>-1&&(n.voidElement||n.name===i.slice(2,-1))&&(u--,n=-1===u?a:o[u]),!l&&"<"!==p&&p)){m=-1===u?a:o[u].children;var x=e.indexOf("<",h),g=e.slice(h,-1===x?void 0:x);c.test(g)&&(g=" "),(x>-1&&u+m.length>=0||" "!==g)&&m.push({type:"text",content:g})}})),a},stringify:function(e){return e.reduce((function(e,t){return e+a("",t)}),"")}}}),452,[453]); -__d((function(g,r,i,a,m,e,d){m.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}),453,[]); -__d((function(g,r,i,a,m,e,d){"use strict";function n(){if(console&&console.warn){for(var n,o=arguments.length,t=new Array(o),s=0;s0?n:'Unknown')},e.hasLoadedNamespace=function(n,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!o.languages||!o.languages.length)return t('i18n.languages were undefined or empty',o.languages),!0;if(void 0===o.options.ignoreJSONStructure)return u(n,o,s);return o.hasLoadedNamespace(n,{lng:s.lng,precheck:function(o,t){if(s.bindI18n&&s.bindI18n.indexOf('languageChanging')>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!t(o.isLanguageChangingTo,n))return!1}})},e.loadLanguages=function(n,o,t,u){'string'==typeof t&&(t=[t]);t.forEach((function(o){n.options.ns.indexOf(o)<0&&n.options.ns.push(o)})),n.loadLanguages(o,s(n,u))},e.loadNamespaces=function(n,o,t){n.loadNamespaces(o,s(n,t))},e.warn=n,e.warnOnce=t;var o={};function t(){for(var t=arguments.length,s=new Array(t),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=o.languages[0],u=!!o.options&&o.options.fallbackLng,c=o.languages[o.languages.length-1];if('cimode'===s.toLowerCase())return!0;var l=function(n,t){var s=o.services.backendConnector.state[`${n}|${t}`];return-1===s||2===s};return!(t.bindI18n&&t.bindI18n.indexOf('languageChanging')>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,n))&&(!!o.hasResourceBundle(s,n)||(!(o.services.backendConnector.backend&&(!o.options.resources||o.options.partialBundledLanguages))||!(!l(s,n)||u&&!l(c,n))))}}),454,[]); -__d((function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]),t=r(d[1]),l=["ns","children"];Object.defineProperty(e,"__esModule",{value:!0}),e.Translation=function(s){var u=s.ns,c=s.children,o=t(s,l),_=(0,r(d[2]).useTranslation)(u,o),f=n(_,3),v=f[0],h=f[1],T=f[2];return c(v,{i18n:h,lng:h.language},T)}}),455,[26,119,456]); -__d((function(g,r,i,a,m,_e,d){"use strict";var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.useTranslation=function(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=u.i18n,c=(0,n.useContext)(r(d[2]).I18nContext)||{},f=c.i18n,l=c.defaultNS,p=s||f||(0,r(d[2]).getI18n)();p&&!p.reportNamespaces&&(p.reportNamespaces=new(r(d[2]).ReportNamespaces));if(!p){(0,r(d[3]).warnOnce)('You will need to pass in an i18next instance by using initReactI18next');var v=function(e,n){return'string'==typeof n?n:n&&'object'==typeof n&&'string'==typeof n.defaultValue?n.defaultValue:Array.isArray(e)?e[e.length-1]:e},y=[v,{},!1];return y.t=v,y.i18n={},y.ready=!1,y}p.options.react&&void 0!==p.options.react.wait&&(0,r(d[3]).warnOnce)('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');var N=Object.assign({},(0,r(d[2]).getDefaults)(),p.options.react,u),h=N.useSuspense,w=N.keyPrefix,b=o||l||p.options&&p.options.defaultNS;b='string'==typeof b?[b]:b||['translation'],p.reportNamespaces.addUsedNamespaces&&p.reportNamespaces.addUsedNamespaces(b);var I=(p.isInitialized||p.initializedStoreOnce)&&b.every((function(e){return(0,r(d[3]).hasLoadedNamespace)(e,p,N)}));function S(){return p.getFixedT(u.lng||null,'fallback'===N.nsMode?b:b[0],w)}var x=(0,n.useState)(S),E=e(x,2),O=E[0],R=E[1],j=b.join();u.lng&&(j=`${u.lng}${j}`);var _=t(j),L=(0,n.useRef)(!0);(0,n.useEffect)((function(){var e=N.bindI18n,n=N.bindI18nStore;function t(){L.current&&R(S)}return L.current=!0,I||h||(u.lng?(0,r(d[3]).loadLanguages)(p,u.lng,b,(function(){L.current&&R(S)})):(0,r(d[3]).loadNamespaces)(p,b,(function(){L.current&&R(S)}))),I&&_&&_!==j&&L.current&&R(S),e&&p&&p.on(e,t),n&&p&&p.store.on(n,t),function(){L.current=!1,e&&p&&e.split(' ').forEach((function(e){return p.off(e,t)})),n&&p&&n.split(' ').forEach((function(e){return p.store.off(e,t)}))}}),[p,j]);var P=(0,n.useRef)(!0);(0,n.useEffect)((function(){L.current&&!P.current&&R(S),P.current=!1}),[p,w]);var k=[O,p,I];if(k.t=O,k.i18n=p,k.ready=I,I)return k;if(!I&&!h)return k;throw new Promise((function(e){u.lng?(0,r(d[3]).loadLanguages)(p,u.lng,b,(function(){return e()})):(0,r(d[3]).loadNamespaces)(p,b,(function(){return e()}))}))};var n=r(d[1]),t=function(e,t){var o=(0,n.useRef)();return(0,n.useEffect)((function(){o.current=t?o.current:e}),[e,t]),o.current}}),456,[26,153,443,454]); -__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useSSR=function(t,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=s.i18n,c=((0,n.useContext)(r(d[1]).I18nContext)||{}).i18n,l=u||c||(0,r(d[1]).getI18n)();if(l.options&&l.options.isClone)return;t&&!l.initializedStoreOnce&&(l.services.resourceStore.data=t,l.options.ns=Object.values(t).reduce((function(n,t){return Object.keys(t).forEach((function(t){n.indexOf(t)<0&&n.push(t)})),n}),l.options.ns),l.initializedStoreOnce=!0,l.isInitialized=!0);o&&!l.initializedLanguageOnce&&(l.changeLanguage(o),l.initializedLanguageOnce=!0)};var n=r(d[0])}),457,[153,443]); -__d((function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=["initialI18nStore","initialLanguage"];Object.defineProperty(e,"__esModule",{value:!0}),e.withSSR=function(){return function(u){function l(l){var s=l.initialI18nStore,c=l.initialLanguage,p=t(l,n);return(0,r(d[2]).useSSR)(s,c),(0,o.createElement)(u,Object.assign({},p))}return l.getInitialProps=(0,r(d[3]).composeInitialProps)(u),l.displayName=`withI18nextSSR(${(0,r(d[4]).getDisplayName)(u)})`,l.WrappedComponent=u,l}};var o=r(d[1])}),458,[119,153,457,443,454]); -__d((function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]),f=["forwardedRef"];Object.defineProperty(e,"__esModule",{value:!0}),e.withTranslation=function(s){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(c){function l(l){var w=l.forwardedRef,R=n(l,f),h=(0,r(d[3]).useTranslation)(s,Object.assign({},R,{keyPrefix:u.keyPrefix})),p=t(h,3),v=p[0],y=p[1],b=p[2],j=Object.assign({},R,{t:v,i18n:y,tReady:b});return u.withRef&&w?j.ref=w:!u.withRef&&w&&(j.forwardedRef=w),(0,o.createElement)(c,j)}l.displayName=`withI18nextTranslation(${(0,r(d[4]).getDisplayName)(c)})`,l.WrappedComponent=c;return u.withRef?(0,o.forwardRef)((function(t,n){return(0,o.createElement)(l,Object.assign({},t,{forwardedRef:n}))})):l}};var o=r(d[2])}),459,[26,119,153,456,454]); -__d((function(p,d,e,n,s,t,_){s.exports={pw_endpoint:"https://enduser-sdk.circle.com/v1/w3s/",pw_app_id:""}}),460,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultCustomizer=void 0;e.DefaultCustomizer={setup:function(){t(),o(),n(),s(),c(),u(),y(),l(),w(),f()}};var t=function(){r(d[0]).WalletSdk.setSecurityQuestions([new(r(d[0]).SecurityQuestion)("What was your childhood nickname?",r(d[0]).InputType.text),new(r(d[0]).SecurityQuestion)("What is your father\u2019s middle name?",r(d[0]).InputType.text),new(r(d[0]).SecurityQuestion)("When is your birthday?",r(d[0]).InputType.datePicker),new(r(d[0]).SecurityQuestion)("When is your father's birthday?",r(d[0]).InputType.datePicker),new(r(d[0]).SecurityQuestion)("When is your favorite date?",r(d[0]).InputType.datePicker),new(r(d[0]).SecurityQuestion)("What is the name of your first pet?"),new(r(d[0]).SecurityQuestion)("What is the name of the first street you lived on?"),new(r(d[0]).SecurityQuestion)("What is your favorite song?"),new(r(d[0]).SecurityQuestion)("What is your favorite color?"),new(r(d[0]).SecurityQuestion)("What is your favorite country?")])},o=function(){var t=new Map;t.set(r(d[0]).ErrorCode.unknown,!0),t.set(r(d[0]).ErrorCode.userCanceled,!0),t.set(r(d[0]).ErrorCode.networkError,!0),t.set(r(d[0]).ErrorCode.biometricsKeyPermanentlyInvalidated,!0),t.set(r(d[0]).ErrorCode.biometricsUserSkip,!0),t.set(r(d[0]).ErrorCode.biometricsUserDisableForPin,!0),t.set(r(d[0]).ErrorCode.biometricsUserLockout,!0),t.set(r(d[0]).ErrorCode.biometricsUserLockoutPermanent,!0),t.set(r(d[0]).ErrorCode.biometricsUserNotAllowPermission,!0),t.set(r(d[0]).ErrorCode.biometricsInternalError,!0),r(d[0]).WalletSdk.setDismissOnCallbackMap(t)},n=function(){var t=new Map;t.set(r(d[0]).TextsKey.securityQuestionHeaders,[new(r(d[0]).TextConfig)("Choose your 1st question"),new(r(d[0]).TextConfig)("Choose your 2nd question")]),t.set(r(d[0]).TextsKey.securitySummaryQuestionHeaders,[new(r(d[0]).TextConfig)("1st Question"),new(r(d[0]).TextConfig)("2nd Question")]),t.set(r(d[0]).TextsKey.enterPinCodeHeadline,[new(r(d[0]).TextConfig)("ENTER your "),new(r(d[0]).TextConfig)("PIN",void 0,r(d[1]).colors.primary)]),t.set(r(d[0]).TextsKey.securityIntroHeadline,[new(r(d[0]).TextConfig)("Set up your "),new(r(d[0]).TextConfig)("Recovery Method",void 0,r(d[1]).colors.primary)]),t.set(r(d[0]).TextsKey.newPinCodeHeadline,[new(r(d[0]).TextConfig)("ENTER your "),new(r(d[0]).TextConfig)("PIN",void 0,r(d[1]).colors.primary)]),t.set(r(d[0]).TextsKey.securityIntroLink,[new(r(d[0]).TextConfig)("Learn more"),new(r(d[0]).TextConfig)("https://path/terms-policies/privacy-notice/")]),t.set(r(d[0]).TextsKey.recoverPinCodeHeadline,[new(r(d[0]).TextConfig)("Recover your "),new(r(d[0]).TextConfig)("PIN",void 0,r(d[1]).colors.primary)]),r(d[0]).WalletSdk.setTextConfigsMap(t)},s=function(){var t=new Map;t.set(r(d[0]).IconTextsKey.securityConfirmationItems,[new(r(d[0]).IconTextConfig)(r(d[2]),new(r(d[0]).TextConfig)("This is the only way to recover my account access. ")),new(r(d[0]).IconTextConfig)(r(d[3]),new(r(d[0]).TextConfig)("Circle won\u2019t store my answers so it\u2019s my responsibility to remember them.")),new(r(d[0]).IconTextConfig)(r(d[4]),new(r(d[0]).TextConfig)("I will lose access to my wallet and my digital assets if I forget my answers. "))]),r(d[0]).WalletSdk.setIconTextConfigsMap(t)},c=function(){var t=new Map;t.set(r(d[0]).TextKey.circlepw_recover_pincode_answer_input_placeholder,new(r(d[0]).TextConfig)("Type your answer here",void 0,r(d[1]).colors.placeholder,"Inter-Regular")),r(d[0]).WalletSdk.setTextConfigMap(t)},u=function(){var t=new Map;t.set(r(d[0]).ErrorCode.incorrectUserPin,"The PIN you entered is incorrect."),t.set(r(d[0]).ErrorCode.insecurePinCode,"Your PIN can\u2019t have repeating or consecutive numbers."),r(d[0]).WalletSdk.setErrorStringMap(t)},y=function(){var t=new Map;t.set(r(d[0]).ImageKey.naviBack,r(d[5])),t.set(r(d[0]).ImageKey.naviClose,r(d[6])),t.set(r(d[0]).ImageKey.showPin,r(d[7])),t.set(r(d[0]).ImageKey.hidePin,r(d[8])),t.set(r(d[0]).ImageKey.alertWindowIcon,r(d[9])),t.set(r(d[0]).ImageKey.securityIntroMain,r(d[10])),t.set(r(d[0]).ImageKey.selectCheckMark,r(d[11])),t.set(r(d[0]).ImageKey.dropdownArrow,r(d[12])),t.set(r(d[0]).ImageKey.errorInfo,r(d[13])),t.set(r(d[0]).ImageKey.securityConfirmMain,r(d[14])),t.set(r(d[0]).ImageKey.biometricsAllowMain,r(d[15])),r(d[0]).WalletSdk.setImageMap(t)},l=function(){r(d[0]).WalletSdk.setDateFormat(r(d[0]).DateFormat.YYYYMMDD_HYPHEN)},w=function(){r(d[0]).WalletSdk.setDebugging(!0)},f=function(){r(d[0]).WalletSdk.setCustomUserAgent("Circle-Programmable-Wallet-RN-Sample")}}),461,[462,441,468,470,471,472,473,474,475,476,477,478,479,480,481,482]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DateFormat",{enumerable:!0,get:function(){return r(d[0]).DateFormat}}),Object.defineProperty(e,"ErrorCode",{enumerable:!0,get:function(){return r(d[0]).ErrorCode}}),Object.defineProperty(e,"IconTextConfig",{enumerable:!0,get:function(){return r(d[0]).IconTextConfig}}),Object.defineProperty(e,"IconTextsKey",{enumerable:!0,get:function(){return r(d[0]).IconTextsKey}}),Object.defineProperty(e,"ImageKey",{enumerable:!0,get:function(){return r(d[0]).ImageKey}}),Object.defineProperty(e,"InputType",{enumerable:!0,get:function(){return r(d[0]).InputType}}),Object.defineProperty(e,"SecurityQuestion",{enumerable:!0,get:function(){return r(d[0]).SecurityQuestion}}),Object.defineProperty(e,"TextConfig",{enumerable:!0,get:function(){return r(d[0]).TextConfig}}),Object.defineProperty(e,"TextKey",{enumerable:!0,get:function(){return r(d[0]).TextKey}}),Object.defineProperty(e,"TextsKey",{enumerable:!0,get:function(){return r(d[0]).TextsKey}}),Object.defineProperty(e,"WalletSdk",{enumerable:!0,get:function(){return r(d[1]).WalletSdk}})}),462,[463,464]); -__d((function(g,r,i,a,m,e,d){var c=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextsKey=e.TextKey=e.TextConfig=e.SecurityQuestion=e.InputType=e.ImageKey=e.IconTextsKey=e.IconTextConfig=e.ExecuteResultType=e.ExecuteResultStatus=e.ExecuteEvent=e.ErrorCode=e.DateFormat=void 0;var _=c(r(d[1])),t=c(r(d[2]));e.TextsKey=(function(c){return c.newPinCodeHeadline="newPinCodeHeadline",c.enterPinCodeHeadline="enterPinCodeHeadline",c.securityIntroHeadline="securityIntroHeadline",c.securityIntroLink="securityIntroLink",c.securityQuestionHeaders="securityQuestionHeaders",c.securitySummaryQuestionHeaders="securitySummaryQuestionHeaders",c.recoverPinCodeHeadline="recoverPinCodeHeadline",c})({}),e.IconTextsKey=(function(c){return c.securityConfirmationItems="securityConfirmationItems",c})({}),e.TextKey=(function(c){return c.circlepw_continue="circlepw_continue",c.circlepw_next="circlepw_next",c.circlepw_skip="circlepw_skip",c.circlepw_question_label="circlepw_question_label",c.circlepw_answer_label="circlepw_answer_label",c.circlepw_hint_label="circlepw_hint_label",c.circlepw_hint_tag="circlepw_hint_tag",c.circlepw_confirm="circlepw_confirm",c.circlepw_pin_remain_attemps_template="circlepw_pin_remain_attemps_template",c.circlepw_pin_lock_period_template="circlepw_pin_lock_period_template",c.circlepw_answer_remain_attemps_template="circlepw_answer_remain_attemps_template",c.circlepw_answer_lock_period_template="circlepw_answer_lock_period_template",c.circlepw_pin_digit_config="circlepw_pin_digit_config",c.circlepw_pincode_error_config="circlepw_pincode_error_config",c.circlepw_enter_pincode_subhead="circlepw_enter_pincode_subhead",c.circlepw_enter_pincode_forgot_pin="circlepw_enter_pincode_forgot_pin",c.circlepw_enter_pincode_use_biometrics="circlepw_enter_pincode_use_biometrics",c.circlepw_new_pincode_subhead="circlepw_new_pincode_subhead",c.circlepw_confirm_pincode_headline="circlepw_confirm_pincode_headline",c.circlepw_confirm_pincode_subhead="circlepw_confirm_pincode_subhead",c.circlepw_security_intros_description="circlepw_security_intros_description",c.circlepw_security_questions_title="circlepw_security_questions_title",c.circlepw_security_questions_required_mark="circlepw_security_questions_required_mark",c.circlepw_security_questions_question_placeholder="circlepw_security_questions_question_placeholder",c.circlepw_security_questions_answer_header="circlepw_security_questions_answer_header",c.circlepw_security_questions_answer_placeholder="circlepw_security_questions_answer_placeholder",c.circlepw_security_questions_answer_hint_header="circlepw_security_questions_answer_hint_header",c.circlepw_security_questions_answer_hint_placeholder="circlepw_security_questions_answer_hint_placeholder",c.circlepw_security_questions_answer_input_config="circlepw_security_questions_answer_input_config",c.circlepw_security_questions_answer_hint_input_config="circlepw_security_questions_answer_hint_input_config",c.circlepw_security_questions_question_input_config="circlepw_security_questions_question_input_config",c.circlepw_security_questions_error_config="circlepw_security_questions_error_config",c.circlepw_select_question_title="circlepw_select_question_title",c.circlepw_select_question_item_config="circlepw_select_question_item_config",c.circlepw_security_summary_title="circlepw_security_summary_title",c.circlepw_security_summary_question_value_config="circlepw_security_summary_question_value_config",c.circlepw_security_summary_answer_value_config="circlepw_security_summary_answer_value_config",c.circlepw_security_summary_hint_value_config="circlepw_security_summary_hint_value_config",c.circlepw_security_confirm_title="circlepw_security_confirm_title",c.circlepw_security_confirm_headline="circlepw_security_confirm_headline",c.circlepw_security_confirm_input_headline="circlepw_security_confirm_input_headline",c.circlepw_security_confirm_input_config="circlepw_security_confirm_input_config",c.circlepw_security_confirm_input_placeholder="circlepw_security_confirm_input_placeholder",c.circlepw_security_confirm_input_match="circlepw_security_confirm_input_match",c.circlepw_recover_pincode_answer_input_header="circlepw_recover_pincode_answer_input_header",c.circlepw_recover_pincode_answer_input_placeholder="circlepw_recover_pincode_answer_input_placeholder",c.circlepw_recover_pincode_input_config="circlepw_recover_pincode_input_config",c.circlepw_recover_pincode_answer_hint_config="circlepw_recover_pincode_answer_hint_config",c.circlepw_recover_pincode_error_config="circlepw_recover_pincode_error_config",c.circlepw_recover_pincode_question_config="circlepw_recover_pincode_question_config",c.circlepw_pin_biometrics_allow_title="circlepw_pin_biometrics_allow_title",c.circlepw_pin_biometrics_allow_subtitle="circlepw_pin_biometrics_allow_subtitle",c.circlepw_pin_biometrics_disable="circlepw_pin_biometrics_disable",c.circlepw_pin_biometrics_encrypt_title="circlepw_pin_biometrics_encrypt_title",c.circlepw_pin_biometrics_encrypt_subtitle="circlepw_pin_biometrics_encrypt_subtitle",c.circlepw_pin_biometrics_encrypt_desc="circlepw_pin_biometrics_encrypt_desc",c.circlepw_pin_biometrics_encrypt_negative_text="circlepw_pin_biometrics_encrypt_negative_text",c.circlepw_pin_biometrics_decrypt_title="circlepw_pin_biometrics_decrypt_title",c.circlepw_pin_biometrics_decrypt_subtitle="circlepw_pin_biometrics_decrypt_subtitle",c.circlepw_pin_biometrics_decrypt_desc="circlepw_pin_biometrics_decrypt_desc",c.circlepw_pin_biometrics_decrypt_negative_text="circlepw_pin_biometrics_decrypt_negative_text",c.circlepw_pin_biometrics_update_title="circlepw_pin_biometrics_update_title",c.circlepw_pin_biometrics_update_subtitle="circlepw_pin_biometrics_update_subtitle",c.circlepw_alert_pop_window_title="circlepw_alert_pop_window_title",c.circlepw_alert_pop_window_description_config="circlepw_alert_pop_window_description_config",c.circlepw_alert_pop_window_confirm="circlepw_alert_pop_window_confirm",c.circlepw_swipe_confirm_headline="circlepw_swipe_confirm_headline",c.circlepw_swipe_confirm_subhead="circlepw_swipe_confirm_subhead",c.circlepw_swipe_to_confirm="circlepw_swipe_to_confirm",c.circlepw_swipe_bt_confirming="circlepw_swipe_bt_confirming",c.circlepw_swipe_bt_confirmed="circlepw_swipe_bt_confirmed",c.circlepw_swipe_bt_try_again="circlepw_swipe_bt_try_again",c})({}),e.ImageKey=(function(c){return c.naviBack="back",c.naviClose="close",c.securityIntroMain="securityIntroMain",c.selectCheckMark="selectCheckMark",c.dropdownArrow="dropdownArrow",c.errorInfo="errorInfo",c.securityConfirmMain="securityConfirmMain",c.biometricsAllowMain="biometricsAllowMain",c.showPin="showPin",c.hidePin="hidePin",c.alertWindowIcon="alertWindowIcon",c.swipeItemIcon="swipeItemIcon",c.swipeBtConfirmed="swipeBtConfirmed",c})({}),e.DateFormat=(function(c){return c.YYYYMMDD_HYPHEN="yyyy-MM-dd",c.DDMMYYYY_SLASH="dd/MM/yyyy",c.MMDDYYYY_SLASH="MM/dd/yyyy",c})({}),e.ErrorCode=(function(c){return c.unknown="-1",c.success="0",c.apiParameterMissing="1",c.apiParameterInvalid="2",c.forbidden="3",c.unauthorized="4",c.retry="9",c.customerSuspended="10",c.pending="11",c.invalidSession="12",c.invalidPartnerId="13",c.invalidMessage="14",c.invalidPhone="15",c.walletIdNotFound="156001",c.tokenIdNotFound="156002",c.transactionIdNotFound="156003",c.walletSetIdNotFound="156004",c.notEnoughFounds="155201",c.notEnoughBalance="155202",c.exceedWithdrawLimit="155203",c.minimumFundsRequired="155204",c.invalidTransactionFee="155205",c.rejectedOnAmlScreening="155206",c.tagRequired="155207",c.gasLimitTooLow="155208",c.transactionDataNotEncodedProperly="155209",c.fullNodeReturnedError="155210",c.walletSetupRequired="155211",c.lowerThenMinimumAccountBalance="155212",c.rejectedByBlockchain="155213",c.droppedAsPartOfReorg="155214",c.operationNotSupport="155215",c.amountBelowMinimum="155216",c.wrongNftTokenIdNumber="155217",c.invalidDestinationAddress="155218",c.tokenWalletChainMismatch="155219",c.wrongAmountsNumber="155220",c.userAlreadyExisted="155101",c.userNotFound="155102",c.userTokenNotFound="155103",c.userTokenExpired="155104",c.invalidUserToken="155105",c.userWasInitialized="155106",c.userHasSetPin="155107",c.userHasSetSecurityQuestion="155108",c.userWasDisabled="155109",c.userDoesNotSetPinYet="155110",c.userDoesNotSetSecurityQuestionYet="155111",c.incorrectUserPin="155112",c.incorrectDeviceId="155113",c.incorrectAppId="155114",c.incorrectSecurityAnswers="155115",c.invalidChallengeId="155116",c.invalidApproveContent="155117",c.invalidEncryptionKey="155118",c.userPinLocked="155119",c.securityAnswersLocked="155120",c.walletIsFrozen="155501",c.maxWalletLimitReached="155502",c.walletSetIdMutuallyExclusive="155503",c.metadataUnmatched="155504",c.userCanceled="155701",c.launchUiFailed="155702",c.pinCodeNotMatched="155703",c.insecurePinCode="155704",c.hintsMatchAnswers="155705",c.networkError="155706",c.biometricsSettingNotEnabled="155708",c.deviceNotSupportBiometrics="155709",c.biometricsKeyPermanentlyInvalidated="155710",c.biometricsUserSkip="155711",c.biometricsUserDisableForPin="155712",c.biometricsUserLockout="155713",c.biometricsUserLockoutPermanent="155714",c.biometricsUserNotAllowPermission="155715",c.biometricsInternalError="155716",c.userSecretMissing="155717",c.invalidUserSecret="155718",c})({}),e.SecurityQuestion=(0,_.default)((function c(_,n){(0,t.default)(this,c),this.title=_,this.inputType=n})),e.IconTextConfig=(0,_.default)((function c(_,n){(0,t.default)(this,c),this.image=_,this.textConfig=n})),e.TextConfig=(0,_.default)((function c(_,n,o){(0,t.default)(this,c),this.text=_,Array.isArray(n)?this.gradientColors=n:this.textColor=n,this.font=o})),e.ExecuteResultStatus=(function(c){return c.UNKNOWN="UNKNOWN",c.PENDING="PENDING",c.IN_PROGRESS="IN_PROGRESS",c.COMPLETE="COMPLETE",c.FAILED="FAILED",c.EXPIRED="EXPIRED",c})({}),e.ExecuteEvent=(function(c){return c.forgotPin="forgotPin",c})({}),e.ExecuteResultType=(function(c){return c.UNKNOWN="UNKNOWN",c.SET_PIN="SET_PIN",c.RESTORE_PIN="RESTORE_PIN",c.SET_SECURITY_QUESTIONS="SET_SECURITY_QUESTIONS",c.CREATE_WALLET="CREATE_WALLET",c.CREATE_TRANSACTION="CREATE_TRANSACTION",c.ACCELERATE_TRANSACTION="ACCELERATE_TRANSACTION",c.CANCEL_TRANSACTION="CANCEL_TRANSACTION",c.CONTRACT_EXECUTION="CONTRACT_EXECUTION",c.SIGN_MESSAGE="SIGN_MESSAGE",c.SIGN_TYPEDDATA="SIGN_TYPEDDATA",c.SET_BIOMETRICS_PIN="SET_BIOMETRICS_PIN",c})({}),e.InputType=(function(c){return c.text="text",c.datePicker="datePicker",c})({})}),463,[1,6,5]); -__d((function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.WalletSdk=void 0;var t=e(r(d[1])),n=e(r(d[2])),o=r(d[3]),s=e(r(d[4])),c=o.NativeModules.ReactNativeEventEmitter;if(!n.default)throw new Error("NativeModule: ProgrammablewalletRnSdkModule is null.");var l,u,f='ios'===o.Platform.OS?new o.NativeEventEmitter(c):o.DeviceEventEmitter,v='CirclePwOnEvent',C='CirclePwOnSuccess',h='CirclePwOnError';_e.WalletSdk={sdkVersion:{native:(u=n.default.getConstants()).sdkVersion,rn:s.default.version},deviceId:null!=(l=n.default.getDeviceId())?l:u.deviceId,init:function(e){return n.default.initSdk(e)},setSecurityQuestions:function(e){n.default.setSecurityQuestions(e)},addListener:function(e){f.addListener(v,e)},removeAllListeners:function(){f.removeAllListeners(v)},getDeviceId:function(){return n.default.getDeviceId()},execute:function(e,t,o,s,c){f.addListener(C,s),f.addListener(h,c),n.default.execute(e,t,o).then((function(e){s(e)})).catch((function(e){c(e)})).finally((function(){f.removeAllListeners(C),f.removeAllListeners(h)}))},executeWithUserSecret:function(e,t,o,s,c,l){f.addListener(C,c),f.addListener(h,l),n.default.executeWithUserSecret(e,t,o,s).then((function(e){c(e)})).catch((function(e){l(e)})).finally((function(){f.removeAllListeners(C),f.removeAllListeners(h)}))},setBiometricsPin:function(e,t,o,s){f.addListener(C,o),f.addListener(h,s),n.default.setBiometricsPin(e,t).then((function(e){o(e)})).catch((function(e){s(e)})).finally((function(){f.removeAllListeners(C),f.removeAllListeners(h)}))},setDismissOnCallbackMap:function(e){try{n.default.setDismissOnCallbackMap(Object.fromEntries(e))}catch(e){console.error(e)}},moveTaskToFront:function(){n.default.moveTaskToFront()},moveRnTaskToFront:function(){n.default.moveRnTaskToFront()},setTextConfigsMap:function(e){try{n.default.setTextConfigsMap(Object.fromEntries(e))}catch(e){console.error(e)}},setIconTextConfigsMap:function(e){try{var o={};for(var s of e){var c=(0,t.default)(s,2),l=c[0],u=c[1],f=[];for(var v of u){var C=p(v.image);f.push({image:C,textConfig:v.textConfig})}o[l]=f}console.log('IconTextConfigs_map:'+JSON.stringify(o)),n.default.setIconTextConfigsMap(o)}catch(e){console.error(e)}},setTextConfigMap:function(e){try{n.default.setTextConfigMap(Object.fromEntries(e))}catch(e){console.error(e)}},setImageMap:function(e){try{var o={};for(var s of e){var c=(0,t.default)(s,2),l=c[0],u=p(c[1]);null!=u&&(o[l]=u)}console.log('Image_map:'+JSON.stringify(o)),n.default.setImageMap(o)}catch(e){console.error(e)}},setDateFormat:function(e){n.default.setDateFormat(e)},setDebugging:function(e){n.default.setDebugging(e)},setCustomUserAgent:function(e){n.default.setCustomUserAgent(e)},setErrorStringMap:function(e){try{n.default.setErrorStringMap(Object.fromEntries(e))}catch(e){console.error(e)}}};function p(e){if(!e)return null;var t=o.Image.resolveAssetSource(e);return t&&t.uri?t.uri:null}}),464,[1,26,465,2,467]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n="The package '@circle-fin/w3s-pw-react-native-sdk' doesn't seem to be linked. Make sure: \n\n"+t.Platform.select({ios:'- You have run \'pod install\'\n',default:''})+"- You rebuilt the app after installing the package\n- You are not using Expo Go\n",o=null!=g.__turboModuleProxy?r(d[1]).default:t.NativeModules.ProgrammablewalletRnSdk,l=o||new Proxy({},{get:function(){throw new Error(n)}});e.default=l}),465,[2,466]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]);e.default=l.TurboModuleRegistry.getEnforcing('ProgrammablewalletRnSdk')}),466,[2]); -__d((function(e,t,i,s,r,n,l){r.exports={name:"@circle-fin/w3s-pw-react-native-sdk",version:"1.0.4",description:"React Native SDK for Circle Programmable Wallet",main:"lib/commonjs/index",module:"lib/module/index",types:"lib/typescript/src/index.d.ts","react-native":"src/index",source:"src/index",files:["src","lib","android","ios","*.podspec","COPYRIGHT*","!ios/build","!android/build","!android/gradle","!android/gradlew","!android/gradlew.bat","!android/local.properties","!**/__tests__","!**/__fixtures__","!**/__mocks__","!**/.*"],scripts:{example:"yarn workspace @circle-fin/w3s-pw-react-native-sdk-example",test:"jest",npm:"npm",typecheck:"tsc --noEmit",lint:"eslint \"**/*.{js,ts,tsx}\"",clean:"del-cli android/build example/android/build example/android/app/build example/ios/build lib",prepare:"bob build",release:"release-it","pod-install-new":"RCT_NEW_ARCH_ENABLED=1 bundle exec pod install","publish:sdk":"npm publish"},keywords:["circle","circle.com","usdc","euroc","stablecoins","programmable wallets","react-native","rn","ios","android"],author:"Circle Inc.",license:"Apache-2.0",bugs:{url:"https://github.com/circlefin/w3s-react-native-sdk/issues"},homepage:"https://github.com/circlefin/w3s-react-native-sdk#readme",publishConfig:{access:"public",registry:"https://registry.npmjs.org/"},devDependencies:{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.72.2","@release-it/conventional-changelog":"^8.0.1","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest",commitlint:"^17.0.2","del-cli":"^5.0.0",eslint:"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"latest",jest:"^28.1.1","pod-install":"^0.1.0",prettier:"^2.0.5",react:"18.2.0","react-native":"0.72.7","react-native-builder-bob":"^0.20.0","release-it":"^17.1.1",turbo:"^1.10.7",typedoc:"^0.25.4",typescript:"^5.0.2"},resolutions:{"@types/react":"17.0.21"},peerDependencies:{react:"*","react-native":"*"},jest:{preset:"react-native",modulePathIgnorePatterns:["/example/node_modules","/lib/"]},commitlint:{extends:["@commitlint/config-conventional"]},"release-it":{git:{commitMessage:"chore: release ${version}",tagName:"v${version}",requireCleanWorkingDir:!1,push:!1,commit:!1,tag:!1},npm:{publish:!1,skipChecks:!0},github:{release:!1},plugins:{"@release-it/conventional-changelog":{preset:"angular"}},publishConfig:{registry:"https://registry.npmjs.org"}},eslintConfig:{root:!0,extends:["@react-native","prettier"],rules:{"prettier/prettier":["error",{quoteProps:"consistent",singleQuote:!0,tabWidth:2,trailingComma:"es5",useTabs:!1}]}},eslintIgnore:["node_modules/","lib/"],prettier:{quoteProps:"consistent",singleQuote:!0,tabWidth:2,trailingComma:"es5",useTabs:!1},"react-native-builder-bob":{source:"src",output:"lib",targets:["commonjs","module",["typescript",{project:"tsconfig.build.json"}]]},codegenConfig:{name:"RNProgrammablewalletRnSdkSpec",type:"modules",jsSrcsDir:"src"}}}),467,[]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:48,height:48,scales:[1],hash:"4dc269e01d4b9972d92d18abdd465b8d",name:"ic_intro_item0_icon",type:"png"})}),468,[469]); -__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),469,[179]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:48,height:48,scales:[1],hash:"e0b3f394992a7e960cb31290608ad25a",name:"ic_intro_item1_icon",type:"png"})}),470,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:48,height:48,scales:[1],hash:"4230d79caeb5707c915d5c9f21977bba",name:"ic_intro_item2_icon",type:"png"})}),471,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:24,height:24,scales:[1,2,3],hash:"7909166f90205283d4ff2d9d91626ab4",name:"ic_back",type:"png"})}),472,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:24,height:24,scales:[1,2,3],hash:"b2301d1ea0a8b6f0ed296852c7d53ce1",name:"ic_close",type:"png"})}),473,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:21,height:20,scales:[1,2,3],hash:"cd39633e6067547c3d547af985894337",name:"ic_show_pin",type:"png"})}),474,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:20,height:20,scales:[1,2,3],hash:"5ef7435dc6975e82e1d3d96bae35015c",name:"ic_hide_pin",type:"png"})}),475,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:24,height:24,scales:[1,2,3],hash:"f5bb2969f73222c6041785cfe9fb75fc",name:"ic_alert_window_icon",type:"png"})}),476,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:151,height:151,scales:[1],hash:"0b7f6a22ffad93cc04786067dfad1cce",name:"ic_intro_main_icon",type:"png"})}),477,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:24,height:24,scales:[1,2,3],hash:"9523b9b8a85c1a1876d86ccd32957ab2",name:"ic_select_checkmark",type:"png"})}),478,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:40,height:40,scales:[1,2,3],hash:"f4d7f29ab2d4af1de9ec6e401997e30f",name:"ic_dropdown_arrow",type:"png"})}),479,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:22,height:22,scales:[1,2,3],hash:"752404fb9753a5bd194031b2b7d46b3e",name:"ic_error_info",type:"png"})}),480,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:130,height:130,scales:[1,2,3],hash:"9dcb91f3e62f96bd99add39084af13dd",name:"ic_security_confirm_main",type:"png"})}),481,[469]); -__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/assets/image",width:80,height:81,scales:[1,2,3],hash:"9e17cb3e4cad522a67ea591894e233c3",name:"ic_biometrics_allow_main",type:"png"})}),482,[469]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toast=function(n){"android"===o.Platform.OS?o.ToastAndroid.show(n,3e3):console.warn(n)};var o=r(d[0])}),483,[2]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MainButton=void 0;var t=_r(d[0]),e=((function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(e);if(o&&o.has(t))return o.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}r.default=t,o&&o.set(t,r)})(_r(d[1])),_r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:e})(t)}_e.MainButton=function(n){return(0,e.jsx)(t.TouchableOpacity,Object.assign({},n,{activeOpacity:.7,style:[_r(d[3]).commonStyles.mainButton,n.isDisabled&&_r(d[3]).commonStyles.disabledMainButton],children:(0,e.jsx)(t.Text,{style:[_r(d[3]).commonStyles.mainButtonText,n.isDisabled&&_r(d[3]).commonStyles.disabledMainButtonText],children:n.text})}))}}),484,[2,153,194,441]); -__d((function(e,t,a,n,i,s,r){i.exports={name:"W3sSampleWallet",version:"1.0.1",private:!0,scripts:{android:"react-native run-android",ios:"react-native run-ios",lint:"eslint .",start:"react-native start",test:"jest","build:android":"react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/","build:ios":"react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest ios"},dependencies:{"@circle-fin/w3s-pw-react-native-sdk":"^1.0.4","@react-navigation/native":"^6.1.9","@react-navigation/native-stack":"^6.9.17",i18next:"^23.7.12",react:"18.2.0","react-i18next":"^14.0.0","react-native":"0.73.6","react-native-safe-area-context":"^4.7.4","react-native-screens":"^3.27.0"},devDependencies:{"@babel/core":"^7.20.0","@babel/preset-env":"^7.20.0","@babel/runtime":"^7.20.0","@react-native/babel-preset":"^0.73.21","@react-native/eslint-config":"^0.73.2","@react-native/metro-config":"^0.73.5","@react-native/typescript-config":"^0.73.1","@types/react":"^18.2.6","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-jest":"^29.6.3",eslint:"^8.19.0","eslint-plugin-react":"latest",jest:"^29.6.3",prettier:"2.8.8","react-test-renderer":"18.2.0",typescript:"5.0.4"},engines:{node:">=18"}}}),485,[]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(n){var r=n.navigation,o=(0,_r(d[3]).useTranslation)().t;return(0,t.jsx)(e.SafeAreaView,{style:"ios"===e.Platform.OS?_r(d[4]).commonStyles.container:{flex:1},children:(0,t.jsxs)(e.View,{style:[_r(d[4]).commonStyles.container,{justifyContent:"space-between"}],children:[(0,t.jsx)(e.Text,{accessibilityLabel:"forgotPinText",style:[_r(d[4]).commonStyles.inputTitle,{textAlign:"center",marginTop:30}],children:o("forgot_pin")}),(0,t.jsx)(_r(d[5]).MainButton,{accessibilityLabel:"continueBt",text:o("continue_bt"),onPress:function(){_r(d[6]).WalletSdk.moveTaskToFront(),r.goBack()},isDisabled:!1})]})})};!(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,r&&r.set(e,o)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),486,[153,2,194,442,441,484,462]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(n){var r=n.route,l=n.navigation,i=(0,_r(d[3]).useTranslation)().t,a=r.params,o=a.challengeId,s=a.challengeType,u=a.resultStatus,c=a.signature,f=a.warningType,y=a.warningMessage,_=a.errorCode,p=a.errorMessage,b=function(n,r){return null==n?null:(0,t.jsx)(e.Text,{style:_r(d[4]).commonStyles.inputTitle,children:r})},w=function(n,r){return null==n?null:(0,t.jsx)(e.Text,{accessibilityLabel:r,style:[_r(d[4]).commonStyles.normalValueText,"ios"===e.Platform.OS?{lineHeight:56}:{}],children:n})};return(0,t.jsx)(e.SafeAreaView,{style:"ios"===e.Platform.OS?_r(d[4]).commonStyles.container:{flex:1},children:(0,t.jsxs)(e.View,{style:_r(d[4]).commonStyles.container,children:[b(o,i("challenge_id_title")),w(o,"challengeId"),b(s,i("challenge_type_title")),w(s,"resultType"),b(u,i("result_status_title")),w(u,"resultStatus"),b(c,i("signature_title")),w(c,"signature"),b(f,i("warning_type_title")),w(f,"warningType"),b(y,i("warning_message_title")),w(y,"warningMessage"),b(_,i("error_code_title")),w(_,"errorCode"),b(p,i("error_message_title")),w(p,"errorMessage"),(0,t.jsx)(_r(d[5]).MainButton,{accessibilityLabel:"continueBt",text:i("continue_bt"),onPress:function(){l.goBack()},isDisabled:!1})]})})};!(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(l,a,o):l[a]=e[a]}l.default=e,r&&r.set(e,l)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),487,[153,2,194,442,441,484]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=n(r(d[1])),l={en:{translation:n(r(d[2])).default}};t.default.use(r(d[3]).initReactI18next).init({resources:l,lng:"en",fallbackLng:"en",compatibilityJSON:"v3",interpolation:{escapeValue:!1}})}),488,[1,489,491,442]); -__d((function(g,_r,_i,_a,_m,_e,d){'use strict';var e=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=_r(d[3]),r=_r(d[4]),a=_r(d[5]),o=_r(d[6]);function s(e){var t=l();return function(){var n,a=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return i(this,n)}}function l(){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 u={type:'logger',log:function(e){this.output('log',e)},warn:function(e){this.output('warn',e)},error:function(e){this.output('error',e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},c=(function(){function e(t){a(this,e);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,n)}return o(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||'i18next:',this.logger=e||u,this.options=t,this.debug=t.debug}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),i=1;i-1?e.replace(/###/g,'.'):e}function r(){return!e||'string'==typeof e}for(var a='string'!=typeof t?[].concat(t):t.split('.');a.length>1;){if(r())return{};var o=i(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return r()?{}:{obj:e,k:i(a.shift())}}function m(e,t,n){var i=y(e,t,Object);i.obj[i.k]=n}function b(e,t){var n=y(e,t),i=n.obj,r=n.k;if(i)return i[r]}function k(e,t,n){var i=b(e,n);return void 0!==i?i:b(t,n)}function x(e,t,n){for(var i in t)'__proto__'!==i&&'constructor'!==i&&(i in e?'string'==typeof e[i]||e[i]instanceof String||'string'==typeof t[i]||t[i]instanceof String?n&&(e[i]=t[i]):x(e[i],t[i],n):e[i]=t[i]);return e}function S(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\\$&')}var O={'&':'&','<':'<','>':'>','"':'"',"'":''','/':'/'};function L(e){return'string'==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return O[e]})):e}var w=[' ',',','?','!',';'];function j(e,t,n){t=t||'',n=n||'';var i=w.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===i.length)return!0;var r=new RegExp(`(${i.map((function(e){return'?'===e?'\\?':e})).join('|')})`),a=!r.test(e);if(!a){var o=e.indexOf(n);o>0&&!r.test(e.substring(0,o))&&(a=!0)}return a}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'.';if(e){if(e[t])return e[t];for(var i=t.split(n),r=e,a=0;aa+o;)o++,l=r[s=i.slice(a,a+o).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if('string'==typeof l)return l;if(s&&'string'==typeof l[s])return l[s]}var u=i.slice(a+o).join(n);return u?N(l,u,n):void 0}r=r[i[a]]}return r}}function R(e){return e&&e.indexOf('_')>0?e.replace('_','-'):e}var $=(function(e){n(i,e);var t=s(i);function i(e){var n;a(this,i);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:['translation'],defaultNS:'translation'};return(n=t.call(this)).data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator='.'),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return o(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&'string'!=typeof n&&(o=o.concat(n)),n&&'string'==typeof n&&(o=o.concat(r?n.split(r):n)),e.indexOf('.')>-1&&(o=e.split('.'));var s=b(this.data,o);return s||!a||'string'!=typeof n?s:N(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf('.')>-1&&(i=t,t=(o=e.split('.'))[1]),this.addNamespaces(t),m(this.data,o,i),r.silent||this.emit('added',e,t,n,i)}},{key:"addResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)'string'!=typeof n[r]&&'[object Array]'!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});i.silent||this.emit('added',e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,t];e.indexOf('.')>-1&&(i=n,n=t,t=(o=e.split('.'))[1]),this.addNamespaces(t);var s=b(this.data,o)||{};i?x(s,n,r):s=Object.assign({},s,n),m(this.data,o,s),a.silent||this.emit('added',e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit('removed',e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),'v1'===this.options.compatibilityAPI?Object.assign({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),i})(f),P={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,i,r){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,i,r))})),t}},C={},E=(function(e){n(r,e);var i=s(r);function r(e){var n;a(this,r);var o,s,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=i.call(this),o=['resourceStore','languageUtils','pluralResolver','interpolator','backendConnector','i18nFormat','utils'],s=e,l=t(n),o.forEach((function(e){s[e]&&(l[e]=s[e])})),n.options=u,void 0===n.options.keySeparator&&(n.options.keySeparator='.'),n.logger=p.create('translator'),n}return o(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=':');var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||j(e,n,i));if(a&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:r};var l=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(l[0])>-1)&&(r=l.shift()),e=l.join(i)}return'string'==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,t,n){var i=this;if('object'!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),'object'==typeof t&&(t=Object.assign({},t)),t||(t={}),null==e)return'';Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,u=s.namespaces,c=u[u.length-1],p=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&'cimode'===p.toLowerCase()){if(f){var h=t.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${h}${l}`,usedKey:l,exactUsedKey:l,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${h}${l}`}return a?{res:l,usedKey:l,exactUsedKey:l,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:l}var v=this.resolve(e,t),y=v&&v.res,m=v&&v.usedKey||l,b=v&&v.exactUsedKey||l,k=Object.prototype.toString.apply(y),x=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&y&&('string'!=typeof y&&'boolean'!=typeof y&&'number'!=typeof y)&&['[object Number]','[object Function]','[object RegExp]'].indexOf(k)<0&&('string'!=typeof x||'[object Array]'!==k)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn('accessing an object - but returnObjects options is not enabled!');var O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,y,Object.assign({},t,{ns:u})):`key '${l} (${this.language})' returned an object instead of string.`;return a?(v.res=O,v.usedParams=this.getUsedParamsDetails(t),v):O}if(o){var L='[object Array]'===k,w=L?[]:{},j=L?b:m;for(var N in y)if(Object.prototype.hasOwnProperty.call(y,N)){var R=`${j}${o}${N}`;w[N]=this.translate(R,Object.assign({},t,{joinArrays:!1,ns:u})),w[N]===R&&(w[N]=y[N])}y=w}}else if(S&&'string'==typeof x&&'[object Array]'===k)(y=y.join(x))&&(y=this.extendTranslation(y,e,t,n));else{var $=!1,P=!1,C=void 0!==t.count&&'string'!=typeof t.count,E=r.hasDefaultValue(t),F=C?this.pluralResolver.getSuffix(p,t.count,t):'',I=t.ordinal&&C?this.pluralResolver.getSuffix(p,t.count,{ordinal:!1}):'',D=t[`defaultValue${F}`]||t[`defaultValue${I}`]||t.defaultValue;!this.isValidLookup(y)&&E&&($=!0,y=D),this.isValidLookup(y)||(P=!0,y=l);var V=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:y,A=E&&D!==y&&this.options.updateMissing;if(P||$||A){if(this.logger.log(A?'updateKey':'missingKey',p,c,l,A?D:y),o){var U=this.resolve(l,Object.assign({},t,{keySeparator:!1}));U&&U.res&&this.logger.warn('Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.')}var T=[],K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if('fallback'===this.options.saveMissingTo&&K&&K[0])for(var M=0;M1&&void 0!==arguments[1]?arguments[1]:{};return'string'==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var l=o.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;o.options.fallbackNS&&(c=c.concat(o.options.fallbackNS));var p=void 0!==s.count&&'string'!=typeof s.count,f=p&&!s.ordinal&&0===s.count&&o.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&('string'==typeof s.context||'number'==typeof s.context)&&''!==s.context,v=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);c.forEach((function(e){o.isValidLookup(t)||(a=e,!C[`${v[0]}-${e}`]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(C[`${v[0]}-${e}`]=!0,o.logger.warn(`key "${n}" for languages "${v.join(', ')}" won't get resolved as namespace "${a}" was not yet loaded`,'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!')),v.forEach((function(n){if(!o.isValidLookup(t)){r=n;var a,l=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(l,u,n,e,s);else{var c;p&&(c=o.pluralResolver.getSuffix(n,s.count,s));var v=`${o.options.pluralSeparator}zero`,y=`${o.options.pluralSeparator}ordinal${o.options.pluralSeparator}`;if(p&&(l.push(u+c),s.ordinal&&0===c.indexOf(y)&&l.push(u+c.replace(y,o.options.pluralSeparator)),f&&l.push(u+v)),h){var m=`${u}${o.options.contextSeparator}${s.context}`;l.push(m),p&&(l.push(m+c),s.ordinal&&0===c.indexOf(y)&&l.push(m+c.replace(y,o.options.pluralSeparator)),f&&l.push(m+v))}}for(;a=l.pop();)o.isValidLookup(t)||(i=a,t=o.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:i,usedLng:r,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&''===e)}},{key:"getResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,i):this.resourceStore.getResource(e,t,n,i)}},{key:"getUsedParamsDetails",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&'string'!=typeof e.replace,n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n=Object.assign({},this.options.interpolation.defaultVariables,n)),!t)for(var i of(n=Object.assign({},n),['defaultValue','ordinal','context','replace','lng','lngs','fallbackLng','ns','keySeparator','nsSeparator','returnObjects','returnDetails','joinArrays','postProcess','interpolation']))delete n[i];return n}}],[{key:"hasDefaultValue",value:function(e){var t='defaultValue';for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),r})(f);function F(e){return e.charAt(0).toUpperCase()+e.slice(1)}var I=(function(){function e(t){a(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=p.create('languageUtils')}return o(e,[{key:"getScriptPartFromCode",value:function(e){if(!(e=R(e))||e.indexOf('-')<0)return null;var t=e.split('-');return 2===t.length?null:(t.pop(),'x'===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join('-')))}},{key:"getLanguagePartFromCode",value:function(e){if(!(e=R(e))||e.indexOf('-')<0)return e;var t=e.split('-');return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if('string'==typeof e&&e.indexOf('-')>-1){var t=['hans','hant','latn','cyrl','cans','mong','arab'],n=e.split('-');return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),'sgn'!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=F(n[2].toLowerCase()))),n.join('-')}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return('languageOnly'===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var i=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(i)||(t=i)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var i=n.getLanguagePartFromCode(e);if(n.isSupportedCode(i))return t=i;t=n.options.supportedLngs.find((function(e){return e===i?e:e.indexOf('-')<0&&i.indexOf('-')<0?void 0:0===e.indexOf(i)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if('function'==typeof e&&(e=e(t)),'string'==typeof e&&(e=[e]),'[object Array]'===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,i=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],a=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return'string'==typeof e&&(e.indexOf('-')>-1||e.indexOf('_')>-1)?('languageOnly'!==this.options.load&&a(this.formatLanguageCode(e)),'languageOnly'!==this.options.load&&'currentOnly'!==this.options.load&&a(this.getScriptPartFromCode(e)),'currentOnly'!==this.options.load&&a(this.getLanguagePartFromCode(e))):'string'==typeof e&&a(this.formatLanguageCode(e)),i.forEach((function(e){r.indexOf(e)<0&&a(n.formatLanguageCode(e))})),r}}]),e})(),D=[{lngs:['ach','ak','am','arn','br','fil','gun','ln','mfe','mg','mi','oc','pt','pt-BR','tg','tl','ti','tr','uz','wa'],nr:[1,2],fc:1},{lngs:['af','an','ast','az','bg','bn','ca','da','de','dev','el','en','eo','es','et','eu','fi','fo','fur','fy','gl','gu','ha','hi','hu','hy','ia','it','kk','kn','ku','lb','mai','ml','mn','mr','nah','nap','nb','ne','nl','nn','no','nso','pa','pap','pms','ps','pt-PT','rm','sco','se','si','so','son','sq','sv','sw','ta','te','tk','ur','yo'],nr:[1,2],fc:2},{lngs:['ay','bo','cgg','fa','ht','id','ja','jbo','ka','km','ko','ky','lo','ms','sah','su','th','tt','ug','vi','wo','zh'],nr:[1],fc:3},{lngs:['be','bs','cnr','dz','hr','ru','sr','uk'],nr:[1,2,5],fc:4},{lngs:['ar'],nr:[0,1,2,3,11,100],fc:5},{lngs:['cs','sk'],nr:[1,2,5],fc:6},{lngs:['csb','pl'],nr:[1,2,5],fc:7},{lngs:['cy'],nr:[1,2,3,8],fc:8},{lngs:['fr'],nr:[1,2],fc:9},{lngs:['ga'],nr:[1,2,3,7,11],fc:10},{lngs:['gd'],nr:[1,2,3,20],fc:11},{lngs:['is'],nr:[1,2],fc:12},{lngs:['jv'],nr:[0,1],fc:13},{lngs:['kw'],nr:[1,2,3,4],fc:14},{lngs:['lt'],nr:[1,2,10],fc:15},{lngs:['lv'],nr:[1,2,0],fc:16},{lngs:['mk'],nr:[1,2],fc:17},{lngs:['mnk'],nr:[0,1,2],fc:18},{lngs:['mt'],nr:[1,2,11,20],fc:19},{lngs:['or'],nr:[2,1],fc:2},{lngs:['ro'],nr:[1,2,20],fc:20},{lngs:['sl'],nr:[5,1,2,3],fc:21},{lngs:['he','iw'],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},A=['v1','v2','v3'],U=['v4'],T={zero:0,one:1,two:2,few:3,many:4,other:5};var K=(function(){function e(t){a(this,e);var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=i,this.logger=p.create('pluralResolver'),this.options.compatibilityJSON&&!U.includes(this.options.compatibilityJSON)||'undefined'!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON='v3',this.logger.error('Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.')),this.rules=(n={},D.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:V[e.fc]}}))})),n)}return o(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(R(e),{type:t.ordinal?'ordinal':'cardinal'})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return`${t}${e}`}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getRule(e,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((function(e,t){return T[e]-T[t]})).map((function(e){return`${t.options.prepend}${n.ordinal?`ordinal${t.options.prepend}`:''}${e}`})):i.numbers.map((function(i){return t.getSuffix(e,i,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:''}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),'')}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,i=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r='plural':1===r&&(r=''));var a=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return'v1'===this.options.compatibilityJSON?1===r?'':'number'==typeof r?`_plural_${r.toString()}`:a():'v2'===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!A.includes(this.options.compatibilityJSON)}}]),e})();function M(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'.',r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=k(e,t,n);return!a&&r&&'string'==typeof n&&void 0===(a=N(e,n,i))&&(a=N(t,n,i)),a}var H=(function(){function e(){a(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=p.create('interpolator'),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return o(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:L,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?S(t.prefix):t.prefixEscaped||'{{',this.suffix=t.suffix?S(t.suffix):t.suffixEscaped||'}}',this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||',',this.unescapePrefix=t.unescapeSuffix?'':t.unescapePrefix||'-',this.unescapeSuffix=this.unescapePrefix?'':t.unescapeSuffix||'',this.nestingPrefix=t.nestingPrefix?S(t.nestingPrefix):t.nestingPrefixEscaped||S('$t('),this.nestingSuffix=t.nestingSuffix?S(t.nestingSuffix):t.nestingSuffixEscaped||S(')'),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||',',this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,'g');var t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(t,'g');var n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(n,'g')}},{key:"interpolate",value:function(e,t,n,i){var r,a,o,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,'$$$$')}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var r=M(t,l,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(r,void 0,n,Object.assign({},i,t,{interpolationkey:e})):r}var a=e.split(s.formatSeparator),o=a.shift().trim(),u=a.join(s.formatSeparator).trim();return s.format(M(t,l,o,s.options.keySeparator,s.options.ignoreJSONStructure),u,n,Object.assign({},i,t,{interpolationkey:o}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(o=0;r=t.regex.exec(e);){var n=r[1].trim();if(void 0===(a=c(n)))if('function'==typeof p){var l=p(e,r,i);a='string'==typeof l?l:''}else if(i&&Object.prototype.hasOwnProperty.call(i,n))a='';else{if(f){a=r[0];continue}s.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=''}else'string'==typeof a||s.useRawValueToEscape||(a=v(a));var u=t.safeValue(a);if(e=e.replace(r[0],u),f?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,i,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var i=e.split(new RegExp(`${n}[ ]*{`)),a=`{${i[1]}`;e=i[0];var o=(a=this.interpolate(a,r)).match(/'/g),s=a.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(a=a.replace(/'/g,'"'));try{r=JSON.parse(a),t&&(r=Object.assign({},t,r))}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${a}`}return delete r.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(r=(r=Object.assign({},o)).replace&&'string'!=typeof r.replace?r.replace:r).applyPostProcessor=!1,delete r.defaultValue;var u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0}if((i=t(s.call(this,n[1].trim(),r),r))&&n[0]===e&&'string'!=typeof i)return i;'string'!=typeof i&&(i=v(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),i=''),u&&(i=l.reduce((function(e,t){return a.format(e,t,o.lng,Object.assign({},o,{interpolationkey:n[1].trim()}))}),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}]),e})();function B(t){var n=t.toLowerCase().trim(),i={};if(t.indexOf('(')>-1){var r=t.split('(');n=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);if('currency'===n&&a.indexOf(':')<0)i.currency||(i.currency=a.trim());else if('relativetime'===n&&a.indexOf(':')<0)i.range||(i.range=a.trim());else{a.split(';').forEach((function(t){if(t){var n=t.split(':'),r=e(n),a=r[0],o=r.slice(1).join(':').trim().replace(/^'+|'+$/g,'');i[a.trim()]||(i[a.trim()]=o),'false'===o&&(i[a.trim()]=!1),'true'===o&&(i[a.trim()]=!0),isNaN(o)||(i[a.trim()]=parseInt(o,10))}}))}}return{formatName:n,formatOptions:i}}function J(e){var t={};return function(n,i,r){var a=i+JSON.stringify(r),o=t[a];return o||(o=e(R(i),r),t[a]=o),o(n)}}var z=(function(){function e(){a(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=p.create('formatter'),this.options=t,this.formats={number:J((function(e,t){var n=new Intl.NumberFormat(e,Object.assign({},t));return function(e){return n.format(e)}})),currency:J((function(e,t){var n=new Intl.NumberFormat(e,Object.assign({},t,{style:'currency'}));return function(e){return n.format(e)}})),datetime:J((function(e,t){var n=new Intl.DateTimeFormat(e,Object.assign({},t));return function(e){return n.format(e)}})),relativetime:J((function(e,t){var n=new Intl.RelativeTimeFormat(e,Object.assign({},t));return function(e){return n.format(e,t.range||'day')}})),list:J((function(e,t){var n=new Intl.ListFormat(e,Object.assign({},t));return function(e){return n.format(e)}}))},this.init(t)}return o(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||','}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=J(t)}},{key:"format",value:function(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((function(e,t){var a=B(t),o=a.formatName,s=a.formatOptions;if(i.formats[o]){var l=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;l=i.formats[o](e,c,Object.assign({},s,r,u))}catch(e){i.logger.warn(e)}return l}return i.logger.warn(`there was no format function for ${o}`),e}),e)}}]),e})();function _(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var q=(function(e){n(i,e);var t=s(i);function i(e,n,r){var o;a(this,i);var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(o=t.call(this)).backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=s,o.logger=p.create('backendConnector'),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,s.backend,s),o}return o(i,[{key:"queueLoad",value:function(e,t,n,i){var r=this,a={},o={},s={},l={};return e.forEach((function(e){var i=!0;t.forEach((function(t){var s=`${e}|${t}`;!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?void 0===o[s]&&(o[s]=!0):(r.state[s]=1,i=!1,void 0===o[s]&&(o[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===l[t]&&(l[t]=!0)))})),i||(s[e]=!0)})),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var i=e.split('|'),r=i[0],a=i[1];t&&this.emit('failedLoading',r,a,t),n&&this.store.addResourceBundle(r,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var i,s,l,u,c,p;i=n.loaded,s=a,u=y(i,[r],Object),c=u.obj,p=u.k,c[p]=c[p]||[],l&&(c[p]=c[p].concat(s)),l||c[p].push(s),_(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===o[e][t]&&(o[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit('loaded',o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:a,callback:o});else{this.readingCalls++;var s=function(s,l){if(i.readingCalls--,i.waitingReads.length>0){var u=i.waitingReads.shift();i.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}s&&l&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn('No backend was added via i18next.use. Will not load resources.'),r&&r();'string'==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),'string'==typeof t&&(t=[t]);var a=this.queueLoad(e,t,i,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',i=e.split('|'),r=i[0],a=i[1];this.read(r,a,'read',void 0,void 0,(function(i,o){i&&t.logger.warn(`${n}loading namespace ${a} for language ${r} failed`,i),!i&&o&&t.logger.log(`${n}loaded namespace ${a} for language ${r}`,o),t.loaded(e,i,o)}))}},{key:"saveMissing",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');else if(null!=n&&''!==n){if(this.backend&&this.backend.create){var s=Object.assign({},a,{isUpdate:r}),l=this.backend.create.bind(this.backend);if(l.length<6)try{var u;(u=5===l.length?l(e,t,n,i,s):l(e,t,n,i))&&'function'==typeof u.then?u.then((function(e){return o(null,e)})).catch(o):o(null,u)}catch(e){o(e)}else l(e,t,n,i,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,i)}}}]),i})(f);function W(){return{debug:!1,initImmediate:!0,ns:['translation'],defaultNS:['translation'],fallbackLng:['dev'],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:'all',preload:!1,simplifyPluralSuffix:!0,keySeparator:'.',nsSeparator:':',pluralSeparator:'_',contextSeparator:'_',partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:'fallback',saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if('object'==typeof e[1]&&(t=e[1]),'string'==typeof e[1]&&(t.defaultValue=e[1]),'string'==typeof e[2]&&(t.tDescription=e[2]),'object'==typeof e[2]||'object'==typeof e[3]){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,i){return e},prefix:'{{',suffix:'}}',formatSeparator:',',unescapePrefix:'-',nestingPrefix:'$t(',nestingSuffix:')',nestingOptionsSeparator:',',maxReplaces:1e3,skipOnVariables:!0}}}function Y(e){return'string'==typeof e.ns&&(e.ns=[e.ns]),'string'==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),'string'==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf('cimode')<0&&(e.supportedLngs=e.supportedLngs.concat(['cimode'])),e}function G(){}var Q=(function(e){n(l,e);var r=s(l);function l(){var e;a(this,l);var n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if((e=r.call(this)).options=Y(o),e.services={},e.logger=p,e.modules={external:[]},n=t(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((function(e){'function'==typeof n[e]&&(n[e]=n[e].bind(n))})),s&&!e.isInitialized&&!o.isClone){if(!e.options.initImmediate)return e.init(o,s),i(e,t(e));setTimeout((function(){e.init(o,s)}),0)}return e}return o(l,[{key:"init",value:function(){var e=this,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;'function'==typeof n&&(i=n,n={}),!n.defaultNS&&!1!==n.defaultNS&&n.ns&&('string'==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf('translation')<0&&(n.defaultNS=n.ns[0]));var r=W();function a(e){return e?'function'==typeof e?new e:e:null}if(this.options=Object.assign({},r,this.options,Y(n)),'v1'!==this.options.compatibilityAPI&&(this.options.interpolation=Object.assign({},r.interpolation,this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var o;this.modules.logger?p.init(a(this.modules.logger),this.options):p.init(null,this.options),this.modules.formatter?o=this.modules.formatter:'undefined'!=typeof Intl&&(o=z);var s=new I(this.options);this.store=new $(this.options.resources,this.options);var l=this.services;l.logger=p,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new K(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(l.formatter=a(o),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new H(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new q(a(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on('*',(function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r1?n-1:0),r=1;r0&&'dev'!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn('init: no languageDetector is used and no lng is defined');['getResource','hasResourceBundle','getResourceBundle','getDataByLanguage'].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments)}}));['addResource','addResources','addResourceBundle','removeResourceBundle'].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments),t}}));var c=h(),f=function(){var t=function(t,n){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn('init: i18next is already initialized. You should call init just once!'),e.isInitialized=!0,e.options.isClone||e.logger.log('initialized',e.options),e.emit('initialized',e.options),c.resolve(n),i(t,n)};if(e.languages&&'v1'!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,i='string'==typeof e?e:this.language;if('function'==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&'cimode'===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();var r=[],a=function(e){e&&('cimode'!==e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){'cimode'!==e&&r.indexOf(e)<0&&r.push(e)})))};if(i)a(i);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)}));this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(r,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var i=h();return e||(e=this.languages),t||(t=this.options.ns),n||(n=G),this.services.backendConnector.reload(e,t,(function(e){i.resolve(),n(e)})),i}},{key:"use",value:function(e){if(!e)throw new Error('You are passing an undefined module! Please check the object you are passing to i18next.use()');if(!e.type)throw new Error('You are passing a wrong module! Please check the object you are passing to i18next.use()');return'backend'===e.type&&(this.modules.backend=e),('logger'===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),'languageDetector'===e.type&&(this.modules.languageDetector=e),'i18nFormat'===e.type&&(this.modules.i18nFormat=e),'postProcessor'===e.type&&P.addPostProcessor(e),'formatter'===e.type&&(this.modules.formatter=e),'3rdParty'===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(['cimode','dev'].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this,i=this;this.isLanguageChangingTo=e;var r=h();this.emit('languageChanging',e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit('languageChanged',o),n.logger.log('languageChanged',o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return i.t.apply(i,arguments)})),t&&t(e,(function(){return i.t.apply(i,arguments)}))},s=function(t){e||t||!n.services.languageDetector||(t=[]);var i='string'==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){o(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,r=function e(t,r){var a;if('object'!=typeof r){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn('hasLoadedNamespace: i18next was not initialized',this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn('hasLoadedNamespace: i18n.languages were undefined or empty',this.languages),!1;var i=n.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if('cimode'===i.toLowerCase())return!0;var o=function(e,n){var i=t.services.backendConnector.state[`${e}|${n}`];return-1===i||2===i};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(i,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(i,e)||r&&!o(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,i=h();return this.options.ns?('string'==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){i.resolve(),t&&t(e)})),i):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=h();'string'==typeof e&&(e=[e]);var i=this.options.preload||[],r=e.filter((function(e){return i.indexOf(e)<0}));return r.length?(this.options.preload=i.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return'rtl';var t=this.services&&this.services.languageUtils||new I(W());return['ar','shu','sqr','ssh','xaa','yhd','yud','aao','abh','abv','acm','acq','acw','acx','acy','adf','ads','aeb','aec','afb','ajp','apc','apd','arb','arq','ars','ary','arz','auz','avl','ayh','ayl','ayn','ayp','bbz','pga','he','iw','ps','pbt','pbu','pst','prp','prd','ug','ur','ydd','yds','yih','ji','yi','hbo','men','xmn','fa','jpr','peo','pes','prs','dv','sam','ckb'].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf('-arab')>1?'rtl':'ltr'}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,i=t.forkResourceStore;i&&delete t.forkResourceStore;var r=Object.assign({},this.options,t,{isClone:!0}),a=new l(r);void 0===t.debug&&void 0===t.prefix||(a.logger=a.logger.clone(t));return['store','services','language'].forEach((function(t){a[t]=e[t]})),a.services=Object.assign({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new $(this.store.data,r),a.services.resourceStore=a.store),a.translator=new E(a.services,r),a.translator.on('*',(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}}]),l})(f),X=Q.createInstance();X.createInstance=Q.createInstance,_m.exports=X}),489,[490,16,13,15,12,5,6]); -__d((function(g,r,i,a,m,e,d){m.exports=function(t){return r(d[0])(t)||r(d[1])(t)||r(d[2])(t)||r(d[3])()},m.exports.__esModule=!0,m.exports.default=m.exports}),490,[27,36,29,31]); -__d((function(e,t,i,n,r,_,o){r.exports={main_title:"Programmable Wallet SDK Sample App",endpoint_title:"Endpoint",appid_title:"App ID",user_token_title:"User Token",encryption_title:"Encryption Key",biometrics_title:"Biometrics",challenge_id_title:"Challenge ID",challenge_type_title:"Challenge Type",result_status_title:"Result Status",signature_title:"Signature",warning_type_title:"Warning Type",warning_message_title:"Warning Message",error_code_title:"Error Code",error_message_title:"Error Message",forgot_pin:"Forgot PIN",execute_bt:"Execute",set_biometrics_pin_bt:"Set Biometrics Pin",continue_bt:"Continue",version:"Version",sdk_version:"SDK Version",e:""}}),491,[]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1])),u=t(r(d[2]))}),492,[1,493,494]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),i=_r(d[4]),a=["id","initialRouteName","children","screenListeners","screenOptions"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}_e.default=(0,_r(d[5]).createNavigatorFactory)((function(e){var o=e.id,s=e.initialRouteName,u=e.children,c=e.screenListeners,l=e.screenOptions,f=(0,t.default)(e,a),p=(0,_r(d[5]).useNavigationBuilder)(_r(d[5]).StackRouter,{id:o,initialRouteName:s,children:u,screenListeners:c,screenOptions:l}),v=p.state,O=p.descriptors,y=p.navigation,j=p.NavigationContent;return n.useEffect((function(){return null==y||null==y.addListener?void 0:y.addListener('tabPress',(function(e){var t=y.isFocused();requestAnimationFrame((function(){v.index>0&&t&&!e.defaultPrevented&&y.dispatch(Object.assign({},_r(d[5]).StackActions.popToTop(),{target:v.key}))}))}))}),[y,v.index,v.key]),(0,i.jsx)(j,{children:(0,i.jsx)(r.default,Object.assign({},f,{state:v,navigation:y,descriptors:O}))})}))}),493,[1,119,153,494,194,498]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,c.jsx)(_r(d[13]).SafeAreaProviderCompat,{children:(0,c.jsx)(f,Object.assign({},e))})};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a})(_r(d[2])),a=_r(d[3]),i=e(_r(d[4])),r=e(_r(d[5])),o=e(_r(d[6])),s=e(_r(d[7])),l=e(_r(d[8])),c=_r(d[9]);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 p='android'===a.Platform.OS,v=function(e){var t=e.options,r=e.route,o=e.presentation,u=e.headerHeight,v=e.headerTopInsetEnabled,h=e.children,f=(0,_r(d[10]).useTheme)().colors,k=t.header,x=t.headerShown,S=void 0===x||x,b=t.contentStyle,B=!p&&('card'!==o&&!0===S&&void 0===k),j=n.useRef(S);n.useEffect((function(){(0,i.default)(!p&&'card'!==o&&j.current!==S,`Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '${r.name}'.`),j.current=S}),[S,o,r.name]);var D=(0,c.jsx)(s.default,{style:[y.container,'transparentModal'!==o&&'containedTransparentModal'!==o&&{backgroundColor:f.background},b],stackPresentation:'card'===o?'push':o,children:h});return B?(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:(0,c.jsxs)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,children:[D,(0,c.jsx)(l.default,Object.assign({},t,{route:r,headerHeight:u,headerTopInsetEnabled:v,canGoBack:!0}))]})}):D},h=function(e){var i,r=e.index,o=e.focused,s=e.descriptor,u=e.previousDescriptor,h=e.nextDescriptor,f=e.onWillDisappear,k=e.onAppear,x=e.onDisappear,S=e.onDismissed,b=e.onHeaderBackButtonClicked,B=e.onNativeDismissCancelled,j=s.route,D=s.navigation,C=s.options,H=s.render,O=C.animationDuration,P=C.animationTypeForReplace,w=void 0===P?'push':P,E=C.gestureEnabled,A=C.header,T=C.headerBackButtonMenuEnabled,_=C.headerShown,M=C.headerBackground,I=C.headerTransparent,N=C.autoHideHomeIndicator,R=C.navigationBarColor,W=C.navigationBarHidden,F=C.orientation,z=C.statusBarAnimation,G=C.statusBarHidden,V=C.statusBarStyle,K=C.statusBarTranslucent,L=C.statusBarColor,$=C.freezeOnBlur,q=C.animation,J=C.customAnimationOnGesture,Q=C.fullScreenGestureEnabled,U=C.presentation,X=void 0===U?'card':U,Y=C.gestureDirection,Z=void 0===Y?'card'===X?'horizontal':'vertical':Y;'vertical'===Z&&'ios'===a.Platform.OS&&(void 0===Q&&(Q=!0),void 0===J&&(J=!0),void 0===q&&(q='slide_from_bottom'));var ee=null==h?void 0:h.options.gestureDirection,te=null!=ee?ee:Z;0===r&&(X='card');var ne=(0,_r(d[12]).useSafeAreaInsets)(),ae=(0,_r(d[12]).useSafeAreaFrame)(),ie='modal'===X||'formSheet'===X,re='ios'===a.Platform.OS&&!(a.Platform.isPad||a.Platform.isTV),oe=ae.width>ae.height,se=n.useContext(_r(d[13]).HeaderShownContext),le=n.useContext(_r(d[13]).HeaderHeightContext),de=n.useContext(_r(d[13]).HeaderBackContext),ce=se||'ios'===a.Platform.OS&&ie||re&&oe?0:ne.top,ue='ios'===a.Platform.OS&&ce>50?ce-5:ce,pe=(0,_r(d[10]).usePreventRemoveContext)().preventedRoutes,ve=(0,_r(d[13]).getDefaultHeaderHeight)(ae,ie,ue),he=n.useState(ve),fe=(0,t.default)(he,2),ge=fe[0],me=fe[1],ye=0!==ce,ke=A?ge:ve,xe=u?{title:(0,_r(d[13]).getHeaderTitle)(u.options,u.route.name)}:de,Se=null==(i=pe[j.key])?void 0:i.preventRemove;return(0,c.jsx)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,customAnimationOnSwipe:J,fullScreenSwipeEnabled:Q,gestureEnabled:!p&&E,homeIndicatorHidden:N,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:w,stackPresentation:'card'===X?'push':X,stackAnimation:q,screenOrientation:F,statusBarAnimation:z,statusBarHidden:G,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:O,onWillDisappear:f,onAppear:k,onDisappear:x,onDismissed:S,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:b,preventNativeDismiss:Se,onNativeDismissCancelled:B,freezeOnBlur:$,children:(0,c.jsx)(_r(d[10]).NavigationContext.Provider,{value:D,children:(0,c.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:j,children:(0,c.jsx)(_r(d[13]).HeaderShownContext.Provider,{value:se||!1!==_,children:(0,c.jsxs)(_r(d[13]).HeaderHeightContext.Provider,{value:!1!==_?ke:null!=le?le:0,children:[null!=M?(0,c.jsx)(a.View,{style:[y.background,I?y.translucent:null,{height:ke}],children:M()}):null,(0,c.jsxs)(a.View,{accessibilityElementsHidden:!o,importantForAccessibility:o?'auto':'no-hide-descendants',style:y.scene,children:[(0,c.jsx)(v,{options:C,route:j,presentation:X,headerHeight:ke,headerTopInsetEnabled:ye,children:(0,c.jsx)(_r(d[13]).HeaderBackContext.Provider,{value:xe,children:H()})}),void 0!==A&&!1!==_?(0,c.jsx)(a.View,{onLayout:function(e){me(e.nativeEvent.layout.height)},style:I?y.absolute:null,children:A({back:xe,options:C,route:j,navigation:D})}):null]}),(0,c.jsx)(l.default,Object.assign({},C,{route:j,headerBackButtonMenuEnabled:void 0!==Se?!Se:T,headerShown:void 0===A&&_,headerHeight:ke,headerBackTitle:void 0!==C.headerBackTitle?C.headerBackTitle:void 0,headerTopInsetEnabled:ye,canGoBack:void 0!==xe}))]})})})})},j.key)};function f(e){var t=e.state,n=e.navigation,a=e.descriptors,i=(0,r.default)(t).setNextDismissedKey;return(0,o.default)(a),(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:t.routes.map((function(e,r){var o,s,l=a[e.key],u=t.index===r,p=null==(o=t.routes[r-1])?void 0:o.key,v=null==(s=t.routes[r+1])?void 0:s.key,f=p?a[p]:void 0,y=v?a[v]:void 0;return(0,c.jsx)(h,{index:r,focused:u,descriptor:l,previousDescriptor:f,nextDescriptor:y,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key})),i(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)}))})}var y=a.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1,elevation:1},background:{overflow:'hidden'}})}),494,[1,26,153,2,495,496,497,594,595,194,498,629,606,597]); -__d((function(g,r,i,a,m,e,d){new Set;m.exports=function(n){}}),495,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var r,o=n.useState(null),u=(0,t.default)(o,2),a=u[0],i=u[1],f=a?null==(r=e.routes.find((function(e){return e.key===a})))?void 0:r.name:null;return n.useEffect((function(){if(f){var e=`The screen '${f}' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.`;console.error(e)}}),[f]),{setNextDismissedKey:i}};var t=e(_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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}}),496,[1,26,153]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var n,r,o=(0,_r(d[1]).usePreventRemoveContext)().preventedRoutes,u=Object.keys(o)[0],a=t[u],l=null==a||null==(n=a.options)?void 0:n.headerBackButtonMenuEnabled,i=null==a||null==(r=a.route)?void 0:r.name;e.useEffect((function(){if(null!=u&&l){var e=`The screen ${i} uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from ${i} screen to get rid of this error.`;console.error(e)}}),[u,l,i])};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 r=t(n);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=u?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:n})(e)}}),497,[153,498]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Link:!0,LinkingContext:!0,NavigationContainer:!0,ServerContainer:!0,DarkTheme:!0,DefaultTheme:!0,ThemeProvider:!0,useTheme:!0,useLinkBuilder:!0,useLinkProps:!0,useLinkTo:!0,useScrollToTop:!0};Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"LinkingContext",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return y.default}});var u=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),b=t(r(d[6])),p=t(r(d[7])),y=t(r(d[8]));Object.keys(r(d[9])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[9])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[9])[t]}}))}));var O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),s=t(r(d[13]));Object.keys(r(d[14])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[14])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[14])[t]}}))}))}),498,[1,499,501,578,587,589,579,580,590,591,592,500,502,593,503]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.to,f=e.action,l=(0,t.default)(e,a),c=(0,o.default)({to:u,action:f}),i=function(e){'onPress'in l&&(null==l.onPress||l.onPress(e)),c.onPress(e)};return n.createElement(r.Text,Object.assign({},c,l,r.Platform.select({web:{onClick:i},default:{onPress:i}})))};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(r,a,f):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=_r(d[3]),o=e(_r(d[4])),a=["to","action"];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)}}),499,[1,119,153,2,500]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var o,u=e.to,l=e.action,s=t.useContext(_r(d[5]).NavigationContainerRefContext),f=t.useContext(_r(d[5]).NavigationHelpersContext),c=t.useContext(r.default).options,p=(0,a.default)(),v=null!=(o=null==c?void 0:c.getPathFromState)?o:_r(d[5]).getPathFromState;return{href:'string'==typeof u?u:v({routes:[{name:u.screen,params:u.params,state:i(u.params)}]},null==c?void 0:c.config),accessibilityRole:'link',onPress:function(e){var t,r=!1;if('web'===n.Platform.OS&&e?e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||null!=e.button&&0!==e.button||![void 0,null,'','self'].includes(null==(t=e.currentTarget)?void 0:t.target)||(e.preventDefault(),r=!0):r=!e||!e.defaultPrevented,r)if(l)if(f)f.dispatch(l);else{if(!s)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");s.dispatch(l)}else p(u)}}};var 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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=_r(d[2]),r=e(_r(d[3])),a=e(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var i=function e(t){return null!=t&&t.state?t.state:null!=t&&t.screen?{routes:[{name:t.screen,params:t.params,state:t.screen?e(t.params):void 0}]}:void 0}}),500,[1,153,2,501,502,503]); -__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var f=u?Object.getOwnPropertyDescriptor(t,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext({options:void 0});t.displayName='LinkingContext';_e.default=t}),501,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var t=e.useContext(_r(d[3]).NavigationContainerRefContext),n=e.useContext(r.default);return e.useCallback((function(e){if(void 0===t)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");if('string'==typeof e){if(!e.startsWith('/'))throw new Error(`The path must start with '/' (${e}).`);var r=n.options,o=null!=r&&r.getStateFromPath?r.getStateFromPath(e,r.config):(0,_r(d[3]).getStateFromPath)(e,null==r?void 0:r.config);if(!o)throw new Error('Failed to parse the path to a navigation state.');var a=(0,_r(d[3]).getActionFromState)(o,null==r?void 0:r.config);void 0!==a?t.dispatch(a):t.reset(o)}else t.navigate(e.screen,e.params)}),[n,t])};var e=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=n(e);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var u=a?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=t[i]}return o.default=t,r&&r.set(t,o),o})(_r(d[1])),r=t(_r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(n=function(t){return t?r:e})(t)}}),502,[1,153,501,503]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={BaseNavigationContainer:!0,createNavigationContainerRef:!0,createNavigatorFactory:!0,CurrentRenderContext:!0,findFocusedRoute:!0,getActionFromState:!0,getFocusedRouteNameFromRoute:!0,getPathFromState:!0,getStateFromPath:!0,NavigationContainerRefContext:!0,NavigationContext:!0,NavigationHelpersContext:!0,NavigationRouteContext:!0,PreventRemoveContext:!0,PreventRemoveProvider:!0,useFocusEffect:!0,useIsFocused:!0,useNavigation:!0,useNavigationBuilder:!0,useNavigationContainerRef:!0,useNavigationState:!0,UNSTABLE_usePreventRemove:!0,usePreventRemoveContext:!0,useRoute:!0,validatePathConfig:!0};Object.defineProperty(e,"BaseNavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"CurrentRenderContext",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NavigationContainerRefContext",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"NavigationContext",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"NavigationHelpersContext",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"NavigationRouteContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"PreventRemoveContext",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"PreventRemoveProvider",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"UNSTABLE_usePreventRemove",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"createNavigationContainerRef",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNavigatorFactory",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"findFocusedRoute",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getActionFromState",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"getFocusedRouteNameFromRoute",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"getPathFromState",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"getStateFromPath",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useFocusEffect",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"useIsFocused",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"useNavigationBuilder",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useNavigationContainerRef",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"useNavigationState",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"usePreventRemoveContext",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"useRoute",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"validatePathConfig",{enumerable:!0,get:function(){return M.default}});var o=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),v=t(r(d[7])),P=t(r(d[8])),s=t(r(d[9])),p=t(r(d[10])),y=t(r(d[11])),O=t(r(d[12])),j=t(r(d[13])),C=t(r(d[14])),N=t(r(d[15]));Object.keys(r(d[16])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[16])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[16])[t]}}))}));var R=t(r(d[17])),F=t(r(d[18])),x=t(r(d[19])),h=t(r(d[20])),S=t(r(d[21])),_=t(r(d[22])),B=t(r(d[23])),E=t(r(d[24])),A=t(r(d[25])),M=t(r(d[26]));Object.keys(r(d[27])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[27])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[27])[t]}}))}))}),503,[1,504,520,530,533,508,534,535,537,545,510,511,547,512,548,549,552,553,555,554,556,573,574,575,576,577,544,521]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),n=e(_r(d[2])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=u?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),u=(e(_r(d[4])),e(_r(d[5])),e(_r(d[6]))),o=e(_r(d[7])),a=e(_r(d[8])),i=e(_r(d[9])),c=e(_r(d[10])),s=e(_r(d[11])),l=e(_r(d[12])),f=e(_r(d[13])),p=e(_r(d[14])),v=e(_r(d[15])),h=e(_r(d[16])),y=e(_r(d[17])),b=e(_r(d[18])),k=_r(d[19]),C=["key","routeNames"];function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}var j=function e(t){if(void 0!==t){t.key,t.routeNames;var r=(0,n.default)(t,C);return Object.assign({},r,{stale:!0,routes:t.routes.map((function(t){return void 0===t.state?t:Object.assign({},t,{state:e(t.state)})}))})}},R=r.forwardRef((function(e,n){var C=e.initialState,O=e.onStateChange,R=e.onUnhandledAction,_=e.independent,P=e.children;if(!r.useContext(l.default).isDefault&&!_)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");var w=(0,b.default)((function(){return j(null==C?void 0:C)})),S=(0,t.default)(w,5),I=S[0],x=S[1],M=S[2],N=S[3],A=S[4],L=r.useRef(!0),E=r.useRef(),D=r.useCallback((function(){return E.current}),[]),G=r.useCallback((function(e){E.current=e}),[]),K=(0,p.default)(),T=K.listeners,U=K.addListener,W=(0,h.default)(),B=W.keyedListeners,Z=W.addKeyedListener,F=r.useCallback((function(e){null==T.focus[0]?console.error(_r(d[20]).NOT_INITIALIZED_ERROR):T.focus[0]((function(t){return t.dispatch(e)}))}),[T.focus]),H=r.useCallback((function(){if(null==T.focus[0])return!1;var e=T.focus[0]((function(e){return e.canGoBack()})),t=e.result;return!!e.handled&&t}),[T.focus]),q=r.useCallback((function(e){var t,n=null!=(t=null==e?void 0:e.key)?t:null==B.getState.root?void 0:B.getState.root().key;null==n?console.error(_r(d[20]).NOT_INITIALIZED_ERROR):T.focus[0]((function(t){return t.dispatch(Object.assign({},_r(d[21]).CommonActions.reset(e),{target:n}))}))}),[B.getState,T.focus]),z=r.useCallback((function(){return null==B.getState.root?void 0:B.getState.root()}),[B.getState]),J=r.useCallback((function(){var e=z();if(null!=e)return(0,o.default)(e)}),[z]),Q=(0,v.default)(),V=(0,y.default)({}),X=V.addOptionsGetter,Y=V.getCurrentOptions,$=r.useMemo((function(){return Object.assign({},Object.keys(_r(d[21]).CommonActions).reduce((function(e,t){return e[t]=function(){return F(_r(d[21]).CommonActions[t].apply(_r(d[21]).CommonActions,arguments))},e}),{}),Q.create('root'),{dispatch:F,resetRoot:q,isFocused:function(){return!0},canGoBack:H,getParent:function(){},getState:function(){return le.current},getRootState:z,getCurrentRoute:J,getCurrentOptions:Y,isReady:function(){return null!=T.focus[0]}})}),[H,F,Q,Y,J,z,T.focus,q]);r.useImperativeHandle(n,(function(){return $}),[$]);var ee=r.useCallback((function(e,t){Q.emit({type:'__unsafe_action__',data:{action:e,noop:t,stack:re.current}})}),[Q]),te=r.useRef(),ne=r.useCallback((function(e){te.current!==e&&(te.current=e,Q.emit({type:'options',data:{options:e}}))}),[Q]),re=r.useRef(),ue=r.useMemo((function(){return{addListener:U,addKeyedListener:Z,onDispatchAction:ee,onOptionsChange:ne,stackRef:re}}),[U,Z,ee,ne]),oe=r.useMemo((function(){return{scheduleUpdate:N,flushUpdates:A}}),[N,A]),ae=r.useRef(!0),ie=r.useCallback((function(){return ae.current}),[]),ce=r.useMemo((function(){return{state:I,getState:x,setState:M,getKey:D,setKey:G,getIsInitial:ie,addOptionsGetter:X}}),[I,x,M,D,G,ie,X]),se=r.useRef(O),le=r.useRef(I);r.useEffect((function(){ae.current=!1,se.current=O,le.current=I})),r.useEffect((function(){var e=z();Q.emit({type:'state',data:{state:I}}),!L.current&&se.current&&se.current(e),L.current=!1}),[z,Q,I]);var fe=r.useCallback((function(e){}),[]),de=(0,k.jsx)(i.default.Provider,{value:$,children:(0,k.jsx)(_r(d[22]).ScheduleUpdateContext.Provider,{value:oe,children:(0,k.jsx)(a.default.Provider,{value:ue,children:(0,k.jsx)(l.default.Provider,{value:ce,children:(0,k.jsx)(f.default.Provider,{value:null!=R?R:fe,children:(0,k.jsx)(u.default,{children:P})})})})})});return _&&(de=(0,k.jsx)(s.default.Provider,{value:void 0,children:(0,k.jsx)(c.default.Provider,{value:void 0,children:de})})),de}));_e.default=R}),504,[1,26,119,153,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,194,520,521,529]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t=[];return(function n(u,o){o.routes.forEach((function(o){var f,c,l=u?`${u} > ${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}}),505,[]); -__d((function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return i(t,new Set,[])};var n=t(r(d[1])),i=function t(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&&(n=!0,t[e].splice(u,1))}}),[t]);return{listeners:t,addListener:r}};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,n&&n.set(e,u),u})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),515,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=r.useRef(e);r.useEffect((function(){n.current=e}));var u=r.useRef(Object.create(null)),c=r.useCallback((function(e){var t=function(t,r){var n=u.current[t]?u.current[t][e]:void 0;if(n){var c=n.indexOf(r);c>-1&&n.splice(c,1)}};return{addListener:function(r,n){u.current[r]=u.current[r]||{},u.current[r][e]=u.current[r][e]||[],u.current[r][e].push(n);var c=!1;return function(){c||(c=!0,t(r,n))}},removeListener:t}}),[]),a=r.useCallback((function(e){var r,c,a=e.type,f=e.data,o=e.target,i=e.canPreventDefault,l=u.current[a]||{},p=void 0!==o?null==(r=l[o])?void 0:r.slice():(c=[]).concat.apply(c,(0,t.default)(Object.keys(l).map((function(e){return l[e]})))).filter((function(e,t,r){return r.lastIndexOf(e)===t})),v={get type(){return a}};if(void 0!==o&&Object.defineProperty(v,'target',{enumerable:!0,get:function(){return o}}),void 0!==f&&Object.defineProperty(v,'data',{enumerable:!0,get:function(){return f}}),i){var s=!1;Object.defineProperties(v,{defaultPrevented:{enumerable:!0,get:function(){return s}},preventDefault:{enumerable:!0,value:function(){s=!0}}})}return null==n.current||n.current(v),null==p||p.forEach((function(e){return e(v)})),v}),[]);return r.useMemo((function(){return{create:c,emit:a}}),[c,a])};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=c?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,r&&r.set(e,u),u})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),516,[1,34,153]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var t=e.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})).current,r=e.useCallback((function(e,r,n){return t[e][r]=n,function(){t[e][r]=void 0}}),[t]);return{keyedListeners:t,addKeyedListener:r}};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,n&&n.set(e,u),u})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),517,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.key,l=e.options,o=e.navigation,a=t.useRef(l),c=t.useRef({}),i=t.useContext(n.default).onOptionsChange,f=t.useContext(r.default).addOptionsGetter,s=t.useCallback((function(){var e,t,n=null==(e=null==o?void 0:o.isFocused())||e,r=Object.keys(c.current).length;n&&!r&&i(null!=(t=a.current)?t:{})}),[o,i]);t.useEffect((function(){return a.current=l,s(),null==o?void 0:o.addListener('focus',s)}),[o,l,s]);var p=t.useCallback((function(){for(var e in c.current)if(c.current.hasOwnProperty(e)){var t,n,r=null==(t=(n=c.current)[e])?void 0:t.call(n);if(null!==r)return r}return null}),[]),v=t.useCallback((function(){var e;if(!(null==(e=null==o?void 0:o.isFocused())||e))return null;var t=p();return null!==t?t:a.current}),[o,p]);return t.useEffect((function(){return null==f?void 0:f(u,v)}),[v,f,u]),{addOptionsGetter:t.useCallback((function(e,t){return c.current[e]=t,s(),function(){delete c.current[e],s()}}),[s]),getCurrentOptions:v}};var 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 r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=l?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_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)}}),518,[1,153,509,513]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=t.useRef(u),c=t.useRef(!1),f=t.useRef(!0);t.useEffect((function(){return f.current=!0,function(){f.current=!1}}),[]),n.current===u&&(n.current='function'==typeof e?e():e);var a=t.useState(n.current),o=(0,r.default)(a,2),l=o[0],i=o[1],p=t.useCallback((function(){return n.current}),[]),s=t.useCallback((function(e){e!==n.current&&f.current&&(n.current=e,c.current||i(e))}),[]),y=t.useCallback((function(e){c.current=!0;try{e()}finally{c.current=!1}}),[]),b=t.useCallback((function(){f.current&&i(n.current)}),[]);l!==n.current&&i(n.current);var v=n.current;return t.useDebugValue(v),[v,p,s,y,b]};var r=e(_r(d[1])),t=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=c?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,t&&t.set(e,u),u})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}var u={}}),519,[1,26,153]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.NOT_INITIALIZED_ERROR=void 0,e.default=function(){var t=[].concat((0,o.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(t){f=t,null!=t&&Object.entries(c).forEach((function(o){var u=(0,n.default)(o,2),c=u[0];u[1].forEach((function(n){t.addListener(c,n)}))}))},isReady:function(){return null!=f&&f.isReady()}},t.reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,o=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}}),524,[]); -__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.DrawerActions=void 0,_e.default=function(t){var o=t.defaultStatus,i=void 0===o?'closed':o,s=(0,r.default)(t,a),c=(0,n.default)(s),f=function(t){var e;return Boolean(null==(e=t.history)?void 0:e.some((function(t){return'drawer'===t.type})))},l=function(t){return f(t)?t:Object.assign({},t,{history:[].concat((0,e.default)(t.history),[{type:'drawer',status:'open'===i?'closed':'open'}])})},p=function(t){return f(t)?Object.assign({},t,{history:t.history.filter((function(t){return'drawer'!==t.type}))}):t},y=function(t){return'open'===i?p(t):l(t)},O=function(t){return'open'===i?l(t):p(t)};return Object.assign({},c,{type:'drawer',getInitialState:function(t){var e=t.routeNames,r=t.routeParamList,n=t.routeGetIdList,a=c.getInitialState({routeNames:e,routeParamList:r,routeGetIdList:n});return Object.assign({},a,{default:i,stale:!1,type:'drawer',key:`drawer-${(0,_r(d[4]).nanoid)()}`})},getRehydratedState:function(t,e){var r=e.routeNames,n=e.routeParamList,a=e.routeGetIdList;if(!1===t.stale)return t;var o=c.getRehydratedState(t,{routeNames:r,routeParamList:n,routeGetIdList:a});return f(t)&&(o=p(o),o=l(o)),Object.assign({},o,{default:i,type:'drawer',key:`drawer-${(0,_r(d[4]).nanoid)()}`})},getStateForRouteFocus:function(t,e){var r=c.getStateForRouteFocus(t,e);return O(r)},getStateForAction:function(t,e,r){switch(e.type){case'OPEN_DRAWER':return y(t);case'CLOSE_DRAWER':return O(t);case'TOGGLE_DRAWER':return f(t)?p(t):l(t);case'JUMP_TO':case'NAVIGATE':var n=c.getStateForAction(t,e,r);return null!=n&&n.index!==t.index?O(n):n;case'GO_BACK':return f(t)?p(t):c.getStateForAction(t,e,r);default:return c.getStateForAction(t,e,r)}},actionCreators:u})};var e=t(_r(d[1])),r=t(_r(d[2])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var i=a?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=t[u]}return n.default=t,r&&r.set(t,n),n})(_r(d[3])),a=["defaultStatus"];function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}var u=_e.DrawerActions=Object.assign({},n.TabActions,{openDrawer:function(){return{type:'OPEN_DRAWER'}},closeDrawer:function(){return{type:'CLOSE_DRAWER'}},toggleDrawer:function(){return{type:'TOGGLE_DRAWER'}}})}),525,[1,34,119,526,524]); -__d((function(g,_r,_i,a,m,e,d){var t=_r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TabActions=void 0,e.default=function(t){var r=t.initialRouteName,s=t.backBehavior,y=void 0===s?'firstRoute':s;return Object.assign({},n.default,{type:'tab',getInitialState:function(t){var n=t.routeNames,i=t.routeParamList,u=void 0!==r&&n.includes(r)?n.indexOf(r):0,s=n.map((function(t){return{name:t,key:`${t}-${(0,_r(d[2]).nanoid)()}`,params:i[t]}})),c=o(s,u,y,r);return{stale:!1,type:'tab',key:`tab-${(0,_r(d[2]).nanoid)()}`,index:u,routeNames:n,history:c,routes:s}},getRehydratedState:function(t,n){var i,o,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==(i=p.routes[null!=(o=null==p?void 0:p.index)?o:0])?void 0:i.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 u({stale:!1,type:'tab',key:`tab-${(0,_r(d[2]).nanoid)()}`,index:v,routeNames:l,history:k,routes:h},v,y,r)},getStateForRouteNamesChange:function(t,n){var i=n.routeNames,u=n.routeParamList,s=n.routeKeyChanges,c=i.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:u[n]}})),l=Math.max(0,i.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=o(c,l,y,r)),Object.assign({},t,{history:f,routeNames:i,routes:c,index:l})},getStateForRouteFocus:function(t,n){var i=t.routes.findIndex((function(t){return t.key===n}));return-1===i||i===t.index?t:u(t,i,y,r)},getStateForAction:function(t,i,o){var s=o.routeParamList,c=o.routeGetIdList;switch(i.type){case'JUMP_TO':case'NAVIGATE':var l=-1;return-1===(l='NAVIGATE'===i.type&&i.payload.key?t.routes.findIndex((function(t){return t.key===i.payload.key})):t.routes.findIndex((function(t){return t.name===i.payload.name})))?null:u(Object.assign({},t,{routes:t.routes.map((function(t,n){if(n!==l)return t;var r,o=c[t.name],u=null==o?void 0:o({params:t.params}),y=null==o?void 0:o({params:i.payload.params}),f=u===y?t.key:`${t.name}-${(0,_r(d[2]).nanoid)()}`;r='NAVIGATE'===i.type&&i.payload.merge&&u===y?void 0!==i.payload.params||void 0!==s[t.name]?Object.assign({},s[t.name],t.params,i.payload.params):t.params:void 0!==s[t.name]?Object.assign({},s[t.name],i.payload.params):i.payload.params;var p='NAVIGATE'===i.type&&null!=i.payload.path?i.payload.path:t.path;return r!==t.params||p!==t.path?Object.assign({},t,{key:f,path:p,params:r}):t}))}),l,y,r);case'GO_BACK':if(1===t.history.length)return null;var f=t.history[t.history.length-2].key,p=t.routes.findIndex((function(t){return t.key===f}));return-1===p?null:Object.assign({},t,{history:t.history.slice(0,-1),index:p});default:return n.default.getStateForAction(t,i)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:i})};var n=t(_r(d[1])),r='route',i=e.TabActions={jumpTo:function(t,n){return{type:'JUMP_TO',payload:{name:t,params:n}}}},o=function(t,n,i,o){var u,s=[{type:r,key:t[n].key}];switch(i){case'order':for(var y=n;y>0;y--)s.unshift({type:r,key:t[y-1].key});break;case'firstRoute':0!==n&&s.unshift({type:r,key:t[0].key});break;case'initialRoute':n!==(u=-1===(u=t.findIndex((function(t){return t.name===o})))?0:u)&&s.unshift({type:r,key:t[u].key})}return s},u=function(t,n,i,u){var s;if('history'===i){var y=t.routes[n].key;s=t.history.filter((function(t){return'route'===t.type&&t.key!==y})).concat({type:r,key:y})}else s=o(t.routes,n,i,u);return Object.assign({},t,{index:n,history:s})}}),526,[1,523,524]); -__d((function(g,_r,_i,a,m,e,d){var t=_r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.StackActions=void 0,e.default=function(t){var i=Object.assign({},o.default,{type:'stack',getInitialState:function(n){var o=n.routeNames,r=n.routeParamList,i=void 0!==t.initialRouteName&&o.includes(t.initialRouteName)?t.initialRouteName:o[0];return{stale:!1,type:'stack',key:`stack-${(0,_r(d[3]).nanoid)()}`,index:0,routeNames:o,routes:[{key:`${i}-${(0,_r(d[3]).nanoid)()}`,name:i,params:r[i]}]}},getRehydratedState:function(n,o){var r=o.routeNames,i=o.routeParamList,s=n;if(!1===s.stale)return s;var u=s.routes.filter((function(t){return r.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!==t.initialRouteName?t.initialRouteName:r[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:r,routes:u}},getStateForRouteNamesChange:function(n,o){var r=o.routeNames,i=o.routeParamList,s=o.routeKeyChanges,u=n.routes.filter((function(t){return r.includes(t.name)&&!s.includes(t.name)}));if(0===u.length){var l=void 0!==t.initialRouteName&&r.includes(t.initialRouteName)?t.initialRouteName:r[0];u.push({key:`${l}-${(0,_r(d[3]).nanoid)()}`,name:l,params:i[l]})}return Object.assign({},n,{routeNames:r,routes:u,index:Math.min(n.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(t,r,s){var u=s.routeParamList;switch(r.type){case'REPLACE':var l=r.target===t.key&&r.source?t.routes.findIndex((function(t){return t.key===r.source})):t.index;if(-1===l)return null;var p=r.payload,y=p.name,c=p.key,f=p.params;return t.routeNames.includes(y)?Object.assign({},t,{routes:t.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(t.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?t.routes.find((function(t){return t.name===r.payload.name&&O===(null==k?void 0:k({params:t.params}))})):void 0;return h?(v=t.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,n.default)(t.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({},t,{index:v.length-1,routes:v})}return null;case'POP':var P=r.target===t.key&&r.source?t.routes.findIndex((function(t){return t.key===r.source})):t.index;if(P>0){var x=Math.max(P-r.payload.count+1,1),b=t.routes.slice(0,x).concat(t.routes.slice(P+1));return Object.assign({},t,{index:b.length-1,routes:b})}return null;case'POP_TO_TOP':return i.getStateForAction(t,{type:'POP',payload:{count:t.routes.length-1}},s);case'NAVIGATE':if(void 0!==r.payload.name&&!t.routeNames.includes(r.payload.name))return null;if(r.payload.key||r.payload.name){var j,N=-1,$=void 0===r.payload.key&&void 0!==r.payload.name?s.routeGetIdList[r.payload.name]:void 0,R=null==$?void 0:$({params:r.payload.params});if(R)N=t.routes.findIndex((function(t){return t.name===r.payload.name&&R===(null==$?void 0:$({params:t.params}))}));else if(t.routes[t.index].name===r.payload.name&&void 0===r.payload.key||t.routes[t.index].key===r.payload.key)N=t.index;else for(var S=t.routes.length-1;S>=0;S--)if(t.routes[S].name===r.payload.name&&void 0===r.payload.key||t.routes[S].key===r.payload.key){N=S;break}if(-1===N&&r.payload.key&&void 0===r.payload.name)return null;if(-1===N&&void 0!==r.payload.name){var A,_=[].concat((0,n.default)(t.routes),[{key:null!=(A=r.payload.key)?A:`${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({},t,{routes:_,index:_.length-1})}var I,L=t.routes[N];return I=r.payload.merge?void 0!==r.payload.params||void 0!==u[L.name]?Object.assign({},u[L.name],L.params,r.payload.params):L.params:void 0!==u[L.name]?Object.assign({},u[L.name],r.payload.params):r.payload.params,Object.assign({},t,{index:N,routes:[].concat((0,n.default)(t.routes.slice(0,N)),[I!==L.params||r.payload.path&&r.payload.path!==L.path?Object.assign({},L,{path:null!=(j=r.payload.path)?j:L.path,params:I}):t.routes[N]])})}return null;case'GO_BACK':return t.index>0?i.getStateForAction(t,{type:'POP',payload:{count:1},target:r.target,source:r.source},s):null;default:return o.default.getStateForAction(t,r)}},actionCreators:r});return i};var n=t(_r(d[1])),o=t(_r(d[2])),r=e.StackActions={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'}}}}),527,[1,34,523,524]); -__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.ScheduleUpdateContext=void 0,_e.default=function(t){var r=e.useContext(n),o=r.scheduleUpdate,u=r.flushUpdates;o(t),e.useEffect(u)};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}var r="Couldn't find a schedule context.",n=_e.ScheduleUpdateContext=e.createContext({scheduleUpdate:function(){throw new Error(r)},flushUpdates:function(){throw new Error(r)}})}),529,[153]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){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:t,Group:n.default,Screen:o.default}}};var n=t(r(d[1])),o=t(r(d[2]))}),530,[1,531,532]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),531,[]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),532,[]); -__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),533,[153]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){var s,u,o=t?l(t):{},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 t=n(r(d[1]));var l=function(n){return'object'==typeof n&&null!=n?{initialRouteName:n.initialRouteName,screens:null!=n.screens?s(n.screens):void 0}:{}},s=function(n){return Object.entries(n).reduce((function(n,s){var u=(0,t.default)(s,2),o=u[0],v=u[1];return n[o]=l(v),n}),{})}}),534,[1,26]); -__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}}),535,[536]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.CHILD_STATE=void 0,_e.default=function(e){t.useMemo((function(){return{current:new Map}}),[]);return e};e(_r(d[1]));var 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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}_e.CHILD_STATE=Symbol('CHILD_STATE')}),536,[1,119,153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,t){if(null==e)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");t&&(0,i.default)(t);var o=null!=t&&t.screens?c(null==t?void 0:t.screens):{},f='/',l=e,p={},v=function(){for(var t,i,c='number'==typeof l.index?l.index:0,v=l.routes[c],y=u(e),h=o,b=[],j=!0,O=function(){if(t=h[v.name].pattern,b.push(v.name),v.params){var e,r,o=null==(e=h[v.name])?void 0:e.stringify,u=(0,a.default)(Object.entries(v.params).map((function(e){var t=(0,n.default)(e,2),r=t[0],a=t[1];return[r,null!=o&&o[r]?o[r](a):String(a)]})));if(t&&Object.assign(p,u),y===v)i=Object.assign({},u),null==(r=t)||r.split('/').filter((function(e){return e.startsWith(':')})).forEach((function(e){var t=s(e);i&&delete i[t]}))}if(h[v.name].screens&&void 0!==v.state){c='number'==typeof v.state.index?v.state.index:v.state.routes.length-1;var f=v.state.routes[c],l=h[v.name].screens;l&&f.name in l?(v=f,h=l):j=!1}else j=!1};v.name in h&&j;)O();if(void 0===t&&(t=b.join('/')),void 0!==h[v.name]?f+=t.split('/').map((function(e){var t=s(e);if('*'===e)return v.name;if(e.startsWith(':')){var n=p[t];return void 0===n&&e.endsWith('?')?'':encodeURIComponent(n)}return encodeURIComponent(e)})).join('/'):f+=encodeURIComponent(v.name),i||(i=y.params),v.state)f+='/';else if(i){for(var w in i)'undefined'===i[w]&&delete i[w];var _=r.stringify(i,{sort:!1});_&&(f+=`?${_}`)}l=v.state};for(;l;)v();return f=(f=f.replace(/\/+/g,'/')).length>1?f.replace(/\/$/,''):f};var t=e(_r(d[1])),n=e(_r(d[2])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),a=e(_r(d[4])),i=e(_r(d[5]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var u=function e(t){var n='number'==typeof t.index?t.routes[t.index]:t.routes[t.routes.length-1];return n.state?e(n.state):n};var s=function(e){return e.replace(/^:/,'').replace(/\?$/,'')},f=function(){for(var e,n=arguments.length,r=new Array(n),a=0;a0})).join('&')},e.parseUrl=function(t,a){a=Object.assign({decode:!0},a);var o=r(d[5])(t,'#'),u=n(o,2),c=u[0],s=u[1];return Object.assign({url:c.split('?')[0]||'',query:k(b(t),a)},a&&a.parseFragmentIdentifier&&s?{fragmentIdentifier:f(s,a)}:{})},e.stringifyUrl=function(n,a){a=Object.assign(t({encode:!0,strict:!0},o,!0),a);var u=y(n.url).split('?')[0]||'',c=e.extract(n.url),s=e.parse(c,{sort:!1}),f=Object.assign(s,n.query),p=e.stringify(f,a);p&&(p=`?${p}`);var b=v(n.url);return n.fragmentIdentifier&&(b=`#${a[o]?l(n.fragmentIdentifier,a):n.fragmentIdentifier}`),`${u}${p}${b}`},e.pick=function(n,a,u){u=Object.assign(t({parseFragmentIdentifier:!0},o,!1),u);var c=e.parseUrl(n,u),s=c.url,l=c.query,f=c.fragmentIdentifier;return e.stringifyUrl({url:s,query:r(d[6])(l,a),fragmentIdentifier:f},u)},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)}}),538,[170,26,34,539,540,541,542]); -__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()}`}))}}),539,[]); -__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${o(u)}\n\nDid you forget to specify them under a 'screens' property?\n\nYou can only specify the following properties:\n${o(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(o){var c=(0,t.default)(o,2),s=(c[0],c[1]);'string'!=typeof s&&n(s,!1)}))};var t=n(r(d[1])),o=function(n){return n.map((function(n){return`- ${n}`})).join('\n')}}),544,[1,26]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,n){var a;n&&(0,u.default)(n);var i=[];null!=n&&n.initialRouteName&&i.push({initialRouteName:n.initialRouteName,parentScreens:[]});var o=null==n?void 0:n.screens,s=e.replace(/\/+/g,'/').replace(/^\//,'').replace(/\?.*$/,'');if(s=s.endsWith('/')?s:`${s}/`,void 0===o){var p=s.split('/').filter(Boolean).map((function(e){return{name:decodeURIComponent(e)}}));return p.length?y(e,p,i):void 0}var c,h,v=(a=[]).concat.apply(a,(0,r.default)(Object.keys(o).map((function(e){return l(e,o,[],i,[])})))).sort((function(e,t){if(e.pattern===t.pattern)return t.routeNames.join('>').localeCompare(e.routeNames.join('>'));if(e.pattern.startsWith(t.pattern))return-1;if(t.pattern.startsWith(e.pattern))return 1;for(var r=e.pattern.split('/'),n=t.pattern.split('/'),a=0;aa.length?a.every((function(e,t){return n[t]===e})):n.every((function(e,t){return a[t]===e}))))throw new Error(`Found conflicting screens with the same pattern. The pattern '${r.pattern}' resolves to both '${n.join(' > ')}' and '${a.join(' > ')}'. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(e,(0,t.default)({},r.pattern,r))}),{}),'/'===s){var j=v.find((function(e){return''===e.path&&e.routeNames.every((function(e){var t;return!(null!=(t=v.find((function(t){return t.screen===e})))&&t.path)}))}));return j?y(e,j.routeNames.map((function(e){return{name:e}})),i,v):void 0}var b=f(s,v.map((function(e){return Object.assign({},e,{regex:e.regex?new RegExp(e.regex.source+'$'):void 0})}))),O=b.routes,N=b.remainingPath;void 0!==O&&(s=N,c=h=y(e,O,i,v));if(null==h||null==c)return;return c};var t=e(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),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=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),i=e(_r(d[5])),u=e(_r(d[6]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var s=function(){for(var e,t=arguments.length,n=new Array(t),a=0;a2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,u=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,f=[];a.push(t),u.push(t);var l=n[t];if('string'==typeof l){var c=o?s(o,l):l;f.push(p(t,a,c,l))}else if('object'==typeof l){var h;if('string'==typeof l.path){if(l.exact&&void 0===l.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: ''`.");h=!0!==l.exact?s(o||'',l.path||''):l.path||'',f.push(p(t,a,h,l.path,l.parse))}l.screens&&(l.initialRouteName&&i.push({initialRouteName:l.initialRouteName,parentScreens:u}),Object.keys(l.screens).forEach((function(t){var n,s=e(t,l.screens,a,i,(0,r.default)(u),null!=(n=h)?n:o);f.push.apply(f,(0,r.default)(s))})))}return a.pop(),f},p=function(e,t,a,i,u){return{screen:e,regex:(a=a.split('/').filter(Boolean).join('/'))?new RegExp(`^(${a.split('/').map((function(e){return e.startsWith(':')?`(([^/]+\\/)${e.endsWith('?')?'?':''})`:`${'*'===e?'.*':(0,n.default)(e)}\\/`})).join('')})`):void 0,pattern:a,path:i,routeNames:(0,r.default)(t),parse:u}},c=function(e,t){for(var r of t)if(e===r.routeNames[r.routeNames.length-1])return r.parse},h=function(e,t,r){for(var n of r)if(t.length===n.parentScreens.length){for(var a=!0,i=0;i0)for(var f=a;u=t.shift();){s=h(u.name,o,r);var l=f.index||f.routes.length-1;f.routes[l].state=v(s,u,0===t.length),t.length>0&&(f=f.routes[l].state),o.push(u.name)}(u=(0,i.default)(a)).path=e;var p=j(e,n?c(u.name,n):void 0);return p&&(u.params=Object.assign({},u.params,p)),a},j=function(e,t){var r=e.split('?')[1],n=a.parse(r);return t&&Object.keys(n).forEach((function(e){Object.hasOwnProperty.call(t,e)&&'string'==typeof n[e]&&(n[e]=t[e](n[e]))})),Object.keys(n).length?n:void 0}}),545,[1,170,34,546,538,508,544]); -__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')}}),546,[]); -__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),547,[153]); -__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),548,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var f=e.children,c=r.useState((function(){return(0,_r(d[9]).nanoid)()})),p=(0,t.default)(c,1)[0],s=r.useState(new Map),y=(0,t.default)(s,2),w=y[0],_=y[1],k=r.useContext(o.default),O=r.useContext(i.default),P=r.useContext(l.default),R=null==P?void 0:P.setPreventRemove,j=(0,u.default)((function(e,t,n){if(n&&(null==k||null!=k&&k.getState().routes.every((function(e){return e.key!==t}))))throw new Error(`Couldn't find a route with the key ${t}. Is your component inside NavigationContent?`);_((function(r){var u,o;if(t===(null==(u=r.get(e))?void 0:u.routeKey)&&n===(null==(o=r.get(e))?void 0:o.preventRemove))return r;var i=new Map(r);return n?i.set(e,{routeKey:t,preventRemove:n}):i.delete(e),i}))})),M=(0,n.default)(w.values()).some((function(e){return e.preventRemove}));r.useEffect((function(){if(void 0!==(null==O?void 0:O.key)&&void 0!==R)return R(p,O.key,M),function(){R(p,O.key,!1)}}),[p,M,null==O?void 0:O.key,R]);var b=r.useMemo((function(){return{setPreventRemove:j,preventedRoutes:v(w)}}),[j,w]);return(0,a.jsx)(l.default.Provider,{value:b,children:f})};var t=e(_r(d[1])),n=e(_r(d[2])),r=(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 r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=u?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),u=e(_r(d[4])),o=e(_r(d[5])),i=e(_r(d[6])),l=e(_r(d[7])),a=_r(d[8]);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)}var v=function(e){return(0,n.default)(e.values()).reduce((function(e,t){var n,r=t.routeKey,u=t.preventRemove;return e[r]={preventRemove:(null==(n=e[r])?void 0:n.preventRemove)||u},e}),{})}}),549,[1,26,34,153,550,547,512,548,194,524]); -__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,u,o){void 0===o&&(o=u);var f=Object.getOwnPropertyDescriptor(n,u);f&&!("get"in f?!n.__esModule:f.writable||f.configurable)||(f={enumerable:!0,get:function(){return n[u]}}),Object.defineProperty(t,o,f)}:function(t,n,u,o){void 0===o&&(o=u),t[o]=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 o={};if(null!=u)for(var f in u)"default"!==f&&Object.prototype.hasOwnProperty.call(u,f)&&t(o,u,f);return n(o,u),o},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var f=u(r(d[0])),c=o(r(d[1]));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,o=function(){var t=e();if(void 0===t||'function'==typeof t)return t};r.isFocused()&&(t=o(),n=!0);var u=r.addListener('focus',(function(){n||(void 0!==t&&t(),t=o(),n=!0)})),a=r.addListener('blur',(function(){void 0!==t&&t(),t=void 0,n=!1}));return function(){void 0!==t&&t(),u(),a()}}),[e,r])};var 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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=u?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[1])),n=e(_r(d[2]));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)}}),553,[1,153,554]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(n.default),o=t.useContext(r.default);if(void 0===o&&void 0===e)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return null!=o?o:e};var 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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}}),554,[1,153,510,511]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,u.default)(),o=(0,r.useState)(e.isFocused),f=(0,t.default)(o,2),a=f[0],i=f[1],c=e.isFocused();a!==c&&i(c);return n.useEffect((function(){var t=e.addListener('focus',(function(){return i(!0)})),r=e.addListener('blur',(function(){return i(!1)}));return function(){t(),r()}}),[e]),n.useDebugValue(c),c};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=r,u=e(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}}),555,[1,26,153,554]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,i){var v=(0,K.default)(),_=o.useContext(p.default),G=i.children,A=i.screenListeners,x=(0,r.default)(i,E),M=o.useRef(e(Object.assign({},x,null!=_&&_.params&&null==_.params.state&&!1!==_.params.initial&&'string'==typeof _.params.screen?{initialRouteName:_.params.screen}:null))).current,F=$(G),J=F.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}),{}),V=F.map((function(e){return e.props.name})),W=V.reduce((function(e,t){return e[t]=J[t].keys.map((function(e){return null!=e?e:''})).join(':'),e}),{}),D=V.reduce((function(e,t){var n=J[t].props.initialParams;return e[t]=n,e}),{}),T=V.reduce((function(e,t){return Object.assign(e,(0,n.default)({},t,J[t].props.getId))}),{});if(!V.length)throw new Error("Couldn't find any screens for the navigator. Have you defined any screens as its children?");var H=o.useCallback((function(e){return void 0===e.type||e.type===M.type}),[M.type]),q=o.useCallback((function(e){return void 0!==e&&!1===e.stale&&H(e)}),[H]),z=o.useContext(f.default),B=z.state,Q=z.getState,U=z.setState,X=z.setKey,Y=z.getKey,Z=z.getIsInitial,ee=o.useRef(!1),te=o.useCallback((function(){U(void 0),ee.current=!0}),[U]),ne=o.useCallback((function(e){ee.current||U(e)}),[U]),re=o.useMemo((function(){var e,t,n,r=V.reduce((function(e,t){var n,r,a,o=J[t].props.initialParams,i=null==(null==_||null==(n=_.params)?void 0:n.state)&&!1!==(null==_||null==(r=_.params)?void 0:r.initial)&&(null==_||null==(a=_.params)?void 0:a.screen)===t?_.params.params:void 0;return e[t]=void 0!==o||void 0!==i?Object.assign({},o,i):void 0,e}),{});return void 0!==B&&H(B)||null!=(null==_||null==(e=_.params)?void 0:e.state)?[M.getRehydratedState(null!=(t=null==_||null==(n=_.params)?void 0:n.state)?t:B,{routeNames:V,routeParamList:r,routeGetIdList:T}),!1]:[M.getInitialState({routeNames:V,routeParamList:r,routeGetIdList:T}),!0]}),[B,M,H]),ae=(0,t.default)(re,2),oe=ae[0],ie=ae[1],ue=o.useRef(W);o.useEffect((function(){ue.current=W}));var se=ue.current,le=q(B)?B:oe,pe=le;(0,u.default)(le.routeNames,V)&&(0,s.default)(W,se)||(pe=M.getStateForRouteNamesChange(le,{routeNames:V,routeParamList:D,routeGetIdList:T,routeKeyChanges:Object.keys(W).filter((function(e){return se.hasOwnProperty(e)&&W[e]!==se[e]}))}));var fe=o.useRef(null==_?void 0:_.params);if(o.useEffect((function(){fe.current=null==_?void 0:_.params}),[null==_?void 0:_.params]),null!=_&&_.params){var ce,de=fe.current;'object'==typeof _.params.state&&null!=_.params.state&&_.params!==de?ce=_r(d[30]).CommonActions.reset(_.params.state):'string'==typeof _.params.screen&&(!1===_.params.initial&&ie||_.params!==de)&&(ce=_r(d[30]).CommonActions.navigate({name:_.params.screen,params:_.params.params,path:_.params.path}));var me=ce?M.getStateForAction(pe,ce,{routeNames:V,routeParamList:D,routeGetIdList:T}):null;pe=null!==me?M.getRehydratedState(me,{routeNames:V,routeParamList:D,routeGetIdList:T}):pe}var ve=le!==pe;(0,N.default)((function(){ve&&ne(pe)})),le=pe,o.useEffect((function(){return X(v),Z()||ne(pe),function(){setTimeout((function(){void 0!==Q()&&Y()===v&&te()}),0)}}),[]);var ye=o.useRef();ye.current=oe;var ge=o.useCallback((function(){var e=Q();return q(e)?e:ye.current}),[Q,q]),he=(0,b.default)((function(e){var t,n,r,o=[];e.target?null!=(r=n=le.routes.find((function(t){return t.key===e.target})))&&r.name&&o.push(n.name):(n=le.routes[le.index],o.push.apply(o,(0,a.default)(Object.keys(J).filter((function(e){var t;return(null==(t=n)?void 0:t.name)===e})))));if(null!=n){var i=Ie[n.key].navigation;(t=[]).concat.apply(t,(0,a.default)([A].concat((0,a.default)(o.map((function(e){return J[e].props.listeners})))).map((function(t){var r='function'==typeof t?t({route:n,navigation:i}):t;return r?Object.keys(r).filter((function(t){return t===e.type})).map((function(e){return null==r?void 0:r[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,k.default)({state:le,emitter:he}),o.useEffect((function(){he.emit({type:'state',data:{state:le}})}),[he,le]);var Oe=(0,y.default)(),Se=Oe.listeners,be=Oe.addListener,Le=(0,j.default)(),ke=Le.keyedListeners,je=Le.addKeyedListener,we=(0,P.default)({router:M,getState:ge,setState:ne,key:null==_?void 0:_.key,actionListeners:Se.action,beforeRemoveListeners:ke.beforeRemove,routerConfigOptions:{routeNames:V,routeParamList:D,routeGetIdList:T},emitter:he}),Pe=(0,I.default)({router:M,key:null==_?void 0:_.key,getState:ge,setState:ne}),Ce=(0,w.default)({id:i.id,onAction:we,getState:ge,emitter:he,router:M});(0,L.default)({navigation:Ce,focusedListeners:Se.focus}),(0,C.default)({getState:ge,getStateListeners:ke.getState});var Ie=(0,S.default)({state:le,screens:J,navigation:Ce,screenOptions:i.screenOptions,defaultScreenOptions:i.defaultScreenOptions,onAction:we,getState:ge,setState:ne,onRouteFocus:Pe,addListener:be,addKeyedListener:je,router:M,emitter:he});(0,O.default)({state:le,navigation:Ce,descriptors:Ie});var Ke=(0,h.default)((function(e){return(0,R.jsx)(l.default.Provider,{value:Ce,children:(0,R.jsx)(c.default,{children:e})})}));return{state:le,navigation:Ce,descriptors:Ie,NavigationContent:Ke}};var t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),a=e(_r(d[4])),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=_(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[5])),i=e(_r(d[6])),u=e(_r(d[7])),s=e(_r(d[8])),l=e(_r(d[9])),p=e(_r(d[10])),f=e(_r(d[11])),c=e(_r(d[12])),v=e(_r(d[13])),y=e(_r(d[14])),h=e(_r(d[15])),O=e(_r(d[16])),S=e(_r(d[17])),b=e(_r(d[18])),L=e(_r(d[19])),k=e(_r(d[20])),j=e(_r(d[21])),w=e(_r(d[22])),P=e(_r(d[23])),C=e(_r(d[24])),I=e(_r(d[25])),K=e(_r(d[26])),N=e(_r(d[27])),R=_r(d[28]),E=["children","screenListeners"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}_r(d[29]).PrivateValueStore;var G=function(e){return void 0===e||'string'==typeof e&&''!==e},$=function e(t,n,r){return o.Children.toArray(t).reduce((function(t,u){var s,l;if(o.isValidElement(u)){if(u.type===v.default){if(!G(u.props.navigationKey))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(u.props.navigationKey)}) for the screen '${u.props.name}'. It must be a non-empty string or 'undefined'.`);return t.push({keys:[n,u.props.navigationKey],options:r,props:u.props}),t}if(u.type===o.Fragment||u.type===i.default){if(!G(u.props.navigationKey))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(u.props.navigationKey)}) for the group. It must be a non-empty string or 'undefined'.`);return t.push.apply(t,(0,a.default)(e(u.props.children,u.props.navigationKey,u.type!==i.default?r:null!=r?[].concat((0,a.default)(r),[u.props.screenOptions]):[u.props.screenOptions]))),t}}throw new Error(`A navigator can only contain 'Screen', 'Group' or 'React.Fragment' as its direct children (found ${o.isValidElement(u)?`'${'string'==typeof u.type?u.type:null==(s=u.type)?void 0:s.name}'${null!=u.props&&'object'==typeof u.props&&'name'in u.props&&null!=(l=u.props)&&l.name?` for the screen '${u.props.name}'`:''}`:'object'==typeof u?JSON.stringify(u):`'${String(u)}'`}). To render this component in the navigator, pass it in the 'component' prop to 'Screen'.`)}),[])}}),556,[1,26,170,119,34,153,531,557,558,547,512,513,549,532,515,559,560,561,516,565,566,517,567,568,570,571,572,529,194,552,521]); -__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]}))}}),557,[]); -__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]}))}}),558,[]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var u=e.useRef(t);return u.current=t,e.useEffect((function(){u.current=null})),e.useRef((function(e){var t=e.children,o=u.current;if(null===o)throw new Error('The returned component must be rendered in the same render phase as the hook.');return(0,r.jsx)(n,{render:o,children:t})})).current};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var c=o?Object.getOwnPropertyDescriptor(e,f):null;c&&(c.get||c.set)?Object.defineProperty(u,f,c):u[f]=e[f]}return u.default=e,n&&n.set(e,u),u})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}var n=function(e){return(0,e.render)(e.children)}}),559,[153,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.state,o=e.navigation,u=e.descriptors,a=t.useContext(r.default);a&&o.isFocused()&&(a.options=u[n.routes[n.index].key].options)};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),560,[1,153,533]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var p=e.state,y=e.screens,O=e.navigation,j=e.screenOptions,b=e.defaultScreenOptions,k=e.onAction,P=e.getState,S=e.setState,h=e.addListener,_=e.addKeyedListener,w=e.onRouteFocus,M=e.router,x=e.emitter,A=o.useState({}),D=(0,r.default)(A,2),L=D[0],R=D[1],C=o.useContext(i.default),W=C.onDispatchAction,F=C.onOptionsChange,K=C.stackRef,B=o.useMemo((function(){return{navigation:O,onAction:k,addListener:h,addKeyedListener:_,onRouteFocus:w,onDispatchAction:W,onOptionsChange:F,stackRef:K}}),[O,k,h,_,w,W,F,K]),E=(0,f.default)({state:p,getState:P,navigation:O,setOptions:R,router:M,emitter:x});return(0,c.default)(p.routes).reduce((function(e,r,o){var f=y[r.name],c=f.props,O=E[r.key],k=[j].concat((0,n.default)(f.options?f.options.filter(Boolean):[]),[c.options,L[r.key]]).reduce((function(e,t){return Object.assign(e,'function'!=typeof t?t:t({route:r,navigation:O}))}),{}),h=Object.assign({},'function'==typeof b?b({route:r,navigation:O,options:k}):b,k),_=function(){return R((function(e){if(r.key in e){var n=r.key;e[n];return(0,t.default)(e,[n].map(v))}return e}))};return e[r.key]={route:r,navigation:O,render:function(){return(0,l.jsx)(i.default.Provider,{value:B,children:(0,l.jsx)(a.default.Provider,{value:O,children:(0,l.jsx)(u.default.Provider,{value:r,children:(0,l.jsx)(s.default,{navigation:O,route:r,screen:c,routeState:p.routes[o].state,getState:P,setState:S,options:h,clearOptions:_})})})},r.key)},options:h},e}),{})};var t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),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=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[4])),i=e(_r(d[5])),a=e(_r(d[6])),u=e(_r(d[7])),s=e(_r(d[8])),f=e(_r(d[9])),c=e(_r(d[10])),l=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function v(e){var t=y(e,"string");return"symbol"==typeof t?t:String(t)}function y(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}}),561,[1,119,34,26,153,509,511,512,562,564,536,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.screen,c=e.route,f=e.navigation,l=e.routeState,s=e.getState,p=e.setState,v=e.options,y=e.clearOptions,k=t.useRef(),b=t.useCallback((function(){return k.current}),[]),O=(0,a.default)({key:c.key,options:v,navigation:f}).addOptionsGetter,j=t.useCallback((function(e){k.current=e}),[]),_=t.useCallback((function(){var e=s().routes.find((function(e){return e.key===c.key}));return e?e.state:void 0}),[s,c.key]),h=t.useCallback((function(e){var t=s();p(Object.assign({},t,{routes:t.routes.map((function(t){return t.key===c.key?Object.assign({},t,{state:e}):t}))}))}),[s,c.key,p]),C=t.useRef(!0);t.useEffect((function(){C.current=!1})),t.useEffect((function(){return y}),[]);var P=t.useCallback((function(){return C.current}),[]),M=t.useMemo((function(){return{state:l,getState:_,setState:h,getKey:b,setKey:j,getIsInitial:P,addOptionsGetter:O}}),[l,_,h,b,j,P,O]),w=i.getComponent?i.getComponent():i.component;return(0,o.jsx)(r.default.Provider,{value:M,children:(0,o.jsx)(n.default,{children:(0,o.jsx)(u.default,{name:i.name,render:w||i.children,navigation:f,route:c,children:void 0!==w?(0,o.jsx)(w,{navigation:f,route:c}):void 0!==i.children?i.children({navigation:f,route:c}):null})})})};var 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=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=u?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),u=e(_r(d[4])),a=e(_r(d[5])),o=_r(d[6]);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}}),562,[1,153,507,513,563,518,194]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var i=u?Object.getOwnPropertyDescriptor(e,f):null;i&&(i.get||i.set)?Object.defineProperty(o,f,i):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}_e.default=e.memo((function(e){return e.children}),(function(e,t){var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o of r)if('children'!==o&&e[o]!==t[o])return!1;return!0}))}),563,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.state,c=e.getState,a=e.navigation,f=e.setOptions,s=e.router,l=e.emitter,y=(r.useContext(u.default).stackRef,r.useMemo((function(){return{current:{}}}),[c,a,f,s,l])),p=Object.assign({},s.actionCreators,_r(d[5]).CommonActions);return y.current=i.routes.reduce((function(e,r){var u=y.current[r.key];if(u)e[r.key]=u;else{a.emit;var i=(0,n.default)(a,o),s=function(e){var t='function'==typeof e?e(c()):e;null!=t&&a.dispatch(Object.assign({source:r.key},t))},O=function(e){try{e()}finally{}},v=Object.keys(p).reduce((function(e,t){return e[t]=function(){for(var e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:new Set,r=u();if(t.has(r.key))return!1;if(t.add(r.key),'string'!=typeof e.target||e.target===r.key){var l=o.getStateForAction(r,e,_.current);if(null!==(l=null===l&&e.target===r.key?r:l)){if(O(e,r===l),r!==l){if((0,n.shouldPreventRemove)(s,c,r.routes,l.routes,e))return!0;i(l)}if(void 0!==y)o.shouldActionChangeFocus(e)&&void 0!==f&&y(f);return!0}}if(void 0!==p&&p(e,t))return!0;for(var v=a.length-1;v>=0;v--){if((0,a[v])(e,t))return!0}return!1}),[a,c,s,u,f,p,O,y,o,i]);return(0,n.default)({getState:u,emitter:s,beforeRemoveListeners:c}),t.useEffect((function(){return null==b?void 0:b('action',h)}),[b,h]),h};var t=u(_r(d[1])),r=e(_r(d[2])),n=u(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var f=u?Object.getOwnPropertyDescriptor(e,i):null;f&&(f.get||f.set)?Object.defineProperty(n,i,f):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}}),568,[1,153,509,569]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=e.getState,o=e.emitter,f=e.beforeRemoveListeners,i=r.useContext(n.default).addKeyedListener,l=r.useContext(u.default),c=null==l?void 0:l.key;r.useEffect((function(){if(c)return null==i?void 0:i('beforeRemove',c,(function(e){var r=t();return a(o,f,r.routes,[],e)}))}),[i,f,o,t,c])},_e.shouldPreventRemove=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=e(_r(d[3])),u=e(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var f=Symbol('VISITED_ROUTE_KEYS'),a=_e.shouldPreventRemove=function(e,r,n,u,o){var a,i=u.map((function(e){return e.key})),l=n.filter((function(e){return!i.includes(e.key)})).reverse(),c=null!=(a=o[f])?a:new Set,v=Object.assign({},o,(0,t.default)({},f,c));for(var s of l){var y;if(!c.has(s.key)){if(null==(y=r[s.key])?void 0:y.call(r,v))return!0;if(c.add(s.key),e.emit({type:'beforeRemove',target:s.key,data:{action:v},canPreventDefault:!0}).defaultPrevented)return!0}}return!1}}),569,[1,170,153,509,512]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.getState,o=e.getStateListeners,f=t.useContext(n.default).addKeyedListener,l=t.useContext(u.default),i=l?l.key:'root',c=t.useCallback((function(){var e=a(),t=e.routes.map((function(e){var t,r=null==(t=o[e.key])?void 0:t.call(o);return e.state===r?e:Object.assign({},e,{state:r})}));return(0,r.default)(e.routes,t)?e:Object.assign({},e,{routes:t})}),[a,o]);t.useEffect((function(){return null==f?void 0:f('getState',i,c)}),[f,c,i])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var f=u?Object.getOwnPropertyDescriptor(e,o):null;f&&(f.get||f.set)?Object.defineProperty(n,o,f):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n})(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),u=e(_r(d[4]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}}),570,[1,153,557,509,512]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.router,o=e.getState,u=e.key,a=e.setState,f=t.useContext(r.default).onRouteFocus;return t.useCallback((function(e){var t=o(),r=n.getStateForRouteFocus(t,e);r!==t&&a(r),void 0!==f&&void 0!==u&&f(u)}),[o,f,n,a,u])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),571,[1,153,509]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=r.useState((function(){return(0,_r(d[3]).nanoid)()})),n=(0,t.default)(e,1)[0],a=r.useContext(_r(d[4]).SingleNavigatorContext);if(void 0===a)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 r.useEffect((function(){var e=a.register,t=a.unregister;return e(n),function(){return t(n)}}),[a,n]),n};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(a,i,u):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),572,[1,26,153,524,507]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useRef(null);null==e.current&&(e.current=(0,r.default)());return e.current};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,r&&r.set(e,u),u})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),573,[1,153,520]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=(0,n.default)(),f=r.useState((function(){return e(u.getState())})),a=(0,t.default)(f,2)[1],o=r.useRef(e);return r.useEffect((function(){o.current=e})),r.useEffect((function(){return u.addListener('state',(function(e){a(o.current(e.data.state))}))}),[u]),e(u.getState())};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=f?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=e(_r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),574,[1,26,153,554]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,o){var i=n.useState((function(){return(0,_r(d[7]).nanoid)()})),l=(0,t.default)(i,1)[0],c=(0,u.default)(),p=(0,a.default)().key,v=(0,f.default)().setPreventRemove;n.useEffect((function(){return v(l,p,e),function(){v(l,p,!1)}}),[v,l,p,e]);var s=(0,r.default)((function(t){e&&(t.preventDefault(),o({data:t.data}))}));n.useEffect((function(){return null==c?void 0:c.addListener('beforeRemove',s)}),[c,s])};var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(r,f,a):r[f]=e[f]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),u=e(_r(d[4])),f=e(_r(d[5])),a=e(_r(d[6]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}}),575,[1,26,153,550,554,576,577,524]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(null==e)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),576,[1,153,548]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),577,[1,153,512]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),n=e(_r(d[2])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}return a.default=e,n&&n.set(e,a),a})(_r(d[3])),r=e(_r(d[4])),l=e(_r(d[5])),i=e(_r(d[6])),u=e(_r(d[7])),o=e(_r(d[8])),f=e(_r(d[9])),c=e(_r(d[10])),s=_r(d[11]),v=["theme","linking","fallback","documentTitle","onReady"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}g.REACT_NAVIGATION_DEVTOOLS=new WeakMap;var O=a.forwardRef((function(e,p){var O=e.theme,S=void 0===O?l.default:O,b=e.linking,P=e.fallback,_=void 0===P?null:P,h=e.documentTitle,j=e.onReady,y=(0,n.default)(e,v),k=!!b&&!1!==b.enabled;null!=b&&b.config&&(0,_r(d[12]).validatePathConfig)(b.config);var A=a.useRef(null);(0,u.default)(A),(0,o.default)(A,h);var F=(0,f.default)(A,Object.assign({independent:y.independent,enabled:k,prefixes:[]},b)).getInitialState;a.useEffect((function(){A.current&&REACT_NAVIGATION_DEVTOOLS.set(A.current,{get linking(){var e,t,n,a;return Object.assign({},b,{enabled:k,prefixes:null!=(e=null==b?void 0:b.prefixes)?e:[],getStateFromPath:null!=(t=null==b?void 0:b.getStateFromPath)?t:_r(d[12]).getStateFromPath,getPathFromState:null!=(n=null==b?void 0:b.getPathFromState)?n:_r(d[12]).getPathFromState,getActionFromState:null!=(a=null==b?void 0:b.getActionFromState)?a:_r(d[12]).getActionFromState})}})}));var T=(0,c.default)(F),w=(0,t.default)(T,2),E=w[0],M=w[1];a.useImperativeHandle(p,(function(){return A.current}));var R=a.useMemo((function(){return{options:b}}),[b]),x=null!=y.initialState||!k||E,I=a.useRef(j);return a.useEffect((function(){I.current=j})),a.useEffect((function(){x&&(null==I.current||I.current())}),[x]),x?(0,s.jsx)(r.default.Provider,{value:R,children:(0,s.jsx)(i.default,{value:S,children:(0,s.jsx)(_r(d[12]).BaseNavigationContainer,Object.assign({},y,{initialState:null==y.initialState?M:y.initialState,ref:A}))})}):_}));_e.default=O}),578,[1,26,119,153,501,579,580,582,583,584,586,194,503]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={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)'}}}),579,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.value,u=e.children;return(0,r.jsx)(t.default.Provider,{value:n,children:u})};!(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}u.default=e,r&&r.set(e,u)})(_r(d[1]));var t=e(_r(d[2])),r=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),580,[1,153,581,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}var o=t.createContext(r.default);o.displayName='ThemeContext';_e.default=o}),581,[1,153,579]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){e.useEffect((function(){var e=r.BackHandler.addEventListener('hardwareBackPress',(function(){var e=t.current;return null!=e&&(!!e.canGoBack()&&(e.goBack(),!0))}));return function(){return e.remove()}}),[t])};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,n&&n.set(e,u),u})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),582,[153,2]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}),583,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,i){var o=i.independent,u=i.enabled,a=void 0===u||u,c=i.prefixes,f=i.filter,s=i.config,l=i.getInitialURL,v=void 0===l?function(){return Promise.race([n.Linking.getInitialURL(),new Promise((function(e){return setTimeout(e,150)}))])}:l,p=i.subscribe,h=void 0===p?function(e){var t,r=function(t){var n=t.url;return e(n)},i=n.Linking.addEventListener('url',r),o=null==(t=n.Linking.removeEventListener)?void 0:t.bind(n.Linking);return function(){null!=i&&i.remove?i.remove():null==o||o('url',r)}}:p,y=i.getStateFromPath,b=void 0===y?_r(d[4]).getStateFromPath:y,k=i.getActionFromState,R=void 0===k?_r(d[4]).getActionFromState:k;t.useEffect((function(){}),[a,o]);var P=t.useRef(a),w=t.useRef(c),_=t.useRef(f),L=t.useRef(s),O=t.useRef(v),j=t.useRef(b),S=t.useRef(R);t.useEffect((function(){P.current=a,w.current=c,_.current=f,L.current=s,O.current=v,j.current=b,S.current=R}));var E=t.useCallback((function(e){if(e&&(!_.current||_.current(e))){var t=(0,r.default)(w.current,e);return void 0!==t?j.current(t,L.current):void 0}}),[]),M=t.useCallback((function(){var e;if(P.current){var t=O.current();if(null!=t&&'string'!=typeof t)return t.then((function(e){return E(e)}));e=E(t)}var n={then:function(t){return Promise.resolve(t?t(e):e)},catch:function(){return n}};return n}),[E]);return t.useEffect((function(){return h((function(t){if(a){var n=e.current,r=n?E(t):void 0;if(n&&r){var i=n.getRootState();if(r.routes.some((function(e){return!(null!=i&&i.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=S.current(r,L.current);if(void 0!==o)try{n.dispatch(o)}catch(e){console.warn(`An error occurred when trying to handle the link '${t}': ${'object'==typeof e&&null!=e&&'message'in e?e.message:e}`)}else n.resetRoot(r)}}}))}),[a,E,e,h]),{getInitialState:M}};var 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=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=_r(d[2]),r=e(_r(d[3]));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}}),584,[1,153,2,585,503]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){for(var c of t){var f,p,o=null!=(f=null==(p=c.match(/^[^:]+:/))?void 0:p[0])?f:'',v=c.replace(new RegExp(`^${(0,n.default)(o)}`),'').replace(/\/+/g,'/').replace(/^\//,''),s=new RegExp(`^${(0,n.default)(o)}(/)*${v.split('.').map((function(t){return'*'===t?'[^/]+':(0,n.default)(t)})).join('\\.')}`),$=u.split('?'),_=(0,l.default)($,2),j=_[0],w=_[1],x=j.replace(/\/+/g,'/').concat(w?`?${w}`:'');if(s.test(x))return x.replace(s,'')}return};var l=t(r(d[1])),n=t(r(d[2]))}),585,[1,26,546]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=n.useState(e),f=(0,r.default)(u,1)[0],a=[!1,void 0];f.then((function(e){a=[!0,e]}));var o=n.useState(a),i=(0,r.default)(o,2),l=i[0],c=i[1],p=(0,r.default)(l,1)[0];return n.useEffect((function(){var e=!1,r=(function(){var r=(0,t.default)((function*(){var t;try{t=yield f}finally{e||c([!0,t])}}));return function(){return r.apply(this,arguments)}})();return p||r(),function(){e=!0}}),[f,p]),l};var t=e(_r(d[1])),r=e(_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 r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=f?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),586,[1,339,26,153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var r=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var i=u?Object.getOwnPropertyDescriptor(e,f):null;i&&(i.get||i.set)?Object.defineProperty(n,f,i):n[f]=e[f]}return n.default=e,t&&t.set(e,n),n})(_r(d[1])),t=e(_r(d[2])),n=_r(d[3]);function o(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(o=function(e){return e?t:r})(e)}_e.default=r.forwardRef((function(e,o){var u=e.children,f=e.location;r.useEffect((function(){console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.")}),[]);var i={};if(o){var a={getCurrentOptions:function(){return i.options}};'function'==typeof o?o(a):o.current=a}return(0,n.jsx)(t.default.Provider,{value:{location:f},children:(0,n.jsx)(_r(d[4]).CurrentRenderContext.Provider,{value:i,children:u})})}))}),587,[1,153,588,194,503]); -__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),588,[153]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={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)'}}}),589,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){return t.useContext(r.default)};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,r&&r.set(e,u),u})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),590,[1,153,581]); -__d((function(g,r,i,a,m,e,d){}),591,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(_r(d[3]).NavigationHelpersContext),n=t.useContext(r.default);return t.useCallback((function(t,r){var o=n.options;if(!1!==(null==o?void 0:o.enabled)){var u=e?a(e,{index:0,routes:[{name:t,params:r}]}):{index:0,routes:[{name:t,params:r}]};return null!=o&&o.getPathFromState?o.getPathFromState(u,null==o?void 0:o.config):(0,_r(d[3]).getPathFromState)(u,null==o?void 0:o.config)}}),[n,e])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(a,u,i):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}var a=function e(t,r){var n=t.getParent();if(n){var a=n.getState();return e(n,{index:0,routes:[Object.assign({},a.routes[a.index],{state:r})]})}return r}}),592,[1,153,501,503]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r){var n=(0,_r(d[1]).useNavigation)(),o=(0,_r(d[1]).useRoute)();e.useEffect((function(){for(var e=[],u=n;u;)'tab'===u.getState().type&&e.push(u),u=u.getParent();if(0!==e.length){var l=e.map((function(u){return u.addListener('tabPress',(function(u){var l=n.isFocused(),c=e.includes(n)||n.getState().routes[0].key===o.key;requestAnimationFrame((function(){var e=t(r);l&&c&&e&&!u.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()}))}}}),[n,r,o.key])};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 o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=u?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(o,l,c):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));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)}function t(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}}),593,[153,503]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;e(_r(d[1])),(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}o.default=e,r&&r.set(e,o)})(_r(d[2]));var t=_r(d[3]),r=(e(_r(d[4])),_r(d[5]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}_e.default=function(e){return(0,r.jsx)(t.View,Object.assign({},e,{collapsable:!1}))}}),594,[1,119,153,2,155,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n,o,i,c=e.headerBackImageSource,u=e.headerBackButtonMenuEnabled,h=e.headerBackTitle,s=e.headerBackTitleStyle,f=e.headerBackTitleVisible,S=void 0===f||f,y=e.headerBackVisible,k=e.headerShadowVisible,p=e.headerLargeStyle,T=e.headerLargeTitle,b=e.headerLargeTitleShadowVisible,B=e.headerLargeTitleStyle,w=e.headerBackground,j=e.headerLeft,F=e.headerRight,v=e.headerShown,C=e.headerStyle,x=e.headerBlurEffect,O=e.headerTintColor,P=e.headerTitle,V=e.headerTitleAlign,H=e.headerTitleStyle,_=e.headerTransparent,I=e.headerSearchBarOptions,L=e.headerTopInsetEnabled,M=e.route,W=e.title,z=e.canGoBack,E=(0,_r(d[5]).useTheme)().colors,A=null!=O?O:'ios'===l.Platform.OS?E.primary:E.text,D=l.StyleSheet.flatten(s)||{},G=l.StyleSheet.flatten(B)||{},R=l.StyleSheet.flatten(H)||{},N=l.StyleSheet.flatten(C)||{},q=l.StyleSheet.flatten(p)||{},J=(0,_r(d[6]).processFonts)([D.fontFamily,G.fontFamily,R.fontFamily]),K=(0,t.default)(J,3),Q=K[0],U=K[1],X=K[2],Y=(0,_r(d[7]).getHeaderTitle)({title:W,headerTitle:P},M.name),Z=null!=(n=null!=(o=R.color)?o:O)?n:E.text,$=R.fontSize,ee=R.fontWeight,te={color:Z};null!=R.fontFamily&&(te.fontFamily=R.fontFamily);null!=$&&(te.fontSize=$);null!=ee&&(te.fontWeight=ee);var le=null==j?void 0:j({tintColor:A,canGoBack:z,label:h}),re=null==F?void 0:F({tintColor:A,canGoBack:z}),ne='function'==typeof P?P({tintColor:A,children:Y}):null,ae='boolean'==typeof _r(d[8]).isSearchBarAvailableForCurrentPlatform?_r(d[8]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=_r(d[8]).SearchBar,oe=ae&&null!=I;if(null!=I&&!ae)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var ie=y?null!=le:'android'===l.Platform.OS&&null!=ne,ce=null!=w||_||(oe||T)&&'ios'===l.Platform.OS&&!1!==_;return(0,r.jsxs)(_r(d[8]).ScreenStackHeaderConfig,{backButtonInCustomView:ie,backgroundColor:null!=(i=N.backgroundColor)?i:null!=w||_?'transparent':E.card,backTitle:_r(d[8]).isNewBackTitleImplementation||S?h:' ',backTitleVisible:S,backTitleFontFamily:Q,backTitleFontSize:D.fontSize,blurEffect:x,color:A,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===u,hidden:!1===v,hideBackButton:!1===y,hideShadow:!1===k||null!=w||_&&!0!==k,largeTitle:T,largeTitleBackgroundColor:q.backgroundColor,largeTitleColor:G.color,largeTitleFontFamily:U,largeTitleFontSize:G.fontSize,largeTitleFontWeight:G.fontWeight,largeTitleHideShadow:!1===b,title:Y,titleColor:Z,titleFontFamily:X,titleFontSize:$,titleFontWeight:ee,topInsetEnabled:L,translucent:!0===ce,children:['ios'===l.Platform.OS?(0,r.jsxs)(r.Fragment,{children:[null!=le?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:le}):null,null!=ne?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:ne}):null]}):(0,r.jsxs)(r.Fragment,{children:[null!=le||'function'==typeof P?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:(0,r.jsxs)(l.View,{style:a.row,children:[le,'center'!==V?'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y}):null]})}):null,'center'===V?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y})}):null]}),void 0!==c?(0,r.jsx)(_r(d[8]).ScreenStackHeaderBackButtonImage,{source:c}):null,null!=re?(0,r.jsx)(_r(d[8]).ScreenStackHeaderRightView,{children:re}):null,oe?(0,r.jsx)(_r(d[8]).ScreenStackHeaderSearchBarView,{children:(0,r.jsx)(_r(d[8]).SearchBar,Object.assign({},I))}):null]})};var t=e(_r(d[1])),l=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var l=n(t);if(l&&l.has(e))return l.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,l&&l.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(n=function(e){return e?l:t})(e)}var a=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'}})}),595,[1,26,153,2,194,498,596,597,629]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(n){var t,u=null==(t=o.default.fontFamily)?void 0:t.process;if('function'==typeof u)return n.map(u);return n};var o=n(r(d[1]))}),596,[1,162]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Assets:!0,Background:!0,getDefaultHeaderHeight:!0,getHeaderTitle:!0,Header:!0,HeaderBackButton:!0,HeaderBackContext:!0,HeaderBackground:!0,HeaderHeightContext:!0,HeaderShownContext:!0,HeaderTitle:!0,useHeaderHeight:!0,MissingIcon:!0,PlatformPressable:!0,ResourceSavingView:!0,SafeAreaProviderCompat:!0,Screen:!0};e.Assets=void 0,Object.defineProperty(e,"Background",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"HeaderBackButton",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"HeaderBackContext",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"HeaderBackground",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"HeaderHeightContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"HeaderShownContext",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"HeaderTitle",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"MissingIcon",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"PlatformPressable",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"ResourceSavingView",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"SafeAreaProviderCompat",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"Screen",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"getDefaultHeaderHeight",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getHeaderTitle",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useHeaderHeight",{enumerable:!0,get:function(){return y.default}});var u=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),H=t(r(d[7])),s=t(r(d[8])),P=t(r(d[9])),p=t(r(d[10])),y=t(r(d[11])),O=t(r(d[12])),j=t(r(d[13])),h=t(r(d[14])),B=t(r(d[15])),k=t(r(d[16]));Object.keys(r(d[17])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[17])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[17])[t]}}))}));e.Assets=[r(d[18]),r(d[19])]}),597,[1,598,599,600,601,615,621,602,622,603,605,623,624,618,625,626,627,628,619,620]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.style,a=(0,t.default)(e,o),f=(0,_r(d[5]).useTheme)().colors;return(0,n.jsx)(r.View,Object.assign({},a,{style:[{flex:1,backgroundColor:f.background},u]}))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(n,a,f):n[a]=e[a]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),n=_r(d[4]),o=["style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),598,[1,119,153,2,194,498]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,f,l){var n,u=o.width>o.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])}),599,[2]); -__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}}),600,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var b=(0,_r(d[9]).useSafeAreaInsets)(),f=(0,_r(d[9]).useSafeAreaFrame)(),p=r.useContext(n.default),c='ios'===o.Platform.OS&&b.top>50?b.top-5:b.top,y=e.layout,R=void 0===y?f:y,C=e.modal,S=void 0!==C&&C,w=e.title,x=e.headerTitle,v=e.headerTitleAlign,W=void 0===v?o.Platform.select({ios:'center',default:'left'}):v,T=e.headerLeft,B=e.headerLeftLabelVisible,j=e.headerTransparent,O=e.headerTintColor,E=e.headerBackground,L=e.headerRight,P=e.headerTitleAllowFontScaling,V=e.headerTitleStyle,_=e.headerLeftContainerStyle,A=e.headerRightContainerStyle,k=e.headerTitleContainerStyle,H=e.headerBackgroundContainerStyle,M=e.headerStyle,F=e.headerShadowVisible,I=e.headerPressColor,D=e.headerPressOpacity,z=e.headerStatusBarHeight,G=void 0===z?p?0:c:z,q=(0,i.default)(R,S,G),J=o.StyleSheet.flatten(M||{}),K=J.height,N=void 0===K?q:K,Q=J.minHeight,U=J.maxHeight,X=J.backgroundColor,Y=J.borderBottomColor,Z=J.borderBottomEndRadius,$=J.borderBottomLeftRadius,ee=J.borderBottomRightRadius,te=J.borderBottomStartRadius,re=J.borderBottomWidth,oe=J.borderColor,de=J.borderEndColor,ie=J.borderEndWidth,ae=J.borderLeftColor,ne=J.borderLeftWidth,le=J.borderRadius,se=J.borderRightColor,he=J.borderRightWidth,be=J.borderStartColor,ue=J.borderStartWidth,fe=J.borderStyle,pe=J.borderTopColor,ce=J.borderTopEndRadius,ge=J.borderTopLeftRadius,ye=J.borderTopRightRadius,me=J.borderTopStartRadius,Re=J.borderTopWidth,Ce=J.borderWidth,Se=J.boxShadow,we=J.elevation,xe=J.shadowColor,ve=J.shadowOffset,We=J.shadowOpacity,Te=J.shadowRadius,Be=J.opacity,je=J.transform,Oe=((0,t.default)(J,h),{backgroundColor:X,borderBottomColor:Y,borderBottomEndRadius:Z,borderBottomLeftRadius:$,borderBottomRightRadius:ee,borderBottomStartRadius:te,borderBottomWidth:re,borderColor:oe,borderEndColor:de,borderEndWidth:ie,borderLeftColor:ae,borderLeftWidth:ne,borderRadius:le,borderRightColor:se,borderRightWidth:he,borderStartColor:be,borderStartWidth:ue,borderStyle:fe,borderTopColor:pe,borderTopEndRadius:ce,borderTopLeftRadius:ge,borderTopRightRadius:ye,borderTopStartRadius:me,borderTopWidth:Re,borderWidth:Ce,boxShadow:Se,elevation:we,shadowColor:xe,shadowOffset:ve,shadowOpacity:We,shadowRadius:Te,opacity:Be,transform:je});for(var Ee in Oe)void 0===Oe[Ee]&&delete Oe[Ee];var Le=[Oe,!1===F&&{elevation:0,shadowOpacity:0,borderBottomWidth:0}],Pe=T?T({tintColor:O,pressColor:I,pressOpacity:D,labelVisible:B}):null,Ve=L?L({tintColor:O,pressColor:I,pressOpacity:D}):null,Ae='function'!=typeof x?function(e){return(0,s.jsx)(l.default,Object.assign({},e))}:x;return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[o.StyleSheet.absoluteFill,{zIndex:0},H],children:E?E({style:Le}):j?null:(0,s.jsx)(a.default,{style:Le})}),(0,s.jsxs)(o.Animated.View,{pointerEvents:"box-none",style:[{height:N,minHeight:Q,maxHeight:U,opacity:Be,transform:je}],children:[(0,s.jsx)(o.View,{pointerEvents:"none",style:{height:G}}),(0,s.jsxs)(o.View,{pointerEvents:"box-none",style:u.content,children:[(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.left,'center'===W&&u.expand,{marginStart:b.left},_],children:Pe}),(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.title,{maxWidth:'center'===W?R.width-2*((Pe?!1!==B?80:32:16)+Math.max(b.left,b.right)):R.width-((Pe?72:16)+(Ve?72:16)+b.left-b.right)},k],children:Ae({children:w,allowFontScaling:P,tintColor:O,style:V})}),(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.right,u.expand,{marginEnd:b.right},A],children:Ve})]})]})]})};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var n=i?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(o,a,n):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[2])),o=_r(d[3]),i=e(_r(d[4])),a=e(_r(d[5])),n=e(_r(d[6])),l=e(_r(d[7])),s=_r(d[8]),h=["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 b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}var u=o.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}})}),601,[1,119,153,2,599,602,603,605,194,606]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.style,l=(0,t.default)(e,n),u=(0,_r(d[5]).useTheme)().colors;return(0,o.jsx)(r.Animated.View,Object.assign({style:[i.container,{backgroundColor:u.card,borderBottomColor:u.border,shadowColor:u.border},a]},l))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,r&&r.set(e,o)})(_r(d[2])),_r(d[3])),o=_r(d[4]),n=["style"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var i=r.StyleSheet.create({container:Object.assign({flex:1},r.Platform.select({android:{elevation:4},ios:{shadowOpacity:.85,shadowRadius:0,shadowOffset:{width:0,height:r.StyleSheet.hairlineWidth}},default:{borderBottomWidth:r.StyleSheet.hairlineWidth}}))})}),602,[1,119,153,2,194,498]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderShownContext',!1);e.default=o}),603,[1,604]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,r){var a=g[n].get(e);if(a)return a;return(a=t.createContext(r)).displayName=e,g[n].set(e,a),a};var e,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=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=o?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=e[u]}return a.default=e,n&&n.set(e,a),a})(_r(d[0]));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)}var n='__react_navigation__elements_contexts';g[n]=null!=(e=g[n])?e:new Map}),604,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.tintColor,l=e.style,f=(0,t.default)(e,o),u=(0,_r(d[5]).useTheme)().colors;return(0,n.jsx)(r.Animated.Text,Object.assign({accessibilityRole:"header","aria-level":"1",numberOfLines:1},f,{style:[a.title,{color:void 0===i?u.text:i},l]}))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),n=_r(d[4]),o=["tintColor","style"];function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var a=r.StyleSheet.create({title:r.Platform.select({ios:{fontSize:17,fontWeight:'600'},android:{fontSize:20,fontFamily:'sans-serif-medium',fontWeight:'normal'},default:{fontSize:18,fontWeight:'500'}})})}),605,[1,119,153,2,194,498]); -__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]}}))}))}),606,[607,610,612,614]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SafeAreaInsetsContext=_e.SafeAreaFrameContext=_e.SafeAreaContext=_e.SafeAreaConsumer=void 0,_e.SafeAreaProvider=function(e){var u,c,v,h,p,S=e.children,x=e.initialMetrics,w=e.initialSafeAreaInsets,y=e.style,A=(0,r.default)(e,o),C=n.useContext(l),b=n.useContext(f),j=n.useState(null!=(u=null!=(c=null!=(v=null==x?void 0:x.insets)?v:w)?c:C)?u:null),O=(0,t.default)(j,2),P=O[0],_=O[1],M=n.useState(null!=(h=null!=(p=null==x?void 0:x.frame)?p:b)?h:{x:0,y:0,width:a.Dimensions.get('window').width,height:a.Dimensions.get('window').height}),I=(0,t.default)(M,2),k=I[0],D=I[1],E=n.useCallback((function(e){var t=e.nativeEvent,r=t.frame,n=t.insets;D((function(e){return!r||r.height===e.height&&r.width===e.width&&r.x===e.x&&r.y===e.y?e:r})),_((function(e){return e&&n.bottom===e.bottom&&n.left===e.left&&n.right===e.right&&n.top===e.top?e:n}))}),[]);return(0,i.jsx)(_r(d[6]).NativeSafeAreaProvider,Object.assign({style:[s.fill,y],onInsetsChange:E},A,{children:null!=P?(0,i.jsx)(f.Provider,{value:k,children:(0,i.jsx)(l.Provider,{value:P,children:S})}):null}))},_e.useSafeArea=function(){return v()},_e.useSafeAreaFrame=function(){var e=n.useContext(f);if(null==e)throw new Error(c);return e},_e.useSafeAreaInsets=v,_e.withSafeAreaInsets=function(e){return n.forwardRef((function(t,r){var n=v();return(0,i.jsx)(e,Object.assign({},t,{insets:n,ref:r}))}))};var t=e(_r(d[1])),r=e(_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 r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),a=_r(d[4]),i=_r(d[5]),o=["children","initialMetrics","initialSafeAreaInsets","style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=_e.SafeAreaInsetsContext=n.createContext(null),f=_e.SafeAreaFrameContext=n.createContext(null);var s=a.StyleSheet.create({fill:{flex:1}});var c='No safe area value available. Make sure you are rendering `` at the top of your app.';function v(){var e=n.useContext(l);if(null==e)throw new Error(c);return e}_e.SafeAreaConsumer=l.Consumer,_e.SafeAreaContext=l}),607,[1,26,119,153,2,194,608]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeSafeAreaProvider",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))}),608,[1,609]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;n(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNCSafeAreaProvider',directEventTypes:{topPaperInsetsChange:{registrationName:'onInsetsChange'}},validAttributes:Object.assign({},r(d[2]).ConditionallyIgnoredEventHandlers({onInsetsChange:!0}))};e.default=r(d[3]).get('RNCSafeAreaProvider',(function(){return t}))}),609,[1,206,190,160]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SafeAreaView=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=r,o=e(_r(d[3])),f=_r(d[4]),a=["edges"];function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u={top:'additive',left:'additive',bottom:'additive',right:'additive'};_e.SafeAreaView=n.forwardRef((function(e,n){var i=e.edges,l=(0,t.default)(e,a),c=(0,r.useMemo)((function(){var e,t,r,n;if(null==i)return u;var o=Array.isArray(i)?i.reduce((function(e,t){return e[t]='additive',e}),{}):i;return{top:null!=(e=o.top)?e:'off',right:null!=(t=o.right)?t:'off',bottom:null!=(r=o.bottom)?r:'off',left:null!=(n=o.left)?n:'off'}}),[i]);return(0,f.jsx)(o.default,Object.assign({},l,{edges:c,ref:n}))}))}),610,[1,119,153,611,194]); -__d((function(g,r,i,a,m,e,d){var _=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;_(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNCSafeAreaView',validAttributes:{mode:!0,edges:!0}};e.default=r(d[2]).get('RNCSafeAreaView',(function(){return t}))}),611,[1,206,160]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var t,l,s=n(r(d[1])),o=e.initialWindowMetrics=null!=(t=null==s.default||null==s.default.getConstants||null==(l=s.default.getConstants())?void 0:l.initialWindowMetrics)?t:null;e.initialWindowSafeAreaInsets=null==o?void 0:o.insets}),612,[1,613]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);e.default=t.TurboModuleRegistry.get('RNCSafeAreaContext')}),613,[2]); -__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})}),614,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var l=e.disabled,u=e.allowFontScaling,f=e.backImage,b=e.label,y=e.labelStyle,h=e.labelVisible,p=void 0===h?'ios'===n.Platform.OS:h,v=e.onLabelLayout,w=e.onPress,j=e.pressColor,x=e.pressOpacity,M=e.screenLayout,O=e.tintColor,P=e.titleLayout,k=e.truncatedLabel,L=void 0===k?'Back':k,S=e.accessibilityLabel,C=void 0===S?b&&'Back'!==b?`${b}, back`:'Go back':S,_=e.testID,I=e.style,W=(0,_r(d[7]).useTheme)().colors,D=i.useState(void 0),R=(0,t.default)(D,2),V=R[0],F=R[1],z=void 0!==O?O:n.Platform.select({ios:W.primary,default:W.text}),T=function(e){null==v||v(e),F(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return(0,o.jsx)(r.default,{disabled:l,accessible:!0,accessibilityRole:"button",accessibilityLabel:C,testID:_,onPress:l?void 0:function(){return w&&requestAnimationFrame(w)},pressColor:j,pressOpacity:x,android_ripple:s,style:[c.container,l&&c.disabled,I],hitSlop:n.Platform.select({ios:void 0,default:{top:16,right:16,bottom:16,left:16}}),children:(0,o.jsxs)(i.Fragment,{children:[f?f({tintColor:z}):(0,o.jsx)(n.Image,{style:[c.icon,Boolean(p)&&c.iconWithLabel,Boolean(z)&&{tintColor:z}],source:_r(d[8]),fadeDuration:0}),(function(){var e=!b||V&&P&&M&&(M.width-P.width)/2=23,radius:20},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}]}})}),615,[1,26,153,2,616,618,194,498,619,620]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))}),616,[1,617]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.children,f=(0,r.default)(e,u);if(o&&t)return(0,a.jsx)(t,Object.assign({},f,{children:n}));return n};var t,r=e(_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 r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var o=a?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),a=_r(d[4]),u=["children"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}try{t=_r(d[5]).default}catch(e){}var o=null!=n.UIManager.getViewManagerConfig('RNCMaskedView')}),617,[1,119,153,2,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var s=e.onPressIn,f=e.onPressOut,p=e.android_ripple,c=e.pressColor,O=e.pressOpacity,y=void 0===O?.3:O,v=e.style,P=(0,r.default)(e,i),_=(0,_r(d[6]).useTheme)().dark,b=n.useState((function(){return new o.Animated.Value(1)})),j=(0,t.default)(b,1)[0],w=function(e,t){l||o.Animated.timing(j,{toValue:e,duration:t,easing:o.Easing.inOut(o.Easing.quad),useNativeDriver:!0}).start()};return(0,a.jsx)(u,Object.assign({onPressIn:function(e){w(y,0),null==s||s(e)},onPressOut:function(e){w(1,200),null==f||f(e)},android_ripple:l?Object.assign({color:void 0!==c?c:_?'rgba(255, 255, 255, .32)':'rgba(0, 0, 0, .32)'},p):void 0,style:[{opacity:l?1:j},v]},P))};var t=e(_r(d[1])),r=e(_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 r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),o=_r(d[4]),a=_r(d[5]),i=["onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","style"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}var u=o.Animated.createAnimatedComponent(o.Pressable),l='android'===o.Platform.OS&&o.Platform.Version>=21}),618,[1,26,119,153,2,194,498]); -__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:24,height:24,scales:[1,1.5,2,3,4],hash:"a364dc7a784101f7c8f6791c7b4514ce",name:"back-icon",type:"png"})}),619,[469]); -__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"})}),620,[469]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderBackContext',void 0);e.default=o}),621,[1,604]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderHeightContext',void 0);e.default=o}),622,[1,604]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(o,u,i):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),623,[1,153,622]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r){var o=r.color,a=r.size,u=r.style;return(0,t.jsx)(e.Text,{style:[n.icon,{color:o,fontSize:a},u],children:"\u23f7"})};!(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 o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=a?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,n&&n.set(e,o)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);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)}var n=e.StyleSheet.create({icon:{backgroundColor:'transparent'}})}),624,[153,2,194]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.visible,l=e.children,c=e.style,f=(0,t.default)(e,o);if('web'===n.Platform.OS)return(0,r.jsx)(n.View,Object.assign({hidden:!a,style:[{display:a?'flex':'none'},i.container,c],pointerEvents:a?'auto':'none'},f,{children:l}));return(0,r.jsx)(n.View,{style:[i.container,c],pointerEvents:a?'auto':'none',children:(0,r.jsx)(n.View,{collapsable:!1,removeClippedSubviews:'ios'!==n.Platform.OS&&'macos'!==n.Platform.OS||!a,pointerEvents:a?'auto':'none',style:a?i.attached:i.detached,children:l})})};var t=e(_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=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]),o=["visible","children","style"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var i=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e4}})}),625,[1,119,153,2,194]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=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=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=e[a]}i.default=e,n&&n.set(e,i)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);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)}var n=e.Dimensions.get('window'),i=n.width,o=void 0===i?0:i,a=n.height,l=void 0===a?0:a,f='web'===e.Platform.OS||null==_r(d[3]).initialWindowMetrics?{frame:{x:0,y:0,width:o,height:l},insets:{top:0,left:0,right:0,bottom:0}}:_r(d[3]).initialWindowMetrics;function c(r){var n=r.children,i=r.style;return(0,t.jsx)(_r(d[3]).SafeAreaInsetsContext.Consumer,{children:function(r){return r?(0,t.jsx)(e.View,{style:[u.container,i],children:n}):(0,t.jsx)(_r(d[3]).SafeAreaProvider,{initialMetrics:f,style:i,children:n})}})}c.initialMetrics=f;var u=e.StyleSheet.create({container:{flex:1}})}),626,[153,2,194,606]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var s=(0,_r(d[9]).useSafeAreaFrame)(),f=(0,_r(d[9]).useSafeAreaInsets)(),v=n.useContext(l.default),p=n.useContext(i.default),h=e.focused,y=e.modal,j=void 0!==y&&y,x=e.header,b=e.headerShown,P=void 0===b||b,_=e.headerTransparent,O=e.headerStatusBarHeight,w=void 0===O?v?0:f.top:O,S=e.navigation,M=e.route,C=e.children,k=e.style,A=n.useState((function(){return(0,o.default)(s,j,w)})),D=(0,t.default)(A,2),W=D[0],E=D[1];return(0,u.jsxs)(a.default,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[c.container,k],children:[(0,u.jsx)(r.View,{style:c.content,children:(0,u.jsx)(l.default.Provider,{value:v||!1!==P,children:(0,u.jsx)(i.default.Provider,{value:P?W:null!=p?p:0,children:C})})}),P?(0,u.jsx)(_r(d[10]).NavigationContext.Provider,{value:S,children:(0,u.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:M,children:(0,u.jsx)(r.View,{onLayout:function(e){var t=e.nativeEvent.layout.height;E(t)},style:_?c.absolute:null,children:x})})}):null]})};var t=e(_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=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=_r(d[3]),a=e(_r(d[4])),o=e(_r(d[5])),i=e(_r(d[6])),l=e(_r(d[7])),u=_r(d[8]);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=r.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},content:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0}})}),627,[1,26,153,2,598,599,622,603,194,606,498]); -__d((function(g,r,i,a,m,e,d){}),628,[]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),a=e(_r(d[4])),i=e(_r(d[5])),o=e(_r(d[6])),c=e(_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=w(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[8])),s=_r(d[9]),u=e(_r(d[10])),v=e(_r(d[11])),f=_r(d[12]),h=["children"],S=["enabled","freezeOnBlur"],p=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],b=["active","activityState","style","onComponentRef"],y=["enabled","hasTwoStates"];function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e){var t=N();return function(){var n,r=(0,i.default)(e);if(t){var o=(0,i.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}function N(){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 k='ios'===s.Platform.OS||'android'===s.Platform.OS||'windows'===s.Platform.OS,j=k;var O=!1;var x,B,R,P,A,H,W,F,M,V;var _={get NativeScreen(){return x=x||_r(d[14]).default},get NativeScreenContainer(){return B=B||_r(d[15]).default},get NativeScreenNavigationContainer(){return R=R||('ios'===s.Platform.OS?_r(d[16]).default:this.NativeScreenContainer)},get NativeScreenStack(){return P=P||_r(d[17]).default},get NativeScreenStackHeaderConfig(){return A=A||_r(d[18]).default},get NativeScreenStackHeaderSubview(){return H=H||_r(d[19]).default},get NativeSearchBar(){return F=F||_r(d[20]).default},get NativeSearchBarCommands(){return M=M||_r(d[20]).Commands},get NativeFullWindowOverlay(){return V=V||_r(d[21]).default}};function D(e){var t=e.freeze,n=e.children,r=l.default.useState(!1),a=(0,c.default)(r,2),i=a[0],o=a[1];return(0,l.useEffect)((function(){var e=setImmediate((function(){o(t)}));return function(){clearImmediate(e)}}),[t]),(0,f.jsx)(_r(d[22]).Freeze,{freeze:!!t&&i,children:n})}var I=(function(e){(0,r.default)(i,e);var a=C(i);function i(){var e;(0,t.default)(this,i);for(var n=arguments.length,r=new Array(n),o=0;o1,children:e})}));return(0,f.jsx)(_.NativeScreenStack,Object.assign({},n,{children:a}))},InnerScreen:I,SearchBar:z,FullWindowOverlay:function(e){return'ios'!==s.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,f.jsx)(s.View,Object.assign({},e))):(0,f.jsx)(_.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return _.NativeScreen},get NativeScreenContainer(){return _.NativeScreenContainer},get NativeScreenNavigationContainer(){return _.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return _.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return _.NativeScreenStackHeaderSubview},get SearchBarCommands(){return _.NativeSearchBarCommands},ScreenStackHeaderBackButtonImage:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,{type:"back",style:T.headerSubview,children:(0,f.jsx)(s.Image,Object.assign({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"right",style:T.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"left",style:T.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"center",style:T.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"searchBar",style:T.headerSubview}))},enableScreens:function(){(j=k&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))&&!s.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[13]).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:v.default,isSearchBarAvailableForCurrentPlatform:_r(d[23]).isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:_r(d[23]).isNewBackTitleImplementation,executeNativeBackPress:_r(d[23]).executeNativeBackPress}}),629,[1,5,6,13,15,12,119,26,153,2,630,631,194,632,633,634,635,636,637,638,639,640,641,642]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}_e.default=e.createContext(void 0)}),630,[153]); -__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),631,[1,153,630]); -__d((function(e,s,t,r,i,a,c){i.exports={name:"react-native",version:"0.73.6",description:"A framework for building native apps using React",license:"MIT",repository:{type:"git",url:"https://github.com/facebook/react-native.git",directory:"packages/react-native"},homepage:"https://reactnative.dev/",keywords:["react","react-native","android","ios","mobile","cross-platform","app-framework","mobile-development"],bugs:"https://github.com/facebook/react-native/issues",engines:{node:">=18"},bin:"./cli.js",types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","gradle.properties","gradle/libs.versions.toml","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/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.6.3","@react-native-community/cli":"12.3.6","@react-native-community/cli-platform-android":"12.3.6","@react-native-community/cli-platform-ios":"12.3.6","@react-native/assets-registry":"0.73.1","@react-native/community-cli-plugin":"0.73.17","@react-native/codegen":"0.73.3","@react-native/gradle-plugin":"0.73.4","@react-native/js-polyfills":"0.73.1","@react-native/normalize-colors":"0.73.2","@react-native/virtualized-lists":"0.73.4","abort-controller":"^3.0.0",anser:"^1.4.9","ansi-regex":"^5.0.0","base64-js":"^1.5.1",chalk:"^4.0.0","deprecated-react-native-prop-types":"^5.0.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.6",invariant:"^2.2.4","jest-environment-node":"^29.6.3","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"^0.80.3","metro-source-map":"^0.80.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.7","react-refresh":"^0.14.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","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"}]}}}),632,[]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var s=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreen',bubblingEventTypes:{topAppear:{phasedRegistrationNames:{captured:'onAppearCapture',bubbled:'onAppear'}},topDisappear:{phasedRegistrationNames:{captured:'onDisappearCapture',bubbled:'onDisappear'}},topDismissed:{phasedRegistrationNames:{captured:'onDismissedCapture',bubbled:'onDismissed'}},topNativeDismissCancelled:{phasedRegistrationNames:{captured:'onNativeDismissCancelledCapture',bubbled:'onNativeDismissCancelled'}},topWillAppear:{phasedRegistrationNames:{captured:'onWillAppearCapture',bubbled:'onWillAppear'}},topWillDisappear:{phasedRegistrationNames:{captured:'onWillDisappearCapture',bubbled:'onWillDisappear'}},topHeaderHeightChange:{phasedRegistrationNames:{captured:'onHeaderHeightChangeCapture',bubbled:'onHeaderHeightChange'}},topTransitionProgress:{phasedRegistrationNames:{captured:'onTransitionProgressCapture',bubbled:'onTransitionProgress'}},topGestureCancel:{phasedRegistrationNames:{captured:'onGestureCancelCapture',bubbled:'onGestureCancel'}},topHeaderBackButtonClicked:{phasedRegistrationNames:{captured:'onHeaderBackButtonClickedCapture',bubbled:'onHeaderBackButtonClicked'}}},validAttributes:Object.assign({sheetAllowedDetents:!0,sheetLargestUndimmedDetent:!0,sheetGrabberVisible:!0,sheetCornerRadius:!0,sheetExpandsWhenScrolledToEdge:!0,customAnimationOnSwipe:!0,fullScreenSwipeEnabled:!0,homeIndicatorHidden:!0,preventNativeDismiss:!0,gestureEnabled:!0,statusBarColor:{process:r(d[2]).default},statusBarHidden:!0,screenOrientation:!0,statusBarAnimation:!0,statusBarStyle:!0,statusBarTranslucent:!0,gestureResponseDistance:!0,stackPresentation:!0,stackAnimation:!0,transitionDuration:!0,replaceAnimation:!0,swipeDirection:!0,hideKeyboardOnSwipe:!0,activityState:!0,navigationBarColor:{process:r(d[2]).default},navigationBarHidden:!0,nativeBackButtonDismissalEnabled:!0},r(d[3]).ConditionallyIgnoredEventHandlers({onAppear:!0,onDisappear:!0,onDismissed:!0,onNativeDismissCancelled:!0,onWillAppear:!0,onWillDisappear:!0,onHeaderHeightChange:!0,onTransitionProgress:!0,onGestureCancel:!0,onHeaderBackButtonClicked:!0}))};e.default=r(d[4]).get('RNSScreen',(function(){return s}))}),633,[1,206,164,190,160]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var n=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenContainer',validAttributes:{}};e.default=r(d[2]).get('RNSScreenContainer',(function(){return n}))}),634,[1,206,160]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var n=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenNavigationContainer',validAttributes:{}};e.default=r(d[2]).get('RNSScreenNavigationContainer',(function(){return n}))}),635,[1,206,160]); -__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;n(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStack',directEventTypes:{topFinishTransitioning:{registrationName:'onFinishTransitioning'}},validAttributes:Object.assign({},r(d[2]).ConditionallyIgnoredEventHandlers({onFinishTransitioning:!0}))};e.default=r(d[3]).get('RNSScreenStack',(function(){return t}))}),636,[1,206,190,160]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var l=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStackHeaderConfig',validAttributes:{backgroundColor:{process:r(d[2]).default},backTitle:!0,backTitleFontFamily:!0,backTitleFontSize:!0,backTitleVisible:!0,color:{process:r(d[2]).default},direction:!0,hidden:!0,hideShadow:!0,largeTitle:!0,largeTitleFontFamily:!0,largeTitleFontSize:!0,largeTitleFontWeight:!0,largeTitleBackgroundColor:{process:r(d[2]).default},largeTitleHideShadow:!0,largeTitleColor:{process:r(d[2]).default},translucent:!0,title:!0,titleFontFamily:!0,titleFontSize:!0,titleFontWeight:!0,titleColor:{process:r(d[2]).default},disableBackButtonMenu:!0,hideBackButton:!0,backButtonInCustomView:!0,topInsetEnabled:!0}};e.default=r(d[3]).get('RNSScreenStackHeaderConfig',(function(){return l}))}),637,[1,206,164,160]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var _=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStackHeaderSubview',validAttributes:{type:!0}};e.default=r(d[2]).get('RNSScreenStackHeaderSubview',(function(){return _}))}),638,[1,206,160]); -__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=e.Commands=void 0;t(r(d[1])),t(r(d[2]));var o=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSSearchBar',bubblingEventTypes:{topFocus:{phasedRegistrationNames:{captured:'onFocusCapture',bubbled:'onFocus'}},topBlur:{phasedRegistrationNames:{captured:'onBlurCapture',bubbled:'onBlur'}},topSearchButtonPress:{phasedRegistrationNames:{captured:'onSearchButtonPressCapture',bubbled:'onSearchButtonPress'}},topCancelButtonPress:{phasedRegistrationNames:{captured:'onCancelButtonPressCapture',bubbled:'onCancelButtonPress'}},topChangeText:{phasedRegistrationNames:{captured:'onChangeTextCapture',bubbled:'onChangeText'}},topClose:{phasedRegistrationNames:{captured:'onCloseCapture',bubbled:'onClose'}},topOpen:{phasedRegistrationNames:{captured:'onOpenCapture',bubbled:'onOpen'}}},validAttributes:Object.assign({hideWhenScrolling:!0,autoCapitalize:!0,placeholder:!0,placement:!0,obscureBackground:!0,hideNavigationBar:!0,cancelButtonText:!0,barTintColor:{process:r(d[3]).default},tintColor:{process:r(d[3]).default},textColor:{process:r(d[3]).default},disableBackButtonOverride:!0,inputType:!0,hintTextColor:{process:r(d[3]).default},headerIconColor:{process:r(d[3]).default},shouldShowHintSearchIcon:!0},r(d[4]).ConditionallyIgnoredEventHandlers({onFocus:!0,onBlur:!0,onSearchButtonPress:!0,onCancelButtonPress:!0,onChangeText:!0,onClose:!0,onOpen:!0}))};e.default=r(d[5]).get('RNSSearchBar',(function(){return o})),e.Commands={blur:function(t){r(d[6]).dispatchCommand(t,"blur",[])},focus:function(t){r(d[6]).dispatchCommand(t,"focus",[])},clearText:function(t){r(d[6]).dispatchCommand(t,"clearText",[])},toggleCancelButton:function(t,o){r(d[6]).dispatchCommand(t,"toggleCancelButton",[o])},setText:function(t,o){r(d[6]).dispatchCommand(t,"setText",[o])}}}),639,[1,206,193,164,190,160,52]); -__d((function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;l(r(d[1]));var _=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSFullWindowOverlay',validAttributes:{}};e.default=r(d[2]).get('RNSFullWindowOverlay',(function(){return _}))}),640,[1,206,160]); -__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Freeze=function(t){var o=t.freeze,i=t.children,u=t.placeholder,f=void 0===u?null:u;return(0,r.jsx)(e.Suspense,{fallback:f,children:(0,r.jsx)(n,{freeze:o,children:i})})};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}return o.default=e,n&&n.set(e,o),o})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}function n(t){var n=t.freeze,o=t.children,i=(0,e.useRef)({}).current;if(n&&!i.promise)throw i.promise=new Promise((function(e){i.resolve=e})),i.promise;if(n)throw i.promise;return i.promise&&(i.resolve(),i.promise=void 0),(0,r.jsx)(e.Fragment,{children:o})}}),641,[153,194]); -__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=e.isNewBackTitleImplementation=void 0;var t=r(d[0]);e.isSearchBarAvailableForCurrentPlatform=['ios','android'].includes(t.Platform.OS);e.isNewBackTitleImplementation=!0}),642,[2]); -__d((function(a,e,l,m,p,s,t){p.exports={name:"W3sSampleWallet",displayName:"W3sSampleWallet"}}),643,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){return(0,r.jsx)(_r(d[7]).Provider,{store:_r(d[8]).store,children:(0,r.jsx)(_r(d[9]).NavigationContainer,{children:(0,r.jsxs)(a.Navigator,{initialRouteName:"Tab",screenOptions:{headerShown:!1},children:[(0,r.jsx)(a.Screen,{name:"Tab",component:t.default}),(0,r.jsx)(a.Screen,{name:"Execute",component:n.default,options:{presentation:'modal',animationTypeForReplace:'push',animation:'slide_from_bottom'}})]})})})};!(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}r.default=e,n&&n.set(e,r)})(_r(d[1]));_r(d[2]);var t=e(_r(d[3])),n=e(_r(d[4])),r=_r(d[5]);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var a=(0,_r(d[6]).createNativeStackNavigator)()}),438,[1,153,439,461,701,194,702,472,853,708]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=n(r(d[1])),l={en:{translation:n(r(d[2])).default}};t.default.use(r(d[3]).initReactI18next).init({resources:l,lng:"en",fallbackLng:"en",compatibilityJSON:"v3",interpolation:{escapeValue:!1}})}),439,[1,440,442,443]); +__d((function(g,_r,_i,_a,_m,_e,d){'use strict';var e=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=_r(d[3]),r=_r(d[4]),a=_r(d[5]),o=_r(d[6]);function s(e){var t=l();return function(){var n,a=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return i(this,n)}}function l(){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 u={type:'logger',log:function(e){this.output('log',e)},warn:function(e){this.output('warn',e)},error:function(e){this.output('error',e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},c=(function(){function e(t){a(this,e);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,n)}return o(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||'i18next:',this.logger=e||u,this.options=t,this.debug=t.debug}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),i=1;i-1?e.replace(/###/g,'.'):e}function r(){return!e||'string'==typeof e}for(var a='string'!=typeof t?[].concat(t):t.split('.');a.length>1;){if(r())return{};var o=i(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return r()?{}:{obj:e,k:i(a.shift())}}function m(e,t,n){var i=y(e,t,Object);i.obj[i.k]=n}function b(e,t){var n=y(e,t),i=n.obj,r=n.k;if(i)return i[r]}function k(e,t,n){var i=b(e,n);return void 0!==i?i:b(t,n)}function x(e,t,n){for(var i in t)'__proto__'!==i&&'constructor'!==i&&(i in e?'string'==typeof e[i]||e[i]instanceof String||'string'==typeof t[i]||t[i]instanceof String?n&&(e[i]=t[i]):x(e[i],t[i],n):e[i]=t[i]);return e}function S(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\\$&')}var O={'&':'&','<':'<','>':'>','"':'"',"'":''','/':'/'};function L(e){return'string'==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return O[e]})):e}var w=[' ',',','?','!',';'];function j(e,t,n){t=t||'',n=n||'';var i=w.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===i.length)return!0;var r=new RegExp(`(${i.map((function(e){return'?'===e?'\\?':e})).join('|')})`),a=!r.test(e);if(!a){var o=e.indexOf(n);o>0&&!r.test(e.substring(0,o))&&(a=!0)}return a}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'.';if(e){if(e[t])return e[t];for(var i=t.split(n),r=e,a=0;aa+o;)o++,l=r[s=i.slice(a,a+o).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if('string'==typeof l)return l;if(s&&'string'==typeof l[s])return l[s]}var u=i.slice(a+o).join(n);return u?N(l,u,n):void 0}r=r[i[a]]}return r}}function R(e){return e&&e.indexOf('_')>0?e.replace('_','-'):e}var $=(function(e){n(i,e);var t=s(i);function i(e){var n;a(this,i);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:['translation'],defaultNS:'translation'};return(n=t.call(this)).data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator='.'),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return o(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&'string'!=typeof n&&(o=o.concat(n)),n&&'string'==typeof n&&(o=o.concat(r?n.split(r):n)),e.indexOf('.')>-1&&(o=e.split('.'));var s=b(this.data,o);return s||!a||'string'!=typeof n?s:N(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf('.')>-1&&(i=t,t=(o=e.split('.'))[1]),this.addNamespaces(t),m(this.data,o,i),r.silent||this.emit('added',e,t,n,i)}},{key:"addResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)'string'!=typeof n[r]&&'[object Array]'!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});i.silent||this.emit('added',e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,t];e.indexOf('.')>-1&&(i=n,n=t,t=(o=e.split('.'))[1]),this.addNamespaces(t);var s=b(this.data,o)||{};i?x(s,n,r):s=Object.assign({},s,n),m(this.data,o,s),a.silent||this.emit('added',e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit('removed',e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),'v1'===this.options.compatibilityAPI?Object.assign({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),i})(f),P={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,i,r){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,i,r))})),t}},C={},E=(function(e){n(r,e);var i=s(r);function r(e){var n;a(this,r);var o,s,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=i.call(this),o=['resourceStore','languageUtils','pluralResolver','interpolator','backendConnector','i18nFormat','utils'],s=e,l=t(n),o.forEach((function(e){s[e]&&(l[e]=s[e])})),n.options=u,void 0===n.options.keySeparator&&(n.options.keySeparator='.'),n.logger=p.create('translator'),n}return o(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=':');var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||j(e,n,i));if(a&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:r};var l=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(l[0])>-1)&&(r=l.shift()),e=l.join(i)}return'string'==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,t,n){var i=this;if('object'!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),'object'==typeof t&&(t=Object.assign({},t)),t||(t={}),null==e)return'';Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,u=s.namespaces,c=u[u.length-1],p=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&'cimode'===p.toLowerCase()){if(f){var h=t.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${h}${l}`,usedKey:l,exactUsedKey:l,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${h}${l}`}return a?{res:l,usedKey:l,exactUsedKey:l,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:l}var v=this.resolve(e,t),y=v&&v.res,m=v&&v.usedKey||l,b=v&&v.exactUsedKey||l,k=Object.prototype.toString.apply(y),x=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&y&&('string'!=typeof y&&'boolean'!=typeof y&&'number'!=typeof y)&&['[object Number]','[object Function]','[object RegExp]'].indexOf(k)<0&&('string'!=typeof x||'[object Array]'!==k)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn('accessing an object - but returnObjects options is not enabled!');var O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,y,Object.assign({},t,{ns:u})):`key '${l} (${this.language})' returned an object instead of string.`;return a?(v.res=O,v.usedParams=this.getUsedParamsDetails(t),v):O}if(o){var L='[object Array]'===k,w=L?[]:{},j=L?b:m;for(var N in y)if(Object.prototype.hasOwnProperty.call(y,N)){var R=`${j}${o}${N}`;w[N]=this.translate(R,Object.assign({},t,{joinArrays:!1,ns:u})),w[N]===R&&(w[N]=y[N])}y=w}}else if(S&&'string'==typeof x&&'[object Array]'===k)(y=y.join(x))&&(y=this.extendTranslation(y,e,t,n));else{var $=!1,P=!1,C=void 0!==t.count&&'string'!=typeof t.count,E=r.hasDefaultValue(t),F=C?this.pluralResolver.getSuffix(p,t.count,t):'',I=t.ordinal&&C?this.pluralResolver.getSuffix(p,t.count,{ordinal:!1}):'',D=t[`defaultValue${F}`]||t[`defaultValue${I}`]||t.defaultValue;!this.isValidLookup(y)&&E&&($=!0,y=D),this.isValidLookup(y)||(P=!0,y=l);var V=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:y,A=E&&D!==y&&this.options.updateMissing;if(P||$||A){if(this.logger.log(A?'updateKey':'missingKey',p,c,l,A?D:y),o){var U=this.resolve(l,Object.assign({},t,{keySeparator:!1}));U&&U.res&&this.logger.warn('Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.')}var T=[],K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if('fallback'===this.options.saveMissingTo&&K&&K[0])for(var M=0;M1&&void 0!==arguments[1]?arguments[1]:{};return'string'==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var l=o.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;o.options.fallbackNS&&(c=c.concat(o.options.fallbackNS));var p=void 0!==s.count&&'string'!=typeof s.count,f=p&&!s.ordinal&&0===s.count&&o.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&('string'==typeof s.context||'number'==typeof s.context)&&''!==s.context,v=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);c.forEach((function(e){o.isValidLookup(t)||(a=e,!C[`${v[0]}-${e}`]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(C[`${v[0]}-${e}`]=!0,o.logger.warn(`key "${n}" for languages "${v.join(', ')}" won't get resolved as namespace "${a}" was not yet loaded`,'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!')),v.forEach((function(n){if(!o.isValidLookup(t)){r=n;var a,l=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(l,u,n,e,s);else{var c;p&&(c=o.pluralResolver.getSuffix(n,s.count,s));var v=`${o.options.pluralSeparator}zero`,y=`${o.options.pluralSeparator}ordinal${o.options.pluralSeparator}`;if(p&&(l.push(u+c),s.ordinal&&0===c.indexOf(y)&&l.push(u+c.replace(y,o.options.pluralSeparator)),f&&l.push(u+v)),h){var m=`${u}${o.options.contextSeparator}${s.context}`;l.push(m),p&&(l.push(m+c),s.ordinal&&0===c.indexOf(y)&&l.push(m+c.replace(y,o.options.pluralSeparator)),f&&l.push(m+v))}}for(;a=l.pop();)o.isValidLookup(t)||(i=a,t=o.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:i,usedLng:r,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&''===e)}},{key:"getResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,i):this.resourceStore.getResource(e,t,n,i)}},{key:"getUsedParamsDetails",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&'string'!=typeof e.replace,n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n=Object.assign({},this.options.interpolation.defaultVariables,n)),!t)for(var i of(n=Object.assign({},n),['defaultValue','ordinal','context','replace','lng','lngs','fallbackLng','ns','keySeparator','nsSeparator','returnObjects','returnDetails','joinArrays','postProcess','interpolation']))delete n[i];return n}}],[{key:"hasDefaultValue",value:function(e){var t='defaultValue';for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),r})(f);function F(e){return e.charAt(0).toUpperCase()+e.slice(1)}var I=(function(){function e(t){a(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=p.create('languageUtils')}return o(e,[{key:"getScriptPartFromCode",value:function(e){if(!(e=R(e))||e.indexOf('-')<0)return null;var t=e.split('-');return 2===t.length?null:(t.pop(),'x'===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join('-')))}},{key:"getLanguagePartFromCode",value:function(e){if(!(e=R(e))||e.indexOf('-')<0)return e;var t=e.split('-');return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if('string'==typeof e&&e.indexOf('-')>-1){var t=['hans','hant','latn','cyrl','cans','mong','arab'],n=e.split('-');return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),'sgn'!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=F(n[2].toLowerCase()))),n.join('-')}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return('languageOnly'===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var i=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(i)||(t=i)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var i=n.getLanguagePartFromCode(e);if(n.isSupportedCode(i))return t=i;t=n.options.supportedLngs.find((function(e){return e===i?e:e.indexOf('-')<0&&i.indexOf('-')<0?void 0:0===e.indexOf(i)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if('function'==typeof e&&(e=e(t)),'string'==typeof e&&(e=[e]),'[object Array]'===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,i=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],a=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return'string'==typeof e&&(e.indexOf('-')>-1||e.indexOf('_')>-1)?('languageOnly'!==this.options.load&&a(this.formatLanguageCode(e)),'languageOnly'!==this.options.load&&'currentOnly'!==this.options.load&&a(this.getScriptPartFromCode(e)),'currentOnly'!==this.options.load&&a(this.getLanguagePartFromCode(e))):'string'==typeof e&&a(this.formatLanguageCode(e)),i.forEach((function(e){r.indexOf(e)<0&&a(n.formatLanguageCode(e))})),r}}]),e})(),D=[{lngs:['ach','ak','am','arn','br','fil','gun','ln','mfe','mg','mi','oc','pt','pt-BR','tg','tl','ti','tr','uz','wa'],nr:[1,2],fc:1},{lngs:['af','an','ast','az','bg','bn','ca','da','de','dev','el','en','eo','es','et','eu','fi','fo','fur','fy','gl','gu','ha','hi','hu','hy','ia','it','kk','kn','ku','lb','mai','ml','mn','mr','nah','nap','nb','ne','nl','nn','no','nso','pa','pap','pms','ps','pt-PT','rm','sco','se','si','so','son','sq','sv','sw','ta','te','tk','ur','yo'],nr:[1,2],fc:2},{lngs:['ay','bo','cgg','fa','ht','id','ja','jbo','ka','km','ko','ky','lo','ms','sah','su','th','tt','ug','vi','wo','zh'],nr:[1],fc:3},{lngs:['be','bs','cnr','dz','hr','ru','sr','uk'],nr:[1,2,5],fc:4},{lngs:['ar'],nr:[0,1,2,3,11,100],fc:5},{lngs:['cs','sk'],nr:[1,2,5],fc:6},{lngs:['csb','pl'],nr:[1,2,5],fc:7},{lngs:['cy'],nr:[1,2,3,8],fc:8},{lngs:['fr'],nr:[1,2],fc:9},{lngs:['ga'],nr:[1,2,3,7,11],fc:10},{lngs:['gd'],nr:[1,2,3,20],fc:11},{lngs:['is'],nr:[1,2],fc:12},{lngs:['jv'],nr:[0,1],fc:13},{lngs:['kw'],nr:[1,2,3,4],fc:14},{lngs:['lt'],nr:[1,2,10],fc:15},{lngs:['lv'],nr:[1,2,0],fc:16},{lngs:['mk'],nr:[1,2],fc:17},{lngs:['mnk'],nr:[0,1,2],fc:18},{lngs:['mt'],nr:[1,2,11,20],fc:19},{lngs:['or'],nr:[2,1],fc:2},{lngs:['ro'],nr:[1,2,20],fc:20},{lngs:['sl'],nr:[5,1,2,3],fc:21},{lngs:['he','iw'],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},A=['v1','v2','v3'],U=['v4'],T={zero:0,one:1,two:2,few:3,many:4,other:5};var K=(function(){function e(t){a(this,e);var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=i,this.logger=p.create('pluralResolver'),this.options.compatibilityJSON&&!U.includes(this.options.compatibilityJSON)||'undefined'!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON='v3',this.logger.error('Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.')),this.rules=(n={},D.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:V[e.fc]}}))})),n)}return o(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(R(e),{type:t.ordinal?'ordinal':'cardinal'})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return`${t}${e}`}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getRule(e,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((function(e,t){return T[e]-T[t]})).map((function(e){return`${t.options.prepend}${n.ordinal?`ordinal${t.options.prepend}`:''}${e}`})):i.numbers.map((function(i){return t.getSuffix(e,i,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:''}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),'')}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,i=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r='plural':1===r&&(r=''));var a=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return'v1'===this.options.compatibilityJSON?1===r?'':'number'==typeof r?`_plural_${r.toString()}`:a():'v2'===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!A.includes(this.options.compatibilityJSON)}}]),e})();function M(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'.',r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=k(e,t,n);return!a&&r&&'string'==typeof n&&void 0===(a=N(e,n,i))&&(a=N(t,n,i)),a}var H=(function(){function e(){a(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=p.create('interpolator'),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return o(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:L,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?S(t.prefix):t.prefixEscaped||'{{',this.suffix=t.suffix?S(t.suffix):t.suffixEscaped||'}}',this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||',',this.unescapePrefix=t.unescapeSuffix?'':t.unescapePrefix||'-',this.unescapeSuffix=this.unescapePrefix?'':t.unescapeSuffix||'',this.nestingPrefix=t.nestingPrefix?S(t.nestingPrefix):t.nestingPrefixEscaped||S('$t('),this.nestingSuffix=t.nestingSuffix?S(t.nestingSuffix):t.nestingSuffixEscaped||S(')'),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||',',this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,'g');var t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(t,'g');var n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(n,'g')}},{key:"interpolate",value:function(e,t,n,i){var r,a,o,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,'$$$$')}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var r=M(t,l,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(r,void 0,n,Object.assign({},i,t,{interpolationkey:e})):r}var a=e.split(s.formatSeparator),o=a.shift().trim(),u=a.join(s.formatSeparator).trim();return s.format(M(t,l,o,s.options.keySeparator,s.options.ignoreJSONStructure),u,n,Object.assign({},i,t,{interpolationkey:o}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(o=0;r=t.regex.exec(e);){var n=r[1].trim();if(void 0===(a=c(n)))if('function'==typeof p){var l=p(e,r,i);a='string'==typeof l?l:''}else if(i&&Object.prototype.hasOwnProperty.call(i,n))a='';else{if(f){a=r[0];continue}s.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=''}else'string'==typeof a||s.useRawValueToEscape||(a=v(a));var u=t.safeValue(a);if(e=e.replace(r[0],u),f?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,i,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var i=e.split(new RegExp(`${n}[ ]*{`)),a=`{${i[1]}`;e=i[0];var o=(a=this.interpolate(a,r)).match(/'/g),s=a.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(a=a.replace(/'/g,'"'));try{r=JSON.parse(a),t&&(r=Object.assign({},t,r))}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${a}`}return delete r.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(r=(r=Object.assign({},o)).replace&&'string'!=typeof r.replace?r.replace:r).applyPostProcessor=!1,delete r.defaultValue;var u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0}if((i=t(s.call(this,n[1].trim(),r),r))&&n[0]===e&&'string'!=typeof i)return i;'string'!=typeof i&&(i=v(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),i=''),u&&(i=l.reduce((function(e,t){return a.format(e,t,o.lng,Object.assign({},o,{interpolationkey:n[1].trim()}))}),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}]),e})();function B(t){var n=t.toLowerCase().trim(),i={};if(t.indexOf('(')>-1){var r=t.split('(');n=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);if('currency'===n&&a.indexOf(':')<0)i.currency||(i.currency=a.trim());else if('relativetime'===n&&a.indexOf(':')<0)i.range||(i.range=a.trim());else{a.split(';').forEach((function(t){if(t){var n=t.split(':'),r=e(n),a=r[0],o=r.slice(1).join(':').trim().replace(/^'+|'+$/g,'');i[a.trim()]||(i[a.trim()]=o),'false'===o&&(i[a.trim()]=!1),'true'===o&&(i[a.trim()]=!0),isNaN(o)||(i[a.trim()]=parseInt(o,10))}}))}}return{formatName:n,formatOptions:i}}function J(e){var t={};return function(n,i,r){var a=i+JSON.stringify(r),o=t[a];return o||(o=e(R(i),r),t[a]=o),o(n)}}var z=(function(){function e(){a(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=p.create('formatter'),this.options=t,this.formats={number:J((function(e,t){var n=new Intl.NumberFormat(e,Object.assign({},t));return function(e){return n.format(e)}})),currency:J((function(e,t){var n=new Intl.NumberFormat(e,Object.assign({},t,{style:'currency'}));return function(e){return n.format(e)}})),datetime:J((function(e,t){var n=new Intl.DateTimeFormat(e,Object.assign({},t));return function(e){return n.format(e)}})),relativetime:J((function(e,t){var n=new Intl.RelativeTimeFormat(e,Object.assign({},t));return function(e){return n.format(e,t.range||'day')}})),list:J((function(e,t){var n=new Intl.ListFormat(e,Object.assign({},t));return function(e){return n.format(e)}}))},this.init(t)}return o(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||','}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=J(t)}},{key:"format",value:function(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((function(e,t){var a=B(t),o=a.formatName,s=a.formatOptions;if(i.formats[o]){var l=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;l=i.formats[o](e,c,Object.assign({},s,r,u))}catch(e){i.logger.warn(e)}return l}return i.logger.warn(`there was no format function for ${o}`),e}),e)}}]),e})();function _(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var q=(function(e){n(i,e);var t=s(i);function i(e,n,r){var o;a(this,i);var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(o=t.call(this)).backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=s,o.logger=p.create('backendConnector'),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,s.backend,s),o}return o(i,[{key:"queueLoad",value:function(e,t,n,i){var r=this,a={},o={},s={},l={};return e.forEach((function(e){var i=!0;t.forEach((function(t){var s=`${e}|${t}`;!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?void 0===o[s]&&(o[s]=!0):(r.state[s]=1,i=!1,void 0===o[s]&&(o[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===l[t]&&(l[t]=!0)))})),i||(s[e]=!0)})),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var i=e.split('|'),r=i[0],a=i[1];t&&this.emit('failedLoading',r,a,t),n&&this.store.addResourceBundle(r,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var i,s,l,u,c,p;i=n.loaded,s=a,u=y(i,[r],Object),c=u.obj,p=u.k,c[p]=c[p]||[],l&&(c[p]=c[p].concat(s)),l||c[p].push(s),_(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===o[e][t]&&(o[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit('loaded',o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:a,callback:o});else{this.readingCalls++;var s=function(s,l){if(i.readingCalls--,i.waitingReads.length>0){var u=i.waitingReads.shift();i.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}s&&l&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn('No backend was added via i18next.use. Will not load resources.'),r&&r();'string'==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),'string'==typeof t&&(t=[t]);var a=this.queueLoad(e,t,i,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',i=e.split('|'),r=i[0],a=i[1];this.read(r,a,'read',void 0,void 0,(function(i,o){i&&t.logger.warn(`${n}loading namespace ${a} for language ${r} failed`,i),!i&&o&&t.logger.log(`${n}loaded namespace ${a} for language ${r}`,o),t.loaded(e,i,o)}))}},{key:"saveMissing",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');else if(null!=n&&''!==n){if(this.backend&&this.backend.create){var s=Object.assign({},a,{isUpdate:r}),l=this.backend.create.bind(this.backend);if(l.length<6)try{var u;(u=5===l.length?l(e,t,n,i,s):l(e,t,n,i))&&'function'==typeof u.then?u.then((function(e){return o(null,e)})).catch(o):o(null,u)}catch(e){o(e)}else l(e,t,n,i,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,i)}}}]),i})(f);function W(){return{debug:!1,initImmediate:!0,ns:['translation'],defaultNS:['translation'],fallbackLng:['dev'],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:'all',preload:!1,simplifyPluralSuffix:!0,keySeparator:'.',nsSeparator:':',pluralSeparator:'_',contextSeparator:'_',partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:'fallback',saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if('object'==typeof e[1]&&(t=e[1]),'string'==typeof e[1]&&(t.defaultValue=e[1]),'string'==typeof e[2]&&(t.tDescription=e[2]),'object'==typeof e[2]||'object'==typeof e[3]){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,i){return e},prefix:'{{',suffix:'}}',formatSeparator:',',unescapePrefix:'-',nestingPrefix:'$t(',nestingSuffix:')',nestingOptionsSeparator:',',maxReplaces:1e3,skipOnVariables:!0}}}function Y(e){return'string'==typeof e.ns&&(e.ns=[e.ns]),'string'==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),'string'==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf('cimode')<0&&(e.supportedLngs=e.supportedLngs.concat(['cimode'])),e}function G(){}var Q=(function(e){n(l,e);var r=s(l);function l(){var e;a(this,l);var n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if((e=r.call(this)).options=Y(o),e.services={},e.logger=p,e.modules={external:[]},n=t(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((function(e){'function'==typeof n[e]&&(n[e]=n[e].bind(n))})),s&&!e.isInitialized&&!o.isClone){if(!e.options.initImmediate)return e.init(o,s),i(e,t(e));setTimeout((function(){e.init(o,s)}),0)}return e}return o(l,[{key:"init",value:function(){var e=this,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;'function'==typeof n&&(i=n,n={}),!n.defaultNS&&!1!==n.defaultNS&&n.ns&&('string'==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf('translation')<0&&(n.defaultNS=n.ns[0]));var r=W();function a(e){return e?'function'==typeof e?new e:e:null}if(this.options=Object.assign({},r,this.options,Y(n)),'v1'!==this.options.compatibilityAPI&&(this.options.interpolation=Object.assign({},r.interpolation,this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var o;this.modules.logger?p.init(a(this.modules.logger),this.options):p.init(null,this.options),this.modules.formatter?o=this.modules.formatter:'undefined'!=typeof Intl&&(o=z);var s=new I(this.options);this.store=new $(this.options.resources,this.options);var l=this.services;l.logger=p,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new K(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(l.formatter=a(o),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new H(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new q(a(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on('*',(function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r1?n-1:0),r=1;r0&&'dev'!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn('init: no languageDetector is used and no lng is defined');['getResource','hasResourceBundle','getResourceBundle','getDataByLanguage'].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments)}}));['addResource','addResources','addResourceBundle','removeResourceBundle'].forEach((function(n){e[n]=function(){var e;return(e=t.store)[n].apply(e,arguments),t}}));var c=h(),f=function(){var t=function(t,n){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn('init: i18next is already initialized. You should call init just once!'),e.isInitialized=!0,e.options.isClone||e.logger.log('initialized',e.options),e.emit('initialized',e.options),c.resolve(n),i(t,n)};if(e.languages&&'v1'!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,i='string'==typeof e?e:this.language;if('function'==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&'cimode'===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();var r=[],a=function(e){e&&('cimode'!==e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){'cimode'!==e&&r.indexOf(e)<0&&r.push(e)})))};if(i)a(i);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)}));this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(r,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var i=h();return e||(e=this.languages),t||(t=this.options.ns),n||(n=G),this.services.backendConnector.reload(e,t,(function(e){i.resolve(),n(e)})),i}},{key:"use",value:function(e){if(!e)throw new Error('You are passing an undefined module! Please check the object you are passing to i18next.use()');if(!e.type)throw new Error('You are passing a wrong module! Please check the object you are passing to i18next.use()');return'backend'===e.type&&(this.modules.backend=e),('logger'===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),'languageDetector'===e.type&&(this.modules.languageDetector=e),'i18nFormat'===e.type&&(this.modules.i18nFormat=e),'postProcessor'===e.type&&P.addPostProcessor(e),'formatter'===e.type&&(this.modules.formatter=e),'3rdParty'===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(['cimode','dev'].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this,i=this;this.isLanguageChangingTo=e;var r=h();this.emit('languageChanging',e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit('languageChanged',o),n.logger.log('languageChanged',o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return i.t.apply(i,arguments)})),t&&t(e,(function(){return i.t.apply(i,arguments)}))},s=function(t){e||t||!n.services.languageDetector||(t=[]);var i='string'==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){o(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,r=function e(t,r){var a;if('object'!=typeof r){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn('hasLoadedNamespace: i18next was not initialized',this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn('hasLoadedNamespace: i18n.languages were undefined or empty',this.languages),!1;var i=n.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if('cimode'===i.toLowerCase())return!0;var o=function(e,n){var i=t.services.backendConnector.state[`${e}|${n}`];return-1===i||2===i};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(i,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(i,e)||r&&!o(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,i=h();return this.options.ns?('string'==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){i.resolve(),t&&t(e)})),i):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=h();'string'==typeof e&&(e=[e]);var i=this.options.preload||[],r=e.filter((function(e){return i.indexOf(e)<0}));return r.length?(this.options.preload=i.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return'rtl';var t=this.services&&this.services.languageUtils||new I(W());return['ar','shu','sqr','ssh','xaa','yhd','yud','aao','abh','abv','acm','acq','acw','acx','acy','adf','ads','aeb','aec','afb','ajp','apc','apd','arb','arq','ars','ary','arz','auz','avl','ayh','ayl','ayn','ayp','bbz','pga','he','iw','ps','pbt','pbu','pst','prp','prd','ug','ur','ydd','yds','yih','ji','yi','hbo','men','xmn','fa','jpr','peo','pes','prs','dv','sam','ckb'].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf('-arab')>1?'rtl':'ltr'}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,i=t.forkResourceStore;i&&delete t.forkResourceStore;var r=Object.assign({},this.options,t,{isClone:!0}),a=new l(r);void 0===t.debug&&void 0===t.prefix||(a.logger=a.logger.clone(t));return['store','services','language'].forEach((function(t){a[t]=e[t]})),a.services=Object.assign({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new $(this.store.data,r),a.services.resourceStore=a.store),a.translator=new E(a.services,r),a.translator.on('*',(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}}]),l})(f),X=Q.createInstance();X.createInstance=Q.createInstance,_m.exports=X}),440,[441,16,13,15,12,5,6]); +__d((function(g,r,i,a,m,e,d){m.exports=function(t){return r(d[0])(t)||r(d[1])(t)||r(d[2])(t)||r(d[3])()},m.exports.__esModule=!0,m.exports.default=m.exports}),441,[27,36,29,31]); +__d((function(e,t,i,n,o,l,_){o.exports={main_title:"User Controlled Wallet \nSample App",main_subtitle:"Choose one Auth Method to start",tab_social:"Social",tab_email:"Email",tab_pin:"PIN",endpoint_title:"End Point",appid_title:"App ID",user_token_title:"User Token",encryption_title:"Encryption Key",biometrics_switch_title:"Enable Biometrics Setting",biometrics_switch_desc:"Please create PIN before setting up Biometrics",challenge_id_title:"Challenge ID",device_id_title:"Device ID",device_token_title:"Device Token",device_encryption_title:"Device Encryption Key",otp_token_title:"OTP Token",challenge_type_title:"Challenge Type",result_status_title:"Result Status",signature_title:"Signature",warning_type_title:"Warning Type",warning_message_title:"Warning Message",error_code_title:"Error Code",error_message_title:"Error Message",forgot_pin:"Forgot PIN",execute_bt:"Execute",go_execute_bt:"Execute Challenge",go_execute_bt_desc:"Enter Challenge ID to test wallet creation or signing flows.",email_login_bt:"Log in with Email",set_biometrics_pin_bt:"Set up Biometrics",continue_bt:"Continue",login_success:"Login Successful",execute_success:"Execute Successful",google_bt:"Google",facebook_bt:"Facebook",apple_bt:"Apple",required_mark:"*",log_in_with_section:"Log in with",info_full_text:"Please configure OAuth credentials in the Console before testing the login flows. View docs for more guidance.",info_link_text:"docs",implement_callback_instruction:"Register a callback function is required during the actual implementation."}}),442,[]); +__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"I18nContext",{enumerable:!0,get:function(){return r(d[0]).I18nContext}}),Object.defineProperty(e,"I18nextProvider",{enumerable:!0,get:function(){return r(d[1]).I18nextProvider}}),Object.defineProperty(e,"Trans",{enumerable:!0,get:function(){return r(d[2]).Trans}}),Object.defineProperty(e,"TransWithoutContext",{enumerable:!0,get:function(){return r(d[3]).Trans}}),Object.defineProperty(e,"Translation",{enumerable:!0,get:function(){return r(d[4]).Translation}}),Object.defineProperty(e,"composeInitialProps",{enumerable:!0,get:function(){return r(d[0]).composeInitialProps}}),e.date=void 0,Object.defineProperty(e,"getDefaults",{enumerable:!0,get:function(){return r(d[5]).getDefaults}}),Object.defineProperty(e,"getI18n",{enumerable:!0,get:function(){return r(d[6]).getI18n}}),Object.defineProperty(e,"getInitialProps",{enumerable:!0,get:function(){return r(d[0]).getInitialProps}}),Object.defineProperty(e,"initReactI18next",{enumerable:!0,get:function(){return r(d[7]).initReactI18next}}),e.selectOrdinal=e.select=e.plural=e.number=void 0,Object.defineProperty(e,"setDefaults",{enumerable:!0,get:function(){return r(d[5]).setDefaults}}),Object.defineProperty(e,"setI18n",{enumerable:!0,get:function(){return r(d[6]).setI18n}}),e.time=void 0,Object.defineProperty(e,"useSSR",{enumerable:!0,get:function(){return r(d[8]).useSSR}}),Object.defineProperty(e,"useTranslation",{enumerable:!0,get:function(){return r(d[9]).useTranslation}}),Object.defineProperty(e,"withSSR",{enumerable:!0,get:function(){return r(d[10]).withSSR}}),Object.defineProperty(e,"withTranslation",{enumerable:!0,get:function(){return r(d[11]).withTranslation}});e.date=function(){return''};e.time=function(){return''};e.number=function(){return''};e.select=function(){return''};e.plural=function(){return''};e.selectOrdinal=function(){return''}}),443,[444,449,450,451,456,445,447,448,458,457,459,460]); +__d((function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.ReportNamespaces=e.I18nContext=void 0,e.composeInitialProps=function(t){return function(n){return new Promise((function(s){var u=c();t.getInitialProps?t.getInitialProps(n).then((function(t){s(Object.assign({},t,u))})):s(u)}))}},Object.defineProperty(e,"getDefaults",{enumerable:!0,get:function(){return r(d[2]).getDefaults}}),Object.defineProperty(e,"getI18n",{enumerable:!0,get:function(){return r(d[3]).getI18n}}),e.getInitialProps=c,Object.defineProperty(e,"initReactI18next",{enumerable:!0,get:function(){return r(d[4]).initReactI18next}}),Object.defineProperty(e,"setDefaults",{enumerable:!0,get:function(){return r(d[2]).setDefaults}}),Object.defineProperty(e,"setI18n",{enumerable:!0,get:function(){return r(d[3]).setI18n}});var s=(0,r(d[5]).createContext)();e.I18nContext=s;var u=(function(){function s(){t(this,s),this.usedNamespaces={}}return n(s,[{key:"addUsedNamespaces",value:function(t){var n=this;t.forEach((function(t){n.usedNamespaces[t]||(n.usedNamespaces[t]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),s})();function c(){var t=(0,r(d[3]).getI18n)(),n=t.reportNamespaces?t.reportNamespaces.getUsedNamespaces():[],s={},u={};return t.languages.forEach((function(s){u[s]={},n.forEach((function(n){u[s][n]=t.getResourceBundle(s,n)||{}}))})),s.initialI18nStore=u,s.initialLanguage=t.language,s}e.ReportNamespaces=u}),444,[5,6,445,447,448,153]); +__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaults=function(){return t},e.setDefaults=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t=Object.assign({},t,n)};var t={bindI18n:'languageChanged',bindI18nStore:'',transEmptyNodeValue:'',transSupportBasicHtmlNodes:!0,transWrapTextNodes:'',transKeepBasicHtmlNodesFor:['br','strong','i','p'],useSuspense:!0,unescape:r(d[0]).unescape}}),445,[446]); +__d((function(g,r,i,a,_m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=void 0;var t=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,p={'&':'&','&':'&','<':'<','<':'<','>':'>','>':'>',''':"'",''':"'",'"':'"','"':'"',' ':' ',' ':' ','©':'\xa9','©':'\xa9','®':'\xae','®':'\xae','…':'\u2026','…':'\u2026','/':'/','/':'/'},n=function(t){return p[t]};e.unescape=function(p){return p.replace(t,n)}}),446,[]); +__d((function(g,r,i,a,m,e,d){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.getI18n=function(){return n},e.setI18n=function(t){n=t}}),447,[]); +__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initReactI18next=void 0;var t={type:'3rdParty',init:function(t){(0,r(d[0]).setDefaults)(t.options.react),(0,r(d[1]).setI18n)(t)}};e.initReactI18next=t}),448,[445,447]); +__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.I18nextProvider=function(t){var u=t.i18n,o=t.defaultNS,c=t.children,l=(0,n.useMemo)((function(){return{i18n:u,defaultNS:o}}),[u,o]);return(0,n.createElement)(r(d[1]).I18nContext.Provider,{value:l},c)};var n=r(d[0])}),449,[153,444]); +__d((function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]),t=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];Object.defineProperty(e,"__esModule",{value:!0}),e.Trans=function(s){var u=s.children,c=s.count,l=s.parent,p=s.i18nKey,f=s.context,v=s.tOptions,h=void 0===v?{}:v,O=s.values,b=s.defaults,x=s.components,y=s.ns,S=s.i18n,T=s.t,_=s.shouldUnescape,j=n(s,t),K=(0,o.useContext)(r(d[3]).I18nContext)||{},U=K.i18n,C=K.defaultNS,I=S||U||(0,r(d[3]).getI18n)(),N=T||I&&I.t.bind(I);return(0,r(d[1]).Trans)(Object.assign({children:u,count:c,parent:l,i18nKey:p,context:f,tOptions:h,values:O,defaults:b,components:x,ns:y||N&&N.ns||C||I&&I.options&&I.options.defaultNS,i18n:I,t:T,shouldUnescape:_},j))},Object.defineProperty(e,"nodesToString",{enumerable:!0,get:function(){return r(d[1]).nodesToString}});var o=r(d[2])}),450,[119,451,153,444]); +__d((function(g,r,_i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]),i=["format"],s=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"],o=r(d[2]);Object.defineProperty(e,"__esModule",{value:!0}),e.Trans=function(t){var i=t.children,o=t.count,l=t.parent,c=t.i18nKey,u=t.context,f=t.tOptions,y=void 0===f?{}:f,h=t.values,v=t.defaults,O=t.components,$=t.ns,E=t.i18n,k=t.t,x=t.shouldUnescape,w=n(t,s),N=E||(0,r(d[7]).getI18n)();if(!N)return(0,r(d[6]).warnOnce)('You will need to pass in an i18next instance by using i18nextReactModule'),i;var V=k||N.t.bind(N)||function(t){return t};u&&(y.context=u);var P=Object.assign({},(0,r(d[8]).getDefaults)(),N.options&&N.options.react),D=$||V.ns||N.options&&N.options.defaultNS;D='string'==typeof D?[D]:D||['translation'];var T=b(i,P),I=v||T||P.transEmptyNodeValue||c,K=P.hashTransKey,M=c||(K?K(T||I):T||I);N.options&&N.options.interpolation&&N.options.interpolation.defaultVariables&&(h=h&&Object.keys(h).length>0?Object.assign({},h,N.options.interpolation.defaultVariables):Object.assign({},N.options.interpolation.defaultVariables));var _=h?y.interpolation:{interpolation:Object.assign({},y.interpolation,{prefix:'#$?',suffix:'?$#'})},B=Object.assign({},y,{count:o},h,_,{defaultValue:I,ns:D}),F=M?V(M,B):I;O&&Object.keys(O).forEach((function(t){var n=O[t];'function'==typeof n.type||!n.props||!n.props.children||F.indexOf(`${t}/>`)<0&&F.indexOf(`${t} />`)<0||(O[t]=p.default.createElement((function(){return p.default.createElement(p.default.Fragment,null,n)}),null))}));var H=j(O||i,F,N,P,B,x),S=void 0!==l?l:P.defaultTransParent;return S?(0,p.createElement)(S,w,H):H},e.nodesToString=b;var l=o(r(d[3])),p=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=u(n);if(i&&i.has(t))return i.get(t);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=o?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(s,l,p):s[l]=t[l]}s.default=t,i&&i.set(t,s);return s})(r(d[4])),c=o(r(d[5]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(u=function(t){return t?i:n})(t)}function f(t,n){if(!t)return!1;var i=t.props?t.props.children:t.children;return n?i.length>0:!!i}function y(t){if(!t)return[];var n=t.props?t.props.children:t.children;return t.props&&t.props.i18nIsDynamicList?v(n):n}function h(t){return'[object Array]'===Object.prototype.toString.call(t)&&t.every((function(t){return(0,p.isValidElement)(t)}))}function v(t){return Array.isArray(t)?t:[t]}function b(t,s){if(!t)return'';var o='',l=v(t),c=s.transSupportBasicHtmlNodes&&s.transKeepBasicHtmlNodesFor?s.transKeepBasicHtmlNodesFor:[];return l.forEach((function(t,l){if('string'==typeof t)o+=`${t}`;else if((0,p.isValidElement)(t)){var u=Object.keys(t.props).length,f=c.indexOf(t.type)>-1,y=t.props.children;if(!y&&f&&0===u)o+=`<${t.type}/>`;else if(y||f&&0===u)if(t.props.i18nIsDynamicList)o+=`<${l}>`;else if(f&&1===u&&'string'==typeof y)o+=`<${t.type}>${y}`;else{var h=b(y,s);o+=`<${l}>${h}`}else o+=`<${l}>`}else if(null===t)(0,r(d[6]).warn)("Trans: the passed in value is invalid - seems you passed in a null child.");else if('object'==typeof t){var v=t.format,j=n(t,i),O=Object.keys(j);if(1===O.length){var $=v?`${O[0]}, ${v}`:O[0];o+=`{{${$}}}`}else(0,r(d[6]).warn)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else(0,r(d[6]).warn)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)})),o}function j(n,i,s,o,u,b){if(''===i)return[];var j=o.transKeepBasicHtmlNodesFor||[],O=i&&new RegExp(j.map((function(t){return`<${t}`})).join('|')).test(i);if(!n&&!O&&!b)return[i];var $={};!(function t(n){v(n).forEach((function(n){'string'!=typeof n&&(f(n)?t(y(n)):'object'!=typeof n||(0,p.isValidElement)(n)||Object.assign($,n))}))})(n);var E=c.default.parse(`<0>${i}`),k=Object.assign({},$,u);function x(t,n,i){var s=y(t),o=N(s,n.children,i);return h(s)&&0===o.length||t.props&&t.props.i18nIsDynamicList?s:o}function w(n,i,s,o,c){n.dummy?(n.children=i,s.push((0,p.cloneElement)(n,{key:o},c?void 0:i))):s.push.apply(s,t(p.Children.map([n],(function(t){var n=Object.assign({},t.props);return delete n.i18nIsDynamicList,p.default.createElement(t.type,(0,l.default)({},n,{key:o,ref:t.ref},c?{}:{children:i}))}))))}function N(t,i,l){var c=v(t);return v(i).reduce((function(t,i,u){var y,h,v,$=i.children&&i.children[0]&&i.children[0].content&&s.services.interpolator.interpolate(i.children[0].content,k,s.language);if('tag'===i.type){var E=c[parseInt(i.name,10)];1!==l.length||E||(E=l[0][i.name]),E||(E={});var V=0!==Object.keys(i.attrs).length?(y={props:i.attrs},h=E,(v=Object.assign({},h)).props=Object.assign(y.props,h.props),v):E,P=(0,p.isValidElement)(V),D=P&&f(i,!0)&&!i.voidElement,T=O&&'object'==typeof V&&V.dummy&&!P,I='object'==typeof n&&null!==n&&Object.hasOwnProperty.call(n,i.name);if('string'==typeof V){var K=s.services.interpolator.interpolate(V,k,s.language);t.push(K)}else if(f(V)||D){w(V,x(V,i,l),t,u)}else if(T){w(V,N(c,i.children,l),t,u)}else if(Number.isNaN(parseFloat(i.name))){if(I)w(V,x(V,i,l),t,u,i.voidElement);else if(o.transSupportBasicHtmlNodes&&j.indexOf(i.name)>-1)if(i.voidElement)t.push((0,p.createElement)(i.name,{key:`${i.name}-${u}`}));else{var M=N(c,i.children,l);t.push((0,p.createElement)(i.name,{key:`${i.name}-${u}`},M))}else if(i.voidElement)t.push(`<${i.name} />`);else{var _=N(c,i.children,l);t.push(`<${i.name}>${_}`)}}else if('object'!=typeof V||P)w(V,$,t,u,1!==i.children.length||!$);else{var B=i.children[0]?$:null;B&&t.push(B)}}else if('text'===i.type){var F=o.transWrapTextNodes,H=b?o.unescape(s.services.interpolator.interpolate(i.content,k,s.language)):s.services.interpolator.interpolate(i.content,k,s.language);F?t.push((0,p.createElement)(F,{key:`${i.name}-${u}`},H)):t.push(H)}return t}),[])}return y(N([{dummy:!0,children:n||[]}],E,v(n||[]))[0])}}),451,[34,119,1,452,153,453,455,447,445]); +__d((function(g,r,_i,a,m,e,d){function t(){return m.exports=t=Object.assign?Object.assign.bind():function(t){for(var o=1;o<]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function r(e){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=e.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(t[i[1]]||"/"===e.charAt(e.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var c=e.indexOf("--\x3e");return{type:"comment",comment:-1!==c?e.slice(4,c):""}}for(var s=new RegExp(n),a=null;null!==(a=s.exec(e));)if(a[0].trim())if(a[1]){var o=a[1].trim(),u=[o,""];o.indexOf("=")>-1&&(u=o.split("=")),r.attrs[u[0]]=u[1],s.lastIndex--}else a[2]&&(r.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return r}var i=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?(function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""})(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}_m.exports={parse:function(e,t){t||(t={}),t.components||(t.components=s);var n,a=[],o=[],u=-1,l=!1;if(0!==e.indexOf("<")){var m=e.indexOf("<");a.push({type:"text",content:-1===m?e:e.substring(0,m)})}return e.replace(i,(function(i,s){if(l){if(i!=="")return;l=!1}var m,f="/"!==i.charAt(1),d=i.startsWith("\x3c!--"),h=s+i.length,p=e.charAt(h);if(d){var v=r(i);return u<0?(a.push(v),a):((m=o[u]).children.push(v),a)}if(f&&(u++,"tag"===(n=r(i)).type&&t.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!p||"<"===p||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===u&&a.push(n),(m=o[u-1])&&m.children.push(n),o[u]=n),(!f||n.voidElement)&&(u>-1&&(n.voidElement||n.name===i.slice(2,-1))&&(u--,n=-1===u?a:o[u]),!l&&"<"!==p&&p)){m=-1===u?a:o[u].children;var x=e.indexOf("<",h),g=e.slice(h,-1===x?void 0:x);c.test(g)&&(g=" "),(x>-1&&u+m.length>=0||" "!==g)&&m.push({type:"text",content:g})}})),a},stringify:function(e){return e.reduce((function(e,t){return e+a("",t)}),"")}}}),453,[454]); +__d((function(g,r,i,a,m,e,d){m.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}),454,[]); +__d((function(g,r,i,a,m,e,d){"use strict";function n(){if(console&&console.warn){for(var n,o=arguments.length,t=new Array(o),s=0;s0?n:'Unknown')},e.hasLoadedNamespace=function(n,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!o.languages||!o.languages.length)return t('i18n.languages were undefined or empty',o.languages),!0;if(void 0===o.options.ignoreJSONStructure)return u(n,o,s);return o.hasLoadedNamespace(n,{lng:s.lng,precheck:function(o,t){if(s.bindI18n&&s.bindI18n.indexOf('languageChanging')>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!t(o.isLanguageChangingTo,n))return!1}})},e.loadLanguages=function(n,o,t,u){'string'==typeof t&&(t=[t]);t.forEach((function(o){n.options.ns.indexOf(o)<0&&n.options.ns.push(o)})),n.loadLanguages(o,s(n,u))},e.loadNamespaces=function(n,o,t){n.loadNamespaces(o,s(n,t))},e.warn=n,e.warnOnce=t;var o={};function t(){for(var t=arguments.length,s=new Array(t),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=o.languages[0],u=!!o.options&&o.options.fallbackLng,c=o.languages[o.languages.length-1];if('cimode'===s.toLowerCase())return!0;var l=function(n,t){var s=o.services.backendConnector.state[`${n}|${t}`];return-1===s||2===s};return!(t.bindI18n&&t.bindI18n.indexOf('languageChanging')>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,n))&&(!!o.hasResourceBundle(s,n)||(!(o.services.backendConnector.backend&&(!o.options.resources||o.options.partialBundledLanguages))||!(!l(s,n)||u&&!l(c,n))))}}),455,[]); +__d((function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]),t=r(d[1]),l=["ns","children"];Object.defineProperty(e,"__esModule",{value:!0}),e.Translation=function(s){var u=s.ns,c=s.children,o=t(s,l),_=(0,r(d[2]).useTranslation)(u,o),f=n(_,3),v=f[0],h=f[1],T=f[2];return c(v,{i18n:h,lng:h.language},T)}}),456,[26,119,457]); +__d((function(g,r,i,a,m,_e,d){"use strict";var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.useTranslation=function(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=u.i18n,c=(0,n.useContext)(r(d[2]).I18nContext)||{},f=c.i18n,l=c.defaultNS,p=s||f||(0,r(d[2]).getI18n)();p&&!p.reportNamespaces&&(p.reportNamespaces=new(r(d[2]).ReportNamespaces));if(!p){(0,r(d[3]).warnOnce)('You will need to pass in an i18next instance by using initReactI18next');var v=function(e,n){return'string'==typeof n?n:n&&'object'==typeof n&&'string'==typeof n.defaultValue?n.defaultValue:Array.isArray(e)?e[e.length-1]:e},y=[v,{},!1];return y.t=v,y.i18n={},y.ready=!1,y}p.options.react&&void 0!==p.options.react.wait&&(0,r(d[3]).warnOnce)('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');var N=Object.assign({},(0,r(d[2]).getDefaults)(),p.options.react,u),h=N.useSuspense,w=N.keyPrefix,b=o||l||p.options&&p.options.defaultNS;b='string'==typeof b?[b]:b||['translation'],p.reportNamespaces.addUsedNamespaces&&p.reportNamespaces.addUsedNamespaces(b);var I=(p.isInitialized||p.initializedStoreOnce)&&b.every((function(e){return(0,r(d[3]).hasLoadedNamespace)(e,p,N)}));function S(){return p.getFixedT(u.lng||null,'fallback'===N.nsMode?b:b[0],w)}var x=(0,n.useState)(S),E=e(x,2),O=E[0],R=E[1],j=b.join();u.lng&&(j=`${u.lng}${j}`);var _=t(j),L=(0,n.useRef)(!0);(0,n.useEffect)((function(){var e=N.bindI18n,n=N.bindI18nStore;function t(){L.current&&R(S)}return L.current=!0,I||h||(u.lng?(0,r(d[3]).loadLanguages)(p,u.lng,b,(function(){L.current&&R(S)})):(0,r(d[3]).loadNamespaces)(p,b,(function(){L.current&&R(S)}))),I&&_&&_!==j&&L.current&&R(S),e&&p&&p.on(e,t),n&&p&&p.store.on(n,t),function(){L.current=!1,e&&p&&e.split(' ').forEach((function(e){return p.off(e,t)})),n&&p&&n.split(' ').forEach((function(e){return p.store.off(e,t)}))}}),[p,j]);var P=(0,n.useRef)(!0);(0,n.useEffect)((function(){L.current&&!P.current&&R(S),P.current=!1}),[p,w]);var k=[O,p,I];if(k.t=O,k.i18n=p,k.ready=I,I)return k;if(!I&&!h)return k;throw new Promise((function(e){u.lng?(0,r(d[3]).loadLanguages)(p,u.lng,b,(function(){return e()})):(0,r(d[3]).loadNamespaces)(p,b,(function(){return e()}))}))};var n=r(d[1]),t=function(e,t){var o=(0,n.useRef)();return(0,n.useEffect)((function(){o.current=t?o.current:e}),[e,t]),o.current}}),457,[26,153,444,455]); +__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useSSR=function(t,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=s.i18n,c=((0,n.useContext)(r(d[1]).I18nContext)||{}).i18n,l=u||c||(0,r(d[1]).getI18n)();if(l.options&&l.options.isClone)return;t&&!l.initializedStoreOnce&&(l.services.resourceStore.data=t,l.options.ns=Object.values(t).reduce((function(n,t){return Object.keys(t).forEach((function(t){n.indexOf(t)<0&&n.push(t)})),n}),l.options.ns),l.initializedStoreOnce=!0,l.isInitialized=!0);o&&!l.initializedLanguageOnce&&(l.changeLanguage(o),l.initializedLanguageOnce=!0)};var n=r(d[0])}),458,[153,444]); +__d((function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=["initialI18nStore","initialLanguage"];Object.defineProperty(e,"__esModule",{value:!0}),e.withSSR=function(){return function(u){function l(l){var s=l.initialI18nStore,c=l.initialLanguage,p=t(l,n);return(0,r(d[2]).useSSR)(s,c),(0,o.createElement)(u,Object.assign({},p))}return l.getInitialProps=(0,r(d[3]).composeInitialProps)(u),l.displayName=`withI18nextSSR(${(0,r(d[4]).getDisplayName)(u)})`,l.WrappedComponent=u,l}};var o=r(d[1])}),459,[119,153,458,444,455]); +__d((function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]),f=["forwardedRef"];Object.defineProperty(e,"__esModule",{value:!0}),e.withTranslation=function(s){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(c){function l(l){var w=l.forwardedRef,R=n(l,f),h=(0,r(d[3]).useTranslation)(s,Object.assign({},R,{keyPrefix:u.keyPrefix})),p=t(h,3),v=p[0],y=p[1],b=p[2],j=Object.assign({},R,{t:v,i18n:y,tReady:b});return u.withRef&&w?j.ref=w:!u.withRef&&w&&(j.forwardedRef=w),(0,o.createElement)(c,j)}l.displayName=`withI18nextTranslation(${(0,r(d[4]).getDisplayName)(c)})`,l.WrappedComponent=c;return u.withRef?(0,o.forwardRef)((function(t,n){return(0,o.createElement)(l,Object.assign({},t,{forwardedRef:n}))})):l}};var o=r(d[2])}),460,[26,119,153,457,455]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.AuthMode=void 0,_e.default=function(e){var c=e.navigation,f=(0,_r(d[8]).useTranslation)().t,b=(0,i.default)(),h=b.renderSnackBar,j=b.showSnackBar;(0,t.useEffect)((function(){_r(d[9]).DefaultCustomizer.setup();var e=_r(d[10]).WalletSdk.sdkVersion,t=e.rn,n=e.native;return console.log(`PW SDK version: ${t}, ${n}`),_r(d[10]).WalletSdk.addListener((function(e){_r(d[10]).WalletSdk.moveRnTaskToFront(),j(f('implement_callback_instruction'),!1),console.log(e)})),function(){_r(d[10]).WalletSdk.removeAllListeners()}}),[]);var v=function(){return(0,l.jsxs)(n.View,{style:{alignItems:'center',justifyContent:'center',width:'100%'},children:[(0,l.jsx)(n.Text,{style:_r(d[11]).commonStyles.heading,children:f("main_title")}),(0,l.jsx)(n.Text,{style:_r(d[11]).commonStyles.desc,children:f("main_subtitle")})]})},y=function(e){return(0,l.jsx)(_r(d[12]).MaterialTabBar,Object.assign({},e,{activeColor:_r(d[11]).colors.tab_focused,inactiveColor:_r(d[11]).colors.tab_unfocused,getLabelText:function(e){return e},labelStyle:_r(d[11]).commonStyles.tabText,indicatorStyle:{backgroundColor:_r(d[11]).colors.tab_focused}}))};return(0,l.jsxs)(n.SafeAreaView,{style:_r(d[11]).commonStyles.container,children:[(0,l.jsxs)(_r(d[12]).Tabs.Container,{headerContainerStyle:u.tab,renderHeader:v,renderTabBar:y,headerHeight:s,children:[(0,l.jsx)(_r(d[12]).Tabs.Tab,{name:f('tab_social'),children:(0,l.jsx)(_r(d[12]).Tabs.ScrollView,{children:(0,l.jsx)(r.default,{navigation:c,showSnackBar:j})})}),(0,l.jsx)(_r(d[12]).Tabs.Tab,{name:f('tab_email'),children:(0,l.jsx)(_r(d[12]).Tabs.ScrollView,{children:(0,l.jsx)(a.default,{navigation:c,showSnackBar:j})})}),(0,l.jsx)(_r(d[12]).Tabs.Tab,{name:f('tab_pin'),children:(0,l.jsx)(_r(d[12]).Tabs.ScrollView,{children:(0,l.jsx)(o.default,{navigation:c,showSnackBar:j})})})]}),h()]})};var 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 r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=_r(d[2]),r=e(_r(d[3])),a=e(_r(d[4])),o=e(_r(d[5])),i=e(_r(d[6])),l=_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 s=48;_e.AuthMode=(function(e){return e.social="social",e.email="email",e.pin="pin",e})({});var u=n.StyleSheet.create({container:{flex:1},header:{width:'100%',alignItems:'center',justifyContent:'center',position:'absolute'},tab:{elevation:0,backgroundColor:_r(d[11]).colors.background,borderBottomWidth:1,borderColor:_r(d[11]).colors.tab_underline},indicator:{backgroundColor:_r(d[11]).colors.tab_focused}})}),461,[1,153,2,462,499,501,504,194,443,510,465,464,529]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.navigation,f=e.showSnackBar,p=(0,_r(d[10]).useTranslation)().t,x=(0,_r(d[11]).useSelector)(_r(d[12]).selectSocialUserToken),y=(0,_r(d[11]).useSelector)(_r(d[12]).selectSocialEncryptionKey),v=(0,l.default)(f),_=v.appId,j=v.dispatchAppId,h=v.logoutAndLogin,b=v.dispatchLoginResult,S=n.useState(""),w=(0,t.default)(S,2),T=w[0],P=w[1],k=n.useState(""),O=(0,t.default)(k,2),L=O[0],I=O[1],M=function(e){return(0,r.jsx)(_r(d[13]).SocialLoginButton,{disabled:0===T.length||0===L.length,provider:e,onPressOut:function(){h(e,T,L,(function(e){b(_r(d[14]).AuthMode.social,e),f(p('login_success'),!0)}),(function(e){f(e.message,!1)}))}})};return(0,r.jsxs)(i.View,{style:_r(d[15]).commonStyles.containerWithPadding,children:[(0,r.jsx)(i.Text,{style:[_r(d[15]).commonStyles.inputTitle,{marginTop:12}],children:p("device_id_title")}),(0,r.jsx)(a.default,{accessibilityLabel:'deviceId',value:l.WalletSdk.deviceId}),(0,r.jsx)(c.default,{text:p('appid_title')}),(0,r.jsx)(o.default,{accessibilityLabel:"appIdInput",onChangeText:j,value:_}),(0,r.jsx)(c.default,{text:p('device_token_title')}),(0,r.jsx)(o.default,{accessibilityLabel:"deviceTokenInput",onChangeText:P,value:T}),(0,r.jsx)(c.default,{text:p('device_encryption_title')}),(0,r.jsx)(o.default,{accessibilityLabel:"deviceEncryptionKeyInput",onChangeText:I,value:L}),(0,r.jsxs)(i.View,{style:{flexDirection:'row',justifyContent:'center',marginTop:24,marginBottom:12},children:[(0,r.jsx)(i.View,{style:_r(d[15]).commonStyles.sectionLine}),(0,r.jsx)(i.Text,{style:_r(d[15]).commonStyles.sectionText,children:p("log_in_with_section")}),(0,r.jsx)(i.View,{style:_r(d[15]).commonStyles.sectionLine})]}),M(_r(d[16]).SocialProvider.Google),M(_r(d[16]).SocialProvider.Facebook),M(_r(d[16]).SocialProvider.Apple),null!=x&&null!=y&&(0,r.jsx)(_r(d[17]).GoExecuteButton,{accessibilityLabel:"socialGoExecuteBt",onPressOut:function(){u.navigate('Execute',{authMode:_r(d[14]).AuthMode.social})}}),(0,r.jsx)(s.default,{fullText:p('info_full_text'),linkText:p('info_link_text'),url:'https://developers.circle.com/w3s/docs/authentication-methods#create-a-wallet-with-social-logins'})]})};var t=e(_r(d[1])),n=f(_r(d[2])),i=_r(d[3]),o=e(_r(d[4])),l=f(_r(d[5])),a=e(_r(d[6])),c=e(_r(d[7])),s=e(_r(d[8])),r=_r(d[9]);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)}function f(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 i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=o?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(i,l,a):i[l]=e[l]}return i.default=e,n&&n.set(e,i),i}}),462,[1,26,153,2,463,465,484,491,492,194,443,472,483,493,461,464,467,497]); +__d((function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){return(0,t.jsx)(l.TextInput,Object.assign({},o,{multiline:!0,selectionColor:r(d[4]).colors.primaryCursor,placeholderTextColor:r(d[4]).colors.placeholder,style:r(d[4]).commonStyles.normalInputField}))};var l=r(d[1]),t=(o(r(d[2])),r(d[3]))}),463,[1,2,153,194,464]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.pagePaddingH=e.commonStyles=e.colors=void 0;var t=r(d[0]),o=e.colors={text_main:"#1A1A1A",text_auxiliary:"#3D3D3D",text_desc:"#8E8E93",placeholder:"#A3A3A3",disabled_secondary_bt_text:"#3273c3",disabled_main_bt_text:"rgba(255,255,255,0.8)",disabled_main_bt_background:"#0073C380",disabled_secondary_bt_background:"#F1F9FE",main_bt_text:"#FFFFFFFF",primary:"#0073c3",primaryCursor:"rgba(0,115,195,0.5)",main_bt_text_pressed:"#FFFFFFFF",main_bt_background_pressed:"#1AA3FF",disabled_input_background:"#F5F5F5",input_boarder_focused:"#46B5FF",input_boarder:"#E8E8E8",social_login_bt_boarder:"#CAC4D0",social_login_bt_disabled:"#1D1B201F",social_login_text:"#000000",social_login_text_disabled:"#938F99",background:"#FFFFFFFF",tab_focused:"#29233B",tab_unfocused:"#8A849C",section_text:"#8A849C",section_line:"#1118271A",tab_underline:"#1118271A",required_red:"#F55538",info_desc:"#4E4763",info_link:"#4E4763",bt_sub_text:"#6B6580",execute_challenge_screen_title:"#1D1B20",snackbar_success_bg:"#008339",snackbar_error_bg:"#FFEAEF",snackbar_error_text:"#BC0016"},n=e.pagePaddingH=16;e.commonStyles=t.StyleSheet.create({container:{flex:1,backgroundColor:o.background},containerWithPadding:{flex:1,backgroundColor:o.background,paddingHorizontal:n,paddingBottom:24},mainButton:{marginTop:24,alignItems:"center",backgroundColor:o.primary,borderRadius:56,minHeight:56,paddingVertical:8,justifyContent:"center"},secondaryButton:{marginTop:24,alignItems:"center",backgroundColor:o.background,borderColor:o.primary,borderWidth:1,borderRadius:56,minHeight:56,paddingVertical:8,justifyContent:"center"},disabledMainButton:{backgroundColor:o.disabled_main_bt_background},disabledSecondaryButton:{backgroundColor:o.disabled_secondary_bt_background,opacity:.5},disabledMainButtonText:{color:o.disabled_main_bt_text},disabledSecondaryButtonText:{color:o.disabled_secondary_bt_text},mainButtonText:{fontFamily:"Inter-Medium",color:o.main_bt_text,fontWeight:"500",fontSize:16},secondaryButtonText:{fontFamily:"Inter-Medium",color:o.primary,fontWeight:"500",fontSize:16},sectionLine:{height:1,backgroundColor:o.section_line,flexShrink:1,alignSelf:'center',flex:1},sectionText:{fontFamily:"Inter-Regular",color:o.section_text,textAlign:'center',fontWeight:"400",fontSize:14,marginHorizontal:16,alignSelf:'center',justifyContent:'center'},inputTitle:{fontFamily:"Inter-Regular",color:o.text_auxiliary,fontWeight:"400",fontSize:14,marginTop:12,marginBottom:4,flexShrink:1},switchTitle:{fontFamily:"Inter-Regular",color:o.text_main,fontWeight:"400",fontSize:16,marginTop:0},tabText:{fontFamily:"Inter-Semi-Bold",color:o.tab_focused,fontSize:14},heading:{fontFamily:"Inter-Semi-Bold",color:o.text_main,fontSize:22,marginTop:24,textAlign:'center',paddingHorizontal:n},desc:{fontFamily:"Inter-Regular",color:o.text_desc,fontSize:14,marginTop:16,marginBottom:24,textAlign:'center',paddingHorizontal:n},normalInputField:{marginTop:8,borderWidth:1,backgroundColor:o.background,borderColor:o.input_boarder,borderRadius:16,paddingHorizontal:16,paddingVertical:8,fontFamily:"Inter-Regular",color:o.text_main,fontWeight:"400",fontSize:16},normalValueText:{fontFamily:"Inter-Regular",color:o.text_main,fontWeight:"400",fontSize:16,marginTop:8,marginBottom:4,minHeight:24,flexShrink:1},disabledInputField:{borderColor:o.input_boarder,backgroundColor:o.disabled_input_background},focusedInputField:{borderColor:o.input_boarder_focused},requiredMark:{fontFamily:"Inter-Regular",color:o.required_red,borderColor:'red',fontWeight:"400",fontSize:12,marginLeft:4,flexWrap:'wrap'}})}),464,[2]); +__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=function(e){var t=(0,r(d[1]).useDispatch)(),n=(0,r(d[1]).useSelector)(r(d[2]).selectEndpoint),o=(0,r(d[1]).useSelector)(r(d[2]).selectAppId),c=(0,r(d[1]).useSelector)(r(d[2]).selectEnableBiometrics),u=function(t){r(d[0]).WalletSdk.init({endpoint:n,appId:o,settingsManagement:{enableBiometricsPin:c}}).then((function(){t()})).catch((function(t){e(t.message,!1)}))};return{endpoint:n,appId:o,enableBiometricsPin:c,dispatchEndpoint:function(e){t((0,r(d[2]).setEndpoint)(e))},dispatchAppId:function(e){t((0,r(d[2]).setAppId)(e))},dispatchEnableBiometrics:function(e){t((0,r(d[2]).setEnableBiometrics)(e))},dispatchLoginResult:function(e,n){t((0,r(d[3]).setLoginResult)({authMode:e,result:n}))},logoutAndLogin:function(e,t,n,o,c){r(d[0]).WalletSdk.performLogout(e,(function(){u((function(){r(d[0]).WalletSdk.performLogin(e,t,n,o,c)}))}),(function(e){c(e)}))},verifyOtp:function(e,t,n,o,c){u((function(){r(d[0]).WalletSdk.verifyOTP(e,t,n,o,c)}))},execute:function(e,t,n,o,c){u((function(){r(d[0]).WalletSdk.execute(e,t,[n],o,c)}))},setBiometricsPin:function(e,t,n,o){u((function(){r(d[0]).WalletSdk.setBiometricsPin(e,t,n,o)}))}}},Object.keys(r(d[0])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||t in _e&&_e[t]===r(d[0])[t]||Object.defineProperty(_e,t,{enumerable:!0,get:function(){return r(d[0])[t]}}))}))}),465,[466,472,475,483]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DateFormat",{enumerable:!0,get:function(){return r(d[0]).DateFormat}}),Object.defineProperty(e,"ErrorCode",{enumerable:!0,get:function(){return r(d[0]).ErrorCode}}),Object.defineProperty(e,"IconTextConfig",{enumerable:!0,get:function(){return r(d[0]).IconTextConfig}}),Object.defineProperty(e,"IconTextsKey",{enumerable:!0,get:function(){return r(d[0]).IconTextsKey}}),Object.defineProperty(e,"ImageKey",{enumerable:!0,get:function(){return r(d[0]).ImageKey}}),Object.defineProperty(e,"InputType",{enumerable:!0,get:function(){return r(d[0]).InputType}}),Object.defineProperty(e,"SecurityQuestion",{enumerable:!0,get:function(){return r(d[0]).SecurityQuestion}}),Object.defineProperty(e,"TextConfig",{enumerable:!0,get:function(){return r(d[0]).TextConfig}}),Object.defineProperty(e,"TextKey",{enumerable:!0,get:function(){return r(d[0]).TextKey}}),Object.defineProperty(e,"TextsKey",{enumerable:!0,get:function(){return r(d[0]).TextsKey}}),Object.defineProperty(e,"WalletSdk",{enumerable:!0,get:function(){return r(d[1]).WalletSdk}})}),466,[467,468]); +__d((function(g,r,i,a,m,e,d){var c=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextsKey=e.TextKey=e.TextConfig=e.SocialProvider=e.SecurityQuestion=e.InputType=e.ImageKey=e.IconTextsKey=e.IconTextConfig=e.ExecuteResultType=e.ExecuteResultStatus=e.ExecuteEvent=e.ErrorCode=e.DateFormat=void 0;var _=c(r(d[1])),t=c(r(d[2]));e.TextsKey=(function(c){return c.newPinCodeHeadline="newPinCodeHeadline",c.enterPinCodeHeadline="enterPinCodeHeadline",c.securityIntroHeadline="securityIntroHeadline",c.securityIntroLink="securityIntroLink",c.securityQuestionHeaders="securityQuestionHeaders",c.securitySummaryQuestionHeaders="securitySummaryQuestionHeaders",c.recoverPinCodeHeadline="recoverPinCodeHeadline",c})({}),e.IconTextsKey=(function(c){return c.securityConfirmationItems="securityConfirmationItems",c})({}),e.TextKey=(function(c){return c.circlepw_continue="circlepw_continue",c.circlepw_next="circlepw_next",c.circlepw_skip="circlepw_skip",c.circlepw_question_label="circlepw_question_label",c.circlepw_answer_label="circlepw_answer_label",c.circlepw_hint_label="circlepw_hint_label",c.circlepw_hint_tag="circlepw_hint_tag",c.circlepw_confirm="circlepw_confirm",c.circlepw_pin_remain_attemps_template="circlepw_pin_remain_attemps_template",c.circlepw_pin_lock_period_template="circlepw_pin_lock_period_template",c.circlepw_answer_remain_attemps_template="circlepw_answer_remain_attemps_template",c.circlepw_answer_lock_period_template="circlepw_answer_lock_period_template",c.circlepw_pin_digit_config="circlepw_pin_digit_config",c.circlepw_pincode_error_config="circlepw_pincode_error_config",c.circlepw_enter_pincode_subhead="circlepw_enter_pincode_subhead",c.circlepw_enter_pincode_forgot_pin="circlepw_enter_pincode_forgot_pin",c.circlepw_enter_pincode_use_biometrics="circlepw_enter_pincode_use_biometrics",c.circlepw_new_pincode_subhead="circlepw_new_pincode_subhead",c.circlepw_confirm_pincode_headline="circlepw_confirm_pincode_headline",c.circlepw_confirm_pincode_subhead="circlepw_confirm_pincode_subhead",c.circlepw_security_intros_description="circlepw_security_intros_description",c.circlepw_security_questions_title="circlepw_security_questions_title",c.circlepw_security_questions_required_mark="circlepw_security_questions_required_mark",c.circlepw_security_questions_question_placeholder="circlepw_security_questions_question_placeholder",c.circlepw_security_questions_answer_header="circlepw_security_questions_answer_header",c.circlepw_security_questions_answer_placeholder="circlepw_security_questions_answer_placeholder",c.circlepw_security_questions_answer_hint_header="circlepw_security_questions_answer_hint_header",c.circlepw_security_questions_answer_hint_placeholder="circlepw_security_questions_answer_hint_placeholder",c.circlepw_security_questions_answer_input_config="circlepw_security_questions_answer_input_config",c.circlepw_security_questions_answer_hint_input_config="circlepw_security_questions_answer_hint_input_config",c.circlepw_security_questions_question_input_config="circlepw_security_questions_question_input_config",c.circlepw_security_questions_error_config="circlepw_security_questions_error_config",c.circlepw_select_question_title="circlepw_select_question_title",c.circlepw_select_question_item_config="circlepw_select_question_item_config",c.circlepw_security_summary_title="circlepw_security_summary_title",c.circlepw_security_summary_question_value_config="circlepw_security_summary_question_value_config",c.circlepw_security_summary_answer_value_config="circlepw_security_summary_answer_value_config",c.circlepw_security_summary_hint_value_config="circlepw_security_summary_hint_value_config",c.circlepw_security_confirm_title="circlepw_security_confirm_title",c.circlepw_security_confirm_headline="circlepw_security_confirm_headline",c.circlepw_security_confirm_input_headline="circlepw_security_confirm_input_headline",c.circlepw_security_confirm_input_config="circlepw_security_confirm_input_config",c.circlepw_security_confirm_input_placeholder="circlepw_security_confirm_input_placeholder",c.circlepw_security_confirm_input_match="circlepw_security_confirm_input_match",c.circlepw_recover_pincode_answer_input_header="circlepw_recover_pincode_answer_input_header",c.circlepw_recover_pincode_answer_input_placeholder="circlepw_recover_pincode_answer_input_placeholder",c.circlepw_recover_pincode_input_config="circlepw_recover_pincode_input_config",c.circlepw_recover_pincode_answer_hint_config="circlepw_recover_pincode_answer_hint_config",c.circlepw_recover_pincode_error_config="circlepw_recover_pincode_error_config",c.circlepw_recover_pincode_question_config="circlepw_recover_pincode_question_config",c.circlepw_pin_biometrics_allow_title="circlepw_pin_biometrics_allow_title",c.circlepw_pin_biometrics_allow_subtitle="circlepw_pin_biometrics_allow_subtitle",c.circlepw_pin_biometrics_disable="circlepw_pin_biometrics_disable",c.circlepw_pin_biometrics_encrypt_title="circlepw_pin_biometrics_encrypt_title",c.circlepw_pin_biometrics_encrypt_subtitle="circlepw_pin_biometrics_encrypt_subtitle",c.circlepw_pin_biometrics_encrypt_desc="circlepw_pin_biometrics_encrypt_desc",c.circlepw_pin_biometrics_encrypt_negative_text="circlepw_pin_biometrics_encrypt_negative_text",c.circlepw_pin_biometrics_decrypt_title="circlepw_pin_biometrics_decrypt_title",c.circlepw_pin_biometrics_decrypt_subtitle="circlepw_pin_biometrics_decrypt_subtitle",c.circlepw_pin_biometrics_decrypt_desc="circlepw_pin_biometrics_decrypt_desc",c.circlepw_pin_biometrics_decrypt_negative_text="circlepw_pin_biometrics_decrypt_negative_text",c.circlepw_pin_biometrics_update_title="circlepw_pin_biometrics_update_title",c.circlepw_pin_biometrics_update_subtitle="circlepw_pin_biometrics_update_subtitle",c.circlepw_alert_pop_window_title="circlepw_alert_pop_window_title",c.circlepw_alert_pop_window_description_config="circlepw_alert_pop_window_description_config",c.circlepw_alert_pop_window_confirm="circlepw_alert_pop_window_confirm",c.circlepw_swipe_confirm_headline="circlepw_swipe_confirm_headline",c.circlepw_swipe_confirm_subhead="circlepw_swipe_confirm_subhead",c.circlepw_swipe_to_confirm="circlepw_swipe_to_confirm",c.circlepw_swipe_bt_confirming="circlepw_swipe_bt_confirming",c.circlepw_swipe_bt_confirmed="circlepw_swipe_bt_confirmed",c.circlepw_swipe_bt_try_again="circlepw_swipe_bt_try_again",c.circlepw_transaction_request_title="circlepw_transaction_request_title",c.circlepw_transaction_request_subtitle="circlepw_transaction_request_subtitle",c.circlepw_transaction_request_main_currency="circlepw_transaction_request_main_currency",c.circlepw_transaction_request_exchange_value="circlepw_transaction_request_exchange_value",c.circlepw_transaction_request_from_label="circlepw_transaction_request_from_label",c.circlepw_transaction_request_from="circlepw_transaction_request_from",c.circlepw_transaction_request_to_label="circlepw_transaction_request_to_label",c.circlepw_transaction_request_to_config="circlepw_transaction_request_to_config",c.circlepw_transaction_request_to_contract_name="circlepw_transaction_request_to_contract_name",c.circlepw_transaction_request_to_contract_url="circlepw_transaction_request_to_contract_url",c.circlepw_transaction_request_network_fee_label="circlepw_transaction_request_network_fee_label",c.circlepw_transaction_request_network_fee="circlepw_transaction_request_network_fee",c.circlepw_transaction_request_exchange_network_fee="circlepw_transaction_request_exchange_network_fee",c.circlepw_transaction_request_total_label="circlepw_transaction_request_total_label",c.circlepw_transaction_request_total_config="circlepw_transaction_request_total_config",c.circlepw_transaction_request_exchange_total_value="circlepw_transaction_request_exchange_total_value",c.circlepw_transaction_request_error_config="circlepw_transaction_request_error_config",c.circlepw_transaction_request_fee_tip="circlepw_transaction_request_fee_tip",c.circlepw_contract_interaction_contract_address_label="circlepw_contract_interaction_contract_address_label",c.circlepw_contract_interaction_contract_address_config="circlepw_contract_interaction_contract_address_config",c.circlepw_contract_interaction_data_details="circlepw_contract_interaction_data_details",c.circlepw_contract_interaction_abi_function_label="circlepw_contract_interaction_abi_function_label",c.circlepw_contract_interaction_abi_function_config="circlepw_contract_interaction_abi_function_config",c.circlepw_contract_interaction_abi_parameter_label="circlepw_contract_interaction_abi_parameter_label",c.circlepw_contract_interaction_call_data_label="circlepw_contract_interaction_call_data_label",c.circlepw_contract_interaction_call_data_config="circlepw_contract_interaction_call_data_config",c.circlepw_transaction_request_raw_tx_description="circlepw_transaction_request_raw_tx_description",c.circlepw_transaction_request_raw_tx_config="circlepw_transaction_request_raw_tx_config",c.circlepw_signature_request_title="circlepw_signature_request_title",c.circlepw_signature_request_contract_name="circlepw_signature_request_contract_name",c.circlepw_signature_request_contract_url="circlepw_signature_request_contract_url",c.circlepw_signature_request_subtitle="circlepw_signature_request_subtitle",c.circlepw_signature_request_description="circlepw_signature_request_description",c.circlepw_signature_request_msg_config="circlepw_signature_request_msg_config",c.circlepw_sign="circlepw_sign",c.circlepw_try_again="circlepw_try_again",c.circlepw_email_otp_title="circlepw_email_otp_title",c.circlepw_email_otp_description="circlepw_email_otp_description",c.circlepw_email_otp_email="circlepw_email_otp_email",c.circlepw_email_otp_head_config="circlepw_email_otp_head_config",c.circlepw_email_otp_dash="circlepw_email_otp_dash",c.circlepw_email_otp_send_again_hint="circlepw_email_otp_send_again_hint",c.circlepw_email_otp_send_again="circlepw_email_otp_send_again",c})({}),e.ImageKey=(function(c){return c.naviBack="back",c.naviClose="close",c.securityIntroMain="securityIntroMain",c.selectCheckMark="selectCheckMark",c.dropdownArrow="dropdownArrow",c.errorInfo="errorInfo",c.securityConfirmMain="securityConfirmMain",c.biometricsAllowMain="biometricsAllowMain",c.showPin="showPin",c.hidePin="hidePin",c.alertWindowIcon="alertWindowIcon",c.transactionTokenIcon="transactionTokenIcon",c.networkFeeTipIcon="networkFeeTipIcon",c.showLessDetailArrow="showLessDetailArrow",c.showMoreDetailArrow="showMoreDetailArrow",c.requestIcon="requestIcon",c})({}),e.DateFormat=(function(c){return c.YYYYMMDD_HYPHEN="yyyy-MM-dd",c.DDMMYYYY_SLASH="dd/MM/yyyy",c.MMDDYYYY_SLASH="MM/dd/yyyy",c})({}),e.ErrorCode=(function(c){return c.unknown="-1",c.success="0",c.apiParameterMissing="1",c.apiParameterInvalid="2",c.forbidden="3",c.unauthorized="4",c.retry="9",c.customerSuspended="10",c.pending="11",c.invalidSession="12",c.invalidPartnerId="13",c.invalidMessage="14",c.invalidPhone="15",c.walletIdNotFound="156001",c.tokenIdNotFound="156002",c.transactionIdNotFound="156003",c.walletSetIdNotFound="156004",c.notEnoughFounds="155201",c.notEnoughBalance="155202",c.exceedWithdrawLimit="155203",c.minimumFundsRequired="155204",c.invalidTransactionFee="155205",c.rejectedOnAmlScreening="155206",c.tagRequired="155207",c.gasLimitTooLow="155208",c.transactionDataNotEncodedProperly="155209",c.fullNodeReturnedError="155210",c.walletSetupRequired="155211",c.lowerThenMinimumAccountBalance="155212",c.rejectedByBlockchain="155213",c.droppedAsPartOfReorg="155214",c.operationNotSupport="155215",c.amountBelowMinimum="155216",c.wrongNftTokenIdNumber="155217",c.invalidDestinationAddress="155218",c.tokenWalletChainMismatch="155219",c.wrongAmountsNumber="155220",c.userAlreadyExisted="155101",c.userNotFound="155102",c.userTokenNotFound="155103",c.userTokenExpired="155104",c.invalidUserToken="155105",c.userWasInitialized="155106",c.userHasSetPin="155107",c.userHasSetSecurityQuestion="155108",c.userWasDisabled="155109",c.userDoesNotSetPinYet="155110",c.userDoesNotSetSecurityQuestionYet="155111",c.incorrectUserPin="155112",c.incorrectDeviceId="155113",c.incorrectAppId="155114",c.incorrectSecurityAnswers="155115",c.invalidChallengeId="155116",c.invalidApproveContent="155117",c.invalidEncryptionKey="155118",c.userPinLocked="155119",c.securityAnswersLocked="155120",c.walletIsFrozen="155501",c.maxWalletLimitReached="155502",c.walletSetIdMutuallyExclusive="155503",c.metadataUnmatched="155504",c.userCanceled="155701",c.launchUiFailed="155702",c.pinCodeNotMatched="155703",c.insecurePinCode="155704",c.hintsMatchAnswers="155705",c.networkError="155706",c.biometricsSettingNotEnabled="155708",c.deviceNotSupportBiometrics="155709",c.biometricsKeyPermanentlyInvalidated="155710",c.biometricsUserSkip="155711",c.biometricsUserDisableForPin="155712",c.biometricsUserLockout="155713",c.biometricsUserLockoutPermanent="155714",c.biometricsUserNotAllowPermission="155715",c.biometricsInternalError="155716",c.userSecretMissing="155717",c.invalidUserTokenFormat="155718",c.userTokenMismatch="155719",c.socialLoginFailed="155720",c.loginInfoMissing="155721",c})({}),e.SecurityQuestion=(0,_.default)((function c(_,n){(0,t.default)(this,c),this.title=_,this.inputType=n})),e.IconTextConfig=(0,_.default)((function c(_,n){(0,t.default)(this,c),this.image=_,this.textConfig=n})),e.TextConfig=(0,_.default)((function c(_,n,o){(0,t.default)(this,c),this.text=_,Array.isArray(n)?this.gradientColors=n:this.textColor=n,this.font=o})),e.ExecuteResultStatus=(function(c){return c.UNKNOWN="UNKNOWN",c.PENDING="PENDING",c.IN_PROGRESS="IN_PROGRESS",c.COMPLETE="COMPLETE",c.FAILED="FAILED",c.EXPIRED="EXPIRED",c})({}),e.ExecuteEvent=(function(c){return c.forgotPin="forgotPin",c.resendOtp="resendOtp",c})({}),e.ExecuteResultType=(function(c){return c.UNKNOWN="UNKNOWN",c.SET_PIN="SET_PIN",c.RESTORE_PIN="RESTORE_PIN",c.SET_SECURITY_QUESTIONS="SET_SECURITY_QUESTIONS",c.CREATE_WALLET="CREATE_WALLET",c.CREATE_TRANSACTION="CREATE_TRANSACTION",c.ACCELERATE_TRANSACTION="ACCELERATE_TRANSACTION",c.CANCEL_TRANSACTION="CANCEL_TRANSACTION",c.CONTRACT_EXECUTION="CONTRACT_EXECUTION",c.SIGN_MESSAGE="SIGN_MESSAGE",c.SIGN_TYPEDDATA="SIGN_TYPEDDATA",c.SET_BIOMETRICS_PIN="SET_BIOMETRICS_PIN",c})({}),e.InputType=(function(c){return c.text="text",c.datePicker="datePicker",c})({}),e.SocialProvider=(function(c){return c.Google="Google",c.Facebook="Facebook",c.Apple="Apple",c})({})}),467,[1,6,5]); +__d((function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.WalletSdk=void 0;var t=e(r(d[1])),n=e(r(d[2])),o=r(d[3]),s=e(r(d[4])),c=o.NativeModules.ReactNativeEventEmitter;if(!n.default)throw new Error("NativeModule: ProgrammablewalletRnSdkModule is null.");var f,u,l,v='ios'===o.Platform.OS?new o.NativeEventEmitter(c):o.DeviceEventEmitter,h='CirclePwOnEvent',p='CirclePwOnSuccess',C='CirclePwOnError';_e.WalletSdk=(u=n.default.getConstants(),l="Circle-Programmable-Wallet-SDK-RN/"+s.default.version,{sdkVersion:{native:u.sdkVersion,rn:s.default.version},deviceId:'ios'===o.Platform.OS?u.deviceId:null!=(f=n.default.getDeviceId())?f:u.deviceId,init:function(e){var t=n.default.initSdk(e);return n.default.setCustomUserAgent(l),t},setSecurityQuestions:function(e){n.default.setSecurityQuestions(e)},addListener:function(e){v.addListener(h,e)},removeAllListeners:function(){v.removeAllListeners(h)},getDeviceId:function(){var e;return'ios'===o.Platform.OS?u.deviceId:null!=(e=n.default.getDeviceId())?e:u.deviceId},execute:function(e,t,o,s,c){v.addListener(p,s),v.addListener(C,c),n.default.execute(e,t,o).then((function(e){s(e)})).catch((function(e){c(e)})).finally((function(){v.removeAllListeners(p),v.removeAllListeners(C)}))},setBiometricsPin:function(e,t,o,s){v.addListener(p,o),v.addListener(C,s),n.default.setBiometricsPin(e,t).then((function(e){o(e)})).catch((function(e){s(e)})).finally((function(){v.removeAllListeners(p),v.removeAllListeners(C)}))},performLogin:function(e,t,o,s,c){n.default.performLogin(e,t,o).then((function(e){s(e)})).catch((function(e){c(e)}))},verifyOTP:function(e,t,o,s,c){v.addListener(C,c),n.default.verifyOTP(e,t,o).then((function(e){s(e)})).catch((function(e){c(e)})).finally((function(){v.removeAllListeners(C)}))},performLogout:function(e,t,o){n.default.performLogout(e).then((function(){t()})).catch((function(e){o(e)}))},setDismissOnCallbackMap:function(e){try{n.default.setDismissOnCallbackMap(Object.fromEntries(e))}catch(e){console.error(e)}},moveTaskToFront:function(){n.default.moveTaskToFront()},moveRnTaskToFront:function(){n.default.moveRnTaskToFront()},setTextConfigsMap:function(e){try{n.default.setTextConfigsMap(Object.fromEntries(e))}catch(e){console.error(e)}},setIconTextConfigsMap:function(e){try{var o={};for(var s of e){var c=(0,t.default)(s,2),f=c[0],u=c[1],l=[];for(var v of u){var h=L(v.image);l.push({image:h,textConfig:v.textConfig})}o[f]=l}n.default.setIconTextConfigsMap(o)}catch(e){console.error(e)}},setTextConfigMap:function(e){try{n.default.setTextConfigMap(Object.fromEntries(e))}catch(e){console.error(e)}},setImageMap:function(e){try{var o={};for(var s of e){var c=(0,t.default)(s,2),f=c[0],u=L(c[1]);null!=u&&(o[f]=u)}n.default.setImageMap(o)}catch(e){console.error(e)}},setDateFormat:function(e){n.default.setDateFormat(e)},setDebugging:function(e){n.default.setDebugging(e)},setCustomUserAgent:function(e){n.default.setCustomUserAgent(l+' | '+e)},setErrorStringMap:function(e){try{n.default.setErrorStringMap(Object.fromEntries(e))}catch(e){console.error(e)}}});function L(e){if(!e)return null;var t=o.Image.resolveAssetSource(e);return t&&t.uri?t.uri:null}}),468,[1,26,469,2,471]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n="The package '@circle-fin/w3s-pw-react-native-sdk' doesn't seem to be linked. Make sure: \n\n"+t.Platform.select({ios:'- You have run \'pod install\'\n',default:''})+"- You rebuilt the app after installing the package\n- You are not using Expo Go\n",o=null!=g.__turboModuleProxy?r(d[1]).default:t.NativeModules.ProgrammablewalletRnSdk,l=o||new Proxy({},{get:function(){throw new Error(n)}});e.default=l}),469,[2,470]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]);e.default=l.TurboModuleRegistry.getEnforcing('ProgrammablewalletRnSdk')}),470,[2]); +__d((function(e,t,i,r,s,n,l){s.exports={name:"@circle-fin/w3s-pw-react-native-sdk",version:"1.1.0",description:"React Native SDK for Circle Programmable Wallet",main:"lib/commonjs/index",module:"lib/module/index",types:"lib/typescript/src/index.d.ts","react-native":"src/index",source:"src/index",files:["src","lib","android","ios","*.podspec","COPYRIGHT","!ios/build","!android/build","!android/gradle","!android/gradlew","!android/gradlew.bat","!android/local.properties","!**/__tests__","!**/__fixtures__","!**/__mocks__","!**/.*"],scripts:{example:"yarn workspace @circle-fin/w3s-pw-react-native-sdk-example",test:"jest",typecheck:"tsc --noEmit",lint:"eslint \"**/*.{js,ts,tsx}\"",clean:"del-cli android/build example/android/build example/android/app/build example/ios/build lib",prepare:"bob build",release:"release-it","pod-install-new":"RCT_NEW_ARCH_ENABLED=1 bundle exec pod install","publish:sdk":"npm publish --registry https://registry.npmjs.org/"},keywords:["circle","circle.com","usdc","euroc","stablecoins","programmable wallets","react-native","rn","ios","android"],author:"Circle Internet Financial, LTD.",license:"Apache-2.0",bugs:{url:"https://github.com/circlefin/w3s-react-native-sdk/issues"},homepage:"https://github.com/circlefin/w3s-react-native-sdk#readme",publishConfig:{registry:"https://registry.npmjs.org/"},devDependencies:{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.72.2","@release-it/conventional-changelog":"^8.0.1","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest",commitlint:"^17.0.2","del-cli":"^5.0.0",eslint:"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"latest",jest:"^28.1.1","pod-install":"^0.1.0",prettier:"^2.0.5",react:"18.2.0","react-native":"0.72.7","react-native-builder-bob":"^0.20.0","release-it":"^17.1.1",turbo:"^1.10.7",typedoc:"^0.25.4",typescript:"^5.0.2"},resolutions:{"@types/react":"17.0.21"},peerDependencies:{react:"*","react-native":"*"},jest:{preset:"react-native",modulePathIgnorePatterns:["/example/node_modules","/lib/"]},commitlint:{extends:["@commitlint/config-conventional"]},"release-it":{git:{commitMessage:"chore: release ${version}",tagName:"v${version}"},npm:{publish:!0},github:{release:!0},plugins:{"@release-it/conventional-changelog":{preset:"angular"}}},eslintConfig:{root:!0,extends:["@react-native","prettier"],rules:{"prettier/prettier":["error",{quoteProps:"consistent",singleQuote:!0,tabWidth:2,trailingComma:"es5",useTabs:!1}]}},eslintIgnore:["node_modules/","lib/"],prettier:{quoteProps:"consistent",singleQuote:!0,tabWidth:2,trailingComma:"es5",useTabs:!1},"react-native-builder-bob":{source:"src",output:"lib",targets:["commonjs","module",["typescript",{project:"tsconfig.build.json"}]]},codegenConfig:{name:"RNProgrammablewalletRnSdkSpec",type:"modules",jsSrcsDir:"src"}}}),471,[]); +__d((function(g,_r,_i,_a2,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.connect=_e.batch=_e.ReactReduxContext=_e.Provider=void 0,_e.createDispatchHook=Re,_e.createSelectorHook=N,_e.createStoreHook=Ne,_e.shallowEqual=le,_e.useStore=_e.useSelector=_e.useDispatch=void 0;var t=e(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),u=o;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var i=Object.defineProperty,c=Object.defineProperties,f=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,v=function(e,t,r){return t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},y=function(e,t){for(var r in t||(t={}))p.call(t,r)&&v(e,r,t[r]);if(s)for(var r of s(t))l.call(t,r)&&v(e,r,t[r]);return e},b=function(e,t){return c(e,f(t))},S=function(e,t){var r={};for(var n in e)p.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&l.call(e,n)&&(r[n]=e[n]);return r},h="default"in u?u.default:u,P=Symbol.for("react-redux-context"),O="undefined"!=typeof globalThis?globalThis:{};function w(){var e;if(!h.createContext)return{};var t=null!=(e=O[P])?e:O[P]=new Map,r=t.get(h.createContext);return r||(r=h.createContext(null),t.set(h.createContext,r)),r}var x=_e.ReactReduxContext=w(),C=function(){throw new Error("uSES not initialized!")};function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x;return function(){return h.useContext(e)}}var j=M(),E=C,T=function(e,t){return e===t};function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=e===x?j:M(e),r=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="function"==typeof r?{equalityFn:r}:r,u=o.equalityFn,a=void 0===u?T:u,i=o.devModeChecks,c=void 0===i?{}:i,f=t(),s=f.store,p=f.subscription,l=f.getServerState,v=f.stabilityCheck,y=(f.identityFunctionCheck,h.useRef(!0),h.useCallback((0,n.default)({},e.name,(function(t){return e(t)}))[e.name],[e,v,c.stabilityCheck])),b=E(p.addNestedSub,s.getState,l||s.getState,y,a);return h.useDebugValue(b),b};return Object.assign(r,{withTypes:function(){return r}}),r}_e.useSelector=N();var k=Symbol.for("react.element"),R=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),F=Symbol.for("react.context"),W=Symbol.for("react.server_context"),B=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),L=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),B),V=z;function A(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case k:var r=e.type;switch(r){case q:case $:case D:case H:case U:return r;default:var n=r&&r.$$typeof;switch(n){case W:case F:case B:case I:case z:case _:return n;default:return t}}case R:return t}}}function G(e,t,r,n,o){var u,a,i,c,f,s=o.areStatesEqual,p=o.areOwnPropsEqual,l=o.areStatePropsEqual,v=!1;function y(o,v){var y,b,S=!p(v,a),h=!s(o,u,v,a);return u=o,a=v,S&&h?(i=e(u,a),t.dependsOnOwnProps&&(c=t(n,a)),f=r(i,c,a)):S?(e.dependsOnOwnProps&&(i=e(u,a)),t.dependsOnOwnProps&&(c=t(n,a)),f=r(i,c,a)):h?(y=e(u,a),b=!l(y,i),i=y,b&&(f=r(i,c,a)),f):f}return function(o,s){return v?y(o,s):(i=e(u=o,a=s),c=t(n,a),f=r(i,c,a),v=!0,f)}}function J(e,t){var r=t,n=r.initMapStateToProps,o=r.initMapDispatchToProps,u=r.initMergeProps,a=S(r,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);return G(n(e,a),o(e,a),u(e,a),e,a)}function K(e,t){var r={},n=function(){var n=e[o];"function"==typeof n&&(r[o]=function(){return t(n.apply(void 0,arguments))})};for(var o in e)n();return r}function Q(e){return function(t){var r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function X(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Y(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=X(e);var o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=X(o),o=n(t,r)),o},n}}function Z(e,t){return function(r,n){throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function ee(e){return e&&"object"==typeof e?Q((function(t){return K(e,t)})):e?"function"==typeof e?Y(e):Z(e,"mapDispatchToProps"):Q((function(e){return{dispatch:e}}))}function te(e){return e?"function"==typeof e?Y(e):Z(e,"mapStateToProps"):Q((function(){return{}}))}function re(e,t,r){return y(y(y({},r),e),t)}function ne(e){return function(t,r){r.displayName;var n,o=r.areMergedPropsEqual,u=!1;return function(t,r,a){var i=e(t,r,a);return u?o(i,n)||(n=i):(u=!0,n=i),n}}}function oe(e){return e?"function"==typeof e?ne(e):Z(e,"mergeProps"):function(){return re}}function ue(e){e()}var ae={notify:function(){},get:function(){return[]}};function ie(e,t){var r,n=ae,o=0,u=!1;function a(){f.onStateChange&&f.onStateChange()}function i(){var u,i;o++,r||(r=t?t.addNestedSub(a):e.subscribe(a),u=null,i=null,n={clear:function(){u=null,i=null},notify:function(){ue((function(){for(var e=u;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=u;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,r=i={callback:e,next:null,prev:i};return r.prev?r.prev.next=r:u=r,function(){t&&null!==u&&(t=!1,r.next?r.next.prev=r.prev:i=r.prev,r.prev?r.prev.next=r.next:u=r.next)}}})}function c(){o--,r&&0===o&&(r(),r=void 0,n.clear(),n=ae)}var f={addNestedSub:function(e){i();var t=n.subscribe(e),r=!1;return function(){r||(r=!0,t(),c())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:a,isSubscribed:function(){return u},trySubscribe:function(){u||(u=!0,i())},tryUnsubscribe:function(){u&&(u=!1,c())},getListeners:function(){return n}};return f}var ce=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),fe="undefined"!=typeof navigator&&"ReactNative"===navigator.product,se=ce||fe?h.useLayoutEffect:h.useEffect;function pe(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function le(e,t){if(pe(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o3&&void 0!==arguments[3]?arguments[3]:{},a=(u.pure,u.areStatesEqual),i=void 0===a?Te:a,c=u.areOwnPropsEqual,f=void 0===c?le:c,s=u.areStatePropsEqual,p=void 0===s?le:s,l=u.areMergedPropsEqual,v=void 0===l?le:l,P=u.forwardRef,O=void 0!==P&&P,w=u.context,C=void 0===w?x:w,M=te(e),j=ee(n),E=oe(o),T=Boolean(e);return function(e){var n=e.displayName||e.name||"Component",o=`Connect(${n})`,u={shouldHandleStateChanges:T,displayName:o,wrappedComponentName:n,WrappedComponent:e,initMapStateToProps:M,initMapDispatchToProps:j,initMergeProps:E,areStatesEqual:i,areStatePropsEqual:p,areOwnPropsEqual:f,areMergedPropsEqual:v};function a(n){var o=h.useMemo((function(){var e=n,t=e.reactReduxForwardedRef,r=S(e,["reactReduxForwardedRef"]);return[n.context,t,r]}),[n]),a=(0,t.default)(o,3),i=a[0],c=a[1],f=a[2],s=h.useMemo((function(){var e=C;return null==i||i.Consumer,e}),[i,C]),p=h.useContext(s),l=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),v=Boolean(p)&&Boolean(p.store),P=l?n.store:p.store,O=v?p.getServerState:P.getState,w=h.useMemo((function(){return J(P.dispatch,u)}),[P]),x=h.useMemo((function(){if(!T)return Me;var e=ie(P,l?void 0:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,l,p]),M=(0,t.default)(x,2),j=M[0],E=M[1],N=h.useMemo((function(){return l?p:b(y({},p),{subscription:j})}),[l,p,j]),k=h.useRef(void 0),R=h.useRef(f),q=h.useRef(void 0),D=h.useRef(!1),$=h.useRef(!1),_=h.useRef(void 0);se((function(){return $.current=!0,function(){$.current=!1}}),[]);var F,W,B,H,U=h.useMemo((function(){return function(){return q.current&&f===R.current?q.current:w(P.getState(),f)}}),[P,f]),z=h.useMemo((function(){return function(e){return j?Ee(T,P,j,w,R,k,D,$,q,E,e):function(){}}}),[j]);F=je,W=[R,k,D,f,q,E],se((function(){return F.apply(void 0,(0,r.default)(W))}),B);try{H=Ce(z,U,O?function(){return w(O(),f)}:U)}catch(e){throw _.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${_.current.stack}\n\n`),e}se((function(){_.current=void 0,q.current=void 0,k.current=H}));var I=h.useMemo((function(){return h.createElement(e,b(y({},H),{ref:c}))}),[c,e,H]);return h.useMemo((function(){return T?h.createElement(s.Provider,{value:N},I):I}),[s,I,N])}var c=h.memo(a);if(c.WrappedComponent=e,c.displayName=a.displayName=o,O){var s=h.forwardRef((function(e,t){return h.createElement(c,b(y({},e),{reactReduxForwardedRef:t}))}));return s.displayName=o,s.WrappedComponent=e,xe(s,e)}return xe(c,e)}};_e.Provider=function(e){var t=e.store,r=e.context,n=e.children,o=e.serverState,u=e.stabilityCheck,a=void 0===u?"once":u,i=e.identityFunctionCheck,c=void 0===i?"once":i,f=h.useMemo((function(){var e=ie(t);return{store:t,subscription:e,getServerState:o?function(){return o}:void 0,stabilityCheck:a,identityFunctionCheck:c}}),[t,o,a,c]),s=h.useMemo((function(){return t.getState()}),[t]);se((function(){var e=f.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[f,s]);var p=r||x;return h.createElement(p.Provider,{value:f},n)};function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=e===x?j:M(e),r=function(){return t().store};return Object.assign(r,{withTypes:function(){return r}}),r}var ke=_e.useStore=Ne();function Re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=e===x?ke:Ne(e),r=function(){return t().dispatch};return Object.assign(r,{withTypes:function(){return r}}),r}var qe;_e.useDispatch=Re(),_e.batch=ue;qe=_r(d[5]).useSyncExternalStoreWithSelector,E=qe,(function(e){Ce=e})(o.useSyncExternalStore)}),472,[1,26,34,170,153,473]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),473,[474]); +__d((function(_g,_r,i,_a,_m,_e,_d){ +/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +'use strict';var e=_r(_d[0]);var u="function"==typeof Object.is?Object.is:function(e,u){return e===u&&(0!==e||1/e==1/u)||e!=e&&u!=u},n=e.useSyncExternalStore,r=e.useRef,t=e.useEffect,l=e.useMemo,a=e.useDebugValue;_e.useSyncExternalStoreWithSelector=function(e,c,f,o,v){var s=r(null);if(null===s.current){var d={hasValue:!1,value:null};s.current=d}else d=s.current;s=l((function(){function e(e){if(!t){if(t=!0,n=e,e=o(e),void 0!==v&&d.hasValue){var l=d.value;if(v(l,e))return r=l}return r=e}if(l=r,u(n,e))return l;var a=o(e);return void 0!==v&&v(l,a)?l:(n=e,r=a)}var n,r,t=!1,l=void 0===f?null:f;return[function(){return e(c())},null===l?void 0:function(){return e(l())}]}),[c,f,o,v]);var S=n(e,s[0],s[1]);return t((function(){d.hasValue=!0,d.value=S}),[S]),a(S),S}}),474,[153]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.settingsSlice=e.setEndpoint=e.setEnableBiometrics=e.setAppId=e.selectEndpoint=e.selectEnableBiometrics=e.selectAppId=e.default=void 0;var t={endpoint:r(d[0]).pw_endpoint,appId:r(d[0]).pw_app_id,enableBiometrics:!1},n=e.settingsSlice=(0,r(d[1]).createSlice)({name:'settings',initialState:t,reducers:{setEndpoint:function(t,n){t.endpoint=n.payload},setAppId:function(t,n){t.appId=n.payload},setEnableBiometrics:function(t,n){t.enableBiometrics=n.payload}}}),s=n.actions;e.setEndpoint=s.setEndpoint,e.setAppId=s.setAppId,e.setEnableBiometrics=s.setEnableBiometrics,e.selectEndpoint=function(t){return t.settings.endpoint},e.selectAppId=function(t){return t.settings.appId},e.selectEnableBiometrics=function(t){return t.settings.enableBiometrics},e.default=n.reducer}),475,[476,477]); +__d((function(p,d,e,n,s,t,_){s.exports={pw_endpoint:"https://enduser-sdk.circle.com/v1/w3s/",pw_app_id:""}}),476,[]); +__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),477,[478]); +__d((function(_g,_r,_i,_a,_m,_e2,_d){"use strict";var e=_r(_d[0]),n=_r(_d[1]),t=_r(_d[2]),r=_r(_d[3]),i=_r(_d[4]),u=_r(_d[5]),o=_r(_d[6]),a=_r(_d[7]),c=_r(_d[8]),f=_r(_d[9]),s=_r(_d[10]),l=_r(_d[11]),d=_r(_d[12]),p=_r(_d[13]),v=["reducerPath"];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 h,g=Object.defineProperty,m=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,O=function(e,n,t,r){if(n&&"object"==typeof n||"function"==typeof n){var i=function(i){!b.call(e,i)&&i!==t&&g(e,i,{get:function(){return n[i]},enumerable:!(r=m(n,i))||r.enumerable})};for(var u of w(n))i(u)}return e},j={};!(function(e,n){for(var t in n)g(e,t,{get:n[t],enumerable:!0})})(j,{ReducerType:function(){return Oe},SHOULD_AUTOBATCH:function(){return X},TaskAbortError:function(){return Qe},Tuple:function(){return I},addListener:function(){return wn},asyncThunkCreator:function(){return be},autoBatchEnhancer:function(){return H},buildCreateSlice:function(){return Ae},clearAllListeners:function(){return bn},combineSlices:function(){return Dn},configureStore:function(){return K},createAction:function(){return T},createActionCreatorInvariantMiddleware:function(){return R},createAsyncThunk:function(){return ye},createDraftSafeSelector:function(){return E},createDraftSafeSelectorCreator:function(){return A},createDynamicMiddleware:function(){return Mn},createEntityAdapter:function(){return Ve},createImmutableStateInvariantMiddleware:function(){return B},createListenerMiddleware:function(){return An},createNextState:function(){return _r(_d[14]).produce},createReducer:function(){return Z},createSelector:function(){return _r(_d[15]).createSelector},createSelectorCreator:function(){return _r(_d[15]).createSelectorCreator},createSerializableStateInvariantMiddleware:function(){return q},createSlice:function(){return Se},current:function(){return _r(_d[14]).current},findNonSerializableValue:function(){return z},formatProdErrorMessage:function(){return Nn},freeze:function(){return _r(_d[14]).freeze},isActionCreator:function(){return C},isAllOf:function(){return re},isAnyOf:function(){return te},isAsyncThunkAction:function(){return se},isDraft:function(){return _r(_d[14]).isDraft},isFluxStandardAction:function(){return k},isFulfilled:function(){return fe},isImmutableDefault:function(){return N},isPending:function(){return oe},isPlain:function(){return L},isRejected:function(){return ae},isRejectedWithValue:function(){return ce},lruMemoize:function(){return _r(_d[15]).lruMemoize},miniSerializeError:function(){return ve},nanoid:function(){return ee},original:function(){return _r(_d[14]).original},prepareAutoBatched:function(){return F},removeListener:function(){return On},unwrapResult:function(){return he},weakMapMemoize:function(){return _r(_d[15]).weakMapMemoize}}),_m.exports=(h=j,O(g({},"__esModule",{value:!0}),h)),(function(e,n,t){O(e,n,"default"),t&&O(t,n,"default")})(j,_r(_d[16]),_m.exports);var A=function(){var e=_r(_d[15]).createSelectorCreator.apply(void 0,arguments),n=Object.assign((function(){var n=e.apply(void 0,arguments),t=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i-1}function R(){return function(){return function(e){return function(n){return e(n)}}}}function _(e,n){for(var t of e)if(n(t))return t}var I=(function(e,n){s(v,e);var t,r,p=(t=v,r=y(),function(){var e,n=d(t);if(r){var i=d(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return l(this,e)});function v(){var e;o(this,v);for(var n=arguments.length,t=new Array(n),r=0;r1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L,u=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0;if(!i(e))return{keyPath:t||"",value:e};if("object"!=typeof e||null===e||null!=a&&a.has(e))return!1;var c,f=null!=u?u(e):Object.entries(e),s=o.length>0,l=function(){var e=t?t+"."+v:v;if(!s||!o.some((function(n){return n instanceof RegExp?n.test(e):e===n}))){if(!i(y))return{v:{keyPath:e,value:y}};if("object"==typeof y&&(n=z(y,e,i,u,o,a)))return{v:n}}};for(var d of f){var p=r(d,2),v=p[0],y=p[1];if(c=l())return c.v}return a&&$(e)&&a.add(e),!1}function $(e){if(!Object.isFrozen(e))return!1;for(var n of Object.values(e))if("object"==typeof n&&null!==n&&!$(n))return!1;return!0}function q(){return function(){return function(e){return function(n){return e(n)}}}}function W(e){return"boolean"==typeof e}var V=function(){return function(e){var n=null!=e?e:{},t=n.thunk,r=void 0===t||t,i=(n.immutableCheck,n.serializableCheck,n.actionCreatorCheck,new I);return r&&(W(r)?i.push(_r(_d[17]).thunk):i.push((0,_r(_d[17]).withExtraArgument)(r.extraArgument))),i}},X="RTK_autoBatch",F=function(){return function(e){return{payload:e,meta:t({},X,!0)}}},U=function(e){return function(n){setTimeout(n,e)}},G=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:U(10),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return function(n){return function(){var t=n.apply(void 0,arguments),r=!0,i=!1,u=!1,o=new Set,a="tick"===e.type?queueMicrotask:"raf"===e.type?G:"callback"===e.type?e.queueNotification:U(e.timeout),c=function(){u=!1,i&&(i=!1,o.forEach((function(e){return e()})))};return Object.assign({},t,{subscribe:function(e){var n=t.subscribe((function(){return r&&e()}));return o.add(e),function(){n(),o.delete(e)}},dispatch:function(e){try{var n;return r=!(null!=e&&null!=(n=e.meta)&&n[X]),(i=!r)&&(u||(u=!0,a(c))),t.dispatch(e)}finally{r=!0}}})}}},J=function(e){return function(n){var t=(null!=n?n:{}).autoBatch,r=void 0===t||t,i=new I(e);return r&&i.push(H("object"==typeof r?r:void 0)),i}};function K(e){var n,t,r=V(),i=e||{},o=i.reducer,a=void 0===o?void 0:o,c=i.middleware,f=i.devTools,s=void 0===f||f,l=i.preloadedState,d=void 0===l?void 0:l,p=i.enhancers,v=void 0===p?void 0:p;if("function"==typeof a)n=a;else{if(!(0,_r(_d[16]).isPlainObject)(a))throw new Error(Nn(1));n=(0,_r(_d[16]).combineReducers)(a)}t="function"==typeof c?c(r):r();var y=_r(_d[16]).compose;s&&(y=S(Object.assign({trace:!1},"object"==typeof s&&s)));var h=_r(_d[16]).applyMiddleware.apply(void 0,u(t)),g=J(h),m="function"==typeof v?v(g):g(),w=y.apply(void 0,u(m));return(0,_r(_d[16]).createStore)(n,d,w)}function Q(e){var n,t={},r=[],i={addCase:function(e,n){var r="string"==typeof e?e:e.type;if(!r)throw new Error(Nn(28));if(r in t)throw new Error(Nn(29));return t[r]=n,i},addMatcher:function(e,n){return r.push({matcher:e,reducer:n}),i},addDefaultCase:function(e){return n=e,i}};return e(i),[t,r,n]}function Y(e){return"function"==typeof e}function Z(e,n){var t,i=Q(n),o=r(i,3),a=o[0],c=o[1],f=o[2];if(Y(e))t=function(){return x(e())};else{var s=x(e);t=function(){return s}}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t(),n=arguments.length>1?arguments[1]:void 0,r=[a[n.type]].concat(u(c.filter((function(e){return(0,e.matcher)(n)})).map((function(e){return e.reducer}))));return 0===r.filter((function(e){return!!e})).length&&(r=[f]),r.reduce((function(e,t){if(t){if((0,_r(_d[14]).isDraft)(e)){var r=t(e,n);return void 0===r?e:r}if((0,_r(_d[14]).isDraftable)(e))return(0,_r(_d[14]).produce)(e,(function(e){return t(e,n)}));var i=t(e,n);if(void 0===i){if(null===e)return e;throw new Error(Nn(9))}return i}return e}),e)}return l.getInitialState=t,l}var ee=function(){for(var e="",n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;n--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},ne=function(e,n){return M(e)?e.match(n):e(n)};function te(){for(var e=arguments.length,n=new Array(e),t=0;t-1;return t&&r}function ue(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function oe(){for(var e=arguments.length,n=new Array(e),t=0;t0&&void 0!==arguments[0]?arguments[0]:{}).creators,i=null==t||null==(n=t.asyncThunk)?void 0:n[we];return function(n){var t=n.name,u=n.reducerPath,o=void 0===u?t:u;if(!t)throw new Error(Nn(11));var a=("function"==typeof n.reducers?n.reducers(Me()):n.reducers)||{},c=Object.keys(a),f={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase:function(e,n){var t="string"==typeof e?e:e.type;if(!t)throw new Error(Nn(12));if(t in f.sliceCaseReducersByType)throw new Error(Nn(13));return f.sliceCaseReducersByType[t]=n,s},addMatcher:function(e,n){return f.sliceMatchers.push({matcher:e,reducer:n}),s},exposeAction:function(e,n){return f.actionCreators[e]=n,s},exposeCaseReducer:function(e,n){return f.sliceCaseReducersByName[e]=n,s}};function l(){var e="function"==typeof n.extraReducers?Q(n.extraReducers):[n.extraReducers],t=r(e,3),i=t[0],u=void 0===i?{}:i,o=t[1],a=void 0===o?[]:o,c=t[2],s=void 0===c?void 0:c,l=Object.assign({},u,f.sliceCaseReducersByType);return Z(n.initialState,(function(e){for(var n in l)e.addCase(n,l[n]);for(var t of f.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(var r of a)e.addMatcher(r.matcher,r.reducer);s&&e.addDefaultCase(s)}))}c.forEach((function(e){var r=a[e],u={reducerName:e,type:je(t,e),createNotation:"function"==typeof n.reducers};Ce(r)?Pe(u,r,s,i):Te(u,r,s)}));var d,p=function(e){return e},y=new Map;function h(e,n){return d||(d=l()),d(e,n)}function g(){return d||(d=l()),d.getInitialState()}function m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function i(n){var r=n[e];return typeof r>"u"&&t&&(r=g()),r}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,i=D(y,t,{insert:function(){return new WeakMap}});return D(i,e,{insert:function(){var i={};for(var u of Object.entries(null!=(o=n.selectors)?o:{})){var o,a=r(u,2),c=a[0],f=a[1];i[c]=Ee(f,e,g,t)}return i}})}return{reducerPath:e,getSelectors:u,get selectors(){return u(i)},selectSlice:i}}var w=Object.assign({name:t,reducer:h,actions:f.actionCreators,caseReducers:f.sliceCaseReducersByName,getInitialState:g},m(o),{injectInto:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.reducerPath,i=e(t,v),u=null!=r?r:o;return n.inject({reducerPath:u,reducer:h},i),Object.assign({},w,m(u,!0))}});return w}}function Ee(e,n,t,r){function i(i){for(var u=n(i),o=arguments.length,a=new Array(o>1?o-1:0),c=1;c"u"&&r&&(u=t()),e.apply(void 0,[u].concat(a))}return i.unwrapped=e,i}var Se=Ae();function Me(){function e(e,n){return Object.assign({_reducerDefinitionType:"asyncThunk",payloadCreator:e},n)}return e.withTypes=function(){return e},{reducer:function(e){return Object.assign(t({},e.name,(function(){return e.apply(void 0,arguments)}))[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer:function(e,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:n}},asyncThunk:e}}function Te(e,n,t){var r,i,u=e.type,o=e.reducerName,a=e.createNotation;if("reducer"in n){if(a&&!ke(n))throw new Error(Nn(17));r=n.reducer,i=n.prepare}else r=n;t.addCase(u,r).exposeCaseReducer(o,r).exposeAction(o,i?T(u,i):T(u))}function Ce(e){return"asyncThunk"===e._reducerDefinitionType}function ke(e){return"reducerWithPrepare"===e._reducerDefinitionType}function Pe(e,n,t,r){var i=e.type,u=e.reducerName;if(!r)throw new Error(Nn(18));var o=n.payloadCreator,a=n.fulfilled,c=n.pending,f=n.rejected,s=n.settled,l=r(i,o,n.options);t.exposeAction(u,l),a&&t.addCase(l.fulfilled,a),c&&t.addCase(l.pending,c),f&&t.addCase(l.rejected,f),s&&t.addMatcher(l.settled,s),t.exposeCaseReducer(u,{fulfilled:a||Re,pending:c||Re,rejected:f||Re,settled:s||Re})}function Re(){}function _e(e){return{getInitialState:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=Object.assign({ids:[],entities:{}},n);return t?e.setAll(r,t):r}}}function Ie(e){var n=xe((function(n,t){return e(t)}));return function(e){return n(e,void 0)}}function xe(e){return function(n,t){function r(e){return k(e)}var i=function(n){r(t)?e(t.payload,n):e(t,n)};return _r(_d[14]).isDraft(n)?(i(n),n):(0,_r(_d[14]).produce)(n,i)}}function De(e,n){return n(e)}function Ne(e){return Array.isArray(e)||(e=Object.values(e)),e}function Be(e){return(0,_r(_d[14]).isDraft)(e)?(0,_r(_d[14]).current)(e):e}function Le(e,n,t){e=Ne(e);var r=Be(t.ids),i=new Set(r),u=[],o=[];for(var a of e){var c=De(a,n);i.has(c)?o.push({id:c,changes:a}):u.push(a)}return[u,o,r]}function ze(e){function n(n,t){var r=De(n,e);r in t.entities||(t.ids.push(r),t.entities[r]=n)}function t(e,t){for(var r of e=Ne(e))n(r,t)}function i(n,t){var r=De(n,e);r in t.entities||t.ids.push(r),t.entities[r]=n}function u(e,n){var t=!1;e.forEach((function(e){e in n.entities&&(delete n.entities[e],t=!0)})),t&&(n.ids=n.ids.filter((function(e){return e in n.entities})))}function o(n,t,r){var i=r.entities[t.id];if(void 0===i)return!1;var u=Object.assign({},i,t.changes),o=De(u,e),a=o!==t.id;return a&&(n[t.id]=o,delete r.entities[t.id]),r.entities[o]=u,a}function a(n,t){var r={},i={};n.forEach((function(e){var n;e.id in t.entities&&(i[e.id]={id:e.id,changes:Object.assign({},null==(n=i[e.id])?void 0:n.changes,e.changes)})})),(n=Object.values(i)).length>0&&n.filter((function(e){return o(r,e,t)})).length>0&&(t.ids=Object.values(t.entities).map((function(n){return De(n,e)})))}function c(n,i){var u=Le(n,e,i),o=r(u,2),c=o[0];a(o[1],i),t(c,i)}return{removeAll:Ie((function(e){Object.assign(e,{ids:[],entities:{}})})),addOne:xe(n),addMany:xe(t),setOne:xe(i),setMany:xe((function(e,n){for(var t of e=Ne(e))i(t,n)})),setAll:xe((function(e,n){e=Ne(e),n.ids=[],n.entities={},t(e,n)})),updateOne:xe((function(e,n){return a([e],n)})),updateMany:xe(a),upsertOne:xe((function(e,n){return c([e],n)})),upsertMany:xe(c),removeOne:xe((function(e,n){return u([e],n)})),removeMany:xe(u)}}function $e(e,n,t){for(var r=0,i=e.length;r>>1;t(n,e[u])>=0?r=u+1:i=u}return r}function qe(e,n,t){var r=$e(e,n,t);return e.splice(r,0,n),e}function We(e,n){var t=ze(e),i=t.removeOne,u=t.removeMany,o=t.removeAll;function a(n,t,r){n=Ne(n);var i=new Set(null!=r?r:Be(t.ids)),u=n.filter((function(n){return!i.has(De(n,e))}));0!==u.length&&d(t,u)}function c(n,t){if(0!==(n=Ne(n)).length){for(var r of n)delete t.entities[e(r)];d(t,n)}}function f(n,t){var r=!1,i=!1;for(var u of n){var o=t.entities[u.id];if(o){r=!0,Object.assign(o,u.changes);var a=e(o);if(u.id!==a){i=!0,delete t.entities[u.id];var c=t.ids.indexOf(u.id);t.ids[c]=a,t.entities[a]=o}}}r&&d(t,[],r,i)}function s(n,t){var i=Le(n,e,t),u=r(i,3),o=u[0],c=u[1],s=u[2];c.length&&f(c,t),o.length&&a(o,t,s)}function l(e,n){if(e.length!==n.length)return!1;for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({sortComparer:!1,selectId:function(e){return e.id}},e),t=n.selectId,r=n.sortComparer,i=r?We(t,r):ze(t),u=_e(i),o={getSelectors:function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).createSelector,t=void 0===n?E:n,r=function(e){return e.ids},i=function(e){return e.entities},u=t(r,i,(function(e,n){return e.map((function(e){return n[e]}))})),o=function(e,n){return n},a=function(e,n){return e[n]},c=t(r,(function(e){return e.length}));if(!e)return{selectIds:r,selectEntities:i,selectAll:u,selectTotal:c,selectById:t(i,o,a)};var f=t(e,i);return{selectIds:t(e,r),selectEntities:f,selectAll:t(e,u),selectTotal:t(e,c),selectById:t(f,o,a)}}};return Object.assign({selectId:t,sortComparer:r},u,o,i)}var Xe="listener",Fe="completed",Ue="cancelled",Ge=`task-${Ue}`,He=`task-${Fe}`,Je=`${Xe}-${Ue}`,Ke=`${Xe}-${Fe}`,Qe=a((function e(n){o(this,e),this.name="TaskAbortError",this.code=n,this.message=`task ${Ue} (reason: ${n})`})),Ye=function(e,n){if("function"!=typeof e)throw new Error(Nn(32))},Ze=function(){},en=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ze;return e.catch(n),e},nn=function(e,n){return e.addEventListener("abort",n,{once:!0}),function(){return e.removeEventListener("abort",n)}},tn=function(e,n){var t=e.signal;t.aborted||("reason"in t||Object.defineProperty(t,"reason",{enumerable:!0,value:n,configurable:!0,writable:!0}),e.abort(n))},rn=function(e){if(e.aborted){var n=e.reason;throw new Qe(n)}};function un(e,n){var t=Ze;return new Promise((function(r,i){var u=function(){return i(new Qe(e.reason))};e.aborted?u():(t=nn(e,u),n.finally((function(){return t()})).then(r,i))})).finally((function(){t=Ze}))}var on=(function(){var e=n((function*(e,n){try{return yield Promise.resolve(),{status:"ok",value:yield e()}}catch(e){return{status:e instanceof Qe?"cancelled":"rejected",error:e}}finally{null==n||n()}}));return function(n,t){return e.apply(this,arguments)}})(),an=function(e){return function(n){return en(un(e,n).then((function(n){return rn(e),n})))}},cn=function(e){var n=an(e);return function(e){return n(new Promise((function(n){return setTimeout(n,e)})))}},fn=Object.assign,sn={},ln="listenerMiddleware",dn=function(e,t){var r=function(n){return nn(e,(function(){return tn(n,e.reason)}))};return function(i,u){Ye(i);var o=new AbortController;r(o);var a=on(n((function*(){rn(e),rn(o.signal);var n=yield i({pause:an(o.signal),delay:cn(o.signal),signal:o.signal});return rn(o.signal),n})),(function(){return tn(o,He)}));return null!=u&&u.autoJoin&&t.push(a.catch(Ze)),{result:an(e)(a),cancel:function(){tn(o,Ge)}}}},pn=function(e,t){var r=(function(){var r=n((function*(n,r){rn(t);var i=function(){},u=[new Promise((function(t,r){var u=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=function(){u(),r()}}))];null!=r&&u.push(new Promise((function(e){return setTimeout(e,r,null)})));try{var o=yield un(t,Promise.race(u));return rn(t),o}finally{i()}}));return function(e,n){return r.apply(this,arguments)}})();return function(e,n){return en(r(e,n))}},vn=function(e){var n=e.type,t=e.actionCreator,r=e.matcher,i=e.predicate,u=e.effect;if(n)i=T(n).match;else if(t)n=t.type,i=t.match;else if(r)i=r;else if(!i)throw new Error(Nn(21));return Ye(u),{predicate:i,type:n,effect:u}},yn=Object.assign((function(e){var n=vn(e),t=n.type,r=n.predicate,i=n.effect;return{id:ee(),effect:i,type:t,predicate:r,pending:new Set,unsubscribe:function(){throw new Error(Nn(22))}}}),{withTypes:function(){return yn}}),hn=function(e){e.pending.forEach((function(e){tn(e,Je)}))},gn=function(e){return function(){e.forEach(hn),e.clear()}},mn=function(e,n,t){try{e(n,t)}catch(e){setTimeout((function(){throw e}),0)}},wn=Object.assign(T(`${ln}/add`),{withTypes:function(){return wn}}),bn=T(`${ln}/removeAll`),On=Object.assign(T(`${ln}/remove`),{withTypes:function(){return On}}),jn=function(){for(var e,n=arguments.length,t=new Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Map,r=e.extra,i=e.onError,u=void 0===i?jn:i;Ye(u);var o=function(e){return e.unsubscribe=function(){return t.delete(e.id)},t.set(e.id,e),function(n){e.unsubscribe(),(null==n?void 0:n.cancelActive)&&hn(e)}},a=function(e){var n=_(Array.from(t.values()),(function(n){return n.effect===e.effect}));return n||(n=yn(e)),o(n)};Object.assign(a,{withTypes:function(){return a}});var c=function(e){var n=vn(e),r=n.type,i=n.effect,u=n.predicate,o=_(Array.from(t.values()),(function(e){return("string"==typeof r?e.type===r:e.predicate===u)&&e.effect===i}));return o&&(o.unsubscribe(),e.cancelActive&&hn(o)),!!o};Object.assign(c,{withTypes:function(){return c}});var f=(function(){var e=n((function*(e,n,i,o){var c=new AbortController,f=pn(a,c.signal),s=[];try{e.pending.add(c),yield Promise.resolve(e.effect(n,fn({},i,{getOriginalState:o,condition:function(e,n){return f(e,n).then(Boolean)},take:f,delay:cn(c.signal),pause:an(c.signal),extra:r,signal:c.signal,fork:dn(c.signal,s),unsubscribe:e.unsubscribe,subscribe:function(){t.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,t){e!==c&&(tn(e,Je),t.delete(e))}))},cancel:function(){tn(c,Je),e.pending.delete(c)},throwIfCancelled:function(){rn(c.signal)}})))}catch(e){e instanceof Qe||mn(u,e,{raisedBy:"effect"})}finally{yield Promise.all(s),tn(c,Ke),e.pending.delete(c)}}));return function(n,t,r,i){return e.apply(this,arguments)}})(),s=gn(t);return{middleware:function(e){return function(n){return function(r){if(!(0,_r(_d[16]).isAction)(r))return n(r);if(wn.match(r))return a(r.payload);if(!bn.match(r)){if(On.match(r))return c(r.payload);var i,o=e.getState(),l=function(){if(o===sn)throw new Error(Nn(23));return o};try{if(i=n(r),t.size>0){var d=e.getState(),p=Array.from(t.values());for(var v of p){var y=!1;try{y=v.predicate(r,d,o)}catch(e){y=!1,mn(u,e,{raisedBy:"predicate"})}y&&f(v,r,e,l)}}}finally{o=sn}return i}s()}}},startListening:a,stopListening:c,clearListeners:s}},En=function(e){return{id:ee(),middleware:e,applied:new Map}},Sn=function(e){return function(n){var t;return(null==n||null==(t=n.meta)?void 0:t.instanceId)===e}},Mn=function(){var e=ee(),n=new Map,t=Object.assign(T("dynamicMiddleware/add",(function(){for(var n=arguments.length,t=new Array(n),r=0;r"u"){var u=n[t.toString()];if(u){var o=u(void 0,{type:ee()});if(typeof o>"u")throw new Error(Nn(24));return o}}return i}})}})},In=function(e){if(!Pn(e))throw new Error(Nn(25));return e[kn]},xn=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}};function Dn(){for(var e=arguments.length,n=new Array(e),t=0;t1?i-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},t=e.reducerPath,a=e.reducer,c=r[t];return!n.overrideExisting&&c&&c!==a||(r[t]=a,u=i()),o},selector:a})}function Nn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}}),478,[119,339,170,26,78,34,5,6,16,10,13,15,12,76,479,480,481,482]); +__d((function(g,_r,_i3,_a2,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.applyPatches=_e.Immer=void 0,_e.castDraft=function(e){return e},_e.castImmutable=function(e){return e},_e.createDraft=void 0,_e.current=pe,_e.enableMapSet=function(){var e=(function(e,o){(0,n.default)(s,e);var i=f(s);function s(e,t){var n;return(0,u.default)(this,s),(n=i.call(this))[S]={type_:2,parent_:t,scope_:t?t.scope_:q(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:(0,r.default)(n),isManual_:!1,revoked_:!1},n}return(0,c.default)(s,[{key:"size",get:function(){return I(this[S]).size}},{key:"has",value:function(e){return I(this[S]).has(e)}},{key:"set",value:function(e,t){var r=this[S];return l(r),I(r).has(e)&&I(r).get(e)===t||(a(r),ce(r),r.assigned_.set(e,!0),r.copy_.set(e,t),r.assigned_.set(e,!0)),this}},{key:"delete",value:function(e){if(!this.has(e))return!1;var t=this[S];return l(t),a(t),ce(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0}},{key:"clear",value:function(){var e=this[S];l(e),I(e).size&&(a(e),ce(e),e.assigned_=new Map,D(e.base_,(function(t){e.assigned_.set(t,!1)})),e.copy_.clear())}},{key:"forEach",value:function(e,t){var r=this;I(this[S]).forEach((function(n,a,o){e.call(t,r.get(a),a,r)}))}},{key:"get",value:function(e){var t=this[S];l(t);var r=I(t).get(e);if(t.finalized_||!j(r))return r;if(r!==t.base_.get(e))return r;var n=le(r,t);return a(t),t.copy_.set(e,n),n}},{key:"keys",value:function(){return I(this[S]).keys()}},{key:"values",value:function(){var e=this,r=this.keys();return(0,t.default)((0,t.default)({},Symbol.iterator,(function(){return e.values()})),"next",(function(){var t=r.next();return t.done?t:{done:!1,value:e.get(t.value)}}))}},{key:"entries",value:function(){var e=this,r=this.keys();return(0,t.default)((0,t.default)({},Symbol.iterator,(function(){return e.entries()})),"next",(function(){var t=r.next();if(t.done)return t;var n=e.get(t.value);return{done:!1,value:[t.value,n]}}))}},{key:o,value:function(){return this.entries()}}]),s})((0,i.default)(Map),Symbol.iterator);function a(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}var o=(function(e,t){(0,n.default)(o,e);var a=f(o);function o(e,t){var n;return(0,u.default)(this,o),(n=a.call(this))[S]={type_:3,parent_:t,scope_:t?t.scope_:q(),modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:(0,r.default)(n),drafts_:new Map,revoked_:!1,isManual_:!1},n}return(0,c.default)(o,[{key:"size",get:function(){return I(this[S]).size}},{key:"has",value:function(e){var t=this[S];return l(t),t.copy_?!!t.copy_.has(e)||!(!t.drafts_.has(e)||!t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}},{key:"add",value:function(e){var t=this[S];return l(t),this.has(e)||(s(t),ce(t),t.copy_.add(e)),this}},{key:"delete",value:function(e){if(!this.has(e))return!1;var t=this[S];return l(t),s(t),ce(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}},{key:"clear",value:function(){var e=this[S];l(e),I(e).size&&(s(e),ce(e),e.copy_.clear())}},{key:"values",value:function(){var e=this[S];return l(e),s(e),e.copy_.values()}},{key:"entries",value:function(){var e=this[S];return l(e),s(e),e.copy_.entries()}},{key:"keys",value:function(){return this.values()}},{key:t,value:function(){return this.values()}},{key:"forEach",value:function(e,t){for(var r=this.values(),n=r.next();!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}]),o})((0,i.default)(Set),Symbol.iterator);function s(e){e.copy_||(e.copy_=new Set,e.base_.forEach((function(t){if(j(t)){var r=le(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)})))}function l(e){e.revoked_&&k(3,JSON.stringify(I(e)))}$("MapSet",{proxyMap_:function(t,r){return new e(t,r)},proxySet_:function(e,t){return new o(e,t)}})},_e.enablePatches=function(){var e="replace",t="add",r="remove";function n(n,a,o,i){var c=n.base_,s=n.assigned_,f=n.copy_;if(f.length1&&void 0!==arguments[1]&&arguments[1];return B(e)||O(e)||!j(e)||(F(e)>1&&(e.set=e.add=e.clear=e.delete=U),Object.freeze(e),t&&Object.entries(e).forEach((function(e){var t=(0,s.default)(e,2);t[0];return K(t[1],!0)}))),e}function U(){k(2)}function B(e){return Object.isFrozen(e)}var L,J={};function X(e){var t=J[e];return t||k(0),t}function $(e,t){J[e]||(J[e]=t)}function q(){return L}function G(e,t){t&&(X("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function H(e){Q(e),e.drafts_.forEach(V),e.drafts_=null}function Q(e){e===L&&(L=e.parent_)}function T(e){return L={drafts_:[],parent_:L,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function V(e){var t=e[S];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Y(e,t){t.unfinalizedDrafts_=t.drafts_.length;var r=t.drafts_[0];return void 0!==e&&e!==r?(r[S].modified_&&(H(t),k(4)),j(e)&&(e=Z(t,e),t.parent_||te(t,e)),t.patches_&&X("Patches").generateReplacementPatches_(r[S].base_,e,t.patches_,t.inversePatches_)):e=Z(t,r,[]),H(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==w?e:void 0}function Z(e,t,r){if(B(t))return t;var n=t[S];if(!n)return D(t,(function(a,o){return ee(e,n,t,a,o,r)})),t;if(n.scope_!==e)return t;if(!n.modified_)return te(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;var a=n.copy_,o=a,i=!1;3===n.type_&&(o=new Set(a),a.clear(),i=!0),D(o,(function(t,o){return ee(e,n,a,t,o,r,i)})),te(e,a,!1),r&&e.patches_&&X("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ee(e,t,r,n,a,o,i){if(O(a)){var u=Z(e,a,o&&t&&3!==t.type_&&!E(t.assigned_,n)?o.concat(n):void 0);if(R(r,n,u),!O(u))return;e.canAutoFreeze_=!1}else i&&r.add(a);if(j(a)&&!B(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Z(e,a),t&&t.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||te(e,a)}}function te(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&K(t,r)}function re(e,t){var r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:q(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=n,o=ne;r&&(a=[n],o=ae);var i=Proxy.revocable(a,o),u=i.revoke,c=i.proxy;return n.draft_=c,n.revoke_=u,c}var ne={get:function(e,t){if(t===S)return e;var r=I(e);if(!E(r,t))return ie(e,r,t);var n=r[t];return e.finalized_||!j(n)?n:n===oe(e.base_,t)?(se(e),e.copy_[t]=le(n,e)):n},has:function(e,t){return t in I(e)},ownKeys:function(e){return Reflect.ownKeys(I(e))},set:function(e,t,r){var n,a,o=ue(I(e),t);if(null==o?void 0:o.set)return o.set.call(e.draft_,r),!0;if(!e.modified_){var i=oe(I(e),t),u=null==i?void 0:i[S];if(u&&u.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(((n=r)===(a=i)?0!==n||1/n==1/a:n!=n&&a!=a)&&(void 0!==r||E(e.base_,t)))return!0;se(e),ce(e)}return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty:function(e,t){return void 0!==oe(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,se(e),ce(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor:function(e,t){var r=I(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){k(11)},getPrototypeOf:function(e){return z(e.base_)},setPrototypeOf:function(){k(12)}},ae={};function oe(e,t){var r=e[S];return(r?I(r):e)[t]}function ie(e,t,r){var n,a=ue(t,r);return a?"value"in a?a.value:null==(n=a.get)?void 0:n.call(e.draft_):void 0}function ue(e,t){if(t in e)for(var r=z(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=z(r)}}function ce(e){e.modified_||(e.modified_=!0,e.parent_&&ce(e.parent_))}function se(e){e.copy_||(e.copy_=W(e.base_,e.scope_.immer_.useStrictShallowCopy_))}D(ne,(function(e,t){ae[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ae.deleteProperty=function(e,t){return ae.set.call(this,e,t,void 0)},ae.set=function(e,t,r){return ne.set.call(this,e[0],t,r,e[0])};var fe=_e.Immer=(function(){function e(t){var r=this;(0,u.default)(this,e),this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var a=t;t=e;var o=r;return function(){for(var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length,i=new Array(n>1?n-1:0),u=1;u1?n-1:0),o=1;o=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var a=X("Patches").applyPatches_;return O(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))}}]),e})();function le(e,t){var r=C(e)?X("MapSet").proxyMap_(e,t):N(e)?X("MapSet").proxySet_(e,t):re(e,t);return(t?t.scope_:q()).drafts_.push(r),r}function pe(e){return O(e)||k(10),ve(e)}function ve(e){if(!j(e)||B(e))return e;var t,r=e[S];if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=W(e,r.scope_.immer_.useStrictShallowCopy_)}else t=W(e,!0);return D(t,(function(e,r){R(t,e,ve(r))})),r&&(r.finalized_=!1),t}var he=new fe;_e.produce=he.produce,_e.produceWithPatches=he.produceWithPatches.bind(he),_e.setAutoFreeze=he.setAutoFreeze.bind(he),_e.setUseStrictShallowCopy=he.setUseStrictShallowCopy.bind(he),_e.applyPatches=he.applyPatches.bind(he),_e.createDraft=he.createDraft.bind(he),_e.finishDraft=he.finishDraft.bind(he)}),479,[1,170,16,13,15,12,76,5,6,26]); +__d((function(g,r,_i,_a,m,e,_d){"use strict";var t,n=r(_d[0]),i=r(_d[1]),u=r(_d[2]),o=r(_d[3]),a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,f=function(t,n,i,u){if(n&&"object"==typeof n||"function"==typeof n){var o=function(o){s.call(t,o)||o===i||a(t,o,{get:function(){return n[o]},enumerable:!(u=c(n,o))||u.enumerable})};for(var f of l(n))o(f)}return t},v={};!(function(t,n){for(var i in n)a(t,i,{get:n[i],enumerable:!0})})(v,{createSelector:function(){return re},createSelectorCreator:function(){return ne},createStructuredSelector:function(){return ie},lruMemoize:function(){return L},referenceEqualityCheck:function(){return H},setGlobalDevModeChecks:function(){return p},unstable_autotrackMemoize:function(){return Q},weakMapMemoize:function(){return te}}),m.exports=(t=v,f(a({},"__esModule",{value:!0}),t));var h={inputStabilityCheck:"once",identityFunctionCheck:"once"},p=function(t){Object.assign(h,t)},y=Symbol("NOT_FOUND");function d(t){if("function"!=typeof t)throw new TypeError(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected a function, instead received "+typeof t)}function w(t){if("object"!=typeof t)throw new TypeError(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected an object, instead received "+typeof t)}function b(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected all items to be functions, instead received the following types: ";if(!t.every((function(t){return"function"==typeof t}))){var i=t.map((function(t){return"function"==typeof t?`function ${t.name||"unnamed"}()`:typeof t})).join(", ");throw new TypeError(`${n}[${i}]`)}}var k=function(t){return Array.isArray(t)?t:[t]};function O(t){var n=Array.isArray(t[0])?t[0]:t;return b(n,"createSelector expects all input-selectors to be functions, but received the following types: "),n}function _(t,n){for(var i=[],u=t.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:x;i(this,t),this.revision=j,this._isEqual=x,this._value=this._lastValue=n,this._isEqual=u}return u(t,[{key:"value",get:function(){var t;return null==(t=C)||t.add(this),this._value},set:function(t){this.value!==t&&(this._value=t,this.revision=++j)}}]),t})();function x(t,n){return t===n}var A=(function(){function t(n){i(this,t),this._cachedRevision=-1,this._deps=[],this.hits=0,this.fn=n}return u(t,[{key:"clear",value:function(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}},{key:"value",get:function(){var t;if(this.revision>this._cachedRevision){var n=this.fn,i=new Set,u=C;C=i,this._cachedValue=n(),C=u,this.hits++,this._deps=Array.from(i),this._cachedRevision=this.revision}return null==(t=C)||t.add(this),this._cachedValue}},{key:"revision",get:function(){return Math.max.apply(Math,o(this._deps.map((function(t){return t.revision}))).concat([0]))}}]),t})();function M(t){return t instanceof R||console.warn("Not a valid cell! ",t),t.value}function S(t,n){if(!(t instanceof R))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");t.value=t._lastValue=n}function z(t){return new R(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:x)}var E=function(t,n){return!1};function T(){return z(null,E)}function P(t,n){S(t,n)}var D=function(t){var n=t.collectionTag;null===n&&(n=t.collectionTag=T()),M(n)},q=function(t){var n=t.collectionTag;null!==n&&P(n,null)},V=(Symbol(),0),F=Object.getPrototypeOf({}),K=u((function t(n){i(this,t),this.proxy=new Proxy(this,N),this.tag=T(),this.tags={},this.children={},this.collectionTag=null,this.id=V++,this.value=n,this.value=n,this.tag.value=n})),N={get:function(t,n){return(function(){var i=t.value,u=Reflect.get(i,n);if("symbol"==typeof n)return u;if(n in F)return u;if("object"==typeof u&&null!==u){var o=t.children[n];return void 0===o&&(o=t.children[n]=G(u)),o.tag&&M(o.tag),o.proxy}var a=t.tags[n];return void 0===a&&((a=t.tags[n]=T()).value=u),M(a),u})()},ownKeys:function(t){return D(t),Reflect.ownKeys(t.value)},getOwnPropertyDescriptor:function(t,n){return Reflect.getOwnPropertyDescriptor(t.value,n)},has:function(t,n){return Reflect.has(t.value,n)}},$=u((function t(n){i(this,t),this.proxy=new Proxy([this],W),this.tag=T(),this.tags={},this.children={},this.collectionTag=null,this.id=V++,this.value=n,this.value=n,this.tag.value=n})),W={get:function(t,i){var u=n(t,1)[0];return"length"===i&&D(u),N.get(u,i)},ownKeys:function(t){var i=n(t,1)[0];return N.ownKeys(i)},getOwnPropertyDescriptor:function(t,i){var u=n(t,1)[0];return N.getOwnPropertyDescriptor(u,i)},has:function(t,i){var u=n(t,1)[0];return N.has(u,i)}};function G(t){return Array.isArray(t)?new $(t):new K(t)}function I(t,n){var i=t.value,u=t.tags,o=t.children;if(t.value=n,Array.isArray(i)&&Array.isArray(n)&&i.length!==n.length)q(t);else if(i!==n){var a=0,c=0,l=!1;for(var s in i)a++;for(var f in n)if(c++,!(f in i)){l=!0;break}(l||a!==c)&&q(t)}for(var v in u){var h=i[v],p=n[v];h!==p&&(q(t),P(u[v],p)),"object"==typeof p&&null!==p&&delete u[v]}for(var y in o){var d=o[y],w=n[y];d.value!==w&&("object"==typeof w&&null!==w?I(d,w):(U(d),delete o[y]))}}function U(t){for(var n in t.tag&&P(t.tag,null),q(t),t.tags)P(t.tags[n],null);for(var i in t.children)U(t.children[i])}function B(t,n){var i=[];function u(t){var u=i.findIndex((function(i){return n(t,i.key)}));if(u>-1){var o=i[u];return u>0&&(i.splice(u,1),i.unshift(o)),o.value}return y}return{get:u,put:function(n,o){u(n)===y&&(i.unshift({key:n,value:o}),i.length>t&&i.pop())},getEntries:function(){return i},clear:function(){i=[]}}}var H=function(t,n){return t===n};function J(t){return function(n,i){if(null===n||null===i||n.length!==i.length)return!1;for(var u=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:{},u=ee(),o=i.resultEqualityCheck,a=0;function c(){for(var i=u,c=0,l=arguments.length;c1?n-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:re;w(t,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);var i=Object.keys(t),u=n(i.map((function(n){return t[n]})),(function(){for(var t=arguments.length,n=new Array(t),u=0;u0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(u)throw u;for(var o=!1,i={},c=0;c1?n-1:0),o=1;o1500){runOnJS(toggleSyncScrollFrame)(false);}}"},S={code:"function anonymous(){const{calculateNextOffset}=this.__closure;return calculateNextOffset.value;}"},H={code:"function anonymous(i){const{index,offset,scrollY,tabNames,runOnJS,propagateTabChange,scrollYCurrent,toggleSyncScrollFrame}=this.__closure;if(i!==index.value){offset.value=scrollY.value[tabNames.value[index.value]]-scrollY.value[tabNames.value[i]]+offset.value;runOnJS(propagateTabChange)({prevIndex:index.value,index:i,prevTabName:tabNames.value[index.value],tabName:tabNames.value[i]});index.value=i;if(typeof scrollY.value[tabNames.value[index.value]]==='number'){scrollYCurrent.value=scrollY.value[tabNames.value[index.value]]||0;}runOnJS(toggleSyncScrollFrame)(true);}}"},T={code:"function anonymous(){const{headerHeight}=this.__closure;return headerHeight;}"},w={code:"function anonymous(_current,prev){const{resyncTabScroll}=this.__closure;if(prev===undefined){resyncTabScroll();}}"},O={code:"function anonymous(){const{revealHeaderOnScroll,accDiffClamp,scrollYCurrent,headerScrollDistance}=this.__closure;return revealHeaderOnScroll?-accDiffClamp.value:-Math.min(scrollYCurrent.value,headerScrollDistance.value);}"},C={code:"function anonymous(){const{headerTranslateY}=this.__closure;return{transform:[{translateY:headerTranslateY.value}]};}"},D={code:"function anonymous(){const{tabNamesArray}=this.__closure;return tabNamesArray.length;}"},N={code:"function anonymous(tabLength){const{index,runOnJS,onTabPress,tabNamesArray}=this.__closure;if(index.value>=tabLength){runOnJS(onTabPress)(tabNamesArray[tabLength-1]);}}"},I={code:"function anonymous(e){const{indexDecimal}=this.__closure;indexDecimal.value=e.position+e.offset;}"},A=(_e.Container=a.default.memo(a.default.forwardRef((function(e,t){var u,Y=e.initialTabName,k=e.headerHeight,P=e.minHeaderHeight,M=void 0===P?0:P,j=e.tabBarHeight,V=void 0===j?_r(d[7]).TABBAR_HEIGHT:j,F=e.revealHeaderOnScroll,R=void 0!==F&&F,J=e.snapThreshold,L=e.children,E=e.renderHeader,B=e.renderTabBar,z=void 0===B?function(e){return(0,l.jsx)(_r(d[7]).MaterialTabBar,Object.assign({},e))}:B,W=e.headerContainerStyle,G=e.cancelTranslation,U=e.containerStyle,q=e.lazy,K=e.cancelLazyFadeIn,Q=e.pagerProps,X=e.onIndexChange,Z=e.onTabChange,$=e.width,ee=e.allowHeaderOverscroll,ne=(0,_r(d[8]).useContainerRef)(),ae=(0,_r(d[8]).useTabProps)(L,_r(d[9]).Tab),re=(0,n.default)(ae,2),te=re[0],oe=re[1],le=(0,_r(d[8]).useAnimatedDynamicRefs)(),ue=(0,n.default)(le,2),ie=ue[0],ce=ue[1],se=(0,r.useWindowDimensions)().width,de=null!=$?$:se,fe=(0,_r(d[8]).useLayoutHeight)(),ve=(0,n.default)(fe,2),he=ve[0],me=ve[1],be=(0,_r(d[8]).useLayoutHeight)(V),xe=(0,n.default)(be,2),ye=xe[0],pe=xe[1],Se=(0,_r(d[8]).useLayoutHeight)(E?k:0),ge=(0,n.default)(Se,2),He=ge[0],Te=ge[1],we=a.default.useMemo((function(){return Y?oe.findIndex((function(e){return e===Y})):0}),[Y,oe]),Oe=a.default.useMemo((function(){return ee?0:_r(d[10]).IS_IOS?(He||0)+(ye||0):0}),[He,ye,ee]),Ce=(0,o.useSharedValue)(0),De=(0,o.useSharedValue)(0),Ne=(0,o.useSharedValue)(0),Ie=(0,o.useSharedValue)(0),Ae=(0,o.useSharedValue)(0),Ye=(0,o.useSharedValue)(0),ke=(0,o.useSharedValue)(Object.fromEntries(oe.map((function(e){return[e,0]})))),Pe=(0,o.useSharedValue)(oe.map((function(){return 0}))),Me=(0,o.useDerivedValue)(((u=function(){return oe}).__closure={tabNamesArray:oe},u.__workletHash=0xdb7d5c562bc,u.__initData=c,u),[oe]),je=(0,o.useSharedValue)(we),Ve=(0,o.useDerivedValue)((function(){var e=function(){return Me.value[je.value]};return e.__closure={tabNames:Me,index:je},e.__workletHash=4200956697526,e.__initData=s,e})(),[Me]),Fe=(0,o.useSharedValue)(we),Re=(0,o.useDerivedValue)((function(){var e=function(){return void 0!==He?He-M:0};return e.__closure={headerHeight:He,minHeaderHeight:M},e.__workletHash=9583895444019,e.__initData=f,e})(),[He,M]),Je=(0,o.useSharedValue)(je.value),Le=(0,o.useSharedValue)(0);a.default.useEffect((function(){Le.value=(0,o.withDelay)(5*_r(d[10]).ONE_FRAME_MS,(0,o.withTiming)(1,{duration:0}))}),[Le,oe]);var Ee=(function(){var e=function(){for(var e of oe)(0,_r(d[10]).scrollToImpl)(ie[e],0,Ye.value-Oe,!1)};return e.__closure={tabNamesArray:oe,scrollToImpl:_r(d[10]).scrollToImpl,refMap:ie,scrollYCurrent:Ye,contentInset:Oe},e.__workletHash=0x9c24b5740e8,e.__initData=_,e})();(0,o.useAnimatedReaction)((function(){var e=function(){return 1===Le.value};return e.__closure={afterRender:Le},e.__workletHash=0xc586e8be835,e.__initData=v,e})(),(function(){var e=function(e){e&&(Le.value=0,Ee())};return e.__closure={afterRender:Le,resyncTabScroll:Ee},e.__workletHash=9488590276256,e.__initData=h,e})(),[oe,ie,Le,Oe]),(0,o.useAnimatedReaction)((function(){var e=function(){return Math.round(Je.value)};return e.__closure={indexDecimal:Je},e.__workletHash=0xf3062707c7,e.__initData=b,e})(),(function(){var e=function(e){null!==e&&e!==je.value&&(Fe.value=e)};return e.__closure={index:je,calculateNextOffset:Fe},e.__workletHash=933501718292,e.__initData=x,e})(),[]);var Be=a.default.useCallback((function(e){null==Z||Z(e),null==X||X(e.index)}),[X,Z]),ze=(function(){var e=function(){var e=oe[je.value];(0,_r(d[10]).scrollToImpl)(ie[e],0,Ye.value-Oe,!1)};return e.__closure={tabNamesArray:oe,index:je,scrollToImpl:_r(d[10]).scrollToImpl,refMap:ie,scrollYCurrent:Ye,contentInset:Oe},e.__workletHash=0xef61926b9d4,e.__initData=y,e})(),We=function(e){return Ge.setActive(e)},Ge=(0,o.useFrameCallback)((function(){var e=function(e){var n=e.timeSinceFirstFrame;ze(),n>1500&&(0,o.runOnJS)(We)(!1)};return e.__closure={syncCurrentTabScrollPosition:ze,runOnJS:o.runOnJS,toggleSyncScrollFrame:We},e.__workletHash=0x96cdb0709df,e.__initData=p,e})(),!1);(0,o.useAnimatedReaction)((function(){var e=function(){return Fe.value};return e.__closure={calculateNextOffset:Fe},e.__workletHash=2330590112441,e.__initData=S,e})(),(function(){var e=function(e){e!==je.value&&(De.value=ke.value[Me.value[je.value]]-ke.value[Me.value[e]]+De.value,(0,o.runOnJS)(Be)({prevIndex:je.value,index:e,prevTabName:Me.value[je.value],tabName:Me.value[e]}),je.value=e,'number'==typeof ke.value[Me.value[je.value]]&&(Ye.value=ke.value[Me.value[je.value]]||0),(0,o.runOnJS)(We)(!0))};return e.__closure={index:je,offset:De,scrollY:ke,tabNames:Me,runOnJS:o.runOnJS,propagateTabChange:Be,scrollYCurrent:Ye,toggleSyncScrollFrame:We},e.__workletHash=0x967ab2f17c8,e.__initData=H,e})(),[]),(0,o.useAnimatedReaction)((function(){var e=function(){return He};return e.__closure={headerHeight:He},e.__workletHash=3439392505084,e.__initData=T,e})(),(function(){var e=function(e,n){void 0===n&&Ee()};return e.__closure={resyncTabScroll:Ee},e.__workletHash=6003496036546,e.__initData=w,e})());var Ue=(0,o.useDerivedValue)((function(){var e=function(){return R?-Ae.value:-Math.min(Ye.value,Re.value)};return e.__closure={revealHeaderOnScroll:R,accDiffClamp:Ae,scrollYCurrent:Ye,headerScrollDistance:Re},e.__workletHash=0xea86c4bf689,e.__initData=O,e})(),[R]),qe=(0,o.useAnimatedStyle)((function(){var e=function(){return{transform:[{translateY:Ue.value}]}};return e.__closure={headerTranslateY:Ue},e.__workletHash=7409481780716,e.__initData=C,e})(),[R]),Ke=a.default.useCallback((function(e){var n=Me.value.findIndex((function(n){return n===e}));if(e===Ve.value){var a=ie[e];(0,o.runOnUI)(_r(d[10]).scrollToImpl)(a,0,Re.value-Oe,!0)}else{var r;null==(r=ne.current)||r.setPage(n)}}),[ne,ie,Oe]);(0,o.useAnimatedReaction)((function(){var e=function(){return oe.length};return e.__closure={tabNamesArray:oe},e.__workletHash=984366900142,e.__initData=D,e})(),(function(){var e=function(e){je.value>=e&&(0,o.runOnJS)(Ke)(oe[e-1])};return e.__closure={index:je,runOnJS:o.runOnJS,onTabPress:Ke,tabNamesArray:oe},e.__workletHash=8286073923749,e.__initData=N,e})());var Qe=(0,_r(d[8]).usePageScrollHandler)({onPageScroll:(function(){var e=function(e){Je.value=e.position+e.offset};return e.__closure={indexDecimal:Je},e.__workletHash=0xd874cb15fd4,e.__initData=I,e})()});return a.default.useImperativeHandle(t,(function(){return{setIndex:function(e){var n=Me.value[e];return Ke(n),!0},jumpToTab:function(e){return Ke(e),!0},getFocusedTab:function(){return Me.value[je.value]},getCurrentIndex:function(){return je.value}}}),[Ke]),(0,l.jsx)(_r(d[11]).Context.Provider,{value:{contentInset:Oe,tabBarHeight:ye,headerHeight:He,refMap:ie,tabNames:Me,index:je,snapThreshold:J,revealHeaderOnScroll:R,focusedTab:Ve,accDiffClamp:Ae,indexDecimal:Je,containerHeight:he,minHeaderHeight:M,scrollYCurrent:Ye,scrollY:ke,setRef:ce,headerScrollDistance:Re,accScrollY:Ne,oldAccScrollY:Ie,offset:De,snappingTo:Ce,contentHeights:Pe,headerTranslateY:Ue,width:de,allowHeaderOverscroll:ee},children:(0,l.jsxs)(o.default.View,{style:[A.container,{width:de},U],onLayout:me,pointerEvents:"box-none",children:[(0,l.jsxs)(o.default.View,{pointerEvents:"box-none",style:[A.topContainer,W,!G&&qe],children:[(0,l.jsx)(r.View,{style:[A.container,A.headerContainer],onLayout:Te,pointerEvents:"box-none",children:E&&E({containerRef:ne,index:je,tabNames:oe,focusedTab:Ve,indexDecimal:Je,onTabPress:Ke,tabProps:te})}),(0,l.jsx)(r.View,{style:[A.container,A.tabBarContainer],onLayout:pe,pointerEvents:"box-none",children:z&&z({containerRef:ne,index:je,tabNames:oe,focusedTab:Ve,indexDecimal:Je,width:de,onTabPress:Ke,tabProps:te})})]}),(0,l.jsx)(i,Object.assign({ref:ne,onPageScroll:Qe,initialPage:we},Q,{style:[null==Q?void 0:Q.style,r.StyleSheet.absoluteFill],children:oe.map((function(e,n){return(0,l.jsx)(r.View,{children:(0,l.jsx)(_r(d[11]).TabNameContext.Provider,{value:e,children:(0,l.jsx)(_r(d[12]).Lazy,{startMounted:!q||void 0,cancelLazyFadeIn:!q||!!K,children:a.default.Children.toArray(L)[n]},e)})},n)}))}))]})})}))),r.StyleSheet.create({container:{flex:1},topContainer:{position:'absolute',zIndex:100,width:'100%',backgroundColor:'white',shadowColor:'#000000',shadowOffset:{width:0,height:2},shadowOpacity:.23,shadowRadius:2.62,elevation:4},tabBarContainer:{zIndex:1},headerContainer:{zIndex:2}}))}),530,[1,26,153,2,531,536,194,685,690,694,689,693,695]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=r(d[0]).PagerView}),531,[532]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.PagerView=void 0;var t=e(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),o=e(_r(d[4])),a=e(_r(d[5])),i=e(_r(d[6])),l=e(_r(d[7])),s=_r(d[8]),c=S(_r(d[9])),u=S(_r(d[10])),p=_r(d[11]),f=["useNext"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}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}}'ios'===s.Platform.OS&&_r(d[12]);var P=(function(e){(0,o.default)(h,e);var t,l,f=(t=h,l=y(),function(){var e,r=(0,i.default)(t);if(l){var n=(0,i.default)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return(0,a.default)(this,e)});function h(){var e;(0,r.default)(this,h);for(var t=arguments.length,n=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:0;return e.Children.map(n,(function(e){return(0,r.jsx)(t.View,{style:{height:'100%',width:'100%',paddingHorizontal:l/2},collapsable:!1,children:e})}))}}),535,[153,2,194]); +__d((function(g,_r,_i,_a,m,_e,d){'use strict';Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=void 0;var 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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));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)}Object.keys(_r(d[1])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||t in _e&&_e[t]===_r(d[1])[t]||Object.defineProperty(_e,t,{enumerable:!0,get:function(){return _r(d[1])[t]}}))}));_e.default=t}),536,[537,619]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FlatList",{enumerable:!0,get:function(){return r(d[0]).ReanimatedFlatList}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return r(d[1]).AnimatedImage}}),Object.defineProperty(e,"ScrollView",{enumerable:!0,get:function(){return r(d[2]).AnimatedScrollView}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return r(d[3]).AnimatedText}}),Object.defineProperty(e,"View",{enumerable:!0,get:function(){return r(d[4]).AnimatedView}}),Object.defineProperty(e,"addWhitelistedNativeProps",{enumerable:!0,get:function(){return r(d[5]).addWhitelistedNativeProps}}),Object.defineProperty(e,"addWhitelistedUIProps",{enumerable:!0,get:function(){return r(d[5]).addWhitelistedUIProps}}),Object.defineProperty(e,"createAnimatedComponent",{enumerable:!0,get:function(){return r(d[6]).createAnimatedComponent}})}),537,[538,682,683,684,681,617,539]); +__d((function(g,_r,_i,_a,m,_e,d){'use strict';var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.ReanimatedFlatList=void 0;var e=t(_r(d[1])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var u=i?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r})(_r(d[2])),r=_r(d[3]),i=_r(d[4]),o=["itemLayoutAnimation","skipEnteringExitingAnimations"];function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var u=(0,_r(d[5]).createAnimatedComponent)(r.FlatList),l=function(t){return function(e){return(0,i.jsx)(_r(d[6]).AnimatedView,{layout:null==t?void 0:t.current,onLayout:e.onLayout,style:e.style,children:e.children})}};_e.ReanimatedFlatList=(0,n.forwardRef)((function(t,r){var a=t.itemLayoutAnimation,f=t.skipEnteringExitingAnimations,c=(0,e.default)(t,o);'scrollEventThrottle'in c||(c.scrollEventThrottle=1);var s=(0,n.useRef)(a);s.current=a;var p=n.default.useMemo((function(){return l(s)}),[s]),y=(0,i.jsx)(u,Object.assign({ref:r},c,{CellRendererComponent:p}));return void 0===f?y:(0,i.jsx)(_r(d[7]).LayoutAnimationConfig,{skipEntering:!0,skipExiting:!0,children:y})}))}),538,[1,119,153,2,194,539,681,645]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createAnimatedComponent",{enumerable:!0,get:function(){return r(d[0]).createAnimatedComponent}})}),539,[540]); +__d((function(g,r,i,a,m,_e,d){'use strict';var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedComponent=function(e,N){(0,h.default)('function'!=typeof e||e.prototype&&e.prototype.isReactComponent,`Looks like you're passing a function component \`${e.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`);var P=(function(p){(0,o.default)(A,p);var h,P,T=(h=A,P=_(),function(){var e,t=(0,l.default)(h);if(P){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,s.default)(this,e)});function A(e){var n;return(0,t.default)(this,A),(n=T.call(this,e))._styles=null,n._viewTag=-1,n._isFirstRender=!0,n.jestAnimatedStyle={value:{}},n._component=null,n._sharedElementTransition=null,n._jsPropsUpdater=new c.default,n._InlinePropManager=new(r(d[16]).InlinePropManager),n._PropsFilter=new(r(d[17]).PropsFilter),n._setComponentRef=(0,f.default)({getForwardedRef:function(){return n.props.forwardedRef},setLocalRef:function(e){var t=w?e:(0,u.findNodeHandle)(e),o=n.props,s=o.layout,l=o.entering,p=o.exiting,v=o.sharedTransitionTag;if((s||l||p||v)&&null!=t){var h;(0,r(d[14]).shouldBeUseWeb)()||(0,r(d[18]).enableLayoutAnimations)(!0,!1);var c,f=null==(h=n.context)?void 0:h.current;if(l&&!f)(0,r(d[19]).updateLayoutAnimations)(t,r(d[20]).LayoutAnimationType.ENTERING,(0,r(d[21]).maybeBuild)(l,null==(c=n.props)?void 0:c.style,A.displayName));if(v&&!w){var y,_=null!=(y=n.props.sharedTransitionStyle)?y:new(r(d[20]).SharedTransition);(0,r(d[22]).getReduceMotionFromConfig)(_.getReduceMotion())||(_.registerTransition(t,v),n._sharedElementTransition=_)}}e!==n._component&&(n._component=e)}}),(0,r(d[14]).isJest)()&&(n.jestAnimatedStyle={value:{}}),n}return(0,n.default)(A,[{key:"componentDidMount",value:function(){if(this._attachNativeEvents(),this._jsPropsUpdater.addOnJSPropsChangeListener(this),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this.props.layout&&this._configureLayoutTransition(),w){if(this.props.exiting&&(0,r(d[15]).saveSnapshot)(this._component),!this.props.entering||(0,r(d[15]).getReducedMotionFromConfig)(this.props.entering))return void(this._isFirstRender=!1);(0,r(d[15]).startWebLayoutAnimation)(this.props,this._component,r(d[20]).LayoutAnimationType.ENTERING)}this._isFirstRender=!1}},{key:"componentWillUnmount",value:function(){var e;this._detachNativeEvents(),this._jsPropsUpdater.removeOnJSPropsChangeListener(this),this._detachStyles(),this._InlinePropManager.detachInlineProps(),null==(e=this._sharedElementTransition)||e.unregisterTransition(this._viewTag);var t=this.props.exiting;if(w&&this.props.exiting&&!(0,r(d[15]).getReducedMotionFromConfig)(this.props.exiting))(0,r(d[23]).addHTMLMutationObserver)(),(0,r(d[15]).startWebLayoutAnimation)(this.props,this._component,r(d[20]).LayoutAnimationType.EXITING);else if(t){var n;if(!('getReduceMotion'in t&&'function'==typeof t.getReduceMotion?(0,r(d[22]).getReduceMotionFromConfig)(t.getReduceMotion()):(0,r(d[22]).getReduceMotionFromConfig)()))(0,r(d[19]).updateLayoutAnimations)(this._viewTag,r(d[20]).LayoutAnimationType.EXITING,(0,r(d[21]).maybeBuild)(t,null==(n=this.props)?void 0:n.style,A.displayName))}}},{key:"_getEventViewRef",value:function(){var e,t,n;return null!=(e=this._component)&&e.getScrollableNode?null==(t=(n=this._component).getScrollableNode)?void 0:t.call(n):this._component}},{key:"_attachNativeEvents",value:function(){var e=this._getEventViewRef(),t=null;for(var n in this.props){var o=this.props[n];(0,r(d[24]).has)('workletEventHandler',o)&&o.workletEventHandler instanceof v.default&&(null===t&&(t=w?this._component:(0,u.findNodeHandle)(null!=N&&N.setNativeProps?this:e)),o.workletEventHandler.registerForEvents(t,n))}}},{key:"_detachNativeEvents",value:function(){for(var e in this.props){var t=this.props[e];(0,r(d[24]).has)('workletEventHandler',t)&&t.workletEventHandler instanceof v.default&&t.workletEventHandler.unregisterFromEvents()}}},{key:"_detachStyles",value:function(){if(w&&null!==this._styles)for(var e of this._styles)e.viewsRef.remove(this);else if(-1!==this._viewTag&&null!==this._styles){var t;for(var n of this._styles)n.viewDescriptors.remove(this._viewTag);null!=(t=this.props.animatedProps)&&t.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._viewTag),R&&(0,r(d[25]).removeFromPropsRegistry)(this._viewTag)}}},{key:"_reattachNativeEvents",value:function(e){for(var t in e){var n=this.props[t];(0,r(d[24]).has)('workletEventHandler',n)&&n.workletEventHandler instanceof v.default&&n.workletEventHandler.reattachNeeded&&n.workletEventHandler.unregisterFromEvents()}var o=null;for(var s in this.props){var l=this.props[s];if((0,r(d[24]).has)('workletEventHandler',l)&&l.workletEventHandler instanceof v.default&&l.workletEventHandler.reattachNeeded){if(null===o){var p=this._getEventViewRef();o=w?this._component:(0,u.findNodeHandle)(null!=N&&N.setNativeProps?this:p)}l.workletEventHandler.registerForEvents(o,s),l.workletEventHandler.reattachNeeded=!1}}}},{key:"_updateFromNative",value:function(e){var t;null!=N&&N.setNativeProps?N.setNativeProps(this._component,e):null==(t=this._component)||null==t.setNativeProps||t.setNativeProps(e)}},{key:"_getViewInfo",value:function(){var e,t,n,o,s;if(void 0!==this._viewInfo)return this._viewInfo;var l,p=null,u=null!=(e=this._component)&&e.getAnimatableRef?null==(t=(n=this._component).getAnimatableRef)?void 0:t.call(n):this;if(w)o=this._component,s=null,p=null,l=null;else{var v,h=r(d[26]).RNRenderer.findHostInstance_DEPRECATED(u);if(!h)throw new Error('[Reanimated] Cannot find host instance for this component. Maybe it renders nothing?');o=null==h?void 0:h._nativeTag,s=null==h||null==(v=h.viewConfig)?void 0:v.uiViewClassName,l=null==h?void 0:h.viewConfig,R&&(p=(0,r(d[27]).getShadowNodeWrapperFromRef)(this))}return this._viewInfo={viewTag:o,viewName:s,shadowNodeWrapper:p,viewConfig:l},this._viewInfo}},{key:"_attachAnimatedStyles",value:function(){var e,t,n=this,o=this.props.style?E((0,r(d[24]).flattenArray)(this.props.style)):[],s=this._styles;this._styles=o;var l=this._animatedProps;this._animatedProps=this.props.animatedProps;var p=this._getViewInfo(),u=p.viewTag,v=p.viewName,h=p.shadowNodeWrapper,c=p.viewConfig;if((((null==(e=this.props.animatedProps)?void 0:e.viewDescriptors)||o.length)&&c&&(0,r(d[28]).adaptViewConfig)(c),this._viewTag=u,s)&&!(1===o.length&&1===s.length&&o[0]===s[0])){var f=function(e){o.some((function(t){return t===e}))||e.viewDescriptors.remove(u)};for(var y of s)f(y)}o.forEach((function(e){e.viewDescriptors.add({tag:u,name:v,shadowNodeWrapper:h}),(0,r(d[14]).isJest)()&&(n.jestAnimatedStyle.value=Object.assign({},n.jestAnimatedStyle.value,e.initial.value),e.jestAnimatedStyle.current=n.jestAnimatedStyle)})),l&&l!==this.props.animatedProps&&l.viewDescriptors.remove(u),null!=(t=this.props.animatedProps)&&t.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:u,name:v,shadowNodeWrapper:h})}},{key:"componentDidUpdate",value:function(e,t,n){this.props.layout!==e.layout&&this._configureLayoutTransition(),this._reattachNativeEvents(e),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),w&&this.props.exiting&&(0,r(d[15]).saveSnapshot)(this._component),w&&null!==n&&this.props.layout&&!(0,r(d[15]).getReducedMotionFromConfig)(this.props.layout)&&(0,r(d[15]).tryActivateLayoutTransition)(this.props,this._component,n)}},{key:"_configureLayoutTransition",value:function(){var e=this.props.layout?(0,r(d[21]).maybeBuild)(this.props.layout,void 0,A.displayName):void 0;(0,r(d[19]).updateLayoutAnimations)(this._viewTag,r(d[20]).LayoutAnimationType.LAYOUT,e)}},{key:"getSnapshotBeforeUpdate",value:function(){var e;return w&&void 0!==(null==(e=this._component)?void 0:e.getBoundingClientRect)?this._component.getBoundingClientRect():null}},{key:"render",value:function(){var t,n=this._PropsFilter.filterNonAnimatedProps(this);((0,r(d[14]).isJest)()&&(n.jestAnimatedStyle=this.jestAnimatedStyle),this._isFirstRender&&w&&n.entering&&!(0,r(d[15]).getReducedMotionFromConfig)(n.entering))&&(n.style=Object.assign({},null!=(t=n.style)?t:{},{visibility:'hidden'}));var o=u.Platform.select({web:{},default:{collapsable:!1}});return(0,y.jsx)(e,Object.assign({},n,{ref:this._setComponentRef},o))}}]),A})(p.default.Component);return P.contextType=r(d[29]).SkipEnteringContext,P.displayName=`AnimatedComponent(${e.displayName||e.name||'Component'})`,p.default.forwardRef((function(e,t){return(0,y.jsx)(P,Object.assign({},e,null===t?null:{forwardedRef:t}))}))};var t=e(r(d[1])),n=e(r(d[2])),o=e(r(d[3])),s=e(r(d[4])),l=e(r(d[5])),p=e(r(d[6])),u=r(d[7]),v=e(r(d[8]));r(d[9]);var h=e(r(d[10])),c=e(r(d[11])),f=e(r(d[12])),y=r(d[13]);function _(){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 w=(0,r(d[14]).isWeb)(),R=(0,r(d[14]).isFabric)();function E(e){return e.filter((function(e){return null==e?void 0:e.viewDescriptors}))}w&&(0,r(d[15]).configureWebLayoutAnimations)()}),540,[1,5,6,13,15,12,153,2,541,565,24,590,591,194,542,592,613,618,543,677,620,678,569,593,615,679,680,666,617,645]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),o=(0,r(d[3]).shouldBeUseWeb)();function u(t,n){return function(s){n(Object.assign({},s.nativeEvent,{eventName:t}))}}e.default=(function(){function t(s){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,n.default)(this,t),this.worklet=s,this.eventNames=h,this.reattachNeeded=!1,this.listeners={},this.viewTag=void 0,this.registrations=[],o&&(this.listeners=h.reduce((function(t,n){return t[n]=u(n,s),t}),{}))}return(0,s.default)(t,[{key:"updateWorklet",value:function(t){this.worklet=t,this.reattachNeeded=!0}},{key:"registerForEvents",value:function(t,n){var s=this;this.viewTag=t,this.registrations=this.eventNames.map((function(n){return(0,r(d[4]).registerEventHandler)(s.worklet,n,t)})),0===this.registrations.length&&n&&this.registrations.push((0,r(d[4]).registerEventHandler)(this.worklet,n,t))}},{key:"registerForEventByName",value:function(t){this.registrations.push((0,r(d[4]).registerEventHandler)(this.worklet,t))}},{key:"unregisterFromEvents",value:function(){this.registrations.forEach((function(t){return(0,r(d[4]).unregisterEventHandler)(t)})),this.registrations=[]}}]),t})()}),541,[1,5,6,542,543]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.isAndroid=function(){return'android'===n.Platform.OS},e.isChromeDebugger=t,e.isFabric=function(){return!!g._IS_FABRIC},e.isJest=o,e.isReducedMotion=function(){return u()?!!c()&&!window.matchMedia('(prefers-reduced-motion: no-preference)').matches:!!g._REANIMATED_IS_REDUCED_MOTION},e.isWeb=u,e.isWindowAvailable=c,e.shouldBeUseWeb=function(){return o()||t()||u()||'windows'===n.Platform.OS};var n=r(d[0]);function o(){return!!process.env.JEST_WORKER_ID}function t(){return!g.nativeCallSyncHook||!!g.__REMOTEDEV__}function u(){return'web'===n.Platform.OS}function c(){return'undefined'!=typeof window}}),542,[2]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.configureLayoutAnimationBatch=function(n){t.default.configureLayoutAnimationBatch(n)},e.configureLayoutAnimations=function(n,o,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'';t.default.configureLayoutAnimation(n,o,s,(0,r(d[4]).makeShareableCloneRecursive)(u))},Object.defineProperty(e,"createWorkletRuntime",{enumerable:!0,get:function(){return r(d[1]).createWorkletRuntime}}),e.enableLayoutAnimations=function(n){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o?(b={enableLayoutAnimations:n,setByUser:!0},t.default.enableLayoutAnimations(n)):b.setByUser||b.enableLayoutAnimations===n||(b.enableLayoutAnimations=n,t.default.enableLayoutAnimations(n))},Object.defineProperty(e,"executeOnUIRuntimeSync",{enumerable:!0,get:function(){return r(d[2]).executeOnUIRuntimeSync}}),e.getViewProp=function(n,u){if(o)throw new Error('[Reanimated] `getViewProp` is not supported on Fabric yet.');return new Promise((function(o,s){return t.default.getViewProp(n,u,(function(n){'string'==typeof n&&'error:'===n.substr(0,6)?s(n):o(n)}))}))},e.initializeSensor=function(n,t){return l().initializeSensor(n,t)},e.isReanimated3=e.isConfigured=void 0,e.jsiConfigureProps=function(n,o){u||t.default.configureProps(n,o)},Object.defineProperty(e,"makeMutable",{enumerable:!0,get:function(){return r(d[3]).makeMutable}}),Object.defineProperty(e,"makeShareable",{enumerable:!0,get:function(){return r(d[4]).makeShareable}}),Object.defineProperty(e,"makeShareableCloneRecursive",{enumerable:!0,get:function(){return r(d[4]).makeShareableCloneRecursive}}),e.registerEventHandler=function(n,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,s=(function(){var t=function(t,o){g.__frameTimestamp=t,n(o),g.__flushAnimationFrame(t),g.__frameTimestamp=void 0};return t.__closure={eventHandler:n},t.__workletHash=0x95d5a1d166e,t.__initData=c,t})();return t.default.registerEventHandler((0,r(d[4]).makeShareableCloneRecursive)(s),o,u)},e.registerSensor=function(n,t,o){return l().registerSensor(n,t,(0,r(d[4]).makeShareableCloneRecursive)(o))},Object.defineProperty(e,"runOnJS",{enumerable:!0,get:function(){return r(d[2]).runOnJS}}),Object.defineProperty(e,"runOnRuntime",{enumerable:!0,get:function(){return r(d[1]).runOnRuntime}}),Object.defineProperty(e,"runOnUI",{enumerable:!0,get:function(){return r(d[2]).runOnUI}}),e.setShouldAnimateExitingForTag=function(n,o){t.default.setShouldAnimateExitingForTag(n,o)},Object.defineProperty(e,"startMapper",{enumerable:!0,get:function(){return r(d[5]).startMapper}}),Object.defineProperty(e,"stopMapper",{enumerable:!0,get:function(){return r(d[5]).stopMapper}}),e.subscribeForKeyboardEvents=function(n,o){var u,s=(function(){var t=function(t,o){var u=g._getAnimationTimestamp();g.__frameTimestamp=u,n(t,o),g.__flushAnimationFrame(u),g.__frameTimestamp=void 0};return t.__closure={eventHandler:n},t.__workletHash=9395840919360,t.__initData=f,t})();return t.default.subscribeForKeyboardEvents((0,r(d[4]).makeShareableCloneRecursive)(s),null!=(u=o.isStatusBarTranslucentAndroid)&&u)},e.unregisterEventHandler=function(n){return t.default.unregisterEventHandler(n)},e.unregisterSensor=function(n){return l().unregisterSensor(n)},e.unsubscribeFromKeyboardEvents=function(n){return t.default.unsubscribeFromKeyboardEvents(n)};var t=n(r(d[6])),o=(0,r(d[7]).isFabric)(),u=(0,r(d[7]).shouldBeUseWeb)(),s=e.isReanimated3=function(){return!0};e.isConfigured=s;function l(){return g.__sensorContainer||(g.__sensorContainer=new(r(d[8]).SensorContainer)),g.__sensorContainer}u&&(g._WORKLET=!1,g._log=console.log,g._getAnimationTimestamp=function(){return performance.now()});var c={code:"function handleAndFlushAnimationFrame(eventTimestamp,event){const{eventHandler}=this.__closure;global.__frameTimestamp=eventTimestamp;eventHandler(event);global.__flushAnimationFrame(eventTimestamp);global.__frameTimestamp=undefined;}"};var f={code:"function handleAndFlushAnimationFrame(state,height){const{eventHandler}=this.__closure;const now=global._getAnimationTimestamp();global.__frameTimestamp=now;eventHandler(state,height);global.__flushAnimationFrame(now);global.__frameTimestamp=undefined;}"};(0,r(d[7]).isWeb)()||(0,r(d[9]).initializeUIRuntime)();var b={enableLayoutAnimations:!1,setByUser:!1}}),543,[1,544,557,559,554,561,545,542,563,556]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createWorkletRuntime=function(n,o){return t.default.createWorkletRuntime(n,(0,r(d[3]).makeShareableCloneRecursive)((u=function(){(0,r(d[4]).setupCallGuard)(),(0,r(d[4]).setupConsole)(),null==o||o()},u.__closure={setupCallGuard:r(d[4]).setupCallGuard,setupConsole:r(d[4]).setupConsole,initializer:o},u.__workletHash=3956478785482,u.__initData=l,u)));var u},e.runOnRuntime=void 0;var t=n(r(d[1])),o=(0,r(d[2]).shouldBeUseWeb)(),l={code:"function anonymous(){const{setupCallGuard,setupConsole,initializer}=this.__closure;var _initializer;setupCallGuard();setupConsole();(_initializer=initializer)===null||_initializer===void 0||_initializer();}"};var u={code:"function runOnRuntime(workletRuntime,worklet){const{__DEV__,SHOULD_BE_USE_WEB,isWorkletFunction,makeShareableCloneOnUIRecursive,NativeReanimatedModule,makeShareableCloneRecursive}=this.__closure;if(__DEV__&&!SHOULD_BE_USE_WEB&&!isWorkletFunction(worklet)){throw new Error('[Reanimated] The function passed to `runOnRuntime` is not a worklet.'+(_WORKLET?' Please make sure that `processNestedWorklets` option in Reanimated Babel plugin is enabled.':''));}if(_WORKLET){return function(...args){return global._scheduleOnRuntime(workletRuntime,makeShareableCloneOnUIRecursive(function(){'worklet';worklet(...args);}));};}return function(...args){return NativeReanimatedModule.scheduleOnRuntime(workletRuntime,makeShareableCloneRecursive(function(){'worklet';worklet(...args);}));};}"},s={code:"function anonymous(){const{worklet,args}=this.__closure;worklet(...args);}"},_={code:"function anonymous(){const{worklet,args}=this.__closure;worklet(...args);}"};e.runOnRuntime=(function(){var n=function(n,o){return _WORKLET?function(){for(var t=arguments.length,l=new Array(t),u=0;u0)Object.keys(l.props).forEach((function(e){if(v[e]){var t=e.replace(/[A-Z]/g,(function(e){return'-'+e.toLowerCase()}));l._touchableNode.setAttribute(t,v[e])}}));else{var h='className'in l?null==l?void 0:l.className:'';console.warn(`[Reanimated] It's not possible to manipulate the component ${h}`)}}};var c=function(e,t,o){if(o){var n={};for(var s in t)l=s,r(d[6]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST[l]&&(n[s]=t[s]);null==e.setNativeProps||e.setNativeProps(n)}var l,u=e.previousStyle?e.previousStyle:{},c=Object.assign({},u,t);e.previousStyle=c,null==e.setNativeProps||e.setNativeProps({style:c})},f=function(e,s,l){var u=e.previousStyle?e.previousStyle:{},c=Object.assign({},u,s);e.previousStyle=c;var f=t(c);for(var v in Array.isArray(f.transform)&&void 0!==o&&(f.transform=o(f.transform)),void 0!==n&&(f.textShadowColor||f.textShadowRadius||f.textShadowOffset)&&(f.textShadow=n({textShadowColor:f.textShadowColor,textShadowOffset:f.textShadowOffset,textShadowRadius:f.textShadowRadius})),f)l?e.setAttribute(v,f[v]):e.style[v]=f[v]};_e.default=u}),546,[1,26,547,542,550]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=n(r(d[2])),s=n(r(d[3])),u=(0,r(d[4]).isJest)()||!globalThis.requestAnimationFrame?r(d[5]).mockedRequestAnimationFrame:globalThis.requestAnimationFrame,l=(e.default=(function(){function n(){var s=this;(0,o.default)(this,n),this.nextSensorId=0,this.sensors=new Map,this.platform=void 0,this.getSensorCallback=function(n,o,u){switch(o){case r(d[6]).SensorType.ACCELEROMETER:case r(d[6]).SensorType.GRAVITY:return function(){var t=n.x,o=n.y,c=n.z;if(s.platform===l.WEB_ANDROID){var v=[-t,-o,-c];t=v[0],o=v[1],c=v[2]}u({x:t,y:o,z:c,interfaceOrientation:0})};case r(d[6]).SensorType.GYROSCOPE:case r(d[6]).SensorType.MAGNETIC_FIELD:return function(){var t=n.x,o=n.y,s=n.z;u({x:t,y:o,z:s,interfaceOrientation:0})};case r(d[6]).SensorType.ROTATION:return function(){var o=(0,t.default)(n.quaternion,4),c=o[0],v=o[1],y=o[2],w=o[3];if(s.platform===l.WEB_ANDROID){var h=[w,-y];y=h[0],w=h[1]}var f=-Math.atan2(2*(y*w+c*v),c*c-v*v-y*y+w*w),p=Math.sin(-2*(v*w-c*y)),S=-Math.atan2(2*(v*y+c*w),c*c+v*v-y*y-w*w);u({qw:c,qx:v,qy:y,qz:w,yaw:f,pitch:p,roll:S,interfaceOrientation:0})}}}}return(0,s.default)(n,[{key:"makeShareableClone",value:function(){throw new Error('[Reanimated] makeShareableClone should never be called in JSReanimated.')}},{key:"scheduleOnUI",value:function(n){u(n)}},{key:"createWorkletRuntime",value:function(n,t){throw new Error('[Reanimated] createWorkletRuntime is not available in JSReanimated.')}},{key:"scheduleOnRuntime",value:function(){throw new Error('[Reanimated] scheduleOnRuntime is not available in JSReanimated.')}},{key:"registerEventHandler",value:function(n,t,o){return-1}},{key:"unregisterEventHandler",value:function(n){}},{key:"enableLayoutAnimations",value:function(){(0,r(d[4]).isWeb)()?console.warn('[Reanimated] Layout Animations are not supported on web yet.'):(0,r(d[4]).isJest)()?console.warn('[Reanimated] Layout Animations are no-ops when using Jest.'):(0,r(d[4]).isChromeDebugger)()?console.warn('[Reanimated] Layout Animations are no-ops when using Chrome Debugger.'):console.warn('[Reanimated] Layout Animations are not supported on this configuration.')}},{key:"configureLayoutAnimation",value:function(){}},{key:"configureLayoutAnimationBatch",value:function(){}},{key:"setShouldAnimateExitingForTag",value:function(){}},{key:"registerSensor",value:function(n,t,o,s){if(!(0,r(d[4]).isWindowAvailable)())return-1;if(void 0===this.platform&&this.detectPlatform(),!(this.getSensorName(n)in window))return console.warn('[Reanimated] Sensor is not available.'+((0,r(d[4]).isWeb)()&&'https:'!==location.protocol?' Make sure you use secure origin with `npx expo start --web --https`.':'')+(this.platform===l.WEB_IOS?' For iOS web, you will also have to also grant permission in the browser: https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2.':'')),-1;void 0===this.platform&&this.detectPlatform();var u=this.initializeSensor(n,t);return u.addEventListener('reading',this.getSensorCallback(u,n,s)),u.start(),this.sensors.set(this.nextSensorId,u),this.nextSensorId++}},{key:"unregisterSensor",value:function(n){var t=this.sensors.get(n);void 0!==t&&(t.stop(),this.sensors.delete(n))}},{key:"subscribeForKeyboardEvents",value:function(n){return(0,r(d[4]).isWeb)()?console.warn('[Reanimated] useAnimatedKeyboard is not available on web yet.'):(0,r(d[4]).isJest)()?console.warn('[Reanimated] useAnimatedKeyboard is not available when using Jest.'):(0,r(d[4]).isChromeDebugger)()?console.warn('[Reanimated] useAnimatedKeyboard is not available when using Chrome Debugger.'):console.warn('[Reanimated] useAnimatedKeyboard is not available on this configuration.'),-1}},{key:"unsubscribeFromKeyboardEvents",value:function(n){}},{key:"initializeSensor",value:function(n,t){var o=t<=0?{referenceFrame:'device'}:{frequency:1e3/t};switch(n){case r(d[6]).SensorType.ACCELEROMETER:return new window.Accelerometer(o);case r(d[6]).SensorType.GYROSCOPE:return new window.Gyroscope(o);case r(d[6]).SensorType.GRAVITY:return new window.GravitySensor(o);case r(d[6]).SensorType.MAGNETIC_FIELD:return new window.Magnetometer(o);case r(d[6]).SensorType.ROTATION:return new window.AbsoluteOrientationSensor(o)}}},{key:"getSensorName",value:function(n){switch(n){case r(d[6]).SensorType.ACCELEROMETER:return'Accelerometer';case r(d[6]).SensorType.GRAVITY:return'GravitySensor';case r(d[6]).SensorType.GYROSCOPE:return'Gyroscope';case r(d[6]).SensorType.MAGNETIC_FIELD:return'Magnetometer';case r(d[6]).SensorType.ROTATION:return'AbsoluteOrientationSensor'}}},{key:"detectPlatform",value:function(){var n=navigator.userAgent||navigator.vendor||window.opera;void 0===n?this.platform=l.UNKNOWN:/iPad|iPhone|iPod/.test(n)?this.platform=l.WEB_IOS:/android/i.test(n)?this.platform=l.WEB_ANDROID:this.platform=l.WEB}},{key:"getViewProp",value:function(n,t,o){throw new Error('[Reanimated] getViewProp is not available in JSReanimated.')}},{key:"configureProps",value:function(){throw new Error('[Reanimated] configureProps is not available in JSReanimated.')}},{key:"executeOnUIRuntimeSync",value:function(n){throw new Error('[Reanimated] `executeOnUIRuntimeSync` is not available in JSReanimated.')}}]),n})(),(function(n){return n.WEB_IOS="web iOS",n.WEB_ANDROID="web Android",n.WEB="web",n.UNKNOWN="unknown",n})(l||{}))}),547,[1,26,5,6,542,548,549]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.mockedRequestAnimationFrame=function(n){return setTimeout((function(){return n(performance.now())}),0)}}),548,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.isWorkletFunction=e.SensorType=e.ReduceMotion=e.KeyboardState=e.InterfaceOrientation=e.IOSReferenceFrame=void 0;var t={code:"function isWorkletFunction(value){return!!value.__workletHash;}"};e.isWorkletFunction=(function(){var n=function(t){return!!t.__workletHash};return n.__closure={},n.__workletHash=1820689842103,n.__initData=t,n})(),e.SensorType=(function(t){return t[t.ACCELEROMETER=1]="ACCELEROMETER",t[t.GYROSCOPE=2]="GYROSCOPE",t[t.GRAVITY=3]="GRAVITY",t[t.MAGNETIC_FIELD=4]="MAGNETIC_FIELD",t[t.ROTATION=5]="ROTATION",t})({}),e.IOSReferenceFrame=(function(t){return t[t.XArbitraryZVertical=0]="XArbitraryZVertical",t[t.XArbitraryCorrectedZVertical=1]="XArbitraryCorrectedZVertical",t[t.XMagneticNorthZVertical=2]="XMagneticNorthZVertical",t[t.XTrueNorthZVertical=3]="XTrueNorthZVertical",t[t.Auto=4]="Auto",t})({}),e.InterfaceOrientation=(function(t){return t[t.ROTATION_0=0]="ROTATION_0",t[t.ROTATION_90=90]="ROTATION_90",t[t.ROTATION_180=180]="ROTATION_180",t[t.ROTATION_270=270]="ROTATION_270",t})({}),e.KeyboardState=(function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.OPENING=1]="OPENING",t[t.OPEN=2]="OPEN",t[t.CLOSING=3]="CLOSING",t[t.CLOSED=4]="CLOSED",t})({}),e.ReduceMotion=(function(t){return t.System="system",t.Always="always",t.Never="never",t})({})}),549,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.PropsAllowlists=void 0;e.PropsAllowlists={UI_THREAD_PROPS_WHITELIST:{opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},NATIVE_THREAD_PROPS_WHITELIST:{borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,textShadowOffset:!0,letterSpacing:!0,aspectRatio:!0,columnGap:!0,end:!0,flexBasis:!0,gap:!0,rowGap:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,alignContent:!0,alignItems:!0,alignSelf:!0,direction:!0,flexDirection:!0,flexWrap:!0,justifyContent:!0,position:!0,color:!0,tintColor:!0,shadowColor:!0,placeholderTextColor:!0}}}),550,[]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.NativeReanimated=void 0;var t=n(r(d[1])),u=n(r(d[2])),o=r(d[3]);e.NativeReanimated=(function(){function n(){if((0,t.default)(this,n),g._REANIMATED_VERSION_JS=r(d[4]).jsVersion,void 0===g.__reanimatedModuleProxy){var u=o.NativeModules.ReanimatedModule,l=(0,r(d[5]).getValueUnpackerCode)();null==u||u.installTurboModule(l)}if(void 0===g.__reanimatedModuleProxy)throw new Error("[Reanimated] Native part of Reanimated doesn't seem to be initialized.\nSee https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#native-part-of-reanimated-doesnt-seem-to-be-initialized for more details.");this.InnerNativeModule=g.__reanimatedModuleProxy}return(0,u.default)(n,[{key:"makeShareableClone",value:function(n,t){return this.InnerNativeModule.makeShareableClone(n,t)}},{key:"scheduleOnUI",value:function(n){return this.InnerNativeModule.scheduleOnUI(n)}},{key:"executeOnUIRuntimeSync",value:function(n){return this.InnerNativeModule.executeOnUIRuntimeSync(n)}},{key:"createWorkletRuntime",value:function(n,t){return this.InnerNativeModule.createWorkletRuntime(n,t)}},{key:"scheduleOnRuntime",value:function(n,t){return this.InnerNativeModule.scheduleOnRuntime(n,t)}},{key:"registerSensor",value:function(n,t,u,o){return this.InnerNativeModule.registerSensor(n,t,u,o)}},{key:"unregisterSensor",value:function(n){return this.InnerNativeModule.unregisterSensor(n)}},{key:"registerEventHandler",value:function(n,t,u){return this.InnerNativeModule.registerEventHandler(n,t,u)}},{key:"unregisterEventHandler",value:function(n){return this.InnerNativeModule.unregisterEventHandler(n)}},{key:"getViewProp",value:function(n,t,u){return this.InnerNativeModule.getViewProp(n,t,u)}},{key:"configureLayoutAnimation",value:function(n,t,u,o){this.InnerNativeModule.configureLayoutAnimation(n,t,u,o)}},{key:"configureLayoutAnimationBatch",value:function(n){this.InnerNativeModule.configureLayoutAnimationBatch(n)}},{key:"setShouldAnimateExitingForTag",value:function(n,t){this.InnerNativeModule.setShouldAnimateExitingForTag(n,t)}},{key:"enableLayoutAnimations",value:function(n){this.InnerNativeModule.enableLayoutAnimations(n)}},{key:"configureProps",value:function(n,t){this.InnerNativeModule.configureProps(n,t)}},{key:"subscribeForKeyboardEvents",value:function(n,t){return this.InnerNativeModule.subscribeForKeyboardEvents(n,t)}},{key:"unsubscribeFromKeyboardEvents",value:function(n){this.InnerNativeModule.unsubscribeFromKeyboardEvents(n)}}]),n})()}),551,[1,5,6,2,552,553]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.jsVersion=void 0;e.jsVersion='3.8.1'}),552,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.getValueUnpackerCode=getValueUnpackerCode;var _worklet_9203114117173_init_data={code:"function valueUnpacker(objectToUnpack,category){let workletsCache=global.__workletsCache;let handleCache=global.__handleCache;if(workletsCache===undefined){workletsCache=global.__workletsCache=new Map();handleCache=global.__handleCache=new WeakMap();}const workletHash=objectToUnpack.__workletHash;if(workletHash!==undefined){let workletFun=workletsCache.get(workletHash);if(workletFun===undefined){const initData=objectToUnpack.__initData;if(global.evalWithSourceMap){workletFun=global.evalWithSourceMap('('+initData.code+'\\n)',initData.location,initData.sourceMap);}else if(global.evalWithSourceUrl){workletFun=global.evalWithSourceUrl('('+initData.code+'\\n)',\"worklet_\"+workletHash);}else{workletFun=eval('('+initData.code+'\\n)');}workletsCache.set(workletHash,workletFun);}const functionInstance=workletFun.bind(objectToUnpack);objectToUnpack._recur=functionInstance;return functionInstance;}else if(objectToUnpack.__init!==undefined){let value=handleCache.get(objectToUnpack);if(value===undefined){value=objectToUnpack.__init();handleCache.set(objectToUnpack,value);}return value;}else if(category==='RemoteFunction'){const fun=function(){throw new Error(\"[Reanimated] Tried to synchronously call a non-worklet function on the UI thread.\\nSee `https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread` for more details.\");};fun.__remoteFunction=objectToUnpack;return fun;}else{throw new Error(\"[Reanimated] Data type in category \\\"\"+category+\"\\\" not recognized by value unpacker: \\\"\"+_toString(objectToUnpack)+\"\\\".\");}}"},valueUnpacker=(function(){var valueUnpacker=function valueUnpacker(objectToUnpack,category){var workletsCache=g.__workletsCache,handleCache=g.__handleCache;void 0===workletsCache&&(workletsCache=g.__workletsCache=new Map,handleCache=g.__handleCache=new WeakMap);var workletHash=objectToUnpack.__workletHash;if(void 0!==workletHash){var workletFun=workletsCache.get(workletHash);if(void 0===workletFun){var initData=objectToUnpack.__initData;workletFun=g.evalWithSourceMap?g.evalWithSourceMap('('+initData.code+'\n)',initData.location,initData.sourceMap):g.evalWithSourceUrl?g.evalWithSourceUrl('('+initData.code+'\n)',`worklet_${workletHash}`):eval('('+initData.code+'\n)'),workletsCache.set(workletHash,workletFun)}var functionInstance=workletFun.bind(objectToUnpack);return objectToUnpack._recur=functionInstance,functionInstance}if(void 0!==objectToUnpack.__init){var value=handleCache.get(objectToUnpack);return void 0===value&&(value=objectToUnpack.__init(),handleCache.set(objectToUnpack,value)),value}if('RemoteFunction'===category){var fun=function(){throw new Error("[Reanimated] Tried to synchronously call a non-worklet function on the UI thread.\nSee `https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread` for more details.")};return fun.__remoteFunction=objectToUnpack,fun}throw new Error(`[Reanimated] Data type in category "${category}" not recognized by value unpacker: "${_toString(objectToUnpack)}".`)};return valueUnpacker.__closure={},valueUnpacker.__workletHash=9203114117173,valueUnpacker.__initData=_worklet_9203114117173_init_data,valueUnpacker})(),_worklet_14892326408241_init_data={code:"function anonymous(){}"};function getValueUnpackerCode(){return valueUnpacker.__initData.code}}),553,[]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.makeShareableCloneOnUIRecursive=e.makeShareable=void 0,e.makeShareableCloneRecursive=A;var n=t(r(d[1])),o=t(r(d[2])),u=(0,r(d[3]).shouldBeUseWeb)(),c='REANIMATED_MAGIC_KEY',l={code:"function isHostObject(value){const{MAGIC_KEY}=this.__closure;return MAGIC_KEY in value;}"},s=(function(){var t=function(t){return c in t};return t.__closure={MAGIC_KEY:c},t.__workletHash=6457566696199,t.__initData=l,t})();var _,f,h={code:"function anonymous(){return new Proxy({},{get:function(_,prop){if(prop==='_isReanimatedSharedValue'||prop==='__remoteFunction'){return false;}throw new Error(\"[Reanimated] Trying to access property `\"+String(prop)+\"` of an object which cannot be sent to the UI runtime.\");},set:function(){throw new Error('[Reanimated] Trying to write to an object which cannot be sent to the UI runtime.');}});}"},v={__init:(_=function(){return new Proxy({},{get:function(t,n){if('_isReanimatedSharedValue'===n||'__remoteFunction'===n)return!1;throw new Error(`[Reanimated] Trying to access property \`${String(n)}\` of an object which cannot be sent to the UI runtime.`)},set:function(){throw new Error('[Reanimated] Trying to write to an object which cannot be sent to the UI runtime.')}})},_.__closure={},_.__workletHash=0xfa190961e03,_.__initData=h,_)},p=['Int8Array','Uint8Array','Uint8ClampedArray','Int16Array','Uint16Array','Int32Array','Uint32Array','Float32Array','Float64Array','BigInt64Array','BigUint64Array','DataView'],b=30,y={code:"function anonymous(){const{pattern,flags}=this.__closure;return new RegExp(pattern,flags);}"},w={code:"function anonymous(){const{VALID_ARRAY_VIEWS_NAMES,typeName,buffer}=this.__closure;if(!VALID_ARRAY_VIEWS_NAMES.includes(typeName)){throw new Error(\"[Reanimated] Invalid array view name `\"+typeName+\"`.\");}const constructor=global[typeName];if(constructor===undefined){throw new Error(\"[Reanimated] Constructor for `\"+typeName+\"` not found.\");}return new constructor(buffer);}"};function A(t){var c=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(u)return t;if(l>=b){if(l===b)f=t;else if(t===f)throw new Error('[Reanimated] Trying to convert a cyclic object to a shareable. This is not supported.')}else f=void 0;var _,h=typeof t,E='function'===h;if(('object'===h||E)&&null!==t){var R,S=r(d[4]).shareableMappingCache.get(t);if(S===r(d[4]).shareableMappingFlag)return t;if(void 0!==S)return S;if(Array.isArray(t))R=t.map((function(t){return A(t,c,l+1)}));else if(E&&!(0,r(d[5]).isWorkletFunction)(t))R=t;else if(s(t))R=t;else if(_=t,Object.getPrototypeOf(_)===Object.prototype||E)for(var k of(R={},(0,r(d[5]).isWorkletFunction)(t)&&(t.__stackDetails&&delete t.__stackDetails,R.__initData=A(t.__initData,!0,l+1)),Object.entries(t))){var C=(0,n.default)(k,2),I=C[0],D=C[1];'__initData'===I&&void 0!==R.__initData||(R[I]=A(D,c,l+1))}else{if(t instanceof RegExp){var U=t.source,j=t.flags,M=A({__init:(function(){var t=function(){return new RegExp(U,j)};return t.__closure={pattern:U,flags:j},t.__workletHash=0xf7d7c22e69c,t.__initData=y,t})()});return r(d[4]).shareableMappingCache.set(t,M),M}if(!(t instanceof ArrayBuffer)){if(ArrayBuffer.isView(t)){var O=t.buffer,F=t.constructor.name,H=A({__init:(function(){var t=function(){if(!p.includes(F))throw new Error(`[Reanimated] Invalid array view name \`${F}\`.`);var t=g[F];if(void 0===t)throw new Error(`[Reanimated] Constructor for \`${F}\` not found.`);return new t(O)};return t.__closure={VALID_ARRAY_VIEWS_NAMES:p,typeName:F,buffer:O},t.__workletHash=0xd7ae057a66c,t.__initData=w,t})()});return r(d[4]).shareableMappingCache.set(t,H),H}var B=A(v);return r(d[4]).shareableMappingCache.set(t,B),B}R=t}var x=o.default.makeShareableClone(R,c);return r(d[4]).shareableMappingCache.set(t,x),r(d[4]).shareableMappingCache.set(x),x}return o.default.makeShareableClone(t,c)}var E={code:"function isRemoteFunction(value){return!!value.__remoteFunction;}"},R=(function(){var t=function(t){return!!t.__remoteFunction};return t.__closure={},t.__workletHash=0xab48dedcee7,t.__initData=E,t})(),S={code:"function makeShareableCloneOnUIRecursive(value){const{SHOULD_BE_USE_WEB,isHostObject,isRemoteFunction}=this.__closure;if(SHOULD_BE_USE_WEB){return value;}function cloneRecursive(value){if(typeof value==='object'&&value!==null||typeof value==='function'){if(isHostObject(value)){return global._makeShareableClone(value);}if(isRemoteFunction(value)){return value.__remoteFunction;}if(Array.isArray(value)){return global._makeShareableClone(value.map(cloneRecursive));}const toAdapt={};for(const[key,element]of Object.entries(value)){toAdapt[key]=cloneRecursive(element);}return global._makeShareableClone(toAdapt);}return global._makeShareableClone(value);}return cloneRecursive(value);}"};e.makeShareableCloneOnUIRecursive=(function(){var t=function(t){if(u)return t;return(function t(o){if('object'==typeof o&&null!==o||'function'==typeof o){if(s(o))return g._makeShareableClone(o);if(R(o))return o.__remoteFunction;if(Array.isArray(o))return g._makeShareableClone(o.map(t));var u={};for(var c of Object.entries(o)){var l=(0,n.default)(c,2),_=l[0],f=l[1];u[_]=t(f)}return g._makeShareableClone(u)}return g._makeShareableClone(o)})(t)};return t.__closure={SHOULD_BE_USE_WEB:u,isHostObject:s,isRemoteFunction:R},t.__workletHash=3718870753679,t.__initData=S,t})();var k={code:"function anonymous(){const{value}=this.__closure;return value;}"};e.makeShareable=u?function(t){return t}:function(t){if(r(d[4]).shareableMappingCache.get(t))return t;var n=A({__init:(function(){var n=function(){return t};return n.__closure={value:t},n.__workletHash=0xe7937ca4a9c,n.__initData=k,n})()});return r(d[4]).shareableMappingCache.set(t,n),t}}),554,[1,26,545,542,555,549]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.shareableMappingFlag=e.shareableMappingCache=void 0;var n=(0,r(d[0]).shouldBeUseWeb)(),l=e.shareableMappingFlag=Symbol('shareable flag'),t=n?null:new WeakMap;e.shareableMappingCache=n?{set:function(){},get:function(){return null}}:{set:function(n,s){t.set(n,s||l)},get:t.get.bind(t)}}),555,[542]); +__d((function(g,r,i,a,m,_e,d){'use strict';Object.defineProperty(_e,"__esModule",{value:!0}),_e.callGuardDEV=void 0,_e.initializeUIRuntime=function(){e&&(globalThis.requestAnimationFrame=r(d[3]).mockedRequestAnimationFrame);(0,r(d[1]).runOnUIImmediately)((n=function(){u(),p(),t||((0,r(d[1]).setupMicrotasks)(),E())},n.__closure={setupCallGuard:u,setupConsole:p,SHOULD_BE_USE_WEB:t,setupMicrotasks:r(d[1]).setupMicrotasks,setupRequestAnimationFrame:E},n.__workletHash=8852908519716,n.__initData=b,n))();var n},_e.setupConsole=_e.setupCallGuard=void 0;var e=(0,r(d[0]).isJest)(),t=(0,r(d[0]).shouldBeUseWeb)(),n=(0,r(d[0]).isChromeDebugger)(),o={code:"function callGuardDEV(fn,...args){try{return fn(...args);}catch(e){if(global.__ErrorUtils){global.__ErrorUtils.reportFatalError(e);}else{throw e;}}}"},s=_e.callGuardDEV=(function(){var e=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o=timestamp){return;}lastNativeAnimationFrameTimestamp=timestamp;global.__frameTimestamp=timestamp;global.__flushAnimationFrame(timestamp);global.__frameTimestamp=undefined;});}return-1;};}"},E=(function(){var e=function(){var e=g.requestAnimationFrame,t=[],n=-1;g.__flushAnimationFrame=function(e){var n=t;t=[],n.forEach((function(t){return t(e)})),(0,r(d[1]).callMicrotasks)()},g.requestAnimationFrame=function(o){return t.push(o),1===t.length&&e((function(e){n>=e||(n=e,g.__frameTimestamp=e,g.__flushAnimationFrame(e),g.__frameTimestamp=void 0)})),-1}};return e.__closure={callMicrotasks:r(d[1]).callMicrotasks},e.__workletHash=7781445156117,e.__initData=f,e})(),b={code:"function anonymous(){const{setupCallGuard,setupConsole,SHOULD_BE_USE_WEB,setupMicrotasks,setupRequestAnimationFrame}=this.__closure;setupCallGuard();setupConsole();if(!SHOULD_BE_USE_WEB){setupMicrotasks();setupRequestAnimationFrame();}}"}}),556,[542,557,558,548]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.callMicrotasks=void 0,e.executeOnUIRuntimeSync=function(n){return function(){for(var t=arguments.length,o=new Array(t),l=0;l1?t-1:0),u=1;u0?makeShareableCloneOnUIRecursive(args):undefined);};}"};e.runOnJS=(function(){var n=function n(t){return s||!_WORKLET?function(){for(var n=arguments.length,o=new Array(n),u=0;u0?(0,r(d[5]).makeShareableCloneOnUIRecursive)(o):void 0)})};return n.__closure={SHOULD_BE_USE_WEB:s,isWorkletFunction:r(d[6]).isWorkletFunction,runWorkletOnJS:I,makeShareableCloneOnUIRecursive:r(d[5]).makeShareableCloneOnUIRecursive},n.__workletHash=2715592036660,n.__initData=b,n})()}),557,[1,34,26,545,542,554,549]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerWorkletStackDetails=function(t,n){u.set(t,n)},e.reportFatalErrorOnJS=function(t){var n=t.message,u=t.stack,l=new Error;l.message=n,l.stack=u?o(u):void 0,l.name='ReanimatedError',l.jsEngine='reanimated',g.ErrorUtils.reportFatalError(l)};var n=t(r(d[1])),u=new Map;function l(t){var u,l,o=null==(u=t.stack)||null==(l=u.split('\n'))?void 0:l[0];if(o){var s=/@([^@]+):(\d+):(\d+)/.exec(o);if(s){var c=(0,n.default)(s,4),f=c[1],v=c[2],p=c[3];return[f,Number(v),Number(p)]}}return['unknown',0,0]}function o(t){var o=t.match(/worklet_(\d+):(\d+):(\d+)/g),s=t;return null==o||o.forEach((function(t){var o=t.split(/:|_/).map(Number),c=(0,n.default)(o,4),f=c[1],v=c[2],p=c[3],k=u.get(f);if(k){var E=(0,n.default)(k,3),_=E[0],b=E[1],w=E[2],N=l(_),$=(0,n.default)(N,3),h=$[0],j=v+$[1]+b,F=p+$[2]+w;s=s.replace(t,`${h}:${j}:${F}`)}})),s}}),558,[1,26]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.makeMutable=function(n){var f=n,v=(0,r(d[2]).makeShareableCloneRecursive)({__init:(w=function(){return u(n)},w.__closure={makeUIMutable:u,initial:n},w.__workletHash=0x976fa338691,w.__initData=o,w)}),_=t?new Map:void 0,h={set value(n){t?(0,r(d[1]).valueSetter)(h,n):(0,r(d[3]).runOnUI)((function(){var t=function(){h.value=n};return t.__closure={mutable:h,newValue:n},t.__workletHash=0xb005bc8aee2,t.__initData=l,t})())()},get value(){if(t)return f;var n=(0,r(d[3]).executeOnUIRuntimeSync)((function(){var t=function(t){return t.value};return t.__closure={},t.__workletHash=0xe3f0063ff25,t.__initData=s,t})());return n(h)},set _value(n){if(!t)throw new Error('[Reanimated] Setting `_value` directly is only possible on the UI runtime. Perhaps you want to assign to `value` instead?');f=n,_.forEach((function(t){t(n)}))},get _value(){if(t)return f;throw new Error('[Reanimated] Reading from `_value` directly is only possible on the UI runtime. Perhaps you passed an Animated Style to a non-animated component?')},modify:function(n){var u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t?(0,r(d[1]).valueSetter)(h,void 0!==n?n(h.value):h.value,u):(0,r(d[3]).runOnUI)((function(){var t=function(){h.modify(n,u)};return t.__closure={mutable:h,modifier:n,forceUpdate:u},t.__workletHash=0x99f41d2f9e5,t.__initData=c,t})())()},addListener:function(n,u){if(!t)throw new Error('[Reanimated] Adding listeners is only possible on the UI runtime.');_.set(n,u)},removeListener:function(n){if(!t)throw new Error('[Reanimated] Removing listeners is only possible on the UI runtime.');_.delete(n)},_isReanimatedSharedValue:!0};var w;return r(d[4]).shareableMappingCache.set(h,v),h},e.makeUIMutable=void 0;var t=(0,r(d[0]).shouldBeUseWeb)(),n={code:"function makeUIMutable(initial){const{valueSetter}=this.__closure;const listeners=new Map();let value=initial;const self={set value(newValue){valueSetter(self,newValue);},get value(){return value;},set _value(newValue){value=newValue;listeners.forEach(function(listener){listener(newValue);});},get _value(){return value;},modify:function(modifier,forceUpdate=true){valueSetter(self,modifier!==undefined?modifier(value):value,forceUpdate);},addListener:function(id,listener){listeners.set(id,listener);},removeListener:function(id){listeners.delete(id);},_animation:null,_isReanimatedSharedValue:true};return self;}"},u=e.makeUIMutable=(function(){var t=function(t){var n=new Map,u=t,o={set value(t){(0,r(d[1]).valueSetter)(o,t)},get value(){return u},set _value(t){u=t,n.forEach((function(n){n(t)}))},get _value(){return u},modify:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,r(d[1]).valueSetter)(o,void 0!==t?t(u):u,n)},addListener:function(t,u){n.set(t,u)},removeListener:function(t){n.delete(t)},_animation:null,_isReanimatedSharedValue:!0};return o};return t.__closure={valueSetter:r(d[1]).valueSetter},t.__workletHash=7567385505780,t.__initData=n,t})(),o={code:"function anonymous(){const{makeUIMutable,initial}=this.__closure;return makeUIMutable(initial);}"},l={code:"function anonymous(){const{mutable,newValue}=this.__closure;mutable.value=newValue;}"},s={code:"function anonymous(sv){return sv.value;}"},c={code:"function anonymous(){const{mutable,modifier,forceUpdate}=this.__closure;mutable.modify(modifier,forceUpdate);}"}}),559,[542,560,554,557,555]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.valueSetter=void 0;var t={code:"function valueSetter(mutable,value,forceUpdate=false){const previousAnimation=mutable._animation;if(previousAnimation){previousAnimation.cancelled=true;mutable._animation=null;}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined){const animation=typeof value==='function'?value():value;if(mutable._value===animation.current&&!animation.isHigherOrder&&!forceUpdate){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,mutable.value,timestamp,previousAnimation);};const currentTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();initializeAnimation(currentTimestamp);const step=function(newTimestamp){const timestamp=newTimestamp<(animation.timestamp||0)?animation.timestamp:newTimestamp;if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;mutable._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};mutable._animation=animation;step(currentTimestamp);}else{if(mutable._value===value&&!forceUpdate){return;}mutable._value=value;}}"};e.valueSetter=(function(){var n=function(t,n){var l,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=t._animation;if(u&&(u.cancelled=!0,t._animation=null),'function'==typeof n||null!==n&&'object'==typeof n&&void 0!==n.onFrame){var c='function'==typeof n?n():n;if(t._value===c.current&&!c.isHigherOrder&&!o)return void(c.callback&&c.callback(!0));var s=g.__frameTimestamp||g._getAnimationTimestamp();l=s,c.onStart(c,t.value,l,u);t._animation=c,(function n(l){var o=l<(c.timestamp||0)?c.timestamp:l;if(c.cancelled)c.callback&&c.callback(!1);else{var u=c.onFrame(c,o);c.finished=!0,c.timestamp=o,t._value=c.current,u?c.callback&&c.callback(!0):requestAnimationFrame(n)}})(s)}else{if(t._value===n&&!o)return;t._value=n}};return n.__closure={},n.__workletHash=95615468412,n.__initData=t,n})()}),560,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.startMapper=function(t){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],f=n+=1;return(0,r(d[2]).runOnUI)((function(){var n=function(){var n=g.__mapperRegistry;void 0===n&&(n=g.__mapperRegistry=s()),n.start(f,t,p,u)};return n.__closure={createMapperRegistry:s,mapperID:f,worklet:t,inputs:p,outputs:u},n.__workletHash=0xf5505741d5b,n.__initData=o,n})())(),f},e.stopMapper=function(t){(0,r(d[2]).runOnUI)((p=function(){var p=g.__mapperRegistry;null==p||p.stop(t)},p.__closure={mapperID:t},p.__workletHash=0xc91f3886116,p.__initData=u,p))();var p};var t=(0,r(d[0]).isJest)(),p={code:"function createMapperRegistry(){const{IS_JEST,isSharedValue}=this.__closure;const mappers=new Map();let sortedMappers=[];let runRequested=false;let processingMappers=false;function updateMappersOrder(){const pre=new Map();mappers.forEach(function(mapper){if(mapper.outputs){for(const output of mapper.outputs){const preMappers=pre.get(output);if(preMappers===undefined){pre.set(output,[mapper]);}else{preMappers.push(mapper);}}}});const visited=new Set();const newOrder=[];function dfs(mapper){visited.add(mapper);for(const input of mapper.inputs){const preMappers=pre.get(input);if(preMappers){for(const preMapper of preMappers){if(!visited.has(preMapper)){dfs(preMapper);}}}}newOrder.push(mapper);}mappers.forEach(function(mapper){if(!visited.has(mapper)){dfs(mapper);}});sortedMappers=newOrder;}function mapperRun(){runRequested=false;if(processingMappers){return;}try{processingMappers=true;if(mappers.size!==sortedMappers.length){updateMappersOrder();}for(const mapper of sortedMappers){if(mapper.dirty){mapper.dirty=false;mapper.worklet();}}}finally{processingMappers=false;}}function maybeRequestUpdates(){if(IS_JEST){mapperRun();}else if(!runRequested){if(processingMappers){requestAnimationFrame(mapperRun);}else{queueMicrotask(mapperRun);}runRequested=true;}}function extractInputs(inputs,resultArray){if(Array.isArray(inputs)){for(const input of inputs){input&&extractInputs(input,resultArray);}}else if(isSharedValue(inputs)){resultArray.push(inputs);}else if(Object.getPrototypeOf(inputs)===Object.prototype){for(const element of Object.values(inputs)){element&&extractInputs(element,resultArray);}}return resultArray;}return{start:function(mapperID,worklet,inputs,outputs){const mapper={id:mapperID,dirty:true,worklet:worklet,inputs:extractInputs(inputs,[]),outputs:outputs};mappers.set(mapper.id,mapper);sortedMappers=[];for(const sv of mapper.inputs){sv.addListener(mapper.id,function(){mapper.dirty=true;maybeRequestUpdates();});}maybeRequestUpdates();},stop:function(mapperID){const mapper=mappers.get(mapperID);if(mapper){mappers.delete(mapper.id);sortedMappers=[];for(const sv of mapper.inputs){sv.removeListener(mapper.id);}}}};}"},s=(function(){var s=function(){var p=new Map,s=[],n=!1,o=!1;function u(){var t=new Map;p.forEach((function(p){if(p.outputs)for(var s of p.outputs){var n=t.get(s);void 0===n?t.set(s,[p]):n.push(p)}}));var n=new Set,o=[];function u(p){for(var s of(n.add(p),p.inputs)){var f=t.get(s);if(f)for(var c of f)n.has(c)||u(c)}o.push(p)}p.forEach((function(t){n.has(t)||u(t)})),s=o}function f(){if(n=!1,!o)try{for(var t of(o=!0,p.size!==s.length&&u(),s))t.dirty&&(t.dirty=!1,t.worklet())}finally{o=!1}}function c(){t?f():n||(o?requestAnimationFrame(f):queueMicrotask(f),n=!0)}function l(t,p){if(Array.isArray(t))for(var s of t)s&&l(s,p);else if((0,r(d[1]).isSharedValue)(t))p.push(t);else if(Object.getPrototypeOf(t)===Object.prototype)for(var n of Object.values(t))n&&l(n,p);return p}return{start:function(t,n,o,u){var f={id:t,dirty:!0,worklet:n,inputs:l(o,[]),outputs:u};for(var y of(p.set(f.id,f),s=[],f.inputs))y.addListener(f.id,(function(){f.dirty=!0,c()}));c()},stop:function(t){var n=p.get(t);if(n)for(var o of(p.delete(n.id),s=[],n.inputs))o.removeListener(n.id)}}};return s.__closure={IS_JEST:t,isSharedValue:r(d[1]).isSharedValue},s.__workletHash=5405073416202,s.__initData=p,s})(),n=9999,o={code:"function anonymous(){const{createMapperRegistry,mapperID,worklet,inputs,outputs}=this.__closure;let mapperRegistry=global.__mapperRegistry;if(mapperRegistry===undefined){mapperRegistry=global.__mapperRegistry=createMapperRegistry();}mapperRegistry.start(mapperID,worklet,inputs,outputs);}"};var u={code:"function anonymous(){const{mapperID}=this.__closure;const mapperRegistry=global.__mapperRegistry;mapperRegistry===null||mapperRegistry===void 0||mapperRegistry.stop(mapperID);}"}}),561,[542,562,557]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.isSharedValue=void 0;var u={code:"function isSharedValue(value){return(value===null||value===void 0?void 0:value._isReanimatedSharedValue)===true;}"};e.isSharedValue=(function(){var l=function(u){return!0===(null==u?void 0:u._isReanimatedSharedValue)};return l.__closure={},l.__workletHash=7960680803966,l.__initData=u,l})()}),562,[]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.SensorContainer=void 0;var t=n(r(d[1])),s=n(r(d[2])),u=n(r(d[3]));e.SensorContainer=(function(){function n(){(0,t.default)(this,n),this.nativeSensors=new Map}return(0,s.default)(n,[{key:"getSensorId",value:function(n,t){return 100*n+10*t.iosReferenceFrame+Number(t.adjustToInterfaceOrientation)}},{key:"initializeSensor",value:function(n,t){var s=this.getSensorId(n,t);if(!this.nativeSensors.has(s)){var o=new u.default(n,t);this.nativeSensors.set(s,o)}return this.nativeSensors.get(s).getSharedValue()}},{key:"registerSensor",value:function(n,t,s){var u=this.getSensorId(n,t);if(!this.nativeSensors.has(u))return-1;var o=this.nativeSensors.get(u);return o&&o.isAvailable()&&(o.isRunning()||o.register(s))?(o.listenersNumber++,u):-1}},{key:"unregisterSensor",value:function(n){if(this.nativeSensors.has(n)){var t=this.nativeSensors.get(n);t&&t.isRunning()&&(t.listenersNumber--,0===t.listenersNumber&&t.unregister())}}}]),n})()}),563,[1,5,6,564]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),u=t(r(d[3]));function o(t){return t===r(d[4]).SensorType.ROTATION?(0,r(d[5]).makeMutable)({qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0,interfaceOrientation:0}):(0,r(d[5]).makeMutable)({x:0,y:0,z:0,interfaceOrientation:0})}e.default=(function(){function t(s,u){(0,n.default)(this,t),this.listenersNumber=0,this.sensorId=null,this.sensorType=s,this.config=u,this.data=o(s)}return(0,s.default)(t,[{key:"register",value:function(t){var n=this.config,s=this.sensorType;return this.sensorId=u.default.registerSensor(s,'auto'===n.interval?-1:n.interval,n.iosReferenceFrame,t),-1!==this.sensorId}},{key:"isRunning",value:function(){return-1!==this.sensorId&&null!==this.sensorId}},{key:"isAvailable",value:function(){return-1!==this.sensorId}},{key:"getSharedValue",value:function(){return this.data}},{key:"unregister",value:function(){null!==this.sensorId&&-1!==this.sensorId&&u.default.unregisterSensor(this.sensorId),this.sensorId=null}}]),t})()}),564,[1,5,6,545,549,559]); +__d((function(g,r,i,a,m,e,d){'use strict';var t,n=1e9,o={code:"function startObservingProgress(tag,sharedValue,animationType){const{LayoutAnimationType,TAG_OFFSET}=this.__closure;const isSharedTransition=animationType===LayoutAnimationType.SHARED_ELEMENT_TRANSITION;sharedValue.addListener(tag+TAG_OFFSET,function(){global._notifyAboutProgress(tag,sharedValue.value,isSharedTransition);});}"},s=(function(){var t=function(t,o,s){var u=s===r(d[0]).LayoutAnimationType.SHARED_ELEMENT_TRANSITION;o.addListener(t+n,(function(){g._notifyAboutProgress(t,o.value,u)}))};return t.__closure={LayoutAnimationType:r(d[0]).LayoutAnimationType,TAG_OFFSET:n},t.__workletHash=9893216480023,t.__initData=o,t})(),u={code:"function stopObservingProgress(tag,sharedValue,removeView=false){const{TAG_OFFSET}=this.__closure;sharedValue.removeListener(tag+TAG_OFFSET);global._notifyAboutEnd(tag,removeView);}"},l=(function(){var t=function(t,o){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o.removeListener(t+n),g._notifyAboutEnd(t,s)};return t.__closure={TAG_OFFSET:n},t.__workletHash=0xfd0a1025ddc,t.__initData=u,t})(),c={code:"function createLayoutAnimationManager(){const{LayoutAnimationType,makeUIMutable,stopObservingProgress,withStyleAnimation,startObservingProgress}=this.__closure;const currentAnimationForTag=new Map();const mutableValuesForTag=new Map();return{start:function(tag,type,yogaValues,config){if(type===LayoutAnimationType.SHARED_ELEMENT_TRANSITION_PROGRESS){global.ProgressTransitionRegister.onTransitionStart(tag,yogaValues);return;}const style=config(yogaValues);let currentAnimation=style.animations;const previousAnimation=currentAnimationForTag.get(tag);if(previousAnimation){currentAnimation={...previousAnimation,...style.animations};}currentAnimationForTag.set(tag,currentAnimation);let value=mutableValuesForTag.get(tag);if(value===undefined){value=makeUIMutable(style.initialValues);mutableValuesForTag.set(tag,value);}else{stopObservingProgress(tag,value);value._value=style.initialValues;}const animation=withStyleAnimation(currentAnimation);animation.callback=function(finished){if(finished){currentAnimationForTag.delete(tag);mutableValuesForTag.delete(tag);const shouldRemoveView=type===LayoutAnimationType.EXITING;stopObservingProgress(tag,value,shouldRemoveView);}style.callback&&style.callback(finished===undefined?false:finished);};startObservingProgress(tag,value,type);value.value=animation;},stop:function(tag){const value=mutableValuesForTag.get(tag);if(!value){return;}stopObservingProgress(tag,value);}};}"},y=(function(){var t=function(){var t=new Map,n=new Map;return{start:function(o,u,c,y){if(u!==r(d[0]).LayoutAnimationType.SHARED_ELEMENT_TRANSITION_PROGRESS){var _=y(c),T=_.animations,v=t.get(o);v&&(T=Object.assign({},v,_.animations)),t.set(o,T);var A=n.get(o);void 0===A?(A=(0,r(d[1]).makeUIMutable)(_.initialValues),n.set(o,A)):(l(o,A),A._value=_.initialValues);var f=(0,r(d[2]).withStyleAnimation)(T);f.callback=function(s){if(s){t.delete(o),n.delete(o);var c=u===r(d[0]).LayoutAnimationType.EXITING;l(o,A,c)}_.callback&&_.callback(void 0!==s&&s)},s(o,A,u),A.value=f}else g.ProgressTransitionRegister.onTransitionStart(o,c)},stop:function(t){var o=n.get(t);o&&l(t,o)}}};return t.__closure={LayoutAnimationType:r(d[0]).LayoutAnimationType,makeUIMutable:r(d[1]).makeUIMutable,stopObservingProgress:l,withStyleAnimation:r(d[2]).withStyleAnimation,startObservingProgress:s},t.__workletHash=0x999d0697a6d,t.__initData=c,t})(),_={code:"function anonymous(){const{createLayoutAnimationManager}=this.__closure;global.LayoutAnimationsManager=createLayoutAnimationManager();}"};(0,r(d[3]).runOnUIImmediately)(((t=function(){g.LayoutAnimationsManager=y()}).__closure={createLayoutAnimationManager:y},t.__workletHash=0xc24be2c5d43,t.__initData=_,t))()}),565,[566,559,583,557]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).BaseAnimationBuilder}}),Object.defineProperty(e,"ComplexAnimationBuilder",{enumerable:!0,get:function(){return r(d[1]).ComplexAnimationBuilder}}),Object.defineProperty(e,"Keyframe",{enumerable:!0,get:function(){return r(d[2]).Keyframe}}),Object.defineProperty(e,"LayoutAnimationType",{enumerable:!0,get:function(){return r(d[3]).LayoutAnimationType}}),Object.defineProperty(e,"SharedTransitionType",{enumerable:!0,get:function(){return r(d[3]).SharedTransitionType}})}),566,[567,587,588,589]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAnimationBuilder=void 0;var n=t(r(d[1])),o=t(r(d[2])),u={code:"function anonymous(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);}"},c={code:"function anonymous(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;}"};e.BaseAnimationBuilder=(function(){function t(){(0,n.default)(this,t),this.reduceMotionV=r(d[3]).ReduceMotion.System,this.randomizeDelay=!1,this.build=function(){throw new Error('[Reanimated] Unimplemented method in child class.')}}return(0,o.default)(t,[{key:"duration",value:function(t){return this.durationV=t,this}},{key:"delay",value:function(t){return this.delayV=t,this}},{key:"withCallback",value:function(t){return this.callbackV=t,this}},{key:"reduceMotion",value:function(t){return this.reduceMotionV=t,this}},{key:"getDuration",value:function(){var t;return null!=(t=this.durationV)?t:300}},{key:"randomDelay",value:function(){return this.randomizeDelay=!0,this}},{key:"getDelay",value:function(){var t,n;return this.randomizeDelay?Math.random()*(null!=(t=this.delayV)?t:1e3):null!=(n=this.delayV)?n:0}},{key:"getReduceMotion",value:function(){return this.reduceMotionV}},{key:"getDelayFunction",value:function(){var t,n=this.randomizeDelay||this.delayV,o=this.getReduceMotion();return n?((t=function(t,n){return(0,r(d[4]).withDelay)(t,n,o)}).__closure={withDelay:r(d[4]).withDelay,reduceMotion:o},t.__workletHash=0xc958915201d,t.__initData=u,t):(function(){var t=function(t,n){return n.reduceMotion=(0,r(d[5]).getReduceMotionFromConfig)(o),n};return t.__closure={getReduceMotionFromConfig:r(d[5]).getReduceMotionFromConfig,reduceMotion:o},t.__workletHash=5312609872546,t.__initData=c,t})()}}],[{key:"duration",value:function(t){return this.createInstance().duration(t)}},{key:"delay",value:function(t){return this.createInstance().delay(t)}},{key:"withCallback",value:function(t){return this.createInstance().withCallback(t)}},{key:"reduceMotion",value:function(t){return this.createInstance().reduceMotion(t)}},{key:"getDuration",value:function(){return 300}},{key:"randomDelay",value:function(){return this.createInstance().randomDelay()}},{key:"build",value:function(){return this.createInstance().build()}}]),t})()}),567,[1,5,6,549,568,569]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return r(d[0]).cancelAnimation}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return r(d[0]).defineAnimation}}),Object.defineProperty(e,"initialUpdaterRun",{enumerable:!0,get:function(){return r(d[0]).initialUpdaterRun}}),Object.defineProperty(e,"withClamp",{enumerable:!0,get:function(){return r(d[1]).withClamp}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return r(d[2]).withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return r(d[3]).withDelay}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return r(d[4]).withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return r(d[5]).withSequence}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return r(d[6]).withSpring}}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return r(d[7]).withStyleAnimation}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return r(d[8]).withTiming}})}),568,[569,572,573,578,579,580,581,583,584]); +__d((function(g,r,_i,_a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.getReduceMotionFromConfig=e.getReduceMotionForAnimation=e.defineAnimation=e.cancelAnimation=void 0,e.initialUpdaterRun=function(t){n=!0;var i=t();return n=!1,i},e.recognizePrefixSuffix=void 0;var n=!1,t=(0,r(d[0]).isReducedMotion)();var i={code:"function recognizePrefixSuffix(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw new Error(\"[Reanimated] Couldn't parse animation value.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}"},a=e.recognizePrefixSuffix=(function(){var n=function(n){if('string'==typeof n){var t,i=n.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!i)throw new Error("[Reanimated] Couldn't parse animation value.");var a=i[1],o=i[4],u=i[2]+(null!=(t=i[3])?t:'');return{prefix:a,suffix:o,strippedValue:parseFloat(u)}}return{strippedValue:n}};return n.__closure={},n.__workletHash=3020301727952,n.__initData=i,n})(),o={code:"function getReduceMotionFromConfig(config){const{ReduceMotion,IS_REDUCED_MOTION}=this.__closure;return!config||config===ReduceMotion.System?IS_REDUCED_MOTION:config===ReduceMotion.Always;}"},u=e.getReduceMotionFromConfig=(function(){var n=function(n){return n&&n!==r(d[1]).ReduceMotion.System?n===r(d[1]).ReduceMotion.Always:t};return n.__closure={ReduceMotion:r(d[1]).ReduceMotion,IS_REDUCED_MOTION:t},n.__workletHash=1869740720377,n.__initData=o,n})(),s={code:"function getReduceMotionForAnimation(config){const{getReduceMotionFromConfig}=this.__closure;if(!config){return undefined;}return getReduceMotionFromConfig(config);}"},c=(e.getReduceMotionForAnimation=(function(){var n=function(n){if(n)return u(n)};return n.__closure={getReduceMotionFromConfig:u},n.__workletHash=276575271075,n.__initData=s,n})(),{code:"function applyProgressToMatrix(progress,a,b){const{addMatrices,scaleMatrix,subtractMatrices}=this.__closure;return addMatrices(a,scaleMatrix(subtractMatrices(b,a),progress));}"}),f=(function(){var n=function(n,t,i){return(0,r(d[2]).addMatrices)(t,(0,r(d[2]).scaleMatrix)((0,r(d[2]).subtractMatrices)(i,t),n))};return n.__closure={addMatrices:r(d[2]).addMatrices,scaleMatrix:r(d[2]).scaleMatrix,subtractMatrices:r(d[2]).subtractMatrices},n.__workletHash=2474473268778,n.__initData=c,n})(),l={code:"function applyProgressToNumber(progress,a,b){return a+progress*(b-a);}"},p=(function(){var n=function(n,t,i){return t+n*(i-t)};return n.__closure={},n.__workletHash=0xbb5cfa2a30e,n.__initData=l,n})(),_={code:"function decorateAnimation(animation){const{getReduceMotionFromConfig,recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,rgbaArrayToRGBAColor,toGammaSpace,decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix,applyProgressToNumber,getRotationMatrix,multiplyMatrices,flatten,isAffineMatrixFlat}=this.__closure;const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;if(animation.isHigherOrder){animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}return baseOnStart(animation,value,timestamp,previousAnimation);};return;}const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;previousAnimation.__suffix=paSuffix;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['R','G','B','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const RGBACurrent=toLinearSpace(convertToRGBA(animation.current));const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=RGBACurrent[index];const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const transformationMatrixOnStart=function(animation,value,timestamp,previousAnimation){const toValue=animation.toValue;animation.startMatrices=decomposeMatrixIntoMatricesAndAngles(value);animation.stopMatrices=decomposeMatrixIntoMatricesAndAngles(toValue);animation[0]=Object.assign({},animationCopy);animation[0].current=0;animation[0].toValue=100;animation[0].onStart(animation[0],0,timestamp,previousAnimation?previousAnimation[0]:undefined);animation.current=value;};const transformationMatrixOnFrame=function(animation,timestamp){let finished=true;const result=animation[0].onFrame(animation[0],timestamp);finished=finished&&result;const progress=animation[0].current/100;const transforms=['translationMatrix','scaleMatrix','skewMatrix'];const mappedTransforms=[];transforms.forEach(function(key,_){return mappedTransforms.push(applyProgressToMatrix(progress,animation.startMatrices[key],animation.stopMatrices[key]));});const[currentTranslation,currentScale,skewMatrix]=mappedTransforms;const rotations=['x','y','z'];const mappedRotations=[];rotations.forEach(function(key,_){const angle=applyProgressToNumber(progress,animation.startMatrices['r'+key],animation.stopMatrices['r'+key]);mappedRotations.push(getRotationMatrix(angle,key));});const[rotationMatrixX,rotationMatrixY,rotationMatrixZ]=mappedRotations;const rotationMatrix=multiplyMatrices(rotationMatrixX,multiplyMatrices(rotationMatrixY,rotationMatrixZ));const updated=flatten(multiplyMatrices(multiplyMatrices(currentScale,multiplyMatrices(skewMatrix,rotationMatrix)),currentTranslation));animation.current=updated;return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=value;};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(_,i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;animation.current[i]=animation[i].current;});return finished;};const objectOnStart=function(animation,value,timestamp,previousAnimation){for(const key in value){animation[key]=Object.assign({},animationCopy);animation[key].onStart=animation.onStart;animation[key].current=value[key];animation[key].toValue=animation.toValue[key];animation[key].onStart(animation[key],value[key],timestamp,previousAnimation?previousAnimation[key]:undefined);}animation.current=value;};const objectOnFrame=function(animation,timestamp){let finished=true;const newObject={};for(const key in animation.current){const result=animation[key].onFrame(animation[key],timestamp);finished=finished&&result;newObject[key]=animation[key].current;}animation.current=newObject;return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}if(animation.reduceMotion){if(animation.toValue!==undefined){animation.current=animation.toValue;}else{baseOnStart(animation,value,timestamp,previousAnimation);}animation.startTime=0;animation.onFrame=function(){return true;};return;}if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(isAffineMatrixFlat(value)){transformationMatrixOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=transformationMatrixOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}else if(typeof value==='object'&&value!==null){objectOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=objectOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}"},v=(function(){var n=function(n){var t=n.onStart,i=n.onFrame;if(n.isHigherOrder)n.onStart=function(n,i,a,o){return void 0===n.reduceMotion&&(n.reduceMotion=u()),t(n,i,a,o)};else{var o=Object.assign({},n);delete o.callback;var s=function(n,i,o,u){var s,c,f=a(i),l=f.prefix,p=f.suffix,_=f.strippedValue;n.__prefix=l,n.__suffix=p,n.strippedCurrent=_;var v,x,A=a(n.toValue).strippedValue;if(n.current=_,n.startValue=_,n.toValue=A,u&&u!==n){var M=a(u.current),y=M.prefix,S=M.suffix,R=M.strippedValue;u.current=R,u.__prefix=y,u.__suffix=S}(t(n,_,o,u),n.current=(null!=(s=n.__prefix)?s:'')+n.current+(null!=(c=n.__suffix)?c:''),u&&u!==n)&&(u.current=(null!=(v=u.__prefix)?v:'')+u.current+(null!=(x=u.__suffix)?x:''))},c=function(n,t){var a,o;n.current=n.strippedCurrent;var u=i(n,t);return n.strippedCurrent=n.current,n.current=(null!=(a=n.__prefix)?a:'')+n.current+(null!=(o=n.__suffix)?o:''),u},l=['R','G','B','A'],_=function(n,t,i,a){var u,s,c,f=[];(0,r(d[3]).isColor)(t)&&(s=(0,r(d[3]).toLinearSpace)((0,r(d[3]).convertToRGBA)(n.current)),u=(0,r(d[3]).toLinearSpace)((0,r(d[3]).convertToRGBA)(t)),n.toValue&&(c=(0,r(d[3]).toLinearSpace)((0,r(d[3]).convertToRGBA)(n.toValue)))),l.forEach((function(t,l){n[t]=Object.assign({},o),n[t].current=s[l],n[t].toValue=c?c[l]:void 0,n[t].onStart(n[t],u[l],i,a?a[t]:void 0),f.push(n[t].current)})),n.current=(0,r(d[3]).rgbaArrayToRGBAColor)((0,r(d[3]).toGammaSpace)(f))},v=function(n,t){var i=(0,r(d[3]).toLinearSpace)((0,r(d[3]).convertToRGBA)(n.current)),a=[],o=!0;return l.forEach((function(u,s){n[u].current=i[s];var c=n[u].onFrame(n[u],t);o=o&&c,a.push(n[u].current)})),n.current=(0,r(d[3]).rgbaArrayToRGBAColor)((0,r(d[3]).toGammaSpace)(a)),o},x=function(n,t,i,a){var u=n.toValue;n.startMatrices=(0,r(d[2]).decomposeMatrixIntoMatricesAndAngles)(t),n.stopMatrices=(0,r(d[2]).decomposeMatrixIntoMatricesAndAngles)(u),n[0]=Object.assign({},o),n[0].current=0,n[0].toValue=100,n[0].onStart(n[0],0,i,a?a[0]:void 0),n.current=t},A=function(n,t){var i=!0,a=n[0].onFrame(n[0],t);i=i&&a;var o=n[0].current/100,u=[];['translationMatrix','scaleMatrix','skewMatrix'].forEach((function(t,i){return u.push(f(o,n.startMatrices[t],n.stopMatrices[t]))}));var s=u[0],c=u[1],l=u[2],_=[];['x','y','z'].forEach((function(t,i){var a=p(o,n.startMatrices['r'+t],n.stopMatrices['r'+t]);_.push((0,r(d[2]).getRotationMatrix)(a,t))}));var v=_[0],x=_[1],A=_[2],M=(0,r(d[2]).multiplyMatrices)(v,(0,r(d[2]).multiplyMatrices)(x,A)),y=(0,r(d[2]).flatten)((0,r(d[2]).multiplyMatrices)((0,r(d[2]).multiplyMatrices)(c,(0,r(d[2]).multiplyMatrices)(l,M)),s));return n.current=y,i},M=function(n,t,i,a){t.forEach((function(t,u){n[u]=Object.assign({},o),n[u].current=t,n[u].toValue=n.toValue[u],n[u].onStart(n[u],t,i,a?a[u]:void 0)})),n.current=t},y=function(n,t){var i=!0;return n.current.forEach((function(a,o){var u=n[o].onFrame(n[o],t);i=i&&u,n.current[o]=n[o].current})),i},S=function(n,t,i,a){for(var u in t)n[u]=Object.assign({},o),n[u].onStart=n.onStart,n[u].current=t[u],n[u].toValue=n.toValue[u],n[u].onStart(n[u],t[u],i,a?a[u]:void 0);n.current=t},R=function(n,t){var i=!0,a={};for(var o in n.current){var u=n[o].onFrame(n[o],t);i=i&&u,a[o]=n[o].current}return n.current=a,i};n.onStart=function(n,i,a,o){return void 0===n.reduceMotion&&(n.reduceMotion=u()),n.reduceMotion?(void 0!==n.toValue?n.current=n.toValue:t(n,i,a,o),n.startTime=0,void(n.onFrame=function(){return!0})):(0,r(d[3]).isColor)(i)?(_(n,i,a,o),void(n.onFrame=v)):(0,r(d[2]).isAffineMatrixFlat)(i)?(x(n,i,a,o),void(n.onFrame=A)):Array.isArray(i)?(M(n,i,a,o),void(n.onFrame=y)):'string'==typeof i?(s(n,i,a,o),void(n.onFrame=c)):'object'==typeof i&&null!==i?(S(n,i,a,o),void(n.onFrame=R)):void t(n,i,a,o)}}};return n.__closure={getReduceMotionFromConfig:u,recognizePrefixSuffix:a,isColor:r(d[3]).isColor,toLinearSpace:r(d[3]).toLinearSpace,convertToRGBA:r(d[3]).convertToRGBA,rgbaArrayToRGBAColor:r(d[3]).rgbaArrayToRGBAColor,toGammaSpace:r(d[3]).toGammaSpace,decomposeMatrixIntoMatricesAndAngles:r(d[2]).decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix:f,applyProgressToNumber:p,getRotationMatrix:r(d[2]).getRotationMatrix,multiplyMatrices:r(d[2]).multiplyMatrices,flatten:r(d[2]).flatten,isAffineMatrixFlat:r(d[2]).isAffineMatrixFlat},n.__workletHash=8953524749153,n.__initData=_,n})(),x=(0,r(d[0]).shouldBeUseWeb)(),A={code:"function defineAnimation(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,SHOULD_BE_USE_WEB}=this.__closure;if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||SHOULD_BE_USE_WEB){return create();}return create;}"},M={code:"function anonymous(){const{factory,decorateAnimation}=this.__closure;const animation=factory();decorateAnimation(animation);return animation;}"},y=(e.defineAnimation=(function(){var t=function(t,i){if(n)return t;var a,o=((a=function(){var n=i();return v(n),n}).__closure={factory:i,decorateAnimation:v},a.__workletHash=0xe9cfe31ce1e,a.__initData=M,a);return _WORKLET||x?o():o};return t.__closure={IN_STYLE_UPDATER:n,decorateAnimation:v,SHOULD_BE_USE_WEB:x},t.__workletHash=976613793992,t.__initData=A,t})(),{code:"function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}"});e.cancelAnimation=(function(){var n=function(n){n.value=n.value};return n.__closure={},n.__workletHash=0xdb1b4231136,n.__initData=y,n})()}),569,[542,549,570,571]); +__d((function(g,r,_i,_a,_m,_e,d){'use strict';var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.unflatten=_e.subtractMatrices=_e.scaleMatrix=_e.multiplyMatrices=_e.isAffineMatrixFlat=_e.isAffineMatrix=_e.getRotationMatrix=_e.flatten=_e.decomposeMatrixIntoMatricesAndAngles=_e.decomposeMatrix=_e.addMatrices=void 0;var a=t(r(d[1])),n={code:"function isAffineMatrixFlat(x){return Array.isArray(x)&&x.length===16&&x.every(function(element){return typeof element==='number'&&!isNaN(element);});}"},e=_e.isAffineMatrixFlat=(function(){var t=function(t){return Array.isArray(t)&&16===t.length&&t.every((function(t){return'number'==typeof t&&!isNaN(t)}))};return t.__closure={},t.__workletHash=1707959502623,t.__initData=n,t})(),i={code:"function isAffineMatrix(x){return Array.isArray(x)&&x.length===4&&x.every(function(row){return Array.isArray(row)&&row.length===4&&row.every(function(element){return typeof element==='number'&&!isNaN(element);});});}"},o=_e.isAffineMatrix=(function(){var t=function(t){return Array.isArray(t)&&4===t.length&&t.every((function(t){return Array.isArray(t)&&4===t.length&&t.every((function(t){return'number'==typeof t&&!isNaN(t)}))}))};return t.__closure={},t.__workletHash=0x98391af599b,t.__initData=i,t})(),s={code:"function flatten(matrix){return matrix.flat();}"},c=_e.flatten=(function(){var t=function(t){return t.flat()};return t.__closure={},t.__workletHash=2702927761571,t.__initData=s,t})(),u={code:"function unflatten(m){return[[m[0],m[1],m[2],m[3]],[m[4],m[5],m[6],m[7]],[m[8],m[9],m[10],m[11]],[m[12],m[13],m[14],m[15]]];}"},l=_e.unflatten=(function(){var t=function(t){return[[t[0],t[1],t[2],t[3]],[t[4],t[5],t[6],t[7]],[t[8],t[9],t[10],t[11]],[t[12],t[13],t[14],t[15]]]};return t.__closure={},t.__workletHash=7629642405327,t.__initData=u,t})(),x={code:"function maybeFlattenMatrix(matrix){const{isAffineMatrix,flatten}=this.__closure;return isAffineMatrix(matrix)?flatten(matrix):matrix;}"},f=(function(){var t=function(t){return o(t)?c(t):t};return t.__closure={isAffineMatrix:o,flatten:c},t.__workletHash=832061382511,t.__initData=x,t})(),_={code:"function multiplyMatrices(a,b){return[[a[0][0]*b[0][0]+a[0][1]*b[1][0]+a[0][2]*b[2][0]+a[0][3]*b[3][0],a[0][0]*b[0][1]+a[0][1]*b[1][1]+a[0][2]*b[2][1]+a[0][3]*b[3][1],a[0][0]*b[0][2]+a[0][1]*b[1][2]+a[0][2]*b[2][2]+a[0][3]*b[3][2],a[0][0]*b[0][3]+a[0][1]*b[1][3]+a[0][2]*b[2][3]+a[0][3]*b[3][3]],[a[1][0]*b[0][0]+a[1][1]*b[1][0]+a[1][2]*b[2][0]+a[1][3]*b[3][0],a[1][0]*b[0][1]+a[1][1]*b[1][1]+a[1][2]*b[2][1]+a[1][3]*b[3][1],a[1][0]*b[0][2]+a[1][1]*b[1][2]+a[1][2]*b[2][2]+a[1][3]*b[3][2],a[1][0]*b[0][3]+a[1][1]*b[1][3]+a[1][2]*b[2][3]+a[1][3]*b[3][3]],[a[2][0]*b[0][0]+a[2][1]*b[1][0]+a[2][2]*b[2][0]+a[2][3]*b[3][0],a[2][0]*b[0][1]+a[2][1]*b[1][1]+a[2][2]*b[2][1]+a[2][3]*b[3][1],a[2][0]*b[0][2]+a[2][1]*b[1][2]+a[2][2]*b[2][2]+a[2][3]*b[3][2],a[2][0]*b[0][3]+a[2][1]*b[1][3]+a[2][2]*b[2][3]+a[2][3]*b[3][3]],[a[3][0]*b[0][0]+a[3][1]*b[1][0]+a[3][2]*b[2][0]+a[3][3]*b[3][0],a[3][0]*b[0][1]+a[3][1]*b[1][1]+a[3][2]*b[2][1]+a[3][3]*b[3][1],a[3][0]*b[0][2]+a[3][1]*b[1][2]+a[3][2]*b[2][2]+a[3][3]*b[3][2],a[3][0]*b[0][3]+a[3][1]*b[1][3]+a[3][2]*b[2][3]+a[3][3]*b[3][3]]];}"},m=(_e.multiplyMatrices=(function(){var t=function(t,a){return[[t[0][0]*a[0][0]+t[0][1]*a[1][0]+t[0][2]*a[2][0]+t[0][3]*a[3][0],t[0][0]*a[0][1]+t[0][1]*a[1][1]+t[0][2]*a[2][1]+t[0][3]*a[3][1],t[0][0]*a[0][2]+t[0][1]*a[1][2]+t[0][2]*a[2][2]+t[0][3]*a[3][2],t[0][0]*a[0][3]+t[0][1]*a[1][3]+t[0][2]*a[2][3]+t[0][3]*a[3][3]],[t[1][0]*a[0][0]+t[1][1]*a[1][0]+t[1][2]*a[2][0]+t[1][3]*a[3][0],t[1][0]*a[0][1]+t[1][1]*a[1][1]+t[1][2]*a[2][1]+t[1][3]*a[3][1],t[1][0]*a[0][2]+t[1][1]*a[1][2]+t[1][2]*a[2][2]+t[1][3]*a[3][2],t[1][0]*a[0][3]+t[1][1]*a[1][3]+t[1][2]*a[2][3]+t[1][3]*a[3][3]],[t[2][0]*a[0][0]+t[2][1]*a[1][0]+t[2][2]*a[2][0]+t[2][3]*a[3][0],t[2][0]*a[0][1]+t[2][1]*a[1][1]+t[2][2]*a[2][1]+t[2][3]*a[3][1],t[2][0]*a[0][2]+t[2][1]*a[1][2]+t[2][2]*a[2][2]+t[2][3]*a[3][2],t[2][0]*a[0][3]+t[2][1]*a[1][3]+t[2][2]*a[2][3]+t[2][3]*a[3][3]],[t[3][0]*a[0][0]+t[3][1]*a[1][0]+t[3][2]*a[2][0]+t[3][3]*a[3][0],t[3][0]*a[0][1]+t[3][1]*a[1][1]+t[3][2]*a[2][1]+t[3][3]*a[3][1],t[3][0]*a[0][2]+t[3][1]*a[1][2]+t[3][2]*a[2][2]+t[3][3]*a[3][2],t[3][0]*a[0][3]+t[3][1]*a[1][3]+t[3][2]*a[2][3]+t[3][3]*a[3][3]]]};return t.__closure={},t.__workletHash=9003387220364,t.__initData=_,t})(),{code:"function subtractMatrices(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]-b[i];});return isFlatOnStart?c:unflatten(c);}"}),M=(_e.subtractMatrices=(function(){var t=function(t,a){var n=e(t),i=f(t),o=f(a),s=i.map((function(t,a){return i[a]-o[a]}));return n?s:l(s)};return t.__closure={isAffineMatrixFlat:e,maybeFlattenMatrix:f,unflatten:l},t.__workletHash=0xc6383f5d193,t.__initData=m,t})(),{code:"function addMatrices(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]+b[i];});return isFlatOnStart?c:unflatten(c);}"}),b=(_e.addMatrices=(function(){var t=function(t,a){var n=e(t),i=f(t),o=f(a),s=i.map((function(t,a){return i[a]+o[a]}));return n?s:l(s)};return t.__closure={isAffineMatrixFlat:e,maybeFlattenMatrix:f,unflatten:l},t.__workletHash=0xb78d1318260,t.__initData=M,t})(),{code:"function scaleMatrix(maybeFlatA,scalar){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=a.map(function(x){return x*scalar;});return isFlatOnStart?b:unflatten(b);}"}),h=(_e.scaleMatrix=(function(){var t=function(t,a){var n=e(t),i=f(t).map((function(t){return t*a}));return n?i:l(i)};return t.__closure={isAffineMatrixFlat:e,maybeFlattenMatrix:f,unflatten:l},t.__workletHash=719755965988,t.__initData=b,t})(),{code:"function getRotationMatrix(angle,axis='z'){const cos=Math.cos(angle);const sin=Math.sin(angle);switch(axis){case'z':return[[cos,sin,0,0],[-sin,cos,0,0],[0,0,1,0],[0,0,0,1]];case'y':return[[cos,0,-sin,0],[0,1,0,0],[sin,0,cos,0],[0,0,0,1]];case'x':return[[1,0,0,0],[0,cos,sin,0],[0,-sin,cos,0],[0,0,0,1]];}}"}),y=(_e.getRotationMatrix=(function(){var t=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'z',n=Math.cos(t),e=Math.sin(t);switch(a){case'z':return[[n,e,0,0],[-e,n,0,0],[0,0,1,0],[0,0,0,1]];case'y':return[[n,0,-e,0],[0,1,0,0],[e,0,n,0],[0,0,0,1]];case'x':return[[1,0,0,0],[0,n,e,0],[0,-e,n,0],[0,0,0,1]]}};return t.__closure={},t.__workletHash=5109197941223,t.__initData=h,t})(),{code:"function norm3d(x,y,z){return Math.sqrt(x*x+y*y+z*z);}"}),v=(function(){var t=function(t,a,n){return Math.sqrt(t*t+a*a+n*n)};return t.__closure={},t.__workletHash=1147516857584,t.__initData=y,t})(),w={code:"function transposeMatrix(matrix){const{flatten}=this.__closure;const m=flatten(matrix);return[[m[0],m[4],m[8],m[12]],[m[1],m[5],m[9],m[13]],[m[2],m[6],m[10],m[14]],[m[3],m[7],m[11],m[15]]];}"},A=(function(){var t=function(t){var a=c(t);return[[a[0],a[4],a[8],a[12]],[a[1],a[5],a[9],a[13]],[a[2],a[6],a[10],a[14]],[a[3],a[7],a[11],a[15]]]};return t.__closure={flatten:c},t.__workletHash=0x91e49a58ec2,t.__initData=w,t})(),p={code:"function assertVectorsHaveEqualLengths(a,b){const{__DEV__}=this.__closure;if(__DEV__&&a.length!==b.length){throw new Error(\"[Reanimated] Cannot calculate inner product of two vectors of different lengths. Length of \"+a.toString()+\" is \"+a.length+\" and length of \"+b.toString()+\" is \"+b.length+\".\");}}"},F=(function(){var t=function(t,a){};return t.__closure={__DEV__:!1},t.__workletHash=0xf479dad6ea3,t.__initData=p,t})(),k={code:"function innerProduct(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.reduce(function(acc,_,i){return acc+a[i]*b[i];},0);}"},H=(function(){var t=function(t,a){return F(t,a),t.reduce((function(n,e,i){return n+t[i]*a[i]}),0)};return t.__closure={assertVectorsHaveEqualLengths:F},t.__workletHash=7216976607474,t.__initData=k,t})(),V={code:"function projection(u,a){const{assertVectorsHaveEqualLengths,innerProduct}=this.__closure;assertVectorsHaveEqualLengths(u,a);const s=innerProduct(u,a)/innerProduct(u,u);return u.map(function(e){return e*s;});}"},D=(function(){var t=function(t,a){F(t,a);var n=H(t,a)/H(t,t);return t.map((function(t){return t*n}))};return t.__closure={assertVectorsHaveEqualLengths:F,innerProduct:H},t.__workletHash=0xebf621360b1,t.__initData=V,t})(),P={code:"function subtractVectors(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.map(function(_,i){return a[i]-b[i];});}"},z=(function(){var t=function(t,a){return F(t,a),t.map((function(n,e){return t[e]-a[e]}))};return t.__closure={assertVectorsHaveEqualLengths:F},t.__workletHash=2650969212825,t.__initData=P,t})(),E={code:"function scaleVector(u,a){return u.map(function(e){return e*a;});}"},q=(function(){var t=function(t,a){return t.map((function(t){return t*a}))};return t.__closure={},t.__workletHash=0xe96b5eac873,t.__initData=E,t})(),S={code:"function gramSchmidtAlgorithm(matrix){const{subtractVectors,projection,scaleVector,innerProduct,transposeMatrix}=this.__closure;const[a0,a1,a2,a3]=matrix;const u0=a0;const u1=subtractVectors(a1,projection(u0,a1));const u2=subtractVectors(subtractVectors(a2,projection(u0,a2)),projection(u1,a2));const u3=subtractVectors(subtractVectors(subtractVectors(a3,projection(u0,a3)),projection(u1,a3)),projection(u2,a3));const[e0,e1,e2,e3]=[u0,u1,u2,u3].map(function(u){return scaleVector(u,1/Math.sqrt(innerProduct(u,u)));});const rotationMatrix=[[e0[0],e1[0],e2[0],e3[0]],[e0[1],e1[1],e2[1],e3[1]],[e0[2],e1[2],e2[2],e3[2]],[e0[3],e1[3],e2[3],e3[3]]];const skewMatrix=[[innerProduct(e0,a0),innerProduct(e0,a1),innerProduct(e0,a2),innerProduct(e0,a3)],[0,innerProduct(e1,a1),innerProduct(e1,a2),innerProduct(e1,a3)],[0,0,innerProduct(e2,a2),innerProduct(e2,a3)],[0,0,0,innerProduct(e3,a3)]];return{rotationMatrix:transposeMatrix(rotationMatrix),skewMatrix:transposeMatrix(skewMatrix)};}"},R=(function(){var t=function(t){var n=(0,a.default)(t,4),e=n[0],i=n[1],o=n[2],s=n[3],c=e,u=z(i,D(c,i)),l=z(z(o,D(c,o)),D(u,o)),x=[c,u,l,z(z(z(s,D(c,s)),D(u,s)),D(l,s))].map((function(t){return q(t,1/Math.sqrt(H(t,t)))})),f=(0,a.default)(x,4),_=f[0],m=f[1],M=f[2],b=f[3],h=[[_[0],m[0],M[0],b[0]],[_[1],m[1],M[1],b[1]],[_[2],m[2],M[2],b[2]],[_[3],m[3],M[3],b[3]]],y=[[H(_,e),H(_,i),H(_,o),H(_,s)],[0,H(m,i),H(m,o),H(m,s)],[0,0,H(M,o),H(M,s)],[0,0,0,H(b,s)]];return{rotationMatrix:A(h),skewMatrix:A(y)}};return t.__closure={subtractVectors:z,projection:D,scaleVector:q,innerProduct:H,transposeMatrix:A},t.__workletHash=9359996019682,t.__initData=S,t})(),L={code:"function decomposeMatrix(unknownTypeMatrix){const{maybeFlattenMatrix,norm3d,gramSchmidtAlgorithm}=this.__closure;const matrix=maybeFlattenMatrix(unknownTypeMatrix);if(matrix[15]===0){throw new Error('[Reanimated] Invalid transform matrix.');}matrix.forEach(function(_,i){return matrix[i]/=matrix[15];});const translationMatrix=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[matrix[12],matrix[13],matrix[14],1]];const sx=matrix[15]*norm3d(matrix[0],matrix[4],matrix[8]);const sy=matrix[15]*norm3d(matrix[1],matrix[5],matrix[9]);const sz=matrix[15]*norm3d(matrix[2],matrix[6],matrix[10]);const scaleMatrix=[[sx,0,0,0],[0,sy,0,0],[0,0,sz,0],[0,0,0,1]];const rotationAndSkewMatrix=[[matrix[0]/sx,matrix[1]/sx,matrix[2]/sx,0],[matrix[4]/sy,matrix[5]/sy,matrix[6]/sy,0],[matrix[8]/sz,matrix[9]/sz,matrix[10]/sz,0],[0,0,0,1]];const{rotationMatrix:rotationMatrix,skewMatrix:skewMatrix}=gramSchmidtAlgorithm(rotationAndSkewMatrix);return{translationMatrix:translationMatrix,scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,skewMatrix:skewMatrix};}"},j=_e.decomposeMatrix=(function(){var t=function(t){var a=f(t);if(0===a[15])throw new Error('[Reanimated] Invalid transform matrix.');a.forEach((function(t,n){return a[n]/=a[15]}));var n=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[a[12],a[13],a[14],1]],e=a[15]*v(a[0],a[4],a[8]),i=a[15]*v(a[1],a[5],a[9]),o=a[15]*v(a[2],a[6],a[10]),s=[[e,0,0,0],[0,i,0,0],[0,0,o,0],[0,0,0,1]],c=[[a[0]/e,a[1]/e,a[2]/e,0],[a[4]/i,a[5]/i,a[6]/i,0],[a[8]/o,a[9]/o,a[10]/o,0],[0,0,0,1]],u=R(c);return{translationMatrix:n,scaleMatrix:s,rotationMatrix:u.rotationMatrix,skewMatrix:u.skewMatrix}};return t.__closure={maybeFlattenMatrix:f,norm3d:v,gramSchmidtAlgorithm:R},t.__workletHash=1694375123899,t.__initData=L,t})(),N={code:"function decomposeMatrixIntoMatricesAndAngles(matrix){const{decomposeMatrix}=this.__closure;const{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix}=decomposeMatrix(matrix);const sinRy=-rotationMatrix[0][2];const ry=Math.asin(sinRy);let rx;let rz;if(sinRy===1||sinRy===-1){rz=0;rx=Math.atan2(sinRy*rotationMatrix[0][1],sinRy*rotationMatrix[0][2]);}else{rz=Math.atan2(rotationMatrix[0][1],rotationMatrix[0][0]);rx=Math.atan2(rotationMatrix[1][2],rotationMatrix[2][2]);}return{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix,rx:rx||0,ry:ry||0,rz:rz||0};}"};_e.decomposeMatrixIntoMatricesAndAngles=(function(){var t=function(t){var a,n,e=j(t),i=e.scaleMatrix,o=e.rotationMatrix,s=e.translationMatrix,c=e.skewMatrix,u=-o[0][2],l=Math.asin(u);return 1===u||-1===u?(n=0,a=Math.atan2(u*o[0][1],u*o[0][2])):(n=Math.atan2(o[0][1],o[0][0]),a=Math.atan2(o[1][2],o[2][2])),{scaleMatrix:i,rotationMatrix:o,translationMatrix:s,skewMatrix:c,rx:a||0,ry:l||0,rz:n||0}};return t.__closure={decomposeMatrix:j},t.__workletHash=0xa91a8a3661f,t.__initData=N,t})()}),570,[1,26]); +__d((function(_g,_r,_i,_a,m,e,_d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.toLinearSpace=e.toGammaSpace=e.rgbaColor=e.rgbaArrayToRGBAColor=e.red=e.processColorsInProps=e.processColor=e.opacity=e.isColor=e.hsvToColor=e.green=e.convertToRGBA=e.blue=e.RGBtoHSV=e.ColorProperties=void 0;var r,o='[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)',t="[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%",n={code:"function call(...args){return'\\\\(\\\\s*('+args.join(')\\\\s*,\\\\s*(')+')\\\\s*\\\\)';}"},a=(function(){var r=function(){for(var r=arguments.length,o=new Array(r),t=0;t1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}"},s=(function(){var r=function(r,o,t){return t<0&&(t+=1),t>1&&(t-=1),t<.16666666666666666?r+6*(o-r)*t:t<.5?o:t<.6666666666666666?r+(o-r)*(.6666666666666666-t)*6:r};return r.__closure={},r.__workletHash=3618366985414,r.__initData=c,r})(),u={code:"function hslToRgb(h,s,l){const{hue2rgb}=this.__closure;const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}"},i=(function(){var r=function(r,o,t){var n=t<.5?t*(1+o):t+o-t*o,a=2*t-n,l=s(a,n,r+.3333333333333333),c=s(a,n,r),u=s(a,n,r-.3333333333333333);return Math.round(255*l)<<24|Math.round(255*c)<<16|Math.round(255*u)<<8};return r.__closure={hue2rgb:s},r.__workletHash=3939876868199,r.__initData=u,r})(),h={code:"function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}"},d=(function(){var r=function(r){var o=Number.parseInt(r,10);return o<0?0:o>255?255:o};return r.__closure={},r.__workletHash=7024550667346,r.__initData=h,r})(),f={code:"function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}"},_=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r.__closure={},r.__workletHash=6683812623228,r.__initData=f,r})(),p={code:"function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}"},b=(function(){var r=function(r){var o=Number.parseFloat(r);return o<0?0:o>1?255:Math.round(255*o)};return r.__closure={},r.__workletHash=7197247664793,r.__initData=p,r})(),g={code:"function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}"},v=(function(){var r=function(r){var o=Number.parseFloat(r);return o<0?0:o>100?1:o/100};return r.__closure={},r.__workletHash=8813932430184,r.__initData=g,r})(),C=(0,_r(_d[0]).makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}),k=e.ColorProperties=(0,_r(_d[0]).makeShareable)(['backgroundColor','borderBottomColor','borderColor','borderLeftColor','borderRightColor','borderTopColor','borderStartColor','borderEndColor','borderBlockColor','borderBlockEndColor','borderBlockStartColor','color','shadowColor','textDecorationColor','tintColor','textShadowColor','overlayColor']),y={code:"function normalizeColor(color){const{MATCHERS,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=this.__closure;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}let match;if(match=MATCHERS.hex6.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=MATCHERS.rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=MATCHERS.rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=MATCHERS.hex3.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=MATCHERS.hex8.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=MATCHERS.hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=MATCHERS.hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=MATCHERS.hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}"},w=(function(){var r=function(r){return'number'==typeof r?r>>>0===r&&r>=0&&r<=4294967295?r:null:'string'!=typeof r?null:(o=l.hex6.exec(r))?Number.parseInt(o[1]+'ff',16)>>>0:void 0!==C[r]?C[r]:(o=l.rgb.exec(r))?(d(o[1])<<24|d(o[2])<<16|d(o[3])<<8|255)>>>0:(o=l.rgba.exec(r))?(d(o[1])<<24|d(o[2])<<16|d(o[3])<<8|b(o[4]))>>>0:(o=l.hex3.exec(r))?Number.parseInt(o[1]+o[1]+o[2]+o[2]+o[3]+o[3]+'ff',16)>>>0:(o=l.hex8.exec(r))?Number.parseInt(o[1],16)>>>0:(o=l.hex4.exec(r))?Number.parseInt(o[1]+o[1]+o[2]+o[2]+o[3]+o[3]+o[4]+o[4],16)>>>0:(o=l.hsl.exec(r))?(255|i(_(o[1]),v(o[2]),v(o[3])))>>>0:(o=l.hsla.exec(r))?(i(_(o[1]),v(o[2]),v(o[3]))|b(o[4]))>>>0:null;var o};return r.__closure={MATCHERS:l,names:C,parse255:d,parse1:b,hslToRgb:i,parse360:_,parsePercentage:v},r.__workletHash=3094355228222,r.__initData=y,r})(),x={code:"function anonymous(c){return(c>>24&255)/255;}"},R=(e.opacity=((r=function(r){return(r>>24&255)/255}).__closure={},r.__workletHash=0xe249f189cce,r.__initData=x,r),{code:"function anonymous(c){return c>>16&255;}"}),M=(e.red=(function(){var r=function(r){return r>>16&255};return r.__closure={},r.__workletHash=9095050284307,r.__initData=R,r})(),{code:"function anonymous(c){return c>>8&255;}"}),A=(e.green=(function(){var r=function(r){return r>>8&255};return r.__closure={},r.__workletHash=5168419980876,r.__initData=M,r})(),{code:"function anonymous(c){return c&255;}"}),H=(e.blue=(function(){var r=function(r){return 255&r};return r.__closure={},r.__workletHash=8366976340820,r.__initData=A,r})(),(0,_r(_d[1]).isWeb)()),I=(0,_r(_d[1]).isAndroid)(),D={code:"function anonymous(r,g,b,alpha=1){const{IS_WEB,IS_ANDROID}=this.__closure;if(IS_WEB||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(IS_ANDROID){return c<1<<31>>>0?c:c-4294967296;}return c;}"},S=e.rgbaColor=(function(){var r=function(r,o,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(H||!_WORKLET)return`rgba(${r}, ${o}, ${t}, ${n})`;var a=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(o)+Math.round(t);return I?a<2147483648?a:a-4294967296:a};return r.__closure={IS_WEB:H,IS_ANDROID:I},r.__workletHash=913795021117,r.__initData=D,r})(),B={code:"function RGBtoHSV(r,g,b){const max=Math.max(r,g,b);const min=Math.min(r,g,b);const d=max-min;const s=max===0?0:d/max;const v=max/255;let h=0;switch(max){case min:break;case r:h=g-b+d*(g>>8)>>>0;return normalizedColor;}"}),E=(function(){var r=function(r){if(null==r||'number'==typeof r)return r;var o=w(r);return null!=o?'number'!=typeof o?null:o=(o<<24|o>>>8)>>>0:void 0};return r.__closure={normalizeColor:w},r.__workletHash=0xb6ea65d27b9,r.__initData=N,r})(),z={code:"function isColor(value){const{processColorInitially}=this.__closure;if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}"},P=(e.isColor=(function(){var r=function(r){return'string'==typeof r&&null!=E(r)};return r.__closure={processColorInitially:E},r.__workletHash=5088329737380,r.__initData=z,r})(),{code:"function processColor(color){const{processColorInitially,IS_ANDROID}=this.__closure;let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(IS_ANDROID){normalizedColor=normalizedColor|0x0;}return normalizedColor;}"}),F=e.processColor=(function(){var r=function(r){var o=E(r);if(null!=o)return'number'!=typeof o?null:(I&&(o|=0),o)};return r.__closure={processColorInitially:E,IS_ANDROID:I},r.__workletHash=0xef94a61640a,r.__initData=P,r})(),$={code:"function processColorsInProps(props){const{ColorProperties,processColor}=this.__closure;for(const key in props){if(ColorProperties.includes(key)){props[key]=processColor(props[key]);}}}"},O=(e.processColorsInProps=(function(){var r=function(r){for(var o in r)k.includes(o)&&(r[o]=F(r[o]))};return r.__closure={ColorProperties:k,processColor:F},r.__workletHash=0xffb55c96dcf,r.__initData=$,r})(),{code:"function convertToRGBA(color){const{processColorInitially}=this.__closure;const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=(processedColor<<8>>>24)/255;const g=(processedColor<<16>>>24)/255;const b=(processedColor<<24>>>24)/255;return[r,g,b,a];}"}),V=(e.convertToRGBA=(function(){var r=function(r){var o=E(r);return[(o<<8>>>24)/255,(o<<16>>>24)/255,(o<<24>>>24)/255,(o>>>24)/255]};return r.__closure={processColorInitially:E},r.__workletHash=0xfdaacc758f3,r.__initData=O,r})(),{code:"function rgbaArrayToRGBAColor(RGBA){return\"rgba(\"+Math.round(RGBA[0]*255)+\", \"+Math.round(RGBA[1]*255)+\", \"+Math.round(RGBA[2]*255)+\", \"+RGBA[3]+\")\";}"}),L=(e.rgbaArrayToRGBAColor=(function(){var r=function(r){return`rgba(${Math.round(255*r[0])}, ${Math.round(255*r[1])}, ${Math.round(255*r[2])}, ${r[3]})`};return r.__closure={},r.__workletHash=1218651315844,r.__initData=V,r})(),{code:"function toLinearSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],gamma));}res.push(RGBA[3]);return res;}"}),W=(e.toLinearSpace=(function(){var r=function(r){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],n=0;n<3;++n)t.push(Math.pow(r[n],o));return t.push(r[3]),t};return r.__closure={},r.__workletHash=0xc7a0aab56d6,r.__initData=L,r})(),{code:"function toGammaSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],1/gamma));}res.push(RGBA[3]);return res;}"});e.toGammaSpace=(function(){var r=function(r){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],n=0;n<3;++n)t.push(Math.pow(r[n],1/o));return t.push(r[3]),t};return r.__closure={},r.__workletHash=2291875308114,r.__initData=W,r})()}),571,[543,542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.withClamp=void 0;var n,o={code:"function anonymous(config,_animationToClamp){const{defineAnimation,recognizePrefixSuffix,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_animationToClamp,function(){'worklet';const animationToClamp=typeof _animationToClamp==='function'?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){console.warn(\"[Reanimated] Error inside 'withClamp' animation, the inner animation has invalid current value\");return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMaxstrippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.maxstrippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.maxx?u:x,n.current='number'==typeof t.current?c:`${void 0===s?'':s}${c}${void 0===v?'':v}`,l},onStart:function(o,u,f,l){o.current=u,o.previousAnimation=t;var c=null==l?void 0:l.previousAnimation;void 0!==n.max&&void 0!==n.min&&n.maxconfig.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:0,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};});}"},l={code:"function anonymous(){const{userConfig,isValidRubberBandConfig,rubberBandDecay,rigidDecay,validateConfig,callback,getReduceMotionForAnimation}=this.__closure;var _config$velocity;const config={deceleration:0.998,velocityFactor:1,velocity:0,rubberBandFactor:0.6};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}const decay=isValidRubberBandConfig(config)?function(animation,now){return rubberBandDecay(animation,now,config);}:function(animation,now){return rigidDecay(animation,now,config);};function onStart(animation,value,now){animation.current=value;animation.lastTimestamp=now;animation.startTimestamp=now;animation.initialVelocity=config.velocity;validateConfig(config);if(animation.reduceMotion&&config.clamp){if(valueconfig.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:0,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}"};e.withDecay=((n=function(n,o){return(0,r(d[0]).defineAnimation)(0,(function(){var c=function(){var c,l={deceleration:.998,velocityFactor:1,velocity:0,rubberBandFactor:.6};return n&&Object.keys(n).forEach((function(o){return l[o]=n[o]})),{onFrame:(0,r(d[1]).isValidRubberBandConfig)(l)?function(n,o){return(0,r(d[2]).rubberBandDecay)(n,o,l)}:function(n,o){return(0,r(d[3]).rigidDecay)(n,o,l)},onStart:function(n,o,c){n.current=o,n.lastTimestamp=c,n.startTimestamp=c,n.initialVelocity=l.velocity,t(l),n.reduceMotion&&l.clamp&&(ol.clamp[1]&&(n.current=l.clamp[1]))},callback:o,velocity:null!=(c=l.velocity)?c:0,initialVelocity:0,current:0,lastTimestamp:0,startTimestamp:0,reduceMotion:(0,r(d[0]).getReduceMotionForAnimation)(l.reduceMotion)}};return c.__closure={userConfig:n,isValidRubberBandConfig:r(d[1]).isValidRubberBandConfig,rubberBandDecay:r(d[2]).rubberBandDecay,rigidDecay:r(d[3]).rigidDecay,validateConfig:t,callback:o,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},c.__workletHash=3982720953188,c.__initData=l,c})())}).__closure={defineAnimation:r(d[0]).defineAnimation,isValidRubberBandConfig:r(d[1]).isValidRubberBandConfig,rubberBandDecay:r(d[2]).rubberBandDecay,rigidDecay:r(d[3]).rigidDecay,validateConfig:t,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},n.__workletHash=12854220298,n.__initData=c,n)}),574,[569,575,576,577]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.isValidRubberBandConfig=e.VELOCITY_EPS=e.SLOPE_FACTOR=void 0;var n=(0,r(d[0]).isWeb)(),c=(e.VELOCITY_EPS=n?.05:1,e.SLOPE_FACTOR=.1,{code:"function isValidRubberBandConfig(config){return!!config.rubberBandEffect&&Array.isArray(config.clamp)&&config.clamp.length===2;}"});e.isValidRubberBandConfig=(function(){var n=function(n){return!!n.rubberBandEffect&&Array.isArray(n.clamp)&&2===n.clamp.length};return n.__closure={},n.__workletHash=0xf56bee6cb84,n.__initData=c,n})()}),575,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.rubberBandDecay=void 0;var t={code:"function rubberBandDecay(animation,now,config){const{SLOPE_FACTOR,DERIVATIVE_EPS,VELOCITY_EPS}=this.__closure;const{lastTimestamp:lastTimestamp,startTimestamp:startTimestamp,current:current,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);const clampIndex=Math.abs(current-config.clamp[0])config.clamp[1]){derivative=current-config.clamp[clampIndex];}const v=velocity*Math.exp(-(1-config.deceleration)*(now-startTimestamp)*SLOPE_FACTOR)-derivative*config.rubberBandFactor;if(Math.abs(derivative)>DERIVATIVE_EPS){animation.springActive=true;}else if(animation.springActive){animation.current=config.clamp[clampIndex];return true;}else if(Math.abs(v)c.clamp[1])&&(T=l-c.clamp[v]);var _=u*Math.exp(-(1-c.deceleration)*(n-s)*r(d[0]).SLOPE_FACTOR)-T*c.rubberBandFactor;if(Math.abs(T)>.1)t.springActive=!0;else{if(t.springActive)return t.current=c.clamp[v],!0;if(Math.abs(_)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&t.current>=c.clamp[1])return t.current=c.clamp[1],!0}return Math.abs(_)delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}"},o={code:"function anonymous(){const{_nextAnimation,delayMs,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;const current=animation.current;if(now-startTime>delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};}"};e.withDelay=((n=function(n,t,u){return(0,r(d[0]).defineAnimation)(t,(function(){var s=function(){var o='function'==typeof t?t():t;return{isHigherOrder:!0,onFrame:function(t,u){var s=t.startTime,c=t.started,A=t.previousAnimation,l=t.current;if(u-s>n||t.reduceMotion){c||(o.onStart(o,l,u,A),t.previousAnimation=null,t.started=!0);var f=o.onFrame(o,u);return t.current=o.current,f}if(A){var v=A.finished||A.onFrame(A,u);t.current=A.current,v&&(t.previousAnimation=null)}return!1},onStart:function(n,t,u,s){n.startTime=u,n.started=!1,n.current=t,n.previousAnimation=s===n?s.previousAnimation:s,void 0===o.reduceMotion&&(o.reduceMotion=n.reduceMotion)},current:o.current,callback:function(n){o.callback&&o.callback(n)},previousAnimation:null,startTime:0,started:!1,reduceMotion:(0,r(d[0]).getReduceMotionForAnimation)(u)}};return s.__closure={_nextAnimation:t,delayMs:n,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation,reduceMotion:u},s.__workletHash=0xdc274b1dbba,s.__initData=o,s})())}).__closure={defineAnimation:r(d[0]).defineAnimation,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},n.__workletHash=4277829102538,n.__initData=t,n)}),578,[569]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.withRepeat=void 0;var n,t={code:"function anonymous(_nextAnimation,numberOfReps=2,reverse=false,callback,reduceMotion){const{defineAnimation,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}"},o={code:"function anonymous(){const{_nextAnimation,numberOfReps,reverse,callback,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};}"};e.withRepeat=(n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,u=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;return(0,r(d[0]).defineAnimation)(n,(function(){var l=function(){var o='function'==typeof n?n():n;return{isHigherOrder:!0,onFrame:function(n,c){var s=o.onFrame(o,c);if(n.current=o.current,s){if(n.reps+=1,o.callback&&o.callback(!0,n.current),n.reduceMotion||t>0&&n.reps>=t)return!0;var l=u?o.current:n.startValue;return u&&(o.toValue=n.startValue,n.startValue=l),o.onStart(o,l,c,o.previousAnimation),!1}return!1},onStart:function(n,c,s,l){n.startValue=c,n.reps=0,void 0===o.reduceMotion&&(o.reduceMotion=n.reduceMotion),n.reduceMotion&&u&&(t<=0||t%2==0)?(n.current=n.startValue,n.onFrame=function(){return!0}):o.onStart(o,c,s,l)},reps:0,current:o.current,callback:function(n){c&&c(n),!n&&o.callback&&o.callback(!1)},startValue:0,reduceMotion:(0,r(d[0]).getReduceMotionForAnimation)(s)}};return l.__closure={_nextAnimation:n,numberOfReps:t,reverse:u,callback:c,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation,reduceMotion:s},l.__workletHash=8164105411050,l.__initData=o,l})())},n.__closure={defineAnimation:r(d[0]).defineAnimation,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},n.__workletHash=0xcfe75d0c555,n.__initData=t,n)}),579,[569]); +__d((function(g,r,i,_a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.withSequence=void 0;var n={code:"function withSequence(_reduceMotionOrFirstAnimation,..._animations){const{defineAnimation,getReduceMotionForAnimation}=this.__closure;let reduceMotion;if(_reduceMotionOrFirstAnimation){if(typeof _reduceMotionOrFirstAnimation==='string'){reduceMotion=_reduceMotionOrFirstAnimation;}else{_animations.unshift(_reduceMotionOrFirstAnimation);}}if(_animations.length===0){console.warn('[Reanimated] No animation was provided for the sequence');return defineAnimation(0,function(){'worklet';return{onStart:function(animation,value){return animation.current=value;},onFrame:function(){return true;},current:0,animationIndex:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};});}return defineAnimation(_animations[0],function(){'worklet';const animations=_animations.map(function(a){const result=typeof a==='function'?a():a;result.finished=false;return result;});function findNextNonReducedMotionAnimationIndex(index){while(index1?a-1:0),c=1;c=config.duration){animation.current=toValue;animation.lastTimestamp=0;return true;}if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=-velocity;const x0=toValue-current;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;const{isOvershooting:isOvershooting,isVelocity:isVelocity,isDisplacement:isDisplacement}=isAnimationTerminatingCalculation(animation,config);const springIsNotInMove=isOvershooting||isVelocity&&isDisplacement;if(!config.useDuration&&springIsNotInMove){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.startValue=value;let mass=config.mass;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:Number(animation.toValue)-value;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;mass=calculateNewMassToMatchDuration(x0,config,animation.velocity);}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(mass,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};});}"},t={code:"function anonymous(){const{userConfig,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewMassToMatchDuration,initialCalculations,scaleZetaToMatchClamps,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig,_userConfig2;const defaultConfig={damping:10,mass:1,stiffness:100,overshootClamping:false,restDisplacementThreshold:0.01,restSpeedThreshold:2,velocity:0,duration:2000,dampingRatio:0.5,reduceMotion:undefined,clamp:undefined};const config={...defaultConfig,...userConfig,useDuration:!!((_userConfig=userConfig)!==null&&_userConfig!==void 0&&_userConfig.duration||(_userConfig2=userConfig)!==null&&_userConfig2!==void 0&&_userConfig2.dampingRatio),skipAnimation:false};config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,startTimestamp:startTimestamp,current:current}=animation;const timeFromStart=now-startTimestamp;if(config.useDuration&&timeFromStart>=config.duration){animation.current=toValue;animation.lastTimestamp=0;return true;}if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(now-lastTimestamp,64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=-velocity;const x0=toValue-current;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;const{isOvershooting:isOvershooting,isVelocity:isVelocity,isDisplacement:isDisplacement}=isAnimationTerminatingCalculation(animation,config);const springIsNotInMove=isOvershooting||isVelocity&&isDisplacement;if(!config.useDuration&&springIsNotInMove){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.startValue=value;let mass=config.mass;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:Number(animation.toValue)-value;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;mass=calculateNewMassToMatchDuration(x0,config,animation.velocity);}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(mass,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}"};e.withSpring=((n=function(n,o,s){return(0,r(d[0]).defineAnimation)(n,(function(){var l=function(){var t={damping:10,mass:1,stiffness:100,overshootClamping:!1,restDisplacementThreshold:.01,restSpeedThreshold:2,velocity:0,duration:2e3,dampingRatio:.5,reduceMotion:void 0,clamp:void 0},l=Object.assign({},t,o,{useDuration:!!(null!=o&&o.duration||null!=o&&o.dampingRatio),skipAnimation:!1});function u(n,o){return(null==n?void 0:n.lastTimestamp)&&(null==n?void 0:n.startTimestamp)&&(null==n?void 0:n.toValue)===o.toValue&&(null==n?void 0:n.duration)===o.duration&&(null==n?void 0:n.dampingRatio)===o.dampingRatio}return l.skipAnimation=!(0,r(d[1]).checkIfConfigIsValid)(l),0===l.duration&&(l.skipAnimation=!0),{onFrame:function(n,o){var t=n.toValue,s=n.startTimestamp,u=n.current,c=o-s;if(l.useDuration&&c>=l.duration)return n.current=t,n.lastTimestamp=0,!0;if(l.skipAnimation)return n.current=t,n.lastTimestamp=0,!0;var v=n.lastTimestamp,p=n.velocity,f=Math.min(o-v,64);n.lastTimestamp=o;var A=f/1e3,T=-p,C=t-u,y=n.zeta,V=n.omega0,h=n.omega1,D=y<1?(0,r(d[1]).underDampedSpringCalculations)(n,{zeta:y,v0:T,x0:C,omega0:V,omega1:h,t:A}):(0,r(d[1]).criticallyDampedSpringCalculations)(n,{v0:T,x0:C,omega0:V,t:A}),w=D.position,M=D.velocity;n.current=w,n.velocity=M;var z=(0,r(d[1]).isAnimationTerminatingCalculation)(n,l),S=z.isOvershooting,k=z.isVelocity,_=z.isDisplacement,I=S||k&&_;return!(l.useDuration||!I||(n.velocity=0,n.current=t,n.lastTimestamp=0,0))},onStart:function(n,o,t,s){n.current=o,n.startValue=o;var c=l.mass,v=u(s,n),p=l.duration,f=v?null==s?void 0:s.startValue:Number(n.toValue)-o;if(n.velocity=s?(v?null==s?void 0:s.velocity:(null==s?void 0:s.velocity)+l.velocity)||0:l.velocity||0,v)n.zeta=(null==s?void 0:s.zeta)||0,n.omega0=(null==s?void 0:s.omega0)||0,n.omega1=(null==s?void 0:s.omega1)||0;else{if(l.useDuration){var A=v?p-(((null==s?void 0:s.lastTimestamp)||0)-((null==s?void 0:s.startTimestamp)||0)):p;l.duration=A,c=(0,r(d[1]).calculateNewMassToMatchDuration)(f,l,n.velocity)}var T=(0,r(d[1]).initialCalculations)(c,l),C=T.zeta,y=T.omega0,V=T.omega1;n.zeta=C,n.omega0=y,n.omega1=V,void 0!==l.clamp&&(n.zeta=(0,r(d[1]).scaleZetaToMatchClamps)(n,l.clamp))}n.lastTimestamp=(null==s?void 0:s.lastTimestamp)||t,n.startTimestamp=v&&(null==s?void 0:s.startTimestamp)||t},toValue:n,velocity:l.velocity||0,current:n,startValue:0,callback:s,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,reduceMotion:(0,r(d[0]).getReduceMotionForAnimation)(l.reduceMotion)}};return l.__closure={userConfig:o,checkIfConfigIsValid:r(d[1]).checkIfConfigIsValid,underDampedSpringCalculations:r(d[1]).underDampedSpringCalculations,criticallyDampedSpringCalculations:r(d[1]).criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:r(d[1]).isAnimationTerminatingCalculation,calculateNewMassToMatchDuration:r(d[1]).calculateNewMassToMatchDuration,initialCalculations:r(d[1]).initialCalculations,scaleZetaToMatchClamps:r(d[1]).scaleZetaToMatchClamps,toValue:n,callback:s,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},l.__workletHash=8868220686243,l.__initData=t,l})())}).__closure={defineAnimation:r(d[0]).defineAnimation,checkIfConfigIsValid:r(d[1]).checkIfConfigIsValid,underDampedSpringCalculations:r(d[1]).underDampedSpringCalculations,criticallyDampedSpringCalculations:r(d[1]).criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:r(d[1]).isAnimationTerminatingCalculation,calculateNewMassToMatchDuration:r(d[1]).calculateNewMassToMatchDuration,initialCalculations:r(d[1]).initialCalculations,scaleZetaToMatchClamps:r(d[1]).scaleZetaToMatchClamps,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},n.__workletHash=0xf66a286d37f,n.__initData=o,n)}),581,[569,582]); +__d((function(g,r,i,a,_m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.underDampedSpringCalculations=e.scaleZetaToMatchClamps=e.isAnimationTerminatingCalculation=e.initialCalculations=e.criticallyDampedSpringCalculations=e.checkIfConfigIsValid=e.calculateNewMassToMatchDuration=e.bisectRoot=void 0;var n=t(r(d[1])),o=t(r(d[2])),s={code:"function checkIfConfigIsValid(config){var _config$clamp,_config$clamp2;let errorMessage='';['stiffness','damping','dampingRatio','restDisplacementThreshold','restSpeedThreshold','mass'].forEach(function(prop){const value=config[prop];if(value<=0){errorMessage+=\", \"+prop+\" must be grater than zero but got \"+value;}});if(config.duration<0){errorMessage+=\", duration can't be negative, got \"+config.duration;}if((_config$clamp=config.clamp)!==null&&_config$clamp!==void 0&&_config$clamp.min&&(_config$clamp2=config.clamp)!==null&&_config$clamp2!==void 0&&_config$clamp2.max&&config.clamp.min>config.clamp.max){errorMessage+=\", clamp.min should be lower than clamp.max, got clamp: {min: \"+config.clamp.min+\", max: \"+config.clamp.max+\"} \";}if(errorMessage!==''){console.warn('[Reanimated] Invalid spring config'+errorMessage);}return errorMessage==='';}"},c=(e.checkIfConfigIsValid=(function(){var t=function(t){var n,o,s='';return['stiffness','damping','dampingRatio','restDisplacementThreshold','restSpeedThreshold','mass'].forEach((function(n){var o=t[n];o<=0&&(s+=`, ${n} must be grater than zero but got ${o}`)})),t.duration<0&&(s+=`, duration can't be negative, got ${t.duration}`),null!=(n=t.clamp)&&n.min&&null!=(o=t.clamp)&&o.max&&t.clamp.min>t.clamp.max&&(s+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${t.clamp.min}, max: ${t.clamp.max}} `),''!==s&&console.warn('[Reanimated] Invalid spring config'+s),''===s};return t.__closure={},t.__workletHash=3844926261853,t.__initData=s,t})(),{code:"function bisectRoot({min:min,max:max,func:func,maxIterations=20}){const ACCURACY=0.00005;let idx=maxIterations;let current=(max+min)/2;while(Math.abs(func(current))>ACCURACY&&idx>0){idx-=1;if(func(current)<0){min=current;}else{max=current;}current=(min+max)/2;}return current;}"}),l=e.bisectRoot=(function(){var t=function(t){for(var n=t.min,o=t.max,s=t.func,c=t.maxIterations,l=void 0===c?20:c,u=(o+n)/2;Math.abs(s(u))>5e-5&&l>0;)l-=1,s(u)<0?n=u:o=u,u=(n+o)/2;return u};return t.__closure={},t.__workletHash=5240309884444,t.__initData=c,t})(),u={code:"function initialCalculations(mass=0,config){if(config.skipAnimation){return{zeta:0,omega0:0,omega1:0};}if(config.useDuration){const{stiffness:k,dampingRatio:zeta}=config;const omega0=Math.sqrt(k/mass);const omega1=omega0*Math.sqrt(1-zeta**2);return{zeta:zeta,omega0:omega0,omega1:omega1};}else{const{damping:c,mass:m,stiffness:k}=config;const zeta=c/(2*Math.sqrt(k*m));const omega0=Math.sqrt(k/m);const omega1=omega0*Math.sqrt(1-zeta**2);return{zeta:zeta,omega0:omega0,omega1:omega1};}}"},m=(e.initialCalculations=(function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0;if(n.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(n.useDuration){var o=n.stiffness,s=n.dampingRatio,c=Math.sqrt(o/t);return{zeta:s,omega0:c,omega1:c*Math.sqrt(1-s**2)}}var l=n.damping,u=n.mass,m=n.stiffness,p=l/(2*Math.sqrt(m*u)),f=Math.sqrt(m/u);return{zeta:p,omega0:f,omega1:f*Math.sqrt(1-p**2)}};return t.__closure={},t.__workletHash=3548391315633,t.__initData=u,t})(),{code:"function scaleZetaToMatchClamps(animation,clamp){const{zeta:zeta,toValue:toValue,startValue:startValue}=animation;const toValueNum=Number(toValue);if(toValueNum===startValue){return zeta;}const[firstBound,secondBound]=toValueNum-startValue>0?[clamp.min,clamp.max]:[clamp.max,clamp.min];const relativeExtremum1=secondBound!==undefined?Math.abs((secondBound-toValueNum)/(toValueNum-startValue)):undefined;const relativeExtremum2=firstBound!==undefined?Math.abs((firstBound-toValueNum)/(toValueNum-startValue)):undefined;const newZeta1=relativeExtremum1!==undefined?Math.abs(Math.log(relativeExtremum1)/Math.PI):undefined;const newZeta2=relativeExtremum2!==undefined?Math.abs(Math.log(relativeExtremum2)/(2*Math.PI)):undefined;const zetaSatisfyingClamp=[newZeta1,newZeta2].filter(function(x){return x!==undefined;});return Math.max(...zetaSatisfyingClamp,zeta);}"}),p=(e.scaleZetaToMatchClamps=(function(){var t=function(t,s){var c=t.zeta,l=t.toValue,u=t.startValue,m=Number(l);if(m===u)return c;var p=m-u>0?[s.min,s.max]:[s.max,s.min],f=(0,o.default)(p,2),h=f[0],v=f[1],M=void 0!==v?Math.abs((v-m)/(m-u)):void 0,_=void 0!==h?Math.abs((h-m)/(m-u)):void 0,x=[void 0!==M?Math.abs(Math.log(M)/Math.PI):void 0,void 0!==_?Math.abs(Math.log(_)/(2*Math.PI)):void 0].filter((function(t){return void 0!==t}));return Math.max.apply(Math,(0,n.default)(x).concat([c]))};return t.__closure={},t.__workletHash=789757739269,t.__initData=m,t})(),{code:"function calculateNewMassToMatchDuration(x0,config,v0){const{bisectRoot}=this.__closure;if(config.skipAnimation){return 0;}const{stiffness:k,dampingRatio:zeta,restSpeedThreshold:threshold,duration:duration}=config;const durationForMass=function(mass){'worklet';const amplitude=(mass*v0*v0+k*x0*x0)/(Math.exp(1-0.5*zeta)*k);const c=zeta*2*Math.sqrt(k*mass);return 1000*(-2*mass/c)*Math.log(threshold*0.01/amplitude)-duration;};return bisectRoot({min:0,max:100,func:durationForMass});}"}),f={code:"function anonymous(mass){const{v0,k,x0,zeta,threshold,duration}=this.__closure;const amplitude=(mass*v0*v0+k*x0*x0)/(Math.exp(1-0.5*zeta)*k);const c=zeta*2*Math.sqrt(k*mass);return 1000*(-2*mass/c)*Math.log(threshold*0.01/amplitude)-duration;}"},h=(e.calculateNewMassToMatchDuration=(function(){var t=function(t,n,o){if(n.skipAnimation)return 0;var s,c=n.stiffness,u=n.dampingRatio,m=n.restSpeedThreshold,p=n.duration,h=((s=function(n){var s=(n*o*o+c*t*t)/(Math.exp(1-.5*u)*c);return-2*n/(2*u*Math.sqrt(c*n))*1e3*Math.log(.01*m/s)-p}).__closure={v0:o,k:c,x0:t,zeta:u,threshold:m,duration:p},s.__workletHash=0x9d03e995640,s.__initData=f,s);return l({min:0,max:100,func:h})};return t.__closure={bisectRoot:l},t.__workletHash=9616341876352,t.__initData=p,t})(),{code:"function criticallyDampedSpringCalculations(animation,precalculatedValues){const{toValue:toValue}=animation;const{v0:v0,x0:x0,omega0:omega0,t:t}=precalculatedValues;const criticallyDampedEnvelope=Math.exp(-omega0*t);const criticallyDampedPosition=toValue-criticallyDampedEnvelope*(x0+(v0+omega0*x0)*t);const criticallyDampedVelocity=criticallyDampedEnvelope*(v0*(t*omega0-1)+t*x0*omega0*omega0);return{position:criticallyDampedPosition,velocity:criticallyDampedVelocity};}"}),v=(e.criticallyDampedSpringCalculations=(function(){var t=function(t,n){var o=t.toValue,s=n.v0,c=n.x0,l=n.omega0,u=n.t,m=Math.exp(-l*u);return{position:o-m*(c+(s+l*c)*u),velocity:m*(s*(u*l-1)+u*c*l*l)}};return t.__closure={},t.__workletHash=5599334668647,t.__initData=h,t})(),{code:"function underDampedSpringCalculations(animation,precalculatedValues){const{toValue:toValue,current:current,velocity:velocity}=animation;const{zeta:zeta,t:t,omega0:omega0,omega1:omega1}=precalculatedValues;const v0=-velocity;const x0=toValue-current;const sin1=Math.sin(omega1*t);const cos1=Math.cos(omega1*t);const underDampedEnvelope=Math.exp(-zeta*omega0*t);const underDampedFrag1=underDampedEnvelope*(sin1*((v0+zeta*omega0*x0)/omega1)+x0*cos1);const underDampedPosition=toValue-underDampedFrag1;const underDampedVelocity=zeta*omega0*underDampedFrag1-underDampedEnvelope*(cos1*(v0+zeta*omega0*x0)-omega1*x0*sin1);return{position:underDampedPosition,velocity:underDampedVelocity};}"}),M=(e.underDampedSpringCalculations=(function(){var t=function(t,n){var o=t.toValue,s=t.current,c=t.velocity,l=n.zeta,u=n.t,m=n.omega0,p=n.omega1,f=-c,h=o-s,v=Math.sin(p*u),M=Math.cos(p*u),_=Math.exp(-l*m*u),x=_*(v*((f+l*m*h)/p)+h*M);return{position:o-x,velocity:l*m*x-_*(M*(f+l*m*h)-p*h*v)}};return t.__closure={},t.__workletHash=1432967632227,t.__initData=v,t})(),{code:"function isAnimationTerminatingCalculation(animation,config){const{toValue:toValue,velocity:velocity,startValue:startValue,current:current}=animation;const isOvershooting=config.overshootClamping?current>toValue&&startValuetoValue:false;const isVelocity=Math.abs(velocity)o&&co),isVelocity:Math.abs(s)0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}"},u={code:"function anonymous(){const{ColorProperties,processColor,setPath,styleAnimations,resolvePath,withTiming}=this.__closure;const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}"};e.withStyleAnimation=(function(){var n=function(n){return(0,r(d[0]).defineAnimation)({},((i=function(){return{isHigherOrder:!0,onFrame:function(n,t){for(var i=!1,c=[{value:n.styleAnimations,path:[]}];c.length>0;){var u=c.pop();if(Array.isArray(u.value))for(var l=0;l0;){var y=s.pop();if(Array.isArray(y.value))for(var h=0;h0;){var o=i.pop();if(Array.isArray(o))for(var c of o)i.push(c);else if('object'==typeof o&&void 0===o.onStart)for(var u of Object.values(o))i.push(u);else{var l=o;!l.finished&&l.callback&&l.callback(!1)}}}}}).__closure={ColorProperties:r(d[1]).ColorProperties,processColor:r(d[1]).processColor,setPath:o,styleAnimations:n,resolvePath:t,withTiming:r(d[2]).withTiming},i.__workletHash=1843409626782,i.__initData=u,i));var i};return n.__closure={defineAnimation:r(d[0]).defineAnimation,ColorProperties:r(d[1]).ColorProperties,processColor:r(d[1]).processColor,setPath:o,resolvePath:t,withTiming:r(d[2]).withTiming},n.__workletHash=0xc484fab22d6,n.__initData=c,n})()}),583,[569,571,584]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.withTiming=void 0;var n,t={code:"function anonymous(toValue,userConfig,callback){const{defineAnimation,Easing,getReduceMotionForAnimation}=this.__closure;return defineAnimation(toValue,function(){'worklet';const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation(userConfig===null||userConfig===void 0?void 0:userConfig.reduceMotion)};});}"},o={code:"function anonymous(){const{Easing,userConfig,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig;const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation((_userConfig=userConfig)===null||_userConfig===void 0?void 0:_userConfig.reduceMotion)};}"};e.withTiming=((n=function(n,t,u){return(0,r(d[0]).defineAnimation)(n,(function(){var s=function(){var o={duration:300,easing:r(d[1]).Easing.inOut(r(d[1]).Easing.quad)};return t&&Object.keys(t).forEach((function(n){return o[n]=t[n]})),{type:'timing',onFrame:function(n,t){var u=n.toValue,s=n.startTime,c=n.startValue,l=t-s;if(l>=o.duration)return n.startTime=0,n.current=u,!0;var f=n.easing(l/o.duration);return n.current=c+(u-c)*f,!1},onStart:function(t,u,s,c){c&&'timing'===c.type&&c.toValue===n&&c.startTime?(t.startTime=c.startTime,t.startValue=c.startValue):(t.startTime=s,t.startValue=u),t.current=u,'object'==typeof o.easing?t.easing=o.easing.factory():t.easing=o.easing},progress:0,toValue:n,startValue:0,startTime:0,easing:function(){return 0},current:n,callback:u,reduceMotion:(0,r(d[0]).getReduceMotionForAnimation)(null==t?void 0:t.reduceMotion)}};return s.__closure={Easing:r(d[1]).Easing,userConfig:t,toValue:n,callback:u,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},s.__workletHash=1323921842309,s.__initData=o,s})())}).__closure={defineAnimation:r(d[0]).defineAnimation,Easing:r(d[1]).Easing,getReduceMotionForAnimation:r(d[0]).getReduceMotionForAnimation},n.__workletHash=0xd96f6f2d589,n.__initData=t,n)}),584,[569,585]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.Easing=void 0;var t={code:"function linear(t){return t;}"},n=(function(){var n=function(t){return t};return n.__closure={},n.__workletHash=7988822508142,n.__initData=t,n})(),o={code:"function ease(t){const{Bezier}=this.__closure;return Bezier(0.42,0,1,1)(t);}"},u=(function(){var t=function(t){return(0,r(d[0]).Bezier)(.42,0,1,1)(t)};return t.__closure={Bezier:r(d[0]).Bezier},t.__workletHash=0xdf0d2bbf8f9,t.__initData=o,t})(),c={code:"function quad(t){return t*t;}"},_=(function(){var t=function(t){return t*t};return t.__closure={},t.__workletHash=8628631460172,t.__initData=c,t})(),s={code:"function cubic(t){return t*t*t;}"},f=(function(){var t=function(t){return t*t*t};return t.__closure={},t.__workletHash=9374441307661,t.__initData=s,t})(),l={code:"function poly(n){return function(t){'worklet';return Math.pow(t,n);};}"},h={code:"function anonymous(t){const{n}=this.__closure;return Math.pow(t,n);}"},v=(function(){var t=function(t){return(n=function(n){return Math.pow(n,t)}).__closure={n:t},n.__workletHash=8160399615271,n.__initData=h,n;var n};return t.__closure={},t.__workletHash=0xf0e21d4d631,t.__initData=l,t})(),w={code:"function sin(t){return 1-Math.cos(t*Math.PI/2);}"},M=(function(){var t=function(t){return 1-Math.cos(t*Math.PI/2)};return t.__closure={},t.__workletHash=8621899987563,t.__initData=w,t})(),k={code:"function circle(t){return 1-Math.sqrt(1-t*t);}"},x=(function(){var t=function(t){return 1-Math.sqrt(1-t*t)};return t.__closure={},t.__workletHash=0xe74766c81e4,t.__initData=k,t})(),y={code:"function exp(t){return Math.pow(2,10*(t-1));}"},p=(function(){var t=function(t){return Math.pow(2,10*(t-1))};return t.__closure={},t.__workletHash=0xe77bf377b41,t.__initData=y,t})(),D={code:"function elastic(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}"},H={code:"function anonymous(t){const{p}=this.__closure;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}"},z=(function(){var t=function(){var t,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return(t=function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*n)}).__closure={p:n},t.__workletHash=0xc6194c3d6ac,t.__initData=H,t};return t.__closure={},t.__workletHash=0xe75c59c1497,t.__initData=D,t})(),B={code:"function back(s=1.70158){return function(t){'worklet';return t*t*((s+1)*t-s);};}"},b={code:"function anonymous(t){const{s}=this.__closure;return t*t*((s+1)*t-s);}"},P=(function(){var t=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return(t=function(t){return t*t*((n+1)*t-n)}).__closure={s:n},t.__workletHash=7661353411314,t.__initData=b,t};return t.__closure={},t.__workletHash=2360128598492,t.__initData=B,t})(),I={code:"function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}"},N=(function(){var t=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){var n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<.9090909090909091){var o=t-.8181818181818182;return 7.5625*o*o+.9375}var u=t-.9545454545454546;return 7.5625*u*u+.984375};return t.__closure={},t.__workletHash=5721637210615,t.__initData=I,t})(),S={code:"function bezier(x1,y1,x2,y2){const{Bezier}=this.__closure;return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}"},T={code:"function anonymous(){const{Bezier,x1,y1,x2,y2}=this.__closure;return Bezier(x1,y1,x2,y2);}"},q=(function(){var t=function(t,n,o,u){return{factory:(c=function(){return(0,r(d[0]).Bezier)(t,n,o,u)},c.__closure={Bezier:r(d[0]).Bezier,x1:t,y1:n,x2:o,y2:u},c.__workletHash=0xf2132651dd1,c.__initData=T,c)};var c};return t.__closure={Bezier:r(d[0]).Bezier},t.__workletHash=9675502416406,t.__initData=S,t})(),O={code:"function bezierFn(x1,y1,x2,y2){const{Bezier}=this.__closure;return Bezier(x1,y1,x2,y2);}"},E=(function(){var t=function(t,n,o,u){return(0,r(d[0]).Bezier)(t,n,o,u)};return t.__closure={Bezier:r(d[0]).Bezier},t.__workletHash=6096629103333,t.__initData=O,t})(),F={code:"function in_(easing){return easing;}"},j=(function(){var t=function(t){return t};return t.__closure={},t.__workletHash=1837493474379,t.__initData=F,t})(),A={code:"function out(easing){return function(t){'worklet';return 1-easing(1-t);};}"},C={code:"function anonymous(t){const{easing}=this.__closure;return 1-easing(1-t);}"},G=(function(){var t=function(t){return(n=function(n){return 1-t(1-n)}).__closure={easing:t},n.__workletHash=5429450466877,n.__initData=C,n;var n};return t.__closure={},t.__workletHash=7718549646703,t.__initData=A,t})(),J={code:"function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}"},K={code:"function anonymous(t){const{easing}=this.__closure;if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}"},L=(function(){var t=function(t){return(n=function(n){return n<.5?t(2*n)/2:1-t(2*(1-n))/2}).__closure={easing:t},n.__workletHash=0x9d0b15f1944,n.__initData=K,n;var n};return t.__closure={},t.__workletHash=7048715165105,t.__initData=J,t})(),Q={code:"function steps(n=10,roundToNextStep=true){return function(t){'worklet';const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;};}"},R={code:"function anonymous(t){const{n,roundToNextStep}=this.__closure;const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;}"},U=(function(){var t=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(t=function(t){var u=Math.min(Math.max(t,0),1)*n;return o?Math.ceil(u)/n:Math.floor(u)/n}).__closure={n:n,roundToNextStep:o},t.__workletHash=775466327407,t.__initData=R,t};return t.__closure={},t.__workletHash=0xca3f9764e25,t.__initData=Q,t})(),V={linear:n,ease:u,quad:_,cubic:f,poly:v,sin:M,circle:x,exp:p,elastic:z,back:P,bounce:N,bezier:q,bezierFn:E,steps:U,in:j,out:G,inOut:L};e.Easing=V}),585,[586]); +__d((function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.Bezier=void 0;var t=.001,n=.1,i={code:"function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}"},l=(function(){var t=function(t,n){return 1-3*n+3*t};return t.__closure={},t.__workletHash=7696928702327,t.__initData=i,t})(),u={code:"function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}"},o=(function(){var t=function(t,n){return 3*n-6*t};return t.__closure={},t.__workletHash=3169786778773,t.__initData=u,t})(),c={code:"function C(aA1){return 3.0*aA1;}"},s=(function(){var t=function(t){return 3*t};return t.__closure={},t.__workletHash=6399610653367,t.__initData=c,t})(),S={code:"function calcBezier(aT,aA1,aA2){const{A,B,C}=this.__closure;return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}"},_=(function(){var t=function(t,n,i){return((l(n,i)*t+o(n,i))*t+s(n))*t};return t.__closure={A:l,B:o,C:s},t.__workletHash=0xa8ef08ee758,t.__initData=S,t})(),p={code:"function getSlope(aT,aA1,aA2){const{A,B,C}=this.__closure;return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}"},X=(function(){var t=function(t,n,i){return 3*l(n,i)*t*t+2*o(n,i)*t+s(n)};return t.__closure={A:l,B:o,C:s},t.__workletHash=0xe3ea9ae7f84,t.__initData=p,t})(),f={code:"function binarySubdivide(aX,aA,aB,mX1,mX2){const{SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS,calcBezier}=this.__closure;let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i0?i=c:n=c}while(Math.abs(o)>1e-7&&++s<10);return c};return t.__closure={SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10,calcBezier:_},t.__workletHash=0xf278e626253,t.__initData=f,t})(),I={code:"function newtonRaphsonIterate(aX,aGuessT,mX1,mX2){const{NEWTON_ITERATIONS,getSlope,calcBezier}=this.__closure;for(let i=0;i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('[Reanimated] Bezier x values must be in [0, 1] range.');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){'worklet';if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}"},z={code:"function LinearEasing(x){return x;}"},N={code:"function getTForX(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=this.__closure;let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}"},B={code:"function BezierEasing(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=this.__closure;if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}"};e.Bezier=(function(){var i=function(i,l,u,o){var c=(function(){var t=function(t){return t};return t.__closure={},t.__workletHash=3962143445177,t.__initData=z,t})();if(!(i>=0&&i<=1&&u>=0&&u<=1))throw new Error('[Reanimated] Bezier x values must be in [0, 1] range.');if(i===l&&u===o)return c;for(var s=new Array(11),S=0;S<11;++S)s[S]=_(S*n,i,u);var p,f=(function(){var l=function(l){for(var o=0,c=1;10!==c&&s[c]<=l;++c)o+=n;--c;var S=o+(l-s[c])/(s[c+1]-s[c])*n,_=X(S,i,u);return _>=t?A(l,S,i,u):0===_?S:T(l,o,o+n,i,u)};return l.__closure={kSplineTableSize:11,sampleValues:s,kSampleStepSize:n,getSlope:X,mX1:i,mX2:u,NEWTON_MIN_SLOPE:t,newtonRaphsonIterate:A,binarySubdivide:T},l.__workletHash=1358253373504,l.__initData=N,l})();return(p=function(t){return i===l&&u===o?t:0===t?0:1===t?1:_(f(t),l,o)}).__closure={mX1:i,mY1:l,mX2:u,mY2:o,calcBezier:_,getTForX:f},p.__workletHash=5389798763829,p.__initData=B,p};return i.__closure={kSplineTableSize:11,calcBezier:_,kSampleStepSize:n,getSlope:X,NEWTON_MIN_SLOPE:t,newtonRaphsonIterate:A,binarySubdivide:T},i.__workletHash=0xfee706b5fa5,i.__initData=v,i})()}),586,[]); +__d((function(g,r,i,a,m,_e,d){'use strict';var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.ComplexAnimationBuilder=void 0;var t=e(r(d[1])),n=e(r(d[2])),s=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5]));function l(){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}}_e.ComplexAnimationBuilder=(function(e){(0,s.default)(v,e);var h,c,f=(h=v,c=l(),function(){var e,t=(0,o.default)(h);if(c){var n=(0,o.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function v(){return(0,t.default)(this,v),f.apply(this,arguments)}return(0,n.default)(v,[{key:"easing",value:function(e){return this.easingV=e,this}},{key:"rotate",value:function(e){return this.rotateV=e,this}},{key:"springify",value:function(e){return this.durationV=e,this.type=r(d[6]).withSpring,this}},{key:"dampingRatio",value:function(e){return this.dampingRatioV=e,this}},{key:"damping",value:function(e){return this.dampingV=e,this}},{key:"mass",value:function(e){return this.massV=e,this}},{key:"stiffness",value:function(e){return this.stiffnessV=e,this}},{key:"overshootClamping",value:function(e){return this.overshootClampingV=e,this}},{key:"restDisplacementThreshold",value:function(e){return this.restDisplacementThresholdV=e,this}},{key:"restSpeedThreshold",value:function(e){return this.restSpeedThresholdV=e,this}},{key:"withInitialValues",value:function(e){return this.initialValues=e,this}},{key:"getAnimationAndConfig",value:function(){var e=this.durationV,t=this.easingV,n=this.rotateV,s=this.type?this.type:r(d[6]).withTiming,u=this.dampingV,o=this.dampingRatioV,l=this.massV,h=this.stiffnessV,c=this.overshootClampingV,f=this.restDisplacementThresholdV,v=this.restSpeedThresholdV,p=s,y={};function V(e,t){e&&(y[t]=e)}return s===r(d[6]).withTiming&&V(t,'easing'),[{variableName:'damping',value:u},{variableName:'dampingRatio',value:o},{variableName:'mass',value:l},{variableName:'stiffness',value:h},{variableName:'overshootClamping',value:c},{variableName:'restDisplacementThreshold',value:f},{variableName:'restSpeedThreshold',value:v},{variableName:'duration',value:e},{variableName:'rotate',value:n}].forEach((function(e){return V(e.value,e.variableName)})),[p,y]}}],[{key:"easing",value:function(e){return this.createInstance().easing(e)}},{key:"rotate",value:function(e){return this.createInstance().rotate(e)}},{key:"springify",value:function(e){return this.createInstance().springify(e)}},{key:"dampingRatio",value:function(e){return this.createInstance().dampingRatio(e)}},{key:"damping",value:function(e){return this.createInstance().damping(e)}},{key:"mass",value:function(e){return this.createInstance().mass(e)}},{key:"stiffness",value:function(e){return this.createInstance().stiffness(e)}},{key:"overshootClamping",value:function(e){return this.createInstance().overshootClamping(e)}},{key:"restDisplacementThreshold",value:function(e){return this.createInstance().restDisplacementThreshold(e)}},{key:"restSpeedThreshold",value:function(e){return this.createInstance().restSpeedThreshold(e)}},{key:"withInitialValues",value:function(e){return this.createInstance().withInitialValues(e)}}]),v})(r(d[7]).BaseAnimationBuilder)}),587,[1,5,6,13,15,12,568,567]); +__d((function(g,r,i,_a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Keyframe=void 0;var t=n(r(d[1])),a=n(r(d[2])),o=n(r(d[3])),s=n(r(d[4])),u={code:"function anonymous(){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,initialValues,makeKeyframeKey,callback}=this.__closure;const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0){return;}const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence(...keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){if(!('transform'in animations)){animations.transform=[];}animations.transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(makeKeyframeKey(index,transformPropKey));});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}"},f={code:"function anonymous(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);}"},c={code:"function anonymous(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;}"},l=(function(){function n(s){var f=this;(0,o.default)(this,n),this.reduceMotionV=r(d[5]).ReduceMotion.System,this.build=function(){var n,o=f.delayV,s=f.getDelayFunction(),c=f.parseDefinitions(),l=c.keyframes,y=c.initialValues,k=f.callbackV;return(n=function(){var n={},u=function(u){var f=l[u];if(0!==f.length){var c=s(o,1===f.length?(0,r(d[6]).withTiming)(f[0].value,{duration:f[0].duration,easing:f[0].easing?f[0].easing:r(d[7]).Easing.linear}):r(d[6]).withSequence.apply(void 0,(0,a.default)(f.map((function(n){return(0,r(d[6]).withTiming)(n.value,{duration:n.duration,easing:n.easing?n.easing:r(d[7]).Easing.linear})})))));u.includes('transform')?('transform'in n||(n.transform=[]),n.transform.push((0,t.default)({},u.split(':')[1],c))):n[u]=c}};return Object.keys(y).forEach((function(n){n.includes('transform')?y[n].forEach((function(n,t){Object.keys(n).forEach((function(n){u(h(t,n))}))})):u(n)})),{animations:n,initialValues:y,callback:k}}).__closure={keyframes:l,delayFunction:s,delay:o,withTiming:r(d[6]).withTiming,Easing:r(d[7]).Easing,withSequence:r(d[6]).withSequence,initialValues:y,makeKeyframeKey:h,callback:k},n.__workletHash=0x94ba0026cc3,n.__initData=u,n},this.definitions=s}return(0,s.default)(n,[{key:"parseDefinitions",value:function(){var n=this,t={};if(this.definitions.from){if(this.definitions[0])throw new Error("[Reanimated] You cannot provide both keyframe 0 and 'from' as they both specified initial values.");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw new Error("[Reanimated] You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw new Error("[Reanimated] Please provide 0 or 'from' keyframe with initial state of your object.");var a=this.definitions[0];Object.keys(a).forEach((function(n){if('transform'===n){if(!Array.isArray(a.transform))return;a.transform.forEach((function(n,a){Object.keys(n).forEach((function(n){t[h(a,n)]=[]}))}))}else t[n]=[]}));var o=this.durationV?this.durationV:500,s=Array.from(Object.keys(this.definitions)),u=function(n,a){return a/100*o-t[n].reduce((function(n,t){return n+t.duration}),0)},f=function(n){var a=n.key,o=n.value,s=n.currentKeyPoint,f=n.easing;if(!(a in t))throw new Error("[Reanimated] Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");t[a].push({duration:u(a,s),value:o,easing:f})};return s.filter((function(n){return 0!==parseInt(n)})).sort((function(n,t){return parseInt(n)-parseInt(t)})).forEach((function(t){if(parseInt(t)<0||parseInt(t)>100)throw new Error('[Reanimated] Keyframe should be in between range 0 - 100.');var a=n.definitions[t],o=a.easing;delete a.easing;var s=function(n,a){return f({key:n,value:a,currentKeyPoint:parseInt(t),easing:o})};Object.keys(a).forEach((function(n){if('transform'===n){if(!Array.isArray(a.transform))return;a.transform.forEach((function(n,t){Object.keys(n).forEach((function(a){s(h(t,a),n[a])}))}))}else s(n,a[n])}))})),{initialValues:a,keyframes:t}}},{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"reduceMotion",value:function(n){return this.reduceMotionV=n,this}},{key:"getDelayFunction",value:function(){var n,t=this.delayV,a=this.reduceMotionV;return t?(n=function(n,t){return(0,r(d[6]).withDelay)(n,t,a)},n.__closure={withDelay:r(d[6]).withDelay,reduceMotion:a},n.__workletHash=0xc958915201d,n.__initData=f,n):(function(){var n=function(n,t){return t.reduceMotion=(0,r(d[8]).getReduceMotionFromConfig)(a),t};return n.__closure={getReduceMotionFromConfig:r(d[8]).getReduceMotionFromConfig,reduceMotion:a},n.__workletHash=5312609872546,n.__initData=c,n})()}}]),n})(),y={code:"function makeKeyframeKey(index,transformProp){return index+\"_transform:\"+transformProp;}"},h=(function(){var n=function(n,t){return`${n}_transform:${t}`};return n.__closure={},n.__workletHash=6005918449481,n.__initData=y,n})();e.Keyframe=l}),588,[1,170,34,5,6,549,568,585,569]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.SharedTransitionType=e.LayoutAnimationType=void 0;e.LayoutAnimationType=(function(T){return T[T.ENTERING=1]="ENTERING",T[T.EXITING=2]="EXITING",T[T.LAYOUT=3]="LAYOUT",T[T.SHARED_ELEMENT_TRANSITION=4]="SHARED_ELEMENT_TRANSITION",T[T.SHARED_ELEMENT_TRANSITION_PROGRESS=5]="SHARED_ELEMENT_TRANSITION_PROGRESS",T})({}),e.SharedTransitionType=(function(T){return T.ANIMATION="animation",T.PROGRESS_ANIMATION="progressAnimation",T})({})}),589,[]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=n(r(d[2])),u=r(d[3]),p=(0,r(d[4]).shouldBeUseWeb)(),s=(function(){function n(){(0,t.default)(this,n),this._reanimatedEventEmitter=new u.NativeEventEmitter(u.NativeModules.ReanimatedModule)}return(0,o.default)(n,[{key:"addOnJSPropsChangeListener",value:function(t){var o=(0,u.findNodeHandle)(t);if(n._tagToComponentMapping.set(o,t),1===n._tagToComponentMapping.size){this._reanimatedEventEmitter.addListener('onReanimatedPropsChange',(function(t){var o=n._tagToComponentMapping.get(t.viewTag);null==o||o._updateFromNative(t.props)}))}}},{key:"removeOnJSPropsChangeListener",value:function(t){var o=(0,u.findNodeHandle)(t);n._tagToComponentMapping.delete(o),0===n._tagToComponentMapping.size&&this._reanimatedEventEmitter.removeAllListeners('onReanimatedPropsChange')}}]),n})();s._tagToComponentMapping=new Map;var l,f={code:"function anonymous(){const{runOnJS,updater}=this.__closure;global.updateJSProps=function(viewTag,props){runOnJS(updater)(viewTag,props);};}"},v=(function(){function n(){if((0,t.default)(this,n),!n.isInitialized){var o=function(t,o){var u=n._tagToComponentMapping.get(t);null==u||u._updateFromNative(o)};(0,r(d[5]).runOnUIImmediately)(((u=function(){g.updateJSProps=function(n,t){(0,r(d[5]).runOnJS)(o)(n,t)}}).__closure={runOnJS:r(d[5]).runOnJS,updater:o},u.__workletHash=9991293657914,u.__initData=f,u))(),n.isInitialized=!0}var u}return(0,o.default)(n,[{key:"addOnJSPropsChangeListener",value:function(t){if(n.isInitialized){var o=(0,u.findNodeHandle)(t);n._tagToComponentMapping.set(o,t)}}},{key:"removeOnJSPropsChangeListener",value:function(t){if(n.isInitialized){var o=(0,u.findNodeHandle)(t);n._tagToComponentMapping.delete(o)}}}]),n})();v._tagToComponentMapping=new Map,v.isInitialized=!1,l=p?(function(){function n(){(0,t.default)(this,n)}return(0,o.default)(n,[{key:"addOnJSPropsChangeListener",value:function(n){}},{key:"removeOnJSPropsChangeListener",value:function(n){}}]),n})():g._IS_FABRIC?v:s;e.default=l}),590,[1,5,6,2,542,557]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){var n=t.getForwardedRef,o=t.setLocalRef;return function(t){var u=n();o(t),'function'==typeof u?u(t):'object'==typeof u&&null!=u&&(u.current=t)}}}),591,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"configureWebLayoutAnimations",{enumerable:!0,get:function(){return r(d[0]).configureWebLayoutAnimations}}),Object.defineProperty(e,"getReducedMotionFromConfig",{enumerable:!0,get:function(){return r(d[1]).getReducedMotionFromConfig}}),Object.defineProperty(e,"saveSnapshot",{enumerable:!0,get:function(){return r(d[1]).saveSnapshot}}),Object.defineProperty(e,"startWebLayoutAnimation",{enumerable:!0,get:function(){return r(d[2]).startWebLayoutAnimation}}),Object.defineProperty(e,"tryActivateLayoutTransition",{enumerable:!0,get:function(){return r(d[2]).tryActivateLayoutTransition}})}),592,[593,607,612]); +__d((function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.addHTMLMutationObserver=function(){if(l||!(0,r(d[0]).isWindowAvailable)())return;l=!0,new MutationObserver((function(t){var n=t[t.length-1];if(!v(n.target))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:1e3;return Math.floor(Math.random()*(n+1))/1e3}function i(n){var i=n.randomizeDelay,o=i?t():0;return n.delayV?i?t(n.delayV):n.delayV/1e3:o}function o(n,t,i){var o=t?.3:r(d[0]).Animations[i].duration;return void 0!==n.durationV?n.durationV/1e3:o}function s(n){return void 0!==n.callbackV?n.callbackV:null}function l(n){return!!n.reversed}function c(n,t,i){var o=t.animationName,s=t.duration,l=t.delay,c=t.easing;n.style.animationName=o,n.style.animationDuration=`${s}s`,n.style.animationDelay=`${l}s`,n.style.animationTimingFunction=c,n.onanimationend=function(){null==t.callback||t.callback(!0),n.removeEventListener('animationcancel',f)};var f=function i(){null==t.callback||t.callback(!1),n.removeEventListener('animationcancel',i)};n.onanimationstart=function(){t.animationType===r(d[3]).LayoutAnimationType.ENTERING&&(0,r(d[5])._updatePropsJS)({visibility:'initial'},{_component:n}),n.addEventListener('animationcancel',f),n.style.transform=(0,r(d[6]).convertTransformToString)(i)},o in r(d[0]).Animations||(0,r(d[7]).scheduleAnimationCleanup)(o,s+l)}function f(n){for(var t=n,i={scrollTopOffset:0,scrollLeftOffset:0};t;)0!==t.scrollTop&&0===i.scrollTopOffset&&(i.scrollTopOffset=t.scrollTop),0!==t.scrollLeft&&0===i.scrollLeftOffset&&(i.scrollLeftOffset=t.scrollLeft),t=t.parentElement;return i}Object.defineProperty(e,"__esModule",{value:!0}),e.extractTransformFromStyle=function(n){if(!n)return;if('string'==typeof n.transform)throw new Error('[Reanimated] String transform is currently unsupported.');if(!Array.isArray(n))return n.transform;for(var t=n.length-1;t>=0;--t){var i;if(null!=(i=n[t])&&i.transform)return n[t].transform}},e.getProcessedConfig=function(t,c,f,u){return{animationName:t,animationType:c,duration:o(f,c===r(d[3]).LayoutAnimationType.LAYOUT,u),delay:i(f),easing:n(f),callback:s(f),reversed:l(f)}},e.getReducedMotionFromConfig=function(n){if(!n.reduceMotionV)return(0,r(d[1]).isReducedMotion)();switch(n.reduceMotionV){case r(d[2]).ReduceMotion.Never:return!1;case r(d[2]).ReduceMotion.Always:return!0;default:return(0,r(d[1]).isReducedMotion)()}},e.handleExitingAnimation=function(n,t){var i=n.offsetParent,o=n.cloneNode();o.reanimatedDummy=!0,n.style.animationName='',n.style.visibility='hidden';for(;n.firstChild;)o.appendChild(n.firstChild);c(o,t),null==i||i.appendChild(o);var s=r(d[4]).snapshots.get(n),l=f(n),u=l.scrollTopOffset,v=s.scrollOffsets.scrollTopOffset;u!==v&&(s.top+=v-u);var y=l.scrollLeftOffset,p=s.scrollOffsets.scrollLeftOffset;y!==p&&(s.left+=p-y);r(d[4]).snapshots.set(o,s),(0,r(d[4]).setDummyPosition)(o,s);var T=o.onanimationend;o.onanimationend=function(n){null!=i&&i.contains(o)&&(o.removedAfterAnimation=!0,i.removeChild(o)),null==T||T.call(this,n)},o.addEventListener('animationcancel',(function(){null!=i&&i.contains(o)&&(o.removedAfterAnimation=!0,i.removeChild(o))}))},e.handleLayoutTransition=function(n,t,i,o){var s;switch(t.animationName){case'LinearTransition':default:s=r(d[0]).TransitionType.LINEAR;break;case'SequencedTransition':s=r(d[0]).TransitionType.SEQUENCED;break;case'FadingTransition':s=r(d[0]).TransitionType.FADING}t.animationName=(0,r(d[8]).TransitionGenerator)(s,i,o);var l=o?structuredClone(o):[];l.push(i),n.style.transform=(0,r(d[6]).convertTransformToString)(l),c(n,t,o)},e.saveSnapshot=function(n){var t=n.getBoundingClientRect(),i={top:t.top,left:t.left,width:t.width,height:t.height,scrollOffsets:f(n)};r(d[4]).snapshots.set(n,i)},e.setElementAnimation=c}),607,[594,542,549,589,606,546,596,593,608]); +__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TransitionGenerator=function(n,t,o){var s,c=f();switch(n){case r(d[2]).TransitionType.LINEAR:s=(0,r(d[5]).LinearTransition)(c,t);break;case r(d[2]).TransitionType.SEQUENCED:s=(0,r(d[6]).SequencedTransition)(c,t);break;case r(d[2]).TransitionType.FADING:s=(0,r(d[7]).FadingTransition)(c,t)}if(o)return u('',o,s);var v=(0,r(d[3]).convertAnimationObjectToKeyframes)(s);return(0,r(d[4]).insertWebAnimation)(c,v),c},e.createAnimationWithExistingTransform=u;var t=n(r(d[1]));function o(n){return n.map((function(n){var o={};for(var s of Object.entries(n)){var u=(0,t.default)(s,2),c=u[0],f=u[1];c.includes('translate')?o[c]=`${f}px`:o[c]=f}return o}))}function s(n,t){for(var o of Object.values(n.style))o.transform?Array.prototype.unshift.apply(o.transform,t):o.transform=t}function u(n,t,u){var c;if(u)c=u;else{if(!(n in r(d[2]).Animations))return'';c=structuredClone(r(d[2]).AnimationsData[n])}var v=f();c.name=v,s(c,o(t));var T=(0,r(d[3]).convertAnimationObjectToKeyframes)(c);return(0,r(d[4]).insertWebAnimation)(v,T),v}var c=0;function f(){return"REA"+c++}}),608,[1,26,594,596,593,609,610,611]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.LinearTransition=function(t,n){var s=n.translateX,l=n.translateY,c=n.scaleX,o=n.scaleY;return{name:t,style:{0:{transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]}},duration:300}}}),609,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.SequencedTransition=function(t,n){var s=n.translateX,l=n.translateY,c=n.scaleX,o=n.scaleY,p=n.reversed;return{name:t,style:{0:{transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]},50:{transform:[{translateX:p?`${s}px`:'0px',translateY:p?'0px':`${l}px`,scale:p?`1,${c}`:`${o},1`}]},100:{transform:[{translateX:'0px',translateY:'0px',scale:'1,1'}]}},duration:300}}}),610,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.FadingTransition=function(t,n){var s=n.translateX,l=n.translateY,c=n.scaleX,o=n.scaleY;return{name:t,style:{0:{opacity:1,transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]},20:{opacity:0,transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]},60:{opacity:0,transform:[{translateX:'0px',translateY:'0px',scale:"1,1"}]},100:{opacity:1,transform:[{translateX:'0px',translateY:'0px',scale:"1,1"}]}},duration:300}}}),611,[]); +__d((function(g,r,i,a,m,e,d){'use strict';function n(n,t){return n===r(d[0]).LayoutAnimationType.ENTERING?t.entering:n===r(d[0]).LayoutAnimationType.EXITING?t.exiting:n===r(d[0]).LayoutAnimationType.LAYOUT?t.layout:null}function t(n,t){return!(n in r(d[1]).Animations)&&!t&&(console.warn("[Reanimated] Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, wtihCallback, reducedMotion."),!0)}function o(n,t,o,u,s){switch(n){case r(d[0]).LayoutAnimationType.ENTERING:(0,r(d[2]).setElementAnimation)(o,t,s);break;case r(d[0]).LayoutAnimationType.LAYOUT:u.reversed=t.reversed,(0,r(d[2]).handleLayoutTransition)(o,t,u,s);break;case r(d[0]).LayoutAnimationType.EXITING:(0,r(d[2]).handleExitingAnimation)(o,t)}}function u(o,u){var s=n(u,o);if(!s)return null;var y=u===r(d[0]).LayoutAnimationType.LAYOUT,l='function'==typeof s?s.presetName:s.constructor.presetName;if(t(l,y))return null;var c=(0,r(d[2]).extractTransformFromStyle)(o.style),f=c&&u!==r(d[0]).LayoutAnimationType.EXITING?(0,r(d[3]).createAnimationWithExistingTransform)(l,c):l;return{animationConfig:(0,r(d[2]).getProcessedConfig)(f,u,s,l),transform:c}}function s(n,t,s,y){var l=u(n,s);l?o(s,l.animationConfig,t,y,l.transform):(0,r(d[4]).makeElementVisible)(t,0)}Object.defineProperty(e,"__esModule",{value:!0}),e.startWebLayoutAnimation=s,e.tryActivateLayoutTransition=function(n,t,o){if(!n.layout)return;var u=t.getBoundingClientRect();if((0,r(d[5]).areDOMRectsEqual)(u,o))return;var y={translateX:o.x-u.x,translateY:o.y-u.y,scaleX:o.width/u.width,scaleY:o.height/u.height,reversed:!1};s(n,t,r(d[0]).LayoutAnimationType.LAYOUT,y)}}),612,[589,594,607,608,606,593]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.InlinePropManager=void 0,e.getInlineStyle=function(t,n){if(n)return h(t);var s={};for(var l of Object.entries(t)){var p=(0,o.default)(l,2),c=p[0],f=p[1];(0,r(d[6]).isSharedValue)(f)||'transform'===c&&u(f)||(s[c]=f)}return s},e.hasInlineStyles=_;var n=t(r(d[1])),s=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),p=(0,r(d[5]).shouldBeUseWeb)();function u(t){return!!Array.isArray(t)&&t.some((function(t){return _(t)}))}function c(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!0;for(var s of Object.keys(t))if(t[s]!==n[s])return!0;return!1}var f={code:"function getInlinePropsUpdate(inlineProps){const getInlinePropsUpdate=this._recur;const{isSharedValue}=this.__closure;const update={};for(const[key,styleValue]of Object.entries(inlineProps)){if(isSharedValue(styleValue)){update[key]=styleValue.value;}else if(Array.isArray(styleValue)){update[key]=styleValue.map(function(item){return getInlinePropsUpdate(item);});}else if(typeof styleValue==='object'){update[key]=getInlinePropsUpdate(styleValue);}else{update[key]=styleValue;}}return update;}"},h=(function(){var t=function t(n){var s={};for(var l of Object.entries(n)){var p=(0,o.default)(l,2),u=p[0],c=p[1];(0,r(d[6]).isSharedValue)(c)?s[u]=c.value:Array.isArray(c)?s[u]=c.map((function(n){return t(n)})):s[u]='object'==typeof c?t(c):c}return s};return t.__closure={isSharedValue:r(d[6]).isSharedValue},t.__workletHash=9755239701942,t.__initData=f,t})();function y(t){var n={};for(var s in t){var l,p=t[s];if('style'===s)(0,r(d[7]).flattenArray)(null!=(l=t.style)?l:[]).forEach((function(t){if(t)for(var s of Object.entries(t)){var l=(0,o.default)(s,2),p=l[0],c=l[1];((0,r(d[6]).isSharedValue)(c)||'transform'===p&&u(c))&&(n[p]=c)}}));else(0,r(d[6]).isSharedValue)(p)&&(n[s]=p)}return n}function _(t){return!!t&&Object.keys(t).some((function(n){var s=t[n];return(0,r(d[6]).isSharedValue)(s)||'transform'===n&&u(s)}))}var P={code:"function anonymous(){const{getInlinePropsUpdate,newInlineProps,updateProps,shareableViewDescriptors,maybeViewRef}=this.__closure;const update=getInlinePropsUpdate(newInlineProps);updateProps(shareableViewDescriptors,update,maybeViewRef);}"};e.InlinePropManager=(function(){function t(){(0,n.default)(this,t),this._inlinePropsViewDescriptors=null,this._inlinePropsMapperId=null,this._inlineProps={}}return(0,s.default)(t,[{key:"attachInlineProps",value:function(t,n){var s,o=y(t.props);if(c(o,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=(0,r(d[8]).makeViewDescriptorsSet)();var u=n.viewTag,f=n.viewName,_=n.shadowNodeWrapper,v=n.viewConfig;Object.keys(o).length&&v&&(0,r(d[9]).adaptViewConfig)(v),this._inlinePropsViewDescriptors.add({tag:u,name:f,shadowNodeWrapper:_})}var V=this._inlinePropsViewDescriptors.shareableViewDescriptors,w=p?{items:new Set([t])}:void 0,b=((s=function(){var t=h(o);(0,l.default)(V,t,w)}).__closure={getInlinePropsUpdate:h,newInlineProps:o,updateProps:l.default,shareableViewDescriptors:V,maybeViewRef:w},s.__workletHash=0xa5fc9896bb5,s.__initData=P,s);this._inlineProps=o,this._inlinePropsMapperId&&(0,r(d[10]).stopMapper)(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(o).length&&(this._inlinePropsMapperId=(0,r(d[10]).startMapper)(b,Object.values(o)))}}},{key:"detachInlineProps",value:function(){this._inlinePropsMapperId&&(0,r(d[10]).stopMapper)(this._inlinePropsMapperId)}}]),t})()}),613,[1,5,6,26,614,542,562,615,616,617,561]); +__d((function(g,r,i,a,m,e,d){'use strict';var t;Object.defineProperty(e,"__esModule",{value:!0}),e.updatePropsJestWrapper=e.default=void 0;var o,s={code:"function anonymous(_,updates,maybeViewRef,isAnimatedProps){const{_updatePropsJS}=this.__closure;if(maybeViewRef){maybeViewRef.items.forEach(function(item,_index){_updatePropsJS(updates,item,isAnimatedProps);});}}"},n={code:"function anonymous(viewDescriptors,updates){const{processColorsInProps}=this.__closure;processColorsInProps(updates);global.UpdatePropsManager.update(viewDescriptors,updates);}"};(0,r(d[0]).shouldBeUseWeb)()?((o=function(t,o,s,n){s&&s.items.forEach((function(t,s){(0,r(d[1])._updatePropsJS)(o,t,n)}))}).__closure={_updatePropsJS:r(d[1])._updatePropsJS},o.__workletHash=3090341878434,o.__initData=s,t=o):t=(function(){var t=function(t,o){(0,r(d[2]).processColorsInProps)(o),g.UpdatePropsManager.update(t,o)};return t.__closure={processColorsInProps:r(d[2]).processColorsInProps},t.__workletHash=9978777116601,t.__initData=n,t})();e.updatePropsJestWrapper=function(o,s,n,u,p){p.forEach((function(t){t(s)})),u.current.value=Object.assign({},u.current.value,s),t(o,s,n)},e.default=t;var u={code:"function anonymous(){const operations=[];return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){operations.push({shadowNodeWrapper:viewDescriptor.shadowNodeWrapper,updates:updates});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsFabric(operations);operations.length=0;}};}"},p={code:"function anonymous(){const operations=[];return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){operations.push({tag:viewDescriptor.tag,name:viewDescriptor.name||'RCTView',updates:updates});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsPaper(operations);operations.length=0;}};}"},c=(0,r(d[0]).isFabric)()?(function(){var t=function(){var t=[];return{update:function(o,s){var n=this;o.value.forEach((function(o){t.push({shadowNodeWrapper:o.shadowNodeWrapper,updates:s}),1===t.length&&queueMicrotask(n.flush)}))},flush:function(){g._updatePropsFabric(t),t.length=0}}};return t.__closure={},t.__workletHash=0xa0db0c6197f,t.__initData=u,t})():(function(){var t=function(){var t=[];return{update:function(o,s){var n=this;o.value.forEach((function(o){t.push({tag:o.tag,name:o.name||'RCTView',updates:s}),1===t.length&&queueMicrotask(n.flush)}))},flush:function(){g._updatePropsPaper(t),t.length=0}}};return t.__closure={},t.__workletHash=0xe4452dbd5ba,t.__initData=p,t})(),f={code:"function anonymous(){const{createUpdatePropsManager}=this.__closure;global.UpdatePropsManager=createUpdatePropsManager();}"};if((0,r(d[0]).shouldBeUseWeb)()){var l=function(){if(!(0,r(d[0]).isJest)())throw new Error('[Reanimated] `UpdatePropsManager` is not available on non-native platform.')};g.UpdatePropsManager=new Proxy({},{get:l,set:function(){return l(),!1}})}else(0,r(d[3]).runOnUIImmediately)((function(){var t=function(){g.UpdatePropsManager=c()};return t.__closure={createUpdatePropsManager:c},t.__workletHash=0xe531ddb5283,t.__initData=f,t})())()}),614,[542,546,571,557]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.flattenArray=function(n){if(!Array.isArray(n))return[n];var t=[];return(function n(u){u.forEach((function(u){Array.isArray(u)?n(u):t.push(u)}))})(n),t},e.has=void 0;e.has=function(n,t){return('function'==typeof t||'object'==typeof t)&&(null!=t&&n in t)}}),615,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.makeViewDescriptorsSet=function(){var t=(0,r(d[1]).makeMutable)([]);return{shareableViewDescriptors:t,add:function(s){var o;t.modify(((o=function(t){var n=t.findIndex((function(t){return t.tag===s.tag}));return-1!==n?t[n]=s:t.push(s),t}).__closure={item:s},o.__workletHash=4365650429626,o.__initData=n,o),!1)},remove:function(n){var o;t.modify(((o=function(t){var s=t.findIndex((function(t){return t.tag===n}));return-1!==s&&t.splice(s,1),t}).__closure={viewTag:n},o.__workletHash=6739515972732,o.__initData=s,o),!1)}}},e.useViewRefSet=void 0;var t=r(d[0]),n={code:"function anonymous(descriptors){const{item}=this.__closure;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===item.tag;});if(index!==-1){descriptors[index]=item;}else{descriptors.push(item);}return descriptors;}"},s={code:"function anonymous(descriptors){const{viewTag}=this.__closure;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===viewTag;});if(index!==-1){descriptors.splice(index,1);}return descriptors;}"};var o=(0,r(d[2]).shouldBeUseWeb)();e.useViewRefSet=o?function(){var n=(0,t.useRef)(null);if(null===n.current){var s={items:new Set,add:function(t){s.items.has(t)||s.items.add(t)},remove:function(t){s.items.delete(t)}};n.current=s}return n.current}:function(){return}}),616,[153,543,542]); +__d((function(g,r,i,a,m,e,d){'use strict';function s(){for(var s in r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST)if(s in r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST)throw new Error(`[Reanimated] Property \`${s}\` was whitelisted both as UI and native prop. Please remove it from one of the lists.`)}function t(){s(),(0,r(d[1]).jsiConfigureProps)(Object.keys(r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST),Object.keys(r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST))}function l(s){var l=Object.keys(r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST).length;r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST=Object.assign({},r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST,s),l!==Object.keys(r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST).length&&t()}Object.defineProperty(e,"__esModule",{value:!0}),e.adaptViewConfig=function(s){var t=s.uiViewClassName,T=s.validAttributes;if(!o.has(t)){var P={};Object.keys(T).forEach((function(s){s in r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST||s in r(d[0]).PropsAllowlists.UI_THREAD_PROPS_WHITELIST||(P[s]=!0)})),l(P),o.add(t)}},e.addWhitelistedNativeProps=function(s){var l=Object.keys(r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST).length;r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST=Object.assign({},r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST,s),l!==Object.keys(r(d[0]).PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST).length&&t()},e.addWhitelistedUIProps=l;var o=new Set;t()}),617,[550,543]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PropsFilter=void 0;var n=t(r(d[1])),l=t(r(d[2])),s=t(r(d[3])),o=r(d[4]);function u(){}e.PropsFilter=(function(){function t(){(0,n.default)(this,t),this._initialStyle={}}return(0,l.default)(t,[{key:"filterNonAnimatedProps",value:function(t){var n=this,l=t.props,v={},f=function(){var f=l[c];if('style'===c){var h=l.style,y=(0,r(d[5]).flattenArray)(null!=h?h:[]).map((function(l){var s;return l&&l.viewDescriptors?(null==(s=l.viewsRef)||s.add(t),t._isFirstRender&&(n._initialStyle=Object.assign({},l.initial.value,n._initialStyle,(0,r(d[6]).initialUpdaterRun)(l.initial.updater))),n._initialStyle):(0,r(d[7]).hasInlineStyles)(l)?(0,r(d[7]).getInlineStyle)(l,t._isFirstRender):l}));v[c]=o.StyleSheet.flatten(y)}else if('animatedProps'===c){var p=l.animatedProps;void 0!==p.initial&&Object.keys(p.initial.value).forEach((function(n){var l,s;v[n]=null==(l=p.initial)?void 0:l.value[n],null==(s=p.viewsRef)||s.add(t)}))}else(0,r(d[5]).has)('workletEventHandler',f)&&f.workletEventHandler instanceof s.default?f.workletEventHandler.eventNames.length>0?f.workletEventHandler.eventNames.forEach((function(t){v[t]=(0,r(d[5]).has)('listeners',f.workletEventHandler)?f.workletEventHandler.listeners[t]:u})):v[c]=u:(0,r(d[8]).isSharedValue)(f)?t._isFirstRender&&(v[c]=f.value):'onGestureHandlerStateChange'===c&&(0,r(d[9]).isChromeDebugger)()||(v[c]=f)};for(var c in l)f();return v}}]),t})()}),618,[1,5,6,541,2,615,568,613,619,542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).BaseAnimationBuilder}}),Object.defineProperty(e,"BounceIn",{enumerable:!0,get:function(){return r(d[0]).BounceIn}}),Object.defineProperty(e,"BounceInDown",{enumerable:!0,get:function(){return r(d[0]).BounceInDown}}),Object.defineProperty(e,"BounceInLeft",{enumerable:!0,get:function(){return r(d[0]).BounceInLeft}}),Object.defineProperty(e,"BounceInRight",{enumerable:!0,get:function(){return r(d[0]).BounceInRight}}),Object.defineProperty(e,"BounceInUp",{enumerable:!0,get:function(){return r(d[0]).BounceInUp}}),Object.defineProperty(e,"BounceOut",{enumerable:!0,get:function(){return r(d[0]).BounceOut}}),Object.defineProperty(e,"BounceOutDown",{enumerable:!0,get:function(){return r(d[0]).BounceOutDown}}),Object.defineProperty(e,"BounceOutLeft",{enumerable:!0,get:function(){return r(d[0]).BounceOutLeft}}),Object.defineProperty(e,"BounceOutRight",{enumerable:!0,get:function(){return r(d[0]).BounceOutRight}}),Object.defineProperty(e,"BounceOutUp",{enumerable:!0,get:function(){return r(d[0]).BounceOutUp}}),Object.defineProperty(e,"ColorSpace",{enumerable:!0,get:function(){return r(d[1]).ColorSpace}}),Object.defineProperty(e,"ComplexAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).ComplexAnimationBuilder}}),Object.defineProperty(e,"CurvedTransition",{enumerable:!0,get:function(){return r(d[0]).CurvedTransition}}),Object.defineProperty(e,"Easing",{enumerable:!0,get:function(){return r(d[2]).Easing}}),Object.defineProperty(e,"EntryExitTransition",{enumerable:!0,get:function(){return r(d[0]).EntryExitTransition}}),Object.defineProperty(e,"Extrapolate",{enumerable:!0,get:function(){return r(d[1]).Extrapolate}}),Object.defineProperty(e,"Extrapolation",{enumerable:!0,get:function(){return r(d[3]).Extrapolation}}),Object.defineProperty(e,"FadeIn",{enumerable:!0,get:function(){return r(d[0]).FadeIn}}),Object.defineProperty(e,"FadeInDown",{enumerable:!0,get:function(){return r(d[0]).FadeInDown}}),Object.defineProperty(e,"FadeInLeft",{enumerable:!0,get:function(){return r(d[0]).FadeInLeft}}),Object.defineProperty(e,"FadeInRight",{enumerable:!0,get:function(){return r(d[0]).FadeInRight}}),Object.defineProperty(e,"FadeInUp",{enumerable:!0,get:function(){return r(d[0]).FadeInUp}}),Object.defineProperty(e,"FadeOut",{enumerable:!0,get:function(){return r(d[0]).FadeOut}}),Object.defineProperty(e,"FadeOutDown",{enumerable:!0,get:function(){return r(d[0]).FadeOutDown}}),Object.defineProperty(e,"FadeOutLeft",{enumerable:!0,get:function(){return r(d[0]).FadeOutLeft}}),Object.defineProperty(e,"FadeOutRight",{enumerable:!0,get:function(){return r(d[0]).FadeOutRight}}),Object.defineProperty(e,"FadeOutUp",{enumerable:!0,get:function(){return r(d[0]).FadeOutUp}}),Object.defineProperty(e,"FadingTransition",{enumerable:!0,get:function(){return r(d[0]).FadingTransition}}),Object.defineProperty(e,"FlipInEasyX",{enumerable:!0,get:function(){return r(d[0]).FlipInEasyX}}),Object.defineProperty(e,"FlipInEasyY",{enumerable:!0,get:function(){return r(d[0]).FlipInEasyY}}),Object.defineProperty(e,"FlipInXDown",{enumerable:!0,get:function(){return r(d[0]).FlipInXDown}}),Object.defineProperty(e,"FlipInXUp",{enumerable:!0,get:function(){return r(d[0]).FlipInXUp}}),Object.defineProperty(e,"FlipInYLeft",{enumerable:!0,get:function(){return r(d[0]).FlipInYLeft}}),Object.defineProperty(e,"FlipInYRight",{enumerable:!0,get:function(){return r(d[0]).FlipInYRight}}),Object.defineProperty(e,"FlipOutEasyX",{enumerable:!0,get:function(){return r(d[0]).FlipOutEasyX}}),Object.defineProperty(e,"FlipOutEasyY",{enumerable:!0,get:function(){return r(d[0]).FlipOutEasyY}}),Object.defineProperty(e,"FlipOutXDown",{enumerable:!0,get:function(){return r(d[0]).FlipOutXDown}}),Object.defineProperty(e,"FlipOutXUp",{enumerable:!0,get:function(){return r(d[0]).FlipOutXUp}}),Object.defineProperty(e,"FlipOutYLeft",{enumerable:!0,get:function(){return r(d[0]).FlipOutYLeft}}),Object.defineProperty(e,"FlipOutYRight",{enumerable:!0,get:function(){return r(d[0]).FlipOutYRight}}),Object.defineProperty(e,"IOSReferenceFrame",{enumerable:!0,get:function(){return r(d[4]).IOSReferenceFrame}}),Object.defineProperty(e,"InterfaceOrientation",{enumerable:!0,get:function(){return r(d[4]).InterfaceOrientation}}),Object.defineProperty(e,"JumpingTransition",{enumerable:!0,get:function(){return r(d[0]).JumpingTransition}}),Object.defineProperty(e,"KeyboardState",{enumerable:!0,get:function(){return r(d[4]).KeyboardState}}),Object.defineProperty(e,"Keyframe",{enumerable:!0,get:function(){return r(d[0]).Keyframe}}),Object.defineProperty(e,"Layout",{enumerable:!0,get:function(){return r(d[0]).Layout}}),Object.defineProperty(e,"LayoutAnimationConfig",{enumerable:!0,get:function(){return r(d[5]).LayoutAnimationConfig}}),Object.defineProperty(e,"LightSpeedInLeft",{enumerable:!0,get:function(){return r(d[0]).LightSpeedInLeft}}),Object.defineProperty(e,"LightSpeedInRight",{enumerable:!0,get:function(){return r(d[0]).LightSpeedInRight}}),Object.defineProperty(e,"LightSpeedOutLeft",{enumerable:!0,get:function(){return r(d[0]).LightSpeedOutLeft}}),Object.defineProperty(e,"LightSpeedOutRight",{enumerable:!0,get:function(){return r(d[0]).LightSpeedOutRight}}),Object.defineProperty(e,"LinearTransition",{enumerable:!0,get:function(){return r(d[0]).LinearTransition}}),Object.defineProperty(e,"PinwheelIn",{enumerable:!0,get:function(){return r(d[0]).PinwheelIn}}),Object.defineProperty(e,"PinwheelOut",{enumerable:!0,get:function(){return r(d[0]).PinwheelOut}}),Object.defineProperty(e,"ReduceMotion",{enumerable:!0,get:function(){return r(d[4]).ReduceMotion}}),Object.defineProperty(e,"RollInLeft",{enumerable:!0,get:function(){return r(d[0]).RollInLeft}}),Object.defineProperty(e,"RollInRight",{enumerable:!0,get:function(){return r(d[0]).RollInRight}}),Object.defineProperty(e,"RollOutLeft",{enumerable:!0,get:function(){return r(d[0]).RollOutLeft}}),Object.defineProperty(e,"RollOutRight",{enumerable:!0,get:function(){return r(d[0]).RollOutRight}}),Object.defineProperty(e,"RotateInDownLeft",{enumerable:!0,get:function(){return r(d[0]).RotateInDownLeft}}),Object.defineProperty(e,"RotateInDownRight",{enumerable:!0,get:function(){return r(d[0]).RotateInDownRight}}),Object.defineProperty(e,"RotateInUpLeft",{enumerable:!0,get:function(){return r(d[0]).RotateInUpLeft}}),Object.defineProperty(e,"RotateInUpRight",{enumerable:!0,get:function(){return r(d[0]).RotateInUpRight}}),Object.defineProperty(e,"RotateOutDownLeft",{enumerable:!0,get:function(){return r(d[0]).RotateOutDownLeft}}),Object.defineProperty(e,"RotateOutDownRight",{enumerable:!0,get:function(){return r(d[0]).RotateOutDownRight}}),Object.defineProperty(e,"RotateOutUpLeft",{enumerable:!0,get:function(){return r(d[0]).RotateOutUpLeft}}),Object.defineProperty(e,"RotateOutUpRight",{enumerable:!0,get:function(){return r(d[0]).RotateOutUpRight}}),Object.defineProperty(e,"SensorType",{enumerable:!0,get:function(){return r(d[4]).SensorType}}),Object.defineProperty(e,"SequencedTransition",{enumerable:!0,get:function(){return r(d[0]).SequencedTransition}}),Object.defineProperty(e,"SharedTransition",{enumerable:!0,get:function(){return r(d[0]).SharedTransition}}),Object.defineProperty(e,"SharedTransitionType",{enumerable:!0,get:function(){return r(d[0]).SharedTransitionType}}),Object.defineProperty(e,"SlideInDown",{enumerable:!0,get:function(){return r(d[0]).SlideInDown}}),Object.defineProperty(e,"SlideInLeft",{enumerable:!0,get:function(){return r(d[0]).SlideInLeft}}),Object.defineProperty(e,"SlideInRight",{enumerable:!0,get:function(){return r(d[0]).SlideInRight}}),Object.defineProperty(e,"SlideInUp",{enumerable:!0,get:function(){return r(d[0]).SlideInUp}}),Object.defineProperty(e,"SlideOutDown",{enumerable:!0,get:function(){return r(d[0]).SlideOutDown}}),Object.defineProperty(e,"SlideOutLeft",{enumerable:!0,get:function(){return r(d[0]).SlideOutLeft}}),Object.defineProperty(e,"SlideOutRight",{enumerable:!0,get:function(){return r(d[0]).SlideOutRight}}),Object.defineProperty(e,"SlideOutUp",{enumerable:!0,get:function(){return r(d[0]).SlideOutUp}}),Object.defineProperty(e,"StretchInX",{enumerable:!0,get:function(){return r(d[0]).StretchInX}}),Object.defineProperty(e,"StretchInY",{enumerable:!0,get:function(){return r(d[0]).StretchInY}}),Object.defineProperty(e,"StretchOutX",{enumerable:!0,get:function(){return r(d[0]).StretchOutX}}),Object.defineProperty(e,"StretchOutY",{enumerable:!0,get:function(){return r(d[0]).StretchOutY}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return r(d[0]).ZoomIn}}),Object.defineProperty(e,"ZoomInDown",{enumerable:!0,get:function(){return r(d[0]).ZoomInDown}}),Object.defineProperty(e,"ZoomInEasyDown",{enumerable:!0,get:function(){return r(d[0]).ZoomInEasyDown}}),Object.defineProperty(e,"ZoomInEasyUp",{enumerable:!0,get:function(){return r(d[0]).ZoomInEasyUp}}),Object.defineProperty(e,"ZoomInLeft",{enumerable:!0,get:function(){return r(d[0]).ZoomInLeft}}),Object.defineProperty(e,"ZoomInRight",{enumerable:!0,get:function(){return r(d[0]).ZoomInRight}}),Object.defineProperty(e,"ZoomInRotate",{enumerable:!0,get:function(){return r(d[0]).ZoomInRotate}}),Object.defineProperty(e,"ZoomInUp",{enumerable:!0,get:function(){return r(d[0]).ZoomInUp}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return r(d[0]).ZoomOut}}),Object.defineProperty(e,"ZoomOutDown",{enumerable:!0,get:function(){return r(d[0]).ZoomOutDown}}),Object.defineProperty(e,"ZoomOutEasyDown",{enumerable:!0,get:function(){return r(d[0]).ZoomOutEasyDown}}),Object.defineProperty(e,"ZoomOutEasyUp",{enumerable:!0,get:function(){return r(d[0]).ZoomOutEasyUp}}),Object.defineProperty(e,"ZoomOutLeft",{enumerable:!0,get:function(){return r(d[0]).ZoomOutLeft}}),Object.defineProperty(e,"ZoomOutRight",{enumerable:!0,get:function(){return r(d[0]).ZoomOutRight}}),Object.defineProperty(e,"ZoomOutRotate",{enumerable:!0,get:function(){return r(d[0]).ZoomOutRotate}}),Object.defineProperty(e,"ZoomOutUp",{enumerable:!0,get:function(){return r(d[0]).ZoomOutUp}}),Object.defineProperty(e,"advanceAnimationByFrame",{enumerable:!0,get:function(){return r(d[6]).advanceAnimationByFrame}}),Object.defineProperty(e,"advanceAnimationByTime",{enumerable:!0,get:function(){return r(d[6]).advanceAnimationByTime}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return r(d[7]).cancelAnimation}}),Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return r(d[3]).clamp}}),Object.defineProperty(e,"combineTransition",{enumerable:!0,get:function(){return r(d[0]).combineTransition}}),Object.defineProperty(e,"convertToRGBA",{enumerable:!0,get:function(){return r(d[8]).convertToRGBA}}),Object.defineProperty(e,"createAnimatedPropAdapter",{enumerable:!0,get:function(){return r(d[9]).createAnimatedPropAdapter}}),Object.defineProperty(e,"createWorkletRuntime",{enumerable:!0,get:function(){return r(d[10]).createWorkletRuntime}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return r(d[7]).defineAnimation}}),Object.defineProperty(e,"dispatchCommand",{enumerable:!0,get:function(){return r(d[11]).dispatchCommand}}),Object.defineProperty(e,"enableLayoutAnimations",{enumerable:!0,get:function(){return r(d[10]).enableLayoutAnimations}}),Object.defineProperty(e,"executeOnUIRuntimeSync",{enumerable:!0,get:function(){return r(d[10]).executeOnUIRuntimeSync}}),Object.defineProperty(e,"getAnimatedStyle",{enumerable:!0,get:function(){return r(d[6]).getAnimatedStyle}}),Object.defineProperty(e,"getRelativeCoords",{enumerable:!0,get:function(){return r(d[11]).getRelativeCoords}}),Object.defineProperty(e,"getUseOfValueInStyleWarning",{enumerable:!0,get:function(){return r(d[12]).getUseOfValueInStyleWarning}}),Object.defineProperty(e,"getViewProp",{enumerable:!0,get:function(){return r(d[10]).getViewProp}}),Object.defineProperty(e,"interpolate",{enumerable:!0,get:function(){return r(d[3]).interpolate}}),Object.defineProperty(e,"interpolateColor",{enumerable:!0,get:function(){return r(d[1]).interpolateColor}}),Object.defineProperty(e,"isColor",{enumerable:!0,get:function(){return r(d[8]).isColor}}),Object.defineProperty(e,"isConfigured",{enumerable:!0,get:function(){return r(d[10]).isConfigured}}),Object.defineProperty(e,"isReanimated3",{enumerable:!0,get:function(){return r(d[10]).isReanimated3}}),Object.defineProperty(e,"isSharedValue",{enumerable:!0,get:function(){return r(d[13]).isSharedValue}}),Object.defineProperty(e,"isWorkletFunction",{enumerable:!0,get:function(){return r(d[4]).isWorkletFunction}}),Object.defineProperty(e,"makeMutable",{enumerable:!0,get:function(){return r(d[10]).makeMutable}}),Object.defineProperty(e,"makeShareableCloneRecursive",{enumerable:!0,get:function(){return r(d[10]).makeShareableCloneRecursive}}),Object.defineProperty(e,"measure",{enumerable:!0,get:function(){return r(d[11]).measure}}),Object.defineProperty(e,"processColor",{enumerable:!0,get:function(){return r(d[8]).processColor}}),Object.defineProperty(e,"runOnJS",{enumerable:!0,get:function(){return r(d[10]).runOnJS}}),Object.defineProperty(e,"runOnRuntime",{enumerable:!0,get:function(){return r(d[10]).runOnRuntime}}),Object.defineProperty(e,"runOnUI",{enumerable:!0,get:function(){return r(d[10]).runOnUI}}),Object.defineProperty(e,"scrollTo",{enumerable:!0,get:function(){return r(d[11]).scrollTo}}),Object.defineProperty(e,"setGestureState",{enumerable:!0,get:function(){return r(d[11]).setGestureState}}),Object.defineProperty(e,"setNativeProps",{enumerable:!0,get:function(){return r(d[11]).setNativeProps}}),Object.defineProperty(e,"setUpTests",{enumerable:!0,get:function(){return r(d[6]).setUpTests}}),Object.defineProperty(e,"startMapper",{enumerable:!0,get:function(){return r(d[14]).startMapper}}),Object.defineProperty(e,"stopMapper",{enumerable:!0,get:function(){return r(d[14]).stopMapper}}),Object.defineProperty(e,"useAnimatedGestureHandler",{enumerable:!0,get:function(){return r(d[15]).useAnimatedGestureHandler}}),Object.defineProperty(e,"useAnimatedKeyboard",{enumerable:!0,get:function(){return r(d[15]).useAnimatedKeyboard}}),Object.defineProperty(e,"useAnimatedProps",{enumerable:!0,get:function(){return r(d[15]).useAnimatedProps}}),Object.defineProperty(e,"useAnimatedReaction",{enumerable:!0,get:function(){return r(d[15]).useAnimatedReaction}}),Object.defineProperty(e,"useAnimatedRef",{enumerable:!0,get:function(){return r(d[15]).useAnimatedRef}}),Object.defineProperty(e,"useAnimatedScrollHandler",{enumerable:!0,get:function(){return r(d[15]).useAnimatedScrollHandler}}),Object.defineProperty(e,"useAnimatedSensor",{enumerable:!0,get:function(){return r(d[15]).useAnimatedSensor}}),Object.defineProperty(e,"useAnimatedStyle",{enumerable:!0,get:function(){return r(d[15]).useAnimatedStyle}}),Object.defineProperty(e,"useDerivedValue",{enumerable:!0,get:function(){return r(d[15]).useDerivedValue}}),Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return r(d[15]).useEvent}}),Object.defineProperty(e,"useFrameCallback",{enumerable:!0,get:function(){return r(d[15]).useFrameCallback}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return r(d[15]).useHandler}}),Object.defineProperty(e,"useInterpolateConfig",{enumerable:!0,get:function(){return r(d[1]).useInterpolateConfig}}),Object.defineProperty(e,"useReducedMotion",{enumerable:!0,get:function(){return r(d[15]).useReducedMotion}}),Object.defineProperty(e,"useScrollViewOffset",{enumerable:!0,get:function(){return r(d[15]).useScrollViewOffset}}),Object.defineProperty(e,"useSharedValue",{enumerable:!0,get:function(){return r(d[15]).useSharedValue}}),Object.defineProperty(e,"useWorkletCallback",{enumerable:!0,get:function(){return r(d[15]).useWorkletCallback}}),Object.defineProperty(e,"withClamp",{enumerable:!0,get:function(){return r(d[7]).withClamp}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return r(d[7]).withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return r(d[7]).withDelay}}),Object.defineProperty(e,"withReanimatedTimer",{enumerable:!0,get:function(){return r(d[6]).withReanimatedTimer}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return r(d[7]).withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return r(d[7]).withSequence}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return r(d[7]).withSpring}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return r(d[7]).withTiming}}),r(d[16])}),619,[620,642,585,643,549,645,646,568,571,647,543,648,655,562,561,656,676]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),r(d[0]),Object.keys(r(d[1])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[1])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[1])[t]}}))})),Object.keys(r(d[2])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[2])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[2])[t]}}))})),Object.keys(r(d[3])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[3])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[3])[t]}}))})),Object.keys(r(d[4])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[4])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[4])[t]}}))}))}),620,[565,566,621,632,639]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r(d[0])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[0])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[0])[t]}}))})),Object.keys(r(d[1])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[1])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[1])[t]}}))})),Object.keys(r(d[2])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[2])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[2])[t]}}))})),Object.keys(r(d[3])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[3])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[3])[t]}}))})),Object.keys(r(d[4])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[4])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[4])[t]}}))})),Object.keys(r(d[5])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[5])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[5])[t]}}))})),Object.keys(r(d[6])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[6])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[6])[t]}}))})),Object.keys(r(d[7])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[7])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[7])[t]}}))})),Object.keys(r(d[8])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[8])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[8])[t]}}))})),Object.keys(r(d[9])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r(d[9])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[9])[t]}}))}))}),621,[622,623,624,625,626,627,628,629,630,631]); +__d((function(g,r,i,a,m,_e,d){'use strict';var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.FlipOutYRight=_e.FlipOutYLeft=_e.FlipOutXUp=_e.FlipOutXDown=_e.FlipOutEasyY=_e.FlipOutEasyX=_e.FlipInYRight=_e.FlipInYLeft=_e.FlipInXUp=_e.FlipInXDown=_e.FlipInEasyY=_e.FlipInEasyX=void 0;var n=t(r(d[1])),e=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6]));function s(t){var n=f();return function(){var e,l=(0,u.default)(t);if(n){var o=(0,u.default)(this).constructor;e=Reflect.construct(l,arguments,o)}else e=l.apply(this,arguments);return(0,c.default)(this,e)}}function f(){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 y={code:"function anonymous(targetValues){const{initialValues,delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{transform:[{perspective:500},{rotateX:'90deg'},{translateY:-targetValues.targetHeight}],...initialValues},animations:{transform:[{perspective:500},{rotateX:delayFunction(delay,animation('0deg',config))},{translateY:delayFunction(delay,animation(0,config))}]},callback:callback};}"},p=_e.FlipInXUp=(function(t){(0,o.default)(u,t);var c=s(u);function u(){var t;(0,e.default)(this,u);for(var l=arguments.length,o=new Array(l),s=0;s0){isTransitionRestart=!IS_ANDROID;}progressAnimations.set(viewTag,progressAnimation);},removeProgressAnimation:function(viewTag){if(currentTransitions.size>0){isTransitionRestart=!IS_ANDROID;}toRemove.add(viewTag);},onTransitionStart:function(viewTag,snapshot){skipCleaning=isTransitionRestart;snapshots.set(viewTag,snapshot);currentTransitions.add(viewTag);progressTransitionManager.frame(0);},frame:function(progress){for(const viewTag of currentTransitions){const progressAnimation=progressAnimations.get(viewTag);if(!progressAnimation){continue;}const snapshot=snapshots.get(viewTag);progressAnimation(viewTag,snapshot,progress);}},onAndroidFinishTransitioning:function(){if(toRemove.size>0){progressTransitionManager.onTransitionEnd();}},onTransitionEnd:function(removeViews=false){if(currentTransitions.size===0){toRemove.clear();return;}if(skipCleaning){skipCleaning=false;isTransitionRestart=false;return;}for(const viewTag of currentTransitions){global._notifyAboutEnd(viewTag,removeViews);}currentTransitions.clear();if(isTransitionRestart){return;}snapshots.clear();if(toRemove.size>0){for(const viewTag of toRemove){progressAnimations.delete(viewTag);global._notifyAboutEnd(viewTag,removeViews);}toRemove.clear();}}};return progressTransitionManager;}"}),h=(function(){var n=function(){var n=new Map,s=new Map,o=new Set,t=new Set,u=!1,c=!1,f={addProgressAnimation:function(s,t){o.size>0&&(c=!l),n.set(s,t)},removeProgressAnimation:function(n){o.size>0&&(c=!l),t.add(n)},onTransitionStart:function(n,t){u=c,s.set(n,t),o.add(n),f.frame(0)},frame:function(t){for(var u of o){var l=n.get(u);if(l)l(u,s.get(u),t)}},onAndroidFinishTransitioning:function(){t.size>0&&f.onTransitionEnd()},onTransitionEnd:function(){var l=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0!==o.size){if(u)return u=!1,void(c=!1);for(var f of o)g._notifyAboutEnd(f,l);if(o.clear(),!c&&(s.clear(),t.size>0)){for(var T of t)n.delete(T),g._notifyAboutEnd(T,l);t.clear()}}else t.clear()}};return f};return n.__closure={IS_ANDROID:l},n.__workletHash=999216789307,n.__initData=P,n})(),R={code:"function anonymous(){const{createProgressTransitionRegister}=this.__closure;global.ProgressTransitionRegister=createProgressTransitionRegister();}"};if((0,r(d[6]).shouldBeUseWeb)()){var A=function(){if(!(0,r(d[6]).isJest)())throw new Error('[Reanimated] `ProgressTransitionRegister` is not available on non-native platform.')};g.ProgressTransitionRegister=new Proxy({},{get:A,set:function(){return A(),!1}})}else(0,r(d[4]).runOnUIImmediately)(((s=function(){g.ProgressTransitionRegister=h()}).__closure={createProgressTransitionRegister:h},s.__workletHash=7089923520308,s.__initData=R,s))()}),641,[1,5,6,2,557,543,542]); +__d((function(_g,_r,_i,_a,m,e,_d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.interpolateColor=e.Extrapolate=e.ColorSpace=void 0,e.useInterpolateConfig=function(o,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.RGB,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,_r(_d[2]).useSharedValue)({inputRange:o,outputRange:t,colorSpace:r,cache:(0,_r(_d[3]).makeMutable)(null),options:a})};e.Extrapolate=_r(_d[0]).Extrapolation;var o,t={code:"function anonymous(value,inputRange,colors,options){const{interpolate,Extrapolation,hsvToColor}=this.__closure;let h=0;const{useCorrectedHSVInterpolation=true}=options;if(useCorrectedHSVInterpolation){const correctedInputRange=[inputRange[0]];const originalH=colors.h;const correctedH=[originalH[0]];for(let i=1;ioriginalH[i-1]&&d>0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]-1);correctedH.push(originalH[i]);}else if(originalH[i]p[u-1]&&c>.5?(i.push(t[u]),i.push(t[u]+1e-5),s.push(p[u]-1),s.push(p[u])):p[u]3&&void 0!==arguments[3]?arguments[3]:'RGB',l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if('HSV'===n)return r(o,t,h(a),l);if('RGB'===n)return s(o,t,c(a),l);throw new Error(`[Reanimated] Invalid color space provided: ${n}. Supported values are: ['RGB', 'HSV'].`)};return o.__closure={interpolateColorsHSV:r,getInterpolateHSV:h,interpolateColorsRGB:s,getInterpolateRGB:c},o.__workletHash=0xde2b06f17c7,o.__initData=d,o})(),e.ColorSpace=(function(o){return o[o.RGB=0]="RGB",o[o.HSV=1]="HSV",o})({}))}),642,[643,571,644,543]); +__d((function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.interpolate=e.clamp=e.Extrapolation=void 0;var t=e.Extrapolation=(function(t){return t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend",t})({}),n={code:"function getVal(type,coef,val,leftEdgeOutput,rightEdgeOutput,x){const{Extrapolation}=this.__closure;switch(type){case Extrapolation.IDENTITY:return x;case Extrapolation.CLAMP:if(coef*val=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}"},f=(function(){var t=function(t,n,u){var p=n.leftEdgeInput,i=n.rightEdgeInput,l=n.leftEdgeOutput,E=n.rightEdgeOutput;if(i-p==0)return l;var f=l+(t-p)/(i-p)*(E-l),x=E>=l?1:-1;return x*fx*E?o(u.extrapolateRight,x,f,l,E,t):f};return t.__closure={getVal:o},t.__workletHash=0xc2c42c48dfc,t.__initData=E,t})(),x={code:"function interpolate(x,inputRange,outputRange,type){const{validateType,internalInterpolate}=this.__closure;if(inputRange.length<2||outputRange.length<2){throw new Error('[Reanimated] Interpolation input and output ranges should contain at least two values.');}const extrapolationConfig=validateType(type);const length=inputRange.length;const narrowedInput={leftEdgeInput:inputRange[0],rightEdgeInput:inputRange[1],leftEdgeOutput:outputRange[0],rightEdgeOutput:outputRange[1]};if(length>2){if(x>inputRange[length-1]){narrowedInput.leftEdgeInput=inputRange[length-2];narrowedInput.rightEdgeInput=inputRange[length-1];narrowedInput.leftEdgeOutput=outputRange[length-2];narrowedInput.rightEdgeOutput=outputRange[length-1];}else{for(let i=1;i2)if(t>n[i-1])E.leftEdgeInput=n[i-2],E.rightEdgeInput=n[i-1],E.leftEdgeOutput=o[i-2],E.rightEdgeOutput=o[i-1];else for(var x=1;x1&&this.props.skipExiting?u.Children.map(this.props.children,(function(t){return(0,c.jsx)(v,{skipExiting:!0,children:t})})):this.props.children}},{key:"setShouldAnimateExiting",value:function(){if(1===u.Children.count(this.props.children)){var t=(0,l.findNodeHandle)(this);t&&(0,_r(d[9]).setShouldAnimateExitingForTag)(t,!this.props.skipExiting)}}},{key:"componentWillUnmount",value:function(){void 0!==this.props.skipExiting&&this.setShouldAnimateExiting()}},{key:"render",value:function(){var t=this.getMaybeWrappedChildren();return void 0===this.props.skipEntering?t:(0,c.jsx)(s,{shouldSkip:this.props.skipEntering,children:t})}}]),v})(u.Component)}),645,[1,5,6,13,15,12,153,2,194,543]); +__d((function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.withReanimatedTimer=e.setUpTests=e.getAnimatedStyle=e.advanceAnimationByTime=e.advanceAnimationByFrame=void 0;var t={fps:60},n=function(t){var n,i=t.props.style,s={};Array.isArray(i)?i.forEach((function(t){s=Object.assign({},s,t)})):s=Object.assign({},i,null==(n=t.props.jestAnimatedStyle)?void 0:n.value);return s},i=function t(n,i){if(Array.isArray(i)){if(!Array.isArray(n)||i.length!==n.length)return!1;for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:u;console.warn('This method is deprecated, use jest.advanceTimersByTime directly'),jest.advanceTimersByTime(t),jest.runOnlyPendingTimers()},e.advanceAnimationByFrame=function(t){console.warn('This method is deprecated, use jest.advanceTimersByTime directly'),jest.advanceTimersByTime(t*u),jest.runOnlyPendingTimers()},(0,r(d[0]).isJest)()?r:function(){throw new Error('[Reanimated] `setUpTests` is available only in Jest environment.')});e.setUpTests=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=g.expect;if(void 0===i){var s=c('expect');if('object'==typeof(i=s))i=c('@jest/globals').expect;void 0!==i&&void 0!==i.extend||(i=s.default)}var f=Object.assign({},t,n);u=Math.round(1e3/f.fps),i.extend({toHaveAnimatedStyle:function(t,n){return o(t,n,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}})},e.getAnimatedStyle=function(t){return n(t)}}),646,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimatedPropAdapter=function(t,n){var o={};return null==n||n.forEach((function(t){o[t]=!0})),(0,r(d[0]).addWhitelistedNativeProps)(o),t}}),647,[617]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"dispatchCommand",{enumerable:!0,get:function(){return r(d[0]).dispatchCommand}}),Object.defineProperty(e,"getRelativeCoords",{enumerable:!0,get:function(){return r(d[1]).getRelativeCoords}}),Object.defineProperty(e,"measure",{enumerable:!0,get:function(){return r(d[2]).measure}}),Object.defineProperty(e,"scrollTo",{enumerable:!0,get:function(){return r(d[3]).scrollTo}}),Object.defineProperty(e,"setGestureState",{enumerable:!0,get:function(){return r(d[4]).setGestureState}}),Object.defineProperty(e,"setNativeProps",{enumerable:!0,get:function(){return r(d[5]).setNativeProps}})}),648,[649,650,651,652,653,654]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.dispatchCommand=void 0;var n={code:"function dispatchCommandFabric(animatedRef,commandName,args=[]){if(!_WORKLET){return;}const shadowNodeWrapper=animatedRef();global._dispatchCommandFabric(shadowNodeWrapper,commandName,args);}"},o=(function(){var o=function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(_WORKLET){var s=n();g._dispatchCommandFabric(s,o,t)}};return o.__closure={},o.__workletHash=5787908882912,o.__initData=n,o})(),t={code:"function dispatchCommandPaper(animatedRef,commandName,args=[]){if(!_WORKLET){return;}const viewTag=animatedRef();global._dispatchCommandPaper(viewTag,commandName,args);}"},s=(function(){var n=function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(_WORKLET){var s=n();g._dispatchCommandPaper(s,o,t)}};return n.__closure={},n.__workletHash=2679067166432,n.__initData=t,n})();(0,r(d[0]).shouldBeUseWeb)()?(0,r(d[0]).isJest)()?e.dispatchCommand=function(){console.warn('[Reanimated] dispatchCommand() is not supported with Jest.')}:(0,r(d[0]).isChromeDebugger)()?e.dispatchCommand=function(){console.warn('[Reanimated] dispatchCommand() is not supported with Chrome Debugger.')}:e.dispatchCommand=function(){console.warn('[Reanimated] dispatchCommand() is not supported on this configuration.')}:(0,r(d[0]).isFabric)()?e.dispatchCommand=o:e.dispatchCommand=s}),649,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.getRelativeCoords=void 0;var t={code:"function getRelativeCoords(animatedRef,absoluteX,absoluteY){const{measure}=this.__closure;const parentCoords=measure(animatedRef);if(parentCoords===null){return null;}return{x:absoluteX-parentCoords.x,y:absoluteY-parentCoords.y};}"};e.getRelativeCoords=(function(){var o=function(t,o,n){var u=(0,r(d[0]).measure)(t);return null===u?null:{x:o-u.x,y:n-u.y}};return o.__closure={measure:r(d[0]).measure},o.__workletHash=2279946236359,o.__initData=t,o})()}),650,[651]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.measure=void 0;var n={code:"function measureFabric(animatedRef){if(!_WORKLET){return null;}const viewTag=animatedRef();if(viewTag===-1){console.warn(\"[Reanimated] The view with tag \"+viewTag+\" is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).\");return null;}const measured=global._measureFabric(viewTag);if(measured===null){console.warn(\"[Reanimated] The view has some undefined, not-yet-computed or meaningless value of `LayoutMetrics` type. This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).\");return null;}else if(measured.x===-1234567){console.warn(\"[Reanimated] The view returned an invalid measurement response. Please make sure the view is currently rendered.\");return null;}else if(isNaN(measured.x)){console.warn(\"[Reanimated] The view gets view-flattened on Android. To disable view-flattening, set `collapsable={false}` on this component.\");return null;}else{return measured;}}"},t=(function(){var t=function(n){if(!_WORKLET)return null;var t=n();if(-1===t)return console.warn(`[Reanimated] The view with tag ${t} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;var s=g._measureFabric(t);return null===s?(console.warn("[Reanimated] The view has some undefined, not-yet-computed or meaningless value of `LayoutMetrics` type. This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item)."),null):-1234567===s.x?(console.warn("[Reanimated] The view returned an invalid measurement response. Please make sure the view is currently rendered."),null):isNaN(s.x)?(console.warn("[Reanimated] The view gets view-flattened on Android. To disable view-flattening, set `collapsable={false}` on this component."),null):s};return t.__closure={},t.__workletHash=363014412597,t.__initData=n,t})(),s={code:"function measurePaper(animatedRef){if(!_WORKLET){return null;}const viewTag=animatedRef();if(viewTag===-1){console.warn(\"[Reanimated] The view with tag \"+viewTag+\" is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).\");return null;}const measured=global._measurePaper(viewTag);if(measured===null){console.warn(\"[Reanimated] The view with tag \"+viewTag+\" has some undefined, not-yet-computed or meaningless value of `LayoutMetrics` type. This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).\");return null;}else if(measured.x===-1234567){console.warn(\"[Reanimated] The view with tag \"+viewTag+\" returned an invalid measurement response. Please make sure the view is currently rendered.\");return null;}else if(isNaN(measured.x)){console.warn(\"[Reanimated] The view with tag \"+viewTag+\" gets view-flattened on Android. To disable view-flattening, set `collapsable={false}` on this component.\");return null;}else{return measured;}}"},o=(function(){var n=function(n){if(!_WORKLET)return null;var t=n();if(-1===t)return console.warn(`[Reanimated] The view with tag ${t} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;var s=g._measurePaper(t);return null===s?(console.warn(`[Reanimated] The view with tag ${t} has some undefined, not-yet-computed or meaningless value of \`LayoutMetrics\` type. This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null):-1234567===s.x?(console.warn(`[Reanimated] The view with tag ${t} returned an invalid measurement response. Please make sure the view is currently rendered.`),null):isNaN(s.x)?(console.warn(`[Reanimated] The view with tag ${t} gets view-flattened on Android. To disable view-flattening, set \`collapsable={false}\` on this component.`),null):s};return n.__closure={},n.__workletHash=0xd3c2cda7bfa,n.__initData=s,n})();(0,r(d[0]).shouldBeUseWeb)()?(0,r(d[0]).isJest)()?e.measure=function(){return console.warn('[Reanimated] measure() cannot be used with Jest.'),null}:(0,r(d[0]).isChromeDebugger)()?e.measure=function(){return console.warn('[Reanimated] measure() cannot be used with Chrome Debugger.'),null}:e.measure=function(){return console.warn('[Reanimated] measure() is not supported on this configuration.'),null}:(0,r(d[0]).isFabric)()?e.measure=t:e.measure=o}),651,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.scrollTo=void 0;var o={code:"function scrollToFabric(animatedRef,x,y,animated){const{dispatchCommand}=this.__closure;dispatchCommand(animatedRef,'scrollTo',[x,y,animated]);}"},n=(function(){var n=function(o,n,t,s){(0,r(d[0]).dispatchCommand)(o,'scrollTo',[n,t,s])};return n.__closure={dispatchCommand:r(d[0]).dispatchCommand},n.__workletHash=0xb3889778fb3,n.__initData=o,n})(),t={code:"function scrollToPaper(animatedRef,x,y,animated){if(!_WORKLET){return;}const viewTag=animatedRef();global._scrollToPaper(viewTag,x,y,animated);}"},s=(function(){var o=function(o,n,t,s){if(_WORKLET){var c=o();g._scrollToPaper(c,n,t,s)}};return o.__closure={},o.__workletHash=0xa7cc6f9831b,o.__initData=t,o})();(0,r(d[1]).shouldBeUseWeb)()?(0,r(d[1]).isJest)()?e.scrollTo=function(){console.warn('[Reanimated] scrollTo() is not supported with Jest.')}:(0,r(d[1]).isChromeDebugger)()?e.scrollTo=function(){console.warn('[Reanimated] scrollTo() is not supported with Chrome Debugger.')}:e.scrollTo=function(){console.warn('[Reanimated] scrollTo() is not supported on this configuration.')}:(0,r(d[1]).isFabric)()?e.scrollTo=n:e.scrollTo=s}),652,[649,542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.setGestureState=void 0;var t={code:"function setGestureStateNative(handlerTag,newState){if(!_WORKLET){console.warn('[Reanimated] You can not use setGestureState in non-worklet function.');return;}global._setGestureState(handlerTag,newState);}"},n=(function(){var n=function(t,n){_WORKLET?g._setGestureState(t,n):console.warn('[Reanimated] You can not use setGestureState in non-worklet function.')};return n.__closure={},n.__workletHash=0xa7c2c7a2501,n.__initData=t,n})();(0,r(d[0]).shouldBeUseWeb)()?(0,r(d[0]).isJest)()?e.setGestureState=function(){console.warn('[Reanimated] setGestureState() cannot be used with Jest.')}:(0,r(d[0]).isChromeDebugger)()?e.setGestureState=function(){console.warn('[Reanimated] setGestureState() cannot be used with Chrome Debugger.')}:e.setGestureState=function(){console.warn('[Reanimated] setGestureState() is not supported on this configuration.')}:e.setGestureState=n}),653,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.setNativeProps=void 0;var s={code:"function setNativePropsFabric(animatedRef,updates){const{processColorsInProps}=this.__closure;if(!_WORKLET){console.warn('[Reanimated] setNativeProps() can only be used on the UI runtime.');return;}const shadowNodeWrapper=animatedRef();processColorsInProps(updates);global._updatePropsFabric([{shadowNodeWrapper:shadowNodeWrapper,updates:updates}]);}"},o=(function(){var o=function(s,o){if(_WORKLET){var t=s();(0,r(d[0]).processColorsInProps)(o),g._updatePropsFabric([{shadowNodeWrapper:t,updates:o}])}else console.warn('[Reanimated] setNativeProps() can only be used on the UI runtime.')};return o.__closure={processColorsInProps:r(d[0]).processColorsInProps},o.__workletHash=0xbb5ec661e1f,o.__initData=s,o})(),t={code:"function setNativePropsPaper(animatedRef,updates){const{processColorsInProps}=this.__closure;if(!_WORKLET){console.warn('[Reanimated] setNativeProps() can only be used on the UI runtime.');return;}const tag=animatedRef();const name=animatedRef.viewName.value;processColorsInProps(updates);global._updatePropsPaper([{tag:tag,name:name,updates:updates}]);}"},n=(function(){var s=function(s,o){if(_WORKLET){var t=s(),n=s.viewName.value;(0,r(d[0]).processColorsInProps)(o),g._updatePropsPaper([{tag:t,name:n,updates:o}])}else console.warn('[Reanimated] setNativeProps() can only be used on the UI runtime.')};return s.__closure={processColorsInProps:r(d[0]).processColorsInProps},s.__workletHash=0xa07bf5502a5,s.__initData=t,s})();(0,r(d[1]).shouldBeUseWeb)()?(0,r(d[1]).isJest)()?e.setNativeProps=function(){console.warn('[Reanimated] setNativeProps() is not supported with Jest.')}:(0,r(d[1]).isChromeDebugger)()?e.setNativeProps=function(){console.warn('[Reanimated] setNativeProps() is not supported with Chrome Debugger.')}:e.setNativeProps=function(){console.warn('[Reanimated] setNativeProps() is not supported on this configuration.')}:(0,r(d[1]).isFabric)()?e.setNativeProps=o:e.setNativeProps=n}),654,[571,542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.getUseOfValueInStyleWarning=function(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}}),655,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useAnimatedGestureHandler",{enumerable:!0,get:function(){return r(d[0]).useAnimatedGestureHandler}}),Object.defineProperty(e,"useAnimatedKeyboard",{enumerable:!0,get:function(){return r(d[1]).useAnimatedKeyboard}}),Object.defineProperty(e,"useAnimatedProps",{enumerable:!0,get:function(){return r(d[2]).useAnimatedProps}}),Object.defineProperty(e,"useAnimatedReaction",{enumerable:!0,get:function(){return r(d[3]).useAnimatedReaction}}),Object.defineProperty(e,"useAnimatedRef",{enumerable:!0,get:function(){return r(d[4]).useAnimatedRef}}),Object.defineProperty(e,"useAnimatedScrollHandler",{enumerable:!0,get:function(){return r(d[5]).useAnimatedScrollHandler}}),Object.defineProperty(e,"useAnimatedSensor",{enumerable:!0,get:function(){return r(d[6]).useAnimatedSensor}}),Object.defineProperty(e,"useAnimatedStyle",{enumerable:!0,get:function(){return r(d[7]).useAnimatedStyle}}),Object.defineProperty(e,"useDerivedValue",{enumerable:!0,get:function(){return r(d[8]).useDerivedValue}}),Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return r(d[9]).useEvent}}),Object.defineProperty(e,"useFrameCallback",{enumerable:!0,get:function(){return r(d[10]).useFrameCallback}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return r(d[11]).useHandler}}),Object.defineProperty(e,"useReducedMotion",{enumerable:!0,get:function(){return r(d[12]).useReducedMotion}}),Object.defineProperty(e,"useScrollViewOffset",{enumerable:!0,get:function(){return r(d[13]).useScrollViewOffset}}),Object.defineProperty(e,"useSharedValue",{enumerable:!0,get:function(){return r(d[14]).useSharedValue}}),Object.defineProperty(e,"useWorkletCallback",{enumerable:!0,get:function(){return r(d[15]).useWorkletCallback}})}),656,[657,661,662,664,665,667,668,663,669,660,670,658,673,674,644,675]); +__d((function(g,r,i,a,m,_e,d){'use strict';Object.defineProperty(_e,"__esModule",{value:!0}),_e.useAnimatedGestureHandler=function(n,E){var o=(0,r(d[0]).useHandler)(n,E),s=o.context,T=o.doDependenciesDiffer,l=o.useWeb,v=(A=function(t){var E=l?t.nativeEvent:t;E.state===e.BEGAN&&n.onStart&&n.onStart(E,s),E.state===e.ACTIVE&&n.onActive&&n.onActive(E,s),E.oldState===e.ACTIVE&&E.state===e.END&&n.onEnd&&n.onEnd(E,s),E.oldState===e.BEGAN&&E.state===e.FAILED&&n.onFail&&n.onFail(E,s),E.oldState===e.ACTIVE&&E.state===e.CANCELLED&&n.onCancel&&n.onCancel(E,s),E.oldState!==e.BEGAN&&E.oldState!==e.ACTIVE||E.state===e.BEGAN||E.state===e.ACTIVE||!n.onFinish||n.onFinish(E,s,E.state===e.CANCELLED||E.state===e.FAILED)},A.__closure={useWeb:l,EVENT_TYPE:e,handlers:n,context:s},A.__workletHash=3049273329051,A.__initData=t,A);var A;if(l)return v;return(0,r(d[1]).useEvent)(v,['onGestureHandlerStateChange','onGestureHandlerEvent'],T)};var e={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5},t={code:"function anonymous(e){const{useWeb,EVENT_TYPE,handlers,context}=this.__closure;const event=useWeb?e.nativeEvent:e;if(event.state===EVENT_TYPE.BEGAN&&handlers.onStart){handlers.onStart(event,context);}if(event.state===EVENT_TYPE.ACTIVE&&handlers.onActive){handlers.onActive(event,context);}if(event.oldState===EVENT_TYPE.ACTIVE&&event.state===EVENT_TYPE.END&&handlers.onEnd){handlers.onEnd(event,context);}if(event.oldState===EVENT_TYPE.BEGAN&&event.state===EVENT_TYPE.FAILED&&handlers.onFail){handlers.onFail(event,context);}if(event.oldState===EVENT_TYPE.ACTIVE&&event.state===EVENT_TYPE.CANCELLED&&handlers.onCancel){handlers.onCancel(event,context);}if((event.oldState===EVENT_TYPE.BEGAN||event.oldState===EVENT_TYPE.ACTIVE)&&event.state!==EVENT_TYPE.BEGAN&&event.state!==EVENT_TYPE.ACTIVE&&handlers.onFinish){handlers.onFinish(event,context,event.state===EVENT_TYPE.CANCELLED||event.state===EVENT_TYPE.FAILED);}}"}}),657,[658,660]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useHandler=function(t,u){var c=(0,n.useRef)(null);if(null===c.current){var s=(0,r(d[1]).makeShareable)({});c.current={context:s,savedDependencies:[]}}(0,n.useEffect)((function(){return function(){c.current=null}}),[]);var l=c.current,f=l.context,o=l.savedDependencies;u=(0,r(d[2]).buildDependencies)(u,t);var v=!(0,r(d[2]).areDependenciesEqual)(u,o);c.current.savedDependencies=u;var p=(0,r(d[3]).isWeb)()||(0,r(d[3]).isJest)();return{context:f,doDependenciesDiffer:v,useWeb:p}};var n=r(d[0])}),658,[153,554,659,542]); +__d((function(g,r,_i,_a,m,e,d){'use strict';function t(t){return Object.values(t).reduce((function(t,n){return t+n.__workletHash.toString()}),'')}Object.defineProperty(e,"__esModule",{value:!0}),e.areDependenciesEqual=function(t,n){var a='function'==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||Number.isNaN(t)&&Number.isNaN(n)};return(function(t,n){if(!t||!n||n.length!==t.length)return!1;for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:[],v=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=(0,n.useRef)(null);if(null===o.current){var c=new l.default(t,u);o.current={workletEventHandler:c}}else if(v){var f=o.current.workletEventHandler;f.updateWorklet(t),o.current={workletEventHandler:f}}return o.current};var n=r(d[1]),l=t(r(d[2]))}),660,[1,153,541]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedKeyboard=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isStatusBarTranslucentAndroid:!1},s=(0,t.useRef)(null),c=(0,t.useRef)(-1),v=(0,t.useRef)(!1);if(null===s.current){var l={state:(0,r(d[1]).makeMutable)(r(d[2]).KeyboardState.UNKNOWN),height:(0,r(d[1]).makeMutable)(0)};c.current=(0,r(d[1]).subscribeForKeyboardEvents)(((_=function(t,n){l.state.value=t,l.height.value=n}).__closure={keyboardEventData:l},_.__workletHash=0xb9e97117af8,_.__initData=n,_),o),s.current=l,v.current=!0}var _;return(0,t.useEffect)((function(){if(!1===v.current&&null!==s.current){var t=s.current;c.current=(0,r(d[1]).subscribeForKeyboardEvents)(((n=function(n,u){t.state.value=n,t.height.value=u}).__closure={_keyboardEventData:t},n.__workletHash=4233221673031,n.__initData=u,n),o),v.current=!0}var n;return function(){(0,r(d[1]).unsubscribeFromKeyboardEvents)(c.current),v.current=!1}}),[]),s.current};var t=r(d[0]),n={code:"function anonymous(state,height){const{keyboardEventData}=this.__closure;keyboardEventData.state.value=state;keyboardEventData.height.value=height;}"},u={code:"function anonymous(state,height){const{_keyboardEventData}=this.__closure;_keyboardEventData.state.value=state;_keyboardEventData.height.value=height;}"}}),661,[153,543,549]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedProps=void 0;e.useAnimatedProps=(0,r(d[1]).shouldBeUseWeb)()?function(t,s,u){return(0,r(d[0]).useAnimatedStyle)(t,s,u,!0)}:r(d[0]).useAnimatedStyle}),662,[663,542]); +__d((function(g,_r,_i,_a,m,_e,d){'use strict';var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.useAnimatedStyle=function(e,n,i){var r,o,l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=(0,_r(d[6]).useViewRefSet)(),c=(0,t.useRef)(),f=Object.values(null!=(r=e.__closure)?r:{});s&&!f.length&&null!=(o=n)&&o.length&&(f=n);var w=i?Array.isArray(i)?i:[i]:[],k=i?(0,_r(d[5]).buildWorkletsHash)(w):null,V=(0,_r(d[7]).useSharedValue)(!0),b=(0,t.useRef)({});n?n.push(e.__workletHash):n=[].concat((0,a.default)(f),[e.__workletHash]);if(k&&n.push(k),!c.current){var j=(0,_r(d[8]).initialUpdaterRun)(e);c.current={initial:{value:j,updater:e},remoteState:(0,_r(d[9]).makeShareable)({last:j,animations:{},isAnimationCancelled:!1,isAnimationRunning:!1}),viewDescriptors:(0,_r(d[6]).makeViewDescriptorsSet)()}}var R=c.current,S=R.initial,P=R.remoteState,E=R.viewDescriptors,D=E.shareableViewDescriptors;n.push(D),(0,t.useEffect)((function(){var a,t,n=e;i&&((t=function(){var a=e();return w.forEach((function(e){e(a)})),a}).__closure={updater:e,adaptersArray:w},t.__workletHash=6935660880873,t.__initData=y,n=t),a=(0,_r(d[4]).isJest)()?(function(){var a=function(){A(D,e,P,u,V,b,w)};return a.__closure={jestStyleUpdater:A,shareableViewDescriptors:D,updater:e,remoteState:P,viewsRef:u,areAnimationsActive:V,jestAnimatedStyle:b,adaptersArray:w},a.__workletHash=7646952874907,a.__initData=h,a})():(function(){var e=function(){p(D,n,P,u,V,l)};return e.__closure={styleUpdater:p,shareableViewDescriptors:D,updaterFn:n,remoteState:P,viewsRef:u,areAnimationsActive:V,isAnimatedProps:l},e.__workletHash=2167468849755,e.__initData=_,e})();var s=(0,_r(d[9]).startMapper)(a,f);return function(){(0,_r(d[9]).stopMapper)(s)}}),n),(0,t.useEffect)((function(){return V.value=!0,function(){V.value=!1}}),[V]),v(S.value);var F=(0,t.useRef)(null);F.current||(F.current=(0,_r(d[4]).isJest)()?{viewDescriptors:E,initial:S,viewsRef:u,jestAnimatedStyle:b}:{initial:S,viewsRef:u,viewDescriptors:E});return F.current};var a=e(_r(d[1])),t=_r(d[2]),n=(function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(a);if(t&&t.has(e))return t.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n})(_r(d[3]));function i(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:a})(e)}var s=(0,_r(d[4]).shouldBeUseWeb)(),r={code:"function prepareAnimation(frameTimestamp,animatedProp,lastAnimation,lastValue){const prepareAnimation=this._recur;if(Array.isArray(animatedProp)){animatedProp.forEach(function(prop,index){prepareAnimation(frameTimestamp,prop,lastAnimation&&lastAnimation[index],lastValue&&lastValue[index]);});}if(typeof animatedProp==='object'&&animatedProp.onFrame){const animation=animatedProp;let value=animation.current;if(lastValue!==undefined&&lastValue!==null){if(typeof lastValue==='object'){if(lastValue.value!==undefined){value=lastValue.value;}else if(lastValue.onFrame!==undefined){if((lastAnimation===null||lastAnimation===void 0?void 0:lastAnimation.current)!==undefined){value=lastAnimation.current;}else if((lastValue===null||lastValue===void 0?void 0:lastValue.current)!==undefined){value=lastValue.current;}}}else{value=lastValue;}}animation.callStart=function(timestamp){animation.onStart(animation,value,timestamp,lastAnimation);};animation.callStart(frameTimestamp);animation.callStart=null;}else if(typeof animatedProp==='object'){Object.keys(animatedProp).forEach(function(key){return prepareAnimation(frameTimestamp,animatedProp[key],lastAnimation&&lastAnimation[key],lastValue&&lastValue[key]);});}}"},o=(function(){var e=function e(a,t,n,i){if(Array.isArray(t)&&t.forEach((function(t,s){e(a,t,n&&n[s],i&&i[s])})),'object'==typeof t&&t.onFrame){var s=t,r=s.current;null!=i&&('object'==typeof i?void 0!==i.value?r=i.value:void 0!==i.onFrame&&(void 0!==(null==n?void 0:n.current)?r=n.current:void 0!==(null==i?void 0:i.current)&&(r=i.current)):r=i),s.callStart=function(e){s.onStart(s,r,e,n)},s.callStart(a),s.callStart=null}else'object'==typeof t&&Object.keys(t).forEach((function(s){return e(a,t[s],n&&n[s],i&&i[s])}))};return e.__closure={},e.__workletHash=0xedf9362c910,e.__initData=r,e})(),l={code:"function runAnimations(animation,timestamp,key,result,animationsActive){const runAnimations=this._recur;if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;animation.forEach(function(entry,index){if(!runAnimations(entry,timestamp,index,result[key],animationsActive)){allFinished=false;}});return allFinished;}else if(typeof animation==='object'&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){animation.finished=true;animation.callback&&animation.callback(true);}}result[key]=animation.current;return finished;}else if(typeof animation==='object'){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations(animation[k],timestamp,k,result[key],animationsActive)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}"},u=(function(){var e=function e(a,t,n,i,s){if(!s.value)return!0;if(Array.isArray(a)){i[n]=[];var r=!0;return a.forEach((function(a,o){e(a,t,o,i[n],s)||(r=!1)})),r}if('object'==typeof a&&a.onFrame){var o=!0;return a.finished||(a.callStart&&(a.callStart(t),a.callStart=null),o=a.onFrame(a,t),a.timestamp=t,o&&(a.finished=!0,a.callback&&a.callback(!0))),i[n]=a.current,o}if('object'==typeof a){i[n]={};var l=!0;return Object.keys(a).forEach((function(r){e(a[r],t,r,i[n],s)||(l=!1)})),l}return i[n]=a,!0};return e.__closure={},e.__workletHash=2202010840260,e.__initData=l,e})(),c={code:"function styleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,isAnimatedProps=false){const{isAnimated,prepareAnimation,runAnimations,updateProps,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;const nonAnimatedNewValues={};let hasAnimations=false;let frameTimestamp;let hasNonAnimatedValues=false;for(const key in newValues){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{hasNonAnimatedValues=true;nonAnimatedNewValues[key]=value;delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates,maybeViewRef);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}if(hasNonAnimatedValues){updateProps(viewDescriptors,nonAnimatedNewValues,maybeViewRef);}}else{state.isAnimationCancelled=true;state.animations=[];if(!shallowEqual(oldValues,newValues)){updateProps(viewDescriptors,newValues,maybeViewRef,isAnimatedProps);}}state.last=newValues;}"},p=(function(){var e=function(e,a,t,i,s){var r,l,c,p=arguments.length>5&&void 0!==arguments[5]&&arguments[5],f=null!=(r=t.animations)?r:{},A=null!=(l=a())?l:{},v=t.last,y={},h=!1,_=!1;for(var w in A){var k=A[w];(0,_r(d[5]).isAnimated)(k)?(c=g.__frameTimestamp||g._getAnimationTimestamp(),o(c,k,f[w],v[w]),f[w]=k,h=!0):(_=!0,y[w]=k,delete f[w])}if(h){t.animations=f,t.isAnimationRunning||(t.isAnimationCancelled=!1,t.isAnimationRunning=!0,(function a(r){var o=t.animations,l=t.last;if(t.isAnimationCancelled)t.isAnimationRunning=!1;else{var c={},p=!0;for(var f in o)u(o[f],r,f,c,s)?(l[f]=c[f],delete o[f]):p=!1;(0,n.default)(e,c,i),p?t.isAnimationRunning=!1:requestAnimationFrame(a)}})(c)),_&&(0,n.default)(e,y,i)}else t.isAnimationCancelled=!0,t.animations=[],(0,_r(d[5]).shallowEqual)(v,A)||(0,n.default)(e,A,i,p);t.last=A};return e.__closure={isAnimated:_r(d[5]).isAnimated,prepareAnimation:o,runAnimations:u,updateProps:n.default,shallowEqual:_r(d[5]).shallowEqual},e.__workletHash=9412904113903,e.__initData=c,e})(),f={code:"function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;let frameTimestamp;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}}else{state.isAnimationCancelled=true;state.animations=[];}state.last=newValues;if(!shallowEqual(oldValues,newValues)){updatePropsJestWrapper(viewDescriptors,newValues,maybeViewRef,animatedStyle,adapters);}}"},A=(function(){var e=function(e,a,t,i,s,r,l){var c,p,f,A=null!=(c=t.animations)?c:{},v=null!=(p=a())?p:{},y=t.last,h=!1;Object.keys(A).forEach((function(e){var a=v[e];(0,_r(d[5]).isAnimated)(a)||delete A[e]})),Object.keys(v).forEach((function(e){var a=v[e];(0,_r(d[5]).isAnimated)(a)&&(f=g.__frameTimestamp||g._getAnimationTimestamp(),o(f,a,A[e],y[e]),A[e]=a,h=!0)})),h?(t.animations=A,t.isAnimationRunning||(t.isAnimationCancelled=!1,t.isAnimationRunning=!0,(function a(o){var c=t.animations,p=t.last;if(t.isAnimationCancelled)t.isAnimationRunning=!1;else{var f={},A=!0;Object.keys(c).forEach((function(e){u(c[e],o,e,f,s)?(p[e]=f[e],delete c[e]):A=!1})),Object.keys(f).length&&(0,n.updatePropsJestWrapper)(e,f,i,r,l),A?t.isAnimationRunning=!1:requestAnimationFrame(a)}})(f))):(t.isAnimationCancelled=!0,t.animations=[]),t.last=v,(0,_r(d[5]).shallowEqual)(y,v)||(0,n.updatePropsJestWrapper)(e,v,i,r,l)};return e.__closure={isAnimated:_r(d[5]).isAnimated,prepareAnimation:o,runAnimations:u,updatePropsJestWrapper:n.updatePropsJestWrapper,shallowEqual:_r(d[5]).shallowEqual},e.__workletHash=0xb396a919e73,e.__initData=f,e})();function v(e,a){if(Array.isArray(e))for(var t of e)v(t,a);else if('object'==typeof e&&null!==e&&void 0===e.value)for(var n of Object.keys(e))v(e[n],n);else if(void 0!==a&&'object'==typeof e&&null!==e&&void 0!==e.value)throw new Error(`[Reanimated] Invalid value passed to \`${a}\`, maybe you forgot to use \`.value\`?`)}var y={code:"function anonymous(){const{updater,adaptersArray}=this.__closure;const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}"},h={code:"function anonymous(){const{jestStyleUpdater,shareableViewDescriptors,updater,remoteState,viewsRef,areAnimationsActive,jestAnimatedStyle,adaptersArray}=this.__closure;jestStyleUpdater(shareableViewDescriptors,updater,remoteState,viewsRef,areAnimationsActive,jestAnimatedStyle,adaptersArray);}"},_={code:"function anonymous(){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,viewsRef,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,viewsRef,areAnimationsActive,isAnimatedProps);}"}}),663,[1,34,153,614,542,659,616,644,568,543]); +__d((function(g,r,i,a,m,e,d){'use strict';var u=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedReaction=function(u,o,s){var c,_,p,v,f=(0,r(d[3]).useSharedValue)(null),h=Object.values(null!=(c=u.__closure)?c:{});(0,r(d[4]).shouldBeUseWeb)()&&!h.length&&null!=(_=s)&&_.length&&(h=s);void 0===s?s=[].concat((0,t.default)(Object.values(null!=(p=u.__closure)?p:{})),(0,t.default)(Object.values(null!=(v=o.__closure)?v:{})),[u.__workletHash,o.__workletHash]):s.push(u.__workletHash,o.__workletHash);(0,l.useEffect)((function(){var t,l=((t=function(){var t=u();o(t,f.value),f.value=t}).__closure={prepare:u,react:o,previous:f},t.__workletHash=3805047105816,t.__initData=n,t),s=(0,r(d[5]).startMapper)(l,h);return function(){(0,r(d[5]).stopMapper)(s)}}),s)};var t=u(r(d[1])),l=r(d[2]),n={code:"function anonymous(){const{prepare,react,previous}=this.__closure;const input=prepare();react(input,previous.value);previous.value=input;}"}}),664,[1,34,153,644,542,543]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedRef=function(){var s=(0,r(d[4]).useSharedValue)(-1),f=(0,r(d[4]).useSharedValue)(null),_=(0,n.useRef)();if(!_.current){var N=function n(v){var _;v&&(s.value=l?o(v):c(o(v)),n.current=v,'ios'!==t.Platform.OS||u||(f.value=(null==v||null==(_=v.viewConfig)?void 0:_.uiViewClassName)||'RCTView'));return s.value};N.current=null;var w=(0,r(d[5]).makeShareableCloneRecursive)({__init:(S=function(){var n=function(){return s.value};return n.viewName=f,n},S.__closure={tag:s,viewName:f},S.__workletHash=0x9bd97eeec06,S.__initData=v,S)});r(d[6]).shareableMappingCache.set(N,w),_.current=N}var S;return _.current};var n=r(d[0]),t=r(d[1]),u=(0,r(d[2]).isFabric)(),l=(0,r(d[2]).isWeb)();function o(n){return u&&n.getNativeScrollRef?n.getNativeScrollRef():!u&&n.getScrollableNode?n.getScrollableNode():n}var c=u?r(d[3]).getShadowNodeWrapperFromRef:t.findNodeHandle,v={code:"function anonymous(){const{tag,viewName}=this.__closure;const f=function(){return tag.value;};f.viewName=viewName;return f;}"}}),665,[153,2,542,666,644,554,555]); +__d((function(g,r,i,a,m,_e,d){'use strict';var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.getShadowNodeWrapperFromRef=function(n){if(!e&&(0,r(d[0]).isFabric)())try{e=r(d[1]).findHostInstance_DEPRECATED}catch(e){throw new Error('[Reanimated] Cannot import `findHostInstance_DEPRECATED`.')}return e(n)._internalInstanceHandle.stateNode.node}}),666,[542,54]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedScrollHandler=function(o,t){var l='function'==typeof o?{onScroll:o}:o,c=(0,r(d[0]).useHandler)(l,t),s=c.context,u=c.doDependenciesDiffer,v=['onScroll'];void 0!==l.onBeginDrag&&v.push('onScrollBeginDrag');void 0!==l.onEndDrag&&v.push('onScrollEndDrag');void 0!==l.onMomentumBegin&&v.push('onMomentumScrollBegin');void 0!==l.onMomentumEnd&&v.push('onMomentumScrollEnd');return(0,r(d[1]).useEvent)((S=function(n){var o=l.onScroll,t=l.onBeginDrag,c=l.onEndDrag,u=l.onMomentumBegin,v=l.onMomentumEnd;o&&n.eventName.endsWith('onScroll')?o(n,s):t&&n.eventName.endsWith('onScrollBeginDrag')?t(n,s):c&&n.eventName.endsWith('onScrollEndDrag')?c(n,s):u&&n.eventName.endsWith('onMomentumScrollBegin')?u(n,s):v&&n.eventName.endsWith('onMomentumScrollEnd')&&v(n,s)},S.__closure={scrollHandlers:l,context:s},S.__workletHash=0xfee240579d4,S.__initData=n,S),v,u);var S};var n={code:"function anonymous(event){const{scrollHandlers,context}=this.__closure;const{onScroll:onScroll,onBeginDrag:onBeginDrag,onEndDrag:onEndDrag,onMomentumBegin:onMomentumBegin,onMomentumEnd:onMomentumEnd}=scrollHandlers;if(onScroll&&event.eventName.endsWith('onScroll')){onScroll(event,context);}else if(onBeginDrag&&event.eventName.endsWith('onScrollBeginDrag')){onBeginDrag(event,context);}else if(onEndDrag&&event.eventName.endsWith('onScrollEndDrag')){onEndDrag(event,context);}else if(onMomentumBegin&&event.eventName.endsWith('onMomentumScrollBegin')){onMomentumBegin(event,context);}else if(onMomentumEnd&&event.eventName.endsWith('onMomentumScrollEnd')){onMomentumEnd(event,context);}}"}}),667,[658,660]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedSensor=function(n,o){var c,u,O,T=(0,t.useRef)(o);(null==(c=T.current)?void 0:c.adjustToInterfaceOrientation)===(null==o?void 0:o.adjustToInterfaceOrientation)&&(null==(u=T.current)?void 0:u.interval)===(null==o?void 0:o.interval)&&(null==(O=T.current)?void 0:O.iosReferenceFrame)===(null==o?void 0:o.iosReferenceFrame)||(T.current=Object.assign({},o));var I=(0,t.useMemo)((function(){return Object.assign({interval:'auto',adjustToInterfaceOrientation:!0,iosReferenceFrame:r(d[1]).IOSReferenceFrame.Auto},T.current)}),[T.current]),_=(0,t.useRef)({sensor:(0,r(d[2]).initializeSensor)(n,I),unregister:function(){},isAvailable:!1,config:I});return(0,t.useEffect)((function(){_.current={sensor:(0,r(d[2]).initializeSensor)(n,I),unregister:function(){},isAvailable:!1,config:I};var t,o=_.current.sensor,c=_.current.config.adjustToInterfaceOrientation,u=(0,r(d[2]).registerSensor)(n,I,((t=function(t){c&&(t=n===r(d[1]).SensorType.ROTATION?s(t):l(t)),o.value=t,(0,r(d[3]).callMicrotasks)()}).__closure={adjustToInterfaceOrientation:c,sensorType:n,SensorType:r(d[1]).SensorType,adjustRotationToInterfaceOrientation:s,adjustVectorToInterfaceOrientation:l,sensorData:o,callMicrotasks:r(d[3]).callMicrotasks},t.__workletHash=4762875893066,t.__initData=f,t));return-1!==u?(_.current.unregister=function(){return(0,r(d[2]).unregisterSensor)(u)},_.current.isAvailable=!0):(_.current.unregister=function(){},_.current.isAvailable=!1),function(){_.current.unregister()}}),[n,I]),_.current};var t=r(d[0]),n={code:"function eulerToQuaternion(pitch,roll,yaw){const c1=Math.cos(pitch/2);const s1=Math.sin(pitch/2);const c2=Math.cos(roll/2);const s2=Math.sin(roll/2);const c3=Math.cos(yaw/2);const s3=Math.sin(yaw/2);return[s1*c2*c3-c1*s2*s3,c1*s2*c3+s1*c2*s3,c1*c2*s3+s1*s2*c3,c1*c2*c3-s1*s2*s3];}"},o=(function(){var t=function(t,n,o){var c=Math.cos(t/2),s=Math.sin(t/2),u=Math.cos(n/2),l=Math.sin(n/2),f=Math.cos(o/2),O=Math.sin(o/2);return[s*u*f-c*l*O,c*l*f+s*u*O,c*u*O+s*l*f,c*u*f-s*l*O]};return t.__closure={},t.__workletHash=3591825116582,t.__initData=n,t})(),c={code:"function adjustRotationToInterfaceOrientation(data){const{InterfaceOrientation,eulerToQuaternion}=this.__closure;const{interfaceOrientation:interfaceOrientation,pitch:pitch,roll:roll,yaw:yaw}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.pitch=roll;data.roll=-pitch;data.yaw=yaw-Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.pitch=-roll;data.roll=pitch;data.yaw=yaw+Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.pitch*=-1;data.roll*=-1;data.yaw*=-1;}const q=eulerToQuaternion(data.pitch,data.roll,data.yaw);data.qx=q[0];data.qy=q[1];data.qz=q[2];data.qw=q[3];return data;}"},s=(function(){var t=function(t){var n=t.interfaceOrientation,c=t.pitch,s=t.roll,u=t.yaw;n===r(d[1]).InterfaceOrientation.ROTATION_90?(t.pitch=s,t.roll=-c,t.yaw=u-Math.PI/2):n===r(d[1]).InterfaceOrientation.ROTATION_270?(t.pitch=-s,t.roll=c,t.yaw=u+Math.PI/2):n===r(d[1]).InterfaceOrientation.ROTATION_180&&(t.pitch*=-1,t.roll*=-1,t.yaw*=-1);var l=o(t.pitch,t.roll,t.yaw);return t.qx=l[0],t.qy=l[1],t.qz=l[2],t.qw=l[3],t};return t.__closure={InterfaceOrientation:r(d[1]).InterfaceOrientation,eulerToQuaternion:o},t.__workletHash=0xaac33db60f4,t.__initData=c,t})(),u={code:"function adjustVectorToInterfaceOrientation(data){const{InterfaceOrientation}=this.__closure;const{interfaceOrientation:interfaceOrientation,x:x,y:y}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.x=-y;data.y=x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.x=y;data.y=-x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.x*=-1;data.y*=-1;}return data;}"},l=(function(){var t=function(t){var n=t.interfaceOrientation,o=t.x,c=t.y;return n===r(d[1]).InterfaceOrientation.ROTATION_90?(t.x=-c,t.y=o):n===r(d[1]).InterfaceOrientation.ROTATION_270?(t.x=c,t.y=-o):n===r(d[1]).InterfaceOrientation.ROTATION_180&&(t.x*=-1,t.y*=-1),t};return t.__closure={InterfaceOrientation:r(d[1]).InterfaceOrientation},t.__workletHash=0xce04e77704b,t.__initData=u,t})(),f={code:"function anonymous(data){const{adjustToInterfaceOrientation,sensorType,SensorType,adjustRotationToInterfaceOrientation,adjustVectorToInterfaceOrientation,sensorData,callMicrotasks}=this.__closure;if(adjustToInterfaceOrientation){if(sensorType===SensorType.ROTATION){data=adjustRotationToInterfaceOrientation(data);}else{data=adjustVectorToInterfaceOrientation(data);}}sensorData.value=data;callMicrotasks();}"}}),668,[153,549,543,557]); +__d((function(g,r,i,a,m,e,d){'use strict';var u=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useDerivedValue=function(u,s){var c,o,_=(0,n.useRef)(null),f=Object.values(null!=(c=u.__closure)?c:{});(0,r(d[3]).shouldBeUseWeb)()&&!f.length&&null!=(o=s)&&o.length&&(f=s);void 0===s?s=[].concat((0,t.default)(f),[u.__workletHash]):s.push(u.__workletHash);null===_.current&&(_.current=(0,r(d[4]).makeMutable)((0,r(d[5]).initialUpdaterRun)(u)));var h=_.current;return(0,n.useEffect)((function(){var t,n=((t=function(){h.value=u()}).__closure={sharedValue:h,updater:u},t.__workletHash=4899742148771,t.__initData=l,t),s=(0,r(d[4]).startMapper)(n,f,[h]);return function(){(0,r(d[4]).stopMapper)(s)}}),s),(0,n.useEffect)((function(){return function(){_.current=null}}),[]),h};var t=u(r(d[1])),n=r(d[2]),l={code:"function anonymous(){const{sharedValue,updater}=this.__closure;sharedValue.value=updater();}"}}),669,[1,34,153,542,543,568]); +__d((function(g,r,i,a,m,e,d){'use strict';var c=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useFrameCallback=function(c){var u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=(0,t.useRef)({setActive:function(c){n.manageStateFrameCallback(l.current.callbackId,c),l.current.isActive=c},isActive:u,callbackId:-1});return(0,t.useEffect)((function(){return l.current.callbackId=n.registerFrameCallback(c),l.current.setActive(l.current.isActive),function(){n.unregisterFrameCallback(l.current.callbackId),l.current.callbackId=-1}}),[c,u]),l.current};var t=r(d[1]),n=new(c(r(d[2])).default)}),670,[1,153,671]); +__d((function(g,r,i,a,m,e,d){'use strict';var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(r(d[1])),c=l(r(d[2])),n={code:"function anonymous(){const{callback,callbackId}=this.__closure;global._frameCallbackRegistry.registerFrameCallback(callback,callbackId);}"},s={code:"function anonymous(){const{callbackId}=this.__closure;global._frameCallbackRegistry.unregisterFrameCallback(callbackId);}"},u={code:"function anonymous(){const{callbackId,state}=this.__closure;global._frameCallbackRegistry.manageStateFrameCallback(callbackId,state);}"};e.default=(function(){function l(){(0,t.default)(this,l),this.nextCallbackId=0,(0,r(d[3]).prepareUIRegistry)()}return(0,c.default)(l,[{key:"registerFrameCallback",value:function(l){if(!l)return-1;var t,c=this.nextCallbackId;return this.nextCallbackId++,(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.registerFrameCallback(l,c)}).__closure={callback:l,callbackId:c},t.__workletHash=9769030538367,t.__initData=n,t))(),c}},{key:"unregisterFrameCallback",value:function(l){var t;(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.unregisterFrameCallback(l)}).__closure={callbackId:l},t.__workletHash=3563696229796,t.__initData=s,t))()}},{key:"manageStateFrameCallback",value:function(l,t){var c;(0,r(d[4]).runOnUI)(((c=function(){g._frameCallbackRegistry.manageStateFrameCallback(l,t)}).__closure={callbackId:l,state:t},c.__workletHash=0xb1e5bd0f6c0,c.__initData=u,c))()}}]),l})()}),671,[1,5,6,672,543]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.prepareUIRegistry=void 0;var t,l={code:"function anonymous(){const frameCallbackRegistry={frameCallbackRegistry:new Map(),activeFrameCallbacks:new Set(),previousFrameTimestamp:null,nextCallId:0,runCallbacks:function(callId){var _this=this;const loop=function(timestamp){if(callId!==_this.nextCallId){return;}if(_this.previousFrameTimestamp===null){_this.previousFrameTimestamp=timestamp;}const delta=timestamp-_this.previousFrameTimestamp;_this.activeFrameCallbacks.forEach(function(callbackId){const callbackDetails=_this.frameCallbackRegistry.get(callbackId);const{startTime:startTime}=callbackDetails;if(startTime===null){callbackDetails.startTime=timestamp;callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:null,timeSinceFirstFrame:0});}else{callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:delta,timeSinceFirstFrame:timestamp-startTime});}});if(_this.activeFrameCallbacks.size>0){_this.previousFrameTimestamp=timestamp;requestAnimationFrame(loop);}else{_this.previousFrameTimestamp=null;}};if(this.activeFrameCallbacks.size===1&&callId===this.nextCallId){requestAnimationFrame(loop);}},registerFrameCallback:function(callback,callbackId){this.frameCallbackRegistry.set(callbackId,{callback:callback,startTime:null});},unregisterFrameCallback:function(callbackId){this.manageStateFrameCallback(callbackId,false);this.frameCallbackRegistry.delete(callbackId);},manageStateFrameCallback:function(callbackId,state){if(callbackId===-1){return;}if(state){this.activeFrameCallbacks.add(callbackId);this.runCallbacks(this.nextCallId);}else{const callback=this.frameCallbackRegistry.get(callbackId);callback.startTime=null;this.activeFrameCallbacks.delete(callbackId);if(this.activeFrameCallbacks.size===0){this.nextCallId+=1;}}}};global._frameCallbackRegistry=frameCallbackRegistry;}"};e.prepareUIRegistry=(0,r(d[0]).runOnUIImmediately)(((t=function(){var t={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,nextCallId:0,runCallbacks:function(t){var l=this;1===this.activeFrameCallbacks.size&&t===this.nextCallId&&requestAnimationFrame((function s(c){if(t===l.nextCallId){null===l.previousFrameTimestamp&&(l.previousFrameTimestamp=c);var n=c-l.previousFrameTimestamp;l.activeFrameCallbacks.forEach((function(t){var s=l.frameCallbackRegistry.get(t),b=s.startTime;null===b?(s.startTime=c,s.callback({timestamp:c,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):s.callback({timestamp:c,timeSincePreviousFrame:n,timeSinceFirstFrame:c-b})})),l.activeFrameCallbacks.size>0?(l.previousFrameTimestamp=c,requestAnimationFrame(s)):l.previousFrameTimestamp=null}}))},registerFrameCallback:function(t,l){this.frameCallbackRegistry.set(l,{callback:t,startTime:null})},unregisterFrameCallback:function(t){this.manageStateFrameCallback(t,!1),this.frameCallbackRegistry.delete(t)},manageStateFrameCallback:function(t,l){-1!==t&&(l?(this.activeFrameCallbacks.add(t),this.runCallbacks(this.nextCallId)):(this.frameCallbackRegistry.get(t).startTime=null,this.activeFrameCallbacks.delete(t),0===this.activeFrameCallbacks.size&&(this.nextCallId+=1)))}};g._frameCallbackRegistry=t}).__closure={},t.__workletHash=8640414198951,t.__initData=l,t))}),672,[557]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useReducedMotion=function(){return t};var t=(0,r(d[0]).isReducedMotion)()}),673,[542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollViewOffset=function(c,s){var l=(0,n.useRef)(void 0!==s?s:(0,r(d[3]).useSharedValue)(0)),v=(0,r(d[4]).useEvent)((_=function(n){l.current.value=0===n.contentOffset.x?n.contentOffset.y:n.contentOffset.x},_.__closure={offsetRef:l},_.__workletHash=7096777976604,_.__initData=u,_),f);var _;return(0,n.useEffect)((function(){var n=c.current,f=o?n:(0,t.findNodeHandle)(n);return v.workletEventHandler.registerForEvents(f),function(){var n;null==(n=v.workletEventHandler)||n.unregisterFromEvents()}}),[c,c.current,v]),l.current};var n=r(d[0]),t=r(d[1]),o=(0,r(d[2]).isWeb)(),f=['onScroll','onScrollBeginDrag','onScrollEndDrag','onMomentumScrollBegin','onMomentumScrollEnd'],u={code:"function anonymous(event){const{offsetRef}=this.__closure;offsetRef.current.value=event.contentOffset.x===0?event.contentOffset.y:event.contentOffset.x;}"}}),674,[153,2,542,644,660]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.useWorkletCallback=function(u,t){return(0,l.useCallback)(u,null!=t?t:[])};var l=r(d[0])}),675,[153]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0})}),676,[]); +__d((function(g,r,i,a,m,e,d){'use strict';var t;if(Object.defineProperty(e,"__esModule",{value:!0}),e.updateLayoutAnimations=void 0,(0,r(d[1]).shouldBeUseWeb)())e.updateLayoutAnimations=function(){};else{var n=(t=[],{update:function(n){t.push(n),1===t.length&&setImmediate(this.flush)},flush:function(){(0,r(d[0]).configureLayoutAnimationBatch)(t),t.length=0}});e.updateLayoutAnimations=function(t,u,o){return n.update({viewTag:t,type:u,config:o?(0,r(d[0]).makeShareableCloneRecursive)(o):void 0})}}}),677,[543,542]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.maybeBuild=function(u,n,t){return'build'in u&&'function'==typeof u.build?u.build():u}}),678,[]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.removeFromPropsRegistry=function(n){o.push(n),1===o.length&&queueMicrotask(t)};(0,r(d[0]).isFabric)();var o=[];function t(){(0,r(d[1]).runOnUI)(s)(o),o=[]}var n={code:"function removeFromPropsRegistryOnUI(viewTags){global._removeFromPropsRegistry(viewTags);}"},s=(function(){var o=function(o){g._removeFromPropsRegistry(o)};return o.__closure={},o.__workletHash=0xfbe54320dbf,o.__initData=n,o})()}),679,[542,557]); +__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RNRenderer",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))}),680,[1,239]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.AnimatedView=void 0;var t=r(d[0]);e.AnimatedView=(0,r(d[1]).createAnimatedComponent)(t.View)}),681,[2,539]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.AnimatedImage=void 0;var t=r(d[0]);e.AnimatedImage=(0,r(d[1]).createAnimatedComponent)(t.Image)}),682,[2,539]); +__d((function(g,_r,_i,_a,m,_e,d){'use strict';var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.AnimatedScrollView=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=o?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(n,l,i):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=_r(d[3]),o=_r(d[4]),l=["scrollViewOffset"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}var i=(0,_r(d[5]).createAnimatedComponent)(n.ScrollView);_e.AnimatedScrollView=(0,r.forwardRef)((function(e,r){var n=e.scrollViewOffset,f=(0,t.default)(e,l),a=null===r?(0,_r(d[6]).useAnimatedRef)():r;return n&&(0,_r(d[6]).useScrollViewOffset)(a,n),'scrollEventThrottle'in f||(f.scrollEventThrottle=1),(0,o.jsx)(i,Object.assign({ref:a},f))}))}),683,[1,119,153,2,194,539,656]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.AnimatedText=void 0;var t=r(d[0]);e.AnimatedText=(0,r(d[1]).createAnimatedComponent)(t.Text)}),684,[2,539]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MaterialTabBar",{enumerable:!0,get:function(){return r(d[0]).MaterialTabBar}}),Object.defineProperty(e,"MaterialTabItem",{enumerable:!0,get:function(){return r(d[1]).MaterialTabItem}}),Object.defineProperty(e,"TABBAR_HEIGHT",{enumerable:!0,get:function(){return r(d[0]).TABBAR_HEIGHT}})}),685,[686,687]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.TABBAR_HEIGHT=_e.MaterialTabBar=void 0;var n=e(_r(d[1])),t=e(_r(d[2])),a=_r(d[3]),o=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l(n);if(t&&t.has(e))return t.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(a,r,i):a[r]=e[r]}return a.default=e,t&&t.set(e,a),a})(_r(d[4])),r=_r(d[5]);function l(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(l=function(e){return e?t:n})(e)}_e.TABBAR_HEIGHT=48;var i={code:"function anonymous(event){const{tabsOffset}=this.__closure;tabsOffset.value=event.contentOffset.x;}"},u={code:"function anonymous(){const{isScrolling,cancelNextScrollSync,index}=this.__closure;isScrolling.value=true;cancelNextScrollSync.value=index.value;}"},c={code:"function anonymous(){const{isScrolling}=this.__closure;isScrolling.value=false;}"},s={code:"function anonymous(){const{index}=this.__closure;return index.value;}"},f={code:"function anonymous(nextIndex){const{scrollEnabled,cancelAnimation,currentIndexToSync,targetIndexToSync,withTiming}=this.__closure;if(scrollEnabled){cancelAnimation(currentIndexToSync);targetIndexToSync.value=nextIndex;currentIndexToSync.value=withTiming(nextIndex);}}"},v={code:"function anonymous(){const{currentIndexToSync,targetIndexToSync}=this.__closure;return currentIndexToSync.value===targetIndexToSync.value;}"},_={code:"function anonymous(canSync){const{scrollEnabled,itemsLayout,nTabs,index,keepActiveTabCentered,tabsOffset,width,scrollTo,tabBarRef}=this.__closure;if(canSync&&scrollEnabled&&itemsLayout.length===nTabs&&itemsLayout[index.value]){const halfTab=itemsLayout[index.value].width/2;const offset=itemsLayout[index.value].x;if(keepActiveTabCentered||offsettabsOffset.value+width-2*halfTab){scrollTo(tabBarRef,offset-width/2+halfTab,0,true);}}}"},y=(_e.MaterialTabBar=t.default.memo((function(e){var l=e.tabNames,h=e.indexDecimal,x=e.scrollEnabled,b=void 0!==x&&x,S=e.indicatorStyle,T=e.index,w=e.TabItemComponent,p=void 0===w?_r(d[6]).MaterialTabItem:w,I=e.getLabelText,A=void 0===I?function(e){return String(e).toUpperCase()}:I,O=e.onTabPress,k=e.style,C=e.tabProps,E=e.contentContainerStyle,D=e.labelStyle,H=e.inactiveColor,j=e.activeColor,B=e.tabStyle,M=e.width,P=e.keepActiveTabCentered,R=(0,o.useAnimatedRef)(),L=(0,a.useWindowDimensions)().width,V=null!=M?M:L,W=t.default.useRef(!0),N=t.default.useRef(new Map),z=(0,o.useSharedValue)(0),G=(0,o.useSharedValue)(!1),U=l.length,q=t.default.useState(b?[]:l.map((function(e,n){var t=V/U;return{width:t,x:n*t}}))),F=(0,n.default)(q,2),J=F[0],K=F[1];t.default.useEffect((function(){if(W.current)W.current=!1;else if(!b){var e=V/U;K(l.map((function(n,t){return{width:e,x:t*e}})))}}),[b,U,l,V]);var Q,X=t.default.useCallback((function(e,t){if(b){var a;if(null==(a=e.nativeEvent)||!a.layout)return;var o=e.nativeEvent.layout,r=o.width,i=o.x;N.current.set(t,{width:r,x:i});var u=Array.from(N.current.entries()).filter((function(e){var t=(0,n.default)(e,1)[0];return l.includes(t)})).map((function(e){return(0,n.default)(e,2)[1]})).sort((function(e,n){return e.x-n.x}));u.length===l.length&&K(u)}}),[b,l]),Y=(0,o.useSharedValue)(T.value),Z=(0,o.useAnimatedScrollHandler)({onScroll:(Q=function(e){z.value=e.contentOffset.x},Q.__closure={tabsOffset:z},Q.__workletHash=2327013345138,Q.__initData=i,Q),onBeginDrag:(function(){var e=function(){G.value=!0,Y.value=T.value};return e.__closure={isScrolling:G,cancelNextScrollSync:Y,index:T},e.__workletHash=0xbe23e6525be,e.__initData=u,e})(),onMomentumEnd:(function(){var e=function(){G.value=!1};return e.__closure={isScrolling:G},e.__workletHash=1355647801651,e.__initData=c,e})()},[]),$=(0,o.useSharedValue)(T.value),ee=(0,o.useSharedValue)(T.value);return(0,o.useAnimatedReaction)((function(){var e=function(){return T.value};return e.__closure={index:T},e.__workletHash=9878196829241,e.__initData=s,e})(),(function(){var e=function(e){b&&((0,o.cancelAnimation)($),ee.value=e,$.value=(0,o.withTiming)(e))};return e.__closure={scrollEnabled:b,cancelAnimation:o.cancelAnimation,currentIndexToSync:$,targetIndexToSync:ee,withTiming:o.withTiming},e.__workletHash=2278415435212,e.__initData=f,e})(),[b]),(0,o.useAnimatedReaction)((function(){var e=function(){return $.value===ee.value};return e.__closure={currentIndexToSync:$,targetIndexToSync:ee},e.__workletHash=9685574667117,e.__initData=v,e})(),(function(){var e=function(e){if(e&&b&&J.length===U&&J[T.value]){var n=J[T.value].width/2,t=J[T.value].x;(P||tz.value+V-2*n)&&(0,o.scrollTo)(R,t-V/2+n,0,!0)}};return e.__closure={scrollEnabled:b,itemsLayout:J,nTabs:U,index:T,keepActiveTabCentered:P,tabsOffset:z,width:V,scrollTo:o.scrollTo,tabBarRef:R},e.__workletHash=2151549310258,e.__initData=_,e})(),[b,J,U]),(0,r.jsxs)(o.default.ScrollView,{ref:R,horizontal:!0,style:k,contentContainerStyle:[y.contentContainer,!b&&{width:V},E],keyboardShouldPersistTaps:"handled",bounces:!1,alwaysBounceHorizontal:!1,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,automaticallyAdjustContentInsets:!1,overScrollMode:"never",scrollEnabled:b,onScroll:b?Z:void 0,scrollEventThrottle:16,children:[l.map((function(e,n){var t;return(0,r.jsx)(p,{index:n,name:e,label:(null==(t=C.get(e))?void 0:t.label)||A(e),onPress:O,onLayout:b?function(n){return X(n,e)}:void 0,scrollEnabled:b,indexDecimal:h,labelStyle:D,activeColor:j,inactiveColor:H,style:B},e)})),J.length===U&&(0,r.jsx)(_r(d[7]).Indicator,{indexDecimal:h,itemsLayout:J,fadeIn:b,style:S})]})})),a.StyleSheet.create({contentContainer:{flexDirection:'row',flexWrap:'nowrap'}}))}),686,[1,26,153,2,536,194,687,688]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.TABBAR_HEIGHT=_e.MaterialTabItem=void 0;var t=e(_r(d[1])),i=c(_r(d[2])),a=_r(d[3]),o=c(_r(d[4])),n=_r(d[5]),r=["name","index","onPress","onLayout","scrollEnabled","indexDecimal","label","style","labelStyle","activeColor","inactiveColor","inactiveOpacity","pressColor","pressOpacity"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(t);if(i&&i.has(e))return i.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var r=o?Object.getOwnPropertyDescriptor(e,n):null;r&&(r.get||r.set)?Object.defineProperty(a,n,r):a[n]=e[n]}return a.default=e,i&&i.set(e,a),a}var s=_e.TABBAR_HEIGHT=48,u='rgba(0, 0, 0, 1)',p={code:"function anonymous(){const{interpolate,indexDecimal,index,inactiveOpacity,Extrapolation,activeColor,inactiveColor}=this.__closure;return{opacity:interpolate(indexDecimal.value,[index-1,index,index+1],[inactiveOpacity,1,inactiveOpacity],Extrapolation.CLAMP),color:Math.abs(index-indexDecimal.value)<0.5?activeColor:inactiveColor};}"},v=(_e.MaterialTabItem=function(e){var l,c=e.name,s=e.index,y=e.onPress,f=e.onLayout,b=e.scrollEnabled,x=e.indexDecimal,_=e.label,O=e.style,C=e.labelStyle,D=e.activeColor,P=void 0===D?u:D,M=e.inactiveColor,h=void 0===M?u:M,j=e.inactiveOpacity,E=void 0===j?.7:j,w=e.pressColor,A=void 0===w?'#DDDDDD':w,T=e.pressOpacity,H=void 0===T?'ios'===a.Platform.OS?.2:1:T,S=(0,t.default)(e,r),I=(0,o.useAnimatedStyle)(((l=function(){return{opacity:(0,o.interpolate)(x.value,[s-1,s,s+1],[E,1,E],o.Extrapolation.CLAMP),color:Math.abs(s-x.value)<.5?P:h}}).__closure={interpolate:o.interpolate,indexDecimal:x,index:s,inactiveOpacity:E,Extrapolation:o.Extrapolation,activeColor:P,inactiveColor:h},l.__workletHash=4746969570012,l.__initData=p,l)),L=(0,i.useMemo)((function(){return'string'==typeof _?(0,n.jsx)(o.default.Text,{style:[v.label,I,C],children:_}):_(e)}),[_,C,e,I]);return(0,n.jsx)(a.Pressable,Object.assign({onLayout:f,style:function(e){return[{opacity:e.pressed?H:1},!b&&v.grow,v.item,O]},onPress:function(){return y(c)},android_ripple:{borderless:!0,color:A}},S,{children:L}))},a.StyleSheet.create({grow:{flex:1},item:{alignItems:'center',justifyContent:'center',paddingHorizontal:10,height:s},label:{margin:4}}))}),687,[1,119,153,2,536,194]); +__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Indicator=void 0;var e=t(_r(d[1])),i=_r(d[2]),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=a(e);if(i&&i.has(t))return i.get(t);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var u=o?Object.getOwnPropertyDescriptor(t,r):null;u&&(u.get||u.set)?Object.defineProperty(n,r,u):n[r]=t[r]}return n.default=t,i&&i.set(t,n),n})(_r(d[3])),o=_r(d[4]);function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(a=function(t){return t?i:e})(t)}var r={code:"function anonymous(){const{itemsLayout,interpolate,indexDecimal,isRTL,withTiming,opacity}=this.__closure;var _itemsLayout$0$x,_itemsLayout$,_itemsLayout$2;const firstItemX=(_itemsLayout$0$x=(_itemsLayout$=itemsLayout[0])===null||_itemsLayout$===void 0?void 0:_itemsLayout$.x)!==null&&_itemsLayout$0$x!==void 0?_itemsLayout$0$x:0;const transform=[{translateX:itemsLayout.length>1?interpolate(indexDecimal.value,itemsLayout.map(function(_,i){return i;}),itemsLayout.map(function(v){return isRTL?-1*v.x:v.x;})):isRTL?-1*firstItemX:firstItemX}];const width=itemsLayout.length>1?interpolate(indexDecimal.value,itemsLayout.map(function(_,i){return i;}),itemsLayout.map(function(v){return v.width;})):(_itemsLayout$2=itemsLayout[0])===null||_itemsLayout$2===void 0?void 0:_itemsLayout$2.width;return{transform:transform,width:width,opacity:withTiming(opacity.value)};}"},u=(_e.Indicator=function(t){var i,a=t.indexDecimal,l=t.itemsLayout,s=t.style,c=t.fadeIn,f=void 0!==c&&c,y=(0,n.useSharedValue)(f?0:1),p=(0,n.useAnimatedStyle)(((i=function(){var t,e,i,o=null!=(t=null==(e=l[0])?void 0:e.x)?t:0;return{transform:[{translateX:l.length>1?(0,n.interpolate)(a.value,l.map((function(t,e){return e})),l.map((function(t){return _r(d[5]).isRTL?-1*t.x:t.x}))):_r(d[5]).isRTL?-1*o:o}],width:l.length>1?(0,n.interpolate)(a.value,l.map((function(t,e){return e})),l.map((function(t){return t.width}))):null==(i=l[0])?void 0:i.width,opacity:(0,n.withTiming)(y.value)}}).__closure={itemsLayout:l,interpolate:n.interpolate,indexDecimal:a,isRTL:_r(d[5]).isRTL,withTiming:n.withTiming,opacity:y},i.__workletHash=0xc488574103d,i.__initData=r,i),[a,l]);return e.default.useEffect((function(){f&&(y.value=1)}),[f]),(0,o.jsx)(n.default.View,{style:[p,u.indicator,s]})},i.StyleSheet.create({indicator:{height:2,backgroundColor:'#2196f3',position:'absolute',bottom:0}}))}),688,[1,153,2,536,194,689]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.scrollToImpl=_e.isRTL=_e.ONE_FRAME_MS=_e.IS_IOS=_e.AnimatedSectionList=_e.AnimatedFlatList=void 0;var e=_r(d[0]),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=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i})(_r(d[1]));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)}_e.ONE_FRAME_MS=16,_e.isRTL=e.I18nManager.isRTL,_e.IS_IOS='ios'===e.Platform.OS,_e.AnimatedFlatList=t.default.createAnimatedComponent(e.FlatList),_e.AnimatedSectionList=t.default.createAnimatedComponent(e.SectionList);var n={code:"function scrollToImpl(ref,x,y,animated){const{scrollTo}=this.__closure;if(!ref)return;if(!Number.isFinite(x)||!Number.isFinite(y))return;scrollTo(ref,x,y,animated);}"};_e.scrollToImpl=(function(){var e=function(e,r,n,i){e&&Number.isFinite(r)&&Number.isFinite(n)&&(0,t.scrollTo)(e,r,n,i)};return e.__closure={scrollTo:t.scrollTo},e.__workletHash=2236905791707,e.__initData=n,e})()}),689,[2,536]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAfterMountEffect=function(n,t){var l=(0,c.useRef)(!1),o=(0,r(d[7]).useSharedValue)(!1);return(0,r(d[7]).useAnimatedReaction)((function(){var n=function(){return o.value};return n.__closure={didMount:o},n.__workletHash=0xc84a9455b79,n.__initData=A,n})(),(function(){var n=function(n,o){if(n&&!o){if(l.current)return;t(),l.current=!0}};return n.__closure={didExecute:l,effect:t},n.__workletHash=5987998360199,n.__initData=M,n})()),(0,c.useCallback)((function(t){return requestAnimationFrame((function(){o.value=!0})),null==n?void 0:n(t)}),[o,n])},e.useAnimatedDynamicRefs=function(){var n=(0,c.useState)({}),t=(0,u.default)(n,2),l=t[0],s=t[1],f=(0,c.useCallback)((function(n,t){return s((function(l){return Object.assign({},l,(0,o.default)({},n,t))})),t}),[]);return[l,f]},e.useAnimatedTabIndex=function(){return v().indexDecimal},e.useChainCallback=function(n){var t=(0,c.useCallback)((function(){for(var t=arguments.length,l=new Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:0,t=(0,c.useState)(n),l=(0,u.default)(t,2),o=l[0],s=l[1],f=(0,c.useCallback)((function(n){var t=n.nativeEvent.layout.height;t!==o&&s(t)}),[o,s]);return[o,f]},e.useScrollHandlerY=e.usePageScrollHandler=void 0,e.useScroller=S,e.useSharedAnimatedRef=function(n){var t=(0,r(d[7]).useAnimatedRef)();return(0,c.useEffect)((function(){n&&('function'==typeof n?n(t.current):n.current=t.current)})),t},e.useTabNameContext=function(){var n=(0,c.useContext)(r(d[9]).TabNameContext);if(!n)throw new Error('useTabNameContext must be inside a TabNameContext');return n},e.useTabProps=function(n,t){var o=(0,c.useMemo)((function(){var o=new Map;return n&&c.Children.forEach(n,(function(n,u){if(n){if(n.type!==t)throw new Error('Container children must be wrapped in a component');var c=n.props,s=c.name,v=(c.children,(0,l.default)(c,f));if(o.has(s))throw new Error(`Tab names must be unique, ${s} already exists`);o.set(s,Object.assign({index:u,name:s},v))}})),o}),[n,t]),u=Array.from(o.entries()),s=Array.from(o.keys()),v=(0,r(d[8]).useDeepCompareMemo)((function(){return o}),[u]),h=(0,r(d[8]).useDeepCompareMemo)((function(){return s}),[s]);return[v,h]},e.useTabsContext=v,e.useUpdateScrollViewContentSize=function(n){var l=n.name,o=v(),u=o.tabNames,s=o.contentHeights,f=(0,c.useCallback)((_=function(n,l){var o=u.value.indexOf(n);s.value[o]=l,s.value=(0,t.default)(s.value)},_.__closure={tabNames:u,contentHeights:s},_.__workletHash=0xe57ebefb038,_.__initData=h,_),[s,u]);var _;return(0,c.useCallback)((function(n,t){(0,r(d[7]).runOnUI)(f)(l,t)}),[f,l])};var t=n(r(d[1])),l=n(r(d[2])),o=n(r(d[3])),u=n(r(d[4])),c=r(d[5]),s=r(d[6]),f=["name","children"];function v(){var n=(0,c.useContext)(r(d[9]).Context);if(!n)throw new Error('useTabsContext must be inside a Tabs.Container');return n}var h={code:"function anonymous(name,height){const{tabNames,contentHeights}=this.__closure;const tabIndex=tabNames.value.indexOf(name);contentHeights.value[tabIndex]=height;contentHeights.value=[...contentHeights.value];}"};var _={code:"function anonymous(ref,x,y,animated,_debugKey){const{scrollToImpl,contentInset}=this.__closure;if(!ref)return;scrollToImpl(ref,x,y-contentInset,animated);}"};function S(){var n,t=v().contentInset;return(0,c.useCallback)(((n=function(n,l,o,u,c){n&& +//! this is left here on purpose to ease troubleshooting (uncomment when necessary) +//! this is left here on purpose to ease troubleshooting (uncomment when necessary) +(0,r(d[10]).scrollToImpl)(n,l,o-t,u)}).__closure={scrollToImpl:r(d[10]).scrollToImpl,contentInset:t},n.__workletHash=3063221789004,n.__initData=_,n),[t])}var p={code:"function anonymous(toggle){const{enabled}=this.__closure;enabled.value=toggle;}"},b={code:"function anonymous(){const{scrollAnimation}=this.__closure;return scrollAnimation.value;}"},D={code:"function anonymous(val){const{scrollTo,refMap,name}=this.__closure;if(val!==undefined){scrollTo(refMap[name],0,val,false,'[useAnimatedReaction scroll]');}}"},T={code:"function anonymous(){const{enabled,snapThreshold,revealHeaderOnScroll,accDiffClamp,scrollYCurrent,headerScrollDistance,withTiming,scrollAnimation,snappingTo}=this.__closure;if(!enabled.value)return;if(typeof snapThreshold==='number'){if(revealHeaderOnScroll){if(accDiffClamp.value>0){if(scrollYCurrent.value>headerScrollDistance.value*snapThreshold){if(accDiffClamp.value<=headerScrollDistance.value*snapThreshold){accDiffClamp.value=withTiming(0);}else if(accDiffClamp.value0){accDiffClamp.value=Math.min(headerScrollDistance.value,nextValue);}else if(delta<0){accDiffClamp.value=Math.max(0,nextValue);}}}}"},y={code:"function anonymous(){const{enabled,cancelAnimation,accDiffClamp,IS_IOS,afterDrag}=this.__closure;if(!enabled.value)return;cancelAnimation(accDiffClamp);if(IS_IOS)cancelAnimation(afterDrag);}"},C={code:"function anonymous(){const{enabled,IS_IOS,afterDrag,withDelay,ONE_FRAME_MS,withTiming,onMomentumEnd}=this.__closure;if(!enabled.value)return;if(IS_IOS){afterDrag.value=withDelay(ONE_FRAME_MS,withTiming(0,{duration:0},function(isFinished){if(isFinished){onMomentumEnd();}}));}}"},H={code:"function anonymous(){const{enabled,IS_IOS,cancelAnimation,afterDrag}=this.__closure;if(!enabled.value)return;if(IS_IOS){cancelAnimation(afterDrag);}}"},O={code:"function anonymous(isFinished){const{onMomentumEnd}=this.__closure;if(isFinished){onMomentumEnd();}}"},w={code:"function anonymous(){const{indexDecimal}=this.__closure;const isChangingPane=!Number.isInteger(indexDecimal.value);return isChangingPane;}"},x={code:"function anonymous(isSyncNeeded,wasSyncNeeded){const{focusedTab,name,scrollY,StyleSheet,headerScrollDistance,revealHeaderOnScroll,accDiffClamp,snapThreshold,snappingTo,headerHeight,scrollTo,refMap}=this.__closure;if(isSyncNeeded&&isSyncNeeded!==wasSyncNeeded&&focusedTab.value!==name){let nextPosition=null;const focusedScrollY=scrollY.value[focusedTab.value];const tabScrollY=scrollY.value[name];const areEqual=focusedScrollY===tabScrollY;if(!areEqual){const currIsOnTop=tabScrollY+StyleSheet.hairlineWidth<=headerScrollDistance.value;const focusedIsOnTop=focusedScrollY+StyleSheet.hairlineWidth<=headerScrollDistance.value;if(revealHeaderOnScroll){const hasGap=accDiffClamp.value>tabScrollY;if(hasGap||currIsOnTop){nextPosition=accDiffClamp.value;}}else if(typeof snapThreshold==='number'){if(focusedIsOnTop){nextPosition=snappingTo.value;}else if(currIsOnTop){nextPosition=headerHeight||0;}}else if(currIsOnTop||focusedIsOnTop){nextPosition=Math.min(focusedScrollY,headerScrollDistance.value);}}if(nextPosition!==null){scrollY.value[name]=nextPosition;scrollTo(refMap[name],0,nextPosition,false,\"[\"+name+\"] sync pane\");}}}"};e.useScrollHandlerY=function(n){var t,l=v(),o=l.accDiffClamp,u=l.focusedTab,f=l.snapThreshold,h=l.revealHeaderOnScroll,_=l.refMap,A=l.tabNames,M=l.headerHeight,Y=l.contentInset,E=l.containerHeight,k=l.scrollYCurrent,N=l.scrollY,P=l.oldAccScrollY,V=l.accScrollY,R=l.offset,F=l.headerScrollDistance,W=l.snappingTo,J=l.contentHeights,L=l.indexDecimal,q=l.allowHeaderOverscroll,U=(0,r(d[7]).useSharedValue)(!1),j=S(),B=(0,c.useCallback)(((t=function(n){U.value=n}).__closure={enabled:U},t.__workletHash=488124328974,t.__initData=p,t),[n,_,j]),G=(0,r(d[7]).useSharedValue)(0),X=(0,r(d[7]).useSharedValue)(void 0);(0,r(d[7]).useAnimatedReaction)((function(){var n=function(){return X.value};return n.__closure={scrollAnimation:X},n.__workletHash=0xc8f4d2c2659,n.__initData=b,n})(),(function(){var t=function(t){void 0!==t&&j(_[n],0,t,!1,'[useAnimatedReaction scroll]')};return t.__closure={scrollTo:j,refMap:_,name:n},t.__workletHash=9619208408042,t.__initData=D,t})());var $=(function(){var n=function(){U.value&&'number'==typeof f&&(h?o.value>0&&(k.value>F.value*f?o.value<=F.value*f?o.value=(0,r(d[7]).withTiming)(0):o.value0?o.value=Math.min(F.value,v):f<0&&(o.value=Math.max(0,v))}}};return t.__closure={enabled:U,focusedTab:u,name:n,IS_IOS:r(d[10]).IS_IOS,contentInset:Y,contentHeights:J,tabNames:A,containerHeight:E,scrollYCurrent:k,allowHeaderOverscroll:q,interpolate:r(d[7]).interpolate,Extrapolation:r(d[7]).Extrapolation,scrollY:N,oldAccScrollY:P,accScrollY:V,offset:R,revealHeaderOnScroll:h,accDiffClamp:o,headerScrollDistance:F},t.__workletHash=552526603029,t.__initData=I,t})(),onBeginDrag:(function(){var n=function(){U.value&&((0,r(d[7]).cancelAnimation)(o),r(d[10]).IS_IOS&&(0,r(d[7]).cancelAnimation)(G))};return n.__closure={enabled:U,cancelAnimation:r(d[7]).cancelAnimation,accDiffClamp:o,IS_IOS:r(d[10]).IS_IOS,afterDrag:G},n.__workletHash=0xc849c1eebe8,n.__initData=y,n})(),onEndDrag:(function(){var n=function(){U.value&&r(d[10]).IS_IOS&&(G.value=(0,r(d[7]).withDelay)(r(d[10]).ONE_FRAME_MS,(0,r(d[7]).withTiming)(0,{duration:0},(function(){var n=function(n){n&&$()};return n.__closure={onMomentumEnd:$},n.__workletHash=4774582234143,n.__initData=O,n})())))};return n.__closure={enabled:U,IS_IOS:r(d[10]).IS_IOS,afterDrag:G,withDelay:r(d[7]).withDelay,ONE_FRAME_MS:r(d[10]).ONE_FRAME_MS,withTiming:r(d[7]).withTiming,onMomentumEnd:$},n.__workletHash=0xf8923e7a504,n.__initData=C,n})(),onMomentumBegin:(function(){var n=function(){U.value&&r(d[10]).IS_IOS&&(0,r(d[7]).cancelAnimation)(G)};return n.__closure={enabled:U,IS_IOS:r(d[10]).IS_IOS,cancelAnimation:r(d[7]).cancelAnimation,afterDrag:G},n.__workletHash=9101016314856,n.__initData=H,n})(),onMomentumEnd:$},[_,n,h,E,Y,f,U,j]);return(0,r(d[7]).useAnimatedReaction)((function(){var n=function(){return!Number.isInteger(L.value)};return n.__closure={indexDecimal:L},n.__workletHash=7158357574123,n.__initData=w,n})(),(function(){var t=function(t,l){if(t&&t!==l&&u.value!==n){var c=null,v=N.value[u.value],S=N.value[n];if(!(v===S)){var p=S+s.StyleSheet.hairlineWidth<=F.value,b=v+s.StyleSheet.hairlineWidth<=F.value;if(h)(o.value>S||p)&&(c=o.value);else'number'==typeof f?b?c=W.value:p&&(c=M||0):(p||b)&&(c=Math.min(v,F.value))}null!==c&&(N.value[n]=c,j(_[n],0,c,!1,`[${n}] sync pane`))}};return t.__closure={focusedTab:u,name:n,scrollY:N,StyleSheet:s.StyleSheet,headerScrollDistance:F,revealHeaderOnScroll:h,accDiffClamp:o,snapThreshold:f,snappingTo:W,headerHeight:M,scrollTo:j,refMap:_},t.__workletHash=2009019147581,t.__initData=x,t})(),[h,_,f,U,j]),{scrollHandler:z,enable:B}};var A={code:"function anonymous(){const{didMount}=this.__closure;return didMount.value;}"},M={code:"function anonymous(didMount,prevDidMount){const{didExecute,effect}=this.__closure;if(didMount&&!prevDidMount){if(didExecute.current)return;effect();didExecute.current=true;}}"};var Y={code:"function anonymous(){const{animatedValue}=this.__closure;return animatedValue.value;}"},E={code:"function anonymous(animValue){const{value,runOnJS,setValue}=this.__closure;if(animValue!==value){runOnJS(setValue)(animValue);}}"};function k(n){var t,l=(0,c.useState)(n.value),o=(0,u.default)(l,2),s=o[0],f=o[1];return(0,r(d[7]).useAnimatedReaction)(((t=function(){return n.value}).__closure={animatedValue:n},t.__workletHash=9610352946169,t.__initData=Y,t),(function(){var n=function(n){n!==s&&(0,r(d[7]).runOnJS)(f)(n)};return n.__closure={value:s,runOnJS:r(d[7]).runOnJS,setValue:f},n.__workletHash=0xf125b7214ff,n.__initData=E,n})(),[s]),s||0}var N={code:"function anonymous(event){const{handlers,context}=this.__closure;const{onPageScroll:onPageScroll}=handlers;if(onPageScroll&&event.eventName.endsWith('onPageScroll')){onPageScroll(event,context);}}"};e.usePageScrollHandler=function(n,t){var l,o=(0,r(d[7]).useHandler)(n,t),u=o.context,c=o.doDependenciesDiffer;return(0,r(d[7]).useEvent)(((l=function(t){var l=n.onPageScroll;l&&t.eventName.endsWith('onPageScroll')&&l(t,u)}).__closure={handlers:n,context:u},l.__workletHash=0xfb2a444e147,l.__initData=N,l),['onPageScroll'],c)}}),690,[1,34,119,170,26,153,2,536,691,693,689]); +__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var u,t=(u=r(d[0]))&&'object'==typeof u&&'default'in u?u.default:u;function n(u){var n=t.useRef(u),c=t.useRef(0);return r(d[1]).dequal(u,n.current)||(n.current=u,c.current+=1),t.useMemo((function(){return n.current}),[c.current])}e.useDeepCompareCallback=function(u,c){return t.useCallback(u,n(c))},e.useDeepCompareEffect=function(u,c){t.useEffect(u,n(c))},e.useDeepCompareMemo=function(u,c){return t.useMemo(u,n(c))}}),691,[153,692]); +__d((function(g,r,i,a,m,e,d){var t=Object.prototype.hasOwnProperty;function n(t,n,o){for(o of t.keys())if(f(o,n))return o}function f(o,u){var y,c,s;if(o===u)return!0;if(o&&u&&(y=o.constructor)===u.constructor){if(y===Date)return o.getTime()===u.getTime();if(y===RegExp)return o.toString()===u.toString();if(y===Array){if((c=o.length)===u.length)for(;c--&&f(o[c],u[c]););return-1===c}if(y===Set){if(o.size!==u.size)return!1;for(c of o){if((s=c)&&'object'==typeof s&&!(s=n(u,s)))return!1;if(!u.has(s))return!1}return!0}if(y===Map){if(o.size!==u.size)return!1;for(c of o){if((s=c[0])&&'object'==typeof s&&!(s=n(u,s)))return!1;if(!f(c[1],u.get(s)))return!1}return!0}if(y===ArrayBuffer)o=new Uint8Array(o),u=new Uint8Array(u);else if(y===DataView){if((c=o.byteLength)===u.byteLength)for(;c--&&o.getInt8(c)===u.getInt8(c););return-1===c}if(ArrayBuffer.isView(o)){if((c=o.byteLength)===u.byteLength)for(;c--&&o[c]===u[c];);return-1===c}if(!y||'object'==typeof o){for(y in c=0,o){if(t.call(o,y)&&++c&&!t.call(u,y))return!1;if(!(y in u)||!f(o[y],u[y]))return!1}return Object.keys(u).length===c}}return o!=o&&u!=u}e.dequal=f}),692,[]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TabNameContext=e.Context=void 0;var o=t(r(d[1]));e.Context=o.default.createContext(void 0),e.TabNameContext=o.default.createContext(void 0)}),693,[1,153]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Tab=function(n){var c=n.children;return(0,t.jsx)(t.Fragment,{children:c})};n(r(d[1]));var t=r(d[2])}),694,[1,153,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Lazy=void 0;var n=e(_r(d[1])),t=c(_r(d[2])),a=_r(d[3]),u=c(_r(d[4])),o=_r(d[5]);function r(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(r=function(e){return e?t:n})(e)}function c(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r(n);if(t&&t.has(e))return t.get(e);var a={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=u?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(a,o,c):a[o]=e[o]}return a.default=e,t&&t.set(e,a),a}var i={code:"function anonymous(){const{focusedTab,name}=this.__closure;return focusedTab.value===name;}"},s={code:"function anonymous(focused,wasFocused){const{canMount,cancelLazyFadeIn,opacity,runOnJS,setCanMount,startMountTimer,focusedTab}=this.__closure;if(focused&&!wasFocused&&!canMount){if(cancelLazyFadeIn){opacity.value=1;runOnJS(setCanMount)(true);}else{runOnJS(startMountTimer)(focusedTab.value);}}}"},l={code:"function anonymous(){const{didTriggerLayout}=this.__closure;return didTriggerLayout.value;}"},f={code:"function anonymous(isMounted,wasMounted){const{cancelLazyFadeIn,opacity,withTiming}=this.__closure;if(isMounted&&!wasMounted){if(!cancelLazyFadeIn&&opacity.value!==1){opacity.value=withTiming(1);}}}"},_={code:"function anonymous(){const{opacity}=this.__closure;return{opacity:opacity.value};}"},y=(_e.Lazy=function(e){var a=e.children,r=e.cancelLazyFadeIn,c=e.startMounted,v=e.mountDelayMs,p=void 0===v?50:v,h=(0,_r(d[6]).useTabNameContext)(),w=(0,_r(d[6]).useTabsContext)(),M=w.focusedTab,T=w.refMap,b=(0,u.useSharedValue)(!1),O=t.default.useState(!1),S=(0,n.default)(O,2),L=S[0],k=S[1],j=t.default.useRef(!0),z='boolean'==typeof c?c:M.value===h,F=1;r||z||(F=0);var D=(0,u.useSharedValue)(F);t.default.useEffect((function(){return function(){j.current=!1}}),[]);var C,I=t.default.useCallback((function(e){setTimeout((function(){e===h&&j.current&&k(!0)}),p)}),[p,h]);(0,u.useAnimatedReaction)(((C=function(){return M.value===h}).__closure={focusedTab:M,name:h},C.__workletHash=7117752843912,C.__initData=i,C),(function(){var e=function(e,n){!e||n||L||(r?(D.value=1,(0,u.runOnJS)(k)(!0)):(0,u.runOnJS)(I)(M.value))};return e.__closure={canMount:L,cancelLazyFadeIn:r,opacity:D,runOnJS:u.runOnJS,setCanMount:k,startMountTimer:I,focusedTab:M},e.__workletHash=9599933991592,e.__initData=s,e})(),[L,M]);var J=(0,_r(d[6]).useScroller)(),x=h?T[h]:null;(0,u.useAnimatedReaction)((function(){var e=function(){return b.value};return e.__closure={didTriggerLayout:b},e.__workletHash=2589281471993,e.__initData=l,e})(),(function(){var e=function(e,n){e&&!n&&(r||1===D.value||(D.value=(0,u.withTiming)(1)))};return e.__closure={cancelLazyFadeIn:r,opacity:D,withTiming:u.withTiming},e.__workletHash=5482017350270,e.__initData=f,e})(),[x,r,h,b,J]);var P=(0,u.useAnimatedStyle)((function(){var e=function(){return{opacity:D.value}};return e.__closure={opacity:D},e.__workletHash=8964404333244,e.__initData=_,e})(),[D]),H=(0,t.useCallback)((function(){b.value=!0}),[b]);return L?r?a:(0,o.jsx)(u.default.View,{pointerEvents:"box-none",style:[y.container,r?void 0:P],onLayout:H,children:a}):(0,o.jsx)(_r(d[7]).ScrollView,{})},a.StyleSheet.create({container:{flex:1}}))}),695,[1,26,153,2,536,194,690,696]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollView=void 0;var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),s=["contentContainerStyle","style","onContentSizeChange","children","refreshControl"],f=o.default.memo(o.default.forwardRef((function(t,n){return(0,u.jsx)(l.default.ScrollView,Object.assign({ref:n},t))}))),c={code:"function anonymous(){const{enable}=this.__closure;enable(true);}"};e.ScrollView=o.default.forwardRef((function(t,l){var C,S=t.contentContainerStyle,y=t.style,b=t.onContentSizeChange,h=t.children,_=t.refreshControl,w=(0,n.default)(t,s),M=(0,r(d[5]).useTabNameContext)(),p=(0,r(d[5]).useSharedAnimatedRef)(l),j=(0,r(d[5]).useTabsContext)(),v=j.setRef,O=j.contentInset,x=(0,r(d[5]).useCollapsibleStyle)(),V=x.style,E=x.contentContainerStyle,z=x.progressViewOffset,R=(0,r(d[5]).useScrollHandlerY)(M),A=R.scrollHandler,H=R.enable,I=(0,r(d[5]).useAfterMountEffect)(w.onLayout,((C=function(){H(!0)}).__closure={enable:H},C.__workletHash=0xfabc8c85001,C.__initData=c,C));o.default.useEffect((function(){v(M,p)}),[M,p,v]);var T=(0,r(d[5]).useUpdateScrollViewContentSize)({name:M}),k=(0,r(d[5]).useChainCallback)(o.default.useMemo((function(){return[T,b]}),[b,T])),L=o.default.useMemo((function(){return _&&o.default.cloneElement(_,Object.assign({progressViewOffset:z},_.props))}),[z,_]),D=o.default.useMemo((function(){return{top:O}}),[O]),N=o.default.useMemo((function(){return{x:0,y:-O}}),[O]),P=o.default.useMemo((function(){return[E,S]}),[E,S]),U=o.default.useMemo((function(){return[V,y]}),[V,y]);return(0,u.jsx)(f,Object.assign({},w,{onLayout:I,ref:p,bouncesZoom:!1,style:U,contentContainerStyle:P,onScroll:A,onContentSizeChange:k,scrollEventThrottle:16,contentInset:D,contentOffset:N,automaticallyAdjustContentInsets:!1,refreshControl:L,onMomentumScrollEnd:function(){},children:h}))}))}),696,[1,119,153,536,194,690]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.FlashList=void 0;var t=e(_r(d[1])),n=u(_r(d[2])),o=u(_r(d[3])),r=_r(d[4]),a=["style","onContentSizeChange","refreshControl","contentContainerStyle"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=r?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}var s=null,i=function(){if(!s)try{var e=_r(d[5]);s=o.default.createAnimatedComponent(e.FlashList)}catch(e){console.error('The optional dependency @shopify/flash-list is not installed. Please install it to use the FlashList component.')}},f=n.default.memo(n.default.forwardRef((function(e,t){return i(),s?(0,r.jsx)(s,Object.assign({ref:t},e)):(0,r.jsx)(r.Fragment,{})}))),c={code:"function anonymous(){const{hadLoad}=this.__closure;return hadLoad.value;}"},p={code:"function anonymous(ready){const{enable}=this.__closure;if(ready){enable(true);}}"};_e.FlashList=n.default.forwardRef((function(e,l){e.style;var u,s=e.onContentSizeChange,i=e.refreshControl,h=e.contentContainerStyle,y=(0,t.default)(e,a),_=(0,_r(d[6]).useTabNameContext)(),b=(0,_r(d[6]).useTabsContext)(),C=b.setRef,v=b.contentInset,O=(0,_r(d[6]).useSharedAnimatedRef)(l),j=(0,_r(d[6]).useSharedAnimatedRef)(null),S=(0,_r(d[6]).useScrollHandlerY)(_),w=S.scrollHandler,M=S.enable,k=(0,o.useSharedValue)(!1),x=(0,n.useCallback)((function(){k.value=!0}),[k]);(0,o.useAnimatedReaction)(((u=function(){return k.value}).__closure={hadLoad:k},u.__workletHash=0xeb27d9d9819,u.__initData=c,u),(function(){var e=function(e){e&&M(!0)};return e.__closure={enable:M},e.__workletHash=0x9eea9564169,e.__initData=p,e})());var L=(0,_r(d[6]).useCollapsibleStyle)(),P=L.progressViewOffset,T=L.contentContainerStyle;n.default.useEffect((function(){C(_,j)}),[_,j,C]);var R=(0,_r(d[6]).useUpdateScrollViewContentSize)({name:_}),A=(0,_r(d[6]).useChainCallback)(n.default.useMemo((function(){return[R,s]}),[s,R])),F=n.default.useMemo((function(){return i&&n.default.cloneElement(i,Object.assign({progressViewOffset:P},i.props))}),[P,i]),V=n.default.useMemo((function(){return{top:v}}),[v]),z=n.default.useMemo((function(){return{x:0,y:-v}}),[v]),D=n.default.useMemo((function(){return Object.assign({paddingTop:T.paddingTop},h)}),[h,T.paddingTop]),H=(0,n.useCallback)((function(e){j(null==e?void 0:e.recyclerlistview_unsafe),O(e)}),[j,O]);return(0,r.jsx)(f,Object.assign({},y,{onLoad:x,ref:H,contentContainerStyle:D,bouncesZoom:!1,onScroll:w,scrollEventThrottle:16,contentInset:V,contentOffset:z,refreshControl:F,progressViewOffset:P,automaticallyAdjustContentInsets:!1,onContentSizeChange:A}))}))}),697,[1,119,153,536,194,690]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FlatList=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=r(d[3]),u=["contentContainerStyle","style","onContentSizeChange","refreshControl"],l=o.default.memo(o.default.forwardRef((function(t,n){return(0,s.jsx)(r(d[4]).AnimatedFlatList,Object.assign({ref:n},t))}))),f={code:"function anonymous(){const{enable}=this.__closure;enable(true);}"};e.FlatList=o.default.forwardRef((function(t,c){var C,y=t.contentContainerStyle,b=t.style,S=t.onContentSizeChange,_=t.refreshControl,h=(0,n.default)(t,u),p=(0,r(d[5]).useTabNameContext)(),M=(0,r(d[5]).useTabsContext)(),O=M.setRef,j=M.contentInset,v=(0,r(d[5]).useSharedAnimatedRef)(c),w=(0,r(d[5]).useScrollHandlerY)(p),x=w.scrollHandler,E=w.enable,L=(0,r(d[5]).useAfterMountEffect)(h.onLayout,((C=function(){E(!0)}).__closure={enable:E},C.__workletHash=0xfabc8c85001,C.__initData=f,C)),z=(0,r(d[5]).useCollapsibleStyle)(),A=z.style,R=z.contentContainerStyle,V=z.progressViewOffset;o.default.useEffect((function(){O(p,v)}),[p,v,O]);var F=(0,r(d[5]).useUpdateScrollViewContentSize)({name:p}),H=(0,r(d[5]).useChainCallback)(o.default.useMemo((function(){return[F,S]}),[S,F])),I=o.default.useMemo((function(){return _&&o.default.cloneElement(_,Object.assign({progressViewOffset:V},_.props))}),[V,_]),T=o.default.useMemo((function(){return{top:j}}),[j]),k=o.default.useMemo((function(){return{x:0,y:-j}}),[j]),D=o.default.useMemo((function(){return[R,y]}),[R,y]),N=o.default.useMemo((function(){return[A,b]}),[A,b]);return(0,s.jsx)(l,Object.assign({},h,{onLayout:L,ref:v,bouncesZoom:!1,style:N,contentContainerStyle:D,progressViewOffset:V,onScroll:x,onContentSizeChange:H,scrollEventThrottle:16,contentInset:T,contentOffset:k,automaticallyAdjustContentInsets:!1,refreshControl:I,onMomentumScrollEnd:function(){}}))}))}),698,[1,119,153,194,689,690]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.MasonryFlashList=void 0;var t=e(_r(d[1])),n=s(_r(d[2])),o=s(_r(d[3])),r=_r(d[4]),a=["style","onContentSizeChange","contentContainerStyle","refreshControl"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=r?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}var u=null,i=function(){if(!u)try{var e=_r(d[5]);u=o.default.createAnimatedComponent(e.MasonryFlashList)}catch(e){console.error('The optional dependency @shopify/flash-list is not installed. Please install it to use the FlashList component.')}},f=n.default.memo(n.default.forwardRef((function(e,t){return i(),u?(0,r.jsx)(u,Object.assign({ref:t},e)):(0,r.jsx)(r.Fragment,{})}))),c={code:"function anonymous(){const{hadLoad}=this.__closure;return hadLoad.value;}"},p={code:"function anonymous(ready){const{enable}=this.__closure;if(ready){enable(true);}}"};_e.MasonryFlashList=n.default.forwardRef((function(e,l){e.style;var s,u=e.onContentSizeChange,i=e.contentContainerStyle,y=e.refreshControl,h=(0,t.default)(e,a),_=(0,_r(d[6]).useTabNameContext)(),b=(0,_r(d[6]).useTabsContext)(),C=b.setRef,v=b.contentInset,O=(0,_r(d[6]).useSharedAnimatedRef)(null),j=(0,_r(d[6]).useSharedAnimatedRef)(l),S=(0,_r(d[6]).useScrollHandlerY)(_),w=S.scrollHandler,M=S.enable,k=(0,o.useSharedValue)(!1),x=(0,n.useCallback)((function(){k.value=!0}),[k]);(0,o.useAnimatedReaction)(((s=function(){return k.value}).__closure={hadLoad:k},s.__workletHash=0xeb27d9d9819,s.__initData=c,s),(function(){var e=function(e){e&&M(!0)};return e.__closure={enable:M},e.__workletHash=0x9eea9564169,e.__initData=p,e})());var L=(0,_r(d[6]).useCollapsibleStyle)(),P=L.progressViewOffset,T=L.contentContainerStyle;n.default.useEffect((function(){C(_,O)}),[_,O,C]);var R=(0,_r(d[6]).useUpdateScrollViewContentSize)({name:_}),A=(0,_r(d[6]).useChainCallback)(n.default.useMemo((function(){return[R,u]}),[u,R])),F=n.default.useMemo((function(){return y&&n.default.cloneElement(y,Object.assign({progressViewOffset:P},y.props))}),[P,y]),V=n.default.useMemo((function(){return{top:v}}),[v]),z=n.default.useMemo((function(){return{x:0,y:-v}}),[v]),D=n.default.useMemo((function(){return Object.assign({paddingTop:T.paddingTop},i)}),[i,T.paddingTop]),H=(0,n.useCallback)((function(e){O(null==e?void 0:e.recyclerlistview_unsafe),j(e)}),[O,j]);return(0,r.jsx)(f,Object.assign({},h,{onLoad:x,contentContainerStyle:D,ref:H,bouncesZoom:!1,onScroll:w,scrollEventThrottle:16,contentInset:V,contentOffset:z,refreshControl:F,progressViewOffset:P,automaticallyAdjustContentInsets:!1,onContentSizeChange:A}))}))}),699,[1,119,153,536,194,690]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.SectionList=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=r(d[3]),u=["contentContainerStyle","style","onContentSizeChange","refreshControl"],l=o.default.memo(o.default.forwardRef((function(t,n){return(0,s.jsx)(r(d[4]).AnimatedSectionList,Object.assign({ref:n},t))}))),f={code:"function anonymous(){const{enable}=this.__closure;enable(true);}"};e.SectionList=o.default.forwardRef((function(t,c){var C,S=t.contentContainerStyle,y=t.style,b=t.onContentSizeChange,_=t.refreshControl,h=(0,n.default)(t,u),p=(0,r(d[5]).useTabNameContext)(),M=(0,r(d[5]).useTabsContext)(),O=M.setRef,j=M.contentInset,v=(0,r(d[5]).useSharedAnimatedRef)(c),w=(0,r(d[5]).useScrollHandlerY)(p),x=w.scrollHandler,E=w.enable,L=(0,r(d[5]).useAfterMountEffect)(h.onLayout,((C=function(){E(!0)}).__closure={enable:E},C.__workletHash=0xfabc8c85001,C.__initData=f,C)),z=(0,r(d[5]).useCollapsibleStyle)(),A=z.style,R=z.contentContainerStyle,V=z.progressViewOffset;o.default.useEffect((function(){O(p,v)}),[p,v,O]);var H=(0,r(d[5]).useUpdateScrollViewContentSize)({name:p}),I=(0,r(d[5]).useChainCallback)(o.default.useMemo((function(){return[H,b]}),[b,H])),T=o.default.useMemo((function(){return _&&o.default.cloneElement(_,Object.assign({progressViewOffset:V},_.props))}),[V,_]),k=o.default.useMemo((function(){return{top:j}}),[j]),D=o.default.useMemo((function(){return{x:0,y:-j}}),[j]),N=o.default.useMemo((function(){return[R,S]}),[R,S]),P=o.default.useMemo((function(){return[A,y]}),[A,y]);return(0,s.jsx)(l,Object.assign({},h,{onLayout:L,ref:v,bouncesZoom:!1,style:P,contentContainerStyle:N,progressViewOffset:V,onScroll:x,onContentSizeChange:I,scrollEventThrottle:16,contentInset:k,contentOffset:D,automaticallyAdjustContentInsets:!1,refreshControl:T,onMomentumScrollEnd:function(){}}))}))}),700,[1,119,153,194,689,690]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.route,f=e.navigation,x=(0,_r(d[10]).useTranslation)().t,p=n.useState(""),h=(0,t.default)(p,2),S=h[0],_=h[1],b=(0,c.default)(),j=b.renderSnackBar,T=b.showSnackBar,k=(0,o.default)(T).execute,v=u.params.authMode,O=(function(){switch(v){case _r(d[11]).AuthMode.social:return{userToken:(0,_r(d[12]).useSelector)(_r(d[13]).selectSocialUserToken),encryptionKey:(0,_r(d[12]).useSelector)(_r(d[13]).selectSocialEncryptionKey)};case _r(d[11]).AuthMode.email:return{userToken:(0,_r(d[12]).useSelector)(_r(d[13]).selectEmailUserToken),encryptionKey:(0,_r(d[12]).useSelector)(_r(d[13]).selectEmailEncryptionKey)};default:return{userToken:null,encryptionKey:null}}})(),w=O.userToken,M=O.encryptionKey;return(0,a.jsxs)(l.SafeAreaView,{style:_r(d[14]).commonStyles.container,children:[(0,a.jsx)(l.TouchableOpacity,{accessibilityLabel:'executeScreenCloseBt',style:{marginLeft:4,marginTop:8},onPressOut:function(){f.goBack()},children:(0,a.jsx)(l.Image,{source:_r(d[15])})}),(0,a.jsx)(l.ScrollView,{children:(0,a.jsxs)(l.View,{style:[_r(d[14]).commonStyles.containerWithPadding,{justifyContent:'flex-start'}],children:[(0,a.jsx)(l.Text,{style:y.title,children:x('go_execute_bt')}),(0,a.jsx)(l.Text,{style:_r(d[14]).commonStyles.inputTitle,children:x("encryption_title")}),(P=M,B="executeEncryptionKey",P?(0,a.jsx)(l.Text,{accessibilityLabel:B,style:[_r(d[14]).commonStyles.normalValueText],children:P}):null),(0,a.jsx)(l.Text,{style:_r(d[14]).commonStyles.inputTitle,children:x("user_token_title")}),(0,a.jsx)(i.default,{accessibilityLabel:'executeUserToken',value:w}),(0,a.jsx)(s.default,{text:x('challenge_id_title')}),(0,a.jsx)(r.default,{accessibilityLabel:"challengeIdInput",onChangeText:_,value:S}),(0,a.jsx)(_r(d[16]).MainButton,{accessibilityLabel:"executeExecuteBt",text:x("execute_bt"),isSecondary:!1,onPressOut:function(){w&&M&&k(w,M,S,(function(e){T(x('execute_success'),!0),console.log(JSON.stringify(e))}),(function(e){T(e.message,!1)}))},disabled:0===S.length}),j()]})})]});var P,B};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=r?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(l,o,c):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l})(_r(d[2])),l=_r(d[3]),r=e(_r(d[4])),o=e(_r(d[5])),c=e(_r(d[6])),i=e(_r(d[7])),s=e(_r(d[8])),a=_r(d[9]);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 y=l.StyleSheet.create({title:{fontFamily:"Inter-Semi-Bold",color:_r(d[14]).colors.execute_challenge_screen_title,fontWeight:"700",fontSize:22,textAlign:'center',marginBottom:8}})}),701,[1,26,153,2,463,465,504,484,491,194,443,461,472,483,464,515,500]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1])),u=t(r(d[2]))}),702,[1,703,704]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),i=_r(d[4]),a=["id","initialRouteName","children","screenListeners","screenOptions"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}_e.default=(0,_r(d[5]).createNavigatorFactory)((function(e){var o=e.id,s=e.initialRouteName,u=e.children,c=e.screenListeners,l=e.screenOptions,f=(0,t.default)(e,a),p=(0,_r(d[5]).useNavigationBuilder)(_r(d[5]).StackRouter,{id:o,initialRouteName:s,children:u,screenListeners:c,screenOptions:l}),v=p.state,O=p.descriptors,y=p.navigation,j=p.NavigationContent;return n.useEffect((function(){return null==y||null==y.addListener?void 0:y.addListener('tabPress',(function(e){var t=y.isFocused();requestAnimationFrame((function(){v.index>0&&t&&!e.defaultPrevented&&y.dispatch(Object.assign({},_r(d[5]).StackActions.popToTop(),{target:v.key}))}))}))}),[y,v.index,v.key]),(0,i.jsx)(j,{children:(0,i.jsx)(r.default,Object.assign({},f,{state:v,navigation:y,descriptors:O}))})}))}),703,[1,119,153,704,194,708]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,c.jsx)(_r(d[13]).SafeAreaProviderCompat,{children:(0,c.jsx)(f,Object.assign({},e))})};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a})(_r(d[2])),a=_r(d[3]),i=e(_r(d[4])),r=e(_r(d[5])),o=e(_r(d[6])),s=e(_r(d[7])),l=e(_r(d[8])),c=_r(d[9]);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 p='android'===a.Platform.OS,v=function(e){var t=e.options,r=e.route,o=e.presentation,u=e.headerHeight,v=e.headerTopInsetEnabled,h=e.children,f=(0,_r(d[10]).useTheme)().colors,k=t.header,x=t.headerShown,S=void 0===x||x,b=t.contentStyle,B=!p&&('card'!==o&&!0===S&&void 0===k),j=n.useRef(S);n.useEffect((function(){(0,i.default)(!p&&'card'!==o&&j.current!==S,`Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '${r.name}'.`),j.current=S}),[S,o,r.name]);var D=(0,c.jsx)(s.default,{style:[y.container,'transparentModal'!==o&&'containedTransparentModal'!==o&&{backgroundColor:f.background},b],stackPresentation:'card'===o?'push':o,children:h});return B?(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:(0,c.jsxs)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,children:[D,(0,c.jsx)(l.default,Object.assign({},t,{route:r,headerHeight:u,headerTopInsetEnabled:v,canGoBack:!0}))]})}):D},h=function(e){var i,r=e.index,o=e.focused,s=e.descriptor,u=e.previousDescriptor,h=e.nextDescriptor,f=e.onWillDisappear,k=e.onAppear,x=e.onDisappear,S=e.onDismissed,b=e.onHeaderBackButtonClicked,B=e.onNativeDismissCancelled,j=s.route,D=s.navigation,C=s.options,H=s.render,O=C.animationDuration,P=C.animationTypeForReplace,w=void 0===P?'push':P,E=C.gestureEnabled,A=C.header,T=C.headerBackButtonMenuEnabled,_=C.headerShown,M=C.headerBackground,I=C.headerTransparent,N=C.autoHideHomeIndicator,R=C.navigationBarColor,W=C.navigationBarHidden,F=C.orientation,z=C.statusBarAnimation,G=C.statusBarHidden,V=C.statusBarStyle,K=C.statusBarTranslucent,L=C.statusBarColor,$=C.freezeOnBlur,q=C.animation,J=C.customAnimationOnGesture,Q=C.fullScreenGestureEnabled,U=C.presentation,X=void 0===U?'card':U,Y=C.gestureDirection,Z=void 0===Y?'card'===X?'horizontal':'vertical':Y;'vertical'===Z&&'ios'===a.Platform.OS&&(void 0===Q&&(Q=!0),void 0===J&&(J=!0),void 0===q&&(q='slide_from_bottom'));var ee=null==h?void 0:h.options.gestureDirection,te=null!=ee?ee:Z;0===r&&(X='card');var ne=(0,_r(d[12]).useSafeAreaInsets)(),ae=(0,_r(d[12]).useSafeAreaFrame)(),ie='modal'===X||'formSheet'===X,re='ios'===a.Platform.OS&&!(a.Platform.isPad||a.Platform.isTV),oe=ae.width>ae.height,se=n.useContext(_r(d[13]).HeaderShownContext),le=n.useContext(_r(d[13]).HeaderHeightContext),de=n.useContext(_r(d[13]).HeaderBackContext),ce=se||'ios'===a.Platform.OS&&ie||re&&oe?0:ne.top,ue='ios'===a.Platform.OS&&ce>50?ce-5:ce,pe=(0,_r(d[10]).usePreventRemoveContext)().preventedRoutes,ve=(0,_r(d[13]).getDefaultHeaderHeight)(ae,ie,ue),he=n.useState(ve),fe=(0,t.default)(he,2),ge=fe[0],me=fe[1],ye=0!==ce,ke=A?ge:ve,xe=u?{title:(0,_r(d[13]).getHeaderTitle)(u.options,u.route.name)}:de,Se=null==(i=pe[j.key])?void 0:i.preventRemove;return(0,c.jsx)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,customAnimationOnSwipe:J,fullScreenSwipeEnabled:Q,gestureEnabled:!p&&E,homeIndicatorHidden:N,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:w,stackPresentation:'card'===X?'push':X,stackAnimation:q,screenOrientation:F,statusBarAnimation:z,statusBarHidden:G,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:O,onWillDisappear:f,onAppear:k,onDisappear:x,onDismissed:S,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:b,preventNativeDismiss:Se,onNativeDismissCancelled:B,freezeOnBlur:$,children:(0,c.jsx)(_r(d[10]).NavigationContext.Provider,{value:D,children:(0,c.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:j,children:(0,c.jsx)(_r(d[13]).HeaderShownContext.Provider,{value:se||!1!==_,children:(0,c.jsxs)(_r(d[13]).HeaderHeightContext.Provider,{value:!1!==_?ke:null!=le?le:0,children:[null!=M?(0,c.jsx)(a.View,{style:[y.background,I?y.translucent:null,{height:ke}],children:M()}):null,(0,c.jsxs)(a.View,{accessibilityElementsHidden:!o,importantForAccessibility:o?'auto':'no-hide-descendants',style:y.scene,children:[(0,c.jsx)(v,{options:C,route:j,presentation:X,headerHeight:ke,headerTopInsetEnabled:ye,children:(0,c.jsx)(_r(d[13]).HeaderBackContext.Provider,{value:xe,children:H()})}),void 0!==A&&!1!==_?(0,c.jsx)(a.View,{onLayout:function(e){me(e.nativeEvent.layout.height)},style:I?y.absolute:null,children:A({back:xe,options:C,route:j,navigation:D})}):null]}),(0,c.jsx)(l.default,Object.assign({},C,{route:j,headerBackButtonMenuEnabled:void 0!==Se?!Se:T,headerShown:void 0===A&&_,headerHeight:ke,headerBackTitle:void 0!==C.headerBackTitle?C.headerBackTitle:void 0,headerTopInsetEnabled:ye,canGoBack:void 0!==xe}))]})})})})},j.key)};function f(e){var t=e.state,n=e.navigation,a=e.descriptors,i=(0,r.default)(t).setNextDismissedKey;return(0,o.default)(a),(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:t.routes.map((function(e,r){var o,s,l=a[e.key],u=t.index===r,p=null==(o=t.routes[r-1])?void 0:o.key,v=null==(s=t.routes[r+1])?void 0:s.key,f=p?a[p]:void 0,y=v?a[v]:void 0;return(0,c.jsx)(h,{index:r,focused:u,descriptor:l,previousDescriptor:f,nextDescriptor:y,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key})),i(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)}))})}var y=a.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1,elevation:1},background:{overflow:'hidden'}})}),704,[1,26,153,2,705,706,707,804,805,194,708,839,816,807]); +__d((function(g,r,i,a,m,e,d){new Set;m.exports=function(n){}}),705,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var r,o=n.useState(null),u=(0,t.default)(o,2),a=u[0],i=u[1],f=a?null==(r=e.routes.find((function(e){return e.key===a})))?void 0:r.name:null;return n.useEffect((function(){if(f){var e=`The screen '${f}' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.`;console.error(e)}}),[f]),{setNextDismissedKey:i}};var t=e(_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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}}),706,[1,26,153]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var n,r,o=(0,_r(d[1]).usePreventRemoveContext)().preventedRoutes,u=Object.keys(o)[0],a=t[u],l=null==a||null==(n=a.options)?void 0:n.headerBackButtonMenuEnabled,i=null==a||null==(r=a.route)?void 0:r.name;e.useEffect((function(){if(null!=u&&l){var e=`The screen ${i} uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from ${i} screen to get rid of this error.`;console.error(e)}}),[u,l,i])};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 r=t(n);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=u?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:n})(e)}}),707,[153,708]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Link:!0,LinkingContext:!0,NavigationContainer:!0,ServerContainer:!0,DarkTheme:!0,DefaultTheme:!0,ThemeProvider:!0,useTheme:!0,useLinkBuilder:!0,useLinkProps:!0,useLinkTo:!0,useScrollToTop:!0};Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"LinkingContext",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return y.default}});var u=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),b=t(r(d[6])),p=t(r(d[7])),y=t(r(d[8]));Object.keys(r(d[9])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[9])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[9])[t]}}))}));var O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),s=t(r(d[13]));Object.keys(r(d[14])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[14])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[14])[t]}}))}))}),708,[1,709,711,788,797,799,789,790,800,801,802,710,712,803,713]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.to,f=e.action,l=(0,t.default)(e,a),c=(0,o.default)({to:u,action:f}),i=function(e){'onPress'in l&&(null==l.onPress||l.onPress(e)),c.onPress(e)};return n.createElement(r.Text,Object.assign({},c,l,r.Platform.select({web:{onClick:i},default:{onPress:i}})))};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(r,a,f):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=_r(d[3]),o=e(_r(d[4])),a=["to","action"];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)}}),709,[1,119,153,2,710]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var o,u=e.to,l=e.action,s=t.useContext(_r(d[5]).NavigationContainerRefContext),f=t.useContext(_r(d[5]).NavigationHelpersContext),c=t.useContext(r.default).options,p=(0,a.default)(),v=null!=(o=null==c?void 0:c.getPathFromState)?o:_r(d[5]).getPathFromState;return{href:'string'==typeof u?u:v({routes:[{name:u.screen,params:u.params,state:i(u.params)}]},null==c?void 0:c.config),accessibilityRole:'link',onPress:function(e){var t,r=!1;if('web'===n.Platform.OS&&e?e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||null!=e.button&&0!==e.button||![void 0,null,'','self'].includes(null==(t=e.currentTarget)?void 0:t.target)||(e.preventDefault(),r=!0):r=!e||!e.defaultPrevented,r)if(l)if(f)f.dispatch(l);else{if(!s)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");s.dispatch(l)}else p(u)}}};var 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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=_r(d[2]),r=e(_r(d[3])),a=e(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var i=function e(t){return null!=t&&t.state?t.state:null!=t&&t.screen?{routes:[{name:t.screen,params:t.params,state:t.screen?e(t.params):void 0}]}:void 0}}),710,[1,153,2,711,712,713]); +__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var f=u?Object.getOwnPropertyDescriptor(t,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext({options:void 0});t.displayName='LinkingContext';_e.default=t}),711,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var t=e.useContext(_r(d[3]).NavigationContainerRefContext),n=e.useContext(r.default);return e.useCallback((function(e){if(void 0===t)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");if('string'==typeof e){if(!e.startsWith('/'))throw new Error(`The path must start with '/' (${e}).`);var r=n.options,o=null!=r&&r.getStateFromPath?r.getStateFromPath(e,r.config):(0,_r(d[3]).getStateFromPath)(e,null==r?void 0:r.config);if(!o)throw new Error('Failed to parse the path to a navigation state.');var a=(0,_r(d[3]).getActionFromState)(o,null==r?void 0:r.config);void 0!==a?t.dispatch(a):t.reset(o)}else t.navigate(e.screen,e.params)}),[n,t])};var e=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=n(e);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var u=a?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=t[i]}return o.default=t,r&&r.set(t,o),o})(_r(d[1])),r=t(_r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(n=function(t){return t?r:e})(t)}}),712,[1,153,711,713]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={BaseNavigationContainer:!0,createNavigationContainerRef:!0,createNavigatorFactory:!0,CurrentRenderContext:!0,findFocusedRoute:!0,getActionFromState:!0,getFocusedRouteNameFromRoute:!0,getPathFromState:!0,getStateFromPath:!0,NavigationContainerRefContext:!0,NavigationContext:!0,NavigationHelpersContext:!0,NavigationRouteContext:!0,PreventRemoveContext:!0,PreventRemoveProvider:!0,useFocusEffect:!0,useIsFocused:!0,useNavigation:!0,useNavigationBuilder:!0,useNavigationContainerRef:!0,useNavigationState:!0,UNSTABLE_usePreventRemove:!0,usePreventRemoveContext:!0,useRoute:!0,validatePathConfig:!0};Object.defineProperty(e,"BaseNavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"CurrentRenderContext",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NavigationContainerRefContext",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"NavigationContext",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"NavigationHelpersContext",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"NavigationRouteContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"PreventRemoveContext",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"PreventRemoveProvider",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"UNSTABLE_usePreventRemove",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"createNavigationContainerRef",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNavigatorFactory",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"findFocusedRoute",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getActionFromState",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"getFocusedRouteNameFromRoute",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"getPathFromState",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"getStateFromPath",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useFocusEffect",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"useIsFocused",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"useNavigationBuilder",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useNavigationContainerRef",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"useNavigationState",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"usePreventRemoveContext",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"useRoute",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"validatePathConfig",{enumerable:!0,get:function(){return M.default}});var o=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),v=t(r(d[7])),P=t(r(d[8])),s=t(r(d[9])),p=t(r(d[10])),y=t(r(d[11])),O=t(r(d[12])),j=t(r(d[13])),C=t(r(d[14])),N=t(r(d[15]));Object.keys(r(d[16])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[16])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[16])[t]}}))}));var R=t(r(d[17])),F=t(r(d[18])),x=t(r(d[19])),h=t(r(d[20])),S=t(r(d[21])),_=t(r(d[22])),B=t(r(d[23])),E=t(r(d[24])),A=t(r(d[25])),M=t(r(d[26]));Object.keys(r(d[27])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[27])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[27])[t]}}))}))}),713,[1,714,730,740,743,718,744,745,747,755,720,721,757,722,758,759,762,763,765,764,766,783,784,785,786,787,754,731]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),n=e(_r(d[2])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=u?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),u=(e(_r(d[4])),e(_r(d[5])),e(_r(d[6]))),o=e(_r(d[7])),a=e(_r(d[8])),i=e(_r(d[9])),c=e(_r(d[10])),s=e(_r(d[11])),l=e(_r(d[12])),f=e(_r(d[13])),p=e(_r(d[14])),v=e(_r(d[15])),h=e(_r(d[16])),y=e(_r(d[17])),b=e(_r(d[18])),k=_r(d[19]),C=["key","routeNames"];function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}var j=function e(t){if(void 0!==t){t.key,t.routeNames;var r=(0,n.default)(t,C);return Object.assign({},r,{stale:!0,routes:t.routes.map((function(t){return void 0===t.state?t:Object.assign({},t,{state:e(t.state)})}))})}},R=r.forwardRef((function(e,n){var C=e.initialState,O=e.onStateChange,R=e.onUnhandledAction,_=e.independent,P=e.children;if(!r.useContext(l.default).isDefault&&!_)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");var w=(0,b.default)((function(){return j(null==C?void 0:C)})),S=(0,t.default)(w,5),I=S[0],x=S[1],M=S[2],N=S[3],A=S[4],L=r.useRef(!0),E=r.useRef(),D=r.useCallback((function(){return E.current}),[]),G=r.useCallback((function(e){E.current=e}),[]),K=(0,p.default)(),T=K.listeners,U=K.addListener,W=(0,h.default)(),B=W.keyedListeners,Z=W.addKeyedListener,F=r.useCallback((function(e){null==T.focus[0]?console.error(_r(d[20]).NOT_INITIALIZED_ERROR):T.focus[0]((function(t){return t.dispatch(e)}))}),[T.focus]),H=r.useCallback((function(){if(null==T.focus[0])return!1;var e=T.focus[0]((function(e){return e.canGoBack()})),t=e.result;return!!e.handled&&t}),[T.focus]),q=r.useCallback((function(e){var t,n=null!=(t=null==e?void 0:e.key)?t:null==B.getState.root?void 0:B.getState.root().key;null==n?console.error(_r(d[20]).NOT_INITIALIZED_ERROR):T.focus[0]((function(t){return t.dispatch(Object.assign({},_r(d[21]).CommonActions.reset(e),{target:n}))}))}),[B.getState,T.focus]),z=r.useCallback((function(){return null==B.getState.root?void 0:B.getState.root()}),[B.getState]),J=r.useCallback((function(){var e=z();if(null!=e)return(0,o.default)(e)}),[z]),Q=(0,v.default)(),V=(0,y.default)({}),X=V.addOptionsGetter,Y=V.getCurrentOptions,$=r.useMemo((function(){return Object.assign({},Object.keys(_r(d[21]).CommonActions).reduce((function(e,t){return e[t]=function(){return F(_r(d[21]).CommonActions[t].apply(_r(d[21]).CommonActions,arguments))},e}),{}),Q.create('root'),{dispatch:F,resetRoot:q,isFocused:function(){return!0},canGoBack:H,getParent:function(){},getState:function(){return le.current},getRootState:z,getCurrentRoute:J,getCurrentOptions:Y,isReady:function(){return null!=T.focus[0]}})}),[H,F,Q,Y,J,z,T.focus,q]);r.useImperativeHandle(n,(function(){return $}),[$]);var ee=r.useCallback((function(e,t){Q.emit({type:'__unsafe_action__',data:{action:e,noop:t,stack:re.current}})}),[Q]),te=r.useRef(),ne=r.useCallback((function(e){te.current!==e&&(te.current=e,Q.emit({type:'options',data:{options:e}}))}),[Q]),re=r.useRef(),ue=r.useMemo((function(){return{addListener:U,addKeyedListener:Z,onDispatchAction:ee,onOptionsChange:ne,stackRef:re}}),[U,Z,ee,ne]),oe=r.useMemo((function(){return{scheduleUpdate:N,flushUpdates:A}}),[N,A]),ae=r.useRef(!0),ie=r.useCallback((function(){return ae.current}),[]),ce=r.useMemo((function(){return{state:I,getState:x,setState:M,getKey:D,setKey:G,getIsInitial:ie,addOptionsGetter:X}}),[I,x,M,D,G,ie,X]),se=r.useRef(O),le=r.useRef(I);r.useEffect((function(){ae.current=!1,se.current=O,le.current=I})),r.useEffect((function(){var e=z();Q.emit({type:'state',data:{state:I}}),!L.current&&se.current&&se.current(e),L.current=!1}),[z,Q,I]);var fe=r.useCallback((function(e){}),[]),de=(0,k.jsx)(i.default.Provider,{value:$,children:(0,k.jsx)(_r(d[22]).ScheduleUpdateContext.Provider,{value:oe,children:(0,k.jsx)(a.default.Provider,{value:ue,children:(0,k.jsx)(l.default.Provider,{value:ce,children:(0,k.jsx)(f.default.Provider,{value:null!=R?R:fe,children:(0,k.jsx)(u.default,{children:P})})})})})});return _&&(de=(0,k.jsx)(s.default.Provider,{value:void 0,children:(0,k.jsx)(c.default.Provider,{value:void 0,children:de})})),de}));_e.default=R}),714,[1,26,119,153,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,194,730,731,739]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t=[];return(function n(u,o){o.routes.forEach((function(o){var f,c,l=u?`${u} > ${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}}),715,[]); +__d((function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return i(t,new Set,[])};var n=t(r(d[1])),i=function t(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&&(n=!0,t[e].splice(u,1))}}),[t]);return{listeners:t,addListener:r}};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,n&&n.set(e,u),u})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),725,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=r.useRef(e);r.useEffect((function(){n.current=e}));var u=r.useRef(Object.create(null)),c=r.useCallback((function(e){var t=function(t,r){var n=u.current[t]?u.current[t][e]:void 0;if(n){var c=n.indexOf(r);c>-1&&n.splice(c,1)}};return{addListener:function(r,n){u.current[r]=u.current[r]||{},u.current[r][e]=u.current[r][e]||[],u.current[r][e].push(n);var c=!1;return function(){c||(c=!0,t(r,n))}},removeListener:t}}),[]),a=r.useCallback((function(e){var r,c,a=e.type,f=e.data,o=e.target,i=e.canPreventDefault,l=u.current[a]||{},p=void 0!==o?null==(r=l[o])?void 0:r.slice():(c=[]).concat.apply(c,(0,t.default)(Object.keys(l).map((function(e){return l[e]})))).filter((function(e,t,r){return r.lastIndexOf(e)===t})),v={get type(){return a}};if(void 0!==o&&Object.defineProperty(v,'target',{enumerable:!0,get:function(){return o}}),void 0!==f&&Object.defineProperty(v,'data',{enumerable:!0,get:function(){return f}}),i){var s=!1;Object.defineProperties(v,{defaultPrevented:{enumerable:!0,get:function(){return s}},preventDefault:{enumerable:!0,value:function(){s=!0}}})}return null==n.current||n.current(v),null==p||p.forEach((function(e){return e(v)})),v}),[]);return r.useMemo((function(){return{create:c,emit:a}}),[c,a])};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=c?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,r&&r.set(e,u),u})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),726,[1,34,153]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var t=e.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})).current,r=e.useCallback((function(e,r,n){return t[e][r]=n,function(){t[e][r]=void 0}}),[t]);return{keyedListeners:t,addKeyedListener:r}};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,n&&n.set(e,u),u})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),727,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.key,l=e.options,o=e.navigation,a=t.useRef(l),c=t.useRef({}),i=t.useContext(n.default).onOptionsChange,f=t.useContext(r.default).addOptionsGetter,s=t.useCallback((function(){var e,t,n=null==(e=null==o?void 0:o.isFocused())||e,r=Object.keys(c.current).length;n&&!r&&i(null!=(t=a.current)?t:{})}),[o,i]);t.useEffect((function(){return a.current=l,s(),null==o?void 0:o.addListener('focus',s)}),[o,l,s]);var p=t.useCallback((function(){for(var e in c.current)if(c.current.hasOwnProperty(e)){var t,n,r=null==(t=(n=c.current)[e])?void 0:t.call(n);if(null!==r)return r}return null}),[]),v=t.useCallback((function(){var e;if(!(null==(e=null==o?void 0:o.isFocused())||e))return null;var t=p();return null!==t?t:a.current}),[o,p]);return t.useEffect((function(){return null==f?void 0:f(u,v)}),[v,f,u]),{addOptionsGetter:t.useCallback((function(e,t){return c.current[e]=t,s(),function(){delete c.current[e],s()}}),[s]),getCurrentOptions:v}};var 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 r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=l?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_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)}}),728,[1,153,719,723]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=t.useRef(u),c=t.useRef(!1),f=t.useRef(!0);t.useEffect((function(){return f.current=!0,function(){f.current=!1}}),[]),n.current===u&&(n.current='function'==typeof e?e():e);var a=t.useState(n.current),o=(0,r.default)(a,2),l=o[0],i=o[1],p=t.useCallback((function(){return n.current}),[]),s=t.useCallback((function(e){e!==n.current&&f.current&&(n.current=e,c.current||i(e))}),[]),y=t.useCallback((function(e){c.current=!0;try{e()}finally{c.current=!1}}),[]),b=t.useCallback((function(){f.current&&i(n.current)}),[]);l!==n.current&&i(n.current);var v=n.current;return t.useDebugValue(v),[v,p,s,y,b]};var r=e(_r(d[1])),t=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=c?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,t&&t.set(e,u),u})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}var u={}}),729,[1,26,153]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.NOT_INITIALIZED_ERROR=void 0,e.default=function(){var t=[].concat((0,o.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(t){f=t,null!=t&&Object.entries(c).forEach((function(o){var u=(0,n.default)(o,2),c=u[0];u[1].forEach((function(n){t.addListener(c,n)}))}))},isReady:function(){return null!=f&&f.isReady()}},t.reduce((function(t,n){return t[n]=function(){for(var t=arguments.length,o=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}}),734,[]); +__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.DrawerActions=void 0,_e.default=function(t){var o=t.defaultStatus,i=void 0===o?'closed':o,s=(0,r.default)(t,a),c=(0,n.default)(s),f=function(t){var e;return Boolean(null==(e=t.history)?void 0:e.some((function(t){return'drawer'===t.type})))},l=function(t){return f(t)?t:Object.assign({},t,{history:[].concat((0,e.default)(t.history),[{type:'drawer',status:'open'===i?'closed':'open'}])})},p=function(t){return f(t)?Object.assign({},t,{history:t.history.filter((function(t){return'drawer'!==t.type}))}):t},y=function(t){return'open'===i?p(t):l(t)},O=function(t){return'open'===i?l(t):p(t)};return Object.assign({},c,{type:'drawer',getInitialState:function(t){var e=t.routeNames,r=t.routeParamList,n=t.routeGetIdList,a=c.getInitialState({routeNames:e,routeParamList:r,routeGetIdList:n});return Object.assign({},a,{default:i,stale:!1,type:'drawer',key:`drawer-${(0,_r(d[4]).nanoid)()}`})},getRehydratedState:function(t,e){var r=e.routeNames,n=e.routeParamList,a=e.routeGetIdList;if(!1===t.stale)return t;var o=c.getRehydratedState(t,{routeNames:r,routeParamList:n,routeGetIdList:a});return f(t)&&(o=p(o),o=l(o)),Object.assign({},o,{default:i,type:'drawer',key:`drawer-${(0,_r(d[4]).nanoid)()}`})},getStateForRouteFocus:function(t,e){var r=c.getStateForRouteFocus(t,e);return O(r)},getStateForAction:function(t,e,r){switch(e.type){case'OPEN_DRAWER':return y(t);case'CLOSE_DRAWER':return O(t);case'TOGGLE_DRAWER':return f(t)?p(t):l(t);case'JUMP_TO':case'NAVIGATE':var n=c.getStateForAction(t,e,r);return null!=n&&n.index!==t.index?O(n):n;case'GO_BACK':return f(t)?p(t):c.getStateForAction(t,e,r);default:return c.getStateForAction(t,e,r)}},actionCreators:u})};var e=t(_r(d[1])),r=t(_r(d[2])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var i=a?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=t[u]}return n.default=t,r&&r.set(t,n),n})(_r(d[3])),a=["defaultStatus"];function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}var u=_e.DrawerActions=Object.assign({},n.TabActions,{openDrawer:function(){return{type:'OPEN_DRAWER'}},closeDrawer:function(){return{type:'CLOSE_DRAWER'}},toggleDrawer:function(){return{type:'TOGGLE_DRAWER'}}})}),735,[1,34,119,736,734]); +__d((function(g,_r,_i,a,m,e,d){var t=_r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TabActions=void 0,e.default=function(t){var r=t.initialRouteName,s=t.backBehavior,y=void 0===s?'firstRoute':s;return Object.assign({},n.default,{type:'tab',getInitialState:function(t){var n=t.routeNames,i=t.routeParamList,u=void 0!==r&&n.includes(r)?n.indexOf(r):0,s=n.map((function(t){return{name:t,key:`${t}-${(0,_r(d[2]).nanoid)()}`,params:i[t]}})),c=o(s,u,y,r);return{stale:!1,type:'tab',key:`tab-${(0,_r(d[2]).nanoid)()}`,index:u,routeNames:n,history:c,routes:s}},getRehydratedState:function(t,n){var i,o,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==(i=p.routes[null!=(o=null==p?void 0:p.index)?o:0])?void 0:i.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 u({stale:!1,type:'tab',key:`tab-${(0,_r(d[2]).nanoid)()}`,index:v,routeNames:l,history:k,routes:h},v,y,r)},getStateForRouteNamesChange:function(t,n){var i=n.routeNames,u=n.routeParamList,s=n.routeKeyChanges,c=i.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:u[n]}})),l=Math.max(0,i.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=o(c,l,y,r)),Object.assign({},t,{history:f,routeNames:i,routes:c,index:l})},getStateForRouteFocus:function(t,n){var i=t.routes.findIndex((function(t){return t.key===n}));return-1===i||i===t.index?t:u(t,i,y,r)},getStateForAction:function(t,i,o){var s=o.routeParamList,c=o.routeGetIdList;switch(i.type){case'JUMP_TO':case'NAVIGATE':var l=-1;return-1===(l='NAVIGATE'===i.type&&i.payload.key?t.routes.findIndex((function(t){return t.key===i.payload.key})):t.routes.findIndex((function(t){return t.name===i.payload.name})))?null:u(Object.assign({},t,{routes:t.routes.map((function(t,n){if(n!==l)return t;var r,o=c[t.name],u=null==o?void 0:o({params:t.params}),y=null==o?void 0:o({params:i.payload.params}),f=u===y?t.key:`${t.name}-${(0,_r(d[2]).nanoid)()}`;r='NAVIGATE'===i.type&&i.payload.merge&&u===y?void 0!==i.payload.params||void 0!==s[t.name]?Object.assign({},s[t.name],t.params,i.payload.params):t.params:void 0!==s[t.name]?Object.assign({},s[t.name],i.payload.params):i.payload.params;var p='NAVIGATE'===i.type&&null!=i.payload.path?i.payload.path:t.path;return r!==t.params||p!==t.path?Object.assign({},t,{key:f,path:p,params:r}):t}))}),l,y,r);case'GO_BACK':if(1===t.history.length)return null;var f=t.history[t.history.length-2].key,p=t.routes.findIndex((function(t){return t.key===f}));return-1===p?null:Object.assign({},t,{history:t.history.slice(0,-1),index:p});default:return n.default.getStateForAction(t,i)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:i})};var n=t(_r(d[1])),r='route',i=e.TabActions={jumpTo:function(t,n){return{type:'JUMP_TO',payload:{name:t,params:n}}}},o=function(t,n,i,o){var u,s=[{type:r,key:t[n].key}];switch(i){case'order':for(var y=n;y>0;y--)s.unshift({type:r,key:t[y-1].key});break;case'firstRoute':0!==n&&s.unshift({type:r,key:t[0].key});break;case'initialRoute':n!==(u=-1===(u=t.findIndex((function(t){return t.name===o})))?0:u)&&s.unshift({type:r,key:t[u].key})}return s},u=function(t,n,i,u){var s;if('history'===i){var y=t.routes[n].key;s=t.history.filter((function(t){return'route'===t.type&&t.key!==y})).concat({type:r,key:y})}else s=o(t.routes,n,i,u);return Object.assign({},t,{index:n,history:s})}}),736,[1,733,734]); +__d((function(g,_r,_i,a,m,e,d){var t=_r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.StackActions=void 0,e.default=function(t){var i=Object.assign({},o.default,{type:'stack',getInitialState:function(n){var o=n.routeNames,r=n.routeParamList,i=void 0!==t.initialRouteName&&o.includes(t.initialRouteName)?t.initialRouteName:o[0];return{stale:!1,type:'stack',key:`stack-${(0,_r(d[3]).nanoid)()}`,index:0,routeNames:o,routes:[{key:`${i}-${(0,_r(d[3]).nanoid)()}`,name:i,params:r[i]}]}},getRehydratedState:function(n,o){var r=o.routeNames,i=o.routeParamList,s=n;if(!1===s.stale)return s;var u=s.routes.filter((function(t){return r.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!==t.initialRouteName?t.initialRouteName:r[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:r,routes:u}},getStateForRouteNamesChange:function(n,o){var r=o.routeNames,i=o.routeParamList,s=o.routeKeyChanges,u=n.routes.filter((function(t){return r.includes(t.name)&&!s.includes(t.name)}));if(0===u.length){var l=void 0!==t.initialRouteName&&r.includes(t.initialRouteName)?t.initialRouteName:r[0];u.push({key:`${l}-${(0,_r(d[3]).nanoid)()}`,name:l,params:i[l]})}return Object.assign({},n,{routeNames:r,routes:u,index:Math.min(n.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(t,r,s){var u=s.routeParamList;switch(r.type){case'REPLACE':var l=r.target===t.key&&r.source?t.routes.findIndex((function(t){return t.key===r.source})):t.index;if(-1===l)return null;var p=r.payload,y=p.name,c=p.key,f=p.params;return t.routeNames.includes(y)?Object.assign({},t,{routes:t.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(t.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?t.routes.find((function(t){return t.name===r.payload.name&&O===(null==k?void 0:k({params:t.params}))})):void 0;return h?(v=t.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,n.default)(t.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({},t,{index:v.length-1,routes:v})}return null;case'POP':var P=r.target===t.key&&r.source?t.routes.findIndex((function(t){return t.key===r.source})):t.index;if(P>0){var x=Math.max(P-r.payload.count+1,1),b=t.routes.slice(0,x).concat(t.routes.slice(P+1));return Object.assign({},t,{index:b.length-1,routes:b})}return null;case'POP_TO_TOP':return i.getStateForAction(t,{type:'POP',payload:{count:t.routes.length-1}},s);case'NAVIGATE':if(void 0!==r.payload.name&&!t.routeNames.includes(r.payload.name))return null;if(r.payload.key||r.payload.name){var j,N=-1,$=void 0===r.payload.key&&void 0!==r.payload.name?s.routeGetIdList[r.payload.name]:void 0,R=null==$?void 0:$({params:r.payload.params});if(R)N=t.routes.findIndex((function(t){return t.name===r.payload.name&&R===(null==$?void 0:$({params:t.params}))}));else if(t.routes[t.index].name===r.payload.name&&void 0===r.payload.key||t.routes[t.index].key===r.payload.key)N=t.index;else for(var S=t.routes.length-1;S>=0;S--)if(t.routes[S].name===r.payload.name&&void 0===r.payload.key||t.routes[S].key===r.payload.key){N=S;break}if(-1===N&&r.payload.key&&void 0===r.payload.name)return null;if(-1===N&&void 0!==r.payload.name){var A,_=[].concat((0,n.default)(t.routes),[{key:null!=(A=r.payload.key)?A:`${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({},t,{routes:_,index:_.length-1})}var I,L=t.routes[N];return I=r.payload.merge?void 0!==r.payload.params||void 0!==u[L.name]?Object.assign({},u[L.name],L.params,r.payload.params):L.params:void 0!==u[L.name]?Object.assign({},u[L.name],r.payload.params):r.payload.params,Object.assign({},t,{index:N,routes:[].concat((0,n.default)(t.routes.slice(0,N)),[I!==L.params||r.payload.path&&r.payload.path!==L.path?Object.assign({},L,{path:null!=(j=r.payload.path)?j:L.path,params:I}):t.routes[N]])})}return null;case'GO_BACK':return t.index>0?i.getStateForAction(t,{type:'POP',payload:{count:1},target:r.target,source:r.source},s):null;default:return o.default.getStateForAction(t,r)}},actionCreators:r});return i};var n=t(_r(d[1])),o=t(_r(d[2])),r=e.StackActions={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'}}}}),737,[1,34,733,734]); +__d((function(g,r,i,a,m,e,d){}),738,[]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ScheduleUpdateContext=void 0,_e.default=function(t){var r=e.useContext(n),o=r.scheduleUpdate,u=r.flushUpdates;o(t),e.useEffect(u)};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}var r="Couldn't find a schedule context.",n=_e.ScheduleUpdateContext=e.createContext({scheduleUpdate:function(){throw new Error(r)},flushUpdates:function(){throw new Error(r)}})}),739,[153]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){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:t,Group:n.default,Screen:o.default}}};var n=t(r(d[1])),o=t(r(d[2]))}),740,[1,741,742]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),741,[]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return null}}),742,[]); +__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),743,[153]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){var s,u,o=t?l(t):{},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 t=n(r(d[1]));var l=function(n){return'object'==typeof n&&null!=n?{initialRouteName:n.initialRouteName,screens:null!=n.screens?s(n.screens):void 0}:{}},s=function(n){return Object.entries(n).reduce((function(n,s){var u=(0,t.default)(s,2),o=u[0],v=u[1];return n[o]=l(v),n}),{})}}),744,[1,26]); +__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}}),745,[746]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.CHILD_STATE=void 0,_e.default=function(e){t.useMemo((function(){return{current:new Map}}),[]);return e};e(_r(d[1]));var 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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}_e.CHILD_STATE=Symbol('CHILD_STATE')}),746,[1,119,153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,t){if(null==e)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");t&&(0,i.default)(t);var o=null!=t&&t.screens?c(null==t?void 0:t.screens):{},f='/',l=e,p={},v=function(){for(var t,i,c='number'==typeof l.index?l.index:0,v=l.routes[c],y=u(e),h=o,b=[],j=!0,O=function(){if(t=h[v.name].pattern,b.push(v.name),v.params){var e,r,o=null==(e=h[v.name])?void 0:e.stringify,u=(0,a.default)(Object.entries(v.params).map((function(e){var t=(0,n.default)(e,2),r=t[0],a=t[1];return[r,null!=o&&o[r]?o[r](a):String(a)]})));if(t&&Object.assign(p,u),y===v)i=Object.assign({},u),null==(r=t)||r.split('/').filter((function(e){return e.startsWith(':')})).forEach((function(e){var t=s(e);i&&delete i[t]}))}if(h[v.name].screens&&void 0!==v.state){c='number'==typeof v.state.index?v.state.index:v.state.routes.length-1;var f=v.state.routes[c],l=h[v.name].screens;l&&f.name in l?(v=f,h=l):j=!1}else j=!1};v.name in h&&j;)O();if(void 0===t&&(t=b.join('/')),void 0!==h[v.name]?f+=t.split('/').map((function(e){var t=s(e);if('*'===e)return v.name;if(e.startsWith(':')){var n=p[t];return void 0===n&&e.endsWith('?')?'':encodeURIComponent(n)}return encodeURIComponent(e)})).join('/'):f+=encodeURIComponent(v.name),i||(i=y.params),v.state)f+='/';else if(i){for(var w in i)'undefined'===i[w]&&delete i[w];var _=r.stringify(i,{sort:!1});_&&(f+=`?${_}`)}l=v.state};for(;l;)v();return f=(f=f.replace(/\/+/g,'/')).length>1?f.replace(/\/$/,''):f};var t=e(_r(d[1])),n=e(_r(d[2])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),a=e(_r(d[4])),i=e(_r(d[5]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var u=function e(t){var n='number'==typeof t.index?t.routes[t.index]:t.routes[t.routes.length-1];return n.state?e(n.state):n};var s=function(e){return e.replace(/^:/,'').replace(/\?$/,'')},f=function(){for(var e,n=arguments.length,r=new Array(n),a=0;a0})).join('&')},e.parseUrl=function(t,a){a=Object.assign({decode:!0},a);var o=r(d[5])(t,'#'),u=n(o,2),c=u[0],s=u[1];return Object.assign({url:c.split('?')[0]||'',query:k(b(t),a)},a&&a.parseFragmentIdentifier&&s?{fragmentIdentifier:f(s,a)}:{})},e.stringifyUrl=function(n,a){a=Object.assign(t({encode:!0,strict:!0},o,!0),a);var u=y(n.url).split('?')[0]||'',c=e.extract(n.url),s=e.parse(c,{sort:!1}),f=Object.assign(s,n.query),p=e.stringify(f,a);p&&(p=`?${p}`);var b=v(n.url);return n.fragmentIdentifier&&(b=`#${a[o]?l(n.fragmentIdentifier,a):n.fragmentIdentifier}`),`${u}${p}${b}`},e.pick=function(n,a,u){u=Object.assign(t({parseFragmentIdentifier:!0},o,!1),u);var c=e.parseUrl(n,u),s=c.url,l=c.query,f=c.fragmentIdentifier;return e.stringifyUrl({url:s,query:r(d[6])(l,a),fragmentIdentifier:f},u)},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)}}),748,[170,26,34,749,750,751,752]); +__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()}`}))}}),749,[]); +__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${o(u)}\n\nDid you forget to specify them under a 'screens' property?\n\nYou can only specify the following properties:\n${o(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(o){var c=(0,t.default)(o,2),s=(c[0],c[1]);'string'!=typeof s&&n(s,!1)}))};var t=n(r(d[1])),o=function(n){return n.map((function(n){return`- ${n}`})).join('\n')}}),754,[1,26]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,n){var a;n&&(0,u.default)(n);var i=[];null!=n&&n.initialRouteName&&i.push({initialRouteName:n.initialRouteName,parentScreens:[]});var o=null==n?void 0:n.screens,s=e.replace(/\/+/g,'/').replace(/^\//,'').replace(/\?.*$/,'');if(s=s.endsWith('/')?s:`${s}/`,void 0===o){var p=s.split('/').filter(Boolean).map((function(e){return{name:decodeURIComponent(e)}}));return p.length?y(e,p,i):void 0}var c,h,v=(a=[]).concat.apply(a,(0,r.default)(Object.keys(o).map((function(e){return l(e,o,[],i,[])})))).sort((function(e,t){if(e.pattern===t.pattern)return t.routeNames.join('>').localeCompare(e.routeNames.join('>'));if(e.pattern.startsWith(t.pattern))return-1;if(t.pattern.startsWith(e.pattern))return 1;for(var r=e.pattern.split('/'),n=t.pattern.split('/'),a=0;aa.length?a.every((function(e,t){return n[t]===e})):n.every((function(e,t){return a[t]===e}))))throw new Error(`Found conflicting screens with the same pattern. The pattern '${r.pattern}' resolves to both '${n.join(' > ')}' and '${a.join(' > ')}'. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(e,(0,t.default)({},r.pattern,r))}),{}),'/'===s){var j=v.find((function(e){return''===e.path&&e.routeNames.every((function(e){var t;return!(null!=(t=v.find((function(t){return t.screen===e})))&&t.path)}))}));return j?y(e,j.routeNames.map((function(e){return{name:e}})),i,v):void 0}var b=f(s,v.map((function(e){return Object.assign({},e,{regex:e.regex?new RegExp(e.regex.source+'$'):void 0})}))),O=b.routes,N=b.remainingPath;void 0!==O&&(s=N,c=h=y(e,O,i,v));if(null==h||null==c)return;return c};var t=e(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),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=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),i=e(_r(d[5])),u=e(_r(d[6]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var s=function(){for(var e,t=arguments.length,n=new Array(t),a=0;a2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,u=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,f=[];a.push(t),u.push(t);var l=n[t];if('string'==typeof l){var c=o?s(o,l):l;f.push(p(t,a,c,l))}else if('object'==typeof l){var h;if('string'==typeof l.path){if(l.exact&&void 0===l.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: ''`.");h=!0!==l.exact?s(o||'',l.path||''):l.path||'',f.push(p(t,a,h,l.path,l.parse))}l.screens&&(l.initialRouteName&&i.push({initialRouteName:l.initialRouteName,parentScreens:u}),Object.keys(l.screens).forEach((function(t){var n,s=e(t,l.screens,a,i,(0,r.default)(u),null!=(n=h)?n:o);f.push.apply(f,(0,r.default)(s))})))}return a.pop(),f},p=function(e,t,a,i,u){return{screen:e,regex:(a=a.split('/').filter(Boolean).join('/'))?new RegExp(`^(${a.split('/').map((function(e){return e.startsWith(':')?`(([^/]+\\/)${e.endsWith('?')?'?':''})`:`${'*'===e?'.*':(0,n.default)(e)}\\/`})).join('')})`):void 0,pattern:a,path:i,routeNames:(0,r.default)(t),parse:u}},c=function(e,t){for(var r of t)if(e===r.routeNames[r.routeNames.length-1])return r.parse},h=function(e,t,r){for(var n of r)if(t.length===n.parentScreens.length){for(var a=!0,i=0;i0)for(var f=a;u=t.shift();){s=h(u.name,o,r);var l=f.index||f.routes.length-1;f.routes[l].state=v(s,u,0===t.length),t.length>0&&(f=f.routes[l].state),o.push(u.name)}(u=(0,i.default)(a)).path=e;var p=j(e,n?c(u.name,n):void 0);return p&&(u.params=Object.assign({},u.params,p)),a},j=function(e,t){var r=e.split('?')[1],n=a.parse(r);return t&&Object.keys(n).forEach((function(e){Object.hasOwnProperty.call(t,e)&&'string'==typeof n[e]&&(n[e]=t[e](n[e]))})),Object.keys(n).length?n:void 0}}),755,[1,170,34,756,748,718,754]); +__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')}}),756,[]); +__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),757,[153]); +__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),758,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var f=e.children,c=r.useState((function(){return(0,_r(d[9]).nanoid)()})),p=(0,t.default)(c,1)[0],s=r.useState(new Map),y=(0,t.default)(s,2),w=y[0],_=y[1],k=r.useContext(o.default),O=r.useContext(i.default),P=r.useContext(l.default),R=null==P?void 0:P.setPreventRemove,j=(0,u.default)((function(e,t,n){if(n&&(null==k||null!=k&&k.getState().routes.every((function(e){return e.key!==t}))))throw new Error(`Couldn't find a route with the key ${t}. Is your component inside NavigationContent?`);_((function(r){var u,o;if(t===(null==(u=r.get(e))?void 0:u.routeKey)&&n===(null==(o=r.get(e))?void 0:o.preventRemove))return r;var i=new Map(r);return n?i.set(e,{routeKey:t,preventRemove:n}):i.delete(e),i}))})),M=(0,n.default)(w.values()).some((function(e){return e.preventRemove}));r.useEffect((function(){if(void 0!==(null==O?void 0:O.key)&&void 0!==R)return R(p,O.key,M),function(){R(p,O.key,!1)}}),[p,M,null==O?void 0:O.key,R]);var b=r.useMemo((function(){return{setPreventRemove:j,preventedRoutes:v(w)}}),[j,w]);return(0,a.jsx)(l.default.Provider,{value:b,children:f})};var t=e(_r(d[1])),n=e(_r(d[2])),r=(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 r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=u?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),u=e(_r(d[4])),o=e(_r(d[5])),i=e(_r(d[6])),l=e(_r(d[7])),a=_r(d[8]);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)}var v=function(e){return(0,n.default)(e.values()).reduce((function(e,t){var n,r=t.routeKey,u=t.preventRemove;return e[r]={preventRemove:(null==(n=e[r])?void 0:n.preventRemove)||u},e}),{})}}),759,[1,26,34,153,760,757,722,758,194,734]); +__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,u,o){void 0===o&&(o=u);var f=Object.getOwnPropertyDescriptor(n,u);f&&!("get"in f?!n.__esModule:f.writable||f.configurable)||(f={enumerable:!0,get:function(){return n[u]}}),Object.defineProperty(t,o,f)}:function(t,n,u,o){void 0===o&&(o=u),t[o]=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 o={};if(null!=u)for(var f in u)"default"!==f&&Object.prototype.hasOwnProperty.call(u,f)&&t(o,u,f);return n(o,u),o},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var f=u(r(d[0])),c=o(r(d[1]));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,o=function(){var t=e();if(void 0===t||'function'==typeof t)return t};r.isFocused()&&(t=o(),n=!0);var u=r.addListener('focus',(function(){n||(void 0!==t&&t(),t=o(),n=!0)})),a=r.addListener('blur',(function(){void 0!==t&&t(),t=void 0,n=!1}));return function(){void 0!==t&&t(),u(),a()}}),[e,r])};var 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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=u?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[1])),n=e(_r(d[2]));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)}}),763,[1,153,764]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(n.default),o=t.useContext(r.default);if(void 0===o&&void 0===e)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return null!=o?o:e};var 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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}}),764,[1,153,720,721]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,u.default)(),o=(0,r.useState)(e.isFocused),f=(0,t.default)(o,2),a=f[0],i=f[1],c=e.isFocused();a!==c&&i(c);return n.useEffect((function(){var t=e.addListener('focus',(function(){return i(!0)})),r=e.addListener('blur',(function(){return i(!1)}));return function(){t(),r()}}),[e]),n.useDebugValue(c),c};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=r,u=e(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}}),765,[1,26,153,764]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,i){var v=(0,K.default)(),_=o.useContext(p.default),G=i.children,A=i.screenListeners,x=(0,r.default)(i,E),M=o.useRef(e(Object.assign({},x,null!=_&&_.params&&null==_.params.state&&!1!==_.params.initial&&'string'==typeof _.params.screen?{initialRouteName:_.params.screen}:null))).current,F=$(G),J=F.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}),{}),V=F.map((function(e){return e.props.name})),W=V.reduce((function(e,t){return e[t]=J[t].keys.map((function(e){return null!=e?e:''})).join(':'),e}),{}),D=V.reduce((function(e,t){var n=J[t].props.initialParams;return e[t]=n,e}),{}),T=V.reduce((function(e,t){return Object.assign(e,(0,n.default)({},t,J[t].props.getId))}),{});if(!V.length)throw new Error("Couldn't find any screens for the navigator. Have you defined any screens as its children?");var H=o.useCallback((function(e){return void 0===e.type||e.type===M.type}),[M.type]),q=o.useCallback((function(e){return void 0!==e&&!1===e.stale&&H(e)}),[H]),z=o.useContext(f.default),B=z.state,Q=z.getState,U=z.setState,X=z.setKey,Y=z.getKey,Z=z.getIsInitial,ee=o.useRef(!1),te=o.useCallback((function(){U(void 0),ee.current=!0}),[U]),ne=o.useCallback((function(e){ee.current||U(e)}),[U]),re=o.useMemo((function(){var e,t,n,r=V.reduce((function(e,t){var n,r,a,o=J[t].props.initialParams,i=null==(null==_||null==(n=_.params)?void 0:n.state)&&!1!==(null==_||null==(r=_.params)?void 0:r.initial)&&(null==_||null==(a=_.params)?void 0:a.screen)===t?_.params.params:void 0;return e[t]=void 0!==o||void 0!==i?Object.assign({},o,i):void 0,e}),{});return void 0!==B&&H(B)||null!=(null==_||null==(e=_.params)?void 0:e.state)?[M.getRehydratedState(null!=(t=null==_||null==(n=_.params)?void 0:n.state)?t:B,{routeNames:V,routeParamList:r,routeGetIdList:T}),!1]:[M.getInitialState({routeNames:V,routeParamList:r,routeGetIdList:T}),!0]}),[B,M,H]),ae=(0,t.default)(re,2),oe=ae[0],ie=ae[1],ue=o.useRef(W);o.useEffect((function(){ue.current=W}));var se=ue.current,le=q(B)?B:oe,pe=le;(0,u.default)(le.routeNames,V)&&(0,s.default)(W,se)||(pe=M.getStateForRouteNamesChange(le,{routeNames:V,routeParamList:D,routeGetIdList:T,routeKeyChanges:Object.keys(W).filter((function(e){return se.hasOwnProperty(e)&&W[e]!==se[e]}))}));var fe=o.useRef(null==_?void 0:_.params);if(o.useEffect((function(){fe.current=null==_?void 0:_.params}),[null==_?void 0:_.params]),null!=_&&_.params){var ce,de=fe.current;'object'==typeof _.params.state&&null!=_.params.state&&_.params!==de?ce=_r(d[30]).CommonActions.reset(_.params.state):'string'==typeof _.params.screen&&(!1===_.params.initial&&ie||_.params!==de)&&(ce=_r(d[30]).CommonActions.navigate({name:_.params.screen,params:_.params.params,path:_.params.path}));var me=ce?M.getStateForAction(pe,ce,{routeNames:V,routeParamList:D,routeGetIdList:T}):null;pe=null!==me?M.getRehydratedState(me,{routeNames:V,routeParamList:D,routeGetIdList:T}):pe}var ve=le!==pe;(0,N.default)((function(){ve&&ne(pe)})),le=pe,o.useEffect((function(){return X(v),Z()||ne(pe),function(){setTimeout((function(){void 0!==Q()&&Y()===v&&te()}),0)}}),[]);var ye=o.useRef();ye.current=oe;var ge=o.useCallback((function(){var e=Q();return q(e)?e:ye.current}),[Q,q]),he=(0,b.default)((function(e){var t,n,r,o=[];e.target?null!=(r=n=le.routes.find((function(t){return t.key===e.target})))&&r.name&&o.push(n.name):(n=le.routes[le.index],o.push.apply(o,(0,a.default)(Object.keys(J).filter((function(e){var t;return(null==(t=n)?void 0:t.name)===e})))));if(null!=n){var i=Ie[n.key].navigation;(t=[]).concat.apply(t,(0,a.default)([A].concat((0,a.default)(o.map((function(e){return J[e].props.listeners})))).map((function(t){var r='function'==typeof t?t({route:n,navigation:i}):t;return r?Object.keys(r).filter((function(t){return t===e.type})).map((function(e){return null==r?void 0:r[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,k.default)({state:le,emitter:he}),o.useEffect((function(){he.emit({type:'state',data:{state:le}})}),[he,le]);var Oe=(0,y.default)(),Se=Oe.listeners,be=Oe.addListener,Le=(0,j.default)(),ke=Le.keyedListeners,je=Le.addKeyedListener,we=(0,P.default)({router:M,getState:ge,setState:ne,key:null==_?void 0:_.key,actionListeners:Se.action,beforeRemoveListeners:ke.beforeRemove,routerConfigOptions:{routeNames:V,routeParamList:D,routeGetIdList:T},emitter:he}),Pe=(0,I.default)({router:M,key:null==_?void 0:_.key,getState:ge,setState:ne}),Ce=(0,w.default)({id:i.id,onAction:we,getState:ge,emitter:he,router:M});(0,L.default)({navigation:Ce,focusedListeners:Se.focus}),(0,C.default)({getState:ge,getStateListeners:ke.getState});var Ie=(0,S.default)({state:le,screens:J,navigation:Ce,screenOptions:i.screenOptions,defaultScreenOptions:i.defaultScreenOptions,onAction:we,getState:ge,setState:ne,onRouteFocus:Pe,addListener:be,addKeyedListener:je,router:M,emitter:he});(0,O.default)({state:le,navigation:Ce,descriptors:Ie});var Ke=(0,h.default)((function(e){return(0,R.jsx)(l.default.Provider,{value:Ce,children:(0,R.jsx)(c.default,{children:e})})}));return{state:le,navigation:Ce,descriptors:Ie,NavigationContent:Ke}};var t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),a=e(_r(d[4])),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=_(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[5])),i=e(_r(d[6])),u=e(_r(d[7])),s=e(_r(d[8])),l=e(_r(d[9])),p=e(_r(d[10])),f=e(_r(d[11])),c=e(_r(d[12])),v=e(_r(d[13])),y=e(_r(d[14])),h=e(_r(d[15])),O=e(_r(d[16])),S=e(_r(d[17])),b=e(_r(d[18])),L=e(_r(d[19])),k=e(_r(d[20])),j=e(_r(d[21])),w=e(_r(d[22])),P=e(_r(d[23])),C=e(_r(d[24])),I=e(_r(d[25])),K=e(_r(d[26])),N=e(_r(d[27])),R=_r(d[28]),E=["children","screenListeners"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}_r(d[29]).PrivateValueStore;var G=function(e){return void 0===e||'string'==typeof e&&''!==e},$=function e(t,n,r){return o.Children.toArray(t).reduce((function(t,u){var s,l;if(o.isValidElement(u)){if(u.type===v.default){if(!G(u.props.navigationKey))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(u.props.navigationKey)}) for the screen '${u.props.name}'. It must be a non-empty string or 'undefined'.`);return t.push({keys:[n,u.props.navigationKey],options:r,props:u.props}),t}if(u.type===o.Fragment||u.type===i.default){if(!G(u.props.navigationKey))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(u.props.navigationKey)}) for the group. It must be a non-empty string or 'undefined'.`);return t.push.apply(t,(0,a.default)(e(u.props.children,u.props.navigationKey,u.type!==i.default?r:null!=r?[].concat((0,a.default)(r),[u.props.screenOptions]):[u.props.screenOptions]))),t}}throw new Error(`A navigator can only contain 'Screen', 'Group' or 'React.Fragment' as its direct children (found ${o.isValidElement(u)?`'${'string'==typeof u.type?u.type:null==(s=u.type)?void 0:s.name}'${null!=u.props&&'object'==typeof u.props&&'name'in u.props&&null!=(l=u.props)&&l.name?` for the screen '${u.props.name}'`:''}`:'object'==typeof u?JSON.stringify(u):`'${String(u)}'`}). To render this component in the navigator, pass it in the 'component' prop to 'Screen'.`)}),[])}}),766,[1,26,170,119,34,153,741,767,768,757,722,723,759,742,725,769,770,771,726,775,776,727,777,778,780,781,782,739,194,762,731]); +__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]}))}}),767,[]); +__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]}))}}),768,[]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var u=e.useRef(t);return u.current=t,e.useEffect((function(){u.current=null})),e.useRef((function(e){var t=e.children,o=u.current;if(null===o)throw new Error('The returned component must be rendered in the same render phase as the hook.');return(0,r.jsx)(n,{render:o,children:t})})).current};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var c=o?Object.getOwnPropertyDescriptor(e,f):null;c&&(c.get||c.set)?Object.defineProperty(u,f,c):u[f]=e[f]}return u.default=e,n&&n.set(e,u),u})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}var n=function(e){return(0,e.render)(e.children)}}),769,[153,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.state,o=e.navigation,u=e.descriptors,a=t.useContext(r.default);a&&o.isFocused()&&(a.options=u[n.routes[n.index].key].options)};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),770,[1,153,743]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var p=e.state,y=e.screens,O=e.navigation,j=e.screenOptions,b=e.defaultScreenOptions,k=e.onAction,P=e.getState,S=e.setState,h=e.addListener,_=e.addKeyedListener,w=e.onRouteFocus,M=e.router,x=e.emitter,A=o.useState({}),D=(0,r.default)(A,2),L=D[0],R=D[1],C=o.useContext(i.default),W=C.onDispatchAction,F=C.onOptionsChange,K=C.stackRef,B=o.useMemo((function(){return{navigation:O,onAction:k,addListener:h,addKeyedListener:_,onRouteFocus:w,onDispatchAction:W,onOptionsChange:F,stackRef:K}}),[O,k,h,_,w,W,F,K]),E=(0,f.default)({state:p,getState:P,navigation:O,setOptions:R,router:M,emitter:x});return(0,c.default)(p.routes).reduce((function(e,r,o){var f=y[r.name],c=f.props,O=E[r.key],k=[j].concat((0,n.default)(f.options?f.options.filter(Boolean):[]),[c.options,L[r.key]]).reduce((function(e,t){return Object.assign(e,'function'!=typeof t?t:t({route:r,navigation:O}))}),{}),h=Object.assign({},'function'==typeof b?b({route:r,navigation:O,options:k}):b,k),_=function(){return R((function(e){if(r.key in e){var n=r.key;e[n];return(0,t.default)(e,[n].map(v))}return e}))};return e[r.key]={route:r,navigation:O,render:function(){return(0,l.jsx)(i.default.Provider,{value:B,children:(0,l.jsx)(a.default.Provider,{value:O,children:(0,l.jsx)(u.default.Provider,{value:r,children:(0,l.jsx)(s.default,{navigation:O,route:r,screen:c,routeState:p.routes[o].state,getState:P,setState:S,options:h,clearOptions:_})})})},r.key)},options:h},e}),{})};var t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),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=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[4])),i=e(_r(d[5])),a=e(_r(d[6])),u=e(_r(d[7])),s=e(_r(d[8])),f=e(_r(d[9])),c=e(_r(d[10])),l=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function v(e){var t=y(e,"string");return"symbol"==typeof t?t:String(t)}function y(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}}),771,[1,119,34,26,153,719,721,722,772,774,746,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.screen,c=e.route,f=e.navigation,l=e.routeState,s=e.getState,p=e.setState,v=e.options,y=e.clearOptions,k=t.useRef(),b=t.useCallback((function(){return k.current}),[]),O=(0,a.default)({key:c.key,options:v,navigation:f}).addOptionsGetter,j=t.useCallback((function(e){k.current=e}),[]),_=t.useCallback((function(){var e=s().routes.find((function(e){return e.key===c.key}));return e?e.state:void 0}),[s,c.key]),h=t.useCallback((function(e){var t=s();p(Object.assign({},t,{routes:t.routes.map((function(t){return t.key===c.key?Object.assign({},t,{state:e}):t}))}))}),[s,c.key,p]),C=t.useRef(!0);t.useEffect((function(){C.current=!1})),t.useEffect((function(){return y}),[]);var P=t.useCallback((function(){return C.current}),[]),M=t.useMemo((function(){return{state:l,getState:_,setState:h,getKey:b,setKey:j,getIsInitial:P,addOptionsGetter:O}}),[l,_,h,b,j,P,O]),w=i.getComponent?i.getComponent():i.component;return(0,o.jsx)(r.default.Provider,{value:M,children:(0,o.jsx)(n.default,{children:(0,o.jsx)(u.default,{name:i.name,render:w||i.children,navigation:f,route:c,children:void 0!==w?(0,o.jsx)(w,{navigation:f,route:c}):void 0!==i.children?i.children({navigation:f,route:c}):null})})})};var 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=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=u?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),u=e(_r(d[4])),a=e(_r(d[5])),o=_r(d[6]);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}}),772,[1,153,717,723,773,728,194]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var i=u?Object.getOwnPropertyDescriptor(e,f):null;i&&(i.get||i.set)?Object.defineProperty(o,f,i):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}_e.default=e.memo((function(e){return e.children}),(function(e,t){var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o of r)if('children'!==o&&e[o]!==t[o])return!1;return!0}))}),773,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.state,c=e.getState,a=e.navigation,f=e.setOptions,s=e.router,l=e.emitter,y=(r.useContext(u.default).stackRef,r.useMemo((function(){return{current:{}}}),[c,a,f,s,l])),p=Object.assign({},s.actionCreators,_r(d[5]).CommonActions);return y.current=i.routes.reduce((function(e,r){var u=y.current[r.key];if(u)e[r.key]=u;else{a.emit;var i=(0,n.default)(a,o),s=function(e){var t='function'==typeof e?e(c()):e;null!=t&&a.dispatch(Object.assign({source:r.key},t))},O=function(e){try{e()}finally{}},v=Object.keys(p).reduce((function(e,t){return e[t]=function(){for(var e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:new Set,r=u();if(t.has(r.key))return!1;if(t.add(r.key),'string'!=typeof e.target||e.target===r.key){var l=o.getStateForAction(r,e,_.current);if(null!==(l=null===l&&e.target===r.key?r:l)){if(O(e,r===l),r!==l){if((0,n.shouldPreventRemove)(s,c,r.routes,l.routes,e))return!0;i(l)}if(void 0!==y)o.shouldActionChangeFocus(e)&&void 0!==f&&y(f);return!0}}if(void 0!==p&&p(e,t))return!0;for(var v=a.length-1;v>=0;v--){if((0,a[v])(e,t))return!0}return!1}),[a,c,s,u,f,p,O,y,o,i]);return(0,n.default)({getState:u,emitter:s,beforeRemoveListeners:c}),t.useEffect((function(){return null==b?void 0:b('action',h)}),[b,h]),h};var t=u(_r(d[1])),r=e(_r(d[2])),n=u(_r(d[3]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var f=u?Object.getOwnPropertyDescriptor(e,i):null;f&&(f.get||f.set)?Object.defineProperty(n,i,f):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}}),778,[1,153,719,779]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=e.getState,o=e.emitter,f=e.beforeRemoveListeners,i=r.useContext(n.default).addKeyedListener,l=r.useContext(u.default),c=null==l?void 0:l.key;r.useEffect((function(){if(c)return null==i?void 0:i('beforeRemove',c,(function(e){var r=t();return a(o,f,r.routes,[],e)}))}),[i,f,o,t,c])},_e.shouldPreventRemove=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=e(_r(d[3])),u=e(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var f=Symbol('VISITED_ROUTE_KEYS'),a=_e.shouldPreventRemove=function(e,r,n,u,o){var a,i=u.map((function(e){return e.key})),l=n.filter((function(e){return!i.includes(e.key)})).reverse(),c=null!=(a=o[f])?a:new Set,v=Object.assign({},o,(0,t.default)({},f,c));for(var s of l){var y;if(!c.has(s.key)){if(null==(y=r[s.key])?void 0:y.call(r,v))return!0;if(c.add(s.key),e.emit({type:'beforeRemove',target:s.key,data:{action:v},canPreventDefault:!0}).defaultPrevented)return!0}}return!1}}),779,[1,170,153,719,722]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.getState,o=e.getStateListeners,f=t.useContext(n.default).addKeyedListener,l=t.useContext(u.default),i=l?l.key:'root',c=t.useCallback((function(){var e=a(),t=e.routes.map((function(e){var t,r=null==(t=o[e.key])?void 0:t.call(o);return e.state===r?e:Object.assign({},e,{state:r})}));return(0,r.default)(e.routes,t)?e:Object.assign({},e,{routes:t})}),[a,o]);t.useEffect((function(){return null==f?void 0:f('getState',i,c)}),[f,c,i])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var f=u?Object.getOwnPropertyDescriptor(e,o):null;f&&(f.get||f.set)?Object.defineProperty(n,o,f):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n})(_r(d[1])),r=e(_r(d[2])),n=e(_r(d[3])),u=e(_r(d[4]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}}),780,[1,153,767,719,722]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.router,o=e.getState,u=e.key,a=e.setState,f=t.useContext(r.default).onRouteFocus;return t.useCallback((function(e){var t=o(),r=n.getStateForRouteFocus(t,e);r!==t&&a(r),void 0!==f&&void 0!==u&&f(u)}),[o,f,n,a,u])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),781,[1,153,719]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=r.useState((function(){return(0,_r(d[3]).nanoid)()})),n=(0,t.default)(e,1)[0],a=r.useContext(_r(d[4]).SingleNavigatorContext);if(void 0===a)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 r.useEffect((function(){var e=a.register,t=a.unregister;return e(n),function(){return t(n)}}),[a,n]),n};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(a,i,u):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),782,[1,26,153,734,717]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useRef(null);null==e.current&&(e.current=(0,r.default)());return e.current};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,r&&r.set(e,u),u})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),783,[1,153,730]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=(0,n.default)(),f=r.useState((function(){return e(u.getState())})),a=(0,t.default)(f,2)[1],o=r.useRef(e);return r.useEffect((function(){o.current=e})),r.useEffect((function(){return u.addListener('state',(function(e){a(o.current(e.data.state))}))}),[u]),e(u.getState())};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=f?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=e(_r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),784,[1,26,153,764]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,o){var i=n.useState((function(){return(0,_r(d[7]).nanoid)()})),l=(0,t.default)(i,1)[0],c=(0,u.default)(),p=(0,a.default)().key,v=(0,f.default)().setPreventRemove;n.useEffect((function(){return v(l,p,e),function(){v(l,p,!1)}}),[v,l,p,e]);var s=(0,r.default)((function(t){e&&(t.preventDefault(),o({data:t.data}))}));n.useEffect((function(){return null==c?void 0:c.addListener('beforeRemove',s)}),[c,s])};var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(r,f,a):r[f]=e[f]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),u=e(_r(d[4])),f=e(_r(d[5])),a=e(_r(d[6]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}}),785,[1,26,153,760,764,786,787,734]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(null==e)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),786,[1,153,758]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),787,[1,153,722]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),n=e(_r(d[2])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}return a.default=e,n&&n.set(e,a),a})(_r(d[3])),r=e(_r(d[4])),l=e(_r(d[5])),i=e(_r(d[6])),u=e(_r(d[7])),o=e(_r(d[8])),f=e(_r(d[9])),c=e(_r(d[10])),s=_r(d[11]),v=["theme","linking","fallback","documentTitle","onReady"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}g.REACT_NAVIGATION_DEVTOOLS=new WeakMap;var O=a.forwardRef((function(e,p){var O=e.theme,S=void 0===O?l.default:O,b=e.linking,P=e.fallback,_=void 0===P?null:P,h=e.documentTitle,j=e.onReady,y=(0,n.default)(e,v),k=!!b&&!1!==b.enabled;null!=b&&b.config&&(0,_r(d[12]).validatePathConfig)(b.config);var A=a.useRef(null);(0,u.default)(A),(0,o.default)(A,h);var F=(0,f.default)(A,Object.assign({independent:y.independent,enabled:k,prefixes:[]},b)).getInitialState;a.useEffect((function(){A.current&&REACT_NAVIGATION_DEVTOOLS.set(A.current,{get linking(){var e,t,n,a;return Object.assign({},b,{enabled:k,prefixes:null!=(e=null==b?void 0:b.prefixes)?e:[],getStateFromPath:null!=(t=null==b?void 0:b.getStateFromPath)?t:_r(d[12]).getStateFromPath,getPathFromState:null!=(n=null==b?void 0:b.getPathFromState)?n:_r(d[12]).getPathFromState,getActionFromState:null!=(a=null==b?void 0:b.getActionFromState)?a:_r(d[12]).getActionFromState})}})}));var T=(0,c.default)(F),w=(0,t.default)(T,2),E=w[0],M=w[1];a.useImperativeHandle(p,(function(){return A.current}));var R=a.useMemo((function(){return{options:b}}),[b]),x=null!=y.initialState||!k||E,I=a.useRef(j);return a.useEffect((function(){I.current=j})),a.useEffect((function(){x&&(null==I.current||I.current())}),[x]),x?(0,s.jsx)(r.default.Provider,{value:R,children:(0,s.jsx)(i.default,{value:S,children:(0,s.jsx)(_r(d[12]).BaseNavigationContainer,Object.assign({},y,{initialState:null==y.initialState?M:y.initialState,ref:A}))})}):_}));_e.default=O}),788,[1,26,119,153,711,789,790,792,793,794,796,194,713]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={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)'}}}),789,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.value,u=e.children;return(0,r.jsx)(t.default.Provider,{value:n,children:u})};!(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}u.default=e,r&&r.set(e,u)})(_r(d[1]));var t=e(_r(d[2])),r=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),790,[1,153,791,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}var o=t.createContext(r.default);o.displayName='ThemeContext';_e.default=o}),791,[1,153,789]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){e.useEffect((function(){var e=r.BackHandler.addEventListener('hardwareBackPress',(function(){var e=t.current;return null!=e&&(!!e.canGoBack()&&(e.goBack(),!0))}));return function(){return e.remove()}}),[t])};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(u,a,f):u[a]=e[a]}return u.default=e,n&&n.set(e,u),u})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}}),792,[153,2]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}),793,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,i){var o=i.independent,u=i.enabled,a=void 0===u||u,c=i.prefixes,f=i.filter,s=i.config,l=i.getInitialURL,v=void 0===l?function(){return Promise.race([n.Linking.getInitialURL(),new Promise((function(e){return setTimeout(e,150)}))])}:l,p=i.subscribe,h=void 0===p?function(e){var t,r=function(t){var n=t.url;return e(n)},i=n.Linking.addEventListener('url',r),o=null==(t=n.Linking.removeEventListener)?void 0:t.bind(n.Linking);return function(){null!=i&&i.remove?i.remove():null==o||o('url',r)}}:p,y=i.getStateFromPath,b=void 0===y?_r(d[4]).getStateFromPath:y,k=i.getActionFromState,R=void 0===k?_r(d[4]).getActionFromState:k;t.useEffect((function(){}),[a,o]);var P=t.useRef(a),w=t.useRef(c),_=t.useRef(f),L=t.useRef(s),O=t.useRef(v),j=t.useRef(b),S=t.useRef(R);t.useEffect((function(){P.current=a,w.current=c,_.current=f,L.current=s,O.current=v,j.current=b,S.current=R}));var E=t.useCallback((function(e){if(e&&(!_.current||_.current(e))){var t=(0,r.default)(w.current,e);return void 0!==t?j.current(t,L.current):void 0}}),[]),M=t.useCallback((function(){var e;if(P.current){var t=O.current();if(null!=t&&'string'!=typeof t)return t.then((function(e){return E(e)}));e=E(t)}var n={then:function(t){return Promise.resolve(t?t(e):e)},catch:function(){return n}};return n}),[E]);return t.useEffect((function(){return h((function(t){if(a){var n=e.current,r=n?E(t):void 0;if(n&&r){var i=n.getRootState();if(r.routes.some((function(e){return!(null!=i&&i.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=S.current(r,L.current);if(void 0!==o)try{n.dispatch(o)}catch(e){console.warn(`An error occurred when trying to handle the link '${t}': ${'object'==typeof e&&null!=e&&'message'in e?e.message:e}`)}else n.resetRoot(r)}}}))}),[a,E,e,h]),{getInitialState:M}};var 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=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r})(_r(d[1])),n=_r(d[2]),r=e(_r(d[3]));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}}),794,[1,153,2,795,713]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){for(var c of t){var f,p,o=null!=(f=null==(p=c.match(/^[^:]+:/))?void 0:p[0])?f:'',v=c.replace(new RegExp(`^${(0,n.default)(o)}`),'').replace(/\/+/g,'/').replace(/^\//,''),s=new RegExp(`^${(0,n.default)(o)}(/)*${v.split('.').map((function(t){return'*'===t?'[^/]+':(0,n.default)(t)})).join('\\.')}`),$=u.split('?'),_=(0,l.default)($,2),j=_[0],w=_[1],x=j.replace(/\/+/g,'/').concat(w?`?${w}`:'');if(s.test(x))return x.replace(s,'')}return};var l=t(r(d[1])),n=t(r(d[2]))}),795,[1,26,756]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=n.useState(e),f=(0,r.default)(u,1)[0],a=[!1,void 0];f.then((function(e){a=[!0,e]}));var o=n.useState(a),i=(0,r.default)(o,2),l=i[0],c=i[1],p=(0,r.default)(l,1)[0];return n.useEffect((function(){var e=!1,r=(function(){var r=(0,t.default)((function*(){var t;try{t=yield f}finally{e||c([!0,t])}}));return function(){return r.apply(this,arguments)}})();return p||r(),function(){e=!0}}),[f,p]),l};var t=e(_r(d[1])),r=e(_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 r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=f?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),796,[1,339,26,153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var r=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var i=u?Object.getOwnPropertyDescriptor(e,f):null;i&&(i.get||i.set)?Object.defineProperty(n,f,i):n[f]=e[f]}return n.default=e,t&&t.set(e,n),n})(_r(d[1])),t=e(_r(d[2])),n=_r(d[3]);function o(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(o=function(e){return e?t:r})(e)}_e.default=r.forwardRef((function(e,o){var u=e.children,f=e.location;r.useEffect((function(){console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.")}),[]);var i={};if(o){var a={getCurrentOptions:function(){return i.options}};'function'==typeof o?o(a):o.current=a}return(0,n.jsx)(t.default.Provider,{value:{location:f},children:(0,n.jsx)(_r(d[4]).CurrentRenderContext.Provider,{value:i,children:u})})}))}),797,[1,153,798,194,713]); +__d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(e=function(e){return e?n:r})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=(function(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=e(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var a=u?Object.getOwnPropertyDescriptor(t,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=t[f]}return o.default=t,n&&n.set(t,o),o})(_r(d[0])).createContext(void 0);_e.default=t}),798,[153]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={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)'}}}),799,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){return t.useContext(r.default)};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(u,f,a):u[f]=e[f]}return u.default=e,r&&r.set(e,u),u})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),800,[1,153,791]); +__d((function(g,r,i,a,m,e,d){}),801,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(_r(d[3]).NavigationHelpersContext),n=t.useContext(r.default);return t.useCallback((function(t,r){var o=n.options;if(!1!==(null==o?void 0:o.enabled)){var u=e?a(e,{index:0,routes:[{name:t,params:r}]}):{index:0,routes:[{name:t,params:r}]};return null!=o&&o.getPathFromState?o.getPathFromState(u,null==o?void 0:o.config):(0,_r(d[3]).getPathFromState)(u,null==o?void 0:o.config)}}),[n,e])};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(a,u,i):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}var a=function e(t,r){var n=t.getParent();if(n){var a=n.getState();return e(n,{index:0,routes:[Object.assign({},a.routes[a.index],{state:r})]})}return r}}),802,[1,153,711,713]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r){var n=(0,_r(d[1]).useNavigation)(),o=(0,_r(d[1]).useRoute)();e.useEffect((function(){for(var e=[],u=n;u;)'tab'===u.getState().type&&e.push(u),u=u.getParent();if(0!==e.length){var l=e.map((function(u){return u.addListener('tabPress',(function(u){var l=n.isFocused(),c=e.includes(n)||n.getState().routes[0].key===o.key;requestAnimationFrame((function(){var e=t(r);l&&c&&e&&!u.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()}))}}}),[n,r,o.key])};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 o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=u?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(o,l,c):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));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)}function t(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}}),803,[153,713]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;e(_r(d[1])),(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}o.default=e,r&&r.set(e,o)})(_r(d[2]));var t=_r(d[3]),r=(e(_r(d[4])),_r(d[5]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}_e.default=function(e){return(0,r.jsx)(t.View,Object.assign({},e,{collapsable:!1}))}}),804,[1,119,153,2,155,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n,o,i,c=e.headerBackImageSource,u=e.headerBackButtonMenuEnabled,h=e.headerBackTitle,s=e.headerBackTitleStyle,f=e.headerBackTitleVisible,S=void 0===f||f,y=e.headerBackVisible,k=e.headerShadowVisible,p=e.headerLargeStyle,T=e.headerLargeTitle,b=e.headerLargeTitleShadowVisible,B=e.headerLargeTitleStyle,w=e.headerBackground,j=e.headerLeft,F=e.headerRight,v=e.headerShown,C=e.headerStyle,x=e.headerBlurEffect,O=e.headerTintColor,P=e.headerTitle,V=e.headerTitleAlign,H=e.headerTitleStyle,_=e.headerTransparent,I=e.headerSearchBarOptions,L=e.headerTopInsetEnabled,M=e.route,W=e.title,z=e.canGoBack,E=(0,_r(d[5]).useTheme)().colors,A=null!=O?O:'ios'===l.Platform.OS?E.primary:E.text,D=l.StyleSheet.flatten(s)||{},G=l.StyleSheet.flatten(B)||{},R=l.StyleSheet.flatten(H)||{},N=l.StyleSheet.flatten(C)||{},q=l.StyleSheet.flatten(p)||{},J=(0,_r(d[6]).processFonts)([D.fontFamily,G.fontFamily,R.fontFamily]),K=(0,t.default)(J,3),Q=K[0],U=K[1],X=K[2],Y=(0,_r(d[7]).getHeaderTitle)({title:W,headerTitle:P},M.name),Z=null!=(n=null!=(o=R.color)?o:O)?n:E.text,$=R.fontSize,ee=R.fontWeight,te={color:Z};null!=R.fontFamily&&(te.fontFamily=R.fontFamily);null!=$&&(te.fontSize=$);null!=ee&&(te.fontWeight=ee);var le=null==j?void 0:j({tintColor:A,canGoBack:z,label:h}),re=null==F?void 0:F({tintColor:A,canGoBack:z}),ne='function'==typeof P?P({tintColor:A,children:Y}):null,ae='boolean'==typeof _r(d[8]).isSearchBarAvailableForCurrentPlatform?_r(d[8]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=_r(d[8]).SearchBar,oe=ae&&null!=I;if(null!=I&&!ae)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var ie=y?null!=le:'android'===l.Platform.OS&&null!=ne,ce=null!=w||_||(oe||T)&&'ios'===l.Platform.OS&&!1!==_;return(0,r.jsxs)(_r(d[8]).ScreenStackHeaderConfig,{backButtonInCustomView:ie,backgroundColor:null!=(i=N.backgroundColor)?i:null!=w||_?'transparent':E.card,backTitle:_r(d[8]).isNewBackTitleImplementation||S?h:' ',backTitleVisible:S,backTitleFontFamily:Q,backTitleFontSize:D.fontSize,blurEffect:x,color:A,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===u,hidden:!1===v,hideBackButton:!1===y,hideShadow:!1===k||null!=w||_&&!0!==k,largeTitle:T,largeTitleBackgroundColor:q.backgroundColor,largeTitleColor:G.color,largeTitleFontFamily:U,largeTitleFontSize:G.fontSize,largeTitleFontWeight:G.fontWeight,largeTitleHideShadow:!1===b,title:Y,titleColor:Z,titleFontFamily:X,titleFontSize:$,titleFontWeight:ee,topInsetEnabled:L,translucent:!0===ce,children:['ios'===l.Platform.OS?(0,r.jsxs)(r.Fragment,{children:[null!=le?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:le}):null,null!=ne?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:ne}):null]}):(0,r.jsxs)(r.Fragment,{children:[null!=le||'function'==typeof P?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:(0,r.jsxs)(l.View,{style:a.row,children:[le,'center'!==V?'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y}):null]})}):null,'center'===V?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y})}):null]}),void 0!==c?(0,r.jsx)(_r(d[8]).ScreenStackHeaderBackButtonImage,{source:c}):null,null!=re?(0,r.jsx)(_r(d[8]).ScreenStackHeaderRightView,{children:re}):null,oe?(0,r.jsx)(_r(d[8]).ScreenStackHeaderSearchBarView,{children:(0,r.jsx)(_r(d[8]).SearchBar,Object.assign({},I))}):null]})};var t=e(_r(d[1])),l=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var l=n(t);if(l&&l.has(e))return l.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,l&&l.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(n=function(e){return e?l:t})(e)}var a=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'}})}),805,[1,26,153,2,194,708,806,807,839]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(n){var t,u=null==(t=o.default.fontFamily)?void 0:t.process;if('function'==typeof u)return n.map(u);return n};var o=n(r(d[1]))}),806,[1,162]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Assets:!0,Background:!0,getDefaultHeaderHeight:!0,getHeaderTitle:!0,Header:!0,HeaderBackButton:!0,HeaderBackContext:!0,HeaderBackground:!0,HeaderHeightContext:!0,HeaderShownContext:!0,HeaderTitle:!0,useHeaderHeight:!0,MissingIcon:!0,PlatformPressable:!0,ResourceSavingView:!0,SafeAreaProviderCompat:!0,Screen:!0};e.Assets=void 0,Object.defineProperty(e,"Background",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"HeaderBackButton",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"HeaderBackContext",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"HeaderBackground",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"HeaderHeightContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"HeaderShownContext",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"HeaderTitle",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"MissingIcon",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"PlatformPressable",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"ResourceSavingView",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"SafeAreaProviderCompat",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"Screen",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"getDefaultHeaderHeight",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getHeaderTitle",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useHeaderHeight",{enumerable:!0,get:function(){return y.default}});var u=t(r(d[1])),o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),H=t(r(d[7])),s=t(r(d[8])),P=t(r(d[9])),p=t(r(d[10])),y=t(r(d[11])),O=t(r(d[12])),j=t(r(d[13])),h=t(r(d[14])),B=t(r(d[15])),k=t(r(d[16]));Object.keys(r(d[17])).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===r(d[17])[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r(d[17])[t]}}))}));e.Assets=[r(d[18]),r(d[19])]}),807,[1,808,809,810,811,825,831,812,832,813,815,833,834,828,835,836,837,838,829,830]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var u=e.style,a=(0,t.default)(e,o),f=(0,_r(d[5]).useTheme)().colors;return(0,n.jsx)(r.View,Object.assign({},a,{style:[{flex:1,backgroundColor:f.background},u]}))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=o?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(n,a,f):n[a]=e[a]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),n=_r(d[4]),o=["style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}}),808,[1,119,153,2,194,708]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,f,l){var n,u=o.width>o.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])}),809,[2]); +__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}}),810,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var b=(0,_r(d[9]).useSafeAreaInsets)(),f=(0,_r(d[9]).useSafeAreaFrame)(),p=r.useContext(n.default),c='ios'===o.Platform.OS&&b.top>50?b.top-5:b.top,y=e.layout,R=void 0===y?f:y,C=e.modal,S=void 0!==C&&C,w=e.title,x=e.headerTitle,v=e.headerTitleAlign,W=void 0===v?o.Platform.select({ios:'center',default:'left'}):v,T=e.headerLeft,B=e.headerLeftLabelVisible,j=e.headerTransparent,O=e.headerTintColor,E=e.headerBackground,L=e.headerRight,P=e.headerTitleAllowFontScaling,V=e.headerTitleStyle,_=e.headerLeftContainerStyle,A=e.headerRightContainerStyle,k=e.headerTitleContainerStyle,H=e.headerBackgroundContainerStyle,M=e.headerStyle,F=e.headerShadowVisible,I=e.headerPressColor,D=e.headerPressOpacity,z=e.headerStatusBarHeight,G=void 0===z?p?0:c:z,q=(0,i.default)(R,S,G),J=o.StyleSheet.flatten(M||{}),K=J.height,N=void 0===K?q:K,Q=J.minHeight,U=J.maxHeight,X=J.backgroundColor,Y=J.borderBottomColor,Z=J.borderBottomEndRadius,$=J.borderBottomLeftRadius,ee=J.borderBottomRightRadius,te=J.borderBottomStartRadius,re=J.borderBottomWidth,oe=J.borderColor,de=J.borderEndColor,ie=J.borderEndWidth,ae=J.borderLeftColor,ne=J.borderLeftWidth,le=J.borderRadius,se=J.borderRightColor,he=J.borderRightWidth,be=J.borderStartColor,ue=J.borderStartWidth,fe=J.borderStyle,pe=J.borderTopColor,ce=J.borderTopEndRadius,ge=J.borderTopLeftRadius,ye=J.borderTopRightRadius,me=J.borderTopStartRadius,Re=J.borderTopWidth,Ce=J.borderWidth,Se=J.boxShadow,we=J.elevation,xe=J.shadowColor,ve=J.shadowOffset,We=J.shadowOpacity,Te=J.shadowRadius,Be=J.opacity,je=J.transform,Oe=((0,t.default)(J,h),{backgroundColor:X,borderBottomColor:Y,borderBottomEndRadius:Z,borderBottomLeftRadius:$,borderBottomRightRadius:ee,borderBottomStartRadius:te,borderBottomWidth:re,borderColor:oe,borderEndColor:de,borderEndWidth:ie,borderLeftColor:ae,borderLeftWidth:ne,borderRadius:le,borderRightColor:se,borderRightWidth:he,borderStartColor:be,borderStartWidth:ue,borderStyle:fe,borderTopColor:pe,borderTopEndRadius:ce,borderTopLeftRadius:ge,borderTopRightRadius:ye,borderTopStartRadius:me,borderTopWidth:Re,borderWidth:Ce,boxShadow:Se,elevation:we,shadowColor:xe,shadowOffset:ve,shadowOpacity:We,shadowRadius:Te,opacity:Be,transform:je});for(var Ee in Oe)void 0===Oe[Ee]&&delete Oe[Ee];var Le=[Oe,!1===F&&{elevation:0,shadowOpacity:0,borderBottomWidth:0}],Pe=T?T({tintColor:O,pressColor:I,pressOpacity:D,labelVisible:B}):null,Ve=L?L({tintColor:O,pressColor:I,pressOpacity:D}):null,Ae='function'!=typeof x?function(e){return(0,s.jsx)(l.default,Object.assign({},e))}:x;return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[o.StyleSheet.absoluteFill,{zIndex:0},H],children:E?E({style:Le}):j?null:(0,s.jsx)(a.default,{style:Le})}),(0,s.jsxs)(o.Animated.View,{pointerEvents:"box-none",style:[{height:N,minHeight:Q,maxHeight:U,opacity:Be,transform:je}],children:[(0,s.jsx)(o.View,{pointerEvents:"none",style:{height:G}}),(0,s.jsxs)(o.View,{pointerEvents:"box-none",style:u.content,children:[(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.left,'center'===W&&u.expand,{marginStart:b.left},_],children:Pe}),(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.title,{maxWidth:'center'===W?R.width-2*((Pe?!1!==B?80:32:16)+Math.max(b.left,b.right)):R.width-((Pe?72:16)+(Ve?72:16)+b.left-b.right)},k],children:Ae({children:w,allowFontScaling:P,tintColor:O,style:V})}),(0,s.jsx)(o.Animated.View,{pointerEvents:"box-none",style:[u.right,u.expand,{marginEnd:b.right},A],children:Ve})]})]})]})};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var n=i?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(o,a,n):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[2])),o=_r(d[3]),i=e(_r(d[4])),a=e(_r(d[5])),n=e(_r(d[6])),l=e(_r(d[7])),s=_r(d[8]),h=["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 b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}var u=o.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}})}),811,[1,119,153,2,809,812,813,815,194,816]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.style,l=(0,t.default)(e,n),u=(0,_r(d[5]).useTheme)().colors;return(0,o.jsx)(r.Animated.View,Object.assign({style:[i.container,{backgroundColor:u.card,borderBottomColor:u.border,shadowColor:u.border},a]},l))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,r&&r.set(e,o)})(_r(d[2])),_r(d[3])),o=_r(d[4]),n=["style"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var i=r.StyleSheet.create({container:Object.assign({flex:1},r.Platform.select({android:{elevation:4},ios:{shadowOpacity:.85,shadowRadius:0,shadowOffset:{width:0,height:r.StyleSheet.hairlineWidth}},default:{borderBottomWidth:r.StyleSheet.hairlineWidth}}))})}),812,[1,119,153,2,194,708]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderShownContext',!1);e.default=o}),813,[1,814]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e,r){var a=g[n].get(e);if(a)return a;return(a=t.createContext(r)).displayName=e,g[n].set(e,a),a};var e,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=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=o?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=e[u]}return a.default=e,n&&n.set(e,a),a})(_r(d[0]));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)}var n='__react_navigation__elements_contexts';g[n]=null!=(e=g[n])?e:new Map}),814,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var i=e.tintColor,l=e.style,f=(0,t.default)(e,o),u=(0,_r(d[5]).useTheme)().colors;return(0,n.jsx)(r.Animated.Text,Object.assign({accessibilityRole:"header","aria-level":"1",numberOfLines:1},f,{style:[a.title,{color:void 0===i?u.text:i},l]}))};var t=e(_r(d[1])),r=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),n=_r(d[4]),o=["tintColor","style"];function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var a=r.StyleSheet.create({title:r.Platform.select({ios:{fontSize:17,fontWeight:'600'},android:{fontSize:20,fontFamily:'sans-serif-medium',fontWeight:'normal'},default:{fontSize:18,fontWeight:'500'}})})}),815,[1,119,153,2,194,708]); +__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]}}))}))}),816,[817,820,822,824]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SafeAreaInsetsContext=_e.SafeAreaFrameContext=_e.SafeAreaContext=_e.SafeAreaConsumer=void 0,_e.SafeAreaProvider=function(e){var u,c,v,h,p,S=e.children,x=e.initialMetrics,w=e.initialSafeAreaInsets,y=e.style,A=(0,r.default)(e,o),C=n.useContext(l),b=n.useContext(f),j=n.useState(null!=(u=null!=(c=null!=(v=null==x?void 0:x.insets)?v:w)?c:C)?u:null),O=(0,t.default)(j,2),P=O[0],_=O[1],M=n.useState(null!=(h=null!=(p=null==x?void 0:x.frame)?p:b)?h:{x:0,y:0,width:a.Dimensions.get('window').width,height:a.Dimensions.get('window').height}),I=(0,t.default)(M,2),k=I[0],D=I[1],E=n.useCallback((function(e){var t=e.nativeEvent,r=t.frame,n=t.insets;D((function(e){return!r||r.height===e.height&&r.width===e.width&&r.x===e.x&&r.y===e.y?e:r})),_((function(e){return e&&n.bottom===e.bottom&&n.left===e.left&&n.right===e.right&&n.top===e.top?e:n}))}),[]);return(0,i.jsx)(_r(d[6]).NativeSafeAreaProvider,Object.assign({style:[s.fill,y],onInsetsChange:E},A,{children:null!=P?(0,i.jsx)(f.Provider,{value:k,children:(0,i.jsx)(l.Provider,{value:P,children:S})}):null}))},_e.useSafeArea=function(){return v()},_e.useSafeAreaFrame=function(){var e=n.useContext(f);if(null==e)throw new Error(c);return e},_e.useSafeAreaInsets=v,_e.withSafeAreaInsets=function(e){return n.forwardRef((function(t,r){var n=v();return(0,i.jsx)(e,Object.assign({},t,{insets:n,ref:r}))}))};var t=e(_r(d[1])),r=e(_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 r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),a=_r(d[4]),i=_r(d[5]),o=["children","initialMetrics","initialSafeAreaInsets","style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=_e.SafeAreaInsetsContext=n.createContext(null),f=_e.SafeAreaFrameContext=n.createContext(null);var s=a.StyleSheet.create({fill:{flex:1}});var c='No safe area value available. Make sure you are rendering `` at the top of your app.';function v(){var e=n.useContext(l);if(null==e)throw new Error(c);return e}_e.SafeAreaConsumer=l.Consumer,_e.SafeAreaContext=l}),817,[1,26,119,153,2,194,818]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeSafeAreaProvider",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))}),818,[1,819]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;n(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNCSafeAreaProvider',directEventTypes:{topPaperInsetsChange:{registrationName:'onInsetsChange'}},validAttributes:Object.assign({},r(d[2]).ConditionallyIgnoredEventHandlers({onInsetsChange:!0}))};e.default=r(d[3]).get('RNCSafeAreaProvider',(function(){return t}))}),819,[1,206,190,160]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SafeAreaView=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=o?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(n,f,a):n[f]=e[f]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=r,o=e(_r(d[3])),f=_r(d[4]),a=["edges"];function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u={top:'additive',left:'additive',bottom:'additive',right:'additive'};_e.SafeAreaView=n.forwardRef((function(e,n){var i=e.edges,l=(0,t.default)(e,a),c=(0,r.useMemo)((function(){var e,t,r,n;if(null==i)return u;var o=Array.isArray(i)?i.reduce((function(e,t){return e[t]='additive',e}),{}):i;return{top:null!=(e=o.top)?e:'off',right:null!=(t=o.right)?t:'off',bottom:null!=(r=o.bottom)?r:'off',left:null!=(n=o.left)?n:'off'}}),[i]);return(0,f.jsx)(o.default,Object.assign({},l,{edges:c,ref:n}))}))}),820,[1,119,153,821,194]); +__d((function(g,r,i,a,m,e,d){var _=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;_(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNCSafeAreaView',validAttributes:{mode:!0,edges:!0}};e.default=r(d[2]).get('RNCSafeAreaView',(function(){return t}))}),821,[1,206,160]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var t,l,s=n(r(d[1])),o=e.initialWindowMetrics=null!=(t=null==s.default||null==s.default.getConstants||null==(l=s.default.getConstants())?void 0:l.initialWindowMetrics)?t:null;e.initialWindowSafeAreaInsets=null==o?void 0:o.insets}),822,[1,823]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);e.default=t.TurboModuleRegistry.get('RNCSafeAreaContext')}),823,[2]); +__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})}),824,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var l=e.disabled,u=e.allowFontScaling,f=e.backImage,b=e.label,y=e.labelStyle,h=e.labelVisible,p=void 0===h?'ios'===n.Platform.OS:h,v=e.onLabelLayout,w=e.onPress,j=e.pressColor,x=e.pressOpacity,M=e.screenLayout,O=e.tintColor,P=e.titleLayout,k=e.truncatedLabel,L=void 0===k?'Back':k,S=e.accessibilityLabel,C=void 0===S?b&&'Back'!==b?`${b}, back`:'Go back':S,_=e.testID,I=e.style,W=(0,_r(d[7]).useTheme)().colors,D=i.useState(void 0),R=(0,t.default)(D,2),V=R[0],F=R[1],z=void 0!==O?O:n.Platform.select({ios:W.primary,default:W.text}),T=function(e){null==v||v(e),F(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return(0,o.jsx)(r.default,{disabled:l,accessible:!0,accessibilityRole:"button",accessibilityLabel:C,testID:_,onPress:l?void 0:function(){return w&&requestAnimationFrame(w)},pressColor:j,pressOpacity:x,android_ripple:s,style:[c.container,l&&c.disabled,I],hitSlop:n.Platform.select({ios:void 0,default:{top:16,right:16,bottom:16,left:16}}),children:(0,o.jsxs)(i.Fragment,{children:[f?f({tintColor:z}):(0,o.jsx)(n.Image,{style:[c.icon,Boolean(p)&&c.iconWithLabel,Boolean(z)&&{tintColor:z}],source:_r(d[8]),fadeDuration:0}),(function(){var e=!b||V&&P&&M&&(M.width-P.width)/2=23,radius:20},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}]}})}),825,[1,26,153,2,826,828,194,708,829,830]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))}),826,[1,827]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n=e.children,f=(0,r.default)(e,u);if(o&&t)return(0,a.jsx)(t,Object.assign({},f,{children:n}));return n};var t,r=e(_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 r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var o=a?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}n.default=e,r&&r.set(e,n)})(_r(d[2])),_r(d[3])),a=_r(d[4]),u=["children"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}try{t=_r(d[5]).default}catch(e){}var o=null!=n.UIManager.getViewManagerConfig('RNCMaskedView')}),827,[1,119,153,2,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var s=e.onPressIn,f=e.onPressOut,p=e.android_ripple,c=e.pressColor,O=e.pressOpacity,y=void 0===O?.3:O,v=e.style,P=(0,r.default)(e,i),_=(0,_r(d[6]).useTheme)().dark,b=n.useState((function(){return new o.Animated.Value(1)})),j=(0,t.default)(b,1)[0],w=function(e,t){l||o.Animated.timing(j,{toValue:e,duration:t,easing:o.Easing.inOut(o.Easing.quad),useNativeDriver:!0}).start()};return(0,a.jsx)(u,Object.assign({onPressIn:function(e){w(y,0),null==s||s(e)},onPressOut:function(e){w(1,200),null==f||f(e)},android_ripple:l?Object.assign({color:void 0!==c?c:_?'rgba(255, 255, 255, .32)':'rgba(0, 0, 0, .32)'},p):void 0,style:[{opacity:l?1:j},v]},P))};var t=e(_r(d[1])),r=e(_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 r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),o=_r(d[4]),a=_r(d[5]),i=["onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","style"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}var u=o.Animated.createAnimatedComponent(o.Pressable),l='android'===o.Platform.OS&&o.Platform.Version>=21}),828,[1,26,119,153,2,194,708]); +__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:24,height:24,scales:[1,1.5,2,3,4],hash:"a364dc7a784101f7c8f6791c7b4514ce",name:"back-icon",type:"png"})}),829,[490]); +__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"})}),830,[490]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderBackContext',void 0);e.default=o}),831,[1,814]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,t(r(d[1])).default)('HeaderHeightContext',void 0);e.default=o}),832,[1,814]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(o,u,i):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),833,[1,153,832]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r){var o=r.color,a=r.size,u=r.style;return(0,t.jsx)(e.Text,{style:[n.icon,{color:o,fontSize:a},u],children:"\u23f7"})};!(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 o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=a?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,n&&n.set(e,o)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);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)}var n=e.StyleSheet.create({icon:{backgroundColor:'transparent'}})}),834,[153,2,194]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.visible,l=e.children,c=e.style,f=(0,t.default)(e,o);if('web'===n.Platform.OS)return(0,r.jsx)(n.View,Object.assign({hidden:!a,style:[{display:a?'flex':'none'},i.container,c],pointerEvents:a?'auto':'none'},f,{children:l}));return(0,r.jsx)(n.View,{style:[i.container,c],pointerEvents:a?'auto':'none',children:(0,r.jsx)(n.View,{collapsable:!1,removeClippedSubviews:'ios'!==n.Platform.OS&&'macos'!==n.Platform.OS||!a,pointerEvents:a?'auto':'none',style:a?i.attached:i.detached,children:l})})};var t=e(_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=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]),o=["visible","children","style"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var i=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e4}})}),835,[1,119,153,2,194]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=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=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=e[a]}i.default=e,n&&n.set(e,i)})(_r(d[0]));var e=_r(d[1]),t=_r(d[2]);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)}var n=e.Dimensions.get('window'),i=n.width,o=void 0===i?0:i,a=n.height,l=void 0===a?0:a,f='web'===e.Platform.OS||null==_r(d[3]).initialWindowMetrics?{frame:{x:0,y:0,width:o,height:l},insets:{top:0,left:0,right:0,bottom:0}}:_r(d[3]).initialWindowMetrics;function c(r){var n=r.children,i=r.style;return(0,t.jsx)(_r(d[3]).SafeAreaInsetsContext.Consumer,{children:function(r){return r?(0,t.jsx)(e.View,{style:[u.container,i],children:n}):(0,t.jsx)(_r(d[3]).SafeAreaProvider,{initialMetrics:f,style:i,children:n})}})}c.initialMetrics=f;var u=e.StyleSheet.create({container:{flex:1}})}),836,[153,2,194,816]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var s=(0,_r(d[9]).useSafeAreaFrame)(),f=(0,_r(d[9]).useSafeAreaInsets)(),v=n.useContext(l.default),p=n.useContext(i.default),h=e.focused,y=e.modal,j=void 0!==y&&y,x=e.header,b=e.headerShown,P=void 0===b||b,_=e.headerTransparent,O=e.headerStatusBarHeight,w=void 0===O?v?0:f.top:O,S=e.navigation,M=e.route,C=e.children,k=e.style,A=n.useState((function(){return(0,o.default)(s,j,w)})),D=(0,t.default)(A,2),W=D[0],E=D[1];return(0,u.jsxs)(a.default,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[c.container,k],children:[(0,u.jsx)(r.View,{style:c.content,children:(0,u.jsx)(l.default.Provider,{value:v||!1!==P,children:(0,u.jsx)(i.default.Provider,{value:P?W:null!=p?p:0,children:C})})}),P?(0,u.jsx)(_r(d[10]).NavigationContext.Provider,{value:S,children:(0,u.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:M,children:(0,u.jsx)(r.View,{onLayout:function(e){var t=e.nativeEvent.layout.height;E(t)},style:_?c.absolute:null,children:x})})}):null]})};var t=e(_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=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=_r(d[3]),a=e(_r(d[4])),o=e(_r(d[5])),i=e(_r(d[6])),l=e(_r(d[7])),u=_r(d[8]);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=r.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},content:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0}})}),837,[1,26,153,2,808,809,832,813,194,816,708]); +__d((function(g,r,i,a,m,e,d){}),838,[]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=e(_r(d[1])),n=e(_r(d[2])),r=e(_r(d[3])),a=e(_r(d[4])),i=e(_r(d[5])),o=e(_r(d[6])),c=e(_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=w(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r})(_r(d[8])),s=_r(d[9]),u=e(_r(d[10])),v=e(_r(d[11])),f=_r(d[12]),h=["children"],S=["enabled","freezeOnBlur"],p=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],b=["active","activityState","style","onComponentRef"],y=["enabled","hasTwoStates"];function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e){var t=N();return function(){var n,r=(0,i.default)(e);if(t){var o=(0,i.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}function N(){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 k='ios'===s.Platform.OS||'android'===s.Platform.OS||'windows'===s.Platform.OS,j=k;var O=!1;var x,B,R,P,A,H,W,F,M,V;var _={get NativeScreen(){return x=x||_r(d[14]).default},get NativeScreenContainer(){return B=B||_r(d[15]).default},get NativeScreenNavigationContainer(){return R=R||('ios'===s.Platform.OS?_r(d[16]).default:this.NativeScreenContainer)},get NativeScreenStack(){return P=P||_r(d[17]).default},get NativeScreenStackHeaderConfig(){return A=A||_r(d[18]).default},get NativeScreenStackHeaderSubview(){return H=H||_r(d[19]).default},get NativeSearchBar(){return F=F||_r(d[20]).default},get NativeSearchBarCommands(){return M=M||_r(d[20]).Commands},get NativeFullWindowOverlay(){return V=V||_r(d[21]).default}};function D(e){var t=e.freeze,n=e.children,r=l.default.useState(!1),a=(0,c.default)(r,2),i=a[0],o=a[1];return(0,l.useEffect)((function(){var e=setImmediate((function(){o(t)}));return function(){clearImmediate(e)}}),[t]),(0,f.jsx)(_r(d[22]).Freeze,{freeze:!!t&&i,children:n})}var I=(function(e){(0,r.default)(i,e);var a=C(i);function i(){var e;(0,t.default)(this,i);for(var n=arguments.length,r=new Array(n),o=0;o1,children:e})}));return(0,f.jsx)(_.NativeScreenStack,Object.assign({},n,{children:a}))},InnerScreen:I,SearchBar:z,FullWindowOverlay:function(e){return'ios'!==s.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,f.jsx)(s.View,Object.assign({},e))):(0,f.jsx)(_.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return _.NativeScreen},get NativeScreenContainer(){return _.NativeScreenContainer},get NativeScreenNavigationContainer(){return _.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return _.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return _.NativeScreenStackHeaderSubview},get SearchBarCommands(){return _.NativeSearchBarCommands},ScreenStackHeaderBackButtonImage:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,{type:"back",style:T.headerSubview,children:(0,f.jsx)(s.Image,Object.assign({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"right",style:T.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"left",style:T.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"center",style:T.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,f.jsx)(_.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"searchBar",style:T.headerSubview}))},enableScreens:function(){(j=k&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))&&!s.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[13]).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:v.default,isSearchBarAvailableForCurrentPlatform:_r(d[23]).isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:_r(d[23]).isNewBackTitleImplementation,executeNativeBackPress:_r(d[23]).executeNativeBackPress}}),839,[1,5,6,13,15,12,119,26,153,2,840,841,194,842,843,844,845,846,847,848,849,850,851,852]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}_e.default=e.createContext(void 0)}),840,[153]); +__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=t.useContext(r.default);if(void 0===e)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return e};var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[1])),r=e(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),841,[1,153,840]); +__d((function(e,s,t,r,i,a,c){i.exports={name:"react-native",version:"0.73.6",description:"A framework for building native apps using React",license:"MIT",repository:{type:"git",url:"https://github.com/facebook/react-native.git",directory:"packages/react-native"},homepage:"https://reactnative.dev/",keywords:["react","react-native","android","ios","mobile","cross-platform","app-framework","mobile-development"],bugs:"https://github.com/facebook/react-native/issues",engines:{node:">=18"},bin:"./cli.js",types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","gradle.properties","gradle/libs.versions.toml","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/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.6.3","@react-native-community/cli":"12.3.6","@react-native-community/cli-platform-android":"12.3.6","@react-native-community/cli-platform-ios":"12.3.6","@react-native/assets-registry":"0.73.1","@react-native/community-cli-plugin":"0.73.17","@react-native/codegen":"0.73.3","@react-native/gradle-plugin":"0.73.4","@react-native/js-polyfills":"0.73.1","@react-native/normalize-colors":"0.73.2","@react-native/virtualized-lists":"0.73.4","abort-controller":"^3.0.0",anser:"^1.4.9","ansi-regex":"^5.0.0","base64-js":"^1.5.1",chalk:"^4.0.0","deprecated-react-native-prop-types":"^5.0.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.6",invariant:"^2.2.4","jest-environment-node":"^29.6.3","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"^0.80.3","metro-source-map":"^0.80.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.7","react-refresh":"^0.14.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","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"}]}}}),842,[]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var s=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreen',bubblingEventTypes:{topAppear:{phasedRegistrationNames:{captured:'onAppearCapture',bubbled:'onAppear'}},topDisappear:{phasedRegistrationNames:{captured:'onDisappearCapture',bubbled:'onDisappear'}},topDismissed:{phasedRegistrationNames:{captured:'onDismissedCapture',bubbled:'onDismissed'}},topNativeDismissCancelled:{phasedRegistrationNames:{captured:'onNativeDismissCancelledCapture',bubbled:'onNativeDismissCancelled'}},topWillAppear:{phasedRegistrationNames:{captured:'onWillAppearCapture',bubbled:'onWillAppear'}},topWillDisappear:{phasedRegistrationNames:{captured:'onWillDisappearCapture',bubbled:'onWillDisappear'}},topHeaderHeightChange:{phasedRegistrationNames:{captured:'onHeaderHeightChangeCapture',bubbled:'onHeaderHeightChange'}},topTransitionProgress:{phasedRegistrationNames:{captured:'onTransitionProgressCapture',bubbled:'onTransitionProgress'}},topGestureCancel:{phasedRegistrationNames:{captured:'onGestureCancelCapture',bubbled:'onGestureCancel'}},topHeaderBackButtonClicked:{phasedRegistrationNames:{captured:'onHeaderBackButtonClickedCapture',bubbled:'onHeaderBackButtonClicked'}}},validAttributes:Object.assign({sheetAllowedDetents:!0,sheetLargestUndimmedDetent:!0,sheetGrabberVisible:!0,sheetCornerRadius:!0,sheetExpandsWhenScrolledToEdge:!0,customAnimationOnSwipe:!0,fullScreenSwipeEnabled:!0,homeIndicatorHidden:!0,preventNativeDismiss:!0,gestureEnabled:!0,statusBarColor:{process:r(d[2]).default},statusBarHidden:!0,screenOrientation:!0,statusBarAnimation:!0,statusBarStyle:!0,statusBarTranslucent:!0,gestureResponseDistance:!0,stackPresentation:!0,stackAnimation:!0,transitionDuration:!0,replaceAnimation:!0,swipeDirection:!0,hideKeyboardOnSwipe:!0,activityState:!0,navigationBarColor:{process:r(d[2]).default},navigationBarHidden:!0,nativeBackButtonDismissalEnabled:!0},r(d[3]).ConditionallyIgnoredEventHandlers({onAppear:!0,onDisappear:!0,onDismissed:!0,onNativeDismissCancelled:!0,onWillAppear:!0,onWillDisappear:!0,onHeaderHeightChange:!0,onTransitionProgress:!0,onGestureCancel:!0,onHeaderBackButtonClicked:!0}))};e.default=r(d[4]).get('RNSScreen',(function(){return s}))}),843,[1,206,164,190,160]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var n=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenContainer',validAttributes:{}};e.default=r(d[2]).get('RNSScreenContainer',(function(){return n}))}),844,[1,206,160]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var n=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenNavigationContainer',validAttributes:{}};e.default=r(d[2]).get('RNSScreenNavigationContainer',(function(){return n}))}),845,[1,206,160]); +__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;n(r(d[1]));var t=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStack',directEventTypes:{topFinishTransitioning:{registrationName:'onFinishTransitioning'}},validAttributes:Object.assign({},r(d[2]).ConditionallyIgnoredEventHandlers({onFinishTransitioning:!0}))};e.default=r(d[3]).get('RNSScreenStack',(function(){return t}))}),846,[1,206,190,160]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var l=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStackHeaderConfig',validAttributes:{backgroundColor:{process:r(d[2]).default},backTitle:!0,backTitleFontFamily:!0,backTitleFontSize:!0,backTitleVisible:!0,color:{process:r(d[2]).default},direction:!0,hidden:!0,hideShadow:!0,largeTitle:!0,largeTitleFontFamily:!0,largeTitleFontSize:!0,largeTitleFontWeight:!0,largeTitleBackgroundColor:{process:r(d[2]).default},largeTitleHideShadow:!0,largeTitleColor:{process:r(d[2]).default},translucent:!0,title:!0,titleFontFamily:!0,titleFontSize:!0,titleFontWeight:!0,titleColor:{process:r(d[2]).default},disableBackButtonMenu:!0,hideBackButton:!0,backButtonInCustomView:!0,topInsetEnabled:!0}};e.default=r(d[3]).get('RNSScreenStackHeaderConfig',(function(){return l}))}),847,[1,206,164,160]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;t(r(d[1]));var _=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSScreenStackHeaderSubview',validAttributes:{type:!0}};e.default=r(d[2]).get('RNSScreenStackHeaderSubview',(function(){return _}))}),848,[1,206,160]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=e.Commands=void 0;t(r(d[1])),t(r(d[2]));var o=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSSearchBar',bubblingEventTypes:{topFocus:{phasedRegistrationNames:{captured:'onFocusCapture',bubbled:'onFocus'}},topBlur:{phasedRegistrationNames:{captured:'onBlurCapture',bubbled:'onBlur'}},topSearchButtonPress:{phasedRegistrationNames:{captured:'onSearchButtonPressCapture',bubbled:'onSearchButtonPress'}},topCancelButtonPress:{phasedRegistrationNames:{captured:'onCancelButtonPressCapture',bubbled:'onCancelButtonPress'}},topChangeText:{phasedRegistrationNames:{captured:'onChangeTextCapture',bubbled:'onChangeText'}},topClose:{phasedRegistrationNames:{captured:'onCloseCapture',bubbled:'onClose'}},topOpen:{phasedRegistrationNames:{captured:'onOpenCapture',bubbled:'onOpen'}}},validAttributes:Object.assign({hideWhenScrolling:!0,autoCapitalize:!0,placeholder:!0,placement:!0,obscureBackground:!0,hideNavigationBar:!0,cancelButtonText:!0,barTintColor:{process:r(d[3]).default},tintColor:{process:r(d[3]).default},textColor:{process:r(d[3]).default},disableBackButtonOverride:!0,inputType:!0,hintTextColor:{process:r(d[3]).default},headerIconColor:{process:r(d[3]).default},shouldShowHintSearchIcon:!0},r(d[4]).ConditionallyIgnoredEventHandlers({onFocus:!0,onBlur:!0,onSearchButtonPress:!0,onCancelButtonPress:!0,onChangeText:!0,onClose:!0,onOpen:!0}))};e.default=r(d[5]).get('RNSSearchBar',(function(){return o})),e.Commands={blur:function(t){r(d[6]).dispatchCommand(t,"blur",[])},focus:function(t){r(d[6]).dispatchCommand(t,"focus",[])},clearText:function(t){r(d[6]).dispatchCommand(t,"clearText",[])},toggleCancelButton:function(t,o){r(d[6]).dispatchCommand(t,"toggleCancelButton",[o])},setText:function(t,o){r(d[6]).dispatchCommand(t,"setText",[o])}}}),849,[1,206,193,164,190,160,52]); +__d((function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__INTERNAL_VIEW_CONFIG=void 0;l(r(d[1]));var _=e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RNSFullWindowOverlay',validAttributes:{}};e.default=r(d[2]).get('RNSFullWindowOverlay',(function(){return _}))}),850,[1,206,160]); +__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Freeze=function(t){var o=t.freeze,i=t.children,u=t.placeholder,f=void 0===u?null:u;return(0,r.jsx)(e.Suspense,{fallback:f,children:(0,r.jsx)(n,{freeze:o,children:i})})};var e=(function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=t(r);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}return o.default=e,n&&n.set(e,o),o})(_r(d[0])),r=_r(d[1]);function t(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(t=function(e){return e?n:r})(e)}function n(t){var n=t.freeze,o=t.children,i=(0,e.useRef)({}).current;if(n&&!i.promise)throw i.promise=new Promise((function(e){i.resolve=e})),i.promise;if(n)throw i.promise;return i.promise&&(i.resolve(),i.promise=void 0),(0,r.jsx)(e.Fragment,{children:o})}}),851,[153,194]); +__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=e.isNewBackTitleImplementation=void 0;var t=r(d[0]);e.isSearchBarAvailableForCurrentPlatform=['ios','android'].includes(t.Platform.OS);e.isNewBackTitleImplementation=!0}),852,[2]); +__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var o=t(r(d[1])),u=t(r(d[2]));e.store=(0,r(d[3]).configureStore)({reducer:{settings:o.default,result:u.default}})}),853,[1,475,483,477]); +__d((function(a,e,l,m,p,s,t){p.exports={name:"W3sSampleWallet",displayName:"W3sSampleWallet"}}),854,[]); __r(57); __r(0); \ No newline at end of file diff --git a/android/app/src/main/java/com/w3ssamplewallet/MainActivity.kt b/android/app/src/main/java/com/w3ssamplewallet/MainActivity.kt index c1e9953..008bcdd 100644 --- a/android/app/src/main/java/com/w3ssamplewallet/MainActivity.kt +++ b/android/app/src/main/java/com/w3ssamplewallet/MainActivity.kt @@ -15,7 +15,7 @@ // limitations under the License. // -package com.w3ssamplewallet +package com.circle.w3s.rn.sample.wallet import com.facebook.react.ReactActivity import com.facebook.react.ReactActivityDelegate diff --git a/android/app/src/main/java/com/w3ssamplewallet/MainApplication.kt b/android/app/src/main/java/com/w3ssamplewallet/MainApplication.kt index daf03b6..3a96abd 100644 --- a/android/app/src/main/java/com/w3ssamplewallet/MainApplication.kt +++ b/android/app/src/main/java/com/w3ssamplewallet/MainApplication.kt @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package com.w3ssamplewallet +package com.circle.w3s.rn.sample.wallet import android.app.Application import com.facebook.react.PackageList diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 1365c18..c8466f6 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -16,4 +16,8 @@ W3sSampleWallet + YOUR_GOOGLE_WEB_CLIENT_ID + YOUR_FACEBOOK_APP_ID + fbYOUR_FACEBOOK_APP_ID + YOUR_FACEBOOK_CLIENT_TOKEN diff --git a/android/build.gradle b/android/build.gradle index dad3159..7e9c889 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -49,6 +49,7 @@ buildscript { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") classpath 'com.android.tools.build:gradle' classpath 'com.android.tools.build:gradle:8.0.2' + classpath 'com.google.gms:google-services:4.4.2' } } diff --git a/android/gradle.properties b/android/gradle.properties index e13be64..7fc8999 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -50,7 +50,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # your application. You should enable this flag either if you want # to write custom TurboModules/Fabric components OR use libraries that # are providing them. -newArchEnabled=true +newArchEnabled=false # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead. diff --git a/assets/image/ic_apple.png b/assets/image/ic_apple.png new file mode 100644 index 0000000..5a28eb4 Binary files /dev/null and b/assets/image/ic_apple.png differ diff --git a/assets/image/ic_apple@2x.png b/assets/image/ic_apple@2x.png new file mode 100644 index 0000000..4c18ad1 Binary files /dev/null and b/assets/image/ic_apple@2x.png differ diff --git a/assets/image/ic_apple@3x.png b/assets/image/ic_apple@3x.png new file mode 100644 index 0000000..eb41144 Binary files /dev/null and b/assets/image/ic_apple@3x.png differ diff --git a/assets/image/ic_biometrics.png b/assets/image/ic_biometrics.png new file mode 100644 index 0000000..f2f198a Binary files /dev/null and b/assets/image/ic_biometrics.png differ diff --git a/assets/image/ic_biometrics@2x.png b/assets/image/ic_biometrics@2x.png new file mode 100644 index 0000000..2f20954 Binary files /dev/null and b/assets/image/ic_biometrics@2x.png differ diff --git a/assets/image/ic_biometrics@3x.png b/assets/image/ic_biometrics@3x.png new file mode 100644 index 0000000..7bf21dd Binary files /dev/null and b/assets/image/ic_biometrics@3x.png differ diff --git a/assets/image/ic_close.png b/assets/image/ic_close.png index a1863b1..dbf87e4 100644 Binary files a/assets/image/ic_close.png and b/assets/image/ic_close.png differ diff --git a/assets/image/ic_close@2x.png b/assets/image/ic_close@2x.png index dadc5bd..dc1213c 100644 Binary files a/assets/image/ic_close@2x.png and b/assets/image/ic_close@2x.png differ diff --git a/assets/image/ic_close@3x.png b/assets/image/ic_close@3x.png index 88cea88..99156e6 100644 Binary files a/assets/image/ic_close@3x.png and b/assets/image/ic_close@3x.png differ diff --git a/assets/image/ic_copy.png b/assets/image/ic_copy.png new file mode 100644 index 0000000..915b988 Binary files /dev/null and b/assets/image/ic_copy.png differ diff --git a/assets/image/ic_copy@2x.png b/assets/image/ic_copy@2x.png new file mode 100644 index 0000000..0973c99 Binary files /dev/null and b/assets/image/ic_copy@2x.png differ diff --git a/assets/image/ic_copy@3x.png b/assets/image/ic_copy@3x.png new file mode 100644 index 0000000..3fbfd0d Binary files /dev/null and b/assets/image/ic_copy@3x.png differ diff --git a/assets/image/ic_facebook.png b/assets/image/ic_facebook.png new file mode 100644 index 0000000..82ecfbe Binary files /dev/null and b/assets/image/ic_facebook.png differ diff --git a/assets/image/ic_facebook@2x.png b/assets/image/ic_facebook@2x.png new file mode 100644 index 0000000..aa66d8e Binary files /dev/null and b/assets/image/ic_facebook@2x.png differ diff --git a/assets/image/ic_facebook@3x.png b/assets/image/ic_facebook@3x.png new file mode 100644 index 0000000..a9f7a95 Binary files /dev/null and b/assets/image/ic_facebook@3x.png differ diff --git a/assets/image/ic_fee_info.png b/assets/image/ic_fee_info.png new file mode 100644 index 0000000..878633a Binary files /dev/null and b/assets/image/ic_fee_info.png differ diff --git a/assets/image/ic_fee_info@2x.png b/assets/image/ic_fee_info@2x.png new file mode 100644 index 0000000..1a40aa0 Binary files /dev/null and b/assets/image/ic_fee_info@2x.png differ diff --git a/assets/image/ic_fee_info@3x.png b/assets/image/ic_fee_info@3x.png new file mode 100644 index 0000000..153ce94 Binary files /dev/null and b/assets/image/ic_fee_info@3x.png differ diff --git a/assets/image/ic_go_execute.png b/assets/image/ic_go_execute.png new file mode 100644 index 0000000..475da4a Binary files /dev/null and b/assets/image/ic_go_execute.png differ diff --git a/assets/image/ic_go_execute@2x.png b/assets/image/ic_go_execute@2x.png new file mode 100644 index 0000000..8f422e3 Binary files /dev/null and b/assets/image/ic_go_execute@2x.png differ diff --git a/assets/image/ic_go_execute@3x.png b/assets/image/ic_go_execute@3x.png new file mode 100644 index 0000000..29390b3 Binary files /dev/null and b/assets/image/ic_go_execute@3x.png differ diff --git a/assets/image/ic_google.png b/assets/image/ic_google.png new file mode 100644 index 0000000..6b913e7 Binary files /dev/null and b/assets/image/ic_google.png differ diff --git a/assets/image/ic_google@2x.png b/assets/image/ic_google@2x.png new file mode 100644 index 0000000..3b3a634 Binary files /dev/null and b/assets/image/ic_google@2x.png differ diff --git a/assets/image/ic_google@3x.png b/assets/image/ic_google@3x.png new file mode 100644 index 0000000..a6741e0 Binary files /dev/null and b/assets/image/ic_google@3x.png differ diff --git a/assets/image/ic_show_less_arrow.png b/assets/image/ic_show_less_arrow.png new file mode 100644 index 0000000..0c12a41 Binary files /dev/null and b/assets/image/ic_show_less_arrow.png differ diff --git a/assets/image/ic_show_less_arrow@2x.png b/assets/image/ic_show_less_arrow@2x.png new file mode 100644 index 0000000..660785c Binary files /dev/null and b/assets/image/ic_show_less_arrow@2x.png differ diff --git a/assets/image/ic_show_less_arrow@3x.png b/assets/image/ic_show_less_arrow@3x.png new file mode 100644 index 0000000..50c0be7 Binary files /dev/null and b/assets/image/ic_show_less_arrow@3x.png differ diff --git a/assets/image/ic_show_more_arrow.png b/assets/image/ic_show_more_arrow.png new file mode 100644 index 0000000..e410677 Binary files /dev/null and b/assets/image/ic_show_more_arrow.png differ diff --git a/assets/image/ic_show_more_arrow@2x.png b/assets/image/ic_show_more_arrow@2x.png new file mode 100644 index 0000000..0784e8e Binary files /dev/null and b/assets/image/ic_show_more_arrow@2x.png differ diff --git a/assets/image/ic_show_more_arrow@3x.png b/assets/image/ic_show_more_arrow@3x.png new file mode 100644 index 0000000..41541c4 Binary files /dev/null and b/assets/image/ic_show_more_arrow@3x.png differ diff --git a/assets/image/ic_snackbar_error.png b/assets/image/ic_snackbar_error.png new file mode 100644 index 0000000..e18e967 Binary files /dev/null and b/assets/image/ic_snackbar_error.png differ diff --git a/assets/image/ic_snackbar_error@2x.png b/assets/image/ic_snackbar_error@2x.png new file mode 100644 index 0000000..cfb414b Binary files /dev/null and b/assets/image/ic_snackbar_error@2x.png differ diff --git a/assets/image/ic_snackbar_error@3x.png b/assets/image/ic_snackbar_error@3x.png new file mode 100644 index 0000000..80bc32b Binary files /dev/null and b/assets/image/ic_snackbar_error@3x.png differ diff --git a/assets/image/ic_snackbar_error_close.png b/assets/image/ic_snackbar_error_close.png new file mode 100644 index 0000000..904edb2 Binary files /dev/null and b/assets/image/ic_snackbar_error_close.png differ diff --git a/assets/image/ic_snackbar_error_close@2x.png b/assets/image/ic_snackbar_error_close@2x.png new file mode 100644 index 0000000..99ea6d6 Binary files /dev/null and b/assets/image/ic_snackbar_error_close@2x.png differ diff --git a/assets/image/ic_snackbar_error_close@3x.png b/assets/image/ic_snackbar_error_close@3x.png new file mode 100644 index 0000000..60223fa Binary files /dev/null and b/assets/image/ic_snackbar_error_close@3x.png differ diff --git a/assets/image/ic_snackbar_success.png b/assets/image/ic_snackbar_success.png new file mode 100644 index 0000000..ae723a7 Binary files /dev/null and b/assets/image/ic_snackbar_success.png differ diff --git a/assets/image/ic_snackbar_success@2x.png b/assets/image/ic_snackbar_success@2x.png new file mode 100644 index 0000000..42f07c8 Binary files /dev/null and b/assets/image/ic_snackbar_success@2x.png differ diff --git a/assets/image/ic_snackbar_success@3x.png b/assets/image/ic_snackbar_success@3x.png new file mode 100644 index 0000000..f0465c2 Binary files /dev/null and b/assets/image/ic_snackbar_success@3x.png differ diff --git a/assets/image/ic_snackbar_success_close.png b/assets/image/ic_snackbar_success_close.png new file mode 100644 index 0000000..3d288ae Binary files /dev/null and b/assets/image/ic_snackbar_success_close.png differ diff --git a/assets/image/ic_snackbar_success_close@2x.png b/assets/image/ic_snackbar_success_close@2x.png new file mode 100644 index 0000000..5c48090 Binary files /dev/null and b/assets/image/ic_snackbar_success_close@2x.png differ diff --git a/assets/image/ic_snackbar_success_close@3x.png b/assets/image/ic_snackbar_success_close@3x.png new file mode 100644 index 0000000..134a9e7 Binary files /dev/null and b/assets/image/ic_snackbar_success_close@3x.png differ diff --git a/assets/image/ic_usdc.png b/assets/image/ic_usdc.png new file mode 100644 index 0000000..16012b4 Binary files /dev/null and b/assets/image/ic_usdc.png differ diff --git a/assets/image/ic_usdc@2x.png b/assets/image/ic_usdc@2x.png new file mode 100644 index 0000000..435ad01 Binary files /dev/null and b/assets/image/ic_usdc@2x.png differ diff --git a/assets/image/ic_usdc@3x.png b/assets/image/ic_usdc@3x.png new file mode 100644 index 0000000..70363a7 Binary files /dev/null and b/assets/image/ic_usdc@3x.png differ diff --git a/babel.config.js b/babel.config.js index 3e0218e..152f9da 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,6 @@ module.exports = { presets: ['module:@react-native/babel-preset'], + plugins: [ + 'react-native-reanimated/plugin' + ] } diff --git a/ios/Podfile b/ios/Podfile index 45f03e5..9a029f2 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ source 'https://github.com/circlefin/w3s-ios-sdk.git' -source 'https://cdn.cocoapods.org/' +source 'https://github.com/CocoaPods/Specs.git' platform :ios, '13.4' # Resolve react_native_pods.rb with node to allow for hoisting require Pod::Executable.execute_command('node', ['-p', @@ -33,7 +33,9 @@ target 'W3sSampleWallet' do # Flags change depending on the env values. flags = get_default_flags() - use_frameworks! + + use_frameworks! :linkage => :static + use_react_native!( :path => config[:reactNativePath], # Hermes is now enabled by default. Disable by setting this flag to false. @@ -53,12 +55,13 @@ target 'W3sSampleWallet' do # Pods for testing end - # https://github.com/software-mansion/react-native-screens/issues/842#issuecomment-790498006 + dynamic_frameworks = ['GoogleSignIn','FBSDKLoginKit', 'AppAuth', 'GTMAppAuth', 'GTMSessionFetcher'] + pre_install do |installer| - installer.pod_targets.each do |pod| - if pod.name.eql?('RNScreens') - def pod.build_type - Pod::BuildType.static_library + installer.pod_targets.each do |target| + if dynamic_frameworks.include?(target.name) + def target.build_type + Pod::BuildType.dynamic_framework end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index c39e440..1ae98ab 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,19 +1,22 @@ PODS: - - Alamofire (5.5.0) + - AppAuth (1.7.5): + - AppAuth/Core (= 1.7.5) + - AppAuth/ExternalUserAgent (= 1.7.5) + - AppAuth/Core (1.7.5) + - AppAuth/ExternalUserAgent (1.7.5): + - AppAuth/Core - boost (1.83.0) - - circlefin-w3s-pw-react-native-sdk (0.0.222): - - CircleProgrammableWalletSDK (= 1.0.14) + - circlefin-w3s-pw-react-native-sdk (1.1.0-356): + - CircleProgrammableWalletSDK_static (= 1.1.6) - glog - RCT-Folly (= 2022.05.16.00) - React-Core - - CircleProgrammableWalletSDK (1.0.14): - - Alamofire (= 5.5.0) - - DeviceKit (= 5.1.0) - - IQKeyboardManagerSwift (= 6.5.11) - - SDWebImage (= 5.9.1) - - SnapKit (= 5.6.0) - - DeviceKit (5.1.0) + - CircleProgrammableWalletSDK_static (1.1.6): + - FBSDKLoginKit (= 17.0.2) + - GoogleSignIn (= 7.1.0) - DoubleConversion (1.1.6) + - FBAEMKit (17.0.2): + - FBSDKCoreKit_Basics (= 17.0.2) - FBLazyVector (0.73.6) - FBReactNativeSpec (0.73.6): - RCT-Folly (= 2022.05.16.00) @@ -22,12 +25,25 @@ PODS: - React-Core (= 0.73.6) - React-jsi (= 0.73.6) - ReactCommon/turbomodule/core (= 0.73.6) + - FBSDKCoreKit (17.0.2): + - FBAEMKit (= 17.0.2) + - FBSDKCoreKit_Basics (= 17.0.2) + - FBSDKCoreKit_Basics (17.0.2) + - FBSDKLoginKit (17.0.2): + - FBSDKCoreKit (= 17.0.2) - fmt (6.2.1) - glog (0.3.5) + - GoogleSignIn (7.1.0): + - AppAuth (< 2.0, >= 1.7.3) + - GTMAppAuth (< 5.0, >= 4.1.1) + - GTMSessionFetcher/Core (~> 3.3) + - GTMAppAuth (4.1.1): + - AppAuth/Core (~> 1.7) + - GTMSessionFetcher/Core (< 4.0, >= 3.3) + - GTMSessionFetcher/Core (3.5.0) - hermes-engine (0.73.6): - hermes-engine/Pre-built (= 0.73.6) - hermes-engine/Pre-built (0.73.6) - - IQKeyboardManagerSwift (6.5.11) - libevent (2.1.12) - RCT-Folly (2022.05.16.00): - boost @@ -900,6 +916,10 @@ PODS: - React-Mapbuffer (0.73.6): - glog - React-debug + - react-native-pager-view (6.3.3): + - glog + - RCT-Folly (= 2022.05.16.00) + - React-Core - react-native-safe-area-context (4.8.2): - React-Core - React-nativeconfig (0.73.6) @@ -1069,14 +1089,17 @@ PODS: - React-jsi (= 0.73.6) - React-logger (= 0.73.6) - React-perflogger (= 0.73.6) + - RNCClipboard (1.14.1): + - React-Core + - RNReanimated (3.8.1): + - glog + - RCT-Folly (= 2022.05.16.00) + - React-Core + - ReactCommon/turbomodule/core - RNScreens (3.29.0): - glog - RCT-Folly (= 2022.05.16.00) - React-Core - - SDWebImage (5.9.1): - - SDWebImage/Core (= 5.9.1) - - SDWebImage/Core (5.9.1) - - SnapKit (5.6.0) - SocketRocket (0.6.1) - Yoga (1.14.0) @@ -1112,6 +1135,7 @@ DEPENDENCIES: - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) - React-logger (from `../node_modules/react-native/ReactCommon/logger`) - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - react-native-pager-view (from `../node_modules/react-native-pager-view`) - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) @@ -1133,20 +1157,25 @@ DEPENDENCIES: - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCClipboard (from `../node_modules/@react-native-clipboard/clipboard`)" + - RNReanimated (from `../node_modules/react-native-reanimated`) - RNScreens (from `../node_modules/react-native-screens`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: https://github.com/circlefin/w3s-ios-sdk.git: - - CircleProgrammableWalletSDK - trunk: - - Alamofire - - DeviceKit + - CircleProgrammableWalletSDK_static + https://github.com/CocoaPods/Specs.git: + - AppAuth + - FBAEMKit + - FBSDKCoreKit + - FBSDKCoreKit_Basics + - FBSDKLoginKit - fmt - - IQKeyboardManagerSwift + - GoogleSignIn + - GTMAppAuth + - GTMSessionFetcher - libevent - - SDWebImage - - SnapKit - SocketRocket EXTERNAL SOURCES: @@ -1207,6 +1236,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/logger" React-Mapbuffer: :path: "../node_modules/react-native/ReactCommon" + react-native-pager-view: + :path: "../node_modules/react-native-pager-view" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" React-nativeconfig: @@ -1249,24 +1280,33 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/utils" ReactCommon: :path: "../node_modules/react-native/ReactCommon" + RNCClipboard: + :path: "../node_modules/@react-native-clipboard/clipboard" + RNReanimated: + :path: "../node_modules/react-native-reanimated" RNScreens: :path: "../node_modules/react-native-screens" Yoga: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - Alamofire: 1c4fb5369c3fe93d2857c780d8bbe09f06f97e7c + AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa boost: d3f49c53809116a5d38da093a8aa78bf551aed09 - circlefin-w3s-pw-react-native-sdk: cfebc600bbadcec6d89daa610ec13909b414bc53 - CircleProgrammableWalletSDK: d905c39d2b0737d96c03e375bc35d996b798283a - DeviceKit: bcce5c26d9502e77e3a9fa5d1282877db388d922 + circlefin-w3s-pw-react-native-sdk: 35a6842dab27982d0912da771e04a2b25bf463bf + CircleProgrammableWalletSDK_static: 41fa56bb46c4c2f07bd202141499e597baeae4e6 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 + FBAEMKit: 619f96ea65427e8afca240d5b0f4703738dfdf5c FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864 FBReactNativeSpec: 9f2b8b243131565335437dba74923a8d3015e780 + FBSDKCoreKit: a5f384db2e9ee84e98494fed8f983d2bd79accff + FBSDKCoreKit_Basics: d35c775aaf243a2d731dfae7be3a74b1987285ab + FBSDKLoginKit: f8ca5f7ab7c4e5b93e729d94975b0db7fcc511ed fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2 + GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db + GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de + GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6 hermes-engine: 9cecf9953a681df7556b8cc9c74905de8f3293c0 - IQKeyboardManagerSwift: c7955c0bdbf7b2eb29bb7daaa44e3d90f55a9a85 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 RCT-Folly: 7169b2b1c44399c76a47b5deaaba715eeeb476c0 RCTRequired: ca1d7414aba0b27efcfa2ccd37637edb1ab77d96 @@ -1289,6 +1329,7 @@ SPEC CHECKSUMS: React-jsinspector: 85583ef014ce53d731a98c66a0e24496f7a83066 React-logger: 3eb80a977f0d9669468ef641a5e1fabbc50a09ec React-Mapbuffer: d81d930c1b7f4db284e1d721fe7fdc99230ca108 + react-native-pager-view: ce73434826e4dca60108c3b3a30d83792ff28b0c react-native-safe-area-context: 0ee144a6170530ccc37a0fd9388e28d06f516a89 React-nativeconfig: e700ac3ec3d66329076bd2c2787a204411815d43 React-NativeModulesApple: f7fa541118d195ac850ca2ea460f338152ced167 @@ -1310,12 +1351,12 @@ SPEC CHECKSUMS: React-runtimescheduler: 4fa81221f3bb96df737d682fa828b574bea3827c React-utils: a45dd70919baff681d43a4a457e9884ef96b4581 ReactCommon: e168ee1704806f10f47ee8c7f825b5850b18eaea + RNCClipboard: 0a720adef5ec193aa0e3de24c3977222c7e52a37 + RNReanimated: de95bb2cf26ccfa2b6fdf7e1a57158fb5c9d9515 RNScreens: a4d9ce8f68f833f4e42410140eafd88e38bba163 - SDWebImage: a990c053fff71e388a10f3357edb0be17929c9c5 - SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 805bf71192903b20fc14babe48080582fee65a80 -PODFILE CHECKSUM: 0772215e7ec64e85a444deafab40ba7c61684d4f +PODFILE CHECKSUM: ef4ee3a6cb2df26dbb5459f6fa63fe1b832fa56d COCOAPODS: 1.15.2 diff --git a/ios/W3sSampleWallet.xcodeproj/project.pbxproj b/ios/W3sSampleWallet.xcodeproj/project.pbxproj index f271670..8a4d41c 100644 --- a/ios/W3sSampleWallet.xcodeproj/project.pbxproj +++ b/ios/W3sSampleWallet.xcodeproj/project.pbxproj @@ -13,12 +13,12 @@ 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 1A67F082D07F4FB0AA3690D9 /* Inter-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EC7D97BD2B074E2DABAE2975 /* Inter-Medium.ttf */; }; 32213377C46D4653B195C77C /* Inter-Extra-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 98F694F8E6D5494D920D82E1 /* Inter-Extra-Light.ttf */; }; - 412203C62198493D1FCE85A8 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B01AE4CD0367F574D61C8A6 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */; }; 41A22D8999FA497C8F0B0217 /* Inter-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E08334FEF7C24915968FCD21 /* Inter-Regular.ttf */; }; + 517E8A6A321B49BD2C26D02C /* Pods_W3sSampleWallet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8797229AE8374858121B838 /* Pods_W3sSampleWallet.framework */; }; 7807E50A2B3C9D0E006BAFE2 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 7807E5092B3C9D0E006BAFE2 /* assets */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 8891F5D82C7C4A5B89D340E0 /* Inter-Semi-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 47080AEC44FB456CB79B97B7 /* Inter-Semi-Bold.ttf */; }; - 89B5317FF4AEFA92353B7E4C /* Pods_W3sSampleWallet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E8A9FCC24AD7F66961FC36E /* Pods_W3sSampleWallet.framework */; }; + DBF66EE3271C70A1909B77D3 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8328E7BD8CBF13A1A175211B /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */; }; F38A0464CFC144D3A39F0FF3 /* Inter-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 60677BBF4839487D8E22F65A /* Inter-Light.ttf */; }; /* End PBXBuildFile section */ @@ -42,22 +42,23 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = W3sSampleWallet/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = W3sSampleWallet/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = W3sSampleWallet/main.m; sourceTree = ""; }; - 2E8A9FCC24AD7F66961FC36E /* Pods_W3sSampleWallet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_W3sSampleWallet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B4392A12AC88292D35C810B /* Pods-W3sSampleWallet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet.debug.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet.debug.xcconfig"; sourceTree = ""; }; - 47080AEC44FB456CB79B97B7 /* Inter-Semi-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Semi-Bold.ttf"; path = "../assets/fonts/Inter-Semi-Bold.ttf"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-W3sSampleWallet.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet.release.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet.release.xcconfig"; sourceTree = ""; }; - 5B01AE4CD0367F574D61C8A6 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_W3sSampleWallet_W3sSampleWalletTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5B7EB9410499542E8C5724F5 /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig"; sourceTree = ""; }; - 60677BBF4839487D8E22F65A /* Inter-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Light.ttf"; path = "../assets/fonts/Inter-Light.ttf"; sourceTree = ""; }; + 47080AEC44FB456CB79B97B7 /* Inter-Semi-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Semi-Bold.ttf"; path = "../assets/fonts/Inter-Semi-Bold.ttf"; sourceTree = ""; }; + 60677BBF4839487D8E22F65A /* Inter-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Light.ttf"; path = "../assets/fonts/Inter-Light.ttf"; sourceTree = ""; }; + 62FF0B188F54464C05BF99AD /* Pods-W3sSampleWallet.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet.release.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet.release.xcconfig"; sourceTree = ""; }; 7807E5052B3C9BE6006BAFE2 /* image */ = {isa = PBXFileReference; lastKnownFileType = folder; name = image; path = ../assets/image; sourceTree = ""; }; 7807E5072B3C9C65006BAFE2 /* image */ = {isa = PBXFileReference; lastKnownFileType = folder; name = image; path = assets/assets/image; sourceTree = ""; }; 7807E5092B3C9D0E006BAFE2 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = ""; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = W3sSampleWallet/LaunchScreen.storyboard; sourceTree = ""; }; - 89C6BE57DB24E9ADA2F236DE /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig"; sourceTree = ""; }; - 98F694F8E6D5494D920D82E1 /* Inter-Extra-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Extra-Light.ttf"; path = "../assets/fonts/Inter-Extra-Light.ttf"; sourceTree = ""; }; - E08334FEF7C24915968FCD21 /* Inter-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Regular.ttf"; path = "../assets/fonts/Inter-Regular.ttf"; sourceTree = ""; }; - EC7D97BD2B074E2DABAE2975 /* Inter-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Medium.ttf"; path = "../assets/fonts/Inter-Medium.ttf"; sourceTree = ""; }; + 8328E7BD8CBF13A1A175211B /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_W3sSampleWallet_W3sSampleWalletTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 98F694F8E6D5494D920D82E1 /* Inter-Extra-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Extra-Light.ttf"; path = "../assets/fonts/Inter-Extra-Light.ttf"; sourceTree = ""; }; + A9E50EE3A57B62694A94F32A /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig"; sourceTree = ""; }; + B3D1F6982C76F350004AA206 /* W3sSampleWallet.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = W3sSampleWallet.entitlements; path = W3sSampleWallet/W3sSampleWallet.entitlements; sourceTree = ""; }; + CB41943298339E48E2873712 /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig"; sourceTree = ""; }; + E08334FEF7C24915968FCD21 /* Inter-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Regular.ttf"; path = "../assets/fonts/Inter-Regular.ttf"; sourceTree = ""; }; + E8797229AE8374858121B838 /* Pods_W3sSampleWallet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_W3sSampleWallet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EC7D97BD2B074E2DABAE2975 /* Inter-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Medium.ttf"; path = "../assets/fonts/Inter-Medium.ttf"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + F52B4F48A5E49846A03A4BA9 /* Pods-W3sSampleWallet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-W3sSampleWallet.debug.xcconfig"; path = "Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -65,7 +66,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 412203C62198493D1FCE85A8 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework in Frameworks */, + DBF66EE3271C70A1909B77D3 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -73,7 +74,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 89B5317FF4AEFA92353B7E4C /* Pods_W3sSampleWallet.framework in Frameworks */, + 517E8A6A321B49BD2C26D02C /* Pods_W3sSampleWallet.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -100,6 +101,7 @@ 13B07FAE1A68108700A75B9A /* W3sSampleWallet */ = { isa = PBXGroup; children = ( + B3D1F6982C76F350004AA206 /* W3sSampleWallet.entitlements */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.mm */, 13B07FB51A68108700A75B9A /* Images.xcassets */, @@ -114,8 +116,8 @@ isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 2E8A9FCC24AD7F66961FC36E /* Pods_W3sSampleWallet.framework */, - 5B01AE4CD0367F574D61C8A6 /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */, + E8797229AE8374858121B838 /* Pods_W3sSampleWallet.framework */, + 8328E7BD8CBF13A1A175211B /* Pods_W3sSampleWallet_W3sSampleWalletTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -170,10 +172,10 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 3B4392A12AC88292D35C810B /* Pods-W3sSampleWallet.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-W3sSampleWallet.release.xcconfig */, - 5B7EB9410499542E8C5724F5 /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */, - 89C6BE57DB24E9ADA2F236DE /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */, + F52B4F48A5E49846A03A4BA9 /* Pods-W3sSampleWallet.debug.xcconfig */, + 62FF0B188F54464C05BF99AD /* Pods-W3sSampleWallet.release.xcconfig */, + A9E50EE3A57B62694A94F32A /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */, + CB41943298339E48E2873712 /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -185,12 +187,12 @@ isa = PBXNativeTarget; buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "W3sSampleWalletTests" */; buildPhases = ( - A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, + 714461A047F3F74B1CA5A417 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, - C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */, - F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */, + 01D31D66A3FDCA79862927BE /* [CP] Embed Pods Frameworks */, + 11D52581BAC71130EA655108 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -206,13 +208,13 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "W3sSampleWallet" */; buildPhases = ( - C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, + CB5EC05AB1B988B254ED893C /* [CP] Check Pods Manifest.lock */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, - E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, + 072D80CD9F18D24708FAFE3D /* [CP] Embed Pods Frameworks */, + EBC4A7863C3644BB86FED44A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -301,7 +303,24 @@ shellPath = /bin/sh; shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; }; - 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { + 01D31D66A3FDCA79862927BE /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 072D80CD9F18D24708FAFE3D /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -318,29 +337,24 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { + 11D52581BAC71130EA655108 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-W3sSampleWallet-W3sSampleWalletTests-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { + 714461A047F3F74B1CA5A417 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -355,31 +369,36 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-W3sSampleWallet-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-W3sSampleWallet-W3sSampleWalletTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = { + CB5EC05AB1B988B254ED893C /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-W3sSampleWallet-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { + EBC4A7863C3644BB86FED44A /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -396,23 +415,6 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet/Pods-W3sSampleWallet-resources.sh\"\n"; showEnvVarsInLog = 0; }; - F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-W3sSampleWallet-W3sSampleWalletTests/Pods-W3sSampleWallet-W3sSampleWalletTests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -446,9 +448,10 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */; + baseConfigurationReference = A9E50EE3A57B62694A94F32A /* Pods-W3sSampleWallet-W3sSampleWalletTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = 6R3336A52L; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -473,10 +476,11 @@ }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */; + baseConfigurationReference = CB41943298339E48E2873712 /* Pods-W3sSampleWallet-W3sSampleWalletTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; + DEVELOPMENT_TEAM = 6R3336A52L; INFOPLIST_FILE = W3sSampleWalletTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -497,12 +501,13 @@ }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-W3sSampleWallet.debug.xcconfig */; + baseConfigurationReference = F52B4F48A5E49846A03A4BA9 /* Pods-W3sSampleWallet.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = W3sSampleWallet/W3sSampleWallet.entitlements; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = A46Z766J68; + DEVELOPMENT_TEAM = 6R3336A52L; ENABLE_BITCODE = NO; INFOPLIST_FILE = W3sSampleWallet/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -515,7 +520,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.circle.reactjs.native.example.--PRODUCT-NAME-rfc1034identifier-"; PRODUCT_NAME = W3sSampleWallet; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -525,12 +530,13 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-W3sSampleWallet.release.xcconfig */; + baseConfigurationReference = 62FF0B188F54464C05BF99AD /* Pods-W3sSampleWallet.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = W3sSampleWallet/W3sSampleWallet.entitlements; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = A46Z766J68; + DEVELOPMENT_TEAM = 6R3336A52L; INFOPLIST_FILE = W3sSampleWallet/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -542,7 +548,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.circle.reactjs.native.example.--PRODUCT-NAME-rfc1034identifier-"; PRODUCT_NAME = W3sSampleWallet; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; diff --git a/ios/W3sSampleWallet/AppDelegate.mm b/ios/W3sSampleWallet/AppDelegate.mm index ff93c0e..272ddc1 100644 --- a/ios/W3sSampleWallet/AppDelegate.mm +++ b/ios/W3sSampleWallet/AppDelegate.mm @@ -18,6 +18,12 @@ #import +// FBSDKLoginKit setups for iOS +// Doc: https://github.com/thebergamo/react-native-fbsdk-next?tab=readme-ov-file#32-ios +#import +#import +#import + @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions @@ -27,9 +33,19 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( // They will be passed down to the ViewController used by React Native. self.initialProps = @{}; + [[FBSDKApplicationDelegate sharedInstance] application: application + didFinishLaunchingWithOptions: launchOptions]; return [super application:application didFinishLaunchingWithOptions:launchOptions]; } +- (BOOL)application:(UIApplication *)app + openURL:(NSURL *)url + options:(NSDictionary *)options { + return [[FBSDKApplicationDelegate sharedInstance] application:app + openURL:url + options:options]; +} + - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge { return [self getBundleURL]; diff --git a/ios/W3sSampleWallet/Info.plist b/ios/W3sSampleWallet/Info.plist index c93d1f2..cf202ea 100644 --- a/ios/W3sSampleWallet/Info.plist +++ b/ios/W3sSampleWallet/Info.plist @@ -55,5 +55,23 @@ UIViewControllerBasedStatusBarAppearance + CFBundleURLTypes + + + CFBundleURLSchemes + + YOUR_DOT_REVERSED_IOS_CLIENT_ID + fbAPP-ID + + + + GIDClientID + YOUR_IOS_CLIENT_ID + FacebookAppID + APP-ID + FacebookClientToken + CLIENT-TOKEN + FacebookDisplayName + APP-NAME diff --git a/ios/W3sSampleWallet/W3sSampleWallet.entitlements b/ios/W3sSampleWallet/W3sSampleWallet.entitlements new file mode 100644 index 0000000..a812db5 --- /dev/null +++ b/ios/W3sSampleWallet/W3sSampleWallet.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.developer.applesignin + + Default + + + diff --git a/package.json b/package.json index ffb0812..3026553 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,23 @@ "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest ios" }, "dependencies": { - "@circle-fin/w3s-pw-react-native-sdk": "^1.0.4", + "@circle-fin/w3s-pw-react-native-sdk": "^1.1.0", + "@react-native-clipboard/clipboard": "^1.14.1", "@react-navigation/native": "^6.1.9", "@react-navigation/native-stack": "^6.9.17", + "@reduxjs/toolkit": "^2.2.6", + "@types/react-redux": "^7.1.33", "i18next": "^23.7.12", "react": "18.2.0", "react-i18next": "^14.0.0", "react-native": "0.73.6", + "react-native-pager-view": "^6.3.3", "react-native-safe-area-context": "^4.7.4", - "react-native-screens": "^3.27.0" + "react-native-screens": "^3.27.0", + "react-native-tab-view": "^3.5.2", + "react-redux": "^9.1.2", + "react-native-collapsible-tab-view": "^8.0.0", + "react-native-reanimated": "3.8.1" }, "devDependencies": { "@babel/core": "^7.20.0", diff --git a/readme_images/running_app_email.png b/readme_images/running_app_email.png new file mode 100644 index 0000000..2093cd4 Binary files /dev/null and b/readme_images/running_app_email.png differ diff --git a/readme_images/running_app_pin.png b/readme_images/running_app_pin.png new file mode 100644 index 0000000..9788266 Binary files /dev/null and b/readme_images/running_app_pin.png differ diff --git a/readme_images/running_app_social.png b/readme_images/running_app_social.png new file mode 100644 index 0000000..f987b63 Binary files /dev/null and b/readme_images/running_app_social.png differ diff --git a/src/App.tsx b/src/App.tsx index cab33f2..13cdce0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,40 +16,39 @@ import * as React from "react" import { NavigationContainer } from "@react-navigation/native" -import MainScreen from "./screens/MainScreen" import { createNativeStackNavigator } from "@react-navigation/native-stack" -import ForgotPinScreen from "./screens/ForgotPinScreen" -import ResultScreen from "./screens/ResultScreen" import "./locales/index" +import TabScreen from "./screens/TabScreen" +import {store} from './app/store' +import { Provider } from 'react-redux' +import ExecuteScreen from "./screens/ExecuteScreen.tsx" export type RootStackParamList = { - Main: undefined; - ForgotPin: undefined; - Result: { - challengeId: string, - challengeType: string, - resultStatus: string, - signature: string, - warningType: string, - warningMessage: string, - errorCode: string, - errorMessage: string, + Main: object; + Tab: object; + Execute: { + authMode: string } } const Stack = createNativeStackNavigator() export default function App() { return ( - - - - - - - + + + + + + + + ) } diff --git a/src/app/hooks.ts b/src/app/hooks.ts new file mode 100644 index 0000000..bef7e25 --- /dev/null +++ b/src/app/hooks.ts @@ -0,0 +1,22 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import { useDispatch, useSelector, useStore } from 'react-redux' +import type { AppDispatch, AppStore, RootState } from './store' + +export const useAppDispatch = useDispatch.withTypes() +export const useAppSelector = useSelector.withTypes() +export const useAppStore = useStore.withTypes() diff --git a/src/app/store.ts b/src/app/store.ts new file mode 100644 index 0000000..44dec1f --- /dev/null +++ b/src/app/store.ts @@ -0,0 +1,30 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import { configureStore } from '@reduxjs/toolkit' +import settingsReducer from '../features/settings/settingsSlice' +import resultReducer from '../features/result/resultSlice' + +export const store = configureStore({ + reducer: { + settings: settingsReducer, + result: resultReducer, + } +}) + +export type AppStore = typeof store +export type RootState = ReturnType +export type AppDispatch = AppStore['dispatch'] diff --git a/src/components/BiometricsSwitch.tsx b/src/components/BiometricsSwitch.tsx new file mode 100644 index 0000000..7afc4e7 --- /dev/null +++ b/src/components/BiometricsSwitch.tsx @@ -0,0 +1,77 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {Image, StyleSheet, Switch, Text, View} from "react-native" +import {colors} from "../styles" +import * as React from "react" +import {useTranslation} from "react-i18next" +import {SwitchProps} from "react-native/Libraries/Components/Switch/Switch" + +export const BiometricsSwitchButton = (props: BiometricsSwitchProps) => { + const { t } = useTranslation() + return ( + + + + + + {t('biometrics_switch_title')} + + + {t('biometrics_switch_desc')} + + + + + + ) +} + +interface BiometricsSwitchProps extends SwitchProps { + accessibilityLabel: string, + enableSwitch: boolean, +} +const styles = StyleSheet.create({ + normalBg: { + marginTop: 16, + flexDirection: 'row', + justifyContent: 'space-between' + }, + mainText: { + fontFamily: "Inter-Medium", + color: colors.social_login_text, + fontWeight: "500", + fontSize: 16, + }, + subText: { + fontFamily: "Inter-Medium", + color: colors.tab_unfocused, + fontWeight: "400", + fontSize: 14, + }, +}) diff --git a/src/components/CommonInputText.tsx b/src/components/CommonInputText.tsx index 66dd77b..38f8629 100644 --- a/src/components/CommonInputText.tsx +++ b/src/components/CommonInputText.tsx @@ -17,12 +17,13 @@ import { TextInput } from "react-native" import { colors, commonStyles } from "../styles.ts" import React from "react" +import {TextInputProps} from "react-native/Libraries/Components/TextInput/TextInput" -// @ts-ignore -export default function CommonInputText(props) { +export default function CommonInputText(props: TextInputProps) { return ( { + if(value) { + Clipboard.setString(value) + } + }}> + + {value} + + + + ) +} diff --git a/src/components/EmailTab.tsx b/src/components/EmailTab.tsx new file mode 100644 index 0000000..8cce598 --- /dev/null +++ b/src/components/EmailTab.tsx @@ -0,0 +1,113 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as React from "react" + +import {Text, View} from "react-native" +import {MainButton} from "./MainButton.tsx" +import {useTranslation} from "react-i18next" +import {commonStyles} from "../styles.ts" +import CommonInputText from "./CommonInputText.tsx" + + +import type {RootStackParamList} from "../App" +import {AuthMode} from "../screens/TabScreen.tsx" +import useWalletSdk from "../utils/useWalletSdk.ts" +import {NativeStackNavigationProp} from "@react-navigation/native-stack/src/types.tsx" +import CopyableText from "./CopyableText.tsx" +import {WalletSdk} from "../utils/useWalletSdk.ts" +import {useSelector} from "react-redux" +import {selectEmailEncryptionKey, selectEmailUserToken} from "../features/result/resultSlice.ts" +import {ShowSnackBarFn} from "../utils/useSnackBar.tsx" +import RequiredMarkText from "./RequiredMarkText.tsx" +import {GoExecuteButton} from "./GoExecuteButton.tsx" + +type Props = { + navigation: NativeStackNavigationProp + showSnackBar: ShowSnackBarFn +} + +export default function EmailTab({ navigation, showSnackBar }: Props) { + const { t } = useTranslation() + const userToken = useSelector(selectEmailUserToken) + const encryptionKey = useSelector(selectEmailEncryptionKey) + const {appId,dispatchAppId, verifyOtp, dispatchLoginResult} = useWalletSdk(showSnackBar) + const [deviceToken, setDeviceToken] = React.useState("") + const [deviceEncryptionKey, setDeviceEncryptionKey] = React.useState("") + const [otpToken, setOtpToken] = React.useState("") + + const isEmailLoginDisabled = () => { + return ( + !appId || + !deviceToken || + !deviceEncryptionKey || + !otpToken + ) + } + return ( + + {t("device_id_title")} + + + + + + + + + + { + verifyOtp(otpToken, deviceToken, deviceEncryptionKey, + loginResult => { + dispatchLoginResult(AuthMode.email, loginResult) + showSnackBar(t('login_success'), true) + }, + e => { + showSnackBar(e.message, false) + }) + }} + /> + {userToken != null && encryptionKey != null && ( { + navigation.navigate('Execute', {authMode: AuthMode.email}) + }} + />)} + + ) +} diff --git a/src/components/GoExecuteButton.tsx b/src/components/GoExecuteButton.tsx new file mode 100644 index 0000000..a1f870a --- /dev/null +++ b/src/components/GoExecuteButton.tsx @@ -0,0 +1,73 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {Image, StyleSheet, Text, TouchableOpacity, TouchableOpacityProps, View} from "react-native" +import {colors} from "../styles" +import * as React from "react" +import {useTranslation} from "react-i18next" + +export const GoExecuteButton = (props: GoExecuteButtonProps) => { + const { t } = useTranslation() + return ( + + + + + + {t('go_execute_bt')} + + + {t('go_execute_bt_desc')} + + + + ) +} + +interface GoExecuteButtonProps extends TouchableOpacityProps { + accessibilityLabel: string, +} +const styles = StyleSheet.create({ + normalBg: { + backgroundColor: colors.background, + padding: 16, + borderWidth: 1, + borderRadius: 16, + borderColor: colors.input_boarder, + marginTop: 16, + flexDirection: 'row', + }, + mainText: { + fontFamily: "Inter-Medium", + color: colors.tab_focused, + fontWeight: "500", + fontSize: 16, + }, + subText: { + fontFamily: "Inter-Medium", + color: colors.bt_sub_text, + fontWeight: "400", + fontSize: 14, + }, +}) diff --git a/src/components/HyperlinkText.tsx b/src/components/HyperlinkText.tsx new file mode 100644 index 0000000..3274456 --- /dev/null +++ b/src/components/HyperlinkText.tsx @@ -0,0 +1,68 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import { Linking, StyleSheet, Text} from "react-native" +import { colors } from "../styles.ts" +import React from "react" + + +export type HyperlinkTextProps = { + fullText: string, + linkText: string, + url: string +} +export default function HyperlinkText({fullText, linkText, url}: HyperlinkTextProps) { + + const startIndex = linkText? fullText.indexOf(linkText): -1 + const getPlainArr = () => { + switch (startIndex){ + case 0: + return['', fullText.substring(linkText.length)] + case -1: + return[fullText,''] + default: + return[fullText.substring(0, startIndex), fullText.substring(startIndex + linkText.length)] + } + } + const plainArr = getPlainArr() + return ( + {plainArr[0]} + {startIndex != -1 && { + Linking.openURL(url) + }}> + {linkText} + } + {plainArr[1]} + ) +} +const styles = StyleSheet.create({ + desc: { + fontFamily: "Inter-Regular", + color: colors.info_desc, + fontWeight: "400", + fontSize: 14, + marginTop: 24, + }, + hyperlink: { + fontFamily: "Inter-Semi-Bold", + color: colors.primary, + fontWeight: "400", + fontSize: 14, + }, +}) diff --git a/src/components/MainButton.tsx b/src/components/MainButton.tsx index 74b31fe..8fa8a56 100644 --- a/src/components/MainButton.tsx +++ b/src/components/MainButton.tsx @@ -18,20 +18,30 @@ import type { TouchableOpacityProps } from "react-native" import { Text, TouchableOpacity } from "react-native" import { commonStyles } from "../styles" import * as React from "react" -// @ts-ignore + export const MainButton = (props: MainButtonProps) => { - return ( + let normalBg = commonStyles.mainButton + let disabledBg = commonStyles.disabledMainButton + let normalText = commonStyles.mainButtonText + let disabledText = commonStyles.disabledMainButtonText + if (props.isSecondary){ + normalBg = commonStyles.secondaryButton + disabledBg = commonStyles.disabledSecondaryButton + normalText = commonStyles.secondaryButtonText + disabledText = commonStyles.disabledSecondaryButtonText + } + return ( {props.text} @@ -40,6 +50,7 @@ export const MainButton = (props: MainButtonProps) => { } interface MainButtonProps extends TouchableOpacityProps { - isDisabled: boolean, - text: string + disabled: boolean, + text: string, + isSecondary: boolean } diff --git a/src/components/PinTab.tsx b/src/components/PinTab.tsx new file mode 100644 index 0000000..a0656ca --- /dev/null +++ b/src/components/PinTab.tsx @@ -0,0 +1,130 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as React from "react" + +import { + Text, + View +} from "react-native" +import { MainButton } from "./MainButton.tsx" +import { useTranslation } from "react-i18next" +import {commonStyles} from "../styles.ts" +import type { RootStackParamList } from "../App.tsx" +import CommonInputText from "./CommonInputText.tsx" +import useWalletSdk from "../utils/useWalletSdk.ts" +import {NativeStackNavigationProp} from "@react-navigation/native-stack/src/types.tsx" +import {ShowSnackBarFn} from "../utils/useSnackBar.tsx" +import {SuccessCallback} from "../utils/useWalletSdk.ts" +import {ErrorCallback} from "../utils/useWalletSdk.ts" +import RequiredMarkText from "./RequiredMarkText.tsx" +import {BiometricsSwitchButton} from "./BiometricsSwitch.tsx" +type Props = { + navigation: NativeStackNavigationProp + showSnackBar: ShowSnackBarFn +} +export default function PinTab({ showSnackBar }: Props) { + const { t } = useTranslation() + const {endpoint, appId, enableBiometricsPin, + dispatchEndpoint, dispatchAppId, dispatchEnableBiometrics, + execute, setBiometricsPin } = useWalletSdk(showSnackBar) + const [userToken, setUserToken] = React.useState("") + const [encryptionKey, setEncryptionKey] = React.useState("") + const [challengeId, setChallengeId] = React.useState("") + const isSetBiometricsPinDisabled = () => { + return ( + !enableBiometricsPin || + !endpoint || + !appId || + !encryptionKey || + !userToken + ) + } + const isExecuteDisabled = () => { + return ( + !endpoint || + !appId || + !userToken || + !encryptionKey || + !challengeId + ) + } + const successCallback: SuccessCallback = result => { + showSnackBar(t('execute_success'), true) + console.log(JSON.stringify(result)) + } + const errorCallback: ErrorCallback = e => { + showSnackBar(e.message, false) + } + return ( + + + + + + + + + + {t("challenge_id_title")} + + + { + execute(userToken, encryptionKey, challengeId, successCallback, errorCallback) + }} + /> + { + setBiometricsPin(userToken, encryptionKey, successCallback, errorCallback) + }} + /> + + ) +} diff --git a/src/components/RequiredMarkText.tsx b/src/components/RequiredMarkText.tsx new file mode 100644 index 0000000..273c2b3 --- /dev/null +++ b/src/components/RequiredMarkText.tsx @@ -0,0 +1,41 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {Text, View} from "react-native" +import { commonStyles } from "../styles.ts" +import React from "react" +import {StyleProp} from "react-native/Libraries/StyleSheet/StyleSheet" +import {TextStyle} from "react-native/Libraries/StyleSheet/StyleSheetTypes" +import {useTranslation} from "react-i18next" +export type RequiredMarkTextProps = { + text: string, + style?: StyleProp | undefined + markStyle?: StyleProp | undefined +} +export default function RequiredMarkText(props: RequiredMarkTextProps) { + const { t } = useTranslation() + return ( + + + {props.text} + + + {t('required_mark')} + + + ) +} diff --git a/src/components/SnackBar.tsx b/src/components/SnackBar.tsx new file mode 100644 index 0000000..a141390 --- /dev/null +++ b/src/components/SnackBar.tsx @@ -0,0 +1,171 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {Animated, Dimensions, Image, StyleSheet, Text, TouchableOpacity, View} from "react-native" +import React, {useEffect, useState} from "react" +import {colors} from "../styles.ts" +export type SnackBarProps = { + message: string, + isSuccess: boolean, + duration: number + onDismissSnackbar: (() => void) | undefined +} +enum SnackBarState { + gone, + fadeInPlaying, + fadeoutPlaying, + visible +} +export default function SnackBar({message, isSuccess, duration = 3000, onDismissSnackbar = undefined}: SnackBarProps) { + const [timeOutId, setTimeOutId] = useState(null) + const [visibleState, setVisibleState] = useState(SnackBarState.gone) + const fadeAnim = useState(new Animated.Value(0))[0] + useEffect(() => { + showSnackbar() + }, []) + + const showSnackbar = () => { + setVisibleState(SnackBarState.fadeInPlaying) + Animated.timing(fadeAnim, { + toValue: 1, + duration: 300, + useNativeDriver: true, + }).start(() => { + setVisibleState(SnackBarState.visible) + setTimeOutId(setTimeout(() => { + hideSnackbar() + }, duration)) + }) + } + const hideSnackbar = () => { + setVisibleState(SnackBarState.fadeoutPlaying) + Animated.timing(fadeAnim, { + toValue: 0, + duration: 300, + useNativeDriver: true, + }).start(() => { + setVisibleState(SnackBarState.gone) + setTimeOutId(null) + onDismissSnackbar?.() + }) + } + const hideSnackbarImmediately = () => { + const onStop = ()=>{ + setVisibleState(SnackBarState.gone) + fadeAnim.setValue(0) + onDismissSnackbar?.() + } + switch (visibleState){ + case SnackBarState.fadeInPlaying: + fadeAnim.stopAnimation(onStop) + break + case SnackBarState.fadeoutPlaying: + break + case SnackBarState.visible: + if(timeOutId){ + clearTimeout(timeOutId) + } + onStop() + break + case SnackBarState.gone: + break + } + } + let bg = styles.errorBg + let textStyle = styles.errorText + let icon = require('../../assets/image/ic_snackbar_error.png') + let closeIcon = require('../../assets/image/ic_snackbar_error_close.png') + if(isSuccess){ + bg = styles.successBg + // @ts-ignore + textStyle = styles.successText + icon = require("../../assets/image/ic_snackbar_success.png") + closeIcon = require("../../assets/image/ic_snackbar_success_close.png") + + } + return visibleState != SnackBarState.gone ? ( + + + + {message} + + + + + + ) : null +} +const styles = StyleSheet.create({ + snackbarContainer: { + position: 'absolute', + left: 0, + right: 0, + justifyContent: 'center', + alignSelf: 'center', + }, + bottom: { + bottom: 24, + }, + successBg: { + backgroundColor: colors.snackbar_success_bg, + borderRadius: 8, + borderWidth: 0, + borderColor: colors.snackbar_success_bg, + elevation: 10, + }, + errorBg: { + backgroundColor: colors.snackbar_error_bg, + borderRadius: 6, + borderWidth: 1, + borderColor: colors.snackbar_error_text + }, + container: { + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'center', + alignSelf: 'center', + paddingHorizontal: 16, + paddingVertical: 12, + minHeight: 44, + flexShrink: 1, + maxWidth: Dimensions.get('screen').width - 32, + }, + messageText: { + fontFamily: 'Inter-Regular', + color: '#FFFFFF', + fontSize: 16, + flexShrink: 1, + marginLeft: 8, + alignSelf: 'center', + }, + successText: { + color: colors.background, + fontFamily: "Inter-Semi-Bold", + fontWeight: "700", + fontSize: 14, + }, + errorText: { + color: colors.snackbar_error_text, + fontFamily: 'Inter-Regular', + fontWeight: "400", + fontSize: 14, + }, +}) diff --git a/src/components/SocialLoginButton.tsx b/src/components/SocialLoginButton.tsx new file mode 100644 index 0000000..d563b1f --- /dev/null +++ b/src/components/SocialLoginButton.tsx @@ -0,0 +1,90 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {Image, StyleSheet, Text, TouchableOpacity, TouchableOpacityProps} from "react-native" +import {colors} from "../styles" +import * as React from "react" +import {useTranslation} from "react-i18next" +import {SocialProvider} from "@circle-fin/w3s-pw-react-native-sdk/src/types.ts" + +export const SocialLoginButton = (props: SocialLoginButtonProps) => { + const name = props.provider.toLowerCase() + const { t } = useTranslation() + let icon = require("../../assets/image/ic_google.png") + switch (props.provider){ + case SocialProvider.Facebook: + icon = require("../../assets/image/ic_facebook.png") + break + case SocialProvider.Apple: + icon = require("../../assets/image/ic_apple.png") + break + } + return ( + + + + {t(`${name}_bt`)} + + + ) +} + +interface SocialLoginButtonProps extends TouchableOpacityProps { + disabled: boolean, + provider: SocialProvider +} +const styles = StyleSheet.create({ + normalBg: { + backgroundColor: colors.background, + minHeight: 40, + borderWidth: 1, + borderRadius: 6, + borderColor: colors.social_login_bt_boarder, + marginTop: 12, + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'center' + }, + disabledBg: { + backgroundColor: colors.social_login_bt_disabled, + minHeight: 40, + borderRadius: 6, + marginTop: 12, + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'center' + }, + normalText: { + fontFamily: "Inter-Medium", + color: colors.social_login_text, + fontWeight: "500", + fontSize: 16, + }, + disabledText: { + fontFamily: "Inter-Medium", + color: colors.social_login_text_disabled, + fontWeight: "500", + fontSize: 16, + }, +}) diff --git a/src/components/SocialTab.tsx b/src/components/SocialTab.tsx new file mode 100644 index 0000000..41173dc --- /dev/null +++ b/src/components/SocialTab.tsx @@ -0,0 +1,109 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as React from "react" + +import {Text, View} from "react-native" +import {useTranslation} from "react-i18next" +import {commonStyles} from "../styles.ts" +import CommonInputText from "./CommonInputText.tsx" +import type {RootStackParamList} from "../App" +import {AuthMode} from "../screens/TabScreen.tsx" +import useWalletSdk from "../utils/useWalletSdk.ts" +import {NativeStackNavigationProp} from "@react-navigation/native-stack/src/types.tsx" +import CopyableText from "./CopyableText.tsx" +import {WalletSdk} from "../utils/useWalletSdk.ts" +import { useSelector} from "react-redux" +import {selectSocialEncryptionKey, selectSocialUserToken} from "../features/result/resultSlice.ts" +import {ShowSnackBarFn} from "../utils/useSnackBar.tsx" +import {SocialProvider} from "@circle-fin/w3s-pw-react-native-sdk/src/types.ts" +import RequiredMarkText from "./RequiredMarkText.tsx" +import {SocialLoginButton} from "./SocialLoginButton.tsx" +import HyperlinkText from "./HyperlinkText.tsx" +import {GoExecuteButton} from "./GoExecuteButton.tsx" + +type Props = { + navigation: NativeStackNavigationProp + showSnackBar: ShowSnackBarFn +} + +export default function SocialTab({ navigation, showSnackBar }: Props) { + const DOC_URL = 'https://developers.circle.com/w3s/docs/authentication-methods#create-a-wallet-with-social-logins' + const { t } = useTranslation() + const userToken = useSelector(selectSocialUserToken) + const encryptionKey = useSelector(selectSocialEncryptionKey) + const {appId, dispatchAppId, logoutAndLogin, dispatchLoginResult} = useWalletSdk(showSnackBar) + const [deviceToken, setDeviceToken] = React.useState("") + const [deviceEncryptionKey, setDeviceEncryptionKey] = React.useState("") + + const LoginButton = (provider: SocialProvider) => { + return ( + { + logoutAndLogin(provider, deviceToken, deviceEncryptionKey, + loginResult => { + dispatchLoginResult(AuthMode.social, loginResult) + showSnackBar(t('login_success'), true) + }, + e => { + showSnackBar(e.message, false) + }) + }}/>) + } + const SectionText = () => { + return ( + + {t("log_in_with_section")} + + ) + } + return ( + + {t("device_id_title")} + + + + + + + + + {SectionText()} + {LoginButton(SocialProvider.Google)} + {LoginButton(SocialProvider.Facebook)} + {LoginButton(SocialProvider.Apple)} + {userToken != null && encryptionKey != null && ( { + navigation.navigate('Execute', {authMode: AuthMode.social}) + }} + />)} + + + ) +} diff --git a/src/customize/DefaultCustomizer.ts b/src/customize/DefaultCustomizer.ts index cf56d7e..ab2e6c2 100644 --- a/src/customize/DefaultCustomizer.ts +++ b/src/customize/DefaultCustomizer.ts @@ -25,9 +25,9 @@ import { TextConfig, TextKey, TextsKey, - WalletSdk -} from "@circle-fin/w3s-pw-react-native-sdk" -import { colors } from "../styles.ts" + WalletSdk, +} from '../utils/useWalletSdk' +import {colors} from '../styles' export const DefaultCustomizer = { setup() { @@ -50,8 +50,8 @@ const _setSecurityQuestions = () => { new SecurityQuestion("What is your father’s middle name?", InputType.text), new SecurityQuestion("When is your birthday?", InputType.datePicker), new SecurityQuestion( - "When is your father's birthday?", - InputType.datePicker + "When is your father's birthday?", + InputType.datePicker ), new SecurityQuestion("When is your favorite date?", InputType.datePicker), new SecurityQuestion("What is the name of your first pet?"), @@ -112,34 +112,123 @@ const _setIconTextConfigsMap = () => { const map = new Map() map.set(IconTextsKey.securityConfirmationItems, [ new IconTextConfig( - require("../../assets/image/ic_intro_item0_icon.png"), - new TextConfig("This is the only way to recover my account access. ") + require("../../assets/image/ic_intro_item0_icon.png"), + new TextConfig("This is the only way to recover my account access. ") ), new IconTextConfig( - require("../../assets/image/ic_intro_item1_icon.png"), - new TextConfig( - "Circle won’t store my answers so it’s my responsibility to remember them." - ) + require("../../assets/image/ic_intro_item1_icon.png"), + new TextConfig( + "Circle won’t store my answers so it’s my responsibility to remember them." + ) ), new IconTextConfig( - require("../../assets/image/ic_intro_item2_icon.png"), - new TextConfig( - "I will lose access to my wallet and my digital assets if I forget my answers. " - ) + require("../../assets/image/ic_intro_item2_icon.png"), + new TextConfig( + "I will lose access to my wallet and my digital assets if I forget my answers. " + ) ) ]) WalletSdk.setIconTextConfigsMap(map) } const _setTextConfigMap = () => { const map = new Map() + const font = 'Inter-Semi-Bold' + const onlyFontConfig = new TextConfig(undefined, undefined, font) // @ts-ignore map.set( - TextKey.circlepw_recover_pincode_answer_input_placeholder, - new TextConfig( - "Type your answer here", - colors.placeholder, - "Inter-Regular" - ) + TextKey.circlepw_recover_pincode_answer_input_placeholder, + new TextConfig( + "Type your answer here", + colors.placeholder, + 'Inter-Regular', + ), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_main_currency, + new TextConfig( + 'USDC', + undefined, + font, + ), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_exchange_value, + new TextConfig( + '≈$20 USD', + undefined, + font, + ), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_from, + new TextConfig( + '0x9988770123456789ccii', + undefined, + font, + ), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_to_config, + onlyFontConfig, + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_to_contract_name, + new TextConfig('uniswap.org', undefined, font), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_to_contract_url, + new TextConfig('https://uniswape.org', undefined, font), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_network_fee, + new TextConfig('0.1234 ETH', undefined, font), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_network_fee, + new TextConfig('0.1234 ETH', undefined, font), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_exchange_network_fee, + new TextConfig('≈$1.1 USD'), + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_total_config, + onlyFontConfig, + ) + // @ts-ignore + map.set( + TextKey.circlepw_contract_interaction_abi_function_config, + onlyFontConfig, + ) + // @ts-ignore + map.set( + TextKey.circlepw_contract_interaction_data_details, + onlyFontConfig, + ) + // @ts-ignore + map.set( + TextKey.circlepw_transaction_request_exchange_total_value, + new TextConfig('≈$21.1 USD'), + ) + // @ts-ignore + map.set( + TextKey.circlepw_signature_request_contract_name, + new TextConfig('koalla.org', undefined, font), + ) + // @ts-ignore + map.set( + TextKey.circlepw_signature_request_contract_url, + new TextConfig('https://koalla.org', undefined, font), ) WalletSdk.setTextConfigMap(map) } @@ -147,8 +236,8 @@ const _setErrorStringMap = () => { const map = new Map() map.set(ErrorCode.incorrectUserPin, "The PIN you entered is incorrect.") map.set( - ErrorCode.insecurePinCode, - "Your PIN can’t have repeating or consecutive numbers." + ErrorCode.insecurePinCode, + "Your PIN can’t have repeating or consecutive numbers." ) WalletSdk.setErrorStringMap(map) } @@ -159,32 +248,51 @@ const _setImageMap = () => { imageMap.set(ImageKey.showPin, require("../../assets/image/ic_show_pin.png")) imageMap.set(ImageKey.hidePin, require("../../assets/image/ic_hide_pin.png")) imageMap.set( - ImageKey.alertWindowIcon, - require("../../assets/image/ic_alert_window_icon.png") + ImageKey.alertWindowIcon, + require("../../assets/image/ic_alert_window_icon.png") + ) + imageMap.set( + ImageKey.securityIntroMain, + require("../../assets/image/ic_intro_main_icon.png") + ) + imageMap.set( + ImageKey.selectCheckMark, + require("../../assets/image/ic_select_checkmark.png") + ) + imageMap.set( + ImageKey.dropdownArrow, + require("../../assets/image/ic_dropdown_arrow.png") + ) + imageMap.set( + ImageKey.errorInfo, + require("../../assets/image/ic_error_info.png") ) imageMap.set( - ImageKey.securityIntroMain, - require("../../assets/image/ic_intro_main_icon.png") + ImageKey.securityConfirmMain, + require("../../assets/image/ic_security_confirm_main.png") ) imageMap.set( - ImageKey.selectCheckMark, - require("../../assets/image/ic_select_checkmark.png") + ImageKey.biometricsAllowMain, + require('../../assets/image/ic_biometrics_allow_main.png'), ) + imageMap.set(ImageKey.requestIcon, { + uri: 'https://avatars.githubusercontent.com/u/37784886', + }) imageMap.set( - ImageKey.dropdownArrow, - require("../../assets/image/ic_dropdown_arrow.png") + ImageKey.transactionTokenIcon, + require('../../assets/image/ic_usdc.png'), ) imageMap.set( - ImageKey.errorInfo, - require("../../assets/image/ic_error_info.png") + ImageKey.networkFeeTipIcon, + require('../../assets/image/ic_fee_info.png'), ) imageMap.set( - ImageKey.securityConfirmMain, - require("../../assets/image/ic_security_confirm_main.png") + ImageKey.showLessDetailArrow, + require('../../assets/image/ic_show_less_arrow.png'), ) imageMap.set( - ImageKey.biometricsAllowMain, - require("../../assets/image/ic_biometrics_allow_main.png") + ImageKey.showMoreDetailArrow, + require('../../assets/image/ic_show_more_arrow.png'), ) WalletSdk.setImageMap(imageMap) } diff --git a/src/features/result/resultSlice.ts b/src/features/result/resultSlice.ts new file mode 100644 index 0000000..f805e00 --- /dev/null +++ b/src/features/result/resultSlice.ts @@ -0,0 +1,69 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {createSlice, PayloadAction} from '@reduxjs/toolkit' +import type {RootState} from '../../app/store.ts' +import {AuthMode} from "../../screens/TabScreen.tsx" +import { LoginResult } from '../../utils/useWalletSdk.ts' + +export interface AuthLoginResult { + authMode: AuthMode, + result: LoginResult +} +// Define a type for the slice state +interface ResultState { + emailUserToken: string | undefined, + emailEncryptionKey: string | undefined, + socialUserToken: string | undefined, + socialEncryptionKey: string | undefined, +} + +// Define the initial state using that type +const initialState: ResultState = { + emailEncryptionKey: undefined, + emailUserToken: undefined, + socialEncryptionKey: undefined, + socialUserToken: undefined, +} + +export const resultSlice = createSlice({ + name: 'result', + initialState, + reducers: { + setLoginResult: (state, action: PayloadAction) => { + switch (action.payload.authMode){ + case AuthMode.email: + state.emailUserToken = action.payload.result.userToken + state.emailEncryptionKey = action.payload.result.encryptionKey + break + case AuthMode.social: + state.socialUserToken = action.payload.result.userToken + state.socialEncryptionKey = action.payload.result.encryptionKey + break + } + } + } +}) + +export const { setLoginResult } = resultSlice.actions + +// Other code such as selectors can use the imported `RootState` type +export const selectEmailUserToken = (state: RootState) => state.result.emailUserToken +export const selectEmailEncryptionKey = (state: RootState) => state.result.emailEncryptionKey +export const selectSocialUserToken = (state: RootState) => state.result.socialUserToken +export const selectSocialEncryptionKey = (state: RootState) => state.result.socialEncryptionKey + +export default resultSlice.reducer diff --git a/src/features/settings/settingsSlice.ts b/src/features/settings/settingsSlice.ts new file mode 100644 index 0000000..422ac7a --- /dev/null +++ b/src/features/settings/settingsSlice.ts @@ -0,0 +1,59 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {createSlice, PayloadAction} from '@reduxjs/toolkit' +import type {RootState} from '../../app/store' +import {pw_app_id, pw_endpoint} from "../../config.json" + +// Define a type for the slice state +interface SettingsState { + endpoint: string, + appId: string, + enableBiometrics: boolean, +} + +// Define the initial state using that type +const initialState: SettingsState = { + endpoint: pw_endpoint, + appId: pw_app_id, + enableBiometrics: false, +} + +export const settingsSlice = createSlice({ + name: 'settings', + initialState, + reducers: { + setEndpoint: (state, action: PayloadAction) => { + state.endpoint = action.payload + }, + setAppId: (state, action: PayloadAction) => { + state.appId = action.payload + }, + setEnableBiometrics: (state, action: PayloadAction) => { + state.enableBiometrics = action.payload + }, + } +}) + +export const { setEndpoint, setAppId, + setEnableBiometrics } = settingsSlice.actions + +// Other code such as selectors can use the imported `RootState` type +export const selectEndpoint = (state: RootState) => state.settings.endpoint +export const selectAppId = (state: RootState) => state.settings.appId +export const selectEnableBiometrics = (state: RootState) => state.settings.enableBiometrics + +export default settingsSlice.reducer diff --git a/src/locales/en.json b/src/locales/en.json index b17abc4..f3062af 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,11 +1,20 @@ { - "main_title": "Programmable Wallet SDK Sample App", - "endpoint_title": "Endpoint", + "main_title": "User Controlled Wallet \nSample App", + "main_subtitle": "Choose one Auth Method to start", + "tab_social": "Social", + "tab_email": "Email", + "tab_pin": "PIN", + "endpoint_title": "End Point", "appid_title": "App ID", "user_token_title": "User Token", "encryption_title": "Encryption Key", - "biometrics_title": "Biometrics", + "biometrics_switch_title": "Enable Biometrics Setting", + "biometrics_switch_desc": "Please create PIN before setting up Biometrics", "challenge_id_title": "Challenge ID", + "device_id_title": "Device ID", + "device_token_title": "Device Token", + "device_encryption_title": "Device Encryption Key", + "otp_token_title": "OTP Token", "challenge_type_title": "Challenge Type", "result_status_title": "Result Status", "signature_title": "Signature", @@ -15,9 +24,19 @@ "error_message_title": "Error Message", "forgot_pin": "Forgot PIN", "execute_bt": "Execute", - "set_biometrics_pin_bt": "Set Biometrics Pin", + "go_execute_bt": "Execute Challenge", + "go_execute_bt_desc": "Enter Challenge ID to test wallet creation or signing flows.", + "email_login_bt": "Log in with Email", + "set_biometrics_pin_bt": "Set up Biometrics", "continue_bt": "Continue", - "version": "Version", - "sdk_version": "SDK Version", - "e": "" + "login_success": "Login Successful", + "execute_success": "Execute Successful", + "google_bt": "Google", + "facebook_bt": "Facebook", + "apple_bt": "Apple", + "required_mark": "*", + "log_in_with_section": "Log in with", + "info_full_text": "Please configure OAuth credentials in the Console before testing the login flows. View docs for more guidance.", + "info_link_text": "docs", + "implement_callback_instruction": "Register a callback function is required during the actual implementation." } diff --git a/src/screens/ExecuteScreen.tsx b/src/screens/ExecuteScreen.tsx new file mode 100644 index 0000000..71a96f0 --- /dev/null +++ b/src/screens/ExecuteScreen.tsx @@ -0,0 +1,139 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as React from "react" +import {SafeAreaView, Text, View, ScrollView, Image, TouchableOpacity, StyleSheet} from "react-native" +import {colors, commonStyles} from "../styles.ts" +import {useTranslation} from "react-i18next" +import {MainButton} from "../components/MainButton.tsx" +import {AuthMode} from "./TabScreen.tsx" +import {useSelector} from "react-redux" +import { + selectEmailEncryptionKey, + selectEmailUserToken, + selectSocialEncryptionKey, + selectSocialUserToken +} from "../features/result/resultSlice.ts" +import CommonInputText from "../components/CommonInputText.tsx" +import useWalletSdk from "../utils/useWalletSdk.ts" +import useSnackBar from "../utils/useSnackBar.tsx" +import type {RootStackParamList} from "../App" +import type {NativeStackScreenProps} from "@react-navigation/native-stack" +import CopyableText from "../components/CopyableText.tsx" +import RequiredMarkText from "../components/RequiredMarkText.tsx" + +type Props = NativeStackScreenProps +export default function ExecuteScreen({ route, navigation }: Props) { + const { t } = useTranslation() + const [challengeId, setChallengeId] = React.useState("") + const { renderSnackBar, showSnackBar } = useSnackBar() + const { execute } = useWalletSdk(showSnackBar) + const { + authMode + } = route.params + + const initByAuthMode = () => { + switch (authMode){ + case AuthMode.social: + return { + userToken: useSelector(selectSocialUserToken), + encryptionKey: useSelector(selectSocialEncryptionKey) + } + case AuthMode.email: + return { + userToken: useSelector(selectEmailUserToken), + encryptionKey: useSelector(selectEmailEncryptionKey) + } + default: + return { + userToken: null, + encryptionKey: null + } + } + } + const {userToken, encryptionKey} = initByAuthMode() + const ValueComponent = (value: string|undefined|null, accessibilityLabel: string) => { + if (value) { + return ( + + {value} + + ) + } + return null + } + return ( + + { + navigation.goBack() + }}> + + + + + {t('go_execute_bt')} + {t("encryption_title")} + {ValueComponent(encryptionKey, `executeEncryptionKey`)} + {t("user_token_title")} + + + + + { + if(userToken && encryptionKey ) { + execute(userToken, encryptionKey, challengeId, result => { + showSnackBar(t('execute_success'), true) + console.log(JSON.stringify(result)) + }, e => { + showSnackBar(e.message, false) + }) + } + }} + disabled={challengeId.length === 0} + /> + {renderSnackBar()} + + + + ) +} + +const styles = StyleSheet.create({ + title: { + fontFamily: "Inter-Semi-Bold", + color: colors.execute_challenge_screen_title, + fontWeight: "700", + fontSize: 22, + textAlign: 'center', + marginBottom: 8 + }, +}) diff --git a/src/screens/TabScreen.tsx b/src/screens/TabScreen.tsx new file mode 100644 index 0000000..94c8267 --- /dev/null +++ b/src/screens/TabScreen.tsx @@ -0,0 +1,135 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as React from "react" + +import { + SafeAreaView, + StyleSheet, + Text, + View +} from "react-native" +import {useTranslation} from "react-i18next" +import {colors, commonStyles} from "../styles" +import {useEffect} from "react" +import SocialTab from "../components/SocialTab.tsx" +import EmailTab from "../components/EmailTab.tsx" +import PinTab from "../components/PinTab.tsx" +import type {RootStackParamList} from "../App" +import type {NativeStackScreenProps} from "@react-navigation/native-stack" +import {DefaultCustomizer} from "../customize/DefaultCustomizer.ts" +import useSnackBar from "../utils/useSnackBar.tsx" +import {MaterialTabBar, MaterialTabBarProps, Tabs} from 'react-native-collapsible-tab-view' +import {WalletSdk, ExecuteEvent} from "../utils/useWalletSdk.ts" + +type Props = NativeStackScreenProps +const TAB_BAR_HEIGHT = 48 +export enum AuthMode { + social = 'social', + email = 'email', + pin = 'pin', +} +export default function TabScreen({ navigation }: Props) { + const { t } = useTranslation() + const { renderSnackBar, showSnackBar } = useSnackBar() + + useEffect(() => { + DefaultCustomizer.setup() + const { rn, native} = WalletSdk.sdkVersion + console.log(`PW SDK version: ${rn}, ${native}`) + WalletSdk.addListener((event: ExecuteEvent) => { + WalletSdk.moveRnTaskToFront() + showSnackBar(t('implement_callback_instruction'), false) + console.log(event) + }) + // Removes the listener once unmounted + return () => { + WalletSdk.removeAllListeners() + } + }, []) + const header = () => { + return + {t("main_title")} + {t("main_subtitle")} + + } + + const tabBar = (props: MaterialTabBarProps) => ( + name} + labelStyle={commonStyles.tabText} + indicatorStyle={{ backgroundColor: colors.tab_focused }}/> + ) + const tabView = () => { + return ( + + + + + + + + + + + + + + + + + + ) + } + return ( + + {tabView()} + {renderSnackBar()} + + ) +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + }, + header: { + width: '100%', + alignItems: 'center', + justifyContent: 'center', + position: 'absolute', + }, + tab: { + elevation: 0, + backgroundColor: colors.background, + borderBottomWidth: 1, + borderColor: colors.tab_underline + }, + indicator: {backgroundColor: colors.tab_focused}, +}) diff --git a/src/styles.ts b/src/styles.ts index b0adf82..06286b6 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -19,9 +19,12 @@ import { StyleSheet } from "react-native" export const colors = { text_main: "#1A1A1A", text_auxiliary: "#3D3D3D", + text_desc: "#8E8E93", placeholder: "#A3A3A3", + disabled_secondary_bt_text: "#3273c3", disabled_main_bt_text: "rgba(255,255,255,0.8)", disabled_main_bt_background: "#0073C380", + disabled_secondary_bt_background: "#F1F9FE", main_bt_text: "#FFFFFFFF", primary: "#0073c3", primaryCursor: "rgba(0,115,195,0.5)", @@ -30,43 +33,107 @@ export const colors = { disabled_input_background: "#F5F5F5", input_boarder_focused: "#46B5FF", input_boarder: "#E8E8E8", - background: "#FFFFFFFF" + social_login_bt_boarder: "#CAC4D0", + social_login_bt_disabled: "#1D1B201F", + social_login_text: "#000000", + social_login_text_disabled: "#938F99", + background: "#FFFFFFFF", + tab_focused: "#29233B", + tab_unfocused: "#8A849C", + section_text: "#8A849C", + section_line: "#1118271A", + tab_underline: "#1118271A", + required_red: "#F55538", + info_desc: "#4E4763", + info_link: "#4E4763", + bt_sub_text: "#6B6580", + execute_challenge_screen_title: "#1D1B20", + snackbar_success_bg: "#008339", + snackbar_error_bg: "#FFEAEF", + snackbar_error_text: "#BC0016", } +export const pagePaddingH = 16 export const commonStyles = StyleSheet.create({ container: { flex: 1, - paddingHorizontal: 24, - paddingVertical: 16, backgroundColor: colors.background }, + containerWithPadding: { + flex: 1, + backgroundColor: colors.background, + paddingHorizontal: pagePaddingH, + paddingBottom: 24, + }, mainButton: { marginTop: 24, alignItems: "center", backgroundColor: colors.primary, borderRadius: 56, - minHeight: 48, + minHeight: 56, + paddingVertical: 8, + justifyContent: "center" + }, + secondaryButton: { + marginTop: 24, + alignItems: "center", + backgroundColor: colors.background, + borderColor: colors.primary, + borderWidth: 1, + borderRadius: 56, + minHeight: 56, paddingVertical: 8, justifyContent: "center" }, disabledMainButton: { backgroundColor: colors.disabled_main_bt_background }, + disabledSecondaryButton: { + backgroundColor: colors.disabled_secondary_bt_background, + opacity: 0.5 + }, disabledMainButtonText: { color: colors.disabled_main_bt_text }, + disabledSecondaryButtonText: { + color: colors.disabled_secondary_bt_text + }, mainButtonText: { fontFamily: "Inter-Medium", color: colors.main_bt_text, fontWeight: "500", fontSize: 16 }, + secondaryButtonText: { + fontFamily: "Inter-Medium", + color: colors.primary, + fontWeight: "500", + fontSize: 16 + }, + sectionLine: { + height: 1, + backgroundColor: colors.section_line, + flexShrink: 1, + alignSelf: 'center', + flex: 1 + }, + sectionText: { + fontFamily: "Inter-Regular", + color: colors.section_text, + textAlign: 'center', + fontWeight: "400", + fontSize: 14, + marginHorizontal: 16, + alignSelf: 'center', + justifyContent: 'center', + }, inputTitle: { fontFamily: "Inter-Regular", color: colors.text_auxiliary, fontWeight: "400", fontSize: 14, marginTop: 12, - marginBottom: 4 + marginBottom: 4, + flexShrink: 1, }, switchTitle: { fontFamily: "Inter-Regular", @@ -75,39 +142,50 @@ export const commonStyles = StyleSheet.create({ fontSize: 16, marginTop: 0 }, + tabText: { + fontFamily: "Inter-Semi-Bold", + color: colors.tab_focused, + fontSize: 14, + }, heading: { fontFamily: "Inter-Semi-Bold", color: colors.text_main, - fontSize: 32, - marginBottom: 8 + fontSize: 22, + marginTop: 24, + textAlign: 'center', + paddingHorizontal: pagePaddingH + }, + desc: { + fontFamily: "Inter-Regular", + color: colors.text_desc, + fontSize: 14, + marginTop: 16, + marginBottom: 24, + textAlign: 'center', + paddingHorizontal: pagePaddingH }, normalInputField: { - height: 56, - marginTop: 4, - borderWidth: 2, + marginTop: 8, + borderWidth: 1, backgroundColor: colors.background, borderColor: colors.input_boarder, borderRadius: 16, - paddingVertical: 10, paddingHorizontal: 16, + paddingVertical: 8, fontFamily: "Inter-Regular", color: colors.text_main, fontWeight: "400", fontSize: 16 }, normalValueText: { - minHeight: 56, - marginTop: 4, - borderWidth: 2, - backgroundColor: colors.background, - borderColor: colors.input_boarder, - borderRadius: 16, - textAlignVertical: "center", fontFamily: "Inter-Regular", - paddingHorizontal: 16, color: colors.text_main, fontWeight: "400", - fontSize: 16 + fontSize: 16, + marginTop: 8, + marginBottom: 4, + minHeight: 24, + flexShrink: 1 }, disabledInputField: { borderColor: colors.input_boarder, @@ -115,5 +193,14 @@ export const commonStyles = StyleSheet.create({ }, focusedInputField: { borderColor: colors.input_boarder_focused - } + }, + requiredMark: { + fontFamily: "Inter-Regular", + color: colors.required_red, + borderColor: 'red', + fontWeight: "400", + fontSize: 12, + marginLeft: 4, + flexWrap: 'wrap' + }, }) diff --git a/src/utils/useSnackBar.tsx b/src/utils/useSnackBar.tsx new file mode 100644 index 0000000..38317ce --- /dev/null +++ b/src/utils/useSnackBar.tsx @@ -0,0 +1,44 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +import {useState} from "react" +import SnackBar from "../components/SnackBar.tsx" +import * as React from "react" + + +export type ShowSnackBarFn = (message: string, isSuccess: boolean) => void + + +export default function useSnackBar() { + const [snackBarMessage, setSnackBarMessage] = useState() + const [isSuccess, setIsSuccess] = useState(true) + const showSnackBar: ShowSnackBarFn = (message: string, isSuccess: boolean) => { + setIsSuccess(isSuccess) + setSnackBarMessage(message) + } + const renderSnackBar = () => { + if (snackBarMessage) { + return ( { + setSnackBarMessage(undefined) + }}/>) + } + return null + } + return { + snackBarMessage, setSnackBarMessage, isSuccess, setIsSuccess, renderSnackBar, showSnackBar} +} + diff --git a/src/utils/useWalletSdk.ts b/src/utils/useWalletSdk.ts new file mode 100644 index 0000000..0eccabc --- /dev/null +++ b/src/utils/useWalletSdk.ts @@ -0,0 +1,104 @@ +// Copyright (c) 2024, Circle Internet Financial, LTD. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import {useDispatch, useSelector} from "react-redux" +import { + selectAppId, + selectEnableBiometrics, + selectEndpoint, + setAppId, setEnableBiometrics, + setEndpoint +} from "../features/settings/settingsSlice.ts" +import {WalletSdk} from "@circle-fin/w3s-pw-react-native-sdk" +import {ErrorCallback, LoginSuccessCallback} from "@circle-fin/w3s-pw-react-native-sdk/src/types.ts" +import {AuthMode} from "../screens/TabScreen.tsx" +import { + LoginResult, + SocialProvider, + SuccessCallback +} from "@circle-fin/w3s-pw-react-native-sdk/lib/typescript/src/types" +import {setLoginResult} from "../features/result/resultSlice.ts" +import {ShowSnackBarFn} from "./useSnackBar.tsx" + + +export default function useWalletSdk(showSnackBar: ShowSnackBarFn) { + const dispatch = useDispatch() + const endpoint = useSelector(selectEndpoint) + const appId = useSelector(selectAppId) + const enableBiometricsPin = useSelector(selectEnableBiometrics) + const dispatchEndpoint = (value: string) => { + dispatch(setEndpoint(value)) + } + const dispatchAppId = (value: string) => { + dispatch(setAppId(value)) + } + const dispatchEnableBiometrics = (value: boolean) => { + dispatch(setEnableBiometrics(value)) + } + const dispatchLoginResult = (authMode: AuthMode, result: LoginResult) => { + dispatch(setLoginResult({authMode, result})) + } + const initThen = (action: () => void) => { + WalletSdk.init({ + endpoint, + appId, + settingsManagement: { enableBiometricsPin: enableBiometricsPin } + }).then(() => { + action() + }).catch((e) => { + showSnackBar(e.message, false) + }) + } + const verifyOtp = (otpToken:string, deviceToken: string, deviceEncryptionKey: string, + successCallback: LoginSuccessCallback, + errorCallback: ErrorCallback)=> { + initThen(() => { + WalletSdk.verifyOTP(otpToken, deviceToken, deviceEncryptionKey, successCallback, errorCallback) + }) + } + const logoutAndLogin = (provider: SocialProvider, deviceToken: string, deviceEncryptionKey: string, + successCallback: LoginSuccessCallback, + errorCallback: ErrorCallback) => { + WalletSdk.performLogout(provider,() => { + initThen(() => { + WalletSdk.performLogin(provider, deviceToken, deviceEncryptionKey, successCallback, errorCallback) + }) + }, e => { + errorCallback(e) + } ) + } + const execute = (userToken:string, encryptionKey: string, challengeId: string, + successCallback: SuccessCallback, + errorCallback: ErrorCallback)=> { + initThen(() => { + WalletSdk.execute(userToken, encryptionKey, [challengeId], successCallback, errorCallback) + }) + } + const setBiometricsPin = (userToken:string, encryptionKey: string, + successCallback: SuccessCallback, + errorCallback: ErrorCallback)=> { + initThen(() => { + WalletSdk.setBiometricsPin(userToken, encryptionKey, successCallback, errorCallback) + }) + } + return { + endpoint, appId, enableBiometricsPin, + dispatchEndpoint, dispatchAppId, dispatchEnableBiometrics, + dispatchLoginResult, logoutAndLogin, verifyOtp, execute, setBiometricsPin} +} + +export * from '@circle-fin/w3s-pw-react-native-sdk' +export type * from '@circle-fin/w3s-pw-react-native-sdk/lib/typescript/src/types' diff --git a/yarn.lock b/yarn.lock index 307a602..d5b2bdd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,12 +23,20 @@ "@babel/highlight" "^7.23.4" chalk "^2.4.2" +"@babel/code-frame@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" + integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== + dependencies: + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" + "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.6", "@babel/compat-data@^7.23.3", "@babel/compat-data@^7.23.5": version "7.23.5" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz" integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== -"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.0.0-0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.11.0", "@babel/core@^7.11.6", "@babel/core@^7.12.0", "@babel/core@^7.12.3", "@babel/core@^7.13.0", "@babel/core@^7.13.16", "@babel/core@^7.20.0", "@babel/core@^7.4.0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.8.0": +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.20.0": version "7.23.6" resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz" integrity sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw== @@ -49,7 +57,7 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/eslint-parser@^7.12.0", "@babel/eslint-parser@^7.20.0": +"@babel/eslint-parser@^7.20.0": version "7.23.3" resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.23.3.tgz" integrity sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw== @@ -68,6 +76,16 @@ "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" +"@babel/generator@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.7.tgz#1654d01de20ad66b4b4d99c135471bc654c55e6d" + integrity sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA== + dependencies: + "@babel/types" "^7.24.7" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.22.5": version "7.22.5" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz" @@ -75,6 +93,13 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-annotate-as-pure@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz#5373c7bc8366b12a033b4be1ac13a206c6656aab" + integrity sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-builder-binary-assignment-operator-visitor@^7.22.15": version "7.22.15" resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz" @@ -108,6 +133,21 @@ "@babel/helper-split-export-declaration" "^7.22.6" semver "^6.3.1" +"@babel/helper-create-class-features-plugin@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz#2eaed36b3a1c11c53bdf80d53838b293c52f5b3b" + integrity sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-member-expression-to-functions" "^7.24.7" + "@babel/helper-optimise-call-expression" "^7.24.7" + "@babel/helper-replace-supers" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + semver "^6.3.1" + "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.22.15", "@babel/helper-create-regexp-features-plugin@^7.22.5": version "7.22.15" resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz" @@ -133,6 +173,13 @@ resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz" integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== +"@babel/helper-environment-visitor@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz#4b31ba9551d1f90781ba83491dd59cf9b269f7d9" + integrity sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-function-name@^7.22.5", "@babel/helper-function-name@^7.23.0": version "7.23.0" resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz" @@ -141,6 +188,14 @@ "@babel/template" "^7.22.15" "@babel/types" "^7.23.0" +"@babel/helper-function-name@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz#75f1e1725742f39ac6584ee0b16d94513da38dd2" + integrity sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA== + dependencies: + "@babel/template" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-hoist-variables@^7.22.5": version "7.22.5" resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz" @@ -148,6 +203,13 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-hoist-variables@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz#b4ede1cde2fd89436397f30dc9376ee06b0f25ee" + integrity sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-member-expression-to-functions@^7.23.0": version "7.23.0" resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz" @@ -155,6 +217,14 @@ dependencies: "@babel/types" "^7.23.0" +"@babel/helper-member-expression-to-functions@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz#67613d068615a70e4ed5101099affc7a41c5225f" + integrity sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-module-imports@^7.22.15": version "7.22.15" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz" @@ -162,6 +232,14 @@ dependencies: "@babel/types" "^7.22.15" +"@babel/helper-module-imports@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz#f2f980392de5b84c3328fc71d38bd81bbb83042b" + integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-module-transforms@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz" @@ -173,6 +251,17 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.20" +"@babel/helper-module-transforms@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz#31b6c9a2930679498db65b685b1698bfd6c7daf8" + integrity sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ== + dependencies: + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-module-imports" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + "@babel/helper-optimise-call-expression@^7.22.5": version "7.22.5" resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz" @@ -180,11 +269,23 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-optimise-call-expression@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz#8b0a0456c92f6b323d27cfd00d1d664e76692a0f" + integrity sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.24.0" resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz" integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== +"@babel/helper-plugin-utils@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz#98c84fe6fe3d0d3ae7bfc3a5e166a46844feb2a0" + integrity sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg== + "@babel/helper-remap-async-to-generator@^7.18.9", "@babel/helper-remap-async-to-generator@^7.22.20": version "7.22.20" resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz" @@ -203,6 +304,15 @@ "@babel/helper-member-expression-to-functions" "^7.23.0" "@babel/helper-optimise-call-expression" "^7.22.5" +"@babel/helper-replace-supers@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz#f933b7eed81a1c0265740edc91491ce51250f765" + integrity sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg== + dependencies: + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-member-expression-to-functions" "^7.24.7" + "@babel/helper-optimise-call-expression" "^7.24.7" + "@babel/helper-simple-access@^7.22.5": version "7.22.5" resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz" @@ -210,6 +320,14 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-simple-access@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz#bcade8da3aec8ed16b9c4953b74e506b51b5edb3" + integrity sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers@^7.20.0", "@babel/helper-skip-transparent-expression-wrappers@^7.22.5": version "7.22.5" resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz" @@ -217,6 +335,14 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-skip-transparent-expression-wrappers@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz#5f8fa83b69ed5c27adc56044f8be2b3ea96669d9" + integrity sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz" @@ -224,21 +350,43 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-split-export-declaration@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856" + integrity sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-string-parser@^7.23.4": version "7.23.4" resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz" integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== +"@babel/helper-string-parser@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz#4d2d0f14820ede3b9807ea5fc36dfc8cd7da07f2" + integrity sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg== + "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== +"@babel/helper-validator-identifier@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" + integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== + "@babel/helper-validator-option@^7.23.5": version "7.23.5" resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== +"@babel/helper-validator-option@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz#24c3bb77c7a425d1742eec8fb433b5a1b38e62f6" + integrity sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw== + "@babel/helper-wrap-function@^7.22.20": version "7.22.20" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz" @@ -266,11 +414,26 @@ chalk "^2.4.2" js-tokens "^4.0.0" +"@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== + dependencies: + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" + js-tokens "^4.0.0" + picocolors "^1.0.0" + "@babel/parser@^7.1.0", "@babel/parser@^7.13.16", "@babel/parser@^7.14.7", "@babel/parser@^7.20.0", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.6": version "7.23.6" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz" integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== +"@babel/parser@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85" + integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz" @@ -461,6 +624,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.0" +"@babel/plugin-syntax-jsx@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz#39a1fa4a7e3d3d7f34e2acc6be585b718d30e02d" + integrity sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" @@ -524,6 +694,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.0" +"@babel/plugin-syntax-typescript@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz#58d458271b4d3b6bb27ee6ac9525acbb259bad1c" + integrity sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-unicode-sets-regex@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz" @@ -539,6 +716,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-transform-arrow-functions@^7.0.0-0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz#4f6886c11e423bd69f3ce51dbf42424a5f275514" + integrity sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-transform-async-generator-functions@^7.23.4": version "7.23.4" resolved "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz" @@ -730,6 +914,15 @@ "@babel/helper-plugin-utils" "^7.24.0" "@babel/helper-simple-access" "^7.22.5" +"@babel/plugin-transform-modules-commonjs@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz#9fd5f7fdadee9085886b183f1ad13d1ab260f4ab" + integrity sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ== + dependencies: + "@babel/helper-module-transforms" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + "@babel/plugin-transform-modules-systemjs@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz" @@ -763,6 +956,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-transform-nullish-coalescing-operator@^7.0.0-0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.7.tgz#1de4534c590af9596f53d67f52a92f12db984120" + integrity sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-transform-nullish-coalescing-operator@^7.23.4": version "7.23.4" resolved "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz" @@ -806,6 +1007,15 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" +"@babel/plugin-transform-optional-chaining@^7.0.0-0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.7.tgz#b8f6848a80cf2da98a8a204429bec04756c6d454" + integrity sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-transform-optional-chaining@^7.23.3", "@babel/plugin-transform-optional-chaining@^7.23.4": version "7.23.4" resolved "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz" @@ -913,6 +1123,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-transform-shorthand-properties@^7.0.0-0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz#85448c6b996e122fa9e289746140aaa99da64e73" + integrity sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-transform-spread@^7.0.0", "@babel/plugin-transform-spread@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz" @@ -928,6 +1145,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-transform-template-literals@^7.0.0-0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz#a05debb4a9072ae8f985bcf77f3f215434c8f8c8" + integrity sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-transform-template-literals@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz" @@ -952,6 +1176,16 @@ "@babel/helper-plugin-utils" "^7.24.0" "@babel/plugin-syntax-typescript" "^7.24.1" +"@babel/plugin-transform-typescript@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.24.7.tgz#b006b3e0094bf0813d505e0c5485679eeaf4a881" + integrity sha512-iLD3UNkgx2n/HrjBesVbYX6j0yqn/sJktvbtKKgcaLIQ4bTTQ8obAypc1VpyHPD2y4Phh9zHOaAt8e/L14wCpw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-create-class-features-plugin" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-typescript" "^7.24.7" + "@babel/plugin-transform-unicode-escapes@^7.23.3": version "7.23.3" resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz" @@ -983,7 +1217,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/preset-env@^7.1.6", "@babel/preset-env@^7.20.0": +"@babel/preset-env@^7.20.0": version "7.23.6" resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.6.tgz" integrity sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ== @@ -1098,6 +1332,17 @@ "@babel/plugin-transform-modules-commonjs" "^7.24.1" "@babel/plugin-transform-typescript" "^7.24.1" +"@babel/preset-typescript@^7.16.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.24.7.tgz#66cd86ea8f8c014855671d5ea9a737139cbbfef1" + integrity sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-validator-option" "^7.24.7" + "@babel/plugin-syntax-jsx" "^7.24.7" + "@babel/plugin-transform-modules-commonjs" "^7.24.7" + "@babel/plugin-transform-typescript" "^7.24.7" + "@babel/register@^7.13.16": version "7.23.7" resolved "https://registry.npmjs.org/@babel/register/-/register-7.23.7.tgz" @@ -1114,7 +1359,7 @@ resolved "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.0.0", "@babel/runtime@^7.20.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.20.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": version "7.23.6" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.6.tgz" integrity sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ== @@ -1130,6 +1375,15 @@ "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" +"@babel/template@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.7.tgz#02efcee317d0609d2c07117cb70ef8fb17ab7315" + integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/traverse@^7.20.0", "@babel/traverse@^7.23.6": version "7.23.6" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz" @@ -1146,6 +1400,22 @@ debug "^4.3.1" globals "^11.1.0" +"@babel/traverse@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.7.tgz#de2b900163fa741721ba382163fe46a936c40cf5" + integrity sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-hoist-variables" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + debug "^4.3.1" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.23.6" resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz" @@ -1155,15 +1425,24 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" +"@babel/types@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.7.tgz#6027fe12bc1aa724cd32ab113fb7f1988f1f66f2" + integrity sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q== + dependencies: + "@babel/helper-string-parser" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@circle-fin/w3s-pw-react-native-sdk@^1.0.4": - version "1.0.4" - resolved "https://registry.npmjs.org/@circle-fin/w3s-pw-react-native-sdk/-/w3s-pw-react-native-sdk-1.0.4.tgz" - integrity sha512-HkqjvIek0hUjGxeqTfSLeIoQTr1MRmfQCJhWdi92tRN2zUmjY4DyWg2lh8wbGGmMmscM9WReiF6PgwLMKYECdg== +"@circle-fin/w3s-pw-react-native-sdk@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@circle-fin/w3s-pw-react-native-sdk/-/w3s-pw-react-native-sdk-1.1.0.tgz#ed85e13aee490ff838dfa3b019586939ded49347" + integrity sha512-oEMNPP4c8sePF5IM1qknhnsYOXryaGAV7hinmWjRKfWvcE6m6VB0tcLm5qv7nBRCWiuFBmheeVI/CDcxorbdhg== "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" @@ -1514,7 +1793,7 @@ "@nodelib/fs.stat" "2.0.5" run-parallel "^1.1.9" -"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": version "2.0.5" resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== @@ -1527,6 +1806,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@react-native-clipboard/clipboard@^1.14.1": + version "1.14.1" + resolved "https://registry.yarnpkg.com/@react-native-clipboard/clipboard/-/clipboard-1.14.1.tgz#835f82fc86881a0808a8405f2576617bb5383554" + integrity sha512-SM3el0A28SwoeJljVNhF217o0nI4E7RfalLmuRQcT1/7tGcxUjgFa3jyrEndYUct8/uxxK5EUNGUu1YEDqzxqw== + "@react-native-community/cli-clean@12.3.6": version "12.3.6" resolved "https://registry.npmjs.org/@react-native-community/cli-clean/-/cli-clean-12.3.6.tgz" @@ -1690,7 +1974,7 @@ dependencies: "@react-native/codegen" "0.73.3" -"@react-native/babel-preset@^0.73.21", "@react-native/babel-preset@0.73.21": +"@react-native/babel-preset@0.73.21", "@react-native/babel-preset@^0.73.21": version "0.73.21" resolved "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.73.21.tgz" integrity sha512-WlFttNnySKQMeujN09fRmrdWqh46QyJluM5jdtDNrkl/2Hx6N4XeDUGhABvConeK95OidVO7sFFf7sNebVXogA== @@ -1844,7 +2128,7 @@ metro-config "^0.80.3" metro-runtime "^0.80.3" -"@react-native/normalize-colors@^0.73.0", "@react-native/normalize-colors@0.73.2": +"@react-native/normalize-colors@0.73.2", "@react-native/normalize-colors@^0.73.0": version "0.73.2" resolved "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz" integrity sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w== @@ -1887,7 +2171,7 @@ "@react-navigation/elements" "^1.3.21" warn-once "^0.1.0" -"@react-navigation/native@^6.0.0", "@react-navigation/native@^6.1.9": +"@react-navigation/native@^6.1.9": version "6.1.9" resolved "https://registry.npmjs.org/@react-navigation/native/-/native-6.1.9.tgz" integrity sha512-AMuJDpwXE7UlfyhIXaUCCynXmv69Kb8NzKgKJO7v0k0L+u6xUTbt6xvshmJ79vsvaFyaEH9Jg5FMzek5/S5qNw== @@ -1904,6 +2188,16 @@ dependencies: nanoid "^3.1.23" +"@reduxjs/toolkit@^2.2.6": + version "2.2.6" + resolved "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.6.tgz" + integrity sha512-kH0r495c5z1t0g796eDQAkYbEQ3a1OLYN9o8jQQVZyKyw367pfRGS+qZLkHYvFHiUUdafpoSlQ2QYObIApjPWA== + dependencies: + immer "^10.0.3" + redux "^5.0.1" + redux-thunk "^3.1.0" + reselect "^5.1.0" + "@sideway/address@^4.1.5": version "4.1.5" resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz" @@ -1980,6 +2274,14 @@ dependencies: "@types/node" "*" +"@types/hoist-non-react-statics@^3.3.0": + version "3.3.5" + resolved "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz" + integrity sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg== + dependencies: + "@types/react" "*" + hoist-non-react-statics "^3.3.0" + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.6" resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz" @@ -2016,6 +2318,16 @@ resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz" integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng== +"@types/react-redux@^7.1.33": + version "7.1.33" + resolved "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.33.tgz" + integrity sha512-NF8m5AjWCkert+fosDsN3hAlHzpjSiXlVy9EgQEmLoBhaNXbmyeGs/aj5dQzKuF+/q+S7JQagorGDW8pJ28Hmg== + dependencies: + "@types/hoist-non-react-statics" "^3.3.0" + "@types/react" "*" + hoist-non-react-statics "^3.3.0" + redux "^4.0.0" + "@types/react-test-renderer@^18.0.0": version "18.0.7" resolved "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-18.0.7.tgz" @@ -2047,6 +2359,11 @@ resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz" integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== +"@types/use-sync-external-store@^0.0.3": + version "0.0.3" + resolved "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz" + integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA== + "@types/yargs-parser@*": version "21.0.3" resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz" @@ -2066,7 +2383,7 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.0.0", "@typescript-eslint/eslint-plugin@^5.57.1", "@typescript-eslint/eslint-plugin@latest": +"@typescript-eslint/eslint-plugin@^5.57.1", "@typescript-eslint/eslint-plugin@latest": version "5.62.0" resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz" integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== @@ -2082,7 +2399,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.57.1", "@typescript-eslint/parser@latest": +"@typescript-eslint/parser@^5.57.1", "@typescript-eslint/parser@latest": version "5.62.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz" integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== @@ -2128,7 +2445,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@^5.10.0", "@typescript-eslint/utils@5.62.0": +"@typescript-eslint/utils@5.62.0", "@typescript-eslint/utils@^5.10.0": version "5.62.0" resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz" integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== @@ -2175,7 +2492,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.8.2, acorn@^8.9.0: version "8.11.2" resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz" integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== @@ -2221,14 +2538,7 @@ ansi-regex@^5.0.0, ansi-regex@^5.0.1: resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-styles@^3.2.0: - version "3.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -2504,7 +2814,7 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -browserslist@^4.22.2, "browserslist@>= 4.21.0": +browserslist@^4.22.2: version "4.22.2" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz" integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== @@ -2714,16 +3024,16 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - color-name@1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + colorette@^1.0.7: version "1.4.0" resolved "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz" @@ -2843,14 +3153,7 @@ dayjs@^1.8.15: resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz" integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ== -debug@^2.2.0: - version "2.6.9" - resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^2.6.9: +debug@2.6.9, debug@^2.2.0, debug@^2.6.9: version "2.6.9" resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -2864,13 +3167,6 @@ debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: dependencies: ms "2.1.2" -debug@2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" @@ -2940,6 +3236,11 @@ deprecated-react-native-prop-types@^5.0.0: invariant "^2.2.4" prop-types "^15.8.1" +dequal@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + destroy@1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz" @@ -3217,7 +3518,7 @@ eslint-plugin-react@^7.30.1, eslint-plugin-react@latest: semver "^6.3.1" string.prototype.matchall "^4.0.8" -eslint-scope@^5.1.1, eslint-scope@5.1.1: +eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -3243,7 +3544,7 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4 resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@*, "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^3.17.0 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", "eslint@^7.5.0 || ^8.0.0", eslint@^8.1.0, eslint@^8.19.0, eslint@>=4.19.1, eslint@>=7.0.0, eslint@>=7.28.0, eslint@>=8: +eslint@^8.19.0: version "8.56.0" resolved "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz" integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ== @@ -3506,7 +3807,7 @@ flow-enums-runtime@^0.0.6: resolved "https://registry.npmjs.org/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz" integrity sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw== -flow-parser@^0.206.0, flow-parser@0.*: +flow-parser@0.*, flow-parser@^0.206.0: version "0.206.0" resolved "https://registry.npmjs.org/flow-parser/-/flow-parser-0.206.0.tgz" integrity sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w== @@ -3751,6 +4052,13 @@ hermes-profile-transformer@^0.0.6: dependencies: source-map "^0.7.3" +hoist-non-react-statics@^3.3.0: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" @@ -3779,7 +4087,7 @@ human-signals@^2.1.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -i18next@^23.7.12, "i18next@>= 23.2.3": +i18next@^23.7.12: version "23.7.12" resolved "https://registry.npmjs.org/i18next/-/i18next-23.7.12.tgz" integrity sha512-BZcAvh5M/s2CDrbxNFT8kscfzCYW607wnc4wnQ11HaHDJlS46P/0+P++nmgnc5CIjSQ1DfHAM9RE+hIyALvI7g== @@ -3803,6 +4111,11 @@ image-size@^1.0.2: dependencies: queue "6.0.2" +immer@^10.0.3: + version "10.1.1" + resolved "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz" + integrity sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw== + import-fresh@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz" @@ -3840,7 +4153,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3, inherits@2, inherits@2.0.4: +inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -4377,7 +4690,7 @@ jest-resolve-dependencies@^29.7.0: jest-regex-util "^29.6.3" jest-snapshot "^29.7.0" -jest-resolve@*, jest-resolve@^29.7.0: +jest-resolve@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz" integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== @@ -4841,7 +5154,7 @@ metro-cache@0.80.8: metro-core "0.80.8" rimraf "^3.0.2" -metro-config@^0.80.3, metro-config@0.80.8: +metro-config@0.80.8, metro-config@^0.80.3: version "0.80.8" resolved "https://registry.npmjs.org/metro-config/-/metro-config-0.80.8.tgz" integrity sha512-VGQJpfJawtwRzGzGXVUoohpIkB0iPom4DmSbAppKfumdhtLA8uVeEPp2GM61kL9hRvdbMhdWA7T+hZFDlo4mJA== @@ -4854,7 +5167,7 @@ metro-config@^0.80.3, metro-config@0.80.8: metro-core "0.80.8" metro-runtime "0.80.8" -metro-core@^0.80.3, metro-core@0.80.8: +metro-core@0.80.8, metro-core@^0.80.3: version "0.80.8" resolved "https://registry.npmjs.org/metro-core/-/metro-core-0.80.8.tgz" integrity sha512-g6lud55TXeISRTleW6SHuPFZHtYrpwNqbyFIVd9j9Ofrb5IReiHp9Zl8xkAfZQp8v6ZVgyXD7c130QTsCz+vBw== @@ -4892,14 +5205,14 @@ metro-resolver@0.80.8: resolved "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.80.8.tgz" integrity sha512-JdtoJkP27GGoZ2HJlEsxs+zO7jnDUCRrmwXJozTlIuzLHMRrxgIRRby9fTCbMhaxq+iA9c+wzm3iFb4NhPmLbQ== -metro-runtime@^0.80.3, metro-runtime@0.80.8: +metro-runtime@0.80.8, metro-runtime@^0.80.3: version "0.80.8" resolved "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.80.8.tgz" integrity sha512-2oScjfv6Yb79PelU1+p8SVrCMW9ZjgEiipxq7jMRn8mbbtWzyv3g8Mkwr+KwOoDFI/61hYPUbY8cUnu278+x1g== dependencies: "@babel/runtime" "^7.0.0" -metro-source-map@^0.80.3, metro-source-map@0.80.8: +metro-source-map@0.80.8, metro-source-map@^0.80.3: version "0.80.8" resolved "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.80.8.tgz" integrity sha512-+OVISBkPNxjD4eEKhblRpBf463nTMk3KMEeYS8Z4xM/z3qujGJGSsWUGRtH27+c6zElaSGtZFiDMshEb8mMKQg== @@ -4954,7 +5267,7 @@ metro-transform-worker@0.80.8: metro-transform-plugins "0.80.8" nullthrows "^1.1.1" -metro@^0.80.3, metro@0.80.8: +metro@0.80.8, metro@^0.80.3: version "0.80.8" resolved "https://registry.npmjs.org/metro/-/metro-0.80.8.tgz" integrity sha512-in7S0W11mg+RNmcXw+2d9S3zBGmCARDxIwoXJAmLUQOQoYsRP3cpGzyJtc7WOw8+FXfpgXvceD0u+PZIHXEL7g== @@ -5011,7 +5324,7 @@ micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -"mime-db@>= 1.43.0 < 2", mime-db@1.52.0: +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== @@ -5023,16 +5336,16 @@ mime-types@^2.1.27, mime-types@~2.1.34: dependencies: mime-db "1.52.0" -mime@^2.4.1: - version "2.6.0" - resolved "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - mime@1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== +mime@^2.4.1: + version "2.6.0" + resolved "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz" + integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" @@ -5223,13 +5536,6 @@ object.values@^1.1.6: define-properties "^1.2.0" es-abstract "^1.22.1" -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz" - integrity sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww== - dependencies: - ee-first "1.1.1" - on-finished@2.4.1: version "2.4.1" resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz" @@ -5237,6 +5543,13 @@ on-finished@2.4.1: dependencies: ee-first "1.1.1" +on-finished@~2.3.0: + version "2.3.0" + resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz" + integrity sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww== + dependencies: + ee-first "1.1.1" + on-headers@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz" @@ -5298,14 +5611,7 @@ ora@^5.4.1: strip-ansi "^6.0.0" wcwidth "^1.0.1" -p-limit@^2.0.0: - version "2.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - -p-limit@^2.2.0: +p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== @@ -5451,22 +5757,12 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@>=2, prettier@>=2.0.0, prettier@2.8.8: +prettier@2.8.8: version "2.8.8" resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== -pretty-format@^26.5.2: - version "26.6.2" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz" - integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== - dependencies: - "@jest/types" "^26.6.2" - ansi-regex "^5.0.0" - ansi-styles "^4.0.0" - react-is "^17.0.1" - -pretty-format@^26.6.2: +pretty-format@^26.5.2, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz" integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== @@ -5577,12 +5873,7 @@ react-i18next@^14.0.0: resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -react-is@^16.13.0: - version "16.13.1" - resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^16.13.1: +react-is@^16.13.0, react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -5592,12 +5883,38 @@ react-is@^17.0.1: resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -react-native-safe-area-context@^4.7.4, "react-native-safe-area-context@>= 3.0.0": +react-native-collapsible-tab-view@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/react-native-collapsible-tab-view/-/react-native-collapsible-tab-view-8.0.0.tgz#b308e5cf6b94ae57099196b50a87f2d63c894a13" + integrity sha512-p3/CfBtCn/7qAllFeBM8KI4cCqqYfE0gzO/bh/oX6ewk2hE7HF0QQpZBGZlLdLJDo1lUXRlTSP2VLAYgky2maw== + dependencies: + use-deep-compare "^1.1.0" + +react-native-pager-view@^6.3.3: + version "6.3.3" + resolved "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.3.3.tgz" + integrity sha512-HViKBlfN/kBJUSu5mRL/V9Bkf1j7uDZozGAjbzh4o9XYo11qVcIK7IwvfzqrkNerVSDy/cAmZcXbcyWnII8xMA== + +react-native-reanimated@3.8.1: + version "3.8.1" + resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-3.8.1.tgz#45c13d4bedebef8df3d5a8756f25072de65960d7" + integrity sha512-EdM0vr3JEaNtqvstqESaPfOBy0gjYBkr1iEolWJ82Ax7io8y9OVUIphgsLKTB36CtR1XtmBw0RZVj7KArc7ZVA== + dependencies: + "@babel/plugin-transform-arrow-functions" "^7.0.0-0" + "@babel/plugin-transform-nullish-coalescing-operator" "^7.0.0-0" + "@babel/plugin-transform-optional-chaining" "^7.0.0-0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0-0" + "@babel/plugin-transform-template-literals" "^7.0.0-0" + "@babel/preset-typescript" "^7.16.7" + convert-source-map "^2.0.0" + invariant "^2.2.4" + +react-native-safe-area-context@^4.7.4: version "4.8.2" resolved "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.8.2.tgz" integrity sha512-ffUOv8BJQ6RqO3nLml5gxJ6ab3EestPiyWekxdzO/1MQ7NF8fW1Mzh1C5QE9yq573Xefnc7FuzGXjtesZGv7cQ== -react-native-screens@^3.27.0, "react-native-screens@>= 3.0.0": +react-native-screens@^3.27.0: version "3.29.0" resolved "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.29.0.tgz" integrity sha512-yB1GoAMamFAcYf4ku94uBPn0/ani9QG7NdI98beJ5cet2YFESYYzuEIuU+kt+CNRcO8qqKeugxlfgAa3HyTqlg== @@ -5605,7 +5922,14 @@ react-native-screens@^3.27.0, "react-native-screens@>= 3.0.0": react-freeze "^1.0.0" warn-once "^0.1.0" -react-native@*, react-native@0.73.6: +react-native-tab-view@^3.5.2: + version "3.5.2" + resolved "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-3.5.2.tgz" + integrity sha512-nE5WqjbeEPsWQx4mtz81QGVvgHRhujTNIIZiMCx3Bj6CBFDafbk7XZp9ocmtzXUQaZ4bhtVS43R4FIiR4LboJw== + dependencies: + use-latest-callback "^0.1.5" + +react-native@0.73.6: version "0.73.6" resolved "https://registry.npmjs.org/react-native/-/react-native-0.73.6.tgz" integrity sha512-oqmZe8D2/VolIzSPZw+oUd6j/bEmeRHwsLn1xLA5wllEYsZ5zNuMsDus235ONOnCRwexqof/J3aztyQswSmiaA== @@ -5649,6 +5973,14 @@ react-native@*, react-native@0.73.6: ws "^6.2.2" yargs "^17.6.2" +react-redux@^9.1.2: + version "9.1.2" + resolved "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz" + integrity sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w== + dependencies: + "@types/use-sync-external-store" "^0.0.3" + use-sync-external-store "^1.0.0" + react-refresh@^0.14.0: version "0.14.0" resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz" @@ -5671,7 +6003,7 @@ react-test-renderer@18.2.0: react-shallow-renderer "^16.15.0" scheduler "^0.23.0" -react@*, "react@^16.0.0 || ^17.0.0 || ^18.0.0", react@^18.2.0, "react@>= 16.8.0", react@>=16.8, react@>=17.0.0, react@18.2.0: +react@18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== @@ -5715,6 +6047,23 @@ recast@^0.21.0: source-map "~0.6.1" tslib "^2.0.1" +redux-thunk@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz" + integrity sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw== + +redux@^4.0.0: + version "4.2.1" + resolved "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz" + integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w== + dependencies: + "@babel/runtime" "^7.9.2" + +redux@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz" + integrity sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w== + reflect.getprototypeof@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz" @@ -5794,6 +6143,11 @@ require-main-filename@^2.0.0: resolved "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== +reselect@^5.1.0: + version "5.1.1" + resolved "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz" + integrity sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w== + resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" @@ -5883,7 +6237,7 @@ safe-array-concat@^1.0.1: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@~5.1.0, safe-buffer@~5.1.1, safe-buffer@5.1.2: +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== @@ -5902,13 +6256,6 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== - dependencies: - loose-envify "^1.1.0" - scheduler@0.24.0-canary-efb381bbf-20230505: version "0.24.0-canary-efb381bbf-20230505" resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.24.0-canary-efb381bbf-20230505.tgz" @@ -5916,6 +6263,13 @@ scheduler@0.24.0-canary-efb381bbf-20230505: dependencies: loose-envify "^1.1.0" +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + semver@^5.6.0: version "5.7.2" resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz" @@ -5926,7 +6280,7 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.7: +semver@^7.3.7, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -5940,20 +6294,6 @@ semver@^7.5.2: dependencies: lru-cache "^6.0.0" -semver@^7.5.3: - version "7.5.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -semver@^7.5.4: - version "7.5.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - send@0.18.0: version "0.18.0" resolved "https://registry.npmjs.org/send/-/send-0.18.0.tgz" @@ -6074,14 +6414,6 @@ slice-ansi@^2.0.0: astral-regex "^1.0.0" is-fullwidth-code-point "^2.0.0" -source-map-support@^0.5.16, source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map-support@0.5.13: version "0.5.13" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" @@ -6090,6 +6422,14 @@ source-map-support@0.5.13: buffer-from "^1.0.0" source-map "^0.6.0" +source-map-support@^0.5.16, source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map@^0.5.6: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" @@ -6134,35 +6474,21 @@ stacktrace-parser@^0.1.10: dependencies: type-fest "^0.7.1" -statuses@~1.5.0: - version "1.5.0" - resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - statuses@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== +statuses@~1.5.0: + version "1.5.0" + resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== + strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - string-length@^4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" @@ -6227,14 +6553,21 @@ string.prototype.trimstart@^1.0.7: define-properties "^1.2.0" es-abstract "^1.22.1" -strip-ansi@^5.0.0: - version "5.2.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== dependencies: - ansi-regex "^4.1.0" + safe-buffer "~5.2.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" -strip-ansi@^5.2.0: +strip-ansi@^5.0.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -6458,7 +6791,7 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -"typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", typescript@5.0.4: +typescript@5.0.4: version "5.0.4" resolved "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz" integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== @@ -6526,11 +6859,23 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -use-latest-callback@^0.1.7: +use-deep-compare@^1.1.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/use-deep-compare/-/use-deep-compare-1.2.1.tgz#076c9865868d98509e619206e27bc8eff0b8ed7c" + integrity sha512-JTnOZAr0fq1ix6CQ4XANoWIh03xAiMFlP/lVAYDdAOZwur6nqBSdATn1/Q9PLIGIW+C7xmFZBCcaA4KLDcQJtg== + dependencies: + dequal "2.0.3" + +use-latest-callback@^0.1.5, use-latest-callback@^0.1.7: version "0.1.9" resolved "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.9.tgz" integrity sha512-CL/29uS74AwreI/f2oz2hLTW7ZqVeV5+gxFeGudzQrgkCytrHw33G4KbnQOrRlAEzzAFXi7dDLMC9zhWcVpzmw== +use-sync-external-store@^1.0.0: + version "1.2.2" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz" + integrity sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw== + util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"