moonyeju 2023-11-15
[FEAT] apk생성
@7f8fb9b9e8c21ed0075e3a16fe32468ceac2b2cd
android/app/src/main/assets/index.android.bundle
--- android/app/src/main/assets/index.android.bundle
+++ android/app/src/main/assets/index.android.bundle
@@ -379,7 +379,7 @@
 __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 n;n=(function(n){r(d[3])(o,n);var e,u,c=(e=o,u=t(),function(){var t,n=r(d[0])(e);if(u){var c=r(d[0])(this).constructor;t=Reflect.construct(n,arguments,c)}else t=n.apply(this,arguments);return r(d[1])(this,t)});function o(){return r(d[4])(this,o),c.apply(this,arguments)}return r(d[5])(o,[{key:"render",value:function(){return null}}],[{key:"ignoreWarnings",value:function(t){}},{key:"install",value:function(){}},{key:"uninstall",value:function(){}}]),o})(r(d[2]).Component),m.exports=n},373,[47,48,122,51,12,13]);
 __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicColorIOS=void 0;e.DynamicColorIOS=function(o){throw new Error('DynamicColorIOS is not available on this platform.')}},374,[]);
 __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,r(d[5]).jsx)(l.default,{children:(0,r(d[5]).jsx)(t.default,{children:(0,r(d[5]).jsx)(r(d[6]).GestureHandlerRootView,{style:{flex:1},children:(0,r(d[5]).jsx)(n.default,{})})})})};r(d[0])(r(d[1]));var l=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]))},375,[3,122,376,380,383,175,695]);
-__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]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthContext=void 0,e.default=function(u){var l=u.children,c=(0,n.useState)(null),s=(0,t.default)(c,2),p=s[0],h=s[1],v=(0,n.useState)(null),y=(0,t.default)(v,2),O=y[0],j=y[1],b=function(t){return JSON.parse(r(d[4]).Buffer.from(t.split('.')[1],'base64').toString())},P=function(t,n){fetch(r(d[5]).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,u=t.token;if('success'===n){h(u);var f=b(u);j(f),console.log('login \uc131\uacf5'),console.log('userInfo',f)}else o.Alert.alert('\uc54c\ub9bc','\ub85c\uadf8\uc778 \uc815\ubcf4\ub97c \ub2e4\uc2dc \ud55c \ubc88 \ud655\uc778\ud574\uc8fc\uc138\uc694.')}).catch(function(t){console.error(t)})},k=n.default.useMemo(function(){return{onClickLogin:P,setUserInfo:j,userToken:p,userInfo:O}});return(0,r(d[6]).jsx)(f.Provider,{value:k,children:l})};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=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,n.createContext)();e.AuthContext=f},376,[3,19,122,1,377,379,175]);
 __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]);
 __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,[]);
 __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,[]);
@@ -860,8 +860,8 @@
 __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]);
 __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]);
 __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]);
