From 4116ab9d52590a90834933e72561bf2de8e4f1ed Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 19 Feb 2023 23:35:49 +0800 Subject: [PATCH] new --- android/app/src/main/assets/index.android.bundle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle index 12e6bb1..2fbd1aa 100644 --- a/android/app/src/main/assets/index.android.bundle +++ b/android/app/src/main/assets/index.android.bundle @@ -731,11 +731,11 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.c __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=function(e){console.log("default resolve function called, this should never happen: "+e)};r(d[0])(r(d[1])).default.addListener('onAddScreenShareRemoteIceCandidateCompleted',function(){e(void 0)});var n=function(n,t){return new Promise(function(o,c){e=o;try{console.log("["+n+"] - >nativeAddScreenShareRemoteIceCandidate "+t),(0,r(d[2]).addScreenShareRemoteIceCandidate)(t)}catch(e){c("Call to nativeAddScreenShareRemoteIceCandidate failed")}})};_e.default=n},725,[3,709,720]); __d(function(g,r,i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=function(e){console.log("default resolve function called, this should never happen: "+e)};r(d[0])(r(d[1])).default.addListener('onFullAudioOfferCreated',function(l){e(l)});var l=function(l,o){return new Promise(function(t,n){e=t;try{console.log("["+l+"] - >nativeCreateFullAudioOffer ("+o+")"),(0,r(d[2]).createFullAudioOffer)(o)}catch(e){n("Call to nativeCreateFullAudioOffer failed")}})};_e.default=l},726,[3,709,724]); __d(function(g,r,i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=function(e){console.log("default resolve function called, this should never happen: "+e)};r(d[0])(r(d[1])).default.addListener('onBroadcastFinished',function(){e(null)});var n=function(n){return new Promise(function(o,t){e=o;try{console.log("["+n+"] - >stopScreenShare"),(0,r(d[2]).stopScreenShareBroadcastExtension)()}catch(e){t("Call to stopScreenShare failed zzy")}})};_e.default=n},727,[3,709,720]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initTranslation=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3]));e.initTranslation=function(){n.default.init({compatibilityJSON:'v3',lng:t.default.language,resources:l.default,fallbackLng:'en'}),n.default.changeLanguage(t.default.language)}},728,[3,687,729,730]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initTranslation=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3]));e.initTranslation=function(){n.default.init({compatibilityJSON:'v3',lng:t.default.language,resources:l.default,fallbackLng:'zh_CN'}),n.default.changeLanguage(t.default.language)}},728,[3,687,729,730]); __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.languages=e.language=e.default=void 0;var n=r(d[0]),t=n.NativeModules.RNLanguages,s=t.language;e.language=s;var l=t.languages;e.languages=l;var u={language:t.language,languages:t.languages,addEventListener:function(n,t){'change'!==n?console.error("Trying to subscribe to unknown event: \""+n+"\""):this._eventHandlers&&!this._eventHandlers.has(t)&&this._eventHandlers.add(t)},removeEventListener:function(n,t){'change'!==n?console.error("Trying to remove listener for unknown event: \""+n+"\""):this._eventHandlers&&this._eventHandlers.has(t)&&this._eventHandlers.delete(t)}};if('android'===n.Platform.OS){u._eventHandlers=new Set,u._eventEmitter=new n.NativeEventEmitter(t);u._eventEmitter.addListener('languagesDidChange',function(n){u.language=n.language,u.languages=n.languages,u._eventHandlers&&u._eventHandlers.forEach(function(t){return t(n)})})}var o=u;e.default=o},729,[1]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),l=r(d[0])(r(d[2])),n={en:{translation:t.default},'pt-BR':{translation:l.default}};e.default=n},730,[3,731,732]); +__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])),l=r(d[0])(r(d[2])),n={en:{translation:t.default},zh_CN:{translation:l.default}};e.default=n},730,[3,731,732]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={"mobileApp.portals.list.empty.addFirstPortal.label":"Add your first portal using the button above,","mobileApp.portals.list.empty.orUseOurDemoServer.label":"or use our demo server.","mobileApp.portals.list.add.button.label":"Add portal","mobileApp.portals.fields.name.label":"Portal Name","mobileApp.portals.fields.name.placeholder":"BigBlueButton demo","mobileApp.portals.fields.url.label":"Server URL","mobileApp.portals.addPortalPopup.confirm.button.label":"Save","mobileApp.portals.drawerNavigation.button.label":"Portals","mobileApp.portals.addPortalPopup.validation.emptyFields":"Required Fields","mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists":"Name already in use","mobileApp.portals.addPortalPopup.validation.urlInvalid":"Error trying to load the page - check URL and network connection","mobileApp.portals.namePortal.deepLink":"Linked Portal","mobileApp.portals.handleWithoutURL":"Dont have link, you was redirected to list portals home."}},731,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={"mobileApp.portals.list.empty.addFirstPortal.label":"Adicione seu primeiro portal utilizando o bot\xe3o acima,","mobileApp.portals.list.empty.orUseOurDemoServer.label":"ou utilize nosso servidor demo.","mobileApp.portals.list.add.button.label":"Novo portal","mobileApp.portals.fields.name.label":"Nome do portal","mobileApp.portals.fields.name.placeholder":"BigBlueButton demo","mobileApp.portals.fields.url.label":"URL do servidor","mobileApp.portals.addPortalPopup.confirm.button.label":"Adicionar portal","mobileApp.portals.drawerNavigation.button.label":"Portais","mobileApp.portals.addPortalPopup.validation.emptyFields":"Campos obrigat\xf3rios","mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists":"Este nome j\xe1 est\xe1 sendo utilizado","mobileApp.portals.addPortalPopup.validation.urlInvalid":"Erro ao tentar carregar a p\xe1gina, verifique o endere\xe7o e sua conex\xe3o com a internet"}},732,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={"mobileApp.portals.list.empty.addFirstPortal.label":"\u7b2c\u4e00\u6b21\u4f7f\u7528\u65f6\u9700\u8981\u8bbe\u7f6e\u670d\u52a1\u5668,","mobileApp.portals.list.empty.orUseOurDemoServer.label":"\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u7ecf\u7eac\u822a\u901a\u7a7a\u519b\u9884\u5907\u5f79\u5e73\u53f0.","mobileApp.portals.list.add.button.label":"\u6dfb\u52a0\u95e8\u6237","mobileApp.portals.fields.name.label":"\u540d\u79f0","mobileApp.portals.fields.name.placeholder":"jingweiHT demo","mobileApp.portals.fields.url.label":"Server URL","mobileApp.portals.addPortalPopup.confirm.button.label":"\u4fdd\u5b58","mobileApp.portals.drawerNavigation.button.label":"Portals","mobileApp.portals.addPortalPopup.validation.emptyFields":"Required Fields","mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists":"Name already in use","mobileApp.portals.addPortalPopup.validation.urlInvalid":"Error trying to load the page - check URL and network connection","mobileApp.portals.namePortal.deepLink":"Linked Portal","mobileApp.portals.handleWithoutURL":"Dont have link, you was redirected to list portals home."}},732,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={Link:!0,LinkingContext:!0,NavigationContainer:!0,ServerContainer:!0,DarkTheme:!0,DefaultTheme:!0,ThemeProvider:!0,useTheme:!0,useLinkBuilder:!0,useLinkProps:!0,useLinkTo:!0,useScrollToTop:!0};Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"LinkingContext",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return p.default}});var n=r(d[0])(r(d[1])),u=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),f=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),b=r(d[0])(r(d[7])),p=r(d[0])(r(d[8]));Object.keys(r(d[9])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||n in e&&e[n]===r(d[9])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[9])[n]}}))});var y=r(d[0])(r(d[10])),O=r(d[0])(r(d[11])),P=r(d[0])(r(d[12])),j=r(d[0])(r(d[13]));Object.keys(r(d[14])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||n in e&&e[n]===r(d[14])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[14])[n]}}))})},733,[3,734,736,807,816,818,808,809,819,820,821,735,737,822,738]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(f){var c=f.to,l=f.action,s=(0,e.default)(f,u),p=(0,o.default)({to:c,action:l}),P=function(e){'onPress'in s&&(null==s.onPress||s.onPress(e)),p.onPress(e)};return t.createElement(n.Text,Object.assign({},p,s,n.Platform.select({web:{onClick:P},default:{onPress:P}})))};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=f(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 l=u?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(o,c,l):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),u=["to","action"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}},734,[3,101,127,1,735]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var s,f=u.to,c=u.action,p=e.useContext(r(d[5]).NavigationContainerRefContext),v=e.useContext(r(d[5]).NavigationHelpersContext),y=e.useContext(n.default).options,b=(0,o.default)(),P=null!=(s=null==y?void 0:y.getPathFromState)?s:r(d[5]).getPathFromState;return{href:'string'==typeof f?f:P({routes:[{name:f.screen,params:f.params,state:l(f.params)}]},null==y?void 0:y.config),accessibilityRole:'link',onPress:function(e){var n,o=!1;'web'===t.Platform.OS&&e?e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||null!=e.button&&0!==e.button||![void 0,null,'','self'].includes(null==(n=e.currentTarget)?void 0:n.target)||(e.preventDefault(),o=!0):o=!e||!e.defaultPrevented;if(o)if(c)if(v)v.dispatch(c);else{if(!p)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");p.dispatch(c)}else b(f)}}};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(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 f=l?Object.getOwnPropertyDescriptor(e,s):null;f&&(f.get||f.set)?Object.defineProperty(o,s,f):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[0])),t=r(d[1]),n=r(d[2])(r(d[3])),o=r(d[2])(r(d[4]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=function e(t){return null!=t&&t.state?t.state:null!=t&&t.screen?{routes:[{name:t.screen,params:t.params,state:t.screen?e(t.params):void 0}]}:void 0}},735,[127,1,3,736,737,738]); @@ -898,7 +898,7 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.F __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},892,[1]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find 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)}},893,[127,3,883]); __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)}},894,[127,3,830]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ListPortals=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),u=r(d[0])(r(d[6]));_e.ListPortals=function(s){var f=s.navigation,c=u.default.getVersion()+" (#"+u.default.getBuildNumber()+")";(0,r(d[7]).initTranslation)();var p=l.default.createElement(n.default,{color:r(d[8]).colors.white,solid:!0,size:18,name:'plus'}),v=(0,r(d[9]).usePortal)(),E=v.portals,P=v.setPortals;function y(){return h.apply(this,arguments)}function h(){return(h=(0,e.default)(function*(){try{if((yield t.default.getAllKeys()).includes('portal')){var e=yield t.default.getItem('portal');e=JSON.parse(e),P(e)}else console.log('Error: Dont Have Portals Storage')}catch(e){console.log('error',e)}})).apply(this,arguments)}l.default.useEffect(function(){y()},[]);var b,O,S=l.default.useRef(null),w=(b=(0,e.default)(function*(e){try{if((yield t.default.getAllKeys()).includes('portal')){var l,n=yield t.default.getItem('portal'),o=null==(l=n=JSON.parse(n))?void 0:l.filter(function(t){return e.name!==t.name&&t});yield t.default.setItem('portal',JSON.stringify(o)),P(o)}else console.log('Error: Dont have Portals in Storage')}catch(e){console.log('error',e)}}),function(e){return b.apply(this,arguments)}),D=function(e){return f.navigate(e)},I=(O=(0,e.default)(function*(){var e=yield(0,r(d[10]).createNewPortal)({name:"Demo Server",url:'https://demo-ios.bigbluebutton.org'});P(e),f.navigate("Demo Server")}),function(){return O.apply(this,arguments)}),T=function(e){var t=e.namePortal,n=e.url;return l.default.createElement(r(d[11]).WrapperItemListText,{onPress:function(){return D(t)}},l.default.createElement(r(d[11]).ItemList,{bold:!0},t),l.default.createElement(r(d[11]).ItemList,null,n))};return l.default.createElement(r(d[11]).WrapperListContainer,null,l.default.createElement(r(d[11]).ButtonOpen,{onPress:function(){var e;return null==(e=S.current)?void 0:e.open()}},l.default.createElement(r(d[11]).TextButtonOpen,null,o.default.t('mobileApp.portals.list.add.button.label')," ",p)),l.default.createElement(r(d[12]).Modalize,{ref:S,adjustToContentHeight:!0},l.default.createElement(r(d[11]).WrapperViewAdd,null,l.default.createElement(r(d[13]).StorePortals,{modalizeRef:S,navigation:f}))),E&&0!=E.length?l.default.createElement(r(d[14]).SwipeListView,{useFlatList:!0,data:E,renderItem:function(e){return l.default.createElement(T,{onPress:D,key:e.index,namePortal:e.item.name,url:e.item.url})},renderHiddenItem:function(e){return l.default.createElement(r(d[11]).DivDelete,null,l.default.createElement(r(d[11]).DivButtonDelete,null,l.default.createElement(r(d[11]).ButtonDelete,{onPress:function(){return w(e.item)}},l.default.createElement(n.default,{size:20,color:r(d[8]).colors.primary,name:'trash'}))))},leftOpenValue:0,rightOpenValue:-80,disableRightSwipe:!0,closeOnRowPress:!0,closeOnRowOpen:!0,onRowOpen:function(e,t){setTimeout(function(){void 0!=t[e]&&t[e].closeRow()},3e3)}}):l.default.createElement(l.default.Fragment,null,l.default.createElement(r(d[11]).BlockTextWithoutPortal,null,l.default.createElement(r(d[11]).TextWithoutPortal,null,o.default.t('mobileApp.portals.list.empty.addFirstPortal.label')+' ',l.default.createElement(r(d[11]).TextWithoutPortal,{onPress:function(){return I()},color:!0},o.default.t('mobileApp.portals.list.empty.orUseOurDemoServer.label'))))),l.default.createElement(r(d[11]).TextVersionInfo,null,"V",c))}},895,[3,267,681,127,664,687,896,728,903,823,824,904,905,915,921]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ListPortals=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),u=r(d[0])(r(d[6]));_e.ListPortals=function(s){var f=s.navigation,c=u.default.getVersion()+" (#"+u.default.getBuildNumber()+")";(0,r(d[7]).initTranslation)();var p=l.default.createElement(n.default,{color:r(d[8]).colors.white,solid:!0,size:18,name:'plus'}),E=(0,r(d[9]).usePortal)(),v=E.portals,P=E.setPortals;function y(){return h.apply(this,arguments)}function h(){return(h=(0,e.default)(function*(){try{if((yield t.default.getAllKeys()).includes('portal')){var e=yield t.default.getItem('portal');e=JSON.parse(e),P(e)}else console.log('Error: Dont Have Portals Storage')}catch(e){console.log('error',e)}})).apply(this,arguments)}l.default.useEffect(function(){y()},[]);var O,b,w=l.default.useRef(null),I=(O=(0,e.default)(function*(e){try{if((yield t.default.getAllKeys()).includes('portal')){var l,n=yield t.default.getItem('portal'),o=null==(l=n=JSON.parse(n))?void 0:l.filter(function(t){return e.name!==t.name&&t});yield t.default.setItem('portal',JSON.stringify(o)),P(o)}else console.log('Error: Dont have Portals in Storage')}catch(e){console.log('error',e)}}),function(e){return O.apply(this,arguments)}),S=function(e){return f.navigate(e)},T=(b=(0,e.default)(function*(){var e=yield(0,r(d[10]).createNewPortal)({name:"\u7ecf\u7eac\u822a\u901a\u5b66\u4e60\u8bad\u7ec3\u5e73\u53f0",url:'https://lms.jingweiht.com'});P(e),f.navigate("\u7ecf\u7eac\u822a\u901a\u5b66\u4e60\u8bad\u7ec3\u5e73\u53f0")}),function(){return b.apply(this,arguments)}),D=function(e){var t=e.namePortal,n=e.url;return l.default.createElement(r(d[11]).WrapperItemListText,{onPress:function(){return S(t)}},l.default.createElement(r(d[11]).ItemList,{bold:!0},t),l.default.createElement(r(d[11]).ItemList,null,n))};return l.default.createElement(r(d[11]).WrapperListContainer,null,l.default.createElement(r(d[11]).ButtonOpen,{onPress:function(){var e;return null==(e=w.current)?void 0:e.open()}},l.default.createElement(r(d[11]).TextButtonOpen,null,o.default.t('mobileApp.portals.list.add.button.label')," ",p)),l.default.createElement(r(d[12]).Modalize,{ref:w,adjustToContentHeight:!0},l.default.createElement(r(d[11]).WrapperViewAdd,null,l.default.createElement(r(d[13]).StorePortals,{modalizeRef:w,navigation:f}))),v&&0!=v.length?l.default.createElement(r(d[14]).SwipeListView,{useFlatList:!0,data:v,renderItem:function(e){return l.default.createElement(D,{onPress:S,key:e.index,namePortal:e.item.name,url:e.item.url})},renderHiddenItem:function(e){return l.default.createElement(r(d[11]).DivDelete,null,l.default.createElement(r(d[11]).DivButtonDelete,null,l.default.createElement(r(d[11]).ButtonDelete,{onPress:function(){return I(e.item)}},l.default.createElement(n.default,{size:20,color:r(d[8]).colors.primary,name:'trash'}))))},leftOpenValue:0,rightOpenValue:-80,disableRightSwipe:!0,closeOnRowPress:!0,closeOnRowOpen:!0,onRowOpen:function(e,t){setTimeout(function(){void 0!=t[e]&&t[e].closeRow()},3e3)}}):l.default.createElement(l.default.Fragment,null,l.default.createElement(r(d[11]).BlockTextWithoutPortal,null,l.default.createElement(r(d[11]).TextWithoutPortal,null,o.default.t('mobileApp.portals.list.empty.addFirstPortal.label')+' ',l.default.createElement(r(d[11]).TextWithoutPortal,{onPress:function(){return T()},color:!0},o.default.t('mobileApp.portals.list.empty.orUseOurDemoServer.label'))))),l.default.createElement(r(d[11]).TextVersionInfo,null,"V",c))}},895,[3,267,681,127,664,687,896,728,903,823,824,904,905,915,921]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeviceSync=e.getDeviceNameSync=e.getDeviceName=e.getDeviceId=e.getDevice=e.getCodenameSync=e.getCodename=e.getCarrierSync=e.getCarrier=e.getBundleId=e.getBuildNumber=e.getBuildIdSync=e.getBuildId=e.getBrightnessSync=e.getBrightness=e.getBrand=e.getBootloaderSync=e.getBootloader=e.getBatteryLevelSync=e.getBatteryLevel=e.getBaseOsSync=e.getBaseOs=e.getAvailableLocationProvidersSync=e.getAvailableLocationProviders=e.getApplicationName=e.getApiLevelSync=e.getApiLevel=e.getAndroidIdSync=e.getAndroidId=e.default=void 0,e.getDeviceToken=Zr,e.getFreeDiskStorage=e.getFontScaleSync=e.getFontScale=e.getFirstInstallTimeSync=e.getFirstInstallTime=e.getFingerprintSync=e.getFingerprint=e.getDisplaySync=e.getDisplay=e.getDeviceTypeSync=e.getDeviceType=void 0,e.getFreeDiskStorageOld=Hn,e.getFreeDiskStorageOldSync=En,e.getLastUpdateTimeSync=e.getLastUpdateTime=e.getIpAddressSync=e.getIpAddress=e.getInstanceIdSync=e.getInstanceId=e.getInstallerPackageNameSync=e.getInstallerPackageName=e.getInstallReferrerSync=e.getInstallReferrer=e.getIncrementalSync=e.getIncremental=e.getHostSync=e.getHost=e.getHardwareSync=e.getHardware=e.getFreeDiskStorageSync=void 0,e.getMacAddress=E,e.getMacAddressSync=q,e.getProductSync=e.getProduct=e.getPreviewSdkIntSync=e.getPreviewSdkInt=e.getPowerStateSync=e.getPowerState=e.getPhoneNumberSync=e.getPhoneNumber=e.getModel=e.getMaxMemorySync=e.getMaxMemory=e.getManufacturerSync=e.getManufacturer=void 0,e.getReadableVersion=ye,e.getTotalDiskCapacity=e.getTagsSync=e.getTags=e.getSystemVersion=e.getSystemName=e.getSystemAvailableFeaturesSync=e.getSystemAvailableFeatures=e.getSerialNumberSync=e.getSerialNumber=e.getSecurityPatchSync=e.getSecurityPatch=void 0,e.getTotalDiskCapacityOld=Dn,e.getTotalDiskCapacityOldSync=Ln,e.getUserAgent=e.getUsedMemorySync=e.getUsedMemory=e.getUniqueIdSync=e.getUniqueId=e.getTypeSync=e.getType=e.getTotalMemorySync=e.getTotalMemory=e.getTotalDiskCapacitySync=void 0,e.getVersion=e.getUserAgentSync=void 0,e.hasDynamicIsland=_t,e.hasHmsSync=e.hasHms=e.hasGmsSync=e.hasGms=void 0,e.hasNotch=qt,e.hasSystemFeature=vr,e.hasSystemFeatureSync=Ir,e.isKeyboardConnectedSync=e.isKeyboardConnected=e.isHeadphonesConnectedSync=e.isHeadphonesConnected=e.isEmulatorSync=e.isEmulator=e.isCameraPresentSync=e.isCameraPresent=e.isBatteryChargingSync=e.isBatteryCharging=e.isAirplaneModeSync=e.isAirplaneMode=void 0,e.isLandscape=$n,e.isLandscapeSync=tr,e.isLocationEnabledSync=e.isLocationEnabled=void 0,e.isLowBatteryLevel=br,e.supportedAbisSync=e.supportedAbis=e.supported64BitAbisSync=e.supported64BitAbis=e.supported32BitAbisSync=e.supported32BitAbis=e.isTabletMode=e.isTablet=e.isPinOrFingerprintSetSync=e.isPinOrFingerprintSet=e.isMouseConnectedSync=e.isMouseConnected=void 0,e.syncUniqueId=P,e.useBatteryLevel=to,e.useBatteryLevelIsLow=no,e.useBrightness=co,e.useDeviceName=uo,e.useFirstInstallTime=ao,e.useHasSystemFeature=io,e.useIsEmulator=so,e.useIsHeadphonesConnected=oo,e.useManufacturer=lo,e.usePowerState=ro;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[3]),u=r(d[4]),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'uniqueId',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getUniqueId()},syncGetter:function(){return c.default.getUniqueIdSync()},defaultValue:'unknown'}),y=(0,n.default)(f,2),p=y[0],S=y[1];function P(){return v.apply(this,arguments)}function v(){return(v=(0,t.default)(function*(){return'ios'===u.Platform.OS?yield c.default.syncUniqueId():yield p()})).apply(this,arguments)}e.getUniqueIdSync=S,e.getUniqueId=p;var w=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'instanceId',supportedPlatforms:['android'],getter:function(){return c.default.getInstanceId()},syncGetter:function(){return c.default.getInstanceIdSync()},defaultValue:'unknown'}),I=(0,n.default)(w,2),b=I[0],F=I[1];e.getInstanceIdSync=F,e.getInstanceId=b;var h=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'serialNumber',supportedPlatforms:['android','windows'],getter:function(){return c.default.getSerialNumber()},syncGetter:function(){return c.default.getSerialNumberSync()},defaultValue:'unknown'}),A=(0,n.default)(h,2),k=A[0],C=A[1];e.getSerialNumberSync=C,e.getSerialNumber=k;var B=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'androidId',supportedPlatforms:['android'],getter:function(){return c.default.getAndroidId()},syncGetter:function(){return c.default.getAndroidIdSync()},defaultValue:'unknown'}),M=(0,n.default)(B,2),V=M[0],D=M[1];e.getAndroidIdSync=D,e.getAndroidId=V;var T=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getIpAddress()},syncGetter:function(){return c.default.getIpAddressSync()},defaultValue:'unknown'}),L=(0,n.default)(T,2),O=L[0],G=L[1];e.getIpAddressSync=G,e.getIpAddress=O;var N=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','windows','web'],getter:function(){return c.default.isCameraPresent()},syncGetter:function(){return c.default.isCameraPresentSync()},defaultValue:!1}),K=(0,n.default)(N,2),H=K[0],U=K[1];function E(){return R.apply(this,arguments)}function R(){return(R=(0,t.default)(function*(){return'android'===u.Platform.OS?c.default.getMacAddress():'ios'===u.Platform.OS?'02:00:00:00:00:00':'unknown'})).apply(this,arguments)}function q(){return'android'===u.Platform.OS?c.default.getMacAddressSync():'ios'===u.Platform.OS?'02:00:00:00:00:00':'unknown'}e.isCameraPresentSync=U,e.isCameraPresent=H;var _=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({defaultValue:'unknown',memoKey:'deviceId',getter:function(){return c.default.deviceId},supportedPlatforms:['android','ios','windows']})};e.getDeviceId=_;var x=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'manufacturer',supportedPlatforms:['android','ios','windows'],getter:function(){return'ios'==u.Platform.OS?Promise.resolve('Apple'):c.default.getSystemManufacturer()},syncGetter:function(){return'ios'==u.Platform.OS?'Apple':c.default.getSystemManufacturerSync()},defaultValue:'unknown'}),j=(0,n.default)(x,2),W=j[0],z=j[1];e.getManufacturerSync=z,e.getManufacturer=W;var J=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'model',defaultValue:'unknown',supportedPlatforms:['ios','android','windows'],getter:function(){return c.default.model}})};e.getModel=J;var Q=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'brand',supportedPlatforms:['android','ios','windows'],defaultValue:'unknown',getter:function(){return c.default.brand}})};e.getBrand=Q;var X=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({defaultValue:'unknown',supportedPlatforms:['ios','android','windows'],memoKey:'systemName',getter:function(){return u.Platform.select({ios:c.default.systemName,android:'Android',windows:'Windows',default:'unknown'})}})};e.getSystemName=X;var Y=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({defaultValue:'unknown',getter:function(){return c.default.systemVersion},supportedPlatforms:['android','ios','windows'],memoKey:'systemVersion'})};e.getSystemVersion=Y;var Z=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'buildId',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getBuildId()},syncGetter:function(){return c.default.getBuildIdSync()},defaultValue:'unknown'}),$=(0,n.default)(Z,2),ee=$[0],te=$[1];e.getBuildIdSync=te,e.getBuildId=ee;var ne=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'apiLevel',supportedPlatforms:['android'],getter:function(){return c.default.getApiLevel()},syncGetter:function(){return c.default.getApiLevelSync()},defaultValue:-1}),re=(0,n.default)(ne,2),oe=re[0],ae=re[1];e.getApiLevelSync=ae,e.getApiLevel=oe;var ue=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'bundleId',supportedPlatforms:['android','ios','windows'],defaultValue:'unknown',getter:function(){return c.default.bundleId}})};e.getBundleId=ue;var de=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'installerPackageName',supportedPlatforms:['android','windows','ios'],getter:function(){return c.default.getInstallerPackageName()},syncGetter:function(){return c.default.getInstallerPackageNameSync()},defaultValue:'unknown'}),ie=(0,n.default)(de,2),se=ie[0],le=ie[1];e.getInstallerPackageNameSync=le,e.getInstallerPackageName=se;var ce=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'appName',defaultValue:'unknown',getter:function(){return c.default.appName},supportedPlatforms:['android','ios','windows']})};e.getApplicationName=ce;var fe=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'buildNumber',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.buildNumber},defaultValue:'unknown'})};e.getBuildNumber=fe;var ge=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'version',defaultValue:'unknown',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.appVersion}})};function ye(){return ge()+'.'+fe()}e.getVersion=ge;var pe=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getDeviceName()},syncGetter:function(){return c.default.getDeviceNameSync()},defaultValue:'unknown'}),me=(0,n.default)(pe,2),Se=me[0],Pe=me[1];e.getDeviceNameSync=Pe,e.getDeviceName=Se;var ve=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.getUsedMemory()},syncGetter:function(){return c.default.getUsedMemorySync()},defaultValue:-1}),we=(0,n.default)(ve,2),Ie=we[0],be=we[1];e.getUsedMemorySync=be,e.getUsedMemory=Ie;var Fe=function(){return(0,r(d[8]).getSupportedPlatformInfoAsync)({memoKey:'userAgent',defaultValue:'unknown',supportedPlatforms:['android','ios','web'],getter:function(){return c.default.getUserAgent()}})};e.getUserAgent=Fe;var he=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'userAgent',defaultValue:'unknown',supportedPlatforms:['android','web'],getter:function(){return c.default.getUserAgentSync()}})};e.getUserAgentSync=he;var Ae=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getFontScale()},syncGetter:function(){return c.default.getFontScaleSync()},defaultValue:-1}),ke=(0,n.default)(Ae,2),Ce=ke[0],Be=ke[1];e.getFontScaleSync=Be,e.getFontScale=Ce;var Me=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'bootloader',supportedPlatforms:['android'],getter:function(){return c.default.getBootloader()},syncGetter:function(){return c.default.getBootloaderSync()},defaultValue:'unknown'}),Ve=(0,n.default)(Me,2),De=Ve[0],Te=Ve[1];e.getBootloaderSync=Te,e.getBootloader=De;var Le=(0,r(d[8]).getSupportedPlatformInfoFunctions)({getter:function(){return c.default.getDevice()},syncGetter:function(){return c.default.getDeviceSync()},defaultValue:'unknown',memoKey:'device',supportedPlatforms:['android']}),Oe=(0,n.default)(Le,2),Ge=Oe[0],Ne=Oe[1];e.getDeviceSync=Ne,e.getDevice=Ge;var Ke=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'display',supportedPlatforms:['android'],getter:function(){return c.default.getDisplay()},syncGetter:function(){return c.default.getDisplaySync()},defaultValue:'unknown'}),He=(0,n.default)(Ke,2),Ue=He[0],Ee=He[1];e.getDisplaySync=Ee,e.getDisplay=Ue;var Re=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'fingerprint',supportedPlatforms:['android'],getter:function(){return c.default.getFingerprint()},syncGetter:function(){return c.default.getFingerprintSync()},defaultValue:'unknown'}),qe=(0,n.default)(Re,2),_e=qe[0],xe=qe[1];e.getFingerprintSync=xe,e.getFingerprint=_e;var je=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'hardware',supportedPlatforms:['android'],getter:function(){return c.default.getHardware()},syncGetter:function(){return c.default.getHardwareSync()},defaultValue:'unknown'}),We=(0,n.default)(je,2),ze=We[0],Je=We[1];e.getHardwareSync=Je,e.getHardware=ze;var Qe=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'host',supportedPlatforms:['android'],getter:function(){return c.default.getHost()},syncGetter:function(){return c.default.getHostSync()},defaultValue:'unknown'}),Xe=(0,n.default)(Qe,2),Ye=Xe[0],Ze=Xe[1];e.getHostSync=Ze,e.getHost=Ye;var $e=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'product',supportedPlatforms:['android'],getter:function(){return c.default.getProduct()},syncGetter:function(){return c.default.getProductSync()},defaultValue:'unknown'}),et=(0,n.default)($e,2),tt=et[0],nt=et[1];e.getProductSync=nt,e.getProduct=tt;var rt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'tags',supportedPlatforms:['android'],getter:function(){return c.default.getTags()},syncGetter:function(){return c.default.getTagsSync()},defaultValue:'unknown'}),ot=(0,n.default)(rt,2),at=ot[0],ut=ot[1];e.getTagsSync=ut,e.getTags=at;var dt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'type',supportedPlatforms:['android'],getter:function(){return c.default.getType()},syncGetter:function(){return c.default.getTypeSync()},defaultValue:'unknown'}),it=(0,n.default)(dt,2),st=it[0],lt=it[1];e.getTypeSync=lt,e.getType=st;var ct=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'baseOs',supportedPlatforms:['android','web','windows'],getter:function(){return c.default.getBaseOs()},syncGetter:function(){return c.default.getBaseOsSync()},defaultValue:'unknown'}),ft=(0,n.default)(ct,2),gt=ft[0],yt=ft[1];e.getBaseOsSync=yt,e.getBaseOs=gt;var pt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'previewSdkInt',supportedPlatforms:['android'],getter:function(){return c.default.getPreviewSdkInt()},syncGetter:function(){return c.default.getPreviewSdkIntSync()},defaultValue:-1}),mt=(0,n.default)(pt,2),St=mt[0],Pt=mt[1];e.getPreviewSdkIntSync=Pt,e.getPreviewSdkInt=St;var vt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'securityPatch',supportedPlatforms:['android'],getter:function(){return c.default.getSecurityPatch()},syncGetter:function(){return c.default.getSecurityPatchSync()},defaultValue:'unknown'}),wt=(0,n.default)(vt,2),It=wt[0],bt=wt[1];e.getSecurityPatchSync=bt,e.getSecurityPatch=It;var Ft=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'codeName',supportedPlatforms:['android'],getter:function(){return c.default.getCodename()},syncGetter:function(){return c.default.getCodenameSync()},defaultValue:'unknown'}),ht=(0,n.default)(Ft,2),At=ht[0],kt=ht[1];e.getCodenameSync=kt,e.getCodename=At;var Ct=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'incremental',supportedPlatforms:['android'],getter:function(){return c.default.getIncremental()},syncGetter:function(){return c.default.getIncrementalSync()},defaultValue:'unknown'}),Bt=(0,n.default)(Ct,2),Mt=Bt[0],Vt=Bt[1];e.getIncrementalSync=Vt,e.getIncremental=Mt;var Dt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'emulator',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.isEmulator()},syncGetter:function(){return c.default.isEmulatorSync()},defaultValue:!1}),Tt=(0,n.default)(Dt,2),Lt=Tt[0],Ot=Tt[1];e.isEmulatorSync=Ot,e.isEmulator=Lt;var Gt=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({defaultValue:!1,supportedPlatforms:['android','ios','windows'],memoKey:'tablet',getter:function(){return c.default.isTablet}})};e.isTablet=Gt;var Nt,Kt,Ht=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.isPinOrFingerprintSet()},syncGetter:function(){return c.default.isPinOrFingerprintSetSync()},defaultValue:!1}),Ut=(0,n.default)(Ht,2),Et=Ut[0],Rt=Ut[1];function qt(){if(void 0===Nt){var t=Q(),n=J();Nt=-1!==l.default.findIndex(function(o){return o.brand.toLowerCase()===t.toLowerCase()&&o.model.toLowerCase()===n.toLowerCase()})}return Nt}function _t(){if(void 0===Kt){var t=Q(),n=J();Kt=-1!==s.default.findIndex(function(o){return o.brand.toLowerCase()===t.toLowerCase()&&o.model.toLowerCase()===n.toLowerCase()})}return Kt}e.isPinOrFingerprintSetSync=Rt,e.isPinOrFingerprintSet=Et;var xt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android'],getter:function(){return c.default.hasGms()},syncGetter:function(){return c.default.hasGmsSync()},defaultValue:!1}),jt=(0,n.default)(xt,2),Wt=jt[0],zt=jt[1];e.hasGmsSync=zt,e.hasGms=Wt;var Jt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android'],getter:function(){return c.default.hasHms()},syncGetter:function(){return c.default.hasHmsSync()},defaultValue:!1}),Qt=(0,n.default)(Jt,2),Xt=Qt[0],Yt=Qt[1];e.hasHmsSync=Yt,e.hasHms=Xt;var Zt=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'firstInstallTime',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getFirstInstallTime()},syncGetter:function(){return c.default.getFirstInstallTimeSync()},defaultValue:-1}),$t=(0,n.default)(Zt,2),en=$t[0],tn=$t[1];e.getFirstInstallTimeSync=tn,e.getFirstInstallTime=en;var nn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'installReferrer',supportedPlatforms:['android','windows','web'],getter:function(){return c.default.getInstallReferrer()},syncGetter:function(){return c.default.getInstallReferrerSync()},defaultValue:'unknown'}),rn=(0,n.default)(nn,2),on=rn[0],an=rn[1];e.getInstallReferrerSync=an,e.getInstallReferrer=on;var un=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'lastUpdateTime',supportedPlatforms:['android'],getter:function(){return c.default.getLastUpdateTime()},syncGetter:function(){return c.default.getLastUpdateTimeSync()},defaultValue:-1}),dn=(0,n.default)(un,2),sn=dn[0],ln=dn[1];e.getLastUpdateTimeSync=ln,e.getLastUpdateTime=sn;var cn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android'],getter:function(){return c.default.getPhoneNumber()},syncGetter:function(){return c.default.getPhoneNumberSync()},defaultValue:'unknown'}),fn=(0,n.default)(cn,2),gn=fn[0],yn=fn[1];e.getPhoneNumberSync=yn,e.getPhoneNumber=gn;var pn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios'],getter:function(){return c.default.getCarrier()},syncGetter:function(){return c.default.getCarrierSync()},defaultValue:'unknown'}),mn=(0,n.default)(pn,2),Sn=mn[0],Pn=mn[1];e.getCarrierSync=Pn,e.getCarrier=Sn;var vn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'totalMemory',supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.getTotalMemory()},syncGetter:function(){return c.default.getTotalMemorySync()},defaultValue:-1}),wn=(0,n.default)(vn,2),In=wn[0],bn=wn[1];e.getTotalMemorySync=bn,e.getTotalMemory=In;var Fn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'maxMemory',supportedPlatforms:['android','windows','web'],getter:function(){return c.default.getMaxMemory()},syncGetter:function(){return c.default.getMaxMemorySync()},defaultValue:-1}),hn=(0,n.default)(Fn,2),An=hn[0],kn=hn[1];e.getMaxMemorySync=kn,e.getMaxMemory=An;var Cn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.getTotalDiskCapacity()},syncGetter:function(){return c.default.getTotalDiskCapacitySync()},defaultValue:-1}),Bn=(0,n.default)(Cn,2),Mn=Bn[0],Vn=Bn[1];function Dn(){return Tn.apply(this,arguments)}function Tn(){return(Tn=(0,t.default)(function*(){return'android'===u.Platform.OS?c.default.getTotalDiskCapacityOld():'ios'===u.Platform.OS||'windows'===u.Platform.OS||'web'===u.Platform.OS?Mn():-1})).apply(this,arguments)}function Ln(){return'android'===u.Platform.OS?c.default.getTotalDiskCapacityOldSync():'ios'===u.Platform.OS||'windows'===u.Platform.OS||'web'===u.Platform.OS?Vn():-1}e.getTotalDiskCapacitySync=Vn,e.getTotalDiskCapacity=Mn;var On=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.getFreeDiskStorage()},syncGetter:function(){return c.default.getFreeDiskStorageSync()},defaultValue:-1}),Gn=(0,n.default)(On,2),Nn=Gn[0],Kn=Gn[1];function Hn(){return Un.apply(this,arguments)}function Un(){return(Un=(0,t.default)(function*(){return'android'===u.Platform.OS?c.default.getFreeDiskStorageOld():'ios'===u.Platform.OS||'windows'===u.Platform.OS||'web'===u.Platform.OS?Nn():-1})).apply(this,arguments)}function En(){return'android'===u.Platform.OS?c.default.getFreeDiskStorageOldSync():'ios'===u.Platform.OS||'windows'===u.Platform.OS||'web'===u.Platform.OS?Kn():-1}e.getFreeDiskStorageSync=Kn,e.getFreeDiskStorage=Nn;var Rn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.getBatteryLevel()},syncGetter:function(){return c.default.getBatteryLevelSync()},defaultValue:-1}),qn=(0,n.default)(Rn,2),_n=qn[0],xn=qn[1];e.getBatteryLevelSync=xn,e.getBatteryLevel=_n;var jn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['ios','android','windows','web'],getter:function(){return c.default.getPowerState()},syncGetter:function(){return c.default.getPowerStateSync()},defaultValue:{}}),Wn=(0,n.default)(jn,2),zn=Wn[0],Jn=Wn[1];e.getPowerStateSync=Jn,e.getPowerState=zn;var Qn=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','windows','web'],getter:function(){return c.default.isBatteryCharging()},syncGetter:function(){return c.default.isBatteryChargingSync()},defaultValue:!1}),Xn=(0,n.default)(Qn,2),Yn=Xn[0],Zn=Xn[1];function $n(){return er.apply(this,arguments)}function er(){return(er=(0,t.default)(function*(){return Promise.resolve(tr())})).apply(this,arguments)}function tr(){var t=u.Dimensions.get('window'),n=t.height;return t.width>=n}e.isBatteryChargingSync=Zn,e.isBatteryCharging=Yn;var nr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','web'],getter:function(){return c.default.isAirplaneMode()},syncGetter:function(){return c.default.isAirplaneModeSync()},defaultValue:!1}),rr=(0,n.default)(nr,2),or=rr[0],ar=rr[1];e.isAirplaneModeSync=ar,e.isAirplaneMode=or;var ur=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'deviceType',supportedPlatforms:['android','ios','windows'],defaultValue:'unknown',getter:function(){return c.default.deviceType}})};e.getDeviceType=ur;e.getDeviceTypeSync=function(){return(0,r(d[8]).getSupportedPlatformInfoSync)({memoKey:'deviceType',supportedPlatforms:['android','ios','windows'],defaultValue:'unknown',getter:function(){return c.default.deviceType}})};var dr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'_supportedAbis',supportedPlatforms:['android','ios','windows'],getter:function(){return c.default.getSupportedAbis()},syncGetter:function(){return c.default.getSupportedAbisSync()},defaultValue:[]}),ir=(0,n.default)(dr,2),sr=ir[0],lr=ir[1];e.supportedAbisSync=lr,e.supportedAbis=sr;var cr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'_supported32BitAbis',supportedPlatforms:['android'],getter:function(){return c.default.getSupported32BitAbis()},syncGetter:function(){return c.default.getSupported32BitAbisSync()},defaultValue:[]}),fr=(0,n.default)(cr,2),gr=fr[0],yr=fr[1];e.supported32BitAbisSync=yr,e.supported32BitAbis=gr;var pr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({memoKey:'_supported64BitAbis',supportedPlatforms:['android'],getter:function(){return c.default.getSupported64BitAbis()},syncGetter:function(){return c.default.getSupported64BitAbisSync()},defaultValue:[]}),mr=(0,n.default)(pr,2),Sr=mr[0],Pr=mr[1];function vr(t){return wr.apply(this,arguments)}function wr(){return(wr=(0,t.default)(function*(t){return'android'===u.Platform.OS&&c.default.hasSystemFeature(t)})).apply(this,arguments)}function Ir(t){return'android'===u.Platform.OS&&c.default.hasSystemFeatureSync(t)}function br(t){return'android'===u.Platform.OS?t<.15:t<.2}e.supported64BitAbisSync=Pr,e.supported64BitAbis=Sr;var Fr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android'],getter:function(){return c.default.getSystemAvailableFeatures()},syncGetter:function(){return c.default.getSystemAvailableFeaturesSync()},defaultValue:[]}),hr=(0,n.default)(Fr,2),Ar=hr[0],kr=hr[1];e.getSystemAvailableFeaturesSync=kr,e.getSystemAvailableFeatures=Ar;var Cr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios','web'],getter:function(){return c.default.isLocationEnabled()},syncGetter:function(){return c.default.isLocationEnabledSync()},defaultValue:!1}),Br=(0,n.default)(Cr,2),Mr=Br[0],Vr=Br[1];e.isLocationEnabledSync=Vr,e.isLocationEnabled=Mr;var Dr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios'],getter:function(){return c.default.isHeadphonesConnected()},syncGetter:function(){return c.default.isHeadphonesConnectedSync()},defaultValue:!1}),Tr=(0,n.default)(Dr,2),Lr=Tr[0],Or=Tr[1];e.isHeadphonesConnectedSync=Or,e.isHeadphonesConnected=Lr;var Gr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['windows'],getter:function(){return c.default.isMouseConnected()},syncGetter:function(){return c.default.isMouseConnectedSync()},defaultValue:!1}),Nr=(0,n.default)(Gr,2),Kr=Nr[0],Hr=Nr[1];e.isMouseConnectedSync=Hr,e.isMouseConnected=Kr;var Ur=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['windows'],getter:function(){return c.default.isKeyboardConnected()},syncGetter:function(){return c.default.isKeyboardConnectedSync()},defaultValue:!1}),Er=(0,n.default)(Ur,2),Rr=Er[0],qr=Er[1];e.isKeyboardConnectedSync=qr,e.isKeyboardConnected=Rr;var _r=function(){return(0,r(d[8]).getSupportedPlatformInfoAsync)({supportedPlatforms:['windows'],getter:function(){return c.default.isTabletMode()},defaultValue:!1})};e.isTabletMode=_r;var xr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['android','ios'],getter:function(){return c.default.getAvailableLocationProviders()},syncGetter:function(){return c.default.getAvailableLocationProvidersSync()},defaultValue:{}}),jr=(0,n.default)(xr,2),Wr=jr[0],zr=jr[1];e.getAvailableLocationProvidersSync=zr,e.getAvailableLocationProviders=Wr;var Jr=(0,r(d[8]).getSupportedPlatformInfoFunctions)({supportedPlatforms:['ios'],getter:function(){return c.default.getBrightness()},syncGetter:function(){return c.default.getBrightnessSync()},defaultValue:-1}),Qr=(0,n.default)(Jr,2),Xr=Qr[0],Yr=Qr[1];function Zr(){return $r.apply(this,arguments)}function $r(){return($r=(0,t.default)(function*(){return'ios'===u.Platform.OS?c.default.getDeviceToken():'unknown'})).apply(this,arguments)}e.getBrightnessSync=Yr,e.getBrightness=Xr;var eo=new u.NativeEventEmitter(u.NativeModules.RNDeviceInfo);function to(){var u=(0,o.useState)(null),s=(0,n.default)(u,2),l=s[0],c=s[1];return(0,o.useEffect)(function(){var n;(n=(0,t.default)(function*(){var t=yield _n();c(t)}),function(){return n.apply(this,arguments)})();var o=eo.addListener('RNDeviceInfo_batteryLevelDidChange',function(t){c(t)});return function(){return o.remove()}},[]),l}function no(){var u=(0,o.useState)(null),s=(0,n.default)(u,2),l=s[0],c=s[1];return(0,o.useEffect)(function(){var n;(n=(0,t.default)(function*(){var t=yield _n();br(t)&&c(t)}),function(){return n.apply(this,arguments)})();var o=eo.addListener('RNDeviceInfo_batteryLevelIsLow',function(t){c(t)});return function(){return o.remove()}},[]),l}function ro(){var u=(0,o.useState)({}),s=(0,n.default)(u,2),l=s[0],c=s[1];return(0,o.useEffect)(function(){var n;(n=(0,t.default)(function*(){var t=yield zn();c(t)}),function(){return n.apply(this,arguments)})();var o=eo.addListener('RNDeviceInfo_powerStateDidChange',function(t){c(t)});return function(){return o.remove()}},[]),l}function oo(){return(0,r(d[9]).useOnEvent)('RNDeviceInfo_headphoneConnectionDidChange',Lr,!1)}function ao(){return(0,r(d[9]).useOnMount)(en,-1)}function uo(){return(0,r(d[9]).useOnMount)(Se,'unknown')}function io(t){var n=(0,o.useCallback)(function(){return vr(t)},[t]);return(0,r(d[9]).useOnMount)(n,!1)}function so(){return(0,r(d[9]).useOnMount)(Lt,!1)}function lo(){return(0,r(d[9]).useOnMount)(W,'unknown')}function co(){var u=(0,o.useState)(null),s=(0,n.default)(u,2),l=s[0],c=s[1];return(0,o.useEffect)(function(){var n;(n=(0,t.default)(function*(){var t=yield Xr();c(t)}),function(){return n.apply(this,arguments)})();var o=eo.addListener('RNDeviceInfo_brightnessDidChange',function(t){c(t)});return function(){return o.remove()}},[]),l}var fo={getAndroidId:V,getAndroidIdSync:D,getApiLevel:oe,getApiLevelSync:ae,getApplicationName:ce,getAvailableLocationProviders:Wr,getAvailableLocationProvidersSync:zr,getBaseOs:gt,getBaseOsSync:yt,getBatteryLevel:_n,getBatteryLevelSync:xn,getBootloader:De,getBootloaderSync:Te,getBrand:Q,getBuildId:ee,getBuildIdSync:te,getBuildNumber:fe,getBundleId:ue,getCarrier:Sn,getCarrierSync:Pn,getCodename:At,getCodenameSync:kt,getDevice:Ge,getDeviceId:_,getDeviceName:Se,getDeviceNameSync:Pe,getDeviceSync:Ne,getDeviceToken:Zr,getDeviceType:ur,getDisplay:Ue,getDisplaySync:Ee,getFingerprint:_e,getFingerprintSync:xe,getFirstInstallTime:en,getFirstInstallTimeSync:tn,getFontScale:Ce,getFontScaleSync:Be,getFreeDiskStorage:Nn,getFreeDiskStorageOld:Hn,getFreeDiskStorageSync:Kn,getFreeDiskStorageOldSync:En,getHardware:ze,getHardwareSync:Je,getHost:Ye,getHostSync:Ze,getIncremental:Mt,getIncrementalSync:Vt,getInstallerPackageName:se,getInstallerPackageNameSync:le,getInstallReferrer:on,getInstallReferrerSync:an,getInstanceId:b,getInstanceIdSync:F,getIpAddress:O,getIpAddressSync:G,getLastUpdateTime:sn,getLastUpdateTimeSync:ln,getMacAddress:E,getMacAddressSync:q,getManufacturer:W,getManufacturerSync:z,getMaxMemory:An,getMaxMemorySync:kn,getModel:J,getPhoneNumber:gn,getPhoneNumberSync:yn,getPowerState:zn,getPowerStateSync:Jn,getPreviewSdkInt:St,getPreviewSdkIntSync:Pt,getProduct:tt,getProductSync:nt,getReadableVersion:ye,getSecurityPatch:It,getSecurityPatchSync:bt,getSerialNumber:k,getSerialNumberSync:C,getSystemAvailableFeatures:Ar,getSystemAvailableFeaturesSync:kr,getSystemName:X,getSystemVersion:Y,getTags:at,getTagsSync:ut,getTotalDiskCapacity:Mn,getTotalDiskCapacityOld:Dn,getTotalDiskCapacitySync:Vn,getTotalDiskCapacityOldSync:Ln,getTotalMemory:In,getTotalMemorySync:bn,getType:st,getTypeSync:lt,getUniqueId:p,getUniqueIdSync:S,getUsedMemory:Ie,getUsedMemorySync:be,getUserAgent:Fe,getUserAgentSync:he,getVersion:ge,getBrightness:Xr,getBrightnessSync:Yr,hasGms:Wt,hasGmsSync:zt,hasHms:Xt,hasHmsSync:Yt,hasNotch:qt,hasDynamicIsland:_t,hasSystemFeature:vr,hasSystemFeatureSync:Ir,isAirplaneMode:or,isAirplaneModeSync:ar,isBatteryCharging:Yn,isBatteryChargingSync:Zn,isCameraPresent:H,isCameraPresentSync:U,isEmulator:Lt,isEmulatorSync:Ot,isHeadphonesConnected:Lr,isHeadphonesConnectedSync:Or,isLandscape:$n,isLandscapeSync:tr,isLocationEnabled:Mr,isLocationEnabledSync:Vr,isPinOrFingerprintSet:Et,isPinOrFingerprintSetSync:Rt,isMouseConnected:Kr,isMouseConnectedSync:Hr,isKeyboardConnected:Rr,isKeyboardConnectedSync:qr,isTabletMode:_r,isTablet:Gt,supported32BitAbis:gr,supported32BitAbisSync:yr,supported64BitAbis:Sr,supported64BitAbisSync:Pr,supportedAbis:sr,supportedAbisSync:lr,syncUniqueId:P,useBatteryLevel:to,useBatteryLevelIsLow:no,useDeviceName:uo,useFirstInstallTime:ao,useHasSystemFeature:io,useIsEmulator:so,usePowerState:ro,useManufacturer:lo,useIsHeadphonesConnected:oo,useBrightness:co};e.default=fo},896,[3,267,23,127,1,897,898,899,901,902]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=[{brand:'Apple',model:'iPhone 14 Pro'},{brand:'Apple',model:'iPhone 14 Pro Max'}];e.default=o},897,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=[{brand:'Apple',model:'iPhone 14'},{brand:'Apple',model:'iPhone 14 Plus'},{brand:'Apple',model:'iPhone 14 Pro'},{brand:'Apple',model:'iPhone 14 Pro Max'},{brand:'Apple',model:'iPhone 13 mini'},{brand:'Apple',model:'iPhone 13'},{brand:'Apple',model:'iPhone 13 Pro'},{brand:'Apple',model:'iPhone 13 Pro Max'},{brand:'Apple',model:'iPhone 12 mini'},{brand:'Apple',model:'iPhone 12'},{brand:'Apple',model:'iPhone 12 Pro'},{brand:'Apple',model:'iPhone 12 Pro Max'},{brand:'Apple',model:'iPhone 11'},{brand:'Apple',model:'iPhone 11 Pro'},{brand:'Apple',model:'iPhone 11 Pro Max'},{brand:'Apple',model:'iPhone X'},{brand:'Apple',model:'iPhone XS'},{brand:'Apple',model:'iPhone XS Max'},{brand:'Apple',model:'iPhone XR'},{brand:'Asus',model:'ZenFone 5'},{brand:'Asus',model:'ZenFone 5z'},{brand:'google',model:'Pixel 3 XL'},{brand:'google',model:'Pixel 4a'},{brand:'Huawei',model:'P20'},{brand:'Huawei',model:'P20 Plus'},{brand:'Huawei',model:'P20 Lite'},{brand:'Huawei',model:'ANE-LX1'},{brand:'Huawei',model:'INE-LX1'},{brand:'Huawei',model:'POT-LX1'},{brand:'Huawei',model:'Honor Play'},{brand:'Huawei',model:'Honor 10'},{brand:'Huawei',model:'Mate 20 Lite'},{brand:'Huawei',model:'Mate 20 Pro'},{brand:'Huawei',model:'ELE-L29'},{brand:'Huawei',model:'P30 Lite'},{brand:'Huawei',model:'P30 Pro'},{brand:'Huawei',model:'JNY-LX1'},{brand:'Huawei',model:'Nova 3'},{brand:'Huawei',model:'Nova 3i'},{brand:'Leagoo',model:'S9'},{brand:'LG',model:'G7'},{brand:'LG',model:'G7 ThinQ'},{brand:'LG',model:'G7+ ThinQ'},{brand:'LG',model:'LM-Q910'},{brand:'LG',model:'LM-G710'},{brand:'LG',model:'LM-V405'},{brand:'Motorola',model:'Moto g7 Play'},{brand:'Motorola',model:'Moto g7 Power'},{brand:'Motorola',model:'One'},{brand:'Motorola',model:'Motorola One Vision'},{brand:'Nokia',model:'5.1 Plus'},{brand:'Nokia',model:'Nokia 6.1 Plus'},{brand:'Nokia',model:'7.1'},{brand:'Nokia',model:'8.1'},{brand:'OnePlus',model:'6'},{brand:'OnePlus',model:'A6003'},{brand:'ONEPLUS',model:'A6000'},{brand:'OnePlus',model:'OnePlus A6003'},{brand:'OnePlus',model:'ONEPLUS A6010'},{brand:'OnePlus',model:'ONEPLUS A6013'},{brand:'OnePlus',model:'ONEPLUS A6000'},{brand:'Oppo',model:'R15'},{brand:'Oppo',model:'R15 Pro'},{brand:'Oppo',model:'F7'},{brand:'Oukitel',model:'U18'},{brand:'Redmi',model:'M2004J19C'},{brand:'Sharp',model:'Aquos S3'},{brand:'Vivo',model:'V9'},{brand:'Vivo',model:'X21'},{brand:'Vivo',model:'X21 UD'},{brand:'xiaomi',model:'MI 8'},{brand:'xiaomi',model:'MI 8 Explorer Edition'},{brand:'xiaomi',model:'MI 8 SE'},{brand:'xiaomi',model:'MI 8 UD'},{brand:'xiaomi',model:'MI 8 Lite'},{brand:'xiaomi',model:'Mi 9'},{brand:'xiaomi',model:'POCO F1'},{brand:'xiaomi',model:'POCOPHONE F1'},{brand:'xiaomi',model:'Redmi 6 Pro'},{brand:'xiaomi',model:'Redmi Note 7'},{brand:'xiaomi',model:'Redmi 7'},{brand:'xiaomi',model:'Redmi Note 8'},{brand:'xiaomi',model:'Redmi Note 8 Pro'},{brand:'xiaomi',model:'Mi A2 Lite'},{brand:'Blackview',model:'A30'},{brand:'Samsung',model:'SM-A217F'},{brand:'Samsung',model:'SM-A715F'}];e.default=o},898,[]);