expo-dev-menu 3.1.10 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +5 -1
- package/android/build.gradle +2 -2
- package/app/components/Main.tsx +39 -59
- package/app/components/Onboarding.tsx +1 -1
- package/assets/EXDevMenuApp.android.js +5 -5
- package/assets/EXDevMenuApp.ios.js +5 -5
- package/ios/Interceptors/DevMenuKeyCommandsInterceptor.swift +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.2.0 — 2023-09-15
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add `control+d` as a hotkey to open the menu. ([#24434](https://github.com/expo/expo/pull/24434) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
|
+
- Separate `refresh` button from the rest ([#24426](https://github.com/expo/expo/pull/24426) by [@kadikraman](https://github.com/kadikraman))
|
|
19
|
+
|
|
13
20
|
## 3.1.10 — 2023-08-22
|
|
14
21
|
|
|
15
22
|
### 💡 Others
|
package/README.md
CHANGED
|
@@ -10,7 +10,9 @@ You can find more information in the [Expo documentation](https://docs.expo.dev/
|
|
|
10
10
|
|
|
11
11
|
The `expo-dev-menu` repository consists of two different parts, the exported package, which includes the native functions, located in the `android`, `ios` and `src` folders and the Dev Menu interface, located under the `app` folder.
|
|
12
12
|
|
|
13
|
-
Local development is usually done through `bare-expo
|
|
13
|
+
Local development is usually done through [`bare-expo`](/apps/bare-expo).
|
|
14
|
+
|
|
15
|
+
First, make sure to `yarn` and `yarn start` in `expo-dev-menu` which will add the port for the dev menu packager to [`dev-menu-packager-host`](./assets/dev-menu-packager-host`). This is bundled into the native code in `bare-expo` so need to be done first.
|
|
14
16
|
|
|
15
17
|
To use `dev-client` when running `bare-expo` on Android, open [MainApplication.java](/apps/bare-expo/android/app/src/main/java/dev/expo/payments/MainApplication.java) and set the `USE_DEV_CLIENT` value to `true`.
|
|
16
18
|
|
|
@@ -26,6 +28,8 @@ To use `dev-client` when running `bare-expo` on iOS, open [AppDelegate.mm](/apps
|
|
|
26
28
|
+ BOOL useDevClient = YES;
|
|
27
29
|
```
|
|
28
30
|
|
|
31
|
+
Then build the native apps with `npx pod-install && yarn ios` or `yarn android`.
|
|
32
|
+
|
|
29
33
|
### Making JavaScript changes inside the `app` folder
|
|
30
34
|
|
|
31
35
|
To update the JavaScript code inside the `app` folder, you need to run the `dev-menu` bundler locally.
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '3.
|
|
6
|
+
version = '3.2.0'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -67,7 +67,7 @@ android {
|
|
|
67
67
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
68
68
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
69
69
|
versionCode 10
|
|
70
|
-
versionName '3.
|
|
70
|
+
versionName '3.2.0'
|
|
71
71
|
}
|
|
72
72
|
lintOptions {
|
|
73
73
|
abortOnError false
|
package/app/components/Main.tsx
CHANGED
|
@@ -23,12 +23,12 @@ import * as React from 'react';
|
|
|
23
23
|
import { Platform, ScrollView, Switch } from 'react-native';
|
|
24
24
|
import semver from 'semver';
|
|
25
25
|
|
|
26
|
+
import { Onboarding } from './Onboarding';
|
|
26
27
|
import { useAppInfo } from '../hooks/useAppInfo';
|
|
27
28
|
import { useClipboard } from '../hooks/useClipboard';
|
|
28
29
|
import { useDevSettings } from '../hooks/useDevSettings';
|
|
29
30
|
import { isDevLauncherInstalled } from '../native-modules/DevLauncher';
|
|
30
31
|
import { hideMenu, fireCallbackAsync } from '../native-modules/DevMenu';
|
|
31
|
-
import { Onboarding } from './Onboarding';
|
|
32
32
|
|
|
33
33
|
type MainProps = {
|
|
34
34
|
registeredCallbacks?: string[];
|
|
@@ -135,47 +135,29 @@ export function Main({ registeredCallbacks = [], isDevice }: MainProps) {
|
|
|
135
135
|
<Text color="secondary">Connected to:</Text>
|
|
136
136
|
|
|
137
137
|
<Spacer.Vertical size="small" />
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<
|
|
143
|
-
<
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
138
|
+
<Button.FadeOnPressContainer
|
|
139
|
+
bg="default"
|
|
140
|
+
onPress={onCopyUrlPress}
|
|
141
|
+
testID="main.copyUrlButton">
|
|
142
|
+
<Row align="center">
|
|
143
|
+
<StatusIndicator style={{ width: 10, height: 10 }} status="success" />
|
|
144
|
+
<Spacer.Horizontal size="small" />
|
|
145
|
+
<Row flex="1" justify="between">
|
|
146
|
+
<Text type="mono" numberOfLines={2} size="small">
|
|
147
|
+
{appInfo.hostUrl}
|
|
148
|
+
</Text>
|
|
149
|
+
|
|
150
|
+
<ClipboardIcon />
|
|
151
|
+
</Row>
|
|
152
|
+
<Spacer.Horizontal size="small" />
|
|
153
|
+
</Row>
|
|
154
|
+
</Button.FadeOnPressContainer>
|
|
149
155
|
</View>
|
|
150
156
|
|
|
151
157
|
<Divider />
|
|
152
158
|
</>
|
|
153
159
|
)}
|
|
154
160
|
|
|
155
|
-
<Row padding="small">
|
|
156
|
-
{isDevLauncherInstalled && (
|
|
157
|
-
<View flex="1">
|
|
158
|
-
<ActionButton
|
|
159
|
-
icon={<HomeFilledIcon />}
|
|
160
|
-
label="Go home"
|
|
161
|
-
onPress={actions.navigateToLauncher}
|
|
162
|
-
/>
|
|
163
|
-
</View>
|
|
164
|
-
)}
|
|
165
|
-
|
|
166
|
-
<Spacer.Horizontal size="medium" />
|
|
167
|
-
|
|
168
|
-
<View flex="1">
|
|
169
|
-
<ActionButton icon={<ClipboardIcon />} label="Copy link" onPress={onCopyUrlPress} />
|
|
170
|
-
</View>
|
|
171
|
-
|
|
172
|
-
<Spacer.Horizontal size="medium" />
|
|
173
|
-
|
|
174
|
-
<View flex="1">
|
|
175
|
-
<ActionButton icon={<RefreshIcon />} label="Reload" onPress={actions.reload} />
|
|
176
|
-
</View>
|
|
177
|
-
</Row>
|
|
178
|
-
|
|
179
161
|
{registeredCallbacks.length > 0 && (
|
|
180
162
|
<View>
|
|
181
163
|
<View mx="large">
|
|
@@ -210,8 +192,28 @@ export function Main({ registeredCallbacks = [], isDevice }: MainProps) {
|
|
|
210
192
|
</View>
|
|
211
193
|
)}
|
|
212
194
|
|
|
195
|
+
<View margin="small">
|
|
196
|
+
<View
|
|
197
|
+
{...(isDevLauncherInstalled ? { roundedTop: 'large' } : { rounded: 'large' })}
|
|
198
|
+
bg="default">
|
|
199
|
+
<SettingsRowButton label="Reload" icon={<RefreshIcon />} onPress={actions.reload} />
|
|
200
|
+
</View>
|
|
201
|
+
{isDevLauncherInstalled && (
|
|
202
|
+
<>
|
|
203
|
+
<Divider />
|
|
204
|
+
<View roundedBottom="large" bg="default">
|
|
205
|
+
<SettingsRowButton
|
|
206
|
+
label="Go home"
|
|
207
|
+
icon={<HomeFilledIcon />}
|
|
208
|
+
onPress={actions.navigateToLauncher}
|
|
209
|
+
/>
|
|
210
|
+
</View>
|
|
211
|
+
</>
|
|
212
|
+
)}
|
|
213
|
+
</View>
|
|
214
|
+
|
|
213
215
|
<View mx="small">
|
|
214
|
-
<View
|
|
216
|
+
<View bg="default" roundedTop="large">
|
|
215
217
|
<SettingsRowButton
|
|
216
218
|
disabled={!devSettings.isPerfMonitorAvailable}
|
|
217
219
|
label="Toggle performance monitor"
|
|
@@ -367,28 +369,6 @@ export function Main({ registeredCallbacks = [], isDevice }: MainProps) {
|
|
|
367
369
|
);
|
|
368
370
|
}
|
|
369
371
|
|
|
370
|
-
type ActionButtonProps = {
|
|
371
|
-
icon: React.ReactElement<any>;
|
|
372
|
-
label: string;
|
|
373
|
-
onPress: () => void;
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
function ActionButton({ icon, label, onPress }: ActionButtonProps) {
|
|
377
|
-
return (
|
|
378
|
-
<Button.FadeOnPressContainer bg="default" onPress={onPress}>
|
|
379
|
-
<View padding="small" rounded="large" bg="default">
|
|
380
|
-
<View align="centered">{icon}</View>
|
|
381
|
-
|
|
382
|
-
<Spacer.Vertical size="tiny" />
|
|
383
|
-
|
|
384
|
-
<Text size="small" align="center">
|
|
385
|
-
{label}
|
|
386
|
-
</Text>
|
|
387
|
-
</View>
|
|
388
|
-
</Button.FadeOnPressContainer>
|
|
389
|
-
);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
372
|
type SettingsRowButtonProps = {
|
|
393
373
|
icon: React.ReactElement<any>;
|
|
394
374
|
label: string;
|
|
@@ -12,7 +12,7 @@ const deviceMessage = Platform.select({
|
|
|
12
12
|
const simulatorMessage = Platform.select({
|
|
13
13
|
ios: (
|
|
14
14
|
<Text size="medium">
|
|
15
|
-
You can open it at any time with the <Text weight="bold">{'\
|
|
15
|
+
You can open it at any time with the <Text weight="bold">{'\u2303 + d '}</Text> keyboard
|
|
16
16
|
shortcut{' '}
|
|
17
17
|
<Text color="secondary" size="medium">
|
|
18
18
|
("Connect Hardware Keyboard" must be enabled on your simulator to use this shortcut, you can
|
|
@@ -878,9 +878,9 @@ __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",
|
|
|
878
878
|
__d((function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.MenuPreferencesProvider=function(t){var n=t.children,o=t.menuPreferences,c=void 0===o?O:o;return(0,i.jsx)(l.Provider,{value:c,children:n})},e.useMenuPreferences=function(){return p(p({},o.useContext(l)),{},{actions:{setOnboardingFinishedAsync:function(t){return c.setOnboardingFinishedAsync(t)}}})};var n=t(r(d[1])),o=f(r(d[2])),c=f(r(d[3])),i=r(d[4]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}function f(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var c={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=i?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(c,f,s):c[f]=t[f]}return c.default=t,o&&o.set(t,c),c}function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,c)}return o}function p(t){for(var o=1;o<arguments.length;o++){var c=null!=arguments[o]?arguments[o]:{};o%2?s(Object(c),!0).forEach((function(o){(0,n.default)(t,o,c[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(c)):s(Object(c)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(c,n))}))}return t}var O={isOnboardingFinished:!1},l=o.createContext(O)}),872,[5,30,95,854,203]);
|
|
879
879
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.LoadInitialData=function(t){var p=t.children,s=t.loader,y=void 0===s?(0,l.jsx)(c.Splash,{}):s,v=u.useState(!0),j=(0,n.default)(v,2),O=j[0],b=j[1];if(u.useEffect((function(){(0,f.loadFontsAsync)().then((function(){b(!1)}))}),[]),O)return y;return(0,l.jsx)(o.View,{flex:"1",children:p})};var n=t(r(d[1])),o=r(d[2]),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=f?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),f=r(d[4]),c=r(d[5]),l=r(d[6]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}}),873,[5,46,434,95,854,874,203]);
|
|
880
880
|
__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Splash=function(){return(0,n.jsx)(t.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,n.jsx)(t.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=o(n);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u)})(r(d[1])),r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(o=function(t){return t?f:n})(t)}}),874,[434,95,203]);
|
|
881
|
-
__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Main=function(n){var b,z=n.registeredCallbacks,y=void 0===z?[]:z,S=n.isDevice,I=(0,t.useAppInfo)(),P=(0,x.useDevSettings)(),D=P.devSettings,R=P.actions,H=(0,c.useClipboard)(),T=(0,c.useClipboard)();var k=Boolean(T.clipboardContent),C=D.isElementInspectorAvailable,O=D.isHotLoadingAvailable,B=D.isPerfMonitorAvailable,F=D.isRemoteDebuggingAvailable,A=[C,O,B,F].filter((function(n){return!1===n})).length>0;return(0,p.jsxs)(s.View,{flex:"1",bg:"secondary",children:[(0,p.jsx)(s.View,{py:"medium",bg:"default",children:(0,p.jsxs)(s.Row,{align:"start",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsxs)(s.Row,{align:"center",shrink:"1",children:[(0,p.jsx)(s.View,{children:(0,p.jsx)(s.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(I.appIcon)&&(0,p.jsx)(s.Image,{source:{uri:I.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.View,{shrink:"1",children:[(0,p.jsx)(s.Row,{style:{flexWrap:'wrap'},children:(0,p.jsx)(s.Heading,{weight:"bold",numberOfLines:1,children:I.appName})}),Boolean(I.runtimeVersion)&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`Runtime version: ${I.runtimeVersion}`})}),Boolean(I.sdkVersion)&&!I.runtimeVersion&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`SDK version: ${I.sdkVersion}`})})]}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,p.jsx)(s.Button.FadeOnPressContainer,{onPress:u.hideMenu,bg:"ghost",rounded:"full",children:(0,p.jsx)(s.View,{padding:"micro",children:(0,p.jsx)(s.XIcon,{})})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]})}),(0,p.jsx)(s.Divider,{}),(0,p.jsxs)(s.View,{style:{flex:1},children:[(0,p.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(I.hostUrl)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s.View,{bg:"default",padding:"medium",children:[(0,p.jsx)(s.Text,{color:"secondary",children:"Connected to:"}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(s.Text,{type:"mono",numberOfLines:2,size:"small",children:I.hostUrl})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsxs)(s.Row,{padding:"small",children:[j.isDevLauncherInstalled&&(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.HomeFilledIcon,{}),label:"Go home",onPress:R.navigateToLauncher})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.ClipboardIcon,{}),label:"Copy link",onPress:function(){var n=I.hostUrl;H.onCopyPress(n)}})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.RefreshIcon,{}),label:"Reload",onPress:R.reload})})]}),y.length>0&&(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{mx:"large",children:(0,p.jsx)(s.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{mx:"small",children:y.map((function(n,l,o){var t=0===l,c=l===o.length-1;return(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:t?'large':'none',roundedBottom:c?'large':'none',children:(0,p.jsx)(w,{label:n,icon:null,onPress:function(){return(0,u.fireCallbackAsync)(n)}})}),!c&&(0,p.jsx)(s.Divider,{})]},n+l)}))}),(0,p.jsx)(s.Spacer.Vertical,{size:"medium"})]}),(0,p.jsxs)(s.View,{mx:"small",children:[(0,p.jsx)(s.View,{roundedTop:"large",bg:"default",children:(0,p.jsx)(w,{disabled:!D.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,p.jsx)(s.PerformanceIcon,{}),onPress:R.togglePerformanceMonitor})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(w,{disabled:!D.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,p.jsx)(s.InspectElementIcon,{}),onPress:R.toggleElementInspector})}),(0,p.jsx)(s.Divider,{}),D.isJSInspectorAvailable?(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(w,{disabled:!D.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),onPress:R.openJSInspector})}):(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:null==I||!I.sdkVersion||!o.default.lt(I.sdkVersion,'49.0.0')||!D.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),isEnabled:D.isDebuggingRemotely,setIsEnabled:R.toggleDebugRemoteJS,description:null==I||!I.sdkVersion||o.default.lt(I.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(b=null==I?void 0:I.engine)?b:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",roundedBottom:"large",children:(0,p.jsx)(V,{disabled:!D.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,p.jsx)(s.RunIcon,{}),isEnabled:D.isHotLoadingEnabled,setIsEnabled:R.toggleFastRefresh})})]}),'Hermes'===I.engine&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",children:(0,p.jsxs)(s.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.WarningIcon,{}),(0,p.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,p.jsx)(s.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!A&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsxs)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,p.jsx)(v,{title:"Version",value:I.appVersion}),(0,p.jsx)(s.Divider,{}),Boolean(I.runtimeVersion)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{title:"Runtime version",value:I.runtimeVersion}),(0,p.jsx)(s.Divider,{})]}),Boolean(I.sdkVersion)&&!I.runtimeVersion&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{title:"SDK Version",value:I.sdkVersion}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var n=I.runtimeVersion,s=I.sdkVersion,l=I.appName,o=I.appVersion;T.onCopyPress({runtimeVersion:n,sdkVersion:s,appName:l,appVersion:o})},disabled:k,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{color:"link",size:"medium",children:k?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:R.openRNDevMenu,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{children:"Open React Native dev menu"})})})}),'android'===l.Platform.OS&&(0,p.jsx)(s.View,{style:{height:50}}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"})]}),(0,p.jsx)(h.Onboarding,{isDevice:S})]})]})};var s=r(d[1]),l=((function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var l=b(s);if(l&&l.has(n))return l.get(n);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var x=t?Object.getOwnPropertyDescriptor(n,c):null;x&&(x.get||x.set)?Object.defineProperty(o,c,x):o[c]=n[c]}o.default=n,l&&l.set(n,o)})(r(d[2])),r(d[3])),o=n(r(d[4])),t=r(d[5]),c=r(d[6]),x=r(d[7]),j=r(d[8]),u=r(d[9]),h=r(d[10]),p=r(d[11]);function b(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,l=new WeakMap;return(b=function(n){return n?l:s})(n)}function f(n){var l=n.icon,o=n.label,t=n.onPress;return(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",onPress:t,children:(0,p.jsxs)(s.View,{padding:"small",rounded:"large",bg:"default",children:[(0,p.jsx)(s.View,{align:"centered",children:l}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,p.jsx)(s.Text,{size:"small",align:"center",children:o})]})})}function w(n){var l=n.label,o=n.icon,t=n.description,c=void 0===t?'':t,x=n.onPress,j=n.disabled;return(0,p.jsxs)(s.Button.FadeOnPressContainer,{onPress:x,bg:"default",disabled:j,children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",bg:"default",style:{opacity:j?.75:1},children:[o&&(0,p.jsx)(s.View,{width:"large",height:"large",children:o}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:l})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(c)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-s.scale[3]}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:c})}),(0,p.jsx)(s.View,{width:"16"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function V(n){var o=n.label,t=n.description,c=void 0===t?'':t,x=n.icon,j=n.isEnabled,u=n.setIsEnabled,h=n.disabled,b=n.testID;return(0,p.jsxs)(s.View,{style:{opacity:h?.75:1},pointerEvents:h?'none':'auto',children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",children:[(0,p.jsx)(s.View,{width:"large",height:"large",children:x}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:o})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'},children:(0,p.jsx)(l.Switch,{testID:b,disabled:h,value:j&&!h,onValueChange:function(){return u(!j)}})})]}),Boolean(c)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-8}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:c})}),(0,p.jsx)(s.View,{style:{width:s.scale[16]}})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function v(n){var l=n.title,o=n.value;return(0,p.jsxs)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,p.jsx)(s.Text,{size:"medium",children:l}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.Text,{children:o})]})}}),875,[5,434,95,1,876,851,923,852,853,854,924,203]);
|
|
881
|
+
__d((function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Main=function(n){var i,b=n.registeredCallbacks,f=void 0===b?[]:b,z=n.isDevice,S=(0,c.useAppInfo)(),P=(0,j.useDevSettings)(),D=P.devSettings,O=P.actions,I=(0,x.useClipboard)(),R=(0,x.useClipboard)();var T=Boolean(R.clipboardContent),H=D.isElementInspectorAvailable,k=D.isHotLoadingAvailable,B=D.isPerfMonitorAvailable,C=D.isRemoteDebuggingAvailable,F=[H,k,B,C].filter((function(n){return!1===n})).length>0;return(0,p.jsxs)(s.View,{flex:"1",bg:"secondary",children:[(0,p.jsx)(s.View,{py:"medium",bg:"default",children:(0,p.jsxs)(s.Row,{align:"start",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsxs)(s.Row,{align:"center",shrink:"1",children:[(0,p.jsx)(s.View,{children:(0,p.jsx)(s.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(S.appIcon)&&(0,p.jsx)(s.Image,{source:{uri:S.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.View,{shrink:"1",children:[(0,p.jsx)(s.Row,{style:{flexWrap:'wrap'},children:(0,p.jsx)(s.Heading,{weight:"bold",numberOfLines:1,children:S.appName})}),Boolean(S.runtimeVersion)&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`Runtime version: ${S.runtimeVersion}`})}),Boolean(S.sdkVersion)&&!S.runtimeVersion&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`SDK version: ${S.sdkVersion}`})})]}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,p.jsx)(s.Button.FadeOnPressContainer,{onPress:h.hideMenu,bg:"ghost",rounded:"full",children:(0,p.jsx)(s.View,{padding:"micro",children:(0,p.jsx)(s.XIcon,{})})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]})}),(0,p.jsx)(s.Divider,{}),(0,p.jsxs)(s.View,{style:{flex:1},children:[(0,p.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(S.hostUrl)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s.View,{bg:"default",padding:"medium",children:[(0,p.jsx)(s.Text,{color:"secondary",children:"Connected to:"}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",onPress:function(){var n=S.hostUrl;I.onCopyPress(n)},testID:"main.copyUrlButton",children:(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.Row,{flex:"1",justify:"between",children:[(0,p.jsx)(s.Text,{type:"mono",numberOfLines:2,size:"small",children:S.hostUrl}),(0,p.jsx)(s.ClipboardIcon,{})]}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})})]}),(0,p.jsx)(s.Divider,{})]}),f.length>0&&(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{mx:"large",children:(0,p.jsx)(s.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{mx:"small",children:f.map((function(n,i,l){var t=0===i,o=i===l.length-1;return(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:t?'large':'none',roundedBottom:o?'large':'none',children:(0,p.jsx)(V,{label:n,icon:null,onPress:function(){return(0,h.fireCallbackAsync)(n)}})}),!o&&(0,p.jsx)(s.Divider,{})]},n+i)}))}),(0,p.jsx)(s.Spacer.Vertical,{size:"medium"})]}),(0,p.jsxs)(s.View,{margin:"small",children:[(0,p.jsx)(s.View,w(w({},u.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,p.jsx)(V,{label:"Reload",icon:(0,p.jsx)(s.RefreshIcon,{}),onPress:O.reload})})),u.isDevLauncherInstalled&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{roundedBottom:"large",bg:"default",children:(0,p.jsx)(V,{label:"Go home",icon:(0,p.jsx)(s.HomeFilledIcon,{}),onPress:O.navigateToLauncher})})]})]}),(0,p.jsxs)(s.View,{mx:"small",children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:"large",children:(0,p.jsx)(V,{disabled:!D.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,p.jsx)(s.PerformanceIcon,{}),onPress:O.togglePerformanceMonitor})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:!D.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,p.jsx)(s.InspectElementIcon,{}),onPress:O.toggleElementInspector})}),(0,p.jsx)(s.Divider,{}),D.isJSInspectorAvailable?(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:!D.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),onPress:O.openJSInspector})}):(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(v,{disabled:null==S||!S.sdkVersion||!t.default.lt(S.sdkVersion,'49.0.0')||!D.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),isEnabled:D.isDebuggingRemotely,setIsEnabled:O.toggleDebugRemoteJS,description:null==S||!S.sdkVersion||t.default.lt(S.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(i=null==S?void 0:S.engine)?i:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",roundedBottom:"large",children:(0,p.jsx)(v,{disabled:!D.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,p.jsx)(s.RunIcon,{}),isEnabled:D.isHotLoadingEnabled,setIsEnabled:O.toggleFastRefresh})})]}),'Hermes'===S.engine&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",children:(0,p.jsxs)(s.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.WarningIcon,{}),(0,p.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,p.jsx)(s.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!F&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsxs)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,p.jsx)(y,{title:"Version",value:S.appVersion}),(0,p.jsx)(s.Divider,{}),Boolean(S.runtimeVersion)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{title:"Runtime version",value:S.runtimeVersion}),(0,p.jsx)(s.Divider,{})]}),Boolean(S.sdkVersion)&&!S.runtimeVersion&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{title:"SDK Version",value:S.sdkVersion}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var n=S.runtimeVersion,i=S.sdkVersion,s=S.appName,l=S.appVersion;R.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:s,appVersion:l})},disabled:T,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{color:"link",size:"medium",children:T?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:O.openRNDevMenu,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{children:"Open React Native dev menu"})})})}),'android'===l.Platform.OS&&(0,p.jsx)(s.View,{style:{height:50}}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"})]}),(0,p.jsx)(o.Onboarding,{isDevice:z})]})]})};var i=n(r(d[1])),s=r(d[2]),l=((function(n,i){if(!i&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=b(i);if(s&&s.has(n))return s.get(n);var l={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var c=t?Object.getOwnPropertyDescriptor(n,o):null;c&&(c.get||c.set)?Object.defineProperty(l,o,c):l[o]=n[o]}l.default=n,s&&s.set(n,l)})(r(d[3])),r(d[4])),t=n(r(d[5])),o=r(d[6]),c=r(d[7]),x=r(d[8]),j=r(d[9]),u=r(d[10]),h=r(d[11]),p=r(d[12]);function b(n){if("function"!=typeof WeakMap)return null;var i=new WeakMap,s=new WeakMap;return(b=function(n){return n?s:i})(n)}function f(n,i){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);i&&(l=l.filter((function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),s.push.apply(s,l)}return s}function w(n){for(var s=1;s<arguments.length;s++){var l=null!=arguments[s]?arguments[s]:{};s%2?f(Object(l),!0).forEach((function(s){(0,i.default)(n,s,l[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(l)):f(Object(l)).forEach((function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(l,i))}))}return n}function V(n){var i=n.label,l=n.icon,t=n.description,o=void 0===t?'':t,c=n.onPress,x=n.disabled;return(0,p.jsxs)(s.Button.FadeOnPressContainer,{onPress:c,bg:"default",disabled:x,children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",bg:"default",style:{opacity:x?.75:1},children:[l&&(0,p.jsx)(s.View,{width:"large",height:"large",children:l}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:i})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(o)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-s.scale[3]}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:o})}),(0,p.jsx)(s.View,{width:"16"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function v(n){var i=n.label,t=n.description,o=void 0===t?'':t,c=n.icon,x=n.isEnabled,j=n.setIsEnabled,u=n.disabled,h=n.testID;return(0,p.jsxs)(s.View,{style:{opacity:u?.75:1},pointerEvents:u?'none':'auto',children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",children:[(0,p.jsx)(s.View,{width:"large",height:"large",children:c}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:i})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'},children:(0,p.jsx)(l.Switch,{testID:h,disabled:u,value:x&&!u,onValueChange:function(){return j(!x)}})})]}),Boolean(o)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-8}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:o})}),(0,p.jsx)(s.View,{style:{width:s.scale[16]}})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function y(n){var i=n.title,l=n.value;return(0,p.jsxs)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,p.jsx)(s.Text,{size:"medium",children:i}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.Text,{children:l})]})}}),875,[5,30,434,95,1,876,923,851,924,852,853,854,203]);
|
|
882
882
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),p=r(d[5]),E=r(d[6]),S=r(d[7]),f=r(d[8]),l=r(d[9]),R=r(d[10]),_=r(d[11]),I=r(d[12]),V=r(d[13]),u=r(d[14]),C=r(d[15]),P=r(d[16]),v=r(d[17]),y=r(d[18]),L=r(d[19]),q=r(d[20]),x=r(d[21]),A=r(d[22]),M=r(d[23]),N=r(d[24]),O=r(d[25]),T=r(d[26]),Y=r(d[27]),b=r(d[28]),h=r(d[29]),j=r(d[30]),k=r(d[31]),B=r(d[32]),w=r(d[33]),z=r(d[34]),D=r(d[35]),F=r(d[36]),G=r(d[37]),H=r(d[38]),J=r(d[39]),K=r(d[40]);m.exports={parse:c,valid:p,clean:E,inc:S,diff:f,major:l,minor:R,patch:_,prerelease:I,compare:V,rcompare:u,compareLoose:C,compareBuild:P,sort:v,rsort:y,gt:L,lt:q,eq:x,neq:A,gte:M,lte:N,cmp:O,coerce:T,Comparator:Y,Range:b,satisfies:h,toComparators:j,maxSatisfying:k,minSatisfying:B,minVersion:w,validRange:z,outside:D,gtr:F,ltr:G,intersects:H,simplifyRange:J,subset:K,SemVer:o,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers}}),876,[877,878,880,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,911,912,913,914,915,916,917,918,919,920,921,922]);
|
|
883
|
-
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=r(d[2])
|
|
883
|
+
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=I.MAX_LENGTH,O=r(d[2]),$=(e=m.exports={}).re=[],A=e.safeRe=[],T=e.src=[],S=e.t={},D=0,P='[a-zA-Z0-9-]',F=[['\\s',1],['\\d',L],[P,N]],G=function(I){for(var R of F){var N=E(R,2),L=N[0],O=N[1];I=I.split(`${L}*`).join(`${L}{0,${O}}`).split(`${L}+`).join(`${L}{1,${O}}`)}return I},s=function(E,I,R){var N=G(I),L=D++;O(E,L,I),S[E]=L,T[L]=I,$[L]=new RegExp(I,R?'g':void 0),A[L]=new RegExp(N,R?'g':void 0)};s('NUMERICIDENTIFIER','0|[1-9]\\d*'),s('NUMERICIDENTIFIERLOOSE','\\d+'),s('NONNUMERICIDENTIFIER',`\\d*[a-zA-Z-]${P}*`),s('MAINVERSION',`(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})`),s('MAINVERSIONLOOSE',`(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})`),s('PRERELEASEIDENTIFIER',`(?:${T[S.NUMERICIDENTIFIER]}|${T[S.NONNUMERICIDENTIFIER]})`),s('PRERELEASEIDENTIFIERLOOSE',`(?:${T[S.NUMERICIDENTIFIERLOOSE]}|${T[S.NONNUMERICIDENTIFIER]})`),s('PRERELEASE',`(?:-(${T[S.PRERELEASEIDENTIFIER]}(?:\\.${T[S.PRERELEASEIDENTIFIER]})*))`),s('PRERELEASELOOSE',`(?:-?(${T[S.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[S.PRERELEASEIDENTIFIERLOOSE]})*))`),s('BUILDIDENTIFIER',`${P}+`),s('BUILD',`(?:\\+(${T[S.BUILDIDENTIFIER]}(?:\\.${T[S.BUILDIDENTIFIER]})*))`),s('FULLPLAIN',`v?${T[S.MAINVERSION]}${T[S.PRERELEASE]}?${T[S.BUILD]}?`),s('FULL',`^${T[S.FULLPLAIN]}$`),s('LOOSEPLAIN',`[v=\\s]*${T[S.MAINVERSIONLOOSE]}${T[S.PRERELEASELOOSE]}?${T[S.BUILD]}?`),s('LOOSE',`^${T[S.LOOSEPLAIN]}$`),s('GTLT','((?:<|>)?=?)'),s('XRANGEIDENTIFIERLOOSE',`${T[S.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),s('XRANGEIDENTIFIER',`${T[S.NUMERICIDENTIFIER]}|x|X|\\*`),s('XRANGEPLAIN',`[v=\\s]*(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:${T[S.PRERELEASE]})?${T[S.BUILD]}?)?)?`),s('XRANGEPLAINLOOSE',`[v=\\s]*(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:${T[S.PRERELEASELOOSE]})?${T[S.BUILD]}?)?)?`),s('XRANGE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAIN]}$`),s('XRANGELOOSE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAINLOOSE]}$`),s('COERCE',`(^|[^\\d])(\\d{1,${R}})(?:\\.(\\d{1,${R}}))?(?:\\.(\\d{1,${R}}))?(?:$|[^\\d])`),s('COERCERTL',T[S.COERCE],!0),s('LONETILDE','(?:~>?)'),s('TILDETRIM',`(\\s*)${T[S.LONETILDE]}\\s+`,!0),e.tildeTrimReplace='$1~',s('TILDE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAIN]}$`),s('TILDELOOSE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAINLOOSE]}$`),s('LONECARET','(?:\\^)'),s('CARETTRIM',`(\\s*)${T[S.LONECARET]}\\s+`,!0),e.caretTrimReplace='$1^',s('CARET',`^${T[S.LONECARET]}${T[S.XRANGEPLAIN]}$`),s('CARETLOOSE',`^${T[S.LONECARET]}${T[S.XRANGEPLAINLOOSE]}$`),s('COMPARATORLOOSE',`^${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]})$|^$`),s('COMPARATOR',`^${T[S.GTLT]}\\s*(${T[S.FULLPLAIN]})$|^$`),s('COMPARATORTRIM',`(\\s*)${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]}|${T[S.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace='$1$2$3',s('HYPHENRANGE',`^\\s*(${T[S.XRANGEPLAIN]})\\s+-\\s+(${T[S.XRANGEPLAIN]})\\s*$`),s('HYPHENRANGELOOSE',`^\\s*(${T[S.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[S.XRANGEPLAINLOOSE]})\\s*$`),s('STAR','(<|>)?=?\\s*\\*'),s('GTE0','^\\s*>=\\s*0\\.0\\.0\\s*$'),s('GTE0PRE','^\\s*>=\\s*0\\.0\\.0-0\\s*$')}),877,[46,878,879]);
|
|
884
884
|
__d((function(g,r,i,a,m,e,d){var E=Number.MAX_SAFE_INTEGER||9007199254740991;m.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:E,RELEASE_TYPES:['major','premajor','minor','preminor','patch','prepatch','prerelease'],SEMVER_SPEC_VERSION:'2.0.0',FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),878,[]);
|
|
885
885
|
__d((function(g,r,i,a,m,e,d){var o='object'==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){for(var o,n=arguments.length,s=new Array(n),c=0;c<n;c++)s[c]=arguments[c];return(o=console).error.apply(o,['SEMVER'].concat(s))}:function(){};m.exports=o}),879,[]);
|
|
886
886
|
__d((function(g,r,_i,_a,_m,e,d){var i=r(d[0]),t=r(d[1]),s=r(d[2]),n=r(d[3]),a=n.MAX_LENGTH,h=n.MAX_SAFE_INTEGER,o=r(d[4]),l=o.safeRe,p=o.t,c=r(d[5]),u=r(d[6]).compareIdentifiers,f=(function(){"use strict";function n(t,o){if(i(this,n),o=c(o),t instanceof n){if(t.loose===!!o.loose&&t.includePrerelease===!!o.includePrerelease)return t;t=t.version}else if('string'!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>a)throw new TypeError(`version is longer than ${a} characters`);s('SemVer',t,o),this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease;var u=t.trim().match(o.loose?l[p.LOOSE]:l[p.FULL]);if(!u)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>h||this.major<0)throw new TypeError('Invalid major version');if(this.minor>h||this.minor<0)throw new TypeError('Invalid minor version');if(this.patch>h||this.patch<0)throw new TypeError('Invalid patch version');u[4]?this.prerelease=u[4].split('.').map((function(i){if(/^[0-9]+$/.test(i)){var t=+i;if(t>=0&&t<h)return t}return i})):this.prerelease=[],this.build=u[5]?u[5].split('.'):[],this.format()}return t(n,[{key:"format",value:function(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join('.')}`),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(i){if(s('SemVer.compare',this.version,this.options,i),!(i instanceof n)){if('string'==typeof i&&i===this.version)return 0;i=new n(i,this.options)}return i.version===this.version?0:this.compareMain(i)||this.comparePre(i)}},{key:"compareMain",value:function(i){return i instanceof n||(i=new n(i,this.options)),u(this.major,i.major)||u(this.minor,i.minor)||u(this.patch,i.patch)}},{key:"comparePre",value:function(i){if(i instanceof n||(i=new n(i,this.options)),this.prerelease.length&&!i.prerelease.length)return-1;if(!this.prerelease.length&&i.prerelease.length)return 1;if(!this.prerelease.length&&!i.prerelease.length)return 0;var t=0;do{var a=this.prerelease[t],h=i.prerelease[t];if(s('prerelease compare',t,a,h),void 0===a&&void 0===h)return 0;if(void 0===h)return 1;if(void 0===a)return-1;if(a!==h)return u(a,h)}while(++t)}},{key:"compareBuild",value:function(i){i instanceof n||(i=new n(i,this.options));var t=0;do{var a=this.build[t],h=i.build[t];if(s('prerelease compare',t,a,h),void 0===a&&void 0===h)return 0;if(void 0===h)return 1;if(void 0===a)return-1;if(a!==h)return u(a,h)}while(++t)}},{key:"inc",value:function(i,t,s){switch(i){case'premajor':this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc('pre',t,s);break;case'preminor':this.prerelease.length=0,this.patch=0,this.minor++,this.inc('pre',t,s);break;case'prepatch':this.prerelease.length=0,this.inc('patch',t,s),this.inc('pre',t,s);break;case'prerelease':0===this.prerelease.length&&this.inc('patch',t,s),this.inc('pre',t,s);break;case'major':0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case'minor':0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case'patch':0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case'pre':var n=Number(s)?1:0;if(!t&&!1===s)throw new Error('invalid increment argument: identifier is empty');if(0===this.prerelease.length)this.prerelease=[n];else{for(var a=this.prerelease.length;--a>=0;)'number'==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join('.')&&!1===s)throw new Error('invalid increment argument: identifier already exists');this.prerelease.push(n)}}if(t){var h=[t,n];!1===s&&(h=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=h):this.prerelease=h}break;default:throw new Error(`invalid increment argument: ${i}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join('.')}`),this}}]),n})();_m.exports=f}),880,[14,15,879,878,877,881,882]);
|
|
@@ -910,7 +910,7 @@ __d((function(g,r,i,_a,m,e,d){var n=r(d[0]);m.exports=function(t,o,u){return n(t
|
|
|
910
910
|
__d((function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),c=r(d[3]),s=r(d[4]),a=r(d[5]);m.exports=function(u,f,p,v){switch(f){case'===':return'object'==typeof u&&(u=u.version),'object'==typeof p&&(p=p.version),u===p;case'!==':return'object'==typeof u&&(u=u.version),'object'==typeof p&&(p=p.version),u!==p;case'':case'=':case'==':return t(u,p,v);case'!=':return o(u,p,v);case'>':return n(u,p,v);case'>=':return c(u,p,v);case'<':return s(u,p,v);case'<=':return a(u,p,v);default:throw new TypeError(`Invalid operator: ${f}`)}}}),904,[900,901,898,902,899,903]);
|
|
911
911
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),l=r(d[2]),f=l.safeRe,u=l.t;m.exports=function(l,x){if(l instanceof n)return l;if('number'==typeof l&&(l=String(l)),'string'!=typeof l)return null;var C=null;if((x=x||{}).rtl){for(var E;(E=f[u.COERCERTL].exec(l))&&(!C||C.index+C[0].length!==l.length);)C&&E.index+E[0].length===C.index+C[0].length||(C=E),f[u.COERCERTL].lastIndex=E.index+E[1].length+E[2].length;f[u.COERCERTL].lastIndex=-1}else C=l.match(f[u.COERCE]);return null===C?null:t(`${C[2]}.${C[3]||'0'}.${C[4]||'0'}`,x)}}),905,[880,883,877]);
|
|
912
912
|
__d((function(g,_r,i,a,_m,e,d){var t=_r(d[0]),r=_r(d[1]),s=Symbol('SemVer ANY'),o=(function(){"use strict";function o(r,n){if(t(this,o),n=h(n),r instanceof o){if(r.loose===!!n.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(' '),l('comparator',r,n),this.options=n,this.loose=!!n.loose,this.parse(r),this.semver===s?this.value='':this.value=this.operator+this.semver.version,l('comp',this)}return r(o,[{key:"parse",value:function(t){var r=this.options.loose?u[v.COMPARATORLOOSE]:u[v.COMPARATOR],o=t.match(r);if(!o)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==o[1]?o[1]:'','='===this.operator&&(this.operator=''),o[2]?this.semver=new c(o[2],this.options.loose):this.semver=s}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(t){if(l('Comparator.test',t,this.options.loose),this.semver===s||t===s)return!0;if('string'==typeof t)try{t=new c(t,this.options)}catch(t){return!1}return p(t,this.operator,this.semver,this.options)}},{key:"intersects",value:function(t,r){if(!(t instanceof o))throw new TypeError('a Comparator is required');return''===this.operator?''===this.value||new m(t.value,r).test(this.value):''===t.operator?''===t.value||new m(this.value,r).test(t.semver):(!(r=h(r)).includePrerelease||'<0.0.0-0'!==this.value&&'<0.0.0-0'!==t.value)&&(!(!r.includePrerelease&&(this.value.startsWith('<0.0.0')||t.value.startsWith('<0.0.0')))&&(!(!this.operator.startsWith('>')||!t.operator.startsWith('>'))||(!(!this.operator.startsWith('<')||!t.operator.startsWith('<'))||(!(this.semver.version!==t.semver.version||!this.operator.includes('=')||!t.operator.includes('='))||(!!(p(this.semver,'<',t.semver,r)&&this.operator.startsWith('>')&&t.operator.startsWith('<'))||!!(p(this.semver,'>',t.semver,r)&&this.operator.startsWith('<')&&t.operator.startsWith('>')))))))}}],[{key:"ANY",get:function(){return s}}]),o})();_m.exports=o;var h=_r(d[2]),n=_r(d[3]),u=n.safeRe,v=n.t,p=_r(d[4]),l=_r(d[5]),c=_r(d[6]),m=_r(d[7])}),906,[14,15,881,877,904,879,880,907]);
|
|
913
|
-
__d((function(g,_r,_i2,a,_m,e,d){var r=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=(function(){"use strict";function i(r,n){var s=this;if(t(this,i),n=o(n),r instanceof i)return r.loose===!!n.loose&&r.includePrerelease===!!n.includePrerelease?r:new i(r.raw,n);if(r instanceof u)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=r.trim().split(/\s+/).join(' '),this.set=this.raw.split('||').map((function(r){return s.parseRange(r)})).filter((function(r){return r.length})),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){var $=this.set[0];if(this.set=this.set.filter((function(r){return!A(r[0])})),0===this.set.length)this.set=[$];else if(this.set.length>1)for(var l of this.set)if(1===l.length&&O(l[0])){this.set=[l];break}}this.format()}return n(i,[{key:"format",value:function(){return this.range=this.set.map((function(r){return r.join(' ').trim()})).join('||').trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var n=this,i=((this.options.includePrerelease&&R)|(this.options.loose&&T))+':'+t,o=s.get(i);if(o)return o;var l=this.options.loose,c=l?f[p.HYPHENRANGELOOSE]:f[p.HYPHENRANGE];t=t.replace(c,x(this.options.includePrerelease)),$('hyphen replace',t),t=t.replace(f[p.COMPARATORTRIM],h),$('comparator trim',t),t=t.replace(f[p.TILDETRIM],m),$('tilde trim',t),t=t.replace(f[p.CARETTRIM],v),$('caret trim',t);var E=t.split(' ').map((function(r){return w(r,n.options)})).join(' ').split(/\s+/).map((function(r){return k(r,n.options)}));l&&(E=E.filter((function(r){return $('loose invalid filter',r,n.options),!!r.match(f[p.COMPARATORLOOSE])}))),$('range list',E);var O=new Map,P=E.map((function(r){return new u(r,n.options)}));for(var L of P){if(A(L))return[L];O.set(L.value,L)}O.size>1&&O.has('')&&O.delete('');var y=r(O.values());return s.set(i,y),y}},{key:"intersects",value:function(r,t){if(!(r instanceof i))throw new TypeError('a Range is required');return this.set.some((function(n){return P(n,t)&&r.set.some((function(r){return P(r,t)&&n.every((function(n){return r.every((function(r){return n.intersects(r,t)}))}))}))}))}},{key:"test",value:function(r){if(!r)return!1;if('string'==typeof r)try{r=new l(r,this.options)}catch(r){return!1}for(var t=0;t<this.set.length;t++)if(M(this.set[t],r,this.options))return!0;return!1}}]),i})();_m.exports=i;var s=new(_r(d[3]))({max:1e3}),o=_r(d[4]),u=_r(d[5]),$=_r(d[6]),l=_r(d[7]),c=_r(d[8]),f=c.safeRe,p=c.t,h=c.comparatorTrimReplace,m=c.tildeTrimReplace,v=c.caretTrimReplace,E=_r(d[9]),R=E.FLAG_INCLUDE_PRERELEASE,T=E.FLAG_LOOSE,A=function(r){return'<0.0.0-0'===r.value},O=function(r){return''===r.value},P=function(r,t){for(var n=!0,i=r.slice(),s=i.pop();n&&i.length;)n=i.every((function(r){return s.intersects(r,t)})),s=i.pop();return n},w=function(r,t){return $('comp',r,t),r=j(r,t),$('caret',r),r=y(r,t),$('tildes',r),r=C(r,t),$('xrange',r),r=N(r,t),$('stars',r),r},L=function(r){return!r||'x'===r.toLowerCase()||'*'===r},y=function(r,t){return r.trim().split(/\s+/).map((function(r){return S(r,t)})).join(' ')},S=function(r,t){var n=t.loose?f[p.TILDELOOSE]:f[p.TILDE];return r.replace(n,(function(t,n,i,s,o){var u;return $('tilde',r,t,n,i,s,o),L(n)?u='':L(i)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:L(s)?u=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:o?($('replaceTilde pr',o),u=`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`):u=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`,$('tilde return',u),u}))},j=function(r,t){return r.trim().split(/\s+/).map((function(r){return G(r,t)})).join(' ')},G=function(r,t){$('caret',r,t);var n=t.loose?f[p.CARETLOOSE]:f[p.CARET],i=t.includePrerelease?'-0':'';return r.replace(n,(function(t,n,s,o,u){var l;return $('caret',r,t,n,s,o,u),L(n)?l='':L(s)?l=`>=${n}.0.0${i} <${+n+1}.0.0-0`:L(o)?l='0'===n?`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${i} <${+n+1}.0.0-0`:u?($('replaceCaret pr',u),l='0'===n?'0'===s?`>=${n}.${s}.${o}-${u} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}-${u} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o}-${u} <${+n+1}.0.0-0`):($('no pr'),l='0'===n?'0'===s?`>=${n}.${s}.${o}${i} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o} <${+n+1}.0.0-0`),$('caret return',l),l}))},C=function(r,t){return $('replaceXRanges',r,t),r.split(/\s+/).map((function(r){return I(r,t)})).join(' ')},I=function(r,t){r=r.trim();var n=t.loose?f[p.XRANGELOOSE]:f[p.XRANGE];return r.replace(n,(function(n,i,s,o,u,l){$('xRange',r,n,i,s,o,u,l);var c=L(s),f=c||L(o),p=f||L(u),h=p;return'='===i&&h&&(i=''),l=t.includePrerelease?'-0':'',c?n='>'===i||'<'===i?'<0.0.0-0':'*':i&&h?(f&&(o=0),u=0,'>'===i?(i='>=',f?(s=+s+1,o=0,u=0):(o=+o+1,u=0)):'<='===i&&(i='<',f?s=+s+1:o=+o+1),'<'===i&&(l='-0'),n=`${i+s}.${o}.${u}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(n=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),$('xRange return',n),n}))},N=function(r,t){return $('replaceStars',r,t),r.trim().replace(f[p.STAR],'')},k=function(r,t){return $('replaceGTE0',r,t),r.trim().replace(f[t.includePrerelease?p.GTE0PRE:p.GTE0],'')},x=function(r){return function(t,n,i,s,o,u,$,l,c,f,p,h,m){return`${n=L(i)?'':L(s)?`>=${i}.0.0${r?'-0':''}`:L(o)?`>=${i}.${s}.0${r?'-0':''}`:u?`>=${n}`:`>=${n}${r?'-0':''}`} ${l=L(c)?'':L(f)?`<${+c+1}.0.0-0`:L(p)?`<${c}.${+f+1}.0-0`:h?`<=${c}.${f}.${p}-${h}`:r?`<${c}.${f}.${+p+1}-0`:`<=${l}`}`.trim()}},M=function(r,t,n){for(var i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(var s=0;s<r.length;s++)if($(r[s].semver),r[s].semver!==u.ANY&&r[s].semver.prerelease.length>0){var o=r[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}}),907,[8,14,15,908,881,906,879,880,877,878]);
|
|
913
|
+
__d((function(g,_r,_i2,a,_m,e,d){var r=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=(function(){"use strict";function i(r,n){var s=this;if(t(this,i),n=o(n),r instanceof i)return r.loose===!!n.loose&&r.includePrerelease===!!n.includePrerelease?r:new i(r.raw,n);if(r instanceof u)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=r.trim().split(/\s+/).join(' '),this.set=this.raw.split('||').map((function(r){return s.parseRange(r.trim())})).filter((function(r){return r.length})),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){var $=this.set[0];if(this.set=this.set.filter((function(r){return!A(r[0])})),0===this.set.length)this.set=[$];else if(this.set.length>1)for(var l of this.set)if(1===l.length&&O(l[0])){this.set=[l];break}}this.format()}return n(i,[{key:"format",value:function(){return this.range=this.set.map((function(r){return r.join(' ').trim()})).join('||').trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var n=this,i=((this.options.includePrerelease&&R)|(this.options.loose&&T))+':'+t,o=s.get(i);if(o)return o;var l=this.options.loose,c=l?f[p.HYPHENRANGELOOSE]:f[p.HYPHENRANGE];t=t.replace(c,x(this.options.includePrerelease)),$('hyphen replace',t),t=t.replace(f[p.COMPARATORTRIM],h),$('comparator trim',t),t=t.replace(f[p.TILDETRIM],m),$('tilde trim',t),t=t.replace(f[p.CARETTRIM],v),$('caret trim',t);var E=t.split(' ').map((function(r){return w(r,n.options)})).join(' ').split(/\s+/).map((function(r){return k(r,n.options)}));l&&(E=E.filter((function(r){return $('loose invalid filter',r,n.options),!!r.match(f[p.COMPARATORLOOSE])}))),$('range list',E);var O=new Map,P=E.map((function(r){return new u(r,n.options)}));for(var L of P){if(A(L))return[L];O.set(L.value,L)}O.size>1&&O.has('')&&O.delete('');var y=r(O.values());return s.set(i,y),y}},{key:"intersects",value:function(r,t){if(!(r instanceof i))throw new TypeError('a Range is required');return this.set.some((function(n){return P(n,t)&&r.set.some((function(r){return P(r,t)&&n.every((function(n){return r.every((function(r){return n.intersects(r,t)}))}))}))}))}},{key:"test",value:function(r){if(!r)return!1;if('string'==typeof r)try{r=new l(r,this.options)}catch(r){return!1}for(var t=0;t<this.set.length;t++)if(M(this.set[t],r,this.options))return!0;return!1}}]),i})();_m.exports=i;var s=new(_r(d[3]))({max:1e3}),o=_r(d[4]),u=_r(d[5]),$=_r(d[6]),l=_r(d[7]),c=_r(d[8]),f=c.safeRe,p=c.t,h=c.comparatorTrimReplace,m=c.tildeTrimReplace,v=c.caretTrimReplace,E=_r(d[9]),R=E.FLAG_INCLUDE_PRERELEASE,T=E.FLAG_LOOSE,A=function(r){return'<0.0.0-0'===r.value},O=function(r){return''===r.value},P=function(r,t){for(var n=!0,i=r.slice(),s=i.pop();n&&i.length;)n=i.every((function(r){return s.intersects(r,t)})),s=i.pop();return n},w=function(r,t){return $('comp',r,t),r=j(r,t),$('caret',r),r=y(r,t),$('tildes',r),r=C(r,t),$('xrange',r),r=N(r,t),$('stars',r),r},L=function(r){return!r||'x'===r.toLowerCase()||'*'===r},y=function(r,t){return r.trim().split(/\s+/).map((function(r){return S(r,t)})).join(' ')},S=function(r,t){var n=t.loose?f[p.TILDELOOSE]:f[p.TILDE];return r.replace(n,(function(t,n,i,s,o){var u;return $('tilde',r,t,n,i,s,o),L(n)?u='':L(i)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:L(s)?u=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:o?($('replaceTilde pr',o),u=`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`):u=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`,$('tilde return',u),u}))},j=function(r,t){return r.trim().split(/\s+/).map((function(r){return G(r,t)})).join(' ')},G=function(r,t){$('caret',r,t);var n=t.loose?f[p.CARETLOOSE]:f[p.CARET],i=t.includePrerelease?'-0':'';return r.replace(n,(function(t,n,s,o,u){var l;return $('caret',r,t,n,s,o,u),L(n)?l='':L(s)?l=`>=${n}.0.0${i} <${+n+1}.0.0-0`:L(o)?l='0'===n?`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${i} <${+n+1}.0.0-0`:u?($('replaceCaret pr',u),l='0'===n?'0'===s?`>=${n}.${s}.${o}-${u} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}-${u} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o}-${u} <${+n+1}.0.0-0`):($('no pr'),l='0'===n?'0'===s?`>=${n}.${s}.${o}${i} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o} <${+n+1}.0.0-0`),$('caret return',l),l}))},C=function(r,t){return $('replaceXRanges',r,t),r.split(/\s+/).map((function(r){return I(r,t)})).join(' ')},I=function(r,t){r=r.trim();var n=t.loose?f[p.XRANGELOOSE]:f[p.XRANGE];return r.replace(n,(function(n,i,s,o,u,l){$('xRange',r,n,i,s,o,u,l);var c=L(s),f=c||L(o),p=f||L(u),h=p;return'='===i&&h&&(i=''),l=t.includePrerelease?'-0':'',c?n='>'===i||'<'===i?'<0.0.0-0':'*':i&&h?(f&&(o=0),u=0,'>'===i?(i='>=',f?(s=+s+1,o=0,u=0):(o=+o+1,u=0)):'<='===i&&(i='<',f?s=+s+1:o=+o+1),'<'===i&&(l='-0'),n=`${i+s}.${o}.${u}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(n=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),$('xRange return',n),n}))},N=function(r,t){return $('replaceStars',r,t),r.trim().replace(f[p.STAR],'')},k=function(r,t){return $('replaceGTE0',r,t),r.trim().replace(f[t.includePrerelease?p.GTE0PRE:p.GTE0],'')},x=function(r){return function(t,n,i,s,o,u,$,l,c,f,p,h,m){return`${n=L(i)?'':L(s)?`>=${i}.0.0${r?'-0':''}`:L(o)?`>=${i}.${s}.0${r?'-0':''}`:u?`>=${n}`:`>=${n}${r?'-0':''}`} ${l=L(c)?'':L(f)?`<${+c+1}.0.0-0`:L(p)?`<${c}.${+f+1}.0-0`:h?`<=${c}.${f}.${p}-${h}`:r?`<${c}.${f}.${+p+1}-0`:`<=${l}`}`.trim()}},M=function(r,t,n){for(var i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(var s=0;s<r.length;s++)if($(r[s].semver),r[s].semver!==u.ANY&&r[s].semver.prerelease.length>0){var o=r[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}}),907,[8,14,15,908,881,906,879,880,877,878]);
|
|
914
914
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),s=Symbol('max'),h=Symbol('length'),o=Symbol('lengthCalculator'),l=Symbol('allowStale'),f=Symbol('maxAge'),v=Symbol('dispose'),y=Symbol('noDisposeOnSet'),c=Symbol('lruList'),k=Symbol('cache'),p=Symbol('updateAgeOnGet'),b=function(){return 1},x=(function(){function x(n){if(t(this,x),'number'==typeof n&&(n={max:n}),n||(n={}),n.max&&('number'!=typeof n.max||n.max<0))throw new TypeError('max must be a non-negative number');this[s]=n.max||1/0;var u=n.length||b;if(this[o]='function'!=typeof u?b:u,this[l]=n.stale||!1,n.maxAge&&'number'!=typeof n.maxAge)throw new TypeError('maxAge must be a number');this[f]=n.maxAge||0,this[v]=n.dispose,this[y]=n.noDisposeOnSet||!1,this[p]=n.updateAgeOnGet||!1,this.reset()}return n(x,[{key:"max",get:function(){return this[s]},set:function(t){if('number'!=typeof t||t<0)throw new TypeError('max must be a non-negative number');this[s]=t||1/0,S(this)}},{key:"allowStale",get:function(){return this[l]},set:function(t){this[l]=!!t}},{key:"maxAge",get:function(){return this[f]},set:function(t){if('number'!=typeof t)throw new TypeError('maxAge must be a non-negative number');this[f]=t,S(this)}},{key:"lengthCalculator",get:function(){return this[o]},set:function(t){var n=this;'function'!=typeof t&&(t=b),t!==this[o]&&(this[o]=t,this[h]=0,this[c].forEach((function(t){t.length=n[o](t.value,t.key),n[h]+=t.length}))),S(this)}},{key:"length",get:function(){return this[h]}},{key:"itemCount",get:function(){return this[c].length}},{key:"rforEach",value:function(t,n){n=n||this;for(var u=this[c].tail;null!==u;){var s=u.prev;T(this,t,u,n),u=s}}},{key:"forEach",value:function(t,n){n=n||this;for(var u=this[c].head;null!==u;){var s=u.next;T(this,t,u,n),u=s}}},{key:"keys",value:function(){return this[c].toArray().map((function(t){return t.key}))}},{key:"values",value:function(){return this[c].toArray().map((function(t){return t.value}))}},{key:"reset",value:function(){var t=this;this[v]&&this[c]&&this[c].length&&this[c].forEach((function(n){return t[v](n.key,n.value)})),this[k]=new Map,this[c]=new u,this[h]=0}},{key:"dump",value:function(){var t=this;return this[c].map((function(n){return!A(t,n)&&{k:n.key,v:n.value,e:n.now+(n.maxAge||0)}})).toArray().filter((function(t){return t}))}},{key:"dumpLru",value:function(){return this[c]}},{key:"set",value:function(t,n,u){if((u=u||this[f])&&'number'!=typeof u)throw new TypeError('maxAge must be a number');var l=u?Date.now():0,p=this[o](n,t);if(this[k].has(t)){if(p>this[s])return E(this,this[k].get(t)),!1;var b=this[k].get(t).value;return this[v]&&(this[y]||this[v](t,b.value)),b.now=l,b.maxAge=u,b.value=n,this[h]+=p-b.length,b.length=p,this.get(t),S(this),!0}var x=new D(t,n,p,l,u);return x.length>this[s]?(this[v]&&this[v](t,n),!1):(this[h]+=x.length,this[c].unshift(x),this[k].set(t,this[c].head),S(this),!0)}},{key:"has",value:function(t){if(!this[k].has(t))return!1;var n=this[k].get(t).value;return!A(this,n)}},{key:"get",value:function(t){return w(this,t,!0)}},{key:"peek",value:function(t){return w(this,t,!1)}},{key:"pop",value:function(){var t=this[c].tail;return t?(E(this,t),t.value):null}},{key:"del",value:function(t){E(this,this[k].get(t))}},{key:"load",value:function(t){this.reset();for(var n=Date.now(),u=t.length-1;u>=0;u--){var s=t[u],h=s.e||0;if(0===h)this.set(s.k,s.v);else{var o=h-n;o>0&&this.set(s.k,s.v,o)}}}},{key:"prune",value:function(){var t=this;this[k].forEach((function(n,u){return w(t,u,!1)}))}}]),x})(),w=function(t,n,u){var s=t[k].get(n);if(s){var h=s.value;if(A(t,h)){if(E(t,s),!t[l])return}else u&&(t[p]&&(s.value.now=Date.now()),t[c].unshiftNode(s));return h.value}},A=function(t,n){if(!n||!n.maxAge&&!t[f])return!1;var u=Date.now()-n.now;return n.maxAge?u>n.maxAge:t[f]&&u>t[f]},S=function(t){if(t[h]>t[s])for(var n=t[c].tail;t[h]>t[s]&&null!==n;){var u=n.prev;E(t,n),n=u}},E=function(t,n){if(n){var u=n.value;t[v]&&t[v](u.key,u.value),t[h]-=u.length,t[k].delete(u.key),t[c].removeNode(n)}},D=n((function n(u,s,h,o,l){t(this,n),this.key=u,this.value=s,this.length=h,this.now=o,this.maxAge=l||0})),T=function(t,n,u,s){var h=u.value;A(t,h)&&(E(t,u),t[l]||(h=void 0)),h&&n.call(s,h.value,h.key,t)};m.exports=x}),908,[14,15,909]);
|
|
915
915
|
__d((function(g,r,_i,a,m,e,d){'use strict';function t(i){var n=this;if(n instanceof t||(n=new t),n.tail=null,n.head=null,n.length=0,i&&'function'==typeof i.forEach)i.forEach((function(t){n.push(t)}));else if(arguments.length>0)for(var h=0,l=arguments.length;h<l;h++)n.push(arguments[h]);return n}function i(t,i,n){var h=i===t.head?new l(n,null,i,t):new l(n,i,i.next,t);return null===h.next&&(t.tail=h),null===h.prev&&(t.head=h),t.length++,h}function n(t,i){t.tail=new l(i,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function h(t,i){t.head=new l(i,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function l(t,i,n,h){if(!(this instanceof l))return new l(t,i,n,h);this.list=h,this.value=t,i?(i.next=this,this.prev=i):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}m.exports=t,t.Node=l,t.create=t,t.prototype.removeNode=function(t){if(t.list!==this)throw new Error('removing node which does not belong to this list');var i=t.next,n=t.prev;return i&&(i.prev=n),n&&(n.next=i),t===this.head&&(this.head=i),t===this.tail&&(this.tail=n),t.list.length--,t.next=null,t.prev=null,t.list=null,i},t.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var i=this.head;t.list=this,t.next=i,i&&(i.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},t.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var i=this.tail;t.list=this,t.prev=i,i&&(i.next=t),this.tail=t,this.head||(this.head=t),this.length++}},t.prototype.push=function(){for(var t=0,i=arguments.length;t<i;t++)n(this,arguments[t]);return this.length},t.prototype.unshift=function(){for(var t=0,i=arguments.length;t<i;t++)h(this,arguments[t]);return this.length},t.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},t.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},t.prototype.forEach=function(t,i){i=i||this;for(var n=this.head,h=0;null!==n;h++)t.call(i,n.value,h,this),n=n.next},t.prototype.forEachReverse=function(t,i){i=i||this;for(var n=this.tail,h=this.length-1;null!==n;h--)t.call(i,n.value,h,this),n=n.prev},t.prototype.get=function(t){for(var i=0,n=this.head;null!==n&&i<t;i++)n=n.next;if(i===t&&null!==n)return n.value},t.prototype.getReverse=function(t){for(var i=0,n=this.tail;null!==n&&i<t;i++)n=n.prev;if(i===t&&null!==n)return n.value},t.prototype.map=function(i,n){n=n||this;for(var h=new t,l=this.head;null!==l;)h.push(i.call(n,l.value,this)),l=l.next;return h},t.prototype.mapReverse=function(i,n){n=n||this;for(var h=new t,l=this.tail;null!==l;)h.push(i.call(n,l.value,this)),l=l.prev;return h},t.prototype.reduce=function(t,i){var n,h=this.head;if(arguments.length>1)n=i;else{if(!this.head)throw new TypeError('Reduce of empty list with no initial value');h=this.head.next,n=this.head.value}for(var l=0;null!==h;l++)n=t(n,h.value,l),h=h.next;return n},t.prototype.reduceReverse=function(t,i){var n,h=this.tail;if(arguments.length>1)n=i;else{if(!this.tail)throw new TypeError('Reduce of empty list with no initial value');h=this.tail.prev,n=this.tail.value}for(var l=this.length-1;null!==h;l--)n=t(n,h.value,l),h=h.prev;return n},t.prototype.toArray=function(){for(var t=new Array(this.length),i=0,n=this.head;null!==n;i++)t[i]=n.value,n=n.next;return t},t.prototype.toArrayReverse=function(){for(var t=new Array(this.length),i=0,n=this.tail;null!==n;i++)t[i]=n.value,n=n.prev;return t},t.prototype.slice=function(i,n){(n=n||this.length)<0&&(n+=this.length),(i=i||0)<0&&(i+=this.length);var h=new t;if(n<i||n<0)return h;i<0&&(i=0),n>this.length&&(n=this.length);for(var l=0,s=this.head;null!==s&&l<i;l++)s=s.next;for(;null!==s&&l<n;l++,s=s.next)h.push(s.value);return h},t.prototype.sliceReverse=function(i,n){(n=n||this.length)<0&&(n+=this.length),(i=i||0)<0&&(i+=this.length);var h=new t;if(n<i||n<0)return h;i<0&&(i=0),n>this.length&&(n=this.length);for(var l=this.length,s=this.tail;null!==s&&l>n;l--)s=s.prev;for(;null!==s&&l>i;l--,s=s.prev)h.push(s.value);return h},t.prototype.splice=function(t,n){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var h=0,l=this.head;null!==l&&h<t;h++)l=l.next;var s=[];for(h=0;l&&h<n;h++)s.push(l.value),l=this.removeNode(l);null===l&&(l=this.tail),l!==this.head&&l!==this.tail&&(l=l.prev);for(h=0;h<(arguments.length<=2?0:arguments.length-2);h++)l=i(this,l,h+2<2||arguments.length<=h+2?void 0:arguments[h+2]);return s},t.prototype.reverse=function(){for(var t=this.head,i=this.tail,n=t;null!==n;n=n.prev){var h=n.prev;n.prev=n.next,n.next=h}return this.head=i,this.tail=t,this};try{r(d[0])(t)}catch(t){}}),909,[910]);
|
|
916
916
|
__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(var t=this.head;t;t=t.next)yield t.value}}}),910,[]);
|
|
@@ -926,7 +926,7 @@ __d((function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t,o,u){return n(t,
|
|
|
926
926
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t,c,o){return t=new n(t,o),c=new n(c,o),t.intersects(c,o)}}),920,[907]);
|
|
927
927
|
__d((function(g,r,i,_a,m,e,d){var n=r(d[0]),u=r(d[1]),l=r(d[2]);m.exports=function(t,o,s){var a=[],h=null,p=null,f=t.sort((function(n,u){return l(n,u,s)}));for(var v of f){u(v,o,s)?(p=v,h||(h=v)):(p&&a.push([h,p]),p=null,h=null)}h&&a.push([h,null]);var $=[];for(var c of a){var w=n(c,2),_=w[0],j=w[1];_===j?$.push(_):j||_!==f[0]?j?_===f[0]?$.push(`<=${j}`):$.push(`${_} - ${j}`):$.push(`>=${_}`):$.push('*')}var x=$.join(' || '),y='string'==typeof o.raw?o.raw:String(o);return x.length<y.length?x:o}}),921,[46,911,892]);
|
|
928
928
|
__d((function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]),n=o.ANY,a=r(d[2]),s=r(d[3]),f=[new o('>=0.0.0-0')],v=[new o('>=0.0.0')],l=function(t,o,l){if(t===o)return!0;if(1===t.length&&t[0].semver===n){if(1===o.length&&o[0].semver===n)return!0;t=l.includePrerelease?f:v}if(1===o.length&&o[0].semver===n){if(l.includePrerelease)return!0;o=v}var c,h,S,w,j,P,_,x=new Set;for(var z of t)'>'===z.operator||'>='===z.operator?c=u(c,z,l):'<'===z.operator||'<='===z.operator?h=p(h,z,l):x.add(z.semver);if(x.size>1)return null;if(c&&h){if((S=s(c.semver,h.semver,l))>0)return null;if(0===S&&('>='!==c.operator||'<='!==h.operator))return null}for(var A of x){if(c&&!a(A,String(c),l))return null;if(h&&!a(A,String(h),l))return null;for(var N of o)if(!a(A,String(N),l))return!1;return!0}var Y=!(!h||l.includePrerelease||!h.semver.prerelease.length)&&h.semver,b=!(!c||l.includePrerelease||!c.semver.prerelease.length)&&c.semver;for(var k of(Y&&1===Y.prerelease.length&&'<'===h.operator&&0===Y.prerelease[0]&&(Y=!1),o)){if(_=_||'>'===k.operator||'>='===k.operator,P=P||'<'===k.operator||'<='===k.operator,c)if(b&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===b.major&&k.semver.minor===b.minor&&k.semver.patch===b.patch&&(b=!1),'>'===k.operator||'>='===k.operator){if((w=u(c,k,l))===k&&w!==c)return!1}else if('>='===c.operator&&!a(c.semver,String(k),l))return!1;if(h)if(Y&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===Y.major&&k.semver.minor===Y.minor&&k.semver.patch===Y.patch&&(Y=!1),'<'===k.operator||'<='===k.operator){if((j=p(h,k,l))===k&&j!==h)return!1}else if('<='===h.operator&&!a(h.semver,String(k),l))return!1;if(!k.operator&&(h||c)&&0!==S)return!1}return!(c&&P&&!h&&0!==S)&&(!(h&&_&&!c&&0!==S)&&(!b&&!Y))},u=function(t,o,n){if(!t)return o;var a=s(t.semver,o.semver,n);return a>0?t:a<0||'>'===o.operator&&'>='===t.operator?o:t},p=function(t,o,n){if(!t)return o;var a=s(t.semver,o.semver,n);return a<0?t:a>0||'<'===o.operator&&'<='===t.operator?o:t};m.exports=function(o,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(o===n)return!0;o=new t(o,a),n=new t(n,a);var s=!1;r:for(var f of o.set){for(var v of n.set){var u=l(f,v,a);if(s=s||null!==u,u)continue r}if(s)return!1}return!0}}),922,[907,906,911,892]);
|
|
929
|
-
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
930
|
-
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
929
|
+
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Onboarding=function(t){var h=t.isDevice,p=(0,u.useMenuPreferences)(),x=p.isOnboardingFinished,b=p.actions,j=s.useState(!x),w=(0,n.default)(j,2),v=w[0],O=w[1];if(v)return(0,c.jsx)(o.View,{style:l.StyleSheet.absoluteFill,children:(0,c.jsxs)(o.View,{flex:"1",bg:"default",py:"medium",px:"large",children:[(0,c.jsxs)(o.View,{children:[(0,c.jsx)(o.Text,{size:"medium",maxFontSizeMultiplier:1.2,children:"This is the developer menu. It gives you access to useful tools in your development builds."}),(0,c.jsx)(o.Spacer.Vertical,{size:"medium"}),(0,c.jsx)(o.Text,{size:"medium",maxFontSizeMultiplier:1.2,children:h?f:y})]}),(0,c.jsx)(o.Spacer.Vertical,{size:"large"}),(0,c.jsx)(o.Button.FadeOnPressContainer,{bg:"primary",onPress:function(){b.setOnboardingFinishedAsync(!0),O(!1)},children:(0,c.jsx)(o.View,{py:"small",children:(0,c.jsx)(o.Button.Text,{align:"center",size:"medium",color:"primary",weight:"medium",children:"Continue"})})})]})});return(0,c.jsx)(c.Fragment,{})};var n=t(r(d[1])),o=r(d[2]),s=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=h(n);if(o&&o.has(t))return o.get(t);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=l?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(s,u,c):s[u]=t[u]}s.default=t,o&&o.set(t,s);return s})(r(d[3])),l=r(d[4]),u=r(d[5]),c=r(d[6]);function h(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(h=function(t){return t?o:n})(t)}var f=l.Platform.select({ios:"You can shake your device or long press anywhere on the screen with three fingers to get back to it at any time.",android:"You can shake your device or long press anywhere on the screen with three fingers to get back to it at any time."}),y=l.Platform.select({ios:(0,c.jsxs)(o.Text,{size:"medium",children:["You can open it at any time with the ",(0,c.jsx)(o.Text,{weight:"bold",children:"\u2303 + d "})," keyboard shortcut",' ',(0,c.jsxs)(o.Text,{color:"secondary",size:"medium",children:["(\"Connect Hardware Keyboard\" must be enabled on your simulator to use this shortcut, you can toggle it with",' ',(0,c.jsx)(o.Text,{weight:"bold",color:"secondary",size:"medium",children:"\u2318 + shift + K"}),")."]})]}),android:(0,c.jsxs)(o.Text,{size:"medium",children:["You can press",' ',(0,c.jsx)(o.Text,{size:"medium",weight:"bold",children:"\u2318 + m"}),' ',"on macOS or",' ',(0,c.jsx)(o.Text,{size:"medium",weight:"bold",children:"Ctrl + m"}),' ',"on other platforms to get back to it at any time."]})})}),923,[5,46,434,95,1,872,203]);
|
|
930
|
+
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useClipboard=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,c=o.useState(''),l=(0,u.default)(c,2),p=l[0],s=l[1],y=o.useState(''),b=(0,u.default)(y,2),v=b[0],O=b[1],j=o.useRef(null);function P(t){return h.apply(this,arguments)}function h(){return(h=(0,n.default)((function*(t){var n;n='object'==typeof t?JSON.stringify(t,null,2):t,O(''),s(n),yield(0,f.copyToClipboardAsync)(n).catch((function(t){O(t.message),s('')}))}))).apply(this,arguments)}return o.useEffect((function(){return p&&(j.current=setTimeout((function(){s('')}),t)),function(){clearTimeout(j.current)}}),[p,t]),{onCopyPress:P,clipboardContent:p,clipboardError:v}};var n=t(r(d[1])),u=t(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=f?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3])),f=r(d[4]);function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}}),924,[5,323,46,95,854]);
|
|
931
931
|
__r(109);
|
|
932
932
|
__r(0);
|
|
@@ -875,9 +875,9 @@ __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",
|
|
|
875
875
|
__d((function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.MenuPreferencesProvider=function(t){var n=t.children,o=t.menuPreferences,c=void 0===o?O:o;return(0,i.jsx)(l.Provider,{value:c,children:n})},e.useMenuPreferences=function(){return p(p({},o.useContext(l)),{},{actions:{setOnboardingFinishedAsync:function(t){return c.setOnboardingFinishedAsync(t)}}})};var n=t(r(d[1])),o=f(r(d[2])),c=f(r(d[3])),i=r(d[4]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}function f(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var c={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=i?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(c,f,s):c[f]=t[f]}return c.default=t,o&&o.set(t,c),c}function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,c)}return o}function p(t){for(var o=1;o<arguments.length;o++){var c=null!=arguments[o]?arguments[o]:{};o%2?s(Object(c),!0).forEach((function(o){(0,n.default)(t,o,c[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(c)):s(Object(c)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(c,n))}))}return t}var O={isOnboardingFinished:!1},l=o.createContext(O)}),869,[5,30,95,851,205]);
|
|
876
876
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.LoadInitialData=function(t){var p=t.children,s=t.loader,y=void 0===s?(0,l.jsx)(c.Splash,{}):s,v=u.useState(!0),j=(0,n.default)(v,2),O=j[0],b=j[1];if(u.useEffect((function(){(0,f.loadFontsAsync)().then((function(){b(!1)}))}),[]),O)return y;return(0,l.jsx)(o.View,{flex:"1",children:p})};var n=t(r(d[1])),o=r(d[2]),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=f?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u);return u})(r(d[3])),f=r(d[4]),c=r(d[5]),l=r(d[6]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}}),870,[5,46,431,95,851,871,205]);
|
|
877
877
|
__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Splash=function(){return(0,n.jsx)(t.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,n.jsx)(t.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=o(n);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u)})(r(d[1])),r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(o=function(t){return t?f:n})(t)}}),871,[431,95,205]);
|
|
878
|
-
__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Main=function(n){var b,z=n.registeredCallbacks,y=void 0===z?[]:z,S=n.isDevice,I=(0,t.useAppInfo)(),P=(0,x.useDevSettings)(),D=P.devSettings,R=P.actions,H=(0,c.useClipboard)(),T=(0,c.useClipboard)();var k=Boolean(T.clipboardContent),C=D.isElementInspectorAvailable,O=D.isHotLoadingAvailable,B=D.isPerfMonitorAvailable,F=D.isRemoteDebuggingAvailable,A=[C,O,B,F].filter((function(n){return!1===n})).length>0;return(0,p.jsxs)(s.View,{flex:"1",bg:"secondary",children:[(0,p.jsx)(s.View,{py:"medium",bg:"default",children:(0,p.jsxs)(s.Row,{align:"start",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsxs)(s.Row,{align:"center",shrink:"1",children:[(0,p.jsx)(s.View,{children:(0,p.jsx)(s.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(I.appIcon)&&(0,p.jsx)(s.Image,{source:{uri:I.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.View,{shrink:"1",children:[(0,p.jsx)(s.Row,{style:{flexWrap:'wrap'},children:(0,p.jsx)(s.Heading,{weight:"bold",numberOfLines:1,children:I.appName})}),Boolean(I.runtimeVersion)&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`Runtime version: ${I.runtimeVersion}`})}),Boolean(I.sdkVersion)&&!I.runtimeVersion&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`SDK version: ${I.sdkVersion}`})})]}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,p.jsx)(s.Button.FadeOnPressContainer,{onPress:u.hideMenu,bg:"ghost",rounded:"full",children:(0,p.jsx)(s.View,{padding:"micro",children:(0,p.jsx)(s.XIcon,{})})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]})}),(0,p.jsx)(s.Divider,{}),(0,p.jsxs)(s.View,{style:{flex:1},children:[(0,p.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(I.hostUrl)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s.View,{bg:"default",padding:"medium",children:[(0,p.jsx)(s.Text,{color:"secondary",children:"Connected to:"}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(s.Text,{type:"mono",numberOfLines:2,size:"small",children:I.hostUrl})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsxs)(s.Row,{padding:"small",children:[j.isDevLauncherInstalled&&(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.HomeFilledIcon,{}),label:"Go home",onPress:R.navigateToLauncher})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.ClipboardIcon,{}),label:"Copy link",onPress:function(){var n=I.hostUrl;H.onCopyPress(n)}})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsx)(s.View,{flex:"1",children:(0,p.jsx)(f,{icon:(0,p.jsx)(s.RefreshIcon,{}),label:"Reload",onPress:R.reload})})]}),y.length>0&&(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{mx:"large",children:(0,p.jsx)(s.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{mx:"small",children:y.map((function(n,l,o){var t=0===l,c=l===o.length-1;return(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:t?'large':'none',roundedBottom:c?'large':'none',children:(0,p.jsx)(w,{label:n,icon:null,onPress:function(){return(0,u.fireCallbackAsync)(n)}})}),!c&&(0,p.jsx)(s.Divider,{})]},n+l)}))}),(0,p.jsx)(s.Spacer.Vertical,{size:"medium"})]}),(0,p.jsxs)(s.View,{mx:"small",children:[(0,p.jsx)(s.View,{roundedTop:"large",bg:"default",children:(0,p.jsx)(w,{disabled:!D.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,p.jsx)(s.PerformanceIcon,{}),onPress:R.togglePerformanceMonitor})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(w,{disabled:!D.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,p.jsx)(s.InspectElementIcon,{}),onPress:R.toggleElementInspector})}),(0,p.jsx)(s.Divider,{}),D.isJSInspectorAvailable?(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(w,{disabled:!D.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),onPress:R.openJSInspector})}):(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:null==I||!I.sdkVersion||!o.default.lt(I.sdkVersion,'49.0.0')||!D.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),isEnabled:D.isDebuggingRemotely,setIsEnabled:R.toggleDebugRemoteJS,description:null==I||!I.sdkVersion||o.default.lt(I.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(b=null==I?void 0:I.engine)?b:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",roundedBottom:"large",children:(0,p.jsx)(V,{disabled:!D.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,p.jsx)(s.RunIcon,{}),isEnabled:D.isHotLoadingEnabled,setIsEnabled:R.toggleFastRefresh})})]}),'Hermes'===I.engine&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",children:(0,p.jsxs)(s.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.WarningIcon,{}),(0,p.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,p.jsx)(s.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!A&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsxs)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,p.jsx)(v,{title:"Version",value:I.appVersion}),(0,p.jsx)(s.Divider,{}),Boolean(I.runtimeVersion)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{title:"Runtime version",value:I.runtimeVersion}),(0,p.jsx)(s.Divider,{})]}),Boolean(I.sdkVersion)&&!I.runtimeVersion&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{title:"SDK Version",value:I.sdkVersion}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var n=I.runtimeVersion,s=I.sdkVersion,l=I.appName,o=I.appVersion;T.onCopyPress({runtimeVersion:n,sdkVersion:s,appName:l,appVersion:o})},disabled:k,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{color:"link",size:"medium",children:k?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:R.openRNDevMenu,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{children:"Open React Native dev menu"})})})}),'android'===l.Platform.OS&&(0,p.jsx)(s.View,{style:{height:50}}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"})]}),(0,p.jsx)(h.Onboarding,{isDevice:S})]})]})};var s=r(d[1]),l=((function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var l=b(s);if(l&&l.has(n))return l.get(n);var o={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var x=t?Object.getOwnPropertyDescriptor(n,c):null;x&&(x.get||x.set)?Object.defineProperty(o,c,x):o[c]=n[c]}o.default=n,l&&l.set(n,o)})(r(d[2])),r(d[3])),o=n(r(d[4])),t=r(d[5]),c=r(d[6]),x=r(d[7]),j=r(d[8]),u=r(d[9]),h=r(d[10]),p=r(d[11]);function b(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,l=new WeakMap;return(b=function(n){return n?l:s})(n)}function f(n){var l=n.icon,o=n.label,t=n.onPress;return(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",onPress:t,children:(0,p.jsxs)(s.View,{padding:"small",rounded:"large",bg:"default",children:[(0,p.jsx)(s.View,{align:"centered",children:l}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,p.jsx)(s.Text,{size:"small",align:"center",children:o})]})})}function w(n){var l=n.label,o=n.icon,t=n.description,c=void 0===t?'':t,x=n.onPress,j=n.disabled;return(0,p.jsxs)(s.Button.FadeOnPressContainer,{onPress:x,bg:"default",disabled:j,children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",bg:"default",style:{opacity:j?.75:1},children:[o&&(0,p.jsx)(s.View,{width:"large",height:"large",children:o}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:l})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(c)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-s.scale[3]}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:c})}),(0,p.jsx)(s.View,{width:"16"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function V(n){var o=n.label,t=n.description,c=void 0===t?'':t,x=n.icon,j=n.isEnabled,u=n.setIsEnabled,h=n.disabled,b=n.testID;return(0,p.jsxs)(s.View,{style:{opacity:h?.75:1},pointerEvents:h?'none':'auto',children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",children:[(0,p.jsx)(s.View,{width:"large",height:"large",children:x}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:o})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'},children:(0,p.jsx)(l.Switch,{testID:b,disabled:h,value:j&&!h,onValueChange:function(){return u(!j)}})})]}),Boolean(c)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-8}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:c})}),(0,p.jsx)(s.View,{style:{width:s.scale[16]}})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function v(n){var l=n.title,o=n.value;return(0,p.jsxs)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,p.jsx)(s.Text,{size:"medium",children:l}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.Text,{children:o})]})}}),872,[5,431,95,1,873,848,920,849,850,851,921,205]);
|
|
878
|
+
__d((function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Main=function(n){var i,b=n.registeredCallbacks,f=void 0===b?[]:b,z=n.isDevice,S=(0,c.useAppInfo)(),P=(0,j.useDevSettings)(),D=P.devSettings,O=P.actions,I=(0,x.useClipboard)(),R=(0,x.useClipboard)();var T=Boolean(R.clipboardContent),H=D.isElementInspectorAvailable,k=D.isHotLoadingAvailable,B=D.isPerfMonitorAvailable,C=D.isRemoteDebuggingAvailable,F=[H,k,B,C].filter((function(n){return!1===n})).length>0;return(0,p.jsxs)(s.View,{flex:"1",bg:"secondary",children:[(0,p.jsx)(s.View,{py:"medium",bg:"default",children:(0,p.jsxs)(s.Row,{align:"start",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"medium"}),(0,p.jsxs)(s.Row,{align:"center",shrink:"1",children:[(0,p.jsx)(s.View,{children:(0,p.jsx)(s.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(S.appIcon)&&(0,p.jsx)(s.Image,{source:{uri:S.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.View,{shrink:"1",children:[(0,p.jsx)(s.Row,{style:{flexWrap:'wrap'},children:(0,p.jsx)(s.Heading,{weight:"bold",numberOfLines:1,children:S.appName})}),Boolean(S.runtimeVersion)&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`Runtime version: ${S.runtimeVersion}`})}),Boolean(S.sdkVersion)&&!S.runtimeVersion&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",children:`SDK version: ${S.sdkVersion}`})})]}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,p.jsx)(s.Button.FadeOnPressContainer,{onPress:h.hideMenu,bg:"ghost",rounded:"full",children:(0,p.jsx)(s.View,{padding:"micro",children:(0,p.jsx)(s.XIcon,{})})})}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})]})}),(0,p.jsx)(s.Divider,{}),(0,p.jsxs)(s.View,{style:{flex:1},children:[(0,p.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(S.hostUrl)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s.View,{bg:"default",padding:"medium",children:[(0,p.jsx)(s.Text,{color:"secondary",children:"Connected to:"}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",onPress:function(){var n=S.hostUrl;I.onCopyPress(n)},testID:"main.copyUrlButton",children:(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsxs)(s.Row,{flex:"1",justify:"between",children:[(0,p.jsx)(s.Text,{type:"mono",numberOfLines:2,size:"small",children:S.hostUrl}),(0,p.jsx)(s.ClipboardIcon,{})]}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"})]})})]}),(0,p.jsx)(s.Divider,{})]}),f.length>0&&(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{mx:"large",children:(0,p.jsx)(s.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{mx:"small",children:f.map((function(n,i,l){var t=0===i,o=i===l.length-1;return(0,p.jsxs)(s.View,{children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:t?'large':'none',roundedBottom:o?'large':'none',children:(0,p.jsx)(V,{label:n,icon:null,onPress:function(){return(0,h.fireCallbackAsync)(n)}})}),!o&&(0,p.jsx)(s.Divider,{})]},n+i)}))}),(0,p.jsx)(s.Spacer.Vertical,{size:"medium"})]}),(0,p.jsxs)(s.View,{margin:"small",children:[(0,p.jsx)(s.View,w(w({},u.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,p.jsx)(V,{label:"Reload",icon:(0,p.jsx)(s.RefreshIcon,{}),onPress:O.reload})})),u.isDevLauncherInstalled&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{roundedBottom:"large",bg:"default",children:(0,p.jsx)(V,{label:"Go home",icon:(0,p.jsx)(s.HomeFilledIcon,{}),onPress:O.navigateToLauncher})})]})]}),(0,p.jsxs)(s.View,{mx:"small",children:[(0,p.jsx)(s.View,{bg:"default",roundedTop:"large",children:(0,p.jsx)(V,{disabled:!D.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,p.jsx)(s.PerformanceIcon,{}),onPress:O.togglePerformanceMonitor})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:!D.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,p.jsx)(s.InspectElementIcon,{}),onPress:O.toggleElementInspector})}),(0,p.jsx)(s.Divider,{}),D.isJSInspectorAvailable?(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(V,{disabled:!D.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),onPress:O.openJSInspector})}):(0,p.jsx)(s.View,{bg:"default",children:(0,p.jsx)(v,{disabled:null==S||!S.sdkVersion||!t.default.lt(S.sdkVersion,'49.0.0')||!D.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,p.jsx)(s.DebugIcon,{}),isEnabled:D.isDebuggingRemotely,setIsEnabled:O.toggleDebugRemoteJS,description:null==S||!S.sdkVersion||t.default.lt(S.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(i=null==S?void 0:S.engine)?i:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,p.jsx)(s.Divider,{}),(0,p.jsx)(s.View,{bg:"default",roundedBottom:"large",children:(0,p.jsx)(v,{disabled:!D.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,p.jsx)(s.RunIcon,{}),isEnabled:D.isHotLoadingEnabled,setIsEnabled:O.toggleFastRefresh})})]}),'Hermes'===S.engine&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",children:(0,p.jsxs)(s.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,p.jsxs)(s.Row,{align:"center",children:[(0,p.jsx)(s.WarningIcon,{}),(0,p.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,p.jsx)(s.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!F&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsxs)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,p.jsx)(y,{title:"Version",value:S.appVersion}),(0,p.jsx)(s.Divider,{}),Boolean(S.runtimeVersion)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{title:"Runtime version",value:S.runtimeVersion}),(0,p.jsx)(s.Divider,{})]}),Boolean(S.sdkVersion)&&!S.runtimeVersion&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{title:"SDK Version",value:S.sdkVersion}),(0,p.jsx)(s.Divider,{})]}),(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var n=S.runtimeVersion,i=S.sdkVersion,s=S.appName,l=S.appVersion;R.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:s,appVersion:l})},disabled:T,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{color:"link",size:"medium",children:T?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"}),(0,p.jsx)(s.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,p.jsx)(s.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:O.openRNDevMenu,children:(0,p.jsx)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,p.jsx)(s.Text,{children:"Open React Native dev menu"})})})}),'android'===l.Platform.OS&&(0,p.jsx)(s.View,{style:{height:50}}),(0,p.jsx)(s.Spacer.Vertical,{size:"large"})]}),(0,p.jsx)(o.Onboarding,{isDevice:z})]})]})};var i=n(r(d[1])),s=r(d[2]),l=((function(n,i){if(!i&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=b(i);if(s&&s.has(n))return s.get(n);var l={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var c=t?Object.getOwnPropertyDescriptor(n,o):null;c&&(c.get||c.set)?Object.defineProperty(l,o,c):l[o]=n[o]}l.default=n,s&&s.set(n,l)})(r(d[3])),r(d[4])),t=n(r(d[5])),o=r(d[6]),c=r(d[7]),x=r(d[8]),j=r(d[9]),u=r(d[10]),h=r(d[11]),p=r(d[12]);function b(n){if("function"!=typeof WeakMap)return null;var i=new WeakMap,s=new WeakMap;return(b=function(n){return n?s:i})(n)}function f(n,i){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);i&&(l=l.filter((function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),s.push.apply(s,l)}return s}function w(n){for(var s=1;s<arguments.length;s++){var l=null!=arguments[s]?arguments[s]:{};s%2?f(Object(l),!0).forEach((function(s){(0,i.default)(n,s,l[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(l)):f(Object(l)).forEach((function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(l,i))}))}return n}function V(n){var i=n.label,l=n.icon,t=n.description,o=void 0===t?'':t,c=n.onPress,x=n.disabled;return(0,p.jsxs)(s.Button.FadeOnPressContainer,{onPress:c,bg:"default",disabled:x,children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",bg:"default",style:{opacity:x?.75:1},children:[l&&(0,p.jsx)(s.View,{width:"large",height:"large",children:l}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:i})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(o)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-s.scale[3]}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:o})}),(0,p.jsx)(s.View,{width:"16"})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function v(n){var i=n.label,t=n.description,o=void 0===t?'':t,c=n.icon,x=n.isEnabled,j=n.setIsEnabled,u=n.disabled,h=n.testID;return(0,p.jsxs)(s.View,{style:{opacity:u?.75:1},pointerEvents:u?'none':'auto',children:[(0,p.jsxs)(s.Row,{padding:"small",align:"center",children:[(0,p.jsx)(s.View,{width:"large",height:"large",children:c}),(0,p.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,p.jsx)(s.View,{children:(0,p.jsx)(s.Text,{children:i})}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.View,{width:"16",style:{alignItems:'flex-end'},children:(0,p.jsx)(l.Switch,{testID:h,disabled:u,value:x&&!u,onValueChange:function(){return j(!x)}})})]}),Boolean(o)&&(0,p.jsxs)(s.View,{style:{transform:[{translateY:-8}]},children:[(0,p.jsxs)(s.Row,{px:"small",align:"center",children:[(0,p.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,p.jsx)(s.View,{shrink:"1",px:"small",children:(0,p.jsx)(s.Text,{size:"small",color:"secondary",leading:"large",children:o})}),(0,p.jsx)(s.View,{style:{width:s.scale[16]}})]}),(0,p.jsx)(s.Spacer.Vertical,{size:"tiny"})]})]})}function y(n){var i=n.title,l=n.value;return(0,p.jsxs)(s.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,p.jsx)(s.Text,{size:"medium",children:i}),(0,p.jsx)(s.Spacer.Horizontal,{}),(0,p.jsx)(s.Text,{children:l})]})}}),872,[5,30,431,95,1,873,920,848,921,849,850,851,205]);
|
|
879
879
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),p=r(d[5]),E=r(d[6]),S=r(d[7]),f=r(d[8]),l=r(d[9]),R=r(d[10]),_=r(d[11]),I=r(d[12]),V=r(d[13]),u=r(d[14]),C=r(d[15]),P=r(d[16]),v=r(d[17]),y=r(d[18]),L=r(d[19]),q=r(d[20]),x=r(d[21]),A=r(d[22]),M=r(d[23]),N=r(d[24]),O=r(d[25]),T=r(d[26]),Y=r(d[27]),b=r(d[28]),h=r(d[29]),j=r(d[30]),k=r(d[31]),B=r(d[32]),w=r(d[33]),z=r(d[34]),D=r(d[35]),F=r(d[36]),G=r(d[37]),H=r(d[38]),J=r(d[39]),K=r(d[40]);m.exports={parse:c,valid:p,clean:E,inc:S,diff:f,major:l,minor:R,patch:_,prerelease:I,compare:V,rcompare:u,compareLoose:C,compareBuild:P,sort:v,rsort:y,gt:L,lt:q,eq:x,neq:A,gte:M,lte:N,cmp:O,coerce:T,Comparator:Y,Range:b,satisfies:h,toComparators:j,maxSatisfying:k,minSatisfying:B,minVersion:w,validRange:z,outside:D,gtr:F,ltr:G,intersects:H,simplifyRange:J,subset:K,SemVer:o,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers}}),873,[874,875,877,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,908,909,910,911,912,913,914,915,916,917,918,919]);
|
|
880
|
-
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=r(d[2])
|
|
880
|
+
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=I.MAX_LENGTH,O=r(d[2]),$=(e=m.exports={}).re=[],A=e.safeRe=[],T=e.src=[],S=e.t={},D=0,P='[a-zA-Z0-9-]',F=[['\\s',1],['\\d',L],[P,N]],G=function(I){for(var R of F){var N=E(R,2),L=N[0],O=N[1];I=I.split(`${L}*`).join(`${L}{0,${O}}`).split(`${L}+`).join(`${L}{1,${O}}`)}return I},s=function(E,I,R){var N=G(I),L=D++;O(E,L,I),S[E]=L,T[L]=I,$[L]=new RegExp(I,R?'g':void 0),A[L]=new RegExp(N,R?'g':void 0)};s('NUMERICIDENTIFIER','0|[1-9]\\d*'),s('NUMERICIDENTIFIERLOOSE','\\d+'),s('NONNUMERICIDENTIFIER',`\\d*[a-zA-Z-]${P}*`),s('MAINVERSION',`(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})`),s('MAINVERSIONLOOSE',`(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})`),s('PRERELEASEIDENTIFIER',`(?:${T[S.NUMERICIDENTIFIER]}|${T[S.NONNUMERICIDENTIFIER]})`),s('PRERELEASEIDENTIFIERLOOSE',`(?:${T[S.NUMERICIDENTIFIERLOOSE]}|${T[S.NONNUMERICIDENTIFIER]})`),s('PRERELEASE',`(?:-(${T[S.PRERELEASEIDENTIFIER]}(?:\\.${T[S.PRERELEASEIDENTIFIER]})*))`),s('PRERELEASELOOSE',`(?:-?(${T[S.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[S.PRERELEASEIDENTIFIERLOOSE]})*))`),s('BUILDIDENTIFIER',`${P}+`),s('BUILD',`(?:\\+(${T[S.BUILDIDENTIFIER]}(?:\\.${T[S.BUILDIDENTIFIER]})*))`),s('FULLPLAIN',`v?${T[S.MAINVERSION]}${T[S.PRERELEASE]}?${T[S.BUILD]}?`),s('FULL',`^${T[S.FULLPLAIN]}$`),s('LOOSEPLAIN',`[v=\\s]*${T[S.MAINVERSIONLOOSE]}${T[S.PRERELEASELOOSE]}?${T[S.BUILD]}?`),s('LOOSE',`^${T[S.LOOSEPLAIN]}$`),s('GTLT','((?:<|>)?=?)'),s('XRANGEIDENTIFIERLOOSE',`${T[S.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),s('XRANGEIDENTIFIER',`${T[S.NUMERICIDENTIFIER]}|x|X|\\*`),s('XRANGEPLAIN',`[v=\\s]*(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:${T[S.PRERELEASE]})?${T[S.BUILD]}?)?)?`),s('XRANGEPLAINLOOSE',`[v=\\s]*(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:${T[S.PRERELEASELOOSE]})?${T[S.BUILD]}?)?)?`),s('XRANGE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAIN]}$`),s('XRANGELOOSE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAINLOOSE]}$`),s('COERCE',`(^|[^\\d])(\\d{1,${R}})(?:\\.(\\d{1,${R}}))?(?:\\.(\\d{1,${R}}))?(?:$|[^\\d])`),s('COERCERTL',T[S.COERCE],!0),s('LONETILDE','(?:~>?)'),s('TILDETRIM',`(\\s*)${T[S.LONETILDE]}\\s+`,!0),e.tildeTrimReplace='$1~',s('TILDE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAIN]}$`),s('TILDELOOSE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAINLOOSE]}$`),s('LONECARET','(?:\\^)'),s('CARETTRIM',`(\\s*)${T[S.LONECARET]}\\s+`,!0),e.caretTrimReplace='$1^',s('CARET',`^${T[S.LONECARET]}${T[S.XRANGEPLAIN]}$`),s('CARETLOOSE',`^${T[S.LONECARET]}${T[S.XRANGEPLAINLOOSE]}$`),s('COMPARATORLOOSE',`^${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]})$|^$`),s('COMPARATOR',`^${T[S.GTLT]}\\s*(${T[S.FULLPLAIN]})$|^$`),s('COMPARATORTRIM',`(\\s*)${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]}|${T[S.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace='$1$2$3',s('HYPHENRANGE',`^\\s*(${T[S.XRANGEPLAIN]})\\s+-\\s+(${T[S.XRANGEPLAIN]})\\s*$`),s('HYPHENRANGELOOSE',`^\\s*(${T[S.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[S.XRANGEPLAINLOOSE]})\\s*$`),s('STAR','(<|>)?=?\\s*\\*'),s('GTE0','^\\s*>=\\s*0\\.0\\.0\\s*$'),s('GTE0PRE','^\\s*>=\\s*0\\.0\\.0-0\\s*$')}),874,[46,875,876]);
|
|
881
881
|
__d((function(g,r,i,a,m,e,d){var E=Number.MAX_SAFE_INTEGER||9007199254740991;m.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:E,RELEASE_TYPES:['major','premajor','minor','preminor','patch','prepatch','prerelease'],SEMVER_SPEC_VERSION:'2.0.0',FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),875,[]);
|
|
882
882
|
__d((function(g,r,i,a,m,e,d){var o='object'==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){for(var o,n=arguments.length,s=new Array(n),c=0;c<n;c++)s[c]=arguments[c];return(o=console).error.apply(o,['SEMVER'].concat(s))}:function(){};m.exports=o}),876,[]);
|
|
883
883
|
__d((function(g,r,_i,_a,_m,e,d){var i=r(d[0]),t=r(d[1]),s=r(d[2]),n=r(d[3]),a=n.MAX_LENGTH,h=n.MAX_SAFE_INTEGER,o=r(d[4]),l=o.safeRe,p=o.t,c=r(d[5]),u=r(d[6]).compareIdentifiers,f=(function(){"use strict";function n(t,o){if(i(this,n),o=c(o),t instanceof n){if(t.loose===!!o.loose&&t.includePrerelease===!!o.includePrerelease)return t;t=t.version}else if('string'!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>a)throw new TypeError(`version is longer than ${a} characters`);s('SemVer',t,o),this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease;var u=t.trim().match(o.loose?l[p.LOOSE]:l[p.FULL]);if(!u)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>h||this.major<0)throw new TypeError('Invalid major version');if(this.minor>h||this.minor<0)throw new TypeError('Invalid minor version');if(this.patch>h||this.patch<0)throw new TypeError('Invalid patch version');u[4]?this.prerelease=u[4].split('.').map((function(i){if(/^[0-9]+$/.test(i)){var t=+i;if(t>=0&&t<h)return t}return i})):this.prerelease=[],this.build=u[5]?u[5].split('.'):[],this.format()}return t(n,[{key:"format",value:function(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join('.')}`),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(i){if(s('SemVer.compare',this.version,this.options,i),!(i instanceof n)){if('string'==typeof i&&i===this.version)return 0;i=new n(i,this.options)}return i.version===this.version?0:this.compareMain(i)||this.comparePre(i)}},{key:"compareMain",value:function(i){return i instanceof n||(i=new n(i,this.options)),u(this.major,i.major)||u(this.minor,i.minor)||u(this.patch,i.patch)}},{key:"comparePre",value:function(i){if(i instanceof n||(i=new n(i,this.options)),this.prerelease.length&&!i.prerelease.length)return-1;if(!this.prerelease.length&&i.prerelease.length)return 1;if(!this.prerelease.length&&!i.prerelease.length)return 0;var t=0;do{var a=this.prerelease[t],h=i.prerelease[t];if(s('prerelease compare',t,a,h),void 0===a&&void 0===h)return 0;if(void 0===h)return 1;if(void 0===a)return-1;if(a!==h)return u(a,h)}while(++t)}},{key:"compareBuild",value:function(i){i instanceof n||(i=new n(i,this.options));var t=0;do{var a=this.build[t],h=i.build[t];if(s('prerelease compare',t,a,h),void 0===a&&void 0===h)return 0;if(void 0===h)return 1;if(void 0===a)return-1;if(a!==h)return u(a,h)}while(++t)}},{key:"inc",value:function(i,t,s){switch(i){case'premajor':this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc('pre',t,s);break;case'preminor':this.prerelease.length=0,this.patch=0,this.minor++,this.inc('pre',t,s);break;case'prepatch':this.prerelease.length=0,this.inc('patch',t,s),this.inc('pre',t,s);break;case'prerelease':0===this.prerelease.length&&this.inc('patch',t,s),this.inc('pre',t,s);break;case'major':0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case'minor':0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case'patch':0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case'pre':var n=Number(s)?1:0;if(!t&&!1===s)throw new Error('invalid increment argument: identifier is empty');if(0===this.prerelease.length)this.prerelease=[n];else{for(var a=this.prerelease.length;--a>=0;)'number'==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join('.')&&!1===s)throw new Error('invalid increment argument: identifier already exists');this.prerelease.push(n)}}if(t){var h=[t,n];!1===s&&(h=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=h):this.prerelease=h}break;default:throw new Error(`invalid increment argument: ${i}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join('.')}`),this}}]),n})();_m.exports=f}),877,[14,15,876,875,874,878,879]);
|
|
@@ -907,7 +907,7 @@ __d((function(g,r,i,_a,m,e,d){var n=r(d[0]);m.exports=function(t,o,u){return n(t
|
|
|
907
907
|
__d((function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),c=r(d[3]),s=r(d[4]),a=r(d[5]);m.exports=function(u,f,p,v){switch(f){case'===':return'object'==typeof u&&(u=u.version),'object'==typeof p&&(p=p.version),u===p;case'!==':return'object'==typeof u&&(u=u.version),'object'==typeof p&&(p=p.version),u!==p;case'':case'=':case'==':return t(u,p,v);case'!=':return o(u,p,v);case'>':return n(u,p,v);case'>=':return c(u,p,v);case'<':return s(u,p,v);case'<=':return a(u,p,v);default:throw new TypeError(`Invalid operator: ${f}`)}}}),901,[897,898,895,899,896,900]);
|
|
908
908
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),l=r(d[2]),f=l.safeRe,u=l.t;m.exports=function(l,x){if(l instanceof n)return l;if('number'==typeof l&&(l=String(l)),'string'!=typeof l)return null;var C=null;if((x=x||{}).rtl){for(var E;(E=f[u.COERCERTL].exec(l))&&(!C||C.index+C[0].length!==l.length);)C&&E.index+E[0].length===C.index+C[0].length||(C=E),f[u.COERCERTL].lastIndex=E.index+E[1].length+E[2].length;f[u.COERCERTL].lastIndex=-1}else C=l.match(f[u.COERCE]);return null===C?null:t(`${C[2]}.${C[3]||'0'}.${C[4]||'0'}`,x)}}),902,[877,880,874]);
|
|
909
909
|
__d((function(g,_r,i,a,_m,e,d){var t=_r(d[0]),r=_r(d[1]),s=Symbol('SemVer ANY'),o=(function(){"use strict";function o(r,n){if(t(this,o),n=h(n),r instanceof o){if(r.loose===!!n.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(' '),l('comparator',r,n),this.options=n,this.loose=!!n.loose,this.parse(r),this.semver===s?this.value='':this.value=this.operator+this.semver.version,l('comp',this)}return r(o,[{key:"parse",value:function(t){var r=this.options.loose?u[v.COMPARATORLOOSE]:u[v.COMPARATOR],o=t.match(r);if(!o)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==o[1]?o[1]:'','='===this.operator&&(this.operator=''),o[2]?this.semver=new c(o[2],this.options.loose):this.semver=s}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(t){if(l('Comparator.test',t,this.options.loose),this.semver===s||t===s)return!0;if('string'==typeof t)try{t=new c(t,this.options)}catch(t){return!1}return p(t,this.operator,this.semver,this.options)}},{key:"intersects",value:function(t,r){if(!(t instanceof o))throw new TypeError('a Comparator is required');return''===this.operator?''===this.value||new m(t.value,r).test(this.value):''===t.operator?''===t.value||new m(this.value,r).test(t.semver):(!(r=h(r)).includePrerelease||'<0.0.0-0'!==this.value&&'<0.0.0-0'!==t.value)&&(!(!r.includePrerelease&&(this.value.startsWith('<0.0.0')||t.value.startsWith('<0.0.0')))&&(!(!this.operator.startsWith('>')||!t.operator.startsWith('>'))||(!(!this.operator.startsWith('<')||!t.operator.startsWith('<'))||(!(this.semver.version!==t.semver.version||!this.operator.includes('=')||!t.operator.includes('='))||(!!(p(this.semver,'<',t.semver,r)&&this.operator.startsWith('>')&&t.operator.startsWith('<'))||!!(p(this.semver,'>',t.semver,r)&&this.operator.startsWith('<')&&t.operator.startsWith('>')))))))}}],[{key:"ANY",get:function(){return s}}]),o})();_m.exports=o;var h=_r(d[2]),n=_r(d[3]),u=n.safeRe,v=n.t,p=_r(d[4]),l=_r(d[5]),c=_r(d[6]),m=_r(d[7])}),903,[14,15,878,874,901,876,877,904]);
|
|
910
|
-
__d((function(g,_r,_i2,a,_m,e,d){var r=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=(function(){"use strict";function i(r,n){var s=this;if(t(this,i),n=o(n),r instanceof i)return r.loose===!!n.loose&&r.includePrerelease===!!n.includePrerelease?r:new i(r.raw,n);if(r instanceof u)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=r.trim().split(/\s+/).join(' '),this.set=this.raw.split('||').map((function(r){return s.parseRange(r)})).filter((function(r){return r.length})),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){var $=this.set[0];if(this.set=this.set.filter((function(r){return!A(r[0])})),0===this.set.length)this.set=[$];else if(this.set.length>1)for(var l of this.set)if(1===l.length&&O(l[0])){this.set=[l];break}}this.format()}return n(i,[{key:"format",value:function(){return this.range=this.set.map((function(r){return r.join(' ').trim()})).join('||').trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var n=this,i=((this.options.includePrerelease&&R)|(this.options.loose&&T))+':'+t,o=s.get(i);if(o)return o;var l=this.options.loose,c=l?f[p.HYPHENRANGELOOSE]:f[p.HYPHENRANGE];t=t.replace(c,x(this.options.includePrerelease)),$('hyphen replace',t),t=t.replace(f[p.COMPARATORTRIM],h),$('comparator trim',t),t=t.replace(f[p.TILDETRIM],m),$('tilde trim',t),t=t.replace(f[p.CARETTRIM],v),$('caret trim',t);var E=t.split(' ').map((function(r){return w(r,n.options)})).join(' ').split(/\s+/).map((function(r){return k(r,n.options)}));l&&(E=E.filter((function(r){return $('loose invalid filter',r,n.options),!!r.match(f[p.COMPARATORLOOSE])}))),$('range list',E);var O=new Map,P=E.map((function(r){return new u(r,n.options)}));for(var L of P){if(A(L))return[L];O.set(L.value,L)}O.size>1&&O.has('')&&O.delete('');var y=r(O.values());return s.set(i,y),y}},{key:"intersects",value:function(r,t){if(!(r instanceof i))throw new TypeError('a Range is required');return this.set.some((function(n){return P(n,t)&&r.set.some((function(r){return P(r,t)&&n.every((function(n){return r.every((function(r){return n.intersects(r,t)}))}))}))}))}},{key:"test",value:function(r){if(!r)return!1;if('string'==typeof r)try{r=new l(r,this.options)}catch(r){return!1}for(var t=0;t<this.set.length;t++)if(M(this.set[t],r,this.options))return!0;return!1}}]),i})();_m.exports=i;var s=new(_r(d[3]))({max:1e3}),o=_r(d[4]),u=_r(d[5]),$=_r(d[6]),l=_r(d[7]),c=_r(d[8]),f=c.safeRe,p=c.t,h=c.comparatorTrimReplace,m=c.tildeTrimReplace,v=c.caretTrimReplace,E=_r(d[9]),R=E.FLAG_INCLUDE_PRERELEASE,T=E.FLAG_LOOSE,A=function(r){return'<0.0.0-0'===r.value},O=function(r){return''===r.value},P=function(r,t){for(var n=!0,i=r.slice(),s=i.pop();n&&i.length;)n=i.every((function(r){return s.intersects(r,t)})),s=i.pop();return n},w=function(r,t){return $('comp',r,t),r=j(r,t),$('caret',r),r=y(r,t),$('tildes',r),r=C(r,t),$('xrange',r),r=N(r,t),$('stars',r),r},L=function(r){return!r||'x'===r.toLowerCase()||'*'===r},y=function(r,t){return r.trim().split(/\s+/).map((function(r){return S(r,t)})).join(' ')},S=function(r,t){var n=t.loose?f[p.TILDELOOSE]:f[p.TILDE];return r.replace(n,(function(t,n,i,s,o){var u;return $('tilde',r,t,n,i,s,o),L(n)?u='':L(i)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:L(s)?u=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:o?($('replaceTilde pr',o),u=`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`):u=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`,$('tilde return',u),u}))},j=function(r,t){return r.trim().split(/\s+/).map((function(r){return G(r,t)})).join(' ')},G=function(r,t){$('caret',r,t);var n=t.loose?f[p.CARETLOOSE]:f[p.CARET],i=t.includePrerelease?'-0':'';return r.replace(n,(function(t,n,s,o,u){var l;return $('caret',r,t,n,s,o,u),L(n)?l='':L(s)?l=`>=${n}.0.0${i} <${+n+1}.0.0-0`:L(o)?l='0'===n?`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${i} <${+n+1}.0.0-0`:u?($('replaceCaret pr',u),l='0'===n?'0'===s?`>=${n}.${s}.${o}-${u} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}-${u} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o}-${u} <${+n+1}.0.0-0`):($('no pr'),l='0'===n?'0'===s?`>=${n}.${s}.${o}${i} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o} <${+n+1}.0.0-0`),$('caret return',l),l}))},C=function(r,t){return $('replaceXRanges',r,t),r.split(/\s+/).map((function(r){return I(r,t)})).join(' ')},I=function(r,t){r=r.trim();var n=t.loose?f[p.XRANGELOOSE]:f[p.XRANGE];return r.replace(n,(function(n,i,s,o,u,l){$('xRange',r,n,i,s,o,u,l);var c=L(s),f=c||L(o),p=f||L(u),h=p;return'='===i&&h&&(i=''),l=t.includePrerelease?'-0':'',c?n='>'===i||'<'===i?'<0.0.0-0':'*':i&&h?(f&&(o=0),u=0,'>'===i?(i='>=',f?(s=+s+1,o=0,u=0):(o=+o+1,u=0)):'<='===i&&(i='<',f?s=+s+1:o=+o+1),'<'===i&&(l='-0'),n=`${i+s}.${o}.${u}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(n=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),$('xRange return',n),n}))},N=function(r,t){return $('replaceStars',r,t),r.trim().replace(f[p.STAR],'')},k=function(r,t){return $('replaceGTE0',r,t),r.trim().replace(f[t.includePrerelease?p.GTE0PRE:p.GTE0],'')},x=function(r){return function(t,n,i,s,o,u,$,l,c,f,p,h,m){return`${n=L(i)?'':L(s)?`>=${i}.0.0${r?'-0':''}`:L(o)?`>=${i}.${s}.0${r?'-0':''}`:u?`>=${n}`:`>=${n}${r?'-0':''}`} ${l=L(c)?'':L(f)?`<${+c+1}.0.0-0`:L(p)?`<${c}.${+f+1}.0-0`:h?`<=${c}.${f}.${p}-${h}`:r?`<${c}.${f}.${+p+1}-0`:`<=${l}`}`.trim()}},M=function(r,t,n){for(var i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(var s=0;s<r.length;s++)if($(r[s].semver),r[s].semver!==u.ANY&&r[s].semver.prerelease.length>0){var o=r[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}}),904,[8,14,15,905,878,903,876,877,874,875]);
|
|
910
|
+
__d((function(g,_r,_i2,a,_m,e,d){var r=_r(d[0]),t=_r(d[1]),n=_r(d[2]),i=(function(){"use strict";function i(r,n){var s=this;if(t(this,i),n=o(n),r instanceof i)return r.loose===!!n.loose&&r.includePrerelease===!!n.includePrerelease?r:new i(r.raw,n);if(r instanceof u)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=r.trim().split(/\s+/).join(' '),this.set=this.raw.split('||').map((function(r){return s.parseRange(r.trim())})).filter((function(r){return r.length})),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){var $=this.set[0];if(this.set=this.set.filter((function(r){return!A(r[0])})),0===this.set.length)this.set=[$];else if(this.set.length>1)for(var l of this.set)if(1===l.length&&O(l[0])){this.set=[l];break}}this.format()}return n(i,[{key:"format",value:function(){return this.range=this.set.map((function(r){return r.join(' ').trim()})).join('||').trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var n=this,i=((this.options.includePrerelease&&R)|(this.options.loose&&T))+':'+t,o=s.get(i);if(o)return o;var l=this.options.loose,c=l?f[p.HYPHENRANGELOOSE]:f[p.HYPHENRANGE];t=t.replace(c,x(this.options.includePrerelease)),$('hyphen replace',t),t=t.replace(f[p.COMPARATORTRIM],h),$('comparator trim',t),t=t.replace(f[p.TILDETRIM],m),$('tilde trim',t),t=t.replace(f[p.CARETTRIM],v),$('caret trim',t);var E=t.split(' ').map((function(r){return w(r,n.options)})).join(' ').split(/\s+/).map((function(r){return k(r,n.options)}));l&&(E=E.filter((function(r){return $('loose invalid filter',r,n.options),!!r.match(f[p.COMPARATORLOOSE])}))),$('range list',E);var O=new Map,P=E.map((function(r){return new u(r,n.options)}));for(var L of P){if(A(L))return[L];O.set(L.value,L)}O.size>1&&O.has('')&&O.delete('');var y=r(O.values());return s.set(i,y),y}},{key:"intersects",value:function(r,t){if(!(r instanceof i))throw new TypeError('a Range is required');return this.set.some((function(n){return P(n,t)&&r.set.some((function(r){return P(r,t)&&n.every((function(n){return r.every((function(r){return n.intersects(r,t)}))}))}))}))}},{key:"test",value:function(r){if(!r)return!1;if('string'==typeof r)try{r=new l(r,this.options)}catch(r){return!1}for(var t=0;t<this.set.length;t++)if(M(this.set[t],r,this.options))return!0;return!1}}]),i})();_m.exports=i;var s=new(_r(d[3]))({max:1e3}),o=_r(d[4]),u=_r(d[5]),$=_r(d[6]),l=_r(d[7]),c=_r(d[8]),f=c.safeRe,p=c.t,h=c.comparatorTrimReplace,m=c.tildeTrimReplace,v=c.caretTrimReplace,E=_r(d[9]),R=E.FLAG_INCLUDE_PRERELEASE,T=E.FLAG_LOOSE,A=function(r){return'<0.0.0-0'===r.value},O=function(r){return''===r.value},P=function(r,t){for(var n=!0,i=r.slice(),s=i.pop();n&&i.length;)n=i.every((function(r){return s.intersects(r,t)})),s=i.pop();return n},w=function(r,t){return $('comp',r,t),r=j(r,t),$('caret',r),r=y(r,t),$('tildes',r),r=C(r,t),$('xrange',r),r=N(r,t),$('stars',r),r},L=function(r){return!r||'x'===r.toLowerCase()||'*'===r},y=function(r,t){return r.trim().split(/\s+/).map((function(r){return S(r,t)})).join(' ')},S=function(r,t){var n=t.loose?f[p.TILDELOOSE]:f[p.TILDE];return r.replace(n,(function(t,n,i,s,o){var u;return $('tilde',r,t,n,i,s,o),L(n)?u='':L(i)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:L(s)?u=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:o?($('replaceTilde pr',o),u=`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`):u=`>=${n}.${i}.${s} <${n}.${+i+1}.0-0`,$('tilde return',u),u}))},j=function(r,t){return r.trim().split(/\s+/).map((function(r){return G(r,t)})).join(' ')},G=function(r,t){$('caret',r,t);var n=t.loose?f[p.CARETLOOSE]:f[p.CARET],i=t.includePrerelease?'-0':'';return r.replace(n,(function(t,n,s,o,u){var l;return $('caret',r,t,n,s,o,u),L(n)?l='':L(s)?l=`>=${n}.0.0${i} <${+n+1}.0.0-0`:L(o)?l='0'===n?`>=${n}.${s}.0${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${i} <${+n+1}.0.0-0`:u?($('replaceCaret pr',u),l='0'===n?'0'===s?`>=${n}.${s}.${o}-${u} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}-${u} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o}-${u} <${+n+1}.0.0-0`):($('no pr'),l='0'===n?'0'===s?`>=${n}.${s}.${o}${i} <${n}.${s}.${+o+1}-0`:`>=${n}.${s}.${o}${i} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${o} <${+n+1}.0.0-0`),$('caret return',l),l}))},C=function(r,t){return $('replaceXRanges',r,t),r.split(/\s+/).map((function(r){return I(r,t)})).join(' ')},I=function(r,t){r=r.trim();var n=t.loose?f[p.XRANGELOOSE]:f[p.XRANGE];return r.replace(n,(function(n,i,s,o,u,l){$('xRange',r,n,i,s,o,u,l);var c=L(s),f=c||L(o),p=f||L(u),h=p;return'='===i&&h&&(i=''),l=t.includePrerelease?'-0':'',c?n='>'===i||'<'===i?'<0.0.0-0':'*':i&&h?(f&&(o=0),u=0,'>'===i?(i='>=',f?(s=+s+1,o=0,u=0):(o=+o+1,u=0)):'<='===i&&(i='<',f?s=+s+1:o=+o+1),'<'===i&&(l='-0'),n=`${i+s}.${o}.${u}${l}`):f?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(n=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),$('xRange return',n),n}))},N=function(r,t){return $('replaceStars',r,t),r.trim().replace(f[p.STAR],'')},k=function(r,t){return $('replaceGTE0',r,t),r.trim().replace(f[t.includePrerelease?p.GTE0PRE:p.GTE0],'')},x=function(r){return function(t,n,i,s,o,u,$,l,c,f,p,h,m){return`${n=L(i)?'':L(s)?`>=${i}.0.0${r?'-0':''}`:L(o)?`>=${i}.${s}.0${r?'-0':''}`:u?`>=${n}`:`>=${n}${r?'-0':''}`} ${l=L(c)?'':L(f)?`<${+c+1}.0.0-0`:L(p)?`<${c}.${+f+1}.0-0`:h?`<=${c}.${f}.${p}-${h}`:r?`<${c}.${f}.${+p+1}-0`:`<=${l}`}`.trim()}},M=function(r,t,n){for(var i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(var s=0;s<r.length;s++)if($(r[s].semver),r[s].semver!==u.ANY&&r[s].semver.prerelease.length>0){var o=r[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}}),904,[8,14,15,905,878,903,876,877,874,875]);
|
|
911
911
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),s=Symbol('max'),h=Symbol('length'),o=Symbol('lengthCalculator'),l=Symbol('allowStale'),f=Symbol('maxAge'),v=Symbol('dispose'),y=Symbol('noDisposeOnSet'),c=Symbol('lruList'),k=Symbol('cache'),p=Symbol('updateAgeOnGet'),b=function(){return 1},x=(function(){function x(n){if(t(this,x),'number'==typeof n&&(n={max:n}),n||(n={}),n.max&&('number'!=typeof n.max||n.max<0))throw new TypeError('max must be a non-negative number');this[s]=n.max||1/0;var u=n.length||b;if(this[o]='function'!=typeof u?b:u,this[l]=n.stale||!1,n.maxAge&&'number'!=typeof n.maxAge)throw new TypeError('maxAge must be a number');this[f]=n.maxAge||0,this[v]=n.dispose,this[y]=n.noDisposeOnSet||!1,this[p]=n.updateAgeOnGet||!1,this.reset()}return n(x,[{key:"max",get:function(){return this[s]},set:function(t){if('number'!=typeof t||t<0)throw new TypeError('max must be a non-negative number');this[s]=t||1/0,S(this)}},{key:"allowStale",get:function(){return this[l]},set:function(t){this[l]=!!t}},{key:"maxAge",get:function(){return this[f]},set:function(t){if('number'!=typeof t)throw new TypeError('maxAge must be a non-negative number');this[f]=t,S(this)}},{key:"lengthCalculator",get:function(){return this[o]},set:function(t){var n=this;'function'!=typeof t&&(t=b),t!==this[o]&&(this[o]=t,this[h]=0,this[c].forEach((function(t){t.length=n[o](t.value,t.key),n[h]+=t.length}))),S(this)}},{key:"length",get:function(){return this[h]}},{key:"itemCount",get:function(){return this[c].length}},{key:"rforEach",value:function(t,n){n=n||this;for(var u=this[c].tail;null!==u;){var s=u.prev;T(this,t,u,n),u=s}}},{key:"forEach",value:function(t,n){n=n||this;for(var u=this[c].head;null!==u;){var s=u.next;T(this,t,u,n),u=s}}},{key:"keys",value:function(){return this[c].toArray().map((function(t){return t.key}))}},{key:"values",value:function(){return this[c].toArray().map((function(t){return t.value}))}},{key:"reset",value:function(){var t=this;this[v]&&this[c]&&this[c].length&&this[c].forEach((function(n){return t[v](n.key,n.value)})),this[k]=new Map,this[c]=new u,this[h]=0}},{key:"dump",value:function(){var t=this;return this[c].map((function(n){return!A(t,n)&&{k:n.key,v:n.value,e:n.now+(n.maxAge||0)}})).toArray().filter((function(t){return t}))}},{key:"dumpLru",value:function(){return this[c]}},{key:"set",value:function(t,n,u){if((u=u||this[f])&&'number'!=typeof u)throw new TypeError('maxAge must be a number');var l=u?Date.now():0,p=this[o](n,t);if(this[k].has(t)){if(p>this[s])return E(this,this[k].get(t)),!1;var b=this[k].get(t).value;return this[v]&&(this[y]||this[v](t,b.value)),b.now=l,b.maxAge=u,b.value=n,this[h]+=p-b.length,b.length=p,this.get(t),S(this),!0}var x=new D(t,n,p,l,u);return x.length>this[s]?(this[v]&&this[v](t,n),!1):(this[h]+=x.length,this[c].unshift(x),this[k].set(t,this[c].head),S(this),!0)}},{key:"has",value:function(t){if(!this[k].has(t))return!1;var n=this[k].get(t).value;return!A(this,n)}},{key:"get",value:function(t){return w(this,t,!0)}},{key:"peek",value:function(t){return w(this,t,!1)}},{key:"pop",value:function(){var t=this[c].tail;return t?(E(this,t),t.value):null}},{key:"del",value:function(t){E(this,this[k].get(t))}},{key:"load",value:function(t){this.reset();for(var n=Date.now(),u=t.length-1;u>=0;u--){var s=t[u],h=s.e||0;if(0===h)this.set(s.k,s.v);else{var o=h-n;o>0&&this.set(s.k,s.v,o)}}}},{key:"prune",value:function(){var t=this;this[k].forEach((function(n,u){return w(t,u,!1)}))}}]),x})(),w=function(t,n,u){var s=t[k].get(n);if(s){var h=s.value;if(A(t,h)){if(E(t,s),!t[l])return}else u&&(t[p]&&(s.value.now=Date.now()),t[c].unshiftNode(s));return h.value}},A=function(t,n){if(!n||!n.maxAge&&!t[f])return!1;var u=Date.now()-n.now;return n.maxAge?u>n.maxAge:t[f]&&u>t[f]},S=function(t){if(t[h]>t[s])for(var n=t[c].tail;t[h]>t[s]&&null!==n;){var u=n.prev;E(t,n),n=u}},E=function(t,n){if(n){var u=n.value;t[v]&&t[v](u.key,u.value),t[h]-=u.length,t[k].delete(u.key),t[c].removeNode(n)}},D=n((function n(u,s,h,o,l){t(this,n),this.key=u,this.value=s,this.length=h,this.now=o,this.maxAge=l||0})),T=function(t,n,u,s){var h=u.value;A(t,h)&&(E(t,u),t[l]||(h=void 0)),h&&n.call(s,h.value,h.key,t)};m.exports=x}),905,[14,15,906]);
|
|
912
912
|
__d((function(g,r,_i,a,m,e,d){'use strict';function t(i){var n=this;if(n instanceof t||(n=new t),n.tail=null,n.head=null,n.length=0,i&&'function'==typeof i.forEach)i.forEach((function(t){n.push(t)}));else if(arguments.length>0)for(var h=0,l=arguments.length;h<l;h++)n.push(arguments[h]);return n}function i(t,i,n){var h=i===t.head?new l(n,null,i,t):new l(n,i,i.next,t);return null===h.next&&(t.tail=h),null===h.prev&&(t.head=h),t.length++,h}function n(t,i){t.tail=new l(i,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function h(t,i){t.head=new l(i,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function l(t,i,n,h){if(!(this instanceof l))return new l(t,i,n,h);this.list=h,this.value=t,i?(i.next=this,this.prev=i):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}m.exports=t,t.Node=l,t.create=t,t.prototype.removeNode=function(t){if(t.list!==this)throw new Error('removing node which does not belong to this list');var i=t.next,n=t.prev;return i&&(i.prev=n),n&&(n.next=i),t===this.head&&(this.head=i),t===this.tail&&(this.tail=n),t.list.length--,t.next=null,t.prev=null,t.list=null,i},t.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var i=this.head;t.list=this,t.next=i,i&&(i.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},t.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var i=this.tail;t.list=this,t.prev=i,i&&(i.next=t),this.tail=t,this.head||(this.head=t),this.length++}},t.prototype.push=function(){for(var t=0,i=arguments.length;t<i;t++)n(this,arguments[t]);return this.length},t.prototype.unshift=function(){for(var t=0,i=arguments.length;t<i;t++)h(this,arguments[t]);return this.length},t.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},t.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},t.prototype.forEach=function(t,i){i=i||this;for(var n=this.head,h=0;null!==n;h++)t.call(i,n.value,h,this),n=n.next},t.prototype.forEachReverse=function(t,i){i=i||this;for(var n=this.tail,h=this.length-1;null!==n;h--)t.call(i,n.value,h,this),n=n.prev},t.prototype.get=function(t){for(var i=0,n=this.head;null!==n&&i<t;i++)n=n.next;if(i===t&&null!==n)return n.value},t.prototype.getReverse=function(t){for(var i=0,n=this.tail;null!==n&&i<t;i++)n=n.prev;if(i===t&&null!==n)return n.value},t.prototype.map=function(i,n){n=n||this;for(var h=new t,l=this.head;null!==l;)h.push(i.call(n,l.value,this)),l=l.next;return h},t.prototype.mapReverse=function(i,n){n=n||this;for(var h=new t,l=this.tail;null!==l;)h.push(i.call(n,l.value,this)),l=l.prev;return h},t.prototype.reduce=function(t,i){var n,h=this.head;if(arguments.length>1)n=i;else{if(!this.head)throw new TypeError('Reduce of empty list with no initial value');h=this.head.next,n=this.head.value}for(var l=0;null!==h;l++)n=t(n,h.value,l),h=h.next;return n},t.prototype.reduceReverse=function(t,i){var n,h=this.tail;if(arguments.length>1)n=i;else{if(!this.tail)throw new TypeError('Reduce of empty list with no initial value');h=this.tail.prev,n=this.tail.value}for(var l=this.length-1;null!==h;l--)n=t(n,h.value,l),h=h.prev;return n},t.prototype.toArray=function(){for(var t=new Array(this.length),i=0,n=this.head;null!==n;i++)t[i]=n.value,n=n.next;return t},t.prototype.toArrayReverse=function(){for(var t=new Array(this.length),i=0,n=this.tail;null!==n;i++)t[i]=n.value,n=n.prev;return t},t.prototype.slice=function(i,n){(n=n||this.length)<0&&(n+=this.length),(i=i||0)<0&&(i+=this.length);var h=new t;if(n<i||n<0)return h;i<0&&(i=0),n>this.length&&(n=this.length);for(var l=0,s=this.head;null!==s&&l<i;l++)s=s.next;for(;null!==s&&l<n;l++,s=s.next)h.push(s.value);return h},t.prototype.sliceReverse=function(i,n){(n=n||this.length)<0&&(n+=this.length),(i=i||0)<0&&(i+=this.length);var h=new t;if(n<i||n<0)return h;i<0&&(i=0),n>this.length&&(n=this.length);for(var l=this.length,s=this.tail;null!==s&&l>n;l--)s=s.prev;for(;null!==s&&l>i;l--,s=s.prev)h.push(s.value);return h},t.prototype.splice=function(t,n){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var h=0,l=this.head;null!==l&&h<t;h++)l=l.next;var s=[];for(h=0;l&&h<n;h++)s.push(l.value),l=this.removeNode(l);null===l&&(l=this.tail),l!==this.head&&l!==this.tail&&(l=l.prev);for(h=0;h<(arguments.length<=2?0:arguments.length-2);h++)l=i(this,l,h+2<2||arguments.length<=h+2?void 0:arguments[h+2]);return s},t.prototype.reverse=function(){for(var t=this.head,i=this.tail,n=t;null!==n;n=n.prev){var h=n.prev;n.prev=n.next,n.next=h}return this.head=i,this.tail=t,this};try{r(d[0])(t)}catch(t){}}),906,[907]);
|
|
913
913
|
__d((function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(var t=this.head;t;t=t.next)yield t.value}}}),907,[]);
|
|
@@ -923,7 +923,7 @@ __d((function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t,o,u){return n(t,
|
|
|
923
923
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t,c,o){return t=new n(t,o),c=new n(c,o),t.intersects(c,o)}}),917,[904]);
|
|
924
924
|
__d((function(g,r,i,_a,m,e,d){var n=r(d[0]),u=r(d[1]),l=r(d[2]);m.exports=function(t,o,s){var a=[],h=null,p=null,f=t.sort((function(n,u){return l(n,u,s)}));for(var v of f){u(v,o,s)?(p=v,h||(h=v)):(p&&a.push([h,p]),p=null,h=null)}h&&a.push([h,null]);var $=[];for(var c of a){var w=n(c,2),_=w[0],j=w[1];_===j?$.push(_):j||_!==f[0]?j?_===f[0]?$.push(`<=${j}`):$.push(`${_} - ${j}`):$.push(`>=${_}`):$.push('*')}var x=$.join(' || '),y='string'==typeof o.raw?o.raw:String(o);return x.length<y.length?x:o}}),918,[46,908,889]);
|
|
925
925
|
__d((function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]),n=o.ANY,a=r(d[2]),s=r(d[3]),f=[new o('>=0.0.0-0')],v=[new o('>=0.0.0')],l=function(t,o,l){if(t===o)return!0;if(1===t.length&&t[0].semver===n){if(1===o.length&&o[0].semver===n)return!0;t=l.includePrerelease?f:v}if(1===o.length&&o[0].semver===n){if(l.includePrerelease)return!0;o=v}var c,h,S,w,j,P,_,x=new Set;for(var z of t)'>'===z.operator||'>='===z.operator?c=u(c,z,l):'<'===z.operator||'<='===z.operator?h=p(h,z,l):x.add(z.semver);if(x.size>1)return null;if(c&&h){if((S=s(c.semver,h.semver,l))>0)return null;if(0===S&&('>='!==c.operator||'<='!==h.operator))return null}for(var A of x){if(c&&!a(A,String(c),l))return null;if(h&&!a(A,String(h),l))return null;for(var N of o)if(!a(A,String(N),l))return!1;return!0}var Y=!(!h||l.includePrerelease||!h.semver.prerelease.length)&&h.semver,b=!(!c||l.includePrerelease||!c.semver.prerelease.length)&&c.semver;for(var k of(Y&&1===Y.prerelease.length&&'<'===h.operator&&0===Y.prerelease[0]&&(Y=!1),o)){if(_=_||'>'===k.operator||'>='===k.operator,P=P||'<'===k.operator||'<='===k.operator,c)if(b&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===b.major&&k.semver.minor===b.minor&&k.semver.patch===b.patch&&(b=!1),'>'===k.operator||'>='===k.operator){if((w=u(c,k,l))===k&&w!==c)return!1}else if('>='===c.operator&&!a(c.semver,String(k),l))return!1;if(h)if(Y&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===Y.major&&k.semver.minor===Y.minor&&k.semver.patch===Y.patch&&(Y=!1),'<'===k.operator||'<='===k.operator){if((j=p(h,k,l))===k&&j!==h)return!1}else if('<='===h.operator&&!a(h.semver,String(k),l))return!1;if(!k.operator&&(h||c)&&0!==S)return!1}return!(c&&P&&!h&&0!==S)&&(!(h&&_&&!c&&0!==S)&&(!b&&!Y))},u=function(t,o,n){if(!t)return o;var a=s(t.semver,o.semver,n);return a>0?t:a<0||'>'===o.operator&&'>='===t.operator?o:t},p=function(t,o,n){if(!t)return o;var a=s(t.semver,o.semver,n);return a<0?t:a>0||'<'===o.operator&&'<='===t.operator?o:t};m.exports=function(o,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(o===n)return!0;o=new t(o,a),n=new t(n,a);var s=!1;r:for(var f of o.set){for(var v of n.set){var u=l(f,v,a);if(s=s||null!==u,u)continue r}if(s)return!1}return!0}}),919,[904,903,908,889]);
|
|
926
|
-
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
927
|
-
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
926
|
+
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Onboarding=function(t){var h=t.isDevice,p=(0,u.useMenuPreferences)(),x=p.isOnboardingFinished,b=p.actions,j=s.useState(!x),w=(0,n.default)(j,2),v=w[0],O=w[1];if(v)return(0,c.jsx)(o.View,{style:l.StyleSheet.absoluteFill,children:(0,c.jsxs)(o.View,{flex:"1",bg:"default",py:"medium",px:"large",children:[(0,c.jsxs)(o.View,{children:[(0,c.jsx)(o.Text,{size:"medium",maxFontSizeMultiplier:1.2,children:"This is the developer menu. It gives you access to useful tools in your development builds."}),(0,c.jsx)(o.Spacer.Vertical,{size:"medium"}),(0,c.jsx)(o.Text,{size:"medium",maxFontSizeMultiplier:1.2,children:h?f:y})]}),(0,c.jsx)(o.Spacer.Vertical,{size:"large"}),(0,c.jsx)(o.Button.FadeOnPressContainer,{bg:"primary",onPress:function(){b.setOnboardingFinishedAsync(!0),O(!1)},children:(0,c.jsx)(o.View,{py:"small",children:(0,c.jsx)(o.Button.Text,{align:"center",size:"medium",color:"primary",weight:"medium",children:"Continue"})})})]})});return(0,c.jsx)(c.Fragment,{})};var n=t(r(d[1])),o=r(d[2]),s=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=h(n);if(o&&o.has(t))return o.get(t);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=l?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(s,u,c):s[u]=t[u]}s.default=t,o&&o.set(t,s);return s})(r(d[3])),l=r(d[4]),u=r(d[5]),c=r(d[6]);function h(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(h=function(t){return t?o:n})(t)}var f=l.Platform.select({ios:"You can shake your device or long press anywhere on the screen with three fingers to get back to it at any time.",android:"You can shake your device or long press anywhere on the screen with three fingers to get back to it at any time."}),y=l.Platform.select({ios:(0,c.jsxs)(o.Text,{size:"medium",children:["You can open it at any time with the ",(0,c.jsx)(o.Text,{weight:"bold",children:"\u2303 + d "})," keyboard shortcut",' ',(0,c.jsxs)(o.Text,{color:"secondary",size:"medium",children:["(\"Connect Hardware Keyboard\" must be enabled on your simulator to use this shortcut, you can toggle it with",' ',(0,c.jsx)(o.Text,{weight:"bold",color:"secondary",size:"medium",children:"\u2318 + shift + K"}),")."]})]}),android:(0,c.jsxs)(o.Text,{size:"medium",children:["You can press",' ',(0,c.jsx)(o.Text,{size:"medium",weight:"bold",children:"\u2318 + m"}),' ',"on macOS or",' ',(0,c.jsx)(o.Text,{size:"medium",weight:"bold",children:"Ctrl + m"}),' ',"on other platforms to get back to it at any time."]})})}),920,[5,46,431,95,1,869,205]);
|
|
927
|
+
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useClipboard=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,c=o.useState(''),l=(0,u.default)(c,2),p=l[0],s=l[1],y=o.useState(''),b=(0,u.default)(y,2),v=b[0],O=b[1],j=o.useRef(null);function P(t){return h.apply(this,arguments)}function h(){return(h=(0,n.default)((function*(t){var n;n='object'==typeof t?JSON.stringify(t,null,2):t,O(''),s(n),yield(0,f.copyToClipboardAsync)(n).catch((function(t){O(t.message),s('')}))}))).apply(this,arguments)}return o.useEffect((function(){return p&&(j.current=setTimeout((function(){s('')}),t)),function(){clearTimeout(j.current)}}),[p,t]),{onCopyPress:P,clipboardContent:p,clipboardError:v}};var n=t(r(d[1])),u=t(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=f?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(o,l,p):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3])),f=r(d[4]);function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}}),921,[5,323,46,95,851]);
|
|
928
928
|
__r(110);
|
|
929
929
|
__r(0);
|
|
@@ -25,7 +25,8 @@ class DevMenuKeyCommandsInterceptor {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
static let globalKeyCommands: [UIKeyCommand] = [
|
|
28
|
-
UIKeyCommand(input: "d", modifierFlags: .command, action: #selector(UIResponder.EXDevMenu_toggleDevMenu(_:)))
|
|
28
|
+
UIKeyCommand(input: "d", modifierFlags: .command, action: #selector(UIResponder.EXDevMenu_toggleDevMenu(_:))),
|
|
29
|
+
UIKeyCommand(input: "d", modifierFlags: .control, action: #selector(UIResponder.EXDevMenu_toggleDevMenu(_:)))
|
|
29
30
|
]
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -74,7 +75,7 @@ extension UIResponder: DevMenuUIResponderExtensionProtocol {
|
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
private func shouldTriggerAction(_ key: UIKeyCommand) -> Bool {
|
|
77
|
-
return UIResponder.lastKeyCommand !== key || CACurrentMediaTime() - UIResponder.lastKeyCommandExecutionTime > 0.
|
|
78
|
+
return UIResponder.lastKeyCommand !== key || CACurrentMediaTime() - UIResponder.lastKeyCommandExecutionTime > 0.1
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
private func tryHandleKeyCommand(_ key: UIKeyCommand, handler: () -> Void ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-menu",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Expo/React Native module with the developer menu.",
|
|
5
5
|
"main": "build/DevMenu.js",
|
|
6
6
|
"types": "build/DevMenu.d.ts",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"expo": "*"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "0fa20c9cbad0c73a30089ffc09073e6d94a6dabb"
|
|
75
75
|
}
|