-__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]);
-__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]);
+__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[10]).MapContext),v=(y.onQuery,y.searchQuery,y.location),j=(y.nodes,(0,o.useState)(!1)),x=(0,n.default)(j,2),b=(x[0],x[1],(0,o.useState)(!1)),S=(0,n.default)(b,2),w=S[0],C=(S[1],(0,o.useState)('')),O=(0,n.default)(C,2),T=O[0],P=O[1],k=(0,o.useState)(null),D=(0,n.default)(k,2),E=D[0],_=D[1],M=(0,o.useState)(!1),I=(0,n.default)(M,2),R=I[0],U=I[1],V=(0,r(d[11]).useCameraDevices)(),L=V.back,A=(0,o.useRef)(null),N=(0,o.useState)(!1),B=(0,n.default)(N,2),F=B[0],W=B[1],q=function(){W(!F)},z=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[11]).Camera.requestCameraPermission();'denied'===t&&(yield l.Linking.openSettings())}),[]);(0,o.useEffect)(function(){if(z(),V&&V.back&&V.back.devices.includes('telephoto-camera')&&!R){var t=V.back.devices.find(function(t){return'telephoto-camera'===t});t&&(A.current=t,U(!0))}},[V,R]),(0,o.useEffect)(function(){if(R&&w){var t=setInterval(function(){P('\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'),_(new Date),H()},5e3);return function(){clearInterval(t),P(''),_(null)}}},[R,w]);var H=(J=(0,t.default)(function*(){if(R&&A.current){var t=yield A.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('.'),c=s[0],f=[{name:'file',filename:l,filepath:n,filetype:'image/jpg'}];yield u.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:c,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');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 J.apply(this,arguments)});var J;return(0,r(d[13]).jsxs)(l.View,{style:{flex:1},children:[(0,r(d[13]).jsx)(l.View,{style:h.searchContainer,children:(0,r(d[13]).jsx)(f.default,{placeholder:'\ub3c4\ucc29\uc9c0\ub97c \uc785\ub825\ud558\uc138\uc694'})}),(0,r(d[13]).jsx)(s.default,{lat:v.latitude,long:v.longitude,latDelta:.005,longDelta:.005,showsUserLocation:!0}),(0,r(d[13]).jsxs)(l.View,{style:h.container,children:[R&&w&&(0,r(d[13]).jsx)(r(d[11]).Camera,{ref:A,device:L,isActive:!0,photo:!0}),T&&E&&(0,r(d[13]).jsxs)(l.View,{style:h.infoContainer,children:[(0,r(d[13]).jsx)(l.Text,{children:T}),(0,r(d[13]).jsxs)(l.Text,{style:h.normalText,children:["Sent at: ",E.toLocaleTimeString()]}),(0,r(d[13]).jsx)(l.Text,{style:h.normalText,children:'\uc815\ubcf4\uac00 \uc1a1\uc2e0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'===T?'\uc0ac\uc9c4\uc744 \ucd2c\uc601\ud569\ub2c8\ub2e4.':''})]})]}),(0,r(d[13]).jsx)(c.default,{isVisible:F,toggleModal:q,alertTitle:"\uc704\ud5d8",alertMessage:"\uc804\ubc29\uc5d0 \ub3c4\ub85c\uc704\ud5d8\uc0c1\ud669\uc774 \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])),r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),c=r(d[0])(r(d[8])),f=r(d[0])(r(d[9]));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=l.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]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var o=l.lat,f=l.long,c=l.showsUserLocation,p=l.latDelta,s=l.longDelta,y=l.children;return(0,r(d[6]).jsx)(t.View,{style:u.mapStyle,children:(0,r(d[6]).jsx)(n.default,{style:u.mapStyle,provider:n.PROVIDER_GOOGLE,initialRegion:{latitude:o,longitude:f,latitudeDelta:p,longitudeDelta:s},showsUserLocation:c,children:y})})};o(r(d[0]));var t=r(d[1]),n=o(r(d[2]));r(d[3])(r(d[4])),r(d[3])(r(d[5]));function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}function o(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var u={},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(u,c,p):u[c]=t[c]}return u.default=t,o&&o.set(t,u),u}var u=t.StyleSheet.create({mapStyle:{flex:1}})},858,[122,1,859,3,403,880,175]);
 __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]);
 __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]);
 __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,[]);
@@ -1070,7 +1070,7 @@
 __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]);
 __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]);
 __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]);
