moonyeju
2023-11-15
[FIX] 사진 촬영 오류 수정
@da380964b0ab162daa9e7cc5c8f095f2a819c718
--- android/app/src/main/assets/index.android.bundle
+++ android/app/src/main/assets/index.android.bundle
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 |
!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach(function(n,r){e[n]=!0}),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var g=r.name?': '+r.name:'';return n.stylize('[Function'+g+']','special')}if(p(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return p(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?p(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map(function(e){return l(n,r,u,s,e,j)}),n.seen.pop(),a(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],a=0,u=e.length;a<u;++a)b(e,String(a))?i.push(l(n,e,r,t,String(a),!0)):i.push('');return o.forEach(function(o){o.match(/^\d+$/)||i.push(l(n,e,r,t,o,!0))}),i}function l(n,e,t,o,i,l){var a,u,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?u=c.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):c.set&&(u=n.stylize('[Setter]','special')),b(o,i)||(a='['+i+']'),u||(n.seen.indexOf(c.value)<0?(u=f(t)?r(n,c.value,null):r(n,c.value,t-1)).indexOf('\n')>-1&&(u=l?u.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+u.split('\n').map(function(n){return' '+n}).join('\n')):u=n.stylize('[Circular]','special')),s(a)){if(l&&i.match(/^\d+$/))return u;(a=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,'name')):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,'string'))}return a+': '+u}function a(n,e,r){return n.reduce(function(n,e){return 0,e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function p(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r='(index)',t={trace:0,info:1,warn:2,error:3},o=[];o[t.trace]='debug',o[t.info]='log',o[t.warn]='warning',o[t.error]='error';var i=1;function l(r){return function(){var l;l=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var a=arguments[0],u=r;'string'==typeof a&&'Warning: '===a.slice(0,9)&&u>=t.error&&(u=t.warn),n.__inspectorLog&&n.__inspectorLog(o[u],l,[].slice.call(arguments),i),s.length&&(l=p('',l)),n.nativeLoggingHook(l,u)}}function a(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function p(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:l(t.error),info:l(t.info),log:l(t.info),warn:l(t.warn),trace:l(t.trace),debug:l(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var l=o[i];l[r]=i,e.push(l)}}if(0!==e.length){var u=Object.keys(e[0]).sort(),f=[],c=[];u.forEach(function(n,r){c[r]=n.length;for(var t=0;t<e.length;t++){var o=(e[t][n]||'?').toString();f[t]=f[t]||[],f[t][r]=o,c[r]=Math.max(c[r],o.length)}});for(var s=y(c.map(function(n){return a('-',n).join('')}),'-'),p=[y(u),s],g=0;g<e.length;g++)p.push(y(f[g]));n.nativeLoggingHook('\n'+p.join('\n'),t.info)}else n.nativeLoggingHook('',t.info);function y(n,e){var r=n.map(function(n,e){return n+a(' ',c[e]-n.length).join('')});return e=e||' ',r.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(p(f,e),t.info),s.push(u)},groupEnd:function(){s.pop(),n.nativeLoggingHook(p(c),t.info)},groupCollapsed:function(e){n.nativeLoggingHook(p(c,e),t.info),s.push(u)},assert:function(e,r){e||n.nativeLoggingHook('Assertion failed: '+r,t.error)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var g=function(){},y=n.print||g;n.console={debug:y,error:y,info:y,log:y,trace:y,warn:y,assert:function(n,e){n||y('Assertion failed: '+e)},clear:g,dir:g,dirxml:g,group:g,groupCollapsed:g,groupEnd:g,profile:g,profileEnd:g,table:g},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this); |
4 | 4 |
!(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this); |
5 | 5 |
'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window,(function(){'use strict';var e=Object.prototype.hasOwnProperty;'function'!=typeof Object.entries&&(Object.entries=function(n){if(null==n)throw new TypeError('Object.entries called on non-object');var o=[];for(var t in n)e.call(n,t)&&o.push([t,n[t]]);return o}),'function'!=typeof Object.values&&(Object.values=function(n){if(null==n)throw new TypeError('Object.values called on non-object');var o=[];for(var t in n)e.call(n,t)&&o.push(n[t]);return o})})(); |
6 |
-__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1])(r(d[2]));n.AppRegistry.registerComponent(r(d[3]).name,function(){return t.default})},0,[1,3,375,1082]); |
|
6 |
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1])(r(d[2]));n.AppRegistry.registerComponent(r(d[3]).name,function(){return t.default})},0,[1,3,375,1190]); |
|
7 | 7 |
__d(function(g,r,i,a,m,e,d){'use strict';m.exports={get AccessibilityInfo(){return r(d[0]).default},get ActivityIndicator(){return r(d[1])},get Button(){return r(d[2])},get DatePickerIOS(){return r(d[3])('DatePickerIOS-merged',"DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-datetimepicker/datetimepicker"),r(d[4])},get DrawerLayoutAndroid(){return r(d[5])},get FlatList(){return r(d[6])},get Image(){return r(d[7])},get ImageBackground(){return r(d[8])},get InputAccessoryView(){return r(d[9])},get KeyboardAvoidingView(){return r(d[10]).default},get MaskedViewIOS(){return r(d[3])('maskedviewios-moved',"MaskedViewIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-masked-view/masked-view' instead of 'react-native'. See https://github.com/react-native-masked-view/masked-view"),r(d[11])},get Modal(){return r(d[12])},get Pressable(){return r(d[13]).default},get ProgressBarAndroid(){return r(d[3])('progress-bar-android-moved',"ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-bar-android"),r(d[14])},get ProgressViewIOS(){return r(d[3])('progress-view-ios-moved',"ProgressViewIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-view"),r(d[15])},get RefreshControl(){return r(d[16])},get SafeAreaView(){return r(d[17]).default},get ScrollView(){return r(d[18])},get SectionList(){return r(d[19]).default},get Slider(){return r(d[3])('slider-moved',"Slider has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. See https://github.com/callstack/react-native-slider"),r(d[20])},get StatusBar(){return r(d[21])},get Switch(){return r(d[22]).default},get Text(){return r(d[23])},get TextInput(){return r(d[24])},get Touchable(){return r(d[25])},get TouchableHighlight(){return r(d[26])},get TouchableNativeFeedback(){return r(d[27])},get TouchableOpacity(){return r(d[28])},get TouchableWithoutFeedback(){return r(d[29])},get View(){return r(d[30])},get VirtualizedList(){return r(d[31])},get VirtualizedSectionList(){return r(d[32])},get ActionSheetIOS(){return r(d[33])},get Alert(){return r(d[34])},get Animated(){return r(d[35])},get Appearance(){return r(d[36])},get AppRegistry(){return r(d[37])},get AppState(){return r(d[38])},get AsyncStorage(){return r(d[3])('async-storage-moved',"AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See https://github.com/react-native-async-storage/async-storage"),r(d[39])},get BackHandler(){return r(d[40])},get Clipboard(){return r(d[3])('clipboard-moved',"Clipboard has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. See https://github.com/react-native-clipboard/clipboard"),r(d[41])},get DeviceInfo(){return r(d[42])},get DevSettings(){return r(d[43])},get Dimensions(){return r(d[44])},get Easing(){return r(d[45])},get findNodeHandle(){return r(d[46]).findNodeHandle},get I18nManager(){return r(d[47])},get ImagePickerIOS(){return r(d[3])('imagePickerIOS-moved',"ImagePickerIOS has been extracted from react-native core and will be removed in a future release. Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. See https://github.com/rnc-archive/react-native-image-picker-ios"),r(d[48])},get InteractionManager(){return r(d[49])},get Keyboard(){return r(d[50])},get LayoutAnimation(){return r(d[51])},get Linking(){return r(d[52])},get LogBox(){return r(d[53])},get NativeDialogManagerAndroid(){return r(d[54]).default},get NativeEventEmitter(){return r(d[55]).default},get Networking(){return r(d[56])},get PanResponder(){return r(d[57])},get PermissionsAndroid(){return r(d[58])},get PixelRatio(){return r(d[59])},get PushNotificationIOS(){return r(d[3])('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-push-notification-ios/push-notification-ios"),r(d[60])},get Settings(){return r(d[61])},get Share(){return r(d[62])},get StyleSheet(){return r(d[63])},get Systrace(){return r(d[64])},get ToastAndroid(){return r(d[65])},get TurboModuleRegistry(){return r(d[66])},get UIManager(){return r(d[67])},get unstable_batchedUpdates(){return r(d[46]).unstable_batchedUpdates},get useColorScheme(){return r(d[68]).default},get useWindowDimensions(){return r(d[69]).default},get UTFSequence(){return r(d[70])},get Vibration(){return r(d[71])},get YellowBox(){return r(d[72])},get DeviceEventEmitter(){return r(d[73]).default},get DynamicColorIOS(){return r(d[74]).DynamicColorIOS},get NativeAppEventEmitter(){return r(d[75])},get NativeModules(){return r(d[76])},get Platform(){return r(d[77])},get PlatformColor(){return r(d[78]).PlatformColor},get processColor(){return r(d[79])},get requireNativeComponent(){return r(d[80])},get RootTagContext(){return r(d[81]).RootTagContext},get unstable_enableLogBox(){return function(){return console.warn('LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.')}},get ColorPropType(){r(d[82])(!1,"ColorPropType has been removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.")},get EdgeInsetsPropType(){r(d[82])(!1,"EdgeInsetsPropType has been removed from React Native. Migrate to EdgeInsetsPropType exported from 'deprecated-react-native-prop-types'.")},get PointPropType(){r(d[82])(!1,"PointPropType has been removed from React Native. Migrate to PointPropType exported from 'deprecated-react-native-prop-types'.")},get ViewPropTypes(){r(d[82])(!1,"ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.")}}},1,[2,170,183,277,278,279,234,264,285,286,288,289,291,298,177,300,255,301,239,273,303,280,305,184,309,313,317,196,197,318,172,238,274,319,106,198,321,323,338,341,329,344,346,347,156,223,38,296,349,208,241,242,351,354,108,88,87,355,357,155,359,361,362,171,25,364,16,32,366,369,370,371,373,4,374,116,18,14,142,139,180,295,17]); |
8 | 8 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s='android'===t.default.OS?new Map([['change','touchExplorationDidChange'],['reduceMotionChanged','reduceMotionDidChange'],['screenReaderChanged','touchExplorationDidChange'],['accessibilityServiceChanged','accessibilityServiceDidChange']]):new Map([['announcementFinished','announcementFinished'],['boldTextChanged','boldTextChanged'],['change','screenReaderChanged'],['grayscaleChanged','grayscaleChanged'],['invertColorsChanged','invertColorsChanged'],['reduceMotionChanged','reduceMotionChanged'],['reduceTransparencyChanged','reduceTransparencyChanged'],['screenReaderChanged','screenReaderChanged']]),c={isBoldTextEnabled:function(){return'android'===t.default.OS?Promise.resolve(!1):new Promise(function(n,t){null!=u.default?u.default.getCurrentBoldTextState(n,t):t(null)})},isGrayscaleEnabled:function(){return'android'===t.default.OS?Promise.resolve(!1):new Promise(function(n,t){null!=u.default?u.default.getCurrentGrayscaleState(n,t):t(null)})},isInvertColorsEnabled:function(){return'android'===t.default.OS?Promise.resolve(!1):new Promise(function(n,t){null!=u.default?u.default.getCurrentInvertColorsState(n,t):t(null)})},isReduceMotionEnabled:function(){return new Promise(function(n,o){'android'===t.default.OS?null!=l.default?l.default.isReduceMotionEnabled(n):o(null):null!=u.default?u.default.getCurrentReduceMotionState(n,o):o(null)})},prefersCrossFadeTransitions:function(){return new Promise(function(n,l){if('android'===t.default.OS)return Promise.resolve(!1);null!=(null==u.default?void 0:u.default.getCurrentPrefersCrossFadeTransitionsState)?u.default.getCurrentPrefersCrossFadeTransitionsState(n,l):l(null)})},isReduceTransparencyEnabled:function(){return'android'===t.default.OS?Promise.resolve(!1):new Promise(function(n,t){null!=u.default?u.default.getCurrentReduceTransparencyState(n,t):t(null)})},isScreenReaderEnabled:function(){return new Promise(function(n,o){'android'===t.default.OS?null!=l.default?l.default.isTouchExplorationEnabled(n):o(null):null!=u.default?u.default.getCurrentVoiceOverState(n,o):o(null)})},isAccessibilityServiceEnabled:function(){return new Promise(function(n,u){'android'===t.default.OS&&null!=l.default&&null!=l.default.isAccessibilityServiceEnabled?l.default.isAccessibilityServiceEnabled(n):u(null)})},addEventListener:function(t,l){var u=s.get(t);return null==u?{remove:function(){}}:n.default.addListener(u,l)},setAccessibilityFocus:function(n){(0,o.default)(n,'focus')},sendAccessibilityEvent:function(n,l){'ios'===t.default.OS&&'click'===l||(0,r(d[6]).sendAccessibilityEvent)(n,l)},announceForAccessibility:function(n){'android'===t.default.OS?null==l.default||l.default.announceForAccessibility(n):null==u.default||u.default.announceForAccessibility(n)},announceForAccessibilityWithOptions:function(n,o){'android'===t.default.OS?null==l.default||l.default.announceForAccessibility(n):null!=u.default&&u.default.announceForAccessibilityWithOptions?null==u.default||u.default.announceForAccessibilityWithOptions(n,o):null==u.default||u.default.announceForAccessibility(n)},getRecommendedTimeoutMillis:function(n){return'android'===t.default.OS?new Promise(function(t,u){null!=l.default&&l.default.getRecommendedTimeoutMillis?l.default.getRecommendedTimeoutMillis(n,t):t(n)}):Promise.resolve(n)}};e.default=c},2,[3,4,14,29,30,31,38]); |
9 | 9 |
__d(function(g,r,i,a,m,e,d){m.exports=function(t){return t&&t.__esModule?t:{default:t}},m.exports.__esModule=!0,m.exports.default=m.exports},3,[]); |
... | ... | @@ -382,16 +382,16 @@ |
382 | 382 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthContext=void 0,e.default=function(o){var f=o.children,l=(0,n.useState)(null),c=(0,t.default)(l,2),s=c[0],p=c[1],h=(0,n.useState)(null),v=(0,t.default)(h,2),y=v[0],O=v[1],j=function(t){return JSON.parse(r(d[3]).Buffer.from(t.split('.')[1],'base64').toString())},b=function(t,n){fetch(r(d[4]).url+"/auth/login",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({id:t,password:n})}).then(function(t){return t.json()}).then(function(t){var n=t.result,o=t.token;if('success'===n){p(o);var u=j(o);O(u),console.log('login \uc131\uacf5'),console.log('userInfo',u)}else alert('\ub85c\uadf8\uc778 \uc815\ubcf4\ub97c \ub2e4\uc2dc \ud55c \ubc88 \ud655\uc778\ud574\uc8fc\uc138\uc694.')}).catch(function(t){console.error(t)})},P=n.default.useMemo(function(){return{onClickLogin:b,setUserInfo:O,userToken:s,userInfo:y}});return(0,r(d[5]).jsx)(u.Provider,{value:P,children:f})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=(0,n.createContext)();e.AuthContext=u},376,[3,19,122,377,379,175]); |
383 | 383 |
__d(function(g,r,_i,_a,_m,_e,d){'use strict';function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var e='function'==typeof Symbol&&'function'==typeof Symbol.for?Symbol.for('nodejs.util.inspect.custom'):null;_e.Buffer=o,_e.SlowBuffer=function(t){+t!=t&&(t=0);return o.alloc(+t)},_e.INSPECT_MAX_BYTES=50;var n=2147483647;function i(t){if(t>n)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,n){if('number'==typeof t){if('string'==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return f(t,e,n)}function f(t,e,n){if('string'==typeof t)return a(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(nt(t,ArrayBuffer)||t&&nt(t.buffer,ArrayBuffer))return l(t,e,n);if('undefined'!=typeof SharedArrayBuffer&&(nt(t,SharedArrayBuffer)||t&&nt(t.buffer,SharedArrayBuffer)))return l(t,e,n);if('number'==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return o.from(i,e,n);var f=y(t);if(f)return f;if('undefined'!=typeof Symbol&&null!=Symbol.toPrimitive&&'function'==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]('string'),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if('number'!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function s(t,e,n){return u(t),t<=0?i(t):void 0!==e?'string'==typeof n?i(t).fill(e,n):i(t).fill(e):i(t)}function h(t){return u(t),i(t<0?0:0|w(t))}function a(t,e){if('string'==typeof e&&''!==e||(e='utf8'),!o.isEncoding(e))throw new TypeError('Unknown encoding: '+e);var n=0|v(t,e),f=i(n),u=f.write(t,e);return u!==n&&(f=f.slice(0,u)),f}function p(t){for(var e=t.length<0?0:0|w(t.length),n=i(e),o=0;o<e;o+=1)n[o]=255&t[o];return n}function c(t){if(nt(t,Uint8Array)){var e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return p(t)}function l(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(i,o.prototype),i}function y(t){if(o.isBuffer(t)){var e=0|w(t.length),n=i(e);return 0===n.length?n:(t.copy(n,0,0,e),n)}return void 0!==t.length?'number'!=typeof t.length||it(t.length)?i(0):p(t):'Buffer'===t.type&&Array.isArray(t.data)?p(t.data):void 0}function w(t){if(t>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+' bytes');return 0|t}function v(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||nt(t,ArrayBuffer))return t.byteLength;if('string'!=typeof t)throw new TypeError("The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type "+typeof t);var n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var f=!1;;)switch(e){case'ascii':case'latin1':case'binary':return n;case'utf8':case'utf-8':return K(t).length;case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return 2*n;case'hex':return n>>>1;case'base64':return rt(t).length;default:if(f)return i?-1:K(t).length;e=(''+e).toLowerCase(),f=!0}}function b(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return'';if((void 0===n||n>this.length)&&(n=this.length),n<=0)return'';if((n>>>=0)<=(e>>>=0))return'';for(t||(t='utf8');;)switch(t){case'hex':return P(this,e,n);case'utf8':case'utf-8':return L(this,e,n);case'ascii':return S(this,e,n);case'latin1':case'binary':return x(this,e,n);case'base64':return O(this,e,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return k(this,e,n);default:if(i)throw new TypeError('Unknown encoding: '+t);t=(t+'').toLowerCase(),i=!0}}function B(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function E(t,e,n,i,f){if(0===t.length)return-1;if('string'==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),it(n=+n)&&(n=f?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(f)return-1;n=t.length-1}else if(n<0){if(!f)return-1;n=0}if('string'==typeof e&&(e=o.from(e,i)),o.isBuffer(e))return 0===e.length?-1:m(t,e,n,i,f);if('number'==typeof e)return e&=255,'function'==typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,i,f);throw new TypeError('val must be string, number or Buffer')}function m(t,e,n,i,o){var f,u=1,s=t.length,h=e.length;if(void 0!==i&&('ucs2'===(i=String(i).toLowerCase())||'ucs-2'===i||'utf16le'===i||'utf-16le'===i)){if(t.length<2||e.length<2)return-1;u=2,s/=2,h/=2,n/=2}function a(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}if(o){var p=-1;for(f=n;f<s;f++)if(a(t,f)===a(e,-1===p?0:f-p)){if(-1===p&&(p=f),f-p+1===h)return p*u}else-1!==p&&(f-=f-p),p=-1}else for(n+h>s&&(n=s-h),f=n;f>=0;f--){for(var c=!0,l=0;l<h;l++)if(a(t,f+l)!==a(e,l)){c=!1;break}if(c)return f}return-1}function I(t,e,n,i){n=Number(n)||0;var o=t.length-n;i?(i=Number(i))>o&&(i=o):i=o;var f,u=e.length;for(i>u/2&&(i=u/2),f=0;f<i;++f){var s=parseInt(e.substr(2*f,2),16);if(it(s))return f;t[n+f]=s}return f}function U(t,e,n,i){return et(K(e,t.length-n),t,n,i)}function A(t,e,n,i){return et(Q(e),t,n,i)}function R(t,e,n,i){return et(rt(e),t,n,i)}function T(t,e,n,i){return et(tt(e,t.length-n),t,n,i)}function O(t,e,n){return 0===e&&n===t.length?r(d[2]).fromByteArray(t):r(d[2]).fromByteArray(t.slice(e,n))}function L(t,e,n){n=Math.min(t.length,n);for(var i=[],o=e;o<n;){var f=t[o],u=null,s=f>239?4:f>223?3:f>191?2:1;if(o+s<=n){var h=void 0,a=void 0,p=void 0,c=void 0;switch(s){case 1:f<128&&(u=f);break;case 2:128==(192&(h=t[o+1]))&&(c=(31&f)<<6|63&h)>127&&(u=c);break;case 3:h=t[o+1],a=t[o+2],128==(192&h)&&128==(192&a)&&(c=(15&f)<<12|(63&h)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:h=t[o+1],a=t[o+2],p=t[o+3],128==(192&h)&&128==(192&a)&&128==(192&p)&&(c=(15&f)<<18|(63&h)<<12|(63&a)<<6|63&p)>65535&&c<1114112&&(u=c)}}null===u?(u=65533,s=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=s}return _(i)}_e.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=(function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}})(),o.TYPED_ARRAY_SUPPORT||'undefined'==typeof console||'function'!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,'parent',{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,'offset',{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(t,e,n){return f(t,e,n)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(t,e,n){return s(t,e,n)},o.allocUnsafe=function(t){return h(t)},o.allocUnsafeSlow=function(t){return h(t)},o.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==o.prototype},o.compare=function(t,e){if(nt(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),nt(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,i=e.length,f=0,u=Math.min(n,i);f<u;++f)if(t[f]!==e[f]){n=t[f],i=e[f];break}return n<i?-1:i<n?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case'hex':case'utf8':case'utf-8':case'ascii':case'latin1':case'binary':case'base64':case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return!0;default:return!1}},o.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=o.allocUnsafe(e),f=0;for(n=0;n<t.length;++n){var u=t[n];if(nt(u,Uint8Array))f+u.length>i.length?(o.isBuffer(u)||(u=o.from(u)),u.copy(i,f)):Uint8Array.prototype.set.call(i,u,f);else{if(!o.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(i,f)}f+=u.length}return i},o.byteLength=v,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError('Buffer size must be a multiple of 16-bits');for(var e=0;e<t;e+=2)B(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError('Buffer size must be a multiple of 32-bits');for(var e=0;e<t;e+=4)B(this,e,e+3),B(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError('Buffer size must be a multiple of 64-bits');for(var e=0;e<t;e+=8)B(this,e,e+7),B(this,e+1,e+6),B(this,e+2,e+5),B(this,e+3,e+4);return this},o.prototype.toString=function(){var t=this.length;return 0===t?'':0===arguments.length?L(this,0,t):b.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError('Argument must be a Buffer');return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t='',e=_e.INSPECT_MAX_BYTES;return t=this.toString('hex',0,e).replace(/(.{2})/g,'$1 ').trim(),this.length>e&&(t+=' ... '),'<Buffer '+t+'>'},e&&(o.prototype[e]=o.prototype.inspect),o.prototype.compare=function(t,e,n,i,f){if(nt(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError("The \"target\" argument must be one of type Buffer or Uint8Array. Received type "+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===f&&(f=this.length),e<0||n>t.length||i<0||f>this.length)throw new RangeError('out of range index');if(i>=f&&e>=n)return 0;if(i>=f)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,f>>>=0,this===t)return 0;for(var u=f-i,s=n-e,h=Math.min(u,s),a=this.slice(i,f),p=t.slice(e,n),c=0;c<h;++c)if(a[c]!==p[c]){u=a[c],s=p[c];break}return u<s?-1:s<u?1:0},o.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},o.prototype.indexOf=function(t,e,n){return E(this,t,e,n,!0)},o.prototype.lastIndexOf=function(t,e,n){return E(this,t,e,n,!1)},o.prototype.write=function(t,e,n,i){if(void 0===e)i='utf8',n=this.length,e=0;else if(void 0===n&&'string'==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');e>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i='utf8')):(i=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError('Attempt to write outside buffer bounds');i||(i='utf8');for(var f=!1;;)switch(i){case'hex':return I(this,t,e,n);case'utf8':case'utf-8':return U(this,t,e,n);case'ascii':case'latin1':case'binary':return A(this,t,e,n);case'base64':return R(this,t,e,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return T(this,t,e,n);default:if(f)throw new TypeError('Unknown encoding: '+i);i=(''+i).toLowerCase(),f=!0}},o.prototype.toJSON=function(){return{type:'Buffer',data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function _(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);for(var n='',i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=M));return n}function S(t,e,n){var i='';n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(127&t[o]);return i}function x(t,e,n){var i='';n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(t[o]);return i}function P(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o='',f=e;f<n;++f)o+=ot[t[f]];return o}function k(t,e,n){for(var i=t.slice(e,n),o='',f=0;f<i.length-1;f+=2)o+=String.fromCharCode(i[f]+256*i[f+1]);return o}function C(t,e,n){if(t%1!=0||t<0)throw new RangeError('offset is not uint');if(t+e>n)throw new RangeError('Trying to access beyond buffer length')}function N(t,e,n,i,f,u){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>f||e<u)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError('Index out of range')}function F(t,e,n,i,o){X(e,i,o,t,n,7);var f=Number(e&BigInt(4294967295));t[n++]=f,f>>=8,t[n++]=f,f>>=8,t[n++]=f,f>>=8,t[n++]=f;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,n}function j(t,e,n,i,o){X(e,i,o,t,n,7);var f=Number(e&BigInt(4294967295));t[n+7]=f,f>>=8,t[n+6]=f,f>>=8,t[n+5]=f,f>>=8,t[n+4]=f;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=u,u>>=8,t[n+2]=u,u>>=8,t[n+1]=u,u>>=8,t[n]=u,n+8}function D(t,e,n,i,o,f){if(n+i>t.length)throw new RangeError('Index out of range');if(n<0)throw new RangeError('Index out of range')}function z(t,e,n,i,o){return e=+e,n>>>=0,o||D(t,0,n,4),r(d[3]).write(t,e,n,i,23,4),n+4}function Y(t,e,n,i,o){return e=+e,n>>>=0,o||D(t,0,n,8),r(d[3]).write(t,e,n,i,52,8),n+8}o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var i=this.subarray(t,e);return Object.setPrototypeOf(i,o.prototype),i},o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t],o=1,f=0;++f<e&&(o*=256);)i+=this[t+f]*o;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t+--e],o=1;e>0&&(o*=256);)i+=this[t+--e]*o;return i},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readBigUInt64LE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),o=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(i)+(BigInt(o)<<BigInt(32))}),o.prototype.readBigUInt64BE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],o=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n;return(BigInt(i)<<BigInt(32))+BigInt(o)}),o.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=this[t],o=1,f=0;++f<e&&(o*=256);)i+=this[t+f]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},o.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||C(t,e,this.length);for(var i=e,o=1,f=this[t+--i];i>0&&(o*=256);)f+=this[t+--i]*o;return f>=(o*=128)&&(f-=Math.pow(2,8*e)),f},o.prototype.readInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||C(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){t>>>=0,e||C(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readBigInt64LE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24))}),o.prototype.readBigInt64BE=ft(function(t){J(t>>>=0,'offset');var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||Z(t,this.length-8);var i=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n)}),o.prototype.readFloatLE=function(t,e){return t>>>=0,e||C(t,4,this.length),r(d[3]).read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||C(t,4,this.length),r(d[3]).read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||C(t,8,this.length),r(d[3]).read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||C(t,8,this.length),r(d[3]).read(this,t,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,n,i){(t=+t,e>>>=0,n>>>=0,i)||N(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,f=0;for(this[e]=255&t;++f<n&&(o*=256);)this[e+f]=t/o&255;return e+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(t,e,n,i){(t=+t,e>>>=0,n>>>=0,i)||N(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,f=1;for(this[e+o]=255&t;--o>=0&&(f*=256);)this[e+o]=t/f&255;return e+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigUInt64LE=ft(function(t){return F(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt('0xffffffffffffffff'))}),o.prototype.writeBigUInt64BE=ft(function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt('0xffffffffffffffff'))}),o.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var o=Math.pow(2,8*n-1);N(this,t,e,n,o-1,-o)}var f=0,u=1,s=0;for(this[e]=255&t;++f<n&&(u*=256);)t<0&&0===s&&0!==this[e+f-1]&&(s=1),this[e+f]=(t/u>>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var o=Math.pow(2,8*n-1);N(this,t,e,n,o-1,-o)}var f=n-1,u=1,s=0;for(this[e+f]=255&t;--f>=0&&(u*=256);)t<0&&0===s&&0!==this[e+f+1]&&(s=1),this[e+f]=(t/u>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigInt64LE=ft(function(t){return F(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt('0x8000000000000000'),BigInt('0x7fffffffffffffff'))}),o.prototype.writeBigInt64BE=ft(function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt('0x8000000000000000'),BigInt('0x7fffffffffffffff'))}),o.prototype.writeFloatLE=function(t,e,n){return z(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return z(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,i){if(!o.isBuffer(t))throw new TypeError('argument should be a Buffer');if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError('targetStart out of bounds');if(n<0||n>=this.length)throw new RangeError('Index out of range');if(i<0)throw new RangeError('sourceEnd out of bounds');i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var f=i-n;return this===t&&'function'==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),e),f},o.prototype.fill=function(t,e,n,i){if('string'==typeof t){if('string'==typeof e?(i=e,e=0,n=this.length):'string'==typeof n&&(i=n,n=this.length),void 0!==i&&'string'!=typeof i)throw new TypeError('encoding must be a string');if('string'==typeof i&&!o.isEncoding(i))throw new TypeError('Unknown encoding: '+i);if(1===t.length){var f=t.charCodeAt(0);('utf8'===i&&f<128||'latin1'===i)&&(t=f)}}else'number'==typeof t?t&=255:'boolean'==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError('Out of range index');if(n<=e)return this;var u;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),'number'==typeof t)for(u=e;u<n;++u)this[u]=t;else{var s=o.isBuffer(t)?t:o.from(t,i),h=s.length;if(0===h)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=s[u%h]}return this};var G={};function V(e,n,i){G[e]=(function(i){r(d[4])(s,i);var o,f,u=(o=s,f=t(),function(){var t,e=r(d[0])(o);if(f){var n=r(d[0])(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return r(d[1])(this,t)});function s(){var t;return r(d[5])(this,s),t=u.call(this),Object.defineProperty(r(d[6])(t),'message',{value:n.apply(r(d[6])(t),arguments),writable:!0,configurable:!0}),t.name=t.name+" ["+e+"]",t.stack,delete t.name,t}return r(d[7])(s,[{key:"code",get:function(){return e},set:function(t){Object.defineProperty(this,'code',{configurable:!0,enumerable:!0,value:t,writable:!0})}},{key:"toString",value:function(){return this.name+" ["+e+"]: "+this.message}}]),s})(i)}function q(t){for(var e='',n=t.length,i='-'===t[0]?1:0;n>=i+4;n-=3)e="_"+t.slice(n-3,n)+e;return""+t.slice(0,n)+e}function W(t,e,n){J(e,'offset'),void 0!==t[e]&&void 0!==t[e+n]||Z(e,t.length-(n+1))}function X(t,e,n,i,o,f){if(t>n||t<e){var u,s='bigint'==typeof e?'n':'';throw u=f>3?0===e||e===BigInt(0)?">= 0"+s+" and < 2"+s+" ** "+8*(f+1)+s:">= -(2"+s+" ** "+(8*(f+1)-1)+s+") and < 2 ** "+(8*(f+1)-1)+s:">= "+e+s+" and <= "+n+s,new G.ERR_OUT_OF_RANGE('value',u,t)}W(i,o,f)}function J(t,e){if('number'!=typeof t)throw new G.ERR_INVALID_ARG_TYPE(e,'number',t)}function Z(t,e,n){if(Math.floor(t)!==t)throw J(t,n),new G.ERR_OUT_OF_RANGE(n||'offset','an integer',t);if(e<0)throw new G.ERR_BUFFER_OUT_OF_BOUNDS;throw new G.ERR_OUT_OF_RANGE(n||'offset',">= "+(n?1:0)+" and <= "+e,t)}V('ERR_BUFFER_OUT_OF_BOUNDS',function(t){return t?t+" is outside of buffer bounds":'Attempt to access memory outside buffer bounds'},RangeError),V('ERR_INVALID_ARG_TYPE',function(t,e){return"The \""+t+"\" argument must be of type number. Received type "+typeof e},TypeError),V('ERR_OUT_OF_RANGE',function(t,e,n){var i="The value of \""+t+"\" is out of range.",o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=q(String(n)):'bigint'==typeof n&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=q(o)),o+='n'),i+=" It must be "+e+". Received "+o},RangeError);var $=/[^+/0-9A-Za-z-_]/g;function H(t){if((t=(t=t.split('=')[0]).trim().replace($,'')).length<2)return'';for(;t.length%4!=0;)t+='=';return t}function K(t,e){var n;e=e||1/0;for(var i=t.length,o=null,f=[],u=0;u<i;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}if(u+1===i){(e-=3)>-1&&f.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&f.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error('Invalid code point');if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return f}function Q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function tt(t,e){for(var n,i,o,f=[],u=0;u<t.length&&!((e-=2)<0);++u)i=(n=t.charCodeAt(u))>>8,o=n%256,f.push(o),f.push(i);return f}function rt(t){return r(d[2]).toByteArray(H(t))}function et(t,e,n,i){var o;for(o=0;o<i&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function nt(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function it(t){return t!=t}var ot=(function(){for(var t=new Array(256),e=0;e<16;++e)for(var n=16*e,i=0;i<16;++i)t[n+i]="0123456789abcdef"[e]+"0123456789abcdef"[i];return t})();function ft(t){return'undefined'==typeof BigInt?ut:t}function ut(){throw new Error('BigInt not supported')}},377,[47,48,86,378,51,12,50,13]); |
384 | 384 |
__d(function(g,r,_i,a,_m,_e,_d){_e.read=function(o,t,h,M,f){var w,p,i=8*f-M-1,n=(1<<i)-1,N=n>>1,e=-7,u=h?f-1:0,s=h?-1:1,c=o[t+u];for(u+=s,w=c&(1<<-e)-1,c>>=-e,e+=i;e>0;w=256*w+o[t+u],u+=s,e-=8);for(p=w&(1<<-e)-1,w>>=-e,e+=M;e>0;p=256*p+o[t+u],u+=s,e-=8);if(0===w)w=1-N;else{if(w===n)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,M),w-=N}return(c?-1:1)*p*Math.pow(2,w-M)},_e.write=function(o,t,h,M,f,w){var p,i,n,N=8*w-f-1,e=(1<<N)-1,u=e>>1,s=23===f?Math.pow(2,-24)-Math.pow(2,-77):0,c=M?0:w-1,l=M?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,p=e):(p=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-p))<1&&(p--,n*=2),(t+=p+u>=1?s/n:s*Math.pow(2,1-u))*n>=2&&(p++,n/=2),p+u>=e?(i=0,p=e):p+u>=1?(i=(t*n-1)*Math.pow(2,f),p+=u):(i=t*Math.pow(2,u-1)*Math.pow(2,f),p=0));f>=8;o[h+c]=255&i,c+=l,i/=256,f-=8);for(p=p<<f|i,N+=f;N>0;o[h+c]=255&p,c+=l,p/=256,N-=8);o[h+c-l]|=128*d}},378,[]); |
385 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.url=void 0;e.url='http://165.229.169.126:8000'},379,[]); |
|
386 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MapContext=void 0,_e.default=function(t){var u=t.children,l=(0,n.useState)(),c=(0,e.default)(l,2),p=c[0],y=c[1],P=(0,n.useState)(null),v=(0,e.default)(P,2),O=v[0],S=v[1],h=(0,n.useState)(),M=(0,e.default)(h,2),j=M[0],_=(M[1],(0,n.useState)({latitude:0,longitude:0})),b=(0,e.default)(_,2),w=b[0],C=(b[1],(0,n.useState)([])),A=(0,e.default)(C,2),I=A[0],k=A[1],x=(0,n.useState)(),E=(0,e.default)(x,2),N=E[0];E[1];(0,n.useEffect)(function(){s().then(function(e){console.log({result:e}),'granted'===e&&o.default.watchPosition(function(e){y(e.coords)},function(e){console.log(e)},{fastestInterval:1e3})})},[]);var Q=function(e){p.latitude,p.longitude},W=n.default.useMemo(function(){return{onQuery:Q,location:p,searchQuery:O,setSearchQuery:S,startPoint:j,endPoint:w,nodes:I,setNodes:k,km:N}});return(0,r(d[6]).jsx)(f.Provider,{value:W,children:u})};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var s=u?Object.getOwnPropertyDescriptor(e,f):null;s&&(s.get||s.set)?Object.defineProperty(o,f,s):o[f]=e[f]}o.default=e,n&&n.set(e,o);return o})(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[5]);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var f=(0,n.createContext)();function s(){return c.apply(this,arguments)}function c(){return(c=(0,t.default)(function*(){try{if('ios'===u.Platform.OS)return yield o.default.requestAuthorization('always');if('android'===u.Platform.OS)return yield u.PermissionsAndroid.request(u.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION)}catch(e){console.log(e)}})).apply(this,arguments)}_e.MapContext=f},380,[3,19,265,122,381,1,175]); |
|
385 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.url=void 0;e.url='http://192.168.0.138:8080'},379,[]); |
|
386 |
+__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MapContext=void 0,_e.default=function(e){var o=e.children,i=(0,n.useState)(),f=(0,t.default)(i,2),c=f[0],h=f[1],p=(0,n.useState)(null),v=(0,t.default)(p,2),y=v[0],M=v[1],P=(0,n.useState)(!1),S=(0,t.default)(P,2),O=(S[0],S[1],(0,n.useState)()),_=(0,t.default)(O,2),j=_[0],I=_[1],b=(0,n.useState)({latitude:0,longitude:0}),w=(0,t.default)(b,2),C=w[0],x=w[1],A=(0,n.useState)([]),N=(0,t.default)(A,2),k=N[0],E=N[1],T=(0,n.useState)(),Q=(0,t.default)(T,2),W=Q[0],q=Q[1];function D(t,e,n,u){if(t==n&&e==u)return 0;var o=Math.PI*t/180,i=Math.PI*n/180,l=e-u,s=Math.PI*l/180,f=Math.sin(o)*Math.sin(i)+Math.cos(o)*Math.cos(i)*Math.cos(s);return f>1&&(f=1),f=(f=60*(f=180*(f=Math.acos(f))/Math.PI)*1.1515*1.609344*1e3)<100?10*Math.round(f/10):100*Math.round(f/100)}(0,n.useEffect)(function(){s().then(function(t){console.log({result:t}),'granted'===t&&u.default.watchPosition(function(t){h(t.coords)},function(t){console.log(t)},{fastestInterval:1e3})})},[]);var F=function(t){M(t);var e=c.latitude,n=c.longitude;return fetch(r(d[6]).url+"/trip/trip2",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({dest1_x:e,dest1_y:n,path_end:t})}).then(function(t){return t.json()}).then(function(t){var e=t.nodes,n=t.start_point,u=t.end_point,o={};o.latitude=u[0],o.longitude=u[1],x(o);var i=e,l=i.map(function(t){var e={};return e.latitude=t[0],e.longitude=t[1],e});E(l);var s={};s.latitude=n[0],s.longitude=n[1],I(s);for(var f=[],c=0;c<l.length-1;c++){var h=D(l[c].latitude,l[c].longitude,l[c+1].latitude,l[c+1].longitude);f.push(h)}var p=f.reduce(function(t,e){return t+e},0),v=p/1e3;return q(v),l})},z=n.default.useMemo(function(){return{onQuery:F,location:c,searchQuery:y,setSearchQuery:M,startPoint:j,endPoint:C,nodes:k,setNodes:E,km:W}});return(0,r(d[7]).jsx)(l.Provider,{value:z,children:o})};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=o?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(u,l,s):u[l]=t[l]}u.default=t,n&&n.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[5]);function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}var l=(0,n.createContext)();function s(){return f.apply(this,arguments)}function f(){return(f=(0,e.default)(function*(){try{if('ios'===o.Platform.OS)return yield u.default.requestAuthorization('always');if('android'===o.Platform.OS)return yield o.PermissionsAndroid.request(o.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION)}catch(t){console.log(t)}})).apply(this,arguments)}_e.MapContext=l},380,[3,19,265,122,381,1,379,175]); |
|
387 | 387 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PositionError=void 0;var E=r(d[0])(r(d[1])),I=Object.freeze({PERMISSION_DENIED:1,POSITION_UNAVAILABLE:2,TIMEOUT:3,PLAY_SERVICE_NOT_AVAILABLE:4,SETTINGS_NOT_SATISFIED:5,INTERNAL_ERROR:-1});e.PositionError=I;var _=E.default;e.default=_},381,[3,382]); |
388 | 388 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0])(r(d[1])),t=r(d[2]),n=t.NativeModules.RNFusedLocation,s=new t.NativeEventEmitter(n),u=function(){},l=[],v=!1,c={setRNConfiguration:function(o){},requestAuthorization:(function(){var s=(0,o.default)(function*(o){return'ios'!==t.Platform.OS?Promise.reject('requestAuthorization is only for iOS'):(o||console.error('authorizationLevel must be provided'),n.requestAuthorization(o))});return function(o){return s.apply(this,arguments)}})(),getCurrentPosition:function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||console.error('Must provide a success callback'),n.getCurrentPosition(s,o,t)},watchPosition:function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||console.error('Must provide a success callback'),v||(n.startObserving(u),v=!0);var c=l.length;return l.push([s.addListener('geolocationDidChange',o),t?s.addListener('geolocationError',t):null]),c},clearWatch:function(o){var t=l[o];if(t){t[0].remove();var n=t[1];n&&n.remove(),l[o]=void 0;for(var s=!0,u=0;u<l.length;u+=1)l[u]&&(s=!1);s&&c.stopObserving()}},stopObserving:function(){if(v){n.stopObserving(),v=!1;for(var o=0;o<l.length;o+=1){var t=l[o];if(t){console.warn('Called stopObserving with existing subscriptions.'),t[0].remove();var s=t[1];s&&s.remove()}}l=[]}}},f=c;e.default=f},382,[3,265,1]); |
389 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var l=(0,n.useContext)(r(d[6]).AuthContext).userToken,c=(0,n.useState)(!0),p=(0,t.default)(c,2),s=p[0],j=p[1];return setTimeout(function(){j(!1)},3e3),(0,r(d[7]).jsx)(r(d[8]).NavigationContainer,{children:s?(0,r(d[7]).jsx)(u.default,{}):null!==l?(0,r(d[7]).jsx)(o.default,{}):(0,r(d[7]).jsx)(f.default,{})})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=l(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=f?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),f=r(d[0])(r(d[5]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(l=function(t){return t?u:n})(t)}},383,[3,19,122,384,388,1072,376,175,572]); |
|
389 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var l=(0,n.useContext)(r(d[6]).AuthContext).userToken,c=(0,n.useState)(!0),p=(0,t.default)(c,2),s=p[0],j=p[1];return setTimeout(function(){j(!1)},3e3),(0,r(d[7]).jsx)(r(d[8]).NavigationContainer,{children:s?(0,r(d[7]).jsx)(u.default,{}):null!==l?(0,r(d[7]).jsx)(o.default,{}):(0,r(d[7]).jsx)(f.default,{})})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=l(n);if(u&&u.has(t))return u.get(t);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=f?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),f=r(d[0])(r(d[5]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(l=function(t){return t?u:n})(t)}},383,[3,19,122,384,388,1173,376,175,572]); |
|
390 | 390 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[3]).jsx)(t.View,{style:n.container,children:(0,r(d[3]).jsx)(t.Image,{source:r(d[4]),style:n.image1})})};r(d[0])(r(d[1]));var t=r(d[2]);var n=t.StyleSheet.create({container:{flex:1,justifyContent:'center',backgroundColor:r(d[5]).PRIMERY,color:r(d[5]).BLACK},splashCompanyLogo:{flex:1,justifyContent:'center',alignItems:'center'},image1:{width:'100%',height:'100%',resizeMode:'cover'}})},384,[3,122,1,175,385,387]); |
391 | 391 |
__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:526,height:918,scales:[1],hash:"a5dd9f96dacf3d2ed814033c0d207b21",name:"splash_screen",type:"png"})},385,[386]); |
392 | 392 |
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},386,[152]); |
393 | 393 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.WHITE=e.RED=e.PRIMERY=e.LIGHTGRAY=e.GRAY=e.BLACK=void 0;e.GRAY='#cccccc';e.LIGHTGRAY='#dddddd';e.BLACK='#000000';e.RED='#ff0000';e.WHITE='#ffffff';e.PRIMERY='#16A695'},387,[]); |
394 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[7]).jsxs)(s.Navigator,{initialRouteName:"Main screen",drawerContent:function(n){return(0,r(d[7]).jsx)(t.default,Object.assign({},n))},screenOptions:{headerShown:!1,drawerActiveBackgroundColor:r(d[8]).BLACK,drawerActiveTintColor:r(d[8]).GRAY,drawerLabelStyle:{marginLeft:-25}},children:[(0,r(d[7]).jsx)(s.Screen,{name:"Main screen",component:o.default,options:{drawerLabel:'\ud648',drawerIcon:function(t){return(0,r(d[7]).jsx)(n.default,{name:"home",size:15,color:t})}}}),(0,r(d[7]).jsx)(s.Screen,{name:"Login screen",component:c.default,options:{drawerItemStyle:{display:'none'}}})]})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),c=r(d[0])(r(d[5])),s=(0,r(d[6]).createDrawerNavigator)()},388,[3,122,389,402,856,1072,404,175,387]); |
|
394 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[7]).jsxs)(s.Navigator,{initialRouteName:"Main screen",drawerContent:function(n){return(0,r(d[7]).jsx)(t.default,Object.assign({},n))},screenOptions:{headerShown:!1,drawerActiveBackgroundColor:r(d[8]).BLACK,drawerActiveTintColor:r(d[8]).GRAY,drawerLabelStyle:{marginLeft:-25}},children:[(0,r(d[7]).jsx)(s.Screen,{name:"Main screen",component:o.default,options:{drawerLabel:'\ud648',drawerIcon:function(t){return(0,r(d[7]).jsx)(n.default,{name:"home",size:15,color:t})}}}),(0,r(d[7]).jsx)(s.Screen,{name:"Login screen",component:c.default,options:{drawerItemStyle:{display:'none'}}})]})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),c=r(d[0])(r(d[5])),s=(0,r(d[6]).createDrawerNavigator)()},388,[3,122,389,402,856,1173,404,175,387]); |
|
395 | 395 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Button=void 0,Object.defineProperty(e,"FA5Style",{enumerable:!0,get:function(){return r(d[0]).FA5Style}}),e.getImageSourceSync=e.getImageSource=e.default=void 0;var t=r(d[1])(r(d[2])),u=r(d[1])(r(d[3])),o=(0,r(d[0]).createFA5iconSet)(t.default,u.default,!1),c=o;e.default=c;var n=o.Button,S=o.getImageSource,l=o.getImageSourceSync;e.getImageSourceSync=l,e.getImageSource=S,e.Button=n},389,[390,3,400,401]); |
396 | 396 |
__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.FA5Style=void 0,e.createFA5iconSet=function(l){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=Object.keys(o),u="FontAwesome5"+(i?'Pro':'Free');function s(n,o){var f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,s=n,v="FontAwesome5_"+(i?"Pro_"+s:s)+".ttf";return'Brands'===s&&(s='Regular',v='FontAwesome5_Brands.ttf'),{fontFamily:f+"-"+s,fontFile:v,fontStyle:t.Platform.select({ios:{fontWeight:o},default:{}}),glyphMap:l}}var v=s('Brands','400','FontAwesome5Brands'),c=s('Light','300'),h=s('Regular','400'),F=s('Solid','900');return(0,n.default)({brand:v,light:c,regular:h,solid:F},{defaultStyle:'regular',fallbackFamily:function(t){for(var n=0;n<f.length;n+=1){var l=f[n];if(-1!==o[l].indexOf(t))return'brands'===l?'brand':l}return'regular'},glyphValidator:function(t,n){var l='brand'===n?'brands':n;return-1!==f.indexOf(l)&&-1!==o[l].indexOf(t)}})};var t=r(d[0]),n=r(d[1])(r(d[2]));e.FA5Style={regular:'regular',light:'light',solid:'solid',brand:'brand'}},390,[1,3,391]); |
397 | 397 |
__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(p){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=Object.keys(p);if(0===h.length)throw new Error('You need to add at least one style');var O=Object.assign({defaultStyle:h[0],fallbackFamily:function(){return h[0]},glyphValidator:function(){return!0}},s),b=h.reduce(function(t,e){var n=p[e];return t[e]=(0,y.default)(n.glyphMap||{},n.fontFamily||'',n.fontFile||'',n.fontStyle||{}),t},{});function S(t){return Object.keys(t).reduce(function(e,n){return-1!==h.indexOf(n)&&!0===t[n]?n:e},O.defaultStyle)}function j(t){var e=t.name,n=S(t);if(O.glyphValidator(e,n))return b[n];var u=O.fallbackFamily(e);return-1===h.indexOf(u)?O.defaultStyle:b[u]}function F(t){return Object.keys(t).reduce(function(e,n){return-1===h.indexOf(n)&&(e[n]=t[n]),e},{})}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return-1===h.indexOf(t)?b[O.defaultStyle]:e?j((0,l.default)({name:e},t,!0)):b[S((0,l.default)({},t,!0))]}function k(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',y=(function(f){(0,n.default)(s,f);var c,y,p=(c=s,y=v(),function(){var t,e=(0,o.default)(c);if(y){var n=(0,o.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function s(){return(0,t.default)(this,s),p.apply(this,arguments)}return(0,e.default)(s,[{key:"render",value:function(){var t,e,n=j(this.props),u=(t=n,(e=l).length>0?t[e]:t),o=F(this.props);return(0,r(d[10]).jsx)(u,Object.assign({},o))}}]),s})(f.PureComponent);return y.propTypes=h.reduce(function(t,e){return t[e]=c.default.bool,t},{}),y.defaultProps=h.reduce(function(t,e){return t[e]=!1,t},{}),y}var w=k();return w.Button=k('Button'),w.getStyledIconSet=_,w.getImageSource=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.DEFAULT_ICON_SIZE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y.DEFAULT_ICON_COLOR;return _(arguments.length>3&&void 0!==arguments[3]?arguments[3]:O.defaultStyle,t).getImageSource(t,e,n)},w.getFontFamily=function(){return _(arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.defaultStyle).getFontFamily()},w.getRawGlyphMap=function(){return _(arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.defaultStyle).getRawGlyphMap()},w.hasIcon=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.defaultStyle;return O.glyphValidator(t,e)},w};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),f=s(r(d[7])),c=r(d[0])(r(d[8])),y=s(r(d[9]));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}function s(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var f=o?Object.getOwnPropertyDescriptor(t,l):null;f&&(f.get||f.set)?Object.defineProperty(u,l,f):u[l]=t[l]}return u.default=t,n&&n.set(t,u),u}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}},391,[3,12,13,51,48,47,235,122,392,395,175]); |
... | ... | @@ -859,9 +859,9 @@ |
859 | 859 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o},853,[1]); |
860 | 860 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a drawer. Is your component inside a drawer navigator?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}},854,[122,3,844]); |
861 | 861 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a drawer. Is your component inside a drawer navigator?");return o};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}},855,[122,3,548]); |
862 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[4]).jsx)(t.Navigator,{initialRouteName:"Main",screenOptions:{headerBackTitleVisible:!1,headerShown:!1},children:(0,r(d[4]).jsx)(t.Screen,{name:"Main",component:n.default})})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=(0,r(d[3]).createNativeStackNavigator)()},856,[3,122,857,1064,175]); |
|
863 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){p.navigation;var y=(0,o.useContext)(r(d[9]).MapContext),v=(y.onQuery,y.searchQuery,y.location),j=(y.nodes,(0,o.useState)(!1)),b=(0,n.default)(j,2),x=b[0],S=(b[1],(0,o.useState)(!1)),w=(0,n.default)(S,2),O=w[0],P=(w[1],(0,o.useState)('')),T=(0,n.default)(P,2),C=T[0],E=T[1],k=(0,o.useState)(null),D=(0,n.default)(k,2),_=D[0],M=D[1],R=(0,o.useState)(!1),I=(0,n.default)(R,2),U=I[0],A=I[1],L=(0,r(d[10]).useCameraDevices)(),V=L.back,N=(0,o.useRef)(null),W=(0,o.useState)(!1),B=(0,n.default)(W,2),F=B[0],q=B[1],H=function(){q(!F)},J=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[10]).Camera.requestCameraPermission();'denied'===t&&(yield s.Linking.openSettings())}),[]);(0,o.useEffect)(function(){if(J(),L&&L.back&&L.back.devices.includes('telephoto-camera')&&!U){var t=L.back.devices.find(function(t){return'telephoto-camera'===t});t&&(N.current=t,A(!0))}},[L,U]),(0,o.useEffect)(function(){if(U&&O){var t=setInterval(function(){E('\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'),M(new Date),Q()},5e3);return function(){clearInterval(t),E(''),M(null)}}},[U,O]);var Q=(z=(0,t.default)(function*(){if(U&&N.current){var t=yield N.current.takePhoto({flash:'off',qualityPrioritization:'speed'});if(t&&t.path){var n=t.path,o=n.split('/'),l=o[o.length-1],s=l.split('.'),u=s[0],f=[{name:'file',filename:l,filepath:n,filetype:'image/jpg'}];yield c.default.uploadFiles({toUrl:r(d[11]).url+"//action/image_summit",files:f,method:'POST',headers:{},begin:function(t){var n=t.jobId;console.log('UPLOAD HAS BEGUN! JobId: '+n)},progress:function(t){var n=Math.floor(t.totalBytesSent/t.totalBytesExpectedToSend*100);console.log('UPLOAD IS '+n+'% DONE!')}}).promise.then(function(t){if(200!==t.statusCode)throw new Error('SERVER ERROR: '+t.statusCode);return fetch(r(d[11]).url+"/action/image_anal",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({filename:u,file_type:'.jpg',gps_x:v.latitude,gps_y:v.longitude})})}).then(function(t){return t.json()}).then(function(t){var n=t.node,o=t.rain;if(null===n||'rain'!==o)throw new Error('No data or not fog');H()}).catch(function(t){console.error('Error during file upload or image analysis:',t)})}else console.log('Failed to take a photo.')}else console.log('Devices are not loaded or camera is not available.')}),function(){return z.apply(this,arguments)});var z;return(0,r(d[12]).jsxs)(s.View,{style:{flex:1},children:[(0,r(d[12]).jsx)(u.default,{lat:v.latitude,long:v.longitude,latDelta:.005,longDelta:.005,showsUserLocation:!0}),(0,r(d[12]).jsxs)(s.View,{style:h.container,children:[(0,r(d[12]).jsx)(l.default,{title:x?'\uc6b4\ud589 \uc885\ub8cc':'\uc6b4\ud589 \uc2dc\uc791',onPress:H,color:r(d[13]).WHITE,width:'100%',textAlign:'center',padding:10,backgroundColor:x?r(d[13]).RED:r(d[13]).PRIMERY}),U&&O&&(0,r(d[12]).jsx)(r(d[10]).Camera,{ref:N,device:V,isActive:!0,photo:!0}),C&&_&&(0,r(d[12]).jsxs)(s.View,{style:h.infoContainer,children:[(0,r(d[12]).jsx)(s.Text,{children:C}),(0,r(d[12]).jsxs)(s.Text,{style:h.normalText,children:["Sent at: ",_.toLocaleTimeString()]}),(0,r(d[12]).jsx)(s.Text,{style:h.normalText,children:'\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'===C?'\uc0ac\uc9c4\uc744 \ucd2c\uc601\ud569\ub2c8\ub2e4.':''})]})]}),(0,r(d[12]).jsx)(f.default,{isVisible:F,toggleModal:H,alertTitle:"\ud3ed\uc6b0 \ubc1c\uc0dd \uc54c\ub9bc",alertMessage:"\ud3ed\uc6b0\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4."})]})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=s?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=t[u]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[5]),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=r(d[0])(r(d[8]));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)}var h=s.StyleSheet.create({container:{width:'45%',position:'absolute',bottom:7,right:15},infoContainer:{marginTop:16,justifyContent:'center',alignItems:'center'},normalText:{color:'black'}})},857,[3,265,19,122,403,1,858,1017,1020,380,1046,379,175,387]); |
|
864 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var p=f.lat,h=f.long,j=f.showsUserLocation,w=f.latDelta,v=f.longDelta,b=f.children,O=(0,o.useState)(),x=(0,n.default)(O,2),D=x[0],P=x[1],S=(k=(0,t.default)(function*(){try{var t=yield fetch(r(d[8]).url+"/action/action_display",{method:'GET',headers:{'Content-Type':'application/json'}});if(t.ok){var n=yield t.json();console.log('data',n),P(n.report.map(function(t){return{latitude:t[0],longitude:t[1]}}))}else console.error('Server returned an error.',error)}catch(t){console.error('An error occurred:',t)}}),function(){return k.apply(this,arguments)});var k;return(0,r(d[9]).jsxs)(l.View,{style:y.mapStyle,children:[(0,r(d[9]).jsx)(l.View,{style:y.searchContainer,children:(0,r(d[9]).jsx)(s.default,{placeholder:'\ub3c4\ucc29\uc9c0\ub97c \uc785\ub825\ud558\uc138\uc694'})}),(0,r(d[9]).jsxs)(u.default,{style:y.mapStyle,provider:u.PROVIDER_GOOGLE,initialRegion:{latitude:p,longitude:h,latitudeDelta:w,longitudeDelta:v},showsUserLocation:j,children:[b,D&&D.length>0&&D.map(function(t,n){return(0,r(d[9]).jsx)(u.Marker,{coordinate:t,pinColor:r(d[10]).RED,title:"action Location"},n)})]}),(0,r(d[9]).jsx)(l.View,{style:y.buttonstyle,children:(0,r(d[9]).jsx)(l.View,{style:y.markerButtonStyle,children:(0,r(d[9]).jsx)(c.default,{title:'\ub9c8\ucee4 \ud45c\uc2dc',onPress:S,color:r(d[10]).WHITE,width:'100%',textAlign:'center',padding:10,backgroundColor:r(d[10]).PRIMERY})})})]})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=p(r(d[3])),l=r(d[4]),u=p(r(d[5])),c=r(d[0])(r(d[6])),s=r(d[0])(r(d[7]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}function p(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}return l.default=t,o&&o.set(t,l),l}var y=l.StyleSheet.create({markerButtonStyle:{width:'45%',position:'absolute',bottom:7,left:0},mapStyle:{flex:1},searchContainer:{paddingTop:10,flexDirection:'row',width:'100%',justifyContent:'center',alignItems:'center',paddingHorizontal:5},buttonstyle:{marginHorizontal:15}})},858,[3,265,19,122,1,859,403,880,379,175,387]); |
|
862 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[7]).jsxs)(s.Navigator,{initialRouteName:"Main",screenOptions:{headerBackTitleVisible:!1,headerShown:!1},children:[(0,r(d[7]).jsx)(s.Screen,{name:"Main",component:n.default}),(0,r(d[7]).jsx)(s.Screen,{name:"DestinationList",component:o.default}),(0,r(d[7]).jsx)(s.Screen,{name:"Driving",component:t.default}),(0,r(d[7]).jsx)(s.Screen,{name:"Login screen",component:c.default})]})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),c=r(d[0])(r(d[5])),s=(0,r(d[6]).createNativeStackNavigator)()},856,[3,122,857,1064,1170,1173,1182,175]); |
|
863 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(h){h.navigation;var v=(0,o.useContext)(r(d[10]).MapContext),j=(v.onQuery,v.searchQuery,v.location),x=(v.nodes,(0,o.useState)(!1)),b=(0,n.default)(x,2),w=b[0],S=b[1],C=(0,o.useState)(!1),O=(0,n.default)(C,2),T=O[0],P=O[1],E=(0,o.useState)(''),k=(0,n.default)(E,2),D=k[0],_=k[1],I=(0,o.useState)(null),M=(0,n.default)(I,2),R=M[0],U=M[1],V=(0,o.useState)(!1),A=(0,n.default)(V,2),L=A[0],N=A[1],W=(0,r(d[11]).useCameraDevices)(),B=W.back,F=(0,o.useRef)(null),H=(0,o.useState)(!1),q=(0,n.default)(H,2),z=q[0],J=q[1],Q=function(){J(!z)},G=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[11]).Camera.requestCameraPermission();'denied'===t&&(yield s.Linking.openSettings())}),[]);(0,o.useEffect)(function(){if(G(),W&&W.back&&W.back.devices.includes('telephoto-camera')&&!L){var t=W.back.devices.find(function(t){return'telephoto-camera'===t});t&&(F.current=t,N(!0))}},[W,L]),(0,o.useEffect)(function(){if(L&&T){var t=setInterval(function(){_('\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'),U(new Date),Y()},5e3);return function(){clearInterval(t),_(''),U(null)}}},[L,T]);var Y=(K=(0,t.default)(function*(){if(L&&F.current){var t=yield F.current.takePhoto({flash:'off',qualityPrioritization:'speed'});if(t&&t.path){var n=t.path,o=n.split('/'),l=o[o.length-1],s=l.split('.'),u=s[0],f=[{name:'file',filename:l,filepath:n,filetype:'image/jpg'}];yield c.default.uploadFiles({toUrl:r(d[12]).url+"//action/image_summit",files:f,method:'POST',headers:{},begin:function(t){var n=t.jobId;console.log('UPLOAD HAS BEGUN! JobId: '+n)},progress:function(t){var n=Math.floor(t.totalBytesSent/t.totalBytesExpectedToSend*100);console.log('UPLOAD IS '+n+'% DONE!')}}).promise.then(function(t){if(200!==t.statusCode)throw new Error('SERVER ERROR: '+t.statusCode);return fetch(r(d[12]).url+"/action/image_anal",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({filename:u,file_type:'.jpg',gps_x:j.latitude,gps_y:j.longitude})})}).then(function(t){return t.json()}).then(function(t){var n=t.node,o=t.rain;if(null===n||'rain'!==o)throw new Error('No data or not fog');Q()}).catch(function(t){console.error('Error during file upload or image analysis:',t)})}else console.log('Failed to take a photo.')}else console.log('Devices are not loaded or camera is not available.')}),function(){return K.apply(this,arguments)});var K;return(0,r(d[13]).jsxs)(s.View,{style:{flex:1},children:[(0,r(d[13]).jsx)(s.View,{style:y.searchContainer,children:(0,r(d[13]).jsx)(p.default,{placeholder:'\ub3c4\ucc29\uc9c0\ub97c \uc785\ub825\ud558\uc138\uc694'})}),(0,r(d[13]).jsx)(u.default,{lat:j.latitude,long:j.longitude,latDelta:.005,longDelta:.005,showsUserLocation:!0}),(0,r(d[13]).jsxs)(s.View,{style:y.container,children:[(0,r(d[13]).jsx)(l.default,{title:w?'\uc6b4\ud589 \uc885\ub8cc':'\uc6b4\ud589 \uc2dc\uc791',onPress:function(){S(function(t){return!t}),w?(P(!1),clearInterval(void 0)):P(!0)},color:r(d[14]).WHITE,width:'100%',textAlign:'center',padding:10,backgroundColor:w?r(d[14]).RED:r(d[14]).PRIMERY}),L&&T&&(0,r(d[13]).jsx)(r(d[11]).Camera,{ref:F,device:B,isActive:!0,photo:!0}),D&&R&&(0,r(d[13]).jsxs)(s.View,{style:y.infoContainer,children:[(0,r(d[13]).jsx)(s.Text,{children:D}),(0,r(d[13]).jsxs)(s.Text,{style:y.normalText,children:["Sent at: ",R.toLocaleTimeString()]}),(0,r(d[13]).jsx)(s.Text,{style:y.normalText,children:'\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'===D?'\uc0ac\uc9c4\uc744 \ucd2c\uc601\ud569\ub2c8\ub2e4.':''})]})]}),(0,r(d[13]).jsx)(f.default,{isVisible:z,toggleModal:Q,alertTitle:"\ud3ed\uc6b0 \ubc1c\uc0dd \uc54c\ub9bc",alertMessage:"\ud3ed\uc6b0\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4."})]})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=h(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=s?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=t[u]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[5]),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),p=r(d[0])(r(d[9]));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 y=s.StyleSheet.create({container:{width:'90%',position:'absolute',bottom:7,right:15},searchContainer:{paddingTop:10,flexDirection:'row',width:'100%',justifyContent:'center',alignItems:'center',paddingHorizontal:5},infoContainer:{marginTop:16,justifyContent:'center',alignItems:'center'},normalText:{color:'black'}})},857,[3,265,19,122,403,1,858,1017,1020,880,380,1046,379,175,387]); |
|
864 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var f=c.lat,p=c.long,y=c.showsUserLocation,h=c.latDelta,v=c.longDelta,j=c.children,O=(0,n.useState)(),b=(0,o.default)(O,2),w=b[0],D=b[1];S=(0,t.default)(function*(){try{var t=yield fetch(r(d[8]).url+"/action/action_display",{method:'GET',headers:{'Content-Type':'application/json'}});if(t.ok){var o=yield t.json();console.log('data',o),D(o.report.map(function(t){return{latitude:t[0],longitude:t[1]}}))}else console.error('Server returned an error.',error)}catch(t){console.error('An error occurred:',t)}});var S;return(0,r(d[9]).jsx)(l.View,{style:s.mapStyle,children:(0,r(d[9]).jsxs)(u.default,{style:s.mapStyle,provider:u.PROVIDER_GOOGLE,initialRegion:{latitude:f,longitude:p,latitudeDelta:h,longitudeDelta:v},showsUserLocation:y,children:[j,w&&w.length>0&&w.map(function(t,o){return(0,r(d[9]).jsx)(u.Marker,{coordinate:t,pinColor:r(d[10]).RED,title:"action Location"},o)})]})})};var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=f(r(d[3])),l=r(d[4]),u=f(r(d[5]));r(d[0])(r(d[6])),r(d[0])(r(d[7]));function c(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:o})(t)}function f(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=c(o);if(n&&n.has(t))return n.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}return l.default=t,n&&n.set(t,l),l}var s=l.StyleSheet.create({markerButtonStyle:{width:'45%',position:'absolute',bottom:7,left:0},mapStyle:{flex:1},buttonstyle:{marginHorizontal:15}})},858,[3,265,19,122,1,859,403,880,379,175,387]); |
|
865 | 865 |
__d(function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,l,u){void 0===u&&(u=l);var o=Object.getOwnPropertyDescriptor(n,l);o&&("get"in o?n.__esModule:!o.writable&&!o.configurable)||(o={enumerable:!0,get:function(){return n[l]}}),Object.defineProperty(t,u,o)}:function(t,n,l,u){void 0===u&&(u=l),t[u]=n[l]}),n=this&&this.__setModuleDefault||(Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n}),l=this&&this.__importStar||function(l){if(l&&l.__esModule)return l;var u={};if(null!=l)for(var o in l)"default"!==o&&Object.prototype.hasOwnProperty.call(l,o)&&t(u,l,o);return n(u,l),u},u=this&&this.__exportStar||function(n,l){for(var u in n)"default"===u||Object.prototype.hasOwnProperty.call(l,u)||t(l,n,u)},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.OverlayAnimated=e.MarkerAnimated=e.enableLatestRenderer=e.MAP_TYPES=e.Animated=e.Overlay=e.Marker=e.Geojson=e.AnimatedRegion=e.MapCalloutSubview=e.CalloutSubview=e.MapCallout=e.Callout=e.MapLocalTile=e.LocalTile=e.MapWMSTile=e.WMSTile=e.MapUrlTile=e.UrlTile=e.MapCircle=e.Circle=e.MapPolygon=e.Polygon=e.MapHeatmap=e.Heatmap=e.MapPolyline=e.Polyline=e.MapOverlay=e.MapMarker=void 0;var f=l(r(d[0]));Object.defineProperty(e,"Animated",{enumerable:!0,get:function(){return f.AnimatedMapView}}),Object.defineProperty(e,"MAP_TYPES",{enumerable:!0,get:function(){return f.MAP_TYPES}}),Object.defineProperty(e,"enableLatestRenderer",{enumerable:!0,get:function(){return f.enableLatestRenderer}});var c=o(r(d[1]));e.Marker=c.default,Object.defineProperty(e,"MapMarker",{enumerable:!0,get:function(){return r(d[1]).MapMarker}});var p=o(r(d[2]));e.Overlay=p.default,Object.defineProperty(e,"MapOverlay",{enumerable:!0,get:function(){return r(d[2]).MapOverlay}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return o(r(d[3])).default}}),Object.defineProperty(e,"MapPolyline",{enumerable:!0,get:function(){return r(d[3]).MapPolyline}}),Object.defineProperty(e,"Heatmap",{enumerable:!0,get:function(){return o(r(d[4])).default}}),Object.defineProperty(e,"MapHeatmap",{enumerable:!0,get:function(){return r(d[4]).MapHeatmap}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return o(r(d[5])).default}}),Object.defineProperty(e,"MapPolygon",{enumerable:!0,get:function(){return r(d[5]).MapPolygon}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return o(r(d[6])).default}}),Object.defineProperty(e,"MapCircle",{enumerable:!0,get:function(){return r(d[6]).MapCircle}}),Object.defineProperty(e,"UrlTile",{enumerable:!0,get:function(){return o(r(d[7])).default}}),Object.defineProperty(e,"MapUrlTile",{enumerable:!0,get:function(){return r(d[7]).MapUrlTile}}),Object.defineProperty(e,"WMSTile",{enumerable:!0,get:function(){return o(r(d[8])).default}}),Object.defineProperty(e,"MapWMSTile",{enumerable:!0,get:function(){return r(d[8]).MapWMSTile}}),Object.defineProperty(e,"LocalTile",{enumerable:!0,get:function(){return o(r(d[9])).default}}),Object.defineProperty(e,"MapLocalTile",{enumerable:!0,get:function(){return r(d[9]).MapLocalTile}}),Object.defineProperty(e,"Callout",{enumerable:!0,get:function(){return o(r(d[10])).default}}),Object.defineProperty(e,"MapCallout",{enumerable:!0,get:function(){return r(d[10]).MapCallout}}),Object.defineProperty(e,"CalloutSubview",{enumerable:!0,get:function(){return o(r(d[11])).default}}),Object.defineProperty(e,"MapCalloutSubview",{enumerable:!0,get:function(){return r(d[11]).MapCalloutSubview}}),Object.defineProperty(e,"AnimatedRegion",{enumerable:!0,get:function(){return o(r(d[12])).default}}),Object.defineProperty(e,"Geojson",{enumerable:!0,get:function(){return o(r(d[13])).default}}),u(r(d[14]),e),u(r(d[15]),e),u(r(d[16]),e),e.MarkerAnimated=c.default.Animated,e.OverlayAnimated=p.default.Animated,e.default=f.default},859,[860,864,866,867,868,869,870,871,872,873,874,875,876,877,861,878,879]); |
866 | 866 |
__d(function(g,r,i,a,_m,_e,d){"use strict";function e(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var t=this&&this.__createBinding||(Object.create?function(e,t,o,n){void 0===n&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);s&&("get"in s?t.__esModule:!s.writable&&!s.configurable)||(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,s)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var s in e)"default"!==s&&Object.prototype.hasOwnProperty.call(e,s)&&t(n,e,s);return o(n,e),n};Object.defineProperty(_e,"__esModule",{value:!0}),_e.enableLatestRenderer=_e.AnimatedMapView=_e.MAP_TYPES=void 0;var s=n(r(d[2])),u=r(d[3]),l=n(r(d[4]));_e.MAP_TYPES={STANDARD:'standard',SATELLITE:'satellite',HYBRID:'hybrid',TERRAIN:'terrain',NONE:'none',MUTEDSTANDARD:'mutedStandard'};var p=[_e.MAP_TYPES.TERRAIN,_e.MAP_TYPES.NONE],m=(function(t){r(d[5])(c,t);var o,n,m=(o=c,n=e(),function(){var e,t=r(d[0])(o);if(n){var s=r(d[0])(this).constructor;e=Reflect.construct(t,arguments,s)}else e=t.apply(this,arguments);return r(d[1])(this,e)});function c(e){var t;return r(d[6])(this,c),(t=m.call(this,e)).map=s.createRef(),t.state={isReady:'ios'===u.Platform.OS},t._onMapReady=t._onMapReady.bind(r(d[7])(t)),t._onChange=t._onChange.bind(r(d[7])(t)),t}return r(d[8])(c,[{key:"setNativeProps",value:function(e){var t;console.warn('setNativeProps is deprecated and will be removed in next major release'),null==(t=this.map.current)||t.setNativeProps(e)}},{key:"_onMapReady",value:function(){var e=this.props.onMapReady;this.setState({isReady:!0},function(){e&&e()})}},{key:"_onChange",value:function(e){var t=e.nativeEvent,o={isGesture:t.isGesture};t.continuous?this.props.onRegionChange&&this.props.onRegionChange(t.region,o):this.props.onRegionChangeComplete&&this.props.onRegionChangeComplete(t.region,o)}},{key:"getCamera",value:function(){return'android'===u.Platform.OS?u.NativeModules.AirMapModule.getCamera(this._getHandle()):'ios'===u.Platform.OS?this._runCommand('getCamera',[]):Promise.reject('getCamera not supported on this platform')}},{key:"setCamera",value:function(e){this.map.current&&r(d[9]).Commands.setCamera(this.map.current,e)}},{key:"animateCamera",value:function(e,t){this.map.current&&r(d[9]).Commands.animateCamera(this.map.current,e,null!=t&&t.duration?t.duration:500)}},{key:"animateToRegion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;this.map.current&&r(d[9]).Commands.animateToRegion(this.map.current,e,t)}},{key:"fitToElements",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.map.current){var t=e.edgePadding,o=void 0===t?{top:0,right:0,bottom:0,left:0}:t,n=e.animated,s=void 0===n||n;r(d[9]).Commands.fitToElements(this.map.current,o,s)}}},{key:"fitToSuppliedMarkers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.map.current){var o=t.edgePadding,n=void 0===o?{top:0,right:0,bottom:0,left:0}:o,s=t.animated,u=void 0===s||s;r(d[9]).Commands.fitToSuppliedMarkers(this.map.current,e,n,u)}}},{key:"fitToCoordinates",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.map.current){var o=t.edgePadding,n=void 0===o?{top:0,right:0,bottom:0,left:0}:o,s=t.animated,u=void 0===s||s;r(d[9]).Commands.fitToCoordinates(this.map.current,e,n,u)}}},{key:"getMapBoundaries",value:(function(){var e=r(d[10])(function*(){return'android'===u.Platform.OS?yield u.NativeModules.AirMapModule.getMapBoundaries(this._getHandle()):'ios'===u.Platform.OS?yield this._runCommand('getMapBoundaries',[]):Promise.reject('getMapBoundaries not supported on this platform')});return function(){return e.apply(this,arguments)}})()},{key:"setMapBoundaries",value:function(e,t){this.map.current&&r(d[9]).Commands.setMapBoundaries(this.map.current,e,t)}},{key:"setIndoorActiveLevelIndex",value:function(e){this.map.current&&r(d[9]).Commands.setIndoorActiveLevelIndex(this.map.current,e)}},{key:"takeSnapshot",value:function(e){var t=this,o={width:e.width||0,height:e.height||0,region:e.region||{},format:e.format||'png',quality:e.quality||1,result:e.result||'file'};if('png'!==o.format&&'jpg'!==o.format)throw new Error('Invalid format specified');if('file'!==o.result&&'base64'!==o.result)throw new Error('Invalid result specified');return'android'===u.Platform.OS?u.NativeModules.AirMapModule.takeSnapshot(this._getHandle(),o):'ios'===u.Platform.OS?new Promise(function(e,n){t._runCommand('takeSnapshot',[o.width,o.height,o.region,o.format,o.quality,o.result,function(t,o){t?n(t):e(o)}])}):Promise.reject('takeSnapshot not supported on this platform')}},{key:"addressForCoordinate",value:function(e){return'android'===u.Platform.OS?u.NativeModules.AirMapModule.getAddressFromCoordinates(this._getHandle(),e):'ios'===u.Platform.OS?this._runCommand('getAddressFromCoordinates',[e]):Promise.reject('getAddress not supported on this platform')}},{key:"pointForCoordinate",value:function(e){return'android'===u.Platform.OS?u.NativeModules.AirMapModule.pointForCoordinate(this._getHandle(),e):'ios'===u.Platform.OS?this._runCommand('pointForCoordinate',[e]):Promise.reject('pointForCoordinate not supported on this platform')}},{key:"coordinateForPoint",value:function(e){return'android'===u.Platform.OS?u.NativeModules.AirMapModule.coordinateForPoint(this._getHandle(),e):'ios'===u.Platform.OS?this._runCommand('coordinateForPoint',[e]):Promise.reject('coordinateForPoint not supported on this platform')}},{key:"getMarkersFrames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return'ios'===u.Platform.OS?this._runCommand('getMarkersFrames',[e]):Promise.reject('getMarkersFrames not supported on this platform')}},{key:"boundingBoxForRegion",value:function(e){return{northEast:{latitude:e.latitude+e.latitudeDelta/2,longitude:e.longitude+e.longitudeDelta/2},southWest:{latitude:e.latitude-e.latitudeDelta/2,longitude:e.longitude-e.longitudeDelta/2}}}},{key:"_mapManagerCommand",value:function(e){return u.NativeModules[(0,r(d[11]).getNativeMapName)(this.props.provider)+"Manager"][e]}},{key:"_getHandle",value:function(){return(0,u.findNodeHandle)(this.map.current)}},{key:"_runCommand",value:function(e,t){return'ios'===u.Platform.OS?this._mapManagerCommand(e).apply(void 0,[this._getHandle()].concat(r(d[12])(t))):Promise.reject("Invalid platform was passed: "+u.Platform.OS)}},{key:"render",value:function(){var e;if(this.state.isReady?(e=Object.assign({region:null,initialRegion:null,onChange:this._onChange,onMapReady:this._onMapReady,ref:this.map,customMapStyleString:this.props.customMapStyle?JSON.stringify(this.props.customMapStyle):void 0},this.props),'ios'===u.Platform.OS&&e.provider===l.PROVIDER_DEFAULT&&e.mapType&&p.includes(e.mapType)&&(e.mapType=_e.MAP_TYPES.STANDARD),e.onPanDrag&&(e.handlePanDrag=!!e.onPanDrag)):e={style:this.props.style,region:null,initialRegion:this.props.initialRegion||null,initialCamera:this.props.initialCamera,ref:this.map,onChange:this._onChange,onMapReady:this._onMapReady,onLayout:this.props.onLayout,customMapStyleString:this.props.customMapStyle?JSON.stringify(this.props.customMapStyle):void 0},'android'===u.Platform.OS&&this.props.liteMode)return r(d[13]).jsx(r(d[11]).ProviderContext.Provider,{value:this.props.provider,children:r(d[13]).jsx(h,Object.assign({},e))});var t=f(this.props.provider);return r(d[13]).jsx(r(d[11]).ProviderContext.Provider,{value:this.props.provider,children:r(d[13]).jsx(t,Object.assign({},e))})}}]),c})(s.Component),c={default:(0,u.requireNativeComponent)('AIRMap'),google:function(){return null}};'android'===u.Platform.OS?c.google=c.default:c.google=r(d[11]).googleMapIsInstalled?(0,u.requireNativeComponent)('AIRGoogleMap'):(0,r(d[11]).createNotSupportedComponent)('react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS.');var f=function(e){return c[e||'default']},h=u.UIManager.getViewManagerConfig('AIRMapLite')?(0,u.requireNativeComponent)('AIRMapLite'):function(){return null};_e.AnimatedMapView=u.Animated.createAnimatedComponent(m);_e.enableLatestRenderer=function(){if('android'===u.Platform.OS)return u.NativeModules.AirMapModule.enableLatestRenderer()},m.Animated=_e.AnimatedMapView,_e.default=m},860,[47,48,122,1,861,51,12,50,13,862,265,863,6,175]); |
867 | 867 |
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PROVIDER_GOOGLE=e.PROVIDER_DEFAULT=void 0,e.PROVIDER_DEFAULT=void 0,e.PROVIDER_GOOGLE='google'},861,[]); |
... | ... | @@ -1067,24 +1067,132 @@ |
1067 | 1067 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.sortFormats=e.sortDevices=e.frameRateIncluded=void 0;var t=r(d[0]);e.sortDevices=function(t,o){var n=0,h=0,s=t.devices.includes('wide-angle-camera'),c=o.devices.includes('wide-angle-camera');s&&(n+=2),c&&(h+=2);var v=t.devices.includes('telephoto-camera'),u=o.devices.includes('telephoto-camera');return v&&(n-=2),u&&(h-=2),t.devices.length>o.devices.length&&(n+=1),o.devices.length>t.devices.length&&(h+=1),h-n};var o=t.Dimensions.get('window').width/t.Dimensions.get('window').height;e.sortFormats=function(t,n){var h=0,s=0;h+=Math.round(t.photoWidth/500),s+=Math.round(n.photoWidth/500),h+=Math.round(t.videoWidth/500),s+=Math.round(n.videoWidth/500);var c=t.photoHeight/t.photoWidth-o,v=n.photoHeight/n.photoWidth-o;return h-=10*Math.abs(c),(s-=10*Math.abs(v))-h};e.frameRateIncluded=function(t,o){return o>=t.minFrameRate&&o<=t.maxFrameRate}},1061,[1]); |
1068 | 1068 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useCameraFormat=function(t){return(0,o.useMemo)(function(){return null==t?void 0:t.formats.sort(r(d[1]).sortFormats)[0]},[null==t?void 0:t.formats])};var o=r(d[0])},1062,[122,1061]); |
1069 | 1069 |
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useFrameProcessor=function(s,n){return(0,o.useCallback)((c=function(o){if(null==g.didSetConsole||!1===g.didSetConsole){var n={debug:l.debug.__callAsync,log:l.log.__callAsync,warn:l.warn.__callAsync,error:l.error.__callAsync,info:l.info.__callAsync};_setGlobalConsole(n),g.didSetConsole=!0}s(o)},c._closure={capturableConsole:{debug:l.debug,log:l.log,warn:l.warn,error:l.error,info:l.info},frameProcessor:s},c.asString="function _f(frame){const{capturableConsole,frameProcessor}=jsThis._closure;{if(global.didSetConsole==null||global.didSetConsole===false){const console={debug:capturableConsole.debug.__callAsync,log:capturableConsole.log.__callAsync,warn:capturableConsole.warn.__callAsync,error:capturableConsole.error.__callAsync,info:capturableConsole.info.__callAsync};_setGlobalConsole(console);global.didSetConsole=true;}frameProcessor(frame);}}",c.__workletHash=5189743904651,c.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\react-native-vision-camera\\src\\hooks\\useFrameProcessor.ts (28:21)",c),n);var c};var o=r(d[0]),l=console},1063,[122]); |
1070 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))},1064,[3,1065,1066]); |
|
1071 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=u?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(o,c,f):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[0])(r(d[3])),o=["id","initialRouteName","children","screenListeners","screenOptions"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var u=(0,r(d[4]).createNavigatorFactory)(function(s){var u=s.id,c=s.initialRouteName,f=s.children,l=s.screenListeners,p=s.screenOptions,v=(0,e.default)(s,o),O=(0,r(d[4]).useNavigationBuilder)(r(d[4]).StackRouter,{id:u,initialRouteName:c,children:f,screenListeners:l,screenOptions:p}),y=O.state,j=O.descriptors,b=O.navigation,P=O.NavigationContent;return t.useEffect(function(){return null==b?void 0:null==b.addListener?void 0:b.addListener('tabPress',function(e){var t=b.isFocused();requestAnimationFrame(function(){y.index>0&&t&&!e.defaultPrevented&&b.dispatch(Object.assign({},r(d[4]).StackActions.popToTop(),{target:y.key}))})})},[b,y.index,y.key]),(0,r(d[5]).jsx)(P,{children:(0,r(d[5]).jsx)(n.default,Object.assign({},v,{state:y,navigation:b,descriptors:j}))})});_e.default=u},1065,[3,96,122,1066,572,175]); |
|
1072 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,r(d[10]).jsx)(r(d[13]).SafeAreaProviderCompat,{children:(0,r(d[10]).jsx)(y,Object.assign({},e))})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=s?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(o,l,c):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),u=r(d[0])(r(d[8]));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var v='android'===n.Platform.OS,h=function(e){var s=e.options,l=e.route,p=e.presentation,h=e.headerHeight,f=e.headerTopInsetEnabled,y=e.children,S=(0,r(d[9]).useTheme)().colors,x=s.header,b=s.headerShown,B=void 0===b||b,j=s.contentStyle,D=!v&&('card'!==p&&!0===B&&void 0===x),C=t.useRef(B);t.useEffect(function(){(0,o.default)(!v&&'card'!==p&&C.current!==B,"Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '"+l.name+"'."),C.current=B},[B,p,l.name]);var H=(0,r(d[10]).jsx)(c.default,{style:[k.container,'transparentModal'!==p&&'containedTransparentModal'!==p&&{backgroundColor:S.background},j],stackPresentation:'card'===p?'push':p,children:y});return D?(0,r(d[10]).jsx)(r(d[11]).ScreenStack,{style:k.container,children:(0,r(d[10]).jsxs)(r(d[11]).Screen,{enabled:!0,style:n.StyleSheet.absoluteFill,children:[(0,r(d[10]).jsx)(u.default,Object.assign({},s,{route:l,headerHeight:h,headerTopInsetEnabled:f,canGoBack:!0})),H]})}):H},f=function(o){var s,l=o.descriptor,c=o.previousDescriptor,p=o.nextDescriptor,f=o.index,y=o.onWillDisappear,S=o.onAppear,x=o.onDisappear,b=o.onDismissed,B=o.onHeaderBackButtonClicked,j=o.onNativeDismissCancelled,D=l.route,C=l.navigation,H=l.options,O=l.render,P=H.animationDuration,w=H.animationTypeForReplace,E=void 0===w?'push':w,A=H.gestureEnabled,T=H.header,M=H.headerBackButtonMenuEnabled,N=H.headerShown,_=H.headerTransparent,I=H.autoHideHomeIndicator,R=H.navigationBarColor,W=H.navigationBarHidden,F=H.orientation,G=H.statusBarAnimation,z=H.statusBarHidden,V=H.statusBarStyle,K=H.statusBarTranslucent,L=H.statusBarColor,q=H.freezeOnBlur,J=H.animation,Q=H.customAnimationOnGesture,U=H.fullScreenGestureEnabled,X=H.presentation,Y=void 0===X?'card':X,Z=H.gestureDirection,$=void 0===Z?'card'===Y?'horizontal':'vertical':Z;'vertical'===$&&'ios'===n.Platform.OS&&(void 0===U&&(U=!0),void 0===Q&&(Q=!0),void 0===J&&(J='slide_from_bottom'));var ee=null==p?void 0:p.options.gestureDirection,te=null!=ee?ee:$;0===f&&(Y='card');var ne=(0,r(d[12]).useSafeAreaInsets)(),ae=(0,r(d[12]).useSafeAreaFrame)(),re='modal'===Y||'formSheet'===Y,ie='ios'===n.Platform.OS&&!(n.Platform.isPad||n.Platform.isTVOS),oe=ae.width>ae.height,se=t.useContext(r(d[13]).HeaderShownContext),le=t.useContext(r(d[13]).HeaderHeightContext),de=t.useContext(r(d[13]).HeaderBackContext),ce=se||'ios'===n.Platform.OS&&re||ie&&oe?0:ne.top,ue=(0,r(d[9]).usePreventRemoveContext)().preventedRoutes,pe=(0,r(d[13]).getDefaultHeaderHeight)(ae,re,ce),ve=t.useState(pe),he=(0,e.default)(ve,2),fe=he[0],ge=he[1],me=0!==ce,ye=T?fe:pe,ke=c?{title:(0,r(d[13]).getHeaderTitle)(c.options,c.route.name)}:de,Se=null==(s=ue[D.key])?void 0:s.preventRemove;return(0,r(d[10]).jsx)(r(d[11]).Screen,{enabled:!0,style:n.StyleSheet.absoluteFill,customAnimationOnSwipe:Q,fullScreenSwipeEnabled:U,gestureEnabled:!v&&A,homeIndicatorHidden:I,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:E,stackPresentation:'card'===Y?'push':Y,stackAnimation:J,screenOrientation:F,statusBarAnimation:G,statusBarHidden:z,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:P,onWillDisappear:y,onAppear:S,onDisappear:x,onDismissed:b,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:B,preventNativeDismiss:Se,onNativeDismissCancelled:j,freezeOnBlur:q,children:(0,r(d[10]).jsx)(r(d[9]).NavigationContext.Provider,{value:C,children:(0,r(d[10]).jsx)(r(d[9]).NavigationRouteContext.Provider,{value:D,children:(0,r(d[10]).jsx)(r(d[13]).HeaderShownContext.Provider,{value:se||!1!==N,children:(0,r(d[10]).jsxs)(r(d[13]).HeaderHeightContext.Provider,{value:!1!==N?ye:null!=le?le:0,children:[(0,r(d[10]).jsx)(u.default,Object.assign({},H,{route:D,headerBackButtonMenuEnabled:void 0!==Se?!Se:M,headerShown:void 0===T&&N,headerHeight:ye,headerBackTitle:void 0!==H.headerBackTitle?H.headerBackTitle:void 0,headerTopInsetEnabled:me,canGoBack:void 0!==ke})),(0,r(d[10]).jsxs)(n.View,{style:k.scene,children:[(0,r(d[10]).jsx)(h,{options:H,route:D,presentation:Y,headerHeight:ye,headerTopInsetEnabled:me,children:(0,r(d[10]).jsx)(r(d[13]).HeaderBackContext.Provider,{value:ke,children:O()})}),void 0!==T&&!1!==N?(0,r(d[10]).jsx)(n.View,{onLayout:function(e){ge(e.nativeEvent.layout.height)},style:_?k.absolute:null,children:T({back:ke,options:H,route:D,navigation:C})}):null]})]})})})})},D.key)};function y(e){var t=e.state,n=e.navigation,o=e.descriptors,c=(0,s.default)(t).setNextDismissedKey;return(0,l.default)(o),(0,r(d[10]).jsx)(r(d[11]).ScreenStack,{style:k.container,children:t.routes.map(function(e,s){var l,u,p=o[e.key],v=null==(l=t.routes[s-1])?void 0:l.key,h=null==(u=t.routes[s+1])?void 0:u.key,y=v?o[v]:void 0,k=h?o[h]:void 0;return(0,r(d[10]).jsx)(f,{index:s,descriptor:p,previousDescriptor:y,nextDescriptor:k,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(o){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(o.nativeEvent.dismissCount),{source:e.key,target:t.key})),c(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(o){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(o.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)})})}var k=n.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0}})},1066,[3,19,122,1,406,1067,1068,1069,1070,572,175,849,552,668]); |
|
1073 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,f=n.useState(null),s=(0,t.default)(f,2),l=s[0],c=s[1],p=l?null==(u=o.routes.find(function(t){return t.key===l}))?void 0:u.name:null;return n.useEffect(function(){if(p){var t="The screen '"+p+"' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.";console.error(t)}},[p]),{setNextDismissedKey:c}};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var c=s?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(f,l,c):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}},1067,[3,19,122]); |
|
1074 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var o,u,l=(0,r(d[1]).usePreventRemoveContext)().preventedRoutes,f=Object.keys(l)[0],c=n[f],s=null==c?void 0:null==(o=c.options)?void 0:o.headerBackButtonMenuEnabled,p=null==c?void 0:null==(u=c.route)?void 0:u.name;t.useEffect(function(){if(null!=f&&s){var t="The screen "+p+" uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from "+p+" screen to get rid of this error.";console.error(t)}},[f,s,p])};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,u&&u.set(t,l);return l})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}},1068,[122,572]); |
|
1075 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[0])(r(d[1])),(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(o);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u)})(r(d[2]));var t=r(d[3]);r(d[0])(r(d[4]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:o})(t)}var o=t.View;e.default=o},1069,[3,96,122,1,331]); |
|
1076 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var c,u,h,s=n.headerHeight,f=n.headerBackImageSource,S=n.headerBackButtonMenuEnabled,y=n.headerBackTitle,k=n.headerBackTitleStyle,p=n.headerBackTitleVisible,b=void 0===p||p,T=n.headerBackVisible,B=n.headerShadowVisible,w=n.headerLargeStyle,j=n.headerLargeTitle,F=n.headerLargeTitleShadowVisible,v=n.headerLargeTitleStyle,x=n.headerBackground,C=n.headerLeft,O=n.headerRight,P=n.headerShown,H=n.headerStyle,V=n.headerBlurEffect,z=n.headerTintColor,I=n.headerTitle,L=n.headerTitleAlign,M=n.headerTitleStyle,W=n.headerTransparent,E=n.headerSearchBarOptions,_=n.headerTopInsetEnabled,A=n.route,D=n.title,G=n.canGoBack,R=(0,r(d[4]).useTheme)().colors,q=null!=z?z:'ios'===l.Platform.OS?R.primary:R.text,J=l.StyleSheet.flatten(k)||{},K=l.StyleSheet.flatten(v)||{},N=l.StyleSheet.flatten(M)||{},Q=l.StyleSheet.flatten(H)||{},U=l.StyleSheet.flatten(w)||{},X=(0,r(d[5]).processFonts)([J.fontFamily,K.fontFamily,N.fontFamily]),Y=(0,t.default)(X,3),Z=Y[0],$=Y[1],ee=Y[2],te=(0,r(d[6]).getHeaderTitle)({title:D,headerTitle:I},A.name),le=null!=(c=null!=(u=N.color)?u:z)?c:R.text,re=N.fontSize,ne=N.fontWeight,ae={color:le};null!=N.fontFamily&&(ae.fontFamily=N.fontFamily);null!=re&&(ae.fontSize=re);null!=ne&&(ae.fontWeight=ne);var oe=null==C?void 0:C({tintColor:q,canGoBack:G,label:y}),ie=null==O?void 0:O({tintColor:q,canGoBack:G}),ce='function'==typeof I?I({tintColor:q,children:te}):null,de='boolean'==typeof r(d[7]).isSearchBarAvailableForCurrentPlatform?r(d[7]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=r(d[7]).SearchBar,ue=de&&null!=E;if(null!=E&&!de)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var he=T?null!=oe:'android'===l.Platform.OS&&null!=ce,se=null!=x||W||(ue||j)&&'ios'===l.Platform.OS&&!1!==W;return(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=x?(0,r(d[8]).jsx)(l.View,{style:[o.background,W?o.translucent:null,{height:s}],children:x()}):null,(0,r(d[8]).jsxs)(r(d[7]).ScreenStackHeaderConfig,{backButtonInCustomView:he,backgroundColor:null!=(h=Q.backgroundColor)?h:null!=x||W?'transparent':R.card,backTitle:b?y:' ',backTitleFontFamily:Z,backTitleFontSize:J.fontSize,blurEffect:V,color:q,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===S,hidden:!1===P,hideBackButton:!1===T,hideShadow:!1===B||null!=x||W,largeTitle:j,largeTitleBackgroundColor:U.backgroundColor,largeTitleColor:K.color,largeTitleFontFamily:$,largeTitleFontSize:K.fontSize,largeTitleFontWeight:K.fontWeight,largeTitleHideShadow:!1===F,title:te,titleColor:le,titleFontFamily:ee,titleFontSize:re,titleFontWeight:ne,topInsetEnabled:_,translucent:!0===se,children:['ios'===l.Platform.OS?(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=oe?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderLeftView,{children:oe}):null,null!=ce?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderCenterView,{children:ce}):null]}):(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=oe||'function'==typeof I?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderLeftView,{children:(0,r(d[8]).jsxs)(l.View,{style:o.row,children:[oe,'center'!==L?'function'==typeof I?ce:(0,r(d[8]).jsx)(r(d[6]).HeaderTitle,{tintColor:q,style:ae,children:te}):null]})}):null,'center'===L?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderCenterView,{children:'function'==typeof I?ce:(0,r(d[8]).jsx)(r(d[6]).HeaderTitle,{tintColor:q,style:ae,children:te})}):null]}),void 0!==f?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderBackButtonImage,{source:f}):null,null!=ie?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderRightView,{children:ie}):null,ue?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderSearchBarView,{children:(0,r(d[8]).jsx)(r(d[7]).SearchBar,Object.assign({},E))}):null]})]})};var t=r(d[0])(r(d[1])),l=((function(t,l){if(!l&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(l);if(o&&o.has(t))return o.get(t);var c={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in t)if("default"!==h&&Object.prototype.hasOwnProperty.call(t,h)){var s=u?Object.getOwnPropertyDescriptor(t,h):null;s&&(s.get||s.set)?Object.defineProperty(c,h,s):c[h]=t[h]}c.default=t,o&&o.set(t,c)})(r(d[2])),r(d[3]));function n(t){if("function"!=typeof WeakMap)return null;var l=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:l})(t)}var o=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1},background:{overflow:'hidden'}})},1070,[3,19,122,1,572,1071,668,849,175]); |
|
1077 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(o){var t,u=null==(t=n.default.fontFamily)?void 0:t.process;if('function'==typeof u)return o.map(u);return o};var n=r(d[0])(r(d[1]))},1071,[3,138]); |
|
1078 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[4]).jsx)(t.Navigator,{initialRouteName:"Login",screenOptions:{headerBackTitleVisible:!1,headerShown:!1},children:(0,r(d[4]).jsx)(t.Screen,{name:"Login",component:n.default})})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=(0,r(d[3]).createNativeStackNavigator)()},1072,[3,122,1073,1064,175]); |
|
1079 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){c.navigation;var s=(0,n.useContext)(r(d[7]).AuthContext).onClickLogin,p=(0,n.useState)(),x=(0,t.default)(p,2),y=x[0],j=x[1],h=(0,n.useState)(),w=(0,t.default)(h,2),b=w[0],v=w[1];return(0,r(d[8]).jsx)(u.View,{style:{flex:1},children:(0,r(d[8]).jsxs)(u.View,{style:r(d[9]).container,children:[(0,r(d[8]).jsx)(u.View,{style:f.loginLogo,children:(0,r(d[8]).jsx)(u.Image,{source:r(d[10]),style:f.image1})}),(0,r(d[8]).jsxs)(u.View,{children:[(0,r(d[8]).jsx)(l.default,{onChangeText:function(t){j(t)},placeholder:"\uc544\uc774\ub514"}),(0,r(d[8]).jsx)(l.default,{onChangeText:function(t){v(t)},secureTextEntry:!0,placeholder:"\ube44\ubc00\ubc88\ud638"})]}),(0,r(d[8]).jsx)(u.View,{style:f.buttonContainer,children:(0,r(d[8]).jsx)(o.default,{title:'\ub85c\uadf8\uc778',backgroundColor:r(d[11]).PRIMERY,padding:10,marginBottom:10,color:r(d[11]).WHITE,textAlign:'center',onPress:function(){s(y,b)}})})]})})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=c(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[2])),o=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),u=r(d[5]);r(d[0])(r(d[6]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}var f=u.StyleSheet.create({buttonContainer:{flex:1},loginLogo:{justifyContent:'center',alignItems:'center',flex:1},image1:{width:'110%',resizeMode:'contain'}})},1073,[3,19,122,403,1074,1,1075,376,175,1080,1081,387]); |
|
1080 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var n=l.onChangeText,c=l.placeholder,u=l.secureTextEntry,T=(l.visible,l.title);return(0,r(d[3]).jsx)(t.View,{children:(0,r(d[3]).jsx)(t.TextInput,{title:T,style:o.input,onChangeText:n,placeholder:c,placeholderTextColor:r(d[4]).LIGHTGRAY,secureTextEntry:u})})};r(d[0])(r(d[1]));var t=r(d[2]);var o=t.StyleSheet.create({input:{marginBottom:10,padding:10,borderWidth:1,borderColor:r(d[4]).LIGHTGRAY,backgroundColor:r(d[4]).WHITE,color:r(d[4]).BLACK}})},1074,[3,122,1,175,387]); |
|
1081 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.LinearGradient=void 0;var t=r(d[0]),f=r(d[1])(r(d[2])),l=r(d[1])(r(d[3])),n=r(d[1])(r(d[4])),o="ios"===t.Platform.OS?f.default:"android"===t.Platform.OS?l.default:n.default;e.LinearGradient=o;var u=o;e.default=u},1075,[1,3,1076,1078,1079]); |
|
1082 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=l?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),f=r(d[8]),s=r(d[0])(r(d[9])),p=["start","end","colors","locations","useAngle","angleCenter","angle"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e,t){return Array.isArray(t)?(console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:t[0],y:t[1]}):t},P=(function(y){(0,o.default)(j,y);var P,b,O=(P=j,b=h(),function(){var e,t=(0,u.default)(P);if(b){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(){var e;(0,t.default)(this,j);for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return(e=O.call.apply(O,[this].concat(o))).gradientRef=(0,c.createRef)(),e}return(0,n.default)(j,[{key:"setNativeProps",value:function(e){this.gradientRef.current.setNativeProps(e)}},{key:"render",value:function(){var t=this.props,n=t.start,o=t.end,l=t.colors,u=t.locations,c=t.useAngle,y=t.angleCenter,h=t.angle,P=(0,e.default)(t,p);return l&&u&&l.length!==u.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),(0,r(d[10]).jsx)(s.default,Object.assign({ref:this.gradientRef},P,{startPoint:v('start',n),endPoint:v('end',o),colors:l.map(f.processColor),locations:u?u.slice(0,l.length):null,useAngle:c,angleCenter:v('angleCenter',y),angle:h}))}}]),j})(c.Component);_e.default=P,P.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1076,[3,96,12,13,51,48,47,122,1,1077,175]); |
|
1083 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('BVLinearGradient');e.default=t},1077,[1]); |
|
1084 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),s=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=l?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),f=r(d[8]),c=r(d[0])(r(d[9])),p=["children","colors","end","locations","useAngle","angleCenter","angle","start","style"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=function(e,t){return Array.isArray(t)&&console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),null!==t&&'object'==typeof t?[t.x,t.y]:t},R=(function(y){(0,o.default)(P,y);var R,v,j=(R=P,v=h(),function(){var e,t=(0,u.default)(R);if(v){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function P(){var e;(0,t.default)(this,P);for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return(e=j.call.apply(j,[this].concat(o))).gradientRef=(0,s.createRef)(),e}return(0,n.default)(P,[{key:"setNativeProps",value:function(e){this.gradientRef.current.setNativeProps(e)}},{key:"render",value:function(){var t=this.props,n=t.children,o=t.colors,l=t.end,u=t.locations,s=t.useAngle,y=t.angleCenter,h=t.angle,R=t.start,v=t.style,j=(0,e.default)(t,p);o&&u&&o.length!==u.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length');var P,O=f.StyleSheet.flatten(v)||{},w=O.borderRadius||0,x=(P=w,function(e){return'number'==typeof e?e:P}),A=[x(O.borderTopLeftRadius),x(O.borderTopLeftRadius),x(O.borderTopRightRadius),x(O.borderTopRightRadius),x(O.borderBottomRightRadius),x(O.borderBottomRightRadius),x(O.borderBottomLeftRadius),x(O.borderBottomLeftRadius)];return(0,r(d[10]).jsxs)(f.View,Object.assign({ref:this.gradientRef},j,{style:v,children:[(0,r(d[10]).jsx)(c.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:o.map(f.processColor),startPoint:b('start',R),endPoint:b('end',l),locations:u?u.slice(0,o.length):null,useAngle:s,angleCenter:b('angleCenter',y),angle:h,borderRadii:A}),n]}))}}]),P})(s.Component);_e.default=R,R.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1078,[3,96,12,13,51,48,47,122,1,1077,175]); |
|
1085 |
-__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),c=r(d[8]),f=r(d[0])(r(d[9])),p=["children","start","end","colors","locations","useAngle","angleCenter","angle","style"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e,t){return Array.isArray(t)?(console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:t[0],y:t[1]}):t},b=(function(u){(0,o.default)(j,u);var y,b,P=(y=j,b=h(),function(){var e,t=(0,s.default)(y);if(b){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(){return(0,t.default)(this,j),P.apply(this,arguments)}return(0,n.default)(j,[{key:"setNativeProps",value:function(e){this.gradientRef.setNativeProps(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.children,l=n.start,s=n.end,u=n.colors,y=n.locations,h=n.useAngle,b=n.angleCenter,P=n.angle,j=n.style,O=(0,e.default)(n,p);return u&&y&&u.length!==y.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),(0,r(d[10]).jsxs)(c.View,Object.assign({ref:function(e){t.gradientRef=e}},O,{style:j,children:[(0,r(d[10]).jsx)(f.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:u.map(c.processColor),startPoint:v('start',l),endPoint:v('end',s),locations:y?y.slice(0,u.length):null,useAngle:h,angleCenter:v('angleCenter',b),angle:P}),o]}))}}]),j})(u.Component);_e.default=b,b.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1079,[3,96,12,13,51,48,47,122,1,1077,175]); |
|
1086 |
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.textColor=e.pageTitleBox=e.pageTitle=e.padding=e.marginBottom=e.direction=e.container=e.ItemFlex2=e.ItemFlex=void 0;var t={flex:1,paddingHorizontal:16,paddingVertical:50,justifyContent:'center',backgroundColor:r(d[0]).WHITE,color:r(d[0]).BLACK};e.container=t;e.ItemFlex={flex:1};e.ItemFlex2={flex:2};e.direction={flexDirection:'row',justifyContent:'space-between',alignItems:'center'};var o={paddingVertical:20,backgroundColor:r(d[0]).PRIMERY};e.pageTitleBox=o;var n={fontSize:18,fontWeight:'bold',textAlign:'center',color:r(d[0]).WHITE};e.pageTitle=n;e.marginBottom={marginBottom:20};var l={color:r(d[0]).BLACK};e.textColor=l;e.padding={paddingHorizontal:16}},1080,[387]); |
|
1087 |
-__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:1080,height:1080,scales:[1],hash:"f7548f212101576f7095b25127d07d68",name:"login_logo_2",type:"png"})},1081,[386]); |
|
1088 |
-__d(function(a,n,i,e,d,m,o){d.exports={name:"navi",displayName:"navi"}},1082,[]); |
|
1070 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var p=f.navigation,j=(0,t.useContext)(r(d[8]).MapContext),x=j.nodes,y=j.location,v=j.km,M=j.setSearchQuery,k=j.setNodes,C=x.slice(-1)[0],P=(0,t.useRef)(null),b=(0,t.useMemo)(function(){return['25%']},[]),w=(0,t.useCallback)(function(t){console.log('handleSheetChanges',t)},[]),O=(0,t.useCallback)(function(){var t;null==(t=P.current)||t.present()},[]),S=(0,t.useCallback)(function(){var t;M(null),k([]),null==(t=P.current)||t.close(),p.navigate('Main')},[]);return(0,r(d[9]).jsx)(r(d[10]).BottomSheetModalProvider,{children:(0,r(d[9]).jsxs)(n.View,{style:h.container,children:[(0,r(d[9]).jsxs)(o.default,{lat:y.latitude,long:y.longitude,latDelta:.001,longDelta:.001,followsUserLocation:!0,children:[(0,r(d[9]).jsx)(r(d[11]).Marker,{coordinate:y,width:50,height:50,image:c.default}),(0,r(d[9]).jsx)(r(d[11]).Marker,{coordinate:C}),(0,r(d[9]).jsx)(r(d[11]).Polyline,{coordinates:x,strokeWidth:10,strokeColor:r(d[12]).PRIMERY})]}),(0,r(d[9]).jsx)(u.default,{}),(0,r(d[9]).jsx)(l.default,{distance:v,onPress:O}),(0,r(d[9]).jsx)(r(d[10]).BottomSheetModal,{ref:P,index:0,snapPoints:b,onChange:w,children:(0,r(d[9]).jsxs)(n.View,{style:h.contentContainer,children:[(0,r(d[9]).jsx)(n.Text,{style:[r(d[13]).pageTitle,r(d[13]).marginBottom],children:"\uc6b4\ud589\uc744 \uc885\ub8cc \ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"}),(0,r(d[9]).jsx)(s.default,{title:'\uc6b4\ud589\uc885\ub8cc',padding:10,backgroundColor:r(d[12]).PRIMERY,color:r(d[12]).WHITE,width:'100%',textAlign:'center',onPress:S})]})})]})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=s?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3])),l=r(d[2])(r(d[4])),s=r(d[2])(r(d[5])),c=r(d[2])(r(d[6])),u=r(d[2])(r(d[7]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var h=n.StyleSheet.create({container:{flex:1,justifyContent:'center',backgroundColor:'grey'},contentContainer:{flex:1,alignItems:'center',padding:16},image:{width:'100%',height:'100%',flex:1}})},1064,[122,1,3,858,1065,403,1066,1067,380,175,1068,859,387,1169]); |
|
1071 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var l=n.distance,u=n.onPress;return(0,r(d[4]).jsxs)(t.View,{style:o.driveStatus,children:[(0,r(d[4]).jsx)(t.View,{style:o.driveStatusTextBox,children:(0,r(d[4]).jsxs)(t.Text,{style:o.driveStatusText,children:[l,"km"]})}),(0,r(d[4]).jsx)(t.View,{style:o.driveStatusIcon,children:(0,r(d[4]).jsx)(s.default,{name:"ellipsis-v",size:20,color:r(d[5]).GRAY,onPress:u})})]})};r(d[0])(r(d[1]));var t=r(d[2]),s=r(d[0])(r(d[3]));var o=t.StyleSheet.create({driveStatus:{paddingVertical:20,paddingHorizontal:16,borderTopColor:r(d[5]).GRAY,borderTopWidth:2,backgroundColor:r(d[5]).WHITE,flexDirection:'row',justifyContent:'space-between'},driveStatusText:{fontSize:20,fontWeight:'bold'},driveStatusTextBox:{flex:30},driveStatusIcon:{flex:1,paddingLeft:15}})},1065,[3,122,1,389,175,387]); |
|
1072 |
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:150,height:150,scales:[1],hash:"e653d8a6400705825864f90bb74353b0",name:"current_location",type:"png"})},1066,[386]); |
|
1073 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){var c=s.onUploadFile,p=(0,o.useContext)(r(d[7]).MapContext),y=(p.onQuery,p.location),h=((0,r(d[8]).useCameraDevices)().back,(0,o.useRef)(null)),O=(0,o.useState)(!1),v=(0,n.default)(O,2),b=v[0],j=v[1],P=function(){j(!b)};(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[8]).Camera.requestCameraPermission();'denied'===t&&(yield l.Linking.openSettings())}),[]),S=(0,t.default)(function*(){var t=yield h.current.takePhoto({flash:'off',qualityPrioritization:'speed'}),n=t.path,o=n.split('/'),l=o.length,f=o[l-1],s=f.split('.'),p=s[0],O=[{name:'file',filename:f,filepath:n,filetype:'image/jpg'}];yield u.default.uploadFiles({toUrl:r(d[9]).url+"/action/image_summit",files:O,method:'POST',headers:{},begin:function(t){var n=t.jobId;console.log('UPLOAD HAS BEGUN! JobId: '+n)},progress:function(t){var n=Math.floor(t.totalBytesSent/t.totalBytesExpectedToSend*100);console.log('UPLOAD IS '+n+'% DONE!')}}).promise.then(function(t){if(200!=t.statusCode)throw'SERVER ERROR';return console.log('FILES UPLOADED!'),fetch(r(d[9]).url+"/action/image_anal",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({filename:p,file_type:'.jpg',gps_x:y.latitude,gps_y:y.longitude})})}).then(function(t){return t.json()}).then(function(t){console.log('fileSend response data : ',t);var n=t.node,o=t.fog;if(null===n||'fog'!==o)throw'no data';return c(n),P(),fetch(r(d[9]).url+"/trip/remove",{method:'POST',headers:{'Content-Type':'application/json; charset=UTF-8'},body:JSON.stringify({gps_x:n[0],gps_y:n[1]})})}).then(function(t){return t.json()}).then(function(t){console.log('remove data',t),t.done}).catch(function(t){console.log(t)})});var S;return(0,r(d[10]).jsx)(f.default,{isVisible:b,toggleModal:P,alertTitle:"\uc548\uac1c \ubc1c\uc0dd \uc54c\ub9bc",alertMessage:"\uc804\ubc29\uc5d0 \uc548\uac1c\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4."})};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=u?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(l,f,c):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=r(d[0])(r(d[5])),f=r(d[0])(r(d[6]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}},1067,[3,265,19,122,1,1017,1020,380,1046,379,175]); |
|
1074 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={TouchableHighlight:!0,TouchableOpacity:!0,TouchableWithoutFeedback:!0,BottomSheetModal:!0,BottomSheetModalProvider:!0,useBottomSheet:!0,useBottomSheetModal:!0,useBottomSheetSpringConfigs:!0,useBottomSheetTimingConfigs:!0,useBottomSheetInternal:!0,useBottomSheetModalInternal:!0,useBottomSheetDynamicSnapPoints:!0,useScrollEventsHandlersDefault:!0,useGestureEventsHandlersDefault:!0,useBottomSheetGestureHandlers:!0,useScrollHandler:!0,useScrollableSetter:!0,BottomSheetScrollView:!0,BottomSheetSectionList:!0,BottomSheetFlatList:!0,BottomSheetVirtualizedList:!0,createBottomSheetScrollableComponent:!0,BottomSheetHandle:!0,BottomSheetDraggableView:!0,BottomSheetView:!0,BottomSheetTextInput:!0,BottomSheetBackdrop:!0,BottomSheetFooter:!0,BottomSheetFooterContainer:!0,enableLogging:!0};Object.defineProperty(e,"BottomSheetBackdrop",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"BottomSheetDraggableView",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"BottomSheetFlatList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetFlatList}}),Object.defineProperty(e,"BottomSheetFooter",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"BottomSheetFooterContainer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"BottomSheetHandle",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"BottomSheetModal",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"BottomSheetModalProvider",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"BottomSheetScrollView",{enumerable:!0,get:function(){return r(d[0]).BottomSheetScrollView}}),Object.defineProperty(e,"BottomSheetSectionList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetSectionList}}),Object.defineProperty(e,"BottomSheetTextInput",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"BottomSheetView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"BottomSheetVirtualizedList",{enumerable:!0,get:function(){return r(d[0]).BottomSheetVirtualizedList}}),e.TouchableWithoutFeedback=e.TouchableOpacity=e.TouchableHighlight=void 0,Object.defineProperty(e,"createBottomSheetScrollableComponent",{enumerable:!0,get:function(){return r(d[0]).createBottomSheetScrollableComponent}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"enableLogging",{enumerable:!0,get:function(){return r(d[1]).enableLogging}}),Object.defineProperty(e,"useBottomSheet",{enumerable:!0,get:function(){return r(d[2]).useBottomSheet}}),Object.defineProperty(e,"useBottomSheetDynamicSnapPoints",{enumerable:!0,get:function(){return r(d[3]).useBottomSheetDynamicSnapPoints}}),Object.defineProperty(e,"useBottomSheetGestureHandlers",{enumerable:!0,get:function(){return r(d[4]).useBottomSheetGestureHandlers}}),Object.defineProperty(e,"useBottomSheetInternal",{enumerable:!0,get:function(){return r(d[5]).useBottomSheetInternal}}),Object.defineProperty(e,"useBottomSheetModal",{enumerable:!0,get:function(){return r(d[6]).useBottomSheetModal}}),Object.defineProperty(e,"useBottomSheetModalInternal",{enumerable:!0,get:function(){return r(d[7]).useBottomSheetModalInternal}}),Object.defineProperty(e,"useBottomSheetSpringConfigs",{enumerable:!0,get:function(){return r(d[8]).useBottomSheetSpringConfigs}}),Object.defineProperty(e,"useBottomSheetTimingConfigs",{enumerable:!0,get:function(){return r(d[9]).useBottomSheetTimingConfigs}}),Object.defineProperty(e,"useGestureEventsHandlersDefault",{enumerable:!0,get:function(){return r(d[10]).useGestureEventsHandlersDefault}}),Object.defineProperty(e,"useScrollEventsHandlersDefault",{enumerable:!0,get:function(){return r(d[11]).useScrollEventsHandlersDefault}}),Object.defineProperty(e,"useScrollHandler",{enumerable:!0,get:function(){return r(d[12]).useScrollHandler}}),Object.defineProperty(e,"useScrollableSetter",{enumerable:!0,get:function(){return r(d[13]).useScrollableSetter}});var o=r(d[14])(r(d[15])),n=r(d[14])(r(d[16])),u=r(d[14])(r(d[17])),l=r(d[14])(r(d[18])),c=r(d[14])(r(d[19])),f=r(d[14])(r(d[20])),b=r(d[14])(r(d[21])),S=r(d[14])(r(d[22])),h=r(d[14])(r(d[23])),s=r(d[14])(r(d[24])),B=r(d[14])(r(d[25]));Object.keys(r(d[26])).forEach(function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(t,o)||o in e&&e[o]===r(d[26])[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return r(d[26])[o]}}))});var p=B.default.TouchableHighlight,y=B.default.TouchableOpacity,O=B.default.TouchableWithoutFeedback;e.TouchableWithoutFeedback=O,e.TouchableOpacity=y,e.TouchableHighlight=p},1068,[1069,1099,1075,1077,1079,1081,1083,1087,1115,1116,1088,1103,1102,1106,3,1117,1140,1154,1129,1071,1156,1158,1160,1164,1138,1167,1073]); |
|
1075 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BottomSheetFlatList",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"BottomSheetScrollView",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"BottomSheetSectionList",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"BottomSheetVirtualizedList",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createBottomSheetScrollableComponent",{enumerable:!0,get:function(){return r(d[0]).createBottomSheetScrollableComponent}});var t=r(d[1])(r(d[2])),n=r(d[1])(r(d[3])),o=r(d[1])(r(d[4])),u=r(d[1])(r(d[5]))},1069,[1070,3,1111,1112,1113,1114]); |
|
1076 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.createBottomSheetScrollableComponent=function(f,S){return(0,n.forwardRef)(function(E,h){var _,L=E.focusHook,R=E.scrollEventsHandlersHook,O=E.enableFooterMarginAdjustment,A=void 0!==O&&O,b=E.overScrollMode,p=void 0===b?'never':b,v=E.keyboardDismissMode,C=void 0===v?'interactive':v,y=E.showsVerticalScrollIndicator,T=void 0===y||y,M=E.style,j=E.refreshing,w=E.onRefresh,D=E.progressViewOffset,P=E.refreshControl,B=E.onScroll,H=E.onScrollBeginDrag,k=E.onScrollEndDrag,I=(0,o.default)(E,u),V=(0,n.useRef)(null),N=(0,n.useRef)(null),U=(0,r(d[7]).useScrollHandler)(R,B,H,k),x=U.scrollableRef,F=U.scrollableContentOffsetY,G=U.scrollHandler,W=(0,r(d[7]).useBottomSheetInternal)(),K=W.enableContentPanningGesture,z=W.animatedFooterHeight,Y=W.animatedScrollableState,q=(0,r(d[8]).useAnimatedProps)(((_=function(){return{decelerationRate:r(d[9]).SCROLLABLE_DECELERATION_RATE_MAPPER[Y.value],showsVerticalScrollIndicator:T?Y.value===r(d[9]).SCROLLABLE_STATE.UNLOCKED:T}})._closure={SCROLLABLE_DECELERATION_RATE_MAPPER:r(d[9]).SCROLLABLE_DECELERATION_RATE_MAPPER,animatedScrollableState:Y,showsVerticalScrollIndicator:T,SCROLLABLE_STATE:{UNLOCKED:r(d[9]).SCROLLABLE_STATE.UNLOCKED}},_.asString="function _f(){const{SCROLLABLE_DECELERATION_RATE_MAPPER,animatedScrollableState,showsVerticalScrollIndicator,SCROLLABLE_STATE}=jsThis._closure;{return{decelerationRate:SCROLLABLE_DECELERATION_RATE_MAPPER[animatedScrollableState.value],showsVerticalScrollIndicator:showsVerticalScrollIndicator?animatedScrollableState.value===SCROLLABLE_STATE.UNLOCKED:showsVerticalScrollIndicator};}}",_.__workletHash=3843125258941,_.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetScrollable\\createBottomSheetScrollableComponent.tsx (69:6)",_),[T]),J=(0,r(d[8]).useAnimatedStyle)((function(){var t=function(){return{marginBottom:A?z.value:0}};return t._closure={enableFooterMarginAdjustment:A,animatedFooterHeight:z},t.asString="function _f(){const{enableFooterMarginAdjustment,animatedFooterHeight}=jsThis._closure;{return{marginBottom:enableFooterMarginAdjustment?animatedFooterHeight.value:0};}}",t.__workletHash=8750885929959,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetScrollable\\createBottomSheetScrollableComponent.tsx (82:6)",t.__optimalization=3,t})(),[A]),Q=(0,n.useMemo)(function(){return A?[].concat((0,t.default)(M?'length'in M?M:[M]:[]),[J]):M},[A,M,J]);if((0,n.useImperativeHandle)(h,function(){return x.current}),(0,r(d[7]).useScrollableSetter)(x,f,F,void 0!==w,L),'android'===l.Platform.OS){var X=(0,r(d[10]).jsx)(r(d[11]).NativeViewGestureHandler,{ref:V,enabled:K,shouldCancelWhenOutside:!1,children:(0,r(d[10]).jsx)(S,Object.assign({animatedProps:q},I,{scrollEventThrottle:16,ref:x,overScrollMode:p,keyboardDismissMode:C,onScroll:G,style:Q}))});return(0,r(d[10]).jsx)(s.default,{nativeGestureRef:V,refreshControlGestureRef:N,gestureType:r(d[9]).GESTURE_SOURCE.SCROLLABLE,style:r(d[12]).styles.container,children:w?(0,r(d[10]).jsx)(c.default,{ref:N,refreshing:j,onRefresh:w,progressViewOffset:D,style:r(d[12]).styles.container,children:X}):X})}return(0,r(d[10]).jsx)(s.default,{nativeGestureRef:V,gestureType:r(d[9]).GESTURE_SOURCE.SCROLLABLE,style:r(d[12]).styles.container,children:(0,r(d[10]).jsx)(r(d[11]).NativeViewGestureHandler,{ref:V,enabled:K,shouldCancelWhenOutside:!1,children:(0,r(d[10]).jsx)(S,Object.assign({animatedProps:q},I,{scrollEventThrottle:16,ref:x,overScrollMode:p,keyboardDismissMode:C,refreshing:j,onRefresh:w,progressViewOffset:D,refreshControl:P,onScroll:G,style:Q}))})})})};var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=s?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=t[c]}l.default=t,n&&n.set(t,l);return l})(r(d[3])),l=r(d[4]),s=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),u=["focusHook","scrollEventsHandlersHook","enableFooterMarginAdjustment","overScrollMode","keyboardDismissMode","showsVerticalScrollIndicator","style","refreshing","onRefresh","progressViewOffset","refreshControl","onScroll","onScrollBeginDrag","onScrollEndDrag"];function f(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:o})(t)}},1070,[3,6,96,122,1,1071,1108,1074,408,1073,175,695,1110]); |
|
1077 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1071,[3,1072]); |
|
1078 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=l(n);if(u&&u.has(t))return u.get(t);var s={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var c=f?Object.getOwnPropertyDescriptor(t,o):null;c&&(c.get||c.set)?Object.defineProperty(s,o,c):s[o]=t[o]}s.default=t,u&&u.set(t,s);return s})(r(d[3])),s=r(d[0])(r(d[4])),f=["gestureType","nativeGestureRef","refreshControlGestureRef","style","children"];function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(l=function(t){return t?u:n})(t)}var o=(0,u.memo)(function(l){var o=l.gestureType,c=void 0===o?r(d[5]).GESTURE_SOURCE.CONTENT:o,p=l.nativeGestureRef,O=l.refreshControlGestureRef,v=l.style,y=l.children,h=(0,n.default)(l,f),b=(0,r(d[6]).useBottomSheetInternal)(),G=b.enableContentPanningGesture,j=b.simultaneousHandlers,P=b.waitFor,w=b.activeOffsetX,E=b.activeOffsetY,R=b.failOffsetX,C=b.failOffsetY,T=(0,r(d[6]).useBottomSheetGestureHandlers)(),_=T.contentPanGestureHandler,M=T.scrollablePanGestureHandler,S=(0,u.useRef)(null),H=(0,u.useMemo)(function(){return c===r(d[5]).GESTURE_SOURCE.CONTENT?_:M},[c,_,M]),N=(0,u.useMemo)(function(){var n=[];return p&&n.push(p),O&&n.push(O),j&&(Array.isArray(j)?n.push.apply(n,(0,t.default)(j)):n.push(j)),n},[j,p,O]);return(0,r(d[7]).jsx)(r(d[8]).PanGestureHandler,{ref:S,enabled:G,simultaneousHandlers:N,shouldCancelWhenOutside:!1,waitFor:P,onGestureEvent:H,activeOffsetX:w,activeOffsetY:E,failOffsetX:R,failOffsetY:C,children:(0,r(d[7]).jsx)(s.default.View,Object.assign({style:v},h,{children:y}))})});o.displayName='BottomSheetDraggableView';var c=o;e.default=c},1072,[3,6,96,122,408,1073,1074,175,695]); |
|
1079 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.WINDOW_WIDTH=e.WINDOW_HEIGHT=e.SHEET_STATE=e.SCROLLABLE_TYPE=e.SCROLLABLE_STATE=e.SCROLLABLE_DECELERATION_RATE_MAPPER=e.SCREEN_WIDTH=e.SCREEN_HEIGHT=e.MODAL_STACK_BEHAVIOR=e.KEYBOARD_STATE=e.KEYBOARD_INPUT_MODE=e.KEYBOARD_DISMISS_THRESHOLD=e.KEYBOARD_BLUR_BEHAVIOR=e.KEYBOARD_BEHAVIOR=e.GESTURE_SOURCE=e.ANIMATION_STATE=e.ANIMATION_SOURCE=e.ANIMATION_METHOD=e.ANIMATION_EASING=e.ANIMATION_DURATION=e.ANIMATION_CONFIGS=void 0;var E,T=r(d[0])(r(d[1])),N=r(d[2]),I=N.Dimensions.get('window'),O=I.height,A=I.width;e.WINDOW_WIDTH=A,e.WINDOW_HEIGHT=O;var D,R,S,_,L,n,t,C,M=N.Dimensions.get('screen'),U=M.height,H=M.width;e.SCREEN_WIDTH=H,e.SCREEN_HEIGHT=U,e.GESTURE_SOURCE=D,(function(E){E[E.UNDETERMINED=0]="UNDETERMINED",E[E.SCROLLABLE=1]="SCROLLABLE",E[E.HANDLE=2]="HANDLE",E[E.CONTENT=3]="CONTENT"})(D||(e.GESTURE_SOURCE=D={})),e.SHEET_STATE=R,(function(E){E[E.CLOSED=0]="CLOSED",E[E.OPENED=1]="OPENED",E[E.EXTENDED=2]="EXTENDED",E[E.OVER_EXTENDED=3]="OVER_EXTENDED",E[E.FILL_PARENT=4]="FILL_PARENT"})(R||(e.SHEET_STATE=R={})),e.SCROLLABLE_STATE=S,(function(E){E[E.LOCKED=0]="LOCKED",E[E.UNLOCKED=1]="UNLOCKED",E[E.UNDETERMINED=2]="UNDETERMINED"})(S||(e.SCROLLABLE_STATE=S={})),e.SCROLLABLE_TYPE=_,(function(E){E[E.UNDETERMINED=0]="UNDETERMINED",E[E.VIEW=1]="VIEW",E[E.FLATLIST=2]="FLATLIST",E[E.SCROLLVIEW=3]="SCROLLVIEW",E[E.SECTIONLIST=4]="SECTIONLIST",E[E.VIRTUALIZEDLIST=5]="VIRTUALIZEDLIST"})(_||(e.SCROLLABLE_TYPE=_={})),e.ANIMATION_STATE=L,(function(E){E[E.UNDETERMINED=0]="UNDETERMINED",E[E.RUNNING=1]="RUNNING",E[E.STOPPED=2]="STOPPED",E[E.INTERRUPTED=3]="INTERRUPTED"})(L||(e.ANIMATION_STATE=L={})),e.ANIMATION_SOURCE=n,(function(E){E[E.NONE=0]="NONE",E[E.MOUNT=1]="MOUNT",E[E.GESTURE=2]="GESTURE",E[E.USER=3]="USER",E[E.CONTAINER_RESIZE=4]="CONTAINER_RESIZE",E[E.SNAP_POINT_CHANGE=5]="SNAP_POINT_CHANGE",E[E.KEYBOARD=6]="KEYBOARD"})(n||(e.ANIMATION_SOURCE=n={})),e.ANIMATION_METHOD=t,(function(E){E[E.TIMING=0]="TIMING",E[E.SPRING=1]="SPRING"})(t||(e.ANIMATION_METHOD=t={})),e.KEYBOARD_STATE=C,(function(E){E[E.UNDETERMINED=0]="UNDETERMINED",E[E.SHOWN=1]="SHOWN",E[E.HIDDEN=2]="HIDDEN"})(C||(e.KEYBOARD_STATE=C={}));var s=r(d[3]).Easing.out(r(d[3]).Easing.exp);e.ANIMATION_EASING=s;e.ANIMATION_DURATION=250;var P={duration:250,easing:s},o='ios'===N.Platform.OS?{damping:500,stiffness:1e3,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}:P;e.ANIMATION_CONFIGS=o;var B=(E={},(0,T.default)(E,S.UNDETERMINED,0),(0,T.default)(E,S.LOCKED,0),(0,T.default)(E,S.UNLOCKED,N.Platform.select({ios:.998,android:.985,default:1})),E);e.SCROLLABLE_DECELERATION_RATE_MAPPER=B;e.MODAL_STACK_BEHAVIOR={replace:'replace',push:'push'};e.KEYBOARD_BEHAVIOR={interactive:'interactive',extend:'extend',fillParent:'fillParent'};e.KEYBOARD_BLUR_BEHAVIOR={none:'none',restore:'restore'};e.KEYBOARD_INPUT_MODE={adjustPan:'adjustPan',adjustResize:'adjustResize'};e.KEYBOARD_DISMISS_THRESHOLD=12.5},1073,[3,235,1,408]); |
|
1080 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useBottomSheet",{enumerable:!0,get:function(){return r(d[0]).useBottomSheet}}),Object.defineProperty(e,"useBottomSheetDynamicSnapPoints",{enumerable:!0,get:function(){return r(d[1]).useBottomSheetDynamicSnapPoints}}),Object.defineProperty(e,"useBottomSheetGestureHandlers",{enumerable:!0,get:function(){return r(d[2]).useBottomSheetGestureHandlers}}),Object.defineProperty(e,"useBottomSheetInternal",{enumerable:!0,get:function(){return r(d[3]).useBottomSheetInternal}}),Object.defineProperty(e,"useBottomSheetModal",{enumerable:!0,get:function(){return r(d[4]).useBottomSheetModal}}),Object.defineProperty(e,"useBottomSheetModalInternal",{enumerable:!0,get:function(){return r(d[5]).useBottomSheetModalInternal}}),Object.defineProperty(e,"useGestureEventsHandlersDefault",{enumerable:!0,get:function(){return r(d[6]).useGestureEventsHandlersDefault}}),Object.defineProperty(e,"useGestureHandler",{enumerable:!0,get:function(){return r(d[7]).useGestureHandler}}),Object.defineProperty(e,"useKeyboard",{enumerable:!0,get:function(){return r(d[8]).useKeyboard}}),Object.defineProperty(e,"useNormalizedSnapPoints",{enumerable:!0,get:function(){return r(d[9]).useNormalizedSnapPoints}}),Object.defineProperty(e,"usePropsValidator",{enumerable:!0,get:function(){return r(d[10]).usePropsValidator}}),Object.defineProperty(e,"useReactiveSharedValue",{enumerable:!0,get:function(){return r(d[11]).useReactiveSharedValue}}),Object.defineProperty(e,"useScrollHandler",{enumerable:!0,get:function(){return r(d[12]).useScrollHandler}}),Object.defineProperty(e,"useScrollable",{enumerable:!0,get:function(){return r(d[13]).useScrollable}}),Object.defineProperty(e,"useScrollableSetter",{enumerable:!0,get:function(){return r(d[14]).useScrollableSetter}}),Object.defineProperty(e,"useStableCallback",{enumerable:!0,get:function(){return r(d[15]).useStableCallback}})},1074,[1075,1077,1079,1081,1083,1087,1088,1091,1092,1093,1100,1101,1102,1104,1106,1107]); |
|
1081 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheet=void 0;var t=r(d[0]);e.useBottomSheet=function(){var o=(0,t.useContext)(r(d[1]).BottomSheetContext);if(null===o)throw"'useBottomSheet' cannot be used out of the BottomSheet!";return o}},1075,[122,1076]); |
|
1082 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetProvider=e.BottomSheetContext=void 0;var t=(0,r(d[0]).createContext)(null);e.BottomSheetContext=t;var o=t.Provider;e.BottomSheetProvider=o},1076,[122]); |
|
1083 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetDynamicSnapPoints=void 0;var t=r(d[0]);e.useBottomSheetDynamicSnapPoints=function(n){var o,I=(0,r(d[1]).useSharedValue)(0),u=(0,r(d[1]).useSharedValue)(r(d[2]).INITIAL_HANDLE_HEIGHT),H=(0,r(d[1]).useDerivedValue)(((o=function(){if(u.value===r(d[2]).INITIAL_HANDLE_HEIGHT||0===I.value)return n.map(function(){return r(d[2]).INITIAL_SNAP_POINT});var t=I.value+u.value;return n.map(function(n){return'CONTENT_HEIGHT'===n?t:n})})._closure={animatedHandleHeight:u,INITIAL_HANDLE_HEIGHT:r(d[2]).INITIAL_HANDLE_HEIGHT,animatedContentHeight:I,initialSnapPoints:n,INITIAL_SNAP_POINT:r(d[2]).INITIAL_SNAP_POINT},o.asString="function _f(){const{animatedHandleHeight,INITIAL_HANDLE_HEIGHT,animatedContentHeight,initialSnapPoints,INITIAL_SNAP_POINT}=jsThis._closure;{if(animatedHandleHeight.value===INITIAL_HANDLE_HEIGHT||animatedContentHeight.value===0){return initialSnapPoints.map(function(){return INITIAL_SNAP_POINT;});}const contentWithHandleHeight=animatedContentHeight.value+animatedHandleHeight.value;return initialSnapPoints.map(function(snapPoint){return snapPoint==='CONTENT_HEIGHT'?contentWithHandleHeight:snapPoint;});}}",o.__workletHash=0xadaf64ddb68,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useBottomSheetDynamicSnapPoints.ts (27:45)",o),[]),_=(0,t.useCallback)(function(t){var n=t.nativeEvent.layout.height;I.value=n},[I]);return{animatedSnapPoints:H,animatedHandleHeight:u,animatedContentHeight:I,handleContentLayout:_}}},1077,[122,408,1078]); |
|
1084 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.INITIAL_VALUE=e.INITIAL_SNAP_POINT=e.INITIAL_POSITION=e.INITIAL_HANDLE_HEIGHT=e.INITIAL_CONTAINER_OFFSET=e.INITIAL_CONTAINER_HEIGHT=e.DEFAULT_OVER_DRAG_RESISTANCE_FACTOR=e.DEFAULT_KEYBOARD_INPUT_MODE=e.DEFAULT_KEYBOARD_BLUR_BEHAVIOR=e.DEFAULT_KEYBOARD_BEHAVIOR=e.DEFAULT_HANDLE_HEIGHT=e.DEFAULT_ENABLE_PAN_DOWN_TO_CLOSE=e.DEFAULT_ENABLE_OVER_DRAG=e.DEFAULT_ENABLE_HANDLE_PANNING_GESTURE=e.DEFAULT_ENABLE_CONTENT_PANNING_GESTURE=e.DEFAULT_ANIMATE_ON_MOUNT=void 0;e.DEFAULT_HANDLE_HEIGHT=24;e.DEFAULT_OVER_DRAG_RESISTANCE_FACTOR=2.5;e.DEFAULT_ENABLE_CONTENT_PANNING_GESTURE=!0;e.DEFAULT_ENABLE_HANDLE_PANNING_GESTURE=!0;e.DEFAULT_ENABLE_OVER_DRAG=!0;e.DEFAULT_ENABLE_PAN_DOWN_TO_CLOSE=!1;e.DEFAULT_ANIMATE_ON_MOUNT=!0;var E=r(d[0]).KEYBOARD_BEHAVIOR.interactive;e.DEFAULT_KEYBOARD_BEHAVIOR=E;var _=r(d[0]).KEYBOARD_BLUR_BEHAVIOR.none;e.DEFAULT_KEYBOARD_BLUR_BEHAVIOR=_;var A=r(d[0]).KEYBOARD_INPUT_MODE.adjustPan;e.DEFAULT_KEYBOARD_INPUT_MODE=A;var N=Number.NEGATIVE_INFINITY;e.INITIAL_VALUE=N;e.INITIAL_SNAP_POINT=-999;e.INITIAL_CONTAINER_HEIGHT=-999;e.INITIAL_CONTAINER_OFFSET={top:0,bottom:0,left:0,right:0};e.INITIAL_HANDLE_HEIGHT=-999,e.INITIAL_POSITION=r(d[0]).SCREEN_HEIGHT},1078,[1073]); |
|
1085 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetGestureHandlers=void 0;var t=r(d[0]);e.useBottomSheetGestureHandlers=function(){var o=(0,t.useContext)(r(d[1]).BottomSheetGestureHandlersContext);if(null===o)throw"'useBottomSheetGestureHandlers' cannot be used out of the BottomSheet!";return o}},1079,[122,1080]); |
|
1086 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetGestureHandlersContext=void 0;var t=(0,r(d[0]).createContext)(null);e.BottomSheetGestureHandlersContext=t},1080,[122]); |
|
1087 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetInternal=function(o){var n=(0,t.useContext)(r(d[1]).BottomSheetInternalContext);if(!0!==o&&null===n)throw"'useBottomSheetInternal' cannot be used out of the BottomSheet!";return n};var t=r(d[0])},1081,[122,1082]); |
|
1088 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetInternalProvider=e.BottomSheetInternalContext=void 0;var t=(0,r(d[0]).createContext)(null);e.BottomSheetInternalContext=t;var o=t.Provider;e.BottomSheetInternalProvider=o},1082,[122]); |
|
1089 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetModal=void 0;var t=r(d[0]);e.useBottomSheetModal=function(){var o=(0,t.useContext)(r(d[1]).BottomSheetModalContext);if(null===o)throw"'BottomSheetModalContext' cannot be null!";return o}},1083,[122,1084]); |
|
1090 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BottomSheetContext",{enumerable:!0,get:function(){return r(d[0]).BottomSheetContext}}),Object.defineProperty(e,"BottomSheetGestureHandlersContext",{enumerable:!0,get:function(){return r(d[1]).BottomSheetGestureHandlersContext}}),Object.defineProperty(e,"BottomSheetInternalContext",{enumerable:!0,get:function(){return r(d[2]).BottomSheetInternalContext}}),Object.defineProperty(e,"BottomSheetInternalProvider",{enumerable:!0,get:function(){return r(d[2]).BottomSheetInternalProvider}}),Object.defineProperty(e,"BottomSheetModalContext",{enumerable:!0,get:function(){return r(d[3]).BottomSheetModalContext}}),Object.defineProperty(e,"BottomSheetModalInternalContext",{enumerable:!0,get:function(){return r(d[4]).BottomSheetModalInternalContext}}),Object.defineProperty(e,"BottomSheetModalInternalProvider",{enumerable:!0,get:function(){return r(d[4]).BottomSheetModalInternalProvider}}),Object.defineProperty(e,"BottomSheetModalProvider",{enumerable:!0,get:function(){return r(d[3]).BottomSheetModalProvider}}),Object.defineProperty(e,"BottomSheetProvider",{enumerable:!0,get:function(){return r(d[0]).BottomSheetProvider}})},1084,[1076,1080,1082,1085,1086]); |
|
1091 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetModalProvider=e.BottomSheetModalContext=void 0;var o=(0,r(d[0]).createContext)(null);e.BottomSheetModalContext=o;var t=o.Provider;e.BottomSheetModalProvider=t},1085,[122]); |
|
1092 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetModalInternalProvider=e.BottomSheetModalInternalContext=void 0;var t=(0,r(d[0]).createContext)(null);e.BottomSheetModalInternalContext=t;var o=t.Provider;e.BottomSheetModalInternalProvider=o},1086,[122]); |
|
1093 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetModalInternal=function(n){var o=(0,t.useContext)(r(d[1]).BottomSheetModalInternalContext);if(!0!==n&&null===o)throw"'BottomSheetModalInternalContext' cannot be null!";return o};var t=r(d[0])},1087,[122,1084]); |
|
1094 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useGestureEventsHandlersDefault=void 0;var t=r(d[0]);e.useGestureEventsHandlersDefault=function(){var o,n=(0,r(d[1]).useBottomSheetInternal)(),s=n.animatedPosition,l=n.animatedSnapPoints,S=n.animatedKeyboardState,E=n.animatedKeyboardHeight,c=n.animatedContainerHeight,P=n.animatedScrollableType,u=n.animatedHighestSnapPoint,O=n.animatedClosedPosition,R=n.animatedScrollableContentOffsetY,v=n.enableOverDrag,T=n.enablePanDownToClose,L=n.overDragResistanceFactor,C=n.isInTemporaryPosition,f=n.isScrollableRefreshable,b=n.animateToPosition,_=n.stopAnimation;return{handleOnStart:(0,r(d[2]).useWorkletCallback)(((o=function(t,o,n){_(),n.initialPosition=s.value,n.initialKeyboardState=S.value,R.value>0&&(n.isScrollablePositionLocked=!0)})._closure={stopAnimation:_,animatedPosition:s,animatedKeyboardState:S,animatedScrollableContentOffsetY:R},o.asString="function handleOnStart(__,_,context){const{stopAnimation,animatedPosition,animatedKeyboardState,animatedScrollableContentOffsetY}=jsThis._closure;{stopAnimation();context.initialPosition=animatedPosition.value;context.initialKeyboardState=animatedKeyboardState.value;if(animatedScrollableContentOffsetY.value>0){context.isScrollablePositionLocked=true;}}}",o.__workletHash=4621697382924,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureEventsHandlersDefault.tsx (50:8)",o),[_,s,S,R]),handleOnActive:(0,r(d[2]).useWorkletCallback)((function(){var t=function(t,o,n){var S=o.translationY,E=u.value;C.value&&n.initialKeyboardState===r(d[3]).KEYBOARD_STATE.SHOWN&&(E=n.initialPosition),C.value&&n.initialPosition<E&&(E=n.initialPosition);var O=T?c.value:l.value[0];if(t!==r(d[3]).GESTURE_SOURCE.SCROLLABLE||!f.value||s.value!==E){var b=n.initialPosition===E&&t===r(d[3]).GESTURE_SOURCE.SCROLLABLE||!n.isScrollablePositionLocked?-1*R.value:0,_=n.initialPosition+S,p=_+b,h=(0,r(d[4]).clamp)(p,E,O);if(n.isScrollablePositionLocked&&t===r(d[3]).GESTURE_SOURCE.SCROLLABLE&&s.value===E&&(n.isScrollablePositionLocked=!1),v){if((t===r(d[3]).GESTURE_SOURCE.HANDLE||P.value===r(d[3]).SCROLLABLE_TYPE.VIEW)&&_<E){var A=E-Math.sqrt(E-_+1)*L;return void(s.value=A)}if(t===r(d[3]).GESTURE_SOURCE.HANDLE&&_>O){var U=O+Math.sqrt(_-O+1)*L;return void(s.value=U)}if(t===r(d[3]).GESTURE_SOURCE.SCROLLABLE&&_+b>O){var D=O+Math.sqrt(_+b-O+1)*L;return void(s.value=D)}}s.value=h}};return t._closure={animatedHighestSnapPoint:u,isInTemporaryPosition:C,KEYBOARD_STATE:{SHOWN:r(d[3]).KEYBOARD_STATE.SHOWN},enablePanDownToClose:T,animatedContainerHeight:c,animatedSnapPoints:l,GESTURE_SOURCE:{SCROLLABLE:r(d[3]).GESTURE_SOURCE.SCROLLABLE,HANDLE:r(d[3]).GESTURE_SOURCE.HANDLE},isScrollableRefreshable:f,animatedPosition:s,animatedScrollableContentOffsetY:R,clamp:r(d[4]).clamp,enableOverDrag:v,animatedScrollableType:P,SCROLLABLE_TYPE:{VIEW:r(d[3]).SCROLLABLE_TYPE.VIEW},overDragResistanceFactor:L},t.asString="function handleOnActive(source,{translationY:translationY},context){const{animatedHighestSnapPoint,isInTemporaryPosition,KEYBOARD_STATE,enablePanDownToClose,animatedContainerHeight,animatedSnapPoints,GESTURE_SOURCE,isScrollableRefreshable,animatedPosition,animatedScrollableContentOffsetY,clamp,enableOverDrag,animatedScrollableType,SCROLLABLE_TYPE,overDragResistanceFactor}=jsThis._closure;{let highestSnapPoint=animatedHighestSnapPoint.value;if(isInTemporaryPosition.value&&context.initialKeyboardState===KEYBOARD_STATE.SHOWN){highestSnapPoint=context.initialPosition;}if(isInTemporaryPosition.value&&context.initialPosition<highestSnapPoint){highestSnapPoint=context.initialPosition;}const lowestSnapPoint=enablePanDownToClose?animatedContainerHeight.value:animatedSnapPoints.value[0];if(source===GESTURE_SOURCE.SCROLLABLE&&isScrollableRefreshable.value&&animatedPosition.value===highestSnapPoint){return;}const negativeScrollableContentOffset=context.initialPosition===highestSnapPoint&&source===GESTURE_SOURCE.SCROLLABLE||!context.isScrollablePositionLocked?animatedScrollableContentOffsetY.value*-1:0;const draggedPosition=context.initialPosition+translationY;const accumulatedDraggedPosition=draggedPosition+negativeScrollableContentOffset;const clampedPosition=clamp(accumulatedDraggedPosition,highestSnapPoint,lowestSnapPoint);if(context.isScrollablePositionLocked&&source===GESTURE_SOURCE.SCROLLABLE&&animatedPosition.value===highestSnapPoint){context.isScrollablePositionLocked=false;}if(enableOverDrag){if((source===GESTURE_SOURCE.HANDLE||animatedScrollableType.value===SCROLLABLE_TYPE.VIEW)&&draggedPosition<highestSnapPoint){const resistedPosition=highestSnapPoint-Math.sqrt(1+(highestSnapPoint-draggedPosition))*overDragResistanceFactor;animatedPosition.value=resistedPosition;return;}if(source===GESTURE_SOURCE.HANDLE&&draggedPosition>lowestSnapPoint){const resistedPosition=lowestSnapPoint+Math.sqrt(1+(draggedPosition-lowestSnapPoint))*overDragResistanceFactor;animatedPosition.value=resistedPosition;return;}if(source===GESTURE_SOURCE.SCROLLABLE&&draggedPosition+negativeScrollableContentOffset>lowestSnapPoint){const resistedPosition=lowestSnapPoint+Math.sqrt(1+(draggedPosition+negativeScrollableContentOffset-lowestSnapPoint))*overDragResistanceFactor;animatedPosition.value=resistedPosition;return;}}animatedPosition.value=clampedPosition;}}",t.__workletHash=0xff35ece975f,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureEventsHandlersDefault.tsx (75:8)",t})(),[v,T,L,C,f,u,c,l,s,P,R]),handleOnEnd:(0,r(d[2]).useWorkletCallback)((function(){var o=function(o,n,S){var c=n.translationY,v=n.absoluteY,L=n.velocityY,_=u.value,p=s.value===_;if(o!==r(d[3]).GESTURE_SOURCE.SCROLLABLE||!f.value||!p)if(C.value&&S.initialPosition>=s.value)S.initialPosition>s.value&&b(S.initialPosition,r(d[3]).ANIMATION_SOURCE.GESTURE,L/2);else{var h=P.value!==r(d[3]).SCROLLABLE_TYPE.UNDETERMINED&&P.value!==r(d[3]).SCROLLABLE_TYPE.VIEW;S.initialKeyboardState===r(d[3]).KEYBOARD_STATE.SHOWN&&s.value>S.initialPosition&&('ios'===t.Platform.OS&&h&&v>r(d[3]).WINDOW_HEIGHT-E.value||(0,r(d[2]).runOnJS)(t.Keyboard.dismiss)()),C.value&&(C.value=!1);var A=l.value.slice();T&&A.unshift(O.value);var U=(0,r(d[5]).snapPoint)(c+S.initialPosition,L,A);U!==s.value&&(o===r(d[3]).GESTURE_SOURCE.SCROLLABLE&&R.value>0&&p||b(U,r(d[3]).ANIMATION_SOURCE.GESTURE,L/2))}};return o._closure={animatedHighestSnapPoint:u,animatedPosition:s,GESTURE_SOURCE:{SCROLLABLE:r(d[3]).GESTURE_SOURCE.SCROLLABLE},isScrollableRefreshable:f,isInTemporaryPosition:C,animateToPosition:b,ANIMATION_SOURCE:{GESTURE:r(d[3]).ANIMATION_SOURCE.GESTURE},animatedScrollableType:P,SCROLLABLE_TYPE:{UNDETERMINED:r(d[3]).SCROLLABLE_TYPE.UNDETERMINED,VIEW:r(d[3]).SCROLLABLE_TYPE.VIEW},KEYBOARD_STATE:{SHOWN:r(d[3]).KEYBOARD_STATE.SHOWN},Platform:{OS:t.Platform.OS},WINDOW_HEIGHT:r(d[3]).WINDOW_HEIGHT,animatedKeyboardHeight:E,runOnJS:r(d[2]).runOnJS,Keyboard:{dismiss:t.Keyboard.dismiss},animatedSnapPoints:l,enablePanDownToClose:T,animatedClosedPosition:O,snapPoint:r(d[5]).snapPoint,animatedScrollableContentOffsetY:R},o.asString="function handleOnEnd(source,{translationY:translationY,absoluteY:absoluteY,velocityY:velocityY},context){const{animatedHighestSnapPoint,animatedPosition,GESTURE_SOURCE,isScrollableRefreshable,isInTemporaryPosition,animateToPosition,ANIMATION_SOURCE,animatedScrollableType,SCROLLABLE_TYPE,KEYBOARD_STATE,Platform,WINDOW_HEIGHT,animatedKeyboardHeight,runOnJS,Keyboard,animatedSnapPoints,enablePanDownToClose,animatedClosedPosition,snapPoint,animatedScrollableContentOffsetY}=jsThis._closure;{const highestSnapPoint=animatedHighestSnapPoint.value;const isSheetAtHighestSnapPoint=animatedPosition.value===highestSnapPoint;if(source===GESTURE_SOURCE.SCROLLABLE&&isScrollableRefreshable.value&&isSheetAtHighestSnapPoint){return;}if(isInTemporaryPosition.value&&context.initialPosition>=animatedPosition.value){if(context.initialPosition>animatedPosition.value){animateToPosition(context.initialPosition,ANIMATION_SOURCE.GESTURE,velocityY/2);}return;}const isScrollable=animatedScrollableType.value!==SCROLLABLE_TYPE.UNDETERMINED&&animatedScrollableType.value!==SCROLLABLE_TYPE.VIEW;if(context.initialKeyboardState===KEYBOARD_STATE.SHOWN&&animatedPosition.value>context.initialPosition){if(!(Platform.OS==='ios'&&isScrollable&&absoluteY>WINDOW_HEIGHT-animatedKeyboardHeight.value)){runOnJS(Keyboard.dismiss)();}}if(isInTemporaryPosition.value){isInTemporaryPosition.value=false;}const snapPoints=animatedSnapPoints.value.slice();if(enablePanDownToClose){snapPoints.unshift(animatedClosedPosition.value);}const destinationPoint=snapPoint(translationY+context.initialPosition,velocityY,snapPoints);if(destinationPoint===animatedPosition.value){return;}const wasGestureHandledByScrollView=source===GESTURE_SOURCE.SCROLLABLE&&animatedScrollableContentOffsetY.value>0;if(wasGestureHandledByScrollView&&isSheetAtHighestSnapPoint){return;}animateToPosition(destinationPoint,ANIMATION_SOURCE.GESTURE,velocityY/2);}}",o.__workletHash=0xb59c5bae2bd,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureEventsHandlersDefault.tsx (230:8)",o})(),[T,C,f,O,u,E,s,P,l,R,b])}}},1088,[1,1081,408,1073,1089,1090]); |
|
1095 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.clamp=void 0;var o,t=((o=function(o,t,n){return Math.min(Math.max(t,o),n)})._closure={},o.asString="function _f(value,lowerBound,upperBound){return Math.min(Math.max(lowerBound,value),upperBound);}",o.__workletHash=5192855762164,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\clamp.ts (1:21)",o);e.clamp=t},1089,[]); |
|
1096 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.snapPoint=void 0;var t,n=((t=function(t,n,o){var s=t+.2*n,l=o.map(function(t){return Math.abs(s-t)}),p=Math.min.apply(null,l);return o.filter(function(t){return Math.abs(s-t)===p})[0]})._closure={},t.asString="function _f(value,velocity,points){const point=value+0.2*velocity;const deltas=points.map(function(p){return Math.abs(point-p);});const minDelta=Math.min.apply(null,deltas);return points.filter(function(p){return Math.abs(point-p)===minDelta;})[0];}",t.__workletHash=1332197064344,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\snapPoint.ts (1:25)",t);e.snapPoint=n},1090,[]); |
|
1097 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useGestureHandler=void 0;var t,o=((t=function(t){Object.keys(t).map(function(o){t[o]=void 0})})._closure={},t.asString="function _f(context){Object.keys(context).map(function(key){context[key]=undefined;});}",t.__workletHash=7385060716205,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (12:21)",t);e.useGestureHandler=function(t,s,n,u,E,c){var l;return(0,r(d[0]).useAnimatedGestureHandler)({onActive:(l=function(o,c){if(!c.didStart)return c.didStart=!0,s.value=r(d[1]).State.BEGAN,n.value=t,void u(t,o,c);n.value===t&&(s.value=o.state,E(t,o,c))},l._closure={state:s,State:{BEGAN:r(d[1]).State.BEGAN},gestureSource:n,type:t,handleOnStart:u,handleOnActive:E},l.asString="function _f(payload,context){const{state,State,gestureSource,type,handleOnStart,handleOnActive}=jsThis._closure;{if(!context.didStart){context.didStart=true;state.value=State.BEGAN;gestureSource.value=type;handleOnStart(type,payload,context);return;}if(gestureSource.value!==type){return;}state.value=payload.state;handleOnActive(type,payload,context);}}",l.__workletHash=2762028979427,l.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (33:16)",l),onEnd:(function(){var u=function(u,E){n.value===t&&(s.value=u.state,n.value=r(d[2]).GESTURE_SOURCE.UNDETERMINED,c(t,u,E),o(E))};return u._closure={gestureSource:n,type:t,state:s,GESTURE_SOURCE:{UNDETERMINED:r(d[2]).GESTURE_SOURCE.UNDETERMINED},handleOnEnd:c,resetContext:o},u.asString="function _f(payload,context){const{gestureSource,type,state,GESTURE_SOURCE,handleOnEnd,resetContext}=jsThis._closure;{if(gestureSource.value!==type){return;}state.value=payload.state;gestureSource.value=GESTURE_SOURCE.UNDETERMINED;handleOnEnd(type,payload,context);resetContext(context);}}",u.__workletHash=0xb74401fe64c,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (51:13)",u})(),onCancel:(function(){var u=function(u,E){n.value===t&&(s.value=u.state,n.value=r(d[2]).GESTURE_SOURCE.UNDETERMINED,o(E))};return u._closure={gestureSource:n,type:t,state:s,GESTURE_SOURCE:{UNDETERMINED:r(d[2]).GESTURE_SOURCE.UNDETERMINED},resetContext:o},u.asString="function _f(payload,context){const{gestureSource,type,state,GESTURE_SOURCE,resetContext}=jsThis._closure;{if(gestureSource.value!==type){return;}state.value=payload.state;gestureSource.value=GESTURE_SOURCE.UNDETERMINED;resetContext(context);}}",u.__workletHash=5951139757011,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (62:16)",u})(),onFail:(function(){var u=function(u,E){n.value===t&&(s.value=u.state,n.value=r(d[2]).GESTURE_SOURCE.UNDETERMINED,o(E))};return u._closure={gestureSource:n,type:t,state:s,GESTURE_SOURCE:{UNDETERMINED:r(d[2]).GESTURE_SOURCE.UNDETERMINED},resetContext:o},u.asString="function _f(payload,context){const{gestureSource,type,state,GESTURE_SOURCE,resetContext}=jsThis._closure;{if(gestureSource.value!==type){return;}state.value=payload.state;gestureSource.value=GESTURE_SOURCE.UNDETERMINED;resetContext(context);}}",u.__workletHash=5951139757011,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (72:14)",u})(),onFinish:(function(){var u=function(u,E){n.value===t&&(s.value=u.state,n.value=r(d[2]).GESTURE_SOURCE.UNDETERMINED,o(E))};return u._closure={gestureSource:n,type:t,state:s,GESTURE_SOURCE:{UNDETERMINED:r(d[2]).GESTURE_SOURCE.UNDETERMINED},resetContext:o},u.asString="function _f(payload,context){const{gestureSource,type,state,GESTURE_SOURCE,resetContext}=jsThis._closure;{if(gestureSource.value!==type){return;}state.value=payload.state;gestureSource.value=GESTURE_SOURCE.UNDETERMINED;resetContext(context);}}",u.__workletHash=5951139757011,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useGestureHandler.ts (82:16)",u})()},[t,s,u,E,c])}},1091,[408,695,1073]); |
|
1098 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useKeyboard=void 0;var o=r(d[0]),t=r(d[1]),n={KEYBOARD_SHOW:t.Platform.select({ios:'keyboardWillShow',android:'keyboardDidShow',default:''}),KEYBOARD_HIDE:t.Platform.select({ios:'keyboardWillHide',android:'keyboardDidHide',default:''})};e.useKeyboard=function(){var s,u=(0,r(d[2]).useSharedValue)(!1),l=(0,r(d[2]).useSharedValue)(r(d[3]).KEYBOARD_STATE.UNDETERMINED),h=(0,r(d[2]).useSharedValue)(0),y=(0,r(d[2]).useSharedValue)('keyboard'),E=(0,r(d[2]).useSharedValue)(500),b=(0,r(d[2]).useSharedValue)([]),c=(0,r(d[2]).useWorkletCallback)(((s=function(o,t,n,s){o!==r(d[3]).KEYBOARD_STATE.SHOWN||u.value?(h.value=o===r(d[3]).KEYBOARD_STATE.SHOWN?t:0===t?h.value:t,E.value=n,y.value=s,l.value=o,b.value=[]):b.value=[o,t,n,s]})._closure={KEYBOARD_STATE:{SHOWN:r(d[3]).KEYBOARD_STATE.SHOWN},shouldHandleKeyboardEvents:u,temporaryCachedKeyboardEvent:b,keyboardHeight:h,keyboardAnimationDuration:E,keyboardAnimationEasing:y,keyboardState:l},s.asString="function _f(state,height,duration,easing){const{KEYBOARD_STATE,shouldHandleKeyboardEvents,temporaryCachedKeyboardEvent,keyboardHeight,keyboardAnimationDuration,keyboardAnimationEasing,keyboardState}=jsThis._closure;{if(state===KEYBOARD_STATE.SHOWN&&!shouldHandleKeyboardEvents.value){temporaryCachedKeyboardEvent.value=[state,height,duration,easing];return;}keyboardHeight.value=state===KEYBOARD_STATE.SHOWN?height:height===0?keyboardHeight.value:height;keyboardAnimationDuration.value=duration;keyboardAnimationEasing.value=easing;keyboardState.value=state;temporaryCachedKeyboardEvent.value=[];}}",s.__workletHash=0xd9362b4c616,s.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useKeyboard.ts (45:4)",s),[]);return(0,o.useEffect)(function(){var o=t.Keyboard.addListener(n.KEYBOARD_SHOW,function(o){(0,r(d[2]).runOnUI)(c)(r(d[3]).KEYBOARD_STATE.SHOWN,o.endCoordinates.height,o.duration,o.easing)}),s=t.Keyboard.addListener(n.KEYBOARD_HIDE,function(o){(0,r(d[2]).runOnUI)(c)(r(d[3]).KEYBOARD_STATE.HIDDEN,o.endCoordinates.height,o.duration,o.easing)});return function(){o.remove(),s.remove()}},[c]),(0,r(d[2]).useAnimatedReaction)((function(){var o=function(){return u.value};return o._closure={shouldHandleKeyboardEvents:u},o.asString="function _f(){const{shouldHandleKeyboardEvents}=jsThis._closure;{return shouldHandleKeyboardEvents.value;}}",o.__workletHash=8660841665491,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useKeyboard.ts (111:4)",o})(),(function(){var o=function(o){var t=b.value;o&&t.length>0&&c(t[0],t[1],t[2],t[3])};return o._closure={temporaryCachedKeyboardEvent:b,handleKeyboardEvent:c},o.asString="function _f(result){const{temporaryCachedKeyboardEvent,handleKeyboardEvent}=jsThis._closure;{const params=temporaryCachedKeyboardEvent.value;if(result&¶ms.length>0){handleKeyboardEvent(params[0],params[1],params[2],params[3]);}}}",o.__workletHash=0xf4fbc02652f,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useKeyboard.ts (112:4)",o})()),{state:l,height:h,animationEasing:y,animationDuration:E,shouldHandleKeyboardEvents:u}}},1092,[122,1,408,1073]); |
|
1099 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useNormalizedSnapPoints=void 0;e.useNormalizedSnapPoints=function(n,o,t,I,s){var N;return(0,r(d[0]).useDerivedValue)(((N=function(){return('value'in n?n.value:n).map(function(n){return o.value===r(d[1]).INITIAL_CONTAINER_HEIGHT?r(d[1]).INITIAL_SNAP_POINT:(0,r(d[2]).normalizeSnapPoint)(n,o.value,t,I,s)})})._closure={providedSnapPoints:n,containerHeight:o,INITIAL_CONTAINER_HEIGHT:r(d[1]).INITIAL_CONTAINER_HEIGHT,INITIAL_SNAP_POINT:r(d[1]).INITIAL_SNAP_POINT,normalizeSnapPoint:r(d[2]).normalizeSnapPoint,topInset:t,bottomInset:I,$modal:s},N.asString="function _f(){const{providedSnapPoints,containerHeight,INITIAL_CONTAINER_HEIGHT,INITIAL_SNAP_POINT,normalizeSnapPoint,topInset,bottomInset,$modal}=jsThis._closure;{return('value'in providedSnapPoints?providedSnapPoints.value:providedSnapPoints).map(function(snapPoint){if(containerHeight.value===INITIAL_CONTAINER_HEIGHT){return INITIAL_SNAP_POINT;}return normalizeSnapPoint(snapPoint,containerHeight.value,topInset,bottomInset,$modal);});}}",N.__workletHash=0xba7b676f5ed,N.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useNormalizedSnapPoints.ts (26:47)",N))}},1093,[408,1078,1094]); |
|
1100 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"animate",{enumerable:!0,get:function(){return r(d[0]).animate}}),Object.defineProperty(e,"getKeyboardAnimationConfigs",{enumerable:!0,get:function(){return r(d[1]).getKeyboardAnimationConfigs}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return r(d[2]).noop}}),Object.defineProperty(e,"normalizeSnapPoint",{enumerable:!0,get:function(){return r(d[3]).normalizeSnapPoint}}),Object.defineProperty(e,"print",{enumerable:!0,get:function(){return r(d[4]).print}}),Object.defineProperty(e,"workletNoop",{enumerable:!0,get:function(){return r(d[2]).workletNoop}})},1094,[1095,1096,1097,1098,1099]); |
|
1101 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.animate=void 0;var n,o=((n=function(n){var o=n.point,t=n.configs,I=void 0===t?void 0:t,N=n.velocity,T=void 0===N?0:N,O=n.onComplete;return I||(I=r(d[0]).ANIMATION_CONFIGS),('duration'in I||'easing'in I?r(d[0]).ANIMATION_METHOD.TIMING:r(d[0]).ANIMATION_METHOD.SPRING)===r(d[0]).ANIMATION_METHOD.TIMING?(0,r(d[1]).withTiming)(o,I,O):(0,r(d[1]).withSpring)(o,Object.assign({velocity:T},I),O)})._closure={ANIMATION_CONFIGS:r(d[0]).ANIMATION_CONFIGS,ANIMATION_METHOD:{TIMING:r(d[0]).ANIMATION_METHOD.TIMING,SPRING:r(d[0]).ANIMATION_METHOD.SPRING},withTiming:r(d[1]).withTiming,withSpring:r(d[1]).withSpring},n.asString="function _f({point:point,configs=undefined,velocity=0,onComplete:onComplete}){const{ANIMATION_CONFIGS,ANIMATION_METHOD,withTiming,withSpring}=jsThis._closure;{if(!configs){configs=ANIMATION_CONFIGS;}const type='duration'in configs||'easing'in configs?ANIMATION_METHOD.TIMING:ANIMATION_METHOD.SPRING;if(type===ANIMATION_METHOD.TIMING){return withTiming(point,configs,onComplete);}else{return withSpring(point,Object.assign({velocity:velocity},configs),onComplete);}}}",n.__workletHash=2673439326525,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\animate.ts (17:23)",n);e.animate=o},1095,[1073,408]); |
|
1102 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getKeyboardAnimationConfigs=void 0;var n,s=((n=function(n,s){switch(n){case'easeIn':return{easing:r(d[0]).Easing.in(r(d[0]).Easing.ease),duration:s};case'easeOut':return{easing:r(d[0]).Easing.out(r(d[0]).Easing.ease),duration:s};case'easeInEaseOut':return{easing:r(d[0]).Easing.inOut(r(d[0]).Easing.ease),duration:s};case'linear':return{easing:r(d[0]).Easing.linear,duration:s};case'keyboard':return{damping:500,stiffness:1e3,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}}})._closure={Easing:{in:r(d[0]).Easing.in,ease:r(d[0]).Easing.ease,out:r(d[0]).Easing.out,inOut:r(d[0]).Easing.inOut,linear:r(d[0]).Easing.linear}},n.asString="function _f(easing,duration){const{Easing}=jsThis._closure;{switch(easing){case'easeIn':return{easing:Easing.in(Easing.ease),duration:duration};case'easeOut':return{easing:Easing.out(Easing.ease),duration:duration};case'easeInEaseOut':return{easing:Easing.inOut(Easing.ease),duration:duration};case'linear':return{easing:Easing.linear,duration:duration};case'keyboard':return{damping:500,stiffness:1000,mass:3,overshootClamping:true,restDisplacementThreshold:10,restSpeedThreshold:10};}}}",n.__workletHash=3357217280583,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\getKeyboardAnimationConfigs.ts (4:43)",n);e.getKeyboardAnimationConfigs=s},1096,[408]); |
|
1103 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.workletNoop=e.noop=void 0;var o,t=((o=function(){})._closure={},o.asString="function _f(){}",o.__workletHash=0xee9333ba43b,o.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\noop.ts (1:20)",o);e.workletNoop=t;e.noop=function(){}},1097,[]); |
|
1104 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeSnapPoint=void 0;var n,t=((n=function(n,t,o,l){arguments.length>4&&void 0!==arguments[4]&&arguments[4];var s=n;return'string'==typeof s&&(s=Number(s.split('%')[0])*t/100),Math.max(0,t-s)})._closure={},n.asString="function _f(snapPoint,containerHeight,_topInset,_bottomInset,_$modal=false){let normalizedSnapPoint=snapPoint;if(typeof normalizedSnapPoint==='string'){normalizedSnapPoint=Number(normalizedSnapPoint.split('%')[0])*containerHeight/100;}return Math.max(0,containerHeight-normalizedSnapPoint);}",n.__workletHash=2123289806921,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\utilities\\normalizeSnapPoint.ts (4:34)",n);e.normalizeSnapPoint=t},1098,[]); |
|
1105 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.print=e.enableLogging=void 0;e.enableLogging=function(){console.warn('[BottomSheet] could not enable logging on production!')};var n=function(){};e.print=n,Object.freeze(n)},1099,[]); |
|
1106 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.usePropsValidator=void 0;var t=r(d[0]),o=r(d[1])(r(d[2]));e.usePropsValidator=function(n){var p=n.index,s=n.snapPoints,u=n.topInset,l=n.bottomInset;(0,t.useMemo)(function(){var t='value'in s?s.value:s;(0,o.default)(t,"'snapPoints' was not provided! please provide at least one snap point."),t.map(function(t){var n='number'==typeof t?t:parseInt(t.replace('%',''),10);(0,o.default)(n>0||n===r(d[3]).INITIAL_SNAP_POINT,"Snap point '"+t+"' is invalid. if you want to allow user to close the sheet, Please use 'enablePanDownToClose' prop.")}),(0,o.default)('value'in t||t.length>0,"'snapPoints' was provided with no points! please provide at least one snap point."),(0,o.default)('number'==typeof p||void 0===p,"'index' was provided but with wrong type ! expected type is a number."),(0,o.default)('number'!=typeof p||p>=-1&&p<=t.length-1,"'index' was provided but out of the provided snap points range! expected value to be between -1, "+(t.length-1)),(0,o.default)('number'==typeof u||void 0===u,"'topInset' was provided but with wrong type ! expected type is a number."),(0,o.default)('number'==typeof l||void 0===l,"'bottomInset' was provided but with wrong type ! expected type is a number.")},[p,s,u,l])}},1100,[122,3,17,1078]); |
|
1107 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useReactiveSharedValue=void 0;var u=r(d[0]);e.useReactiveSharedValue=function(n){var t,c=(0,u.useRef)(null),l=(0,u.useRef)(null);return'object'==typeof n&&'value'in n||(null===l.current?(c.current=n,l.current='object'==typeof n?(0,r(d[1]).makeMutable)(Object.assign({},n)):(0,r(d[1]).makeMutable)(n)):c.current!==n&&(l.current.value=n)),(0,u.useEffect)(function(){return function(){l.current&&(0,r(d[1]).cancelAnimation)(l.current)}},[]),null!=(t=l.current)?t:n}},1101,[122,408]); |
|
1108 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollHandler=void 0;e.useScrollHandler=function(){var n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r(d[0]).useScrollEventsHandlersDefault,l=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,c=arguments.length>3?arguments[3]:void 0,s=(0,r(d[1]).useAnimatedRef)(),u=(0,r(d[1]).useSharedValue)(0),S=o(s,u),v=S.handleOnScroll,h=void 0===v?r(d[2]).workletNoop:v,O=S.handleOnBeginDrag,_=void 0===O?r(d[2]).workletNoop:O,f=S.handleOnEndDrag,D=void 0===f?r(d[2]).workletNoop:f,E=S.handleOnMomentumEnd,p=void 0===E?r(d[2]).workletNoop:E,J=S.handleOnMomentumBegin,k=void 0===J?r(d[2]).workletNoop:J;return{scrollHandler:(0,r(d[1]).useAnimatedScrollHandler)({onScroll:(n=function(n,o){h(n,o),l&&(0,r(d[1]).runOnJS)(l)({nativeEvent:n})},n._closure={handleOnScroll:h,onScroll:l,runOnJS:r(d[1]).runOnJS},n.asString="function _f(event,context){const{handleOnScroll,onScroll,runOnJS}=jsThis._closure;{handleOnScroll(event,context);if(onScroll){runOnJS(onScroll)({nativeEvent:event});}}}",n.__workletHash=9251567620991,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollHandler.ts (35:16)",n),onBeginDrag:(function(){var n=function(n,o){_(n,o),t&&(0,r(d[1]).runOnJS)(t)({nativeEvent:n})};return n._closure={handleOnBeginDrag:_,onScrollBeginDrag:t,runOnJS:r(d[1]).runOnJS},n.asString="function _f(event,context){const{handleOnBeginDrag,onScrollBeginDrag,runOnJS}=jsThis._closure;{handleOnBeginDrag(event,context);if(onScrollBeginDrag){runOnJS(onScrollBeginDrag)({nativeEvent:event});}}}",n.__workletHash=0xb45c8756ca8,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollHandler.ts (42:19)",n})(),onEndDrag:(function(){var n=function(n,o){D(n,o),c&&(0,r(d[1]).runOnJS)(c)({nativeEvent:n})};return n._closure={handleOnEndDrag:D,onScrollEndDrag:c,runOnJS:r(d[1]).runOnJS},n.asString="function _f(event,context){const{handleOnEndDrag,onScrollEndDrag,runOnJS}=jsThis._closure;{handleOnEndDrag(event,context);if(onScrollEndDrag){runOnJS(onScrollEndDrag)({nativeEvent:event});}}}",n.__workletHash=6883760269088,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollHandler.ts (49:17)",n})(),onMomentumBegin:k,onMomentumEnd:p},[h,_,D,k,p,l,t,c]),scrollableRef:s,scrollableContentOffsetY:u}}},1102,[1103,408,1094]); |
|
1109 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollEventsHandlersDefault=void 0;e.useScrollEventsHandlersDefault=function(t,o){var l,n=(0,r(d[0]).useBottomSheetInternal)(),s=n.animatedSheetState,c=n.animatedScrollableState,T=n.animatedAnimationState,E=n.animatedScrollableContentOffsetY;return{handleOnScroll:(0,r(d[1]).useWorkletCallback)(((l=function(l,n){if(s.value!==r(d[2]).SHEET_STATE.EXTENDED&&s.value!==r(d[2]).SHEET_STATE.FILL_PARENT||(n.shouldLockInitialPosition=!1),c.value===r(d[2]).SCROLLABLE_STATE.LOCKED){var T,E=n.shouldLockInitialPosition&&null!=(T=n.initialContentOffsetY)?T:0;return(0,r(d[1]).scrollTo)(t,0,E,!1),void(o.value=E)}})._closure={animatedSheetState:s,SHEET_STATE:{EXTENDED:r(d[2]).SHEET_STATE.EXTENDED,FILL_PARENT:r(d[2]).SHEET_STATE.FILL_PARENT},animatedScrollableState:c,SCROLLABLE_STATE:{LOCKED:r(d[2]).SCROLLABLE_STATE.LOCKED},scrollTo:r(d[1]).scrollTo,scrollableRef:t,scrollableContentOffsetY:o},l.asString="function _f(_,context){const{animatedSheetState,SHEET_STATE,animatedScrollableState,SCROLLABLE_STATE,scrollTo,scrollableRef,scrollableContentOffsetY}=jsThis._closure;{if(animatedSheetState.value===SHEET_STATE.EXTENDED||animatedSheetState.value===SHEET_STATE.FILL_PARENT){context.shouldLockInitialPosition=false;}if(animatedScrollableState.value===SCROLLABLE_STATE.LOCKED){var _context$initialConte;const lockPosition=context.shouldLockInitialPosition?(_context$initialConte=context.initialContentOffsetY)!==null&&_context$initialConte!==void 0?_context$initialConte:0:0;scrollTo(scrollableRef,0,lockPosition,false);scrollableContentOffsetY.value=lockPosition;return;}}}",l.__workletHash=0x9ce91aea610,l.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollEventsHandlersDefault.ts (29:6)",l),[t,o,c,s]),handleOnBeginDrag:(0,r(d[1]).useWorkletCallback)((function(){var t=function(t,l){var n=t.contentOffset.y;o.value=n,E.value=n,l.initialContentOffsetY=n,s.value!==r(d[2]).SHEET_STATE.EXTENDED&&s.value!==r(d[2]).SHEET_STATE.FILL_PARENT&&n>0?l.shouldLockInitialPosition=!0:l.shouldLockInitialPosition=!1};return t._closure={scrollableContentOffsetY:o,rootScrollableContentOffsetY:E,animatedSheetState:s,SHEET_STATE:{EXTENDED:r(d[2]).SHEET_STATE.EXTENDED,FILL_PARENT:r(d[2]).SHEET_STATE.FILL_PARENT}},t.asString="function _f({contentOffset:{y:y}},context){const{scrollableContentOffsetY,rootScrollableContentOffsetY,animatedSheetState,SHEET_STATE}=jsThis._closure;{scrollableContentOffsetY.value=y;rootScrollableContentOffsetY.value=y;context.initialContentOffsetY=y;if(animatedSheetState.value!==SHEET_STATE.EXTENDED&&animatedSheetState.value!==SHEET_STATE.FILL_PARENT&&y>0){context.shouldLockInitialPosition=true;}else{context.shouldLockInitialPosition=false;}}}",t.__workletHash=1573482767735,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollEventsHandlersDefault.ts (60:6)",t})(),[o,s,E]),handleOnEndDrag:(0,r(d[1]).useWorkletCallback)((function(){var l=function(l,n){var s=l.contentOffset.y;if(c.value===r(d[2]).SCROLLABLE_STATE.LOCKED){var S,f=n.shouldLockInitialPosition&&null!=(S=n.initialContentOffsetY)?S:0;return(0,r(d[1]).scrollTo)(t,0,f,!1),void(o.value=f)}T.value!==r(d[2]).ANIMATION_STATE.RUNNING&&(o.value=s,E.value=s)};return l._closure={animatedScrollableState:c,SCROLLABLE_STATE:{LOCKED:r(d[2]).SCROLLABLE_STATE.LOCKED},scrollTo:r(d[1]).scrollTo,scrollableRef:t,scrollableContentOffsetY:o,animatedAnimationState:T,ANIMATION_STATE:{RUNNING:r(d[2]).ANIMATION_STATE.RUNNING},rootScrollableContentOffsetY:E},l.asString="function _f({contentOffset:{y:y}},context){const{animatedScrollableState,SCROLLABLE_STATE,scrollTo,scrollableRef,scrollableContentOffsetY,animatedAnimationState,ANIMATION_STATE,rootScrollableContentOffsetY}=jsThis._closure;{if(animatedScrollableState.value===SCROLLABLE_STATE.LOCKED){var _context$initialConte;const lockPosition=context.shouldLockInitialPosition?(_context$initialConte=context.initialContentOffsetY)!==null&&_context$initialConte!==void 0?_context$initialConte:0:0;scrollTo(scrollableRef,0,lockPosition,false);scrollableContentOffsetY.value=lockPosition;return;}if(animatedAnimationState.value!==ANIMATION_STATE.RUNNING){scrollableContentOffsetY.value=y;rootScrollableContentOffsetY.value=y;}}}",l.__workletHash=6263118062740,l.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollEventsHandlersDefault.ts (87:6)",l})(),[t,o,T,c,E]),handleOnMomentumEnd:(0,r(d[1]).useWorkletCallback)((function(){var l=function(l,n){var s=l.contentOffset.y;if(c.value===r(d[2]).SCROLLABLE_STATE.LOCKED){var S,f=n.shouldLockInitialPosition&&null!=(S=n.initialContentOffsetY)?S:0;return(0,r(d[1]).scrollTo)(t,0,f,!1),void(o.value=0)}T.value!==r(d[2]).ANIMATION_STATE.RUNNING&&(o.value=s,E.value=s)};return l._closure={animatedScrollableState:c,SCROLLABLE_STATE:{LOCKED:r(d[2]).SCROLLABLE_STATE.LOCKED},scrollTo:r(d[1]).scrollTo,scrollableRef:t,scrollableContentOffsetY:o,animatedAnimationState:T,ANIMATION_STATE:{RUNNING:r(d[2]).ANIMATION_STATE.RUNNING},rootScrollableContentOffsetY:E},l.asString="function _f({contentOffset:{y:y}},context){const{animatedScrollableState,SCROLLABLE_STATE,scrollTo,scrollableRef,scrollableContentOffsetY,animatedAnimationState,ANIMATION_STATE,rootScrollableContentOffsetY}=jsThis._closure;{if(animatedScrollableState.value===SCROLLABLE_STATE.LOCKED){var _context$initialConte;const lockPosition=context.shouldLockInitialPosition?(_context$initialConte=context.initialContentOffsetY)!==null&&_context$initialConte!==void 0?_context$initialConte:0:0;scrollTo(scrollableRef,0,lockPosition,false);scrollableContentOffsetY.value=0;return;}if(animatedAnimationState.value!==ANIMATION_STATE.RUNNING){scrollableContentOffsetY.value=y;rootScrollableContentOffsetY.value=y;}}}",l.__workletHash=7563195001366,l.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\hooks\\useScrollEventsHandlersDefault.ts (112:6)",l})(),[o,t,T,c,E])}}},1103,[1081,408,1073]); |
|
1110 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollable=void 0;var l=r(d[0]);e.useScrollable=function(){var u=(0,l.useRef)(null),n=(0,l.useRef)(null),t=(0,r(d[1]).useSharedValue)(r(d[2]).SCROLLABLE_TYPE.UNDETERMINED),c=(0,r(d[1]).useSharedValue)(0),o=(0,r(d[1]).useSharedValue)(r(d[2]).SCROLLABLE_STATE.UNDETERMINED),s=(0,r(d[1]).useSharedValue)(!1),S=(0,l.useCallback)(function(l){var t,c;(null!=(t=null==(c=u.current)?void 0:c.id)?t:null)!==l.id&&(u.current&&(n.current=u.current),u.current=l)},[]),f=(0,l.useCallback)(function(l){var t,c,o;try{o=(0,r(d[3]).getRefNativeTag)(l)}catch(l){return}o===(null!=(t=null==(c=u.current)?void 0:c.id)?t:null)&&(u.current=n.current)},[]);return{scrollableRef:u,animatedScrollableType:t,animatedScrollableContentOffsetY:c,animatedScrollableOverrideState:o,isScrollableRefreshable:s,setScrollableRef:S,removeScrollableRef:f}}},1104,[122,408,1073,1105]); |
|
1111 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getRefNativeTag=function(o){var c,u=typeof o;t(o)?c=o():n(o)&&(c=o.current._nativeTag);if(!c||'number'!=typeof c)throw new Error("Unexpected nativeTag: "+u+"; nativeTag="+c+" \n\n\t\t\tcreateBottomSheetScrollableComponent's ScrollableComponent needs to return \n\t\t\ta reference that contains a nativeTag to a Native HostComponent.\n\n\t\t\tref="+o+"\n\t\t\t");return c};var t=function(t){return'function'==typeof t},n=function(t){return!!t&&'object'==typeof t&&'current'in(t||{})&&'_nativeTag'in((null==t?void 0:t.current)||{})}},1105,[]); |
|
1112 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollableSetter=void 0;var l=r(d[0]);e.useScrollableSetter=function(t,n,o,u){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:l.useEffect,f=(0,r(d[1]).useBottomSheetInternal)(),s=f.animatedScrollableType,v=f.animatedScrollableContentOffsetY,b=f.isContentHeightFixed,S=f.isScrollableRefreshable,h=f.setScrollableRef,C=f.removeScrollableRef;c((0,l.useCallback)(function(){v.value=o.value,s.value=n,S.value=u,b.value=!1;var l=(0,r(d[2]).getRefNativeTag)(t);return l?h({id:l,node:t}):console.warn("Couldn't find the scrollable node handle id!"),function(){C(t)}},[t,n,u,s,v,o,S,b,h,C]))}},1106,[122,1081,1105]); |
|
1113 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useStableCallback=void 0;var u=r(d[0]);e.useStableCallback=function(n){var t=(0,u.useRef)(),c=(0,u.useCallback)(function(){return t.current&&t.current.apply(t,arguments)},[]);return(0,u.useEffect)(function(){return t.current=n,function(){return t.current=void 0}}),c}},1107,[122]); |
|
1114 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])).default;e.default=t},1108,[3,1109]); |
|
1115 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=f(r(d[2])),n=r(d[3]),l=f(r(d[4])),s=["onRefresh"];function u(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:o})(t)}function f(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=u(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=s?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(l,f,c):l[f]=t[f]}return l.default=t,n&&n.set(t,l),l}var c=l.default.createAnimatedComponent(n.RefreshControl),p=(0,o.forwardRef)(function(o,n){var u,f=o.onRefresh,p=(0,t.default)(o,s),S=(0,r(d[5]).useBottomSheetInternal)().animatedScrollableState,h=(0,l.useAnimatedProps)(((u=function(){return{enabled:S.value===r(d[6]).SCROLLABLE_STATE.UNLOCKED}})._closure={animatedScrollableState:S,SCROLLABLE_STATE:{UNLOCKED:r(d[6]).SCROLLABLE_STATE.UNLOCKED}},u.asString="function _f(){const{animatedScrollableState,SCROLLABLE_STATE}=jsThis._closure;{return{enabled:animatedScrollableState.value===SCROLLABLE_STATE.UNLOCKED};}}",u.__workletHash=0xe956ea2fa64,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetRefreshControl\\BottomSheetRefreshControl.android.tsx (18:41)",u));return(0,r(d[7]).jsx)(r(d[8]).NativeViewGestureHandler,{ref:n,shouldCancelWhenOutside:!1,children:(0,r(d[7]).jsx)(c,Object.assign({},p,{onRefresh:f,animatedProps:h}))})}),S=(0,o.memo)(p);S.displayName='BottomSheetRefreshControl';var h=S;e.default=h},1109,[3,96,122,1,408,1074,1073,175,695]); |
|
1116 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{flex:1,overflow:'visible'}});e.styles=t},1110,[1]); |
|
1117 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),n=r(d[2])(r(d[3])).default.createAnimatedComponent(o.SectionList),l=(0,r(d[4]).createBottomSheetScrollableComponent)(r(d[5]).SCROLLABLE_TYPE.SECTIONLIST,n),S=(0,t.memo)(l);S.displayName='BottomSheetSectionList';var c=S;e.default=c},1111,[122,1,3,408,1070,1073]); |
|
1118 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),l=r(d[2])(r(d[3])).default.createAnimatedComponent(o.FlatList),n=(0,r(d[4]).createBottomSheetScrollableComponent)(r(d[5]).SCROLLABLE_TYPE.FLATLIST,l),L=(0,t.memo)(n);L.displayName='BottomSheetFlatList';var u=L;e.default=u},1112,[122,1,3,408,1070,1073]); |
|
1119 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),l=r(d[2])(r(d[3])).default.createAnimatedComponent(o.ScrollView),n=(0,r(d[4]).createBottomSheetScrollableComponent)(r(d[5]).SCROLLABLE_TYPE.SCROLLVIEW,l),c=(0,t.memo)(n);c.displayName='BottomSheetScrollView';var S=c;e.default=S},1113,[122,1,3,408,1070,1073]); |
|
1120 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),l=r(d[2])(r(d[3])).default.createAnimatedComponent(o.VirtualizedList),n=(0,r(d[4]).createBottomSheetScrollableComponent)(r(d[5]).SCROLLABLE_TYPE.VIRTUALIZEDLIST,l),u=(0,t.memo)(n);u.displayName='BottomSheetVirtualizedList';var L=u;e.default=L},1114,[122,1,3,408,1070,1073]); |
|
1121 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetSpringConfigs=void 0;var n=r(d[0]);e.useBottomSheetSpringConfigs=function(o){return(0,n.useMemo)(function(){return o},[o])}},1115,[122]); |
|
1122 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBottomSheetTimingConfigs=void 0;var n=r(d[0]);e.useBottomSheetTimingConfigs=function(o){return(0,n.useMemo)(function(){return{easing:o.easing||r(d[1]).ANIMATION_EASING,duration:o.duration||r(d[1]).ANIMATION_DURATION}},[o.duration,o.easing])}},1116,[122,1073]); |
|
1123 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1117,[3,1118]); |
|
1124 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=v(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3])),s=v(r(d[4])),u=r(d[2])(r(d[5])),l=r(d[2])(r(d[6])),_=r(d[2])(r(d[7])),S=r(d[2])(r(d[8])),A=r(d[2])(r(d[9])),E=r(d[2])(r(d[10])),I=r(d[2])(r(d[11]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}function v(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=c(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var _=u?Object.getOwnPropertyDescriptor(t,l):null;_&&(_.get||_.set)?Object.defineProperty(s,l,_):s[l]=t[l]}return s.default=t,o&&o.set(t,s),s}s.default.addWhitelistedUIProps({decelerationRate:!0});var T=(0,t.forwardRef)(function c(v,T){(0,r(d[12]).usePropsValidator)(v);var h,N=v.animationConfigs,O=v.index,p=void 0===O?0:O,C=v.snapPoints,f=v.animateOnMount,P=void 0===f?r(d[13]).DEFAULT_ANIMATE_ON_MOUNT:f,H=v.enableContentPanningGesture,R=void 0===H?r(d[13]).DEFAULT_ENABLE_CONTENT_PANNING_GESTURE:H,D=v.enableHandlePanningGesture,b=void 0===D?r(d[13]).DEFAULT_ENABLE_HANDLE_PANNING_GESTURE:D,x=v.enableOverDrag,B=void 0===x?r(d[13]).DEFAULT_ENABLE_OVER_DRAG:x,y=v.enablePanDownToClose,U=void 0===y?r(d[13]).DEFAULT_ENABLE_PAN_DOWN_TO_CLOSE:y,L=v.overDragResistanceFactor,M=void 0===L?r(d[13]).DEFAULT_OVER_DRAG_RESISTANCE_FACTOR:L,k=v.style,K=v.containerStyle,Y=v.backgroundStyle,V=v.handleStyle,G=v.handleIndicatorStyle,j=v.gestureEventsHandlersHook,w=v.keyboardBehavior,J=void 0===w?r(d[13]).DEFAULT_KEYBOARD_BEHAVIOR:w,F=v.keyboardBlurBehavior,W=void 0===F?r(d[13]).DEFAULT_KEYBOARD_BLUR_BEHAVIOR:F,z=v.android_keyboardInputMode,X=void 0===z?r(d[13]).DEFAULT_KEYBOARD_INPUT_MODE:z,$=v.handleHeight,Z=v.containerHeight,q=v.contentHeight,Q=v.containerOffset,ee=v.topInset,te=void 0===ee?0:ee,ne=v.bottomInset,ae=void 0===ne?0:ne,oe=v.animatedPosition,ie=v.animatedIndex,re=v.simultaneousHandlers,se=v.waitFor,de=v.activeOffsetX,ue=v.activeOffsetY,le=v.failOffsetX,me=v.failOffsetY,_e=v.onChange,Se=v.onClose,Ae=v.onAnimate,Ee=v.$modal,Ie=void 0!==Ee&&Ee,ce=v.detached,ve=void 0!==ce&&ce,Te=v.handleComponent,he=v.backdropComponent,Ne=v.backgroundComponent,Oe=v.footerComponent,pe=v.children,Ce=(0,r(d[12]).useReactiveSharedValue)(null!=Z?Z:r(d[13]).INITIAL_CONTAINER_HEIGHT),fe=(0,s.useDerivedValue)(((h=function(){var t=te+ae;return Ie?Ce.value-t:Ce.value})._closure={topInset:te,bottomInset:ae,$modal:Ie,_animatedContainerHeight:Ce},h.asString="function _f(){const{topInset,bottomInset,$modal,_animatedContainerHeight}=jsThis._closure;{const verticalInset=topInset+bottomInset;return $modal?_animatedContainerHeight.value-verticalInset:_animatedContainerHeight.value;}}",h.__workletHash=5957008612418,h.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (175:52)",h),[Ie,te,ae]),Pe=(0,r(d[12]).useReactiveSharedValue)(null!=Q?Q:r(d[13]).INITIAL_CONTAINER_OFFSET),He=(0,r(d[12]).useReactiveSharedValue)(null!=$?$:r(d[13]).INITIAL_HANDLE_HEIGHT),ge=(0,s.useSharedValue)(0),Re=(0,r(d[12]).useNormalizedSnapPoints)(C,fe,te,ae,Ie),De=(0,s.useDerivedValue)((function(){var t=function(){return Re.value[Re.value.length-1]};return t._closure={animatedSnapPoints:Re},t.asString="function _f(){const{animatedSnapPoints}=jsThis._closure;{return animatedSnapPoints.value[animatedSnapPoints.value.length-1];}}",t.__workletHash=0xfc94b43f7b2,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (196:6)",t})()),be=(0,s.useDerivedValue)((function(){var t=function(){var t=fe.value;return(Ie||ve)&&(t=fe.value+ae),t};return t._closure={animatedContainerHeight:fe,$modal:Ie,detached:ve,bottomInset:ae},t.asString="function _f(){const{animatedContainerHeight,$modal,detached,bottomInset}=jsThis._closure;{let closedPosition=animatedContainerHeight.value;if($modal||detached){closedPosition=animatedContainerHeight.value+bottomInset;}return closedPosition;}}",t.__workletHash=4907517072968,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (198:51)",t})(),[Ie,ve,ae]),xe=(0,s.useDerivedValue)((function(){var t=function(){return fe.value-De.value};return t._closure={animatedContainerHeight:fe,animatedHighestSnapPoint:De},t.asString="function _f(){const{animatedContainerHeight,animatedHighestSnapPoint}=jsThis._closure;{return animatedContainerHeight.value-animatedHighestSnapPoint.value;}}",t.__workletHash=0xf66b6382c77,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (208:6)",t})()),Be=(0,r(d[12]).useReactiveSharedValue)(P?-1:p),ye=(0,s.useSharedValue)(r(d[13]).INITIAL_POSITION),Ue=(0,s.useSharedValue)(r(d[13]).INITIAL_VALUE),Le=(0,s.useSharedValue)(0),Me=(0,s.useSharedValue)(!1),ke=(0,s.useSharedValue)(!1),Ke=(0,s.useDerivedValue)((function(){var t=function(){var t=!1;null===Z&&void 0===Z||(t=!0),fe.value!==r(d[13]).INITIAL_CONTAINER_HEIGHT&&(t=!0);var n=!1;null!==$&&void 0!==$&&'number'==typeof $&&(n=!0),null===Te&&(He.value=0,n=!0),He.value!==r(d[13]).INITIAL_HANDLE_HEIGHT&&(n=!0);var o=!1;return Re.value[0]!==r(d[13]).INITIAL_SNAP_POINT&&(o=!0),t&&n&&o};return t._closure={_providedContainerHeight:Z,animatedContainerHeight:fe,INITIAL_CONTAINER_HEIGHT:r(d[13]).INITIAL_CONTAINER_HEIGHT,_providedHandleHeight:$,handleComponent:Te,animatedHandleHeight:He,INITIAL_HANDLE_HEIGHT:r(d[13]).INITIAL_HANDLE_HEIGHT,animatedSnapPoints:Re,INITIAL_SNAP_POINT:r(d[13]).INITIAL_SNAP_POINT},t.asString="function _f(){const{_providedContainerHeight,animatedContainerHeight,INITIAL_CONTAINER_HEIGHT,_providedHandleHeight,handleComponent,animatedHandleHeight,INITIAL_HANDLE_HEIGHT,animatedSnapPoints,INITIAL_SNAP_POINT}=jsThis._closure;{let isContainerHeightCalculated=false;if(_providedContainerHeight!==null||_providedContainerHeight!==undefined){isContainerHeightCalculated=true;}if(animatedContainerHeight.value!==INITIAL_CONTAINER_HEIGHT){isContainerHeightCalculated=true;}let isHandleHeightCalculated=false;if(_providedHandleHeight!==null&&_providedHandleHeight!==undefined&&typeof _providedHandleHeight==='number'){isHandleHeightCalculated=true;}if(handleComponent===null){animatedHandleHeight.value=0;isHandleHeightCalculated=true;}if(animatedHandleHeight.value!==INITIAL_HANDLE_HEIGHT){isHandleHeightCalculated=true;}let isSnapPointsNormalized=false;if(animatedSnapPoints.value[0]!==INITIAL_SNAP_POINT){isSnapPointsNormalized=true;}return isContainerHeightCalculated&&isHandleHeightCalculated&&isSnapPointsNormalized;}}",t.__workletHash=5793514190213,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (220:47)",t})()),Ye=(0,s.useSharedValue)(!1),Ve=(0,s.useSharedValue)(!1),Ge=(0,s.useSharedValue)(r(d[14]).State.UNDETERMINED),je=(0,s.useSharedValue)(r(d[14]).State.UNDETERMINED),we=(0,r(d[12]).useScrollable)(),Je=we.animatedScrollableType,Fe=we.animatedScrollableContentOffsetY,We=we.animatedScrollableOverrideState,ze=we.isScrollableRefreshable,Xe=we.setScrollableRef,$e=we.removeScrollableRef,Ze=(0,r(d[12]).useKeyboard)(),qe=Ze.state,Qe=Ze.height,et=Ze.animationDuration,tt=Ze.animationEasing,nt=Ze.shouldHandleKeyboardEvents,at=(0,s.useSharedValue)(0),ot=(0,s.useSharedValue)(r(d[15]).ANIMATION_STATE.UNDETERMINED),it=(0,s.useSharedValue)(r(d[15]).ANIMATION_SOURCE.MOUNT),rt=(0,s.useDerivedValue)((function(){var t=function(){if(ye.value>=be.value)return r(d[15]).SHEET_STATE.CLOSED;var t=fe.value-xe.value;if(ye.value===t)return r(d[15]).SHEET_STATE.EXTENDED;var n=at.value,o=Math.max(0,fe.value-(xe.value+n));return J===r(d[15]).KEYBOARD_BEHAVIOR.interactive&&Ye.value&&ye.value===o?r(d[15]).SHEET_STATE.EXTENDED:0===ye.value?r(d[15]).SHEET_STATE.FILL_PARENT:ye.value<t?r(d[15]).SHEET_STATE.OVER_EXTENDED:r(d[15]).SHEET_STATE.OPENED};return t._closure={animatedPosition:ye,animatedClosedPosition:be,SHEET_STATE:{CLOSED:r(d[15]).SHEET_STATE.CLOSED,EXTENDED:r(d[15]).SHEET_STATE.EXTENDED,FILL_PARENT:r(d[15]).SHEET_STATE.FILL_PARENT,OVER_EXTENDED:r(d[15]).SHEET_STATE.OVER_EXTENDED,OPENED:r(d[15]).SHEET_STATE.OPENED},animatedContainerHeight:fe,animatedSheetHeight:xe,animatedKeyboardHeightInContainer:at,keyboardBehavior:J,KEYBOARD_BEHAVIOR:{interactive:r(d[15]).KEYBOARD_BEHAVIOR.interactive},isInTemporaryPosition:Ye},t.asString="function _f(){const{animatedPosition,animatedClosedPosition,SHEET_STATE,animatedContainerHeight,animatedSheetHeight,animatedKeyboardHeightInContainer,keyboardBehavior,KEYBOARD_BEHAVIOR,isInTemporaryPosition}=jsThis._closure;{if(animatedPosition.value>=animatedClosedPosition.value)return SHEET_STATE.CLOSED;const extendedPosition=animatedContainerHeight.value-animatedSheetHeight.value;if(animatedPosition.value===extendedPosition)return SHEET_STATE.EXTENDED;const keyboardHeightInContainer=animatedKeyboardHeightInContainer.value;const extendedPositionWithKeyboard=Math.max(0,animatedContainerHeight.value-(animatedSheetHeight.value+keyboardHeightInContainer));if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&isInTemporaryPosition.value&&animatedPosition.value===extendedPositionWithKeyboard){return SHEET_STATE.EXTENDED;}if(animatedPosition.value===0){return SHEET_STATE.FILL_PARENT;}if(animatedPosition.value<extendedPosition){return SHEET_STATE.OVER_EXTENDED;}return SHEET_STATE.OPENED;}}",t.__workletHash=3287371952404,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (304:47)",t})(),[be,fe,at,ye,xe,Ye,J]),st=(0,s.useDerivedValue)((function(){var t=function(){return We.value!==r(d[15]).SCROLLABLE_STATE.UNDETERMINED?We.value:rt.value===r(d[15]).SHEET_STATE.FILL_PARENT?r(d[15]).SCROLLABLE_STATE.UNLOCKED:rt.value===r(d[15]).SHEET_STATE.EXTENDED?r(d[15]).SCROLLABLE_STATE.UNLOCKED:qe.value===r(d[15]).KEYBOARD_STATE.SHOWN&&ot.value===r(d[15]).ANIMATION_STATE.RUNNING?r(d[15]).SCROLLABLE_STATE.UNLOCKED:r(d[15]).SCROLLABLE_STATE.LOCKED};return t._closure={animatedScrollableOverrideState:We,SCROLLABLE_STATE:{UNDETERMINED:r(d[15]).SCROLLABLE_STATE.UNDETERMINED,UNLOCKED:r(d[15]).SCROLLABLE_STATE.UNLOCKED,LOCKED:r(d[15]).SCROLLABLE_STATE.LOCKED},animatedSheetState:rt,SHEET_STATE:{FILL_PARENT:r(d[15]).SHEET_STATE.FILL_PARENT,EXTENDED:r(d[15]).SHEET_STATE.EXTENDED},animatedKeyboardState:qe,KEYBOARD_STATE:{SHOWN:r(d[15]).KEYBOARD_STATE.SHOWN},animatedAnimationState:ot,ANIMATION_STATE:{RUNNING:r(d[15]).ANIMATION_STATE.RUNNING}},t.asString="function _f(){const{animatedScrollableOverrideState,SCROLLABLE_STATE,animatedSheetState,SHEET_STATE,animatedKeyboardState,KEYBOARD_STATE,animatedAnimationState,ANIMATION_STATE}=jsThis._closure;{if(animatedScrollableOverrideState.value!==SCROLLABLE_STATE.UNDETERMINED){return animatedScrollableOverrideState.value;}if(animatedSheetState.value===SHEET_STATE.FILL_PARENT){return SCROLLABLE_STATE.UNLOCKED;}if(animatedSheetState.value===SHEET_STATE.EXTENDED){return SCROLLABLE_STATE.UNLOCKED;}if(animatedKeyboardState.value===KEYBOARD_STATE.SHOWN&&animatedAnimationState.value===ANIMATION_STATE.RUNNING){return SCROLLABLE_STATE.UNLOCKED;}return SCROLLABLE_STATE.LOCKED;}}",t.__workletHash=0xa7c2c267066,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (353:52)",t})()),dt=(0,s.useDerivedValue)((function(){var t=function(){var t=at.value,n=Math.max(0,He.value),o=xe.value-n;if(J===r(d[15]).KEYBOARD_BEHAVIOR.extend&&qe.value===r(d[15]).KEYBOARD_STATE.SHOWN)o-=t;else if(J===r(d[15]).KEYBOARD_BEHAVIOR.fillParent&&Ye.value)o=qe.value===r(d[15]).KEYBOARD_STATE.SHOWN?fe.value-n-t:fe.value-n;else if(J===r(d[15]).KEYBOARD_BEHAVIOR.interactive&&Ye.value){var s=o+t;qe.value===r(d[15]).KEYBOARD_STATE.SHOWN?t+xe.value>fe.value&&(o=fe.value-t-n):o=s+n>fe.value?fe.value-n:s}return Math.max(o,0)};return t._closure={animatedKeyboardHeightInContainer:at,animatedHandleHeight:He,animatedSheetHeight:xe,keyboardBehavior:J,KEYBOARD_BEHAVIOR:{extend:r(d[15]).KEYBOARD_BEHAVIOR.extend,fillParent:r(d[15]).KEYBOARD_BEHAVIOR.fillParent,interactive:r(d[15]).KEYBOARD_BEHAVIOR.interactive},animatedKeyboardState:qe,KEYBOARD_STATE:{SHOWN:r(d[15]).KEYBOARD_STATE.SHOWN},isInTemporaryPosition:Ye,animatedContainerHeight:fe},t.asString="function _f(){const{animatedKeyboardHeightInContainer,animatedHandleHeight,animatedSheetHeight,keyboardBehavior,KEYBOARD_BEHAVIOR,animatedKeyboardState,KEYBOARD_STATE,isInTemporaryPosition,animatedContainerHeight}=jsThis._closure;{const keyboardHeightInContainer=animatedKeyboardHeightInContainer.value;const handleHeight=Math.max(0,animatedHandleHeight.value);let contentHeight=animatedSheetHeight.value-handleHeight;if(keyboardBehavior===KEYBOARD_BEHAVIOR.extend&&animatedKeyboardState.value===KEYBOARD_STATE.SHOWN){contentHeight=contentHeight-keyboardHeightInContainer;}else if(keyboardBehavior===KEYBOARD_BEHAVIOR.fillParent&&isInTemporaryPosition.value){if(animatedKeyboardState.value===KEYBOARD_STATE.SHOWN){contentHeight=animatedContainerHeight.value-handleHeight-keyboardHeightInContainer;}else{contentHeight=animatedContainerHeight.value-handleHeight;}}else if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&isInTemporaryPosition.value){const contentWithKeyboardHeight=contentHeight+keyboardHeightInContainer;if(animatedKeyboardState.value===KEYBOARD_STATE.SHOWN){if(keyboardHeightInContainer+animatedSheetHeight.value>animatedContainerHeight.value){contentHeight=animatedContainerHeight.value-keyboardHeightInContainer-handleHeight;}}else if(contentWithKeyboardHeight+handleHeight>animatedContainerHeight.value){contentHeight=animatedContainerHeight.value-handleHeight;}else{contentHeight=contentWithKeyboardHeight;}}return Math.max(contentHeight,0);}}",t.__workletHash=0xee2de030e1c,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (391:50)",t})(),[fe,He,at,qe,xe,Ye,J]),ut=(0,s.useDerivedValue)((function(){var t=function(){var t=Re.value.slice().reverse(),n=Re.value.slice().map(function(t,n){return n}).reverse();t.push(fe.value),n.push(-1);var o=Ke.value?(0,s.interpolate)(ye.value,t,n,s.Extrapolate.CLAMP):-1;return X===r(d[15]).KEYBOARD_INPUT_MODE.adjustResize&&it.value===r(d[15]).ANIMATION_SOURCE.KEYBOARD&&ot.value===r(d[15]).ANIMATION_STATE.RUNNING&&Ye.value?Math.max(Be.value,o):it.value===r(d[15]).ANIMATION_SOURCE.SNAP_POINT_CHANGE&&ot.value===r(d[15]).ANIMATION_STATE.RUNNING?Le.value:o};return t._closure={animatedSnapPoints:Re,animatedContainerHeight:fe,isLayoutCalculated:Ke,interpolate:s.interpolate,animatedPosition:ye,Extrapolate:{CLAMP:s.Extrapolate.CLAMP},android_keyboardInputMode:X,KEYBOARD_INPUT_MODE:{adjustResize:r(d[15]).KEYBOARD_INPUT_MODE.adjustResize},animatedAnimationSource:it,ANIMATION_SOURCE:{KEYBOARD:r(d[15]).ANIMATION_SOURCE.KEYBOARD,SNAP_POINT_CHANGE:r(d[15]).ANIMATION_SOURCE.SNAP_POINT_CHANGE},animatedAnimationState:ot,ANIMATION_STATE:{RUNNING:r(d[15]).ANIMATION_STATE.RUNNING},isInTemporaryPosition:Ye,animatedCurrentIndex:Be,animatedNextPositionIndex:Le},t.asString="function _f(){const{animatedSnapPoints,animatedContainerHeight,isLayoutCalculated,interpolate,animatedPosition,Extrapolate,android_keyboardInputMode,KEYBOARD_INPUT_MODE,animatedAnimationSource,ANIMATION_SOURCE,animatedAnimationState,ANIMATION_STATE,isInTemporaryPosition,animatedCurrentIndex,animatedNextPositionIndex}=jsThis._closure;{const adjustedSnapPoints=animatedSnapPoints.value.slice().reverse();const adjustedSnapPointsIndexes=animatedSnapPoints.value.slice().map(function(_,index){return index;}).reverse();adjustedSnapPoints.push(animatedContainerHeight.value);adjustedSnapPointsIndexes.push(-1);const currentIndex=isLayoutCalculated.value?interpolate(animatedPosition.value,adjustedSnapPoints,adjustedSnapPointsIndexes,Extrapolate.CLAMP):-1;if(android_keyboardInputMode===KEYBOARD_INPUT_MODE.adjustResize&&animatedAnimationSource.value===ANIMATION_SOURCE.KEYBOARD&&animatedAnimationState.value===ANIMATION_STATE.RUNNING&&isInTemporaryPosition.value){return Math.max(animatedCurrentIndex.value,currentIndex);}if(animatedAnimationSource.value===ANIMATION_SOURCE.SNAP_POINT_CHANGE&&animatedAnimationState.value===ANIMATION_STATE.RUNNING){return animatedNextPositionIndex.value;}return currentIndex;}}",t.__workletHash=0xa41c9bb0137,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (456:42)",t})(),[X]),lt=(0,s.useWorkletCallback)((function(){var t=function(){var t=Be.value,n=Re.value,o=qe.value,s=De.value;if(W===r(d[15]).KEYBOARD_BLUR_BEHAVIOR.restore&&o===r(d[15]).KEYBOARD_STATE.HIDDEN&&Ge.value!==r(d[14]).State.ACTIVE&&je.value!==r(d[14]).State.ACTIVE)return Ye.value=!1,n[t];if(J===r(d[15]).KEYBOARD_BEHAVIOR.extend&&o===r(d[15]).KEYBOARD_STATE.SHOWN)return s;if(J===r(d[15]).KEYBOARD_BEHAVIOR.fillParent&&o===r(d[15]).KEYBOARD_STATE.SHOWN)return Ye.value=!0,0;if(J===r(d[15]).KEYBOARD_BEHAVIOR.interactive&&o===r(d[15]).KEYBOARD_STATE.SHOWN){Ye.value=!0;var u=at.value;return Math.max(0,s-u)}return Ye.value?ye.value:n[t]};return t._closure={animatedCurrentIndex:Be,animatedSnapPoints:Re,animatedKeyboardState:qe,animatedHighestSnapPoint:De,keyboardBlurBehavior:W,KEYBOARD_BLUR_BEHAVIOR:{restore:r(d[15]).KEYBOARD_BLUR_BEHAVIOR.restore},KEYBOARD_STATE:{HIDDEN:r(d[15]).KEYBOARD_STATE.HIDDEN,SHOWN:r(d[15]).KEYBOARD_STATE.SHOWN},animatedContentGestureState:Ge,State:{ACTIVE:r(d[14]).State.ACTIVE},animatedHandleGestureState:je,isInTemporaryPosition:Ye,keyboardBehavior:J,KEYBOARD_BEHAVIOR:{extend:r(d[15]).KEYBOARD_BEHAVIOR.extend,fillParent:r(d[15]).KEYBOARD_BEHAVIOR.fillParent,interactive:r(d[15]).KEYBOARD_BEHAVIOR.interactive},animatedKeyboardHeightInContainer:at,animatedPosition:ye},t.asString="function getNextPosition(){const{animatedCurrentIndex,animatedSnapPoints,animatedKeyboardState,animatedHighestSnapPoint,keyboardBlurBehavior,KEYBOARD_BLUR_BEHAVIOR,KEYBOARD_STATE,animatedContentGestureState,State,animatedHandleGestureState,isInTemporaryPosition,keyboardBehavior,KEYBOARD_BEHAVIOR,animatedKeyboardHeightInContainer,animatedPosition}=jsThis._closure;{const currentIndex=animatedCurrentIndex.value;const snapPoints=animatedSnapPoints.value;const keyboardState=animatedKeyboardState.value;const highestSnapPoint=animatedHighestSnapPoint.value;if(keyboardBlurBehavior===KEYBOARD_BLUR_BEHAVIOR.restore&&keyboardState===KEYBOARD_STATE.HIDDEN&&animatedContentGestureState.value!==State.ACTIVE&&animatedHandleGestureState.value!==State.ACTIVE){isInTemporaryPosition.value=false;const nextPosition=snapPoints[currentIndex];return nextPosition;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.extend&&keyboardState===KEYBOARD_STATE.SHOWN){return highestSnapPoint;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.fillParent&&keyboardState===KEYBOARD_STATE.SHOWN){isInTemporaryPosition.value=true;return 0;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&keyboardState===KEYBOARD_STATE.SHOWN){isInTemporaryPosition.value=true;const keyboardHeightInContainer=animatedKeyboardHeightInContainer.value;return Math.max(0,highestSnapPoint-keyboardHeightInContainer);}if(isInTemporaryPosition.value){return animatedPosition.value;}return snapPoints[currentIndex];}}",t.__workletHash=0xfd5643cd0c2,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (511:6)",t})(),[Ge,Be,je,De,at,qe,ye,Re,Ye,J,W]),mt=(0,t.useCallback)(function t(n){(0,r(d[16]).print)({component:c.name,method:t.name,params:{index:n,animatedCurrentIndex:Be.value}}),_e&&_e(n)},[_e,Be]),_t=(0,t.useCallback)(function t(n){var o=Re.value.indexOf(n);(0,r(d[16]).print)({component:c.name,method:t.name,params:{toIndex:o,fromIndex:Be.value}}),Ae&&o!==Be.value&&Ae(Be.value,o)},[Ae,Re,Be]),St=(0,s.useWorkletCallback)((function(){var t=function(){(0,s.cancelAnimation)(ye),Ve.value=!1,it.value=r(d[15]).ANIMATION_SOURCE.NONE,ot.value=r(d[15]).ANIMATION_STATE.STOPPED};return t._closure={cancelAnimation:s.cancelAnimation,animatedPosition:ye,isForcedClosing:Ve,animatedAnimationSource:it,ANIMATION_SOURCE:{NONE:r(d[15]).ANIMATION_SOURCE.NONE},animatedAnimationState:ot,ANIMATION_STATE:{STOPPED:r(d[15]).ANIMATION_STATE.STOPPED}},t.asString="function _f(){const{cancelAnimation,animatedPosition,isForcedClosing,animatedAnimationSource,ANIMATION_SOURCE,animatedAnimationState,ANIMATION_STATE}=jsThis._closure;{cancelAnimation(animatedPosition);isForcedClosing.value=false;animatedAnimationSource.value=ANIMATION_SOURCE.NONE;animatedAnimationState.value=ANIMATION_STATE.STOPPED;}}",t.__workletHash=0xcb608769ba0,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (630:45)",t})(),[ye,ot,it]),At=(0,s.useWorkletCallback)((function(){var t=function(t){Ve.value=!1,t&&((0,s.runOnJS)(r(d[16]).print)({component:c.name,method:At.name,params:{animatedCurrentIndex:Be.value,animatedNextPosition:Ue.value,animatedNextPositionIndex:Le.value}}),it.value=r(d[15]).ANIMATION_SOURCE.NONE,ot.value=r(d[15]).ANIMATION_STATE.STOPPED,Ue.value=r(d[13]).INITIAL_VALUE,Le.value=r(d[13]).INITIAL_VALUE)};return t._closure={isForcedClosing:Ve,runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},animatedCurrentIndex:Be,animatedNextPosition:Ue,animatedNextPositionIndex:Le,animatedAnimationSource:it,ANIMATION_SOURCE:{NONE:r(d[15]).ANIMATION_SOURCE.NONE},animatedAnimationState:ot,ANIMATION_STATE:{STOPPED:r(d[15]).ANIMATION_STATE.STOPPED},INITIAL_VALUE:r(d[13]).INITIAL_VALUE},t.asString="function animateToPositionCompleted(isFinished){const{isForcedClosing,runOnJS,print,BottomSheet,animatedCurrentIndex,animatedNextPosition,animatedNextPositionIndex,animatedAnimationSource,ANIMATION_SOURCE,animatedAnimationState,ANIMATION_STATE,INITIAL_VALUE}=jsThis._closure;{isForcedClosing.value=false;if(!isFinished){return;}runOnJS(print)({component:BottomSheet.name,method:animateToPositionCompleted.name,params:{animatedCurrentIndex:animatedCurrentIndex.value,animatedNextPosition:animatedNextPosition.value,animatedNextPositionIndex:animatedNextPositionIndex.value}});animatedAnimationSource.value=ANIMATION_SOURCE.NONE;animatedAnimationState.value=ANIMATION_STATE.STOPPED;animatedNextPosition.value=INITIAL_VALUE;animatedNextPositionIndex.value=INITIAL_VALUE;}}",t.__workletHash=235609373415,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (637:6)",t})()),Et=(0,s.useWorkletCallback)((function(){var t=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,u=arguments.length>3?arguments[3]:void 0;t===ye.value||void 0===t||ot.value===r(d[15]).ANIMATION_STATE.RUNNING&&t===Ue.value||((0,s.runOnJS)(r(d[16]).print)({component:c.name,method:Et.name,params:{currentPosition:ye.value,position:t,velocity:o}}),St(),ot.value=r(d[15]).ANIMATION_STATE.RUNNING,it.value=n,Ue.value=t,Le.value=Re.value.indexOf(t),(0,s.runOnJS)(_t)(t),ye.value=void 0!==u?(0,r(d[16]).animate)({point:t,configs:u,velocity:o,onComplete:At}):(0,r(d[16]).animate)({point:t,velocity:o,configs:N,onComplete:At}))};return t._closure={animatedPosition:ye,animatedAnimationState:ot,ANIMATION_STATE:{RUNNING:r(d[15]).ANIMATION_STATE.RUNNING},animatedNextPosition:Ue,runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},stopAnimation:St,animatedAnimationSource:it,animatedNextPositionIndex:Le,animatedSnapPoints:Re,handleOnAnimate:_t,animate:r(d[16]).animate,animateToPositionCompleted:At,_providedAnimationConfigs:N},t.asString="function animateToPosition(position,source,velocity=0,configs){const{animatedPosition,animatedAnimationState,ANIMATION_STATE,animatedNextPosition,runOnJS,print,BottomSheet,stopAnimation,animatedAnimationSource,animatedNextPositionIndex,animatedSnapPoints,handleOnAnimate,animate,animateToPositionCompleted,_providedAnimationConfigs}=jsThis._closure;{if(position===animatedPosition.value||position===undefined||animatedAnimationState.value===ANIMATION_STATE.RUNNING&&position===animatedNextPosition.value){return;}runOnJS(print)({component:BottomSheet.name,method:animateToPosition.name,params:{currentPosition:animatedPosition.value,position:position,velocity:velocity}});stopAnimation();animatedAnimationState.value=ANIMATION_STATE.RUNNING;animatedAnimationSource.value=source;animatedNextPosition.value=position;animatedNextPositionIndex.value=animatedSnapPoints.value.indexOf(position);runOnJS(handleOnAnimate)(position);if(configs!==undefined){animatedPosition.value=animate({point:position,configs:configs,velocity:velocity,onComplete:animateToPositionCompleted});}else{animatedPosition.value=animate({point:position,velocity:velocity,configs:_providedAnimationConfigs,onComplete:animateToPositionCompleted});}}}",t.__workletHash=2549953615875,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (660:6)",t})(),[_t,N]),It=(0,t.useCallback)(function t(n,u){var l=Re.value;(0,o.default)(n>=-1&&n<=l.length-1,"'index' was provided but out of the provided snap points range! expected value to be between -1, "+(l.length-1)),(0,r(d[16]).print)({component:c.name,method:t.name,params:{index:n}});var _=l[n];Ke.value&&n!==Le.value&&_!==Ue.value&&!Ve.value&&(Ye.value=!1,(0,s.runOnUI)(Et)(_,r(d[15]).ANIMATION_SOURCE.USER,0,u))},[Et,Ke,Ye,Ve,Re,Ue,Le]),ct=(0,s.useWorkletCallback)((function(){var t=function(t,n){(0,r(d[16]).print)({component:c.name,method:ct.name,params:{position:t}});var o=(0,r(d[16]).normalizeSnapPoint)(t,fe.value,te,ae);Ke&&o!==Ue.value&&!Ve.value&&(Ye.value=!0,(0,s.runOnUI)(Et)(o,r(d[15]).ANIMATION_SOURCE.USER,0,n))};return t._closure={print:r(d[16]).print,BottomSheet:{name:c.name},normalizeSnapPoint:r(d[16]).normalizeSnapPoint,animatedContainerHeight:fe,topInset:te,bottomInset:ae,isLayoutCalculated:Ke,animatedNextPosition:Ue,isForcedClosing:Ve,isInTemporaryPosition:Ye,runOnUI:s.runOnUI,animateToPosition:Et,ANIMATION_SOURCE:{USER:r(d[15]).ANIMATION_SOURCE.USER}},t.asString="function handleSnapToPosition(position,animationConfigs){const{print,BottomSheet,normalizeSnapPoint,animatedContainerHeight,topInset,bottomInset,isLayoutCalculated,animatedNextPosition,isForcedClosing,isInTemporaryPosition,runOnUI,animateToPosition,ANIMATION_SOURCE}=jsThis._closure;{print({component:BottomSheet.name,method:handleSnapToPosition.name,params:{position:position}});const nextPosition=normalizeSnapPoint(position,animatedContainerHeight.value,topInset,bottomInset);if(!isLayoutCalculated||nextPosition===animatedNextPosition.value||isForcedClosing.value){return;}isInTemporaryPosition.value=true;runOnUI(animateToPosition)(nextPosition,ANIMATION_SOURCE.USER,0,animationConfigs);}}",t.__workletHash=2978041074265,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (792:6)",t})(),[Et,ae,te,Ke,Ve,fe,ye]),vt=(0,t.useCallback)(function t(n){(0,r(d[16]).print)({component:c.name,method:t.name});var o=be.value;Ke.value&&o!==Ue.value&&!Ve.value&&(Ye.value=!1,(0,s.runOnUI)(Et)(o,r(d[15]).ANIMATION_SOURCE.USER,0,n))},[Et,Ve,Ke,Ye,Ue,be]),Tt=(0,t.useCallback)(function t(n){(0,r(d[16]).print)({component:c.name,method:t.name});var o=be.value;o===Ue.value||Ve.value||(Ye.value=!1,Ve.value=!0,(0,s.runOnUI)(Et)(o,r(d[15]).ANIMATION_SOURCE.USER,0,n))},[Et,Ve,Ye,Ue,be]),ht=(0,t.useCallback)(function t(n){(0,r(d[16]).print)({component:c.name,method:t.name});var o=Re.value,u=o[o.length-1];Ke.value&&o.length-1!==Le.value&&u!==Ue.value&&!Ve.value&&(Ye.value=!1,(0,s.runOnUI)(Et)(u,r(d[15]).ANIMATION_SOURCE.USER,0,n))},[Et,Ye,Ke,Ve,Re,Ue,Le]),Nt=(0,t.useCallback)(function t(n){(0,r(d[16]).print)({component:c.name,method:t.name});var o=Re.value[0];Ke&&0!==Le.value&&o!==Ue.value&&!Ve.value&&(Ye.value=!1,(0,s.runOnUI)(Et)(o,r(d[15]).ANIMATION_SOURCE.USER,0,n))},[Et,Ve,Ke,Ye,Re,Ue,Le]);(0,t.useImperativeHandle)(T,function(){return{snapToIndex:It,snapToPosition:ct,expand:ht,collapse:Nt,close:vt,forceClose:Tt}});var Ot=(0,t.useMemo)(function(){return{enableContentPanningGesture:R,overDragResistanceFactor:M,enableOverDrag:B,enablePanDownToClose:U,animatedAnimationState:ot,animatedSheetState:rt,animatedScrollableState:st,animatedScrollableOverrideState:We,animatedContentGestureState:Ge,animatedHandleGestureState:je,animatedKeyboardState:qe,animatedScrollableType:Je,animatedIndex:ut,animatedPosition:ye,animatedContentHeight:dt,animatedClosedPosition:be,animatedHandleHeight:He,animatedFooterHeight:ge,animatedKeyboardHeight:Qe,animatedKeyboardHeightInContainer:at,animatedContainerHeight:fe,animatedSnapPoints:Re,animatedHighestSnapPoint:De,animatedScrollableContentOffsetY:Fe,isInTemporaryPosition:Ye,isContentHeightFixed:ke,isScrollableRefreshable:ze,shouldHandleKeyboardEvents:nt,simultaneousHandlers:re,waitFor:se,activeOffsetX:de,activeOffsetY:ue,failOffsetX:le,failOffsetY:me,animateToPosition:Et,stopAnimation:St,setScrollableRef:Xe,removeScrollableRef:$e}},[ut,ye,dt,Je,Ge,je,be,ge,fe,He,ot,qe,Qe,at,rt,De,st,We,Re,nt,Fe,ze,ke,Ye,R,M,B,U,re,se,de,ue,le,me,Xe,$e,Et,St]),pt=(0,t.useMemo)(function(){return{animatedIndex:ut,animatedPosition:ye,snapToIndex:It,snapToPosition:ct,expand:ht,collapse:Nt,close:vt,forceClose:Tt}},[ut,ye,It,ct,ht,Nt,vt,Tt]),Ct=(0,s.useAnimatedStyle)((function(){var t=function(){return{opacity:'android'===n.Platform.OS&&-1===ut.value?0:1,transform:[{translateY:ye.value}]}};return t._closure={Platform:{OS:n.Platform.OS},animatedIndex:ut,animatedPosition:ye},t.asString="function _f(){const{Platform,animatedIndex,animatedPosition}=jsThis._closure;{return{opacity:Platform.OS==='android'&&animatedIndex.value===-1?0:1,transform:[{translateY:animatedPosition.value}]};}}",t.__workletHash=5495039124445,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1161:6)",t.__optimalization=3,t})(),[ye,ut]),ft=(0,t.useMemo)(function(){return[k,r(d[17]).styles.container,Ct]},[k,Ct]),Pt=(0,s.useAnimatedStyle)((function(){var t=function(){return q?{}:{height:(0,r(d[16]).animate)({point:dt.value,configs:N})}};return t._closure={_providedContentHeight:q,animate:r(d[16]).animate,animatedContentHeight:dt,_providedAnimationConfigs:N},t.asString="function _f(){const{_providedContentHeight,animate,animatedContentHeight,_providedAnimationConfigs}=jsThis._closure;{if(_providedContentHeight){return{};}return{height:animate({point:animatedContentHeight.value,configs:_providedAnimationConfigs})};}}",t.__workletHash=3653383757469,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1176:59)",t})(),[dt,q]),Ht=(0,t.useMemo)(function(){return[r(d[17]).styles.contentContainer,Pt]},[Pt]),gt=(0,s.useAnimatedStyle)((function(){var t=function(){return ve?{overflow:'visible'}:{paddingBottom:fe.value}};return t._closure={detached:ve,animatedContainerHeight:fe},t.asString="function _f(){const{detached,animatedContainerHeight}=jsThis._closure;{if(detached){return{overflow:'visible'};}return{paddingBottom:animatedContainerHeight.value};}}",t.__workletHash=5759524836202,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1201:63)",t.__optimalization=1,t})(),[ve]),Rt=(0,t.useMemo)(function(){return[r(d[17]).styles.contentMaskContainer,gt]},[gt]);return(0,s.useAnimatedReaction)((function(){var t=function(){return Ke.value};return t._closure={isLayoutCalculated:Ke},t.asString="function _f(){const{isLayoutCalculated}=jsThis._closure;{return isLayoutCalculated.value;}}",t.__workletHash=0xd8b354fde13,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1225:6)",t})(),(function(){var t=function(t){if(t&&!Me.value){var n;if(-1===p?(n=be.value,Le.value=-1):n=Re.value[p],(0,s.runOnJS)(r(d[16]).print)({component:c.name,method:'useAnimatedReaction::OnMount',params:{isLayoutCalculated:t,animatedSnapPoints:Re.value,nextPosition:n}}),n===r(d[13]).INITIAL_POSITION||n===be.value)return Me.value=!0,void(Be.value=p);P?Et(n,r(d[15]).ANIMATION_SOURCE.MOUNT):ye.value=n,Me.value=!0}};return t._closure={isAnimatedOnMount:Me,_providedIndex:p,animatedClosedPosition:be,animatedNextPositionIndex:Le,animatedSnapPoints:Re,runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},INITIAL_POSITION:r(d[13]).INITIAL_POSITION,animatedCurrentIndex:Be,animateOnMount:P,animateToPosition:Et,ANIMATION_SOURCE:{MOUNT:r(d[15]).ANIMATION_SOURCE.MOUNT},animatedPosition:ye},t.asString="function _f(_isLayoutCalculated){const{isAnimatedOnMount,_providedIndex,animatedClosedPosition,animatedNextPositionIndex,animatedSnapPoints,runOnJS,print,BottomSheet,INITIAL_POSITION,animatedCurrentIndex,animateOnMount,animateToPosition,ANIMATION_SOURCE,animatedPosition}=jsThis._closure;{if(!_isLayoutCalculated||isAnimatedOnMount.value){return;}let nextPosition;if(_providedIndex===-1){nextPosition=animatedClosedPosition.value;animatedNextPositionIndex.value=-1;}else{nextPosition=animatedSnapPoints.value[_providedIndex];}runOnJS(print)({component:BottomSheet.name,method:'useAnimatedReaction::OnMount',params:{isLayoutCalculated:_isLayoutCalculated,animatedSnapPoints:animatedSnapPoints.value,nextPosition:nextPosition}});if(nextPosition===INITIAL_POSITION||nextPosition===animatedClosedPosition.value){isAnimatedOnMount.value=true;animatedCurrentIndex.value=_providedIndex;return;}if(animateOnMount){animateToPosition(nextPosition,ANIMATION_SOURCE.MOUNT);}else{animatedPosition.value=nextPosition;}isAnimatedOnMount.value=true;}}",t.__workletHash=0xed0ad281216,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1226:6)",t})(),[p,P]),(0,s.useAnimatedReaction)((function(){var t=function(){return{snapPoints:Re.value,containerHeight:fe.value}};return t._closure={animatedSnapPoints:Re,animatedContainerHeight:fe},t.asString="function _f(){const{animatedSnapPoints,animatedContainerHeight}=jsThis._closure;{return{snapPoints:animatedSnapPoints.value,containerHeight:animatedContainerHeight.value};}}",t.__workletHash=0x918a42fd01b,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1285:6)",t})(),(function(){var t=function(t,n){var o=t.snapPoints,u=t.containerHeight,l=null==n?void 0:n.snapPoints,_=null==n?void 0:n.containerHeight;if(JSON.stringify(o)!==JSON.stringify(l)&&Ke.value&&Me.value&&!(u<=0)){var S,A;(0,s.runOnJS)(r(d[16]).print)({component:c.name,method:'useAnimatedReaction::OnSnapPointChange',params:{snapPoints:o}});var E=r(d[15]).ANIMATION_SOURCE.SNAP_POINT_CHANGE;ot.value===r(d[15]).ANIMATION_STATE.RUNNING&&Le.value!==Be.value?S=-1!==Le.value?o[Le.value]:Ue.value:-1===Be.value?S=be.value:Ye.value?S=lt():(S=o[Be.value],u!==_&&(E=r(d[15]).ANIMATION_SOURCE.CONTAINER_RESIZE,A={duration:0})),Et(S,E,0,A)}};return t._closure={isLayoutCalculated:Ke,isAnimatedOnMount:Me,runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},ANIMATION_SOURCE:{SNAP_POINT_CHANGE:r(d[15]).ANIMATION_SOURCE.SNAP_POINT_CHANGE,CONTAINER_RESIZE:r(d[15]).ANIMATION_SOURCE.CONTAINER_RESIZE},animatedAnimationState:ot,ANIMATION_STATE:{RUNNING:r(d[15]).ANIMATION_STATE.RUNNING},animatedNextPositionIndex:Le,animatedCurrentIndex:Be,animatedNextPosition:Ue,animatedClosedPosition:be,isInTemporaryPosition:Ye,getNextPosition:lt,animateToPosition:Et},t.asString="function _f(result,_previousResult){const{isLayoutCalculated,isAnimatedOnMount,runOnJS,print,BottomSheet,ANIMATION_SOURCE,animatedAnimationState,ANIMATION_STATE,animatedNextPositionIndex,animatedCurrentIndex,animatedNextPosition,animatedClosedPosition,isInTemporaryPosition,getNextPosition,animateToPosition}=jsThis._closure;{const{snapPoints:snapPoints,containerHeight:containerHeight}=result;const _previousSnapPoints=_previousResult===null||_previousResult===void 0?void 0:_previousResult.snapPoints;const _previousContainerHeight=_previousResult===null||_previousResult===void 0?void 0:_previousResult.containerHeight;if(JSON.stringify(snapPoints)===JSON.stringify(_previousSnapPoints)||!isLayoutCalculated.value||!isAnimatedOnMount.value||containerHeight<=0){return;}runOnJS(print)({component:BottomSheet.name,method:'useAnimatedReaction::OnSnapPointChange',params:{snapPoints:snapPoints}});let nextPosition;let animationConfig;let animationSource=ANIMATION_SOURCE.SNAP_POINT_CHANGE;if(animatedAnimationState.value===ANIMATION_STATE.RUNNING&&animatedNextPositionIndex.value!==animatedCurrentIndex.value){nextPosition=animatedNextPositionIndex.value!==-1?snapPoints[animatedNextPositionIndex.value]:animatedNextPosition.value;}else if(animatedCurrentIndex.value===-1){nextPosition=animatedClosedPosition.value;}else if(isInTemporaryPosition.value){nextPosition=getNextPosition();}else{nextPosition=snapPoints[animatedCurrentIndex.value];if(containerHeight!==_previousContainerHeight){animationSource=ANIMATION_SOURCE.CONTAINER_RESIZE;animationConfig={duration:0};}}animateToPosition(nextPosition,animationSource,0,animationConfig);}}",t.__workletHash=6986485382225,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1289:6)",t})()),(0,s.useAnimatedReaction)((function(){var t=function(){return{_keyboardState:qe.value,_keyboardHeight:Qe.value}};return t._closure={animatedKeyboardState:qe,animatedKeyboardHeight:Qe},t.asString="function _f(){const{animatedKeyboardState,animatedKeyboardHeight}=jsThis._closure;{return{_keyboardState:animatedKeyboardState.value,_keyboardHeight:animatedKeyboardHeight.value};}}",t.__workletHash=9072794790840,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1355:6)",t})(),(function(){var t=function(t,o){var u=t._keyboardState,l=t._keyboardHeight,_=null==o?void 0:o._keyboardState,S=null==o?void 0:o._keyboardHeight;at.value=Ie?Math.abs(l-Math.abs(ae-Pe.value.bottom)):Math.abs(l-Pe.value.bottom);var A=Ge.value===r(d[14]).State.ACTIVE||Ge.value===r(d[14]).State.BEGAN||je.value===r(d[14]).State.ACTIVE||je.value===r(d[14]).State.BEGAN;if(u===_&&l===S||A||!Me.value||u===r(d[15]).KEYBOARD_STATE.HIDDEN&&W===r(d[15]).KEYBOARD_BLUR_BEHAVIOR.none||'android'===n.Platform.OS&&J===r(d[15]).KEYBOARD_BEHAVIOR.interactive&&X===r(d[15]).KEYBOARD_INPUT_MODE.adjustResize)at.value=0;else{(0,s.runOnJS)(r(d[16]).print)({component:c.name,method:'useAnimatedReaction::OnKeyboardStateChange',params:{keyboardState:u,keyboardHeight:l}});var E=(0,r(d[16]).getKeyboardAnimationConfigs)(tt.value,et.value),I=lt();Et(I,r(d[15]).ANIMATION_SOURCE.KEYBOARD,0,E)}};return t._closure={animatedKeyboardHeightInContainer:at,$modal:Ie,bottomInset:ae,animatedContainerOffset:Pe,animatedContentGestureState:Ge,State:{ACTIVE:r(d[14]).State.ACTIVE,BEGAN:r(d[14]).State.BEGAN},animatedHandleGestureState:je,isAnimatedOnMount:Me,KEYBOARD_STATE:{HIDDEN:r(d[15]).KEYBOARD_STATE.HIDDEN},keyboardBlurBehavior:W,KEYBOARD_BLUR_BEHAVIOR:{none:r(d[15]).KEYBOARD_BLUR_BEHAVIOR.none},Platform:{OS:n.Platform.OS},keyboardBehavior:J,KEYBOARD_BEHAVIOR:{interactive:r(d[15]).KEYBOARD_BEHAVIOR.interactive},android_keyboardInputMode:X,KEYBOARD_INPUT_MODE:{adjustResize:r(d[15]).KEYBOARD_INPUT_MODE.adjustResize},runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},getKeyboardAnimationConfigs:r(d[16]).getKeyboardAnimationConfigs,keyboardAnimationEasing:tt,keyboardAnimationDuration:et,getNextPosition:lt,animateToPosition:Et,ANIMATION_SOURCE:{KEYBOARD:r(d[15]).ANIMATION_SOURCE.KEYBOARD}},t.asString="function _f(result,_previousResult){const{animatedKeyboardHeightInContainer,$modal,bottomInset,animatedContainerOffset,animatedContentGestureState,State,animatedHandleGestureState,isAnimatedOnMount,KEYBOARD_STATE,keyboardBlurBehavior,KEYBOARD_BLUR_BEHAVIOR,Platform,keyboardBehavior,KEYBOARD_BEHAVIOR,android_keyboardInputMode,KEYBOARD_INPUT_MODE,runOnJS,print,BottomSheet,getKeyboardAnimationConfigs,keyboardAnimationEasing,keyboardAnimationDuration,getNextPosition,animateToPosition,ANIMATION_SOURCE}=jsThis._closure;{const{_keyboardState:_keyboardState,_keyboardHeight:_keyboardHeight}=result;const _previousKeyboardState=_previousResult===null||_previousResult===void 0?void 0:_previousResult._keyboardState;const _previousKeyboardHeight=_previousResult===null||_previousResult===void 0?void 0:_previousResult._keyboardHeight;animatedKeyboardHeightInContainer.value=$modal?Math.abs(_keyboardHeight-Math.abs(bottomInset-animatedContainerOffset.value.bottom)):Math.abs(_keyboardHeight-animatedContainerOffset.value.bottom);const hasActiveGesture=animatedContentGestureState.value===State.ACTIVE||animatedContentGestureState.value===State.BEGAN||animatedHandleGestureState.value===State.ACTIVE||animatedHandleGestureState.value===State.BEGAN;if(_keyboardState===_previousKeyboardState&&_keyboardHeight===_previousKeyboardHeight||hasActiveGesture||!isAnimatedOnMount.value||_keyboardState===KEYBOARD_STATE.HIDDEN&&keyboardBlurBehavior===KEYBOARD_BLUR_BEHAVIOR.none||Platform.OS==='android'&&keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&android_keyboardInputMode===KEYBOARD_INPUT_MODE.adjustResize){animatedKeyboardHeightInContainer.value=0;return;}runOnJS(print)({component:BottomSheet.name,method:'useAnimatedReaction::OnKeyboardStateChange',params:{keyboardState:_keyboardState,keyboardHeight:_keyboardHeight}});let animationConfigs=getKeyboardAnimationConfigs(keyboardAnimationEasing.value,keyboardAnimationDuration.value);const nextPosition=getNextPosition();animateToPosition(nextPosition,ANIMATION_SOURCE.KEYBOARD,0,animationConfigs);}}",t.__workletHash=3930853620007,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1359:6)",t})(),[Ie,ae,J,W,X,Pe,lt]),(0,s.useAnimatedReaction)((function(){var t=function(){return ye.value};return t._closure={animatedPosition:ye},t.asString="function _f(){const{animatedPosition}=jsThis._closure;{return animatedPosition.value;}}",t.__workletHash=0xd4f6d514b13,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1446:6)",t})(),(function(){var t=function(t){oe&&(oe.value=t+te)};return t._closure={_providedAnimatedPosition:oe,topInset:te},t.asString="function _f(_animatedPosition){const{_providedAnimatedPosition,topInset}=jsThis._closure;{if(_providedAnimatedPosition){_providedAnimatedPosition.value=_animatedPosition+topInset;}}}",t.__workletHash=0xff4042733c5,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1447:6)",t})()),(0,s.useAnimatedReaction)((function(){var t=function(){return ut.value};return t._closure={animatedIndex:ut},t.asString="function _f(){const{animatedIndex}=jsThis._closure;{return animatedIndex.value;}}",t.__workletHash=3956160377747,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1458:6)",t})(),(function(){var t=function(t){ie&&(ie.value=t)};return t._closure={_providedAnimatedIndex:ie},t.asString="function _f(_animatedIndex){const{_providedAnimatedIndex}=jsThis._closure;{if(_providedAnimatedIndex){_providedAnimatedIndex.value=_animatedIndex;}}}",t.__workletHash=0xd6518f7d5c5,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1459:6)",t})()),(0,s.useAnimatedReaction)((function(){var t=function(){return{_animatedIndex:ut.value,_animatedPosition:ye.value,_animationState:ot.value,_contentGestureState:Ge.value,_handleGestureState:je.value}};return t._closure={animatedIndex:ut,animatedPosition:ye,animatedAnimationState:ot,animatedContentGestureState:Ge,animatedHandleGestureState:je},t.asString="function _f(){const{animatedIndex,animatedPosition,animatedAnimationState,animatedContentGestureState,animatedHandleGestureState}=jsThis._closure;{return{_animatedIndex:animatedIndex.value,_animatedPosition:animatedPosition.value,_animationState:animatedAnimationState.value,_contentGestureState:animatedContentGestureState.value,_handleGestureState:animatedHandleGestureState.value};}}",t.__workletHash=4120248539765,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1472:6)",t})(),(function(){var t=function(t){var n=t._animatedIndex,o=t._animationState,u=t._contentGestureState,l=t._handleGestureState;o===r(d[15]).ANIMATION_STATE.STOPPED&&(n%1==0&&!(u!==r(d[14]).State.END&&u!==r(d[14]).State.UNDETERMINED&&u!==r(d[14]).State.CANCELLED||l!==r(d[14]).State.END&&l!==r(d[14]).State.UNDETERMINED&&l!==r(d[14]).State.CANCELLED)&&(n!==Be.value&&((0,s.runOnJS)(r(d[16]).print)({component:c.name,method:'useAnimatedReaction::OnChange',params:{animatedCurrentIndex:Be.value,animatedIndex:n}}),Be.value=n,(0,s.runOnJS)(mt)(n)),-1===n&&Se&&((0,s.runOnJS)(r(d[16]).print)({component:c.name,method:'useAnimatedReaction::onClose',params:{animatedCurrentIndex:Be.value,animatedIndex:n}}),(0,s.runOnJS)(Se)())))};return t._closure={ANIMATION_STATE:{STOPPED:r(d[15]).ANIMATION_STATE.STOPPED},State:{END:r(d[14]).State.END,UNDETERMINED:r(d[14]).State.UNDETERMINED,CANCELLED:r(d[14]).State.CANCELLED},animatedCurrentIndex:Be,runOnJS:s.runOnJS,print:r(d[16]).print,BottomSheet:{name:c.name},handleOnChange:mt,_providedOnClose:Se},t.asString="function _f({_animatedIndex:_animatedIndex,_animationState:_animationState,_contentGestureState:_contentGestureState,_handleGestureState:_handleGestureState}){const{ANIMATION_STATE,State,animatedCurrentIndex,runOnJS,print,BottomSheet,handleOnChange,_providedOnClose}=jsThis._closure;{if(_animationState!==ANIMATION_STATE.STOPPED){return;}if(_animatedIndex%1!==0){return;}const hasNoActiveGesture=(_contentGestureState===State.END||_contentGestureState===State.UNDETERMINED||_contentGestureState===State.CANCELLED)&&(_handleGestureState===State.END||_handleGestureState===State.UNDETERMINED||_handleGestureState===State.CANCELLED);if(!hasNoActiveGesture){return;}if(_animatedIndex!==animatedCurrentIndex.value){runOnJS(print)({component:BottomSheet.name,method:'useAnimatedReaction::OnChange',params:{animatedCurrentIndex:animatedCurrentIndex.value,animatedIndex:_animatedIndex}});animatedCurrentIndex.value=_animatedIndex;runOnJS(handleOnChange)(_animatedIndex);}if(_animatedIndex===-1&&_providedOnClose){runOnJS(print)({component:BottomSheet.name,method:'useAnimatedReaction::onClose',params:{animatedCurrentIndex:animatedCurrentIndex.value,animatedIndex:_animatedIndex}});runOnJS(_providedOnClose)();}}}",t.__workletHash=3458355473356,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheet\\BottomSheet.tsx (1479:6)",t})(),[mt,Se]),(0,t.useEffect)(function(){Me.value&&It(p)},[p,Be,Me,It]),(0,r(d[16]).print)({component:c.name,method:'render',params:{animatedSnapPoints:Re.value,animatedCurrentIndex:Be.value,providedIndex:p}}),(0,r(d[18]).jsx)(r(d[19]).BottomSheetProvider,{value:pt,children:(0,r(d[18]).jsx)(r(d[19]).BottomSheetInternalProvider,{value:Ot,children:(0,r(d[18]).jsxs)(l.default,{gestureEventsHandlersHook:j,children:[(0,r(d[18]).jsx)(_.default,{animatedIndex:ut,animatedPosition:ye,backdropComponent:he},"BottomSheetBackdropContainer"),(0,r(d[18]).jsx)(u.default,{shouldCalculateHeight:!Ie,containerHeight:Ce,containerOffset:Pe,topInset:te,bottomInset:ae,detached:ve,style:K,children:(0,r(d[18]).jsxs)(s.default.View,{style:ft,children:[(0,r(d[18]).jsx)(A.default,{animatedIndex:ut,animatedPosition:ye,backgroundComponent:Ne,backgroundStyle:Y},"BottomSheetBackgroundContainer"),(0,r(d[18]).jsx)(s.default.View,{pointerEvents:"box-none",style:Rt,children:(0,r(d[18]).jsxs)(I.default,{style:Ht,children:['function'==typeof pe?(0,r(d[18]).jsx)(pe,{}):pe,Oe&&(0,r(d[18]).jsx)(E.default,{footerComponent:Oe})]},"BottomSheetRootDraggableView")}),(0,r(d[18]).jsx)(S.default,{animatedIndex:ut,animatedPosition:ye,handleHeight:He,enableHandlePanningGesture:b,enableOverDrag:B,enablePanDownToClose:U,overDragResistanceFactor:M,keyboardBehavior:J,handleComponent:Te,handleStyle:V,handleIndicatorStyle:G},"BottomSheetHandleContainer")]})},"BottomSheetContainer")]})})})}),h=(0,t.memo)(T);h.displayName='BottomSheet';var N=h;e.default=N},1118,[122,1,3,17,408,1119,1122,1124,1127,1132,1138,1071,1074,1078,695,1073,1094,1139,175,1084]); |
|
1125 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1119,[3,1120]); |
|
1126 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,u&&u.set(t,l);return l})(r(d[0])),n=r(d[1]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=(0,t.memo)(function(o){var l=o.containerHeight,f=o.containerOffset,c=o.topInset,s=void 0===c?0:c,p=o.bottomInset,v=void 0===p?0:p,h=o.shouldCalculateHeight,y=void 0===h||h,b=o.detached,O=o.style,j=o.children,w=(0,t.useRef)(null),M=(0,t.useMemo)(function(){return[O,r(d[2]).styles.container,{top:s,bottom:v,overflow:b?'visible':'hidden'}]},[O,b,s,v]),_=(0,t.useCallback)(function(t){var o,c=t.nativeEvent.layout.height;l.value=c,null==(o=w.current)||o.measure(function(t,o,u,l,s,p){var v;f.value={top:p,left:0,right:0,bottom:Math.max(0,r(d[3]).WINDOW_HEIGHT-(p+c+(null!=(v=n.StatusBar.currentHeight)?v:0)))}}),(0,r(d[4]).print)({component:u.displayName,method:'handleContainerLayout',params:{height:c}})},[l,f,w]);return(0,r(d[5]).jsx)(n.View,{ref:w,pointerEvents:"box-none",onLayout:y?_:void 0,style:M,children:j})});u.displayName='BottomSheetContainer';var l=u;e.default=l},1120,[122,1,1121,1073,1094,175]); |
|
1127 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]),l=t.StyleSheet.create({container:Object.assign({},t.StyleSheet.absoluteFillObject)});e.styles=l},1121,[1]); |
|
1128 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1122,[3,1123]); |
|
1129 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=s?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(l,f,c):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}var u=function(n){var u=n.gestureEventsHandlersHook,o=void 0===u?r(d[1]).useGestureEventsHandlersDefault:u,l=n.children,s=(0,r(d[2]).useSharedValue)(r(d[3]).GESTURE_SOURCE.UNDETERMINED),f=(0,r(d[1]).useBottomSheetInternal)(),c=f.animatedContentGestureState,E=f.animatedHandleGestureState,O=o(),p=O.handleOnStart,v=O.handleOnActive,S=O.handleOnEnd,G=(0,r(d[1]).useGestureHandler)(r(d[3]).GESTURE_SOURCE.CONTENT,c,s,p,v,S),H=(0,r(d[1]).useGestureHandler)(r(d[3]).GESTURE_SOURCE.SCROLLABLE,c,s,p,v,S),h=(0,r(d[1]).useGestureHandler)(r(d[3]).GESTURE_SOURCE.HANDLE,E,s,p,v,S),y=(0,t.useMemo)(function(){return{contentPanGestureHandler:G,handlePanGestureHandler:h,scrollablePanGestureHandler:H,animatedGestureSource:s}},[G,h,H,s]);return(0,r(d[4]).jsx)(r(d[5]).BottomSheetGestureHandlersContext.Provider,{value:y,children:l})};e.default=u},1123,[122,1074,408,1073,175,1084]); |
|
1130 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1124,[3,1125]); |
|
1131 |
+__d(function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(0,(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var p=l?Object.getOwnPropertyDescriptor(n,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=n[c]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).memo)(function(t){var n=t.animatedIndex,o=t.animatedPosition,u=t.backdropComponent;return u?(0,r(d[1]).jsx)(u,{animatedIndex:n,animatedPosition:o,style:r(d[2]).styles.container}):null});n.displayName='BottomSheetBackdropContainer';var o=n;e.default=o},1125,[122,175,1126]); |
|
1132 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{position:'absolute',top:0,left:0,right:0,bottom:0}});e.styles=t},1126,[1]); |
|
1133 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1127,[3,1128]); |
|
1134 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=s?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(l,f,c):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[2])),o=r(d[0])(r(d[3])),l=r(d[0])(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)}var s=(0,n.memo)(function(u){var f=u.animatedIndex,c=u.animatedPosition,h=u.simultaneousHandlers,p=u.enableHandlePanningGesture,y=u.handleHeight,v=u.handleComponent,O=u.handleStyle,b=u.handleIndicatorStyle,j=(0,r(d[5]).useBottomSheetInternal)(),H=j.activeOffsetX,P=j.activeOffsetY,w=j.failOffsetX,S=j.failOffsetY,x=j.waitFor,B=j.simultaneousHandlers,C=(0,r(d[5]).useBottomSheetGestureHandlers)().handlePanGestureHandler,M=(0,n.useMemo)(function(){var n=[];return h&&n.push(h),B&&(Array.isArray(B)?n.push.apply(n,(0,t.default)(B)):n.push(B)),n},[B,h]),_=(0,n.useCallback)(function(t){var n=t.nativeEvent.layout.height;y.value=n,(0,r(d[6]).print)({component:s.displayName,method:'handleContainerLayout',params:{height:n}})},[y]),G=void 0===v?l.default:v;return null!==G?(0,r(d[7]).jsx)(r(d[8]).PanGestureHandler,{enabled:p,waitFor:x,simultaneousHandlers:M,shouldCancelWhenOutside:!1,activeOffsetX:H,activeOffsetY:P,failOffsetX:w,failOffsetY:S,onGestureEvent:C,children:(0,r(d[7]).jsx)(o.default.View,{accessible:!0,accessibilityRole:"adjustable",accessibilityLabel:"Bottom Sheet handle",accessibilityHint:"Drag up or down to extend or minimize the Bottom Sheet",onLayout:_,children:(0,r(d[7]).jsx)(G,{animatedIndex:f,animatedPosition:c,style:O,indicatorStyle:b})},"BottomSheetHandleContainer")}):null});s.displayName='BottomSheetHandleContainer';var f=s;e.default=f},1128,[3,6,122,408,1129,1074,1094,175,695]); |
|
1135 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1129,[3,1130]); |
|
1136 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=f?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(c,l,s):c[l]=t[l]}c.default=t,u&&u.set(t,c);return c})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=(0,t.memo)(function(o){var u=o.style,c=o.indicatorStyle,f=o.children,l=(0,t.useMemo)(function(){return[r(d[3]).styles.container].concat([Array.isArray(u)?u:[u]])},[u]),s=(0,t.useMemo)(function(){return[r(d[3]).styles.indicator].concat([Array.isArray(c)?c:[c]])},[c]);return(0,r(d[4]).jsxs)(n.default.View,{style:l,children:[(0,r(d[4]).jsx)(n.default.View,{style:s}),f]})});u.displayName='BottomSheetHandle';var c=u;e.default=c},1130,[122,3,408,1131,175]); |
|
1137 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{padding:10},indicator:{alignSelf:'center',width:7.5*r(d[1]).WINDOW_WIDTH/100,height:4,borderRadius:4,backgroundColor:'rgba(0, 0, 0, 0.75)'}});e.styles=t},1131,[1,1073]); |
|
1138 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1132,[3,1133]); |
|
1139 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2])),o=r(d[3]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}var f=(0,t.memo)(function(u){var f=u.animatedIndex,l=u.animatedPosition,c=u.backgroundComponent,p=u.backgroundStyle,s=c||n.default,y=(0,t.useMemo)(function(){return o.StyleSheet.flatten([r(d[4]).styles.container,p])},[p]);return null===c?null:(0,r(d[5]).jsx)(s,{pointerEvents:"none",animatedIndex:f,animatedPosition:l,style:y})});f.displayName='BottomSheetBackgroundContainer';var l=f;e.default=l},1133,[122,3,1134,1,1137,175]); |
|
1140 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1134,[3,1135]); |
|
1141 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,u&&u.set(t,l);return l})(r(d[0])),n=r(d[1]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=(0,t.memo)(function(t){var o=t.pointerEvents,u=t.style;return(0,r(d[2]).jsx)(n.View,{pointerEvents:o,accessible:!0,accessibilityRole:"adjustable",accessibilityLabel:"Bottom Sheet",style:[r(d[3]).styles.container,u]})});u.displayName='BottomSheetBackground';var l=u;e.default=l},1135,[122,1,175,1136]); |
|
1142 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{backgroundColor:'white',borderRadius:15}});e.styles=t},1136,[1]); |
|
1143 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{position:'absolute',top:0,left:0,right:0,bottom:0}});e.styles=t},1137,[1]); |
|
1144 |
+__d(function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(0,(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in n)if("default"!==f&&Object.prototype.hasOwnProperty.call(n,f)){var h=s?Object.getOwnPropertyDescriptor(n,f):null;h&&(h.get||h.set)?Object.defineProperty(l,f,h):l[f]=n[f]}l.default=n,u&&u.set(n,l);return l})(r(d[0])).memo)(function(t){var n,o=t.footerComponent,u=(0,r(d[1]).useBottomSheetInternal)(),l=u.animatedContainerHeight,s=u.animatedHandleHeight,f=u.animatedFooterHeight,h=u.animatedPosition,c=u.animatedKeyboardState,H=u.animatedKeyboardHeightInContainer,v=(0,r(d[2]).useDerivedValue)(((n=function(){var t=H.value,n=Math.max(0,l.value-h.value);return c.value===r(d[3]).KEYBOARD_STATE.SHOWN&&(n-=t),n=n-f.value-s.value})._closure={animatedKeyboardHeightInContainer:H,animatedContainerHeight:l,animatedPosition:h,animatedKeyboardState:c,KEYBOARD_STATE:{SHOWN:r(d[3]).KEYBOARD_STATE.SHOWN},animatedFooterHeight:f,animatedHandleHeight:s},n.asString="function _f(){const{animatedKeyboardHeightInContainer,animatedContainerHeight,animatedPosition,animatedKeyboardState,KEYBOARD_STATE,animatedFooterHeight,animatedHandleHeight}=jsThis._closure;{const keyboardHeight=animatedKeyboardHeightInContainer.value;let footerTranslateY=Math.max(0,animatedContainerHeight.value-animatedPosition.value);if(animatedKeyboardState.value===KEYBOARD_STATE.SHOWN){footerTranslateY=footerTranslateY-keyboardHeight;}footerTranslateY=footerTranslateY-animatedFooterHeight.value-animatedHandleHeight.value;return footerTranslateY;}}",n.__workletHash=7635752872719,n.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetFooterContainer\\BottomSheetFooterContainer.tsx (22:49)",n),[H,l,h,c,f,s]);return(0,r(d[4]).jsx)(o,{animatedFooterPosition:v})});n.displayName='BottomSheetFooterContainer';var o=n;e.default=o},1138,[122,1074,408,1073,175]); |
|
1145 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{flexDirection:'column-reverse',position:'absolute',top:0,left:0,right:0},contentContainer:{},contentMaskContainer:{overflow:'hidden'}});e.styles=t},1139,[1]); |
|
1146 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1140,[3,1141]); |
|
1147 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),o=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=l(t);if(o&&o.has(n))return o.get(n);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in n)if("default"!==s&&Object.prototype.hasOwnProperty.call(n,s)){var f=c?Object.getOwnPropertyDescriptor(n,s):null;f&&(f.get||f.set)?Object.defineProperty(u,s,f):u[s]=n[s]}u.default=n,o&&o.set(n,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),c=["name","stackBehavior","enableDismissOnClose","onDismiss","index","snapPoints","enablePanDownToClose","animateOnMount","onChange","children"];function l(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(n){return n?o:t})(n)}var s={mount:!1,data:void 0},f=(0,o.forwardRef)(function l(f,p){var v=f.name,h=f.stackBehavior,b=void 0===h?r(d[5]).DEFAULT_STACK_BEHAVIOR:h,C=f.enableDismissOnClose,y=void 0===C?r(d[5]).DEFAULT_ENABLE_DISMISS_ON_CLOSE:C,O=f.onDismiss,k=f.index,P=void 0===k?0:k,w=f.snapPoints,D=f.enablePanDownToClose,M=void 0===D||D,A=f.animateOnMount,_=void 0===A||A,x=f.onChange,S=f.children,T=(0,t.default)(f,c),j=(0,o.useState)(s),I=(0,n.default)(j,2),R=I[0],z=R.mount,E=R.data,B=I[1],U=(0,r(d[6]).useBottomSheetModalInternal)(),H=U.containerHeight,L=U.containerOffset,F=U.mountSheet,N=U.unmountSheet,W=U.willUnmountSheet,q=(0,r(d[7]).usePortal)().removePortal,K=(0,o.useRef)(null),V=(0,o.useRef)(_?-1:P),$=(0,o.useRef)(-1),G=(0,o.useRef)(!1),J=(0,o.useRef)(!1),Q=(0,o.useRef)(!1);Q.current=z;var X=(0,o.useMemo)(function(){return v||"bottom-sheet-modal-"+(0,r(d[8]).id)()},[v]),Y=(0,o.useCallback)(function n(){(0,r(d[9]).print)({component:l.name,method:n.name}),V.current=-1,$.current=-1,G.current=!1,Q.current=!1,J.current=!1},[]),Z=(0,o.useCallback)(function n(){(0,r(d[9]).print)({component:l.name,method:n.name});var t=Q.current;Y(),N(X),q(X),t&&B(s),O&&O()},[X,Y,N,q,O]),ee=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.snapToIndex.apply(n,o)}},[]),ne=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.snapToPosition.apply(n,o)}},[]),re=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.expand.apply(n,o)}},[]),te=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.collapse.apply(n,o)}},[]),ae=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.close.apply(n,o)}},[]),oe=(0,o.useCallback)(function(){var n;if(!G.current){for(var t=arguments.length,o=new Array(t),u=0;u<t;u++)o[u]=arguments[u];null==(n=K.current)||n.forceClose.apply(n,o)}},[]),ue=(0,o.useCallback)(function n(t){requestAnimationFrame(function(){B({mount:!0,data:t}),F(X,p,b),(0,r(d[9]).print)({component:l.name,method:n.name})})},[X,b,F]),ce=(0,o.useCallback)(function n(t){var o;(0,r(d[9]).print)({component:l.name,method:n.name,params:{currentIndexRef:V.current,minimized:G.current}}),-1===V.current&&!1===G.current||(G.current||-1===V.current&&M?Z():(W(X),J.current=!0,null==(o=K.current)||o.forceClose(t)))},[W,Z,X,M]),ie=(0,o.useCallback)(function n(){var t;(0,r(d[9]).print)({component:l.name,method:n.name,params:{minimized:G.current}}),G.current||(G.current=!0,-1===V.current?$.current=P:$.current=V.current,null==(t=K.current)||t.close())},[P]),le=(0,o.useCallback)(function n(){var t;(0,r(d[9]).print)({component:l.name,method:n.name,params:{minimized:G.current,forcedDismissed:J.current}}),G.current&&!J.current&&(G.current=!1,null==(t=K.current)||t.snapToIndex($.current))},[]),se=(0,o.useCallback)(function n(){var t;(0,r(d[9]).print)({component:l.name,method:n.name,params:{minimized:G.current,forcedDismissed:J.current}}),-1===V.current&&!1===G.current||(Q.current=!1,J.current=!0,G.current?Z():(W(X),null==(t=K.current)||t.close()))},[X,Z,W]),me=(0,o.useCallback)(function(n){Q.current&&n()},[]),fe=(0,o.useCallback)(function n(t){(0,r(d[9]).print)({component:l.name,method:n.name,params:{minimized:G.current,forcedDismissed:J.current}}),V.current=t,x&&x(t)},[x]),de=(0,o.useCallback)(function n(){(0,r(d[9]).print)({component:l.name,method:n.name,params:{minimized:G.current,forcedDismissed:J.current}}),G.current||y&&Z()},[y,Z]);return(0,o.useImperativeHandle)(p,function(){return{snapToIndex:ee,snapToPosition:ne,expand:re,collapse:te,close:ae,forceClose:oe,dismiss:ce,present:ue,minimize:ie,restore:le}}),z?(0,r(d[10]).jsx)(r(d[7]).Portal,{name:X,handleOnMount:me,handleOnUpdate:me,handleOnUnmount:se,children:(0,o.createElement)(u.default,Object.assign({},T,{ref:K,key:X,index:P,snapPoints:w,enablePanDownToClose:M,animateOnMount:_,containerHeight:H,containerOffset:L,onChange:fe,onClose:de,children:'function'==typeof S?(0,r(d[10]).jsx)(S,{data:E}):S,$modal:!0}))},X):null}),p=(0,o.memo)(f);p.displayName='BottomSheetModal';var v=p;e.default=v},1141,[3,19,96,122,1117,1142,1074,1143,1153,1094,175]); |
|
1148 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_STACK_BEHAVIOR=e.DEFAULT_ENABLE_DISMISS_ON_CLOSE=void 0;e.DEFAULT_STACK_BEHAVIOR='replace';e.DEFAULT_ENABLE_DISMISS_ON_CLOSE=!0},1142,[]); |
|
1149 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Portal",{enumerable:!0,get:function(){return r(d[0]).Portal}}),Object.defineProperty(e,"PortalHost",{enumerable:!0,get:function(){return r(d[1]).PortalHost}}),Object.defineProperty(e,"PortalProvider",{enumerable:!0,get:function(){return r(d[2]).PortalProvider}}),Object.defineProperty(e,"enableLogging",{enumerable:!0,get:function(){return r(d[3]).enableLogging}}),Object.defineProperty(e,"usePortal",{enumerable:!0,get:function(){return r(d[4]).usePortal}})},1143,[1144,1148,1150,1152,1145]); |
|
1150 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Portal=void 0;var n=r(d[0]),u=(0,n.memo)(function(u){var t=u.name,c=u.hostName,o=u.handleOnMount,l=u.handleOnUnmount,f=u.handleOnUpdate,s=u.children,v=(0,r(d[1]).usePortal)(c),P=v.addPortal,h=v.removePortal,b=(0,n.useMemo)(function(){return t||(0,r(d[2]).nanoid)()},[t]),O=(0,n.useRef)(),_=(0,n.useRef)(),k=(0,n.useRef)(),p=(0,n.useCallback)(function(){o?o(function(){return P(b,s)}):P(b,s)},[o,P]);O.current=p;var C=(0,n.useCallback)(function(){l?l(function(){return h(b)}):h(b)},[l,h]);_.current=C;var M=(0,n.useCallback)(function(){f?f(function(){return P(b,s)}):P(b,s)},[f,P,s]);return k.current=M,(0,n.useEffect)(function(){return null==O.current||O.current(),function(){null==_.current||_.current(),O.current=void 0,_.current=void 0,k.current=void 0}},[]),(0,n.useEffect)(function(){null==k.current||k.current()},[s]),null});e.Portal=u,u.displayName='Portal'},1144,[122,1145,598]); |
|
1151 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.usePortal=void 0;var t=r(d[0]);e.usePortal=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'root',l=(0,t.useContext)(r(d[1]).PortalDispatchContext);if(null===l)throw new Error("'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.");var n=(0,t.useCallback)(function(){l({type:r(d[2]).ACTIONS.REGISTER_HOST,hostName:o})},[]),s=(0,t.useCallback)(function(){l({type:r(d[2]).ACTIONS.DEREGISTER_HOST,hostName:o})},[]),u=(0,t.useCallback)(function(t,n){l({type:r(d[2]).ACTIONS.ADD_UPDATE_PORTAL,hostName:o,portalName:t,node:n})},[]);return{registerHost:n,deregisterHost:s,addPortal:u,updatePortal:u,removePortal:(0,t.useCallback)(function(t){l({type:r(d[2]).ACTIONS.REMOVE_PORTAL,hostName:o,portalName:t})},[])}}},1145,[122,1146,1147]); |
|
1152 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PortalStateContext=e.PortalDispatchContext=void 0;var t=r(d[0]),o=(0,t.createContext)(null);e.PortalStateContext=o;var n=(0,t.createContext)(null);e.PortalDispatchContext=n},1146,[122]); |
|
1153 |
+__d(function(g,r,i,a,m,e,d){var T;Object.defineProperty(e,"__esModule",{value:!0}),e.INITIAL_STATE=e.ACTIONS=void 0,e.ACTIONS=T,(function(T){T[T.REGISTER_HOST=0]="REGISTER_HOST",T[T.DEREGISTER_HOST=1]="DEREGISTER_HOST",T[T.ADD_UPDATE_PORTAL=2]="ADD_UPDATE_PORTAL",T[T.REMOVE_PORTAL=3]="REMOVE_PORTAL"})(T||(e.ACTIONS=T={}));e.INITIAL_STATE={}},1147,[]); |
|
1154 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PortalHost=void 0;var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(f,l,s):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o=(0,t.memo)(function(n){var o=n.name,u=(0,r(d[1]).usePortalState)(o),f=(0,r(d[2]).usePortal)(o),c=f.registerHost,l=f.deregisterHost;return(0,t.useEffect)(function(){return c(),function(){l()}},[]),(0,r(d[3]).jsx)(r(d[3]).Fragment,{children:u.map(function(t){return t.node})})});e.PortalHost=o,o.displayName='PortalHost'},1148,[122,1149,1145,175]); |
|
1155 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.usePortalState=void 0;var t=r(d[0]);e.usePortalState=function(o){var n=(0,t.useContext)(r(d[1]).PortalStateContext);if(null===n)throw new Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");return n[o]||[]}},1149,[122,1146]); |
|
1156 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PortalProvider=void 0;var t=r(d[0])(r(d[1])),o=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,u&&u.set(t,l);return l})(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var u=(0,o.memo)(function(n){var u=n.rootHostName,l=void 0===u?'root':u,c=n.shouldAddRootHost,f=void 0===c||c,s=n.children,v=(0,o.useReducer)(r(d[3]).reducer,r(d[4]).INITIAL_STATE),p=(0,t.default)(v,2),P=p[0],y=p[1];return(0,r(d[5]).jsx)(r(d[6]).PortalDispatchContext.Provider,{value:y,children:(0,r(d[5]).jsxs)(r(d[6]).PortalStateContext.Provider,{value:P,children:[s,f&&(0,r(d[5]).jsx)(r(d[7]).PortalHost,{name:l})]})})});e.PortalProvider=u,u.displayName='PortalProvider'},1150,[3,19,122,1151,1147,175,1146,1148]); |
|
1157 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.reducer=void 0;var n=function(n,t){return t in n||(n[t]=[]),n},t=function(n,t){return delete n[t],n},o=function(t,o,u,c){o in t||(t=n(t,o));var s=t[o].findIndex(function(n){return n.name===u});return-1!==s?t[o][s].node=c:t[o].push({name:u,node:c}),t},u=function n(t,o,u){if(!(o in t))return(0,r(d[0]).print)({component:c.name,method:n.name,params:"Failed to remove portal '"+u+"', '"+o+"' was not registered!"}),t;var s=t[o].findIndex(function(n){return n.name===u});return-1!==s&&t[o].splice(s,1),t},c=function(c,s){var f=s.type,O=Object.assign({},c);switch(f){case r(d[1]).ACTIONS.REGISTER_HOST:return n(O,s.hostName);case r(d[1]).ACTIONS.DEREGISTER_HOST:return t(O,s.hostName);case r(d[1]).ACTIONS.ADD_UPDATE_PORTAL:return o(O,s.hostName,s.portalName,s.node);case r(d[1]).ACTIONS.REMOVE_PORTAL:return u(O,s.hostName,s.portalName);default:return c}};e.reducer=c},1151,[1152,1147]); |
|
1158 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.print=e.enableLogging=void 0;var n=!1,o=Boolean(!1);e.enableLogging=function(){o?n=!0:console.warn('[Portal] could not enable logging on production!')};var t=function(){};e.print=t,o&&(e.print=t=function(o){var t=o.component,l=o.method,c=o.params;if(n){var u='';u='object'==typeof c?Object.keys(c).map(function(n){return n+":"+c[n]}).join(' '):""+(null!=c?c:''),console.log("[Portal::"+[t,l].filter(Boolean).join('::')+"]",u)}}),Object.freeze(t)},1152,[]); |
|
1159 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.id=void 0;var n=0;e.id=function(){return n=(n+1)%Number.MAX_SAFE_INTEGER}},1153,[]); |
|
1160 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1154,[3,1155]); |
|
1161 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var l=u(t);if(l&&l.has(n))return l.get(n);var c={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in n)if("default"!==f&&Object.prototype.hasOwnProperty.call(n,f)){var s=o?Object.getOwnPropertyDescriptor(n,f):null;s&&(s.get||s.set)?Object.defineProperty(c,f,s):c[f]=n[f]}c.default=n,l&&l.set(n,c);return c})(r(d[0])),t=r(d[1])(r(d[2]));function u(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(u=function(n){return n?l:t})(n)}var l=function(u){var l=u.children,c=(0,r(d[3]).useSharedValue)(r(d[4]).INITIAL_CONTAINER_HEIGHT),o=(0,r(d[3]).useSharedValue)(r(d[4]).INITIAL_CONTAINER_OFFSET),f=(0,n.useRef)([]),s=(0,n.useCallback)(function(n,t,u){var l=f.current.slice(),c=l.findIndex(function(t){return t.key===n}),o=c===l.length-1;if(-1===c||!o){var s,h,v,p=l[l.length-1];p&&!p.willUnmount&&u===r(d[5]).MODAL_STACK_BEHAVIOR.replace&&(null==(s=p.ref)||null==(h=s.current)||h.minimize()),-1!==c&&(l.splice(c,1),null==t||null==(v=t.current)||v.restore()),l.push({key:n,ref:t,willUnmount:!1}),f.current=l}},[]),h=(0,n.useCallback)(function(n){var t=f.current.slice(),u=t.findIndex(function(t){return t.key===n}),l=u===t.length-1;t.splice(u,1),f.current=t;var c,o,s=f.current.length>0,h=f.current[f.current.length-1];l&&s&&h&&!h.willUnmount&&(null==(c=f.current[f.current.length-1].ref)||null==(o=c.current)||o.restore())},[]),v=(0,n.useCallback)(function(n){var t=f.current.slice(),u=t.findIndex(function(t){return t.key===n}),l=u===t.length-1;-1!==u&&(t[u].willUnmount=!0);var c,o,s=t.length>1;l&&s&&(null==(c=t[t.length-2].ref)||null==(o=c.current)||o.restore()),f.current=t},[]),p=(0,n.useCallback)(function(n){var t,u,l=n?f.current.find(function(t){return t.key===n}):f.current[f.current.length-1];return!!l&&(null==(t=l.ref)||null==(u=t.current)||u.dismiss(),!0)},[]),O=(0,n.useCallback)(function(){f.current.map(function(n){var t,u;null==(t=n.ref)||null==(u=t.current)||u.dismiss()})},[]),y=(0,n.useMemo)(function(){return{dismiss:p,dismissAll:O}},[p,O]),I=(0,n.useMemo)(function(){return{containerHeight:c,containerOffset:o,mountSheet:s,unmountSheet:h,willUnmountSheet:v}},[c,o,s,h,v]);return(0,r(d[6]).jsx)(r(d[7]).BottomSheetModalProvider,{value:y,children:(0,r(d[6]).jsxs)(r(d[7]).BottomSheetModalInternalProvider,{value:I,children:[(0,r(d[6]).jsx)(t.default,{containerOffset:o,containerHeight:c,children:null}),(0,r(d[6]).jsx)(r(d[8]).PortalProvider,{children:l})]})})};e.default=l},1155,[122,3,1119,408,1078,1073,175,1084,1143]); |
|
1162 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1156,[3,1157]); |
|
1163 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=s(r(d[2])),n=r(d[3]),u=s(r(d[4])),l=["focusHook","enableFooterMarginAdjustment","style","children"];function c(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:o})(t)}function s(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=c(o);if(n&&n.has(t))return n.get(t);var u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var f=l?Object.getOwnPropertyDescriptor(t,s):null;f&&(f.get||f.set)?Object.defineProperty(u,s,f):u[s]=t[s]}return u.default=t,n&&n.set(t,u),u}var f=(0,o.memo)(function(c){var s,f=c.focusHook,p=void 0===f?o.useEffect:f,y=c.enableFooterMarginAdjustment,b=void 0!==y&&y,h=c.style,v=c.children,_=(0,t.default)(c,l),j=(0,r(d[5]).useBottomSheetInternal)(),S=j.animatedScrollableContentOffsetY,B=j.animatedScrollableType,M=j.animatedFooterHeight,O=(0,o.useMemo)(function(){var t=n.StyleSheet.flatten(h),o=t&&'paddingBottom'in t?t.paddingBottom:0;return'number'==typeof o?o:0},[h]),P=(0,u.useAnimatedStyle)(((s=function(){return{paddingBottom:b?M.value+O:O}})._closure={enableFooterMarginAdjustment:b,animatedFooterHeight:M,containerStylePaddingBottom:O},s.asString="function _f(){const{enableFooterMarginAdjustment,animatedFooterHeight,containerStylePaddingBottom}=jsThis._closure;{return{paddingBottom:enableFooterMarginAdjustment?animatedFooterHeight.value+containerStylePaddingBottom:containerStylePaddingBottom};}}",s.__workletHash=0xecb782676f1,s.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetView\\BottomSheetView.tsx (32:4)",s.__optimalization=3,s),[O,b]),w=(0,o.useMemo)(function(){return[h,P]},[h,P]);return p((0,o.useCallback)(function(){S.value=0,B.value=r(d[6]).SCROLLABLE_TYPE.VIEW},[S,B])),(0,r(d[7]).jsx)(u.default.View,Object.assign({style:w},_,{children:v}))});f.displayName='BottomSheetView';var p=f;e.default=p},1157,[3,96,122,1,408,1074,1073,175]); |
|
1164 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1158,[3,1159]); |
|
1165 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,o&&o.set(t,f);return f})(r(d[2])),o=["onFocus","onBlur"];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)}var f=(0,n.forwardRef)(function(u,f){var l=u.onFocus,c=u.onBlur,s=(0,t.default)(u,o),p=(0,r(d[3]).useBottomSheetInternal)().shouldHandleKeyboardEvents,v=(0,n.useCallback)(function(t){p.value=!0,l&&l(t)},[l,p]),y=(0,n.useCallback)(function(t){p.value=!1,c&&c(t)},[c,p]);return(0,r(d[4]).jsx)(r(d[5]).TextInput,Object.assign({ref:f,onFocus:v,onBlur:y},s))}),l=(0,n.memo)(f);l.displayName='BottomSheetTextInput';var c=l;e.default=c},1159,[3,96,122,1074,175,695]); |
|
1166 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1160,[3,1161]); |
|
1167 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=l(r(d[2])),o=l(r(d[3]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}function l(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=u?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(l,c,p):l[c]=t[c]}return l.default=t,o&&o.set(t,l),l}var u=(0,n.memo)(function(s){var l,u=s.animatedIndex,c=s.opacity,p=s.appearsOnIndex,_=s.disappearsOnIndex,h=s.enableTouchThrough,f=s.pressBehavior,O=void 0===f?r(d[4]).DEFAULT_PRESS_BEHAVIOR:f,y=s.onPress,b=s.style,x=s.children,S=(0,r(d[5]).useBottomSheet)(),v=S.snapToIndex,I=S.close,k=null!=c?c:r(d[4]).DEFAULT_OPACITY,T=null!=p?p:r(d[4]).DEFAULT_APPEARS_ON_INDEX,E=null!=_?_:r(d[4]).DEFAULT_DISAPPEARS_ON_INDEX,B=null!=h?h:r(d[4]).DEFAULT_ENABLE_TOUCH_THROUGH,P=(0,n.useState)(B?'none':'auto'),A=(0,t.default)(P,2),D=A[0],C=A[1],j=(0,n.useCallback)(function(){null==y||y(),'close'===O?I():'collapse'===O?v(E):'number'==typeof O&&v(O)},[v,I,E,O,y]),w=(0,n.useCallback)(function(t){C(t?'none':'auto')},[]),H=(0,o.useAnimatedGestureHandler)({onFinish:(l=function(){(0,o.runOnJS)(j)()},l._closure={runOnJS:o.runOnJS,handleOnPress:j},l.asString="function _f(){const{runOnJS,handleOnPress}=jsThis._closure;{runOnJS(handleOnPress)();}}",l.__workletHash=5380642129552,l.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetBackdrop\\BottomSheetBackdrop.tsx (80:18)",l)},[j]),L=(0,o.useAnimatedStyle)((function(){var t=function(){return{opacity:(0,o.interpolate)(u.value,[-1,E,T],[0,0,k],o.Extrapolate.CLAMP),flex:1}};return t._closure={interpolate:o.interpolate,animatedIndex:u,disappearsOnIndex:E,appearsOnIndex:T,opacity:k,Extrapolate:{CLAMP:o.Extrapolate.CLAMP}},t.asString="function _f(){const{interpolate,animatedIndex,disappearsOnIndex,appearsOnIndex,opacity,Extrapolate}=jsThis._closure;{return{opacity:interpolate(animatedIndex.value,[-1,disappearsOnIndex,appearsOnIndex],[0,0,opacity],Extrapolate.CLAMP),flex:1};}}",t.__workletHash=960886053830,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetBackdrop\\BottomSheetBackdrop.tsx (89:50)",t.__optimalization=3,t})()),U=(0,n.useMemo)(function(){return[r(d[6]).styles.container,b,L]},[b,L]);return(0,o.useAnimatedReaction)((function(){var t=function(){return u.value<=E};return t._closure={animatedIndex:u,disappearsOnIndex:E},t.asString="function _f(){const{animatedIndex,disappearsOnIndex}=jsThis._closure;{return animatedIndex.value<=disappearsOnIndex;}}",t.__workletHash=6215426757982,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetBackdrop\\BottomSheetBackdrop.tsx (106:4)",t})(),(function(){var t=function(t,n){t!==n&&(0,o.runOnJS)(w)(t)};return t._closure={runOnJS:o.runOnJS,handleContainerTouchability:w},t.asString="function _f(shouldDisableTouchability,previous){const{runOnJS,handleContainerTouchability}=jsThis._closure;{if(shouldDisableTouchability===previous){return;}runOnJS(handleContainerTouchability)(shouldDisableTouchability);}}",t.__workletHash=7918363623874,t.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetBackdrop\\BottomSheetBackdrop.tsx (107:4)",t})(),[E]),'none'!==O?(0,r(d[7]).jsx)(r(d[8]).TapGestureHandler,{onGestureEvent:H,children:(0,r(d[7]).jsx)(o.default.View,{style:U,pointerEvents:D,accessible:!0,accessibilityRole:"button",accessibilityLabel:"Bottom Sheet backdrop",accessibilityHint:"Tap to "+('string'==typeof O?O:'move')+" the Bottom Sheet",children:x})}):(0,r(d[7]).jsx)(o.default.View,{pointerEvents:D,style:U,children:x})});u.displayName='BottomSheetBackdrop';var c=u;e.default=c},1161,[3,19,122,408,1162,1074,1163,175,695]); |
|
1168 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_PRESS_BEHAVIOR=e.DEFAULT_OPACITY=e.DEFAULT_ENABLE_TOUCH_THROUGH=e.DEFAULT_DISAPPEARS_ON_INDEX=e.DEFAULT_APPEARS_ON_INDEX=void 0;e.DEFAULT_OPACITY=.5;e.DEFAULT_APPEARS_ON_INDEX=1;e.DEFAULT_DISAPPEARS_ON_INDEX=0;e.DEFAULT_ENABLE_TOUCH_THROUGH=!1;e.DEFAULT_PRESS_BEHAVIOR='close'},1162,[]); |
|
1169 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{backgroundColor:'black'}});e.styles=t},1163,[1]); |
|
1170 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))},1164,[3,1165]); |
|
1171 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=u(r(d[0])),o=u(r(d[1]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}function u(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=l?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(s,f,c):s[f]=t[f]}return s.default=t,u&&u.set(t,s),s}var s=(0,t.memo)(function(n){var u,s=n.animatedFooterPosition,l=n.bottomInset,f=void 0===l?0:l,c=n.style,p=n.children,y=(0,r(d[2]).useBottomSheetInternal)(),v=y.animatedFooterHeight,_=y.animatedKeyboardState,b=(0,o.useAnimatedStyle)(((u=function(){var t=s.value;return _.value!==r(d[3]).KEYBOARD_STATE.SHOWN&&(t-=f),{transform:[{translateY:Math.max(0,t)}]}})._closure={animatedFooterPosition:s,animatedKeyboardState:_,KEYBOARD_STATE:{SHOWN:r(d[3]).KEYBOARD_STATE.SHOWN},bottomInset:f},u.asString="function _f(){const{animatedFooterPosition,animatedKeyboardState,KEYBOARD_STATE,bottomInset}=jsThis._closure;{let footerTranslateY=animatedFooterPosition.value;if(animatedKeyboardState.value!==KEYBOARD_STATE.SHOWN){footerTranslateY=footerTranslateY-bottomInset;}return{transform:[{translateY:Math.max(0,footerTranslateY)}]};}}",u.__workletHash=0xa5c98a883c2,u.__location="C:\\Users\\mycom\\Desktop\\fog_app\\node_modules\\@gorhom\\bottom-sheet\\src\\components\\bottomSheetFooter\\BottomSheetFooter.tsx (21:50)",u),[f,_,s]),S=(0,t.useMemo)(function(){return[r(d[4]).styles.container,c,b]},[c,b]),O=(0,t.useCallback)(function(t){var o=t.nativeEvent.layout.height;v.value=o},[v]);return null!==p?(0,r(d[5]).jsx)(o.default.View,{pointerEvents:"box-none",onLayout:O,style:S,children:'function'==typeof p?p():p}):null});s.displayName='BottomSheetFooter';var l=s;e.default=l},1165,[122,408,1074,1073,1166,175]); |
|
1172 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{position:'absolute',top:0,left:0,right:0,zIndex:9999}});e.styles=t},1166,[1]); |
|
1173 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={TouchableOpacity:r(d[0]).TouchableOpacity,TouchableHighlight:r(d[0]).TouchableHighlight,TouchableWithoutFeedback:r(d[0]).TouchableWithoutFeedback};e.default=t},1167,[1168]); |
|
1174 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return r(d[0]).TouchableHighlight}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return r(d[0]).TouchableOpacity}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return r(d[0]).TouchableWithoutFeedback}})},1168,[695]); |
|
1175 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.textColor=e.pageTitleBox=e.pageTitle=e.padding=e.marginBottom=e.direction=e.container=e.ItemFlex2=e.ItemFlex=void 0;var t={flex:1,paddingHorizontal:16,paddingVertical:50,justifyContent:'center',backgroundColor:r(d[0]).WHITE,color:r(d[0]).BLACK};e.container=t;e.ItemFlex={flex:1};e.ItemFlex2={flex:2};e.direction={flexDirection:'row',justifyContent:'space-between',alignItems:'center'};var o={paddingVertical:20,backgroundColor:r(d[0]).PRIMERY};e.pageTitleBox=o;var n={fontSize:18,fontWeight:'bold',textAlign:'center',color:r(d[0]).WHITE};e.pageTitle=n;e.marginBottom={marginBottom:20};var l={color:r(d[0]).BLACK};e.textColor=l;e.padding={paddingHorizontal:16}},1169,[387]); |
|
1176 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var p=u.navigation,x=(0,t.useContext)(r(d[7]).MapContext),y=x.searchQuery,j=x.nodes;console.log('List',j.length);var h=Math.ceil(j.length/2),v=j[h];console.log('nodesCenterPoint',v);var P=j.slice(-1)[0];return(0,r(d[8]).jsxs)(n.View,{style:f.container,children:[(0,r(d[8]).jsx)(n.View,{style:r(d[9]).pageTitleBox,children:(0,r(d[8]).jsx)(n.Text,{style:r(d[9]).pageTitle,children:y})}),(0,r(d[8]).jsxs)(o.default,{lat:v.latitude,long:v.longitude,latDelta:.3,longDelta:.3,showsUserLocation:!0,children:[(0,r(d[8]).jsx)(r(d[10]).Marker,{coordinate:P,image:c.default}),(0,r(d[8]).jsx)(r(d[10]).Polyline,{coordinates:j,strokeWidth:10,strokeColor:r(d[11]).PRIMERY})]}),(0,r(d[8]).jsx)(l.default,{children:(0,r(d[8]).jsxs)(n.View,{style:[r(d[9]).directionAlign,{flexDirection:'row'}],children:[(0,r(d[8]).jsx)(n.Text,{style:{flex:9},children:y}),(0,r(d[8]).jsx)(s.default,{title:'\uc6b4\ud589 \uc2dc\uc791',padding:10,color:r(d[11]).WHITE,backgroundColor:r(d[11]).PRIMERY,onPress:function(){p.navigate('Driving')}})]})})]})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var f=s?Object.getOwnPropertyDescriptor(t,c):null;f&&(f.get||f.set)?Object.defineProperty(l,c,f):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[0])),n=r(d[1]),o=r(d[2])(r(d[3])),l=r(d[2])(r(d[4])),s=r(d[2])(r(d[5])),c=r(d[2])(r(d[6]));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)}var f=n.StyleSheet.create({container:{flex:1,backgroundColor:r(d[11]).WHITE}})},1170,[122,1,3,858,1171,403,1172,380,175,1169,859,387]); |
|
1177 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var c=u.onChange,l=u.children,p=(0,n.useRef)(null),s=(0,n.useMemo)(function(){return['25%','50%','75%']},[]),y=(0,n.useCallback)(function(n){return(0,r(d[3]).jsx)(o.BottomSheetBackdrop,Object.assign({},n,{disappearsOnIndex:1,appearsOnIndex:2}))},[]);return(0,r(d[3]).jsx)(o.default,{ref:p,snapPoints:s,backdropComponent:y,onChange:c,children:(0,r(d[3]).jsx)(t.View,{style:f.contentContainer,children:l})})};var n=c(r(d[0])),t=r(d[1]),o=c(r(d[2]));function u(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(n){return n?o:t})(n)}function c(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=u(t);if(o&&o.has(n))return o.get(n);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=f?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(c,l,p):c[l]=n[l]}return c.default=n,o&&o.set(n,c),c}var f=t.StyleSheet.create({contentContainer:{padding:16,alignItems:'center'}})},1171,[122,1,1068,175]); |
|
1178 |
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:83,height:109,scales:[1],hash:"52ce386a3971e409872d66835ae24c8a",name:"end_point",type:"png"})},1172,[386]); |
|
1179 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[4]).jsx)(t.Navigator,{initialRouteName:"Login",screenOptions:{headerBackTitleVisible:!1,headerShown:!1},children:(0,r(d[4]).jsx)(t.Screen,{name:"Login",component:n.default})})};r(d[0])(r(d[1]));var n=r(d[0])(r(d[2])),t=(0,r(d[3]).createNativeStackNavigator)()},1173,[3,122,1174,1182,175]); |
|
1180 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){c.navigation;var s=(0,n.useContext)(r(d[7]).AuthContext).onClickLogin,p=(0,n.useState)(),x=(0,t.default)(p,2),y=x[0],j=x[1],h=(0,n.useState)(),w=(0,t.default)(h,2),b=w[0],v=w[1];return(0,r(d[8]).jsx)(u.View,{style:{flex:1},children:(0,r(d[8]).jsxs)(u.View,{style:r(d[9]).container,children:[(0,r(d[8]).jsx)(u.View,{style:f.loginLogo,children:(0,r(d[8]).jsx)(u.Image,{source:r(d[10]),style:f.image1})}),(0,r(d[8]).jsxs)(u.View,{children:[(0,r(d[8]).jsx)(l.default,{onChangeText:function(t){j(t)},placeholder:"\uc544\uc774\ub514"}),(0,r(d[8]).jsx)(l.default,{onChangeText:function(t){v(t)},secureTextEntry:!0,placeholder:"\ube44\ubc00\ubc88\ud638"})]}),(0,r(d[8]).jsx)(u.View,{style:f.buttonContainer,children:(0,r(d[8]).jsx)(o.default,{title:'\ub85c\uadf8\uc778',backgroundColor:r(d[11]).PRIMERY,padding:10,marginBottom:10,color:r(d[11]).WHITE,textAlign:'center',onPress:function(){s(y,b)}})})]})})};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=c(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[2])),o=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),u=r(d[5]);r(d[0])(r(d[6]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}var f=u.StyleSheet.create({buttonContainer:{flex:1},loginLogo:{justifyContent:'center',alignItems:'center',flex:1},image1:{width:'110%',resizeMode:'contain'}})},1174,[3,19,122,403,1175,1,1176,376,175,1169,1181,387]); |
|
1181 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var n=l.onChangeText,c=l.placeholder,u=l.secureTextEntry,T=(l.visible,l.title);return(0,r(d[3]).jsx)(t.View,{children:(0,r(d[3]).jsx)(t.TextInput,{title:T,style:o.input,onChangeText:n,placeholder:c,placeholderTextColor:r(d[4]).LIGHTGRAY,secureTextEntry:u})})};r(d[0])(r(d[1]));var t=r(d[2]);var o=t.StyleSheet.create({input:{marginBottom:10,padding:10,borderWidth:1,borderColor:r(d[4]).LIGHTGRAY,backgroundColor:r(d[4]).WHITE,color:r(d[4]).BLACK}})},1175,[3,122,1,175,387]); |
|
1182 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.LinearGradient=void 0;var t=r(d[0]),f=r(d[1])(r(d[2])),l=r(d[1])(r(d[3])),n=r(d[1])(r(d[4])),o="ios"===t.Platform.OS?f.default:"android"===t.Platform.OS?l.default:n.default;e.LinearGradient=o;var u=o;e.default=u},1176,[1,3,1177,1179,1180]); |
|
1183 |
+__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=l?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),f=r(d[8]),s=r(d[0])(r(d[9])),p=["start","end","colors","locations","useAngle","angleCenter","angle"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e,t){return Array.isArray(t)?(console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:t[0],y:t[1]}):t},P=(function(y){(0,o.default)(j,y);var P,b,O=(P=j,b=h(),function(){var e,t=(0,u.default)(P);if(b){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(){var e;(0,t.default)(this,j);for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return(e=O.call.apply(O,[this].concat(o))).gradientRef=(0,c.createRef)(),e}return(0,n.default)(j,[{key:"setNativeProps",value:function(e){this.gradientRef.current.setNativeProps(e)}},{key:"render",value:function(){var t=this.props,n=t.start,o=t.end,l=t.colors,u=t.locations,c=t.useAngle,y=t.angleCenter,h=t.angle,P=(0,e.default)(t,p);return l&&u&&l.length!==u.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),(0,r(d[10]).jsx)(s.default,Object.assign({ref:this.gradientRef},P,{startPoint:v('start',n),endPoint:v('end',o),colors:l.map(f.processColor),locations:u?u.slice(0,l.length):null,useAngle:c,angleCenter:v('angleCenter',y),angle:h}))}}]),j})(c.Component);_e.default=P,P.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1177,[3,96,12,13,51,48,47,122,1,1178,175]); |
|
1184 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('BVLinearGradient');e.default=t},1178,[1]); |
|
1185 |
+__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),s=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=l?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),f=r(d[8]),c=r(d[0])(r(d[9])),p=["children","colors","end","locations","useAngle","angleCenter","angle","start","style"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=function(e,t){return Array.isArray(t)&&console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),null!==t&&'object'==typeof t?[t.x,t.y]:t},R=(function(y){(0,o.default)(P,y);var R,v,j=(R=P,v=h(),function(){var e,t=(0,u.default)(R);if(v){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function P(){var e;(0,t.default)(this,P);for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return(e=j.call.apply(j,[this].concat(o))).gradientRef=(0,s.createRef)(),e}return(0,n.default)(P,[{key:"setNativeProps",value:function(e){this.gradientRef.current.setNativeProps(e)}},{key:"render",value:function(){var t=this.props,n=t.children,o=t.colors,l=t.end,u=t.locations,s=t.useAngle,y=t.angleCenter,h=t.angle,R=t.start,v=t.style,j=(0,e.default)(t,p);o&&u&&o.length!==u.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length');var P,O=f.StyleSheet.flatten(v)||{},w=O.borderRadius||0,x=(P=w,function(e){return'number'==typeof e?e:P}),A=[x(O.borderTopLeftRadius),x(O.borderTopLeftRadius),x(O.borderTopRightRadius),x(O.borderTopRightRadius),x(O.borderBottomRightRadius),x(O.borderBottomRightRadius),x(O.borderBottomLeftRadius),x(O.borderBottomLeftRadius)];return(0,r(d[10]).jsxs)(f.View,Object.assign({ref:this.gradientRef},j,{style:v,children:[(0,r(d[10]).jsx)(c.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:o.map(f.processColor),startPoint:b('start',R),endPoint:b('end',l),locations:u?u.slice(0,o.length):null,useAngle:s,angleCenter:b('angleCenter',y),angle:h,borderRadii:A}),n]}))}}]),P})(s.Component);_e.default=R,R.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1179,[3,96,12,13,51,48,47,122,1,1178,175]); |
|
1186 |
+__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[7])),c=r(d[8]),f=r(d[0])(r(d[9])),p=["children","start","end","colors","locations","useAngle","angleCenter","angle","style"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e,t){return Array.isArray(t)?(console.warn("LinearGradient '"+e+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:t[0],y:t[1]}):t},b=(function(u){(0,o.default)(j,u);var y,b,P=(y=j,b=h(),function(){var e,t=(0,s.default)(y);if(b){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function j(){return(0,t.default)(this,j),P.apply(this,arguments)}return(0,n.default)(j,[{key:"setNativeProps",value:function(e){this.gradientRef.setNativeProps(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.children,l=n.start,s=n.end,u=n.colors,y=n.locations,h=n.useAngle,b=n.angleCenter,P=n.angle,j=n.style,O=(0,e.default)(n,p);return u&&y&&u.length!==y.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),(0,r(d[10]).jsxs)(c.View,Object.assign({ref:function(e){t.gradientRef=e}},O,{style:j,children:[(0,r(d[10]).jsx)(f.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:u.map(c.processColor),startPoint:v('start',l),endPoint:v('end',s),locations:y?y.slice(0,u.length):null,useAngle:h,angleCenter:v('angleCenter',b),angle:P}),o]}))}}]),j})(u.Component);_e.default=b,b.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1180,[3,96,12,13,51,48,47,122,1,1178,175]); |
|
1187 |
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/resoureces/files/images",width:1080,height:1080,scales:[1],hash:"f7548f212101576f7095b25127d07d68",name:"login_logo_2",type:"png"})},1181,[386]); |
|
1188 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))},1182,[3,1183,1184]); |
|
1189 |
+__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=u?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(o,c,f):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[0])(r(d[3])),o=["id","initialRouteName","children","screenListeners","screenOptions"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var u=(0,r(d[4]).createNavigatorFactory)(function(s){var u=s.id,c=s.initialRouteName,f=s.children,l=s.screenListeners,p=s.screenOptions,v=(0,e.default)(s,o),O=(0,r(d[4]).useNavigationBuilder)(r(d[4]).StackRouter,{id:u,initialRouteName:c,children:f,screenListeners:l,screenOptions:p}),y=O.state,j=O.descriptors,b=O.navigation,P=O.NavigationContent;return t.useEffect(function(){return null==b?void 0:null==b.addListener?void 0:b.addListener('tabPress',function(e){var t=b.isFocused();requestAnimationFrame(function(){y.index>0&&t&&!e.defaultPrevented&&b.dispatch(Object.assign({},r(d[4]).StackActions.popToTop(),{target:y.key}))})})},[b,y.index,y.key]),(0,r(d[5]).jsx)(P,{children:(0,r(d[5]).jsx)(n.default,Object.assign({},v,{state:y,navigation:b,descriptors:j}))})});_e.default=u},1183,[3,96,122,1184,572,175]); |
|
1190 |
+__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,r(d[10]).jsx)(r(d[13]).SafeAreaProviderCompat,{children:(0,r(d[10]).jsx)(y,Object.assign({},e))})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=s?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(o,l,c):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),u=r(d[0])(r(d[8]));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var v='android'===n.Platform.OS,h=function(e){var s=e.options,l=e.route,p=e.presentation,h=e.headerHeight,f=e.headerTopInsetEnabled,y=e.children,S=(0,r(d[9]).useTheme)().colors,x=s.header,b=s.headerShown,B=void 0===b||b,j=s.contentStyle,D=!v&&('card'!==p&&!0===B&&void 0===x),C=t.useRef(B);t.useEffect(function(){(0,o.default)(!v&&'card'!==p&&C.current!==B,"Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '"+l.name+"'."),C.current=B},[B,p,l.name]);var H=(0,r(d[10]).jsx)(c.default,{style:[k.container,'transparentModal'!==p&&'containedTransparentModal'!==p&&{backgroundColor:S.background},j],stackPresentation:'card'===p?'push':p,children:y});return D?(0,r(d[10]).jsx)(r(d[11]).ScreenStack,{style:k.container,children:(0,r(d[10]).jsxs)(r(d[11]).Screen,{enabled:!0,style:n.StyleSheet.absoluteFill,children:[(0,r(d[10]).jsx)(u.default,Object.assign({},s,{route:l,headerHeight:h,headerTopInsetEnabled:f,canGoBack:!0})),H]})}):H},f=function(o){var s,l=o.descriptor,c=o.previousDescriptor,p=o.nextDescriptor,f=o.index,y=o.onWillDisappear,S=o.onAppear,x=o.onDisappear,b=o.onDismissed,B=o.onHeaderBackButtonClicked,j=o.onNativeDismissCancelled,D=l.route,C=l.navigation,H=l.options,O=l.render,P=H.animationDuration,w=H.animationTypeForReplace,E=void 0===w?'push':w,A=H.gestureEnabled,T=H.header,M=H.headerBackButtonMenuEnabled,N=H.headerShown,_=H.headerTransparent,I=H.autoHideHomeIndicator,R=H.navigationBarColor,W=H.navigationBarHidden,F=H.orientation,G=H.statusBarAnimation,z=H.statusBarHidden,V=H.statusBarStyle,K=H.statusBarTranslucent,L=H.statusBarColor,q=H.freezeOnBlur,J=H.animation,Q=H.customAnimationOnGesture,U=H.fullScreenGestureEnabled,X=H.presentation,Y=void 0===X?'card':X,Z=H.gestureDirection,$=void 0===Z?'card'===Y?'horizontal':'vertical':Z;'vertical'===$&&'ios'===n.Platform.OS&&(void 0===U&&(U=!0),void 0===Q&&(Q=!0),void 0===J&&(J='slide_from_bottom'));var ee=null==p?void 0:p.options.gestureDirection,te=null!=ee?ee:$;0===f&&(Y='card');var ne=(0,r(d[12]).useSafeAreaInsets)(),ae=(0,r(d[12]).useSafeAreaFrame)(),re='modal'===Y||'formSheet'===Y,ie='ios'===n.Platform.OS&&!(n.Platform.isPad||n.Platform.isTVOS),oe=ae.width>ae.height,se=t.useContext(r(d[13]).HeaderShownContext),le=t.useContext(r(d[13]).HeaderHeightContext),de=t.useContext(r(d[13]).HeaderBackContext),ce=se||'ios'===n.Platform.OS&&re||ie&&oe?0:ne.top,ue=(0,r(d[9]).usePreventRemoveContext)().preventedRoutes,pe=(0,r(d[13]).getDefaultHeaderHeight)(ae,re,ce),ve=t.useState(pe),he=(0,e.default)(ve,2),fe=he[0],ge=he[1],me=0!==ce,ye=T?fe:pe,ke=c?{title:(0,r(d[13]).getHeaderTitle)(c.options,c.route.name)}:de,Se=null==(s=ue[D.key])?void 0:s.preventRemove;return(0,r(d[10]).jsx)(r(d[11]).Screen,{enabled:!0,style:n.StyleSheet.absoluteFill,customAnimationOnSwipe:Q,fullScreenSwipeEnabled:U,gestureEnabled:!v&&A,homeIndicatorHidden:I,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:E,stackPresentation:'card'===Y?'push':Y,stackAnimation:J,screenOrientation:F,statusBarAnimation:G,statusBarHidden:z,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:P,onWillDisappear:y,onAppear:S,onDisappear:x,onDismissed:b,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:B,preventNativeDismiss:Se,onNativeDismissCancelled:j,freezeOnBlur:q,children:(0,r(d[10]).jsx)(r(d[9]).NavigationContext.Provider,{value:C,children:(0,r(d[10]).jsx)(r(d[9]).NavigationRouteContext.Provider,{value:D,children:(0,r(d[10]).jsx)(r(d[13]).HeaderShownContext.Provider,{value:se||!1!==N,children:(0,r(d[10]).jsxs)(r(d[13]).HeaderHeightContext.Provider,{value:!1!==N?ye:null!=le?le:0,children:[(0,r(d[10]).jsx)(u.default,Object.assign({},H,{route:D,headerBackButtonMenuEnabled:void 0!==Se?!Se:M,headerShown:void 0===T&&N,headerHeight:ye,headerBackTitle:void 0!==H.headerBackTitle?H.headerBackTitle:void 0,headerTopInsetEnabled:me,canGoBack:void 0!==ke})),(0,r(d[10]).jsxs)(n.View,{style:k.scene,children:[(0,r(d[10]).jsx)(h,{options:H,route:D,presentation:Y,headerHeight:ye,headerTopInsetEnabled:me,children:(0,r(d[10]).jsx)(r(d[13]).HeaderBackContext.Provider,{value:ke,children:O()})}),void 0!==T&&!1!==N?(0,r(d[10]).jsx)(n.View,{onLayout:function(e){ge(e.nativeEvent.layout.height)},style:_?k.absolute:null,children:T({back:ke,options:H,route:D,navigation:C})}):null]})]})})})})},D.key)};function y(e){var t=e.state,n=e.navigation,o=e.descriptors,c=(0,s.default)(t).setNextDismissedKey;return(0,l.default)(o),(0,r(d[10]).jsx)(r(d[11]).ScreenStack,{style:k.container,children:t.routes.map(function(e,s){var l,u,p=o[e.key],v=null==(l=t.routes[s-1])?void 0:l.key,h=null==(u=t.routes[s+1])?void 0:u.key,y=v?o[v]:void 0,k=h?o[h]:void 0;return(0,r(d[10]).jsx)(f,{index:s,descriptor:p,previousDescriptor:y,nextDescriptor:k,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(o){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(o.nativeEvent.dismissCount),{source:e.key,target:t.key})),c(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(o){n.dispatch(Object.assign({},r(d[9]).StackActions.pop(o.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)})})}var k=n.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0}})},1184,[3,19,122,1,406,1185,1186,1187,1188,572,175,849,552,668]); |
|
1191 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,f=n.useState(null),s=(0,t.default)(f,2),l=s[0],c=s[1],p=l?null==(u=o.routes.find(function(t){return t.key===l}))?void 0:u.name:null;return n.useEffect(function(){if(p){var t="The screen '"+p+"' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.";console.error(t)}},[p]),{setNextDismissedKey:c}};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var c=s?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(f,l,c):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}},1185,[3,19,122]); |
|
1192 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var o,u,l=(0,r(d[1]).usePreventRemoveContext)().preventedRoutes,f=Object.keys(l)[0],c=n[f],s=null==c?void 0:null==(o=c.options)?void 0:o.headerBackButtonMenuEnabled,p=null==c?void 0:null==(u=c.route)?void 0:u.name;t.useEffect(function(){if(null!=f&&s){var t="The screen "+p+" uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from "+p+" screen to get rid of this error.";console.error(t)}},[f,s,p])};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,u&&u.set(t,l);return l})(r(d[0]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}},1186,[122,572]); |
|
1193 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[0])(r(d[1])),(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(o);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u)})(r(d[2]));var t=r(d[3]);r(d[0])(r(d[4]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:o})(t)}var o=t.View;e.default=o},1187,[3,96,122,1,331]); |
|
1194 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var c,u,h,s=n.headerHeight,f=n.headerBackImageSource,S=n.headerBackButtonMenuEnabled,y=n.headerBackTitle,k=n.headerBackTitleStyle,p=n.headerBackTitleVisible,b=void 0===p||p,T=n.headerBackVisible,B=n.headerShadowVisible,w=n.headerLargeStyle,j=n.headerLargeTitle,F=n.headerLargeTitleShadowVisible,v=n.headerLargeTitleStyle,x=n.headerBackground,C=n.headerLeft,O=n.headerRight,P=n.headerShown,H=n.headerStyle,V=n.headerBlurEffect,z=n.headerTintColor,I=n.headerTitle,L=n.headerTitleAlign,M=n.headerTitleStyle,W=n.headerTransparent,E=n.headerSearchBarOptions,_=n.headerTopInsetEnabled,A=n.route,D=n.title,G=n.canGoBack,R=(0,r(d[4]).useTheme)().colors,q=null!=z?z:'ios'===l.Platform.OS?R.primary:R.text,J=l.StyleSheet.flatten(k)||{},K=l.StyleSheet.flatten(v)||{},N=l.StyleSheet.flatten(M)||{},Q=l.StyleSheet.flatten(H)||{},U=l.StyleSheet.flatten(w)||{},X=(0,r(d[5]).processFonts)([J.fontFamily,K.fontFamily,N.fontFamily]),Y=(0,t.default)(X,3),Z=Y[0],$=Y[1],ee=Y[2],te=(0,r(d[6]).getHeaderTitle)({title:D,headerTitle:I},A.name),le=null!=(c=null!=(u=N.color)?u:z)?c:R.text,re=N.fontSize,ne=N.fontWeight,ae={color:le};null!=N.fontFamily&&(ae.fontFamily=N.fontFamily);null!=re&&(ae.fontSize=re);null!=ne&&(ae.fontWeight=ne);var oe=null==C?void 0:C({tintColor:q,canGoBack:G,label:y}),ie=null==O?void 0:O({tintColor:q,canGoBack:G}),ce='function'==typeof I?I({tintColor:q,children:te}):null,de='boolean'==typeof r(d[7]).isSearchBarAvailableForCurrentPlatform?r(d[7]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=r(d[7]).SearchBar,ue=de&&null!=E;if(null!=E&&!de)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var he=T?null!=oe:'android'===l.Platform.OS&&null!=ce,se=null!=x||W||(ue||j)&&'ios'===l.Platform.OS&&!1!==W;return(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=x?(0,r(d[8]).jsx)(l.View,{style:[o.background,W?o.translucent:null,{height:s}],children:x()}):null,(0,r(d[8]).jsxs)(r(d[7]).ScreenStackHeaderConfig,{backButtonInCustomView:he,backgroundColor:null!=(h=Q.backgroundColor)?h:null!=x||W?'transparent':R.card,backTitle:b?y:' ',backTitleFontFamily:Z,backTitleFontSize:J.fontSize,blurEffect:V,color:q,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===S,hidden:!1===P,hideBackButton:!1===T,hideShadow:!1===B||null!=x||W,largeTitle:j,largeTitleBackgroundColor:U.backgroundColor,largeTitleColor:K.color,largeTitleFontFamily:$,largeTitleFontSize:K.fontSize,largeTitleFontWeight:K.fontWeight,largeTitleHideShadow:!1===F,title:te,titleColor:le,titleFontFamily:ee,titleFontSize:re,titleFontWeight:ne,topInsetEnabled:_,translucent:!0===se,children:['ios'===l.Platform.OS?(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=oe?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderLeftView,{children:oe}):null,null!=ce?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderCenterView,{children:ce}):null]}):(0,r(d[8]).jsxs)(r(d[8]).Fragment,{children:[null!=oe||'function'==typeof I?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderLeftView,{children:(0,r(d[8]).jsxs)(l.View,{style:o.row,children:[oe,'center'!==L?'function'==typeof I?ce:(0,r(d[8]).jsx)(r(d[6]).HeaderTitle,{tintColor:q,style:ae,children:te}):null]})}):null,'center'===L?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderCenterView,{children:'function'==typeof I?ce:(0,r(d[8]).jsx)(r(d[6]).HeaderTitle,{tintColor:q,style:ae,children:te})}):null]}),void 0!==f?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderBackButtonImage,{source:f}):null,null!=ie?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderRightView,{children:ie}):null,ue?(0,r(d[8]).jsx)(r(d[7]).ScreenStackHeaderSearchBarView,{children:(0,r(d[8]).jsx)(r(d[7]).SearchBar,Object.assign({},E))}):null]})]})};var t=r(d[0])(r(d[1])),l=((function(t,l){if(!l&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(l);if(o&&o.has(t))return o.get(t);var c={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in t)if("default"!==h&&Object.prototype.hasOwnProperty.call(t,h)){var s=u?Object.getOwnPropertyDescriptor(t,h):null;s&&(s.get||s.set)?Object.defineProperty(c,h,s):c[h]=t[h]}c.default=t,o&&o.set(t,c)})(r(d[2])),r(d[3]));function n(t){if("function"!=typeof WeakMap)return null;var l=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:l})(t)}var o=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1},background:{overflow:'hidden'}})},1188,[3,19,122,1,572,1189,668,849,175]); |
|
1195 |
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(o){var t,u=null==(t=n.default.fontFamily)?void 0:t.process;if('function'==typeof u)return o.map(u);return o};var n=r(d[0])(r(d[1]))},1189,[3,138]); |
|
1196 |
+__d(function(a,n,i,e,d,m,o){d.exports={name:"navi",displayName:"navi"}},1190,[]); |
|
1089 | 1197 |
__r(41); |
1090 | 1198 |
__r(0);(파일 끝에 줄바꿈 문자 없음) |
--- src/component/Action.js
+++ src/component/Action.js
... | ... | @@ -128,8 +128,8 @@ |
128 | 128 |
<ModalComponent |
129 | 129 |
isVisible={isModalVisible} |
130 | 130 |
toggleModal={toggleModal} |
131 |
- alertTitle="안개 발생 알림" |
|
132 |
- alertMessage="전방에 안개가 발생하였습니다." |
|
131 |
+ alertTitle="위험" |
|
132 |
+ alertMessage="전방에 도로위험상황이 발생하였습니다." |
|
133 | 133 |
/> |
134 | 134 |
</View> |
135 | 135 |
); |
--- src/component/Photo.js
+++ src/component/Photo.js
... | ... | @@ -123,12 +123,25 @@ |
123 | 123 |
console.log(err); |
124 | 124 |
}); |
125 | 125 |
}; |
126 |
+ useEffect(() => { |
|
127 |
+ requestCameraPermission(); |
|
128 |
+ timerId = setInterval(() => { |
|
129 |
+ takePicture(); |
|
130 |
+ }, 5000); |
|
131 |
+ return () => clearInterval(timerId); |
|
132 |
+ }, []); |
|
133 |
+ |
|
134 |
+ if (device == null) return <Text>device == null</Text>; |
|
135 |
+ |
|
126 | 136 |
return ( |
127 |
- <ModalComponent |
|
128 |
- isVisible={isModalVisible} |
|
129 |
- toggleModal={toggleModal} |
|
130 |
- alertTitle="안개 발생 알림" |
|
131 |
- alertMessage="전방에 안개가 발생하였습니다." |
|
132 |
- /> |
|
137 |
+ <View> |
|
138 |
+ <Camera ref={camera} device={device} isActive={true} photo={true} /> |
|
139 |
+ <ModalComponent |
|
140 |
+ isVisible={isModalVisible} |
|
141 |
+ toggleModal={toggleModal} |
|
142 |
+ alertTitle="위험" |
|
143 |
+ alertMessage="전방에 도로위험상황이 발생하였습니다." |
|
144 |
+ /> |
|
145 |
+ </View> |
|
133 | 146 |
); |
134 | 147 |
} |
--- src/context/AuthContext.js
+++ src/context/AuthContext.js
... | ... | @@ -2,6 +2,7 @@ |
2 | 2 |
import {Buffer} from 'buffer'; |
3 | 3 |
import {AsyncStorage} from '@react-native-async-storage/async-storage'; |
4 | 4 |
import {url} from '../url'; |
5 |
+import {Alert} from 'react-native'; |
|
5 | 6 |
|
6 | 7 |
export const AuthContext = createContext(); |
7 | 8 |
|
... | ... | @@ -34,7 +35,7 @@ |
34 | 35 |
console.log('login 성공'); |
35 | 36 |
console.log('userInfo', userInfo); |
36 | 37 |
} else { |
37 |
- alert('로그인 정보를 다시 한 번 확인해주세요.'); |
|
38 |
+ Alert.alert('알림', '로그인 정보를 다시 한 번 확인해주세요.'); |
|
38 | 39 |
} |
39 | 40 |
}) |
40 | 41 |
.catch(err => { |
--- src/screens/Main.js
+++ src/screens/Main.js
... | ... | @@ -173,7 +173,7 @@ |
173 | 173 |
showsUserLocation={true} |
174 | 174 |
/> |
175 | 175 |
<View style={styles.container}> |
176 |
- <Button |
|
176 |
+ {/* <Button |
|
177 | 177 |
title={isDrivingStarted ? '운행 종료' : '운행 시작'} |
178 | 178 |
onPress={handleStartDriving} |
179 | 179 |
// onPress={toggleModal} |
... | ... | @@ -182,7 +182,7 @@ |
182 | 182 |
textAlign={'center'} |
183 | 183 |
padding={10} |
184 | 184 |
backgroundColor={isDrivingStarted ? RED : PRIMERY} |
185 |
- /> |
|
185 |
+ /> */} |
|
186 | 186 |
{devicesLoaded && shouldLog && ( |
187 | 187 |
<Camera ref={camera} device={device} isActive={true} photo={true} /> |
188 | 188 |
)} |
... | ... | @@ -203,8 +203,8 @@ |
203 | 203 |
<ModalComponent |
204 | 204 |
isVisible={isModalVisible} |
205 | 205 |
toggleModal={toggleModal} |
206 |
- alertTitle="폭우 발생 알림" |
|
207 |
- alertMessage="폭우가 발생하였습니다." |
|
206 |
+ alertTitle="위험" |
|
207 |
+ alertMessage="전방에 도로위험상황이 발생하였습니다." |
|
208 | 208 |
/> |
209 | 209 |
</View> |
210 | 210 |
); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?