@communi/chat-react-native 4.0.3 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +3 -3
- package/src/PSChat.js +1 -1
- package/src/files/PSFileOpenProvider.js +1 -1
- package/src/files/saveCachedFileToDownloads.js +1 -1
- package/src/handlers/DatePicker.js +1 -1
- package/src/handlers/Keyboard.js +1 -1
- package/src/handlers/MQTT.js +1 -1
- package/src/handlers/Video.js +1 -1
- package/src/handlers/deleteFile.js +1 -1
- package/src/handlers/getAlbums.js +1 -1
- package/src/handlers/getLocalAssetUri.js +1 -1
- package/src/handlers/getPhotos.js +1 -1
- package/src/handlers/iOS14RefreshGallerySelection.js +1 -1
- package/src/handlers/index.js +1 -1
- package/src/handlers/isExistFile.js +1 -1
- package/src/handlers/oniOS14GalleryLibrarySelectionChange.js +1 -1
- package/src/handlers/pickDocument.js +1 -1
- package/src/handlers/pickPhoto.js +1 -1
- package/src/handlers/saveFile.js +1 -1
- package/src/handlers/setClipboardString.js +1 -1
- package/src/handlers/shareImage.js +1 -1
- package/src/handlers/takePhoto.js +1 -1
- package/src/handlers/triggerHaptic.js +1 -1
- package/src/index.js +1 -1
- package/src/optionalDependencies/DatePicker.js +1 -1
- package/src/optionalDependencies/Video.js +1 -1
- package/src/optionalDependencies/index.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function I(){var l=['4yjaIsN','21cbeWSz','87392UbhOdY','9fBlGNi','9145170HykBwa','1756950oeehyb','164678LgufkV','1098545HsgGKq','298170kKoWQe','3662937naCMIR'];I=function(){return l;};return I();}(function(C,N){var i=e,m=C();while(!![]){try{var j=-parseInt(i(0x1bc))/0x1*(-parseInt(i(0x1bf))/0x2)+parseInt(i(0x1c2))/0x3*(-parseInt(i(0x1c3))/0x4)+-parseInt(i(0x1c0))/0x5+parseInt(i(0x1bd))/0x6+-parseInt(i(0x1ba))/0x7*(-parseInt(i(0x1bb))/0x8)+-parseInt(i(0x1c1))/0x9+parseInt(i(0x1be))/0xa;if(j===N)break;else m['push'](m['shift']());}catch(V){m['push'](m['shift']());}}}(I,0xf41d7));function e(C,N){var m=I();return e=function(j,V){j=j-0x1ba;var i=m[j];return i;},e(C,N);}export*from'./src';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@communi/chat-react-native",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "PiScale Chat React Native",
|
|
5
5
|
"homepage": "https://github.com/piscale",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"lodash": "4.17.21",
|
|
12
12
|
"@communi/chat-api-client-typescript": "2.9.23",
|
|
13
|
-
"@communi/chat-ui-react-native": "^4.0.
|
|
14
|
-
"@communi/keyboard-area-react-native": "^3.0.
|
|
13
|
+
"@communi/chat-ui-react-native": "^4.0.4",
|
|
14
|
+
"@communi/keyboard-area-react-native": "^3.0.1",
|
|
15
15
|
"@communi/mqtt-client-interface-typescript": "^3.0.0",
|
|
16
16
|
"@communi/mqtt-client-react-native": "^3.0.0"
|
|
17
17
|
},
|
package/src/PSChat.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(V,l){const v=C,h=V();while(!![]){try{const A=-parseInt(v(0x173))/0x1+-parseInt(v(0x175))/0x2+parseInt(v(0x168))/0x3+parseInt(v(0x16b))/0x4+parseInt(v(0x171))/0x5*(parseInt(v(0x170))/0x6)+parseInt(v(0x172))/0x7*(parseInt(v(0x16c))/0x8)+-parseInt(v(0x16d))/0x9;if(A===l)break;else h['push'](h['shift']());}catch(x){h['push'](h['shift']());}}}(I,0x40a27));function C(e,N){const m=I();return C=function(j,V){j=j-0x168;let i=m[j];return i;},C(e,N);}import N from'react';import{PSChat as m}from'@communi/chat-ui-react-native';function I(){const s=['eElem','color','creat','409014gArWXO','ation','allow','1573388daqEhf','1341160nXkKTx','2708064jZUzWy','stall','ent','18mCAdBg','494135UjPXSo','7zhbxYB','348970NXfLpx','enabl','158404lfBjcx','ApkIn'];I=function(){return s;};return I();}import{PSFileOpenProvider as j}from'./files/PSFileOpenProvider';export function PSChat({props:V,children:h}){const n=C,{fileActions:A,...x}=V;return N[n(0x179)+n(0x177)+n(0x16f)](m,{'props':x},A?.[n(0x174)+'ed']===!0x1?h:N[n(0x179)+n(0x177)+n(0x16f)](j,{'allowApkInstallation':A?.[n(0x16a)+n(0x176)+n(0x16e)+n(0x169)]??!0x1,'colors':A?.[n(0x178)+'s']},h));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const Ii=m;(function(c,r){const IV=m,t=c();while(!![]){try{const U=-parseInt(IV(0x1db))/0x1*(-parseInt(IV(0x216))/0x2)+-parseInt(IV(0x1cc))/0x3*(parseInt(IV(0x1d0))/0x4)+-parseInt(IV(0x1df))/0x5+-parseInt(IV(0x1c5))/0x6*(-parseInt(IV(0x20e))/0x7)+parseInt(IV(0x1d4))/0x8*(parseInt(IV(0x1ff))/0x9)+parseInt(IV(0x206))/0xa*(parseInt(IV(0x1eb))/0xb)+-parseInt(IV(0x211))/0xc*(parseInt(IV(0x1e4))/0xd);if(U===r)break;else t['push'](t['shift']());}catch(K){t['push'](t['shift']());}}}(I,0x82efd));import j from'react';import{Alert as i,NativeModules as l,Platform as h,StyleSheet as v,Text as n}from'react-native';import s from'react-native-file-viewer';import o from'react-native-fs';import{PSFileActionsProvider as F,usePSDesignSystemContext as w,usePSTranslationContext as d,scale as k,PSFlashMessage as Z,PSBottomActionSheet as T,PSBottomActionSheetSection as D,PSBottomActionSheetItem as p}from'@communi/chat-ui-react-native';import{saveCachedFileToDownloads as P,isMessageFileSavedToDownloads as f}from'./saveCachedFileToDownloads';const O=j[Ii(0x1d8)+Ii(0x20f)+Ii(0x1e6)](void 0x0),g=()=>{const Il=Ii,c=j[Il(0x1da)+Il(0x1dd)](O);if(!c)throw new Error(Il(0x1c0)+Il(0x1f2)+Il(0x210)+Il(0x1fd)+Il(0x1fe)+Il(0x1cb));return c;};function I(){const Io=['279254ANyoQy','useSt','dFile','recto','eSave','ve_ca','useRe','allPe','FileO','bodyM','edium','le_sa','cente','6mgmwwo','ryPat','show','error','tion','cance','red','13683cLrqYk','brand','ve_ac','rmiss','508JEVDHF','subTe','alert','der','552QUiYJg','useCa','heade','title','creat','backg','useCo','5dVrYbo','saveF','ntext','ent','3557885wymUvV','ccess','ing','ve_su','ilure','9368281eGkNsf','colum','ext','open','ps_fi','ate','useMe','11FCVgBz','Prima','test','curre','Provi','ion','XLarg','penPr','ve_fa','oadDi','ompt','Downl','actio','oads','llbac','catch','isFil','geM','r\x20is\x20','requi','138771tTlBaw','700','bind','succe','ensur','Cache','ncel','4023130rUSOHj','round','bodyX','headi','eElem','ve_pr','andro','ngLar','2683933SFZbcX','eCont','ovide','12tpxers','openF','save','ile','eInst'];I=function(){return Io;};return I();}function m(e,C){const N=I();return m=function(j,V){j=j-0x1bb;let i=N[j];return i;},m(e,C);}export const useOpenMessageFile=()=>g()[Ii(0x212)+Ii(0x214)],useSaveMessageFile=()=>g()[Ii(0x1dc)+Ii(0x214)],useIsMessageFileSaved=()=>g()[Ii(0x1fb)+Ii(0x1bc)+'d'];export function PSFileOpenProvider({children:t,allowApkInstallation:U=!0x1,colors:K}){const Ih=Ii,{translator:Q}=d(),{colors:G,typography:J}=w(),[Y,I0]=j[Ih(0x217)+Ih(0x1e9)](),I1=j[Ih(0x1be)+'f'](void 0x0),[I2,I3]=j[Ih(0x217)+Ih(0x1e9)](0x0),I4=j[Ih(0x1be)+'f'](!0x1),I5=j[Ih(0x1be)+'f'](!0x1),I6=j[Ih(0x1d5)+Ih(0x1f9)+'k'](async(IN,Im)=>{const IA=Ih;if(await f(Im??IN)[IA(0x1fa)](()=>!0x1)){I3(Ij=>Ij+0x1),I4[IA(0x1ee)+'nt']=!0x1;return;}I1[IA(0x1ee)+'nt']=Im,I0(IN);},[]),I7=j[Ih(0x1d5)+Ih(0x1f9)+'k'](async(IN,Im)=>{const Ix=Ih;if(!I4[Ix(0x1ee)+'nt']){I4[Ix(0x1ee)+'nt']=!0x0,I1[Ix(0x1ee)+'nt']=Im;try{if(h['OS']===Ix(0x20c)+'id'&&/\.apk$/i[Ix(0x1ed)](IN)){if(!U){await I6(IN,Im);return;}if(!await l[Ix(0x204)+Ix(0x218)+Ix(0x1f6)+Ix(0x1f8)][Ix(0x203)+Ix(0x215)+Ix(0x1bf)+Ix(0x1cf)+Ix(0x1f0)]()){await I6(IN,Im);return;}}await s[Ix(0x1e7)](IN),I4[Ix(0x1ee)+'nt']=!0x1;}catch(Ij){h['OS']===Ix(0x20c)+'id'?await I6(IN,Im):(I4[Ix(0x1ee)+'nt']=!0x1,i[Ix(0x1d2)](String(Ij)));}}},[I6,U]),I8=()=>{const Iv=Ih;I0(void 0x0),I4[Iv(0x1ee)+'nt']=!0x1;},I9=j[Ih(0x1d5)+Ih(0x1f9)+'k'](async(IN,Im)=>{const In=Ih;if(!I5[In(0x1ee)+'nt']){I5[In(0x1ee)+'nt']=!0x0;try{await P(IN,Im),I3(Ij=>Ij+0x1),Z[In(0x1c7)]({'type':In(0x202)+'ss','text1':Q(In(0x1e8)+In(0x1c3)+In(0x1e2)+In(0x1e0)),'text2':o[In(0x1f6)+In(0x1f4)+In(0x1bb)+In(0x1c6)+'h'],'visibilityTime':0xfa0});}catch{Z[In(0x1c7)]({'type':In(0x1c8),'text1':Q(In(0x1e8)+In(0x1c3)+In(0x1f3)+In(0x1e3)),'visibilityTime':0xbb8});}finally{I5[In(0x1ee)+'nt']=!0x1;}}},[Q]),II=async()=>{const Is=Ih;if(!Y||I5[Is(0x1ee)+'nt'])return;const IN=Y;I0(void 0x0);try{await I9(IN,I1[Is(0x1ee)+'nt']);}finally{I4[Is(0x1ee)+'nt']=!0x1;}},Ie=j[Ih(0x1ea)+'mo'](()=>f[Ih(0x201)](null),[I2]),IC=j[Ih(0x1ea)+'mo'](()=>({'openFile':I7,'saveFile':I9,'isFileSaved':Ie}),[I7,I9,Ie]);return j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](O[Ih(0x1ef)+Ih(0x1d3)],{'value':IC},j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](F,{'value':{'colors':K,'onViewFilePress':I7,'onSaveFilePress':h['OS']===Ih(0x20c)+'id'?I9:void 0x0,'isFileSaved':h['OS']===Ih(0x20c)+'id'?Ie:void 0x0}},t),h['OS']===Ih(0x20c)+'id'&&j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](T,{'isVisible':!!Y,'onClose':I8},j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](D,{'backgroundColor':G[Ih(0x1ec)+'ry'][Ih(0x1d9)+Ih(0x207)]},j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](n,{'accessibilityRole':Ih(0x1d6)+'r','style':[x[Ih(0x1d7)],J[Ih(0x1c1)+Ih(0x1c2)+'S'],{'color':G[Ih(0x1ec)+'ry'][Ih(0x1d1)+'xt']}]},Q(Ih(0x1e8)+Ih(0x1c3)+Ih(0x20b)+Ih(0x1f5))),j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](p,{'title':Q(Ih(0x1e8)+Ih(0x1c3)+Ih(0x1ce)+Ih(0x1c9)),'onPress':II,'style':x[Ih(0x1f7)+'n'],'textStyle':{...J[Ih(0x209)+Ih(0x20d)+Ih(0x1fc)],'color':K?.[Ih(0x213)]??G[Ih(0x1ec)+'ry'][Ih(0x1cd)+Ih(0x1e1)],'fontWeight':Ih(0x200),'marginVertical':k(0x10)}})),j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](D,{'backgroundColor':G[Ih(0x1ec)+'ry'][Ih(0x1d9)+Ih(0x207)]},j[Ih(0x1d8)+Ih(0x20a)+Ih(0x1de)](p,{'title':Q(Ih(0x1e8)+Ih(0x1c3)+Ih(0x1bd)+Ih(0x205)),'onPress':I8,'style':x[Ih(0x1f7)+'n'],'textStyle':{...J[Ih(0x208)+Ih(0x1f1)+'eR'],'color':K?.[Ih(0x1ca)+'l']??G[Ih(0x1ec)+'ry'][Ih(0x1d1)+'xt']}}))));}const x=v[Ii(0x1d8)+'e']({'title':{'textAlign':Ii(0x1c4)+'r','marginHorizontal':k(0x10),'marginTop':k(0x10),'marginBottom':k(0x8)},'action':{'flexDirection':Ii(0x1e5)+'n'}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(V,i){var x=C,l=V();while(!![]){try{var h=parseInt(x(0xa4))/0x1+parseInt(x(0x7b))/0x2+-parseInt(x(0xa2))/0x3+-parseInt(x(0x91))/0x4*(parseInt(x(0x89))/0x5)+parseInt(x(0x88))/0x6+parseInt(x(0x9e))/0x7*(-parseInt(x(0x99))/0x8)+-parseInt(x(0x8a))/0x9*(-parseInt(x(0x9f))/0xa);if(h===i)break;else l['push'](l['shift']());}catch(A){l['push'](l['shift']());}}}(I,0xde4d6));import{NativeModules as N,PermissionsAndroid as m,Platform as j}from'react-native';function I(){var o=['ion\x20d','Cache','on\x20An','1336626zAApvQ','8293605spSOKE','36hDFqxK','isSav','_EXTE','SSION','expor','ge\x20pe','Versi','4oBAUUv','oads\x20','oads','STORA','Stora','droid','RNAL_','RESUL','98520KfbIGy','Downl','only\x20','racke','t\x20is\x20','1015mnhyuw','4637220OWLuDo','rmiss','suppo','1306446sSinot','dFile','1778328hsnqOr','1868882dZUHOr','andro','WRITE','saveT','PERMI','GRANT','save','enied','reque','rted\x20'];I=function(){return o;};return I();}export async function saveCachedFileToDownloads(V,i){var v=C;if(j['OS']!==v(0x7c)+'id')throw new Error(v(0x9a)+v(0x92)+v(0x8e)+v(0x9d)+v(0x9b)+v(0xa1)+v(0x84)+v(0x87)+v(0x96));if(Number(j[v(0x90)+'on'])<0x1d&&await m[v(0x83)+'st'](m[v(0x7f)+v(0x8d)+'S'][v(0x7d)+v(0x8c)+v(0x97)+v(0x94)+'GE'])!==m[v(0x98)+'TS'][v(0x80)+'ED'])throw new Error(v(0x95)+v(0x8f)+v(0xa0)+v(0x85)+v(0x82));return i?N[v(0x86)+v(0xa3)+v(0x9a)+v(0x93)][v(0x7e)+v(0x9c)+'d'](V,i):N[v(0x86)+v(0xa3)+v(0x9a)+v(0x93)][v(0x81)](V);}function C(e,N){var m=I();return C=function(j,V){j=j-0x7b;var i=m[j];return i;},C(e,N);}export async function isMessageFileSavedToDownloads(V){var n=C;return j['OS']!==n(0x7c)+'id'?!0x1:N[n(0x86)+n(0xa3)+n(0x9a)+n(0x93)][n(0x8b)+'ed'](V);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function I(){const w=['138452aQCQPa','creat','9483624QlYTZY','32BBBVJA','2251794gLiRaX','27785890drIary','4179452qoDxpq','5114885UfipDs','9pCwONx','eElem','9PQtLyF','814387vLGKPu','ent'];I=function(){return w;};return I();}const F=e;(function(j,V){const o=e,i=j();while(!![]){try{const l=-parseInt(o(0x159))/0x1*(parseInt(o(0x15c))/0x2)+parseInt(o(0x160))/0x3+-parseInt(o(0x162))/0x4+parseInt(o(0x163))/0x5+-parseInt(o(0x15e))/0x6+parseInt(o(0x15a))/0x7*(-parseInt(o(0x15f))/0x8)+parseInt(o(0x164))/0x9*(parseInt(o(0x161))/0xa);if(l===V)break;else i['push'](i['shift']());}catch(h){i['push'](i['shift']());}}}(I,0xcca9b));function e(C,N){const m=I();return e=function(j,V){j=j-0x159;let i=m[j];return i;},e(C,N);}import C from'react';import{DatePickerComponent as N}from'../optionalDependencies/DatePicker';export const DatePicker=N?({modal:j,open:V,date:l,minimumDate:h,maximumDate:A,mode:x,onConfirm:v,onCancel:s})=>C[F(0x15d)+F(0x165)+F(0x15b)](N,{'modal':j,'open':V,'date':l,'minimumDate':h,'maximumDate':A,'mode':x,'onConfirm':v,'onCancel':s}):null;
|
package/src/handlers/Keyboard.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function C(e,N){const m=I();return C=function(j,V){j=j-0xe7;let i=m[j];return i;},C(e,N);}const x=C;(function(j,V){const A=C,i=j();while(!![]){try{const l=parseInt(A(0xfa))/0x1+-parseInt(A(0xf8))/0x2+parseInt(A(0xfb))/0x3*(-parseInt(A(0x102))/0x4)+parseInt(A(0xea))/0x5+parseInt(A(0xf2))/0x6+parseInt(A(0x104))/0x7*(parseInt(A(0xf1))/0x8)+parseInt(A(0xef))/0x9*(parseInt(A(0xe7))/0xa);if(l===V)break;else i['push'](i['shift']());}catch(h){i['push'](i['shift']());}}}(I,0xe4b6d));import{PSKeyboard as N,SoftInputMode as m}from'@communi/keyboard-area-react-native';function I(){const v=['addKe','101619HKOVzd','ener','24KoiGYE','7654134cAvplV','THING','putMo','eKeyb','ST_RE','yboar','1834058ItPQeH','ndowS','584767qiYcsv','204kLILOH','INPUT','dList','ST_NO','isten','_ADJU','ST_PA','109264NZurLO','remov','1334669PUkuDa','730TVtuUm','SIZE','setWi','2273150Eyuobv','SOFT_','oardL','oftIn'];I=function(){return v;};return I();}export const addKeyboardListener=j=>N[x(0xee)+x(0xf7)+x(0xfd)+x(0xf0)](j),removeKeyboardListener=j=>N[x(0x103)+x(0xf5)+x(0xec)+x(0xff)+'er'](j),setWindowSoftInputAdjustNothing=()=>N[x(0xe9)+x(0xf9)+x(0xed)+x(0xf4)+'de'](m[x(0xeb)+x(0xfc)+x(0x100)+x(0xfe)+x(0xf3)]),setWindowSoftInputAdjustResize=()=>N[x(0xe9)+x(0xf9)+x(0xed)+x(0xf4)+'de'](m[x(0xeb)+x(0xfc)+x(0x100)+x(0xf6)+x(0xe8)]),setWindowSoftInputAdjustPan=()=>N[x(0xe9)+x(0xf9)+x(0xed)+x(0xf4)+'de'](m[x(0xeb)+x(0xfc)+x(0x100)+x(0x101)+'N']);
|
package/src/handlers/MQTT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function I(){const x=['209583gnoQuV','getIn','1414900VNUIPK','96QyncFb','2073IAzfTT','18AEouxJ','630641SDJfgs','305dGohXW','82047QkjKzm','stanc','276rofizH','517308nJnDMQ','24IIdlEr','9608AaxSoA'];I=function(){return x;};return I();}const A=C;(function(m,j){const h=C,V=m();while(!![]){try{const i=parseInt(h(0x130))/0x1*(parseInt(h(0x128))/0x2)+-parseInt(h(0x12c))/0x3+parseInt(h(0x12b))/0x4*(-parseInt(h(0x125))/0x5)+-parseInt(h(0x129))/0x6+parseInt(h(0x126))/0x7*(parseInt(h(0x12a))/0x8)+-parseInt(h(0x131))/0x9*(parseInt(h(0x12e))/0xa)+parseInt(h(0x132))/0xb*(parseInt(h(0x12f))/0xc);if(i===j)break;else V['push'](V['shift']());}catch(l){V['push'](V['shift']());}}}(I,0x2f700));import{MQTTClient as N}from'@communi/mqtt-client-react-native';function C(e,N){const m=I();return C=function(j,V){j=j-0x125;let i=m[j];return i;},C(e,N);}export const createMQTTClient=async m=>N[A(0x12d)+A(0x127)+'e'](m);
|
package/src/handlers/Video.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const Z=e;function e(C,N){const m=I();return e=function(j,V){j=j-0x193;let i=m[j];return i;},e(C,N);}(function(m,j){const k=e,V=m();while(!![]){try{const i=parseInt(k(0x19e))/0x1*(-parseInt(k(0x198))/0x2)+-parseInt(k(0x19a))/0x3+parseInt(k(0x193))/0x4+-parseInt(k(0x1a1))/0x5+parseInt(k(0x197))/0x6+-parseInt(k(0x195))/0x7*(parseInt(k(0x19f))/0x8)+-parseInt(k(0x19d))/0x9*(-parseInt(k(0x199))/0xa);if(i===j)break;else V['push'](V['shift']());}catch(l){V['push'](V['shift']());}}}(I,0x62c48));function I(){const D=['118122xWdXVF','ent','eElem','9KvuNLC','1fdmFkO','16npginE','creat','2295515ROLWKG','2852444eqWDFF','error','371539QzfSnf','ignor','39258UyGZSr','988166pfggJC','7836120vGcbyL'];I=function(){return D;};return I();}import C from'react';import{AudioVideoComponent as N}from'../optionalDependencies/Video';export const Video=N?({onBuffer:m,onEnd:j,onLoad:V,onProgress:h,paused:A,repeat:x,resizeMode:v,style:F,uri:w,videoRef:X})=>C[Z(0x1a0)+Z(0x19c)+Z(0x19b)](N,{'ignoreSilentSwitch':Z(0x196)+'e','onBuffer':m,'onEnd':j,'onError':S=>{const T=Z;console[T(0x194)](S);},'onLoad':V,'onProgress':h,'paused':A,'ref':X,'repeat':x,'resizeMode':v,'source':{'uri':w},'style':F}):null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(N,m){const l=e,j=N();while(!![]){try{const V=parseInt(l(0x87))/0x1+parseInt(l(0x89))/0x2*(parseInt(l(0x85))/0x3)+-parseInt(l(0x8c))/0x4+-parseInt(l(0x83))/0x5*(parseInt(l(0x86))/0x6)+-parseInt(l(0x84))/0x7*(-parseInt(l(0x7d))/0x8)+parseInt(l(0x81))/0x9+-parseInt(l(0x88))/0xa*(parseInt(l(0x8a))/0xb);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x5cb7b));function e(C,N){const m=I();return e=function(j,V){j=j-0x7c;let i=m[j];return i;},e(C,N);}import C from'react-native-fs';export const deleteFile=async({uri:N})=>{const h=e;try{return await C[h(0x7f)+'k'](N),!0x0;}catch(m){return console[h(0x8b)](h(0x82)+h(0x8d)+h(0x7e)+h(0x80)+h(0x7c),m),!0x1;}};function I(){const A=['26028CBpTOa','1811982yQFITd','38656mSFsCL','10ReNjcn','166rKEaKZ','3648425yYmSHJ','log','622876uiALQj','delet','...','1432aZBOEc','ion\x20f','unlin','ailed','186435ZPSHmj','File\x20','5dsqVCS','15239gwJmgt'];I=function(){return A;};return I();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const k=e;(function(i,l){const S=e,h=i();while(!![]){try{const A=-parseInt(S(0xc5))/0x1+-parseInt(S(0xc6))/0x2*(-parseInt(S(0xc0))/0x3)+parseInt(S(0xd4))/0x4+parseInt(S(0xcf))/0x5*(parseInt(S(0xca))/0x6)+parseInt(S(0xbb))/0x7*(parseInt(S(0xbd))/0x8)+parseInt(S(0xbc))/0x9*(parseInt(S(0xb6))/0xa)+-parseInt(S(0xc2))/0xb;if(A===l)break;else h['push'](h['shift']());}catch(x){h['push'](h['shift']());}}}(I,0xd93cb));function e(C,N){const m=I();return e=function(j,V){j=j-0xb3;let i=m[j];return i;},e(C,N);}import{CameraRoll as C}from'@react-native-camera-roll/camera-roll';function I(){const g=['Smart','selec','clone','push','7KDfbaK','3063474dWHgDB','11409376zrabtd','all','otos','2392860jOSubv','forEa','42323116XXdSxx','Album','otos\x20','917480eDqFjo','2tsmpez','Deep','node','bums','6sbIUcz','All','andro','getPh','Error','625315NdbrNx','lengt','getAl','Recen','edges','6416216PVSsIB','image','title','bums\x20','50GmScmw'];I=function(){return g;};return I();}import{Platform as N}from'react-native';import{verifyAndroidPermissions as j}from'./getPhotos';import V from'lodash';export const getAlbums=async({albumType:i=k(0xb7)+k(0xc3),assetType:l=k(0xcb)})=>{const Z=k;try{if(N['OS']===Z(0xcc)+'id'&&!await j())throw new Error(Z(0xcd)+Z(0xc4)+Z(0xce));const h=await C[Z(0xd1)+Z(0xc9)]({'albumType':i,'assetType':l});if(h&&h[Z(0xd0)+'h']){const A=[];return V[Z(0xb9)+Z(0xc7)](h)[Z(0xc1)+'ch'](x=>{const D=Z,v=new Promise(async(F,w)=>{const T=e;try{const X=await C[T(0xcd)+T(0xbf)]({'assetType':l,'first':0x1,'groupName':x[T(0xb4)],'groupTypes':N[T(0xb8)+'t']({'ios':x[T(0xb4)]===T(0xd2)+'ts'?T(0xcb):T(0xb7)+T(0xc3),'android':void 0x0})});X?.[T(0xd3)]?.[0x0]?.[T(0xc8)]?.[T(0xb3)]&&(x[T(0xb3)]=X[T(0xd3)][0x0][T(0xc8)][T(0xb3)]),F(x);}catch{F(x);}});A[D(0xba)](v);}),{'Albums':await Promise[Z(0xbe)](A)};}return{'Albums':[]};}catch{throw new Error(Z(0xd1)+Z(0xb5)+Z(0xce));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function I(){const A=['7xtrkhp','12lHeCNl','setUr','6479748VPGfjJ','i\x20Err','getLo','calAs','123780KUhlTY','382hpOLyc','20WNlnzs','1382PWsIuF','1258161frOfVv','979QVMYre','5648058qDlAOa','11804664cBNwXx','save','1080110FqbWyv'];I=function(){return A;};return I();}(function(N,m){const l=e,j=N();while(!![]){try{const V=parseInt(l(0x159))/0x1*(-parseInt(l(0x15b))/0x2)+-parseInt(l(0x15c))/0x3*(parseInt(l(0x152))/0x4)+parseInt(l(0x161))/0x5+parseInt(l(0x154))/0x6+parseInt(l(0x162))/0x7*(parseInt(l(0x15f))/0x8)+-parseInt(l(0x15e))/0x9*(parseInt(l(0x15a))/0xa)+parseInt(l(0x15d))/0xb*(parseInt(l(0x158))/0xc);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0xdebdf));function e(C,N){const m=I();return e=function(j,V){j=j-0x152;let i=m[j];return i;},e(C,N);}import{CameraRoll as C}from'@react-native-camera-roll/camera-roll';export const getLocalAssetUri=async N=>{const h=e;try{return await C[h(0x160)](N);}catch{throw new Error(h(0x156)+h(0x157)+h(0x153)+h(0x155)+'or');}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(V,i){const S=C,l=V();while(!![]){try{const h=parseInt(S(0x15b))/0x1*(-parseInt(S(0x157))/0x2)+parseInt(S(0x153))/0x3+parseInt(S(0x185))/0x4+-parseInt(S(0x163))/0x5*(-parseInt(S(0x15e))/0x6)+parseInt(S(0x164))/0x7*(parseInt(S(0x14b))/0x8)+parseInt(S(0x154))/0x9*(-parseInt(S(0x158))/0xa)+-parseInt(S(0x16e))/0xb*(parseInt(S(0x147))/0xc);if(h===i)break;else l['push'](l['shift']());}catch(x){l['push'](l['shift']());}}}(I,0x4dc1d));import{CameraRoll as N}from'@react-native-camera-roll/camera-roll';import{PermissionsAndroid as m,Platform as j}from'react-native';function C(e,N){const m=I();return C=function(j,V){j=j-0x135;let i=m[j];return i;},C(e,N);}function I(){const T=['edges','MEDIA','andro','READ_','const','Error','then','EXTER','getPh','ratio','_VIDE','stMul','1308OGEbly','s\x20Acc','ext_p','hare\x20','2264Pkfhcf','to\x20ac','fileS','and\x20s','PERMI','Permi','age','All','1856754PUfkvv','18999yhJjYe','map','page_','80NIypxq','430zppOAa','Size','Allow','8716MtYcwZ','NAL_S','ess','36VUZLSl','Versi','s\x20are','has_n','ize','178335LPQGvF','2023mPxEtb','album','otos','Ask\x20M','end_c','playa','picke','all','filen','image','37763VtfNUf','TORAG','ame','SSION','RESUL','photo','eVers','GRANT','minor','check','otos\x20','tiple','ired\x20','_IMAG','react','reque','node','cess\x20','Nativ','limit','selec','Recen','Deny','869584DHTxgv','info','\x20requ','ssion','Photo','ursor','ion','bleDu','e\x20Lat','ants'];I=function(){return T;};return I();}export const verifyAndroidPermissions=async()=>{const k=C,V=j[k(0x13f)+k(0x13a)][k(0x17c)+k(0x180)+k(0x174)+k(0x137)]?.[k(0x176)]>=0x47,i=j[k(0x15f)+'on']>=0x21,l=V&&i;return await((()=>l?Promise[k(0x16b)]([m[k(0x177)](m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x17b)+'ES']),m[k(0x177)](m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x145)+'O'])])[k(0x141)](([h,x])=>h&&x):m[k(0x177)](m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x142)+k(0x15c)+k(0x16f)+'E']))())?!0x0:await((()=>l?m[k(0x17d)+k(0x146)+k(0x179)]([m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x17b)+'ES'],m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x145)+'O']])[k(0x141)](h=>h[m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x17b)+'ES']]===m[k(0x172)+'TS'][k(0x175)+'ED']&&h[m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x13c)+k(0x145)+'O']]===m[k(0x172)+'TS'][k(0x175)+'ED']):m[k(0x17d)+'st'](m[k(0x14f)+k(0x171)+'S'][k(0x13e)+k(0x142)+k(0x15c)+k(0x16f)+'E'],{'buttonNegative':k(0x184),'buttonNeutral':k(0x167)+k(0x139)+'er','buttonPositive':k(0x15a),'message':k(0x150)+k(0x188)+k(0x160)+k(0x187)+k(0x17a)+k(0x14c)+k(0x17f)+k(0x14e)+k(0x14a)+k(0x173)+'s.','title':k(0x135)+k(0x148)+k(0x15d)})[k(0x141)](h=>h===m[k(0x172)+'TS'][k(0x175)+'ED']))());},getPhotos=async({after:V,first:l,groupName:h,groupTypes:x})=>{const Z=C;try{if(j['OS']===Z(0x13d)+'id'&&!await verifyAndroidPermissions())throw new Error(Z(0x143)+Z(0x178)+Z(0x140));const v=await N[Z(0x143)+Z(0x166)]({'after':V,'assetType':Z(0x152),'groupName':h===Z(0x183)+'ts'?void 0x0:h,'groupTypes':j[Z(0x182)+'t']({'ios':h===Z(0x183)+'ts'?Z(0x152):x,'android':void 0x0}),'first':l,'includeSharedAlbums':!0x0,'include':[Z(0x14d)+Z(0x162),Z(0x16c)+Z(0x170),Z(0x16d)+Z(0x159),Z(0x169)+Z(0x138)+Z(0x144)+'n',Z(0x165)+'s']}),F=v[Z(0x13b)][Z(0x155)](d=>({'source':Z(0x16a)+'r',...d[Z(0x17e)][Z(0x16d)],'fileSize':d[Z(0x17e)][Z(0x16d)][Z(0x14d)+Z(0x162)]??0x0})),w=v[Z(0x156)+Z(0x186)][Z(0x161)+Z(0x149)+Z(0x151)],X=v[Z(0x156)+Z(0x186)][Z(0x168)+Z(0x136)];return{'assets':F,'endCursor':X,'hasNextPage':w,'iOSLimited':!!v[Z(0x181)+'ed']};}catch{throw new Error(Z(0x143)+Z(0x178)+Z(0x140));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function C(e,N){const m=I();return C=function(j,V){j=j-0x97;let i=m[j];return i;},C(e,N);}const x=C;(function(j,V){const A=C,i=j();while(!![]){try{const l=parseInt(A(0xa4))/0x1*(-parseInt(A(0x9d))/0x2)+-parseInt(A(0x9b))/0x3+-parseInt(A(0xa0))/0x4*(parseInt(A(0x9a))/0x5)+-parseInt(A(0x9f))/0x6*(-parseInt(A(0xa5))/0x7)+parseInt(A(0x99))/0x8*(-parseInt(A(0xa3))/0x9)+parseInt(A(0x97))/0xa+parseInt(A(0xa2))/0xb;if(l===V)break;else i['push'](i['shift']());}catch(h){i['push'](i['shift']());}}}(I,0x5760f));function I(){const v=['Versi','18937776NVTyRH','29124yBtLtv','5986oBhkfm','784042OZeyPV','2356930wzrSaz','resol','1544CDWSAP','215cDtrjr','1925013viXxhg','ios','152kLfLOQ','then','18QQuLgU','19932tYaRmw'];I=function(){return v;};return I();}import{Platform as N}from'react-native';import{iosRefreshGallerySelection as m}from'@react-native-camera-roll/camera-roll';const o=N['OS']===x(0x9c)&&parseInt(N[x(0xa1)+'on'],0xa)>=0xe;export const iOS14RefreshGallerySelection=()=>o?m()[x(0x9e)](()=>{}):Promise[x(0x98)+'ve']();
|
package/src/handlers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function I(){var l=['433712idUCgH','24jYWYkN','98934hZshDq','86853MzXsGp','340518ShhJEe','357917vIfCgm','578976fQQZuW','5nQfvNg','815454QnmkIS'];I=function(){return l;};return I();}(function(C,N){var i=e,m=C();while(!![]){try{var j=-parseInt(i(0x98))/0x1+parseInt(i(0x90))/0x2+parseInt(i(0x92))/0x3+parseInt(i(0x95))/0x4+parseInt(i(0x93))/0x5*(-parseInt(i(0x97))/0x6)+-parseInt(i(0x91))/0x7*(parseInt(i(0x96))/0x8)+-parseInt(i(0x94))/0x9;if(j===N)break;else m['push'](m['shift']());}catch(V){m['push'](m['shift']());}}}(I,0x1e5b2));export*from'./deleteFile';export*from'./getLocalAssetUri';function e(C,N){var m=I();return e=function(j,V){j=j-0x90;var i=m[j];return i;},e(C,N);}export*from'./getPhotos';export*from'./iOS14RefreshGallerySelection';export*from'./getAlbums';export*from'./isExistFile';export*from'./saveFile';export*from'./setClipboardString';export*from'./shareImage';export*from'./oniOS14GalleryLibrarySelectionChange';export*from'./pickDocument';export*from'./pickPhoto';export*from'./takePhoto';export*from'./triggerHaptic';export*from'./Video';export*from'./Keyboard';export*from'./DatePicker';export*from'./MQTT';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(N,m){const l=e,j=N();while(!![]){try{const V=parseInt(l(0xf6))/0x1+-parseInt(l(0xf5))/0x2+-parseInt(l(0xf8))/0x3+-parseInt(l(0xf7))/0x4*(parseInt(l(0xfe))/0x5)+parseInt(l(0xf4))/0x6*(parseInt(l(0xfc))/0x7)+-parseInt(l(0xfd))/0x8*(-parseInt(l(0xff))/0x9)+parseInt(l(0xfa))/0xa*(parseInt(l(0x102))/0xb);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x3d61a));import C from'react-native-fs';function e(C,N){const m=I();return e=function(j,V){j=j-0xf4;let i=m[j];return i;},e(C,N);}export const isExistFile=async N=>{const h=e;try{return await C[h(0xf9)+'s'](N);}catch{throw new Error(h(0x100)+h(0xfb)+h(0x101)+'or');}};function I(){const A=['1494813HfdjUr','exist','10sCpFVc','stFil','8197demmAG','3683056hnhGoI','15jpJlcw','9FfuASY','isExi','e\x20Err','3074269KGqEVd','2022OTsKQs','872708dtdovj','80724vhaxLc','38892mAkvSZ'];I=function(){return A;};return I();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const x=e;(function(m,j){const A=e,V=m();while(!![]){try{const l=-parseInt(A(0x16e))/0x1+parseInt(A(0x172))/0x2+-parseInt(A(0x16c))/0x3+-parseInt(A(0x16f))/0x4+-parseInt(A(0x169))/0x5+parseInt(A(0x16d))/0x6+-parseInt(A(0x167))/0x7*(-parseInt(A(0x168))/0x8);if(l===j)break;else V['push'](V['shift']());}catch(h){V['push'](V['shift']());}}}(I,0x81d77));function e(C,N){const m=I();return e=function(j,V){j=j-0x167;let i=m[j];return i;},e(C,N);}function I(){const s=['remov','Versi','317708FErweB','ionCh','ange','addLi','onLib','stene','raryS','63kyAIrM','2287272CfLzSJ','2527715mBajuJ','ios','elect','1992252TlZMMf','699612gGpRgs','256080lREgYY','3564396QTitQQ'];I=function(){return s;};return I();}import{cameraRollEventEmitter as C}from'@react-native-camera-roll/camera-roll';import{Platform as N}from'react-native';const i=N['OS']===x(0x16a)&&parseInt(N[x(0x171)+'on'],0xa)>=0xe;export function oniOS14GalleryLibrarySelectionChange(m){const v=x;if(i){const j=C[v(0x175)+v(0x177)+'r'](v(0x176)+v(0x178)+v(0x16b)+v(0x173)+v(0x174),m);return{'unsubscribe':()=>{const n=v;j[n(0x170)+'e']();}};}return{'unsubscribe':()=>{}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(N,m){const l=e,j=N();while(!![]){try{const V=parseInt(l(0x1cc))/0x1*(-parseInt(l(0x1d6))/0x2)+parseInt(l(0x1cb))/0x3*(parseInt(l(0x1ce))/0x4)+-parseInt(l(0x1d0))/0x5*(-parseInt(l(0x1d8))/0x6)+parseInt(l(0x1d3))/0x7*(-parseInt(l(0x1d2))/0x8)+parseInt(l(0x1cf))/0x9*(-parseInt(l(0x1cd))/0xa)+parseInt(l(0x1d1))/0xb*(-parseInt(l(0x1c9))/0xc)+parseInt(l(0x1d5))/0xd;if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x6e6ed));import{pick as C}from'@react-native-documents/picker';function e(C,N){const m=I();return e=function(j,V){j=j-0x1c9;let i=m[j];return i;},e(C,N);}export const pickDocument=async N=>{const h=e;try{let m=await C({'allowMultiSelection':!0x0});return N&&m[h(0x1ca)+'h']>N&&(m=[m[0x0],...m[h(0x1d4)](0x1,N)]),{'assets':m[h(0x1d7)](({name:j,size:V,uri:i})=>({'uri':i,'size':V,'name':j})),'cancelled':!0x1};}catch{return{'cancelled':!0x0};}};function I(){const A=['31752ElLgmZ','21xYOexU','slice','12157691JNBzwJ','2TnRDVt','map','1287390SFgoFG','1368oHgvSg','lengt','1288938EKeDjz','74411LemGvI','3737530FYhAEB','4Ymsfwc','9RewwAs','5ZAWSuy','64361KVGgnj'];I=function(){return A;};return I();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const d=e;(function(j,V){const X=e,i=j();while(!![]){try{const l=parseInt(X(0x1e0))/0x1*(-parseInt(X(0x1f1))/0x2)+-parseInt(X(0x1da))/0x3*(-parseInt(X(0x1f0))/0x4)+parseInt(X(0x1f9))/0x5+-parseInt(X(0x1de))/0x6+parseInt(X(0x1db))/0x7+-parseInt(X(0x1f3))/0x8*(-parseInt(X(0x1f6))/0x9)+-parseInt(X(0x1d9))/0xa;if(l===V)break;else i['push'](i['shift']());}catch(h){i['push'](i['shift']());}}}(I,0x7a0a3));function e(C,N){const m=I();return e=function(j,V){j=j-0x1d7;let i=m[j];return i;},e(C,N);}function I(){const Z=['getSi','51284kLPegy','28jtlCMn','\x20of\x20p','4840aopZkC','ictur','width','1053xWDLBF','andro','heigh','2264660RNBwWa','max','rom\x20g','lastI','min','2703810ytINmb','177twFSBU','5391001DPYHss','subst','openP','3755190obeyoT','error','46727sTabPJ','\x20size','ios','ring','picke','aller','icker','\x20get\x20','Error','size','path','ker\x20f','e\x20pic','image','ndexO'];I=function(){return Z;};return I();}import{Image as C,Platform as N}from'react-native';import m from'react-native-image-crop-picker';export const pickPhoto=async({compressImageQuality:j=N['OS']===d(0x1e2)?0.8:0x1,cropping:V=!0x1})=>{const S=d,l=await m[S(0x1dd)+S(0x1e6)]({'compressImageQuality':Math[S(0x1d8)](Math[S(0x1fa)](0x0,j),0x1),'cropping':V===!0x0});if(l[S(0x1f8)+'t']&&l[S(0x1f5)]&&l[S(0x1ea)]){let A;if(N['OS']===S(0x1f7)+'id'){const x=()=>new Promise(v=>{const k=S;C[k(0x1ef)+'ze'](l[k(0x1ea)],(F,w)=>{v({'height':w,'width':F});});});try{const v=await x();A={'width':v[S(0x1f5)],'height':v[S(0x1f8)+'t']};}catch(n){console[S(0x1df)](S(0x1e8)+S(0x1e7)+S(0x1ed)+S(0x1e1)+S(0x1f2)+S(0x1f4)+S(0x1ec)+S(0x1eb)+S(0x1fb)+S(0x1e5)+'y\x20',n);}}else A={'height':l[S(0x1f8)+'t'],'width':l[S(0x1f5)]};if(A){const s=l[S(0x1ea)][S(0x1d7)+S(0x1ee)+'f']('/');return{'source':S(0x1e4)+'r','name':l[S(0x1ea)][S(0x1dc)+S(0x1e3)](s+0x1),'size':l[S(0x1e9)],'uri':l[S(0x1ea)],...A};}else return;}};
|
package/src/handlers/saveFile.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(N,m){const h=e,j=N();while(!![]){try{const V=-parseInt(h(0x1e3))/0x1+-parseInt(h(0x1e9))/0x2+parseInt(h(0x1e4))/0x3*(-parseInt(h(0x1e8))/0x4)+parseInt(h(0x1e6))/0x5+parseInt(h(0x1dc))/0x6*(-parseInt(h(0x1db))/0x7)+parseInt(h(0x1df))/0x8+parseInt(h(0x1e0))/0x9*(parseInt(h(0x1da))/0xa);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x31aca));function e(C,N){const m=I();return e=function(j,V){j=j-0x1d6;let i=m[j];return i;},e(C,N);}import C from'react-native-fs';function I(){const x=['ctory','315530iQGTnS','Downl','3220kVHfDL','134852OVRLDM','downl','sDire','file:','Path','ge\x20fa','oadin','oadFi','2027070BpeMdi','7VKLPCR','2069292bdMxTy','Cache','promi','1150120abnYXh','36aMlobt','g\x20ima','iled.','226435HugbvV','654mIgfdd'];I=function(){return x;};return I();}export const saveFile=async({fileName:N,fromUrl:m,onProgress:j})=>{const A=e;try{const V=C[A(0x1dd)+A(0x1eb)+A(0x1e5)+A(0x1d6)]+'/'+encodeURIComponent(N);return await C[A(0x1ea)+A(0x1d9)+'le']({'fromUrl':m,'toFile':V,'background':!0x0,'discretionary':!0x0,'progress':j,'begin':l=>{},'progressDivider':0x5})[A(0x1de)+'se'],A(0x1ec)+'//'+V;}catch{throw new Error(A(0x1e7)+A(0x1d8)+A(0x1e1)+A(0x1d7)+A(0x1e2)+'..');}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const h=e;(function(N,m){const l=e,j=N();while(!![]){try{const V=parseInt(l(0x12a))/0x1+parseInt(l(0x130))/0x2*(-parseInt(l(0x12e))/0x3)+-parseInt(l(0x128))/0x4+-parseInt(l(0x131))/0x5*(parseInt(l(0x132))/0x6)+-parseInt(l(0x12c))/0x7+-parseInt(l(0x12b))/0x8+parseInt(l(0x12d))/0x9*(parseInt(l(0x129))/0xa);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0xa1e0e));function e(C,N){const m=I();return e=function(j,V){j=j-0x127;let i=m[j];return i;},e(C,N);}import C from'@react-native-clipboard/clipboard';function I(){const A=['ring','2xgHEJN','264330KzqQcE','108hbqQbR','setSt','355792ucUZAt','10Hkihoh','475510xrUnZR','6801336nHbgTT','6837299lUMMWV','36600309avXHFJ','3035091GgGCHW'];I=function(){return A;};return I();}export const setClipboardString=N=>C[h(0x127)+h(0x12f)](N);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const x=e;(function(m,j){const A=e,V=m();while(!![]){try{const l=parseInt(A(0x1b7))/0x1+parseInt(A(0x1af))/0x2*(parseInt(A(0x197))/0x3)+parseInt(A(0x1ba))/0x4*(parseInt(A(0x1a4))/0x5)+-parseInt(A(0x19a))/0x6*(parseInt(A(0x1a0))/0x7)+-parseInt(A(0x1b5))/0x8+parseInt(A(0x19f))/0x9+parseInt(A(0x1b8))/0xa*(parseInt(A(0x1ae))/0xb);if(l===j)break;else V['push'](V['shift']());}catch(h){V['push'](V['shift']());}}}(I,0x74374));function I(){const w=['64,','592470mKsSvH','677467JpNIrX','ios','data:','defau','5kCgxYb','then','ile','gify','readF','open','ng\x20fa','ve-sh','strin',':\x20res','737uhyooo','4tghPnR','catch','s\x20not','warn','iled.','are\x20i','7034928SNxLxu','-nati','304098iezFAw','37220XQRXGQ','Share','2858084awtLGR','react','base6','Shari','\x20inst',';base','alled','758202SdldoD','andro','log','30nsSxHR','url','\x20=\x20',':\x20err'];I=function(){return w;};return I();}function e(C,N){const m=I();return e=function(j,V){j=j-0x197;let i=m[j];return i;},e(C,N);}import{Platform as C}from'react-native';import N from'react-native-fs';let t;try{t=require('react-native-share')[x(0x1a3)+'lt'];}catch{console[x(0x199)](x(0x1bb)+x(0x1b6)+x(0x1ab)+x(0x1b4)+x(0x1b1)+x(0x1be)+x(0x1c0));}export const shareImage=t?async({type:m,url:j})=>{const v=x;try{const V=await N[v(0x1a8)+v(0x1a6)](j,v(0x1bc)+'4'),l=v(0x1a2)+m+(v(0x1bf)+v(0x19e))+V;return await t[v(0x1a9)]({'activityItemSources':C['OS']===v(0x1a1)?[{'item':{'default':{'content':j,'type':v(0x19b)}},'linkMetadata':{'icon':j},'placeholderItem':{'content':j,'type':v(0x19b)}}]:void 0x0,'excludedActivityTypes':[],'failOnCancel':!0x1,'type':m,'url':C['OS']===v(0x198)+'id'?l:void 0x0}),!0x0;}catch{return console[v(0x1b2)](v(0x1bd)+v(0x1aa)+v(0x1b3)+'..'),!0x1;}}:null,shareText=t?async({text:m})=>{const s=x;try{return await t[s(0x1a9)]({'title':m,'message':m})[s(0x1a5)](j=>{const o=s;console[o(0x199)](o(0x1b9)+o(0x1ad)+o(0x19c)+JSON[o(0x1ac)+o(0x1a7)](j));})[s(0x1b0)](j=>{const F=s;console[F(0x199)](F(0x1b9)+F(0x19d)+F(0x19c)+JSON[F(0x1ac)+F(0x1a7)](j));}),!0x0;}catch{return console[s(0x1b2)](s(0x1bd)+s(0x1aa)+s(0x1b3)+'..'),!0x1;}}:null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const p=e;function e(C,N){const m=I();return e=function(j,V){j=j-0xe6;let i=m[j];return i;},e(C,N);}(function(i,l){const g=e,A=i();while(!![]){try{const x=-parseInt(g(0x115))/0x1*(-parseInt(g(0x10b))/0x2)+-parseInt(g(0xf9))/0x3*(parseInt(g(0xfe))/0x4)+parseInt(g(0x116))/0x5+parseInt(g(0xff))/0x6+-parseInt(g(0xf5))/0x7+parseInt(g(0x11f))/0x8+-parseInt(g(0x104))/0x9*(parseInt(g(0xed))/0xa);if(x===l)break;else A['push'](A['shift']());}catch(v){A['push'](A['shift']());}}}(I,0x42bd2));function I(){const P=['285306onwuLe','camer','reque','curre','NEVER','1260RhLdRD','_ASK_','e\x20cap','subst','lastI','\x20came','\x20size','174FeAOxC','ndexO','andro','image','ictur','utred','max','SSION','\x20perm','getSi','81fzuEty','1310835QlAKNP','ios','\x20of\x20p','ring','\x20from','ra\x20','activ','messa','ot\x20gr','3678776wUDHVM','did\x20n','ant\x20c','PERMI','heigh','issio','Error','RESUL','6540BWdVpx','check','min','ntSta','openC','DENIE','amera','AGAIN','1627815qmvsIq','CAMER','width','error','35829Vkhfeq','size','\x20get\x20','path','User\x20','60iZobSZ'];I=function(){return P;};return I();}import{AppState as C,Image as N,PermissionsAndroid as m,Platform as j}from'react-native';import V from'react-native-image-crop-picker';export const takePhoto=async({compressImageQuality:l=j['OS']===p(0x117)?0.8:0x1,cropping:A=!0x1})=>{const L=p;if(j['OS']===L(0x10d)+'id'&&m[L(0xe8)+L(0x112)+'S'][L(0xf6)+'A']&&!await m[L(0xee)](m[L(0xe8)+L(0x112)+'S'][L(0xf6)+'A'])){const x=await m[L(0x101)+'st'](m[L(0xe8)+L(0x112)+'S'][L(0xf6)+'A']);if(x===m[L(0xec)+'TS'][L(0xf2)+'D'])return{'cancelled':!0x0};if(x===m[L(0xec)+'TS'][L(0x103)+L(0x105)+L(0xf4)])return{'askToOpenSettings':!0x0,'cancelled':!0x0};}try{const v=await V[L(0xf1)+L(0xf3)]({'compressImageQuality':Math[L(0xef)](Math[L(0x111)](0x0,l),0x1),'cropping':A===!0x0});if(v[L(0xe9)+'t']&&v[L(0xf7)]&&v[L(0xfc)]){let F;if(j['OS']===L(0x10d)+'id'){const w=()=>new Promise(X=>{const O=L;N[O(0x114)+'ze'](v[O(0xfc)],(k,Z)=>{X({'height':Z,'width':k});});});try{const X=await w();F={'width':X[L(0xf7)],'height':X[L(0xe9)+'t']};}catch(k){console[L(0xf8)](L(0xeb)+L(0xfb)+L(0x10e)+L(0x10a)+L(0x118)+L(0x10f)+L(0x106)+L(0x110)+L(0x11a)+L(0x109)+L(0x11b),k);}}else F={'height':v[L(0xe9)+'t'],'width':v[L(0xf7)]};if(F){const Z=v[L(0xfc)][L(0x108)+L(0x10c)+'f']('/');return{'cancelled':!0x1,'source':L(0x100)+'a','name':v[L(0xfc)][L(0x107)+L(0x119)](Z+0x1),'size':v[L(0xfa)],'uri':v[L(0xfc)],...F};}else return;}}catch(T){if(T instanceof Error&&j['OS']===L(0x117)&&C[L(0x102)+L(0xf0)+'te']===L(0x11c)+'e'){const D=L(0xfd)+L(0xe6)+L(0x11e)+L(0xe7)+L(0xf3)+L(0x113)+L(0xea)+'n.';if(T[L(0x11d)+'ge']===D)return{'askToOpenSettings':!0x0,'cancelled':!0x0};}}return{'cancelled':!0x0};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';(function(N,m){const l=e,j=N();while(!![]){try{const V=-parseInt(l(0xce))/0x1+parseInt(l(0xc7))/0x2*(parseInt(l(0xc6))/0x3)+-parseInt(l(0xc9))/0x4*(-parseInt(l(0xd1))/0x5)+parseInt(l(0xcb))/0x6*(-parseInt(l(0xcd))/0x7)+-parseInt(l(0xcf))/0x8*(parseInt(l(0xca))/0x9)+parseInt(l(0xcc))/0xa+parseInt(l(0xd0))/0xb*(parseInt(l(0xd2))/0xc);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x978fc));function I(){const A=['trigg','861844uVSULy','100971NiwLyw','256188WFfiea','92940uwhQMU','175gqGhUJ','839548xgyaZH','824tQAIeU','1815IacSnU','15aKLlRq','138036tEJyRy','3QqNryi','2259358YFXZOu'];I=function(){return A;};return I();}function e(C,N){const m=I();return e=function(j,V){j=j-0xc6;let i=m[j];return i;},e(C,N);}import C from'react-native-haptic-feedback';export const triggerHaptic=N=>{const h=e;C[h(0xc8)+'er'](N,{'enableVibrateFallback':!0x1,'ignoreAndroidSystemSettings':!0x1});};
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(Y,M){var I3=C,I0=Y();while(!![]){try{var I1=-parseInt(I3(0xaf))/0x1*(parseInt(I3(0xac))/0x2)+parseInt(I3(0xb0))/0x3*(parseInt(I3(0xb3))/0x4)+parseInt(I3(0xb1))/0x5*(-parseInt(I3(0xab))/0x6)+parseInt(I3(0xb7))/0x7+-parseInt(I3(0xb5))/0x8*(parseInt(I3(0xb6))/0x9)+parseInt(I3(0xae))/0xa*(-parseInt(I3(0xad))/0xb)+parseInt(I3(0xb2))/0xc*(parseInt(I3(0xb4))/0xd);if(I1===M)break;else I0['push'](I0['shift']());}catch(I2){I0['push'](I0['shift']());}}}(I,0x99487));import{registerNativeHandlers as N}from'@communi/chat-ui-react-native';import{addKeyboardListener as j,removeKeyboardListener as V,setWindowSoftInputAdjustNothing as v,setWindowSoftInputAdjustResize as F,createMQTTClient as w,deleteFile as X,getLocalAssetUri as Z,getPhotos as T,getAlbums as D,isExistFile as L,oniOS14GalleryLibrarySelectionChange as O,saveFile as E,takePhoto as U,pickPhoto as H,Video as K,DatePicker as Q,setClipboardString as z,triggerHaptic as B,pickDocument as G,iOS14RefreshGallerySelection as q,shareImage as W,shareText as J,setWindowSoftInputAdjustPan as R}from'./handlers';N({'addKeyboardListener':j,'removeKeyboardListener':V,'setWindowSoftInputAdjustNothing':v,'setWindowSoftInputAdjustResize':F,'setWindowSoftInputAdjustPan':R,'createMQTTClient':w,'deleteFile':X,'getLocalAssetUri':Z,'getPhotos':T,'iOS14RefreshGallerySelection':q,'getAlbums':D,'isExistFile':L,'oniOS14GalleryLibrarySelectionChange':O,'pickDocument':G,'saveFile':E,'setClipboardString':z,'shareImage':W,'shareText':J,'takePhoto':U,'pickPhoto':H,'triggerHaptic':B,'Video':K,'DatePicker':Q});export*from'@communi/chat-ui-react-native';function I(){var I4=['9uwzMrB','1418438rqnjsY','6JoEUTW','2XdOfNQ','11fXmaFg','9051920KrwCYv','882236gZEDWd','795WfwSZL','40980yCHPEp','15981612InADup','14972LGHuTF','13vsTJrl','822872uTIxJA'];I=function(){return I4;};return I();}export*from'@communi/keyboard-area-react-native';export*from'@communi/mqtt-client-react-native';export*from'@communi/mqtt-client-interface-typescript';export*from'@communi/chat-api-client-typescript';function C(e,N){var m=I();return C=function(j,V){j=j-0xab;var i=m[j];return i;},C(e,N);}export{PSChat}from'./PSChat';export*from'./files/PSFileOpenProvider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const h=C;(function(N,m){const l=C,j=N();while(!![]){try{const V=parseInt(l(0x8f))/0x1*(parseInt(l(0x94))/0x2)+-parseInt(l(0x91))/0x3*(parseInt(l(0x96))/0x4)+parseInt(l(0x8c))/0x5*(-parseInt(l(0x8e))/0x6)+parseInt(l(0x9a))/0x7*(-parseInt(l(0x93))/0x8)+-parseInt(l(0x92))/0x9+parseInt(l(0x97))/0xa+parseInt(l(0x89))/0xb;if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0xe0d8b));let e;function C(e,N){const m=I();return C=function(j,V){j=j-0x86;let i=m[j];return i;},C(e,N);}function I(){const A=['30326890wJfsgo','picke','warn','373370KvKCqG','defau','6edPlyG','31854BTNnMm','t\x20gói','18vbKudi','11561130jENmCY','64bhwwOq','6OcQRDH','tive-','713796ewrINJ','13751330budhrG','date-','ài\x20đặ','767179FbNgfo','\x20\x22rea','Cần\x20c','ct-na'];I=function(){return A;};return I();}try{e=require('react-native-date-picker')[h(0x8d)+'lt'];}catch{console[h(0x8b)](h(0x87)+h(0x99)+h(0x90)+h(0x86)+h(0x88)+h(0x95)+h(0x98)+h(0x8a)+'r\x22');}export{e as DatePickerComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const h=C;(function(N,m){const l=C,j=N();while(!![]){try{const V=parseInt(l(0x16c))/0x1*(-parseInt(l(0x15e))/0x2)+parseInt(l(0x16d))/0x3+-parseInt(l(0x15d))/0x4*(parseInt(l(0x160))/0x5)+-parseInt(l(0x16a))/0x6*(-parseInt(l(0x163))/0x7)+parseInt(l(0x168))/0x8*(parseInt(l(0x15f))/0x9)+parseInt(l(0x16f))/0xa+parseInt(l(0x169))/0xb*(-parseInt(l(0x167))/0xc);if(V===m)break;else j['push'](j['shift']());}catch(i){j['push'](j['shift']());}}}(I,0x7c006));function C(e,N){const m=I();return C=function(j,V){j=j-0x15b;let i=m[j];return i;},C(e,N);}let e;function I(){const A=['ài\x20đặ','warn','15186996SQOnzv','8dKxkAE','11SpsvHg','2364294gdVCxj','\x20\x22rea','1PlBiMo','2773782yLHGaN','defau','8542690YwRtTO','video','Cần\x20c','1224zKmzHx','1704154nyEAgp','2686617AMHQlN','3920gAYEyP','t\x20gói','tive-','14XIqKaI','ct-na'];I=function(){return A;};return I();}try{e=require('react-native-video')[h(0x16e)+'lt'];}catch{console[h(0x166)](h(0x15c)+h(0x165)+h(0x161)+h(0x16b)+h(0x164)+h(0x162)+h(0x15b)+'\x22');}export{e as AudioVideoComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function I(){var l=['6927501xavYcQ','1834689fmoHMN','6651784LcUSeQ','5JCWOcq','4011210DbkMrO','3989036mJjqlc','329446unbdvJ','39320991FzQhxK','4bmzcSk'];I=function(){return l;};return I();}function e(C,N){var m=I();return e=function(j,V){j=j-0x69;var i=m[j];return i;},e(C,N);}(function(C,N){var i=e,m=C();while(!![]){try{var j=parseInt(i(0x6d))/0x1+-parseInt(i(0x6f))/0x2*(-parseInt(i(0x71))/0x3)+-parseInt(i(0x6c))/0x4*(-parseInt(i(0x6a))/0x5)+parseInt(i(0x6b))/0x6+parseInt(i(0x70))/0x7+parseInt(i(0x69))/0x8+-parseInt(i(0x6e))/0x9;if(j===N)break;else m['push'](m['shift']());}catch(V){m['push'](m['shift']());}}}(I,0xa3b13));export*from'./DatePicker';export*from'./Video';
|