-__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]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var c,p=f.onUploadFile,h=(0,o.useContext)(r(d[7]).MapContext),y=(h.onQuery,h.location),v=(0,r(d[8]).useCameraDevices)().back,O=(0,o.useRef)(null),j=(0,o.useState)(!1),b=(0,n.default)(j,2),P=b[0],S=b[1],_=function(){S(!P)},x=(0,o.useCallback)((0,t.default)(function*(){var t=yield r(d[8]).Camera.requestCameraPermission();'denied'===t&&(yield l.Linking.openSettings())}),[]),C=(T=(0,t.default)(function*(){var t=yield O.current.takePhoto({flash:'off',qualityPrioritization:'speed'}),n=t.path,o=n.split('/'),l=o.length,s=o[l-1],f=s.split('.'),c=f[0],h=[{name:'file',filename:s,filepath:n,filetype:'image/jpg'}];yield u.default.uploadFiles({toUrl:r(d[9]).url+"/action/image_summit",files:h,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:c,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 p(n),_(),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)})}),function(){return T.apply(this,arguments)});var T;return(0,o.useEffect)(function(){return x(),c=setInterval(function(){C()},5e3),function(){return clearInterval(c)}},[]),null==v?(0,r(d[10]).jsx)(l.Text,{children:"device == null"}):(0,r(d[10]).jsxs)(l.View,{children:[(0,r(d[10]).jsx)(r(d[8]).Camera,{ref:O,device:v,isActive:!0,photo:!0}),(0,r(d[10]).jsx)(s.default,{isVisible:P,toggleModal:_,alertTitle:"\uc704\ud5d8",alertMessage:"\uc804\ubc29\uc5d0 \ub3c4\ub85c\uc704\ud5d8\uc0c1\ud669\uc774 \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=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=u?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(l,s,c):l[s]=t[s]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=r(d[0])(r(d[5])),s=r(d[0])(r(d[6]));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)}},1067,[3,265,19,122,1,1017,1020,380,1046,379,175]);
 __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]);
 __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]);
 __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]);
src/component/Map.js
--- src/component/Map.js
+++ src/component/Map.js
@@ -14,35 +14,6 @@
   longDelta,
   children,
 }) {
-  const [actionLocation, setActionLocation] = useState();
-
-  const sendPostRequest = async () => {
-    try {
-      const response = await fetch(`${url}/action/action_display`, {
-        method: 'GET',
-        headers: {
-          'Content-Type': 'application/json',
-        },
-      });
-      if (response.ok) {
-        const data = await response.json();
-        console.log('data', data);
-        setActionLocation(
-          data.report.map(item => {
-            return {
-              latitude: item[0],
-              longitude: item[1],
-            };
-          }),
-        );
-      } else {
-        console.error('Server returned an error.', error);
-      }
-    } catch (error) {
-      console.error('An error occurred:', error);
-    }
-  };
-
   return (
     <View style={styles.mapStyle}>
       <MapView
@@ -56,7 +27,7 @@
         }}
         showsUserLocation={showsUserLocation}>
         {children}
-        {actionLocation &&
+        {/* {actionLocation &&
           actionLocation.length > 0 &&
           actionLocation.map((loc, index) => (
             <Marker
@@ -65,7 +36,7 @@
               pinColor={RED}
               title="action Location"
             />
-          ))}
+          ))} */}
       </MapView>
       {/* <View style={styles.buttonstyle}>
         <View style={styles.markerButtonStyle}>
@@ -85,17 +56,17 @@
 }
 
 const styles = StyleSheet.create({
-  markerButtonStyle: {
-    width: '45%',
-    position: 'absolute',
-    bottom: 7,
-    left: 0,
-  },
+  // markerButtonStyle: {
+  //   width: '45%',
+  //   position: 'absolute',
+  //   bottom: 7,
+  //   left: 0,
+  // },
   mapStyle: {
     flex: 1,
   },
 
-  buttonstyle: {
-    marginHorizontal: 15,
-  },
+  // buttonstyle: {
+  //   marginHorizontal: 15,
+  // },
 });
src/component/Photo.js
--- src/component/Photo.js
+++ src/component/Photo.js
@@ -5,7 +5,7 @@
   useContext,
   useState,
 } from 'react';
-import {Linking, Text, Alert} from 'react-native';
+import {Linking, Text, Alert, View} from 'react-native';
 import {useCameraDevices, Camera} from 'react-native-vision-camera';
 import RNFS from 'react-native-fs';
 import {url} from '../url';
Add a comment
List