@agroshine/ags-web-http 1.12.2
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/README.md +492 -0
- package/dist/auth/index.cjs +1 -0
- package/dist/auth/index.d.cts +14 -0
- package/dist/auth/index.d.ts +14 -0
- package/dist/auth/index.js +1 -0
- package/dist/chunk-ACO6G7O2.js +1 -0
- package/dist/chunk-DJ5M3T5L.js +1 -0
- package/dist/crop-Dd6QL8u1.d.cts +19 -0
- package/dist/crop-Dd6QL8u1.d.ts +19 -0
- package/dist/crops/index.cjs +1 -0
- package/dist/crops/index.d.cts +14 -0
- package/dist/crops/index.d.ts +14 -0
- package/dist/crops/index.js +1 -0
- package/dist/customer-CgeUUBHe.d.cts +119 -0
- package/dist/customer-CgeUUBHe.d.ts +119 -0
- package/dist/customers/index.cjs +1 -0
- package/dist/customers/index.d.cts +66 -0
- package/dist/customers/index.d.ts +66 -0
- package/dist/customers/index.js +1 -0
- package/dist/group-CnJEil9u.d.cts +14 -0
- package/dist/group-CnJEil9u.d.ts +14 -0
- package/dist/groups/index.cjs +1 -0
- package/dist/groups/index.d.cts +14 -0
- package/dist/groups/index.d.ts +14 -0
- package/dist/groups/index.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +73 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.js +1 -0
- package/dist/indicator-BI8cP2F2.d.cts +62 -0
- package/dist/indicator-BI8cP2F2.d.ts +62 -0
- package/dist/indicators/index.cjs +1 -0
- package/dist/indicators/index.d.cts +15 -0
- package/dist/indicators/index.d.ts +15 -0
- package/dist/indicators/index.js +1 -0
- package/dist/layer/index.cjs +1 -0
- package/dist/layer/index.d.cts +18 -0
- package/dist/layer/index.d.ts +18 -0
- package/dist/layer/index.js +1 -0
- package/dist/layer-C4sBuqRI.d.cts +9 -0
- package/dist/layer-C4sBuqRI.d.ts +9 -0
- package/dist/login-Dq5rerGn.d.cts +6 -0
- package/dist/login-Dq5rerGn.d.ts +6 -0
- package/dist/modules/index.cjs +1 -0
- package/dist/modules/index.d.cts +6 -0
- package/dist/modules/index.d.ts +6 -0
- package/dist/modules/index.js +1 -0
- package/dist/permission-Dxx9IAbQ.d.cts +9 -0
- package/dist/permission-Dxx9IAbQ.d.ts +9 -0
- package/dist/permissions/index.cjs +1 -0
- package/dist/permissions/index.d.cts +14 -0
- package/dist/permissions/index.d.ts +14 -0
- package/dist/permissions/index.js +1 -0
- package/dist/role-Bimwb-vf.d.cts +10 -0
- package/dist/role-Bimwb-vf.d.ts +10 -0
- package/dist/roles/index.cjs +1 -0
- package/dist/roles/index.d.cts +14 -0
- package/dist/roles/index.d.ts +14 -0
- package/dist/roles/index.js +1 -0
- package/dist/structure/index.cjs +1 -0
- package/dist/structure/index.d.cts +176 -0
- package/dist/structure/index.d.ts +176 -0
- package/dist/structure/index.js +1 -0
- package/dist/structure-CNfJ_8fX.d.cts +218 -0
- package/dist/structure-CNfJ_8fX.d.ts +218 -0
- package/dist/user-FIov3LUo.d.cts +29 -0
- package/dist/user-FIov3LUo.d.ts +29 -0
- package/dist/users/index.cjs +1 -0
- package/dist/users/index.d.cts +14 -0
- package/dist/users/index.d.ts +14 -0
- package/dist/users/index.js +1 -0
- package/dist/varieties/index.cjs +1 -0
- package/dist/varieties/index.d.cts +20 -0
- package/dist/varieties/index.d.ts +20 -0
- package/dist/varieties/index.js +1 -0
- package/dist/variety-nx4Q5Ncw.d.cts +25 -0
- package/dist/variety-nx4Q5Ncw.d.ts +25 -0
- package/package.json +151 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface ICrop {
|
|
2
|
+
_id?: string;
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
alias: string;
|
|
6
|
+
season: string;
|
|
7
|
+
growth_cycle: number;
|
|
8
|
+
optimal_soil_type: string;
|
|
9
|
+
water_requirements: number;
|
|
10
|
+
pest_susceptibility: string;
|
|
11
|
+
climate_requirements: string;
|
|
12
|
+
planting_density: number;
|
|
13
|
+
harvest_time: string;
|
|
14
|
+
market_value: number;
|
|
15
|
+
export_potential: boolean;
|
|
16
|
+
common_uses: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type { ICrop as I };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x16ae38=_0x44de;(function(_0xd86961,_0x2d7f39){const _0x3f05bc=_0x44de,_0x572394=_0xd86961();while(!![]){try{const _0x3bd712=parseInt(_0x3f05bc(0x17f))/(0x2*0x11c3+0x1d2*0x2+-0x19*0x191)+-parseInt(_0x3f05bc(0x1fd))/(-0xd*0x261+-0x13*0xe9+0x303a*0x1)+-parseInt(_0x3f05bc(0x16e))/(0x97d+-0x24c9+-0x1*-0x1b4f)+-parseInt(_0x3f05bc(0x1c3))/(0x19ef+-0x2*0xdd2+0x1b9)+-parseInt(_0x3f05bc(0x1a1))/(-0x11b1+-0x39*-0x4c+0x2*0x65)*(parseInt(_0x3f05bc(0x1ba))/(0xc76+-0xd5f+-0x1*-0xef))+parseInt(_0x3f05bc(0x1b4))/(0x249f+-0x2*0xaba+-0x2*0x792)+parseInt(_0x3f05bc(0x1ed))/(-0x94c+0x17de+-0x2*0x745);if(_0x3bd712===_0x2d7f39)break;else _0x572394['push'](_0x572394['shift']());}catch(_0x18ba2e){_0x572394['push'](_0x572394['shift']());}}}(_0x1f15,0xe5dcc+0x3bb*0x2de+-0x107b80));var $=require(_0x16ae38(0x1fc));function _interopDefault(_0x59b952){return _0x59b952&&_0x59b952['__esModu'+'le']?_0x59b952:{'default':_0x59b952};}var $__default=_interopDefault($),v=new Set();function b(_0x13c09e){const _0x1ae7a0=_0x16ae38;v[_0x1ae7a0(0x191)](_0x13c09e);}function A(){const _0x1354db=_0x16ae38;throw new Error(_0x1354db(0x1de)+_0x1354db(0x1a7)+_0x1354db(0x1bf)+_0x1354db(0x176)+_0x1354db(0x190)+_0x1354db(0x1cc)+_0x1354db(0x1e2)+'es\x20de\x20us'+_0x1354db(0x1b6)+_0x1354db(0x1c8)+'ción\x20fet'+'ch.');}function S(_0x341d78){const _0x2c485=_0x16ae38,_0x3733c9={};_0x3733c9[_0x2c485(0x209)]=function(_0x565943,_0x501c3c){return _0x565943==_0x501c3c;},_0x3733c9['ywCEo']='number',_0x3733c9[_0x2c485(0x185)]=function(_0x5acb74,_0x4a6517){return _0x5acb74<_0x4a6517;},_0x3733c9[_0x2c485(0x19b)]=function(_0x2abb07,_0x177fe3){return _0x2abb07*_0x177fe3;};const _0x51270f=_0x3733c9;try{let _0x415134=_0x341d78[_0x2c485(0x1d1)]('.')[0xc51*0x2+-0x3*0x9a1+0x442][_0x2c485(0x202)](/-/g,'+')[_0x2c485(0x202)](/_/g,'/'),_0x786727=JSON[_0x2c485(0x173)](atob(_0x415134));return _0x51270f[_0x2c485(0x209)](typeof _0x786727[_0x2c485(0x1ec)],_0x51270f['ywCEo'])&&_0x51270f[_0x2c485(0x185)](_0x51270f[_0x2c485(0x19b)](_0x786727[_0x2c485(0x1ec)],0x2db+0x15bb+-0x14ae),Date[_0x2c485(0x1f1)]());}catch{return![];}}function w(_0x4428cf){const _0x41f48b=_0x16ae38;return Array['from'](new Uint8Array(_0x4428cf))['map'](_0x368f23=>_0x368f23[_0x41f48b(0x1e6)](-0x1c60+-0x26b5+0x1*0x4325)[_0x41f48b(0x1e5)](-0x381*0xb+0xf*-0x13f+0x393e,'0'))[_0x41f48b(0x172)]('');}async function L(_0x44f9de){const _0x5d22a3=_0x16ae38;let _0x2ead84=await crypto[_0x5d22a3(0x1bb)][_0x5d22a3(0x1e4)](_0x5d22a3(0x19e),new TextEncoder()[_0x5d22a3(0x1f8)](_0x44f9de));return w(_0x2ead84);}function I(_0x3b832c){const _0x3b97da=_0x16ae38,_0x2ce5bc={};_0x2ce5bc['EeHjZ']='object';const _0x1658f8=_0x2ce5bc;return!_0x3b832c||typeof _0x3b832c!=_0x1658f8[_0x3b97da(0x175)]?'':Object[_0x3b97da(0x18b)](_0x3b832c)[_0x3b97da(0x192)](([,_0x247a14])=>_0x247a14!=null)[_0x3b97da(0x171)](([_0x541d0d],[_0x5d05fe])=>_0x541d0d<_0x5d05fe?-(0x12e*-0x13+-0x388*0x3+0x3ab*0x9):_0x541d0d>_0x5d05fe?-0x192a*0x1+-0x76f+0x209a:-0x7*-0x2e1+0x5*-0x774+0x111d)[_0x3b97da(0x1a9)](([_0x447708,_0x435141])=>encodeURIComponent(_0x447708)+'='+encodeURIComponent(String(_0x435141)))[_0x3b97da(0x172)]('&');}async function U(_0xee3c3,_0x43620a,_0x5ad01c,_0x5c4343='',_0x226c4b=''){const _0x5c021d=_0x16ae38,_0x1b43e3={'DIpJP':function(_0x1a4bf7,_0x57a48d){return _0x1a4bf7/_0x57a48d;},'tjyWT':function(_0x1bfba3,_0x1ac557){return _0x1bfba3(_0x1ac557);},'kFsgA':_0x5c021d(0x1d6),'CSVzE':_0x5c021d(0x19e),'lMDxG':_0x5c021d(0x1db)};let _0x22d5d9=Math[_0x5c021d(0x19c)](_0x1b43e3[_0x5c021d(0x174)](Date[_0x5c021d(0x1f1)](),0x943+-0x64e*-0x1+-0xba9))['toString'](),_0x59c20a=await _0x1b43e3['tjyWT'](L,_0x226c4b),_0x1c39b5=_0x5c021d(0x1ff)+_0x22d5d9+':'+_0x43620a['toUpperC'+_0x5c021d(0x177)]()+':'+_0x5ad01c+':'+_0x5c4343+':'+_0x59c20a,_0x59ca81=new TextEncoder(),_0x5dfc8e=await crypto['subtle'][_0x5c021d(0x17e)+'y'](_0x1b43e3[_0x5c021d(0x197)],_0x59ca81[_0x5c021d(0x1f8)](_0xee3c3),{'name':'HMAC','hash':_0x1b43e3['CSVzE']},![],['sign']),_0x28ba92=await crypto[_0x5c021d(0x1bb)]['sign'](_0x1b43e3[_0x5c021d(0x1eb)],_0x5dfc8e,_0x59ca81['encode'](_0x1c39b5));return't='+_0x22d5d9+_0x5c021d(0x187)+w(_0x28ba92);}var _=['Authoriz'+_0x16ae38(0x178),'X-Signat'+_0x16ae38(0x182)];function _0x44de(_0x3920b5,_0x23219c){_0x3920b5=_0x3920b5-(-0x1bce+0xf6+0x1c44);const _0x2f8aa8=_0x1f15();let _0x44ed56=_0x2f8aa8[_0x3920b5];if(_0x44de['oBYyxo']===undefined){var _0x371154=function(_0x150f28){const _0x4af74d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56638d='',_0x11a3be='';for(let _0x509533=0x1048+0x16*-0xe3+0x33a,_0xebf5e,_0x336533,_0x2bae6c=0xf98+0x3*0x623+0x2201*-0x1;_0x336533=_0x150f28['charAt'](_0x2bae6c++);~_0x336533&&(_0xebf5e=_0x509533%(0x89b*0x2+0x633*-0x4+-0x116*-0x7)?_0xebf5e*(0x9f8+-0x1*-0x428+-0xde0)+_0x336533:_0x336533,_0x509533++%(-0x8*-0x3da+-0x2244+0x378))?_0x56638d+=String['fromCharCode'](-0x1b85+0x1*-0x261b+-0x17b*-0x2d&_0xebf5e>>(-(0x6*0x634+0x7df+-0x2d15)*_0x509533&0xd*-0x1d7+0x2a*-0x48+0x51*0x71)):0x21f*0x3+-0x17c*-0xd+0x1*-0x19a9){_0x336533=_0x4af74d['indexOf'](_0x336533);}for(let _0x3e790a=0xb*0x139+0x20c4+-0x2e37,_0xfa8ae1=_0x56638d['length'];_0x3e790a<_0xfa8ae1;_0x3e790a++){_0x11a3be+='%'+('00'+_0x56638d['charCodeAt'](_0x3e790a)['toString'](0x8d5*0x1+0x1ba+-0xa7f))['slice'](-(-0x2707*0x1+-0x26ad+0x4db6));}return decodeURIComponent(_0x11a3be);};_0x44de['fCqjlq']=_0x371154,_0x44de['dUaTPQ']={},_0x44de['oBYyxo']=!![];}const _0x3afb69=_0x2f8aa8[0x1fa9*-0x1+0x46*-0x6f+0x3e03],_0x5caa88=_0x3920b5+_0x3afb69,_0x155e48=_0x44de['dUaTPQ'][_0x5caa88];return!_0x155e48?(_0x44ed56=_0x44de['fCqjlq'](_0x44ed56),_0x44de['dUaTPQ'][_0x5caa88]=_0x44ed56):_0x44ed56=_0x155e48,_0x44ed56;}function E(_0x229a7f){const _0x203dab=_0x16ae38,_0x295f96={};_0x295f96[_0x203dab(0x1cf)]=function(_0x33dc5d,_0xe4aa15){return _0x33dc5d!=_0xe4aa15;},_0x295f96[_0x203dab(0x1c0)]=_0x203dab(0x1a5),_0x295f96['iSFAs']='[REDACTE'+'D]';const _0x5518ff=_0x295f96;if(!_0x229a7f||_0x5518ff['SJajf'](typeof _0x229a7f,_0x5518ff[_0x203dab(0x1c0)]))return;let _0x39de2a=_0x229a7f;for(let _0x4043c6 of[_0x39de2a[_0x203dab(0x1f3)]?.[_0x203dab(0x206)],_0x39de2a[_0x203dab(0x1fe)]?.[_0x203dab(0x206)]])if(_0x4043c6){for(let _0x36c48f of _)_0x4043c6[_0x36c48f]&&(_0x4043c6[_0x36c48f]=_0x5518ff[_0x203dab(0x188)]);}}var z=new Set([0x1628+0xa1e+-0x1eae,-0x9*-0x22a+-0x1539*0x1+-0xc*-0x49,-0x6*-0x3c7+0x1220+-0x7*0x58c,-0x5*-0x6f3+-0x188+-0x3e8*0x8,0x1d6b+-0x1*-0xdd9+-0x294c]),D=new Set(['get',_0x16ae38(0x205),_0x16ae38(0x1ac),_0x16ae38(0x17c),'delete']),O=new Set([_0x16ae38(0x1d3),'arraybuf'+'fer',_0x16ae38(0x17a),_0x16ae38(0x17d),_0x16ae38(0x1c7)]),a=class a{constructor({API_URL:_0x122d3b,useAuthorization:_0x214799,clientId:_0x598f66,tokenStorage:_0x2c5615,timeout:_0x4472c3,signingKey:_0xad0153,maxRetries:_0x330109,onUnauthorized:_0x27ff17}){const _0x176cd3=_0x16ae38,_0x3c667d={'CpwZI':_0x176cd3(0x1d0)+'t-ID','gQlsc':function(_0x50f07a,_0x1577d9){return _0x50f07a!==_0x1577d9;},'GpVVj':_0x176cd3(0x1d9),'dHelf':function(_0x3adb57,_0x5799d4){return _0x3adb57(_0x5799d4);},'WxiOW':function(_0x5cc36b,_0x280691,_0x726471){return _0x5cc36b(_0x280691,_0x726471);},'qgXEv':function(_0x8b4558,_0x31d81d,_0x4789fd,_0x30fa90,_0x4f179e,_0x46f9ec){return _0x8b4558(_0x31d81d,_0x4789fd,_0x30fa90,_0x4f179e,_0x46f9ec);},'wzjKU':_0x176cd3(0x194)+_0x176cd3(0x16f),'TLlgh':function(_0x414f9b,_0x2ffd25){return _0x414f9b==_0x2ffd25;},'VtItq':_0x176cd3(0x1df),'NPvfy':'data','SXECd':function(_0x2d3ab0,_0x447435){return _0x2d3ab0!=_0x447435;},'xoRAk':'[REDACTE'+'D]','NmauR':'Cvkjd','uLaPI':_0x176cd3(0x19d),'uIOln':function(_0x5e3841,_0x2dd7a0){return _0x5e3841(_0x2dd7a0);},'mUvQA':function(_0x8ef378,_0x3b7253){return _0x8ef378+_0x3b7253;},'vQdjd':function(_0x4b4cd7,_0x124f04){return _0x4b4cd7*_0x124f04;},'gXrQT':function(_0x5ab8de){return _0x5ab8de();},'JgxUS':function(_0x29eb2d,_0xbdb46b,_0x5d93d2){return _0x29eb2d(_0xbdb46b,_0x5d93d2);},'uSaGh':_0x176cd3(0x1b5)+_0x176cd3(0x1d7)},_0x14b441={};_0x14b441[_0x176cd3(0x1d5)+_0x176cd3(0x18e)]=_0x3c667d[_0x176cd3(0x170)],_0x14b441[_0x176cd3(0x1dd)]=_0x598f66;const _0x56cf04={};_0x56cf04[_0x176cd3(0x1f6)]=_0x122d3b,_0x56cf04['timeout']=_0x4472c3,_0x56cf04[_0x176cd3(0x206)]=_0x14b441,(this[_0x176cd3(0x1f0)+_0x176cd3(0x1aa)]=_0x214799,this[_0x176cd3(0x195)+'t']=$__default['default']['create'](_0x56cf04),this[_0x176cd3(0x195)+'t'][_0x176cd3(0x17b)+_0x176cd3(0x1b8)][_0x176cd3(0x1fe)][_0x176cd3(0x1f5)](async _0x4eee15=>{const _0x5abf77=_0x176cd3;if(_0x4eee15['headers'][_0x3c667d[_0x5abf77(0x1a8)]]=crypto[_0x5abf77(0x1d2)+'ID'](),this[_0x5abf77(0x1f0)+_0x5abf77(0x1aa)]){if(_0x3c667d[_0x5abf77(0x1e9)](_0x5abf77(0x1d9),_0x3c667d[_0x5abf77(0x1be)])){const _0x22f1d2={..._0x1bfce0?.[_0x5abf77(0x1ea)+_0x5abf77(0x196)]?.[_0x5abf77(0x206)],..._0x4c0f5d?.[_0x5abf77(0x206)]},_0x107c3a={..._0x4689b2?.[_0x5abf77(0x1ea)+_0x5abf77(0x196)]};return _0x107c3a[_0x5abf77(0x206)]=_0x22f1d2,_0x107c3a['params']=_0x5439b0?.['params'],_0x107c3a[_0x5abf77(0x1f2)]=_0x5d61e5?.[_0x5abf77(0x1f2)],_0x107c3a;}else{let _0x3ac125=_0x2c5615[_0x5abf77(0x1c6)]();if(_0x3ac125&&_0x3c667d[_0x5abf77(0x1c2)](S,_0x3ac125))return a[_0x5abf77(0x179)+_0x5abf77(0x1e7)]||(a[_0x5abf77(0x179)+_0x5abf77(0x1e7)]=!![],_0x2c5615[_0x5abf77(0x204)+'ken'](),_0x27ff17(),_0x3c667d[_0x5abf77(0x1b7)](setTimeout,()=>{const _0x82e1b9=_0x5abf77;a[_0x82e1b9(0x179)+_0x82e1b9(0x1e7)]=![];},-0x232*-0x2+0x47f*0x8+-0x1*0x2474)),Promise[_0x5abf77(0x1a2)](new Error(_0x5abf77(0x1ae)+_0x5abf77(0x1a0)));_0x3ac125&&(_0x4eee15['headers'][_0x5abf77(0x180)+'ation']=_0x5abf77(0x193)+_0x3ac125);}}if(_0xad0153){let _0x52db0a=_0x4eee15[_0x5abf77(0x16d)]??_0x5abf77(0x198),_0x183660=_0x4eee15[_0x5abf77(0x1b3)]??'',_0x429eb=I(_0x4eee15[_0x5abf77(0x1bd)]),_0x1d1549=_0x4eee15['data']!=null?JSON[_0x5abf77(0x1cb)+'y'](_0x4eee15[_0x5abf77(0x1f2)]):'';_0x4eee15['headers'][_0x5abf77(0x19a)+_0x5abf77(0x182)]=await _0x3c667d[_0x5abf77(0x18a)](U,_0xad0153,_0x52db0a,_0x183660,_0x429eb,_0x1d1549);}return _0x4eee15;},_0xde14a5=>Promise[_0x176cd3(0x1a2)](_0xde14a5)),this[_0x176cd3(0x195)+'t'][_0x176cd3(0x17b)+_0x176cd3(0x1b8)][_0x176cd3(0x1e1)][_0x176cd3(0x1f5)](_0x4351d0=>{const _0x51319a=_0x176cd3;let _0x295e30=_0x3c667d[_0x51319a(0x1c2)](String,_0x4351d0['headers'][_0x3c667d['wzjKU']]??''),_0x283452=_0x4351d0[_0x51319a(0x1f3)]?.['response'+_0x51319a(0x18e)]??'';if(_0x4351d0['data']&&!O[_0x51319a(0x1ca)](_0x283452)&&!_0x295e30['includes'](_0x51319a(0x1b5)+_0x51319a(0x1d7)))return Promise['reject'](new Error(_0x51319a(0x1b0)+_0x51319a(0x181)+'rada\x20del'+_0x51319a(0x1a4)+'\x20('+_0x295e30+(_0x51319a(0x1d4)+_0x51319a(0x1c5)+'ication/'+_0x51319a(0x1f9))));let _0x3ef7f9=_0x4351d0[_0x51319a(0x1f2)];return _0x3ef7f9&&_0x3c667d[_0x51319a(0x1af)](typeof _0x3ef7f9[_0x51319a(0x1e8)],_0x3c667d['VtItq'])&&_0x3c667d['NPvfy']in _0x3ef7f9&&(_0x4351d0[_0x51319a(0x1f2)]=_0x3ef7f9[_0x51319a(0x1f2)]),_0x4351d0;},async _0x59309a=>{const _0x440771=_0x176cd3;if(_0x3c667d[_0x440771(0x1f4)]!==_0x3c667d[_0x440771(0x18c)]){_0x3c667d[_0x440771(0x1ef)](E,_0x59309a);let _0x3c0a8c=_0x59309a[_0x440771(0x1f3)],_0x23dd7f=_0x59309a[_0x440771(0x1e1)]?.[_0x440771(0x1ad)],_0x1baf38=(_0x3c0a8c?.[_0x440771(0x16d)]??_0x440771(0x198))[_0x440771(0x1ab)+_0x440771(0x177)](),_0x1c0366=D[_0x440771(0x1ca)](_0x1baf38)&&(!_0x23dd7f||z['has'](_0x23dd7f)),_0xa9a15c=_0x3c0a8c?.[_0x440771(0x1a3)+_0x440771(0x201)]??-0x24f8+0x6a*-0x13+0x166b*0x2;if(_0x3c0a8c&&_0x1c0366&&_0xa9a15c<_0x330109){_0x3c0a8c[_0x440771(0x1a3)+_0x440771(0x201)]=_0x3c667d[_0x440771(0x1d8)](_0xa9a15c,-0xb8d+-0xd32+-0x20*-0xc6);let _0xb546d9=_0x3c667d['vQdjd'](Math[_0x440771(0x208)](0x160*-0x3+0xd*-0x8e+0xb58,_0x3c0a8c[_0x440771(0x1a3)+_0x440771(0x201)]),-0x94e*0x3+-0x1433+-0x1*-0x3211);return await new Promise(_0x26570a=>setTimeout(_0x26570a,_0xb546d9)),this[_0x440771(0x195)+'t'](_0x3c0a8c);}return _0x23dd7f===$[_0x440771(0x1c9)+_0x440771(0x1c4)]['Unauthor'+_0x440771(0x1b1)]&&!a[_0x440771(0x179)+'cting']&&(a[_0x440771(0x179)+_0x440771(0x1e7)]=!![],_0x2c5615['removeTo'+_0x440771(0x184)](),_0x3c667d[_0x440771(0x1b2)](_0x27ff17),_0x3c667d[_0x440771(0x1bc)](setTimeout,()=>{const _0x1122fb=_0x440771;a[_0x1122fb(0x179)+'cting']=![];},0x12d3+0x17c7+-0x26b2)),Promise[_0x440771(0x1a2)](_0x59309a);}else{if(!_0x4b5ff9||TkenXQ[_0x440771(0x1f7)](typeof _0x7e6c8b,_0x440771(0x1a5)))return;let _0x2fbdec=_0x211b57;for(let _0x27a8c9 of[_0x2fbdec[_0x440771(0x1f3)]?.[_0x440771(0x206)],_0x2fbdec[_0x440771(0x1fe)]?.[_0x440771(0x206)]])if(_0x27a8c9){for(let _0x5c7a45 of _0xaa4b88)_0x27a8c9[_0x5c7a45]&&(_0x27a8c9[_0x5c7a45]=TkenXQ[_0x440771(0x1fb)]);}}}));}[_0x16ae38(0x1a6)+_0x16ae38(0x186)](_0x1eec5a,_0x19b837){const _0x1c03fe=_0x16ae38,_0xcae4ac={..._0x1eec5a?.[_0x1c03fe(0x1ea)+_0x1c03fe(0x196)]};return _0xcae4ac['headers']={..._0x1eec5a?.['axiosCon'+_0x1c03fe(0x196)]?.['headers'],..._0x19b837?.[_0x1c03fe(0x206)]},_0xcae4ac['params']=_0x1eec5a?.[_0x1c03fe(0x1bd)],_0xcae4ac[_0x1c03fe(0x1f2)]=_0x1eec5a?.['data'],_0xcae4ac;}async[_0x16ae38(0x189)](_0x24dad4,_0xddf7c8){const _0x4340ec=_0x16ae38;return this[_0x4340ec(0x195)+'t'][_0x4340ec(0x198)](_0x24dad4?.[_0x4340ec(0x1e0)]??'',this['combineC'+'onfig'](_0x24dad4,_0xddf7c8));}async[_0x16ae38(0x1c1)](_0x121e1a,_0x64b807){const _0x264bc4=_0x16ae38;let _0xac5bf2=this['combineC'+_0x264bc4(0x186)](_0x121e1a,_0x64b807);return this['apiClien'+'t'][_0x264bc4(0x199)](_0x121e1a[_0x264bc4(0x1e0)]??'',_0xac5bf2['data'],_0xac5bf2);}async[_0x16ae38(0x200)](_0x335411,_0x4ffcb9){const _0x37a964=_0x16ae38;let _0x947974=this['combineC'+'onfig'](_0x335411,_0x4ffcb9);return this[_0x37a964(0x195)+'t'][_0x37a964(0x17c)](_0x335411[_0x37a964(0x1e0)]??'',_0x947974[_0x37a964(0x1f2)],_0x947974);}async[_0x16ae38(0x18d)](_0x46b8ac,_0x36b700){const _0x334a1d=_0x16ae38;let _0x27ef51=this[_0x334a1d(0x1a6)+_0x334a1d(0x186)](_0x46b8ac,_0x36b700);return this[_0x334a1d(0x195)+'t'][_0x334a1d(0x1fa)](_0x46b8ac[_0x334a1d(0x1e0)]??'',_0x27ef51[_0x334a1d(0x1f2)],_0x27ef51);}async['DELETE'](_0x2499de,_0x4b6a2c){const _0x208365=_0x16ae38;return this[_0x208365(0x195)+'t']['delete'](_0x2499de['path']??'',this[_0x208365(0x1a6)+_0x208365(0x186)](_0x2499de,_0x4b6a2c));}};a[_0x16ae38(0x179)+_0x16ae38(0x1e7)]=![];function _0x1f15(){const _0x1335d9=['DhLWzq','DvnHr2G','C29YDa','AM9PBG','CgfYC2u','reLWsLa','rwviALO','xsbmBgfTysa','yxnL','yxrPB24','AxnszwrPCMu','C3rYzwfT','Aw50zxjJzxa','Chv0','zg9JDw1LBNq','Aw1WB3j0s2u','otqYotaZtNfNqLz6','qxv0Ag9YAxO','ysbPBMvZCgu','DxjL','DwHyrM8','A2vU','s0HNuxq','B25MAwC','lhy9','Avngqxm','r0vu','CwDyrxy','zw50CMLLCW','DuXHueK','uefuq0G','vhLWzq','Cej5swq','ysbJCMvHDgu','ywrK','zMLSDgvY','qMvHCMvYia','y29UDgvUDc0','yxbPq2XPzw4','zMLN','A0zZz0e','z2v0','Cg9ZDa','wc1tAwDUyxq','qKXdEuS','zMXVB3i','uu9MuMi','u0Hblti1nG','y3jVChm','CgLYywrV','mZm1B1Dxu0rp','CMvQzwn0','x3jLDhj5q28','igDHDgv3yxK','B2jQzwn0','y29TyMLUzum','Aw5Ll2fNCY0','q3b3wKK','BwfW','CML6yxrPB24','Dg9mB3DLCKm','B3b0Aw9UCW','C3rHDhvZ','vg9Rzw4GzxG','veXSz2G','uMvZChvLC3q','AxPLza','z1HYuvq','DxjS','mtm4mZy5mevKAgjNwq','yxbWBgLJyxq','yxiGy3vHBhe','v3HPt1C','Dg9YCW','ANbJz2C','ote0ntHkC1r4yKS','C3vIDgXL','sMD4vvm','CgfYyw1Z','r3bwvMO','D2vIlwH0Dha','ANnOyxO','ue9tva','zeHLBgy','mtu1mtC0mgzpqM11vW','DxndB2rL','ywjHigfWCgW','z2v0vg9Rzw4','Dgv4Da','DwLLCIbMDw4','shr0Cfn0yxq','AgfZ','C3rYAw5NAwy','shr0CenVBMy','x2LK','v1v2shO','u0PHAMy','wc1szxf1zxm','C3bSAxq','CMfUzg9Tvvu','yMXVyG','ks4GrxnWzxi','q29UDgvUDc0','CMf3','Aw9Ul2PZB24','Bvv2uue','BxrJBKy','zMv0y2HvCgq','se1bqW','zMv0y2HdCM8','yxv0Aa','w0bHz3jVC2G','yM9VBgvHBG','Cgf0Aa','CMvZCg9UC2u','AwCOksbHBNq','yxrLq3jVCa','zgLNzxn0','CgfKu3rHCNq','Dg9tDhjPBMC','y3rPBMC','C3vJy2vZCW','z1fSC2m','yxHPB3ndB24','Be1eEeC','zxHW','mtu5nta5mJHzAgXlCLO','EMLjv0G','DuLpBg4','DxnLqxv0Ag8','BM93','zgf0yq','y29UzMLN','tM1HDvi','DxnL','yMfZzvvsta','u1Hfq2q','zw5JB2rL','ANnVBI4','Cgf0y2G','Eg9sqwS','yxHPB3m','mti3nty4meTPD29wua','CMvXDwvZDa','DJe6','ufvu','Dw50','CMvWBgfJzq','l2nVBMzPzY8','CMvTB3zLvg8','AgvHza','AgvHzgvYCW','C2v0','Cg93','vMjUy1q','zMv0y2HdCMu','Bwv0Ag9K','mtu3nti2n3rSAg1WBW'];_0x1f15=function(){return _0x1335d9;};return _0x1f15();}var h=a,k=h,R=new Map();b(()=>R['clear']());function l(_0x24da3b,_0x1d16e3){const _0x3e329b=_0x16ae38,_0x22c575={'LVlvX':function(_0x4c5e91){return _0x4c5e91();}};let _0x1aa1b4=_0x24da3b+'|'+_0x1d16e3,_0x1bdd21=R[_0x3e329b(0x198)](_0x1aa1b4);if(_0x1bdd21)return _0x1bdd21;let {baseURL:_0x5751be,clientId:_0x5b90bf,tokenStorage:_0x311c6d,timeout:_0x1ddf76,signingKey:_0x5aada5,maxRetries:_0x55ed76,onUnauthorized:_0x584cc4}=_0x22c575['LVlvX'](A),_0x270112=new k({'API_URL':''+_0x5751be+_0x24da3b,'useAuthorization':_0x1d16e3,'clientId':_0x5b90bf,'tokenStorage':_0x311c6d,'timeout':_0x1ddf76,'signingKey':_0x5aada5,'maxRetries':_0x55ed76,'onUnauthorized':_0x584cc4});return R[_0x3e329b(0x207)](_0x1aa1b4,_0x270112),_0x270112;}var m=_0x21bbfb=>({..._0x21bbfb,'_id':_0x21bbfb[_0x16ae38(0x1cd)]??_0x21bbfb['id']});async function ne(){const _0xa5c7bd=_0x16ae38,_0x58f638={'ziIWH':function(_0x502fdc,_0x1e2cab,_0x202c15){return _0x502fdc(_0x1e2cab,_0x202c15);},'jpcgg':'/config/'+'crops'};let _0x23bae6=await _0x58f638[_0xa5c7bd(0x1ee)](l,_0x58f638[_0xa5c7bd(0x1b9)],!![])[_0xa5c7bd(0x189)]();return _0x23bae6[_0xa5c7bd(0x1f2)]=Array['isArray'](_0x23bae6[_0xa5c7bd(0x1f2)])?_0x23bae6['data'][_0xa5c7bd(0x1a9)](m):[],_0x23bae6;}async function oe({_id:_0x107fbf}){const _0x4a60d5=_0x16ae38,_0x3f71de={'uhXFo':function(_0x3dcc8d,_0x11119d,_0xbd4717){return _0x3dcc8d(_0x11119d,_0xbd4717);},'itThO':function(_0x53436e,_0x512006){return _0x53436e(_0x512006);}},_0x3d7e2b={};_0x3d7e2b[_0x4a60d5(0x1e0)]='/'+_0x107fbf;let _0x576b9e=await _0x3f71de[_0x4a60d5(0x183)](l,_0x4a60d5(0x203)+'crops',!![])[_0x4a60d5(0x189)](_0x3d7e2b);return _0x576b9e[_0x4a60d5(0x1f2)]=_0x3f71de['itThO'](m,_0x576b9e[_0x4a60d5(0x1f2)]),_0x576b9e;}async function re(_0x23aec0){const _0x30b7ab=_0x16ae38,_0x2a0291={};_0x2a0291[_0x30b7ab(0x1ce)]=_0x30b7ab(0x203)+'crops';const _0x593f0e=_0x2a0291,_0x16db2e={};_0x16db2e[_0x30b7ab(0x1f2)]=_0x23aec0;let _0x2ca254=await l(_0x593f0e['WUvHz'],!![])['POST'](_0x16db2e);return _0x2ca254['data']=m(_0x2ca254[_0x30b7ab(0x1f2)]),_0x2ca254;}async function ie({id:_0x1b1e00,data:_0x2a2a60}){const _0x1e2a0a=_0x16ae38,_0x56706c={'AVDvD':function(_0x32e286,_0xcbe376){return _0x32e286(_0xcbe376);}},_0x380eef={};_0x380eef[_0x1e2a0a(0x1e0)]='/'+_0x1b1e00,_0x380eef[_0x1e2a0a(0x1f2)]=_0x2a2a60;let _0x1df668=await l(_0x1e2a0a(0x203)+_0x1e2a0a(0x19f),!![])[_0x1e2a0a(0x200)](_0x380eef);return _0x1df668[_0x1e2a0a(0x1f2)]=_0x56706c['AVDvD'](m,_0x1df668[_0x1e2a0a(0x1f2)]),_0x1df668;}exports[_0x16ae38(0x16c)+_0x16ae38(0x1e3)]=re,exports['fetchCro'+_0x16ae38(0x18f)]=oe,exports[_0x16ae38(0x1dc)+'ps']=ne,exports[_0x16ae38(0x1da)+_0x16ae38(0x1e3)]=ie;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { I as ICrop } from '../crop-Dd6QL8u1.cjs';
|
|
3
|
+
|
|
4
|
+
declare function fetchCrops(): Promise<axios.AxiosResponse<ICrop[], any, {}>>;
|
|
5
|
+
declare function fetchCropById({ _id }: {
|
|
6
|
+
_id: string;
|
|
7
|
+
}): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
8
|
+
declare function fetchCreateCrop(data: ICrop): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
9
|
+
declare function fetchUpdateCrop({ id, data }: {
|
|
10
|
+
id: string;
|
|
11
|
+
data: Partial<ICrop>;
|
|
12
|
+
}): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
13
|
+
|
|
14
|
+
export { fetchCreateCrop, fetchCropById, fetchCrops, fetchUpdateCrop };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { I as ICrop } from '../crop-Dd6QL8u1.js';
|
|
3
|
+
|
|
4
|
+
declare function fetchCrops(): Promise<axios.AxiosResponse<ICrop[], any, {}>>;
|
|
5
|
+
declare function fetchCropById({ _id }: {
|
|
6
|
+
_id: string;
|
|
7
|
+
}): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
8
|
+
declare function fetchCreateCrop(data: ICrop): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
9
|
+
declare function fetchUpdateCrop({ id, data }: {
|
|
10
|
+
id: string;
|
|
11
|
+
data: Partial<ICrop>;
|
|
12
|
+
}): Promise<axios.AxiosResponse<ICrop, any, {}>>;
|
|
13
|
+
|
|
14
|
+
export { fetchCreateCrop, fetchCropById, fetchCrops, fetchUpdateCrop };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x5a20cf=_0x175a;(function(_0xbdd11b,_0x2b3864){const _0x30eeaf=_0x175a,_0x15e7ab=_0xbdd11b();while(!![]){try{const _0x4c2122=-parseInt(_0x30eeaf(0x176))/(-0x1*-0x1e31+0x2259+-0x4089)*(parseInt(_0x30eeaf(0x17b))/(-0x13*-0x178+0x5*0x63b+-0x3b0d))+parseInt(_0x30eeaf(0x17f))/(-0x1*0x4c7+-0x1e39+-0x1*-0x2303)*(parseInt(_0x30eeaf(0x17c))/(0x1*-0x42c+-0x19f1+0x1e21))+parseInt(_0x30eeaf(0x17d))/(-0x281*0xd+0x789*-0x5+-0x16f*-0x31)*(parseInt(_0x30eeaf(0x182))/(-0xbe2+0xe*0x27+0x9c6*0x1))+-parseInt(_0x30eeaf(0x17a))/(0xf30+-0x7b6+-0x1*0x773)+-parseInt(_0x30eeaf(0x180))/(-0x1279+0x1ab1+0x10*-0x83)+-parseInt(_0x30eeaf(0x16e))/(0x1d54+-0x11*-0x7+0x125*-0x1a)+parseInt(_0x30eeaf(0x175))/(0x188c*0x1+-0x2337+-0xab5*-0x1);if(_0x4c2122===_0x2b3864)break;else _0x15e7ab['push'](_0x15e7ab['shift']());}catch(_0x202db4){_0x15e7ab['push'](_0x15e7ab['shift']());}}}(_0x5854,0xddf33+0x65ba*-0x29+0x1035f4));import{b}from'../chunk-ACO6G7O2.js';function _0x175a(_0x10a360,_0x29a568){_0x10a360=_0x10a360-(-0x1eb*-0x6+0x553+-0xf6a);const _0x51efce=_0x5854();let _0x161e7c=_0x51efce[_0x10a360];if(_0x175a['CcFXuB']===undefined){var _0x25b8cb=function(_0x3636d0){const _0x1ccf9d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x150786='',_0x24cc2a='';for(let _0x2ef63e=-0x1d0*-0x1+0xd52+0x95*-0x1a,_0x538726,_0x165c4c,_0x1bc708=0x352+-0x1*-0x1cd2+-0xb*0x2ec;_0x165c4c=_0x3636d0['charAt'](_0x1bc708++);~_0x165c4c&&(_0x538726=_0x2ef63e%(0x176*0x13+0x1d*0xec+-0x2*0x1b3d)?_0x538726*(-0x962*-0x3+-0x2495+-0x1*-0x8af)+_0x165c4c:_0x165c4c,_0x2ef63e++%(-0x4ad+-0x1de9+0x229a))?_0x150786+=String['fromCharCode'](0x1907+0x2428+-0xa08*0x6&_0x538726>>(-(0x2*-0x113c+-0x57c+-0xb*-0x3a2)*_0x2ef63e&0xd7c+0x1698+0x2*-0x1207)):-0x4db*-0x2+0xa6*0x1+-0xa5c){_0x165c4c=_0x1ccf9d['indexOf'](_0x165c4c);}for(let _0x35d192=-0x167c+0xef3+-0x1*-0x789,_0xc1d84c=_0x150786['length'];_0x35d192<_0xc1d84c;_0x35d192++){_0x24cc2a+='%'+('00'+_0x150786['charCodeAt'](_0x35d192)['toString'](-0x68f*0x5+-0x137d+0x3458))['slice'](-(0x3c4*0x4+0x1778+0x2686*-0x1));}return decodeURIComponent(_0x24cc2a);};_0x175a['FjkSvG']=_0x25b8cb,_0x175a['wgvjwn']={},_0x175a['CcFXuB']=!![];}const _0x4ab580=_0x51efce[-0x186d+-0x1e6e+0x36db],_0x39635a=_0x10a360+_0x4ab580,_0x590f1e=_0x175a['wgvjwn'][_0x39635a];return!_0x590f1e?(_0x161e7c=_0x175a['FjkSvG'](_0x161e7c),_0x175a['wgvjwn'][_0x39635a]=_0x161e7c):_0x161e7c=_0x590f1e,_0x161e7c;}import'../chunk-DJ5M3T5L.js';var a=_0x25b8cb=>({..._0x25b8cb,'_id':_0x25b8cb[_0x5a20cf(0x181)]??_0x25b8cb['id']});async function e(){const _0x5b9b0b=_0x5a20cf,_0x4ab580={};_0x4ab580[_0x5b9b0b(0x16f)]=_0x5b9b0b(0x16b)+_0x5b9b0b(0x16d);const _0x39635a=_0x4ab580;let _0x590f1e=await b(_0x39635a[_0x5b9b0b(0x16f)],!![])['GET']();return _0x590f1e[_0x5b9b0b(0x171)]=Array[_0x5b9b0b(0x17e)](_0x590f1e[_0x5b9b0b(0x171)])?_0x590f1e[_0x5b9b0b(0x171)][_0x5b9b0b(0x179)](a):[],_0x590f1e;}async function s({_id:_0x3636d0}){const _0x205181=_0x5a20cf,_0x1ccf9d={'fQYvl':function(_0x2ef63e,_0x538726,_0x165c4c){return _0x2ef63e(_0x538726,_0x165c4c);},'EFqHv':function(_0x1bc708,_0x35d192){return _0x1bc708(_0x35d192);}},_0x150786={};_0x150786[_0x205181(0x173)]='/'+_0x3636d0;let _0x24cc2a=await _0x1ccf9d[_0x205181(0x178)](b,_0x205181(0x16b)+_0x205181(0x16d),!![])[_0x205181(0x170)](_0x150786);return _0x24cc2a[_0x205181(0x171)]=_0x1ccf9d[_0x205181(0x172)](a,_0x24cc2a[_0x205181(0x171)]),_0x24cc2a;}async function c(_0xc1d84c){const _0x3658b9=_0x5a20cf,_0x801db5={};_0x801db5[_0x3658b9(0x174)]=_0x3658b9(0x16b)+'crops';const _0x710e37=_0x801db5,_0x16e159={};_0x16e159[_0x3658b9(0x171)]=_0xc1d84c;let _0x1c13de=await b(_0x710e37['VdlJx'],!![])[_0x3658b9(0x177)](_0x16e159);return _0x1c13de[_0x3658b9(0x171)]=a(_0x1c13de[_0x3658b9(0x171)]),_0x1c13de;}function _0x5854(){const _0x2601d5=['mtiYnZCYnJbMAuL0z3C','uKHtruK','r0vu','zgf0yq','ruzXshy','Cgf0Aa','vMrSsNG','mZyZnJy3mtbws2HQsxu','mZa4ntfJruvXAvq','ue9tva','zLfzDMW','BwfW','nJK1mte2oe1ADg9era','mta2qxPQswzi','mtjTAfbmsva','mZb5DxLlwKO','AxnbCNjHEq','mtiYnZa5m3DpCuvYDW','mtGYmdG2nhf6zML2zG','x2LK','mJu5odG0wMnor09s','l2nVBMzPzY8','ufvu','y3jVChm'];_0x5854=function(){return _0x2601d5;};return _0x5854();}async function i({id:_0x4b85f4,data:_0x513e6c}){const _0x1346e2=_0x5a20cf,_0x3fff02={'Tjfyd':function(_0x59d09c,_0x307263){return _0x59d09c(_0x307263);}},_0x1c0269={};_0x1c0269['path']='/'+_0x4b85f4,_0x1c0269[_0x1346e2(0x171)]=_0x513e6c;let _0xe4f522=await b(_0x1346e2(0x16b)+_0x1346e2(0x16d),!![])[_0x1346e2(0x16c)](_0x1c0269);return _0xe4f522[_0x1346e2(0x171)]=_0x3fff02['Tjfyd'](a,_0xe4f522[_0x1346e2(0x171)]),_0xe4f522;}export{c as fetchCreateCrop,s as fetchCropById,e as fetchCrops,i as fetchUpdateCrop};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
interface ICustomerCrop {
|
|
2
|
+
crop_id: string;
|
|
3
|
+
farm_crop_name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
planting_date: string;
|
|
6
|
+
farm_crop_aliases: string;
|
|
7
|
+
expected_harvest_date: string;
|
|
8
|
+
farm_crop_area: number;
|
|
9
|
+
irrigation_type_id: string;
|
|
10
|
+
}
|
|
11
|
+
interface ICustomerVariety {
|
|
12
|
+
variety_id: string;
|
|
13
|
+
farm_variety_name: string;
|
|
14
|
+
farm_variety_color: string;
|
|
15
|
+
farm_variety_aliases: string;
|
|
16
|
+
farm_variety_growth_cycle: number;
|
|
17
|
+
disease_resistance: string;
|
|
18
|
+
farm_variety_yield_potential: number;
|
|
19
|
+
}
|
|
20
|
+
interface ICustomerIndicator {
|
|
21
|
+
indicator_id: string;
|
|
22
|
+
farm_indicator_name: string;
|
|
23
|
+
crop_id: string;
|
|
24
|
+
farm_color: string;
|
|
25
|
+
farm_aliases?: string;
|
|
26
|
+
}
|
|
27
|
+
interface IBlock {
|
|
28
|
+
farm_block_aliases: string;
|
|
29
|
+
code: string;
|
|
30
|
+
name: string;
|
|
31
|
+
granularity: 'square' | 'lines' | 'cells';
|
|
32
|
+
leftBays: number;
|
|
33
|
+
rightBays: number;
|
|
34
|
+
bedsPerAisle: number;
|
|
35
|
+
cellsPerBed: number;
|
|
36
|
+
numSides: number;
|
|
37
|
+
centralAisleMeters: number;
|
|
38
|
+
bedWidthMeters: number;
|
|
39
|
+
bedLengthMeters: number;
|
|
40
|
+
bedRoadSize: number;
|
|
41
|
+
pointA: string;
|
|
42
|
+
pointB: string;
|
|
43
|
+
startPoint: string;
|
|
44
|
+
rows?: number;
|
|
45
|
+
cols?: number;
|
|
46
|
+
draft?: boolean;
|
|
47
|
+
version?: number | null;
|
|
48
|
+
implemented?: number;
|
|
49
|
+
maxTotalNaves?: number;
|
|
50
|
+
maxTotalBeds?: number;
|
|
51
|
+
}
|
|
52
|
+
interface ICustomer {
|
|
53
|
+
_id?: string;
|
|
54
|
+
name: string;
|
|
55
|
+
legal_name?: string;
|
|
56
|
+
nit?: string;
|
|
57
|
+
ica_registry?: string;
|
|
58
|
+
municipality?: string;
|
|
59
|
+
size: string;
|
|
60
|
+
state_config: string;
|
|
61
|
+
farm_type: string;
|
|
62
|
+
localidad?: number;
|
|
63
|
+
geolocation?: {
|
|
64
|
+
latitude: string | number;
|
|
65
|
+
longitude: string | number;
|
|
66
|
+
altitude?: string | number;
|
|
67
|
+
};
|
|
68
|
+
mapId: string;
|
|
69
|
+
total_area: number;
|
|
70
|
+
productive_area?: number;
|
|
71
|
+
blocks_count?: number;
|
|
72
|
+
crews_count?: number;
|
|
73
|
+
modules?: string[];
|
|
74
|
+
users?: string[];
|
|
75
|
+
active: boolean;
|
|
76
|
+
owner_name?: string;
|
|
77
|
+
group_id?: string | null;
|
|
78
|
+
crops?: ICustomerCrop[];
|
|
79
|
+
varieties?: ICustomerVariety[];
|
|
80
|
+
indicators?: ICustomerIndicator[];
|
|
81
|
+
blocks: IBlock[];
|
|
82
|
+
weekly_start?: number;
|
|
83
|
+
indicator_measurement?: string;
|
|
84
|
+
severity_color_map?: string;
|
|
85
|
+
}
|
|
86
|
+
interface IFarmType {
|
|
87
|
+
value: string;
|
|
88
|
+
label: string;
|
|
89
|
+
}
|
|
90
|
+
interface ISizes {
|
|
91
|
+
value: string;
|
|
92
|
+
label: string;
|
|
93
|
+
}
|
|
94
|
+
interface IFarmBlockStructure {
|
|
95
|
+
id: string;
|
|
96
|
+
blockName: string;
|
|
97
|
+
draft: boolean;
|
|
98
|
+
implemented: number;
|
|
99
|
+
expired: number | null;
|
|
100
|
+
maxTotalBeds: number;
|
|
101
|
+
maxTotalNaves: number;
|
|
102
|
+
sides: number;
|
|
103
|
+
bedsNave: number;
|
|
104
|
+
centralRoadSize: number;
|
|
105
|
+
widthBed: number;
|
|
106
|
+
lengthBed: number;
|
|
107
|
+
bedRoadSize: number;
|
|
108
|
+
created_at: string;
|
|
109
|
+
updated_at: string;
|
|
110
|
+
version?: number | null;
|
|
111
|
+
}
|
|
112
|
+
interface IModule {
|
|
113
|
+
_id: string;
|
|
114
|
+
name: string;
|
|
115
|
+
description?: string;
|
|
116
|
+
active: boolean;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type { ICustomer as I, IFarmBlockStructure as a, ICustomerCrop as b, IFarmType as c, ICustomerIndicator as d, IModule as e, ISizes as f, ICustomerVariety as g, IBlock as h };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
interface ICustomerCrop {
|
|
2
|
+
crop_id: string;
|
|
3
|
+
farm_crop_name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
planting_date: string;
|
|
6
|
+
farm_crop_aliases: string;
|
|
7
|
+
expected_harvest_date: string;
|
|
8
|
+
farm_crop_area: number;
|
|
9
|
+
irrigation_type_id: string;
|
|
10
|
+
}
|
|
11
|
+
interface ICustomerVariety {
|
|
12
|
+
variety_id: string;
|
|
13
|
+
farm_variety_name: string;
|
|
14
|
+
farm_variety_color: string;
|
|
15
|
+
farm_variety_aliases: string;
|
|
16
|
+
farm_variety_growth_cycle: number;
|
|
17
|
+
disease_resistance: string;
|
|
18
|
+
farm_variety_yield_potential: number;
|
|
19
|
+
}
|
|
20
|
+
interface ICustomerIndicator {
|
|
21
|
+
indicator_id: string;
|
|
22
|
+
farm_indicator_name: string;
|
|
23
|
+
crop_id: string;
|
|
24
|
+
farm_color: string;
|
|
25
|
+
farm_aliases?: string;
|
|
26
|
+
}
|
|
27
|
+
interface IBlock {
|
|
28
|
+
farm_block_aliases: string;
|
|
29
|
+
code: string;
|
|
30
|
+
name: string;
|
|
31
|
+
granularity: 'square' | 'lines' | 'cells';
|
|
32
|
+
leftBays: number;
|
|
33
|
+
rightBays: number;
|
|
34
|
+
bedsPerAisle: number;
|
|
35
|
+
cellsPerBed: number;
|
|
36
|
+
numSides: number;
|
|
37
|
+
centralAisleMeters: number;
|
|
38
|
+
bedWidthMeters: number;
|
|
39
|
+
bedLengthMeters: number;
|
|
40
|
+
bedRoadSize: number;
|
|
41
|
+
pointA: string;
|
|
42
|
+
pointB: string;
|
|
43
|
+
startPoint: string;
|
|
44
|
+
rows?: number;
|
|
45
|
+
cols?: number;
|
|
46
|
+
draft?: boolean;
|
|
47
|
+
version?: number | null;
|
|
48
|
+
implemented?: number;
|
|
49
|
+
maxTotalNaves?: number;
|
|
50
|
+
maxTotalBeds?: number;
|
|
51
|
+
}
|
|
52
|
+
interface ICustomer {
|
|
53
|
+
_id?: string;
|
|
54
|
+
name: string;
|
|
55
|
+
legal_name?: string;
|
|
56
|
+
nit?: string;
|
|
57
|
+
ica_registry?: string;
|
|
58
|
+
municipality?: string;
|
|
59
|
+
size: string;
|
|
60
|
+
state_config: string;
|
|
61
|
+
farm_type: string;
|
|
62
|
+
localidad?: number;
|
|
63
|
+
geolocation?: {
|
|
64
|
+
latitude: string | number;
|
|
65
|
+
longitude: string | number;
|
|
66
|
+
altitude?: string | number;
|
|
67
|
+
};
|
|
68
|
+
mapId: string;
|
|
69
|
+
total_area: number;
|
|
70
|
+
productive_area?: number;
|
|
71
|
+
blocks_count?: number;
|
|
72
|
+
crews_count?: number;
|
|
73
|
+
modules?: string[];
|
|
74
|
+
users?: string[];
|
|
75
|
+
active: boolean;
|
|
76
|
+
owner_name?: string;
|
|
77
|
+
group_id?: string | null;
|
|
78
|
+
crops?: ICustomerCrop[];
|
|
79
|
+
varieties?: ICustomerVariety[];
|
|
80
|
+
indicators?: ICustomerIndicator[];
|
|
81
|
+
blocks: IBlock[];
|
|
82
|
+
weekly_start?: number;
|
|
83
|
+
indicator_measurement?: string;
|
|
84
|
+
severity_color_map?: string;
|
|
85
|
+
}
|
|
86
|
+
interface IFarmType {
|
|
87
|
+
value: string;
|
|
88
|
+
label: string;
|
|
89
|
+
}
|
|
90
|
+
interface ISizes {
|
|
91
|
+
value: string;
|
|
92
|
+
label: string;
|
|
93
|
+
}
|
|
94
|
+
interface IFarmBlockStructure {
|
|
95
|
+
id: string;
|
|
96
|
+
blockName: string;
|
|
97
|
+
draft: boolean;
|
|
98
|
+
implemented: number;
|
|
99
|
+
expired: number | null;
|
|
100
|
+
maxTotalBeds: number;
|
|
101
|
+
maxTotalNaves: number;
|
|
102
|
+
sides: number;
|
|
103
|
+
bedsNave: number;
|
|
104
|
+
centralRoadSize: number;
|
|
105
|
+
widthBed: number;
|
|
106
|
+
lengthBed: number;
|
|
107
|
+
bedRoadSize: number;
|
|
108
|
+
created_at: string;
|
|
109
|
+
updated_at: string;
|
|
110
|
+
version?: number | null;
|
|
111
|
+
}
|
|
112
|
+
interface IModule {
|
|
113
|
+
_id: string;
|
|
114
|
+
name: string;
|
|
115
|
+
description?: string;
|
|
116
|
+
active: boolean;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type { ICustomer as I, IFarmBlockStructure as a, ICustomerCrop as b, IFarmType as c, ICustomerIndicator as d, IModule as e, ISizes as f, ICustomerVariety as g, IBlock as h };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x4610e2=_0x575c;(function(_0x38701e,_0x5ac9d5){const _0x1b495a=_0x575c,_0x16f646=_0x38701e();while(!![]){try{const _0x636697=-parseInt(_0x1b495a(0x1d7))/(0x10d4+0xa*-0x26f+0x783)+-parseInt(_0x1b495a(0x205))/(-0x1536+-0x9b1+0x1ee9)*(-parseInt(_0x1b495a(0x1b5))/(0x2694+-0x969*0x3+-0x1b*0x62))+-parseInt(_0x1b495a(0x25f))/(0x2042+0x1*0x54f+-0x258d)*(parseInt(_0x1b495a(0x1ac))/(-0x785+0x45*-0x55+-0x1*-0x1e73))+-parseInt(_0x1b495a(0x236))/(0xbb0+-0x26b5+-0x2b*-0xa1)+parseInt(_0x1b495a(0x195))/(-0x3fb*-0x7+-0x2380+0x7aa)*(parseInt(_0x1b495a(0x19c))/(0x2*0x109d+0x5aa+0x1*-0x26dc))+parseInt(_0x1b495a(0x1c7))/(-0x29d*-0x8+0x61f*0x2+0x31*-0xad)*(parseInt(_0x1b495a(0x198))/(-0x1b57+-0x21e5+0x3d46))+parseInt(_0x1b495a(0x244))/(0x1980+-0xf5*0x17+-0x372);if(_0x636697===_0x5ac9d5)break;else _0x16f646['push'](_0x16f646['shift']());}catch(_0x416bb8){_0x16f646['push'](_0x16f646['shift']());}}}(_0x237c,0xaff62+0x551*-0x91+0x540d*0x4));function _0x237c(){const _0x2ee7ba=['Dg9TzxjvC2u','z2v0vg9Rzw4','x3jLDhj5q28','y2TZ','mte5mZi4qKPOBwfM','C3vJy2vZCW','r2vXBgG','D2vIlwH0Dha','CMvXDwvZDa','C29YDa','rhHpvKu','zhbZzvu','DgLTzw91Da','ue9tva','DJe6','l3vZzxjZ','yxrPB24','yxiGy3vHBhe','r0vu','BMfTzq','C2v0','l21VzhvSzxm','wM5KD0e','y3rPBMC','Chv0','CgfKu3rHCNq','yxnL','Dc1jra','l3nPEMu','ENbRueW','ysbPBMvZCgu','zw5JB2rL','l2nVBMzPzY8','ze9hy04','Aw9Ul2PZB24','Dg9TzxjhCM8','zMv0y2HdCMu','z2v0','r1f5tu0','qNbTExm','CMfUzg9Tvvu','A2fuBvC','Dg9TzxjdCM8','DxndB2rL','AxnszwrPCMu','AwnHDg9YCW','D0PNANm','z3nZDuS','z3jVDxbZ','BKXtAMm','mMHJCuvOCa','q29UDgvUDc0','BNvTyMvY','BgXQAhy','zMXVB3i','l2jSB2nRCW','ysbJCMvHDgu','t0rcrNm','s2r0zNa','AgfZ','A2PxtfG','B2jQzwn0','y2GU','AwCOksbHBNq','CMvQzwn0','yxHPB3m','CgLYywrV','DxjL','Dxr4sNq','Cg9ZDa','uK1PDe0','AfbQDfq','EvLiqNC','DfftwKq','yxbWBgLJyxq','DK1uvxK','Dg9YCW','yxHPB3ndB24','Dg9tDhjPBMC','zg9JDw1LBNq','ENPzCfK','zMv0y2HvCgq','DwLLCIbMDw4','Dg9Tzxjgyxi','vg9Rzw4GzxG','uhjuCeO','CMvTB3zLvg8','y29UDgvUDc0','Dg9mB3DLCKm','zMvY','zxHW','yxbPq2XPzw4','C2LNBG','wc1tAwDUyxq','Dg9TzxjcBg8','zMLSDgvY','l2nYB3bZ','lhy9','zgvSzxrL','mZe5nJC0nLfgAevqAW','yM9VBgvHBG','C3DlCxG','revmrvrf','BhH0DwW','teXhwuu','zxmGzguGDxm','Aw1WB3j0s2u','qMjUq2e','AgvHzgvYCW','zgf0yq','BwvYq3jVChm','l2LUzgLJyxq','s1j4uwW','mti5ndiXnJbZtgfuEum','zgLNzxn0','AwnHDgLVBI8','qMvHCMvYia','x19LC01Vzhu','zgvMyxvSDa','y2XLyxi','ufvu','DhLWzq','sgvZq0u','vhLWzq','vNjMsLy','zMLN','wgj2rfy','Dg9TzxjnB2q','C3rYAw5NAwy','ENvoA1O','w1jfrefdveu','DxnLqxv0Ag8','y29UzMLN','B3jZ','rNPgELO','q0HTAvy','BwvYtw9KDwW','Cgf0y2G','DvL0zNG','D3r6wwG','mZC3ndH0tgDAuKW','igDHDgv3yxK','CgfYyw1Z','Bvr5CgvZ','Aw5JBhvKzxm','shr0Cfn0yxq','BwfW','CMvZCg9UC2u','mtG0mJq5mxHjCLjjuW','Dg9vChbLCKm','ks4GrxnWzxi','mtbszLzPqvC','uMvZChvLC3q','Aw50zxjJzxa','A0vVzfa','oenNyMzRza','w0bHz3jVC2G','AgfZAa','CgfYC2u','Bwv0Ag9K','uefuq0G','Dg9Tzxjwyxi','y3jLyxrL','swPvzvO','y2NdS24GzMv0','DwXLCW','DxnL','xsbmBgfTysa','C3vIDgXL','ywjHigfWCgW','DM5kq1y','nJm1rwrKsgPK','AgvHza','ywrK','z0zzCLe','DNLtzxu','l3zHCMLLDgK','l2zHCM0TDhK','DgLLCW','A2HYzhy','mJe5ntu2nxPMqMvsuG','yxrLq3vZDg8','AM9PBG','zMv0y2HdDxm','se1bqW','y29TyMLUzum','Dgv4Da','AxPLza','A2vU','uK5ft2m','Dw50','wc1szxf1zxm','Dg9TzxjZ','Dg9TzxjjBMq','Cg93','vw5HDxrOB3i','y3vZDg9Tzxi','qxv0Ag9YAxO','mJu5nJa1ow5oqvDyBq','CMfKysbKzwW','DxjS','BM93','zK9wvhO','CMvWBgfJzq','Cgf0Aa','qxjfrgC','BwvY','Awv0AwvZ','yxrVCNm','B25MAwC'];_0x237c=function(){return _0x2ee7ba;};return _0x237c();}function _0x575c(_0x450c94,_0x1f71a4){_0x450c94=_0x450c94-(0x119c+-0x126a*-0x2+-0x34de);const _0x2df135=_0x237c();let _0x295e8a=_0x2df135[_0x450c94];if(_0x575c['pInOLI']===undefined){var _0x375589=function(_0x32d5b5){const _0x5f2db2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2fd5ea='',_0x2ac946='';for(let _0x1885b9=-0x971+0x86b+-0x83*-0x2,_0x2f9dae,_0x3dad14,_0x5259fe=-0x2*0xcfc+-0x1c1+-0x2f*-0x97;_0x3dad14=_0x32d5b5['charAt'](_0x5259fe++);~_0x3dad14&&(_0x2f9dae=_0x1885b9%(-0x1227+-0xcf1+0x1f1c)?_0x2f9dae*(0x4a*-0x45+-0x1*0x11c9+0xca9*0x3)+_0x3dad14:_0x3dad14,_0x1885b9++%(-0x1*0x26ad+0x121*0x22+-0x1*-0x4f))?_0x2fd5ea+=String['fromCharCode'](0x1076+0x206+-0x25*0x79&_0x2f9dae>>(-(-0x1*-0x6ef+-0x1*0x2629+0x4*0x7cf)*_0x1885b9&-0xb*-0x15a+-0x7*0x30a+0x66e)):-0x770+0x3e+-0x399*-0x2){_0x3dad14=_0x5f2db2['indexOf'](_0x3dad14);}for(let _0x3de698=-0x1b*0x4a+-0x1026*-0x1+-0x858,_0x2decfa=_0x2fd5ea['length'];_0x3de698<_0x2decfa;_0x3de698++){_0x2ac946+='%'+('00'+_0x2fd5ea['charCodeAt'](_0x3de698)['toString'](-0xe*0x51+0x2*-0x484+0xd86))['slice'](-(-0x190c+0x3*-0x3be+0x2448));}return decodeURIComponent(_0x2ac946);};_0x575c['KuGSFQ']=_0x375589,_0x575c['dLZYpp']={},_0x575c['pInOLI']=!![];}const _0x11313a=_0x2df135[0x6*0x449+-0x26c5+0x1*0xd0f],_0x194c72=_0x450c94+_0x11313a,_0x2780c8=_0x575c['dLZYpp'][_0x194c72];return!_0x2780c8?(_0x295e8a=_0x575c['KuGSFQ'](_0x295e8a),_0x575c['dLZYpp'][_0x194c72]=_0x295e8a):_0x295e8a=_0x2780c8,_0x295e8a;}var j=require(_0x4610e2(0x214));function _interopDefault(_0x5e8891){const _0x156681=_0x4610e2;return _0x5e8891&&_0x5e8891[_0x156681(0x248)+'le']?_0x5e8891:{'default':_0x5e8891};}var j__default=_interopDefault(j),$=new Set();function x(_0x21017b){const _0x21b4d0=_0x4610e2;$[_0x21b4d0(0x1ae)](_0x21017b);}function I(){const _0x292faf=_0x4610e2,_0x44298a={};_0x44298a[_0x292faf(0x1f4)]=_0x292faf(0x19d)+'ine/ags-'+_0x292faf(0x1da)+_0x292faf(0x1a8)+_0x292faf(0x20b)+'HttpConf'+_0x292faf(0x212)+_0x292faf(0x23c)+_0x292faf(0x1e4)+_0x292faf(0x225)+_0x292faf(0x1a5)+_0x292faf(0x211);const _0x51ee51=_0x44298a;throw new Error(_0x51ee51[_0x292faf(0x1f4)]);}function b(_0x2b1f85){const _0x195c09=_0x4610e2,_0x3210fc={'Kdtfp':function(_0x3cc778,_0x305212){return _0x3cc778(_0x305212);},'nLSjc':function(_0x207b5b,_0x9c5140){return _0x207b5b==_0x9c5140;},'gFYrQ':function(_0xc60565,_0x2b61c6){return _0xc60565<_0x2b61c6;},'zpkPL':function(_0x59fd1f,_0x12b128){return _0x59fd1f*_0x12b128;}};try{let _0x3cb0ef=_0x2b1f85['split']('.')[0x270*0x4+-0x1*-0xb11+-0x6*0x378]['replace'](/-/g,'+')[_0x195c09(0x1cc)](/_/g,'/'),_0x31f46c=JSON[_0x195c09(0x19f)](_0x3210fc[_0x195c09(0x20d)](atob,_0x3cb0ef));return _0x3210fc[_0x195c09(0x204)](typeof _0x31f46c[_0x195c09(0x22d)],_0x195c09(0x207))&&_0x3210fc[_0x195c09(0x1af)](_0x3210fc[_0x195c09(0x1f0)](_0x31f46c[_0x195c09(0x22d)],-0x170+0x20eb+-0x931*0x3),Date['now']());}catch{return![];}}function S(_0xf33e6c){const _0x532121=_0x4610e2;return Array['from'](new Uint8Array(_0xf33e6c))[_0x532121(0x193)](_0x146a3f=>_0x146a3f[_0x532121(0x221)](-0x19b2+0x1*-0xe78+0x283a)[_0x532121(0x1ec)](0xd9+-0x1823+0x174c,'0'))[_0x532121(0x1b7)]('');}async function H(_0x1d1cd3){const _0x2ee621=_0x4610e2,_0x2d6374={'FzFzZ':'SHA-256','VrfJV':function(_0x4bda15,_0x2c1be9){return _0x4bda15(_0x2c1be9);}};let _0x5eadf0=await crypto[_0x2ee621(0x1a9)][_0x2ee621(0x245)](_0x2d6374[_0x2ee621(0x259)],new TextEncoder()[_0x2ee621(0x1f2)](_0x1d1cd3));return _0x2d6374[_0x2ee621(0x24f)](S,_0x5eadf0);}function U(_0x2e6275){const _0x253341=_0x4610e2,_0x23737f={};_0x23737f[_0x253341(0x1ab)]='object';const _0x474ff4=_0x23737f;return!_0x2e6275||typeof _0x2e6275!=_0x474ff4['vnJCV']?'':Object['entries'](_0x2e6275)[_0x253341(0x232)](([,_0x28cd85])=>_0x28cd85!=null)[_0x253341(0x1dc)](([_0x18af7a],[_0x56ca64])=>_0x18af7a<_0x56ca64?-(0xb07+0x1001+-0x1b07):_0x18af7a>_0x56ca64?0x7fc*-0x1+0xadb+-0x2de:0x2*-0xdd9+0x101*-0xf+0x3e3*0xb)[_0x253341(0x193)](([_0x248baf,_0x566b09])=>encodeURIComponent(_0x248baf)+'='+encodeURIComponent(String(_0x566b09)))[_0x253341(0x1b7)]('&');}async function A(_0x329b68,_0x2bc2bc,_0x58559a,_0x2c3b0e='',_0x2f3bd4=''){const _0x4afea8=_0x4610e2,_0x203c63={};_0x203c63[_0x4afea8(0x23e)]=function(_0x11a6fd,_0x5e2299){return _0x11a6fd/_0x5e2299;},_0x203c63['rwrje']='raw',_0x203c63[_0x4afea8(0x1fc)]='HMAC';const _0xadf22b=_0x203c63,_0x56430e={};_0x56430e[_0x4afea8(0x1e6)]=_0x4afea8(0x1b9),_0x56430e[_0x4afea8(0x19e)]='SHA-256';let _0x3199a3=Math[_0x4afea8(0x209)](_0xadf22b['BbnCa'](Date[_0x4afea8(0x1ca)](),0x4c*0x34+-0x1*-0x142f+0x1fb7*-0x1))[_0x4afea8(0x221)](),_0x105d74=await H(_0x2f3bd4),_0x1c80cd=_0x4afea8(0x1e1)+_0x3199a3+':'+_0x2bc2bc[_0x4afea8(0x196)+_0x4afea8(0x1ed)]()+':'+_0x58559a+':'+_0x2c3b0e+':'+_0x105d74,_0x3cc701=new TextEncoder(),_0x17645e=await crypto[_0x4afea8(0x1a9)][_0x4afea8(0x23d)+'y'](_0xadf22b['rwrje'],_0x3cc701[_0x4afea8(0x1f2)](_0x329b68),_0x56430e,![],['sign']),_0x27b828=await crypto[_0x4afea8(0x1a9)][_0x4afea8(0x22f)](_0xadf22b[_0x4afea8(0x1fc)],_0x17645e,_0x3cc701['encode'](_0x1c80cd));return't='+_0x3199a3+_0x4afea8(0x234)+S(_0x27b828);}var q=[_0x4610e2(0x1c6)+_0x4610e2(0x1e3),'X-Signat'+_0x4610e2(0x216)];function E(_0x4cd633){const _0xa43daa=_0x4610e2,_0x4b09fb={};_0x4b09fb[_0xa43daa(0x1dd)]=function(_0x215582,_0x6ee0a1){return _0x215582!=_0x6ee0a1;},_0x4b09fb[_0xa43daa(0x20f)]=_0xa43daa(0x210);const _0x2a7df8=_0x4b09fb;if(!_0x4cd633||_0x2a7df8[_0xa43daa(0x1dd)](typeof _0x4cd633,_0x2a7df8[_0xa43daa(0x20f)]))return;let _0x302391=_0x4cd633;for(let _0x455981 of[_0x302391[_0xa43daa(0x257)]?.[_0xa43daa(0x23f)],_0x302391[_0xa43daa(0x1db)]?.['headers']])if(_0x455981){for(let _0x883a55 of q)_0x455981[_0x883a55]&&(_0x455981[_0x883a55]=_0xa43daa(0x255)+'D]');}}var _=new Set([-0xba9+-0x2*-0x94f+-0x55d,-0x56b*0x3+-0x8*-0x2ea+-0x2*0x2b1,0x692*-0x1+0x25da+-0x6*0x4e3,-0x40*0x56+-0xb33*0x3+0xa6*0x58,0x251*-0x7+-0x4cb*-0x7+0x1*-0xf5e]),z=new Set([_0x4610e2(0x1f8),_0x4610e2(0x1ad),'options',_0x4610e2(0x1eb),'delete']),G=new Set(['blob','arraybuf'+_0x4610e2(0x22c),'stream',_0x4610e2(0x222),_0x4610e2(0x1bb)]),u=class u{constructor({API_URL:_0x2a5014,useAuthorization:_0x2c5599,clientId:_0x34d8b3,tokenStorage:_0x542909,timeout:_0x106d00,signingKey:_0x10d779,maxRetries:_0x35a9ba,onUnauthorized:_0x13da5}){const _0x1dcb8f=_0x4610e2,_0x492f19={'cInNs':_0x1dcb8f(0x25a),'vMTUy':function(_0x2b8b29,_0x16b98c){return _0x2b8b29(_0x16b98c);},'RNEOc':function(_0x581bd8){return _0x581bd8();},'GQyMM':_0x1dcb8f(0x227)+_0x1dcb8f(0x215),'zzYpY':function(_0x438704,_0x39d565){return _0x438704!=_0x39d565;},'ODBFs':function(_0x574d19,_0x29887a,_0x38094c,_0x385b87,_0x35b110,_0x958118){return _0x574d19(_0x29887a,_0x38094c,_0x385b87,_0x35b110,_0x958118);},'fvWAS':_0x1dcb8f(0x22a)+_0x1dcb8f(0x24c),'HesCE':_0x1dcb8f(0x21d)+_0x1dcb8f(0x1f5),'Bpmys':function(_0x53fc10,_0x286d3c){return _0x53fc10==_0x286d3c;},'Geqlh':function(_0x54e073,_0x4bb493){return _0x54e073 in _0x4bb493;},'FAQLh':function(_0xd1d26a,_0x10de05){return _0xd1d26a!==_0x10de05;},'wtzYh':_0x1dcb8f(0x23b),'kEodP':function(_0x25e2c4,_0x5bf942){return _0x25e2c4&&_0x5bf942;},'ArEDg':function(_0x58a0fc,_0x557b87){return _0x58a0fc<_0x557b87;},'lljhv':function(_0x3a38a4,_0x4403c2){return _0x3a38a4+_0x4403c2;},'XbvDV':function(_0x25ae6a,_0x2fa4f5){return _0x25ae6a*_0x2fa4f5;},'HPkUD':function(_0x42310f,_0xb229a4,_0x98bafd){return _0x42310f(_0xb229a4,_0x98bafd);}},_0xc35f71={};_0xc35f71[_0x1dcb8f(0x206)+_0x1dcb8f(0x24e)]=_0x1dcb8f(0x21d)+_0x1dcb8f(0x1f5),_0xc35f71['auth']=_0x34d8b3;const _0x22f114={};_0x22f114['baseURL']=_0x2a5014,_0x22f114[_0x1dcb8f(0x1df)]=_0x106d00,_0x22f114[_0x1dcb8f(0x23f)]=_0xc35f71,(this[_0x1dcb8f(0x256)+'rization']=_0x2c5599,this[_0x1dcb8f(0x22e)+'t']=j__default[_0x1dcb8f(0x249)][_0x1dcb8f(0x1a3)](_0x22f114),this[_0x1dcb8f(0x22e)+'t'][_0x1dcb8f(0x19a)+_0x1dcb8f(0x21f)][_0x1dcb8f(0x1db)][_0x1dcb8f(0x1a7)](async _0x12e14a=>{const _0x28609d=_0x1dcb8f;if(_0x492f19['cInNs']===_0x28609d(0x254))_0x3a4fdd[_0x28609d(0x1ff)+_0x28609d(0x1ea)]=![];else{if(_0x12e14a[_0x28609d(0x23f)][_0x28609d(0x1c0)+_0x28609d(0x1ee)]=crypto[_0x28609d(0x1fb)+'ID'](),this[_0x28609d(0x256)+'rization']){let _0x137393=_0x542909[_0x28609d(0x1d4)]();if(_0x137393&&_0x492f19['vMTUy'](b,_0x137393))return u['isRedire'+'cting']||(u[_0x28609d(0x1ff)+_0x28609d(0x1ea)]=!![],_0x542909['removeTo'+'ken'](),_0x492f19[_0x28609d(0x1be)](_0x13da5),setTimeout(()=>{const _0x13ec6c=_0x28609d;u[_0x13ec6c(0x1ff)+'cting']=![];},-0x36*0xb+-0x1e21+-0x1*-0x245b)),Promise[_0x28609d(0x213)](new Error(_0x492f19[_0x28609d(0x1f9)]));_0x137393&&(_0x12e14a[_0x28609d(0x23f)]['Authoriz'+_0x28609d(0x1e3)]=_0x28609d(0x247)+_0x137393);}if(_0x10d779){let _0x4e5d8e=_0x12e14a[_0x28609d(0x1a0)]??'get',_0x2b7b76=_0x12e14a[_0x28609d(0x1c9)]??'',_0x1b22ee=U(_0x12e14a[_0x28609d(0x261)]),_0x1fb9ff=_0x492f19[_0x28609d(0x223)](_0x12e14a[_0x28609d(0x240)],null)?JSON[_0x28609d(0x253)+'y'](_0x12e14a['data']):'';_0x12e14a['headers'][_0x28609d(0x230)+_0x28609d(0x216)]=await _0x492f19[_0x28609d(0x20c)](A,_0x10d779,_0x4e5d8e,_0x2b7b76,_0x1b22ee,_0x1fb9ff);}return _0x12e14a;}},_0x4cd555=>Promise[_0x1dcb8f(0x213)](_0x4cd555)),this[_0x1dcb8f(0x22e)+'t'][_0x1dcb8f(0x19a)+'tors'][_0x1dcb8f(0x194)]['use'](_0x4a0719=>{const _0x58513a=_0x1dcb8f;let _0x3c060d=_0x492f19[_0x58513a(0x21e)](String,_0x4a0719[_0x58513a(0x23f)][_0x492f19['fvWAS']]??''),_0x3bb9cf=_0x4a0719[_0x58513a(0x257)]?.[_0x58513a(0x194)+'Type']??'';if(_0x4a0719[_0x58513a(0x240)]&&!G[_0x58513a(0x20e)](_0x3bb9cf)&&!_0x3c060d[_0x58513a(0x263)](_0x492f19[_0x58513a(0x24d)]))return Promise[_0x58513a(0x213)](new Error(_0x58513a(0x199)+_0x58513a(0x1f1)+_0x58513a(0x1c8)+_0x58513a(0x260)+'\x20('+_0x3c060d+(_0x58513a(0x197)+_0x58513a(0x1aa)+_0x58513a(0x246)+'json.')));let _0x237ec0=_0x4a0719[_0x58513a(0x240)];return _0x237ec0&&_0x492f19[_0x58513a(0x1fa)](typeof _0x237ec0[_0x58513a(0x1d8)],_0x58513a(0x237))&&_0x492f19[_0x58513a(0x1d9)](_0x58513a(0x240),_0x237ec0)&&(_0x4a0719[_0x58513a(0x240)]=_0x237ec0[_0x58513a(0x240)]),_0x4a0719;},async _0x2d247c=>{const _0x5e2813=_0x1dcb8f;E(_0x2d247c);let _0x31d444=_0x2d247c['config'],_0x496e70=_0x2d247c[_0x5e2813(0x194)]?.['status'],_0x2da0da=(_0x31d444?.[_0x5e2813(0x1a0)]??_0x5e2813(0x1f8))[_0x5e2813(0x22b)+_0x5e2813(0x1ed)](),_0x30d1fc=z[_0x5e2813(0x20e)](_0x2da0da)&&(!_0x496e70||_['has'](_0x496e70)),_0x4e324b=_0x31d444?.[_0x5e2813(0x1d5)+_0x5e2813(0x1bf)]??-0x1f69+-0x9f8+0x6b*0x63;if(_0x492f19[_0x5e2813(0x19b)](_0x31d444,_0x30d1fc)&&_0x492f19[_0x5e2813(0x1ce)](_0x4e324b,_0x35a9ba)){_0x31d444[_0x5e2813(0x1d5)+_0x5e2813(0x1bf)]=_0x492f19[_0x5e2813(0x208)](_0x4e324b,0x5*-0x1f1+-0x1*0x15d+0x2d*0x3f);let _0x1ea1bc=_0x492f19[_0x5e2813(0x251)](Math[_0x5e2813(0x1c3)](-0x1*0xd1b+-0xf60*-0x1+-0x243,_0x31d444['_retryCo'+_0x5e2813(0x1bf)]),-0x1*0x15b+-0xdf*0x1f+0x1*0x1e50);return await new Promise(_0x4e3aef=>setTimeout(_0x4e3aef,_0x1ea1bc)),this['apiClien'+'t'](_0x31d444);}return _0x496e70===j[_0x5e2813(0x192)+_0x5e2813(0x1fe)][_0x5e2813(0x1c4)+_0x5e2813(0x1bc)]&&!u[_0x5e2813(0x1ff)+_0x5e2813(0x1ea)]&&(u[_0x5e2813(0x1ff)+_0x5e2813(0x1ea)]=!![],_0x542909[_0x5e2813(0x229)+_0x5e2813(0x1bd)](),_0x13da5(),_0x492f19['HPkUD'](setTimeout,()=>{const _0x5aa127=_0x5e2813,_0x36b797={'dpseU':function(_0x3e2eaf,_0x1fa0e7,_0x23c448){return _0x3e2eaf(_0x1fa0e7,_0x23c448);}};if(_0x492f19['FAQLh'](_0x5aa127(0x23b),_0x492f19[_0x5aa127(0x25e)])){const _0x40783f={};return _0x40783f[_0x5aa127(0x1cd)]=_0x5aa127(0x1ef),_0x36b797[_0x5aa127(0x1de)](_0x429610,_0x5aa127(0x1f3)+'customer'+'s',!![])[_0x5aa127(0x1e5)](_0x40783f);}else u['isRedire'+_0x5aa127(0x1ea)]=![];},0x5*0xe3+0x18b3+0x193a*-0x1)),Promise[_0x5e2813(0x213)](_0x2d247c);}));}['combineC'+_0x4610e2(0x1d2)](_0x1d0ced,_0x13556c){const _0x1cd932=_0x4610e2,_0x237aa4={..._0x1d0ced?.[_0x1cd932(0x220)+_0x1cd932(0x250)]};return _0x237aa4['headers']={..._0x1d0ced?.[_0x1cd932(0x220)+_0x1cd932(0x250)]?.[_0x1cd932(0x23f)],..._0x13556c?.[_0x1cd932(0x23f)]},_0x237aa4[_0x1cd932(0x261)]=_0x1d0ced?.['params'],_0x237aa4['data']=_0x1d0ced?.[_0x1cd932(0x240)],_0x237aa4;}async['GET'](_0x1cb5ae,_0x4c65a8){const _0xa3dbf9=_0x4610e2;return this[_0xa3dbf9(0x22e)+'t'][_0xa3dbf9(0x1f8)](_0x1cb5ae?.[_0xa3dbf9(0x1cd)]??'',this[_0xa3dbf9(0x1ba)+_0xa3dbf9(0x1d2)](_0x1cb5ae,_0x4c65a8));}async['POST'](_0x4ad282,_0x1fe8e0){const _0x3795fa=_0x4610e2;let _0x2d2261=this[_0x3795fa(0x1ba)+_0x3795fa(0x1d2)](_0x4ad282,_0x1fe8e0);return this['apiClien'+'t'][_0x3795fa(0x218)](_0x4ad282[_0x3795fa(0x1cd)]??'',_0x2d2261[_0x3795fa(0x240)],_0x2d2261);}async['PUT'](_0x267250,_0x3f25b2){const _0x4ee388=_0x4610e2;let _0x34c8e1=this[_0x4ee388(0x1ba)+_0x4ee388(0x1d2)](_0x267250,_0x3f25b2);return this[_0x4ee388(0x22e)+'t'][_0x4ee388(0x1eb)](_0x267250[_0x4ee388(0x1cd)]??'',_0x34c8e1[_0x4ee388(0x240)],_0x34c8e1);}async[_0x4610e2(0x1a1)](_0xdcafb6,_0x53bf70){const _0x3b6705=_0x4610e2;let _0x125e83=this[_0x3b6705(0x1ba)+'onfig'](_0xdcafb6,_0x53bf70);return this['apiClien'+'t'][_0x3b6705(0x25c)](_0xdcafb6['path']??'',_0x125e83['data'],_0x125e83);}async[_0x4610e2(0x239)](_0x45c813,_0x5d5cdf){const _0x2e81cf=_0x4610e2;return this['apiClien'+'t'][_0x2e81cf(0x235)](_0x45c813[_0x2e81cf(0x1cd)]??'',this[_0x2e81cf(0x1ba)+_0x2e81cf(0x1d2)](_0x45c813,_0x5d5cdf));}};u['isRedire'+_0x4610e2(0x1ea)]=![];var h=u,w=h,l=new Map();x(()=>l[_0x4610e2(0x24a)]());function i(_0x3807e6,_0x34b922){const _0xaa6ab3=_0x4610e2,_0x3041af={'KRxQl':function(_0x4d084a){return _0x4d084a();}};let _0x5289a8=_0x3807e6+'|'+_0x34b922,_0x497972=l[_0xaa6ab3(0x1f8)](_0x5289a8);if(_0x497972)return _0x497972;let {baseURL:_0xee56b3,clientId:_0x461ed0,tokenStorage:_0x209dbf,timeout:_0x46cc0b,signingKey:_0x471cce,maxRetries:_0x420b46,onUnauthorized:_0x1bc18c}=_0x3041af[_0xaa6ab3(0x243)](I),_0x4e2830=new w({'API_URL':''+_0xee56b3+_0x3807e6,'useAuthorization':_0x34b922,'clientId':_0x461ed0,'tokenStorage':_0x209dbf,'timeout':_0x46cc0b,'signingKey':_0x471cce,'maxRetries':_0x420b46,'onUnauthorized':_0x1bc18c});return l[_0xaa6ab3(0x1e7)](_0x5289a8,_0x4e2830),_0x4e2830;}async function te(){const _0xf629d6=_0x4610e2,_0x5eb8d2={'aByNz':function(_0x47d4a9,_0x91af2b,_0x13e305){return _0x47d4a9(_0x91af2b,_0x13e305);},'ulCKB':_0xf629d6(0x1f3)+'customer'+'s'};return _0x5eb8d2['aByNz'](i,_0x5eb8d2['ulCKB'],!![])[_0xf629d6(0x1e5)]();}async function oe({_id:_0x2e792b}){const _0x325c25=_0x4610e2,_0x33ca3c={};_0x33ca3c[_0x325c25(0x1cb)]=_0x325c25(0x1f3)+_0x325c25(0x1c5)+'s';const _0xc558a9=_0x33ca3c,_0x3ba79c={};return _0x3ba79c['path']='/'+_0x2e792b,i(_0xc558a9['fOVTz'],!![])[_0x325c25(0x1e5)](_0x3ba79c);}async function ne(_0x5f2566){const _0x418981=_0x4610e2,_0x38c7b2={};return _0x38c7b2[_0x418981(0x1cd)]='/',_0x38c7b2[_0x418981(0x240)]=_0x5f2566,i('/config/'+_0x418981(0x1c5)+'s',!![])[_0x418981(0x1e0)](_0x38c7b2);}async function re({_id:_0x36c573,data:_0x111695}){const _0x699798=_0x4610e2,_0x37a01e={'jlsPL':function(_0x121c00,_0x44cbf9,_0x3a54ec){return _0x121c00(_0x44cbf9,_0x3a54ec);},'tQSZD':_0x699798(0x1f3)+'customer'+'s'},_0x1e9ce1={};return _0x1e9ce1[_0x699798(0x1cd)]='/'+_0x36c573,_0x1e9ce1['data']=_0x111695,_0x37a01e['jlsPL'](i,_0x37a01e[_0x699798(0x21c)],!![])['PUT'](_0x1e9ce1);}async function se(){const _0x23fb78=_0x4610e2,_0x45d4ba={};_0x45d4ba[_0x23fb78(0x201)]=_0x23fb78(0x1f3)+'customer'+'s';const _0x231a9b=_0x45d4ba,_0x37dd05={};return _0x37dd05[_0x23fb78(0x1cd)]=_0x23fb78(0x1b2)+'pe',i(_0x231a9b['wJgjs'],!![])[_0x23fb78(0x1e5)](_0x37dd05);}async function ie(){const _0x1799f8=_0x4610e2,_0x3b4f94={'khrdv':function(_0x3cea05,_0x54eb61,_0x23a264){return _0x3cea05(_0x54eb61,_0x23a264);},'vySeu':'/size'};return _0x3b4f94[_0x1799f8(0x1b4)](i,_0x1799f8(0x1f3)+_0x1799f8(0x1c5)+'s',!![])[_0x1799f8(0x1e5)]({'path':_0x3b4f94[_0x1799f8(0x1b0)]});}async function ae({id:_0x56f06f}){const _0x19ed73=_0x4610e2,_0x13ce6d={'ZndwA':function(_0x34f9e3,_0x3dfca0,_0x5a0c1a){return _0x34f9e3(_0x3dfca0,_0x5a0c1a);},'gssuK':_0x19ed73(0x1f3)+_0x19ed73(0x1c5)+'s'},_0x14bc2f={};return _0x14bc2f[_0x19ed73(0x1cd)]='/'+_0x56f06f+'/crops',_0x13ce6d[_0x19ed73(0x1e9)](i,_0x13ce6d[_0x19ed73(0x202)],!![])['GET'](_0x14bc2f);}async function ue({id:_0xb015cd,data:_0x564d6d}){const _0x12fe51=_0x4610e2,_0x38ed58={};_0x38ed58['IjUeZ']='/config/'+_0x12fe51(0x1c5)+'s';const _0x2e9129=_0x38ed58,_0x14149e={};return _0x14149e[_0x12fe51(0x1cd)]='/'+_0xb015cd+_0x12fe51(0x233),_0x14149e[_0x12fe51(0x240)]=_0x564d6d,i(_0x2e9129[_0x12fe51(0x1a4)],!![])['PUT'](_0x14149e);}async function ce({id:_0x3b56f5}){const _0x828ba2=_0x4610e2,_0x4f0cea={'yYHBw':function(_0x11d720,_0x1cb813,_0x249bdc){return _0x11d720(_0x1cb813,_0x249bdc);},'lxtul':'/config/'+'customer'+'s'},_0x1c57b8={};return _0x1c57b8[_0x828ba2(0x1cd)]='/'+_0x3b56f5+(_0x828ba2(0x1b1)+'es'),_0x4f0cea[_0x828ba2(0x21b)](i,_0x4f0cea[_0x828ba2(0x23a)],!![])[_0x828ba2(0x1e5)](_0x1c57b8);}async function pe({id:_0x285549,data:_0x4d0a10}){const _0x5c8ff1=_0x4610e2,_0x5e107b={};_0x5e107b['RMitM']=_0x5c8ff1(0x1f3)+'customer'+'s';const _0x6f301d=_0x5e107b,_0x28ab6a={};return _0x28ab6a[_0x5c8ff1(0x1cd)]='/'+_0x285549+('/varieti'+'es'),_0x28ab6a[_0x5c8ff1(0x240)]=_0x4d0a10,i(_0x6f301d[_0x5c8ff1(0x219)],!![])[_0x5c8ff1(0x24b)](_0x28ab6a);}async function fe({id:_0x5103f0}){const _0x1dea6a=_0x4610e2,_0x59096e={'hfPVX':function(_0x579b86,_0x4ebb09,_0x12fde5){return _0x579b86(_0x4ebb09,_0x12fde5);},'uYtfx':_0x1dea6a(0x1f3)+_0x1dea6a(0x1c5)+'s'},_0x47ef54={};return _0x47ef54[_0x1dea6a(0x1cd)]='/'+_0x5103f0+(_0x1dea6a(0x242)+_0x1dea6a(0x258)),_0x59096e['hfPVX'](i,_0x59096e[_0x1dea6a(0x25d)],!![])[_0x1dea6a(0x1e5)](_0x47ef54);}async function de({id:_0x5bf2e5,data:_0x15bcd0}){const _0x2b4b66=_0x4610e2,_0x16ec0b={'KJhny':function(_0x4ad415,_0x3cbea3,_0x26daeb){return _0x4ad415(_0x3cbea3,_0x26daeb);}},_0x313b43={};return _0x313b43[_0x2b4b66(0x1cd)]='/'+_0x5bf2e5+(_0x2b4b66(0x242)+'ors'),_0x313b43[_0x2b4b66(0x240)]=_0x15bcd0,_0x16ec0b['KJhny'](i,_0x2b4b66(0x1f3)+_0x2b4b66(0x1c5)+'s',!![])[_0x2b4b66(0x24b)](_0x313b43);}async function ge(){const _0x3f6c78=_0x4610e2,_0x591537={};_0x591537['utxJt']=_0x3f6c78(0x1f3)+_0x3f6c78(0x203);const _0x447945=_0x591537;return i(_0x447945[_0x3f6c78(0x217)],!![])['GET']();}async function me({id:_0x2a6b97}){const _0x23c2ee=_0x4610e2,_0x45c1cd={'etioW':function(_0x39e0bb,_0x2b3578,_0x355f33){return _0x39e0bb(_0x2b3578,_0x355f33);},'dtxBq':'/config/'+_0x23c2ee(0x1c5)+'s'},_0x1c1acc={};return _0x1c1acc[_0x23c2ee(0x1cd)]='/'+_0x2a6b97+_0x23c2ee(0x20a),_0x45c1cd['etioW'](i,_0x45c1cd['dtxBq'],!![])['GET'](_0x1c1acc);}async function Ce({id:_0x46d692}){const _0x386d0f=_0x4610e2,_0x51d8a0={'swKqx':function(_0x113376,_0x51246c,_0x2fa90d){return _0x113376(_0x51246c,_0x2fa90d);},'PrTpJ':_0x386d0f(0x1f3)+_0x386d0f(0x1c5)+'s'},_0x22b7bd={};return _0x22b7bd[_0x386d0f(0x1cd)]='/'+_0x46d692+_0x386d0f(0x1e8),_0x51d8a0[_0x386d0f(0x238)](i,_0x51d8a0[_0x386d0f(0x228)],!![])[_0x386d0f(0x1e5)](_0x22b7bd);}async function he({id:_0x4b841a,data:_0x4c9a7c}){const _0x3062ac=_0x4610e2,_0x50c627={'hPjtT':function(_0xa6bf8,_0x6104ac,_0x73b26d){return _0xa6bf8(_0x6104ac,_0x73b26d);}},_0x2a1e8f={};return _0x2a1e8f[_0x3062ac(0x1cd)]='/'+_0x4b841a+_0x3062ac(0x1e8),_0x2a1e8f[_0x3062ac(0x240)]=_0x4c9a7c,_0x50c627[_0x3062ac(0x21a)](i,_0x3062ac(0x1f3)+_0x3062ac(0x1c5)+'s',!![])[_0x3062ac(0x24b)](_0x2a1e8f);}async function le({id:_0x4e0489}){const _0x37aae5=_0x4610e2,_0x15ca2d={};return _0x15ca2d[_0x37aae5(0x1cd)]='/'+_0x4e0489+_0x37aae5(0x1e2),i('/config/'+_0x37aae5(0x1c5)+'s',!![])[_0x37aae5(0x1e5)](_0x15ca2d);}async function ye({id:_0x155612,data:_0x4ed6ae}){const _0x6d333d=_0x4610e2,_0xe4e759={};return _0xe4e759[_0x6d333d(0x1cd)]='/'+_0x155612+'/users',_0xe4e759[_0x6d333d(0x240)]=_0x4ed6ae,i(_0x6d333d(0x1f3)+_0x6d333d(0x1c5)+'s',!![])[_0x6d333d(0x24b)](_0xe4e759);}exports[_0x4610e2(0x1f7)+_0x4610e2(0x1b6)+_0x4610e2(0x1cf)]=ne,exports[_0x4610e2(0x1b8)+_0x4610e2(0x231)+_0x4610e2(0x1d6)]=me,exports[_0x4610e2(0x1b8)+'tomerByI'+'d']=oe,exports[_0x4610e2(0x1b8)+_0x4610e2(0x1fd)+'ps']=ae,exports[_0x4610e2(0x1b8)+_0x4610e2(0x226)+_0x4610e2(0x262)]=se,exports[_0x4610e2(0x1b8)+_0x4610e2(0x1f6)+'ups']=ge,exports['fetchCus'+_0x4610e2(0x1c2)+_0x4610e2(0x200)]=fe,exports[_0x4610e2(0x1b8)+_0x4610e2(0x252)+_0x4610e2(0x1a6)]=Ce,exports[_0x4610e2(0x1b8)+'tomerSiz'+'es']=ie,exports[_0x4610e2(0x1b8)+_0x4610e2(0x1d3)+'rs']=le,exports[_0x4610e2(0x1b8)+_0x4610e2(0x1a2)+_0x4610e2(0x1d0)]=ce,exports[_0x4610e2(0x1b8)+_0x4610e2(0x1c1)]=te,exports[_0x4610e2(0x224)+_0x4610e2(0x1b6)+'mer']=re,exports[_0x4610e2(0x224)+_0x4610e2(0x1b6)+_0x4610e2(0x241)]=ue,exports[_0x4610e2(0x224)+_0x4610e2(0x1b6)+'merIndic'+_0x4610e2(0x1d1)]=de,exports['fetchUpd'+_0x4610e2(0x1b6)+_0x4610e2(0x25b)+'es']=he,exports[_0x4610e2(0x224)+_0x4610e2(0x1b6)+'merUsers']=ye,exports['fetchUpd'+_0x4610e2(0x1b6)+'merVarie'+_0x4610e2(0x1b3)]=pe;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { I as ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as IModule, f as ISizes, g as ICustomerVariety } from '../customer-CgeUUBHe.cjs';
|
|
3
|
+
import { I as IGroup } from '../group-CnJEil9u.cjs';
|
|
4
|
+
|
|
5
|
+
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
6
|
+
declare function fetchCustomerById({ _id }: {
|
|
7
|
+
_id: string;
|
|
8
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
9
|
+
declare function fetchCreateCustomer(data: Partial<ICustomer>): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
10
|
+
declare function fetchUpdateCustomer({ _id, data, }: {
|
|
11
|
+
_id: string;
|
|
12
|
+
data: Partial<ICustomer>;
|
|
13
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
14
|
+
declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
|
|
15
|
+
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
16
|
+
declare function fetchCustomerCrops({ id }: {
|
|
17
|
+
id: string;
|
|
18
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
19
|
+
declare function fetchUpdateCustomerCrops({ id, data, }: {
|
|
20
|
+
id: string;
|
|
21
|
+
data: {
|
|
22
|
+
crops: ICustomerCrop[];
|
|
23
|
+
};
|
|
24
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
25
|
+
declare function fetchCustomerVarieties({ id }: {
|
|
26
|
+
id: string;
|
|
27
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
28
|
+
declare function fetchUpdateCustomerVarieties({ id, data, }: {
|
|
29
|
+
id: string;
|
|
30
|
+
data: {
|
|
31
|
+
varieties: ICustomerVariety[];
|
|
32
|
+
};
|
|
33
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
34
|
+
declare function fetchCustomerIndicators({ id }: {
|
|
35
|
+
id: string;
|
|
36
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
37
|
+
declare function fetchUpdateCustomerIndicators({ id, data, }: {
|
|
38
|
+
id: string;
|
|
39
|
+
data: {
|
|
40
|
+
indicators: ICustomerIndicator[];
|
|
41
|
+
};
|
|
42
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
43
|
+
declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
|
|
44
|
+
declare function fetchCustomerBlocks({ id }: {
|
|
45
|
+
id: string;
|
|
46
|
+
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
47
|
+
declare function fetchCustomerModules({ id }: {
|
|
48
|
+
id: string;
|
|
49
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
50
|
+
declare function fetchUpdateCustomerModules({ id, data, }: {
|
|
51
|
+
id: string;
|
|
52
|
+
data: {
|
|
53
|
+
modules: string[];
|
|
54
|
+
};
|
|
55
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
56
|
+
declare function fetchCustomerUsers({ id }: {
|
|
57
|
+
id: string;
|
|
58
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
59
|
+
declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
60
|
+
id: string;
|
|
61
|
+
data: {
|
|
62
|
+
users: string[];
|
|
63
|
+
};
|
|
64
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
65
|
+
|
|
66
|
+
export { fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { I as ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as IModule, f as ISizes, g as ICustomerVariety } from '../customer-CgeUUBHe.js';
|
|
3
|
+
import { I as IGroup } from '../group-CnJEil9u.js';
|
|
4
|
+
|
|
5
|
+
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
6
|
+
declare function fetchCustomerById({ _id }: {
|
|
7
|
+
_id: string;
|
|
8
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
9
|
+
declare function fetchCreateCustomer(data: Partial<ICustomer>): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
10
|
+
declare function fetchUpdateCustomer({ _id, data, }: {
|
|
11
|
+
_id: string;
|
|
12
|
+
data: Partial<ICustomer>;
|
|
13
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
14
|
+
declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
|
|
15
|
+
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
16
|
+
declare function fetchCustomerCrops({ id }: {
|
|
17
|
+
id: string;
|
|
18
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
19
|
+
declare function fetchUpdateCustomerCrops({ id, data, }: {
|
|
20
|
+
id: string;
|
|
21
|
+
data: {
|
|
22
|
+
crops: ICustomerCrop[];
|
|
23
|
+
};
|
|
24
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
25
|
+
declare function fetchCustomerVarieties({ id }: {
|
|
26
|
+
id: string;
|
|
27
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
28
|
+
declare function fetchUpdateCustomerVarieties({ id, data, }: {
|
|
29
|
+
id: string;
|
|
30
|
+
data: {
|
|
31
|
+
varieties: ICustomerVariety[];
|
|
32
|
+
};
|
|
33
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
34
|
+
declare function fetchCustomerIndicators({ id }: {
|
|
35
|
+
id: string;
|
|
36
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
37
|
+
declare function fetchUpdateCustomerIndicators({ id, data, }: {
|
|
38
|
+
id: string;
|
|
39
|
+
data: {
|
|
40
|
+
indicators: ICustomerIndicator[];
|
|
41
|
+
};
|
|
42
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
43
|
+
declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
|
|
44
|
+
declare function fetchCustomerBlocks({ id }: {
|
|
45
|
+
id: string;
|
|
46
|
+
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
47
|
+
declare function fetchCustomerModules({ id }: {
|
|
48
|
+
id: string;
|
|
49
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
50
|
+
declare function fetchUpdateCustomerModules({ id, data, }: {
|
|
51
|
+
id: string;
|
|
52
|
+
data: {
|
|
53
|
+
modules: string[];
|
|
54
|
+
};
|
|
55
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
56
|
+
declare function fetchCustomerUsers({ id }: {
|
|
57
|
+
id: string;
|
|
58
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
59
|
+
declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
60
|
+
id: string;
|
|
61
|
+
data: {
|
|
62
|
+
users: string[];
|
|
63
|
+
};
|
|
64
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
65
|
+
|
|
66
|
+
export { fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x24b32b,_0x59a35c){var _0x4161a3=_0x3998,_0x54f967=_0x24b32b();while(!![]){try{var _0x3aaffb=parseInt(_0x4161a3(0x1c8))/(0xbc1+-0x1993+0xdd3)*(parseInt(_0x4161a3(0x1c6))/(0x4a*0x1f+0x1ef7+0x1*-0x27eb))+parseInt(_0x4161a3(0x1c2))/(-0x1e85*-0x1+-0x5*0x2d7+-0x343*0x5)*(parseInt(_0x4161a3(0x1cc))/(0x1a*0x34+-0x17a3+0x125f))+parseInt(_0x4161a3(0x1c7))/(-0x7ca*0x4+0x5*0x6dc+0x31f*-0x1)+-parseInt(_0x4161a3(0x1de))/(-0x1e1c*-0x1+0x1b3d+-0x3953)*(-parseInt(_0x4161a3(0x1d2))/(-0x1039*0x2+-0x10b7+0x10*0x313))+parseInt(_0x4161a3(0x1da))/(-0xb85+0xd7+0xab6)+parseInt(_0x4161a3(0x1df))/(0x5*-0x6f7+-0x11f7+-0x34d3*-0x1)+-parseInt(_0x4161a3(0x1d7))/(-0x1*0x1a42+0x16d0+0x37c);if(_0x3aaffb===_0x59a35c)break;else _0x54f967['push'](_0x54f967['shift']());}catch(_0x4b59c2){_0x54f967['push'](_0x54f967['shift']());}}}(_0x30cb,-0x14d33*0x5+0x4bbfd+0xce*0x649));import{b}from'../chunk-ACO6G7O2.js';import'../chunk-DJ5M3T5L.js';async function s(){var _0x14ead5=_0x3998,_0x50ece4={'dDehK':function(_0x3c746f,_0x47d5aa,_0x56bbb1){return _0x3c746f(_0x47d5aa,_0x56bbb1);},'JnbaM':_0x14ead5(0x1ca)+_0x14ead5(0x1db)+'s'};return _0x50ece4['dDehK'](b,_0x50ece4[_0x14ead5(0x1d5)],!![])[_0x14ead5(0x1dc)]();}async function u({_id:_0xae4934}){var _0x52c811=_0x3998,_0x3adcb7={'Pvnaf':function(_0x947376,_0x34c0f4,_0x4725b8){return _0x947376(_0x34c0f4,_0x4725b8);},'DXgdU':'/config/'+_0x52c811(0x1db)+'s'},_0x4c6668={};return _0x4c6668[_0x52c811(0x1d1)]='/'+_0xae4934,_0x3adcb7[_0x52c811(0x1e0)](b,_0x3adcb7[_0x52c811(0x1cd)],!![])[_0x52c811(0x1dc)](_0x4c6668);}async function c(_0x2afdb8){var _0x195880=_0x3998,_0x31e12f={'jeZBf':function(_0x1c8ce6,_0xb5a5ec,_0x5b4e15){return _0x1c8ce6(_0xb5a5ec,_0x5b4e15);},'CMgUh':'/config/'+_0x195880(0x1db)+'s'},_0x2b969a={};return _0x2b969a[_0x195880(0x1d1)]='/',_0x2b969a['data']=_0x2afdb8,_0x31e12f[_0x195880(0x1d9)](b,_0x31e12f[_0x195880(0x1be)],!![])[_0x195880(0x1ce)](_0x2b969a);}async function n({_id:_0x5dad29,data:_0x146d1e}){var _0x86c1b2=_0x3998,_0xaa5602={'UcuqB':function(_0x4b7dfe,_0xab22c3,_0xb772ac){return _0x4b7dfe(_0xab22c3,_0xb772ac);},'mHzFz':_0x86c1b2(0x1ca)+_0x86c1b2(0x1db)+'s'},_0x41eb55={};return _0x41eb55['path']='/'+_0x5dad29,_0x41eb55['data']=_0x146d1e,_0xaa5602['UcuqB'](b,_0xaa5602[_0x86c1b2(0x1bf)],!![])[_0x86c1b2(0x1c0)](_0x41eb55);}async function i(){var _0x395b5c=_0x3998,_0x30e9e5={};_0x30e9e5[_0x395b5c(0x1bb)]='/farm-ty'+'pe';var _0x244f6b=_0x30e9e5,_0x19c340={};return _0x19c340[_0x395b5c(0x1d1)]=_0x244f6b[_0x395b5c(0x1bb)],b('/config/'+'customer'+'s',!![])['GET'](_0x19c340);}async function a(){var _0x3e39b0=_0x3998,_0x2c65dd={};_0x2c65dd[_0x3e39b0(0x1d0)]='/size';var _0x83eb09=_0x2c65dd,_0x1d057c={};return _0x1d057c[_0x3e39b0(0x1d1)]=_0x83eb09[_0x3e39b0(0x1d0)],b(_0x3e39b0(0x1ca)+_0x3e39b0(0x1db)+'s',!![])[_0x3e39b0(0x1dc)](_0x1d057c);}async function m({id:_0x254a62}){var _0xbc9383=_0x3998,_0x29bbb4={};_0x29bbb4[_0xbc9383(0x1cf)]=_0xbc9383(0x1ca)+'customer'+'s';var _0x3c8974=_0x29bbb4,_0x376b41={};return _0x376b41[_0xbc9383(0x1d1)]='/'+_0x254a62+_0xbc9383(0x1d4),b(_0x3c8974[_0xbc9383(0x1cf)],!![])[_0xbc9383(0x1dc)](_0x376b41);}async function p({id:_0xe8c26d,data:_0x2dde79}){var _0x437cb9=_0x3998,_0x13733e={'lGDtb':function(_0x139f97,_0x574c64,_0x586754){return _0x139f97(_0x574c64,_0x586754);}},_0x4e5f11={};return _0x4e5f11[_0x437cb9(0x1d1)]='/'+_0xe8c26d+_0x437cb9(0x1d4),_0x4e5f11[_0x437cb9(0x1ba)]=_0x2dde79,_0x13733e['lGDtb'](b,_0x437cb9(0x1ca)+_0x437cb9(0x1db)+'s',!![])[_0x437cb9(0x1c0)](_0x4e5f11);}function _0x30cb(){var _0x22918d=['rfHNzfu','ue9tva','q1L1yLO','EwLICwO','Cgf0Aa','nJnZD0nQCgO','l2jSB2nRCW','l2nYB3bZ','sM5Iyu0','l3vZzxjZ','mtqZodi1otbqAwjNqwe','A0D1ufG','AMvAqMy','mJyZotGXnKj6wKT5zq','y3vZDg9Tzxi','r0vu','l21VzhvSzxm','mJmYndK0DK5btMXQ','mJe4ntGWm3nNAuP6zG','uhzUywy','zgf0yq','ueXmsKq','B3jZ','ugXdse0','q01NvwG','BuH6rNO','ufvu','wNbTEvu','otC4nJCYBvnSu3Pp','wxnsA2e','AgnnAeK','CeLtrMi','nda0DeDotwDV','nJK0mtGWDunAweLs','mtmYmuLxDMrvta','l2LUzgLJyxq','l2nVBMzPzY8','l3zHCMLLDgK','neHqyuT5tG'];_0x30cb=function(){return _0x22918d;};return _0x30cb();}async function f({id:_0x28ce88}){var _0xe364f3=_0x3998,_0x23e78f={};_0x23e78f[_0xe364f3(0x1c3)]=_0xe364f3(0x1ca)+_0xe364f3(0x1db)+'s';var _0x553074=_0x23e78f,_0x40b93b={};return _0x40b93b[_0xe364f3(0x1d1)]='/'+_0x28ce88+(_0xe364f3(0x1cb)+'es'),b(_0x553074[_0xe364f3(0x1c3)],!![])['GET'](_0x40b93b);}async function C({id:_0x161b64,data:_0x58c3ca}){var _0x3ac24e=_0x3998,_0x10e6d3={};_0x10e6d3['ZpmyU']=_0x3ac24e(0x1ca)+_0x3ac24e(0x1db)+'s';var _0x402921=_0x10e6d3,_0x59a3e2={};return _0x59a3e2[_0x3ac24e(0x1d1)]='/'+_0x161b64+(_0x3ac24e(0x1cb)+'es'),_0x59a3e2[_0x3ac24e(0x1ba)]=_0x58c3ca,b(_0x402921[_0x3ac24e(0x1c1)],!![])[_0x3ac24e(0x1c0)](_0x59a3e2);}async function d({id:_0xac11e}){var _0x4fe1e0=_0x3998,_0x503ff4={};_0x503ff4[_0x4fe1e0(0x1c5)]=_0x4fe1e0(0x1ca)+_0x4fe1e0(0x1db)+'s';var _0x4871c7=_0x503ff4,_0x157b32={};return _0x157b32['path']='/'+_0xac11e+(_0x4fe1e0(0x1c9)+_0x4fe1e0(0x1bc)),b(_0x4871c7[_0x4fe1e0(0x1c5)],!![])[_0x4fe1e0(0x1dc)](_0x157b32);}async function I({id:_0x258f19,data:_0x1ca0fb}){var _0xe4454a=_0x3998,_0x5377e4={};return _0x5377e4['path']='/'+_0x258f19+(_0xe4454a(0x1c9)+_0xe4454a(0x1bc)),_0x5377e4[_0xe4454a(0x1ba)]=_0x1ca0fb,b(_0xe4454a(0x1ca)+_0xe4454a(0x1db)+'s',!![])[_0xe4454a(0x1c0)](_0x5377e4);}async function g(){var _0x221d98=_0x3998;return b(_0x221d98(0x1ca)+'groups',!![])[_0x221d98(0x1dc)]();}function _0x3998(_0x67f788,_0x1571ff){_0x67f788=_0x67f788-(0x1*-0x2b1+-0x17ca+0x1c35);var _0x5b9603=_0x30cb();var _0x58e2cd=_0x5b9603[_0x67f788];if(_0x3998['dDrlgZ']===undefined){var _0x31d1a9=function(_0x53ddcf){var _0x325dc2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x462350='',_0x4939f8='';for(var _0x59bfed=-0x5b*0x1+0x9f0+-0x995,_0x4bc0c7,_0x54ae35,_0xe035cd=-0x64*-0x3a+0x141c+-0xe*0x30e;_0x54ae35=_0x53ddcf['charAt'](_0xe035cd++);~_0x54ae35&&(_0x4bc0c7=_0x59bfed%(0x6c2+0x1b27+-0x1*0x21e5)?_0x4bc0c7*(-0x8b9+0x7d+0x87c)+_0x54ae35:_0x54ae35,_0x59bfed++%(-0x139*-0x13+0x2570+-0x3ca7*0x1))?_0x462350+=String['fromCharCode'](0x2465+0x2163*0x1+-0x44c9&_0x4bc0c7>>(-(-0x5ae*0x5+-0x4b1*0x1+0x2119*0x1)*_0x59bfed&0x1*0x3c1+-0x724+0x369)):-0x1425+0x2331+-0x786*0x2){_0x54ae35=_0x325dc2['indexOf'](_0x54ae35);}for(var _0x275a32=0x1f*0x27+0x1*0x1eef+0x7*-0x518,_0x3bc855=_0x462350['length'];_0x275a32<_0x3bc855;_0x275a32++){_0x4939f8+='%'+('00'+_0x462350['charCodeAt'](_0x275a32)['toString'](0x2585+-0x27*0x42+-0x1b67))['slice'](-(-0x23b0+-0x1*0x18b3+0x3c65));}return decodeURIComponent(_0x4939f8);};_0x3998['mCXbDO']=_0x31d1a9,_0x3998['BMhKKU']={},_0x3998['dDrlgZ']=!![];}var _0x1205b9=_0x5b9603[0x15f+0x19c8+-0x3*0x90d],_0x4ac022=_0x67f788+_0x1205b9,_0x143f25=_0x3998['BMhKKU'][_0x4ac022];return!_0x143f25?(_0x58e2cd=_0x3998['mCXbDO'](_0x58e2cd),_0x3998['BMhKKU'][_0x4ac022]=_0x58e2cd):_0x58e2cd=_0x143f25,_0x58e2cd;}async function h({id:_0x394d23}){var _0x46c044=_0x3998,_0x27f358={'hcMhI':function(_0x357841,_0x45e4c0,_0x682c36){return _0x357841(_0x45e4c0,_0x682c36);}},_0x59c584={};return _0x59c584['path']='/'+_0x394d23+_0x46c044(0x1d3),_0x27f358[_0x46c044(0x1c4)](b,_0x46c044(0x1ca)+_0x46c044(0x1db)+'s',!![])[_0x46c044(0x1dc)](_0x59c584);}async function y({id:_0x157644}){var _0x41e3ee=_0x3998,_0x436fcb={'JmliD':function(_0x52934c,_0x3a69a4,_0x1d221f){return _0x52934c(_0x3a69a4,_0x1d221f);}},_0x53767b={};return _0x53767b[_0x41e3ee(0x1d1)]='/'+_0x157644+_0x41e3ee(0x1dd),_0x436fcb['JmliD'](b,_0x41e3ee(0x1ca)+'customer'+'s',!![])[_0x41e3ee(0x1dc)](_0x53767b);}async function T({id:_0x18013c,data:_0x51bf1f}){var _0x517789=_0x3998,_0x4fe662={};_0x4fe662[_0x517789(0x1d8)]=_0x517789(0x1ca)+'customer'+'s';var _0x3e736a=_0x4fe662,_0x5c17f9={};return _0x5c17f9[_0x517789(0x1d1)]='/'+_0x18013c+_0x517789(0x1dd),_0x5c17f9[_0x517789(0x1ba)]=_0x51bf1f,b(_0x3e736a['kGuPX'],!![])[_0x517789(0x1c0)](_0x5c17f9);}async function x({id:_0x37cdf1}){var _0x7b91ee=_0x3998,_0x38045f={'LnPyT':function(_0xf98867,_0x554e02,_0x18cc74){return _0xf98867(_0x554e02,_0x18cc74);},'PlCHM':_0x7b91ee(0x1ca)+_0x7b91ee(0x1db)+'s'},_0xa5f447={};return _0xa5f447[_0x7b91ee(0x1d1)]='/'+_0x37cdf1+_0x7b91ee(0x1d6),_0x38045f['LnPyT'](b,_0x38045f[_0x7b91ee(0x1bd)],!![])[_0x7b91ee(0x1dc)](_0xa5f447);}async function l({id:_0x3b63c7,data:_0x2309c0}){var _0x29ef07=_0x3998,_0xfd13d5={};return _0xfd13d5[_0x29ef07(0x1d1)]='/'+_0x3b63c7+_0x29ef07(0x1d6),_0xfd13d5['data']=_0x2309c0,b('/config/'+_0x29ef07(0x1db)+'s',!![])[_0x29ef07(0x1c0)](_0xfd13d5);}export{c as fetchCreateCustomer,h as fetchCustomerBlocks,u as fetchCustomerById,m as fetchCustomerCrops,i as fetchCustomerFarmTypes,g as fetchCustomerGroups,d as fetchCustomerIndicators,y as fetchCustomerModules,a as fetchCustomerSizes,x as fetchCustomerUsers,f as fetchCustomerVarieties,s as fetchCustomers,n as fetchUpdateCustomer,p as fetchUpdateCustomerCrops,I as fetchUpdateCustomerIndicators,T as fetchUpdateCustomerModules,l as fetchUpdateCustomerUsers,C as fetchUpdateCustomerVarieties};
|