@univerjs-pro/engine-formula 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3d1cfdf
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x27671d=_0x16f3;(function(_0x2f0588,_0x224948){const _0x16b13e=_0x16f3,_0x5d71d6=_0x2f0588();while(!![]){try{const _0x510a38=parseInt(_0x16b13e(0x187))/0x1*(-parseInt(_0x16b13e(0x18b))/0x2)+parseInt(_0x16b13e(0x184))/0x3+-parseInt(_0x16b13e(0x182))/0x4*(parseInt(_0x16b13e(0x189))/0x5)+-parseInt(_0x16b13e(0x18e))/0x6+parseInt(_0x16b13e(0x188))/0x7+parseInt(_0x16b13e(0x18a))/0x8*(-parseInt(_0x16b13e(0x181))/0x9)+parseInt(_0x16b13e(0x186))/0xa;if(_0x510a38===_0x224948)break;else _0x5d71d6['push'](_0x5d71d6['shift']());}catch(_0x4a7208){_0x5d71d6['push'](_0x5d71d6['shift']());}}}(_0x2c91,0x9eb85));function _0x16f3(_0x5bc63e,_0xfd2989){_0x5bc63e=_0x5bc63e-0x180;const _0x2c91f2=_0x2c91();let _0x16f3cb=_0x2c91f2[_0x5bc63e];return _0x16f3cb;}function _0x2c91(){const _0x9e6a20=['keys','call','27eRiTNm','153324RJFUEP','defineProperty','2277612croTip','forEach','16662530bwdfTF','228223WakDwh','4929211XZKbrM','95EHlBUx','1192048HmdJuv','4UQEOuR','hasOwnProperty','toStringTag','5086560Cljebb'];_0x2c91=function(){return _0x9e6a20;};return _0x2c91();}Object['defineProperty'](exports,Symbol[_0x27671d(0x18d)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x27671d(0x18f)](t)[_0x27671d(0x185)](_0x31b72f=>{const _0x1105e8=_0x27671d;_0x31b72f!=='default'&&!Object['prototype'][_0x1105e8(0x18c)][_0x1105e8(0x180)](exports,_0x31b72f)&&Object[_0x1105e8(0x183)](exports,_0x31b72f,{'enumerable':!0x0,'get':()=>t[_0x31b72f]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x48b28e=_0x3753;(function(_0x407eb5,_0x505402){const _0x2e339e=_0x3753,_0x3ab005=_0x407eb5();while(!![]){try{const _0x2980f5=-parseInt(_0x2e339e(0x2b8))/0x1+-parseInt(_0x2e339e(0x2c3))/0x2+-parseInt(_0x2e339e(0x285))/0x3*(-parseInt(_0x2e339e(0x25a))/0x4)+parseInt(_0x2e339e(0x1d4))/0x5*(-parseInt(_0x2e339e(0x1f3))/0x6)+-parseInt(_0x2e339e(0x28b))/0x7+-parseInt(_0x2e339e(0x1f1))/0x8*(parseInt(_0x2e339e(0x26b))/0x9)+-parseInt(_0x2e339e(0x23b))/0xa*(-parseInt(_0x2e339e(0x29a))/0xb);if(_0x2980f5===_0x505402)break;else _0x3ab005['push'](_0x3ab005['shift']());}catch(_0x47db4e){_0x3ab005['push'](_0x3ab005['shift']());}}}(_0x2442,0x9e972));var k=Object[_0x48b28e(0x253)],U=(_0x16051d,_0x368efb,_0x4e5abf)=>_0x368efb in _0x16051d?k(_0x16051d,_0x368efb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e5abf}):_0x16051d[_0x368efb]=_0x4e5abf,C=(_0x5c44fe,_0x560b9c,_0x4ba1ba)=>U(_0x5c44fe,typeof _0x560b9c!=_0x48b28e(0x1e6)?_0x560b9c+'':_0x560b9c,_0x4ba1ba);Object[_0x48b28e(0x253)](exports,Symbol[_0x48b28e(0x1e1)],{'value':_0x48b28e(0x2c9)});const s=require('@univerjs/engine-formula'),w=require('@univerjs-pro/license'),E=require('@univerjs/core');class B extends s[_0x48b28e(0x1d9)]{constructor(){const _0x16ccbd=_0x48b28e;super(...arguments),C(this,_0x16ccbd(0x261),!0x1),C(this,_0x16ccbd(0x21a),new Set()),C(this,_0x16ccbd(0x2ca),'_xlpm.'),C(this,'_xlfnPrefix',_0x16ccbd(0x1d6)),C(this,'_currentUnitId','');}['_resetPrefix'](){const _0x438d85=_0x48b28e;this[_0x438d85(0x2ca)]=_0x438d85(0x239),this[_0x438d85(0x227)]='_xlfn.';}[_0x48b28e(0x2a9)](){const _0x4bf6cb=_0x48b28e;this[_0x4bf6cb(0x2ca)]='',this[_0x4bf6cb(0x227)]='';}[_0x48b28e(0x1e8)](_0x55c037,_0x324064){const _0x184632=_0x48b28e,_0x2a54c6=this[_0x184632(0x208)](_0x55c037,!0x1);if(!_0x2a54c6||_0x2a54c6===s[_0x184632(0x262)][_0x184632(0x249)]||Array[_0x184632(0x299)](_0x2a54c6))return null;const _0x148bf3=[];return this[_0x184632(0x261)]=!0x1,this[_0x184632(0x265)](_0x2a54c6,_0x148bf3,_0x324064),this[_0x184632(0x261)]?'='+_0x148bf3[_0x184632(0x267)](''):null;}[_0x48b28e(0x265)](_0xd4f8f7,_0x32410,_0x1b156c){const _0x53da88=_0x48b28e,_0x5ce02c=_0xd4f8f7['getToken'](),_0x6c9962=_0x5ce02c[_0x53da88(0x276)](),_0x53c663=_0x6c9962[_0x53da88(0x229)](),_0x5765ac=this[_0x53da88(0x214)](_0x53c663),_0x16090c=_0x1b156c(_0x5765ac);let _0x20fd68=0x0;_0x5ce02c===s[_0x53da88(0x240)]?_0x20fd68=0x3:_0x5ce02c===s[_0x53da88(0x282)]?_0x20fd68=0x4:_0x5ce02c===s[_0x53da88(0x21f)]?_0x20fd68=0x5:s[_0x53da88(0x26d)][_0x53da88(0x287)](_0x5765ac)?(_0x32410[_0x53da88(0x297)](''+this[_0x53da88(0x227)]+_0x6c9962),this['_hasNewExcelFunction']=!0x0):_0x53c663===s[_0x53da88(0x2bb)]?(_0x32410['push'](''+this['_xlfnPrefix']+_0x6c9962),this['_hasNewExcelFunction']=!0x0,_0x20fd68=0x2):_0x53c663===s['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x32410['push'](''+this['_xlfnPrefix']+_0x6c9962),this[_0x53da88(0x261)]=!0x0,_0x20fd68=0x1):_0x53c663===s['matchToken'][_0x53da88(0x2c4)]?_0x20fd68=0x8:s[_0x53da88(0x259)][_0x53da88(0x287)](_0x53c663)?_0x20fd68=0x7:_0x53c663===s[_0x53da88(0x29f)][_0x53da88(0x247)]?(this['_checkAddBracketForMinus'](_0xd4f8f7)&&(_0x20fd68=0x9),_0x32410['push'](_0x5ce02c)):(_0x32410[_0x53da88(0x297)](_0x5ce02c),_0x20fd68=0xa),_0x16090c?(_0x20fd68!==0x2&&_0x20fd68!==0x1&&(_0x20fd68=0x6),_0x32410[_0x53da88(0x297)]('(')):_0x20fd68===0x9&&_0x32410[_0x53da88(0x297)]('(');const _0x2bd8ce=_0xd4f8f7[_0x53da88(0x29d)](),_0x1c99e1=_0x2bd8ce['length'];if(_0x20fd68===0x2){const _0x5cf1fe=_0x2bd8ce[0x0];let _0x30ce71=0x0;_0x5cf1fe instanceof s[_0x53da88(0x286)]&&_0x5cf1fe[_0x53da88(0x29b)]()===s[_0x53da88(0x21f)]&&(_0x30ce71=0x1);for(let _0x5af5b9=_0x30ce71;_0x5af5b9<_0x1c99e1-0x1;_0x5af5b9++){const _0x5116f9=_0x2bd8ce[_0x5af5b9];if(_0x5116f9 instanceof s['LexerNode']){const _0x95ee19=_0x5116f9[_0x53da88(0x29d)]()[0x0];typeof _0x95ee19==_0x53da88(0x2ba)&&(this[_0x53da88(0x21a)]['has'](_0x95ee19)&&console['error'](_0x53da88(0x223)+_0x95ee19+'\x22\x20is\x20duplicated.'),this[_0x53da88(0x21a)][_0x53da88(0x1d8)](_0x95ee19),_0x32410[_0x53da88(0x297)](''+this[_0x53da88(0x2ca)]+_0x95ee19),this['_hasNewExcelFunction']=!0x0);}_0x32410['push'](',');}this[_0x53da88(0x28f)](_0x2bd8ce[_0x1c99e1-0x1],_0x32410,_0x1b156c),_0x30ce71===0x1&&(_0x32410[_0x53da88(0x297)](')'),_0x32410[_0x53da88(0x297)]('('),this[_0x53da88(0x265)](_0x5cf1fe,_0x32410,_0x1b156c)),_0x32410[_0x53da88(0x297)](')');return;}else{if(_0x20fd68===0x1){for(let _0x1fe891=0x0;_0x1fe891<_0x1c99e1-0x1;_0x1fe891++){const _0x3704ab=_0x2bd8ce[_0x1fe891];if(_0x3704ab instanceof s[_0x53da88(0x286)]&&_0x1fe891%0x2===0x0){const _0x38412f=_0x3704ab[_0x53da88(0x29d)]()[0x0];if(typeof _0x38412f==_0x53da88(0x2ba)){this[_0x53da88(0x21a)][_0x53da88(0x287)](_0x38412f)&&console[_0x53da88(0x25f)](_0x53da88(0x246)+_0x38412f+_0x53da88(0x2ce)),this[_0x53da88(0x21a)][_0x53da88(0x1d8)](_0x38412f),_0x32410[_0x53da88(0x297)](''+this['_xlpmPrefix']+_0x38412f),this[_0x53da88(0x261)]=!0x0,_0x32410[_0x53da88(0x297)](',');continue;}}if(this[_0x53da88(0x28f)](_0x3704ab,_0x32410,_0x1b156c),_0x3704ab instanceof s[_0x53da88(0x286)]){const _0x352100=_0x2bd8ce[_0x1fe891+0x1];_0x352100&&_0x352100 instanceof s['LexerNode']&&_0x32410['push'](',');}}this['_handleNewFunctionChild'](_0x2bd8ce[_0x1c99e1-0x1],_0x32410,_0x1b156c),_0x32410[_0x53da88(0x297)](')');return;}else{if(_0x20fd68===0x8){const _0x39a47b=_0x2bd8ce[0x0],_0x5d1685=_0x2bd8ce[0x1];this[_0x53da88(0x28f)](_0x39a47b,_0x32410,_0x1b156c),_0x32410[_0x53da88(0x297)](_0x5ce02c),this[_0x53da88(0x28f)](_0x5d1685,_0x32410,_0x1b156c);return;}}}for(let _0x3a37f4=0x0;_0x3a37f4<_0x1c99e1;_0x3a37f4++){const _0x38ae0d=_0x2bd8ce[_0x3a37f4];if(this[_0x53da88(0x28f)](_0x38ae0d,_0x32410,_0x1b156c),_0x38ae0d instanceof s['LexerNode']){const _0x354d9a=_0x2bd8ce[_0x3a37f4+0x1];_0x354d9a&&_0x354d9a instanceof s['LexerNode']&&_0x32410[_0x53da88(0x297)](',');}}_0x20fd68===0x7&&_0x32410[_0x53da88(0x297)](_0x5ce02c),(_0x16090c||_0x20fd68===0x9)&&_0x32410[_0x53da88(0x297)](')');}[_0x48b28e(0x28f)](_0x557a11,_0x178594,_0x175794){const _0x36cd0e=_0x48b28e;_0x557a11 instanceof s[_0x36cd0e(0x286)]?this[_0x36cd0e(0x265)](_0x557a11,_0x178594,_0x175794):this[_0x36cd0e(0x21a)][_0x36cd0e(0x287)](_0x557a11)?(_0x178594[_0x36cd0e(0x297)](''+this[_0x36cd0e(0x2ca)]+_0x557a11),this[_0x36cd0e(0x261)]=!0x0):_0x178594[_0x36cd0e(0x297)](_0x557a11);}[_0x48b28e(0x214)](_0x49df28){const _0x36d335=_0x48b28e;let _0x50899d=_0x49df28['trim']();if(!_0x50899d)return _0x50899d;const _0x2658d8=_0x50899d[0x0];if((_0x2658d8===s[_0x36d335(0x29f)]['AT']||_0x2658d8===s[_0x36d335(0x29f)]['MINUS']||_0x2658d8===s[_0x36d335(0x29f)][_0x36d335(0x289)])&&(_0x50899d=_0x50899d[_0x36d335(0x2c6)](0x1)),!_0x50899d)return _0x50899d;const _0x4c0fbd=_0x50899d[_0x50899d['length']-0x1];return s[_0x36d335(0x259)][_0x36d335(0x287)](_0x4c0fbd)&&(_0x50899d=_0x50899d[_0x36d335(0x2c6)](0x0,-0x1)),_0x50899d;}[_0x48b28e(0x22f)](_0x5ada03){const _0x1471cc=_0x48b28e,_0x12a8ea=_0x5ada03['getChildren']()[0x0];if(!_0x12a8ea||!(_0x12a8ea instanceof s[_0x1471cc(0x286)])||_0x5ada03[_0x1471cc(0x29d)]()[_0x1471cc(0x1fb)]>0x1)return!0x1;const _0x27e257=_0x12a8ea[_0x1471cc(0x29d)](),_0x4ff031=_0x27e257[_0x1471cc(0x1fb)];if(_0x4ff031===0x1)return!0x1;for(let _0x551849=0x0;_0x551849<_0x4ff031;_0x551849++){const _0x4e536b=_0x27e257[_0x551849];if(!(_0x4e536b instanceof s[_0x1471cc(0x286)])&&s[_0x1471cc(0x1f8)][_0x1471cc(0x287)](_0x4e536b))return!0x0;}return!0x1;}[_0x48b28e(0x1dc)](_0x8f5598,_0x4ba0d7,_0x50a545,_0x4aa63e,_0x4fdea0){const _0x3da579=_0x48b28e,_0x2fcbb8=this[_0x3da579(0x208)](_0x8f5598,!0x1);if(!_0x2fcbb8||_0x2fcbb8===s[_0x3da579(0x262)][_0x3da579(0x249)]||Array['isArray'](_0x2fcbb8))return null;this[_0x3da579(0x2a9)](),this[_0x3da579(0x23e)]=_0x4ba0d7;const _0x5641f9=this['_generateExprTree'](_0x2fcbb8,_0x50a545,_0x4aa63e,_0x4fdea0);return this[_0x3da579(0x23e)]='',this['_resetPrefix'](),_0x5641f9;}[_0x48b28e(0x288)](_0x560dda,_0x1ae44c,_0xa31887,_0xa5cf2c){const _0x518f72=_0x48b28e,_0x5e540f={'value':'','children':[],'startIndex':0x0};let _0x10bd0d=_0x560dda;if(_0x10bd0d instanceof s[_0x518f72(0x286)]&&(_0x10bd0d['getToken']()===s['DEFAULT_TOKEN_TYPE_ROOT']||_0x10bd0d[_0x518f72(0x29b)]()===s['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x10bd0d[_0x518f72(0x29d)]()[_0x518f72(0x1fb)]===0x1&&(_0x10bd0d=_0x10bd0d[_0x518f72(0x29d)]()[0x0]),!(_0x10bd0d instanceof s[_0x518f72(0x286)]))return this[_0x518f72(0x206)](_0x10bd0d,_0xa31887,_0xa5cf2c);const _0x5afa5e=_0x10bd0d[_0x518f72(0x29d)](),_0x368a71=_0x5afa5e['length'],_0x49854d=[];this[_0x518f72(0x265)](_0x10bd0d,_0x49854d,_0x1ae44c),_0x5e540f[_0x518f72(0x26a)]=_0x49854d[_0x518f72(0x267)](''),_0x5e540f[_0x518f72(0x2a6)]=_0x10bd0d['getStartIndex']();const _0x108254=this[_0x518f72(0x222)](_0x10bd0d);if(_0x108254===0x2){const _0x13bdac=_0x5afa5e[0x0];if(_0x13bdac instanceof s[_0x518f72(0x286)]){if(_0x13bdac[_0x518f72(0x29b)]()[_0x518f72(0x276)]()!==s[_0x518f72(0x21f)])return _0x5e540f;this[_0x518f72(0x210)](_0x13bdac,_0x5e540f,_0x1ae44c,_0xa31887,_0xa5cf2c);}return _0x5e540f;}else{if(_0x108254===0x1){for(let _0x6b6fe9=0x0;_0x6b6fe9<_0x368a71-0x1;_0x6b6fe9++){const _0x380e8a=_0x5afa5e[_0x6b6fe9];if(_0x380e8a instanceof s[_0x518f72(0x286)]&&_0x6b6fe9%0x2===0x1){const _0xaaf755=_0x380e8a[_0x518f72(0x29d)]();if(_0xaaf755[_0x518f72(0x1fb)]===0x1&&!(_0xaaf755[0x0]instanceof s['LexerNode']))continue;const _0x53e7dd=this[_0x518f72(0x288)](_0x380e8a,_0x1ae44c,_0xa31887,_0xa5cf2c);_0x53e7dd&&_0x5e540f[_0x518f72(0x1eb)][_0x518f72(0x297)](_0x53e7dd);}}return _0x5e540f;}else{if(_0x108254===0x8){const _0x466945=_0x5afa5e[0x0];if(_0x466945 instanceof s[_0x518f72(0x286)]){const _0x5e251a=_0x466945[_0x518f72(0x29d)]()[0x0];_0x5e251a instanceof s[_0x518f72(0x286)]&&(_0x5e540f[_0x518f72(0x2a6)]=_0x5e251a['getStartIndex']());}if(this[_0x518f72(0x2bc)](_0x10bd0d))return _0x5e540f;}else{if(_0x108254===0x7){const _0x346596=_0x5afa5e[0x0];if(_0x346596 instanceof s['LexerNode']){const _0xd32f1a=_0x346596[_0x518f72(0x29d)]()[0x0];_0xd32f1a instanceof s['LexerNode']&&(_0x5e540f[_0x518f72(0x2a6)]=_0xd32f1a[_0x518f72(0x2bf)]());}}}}}return this[_0x518f72(0x23d)](_0x5afa5e,_0x108254,_0x5e540f,_0x1ae44c,_0xa31887,_0xa5cf2c),_0x5e540f;}[_0x48b28e(0x23d)](_0x2d1686,_0x1b8616,_0xcc6157,_0x1bfd42,_0x520df7,_0x31aa5e){const _0x49c2b8=_0x48b28e;for(let _0x1a7089=0x0;_0x1a7089<_0x2d1686[_0x49c2b8(0x1fb)];_0x1a7089++){let _0x4ab95e=_0x2d1686[_0x1a7089];if(!(_0x4ab95e instanceof s['LexerNode'])){const _0x4d7544=this[_0x49c2b8(0x206)](_0x4ab95e,_0x520df7,_0x31aa5e);_0x4d7544&&_0xcc6157[_0x49c2b8(0x1eb)][_0x49c2b8(0x297)](_0x4d7544);continue;}const _0x1fd30d=_0x4ab95e[_0x49c2b8(0x29d)]();if(_0x1fd30d[_0x49c2b8(0x1fb)]===0x1&&!(_0x1fd30d[0x0]instanceof s[_0x49c2b8(0x286)])){const _0x462780=_0x1fd30d[0x0];if(!_0x520df7(this[_0x49c2b8(0x23e)],_0x462780)&&!this[_0x49c2b8(0x2a4)](_0x462780,_0x31aa5e)&&!s[_0x49c2b8(0x266)](_0x462780))continue;}if(_0x1b8616===0x8){const _0x5eb2fe=_0x1fd30d[0x0];if(_0x5eb2fe instanceof s[_0x49c2b8(0x286)]){const _0x2de751=_0x5eb2fe['getToken']()[_0x49c2b8(0x276)]();if(s[_0x49c2b8(0x266)](_0x2de751))continue;_0x4ab95e=_0x5eb2fe;}}const _0x7dfa48=this['_generateExprTree'](_0x4ab95e,_0x1bfd42,_0x520df7,_0x31aa5e);_0x7dfa48&&_0xcc6157[_0x49c2b8(0x1eb)][_0x49c2b8(0x297)](_0x7dfa48);}}[_0x48b28e(0x2bc)](_0x563e1a){const _0x5c37c4=_0x48b28e,_0x5e549c=_0x563e1a[_0x5c37c4(0x29d)]();if(_0x5e549c[_0x5c37c4(0x1fb)]<0x2)return!0x1;const _0x493efe=_0x5e549c[0x0],_0x245eca=_0x5e549c[0x1];if(!(_0x493efe instanceof s[_0x5c37c4(0x286)])||!(_0x245eca instanceof s[_0x5c37c4(0x286)]))return!0x1;const _0x2634f7=_0x493efe[_0x5c37c4(0x29d)]()[0x0],_0x51025a=_0x245eca[_0x5c37c4(0x29d)]()[0x0];if(!(_0x2634f7 instanceof s[_0x5c37c4(0x286)])||!(_0x51025a instanceof s[_0x5c37c4(0x286)]))return!0x1;const _0x135a9c=_0x2634f7[_0x5c37c4(0x29b)]()['trim'](),_0x36ddbd=_0x51025a[_0x5c37c4(0x29b)]()[_0x5c37c4(0x276)]();return!!s['isReferenceString'](''+_0x135a9c+s['matchToken'][_0x5c37c4(0x2c4)]+_0x36ddbd);}[_0x48b28e(0x206)](_0x5d7a62,_0x50680a,_0x2fb277){const _0x4ce7f7=_0x48b28e,_0x1d9f7d=_0x5d7a62[_0x4ce7f7(0x276)]();return _0x1d9f7d[_0x4ce7f7(0x277)]('{')&&_0x1d9f7d[_0x4ce7f7(0x274)]('}')||_0x50680a(this['_currentUnitId'],_0x1d9f7d)||this['_getTableNameFromStructuredRef'](_0x1d9f7d,_0x2fb277)||s['isReferenceString'](_0x1d9f7d)?{'value':_0x1d9f7d,'children':[],'startIndex':-0x1}:null;}[_0x48b28e(0x2a4)](_0x21fb9c,_0x897376){const _0x24e1c4=_0x48b28e,{tableName:_0x479ff9}=s[_0x24e1c4(0x231)](_0x21fb9c);return _0x897376(this[_0x24e1c4(0x23e)],_0x479ff9)?_0x479ff9:null;}[_0x48b28e(0x210)](_0x119bcf,_0x2ee41a,_0x174479,_0x28c1ab,_0x5aaf4e){const _0x3dd1b8=_0x48b28e,_0x5c41c1=_0x119bcf['getChildren']();for(let _0x23a63e=0x0;_0x23a63e<_0x5c41c1[_0x3dd1b8(0x1fb)];_0x23a63e++){const _0x79e347=_0x5c41c1[_0x23a63e];if(!(_0x79e347 instanceof s[_0x3dd1b8(0x286)]))continue;const _0x36087c=_0x79e347['getChildren']();if(_0x36087c['length']===0x1&&!(_0x36087c[0x0]instanceof s[_0x3dd1b8(0x286)]))continue;const _0x3f13c5=this[_0x3dd1b8(0x288)](_0x79e347,_0x174479,_0x28c1ab,_0x5aaf4e);_0x3f13c5&&_0x2ee41a[_0x3dd1b8(0x1eb)][_0x3dd1b8(0x297)](_0x3f13c5);}}[_0x48b28e(0x222)](_0x1e898d){const _0x24d894=_0x48b28e,_0x1b2b24=_0x1e898d[_0x24d894(0x29b)](),_0xc32c7a=_0x1b2b24[_0x24d894(0x276)]()['toUpperCase']();let _0xa08bfd=0x0;return _0x1b2b24===s[_0x24d894(0x240)]?_0xa08bfd=0x3:_0x1b2b24===s[_0x24d894(0x282)]?_0xa08bfd=0x4:_0x1b2b24===s[_0x24d894(0x21f)]?_0xa08bfd=0x5:_0xc32c7a===s[_0x24d894(0x2bb)]?_0xa08bfd=0x2:_0xc32c7a===s['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0xa08bfd=0x1:_0xc32c7a===s[_0x24d894(0x2af)][_0x24d894(0x2c4)]?_0xa08bfd=0x8:s[_0x24d894(0x259)][_0x24d894(0x287)](_0xc32c7a)?_0xa08bfd=0x7:_0xc32c7a===s['prefixToken'][_0x24d894(0x247)]?this[_0x24d894(0x22f)](_0x1e898d)&&(_0xa08bfd=0x9):_0xa08bfd=0xa,_0xa08bfd;}}const P={0x0:'D',0x1:'l',0x2:'8',0x3:'g',0x4:'B',0x5:'p',0x6:'I',0x7:'n',0x8:'m',0x9:'j','v':'0','g':'1','Q':'2','A':'3','m':'4','T':'5','U':'6','P':'7','y':'9','W':'a','o':'b','i':'c','S':'d','a':'e','b':'f','t':'h','c':'i','V':'k','w':'o','r':'q','x':'r','B':'s','X':'t','L':'u','C':'v','n':'w','H':'x','d':'y','j':'z','q':'A','E':'C','N':'E','M':'F','G':'G','l':'H','e':'J','J':'K','u':'L','z':'M','F':'N','K':'O','R':'P','I':'Q','p':'R','Z':'S','h':'T','f':'U','D':'V','k':'W','O':'X','s':'Y','Y':'Z'},K=_0x48b28e(0x2b2);function _0x2442(){const _0x5243b9=['MINUS','_getTreeById','VALUE','clear','pop','CalculateFormulaService','OTHER_FORMULA','executeAsync','_runtimeService','setCompletedFormulasCount','_registerOtherFormulas','_otherFormulaDataMainData','defineProperty','_initializeGenerateTreeList','getConfig','getDirtyNameMap','_getTreeNode','_executionCompleteListener$','SUFFIX_TOKEN_SET','236srXEwU','isSkip','hasOwnProperty','dirtyRanges','isFeatureAuthorizedWithinTime','error','resetCalculationState','_hasNewExcelFunction','ErrorType','FEATURE_FORMULA','ICalculateFormulaService','_generateNewFunctionString','isReferenceString','join','getOtherFormulaDependency','_configService','value','1296774WUnEll','_updateRangeFlatten','NEW_EXCEL_FUNCTIONS','removeFormulaDependency','bulkSearch','ObjectMatrix','isAdded','getRuntimeState','UniverLicensePlugin','endsWith','CURRENTLY_CALCULATING_ARRAY_FORMULA','trim','startsWith','_isCyclicUtilMap','reset','START_CALCULATION','column','featureId','UniverProFormulaEnginePlugin','markedAsStopFunctionsExecuted','_lexer','dispose','bulkRemove','DEFAULT_TOKEN_TYPE_PARAMETER','_calculateRunList','setFormulaExecuteStage','59391rVfAZi','LexerNode','has','_generateExprTree','PLUS','clearOtherFormulaDependency','2135420rWtzIJ','_dependencyManagerService','inRangeData','type','_handleNewFunctionChild','from','IDependencyManagerService','_injector','_checkIsCycleDependency','_dependencyTreeCache','_initLicenseValid','FormulaDependencyTree','push','setValue','isArray','7407653EmtuBn','getToken','DEFAULT_INTERVAL_COUNT','getChildren','_removeAllTreeMap','prefixToken','checkAsyncNode','startRow','addFormulaDependencyByDefinedName','_getUpdateTreeListAndMakeDependency','_getTableNameFromStructuredRef','parseInt','startIndex','toRTreeItem','values','_clearPrefix','keys','markedAsNoFunctionsExecuted','clearFeatureFormulaDependency','enableCycleDependency','_removeDependencyRTreeCacheById','matchToken','_dependencyRTreeCache','FormulaDependencyTreeType','/*\x20aB1c7X-ScBWo1a\x205xabax-Xa851WXa\x20*/bL7iXcw7\x20Saixd5Xcw7(1cia7Ba,\x205Lo1ciJad)\x20{\x20\x20\x20\x20Xxd\x20{\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x201cia7Ba67bwRWxXqxxWd\x20=\x201cia7Ba.B51cX(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20wxc3c7zaBBW3a\x20=\x20eZKF.5WxBa(WXwo(1cia7Ba67bwRWxXqxxWd[Q]));\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(!wxc3c7zaBBW3a.LS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wxc3c7zaBBW3a.LS\x20=\x20FL8oax(1cia7Ba67bwRWxXqxxWd[m]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20cBkwxVax\x20=\x20Xd5awb\x20kwxVaxG1woW1Ziw5a\x20!==\x20\x27L7Sabc7aS\x27\x20&&\x20Ba1b\x20c7BXW7iawb\x20kwxVaxG1woW1Ziw5a;\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20cB4xwnBax\x20=\x20Xd5awb\x20nc7Swn\x20!==\x20\x27L7Sabc7aS\x27\x20&&\x20Xd5awb\x20nc7Swn.1wiWXcw7\x20!==\x20\x27L7Sabc7aS\x27;\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20iw7XaHX\x20=\x20cBkwxVax\x20?\x20Ba1b\x20:\x20(cB4xwnBax\x20?\x20nc7Swn\x20:\x2031woW1htcB);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x208aBBW3akwxS\x20=\x20iw7XaHX.__4WBaUm__.5WxBa(1cia7Ba67bwRWxXqxxWd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x208aBBW3a\x20=\x20iw7XaHX.__laH__.BXxc73cbd(8aBBW3akwxS);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37WXLxakwxS\x20=\x20iw7XaHX.__4WBaUm__.5WxBa(1cia7Ba67bwRWxXqxxWd[A]);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37WXLxa\x20=\x20iw7XaHX.__laH__.BXxc73cbd(Bc37WXLxakwxS);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37DW1cS\x20=\x20iw7XaHX.__Caxcbd__(Bc37WXLxa,\x208aBBW3a,\x205Lo1ciJad);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Sw8Wc7\x20=\x20wxc3c7zaBBW3a.S8;\x20\x20\x20\x20\x20\x20\x20\x20bL7iXcw7\x20cB0w8Wc7zWXitc73(5WXXax7,\x20twBX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(5WXXax7\x20===\x20twBX)\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(5WXXax7.BXWxXBkcXt(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20BLbbcH\x20=\x205WXXax7.B1cia(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(BLbbcH\x20&&\x20BLbbcH\x20===\x20twBX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(BLbbcH\x20&&\x20!twBX.BXWxXBkcXt(\x27.\x27)\x20&&\x20twBX.a7SBkcXt(\x27.\x27\x20+\x20BLbbcH))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20bW1Ba;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x201aX\x20Sw8Wc7DW1cS\x20=\x20bW1Ba;\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(cB4xwnBax)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20(Sw8Wc7\x20&&\x20Sw8Wc7.1a73Xt)\x20?\x20Sw8Wc7.Bw8a((S86Xa8)\x20=>\x20cB0w8Wc7zWXitc73(S86Xa8,\x201wiWXcw7.twBX7W8a))\x20:\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(1wiWXcw7.twBX7W8a\x20===\x20\x271wiW1twBX\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20a1Ba\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20CW1cS\x20=\x20Bc37DW1cS\x20&&\x20Sw8Wc7DW1cS;\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CW1cS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208aBBW3a:\x20wxc3c7zaBBW3a,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20iWXit\x20(axxwx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CW1cS:\x20bW1Ba,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208aBBW3a:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','refOffsetX','forEach','get','FormulaExecuteStageType','rangeList','670738gDFYMc','_removeDependencyRTreeCache','string','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_checkColonNodeForExprTree','getOtherFormulaData','endColumn','getStartIndex','_formulaDependencyGenerator','treeId','generateRandomDependencyTreeId','146376keFbBt','COLON','default','slice','_config','_astTreeBuilder','Module','_xlpmPrefix','isDirty','FormulaDependencyTreeVirtual','_allTreeMap','\x22\x20is\x20duplicated.','_getDependencyTreeChildrenIds','_apply','IFormulaDependencyGenerator','getFeatureFormulaDependency','openKdTree','intervalCount','_executionInProgressListener$','3361055RbHoCB','_registerFormulas','_xlfn.','START_DEPENDENCY','add','LexerTreeBuilder','delete','range','getFormulaExprTree','_otherFormulaData','setTotalArrayFormulasToCalculate','clearFormulaDependency','removeFormulaDependencyByDefinedName','toStringTag','requestImmediateMacroTask','row','_getDependencyTreeParenIds','node','symbol','getAllRuntimeData','getNewFormulaWithPrefix','isCache','min','children','setCurrent','resolve','formula','_traverse','sheetId','8MTTUPl','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','6ZuWvOA','FormulaDependencyGenerator','_addAllTreeMap','addFormulaDependency','LexerTreeProBuilder','OPERATOR_TOKEN_SET','_formulaData','forValue','length','unitId','subUnitId','notExecuteFormula','removeOtherFormulaDependency','setSkip','_dependencyRTreeCacheForAddressFunction','next','_currentConfigService','valid','removeFeatureFormulaDependency','_handleTextNodeForExprTree','_interpreter','treeBuilder','call','_featureFormulaData','startColumn','max','_convertDirtyRangesToUnitRange','_definedNameMap','getValue','_handleLambdaForExprTree','getFormulaDependency','clearArrayObjectCache','getDirtyRanges','_clearFunctionString','getFormulaData','START_CALCULATION_ARRAY_FORMULA','setDependencyTreeModelData','DependencyManagerService','addOtherFormulaDependency','_lambdaFunctionParameterSet','_isCalculateTreeModel','setRuntimeData','size','generateAstNode','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_createVirtualFDtree','_createFDtree','_getCurNodeTypeForExprTree','Lambda\x20parameter\x20name\x20\x22','set','endRow','columnCount','_xlfnPrefix','generate','toUpperCase','dependencySheetName','getDirtyData','_getAllTreeList','_endFormulaDependencyTreeModel','_initializeWithOverride','_checkAddBracketForMinus','closeKdTree','splitTableStructuredRef','hasOtherFormulaDataMainData','setCompletedArrayFormulasCount','DependentOn','_restDependencyTreeId','_otherFormulaManagerService','searchDependency','rowCount','_xlpm.','formulaId','20KIZrAC','_generateTreeList','_handleChildrenForExprTree','_currentUnitId','IDLE','DEFAULT_TOKEN_TYPE_ROOT','_getAllDependencyJson','refOffsetY','execute','DependencyManagerBaseService','addFeatureFormulaDependency','Let\x20variable\x20name\x20\x22'];_0x2442=function(){return _0x5243b9;};return _0x2442();}class V extends s[_0x48b28e(0x1f4)]{constructor(){const _0x16542c=_0x48b28e;super(...arguments),C(this,_0x16542c(0x294),new Map());}['dispose'](){const _0x790725=_0x48b28e;super[_0x790725(0x280)](),this[_0x790725(0x294)][_0x790725(0x24a)]();}async[_0x48b28e(0x228)](_0x3814e6=!0x1){const _0x54161a=_0x48b28e;this[_0x54161a(0x26c)]();const _0x224bd4=this[_0x54161a(0x203)][_0x54161a(0x215)](),_0x1cc0c3=this[_0x54161a(0x236)][_0x54161a(0x2bd)](),_0x4721cd=this[_0x54161a(0x203)]['getClearDependencyTreeCache']();_0x4721cd!=null&&Object[_0x54161a(0x2aa)](_0x4721cd)[_0x54161a(0x2b4)](_0x46feab=>{const _0x52bc06=_0x54161a;_0x46feab!=null&&Object[_0x52bc06(0x2aa)](_0x4721cd[_0x46feab])['forEach'](_0x7a5384=>{const _0x1ae9b4=_0x52bc06;_0x7a5384!=null&&(this[_0x1ae9b4(0x28c)][_0x1ae9b4(0x28a)](_0x46feab,_0x7a5384),this[_0x1ae9b4(0x28c)][_0x1ae9b4(0x2ac)](_0x46feab,_0x7a5384),this[_0x1ae9b4(0x28c)][_0x1ae9b4(0x1df)](_0x46feab,_0x7a5384));});});const _0x4d721d=this['_currentConfigService']['getUnitData']();await this[_0x54161a(0x23c)](_0x224bd4,_0x1cc0c3,_0x4d721d),this[_0x54161a(0x28c)][_0x54161a(0x2d3)]();const _0x3b054f=this[_0x54161a(0x2a3)](),_0x12901b=this[_0x54161a(0x283)](_0x3b054f);return this[_0x54161a(0x293)](_0x12901b)&&this[_0x54161a(0x24f)][_0x54161a(0x2ad)](),_0x3814e6&&this[_0x54161a(0x24f)][_0x54161a(0x217)](this[_0x54161a(0x241)](Array[_0x54161a(0x290)](this['_dependencyTreeCache'][_0x54161a(0x2a8)]()))),this[_0x54161a(0x294)]['clear'](),this[_0x54161a(0x201)][_0x54161a(0x24a)](),this[_0x54161a(0x28c)][_0x54161a(0x230)](),this[_0x54161a(0x24f)][_0x54161a(0x212)](),Promise[_0x54161a(0x1ed)](_0x12901b);}[_0x48b28e(0x278)](_0x28c7aa,_0x24a22c){const _0x54db36=_0x48b28e,_0x38d03b=[_0x28c7aa];for(;_0x38d03b[_0x54db36(0x1fb)]>0x0;){const _0x212845=_0x38d03b[_0x38d03b[_0x54db36(0x1fb)]-0x1];if((_0x24a22c[_0x54db36(0x2b5)](_0x212845)||0x0)===0x0){_0x24a22c[_0x54db36(0x224)](_0x212845,0x1);const _0x1491de=this['_dependencyTreeCache'][_0x54db36(0x2b5)](_0x212845);if(_0x1491de==null){_0x24a22c[_0x54db36(0x224)](_0x212845,0x2),_0x38d03b[_0x54db36(0x24b)]();continue;}const _0x4e733c=this[_0x54db36(0x28c)][_0x54db36(0x237)](_0x1491de['toRTreeItem']());for(const _0x34b63d of _0x4e733c){const _0x5a7cea=_0x24a22c[_0x54db36(0x2b5)](_0x34b63d)||0x0;if(_0x5a7cea===0x1)return!0x0;_0x5a7cea===0x0&&_0x38d03b[_0x54db36(0x297)](_0x34b63d);}}else _0x24a22c['set'](_0x212845,0x2),_0x38d03b['pop']();}return!0x1;}[_0x48b28e(0x293)](_0x149fb8){const _0x2623d3=_0x48b28e,_0xc1233f=new Map();for(const _0x1d3edc of _0x149fb8)if(!_0xc1233f['has'](_0x1d3edc['treeId'])&&this[_0x2623d3(0x278)](_0x1d3edc['treeId'],_0xc1233f))return!0x0;return _0xc1233f['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x1f430c,_0x57797c,_0x3abb90){const _0x4c1493=_0x48b28e,{unitId:_0x121d5e,subUnitId:_0x537a10,dependencyRanges:_0x1c9ef9,getDirtyData:_0x152cf2}=_0x3abb90,_0x3e9f9a=_0x57797c||s[_0x4c1493(0x2c2)](this[_0x4c1493(0x28c)]),_0x6d8345=new s[(_0x4c1493(0x296))](_0x3e9f9a);_0x6d8345[_0x4c1493(0x1fc)]=_0x121d5e,_0x6d8345['subUnitId']=_0x537a10,_0x6d8345['rangeList']=_0x1c9ef9,_0x6d8345[_0x4c1493(0x22b)]=_0x152cf2;const _0x4c7520=_0x152cf2(this[_0x4c1493(0x203)][_0x4c1493(0x22b)](),this[_0x4c1493(0x24f)][_0x4c1493(0x1e7)]()),_0x178b41=this[_0x4c1493(0x20d)](_0x4c7520[_0x4c1493(0x25d)]);return _0x6d8345['featureDirtyRanges']=_0x178b41,_0x6d8345[_0x4c1493(0x27c)]=_0x1f430c,_0x6d8345[_0x4c1493(0x28e)]=s[_0x4c1493(0x2b1)][_0x4c1493(0x263)],this[_0x4c1493(0x28c)][_0x4c1493(0x245)](_0x121d5e,_0x537a10,_0x1f430c,_0x6d8345),this[_0x4c1493(0x294)][_0x4c1493(0x224)](_0x6d8345[_0x4c1493(0x2c1)],_0x6d8345),this[_0x4c1493(0x28c)][_0x4c1493(0x2d2)](_0x3abb90[_0x4c1493(0x1fc)],_0x3abb90['subUnitId'],_0x1f430c)&&(_0x6d8345[_0x4c1493(0x1e9)]=!0x0),_0x6d8345;}[_0x48b28e(0x251)](_0xf3e40d,_0x1d7650,_0x528cb9){const _0x1ac1a3=_0x48b28e;var _0x5c0b55;for(const _0x4e3348 of _0x1d7650){const _0x10adb8=_0xf3e40d[_0x4e3348];if(_0x10adb8==null)continue;const _0x41df06=Object[_0x1ac1a3(0x2aa)](_0x10adb8);for(const _0x294376 of _0x41df06){const _0x51d2fc=_0x10adb8[_0x294376];if(_0x51d2fc==null)continue;const _0x431779=Object[_0x1ac1a3(0x2aa)](_0x51d2fc);for(const _0x1f07bb of _0x431779){const _0x5d2551=this['_dependencyManagerService'][_0x1ac1a3(0x232)](_0x1f07bb),_0x25ba05=_0x51d2fc[_0x1f07bb],{f:_0x32083e,ranges:_0x48c61e}=_0x25ba05;let _0x15f53d=!0x1;_0x5d2551&&(_0x15f53d=!0x0);const {firstRow:_0x4be50e,firstColumn:_0x2f3e3a}=this['_getFirstCellOfRange'](_0x48c61e),_0x19e857=this['_dependencyManagerService'][_0x1ac1a3(0x268)](_0x4e3348,_0x294376,_0x1f07bb),_0x24c9eb=(_0x5c0b55=_0x19e857==null?void 0x0:_0x19e857[_0x1ac1a3(0x20f)](0x0,0x0))!=null?_0x5c0b55:s[_0x1ac1a3(0x2c2)](this[_0x1ac1a3(0x28c)]),_0x5d68f5=new s['FormulaDependencyTree'](_0x24c9eb);for(let _0x121300=0x0;_0x121300<_0x48c61e['length'];_0x121300++){const _0x5b1a22=_0x48c61e[_0x121300],{startRow:_0x281f11,startColumn:_0xf3f2b4,endRow:_0x41dff0,endColumn:_0x1db742}=_0x5b1a22;for(let _0x282cd9=_0x281f11;_0x282cd9<=_0x41dff0;_0x282cd9++)for(let _0x269cf0=_0xf3f2b4;_0x269cf0<=_0x1db742;_0x269cf0++){const _0xac82db=_0x269cf0-_0x2f3e3a,_0x3fadd7=_0x282cd9-_0x4be50e;if(_0xac82db===0x0&&_0x3fadd7===0x0){_0x5d68f5[_0x1ac1a3(0x1ee)]=_0x32083e,_0x5d68f5[_0x1ac1a3(0x1fc)]=_0x4e3348,_0x5d68f5[_0x1ac1a3(0x1fd)]=_0x294376,_0x5d68f5[_0x1ac1a3(0x23a)]=_0x1f07bb,_0x5d68f5[_0x1ac1a3(0x28e)]=s[_0x1ac1a3(0x2b1)][_0x1ac1a3(0x24d)],_0x5d68f5[_0x1ac1a3(0x1e9)]=_0x15f53d,_0x528cb9[_0x1ac1a3(0x297)](_0x5d68f5),this[_0x1ac1a3(0x294)][_0x1ac1a3(0x224)](_0x5d68f5[_0x1ac1a3(0x2c1)],_0x5d68f5),this[_0x1ac1a3(0x28c)][_0x1ac1a3(0x219)](_0x4e3348,_0x294376,_0x1f07bb,_0x5d68f5),this[_0x1ac1a3(0x28c)][_0x1ac1a3(0x2a2)](_0x5d68f5);continue;}const _0xd8db49=new s[(_0x1ac1a3(0x2cc))]();_0xd8db49[_0x1ac1a3(0x2c1)]=(_0x19e857==null?void 0x0:_0x19e857[_0x1ac1a3(0x20f)](_0xac82db,_0x3fadd7))||s[_0x1ac1a3(0x2c2)](this[_0x1ac1a3(0x28c)]),_0xd8db49['refTree']=_0x5d68f5,_0xd8db49['refOffsetX']=_0xac82db,_0xd8db49[_0x1ac1a3(0x242)]=_0x3fadd7,_0xd8db49[_0x1ac1a3(0x1e9)]=_0x15f53d,_0xd8db49['type']=s[_0x1ac1a3(0x2b1)]['OTHER_FORMULA'],this[_0x1ac1a3(0x28c)][_0x1ac1a3(0x219)](_0x4e3348,_0x294376,_0x1f07bb,_0xd8db49),this[_0x1ac1a3(0x28c)][_0x1ac1a3(0x2a2)](_0xd8db49),_0x528cb9[_0x1ac1a3(0x297)](_0xd8db49),this[_0x1ac1a3(0x294)][_0x1ac1a3(0x224)](_0xd8db49[_0x1ac1a3(0x2c1)],_0xd8db49);}}this[_0x1ac1a3(0x28c)]['addOtherFormulaDependencyMainData'](_0x1f07bb);}}}}[_0x48b28e(0x1d5)](_0x5a6e20,_0x28d32c,_0x3b96f9,_0x1a2593){const _0x2c156c=_0x48b28e;for(const _0x323684 of _0x5a6e20){const _0xb0ac14=_0x28d32c[_0x323684];if(_0xb0ac14==null)continue;const _0x1b3427=Object[_0x2c156c(0x2aa)](_0xb0ac14);for(const _0x55180a of _0x1b3427){const _0x3cba19=new E[(_0x2c156c(0x270))](_0xb0ac14[_0x55180a]||{}),_0xc25ad2=new Map();_0x3cba19['forValue']((_0x2cfa49,_0x2c59c3,_0x31bda6)=>{const _0x54c156=_0x2c156c;if(_0x31bda6==null)return!0x0;const {x:_0xff954c=0x0,y:_0x2e7ad9=0x0,si:_0x58c00e}=_0x31bda6;if(!(_0xff954c===0x0&&_0x2e7ad9===0x0&&_0x58c00e!=null))return!0x0;const _0x2b83e2=this[_0x54c156(0x221)](_0x323684,_0x55180a,_0x2cfa49,_0x2c59c3,_0x3b96f9,_0x31bda6),_0x25cf9b=this[_0x54c156(0x28c)][_0x54c156(0x211)](_0x323684,_0x55180a,_0x2cfa49,_0x2c59c3);_0x25cf9b!=null?_0x2b83e2[_0x54c156(0x2c1)]=_0x25cf9b:(this['_dependencyManagerService']['addFormulaDependency'](_0x323684,_0x55180a,_0x2cfa49,_0x2c59c3,_0x2b83e2),this[_0x54c156(0x28c)]['addFormulaDependencyByDefinedName'](_0x2b83e2)),_0xc25ad2['set'](_0x58c00e,_0x2b83e2),_0x1a2593['push'](_0x2b83e2),this[_0x54c156(0x294)][_0x54c156(0x224)](_0x2b83e2[_0x54c156(0x2c1)],_0x2b83e2);}),_0x3cba19[_0x2c156c(0x1fa)]((_0xf20e76,_0x13c306,_0x4d7b3f)=>{const _0x45ff9c=_0x2c156c;if(_0x4d7b3f==null)return!0x0;const {x:_0x48de0e=0x0,y:_0x4f4b93=0x0,si:_0x1fe6c8}=_0x4d7b3f;if(_0x48de0e===0x0&&_0x4f4b93===0x0&&_0x1fe6c8!=null)return!0x0;let _0x59c2b1;if(_0x1fe6c8&&_0xc25ad2[_0x45ff9c(0x287)](_0x1fe6c8)){const _0xec25ba=_0xc25ad2['get'](_0x1fe6c8);_0x59c2b1=this[_0x45ff9c(0x220)](_0xec25ba,_0x4d7b3f);}else _0x59c2b1=this['_createFDtree'](_0x323684,_0x55180a,_0xf20e76,_0x13c306,_0x3b96f9,_0x4d7b3f);const _0x24053d=this[_0x45ff9c(0x28c)][_0x45ff9c(0x211)](_0x323684,_0x55180a,_0xf20e76,_0x13c306);_0x24053d!=null?_0x59c2b1[_0x45ff9c(0x2c1)]=_0x24053d:(this[_0x45ff9c(0x28c)][_0x45ff9c(0x1f6)](_0x323684,_0x55180a,_0xf20e76,_0x13c306,_0x59c2b1),this[_0x45ff9c(0x28c)][_0x45ff9c(0x2a2)](_0x59c2b1)),_0x1a2593[_0x45ff9c(0x297)](_0x59c2b1),this[_0x45ff9c(0x294)]['set'](_0x59c2b1[_0x45ff9c(0x2c1)],_0x59c2b1);}),_0xc25ad2[_0x2c156c(0x24a)]();}}}[_0x48b28e(0x221)](_0x35db5a,_0x14f564,_0x46ec8,_0x50fdce,_0x29569f,_0x50c02f){const _0x5e5595=_0x48b28e,{f:_0x48e1b5,x:_0x41c8fd=0x0,y:_0x1d55ad=0x0}=_0x50c02f,_0x52bdf3=new s[(_0x5e5595(0x296))](s[_0x5e5595(0x2c2)](this[_0x5e5595(0x28c)])),_0x41e119=_0x29569f[_0x35db5a][_0x14f564];return _0x52bdf3[_0x5e5595(0x1ee)]=_0x48e1b5,_0x52bdf3['unitId']=_0x35db5a,_0x52bdf3[_0x5e5595(0x1fd)]=_0x14f564,_0x52bdf3[_0x5e5595(0x1e3)]=_0x46ec8,_0x52bdf3[_0x5e5595(0x27b)]=_0x50fdce,_0x52bdf3[_0x5e5595(0x238)]=_0x41e119[_0x5e5595(0x238)],_0x52bdf3[_0x5e5595(0x226)]=_0x41e119[_0x5e5595(0x226)],_0x52bdf3;}['_getUpdateTreeListAndMakeDependency'](){const _0x9f3518=_0x48b28e,_0x4f64ce=[],_0x34d340=new Set(),_0x20ac41=this['_currentConfigService']['isForceCalculate'](),_0x3913d2=this[_0x9f3518(0x203)][_0x9f3518(0x213)](),_0x3dbd9b=this['_dependencyManagerService'][_0x9f3518(0x237)](_0x3913d2),_0x2aeed0=this['_dependencyRTreeCacheForAddressFunction'][_0x9f3518(0x26f)](_0x3913d2);for(const _0x2e2b73 of _0x2aeed0)_0x3dbd9b[_0x9f3518(0x1d8)](_0x2e2b73);for(const [_0x50064b,_0x40ba99]of this['_dependencyTreeCache'])(_0x20ac41||_0x40ba99[_0x9f3518(0x2cb)]||_0x40ba99[_0x9f3518(0x22a)](this['_currentConfigService'][_0x9f3518(0x256)]())||_0x3dbd9b[_0x9f3518(0x287)](_0x50064b)&&!_0x40ba99['isExcludeRange'](this[_0x9f3518(0x203)]['getExcludedRange']()))&&!_0x34d340[_0x9f3518(0x287)](_0x50064b)&&(_0x4f64ce['push'](_0x40ba99),_0x34d340[_0x9f3518(0x1d8)](_0x50064b));for(const [_0x23d662,_0x1542c2]of this[_0x9f3518(0x294)])_0x1542c2['isVirtual']||(_0x1542c2['rangeList']['length']=0x0);return _0x4f64ce;}[_0x48b28e(0x248)](_0x1e6af4){const _0x3c1e13=_0x48b28e;return this[_0x3c1e13(0x294)][_0x3c1e13(0x2b5)](_0x1e6af4);}[_0x48b28e(0x257)](_0x7e07c2){const _0x1520f3=_0x48b28e;return s['generateAstNode'](_0x7e07c2[_0x1520f3(0x1fc)],_0x7e07c2[_0x1520f3(0x1ee)],this[_0x1520f3(0x27f)],this[_0x1520f3(0x2c8)],this[_0x1520f3(0x203)]);}*[_0x48b28e(0x1ef)](_0x286395,_0x40926a){const _0x2a25b2=_0x48b28e,_0x2df5f8=_0x286395,_0x121636=new Set();for(;_0x2df5f8[_0x2a25b2(0x1fb)]>0x0;){const _0x59de92=_0x2df5f8[_0x2a25b2(0x24b)]();if(_0x121636['clear'](),_0x59de92===void 0x0||_0x59de92[_0x2a25b2(0x25b)]())continue;if(_0x59de92[_0x2a25b2(0x271)]()){yield _0x59de92,_0x59de92[_0x2a25b2(0x200)](),_0x40926a[_0x2a25b2(0x1d8)](_0x59de92[_0x2a25b2(0x2c1)]);continue;}const _0x54e351=this['_dependencyManagerService'][_0x2a25b2(0x237)](_0x59de92[_0x2a25b2(0x2a7)](),_0x40926a),_0x119197=this[_0x2a25b2(0x201)][_0x2a25b2(0x26f)](_0x59de92[_0x2a25b2(0x2a7)](),_0x40926a);for(const _0x506b7b of _0x119197)_0x54e351[_0x2a25b2(0x1d8)](_0x506b7b);for(const _0x18ff04 of _0x54e351){const _0x5cc44c=this[_0x2a25b2(0x294)][_0x2a25b2(0x2b5)](_0x18ff04);if(!_0x5cc44c){console[_0x2a25b2(0x25f)](_0x2a25b2(0x1f2),_0x18ff04);continue;}_0x5cc44c['isAdded']()||_0x59de92[_0x2a25b2(0x25b)]()||_0x121636[_0x2a25b2(0x1d8)](_0x5cc44c);}if(_0x54e351[_0x2a25b2(0x24a)](),_0x121636['size']===0x0)yield _0x59de92,_0x59de92[_0x2a25b2(0x200)](),_0x40926a[_0x2a25b2(0x1d8)](_0x59de92[_0x2a25b2(0x2c1)]);else{_0x59de92['setAdded'](),_0x2df5f8[_0x2a25b2(0x297)](_0x59de92);for(const _0x3224bc of _0x121636)_0x2df5f8[_0x2a25b2(0x297)](_0x3224bc);}}_0x2df5f8[_0x2a25b2(0x1fb)]=0x0,_0x121636[_0x2a25b2(0x24a)]();}[_0x48b28e(0x283)](_0x263983){const _0x152341=_0x48b28e,_0x55edc7=[],_0x501205=new Set();for(const _0x27a7ef of this['_traverse'](_0x263983,_0x501205))_0x55edc7[_0x152341(0x297)](_0x27a7ef);return _0x55edc7;}async[_0x48b28e(0x22c)](){const _0x2859e3=_0x48b28e;return await this[_0x2859e3(0x254)](),Array[_0x2859e3(0x290)](this[_0x2859e3(0x294)]['values']());}[_0x48b28e(0x1e4)](_0x3e4267){const _0x32540e=_0x48b28e;return this[_0x32540e(0x28c)][_0x32540e(0x237)](_0x3e4267[_0x32540e(0x2a7)]());}[_0x48b28e(0x2cf)](_0x106c43){const _0x499e7f=_0x48b28e,_0x16fbad=new Set(),_0x530ef6=_0x106c43[_0x499e7f(0x2b7)];for(const [_0x4a08d6,_0x467d15]of this[_0x499e7f(0x294)])for(const _0x413c16 of _0x530ef6){const _0x501505=_0x413c16[_0x499e7f(0x1fc)],_0x48414d=_0x413c16[_0x499e7f(0x1f0)];if(_0x467d15['unitId']!==_0x501505||_0x467d15[_0x499e7f(0x1fd)]!==_0x48414d)continue;const _0x2af3c5=_0x413c16[_0x499e7f(0x1db)];if(_0x467d15[_0x499e7f(0x28d)](_0x2af3c5)){_0x16fbad[_0x499e7f(0x1d8)](_0x4a08d6);break;}}return _0x16fbad;}['_startFormulaDependencyTreeModel'](){const _0x547f5a=_0x48b28e;this[_0x547f5a(0x28c)][_0x547f5a(0x2d3)]();}[_0x48b28e(0x22d)](){const _0x44e002=_0x48b28e;this['_formulaDependencyTreeModel'][_0x44e002(0x24a)](),this[_0x44e002(0x294)]['clear'](),this[_0x44e002(0x28c)]['closeKdTree']();}}class Y extends s[_0x48b28e(0x24c)]{async[_0x48b28e(0x2d0)](_0x46831f=!0x1){const _0xa97954=_0x48b28e;_0x46831f?this[_0xa97954(0x24f)][_0xa97954(0x284)](s[_0xa97954(0x2b6)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xa97954(0x24f)]['setFormulaExecuteStage'](s[_0xa97954(0x2b6)][_0xa97954(0x1d7)]),this[_0xa97954(0x2d5)][_0xa97954(0x202)](this['_runtimeService'][_0xa97954(0x272)]());const _0x3b605d=await this[_0xa97954(0x2c0)][_0xa97954(0x228)](this[_0xa97954(0x21b)]),_0x2430f0=this[_0xa97954(0x207)];_0x46831f?(this[_0xa97954(0x24f)]['setFormulaExecuteStage'](s[_0xa97954(0x2b6)][_0xa97954(0x216)]),this[_0xa97954(0x24f)][_0xa97954(0x1de)](_0x3b605d[_0xa97954(0x1fb)])):(this[_0xa97954(0x24f)][_0xa97954(0x284)](s[_0xa97954(0x2b6)][_0xa97954(0x27a)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x3b605d[_0xa97954(0x1fb)])),this[_0xa97954(0x2d5)][_0xa97954(0x202)](this[_0xa97954(0x24f)][_0xa97954(0x272)]());let _0x384482=[];const _0x7b5534=this[_0xa97954(0x269)][_0xa97954(0x255)](s['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x2d0dfe=(_0x7b5534==null?void 0x0:_0x7b5534[_0xa97954(0x2d4)])||s[_0xa97954(0x29c)];let _0x1a2963=0x0;const _0xc537f0=_0x3b605d[_0xa97954(0x1fb)];for(;_0x3b605d[_0xa97954(0x1fb)]>0x0;){const _0x4f71c3=_0x3b605d[_0xa97954(0x24b)](),_0x5a7e9a=s[_0xa97954(0x21e)](_0x4f71c3[_0xa97954(0x1fc)],_0x4f71c3[_0xa97954(0x1ee)],this[_0xa97954(0x27f)],this[_0xa97954(0x2c8)],this[_0xa97954(0x203)]),_0x12b35c={'node':_0x5a7e9a,'refOffsetX':_0x4f71c3['refOffsetX'],'refOffsetY':_0x4f71c3[_0xa97954(0x242)]},_0x21dbe4=_0x4f71c3['getDirtyData'];if(_0x1a2963%_0x2d0dfe===0x0&&(await new Promise(_0x2003d3=>{const _0x312d97=_0xa97954,_0x3c1303=E[_0x312d97(0x1e2)](_0x2003d3);_0x384482[_0x312d97(0x297)](_0x3c1303);}),_0x46831f?(this[_0xa97954(0x24f)][_0xa97954(0x284)](s[_0xa97954(0x2b6)][_0xa97954(0x275)]),this['_runtimeService'][_0xa97954(0x233)](_0x1a2963+0x1)):(this[_0xa97954(0x24f)][_0xa97954(0x284)](s[_0xa97954(0x2b6)]['CURRENTLY_CALCULATING']),this['_runtimeService'][_0xa97954(0x250)](_0x1a2963+0x1)),this['_executionInProgressListener$']['next'](this[_0xa97954(0x24f)][_0xa97954(0x272)]()),this[_0xa97954(0x24f)]['isStopExecution']()||_0x12b35c==null&&_0x21dbe4==null)){this['_runtimeService'][_0xa97954(0x284)](s[_0xa97954(0x2b6)][_0xa97954(0x23f)]),this[_0xa97954(0x24f)][_0xa97954(0x27e)](),this[_0xa97954(0x258)][_0xa97954(0x202)](this[_0xa97954(0x24f)][_0xa97954(0x1e7)]());return;}this['_runtimeService'][_0xa97954(0x1ec)](_0x4f71c3[_0xa97954(0x1e3)],_0x4f71c3[_0xa97954(0x27b)],_0x4f71c3[_0xa97954(0x238)],_0x4f71c3[_0xa97954(0x226)],_0x4f71c3[_0xa97954(0x1fd)],_0x4f71c3[_0xa97954(0x1fc)]);let _0x2bdae4;if(_0x21dbe4!=null&&_0x4f71c3['featureId']!=null){const {runtimeCellData:_0x4f189f,dirtyRanges:_0xe8dce}=_0x21dbe4(this['_currentConfigService'][_0xa97954(0x22b)](),this[_0xa97954(0x24f)][_0xa97954(0x1e7)]());this[_0xa97954(0x24f)]['setRuntimeFeatureCellData'](_0x4f71c3[_0xa97954(0x27c)],_0x4f189f),this[_0xa97954(0x24f)]['setRuntimeFeatureRange'](_0x4f71c3[_0xa97954(0x27c)],_0xe8dce);}else _0x12b35c!=null&&(_0x2430f0[_0xa97954(0x2a0)](_0x12b35c[_0xa97954(0x1e5)])?_0x2bdae4=await _0x2430f0[_0xa97954(0x24e)](_0x12b35c):_0x2bdae4=_0x2430f0[_0xa97954(0x243)](_0x12b35c),_0x4f71c3[_0xa97954(0x23a)]!=null?this[_0xa97954(0x24f)]['setRuntimeOtherData'](_0x4f71c3['formulaId'],_0x4f71c3[_0xa97954(0x2b3)],_0x4f71c3[_0xa97954(0x242)],_0x2bdae4):this[_0xa97954(0x24f)][_0xa97954(0x21c)](_0x2bdae4));_0x5a7e9a[_0xa97954(0x260)](),_0x1a2963++;}return _0x384482[_0xa97954(0x2b4)](_0x544b5b=>_0x544b5b()),_0x384482=[],_0xc537f0>0x0?this[_0xa97954(0x24f)]['markedAsSuccessfullyExecuted']():_0x46831f||this[_0xa97954(0x24f)][_0xa97954(0x2ab)](),this[_0xa97954(0x24f)][_0xa97954(0x1e7)]();}}function _0x3753(_0x123c31,_0x5b9c8b){_0x123c31=_0x123c31-0x1d4;const _0x2442ff=_0x2442();let _0x375324=_0x2442ff[_0x123c31];return _0x375324;}class G extends s[_0x48b28e(0x244)]{constructor(){const _0x53d1cd=_0x48b28e;super(...arguments),C(this,_0x53d1cd(0x2cd),new Map()),C(this,_0x53d1cd(0x2b0),new E['RTree'](!0x0));}[_0x48b28e(0x279)](){const _0xa901c9=_0x48b28e;this[_0xa901c9(0x1dd)][_0xa901c9(0x24a)](),this[_0xa901c9(0x20a)][_0xa901c9(0x24a)](),this[_0xa901c9(0x1f9)]['clear'](),this[_0xa901c9(0x2b0)]['clear'](),this['_allTreeMap'][_0xa901c9(0x24a)](),this[_0xa901c9(0x235)](),this[_0xa901c9(0x252)][_0xa901c9(0x24a)]();}[_0x48b28e(0x219)](_0x47007f,_0x27d949,_0x18a32e,_0x291cf2){const _0x3e0ef8=_0x48b28e;this[_0x3e0ef8(0x1dd)]['has'](_0x47007f)||this['_otherFormulaData'][_0x3e0ef8(0x224)](_0x47007f,new Map());const _0x3937c3=this[_0x3e0ef8(0x1dd)][_0x3e0ef8(0x2b5)](_0x47007f);_0x3937c3[_0x3e0ef8(0x287)](_0x27d949)||_0x3937c3[_0x3e0ef8(0x224)](_0x27d949,new Map());const _0x48e2d9=_0x3937c3[_0x3e0ef8(0x2b5)](_0x27d949);_0x48e2d9[_0x3e0ef8(0x287)](_0x18a32e)||_0x48e2d9[_0x3e0ef8(0x224)](_0x18a32e,new E[(_0x3e0ef8(0x270))]()),_0x48e2d9['get'](_0x18a32e)[_0x3e0ef8(0x298)](_0x291cf2['refOffsetX'],_0x291cf2[_0x3e0ef8(0x242)],_0x291cf2[_0x3e0ef8(0x2c1)]);}[_0x48b28e(0x1ff)](_0x190285,_0x43caa3,_0x3ddbd8){const _0xab5e50=_0x48b28e,_0x29014f=this['_otherFormulaData'][_0xab5e50(0x2b5)](_0x190285);if(_0x29014f&&_0x29014f[_0xab5e50(0x287)](_0x43caa3)){const _0x67fd7e=_0x29014f['get'](_0x43caa3);_0x3ddbd8[_0xab5e50(0x2b4)](_0x1efd5f=>{const _0x55d332=_0xab5e50,_0x368e73=_0x67fd7e[_0x55d332(0x2b5)](_0x1efd5f);_0x368e73!=null&&(_0x368e73[_0x55d332(0x1fa)]((_0x2d2d1d,_0x22030e,_0x3970b0)=>{const _0x34913a=_0x55d332;this[_0x34913a(0x2b9)](_0x3970b0),this[_0x34913a(0x29e)](_0x3970b0);}),_0x67fd7e['delete'](_0x1efd5f),this[_0x55d332(0x252)]['delete'](_0x1efd5f));}),_0x67fd7e['size']===0x0&&_0x29014f['delete'](_0x43caa3),_0x29014f[_0xab5e50(0x21d)]===0x0&&this[_0xab5e50(0x1dd)][_0xab5e50(0x1da)](_0x190285);}}[_0x48b28e(0x28a)](_0x11186d,_0x37bea0){const _0x469116=_0x48b28e,_0x4a5cfc=this[_0x469116(0x1dd)][_0x469116(0x2b5)](_0x11186d);if(_0x37bea0&&_0x4a5cfc&&_0x4a5cfc[_0x469116(0x287)](_0x37bea0)){const _0x5d35b3=_0x4a5cfc['get'](_0x37bea0);this[_0x469116(0x2ae)](_0x11186d,_0x37bea0);for(const _0x2198f8 of _0x5d35b3[_0x469116(0x2aa)]()){const _0x2cf292=_0x5d35b3['get'](_0x2198f8);_0x2cf292!=null&&(_0x2cf292['forValue']((_0x253d7b,_0x5afc75,_0x1d7d6b)=>{const _0x51abb0=_0x469116;this[_0x51abb0(0x2cd)][_0x51abb0(0x2b5)](_0x1d7d6b)&&this[_0x51abb0(0x29e)](_0x1d7d6b);}),this['_otherFormulaDataMainData']['delete'](_0x2198f8));}_0x5d35b3[_0x469116(0x24a)]();}else{if(_0x4a5cfc){for(const _0xfc069b of _0x4a5cfc['keys']()){const _0x39b78c=_0x4a5cfc[_0x469116(0x2b5)](_0xfc069b);this[_0x469116(0x2ae)](_0x11186d,_0xfc069b);for(const _0x3bd4d4 of _0x39b78c['keys']()){const _0x3fdf5c=_0x39b78c[_0x469116(0x2b5)](_0x3bd4d4);_0x3fdf5c!=null&&(_0x3fdf5c[_0x469116(0x1fa)]((_0x968ea8,_0x2771fd,_0x528b56)=>{const _0x1f3407=_0x469116;this[_0x1f3407(0x2cd)][_0x1f3407(0x2b5)](_0x528b56)&&this[_0x1f3407(0x29e)](_0x528b56);}),this[_0x469116(0x252)]['delete'](_0x3bd4d4));}}this['_otherFormulaData']['delete'](_0x11186d);}}}['addFeatureFormulaDependency'](_0x4271bb,_0x7b5061,_0x1c3610,_0x7ab6f6){const _0x26b380=_0x48b28e;this[_0x26b380(0x20a)][_0x26b380(0x287)](_0x4271bb)||this[_0x26b380(0x20a)][_0x26b380(0x224)](_0x4271bb,new Map());const _0x5b744a=this[_0x26b380(0x20a)]['get'](_0x4271bb);_0x5b744a[_0x26b380(0x287)](_0x7b5061)||_0x5b744a[_0x26b380(0x224)](_0x7b5061,new Map()),_0x5b744a[_0x26b380(0x2b5)](_0x7b5061)[_0x26b380(0x224)](_0x1c3610,_0x7ab6f6[_0x26b380(0x2c1)]);}[_0x48b28e(0x205)](_0x4aed20,_0x1d50c3,_0x42214a){const _0x29399e=_0x48b28e,_0x5b0762=this[_0x29399e(0x20a)][_0x29399e(0x2b5)](_0x4aed20);if(_0x5b0762&&_0x5b0762['has'](_0x1d50c3)){const _0x4618e8=_0x5b0762['get'](_0x1d50c3);_0x42214a[_0x29399e(0x2b4)](_0x4d1472=>{const _0x3464d0=_0x29399e,_0x4cb0eb=_0x4618e8[_0x3464d0(0x2b5)](_0x4d1472);_0x4cb0eb!=null&&(this[_0x3464d0(0x2b9)](_0x4cb0eb),_0x4618e8['delete'](_0x4d1472),this[_0x3464d0(0x29e)](_0x4cb0eb));});}}[_0x48b28e(0x2ac)](_0xf57847,_0xe4ced5){const _0x48799d=_0x48b28e,_0x3e8377=this[_0x48799d(0x20a)][_0x48799d(0x2b5)](_0xf57847);if(_0xe4ced5&&_0x3e8377&&_0x3e8377['has'](_0xe4ced5)){const _0x595c63=_0x3e8377[_0x48799d(0x2b5)](_0xe4ced5);this[_0x48799d(0x2ae)](_0xf57847,_0xe4ced5),_0x595c63[_0x48799d(0x2b4)](_0x2a1bf2=>{const _0x1eeb0d=_0x48799d;_0x2a1bf2!=null&&this[_0x1eeb0d(0x29e)](_0x2a1bf2);}),_0x595c63[_0x48799d(0x24a)]();}else _0x3e8377&&(_0x3e8377['forEach']((_0x38772c,_0x391175)=>{const _0x14fe56=_0x48799d;this[_0x14fe56(0x2ae)](_0xf57847,_0x391175),_0x38772c[_0x14fe56(0x2b4)](_0xa525c4=>{_0xa525c4!=null&&this['_removeAllTreeMap'](_0xa525c4);});}),this[_0x48799d(0x20a)][_0x48799d(0x1da)](_0xf57847));}[_0x48b28e(0x1f6)](_0x1dce69,_0x45ac75,_0x4d810a,_0x39cc06,_0x580810){const _0x4995b7=_0x48b28e;this['_formulaData'][_0x4995b7(0x287)](_0x1dce69)||this[_0x4995b7(0x1f9)][_0x4995b7(0x224)](_0x1dce69,new Map());const _0x57aa2c=this[_0x4995b7(0x1f9)][_0x4995b7(0x2b5)](_0x1dce69);_0x57aa2c[_0x4995b7(0x287)](_0x45ac75)||_0x57aa2c[_0x4995b7(0x224)](_0x45ac75,new E['ObjectMatrix']()),_0x57aa2c[_0x4995b7(0x2b5)](_0x45ac75)[_0x4995b7(0x298)](_0x4d810a,_0x39cc06,_0x580810[_0x4995b7(0x2c1)]);}[_0x48b28e(0x26e)](_0x1bbe31,_0x3d2dfd,_0x2c3516,_0x348975){const _0x25670e=_0x48b28e,_0x30d63c=this[_0x25670e(0x1f9)][_0x25670e(0x2b5)](_0x1bbe31);if(_0x30d63c&&_0x30d63c[_0x25670e(0x287)](_0x3d2dfd)){const _0xbee5e4=_0x30d63c[_0x25670e(0x2b5)](_0x3d2dfd),_0x39d845=_0xbee5e4[_0x25670e(0x20f)](_0x2c3516,_0x348975);if(_0x39d845==null)return;this[_0x25670e(0x2b9)](_0x39d845),_0xbee5e4['realDeleteValue'](_0x2c3516,_0x348975),this[_0x25670e(0x29e)](_0x39d845);}}[_0x48b28e(0x1df)](_0x3fb458,_0x59fe19){const _0x330432=_0x48b28e,_0x7e56a8=this[_0x330432(0x1f9)][_0x330432(0x2b5)](_0x3fb458);if(_0x59fe19&&_0x7e56a8&&_0x7e56a8[_0x330432(0x287)](_0x59fe19)){const _0x17fd33=_0x7e56a8[_0x330432(0x2b5)](_0x59fe19);this[_0x330432(0x2ae)](_0x3fb458,_0x59fe19),_0x17fd33['forValue']((_0x4c2618,_0x4956bb,_0x54cdc5)=>{const _0x3f38d4=_0x330432;if(_0x54cdc5==null)return!0x0;this[_0x3f38d4(0x29e)](_0x54cdc5);}),_0x17fd33[_0x330432(0x279)]();}else _0x7e56a8&&(_0x7e56a8[_0x330432(0x2b4)]((_0x58b149,_0x34c06e)=>{const _0x74d400=_0x330432;this[_0x74d400(0x2ae)](_0x3fb458,_0x34c06e),_0x58b149['forValue']((_0x86fd28,_0x3e38b0,_0x3e3d38)=>{const _0x35ab50=_0x74d400;if(_0x3e3d38==null)return!0x0;this[_0x35ab50(0x29e)](_0x3e3d38);});}),this[_0x330432(0x1f9)][_0x330432(0x1da)](_0x3fb458));}[_0x48b28e(0x2b9)](_0x32fe98){const _0x53cfb6=_0x48b28e;if(_0x32fe98==null)return;const _0x71215f=this[_0x53cfb6(0x2cd)][_0x53cfb6(0x2b5)](_0x32fe98);if(_0x71215f){const _0x12301a=[];for(const [_0x14b667,_0x109506]of _0x71215f)for(const [_0x26abd9,_0x2f2ff3]of _0x109506)_0x12301a[_0x53cfb6(0x297)]({'unitId':_0x14b667,'sheetId':_0x26abd9,'range':_0x2f2ff3,'id':_0x32fe98});this[_0x53cfb6(0x2b0)][_0x53cfb6(0x281)](_0x12301a);}}[_0x48b28e(0x1e0)](_0x3e6de3,_0x480455){const _0x145c49=_0x48b28e,_0x2934b6=this[_0x145c49(0x20e)][_0x145c49(0x2b5)](_0x3e6de3);if(_0x2934b6){const _0x48efc6=_0x2934b6[_0x145c49(0x2b5)](_0x480455);if(_0x48efc6){for(const _0x1848c6 of _0x48efc6)this['_removeDependencyRTreeCache'](_0x1848c6),this[_0x145c49(0x29e)](_0x1848c6);_0x48efc6[_0x145c49(0x24a)]();}}}['openKdTree'](){this['_dependencyRTreeCache']['openKdTree']();}['closeKdTree'](){const _0x4d3001=_0x48b28e;this[_0x4d3001(0x2b0)][_0x4d3001(0x230)]();}[_0x48b28e(0x29e)](_0x3e56b9){const _0x4ec157=_0x48b28e;_0x3e56b9!=null&&this[_0x4ec157(0x2cd)][_0x4ec157(0x1da)](_0x3e56b9);}[_0x48b28e(0x1f5)](_0x30c96e){const _0x5e0c4c=_0x48b28e;var _0x812c50,_0x166ceb;const _0x3f2c29=_0x30c96e[_0x5e0c4c(0x2b7)];let _0x7236ab=this[_0x5e0c4c(0x2cd)][_0x5e0c4c(0x2b5)](_0x30c96e[_0x5e0c4c(0x2c1)]);for(let _0x166514=0x0;_0x166514<_0x3f2c29[_0x5e0c4c(0x1fb)];_0x166514++){const _0x761985=_0x3f2c29[_0x166514];let {unitId:_0x50fb58,sheetId:_0x17cca8,range:_0x5f326f}=_0x761985;_0x7236ab||(_0x7236ab=new Map(),this['_allTreeMap'][_0x5e0c4c(0x224)](_0x30c96e[_0x5e0c4c(0x2c1)],_0x7236ab)),_0x7236ab[_0x5e0c4c(0x287)](_0x50fb58)||_0x7236ab[_0x5e0c4c(0x224)](_0x50fb58,new Map());const _0x2b7a0b=(_0x812c50=_0x7236ab==null?void 0x0:_0x7236ab[_0x5e0c4c(0x2b5)](_0x50fb58))==null?void 0x0:_0x812c50[_0x5e0c4c(0x2b5)](_0x17cca8);_0x2b7a0b&&(_0x5f326f={'startRow':Math[_0x5e0c4c(0x1ea)](_0x5f326f[_0x5e0c4c(0x2a1)],_0x2b7a0b[_0x5e0c4c(0x2a1)]),'startColumn':Math[_0x5e0c4c(0x1ea)](_0x5f326f[_0x5e0c4c(0x20b)],_0x2b7a0b[_0x5e0c4c(0x20b)]),'endRow':Math[_0x5e0c4c(0x20c)](_0x5f326f[_0x5e0c4c(0x225)],_0x2b7a0b[_0x5e0c4c(0x225)]),'endColumn':Math[_0x5e0c4c(0x20c)](_0x5f326f[_0x5e0c4c(0x2be)],_0x2b7a0b[_0x5e0c4c(0x2be)])}),(_0x166ceb=_0x7236ab[_0x5e0c4c(0x2b5)](_0x50fb58))==null||_0x166ceb[_0x5e0c4c(0x224)](_0x17cca8,_0x5f326f);}}}var $=Object['getOwnPropertyDescriptor'],j=(_0x131986,_0x1dac81,_0x4d1054,_0x5a8cbb)=>{for(var _0x210d5b=_0x5a8cbb>0x1?void 0x0:_0x5a8cbb?$(_0x1dac81,_0x4d1054):_0x1dac81,_0x16c5d0=_0x131986['length']-0x1,_0x5ddf33;_0x16c5d0>=0x0;_0x16c5d0--)(_0x5ddf33=_0x131986[_0x16c5d0])&&(_0x210d5b=_0x5ddf33(_0x210d5b)||_0x210d5b);return _0x210d5b;};const H=Number[_0x48b28e(0x2a5)](0x695cb03c);exports[_0x48b28e(0x27d)]=class extends s['UniverFormulaEnginePlugin']{[_0x48b28e(0x22e)](){const _0x133737=_0x48b28e;var _0x5826fb,_0x28e07d;this['_initLicenseValid']()?(this[_0x133737(0x292)]['add']([s[_0x133737(0x1d9)],{'useClass':B}]),(_0x5826fb=this[_0x133737(0x2c7)])!=null&&_0x5826fb[_0x133737(0x1fe)]||[[s[_0x133737(0x264)],{'useClass':Y}],[s[_0x133737(0x291)],{'useClass':G}],[s['IFormulaDependencyGenerator'],{'useClass':V}]][_0x133737(0x2b4)](_0x11ad08=>this[_0x133737(0x292)][_0x133737(0x1d8)](_0x11ad08))):(this[_0x133737(0x292)][_0x133737(0x1d8)]([s[_0x133737(0x1d9)],{'useClass':s[_0x133737(0x1d9)]}]),(_0x28e07d=this['_config'])!=null&&_0x28e07d['notExecuteFormula']||[[s[_0x133737(0x264)],{'useClass':s[_0x133737(0x24c)]}],[s[_0x133737(0x291)],{'useClass':s[_0x133737(0x218)]}],[s[_0x133737(0x2d1)],{'useClass':s['FormulaDependencyGenerator']}]][_0x133737(0x2b4)](_0x4eb82a=>this[_0x133737(0x292)][_0x133737(0x1d8)](_0x4eb82a)));}[_0x48b28e(0x295)](){const _0x187c7f=_0x48b28e;var _0x5aa1ac;const _0x20ff43=(_0x5aa1ac=this[_0x187c7f(0x269)][_0x187c7f(0x255)](w['LS_CONFIG_KEY']))!=null?_0x5aa1ac:{},{ls:_0x232981,pbk:_0x1a0ccc}=_0x20ff43;if(!_0x232981||!_0x1a0ccc)return!0x1;const _0x1f7e36=w['unshiftString'](K,P),_0x59d5de=new Function('return\x20'+_0x1f7e36)()(_0x232981,_0x1a0ccc),_0x6cc408=_0x59d5de['message'];return _0x59d5de[_0x187c7f(0x204)]&&w[_0x187c7f(0x25e)](_0x6cc408,'sf',H)?w['getSheetFeatureLimit'](_0x6cc408,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x48b28e(0x27d)]=j([E[_0x48b28e(0x234)](w[_0x48b28e(0x273)])],exports[_0x48b28e(0x27d)]),exports[_0x48b28e(0x1f7)]=B,Object[_0x48b28e(0x2aa)](s)[_0x48b28e(0x2b4)](_0x18628e=>{const _0x259564=_0x48b28e;_0x18628e!==_0x259564(0x2c5)&&!Object['prototype'][_0x259564(0x25c)][_0x259564(0x209)](exports,_0x18628e)&&Object[_0x259564(0x253)](exports,_0x18628e,{'enumerable':!0x0,'get':()=>s[_0x18628e]});});
|
|
1
|
+
'use strict';const _0x5a91b3=_0x1881;function _0x1881(_0x44d974,_0x41d5d1){_0x44d974=_0x44d974-0xae;const _0x1d7a1a=_0x1d7a();let _0x18810d=_0x1d7a1a[_0x44d974];return _0x18810d;}(function(_0x4762a8,_0x2a3aa2){const _0x1b7428=_0x1881,_0x1389b2=_0x4762a8();while(!![]){try{const _0x11b818=parseInt(_0x1b7428(0xb5))/0x1*(parseInt(_0x1b7428(0xfd))/0x2)+parseInt(_0x1b7428(0xc9))/0x3+-parseInt(_0x1b7428(0x13f))/0x4+-parseInt(_0x1b7428(0x198))/0x5+-parseInt(_0x1b7428(0xff))/0x6*(-parseInt(_0x1b7428(0x141))/0x7)+parseInt(_0x1b7428(0x119))/0x8*(-parseInt(_0x1b7428(0x168))/0x9)+parseInt(_0x1b7428(0x1a4))/0xa*(-parseInt(_0x1b7428(0xb6))/0xb);if(_0x11b818===_0x2a3aa2)break;else _0x1389b2['push'](_0x1389b2['shift']());}catch(_0xd90199){_0x1389b2['push'](_0x1389b2['shift']());}}}(_0x1d7a,0xa1a5c));var b=Object['defineProperty'],H=(_0x52d492,_0x48a88c,_0x4e226d)=>_0x48a88c in _0x52d492?b(_0x52d492,_0x48a88c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e226d}):_0x52d492[_0x48a88c]=_0x4e226d,C=(_0x3e9e3f,_0xfb2e3c,_0x3a0d5f)=>H(_0x3e9e3f,typeof _0xfb2e3c!='symbol'?_0xfb2e3c+'':_0xfb2e3c,_0x3a0d5f);function _0x1d7a(){const _0x3a8454=['_registerFormulas','FormulaDependencyGenerator','_removeAllTreeMap','bulkSearch','length','treeId','default','setSkip','_currentConfigService','error','markedAsSuccessfullyExecuted','_removeDependencyRTreeCache','_lambdaFunctionParameterSet','formula','RTree','requestImmediateMacroTask','from','8yzIQyf','endColumn','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_checkIsCycleDependency','endRow','setRuntimeData','_hasNewExcelFunction','removeOtherFormulaDependency','forValue','LexerNode','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','COLON','_handleLambdaForExprTree','getFormulaExprTree','notExecuteFormula','prototype','setRuntimeOtherData','addOtherFormulaDependency','_xlfn.','openKdTree','addFeatureFormulaDependency','_dependencyTreeCache','set','hasOwnProperty','_otherFormulaManagerService','_dependencyManagerService','START_CALCULATION_ARRAY_FORMULA','getDirtyData','_formulaDependencyGenerator','DependencyManagerService','add','row','push','hasOtherFormulaDataMainData','isDirty','LexerTreeProBuilder','bulkRemove','_getTableNameFromStructuredRef','3203176tNPHYG','generateAstNode','7BrefgH','setValue','_formulaDependencyTreeModel','startsWith','_getCurNodeTypeForExprTree','setFormulaExecuteStage','clearFormulaDependency','_getAllTreeList','_isCalculateTreeModel','type','startRow','toUpperCase','removeFeatureFormulaDependency','enableCycleDependency','getToken','getValue','prefixToken','column','_createFDtree','_handleChildrenForExprTree','getOtherFormulaDependency','ErrorType','checkAsyncNode','LS_CONFIG_KEY','getConfig','refTree','_allTreeMap','size','_endFormulaDependencyTreeModel','IDLE','clearArrayObjectCache','values','toRTreeItem','slice','NEW_EXCEL_FUNCTIONS','DEFAULT_TOKEN_TYPE_ROOT','_otherFormulaDataMainData','PLUS','START_DEPENDENCY_ARRAY_FORMULA','2715381SFbxjm','_checkColonNodeForExprTree','addFormulaDependency','DEFAULT_TOKEN_TYPE_PARAMETER','_featureFormulaData','isAdded','SUFFIX_TOKEN_SET','formulaId','string','DEFAULT_TOKEN_LET_FUNCTION_NAME','setAdded','setRuntimeFeatureCellData','_xlfnPrefix','_getTreeById','_configService','startIndex','isArray','_getDependencyTreeParenIds','_currentUnitId','resetCalculationState','_otherFormulaData','_initLicenseValid','_getFirstCellOfRange','rangeList','value','featureId','removeFormulaDependency','getFormulaDependency','delete','Lambda\x20parameter\x20name\x20\x22','ObjectMatrix','columnCount','clear','_addAllTreeMap','_generateTreeList','setTotalArrayFormulasToCalculate','_runtimeService','Let\x20variable\x20name\x20\x22','_lexer','_astTreeBuilder','markedAsStopFunctionsExecuted','_executionInProgressListener$','join','clearFeatureFormulaDependency','removeFormulaDependencyByDefinedName','FormulaDependencyTreeType','setCurrent','_getFeatureFormulaTree','1340750FuJtLI','_getDependencyTreeChildrenIds','_generateNewFunctionString','_clearPrefix','getExcludedRange','MINUS','forEach','max','CURRENTLY_CALCULATING','subUnitId','isReferenceString','_clearFunctionString','70lGGQce','clearOtherFormulaDependency','_resetPrefix','_generateExprTree','_xlpmPrefix','_updateRangeFlatten','unitId','get','getAllRuntimeData','CalculateFormulaService','225679pHzgAc','587917VEsTpH','isSkip','defineProperty','isCache','call','refOffsetY','addFormulaDependencyByDefinedName','_getTreeNode','IFormulaDependencyGenerator','_removeDependencyRTreeCacheById','_getAllDependencyJson','trim','execute','/*\x20m9J6pG-H69nhJm\x20DTmSmT-GmUDJnGm\x20*/Sop8G6ap\x20Hm8T7DG6ap(J68mp9m,\x20DohJ68um7)\x20{\x20\x20\x20\x20GT7\x20{\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20J68mp9mVpSaxnTGfTTn7\x20=\x20J68mp9m.9DJ6G(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20aT6z6pRm99nzm\x20=\x20FCvW.DnT9m(nGah(J68mp9mVpSaxnTGfTTn7[k]));\x20\x20\x20\x20\x20\x20\x20\x206S\x20(!aT6z6pRm99nzm.oH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aT6z6pRm99nzm.oH\x20=\x20WoUhmT(J68mp9mVpSaxnTGfTTn7[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2069waTZmT\x20=\x20G7DmaS\x20waTZmTPJahnJC8aDm\x20!==\x20\x27opHmS6pmH\x27\x20&&\x209mJS\x206p9Gnp8maS\x20waTZmTPJahnJC8aDm;\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2069qTa49mT\x20=\x20G7DmaS\x2046pHa4\x20!==\x20\x27opHmS6pmH\x27\x20&&\x20G7DmaS\x2046pHa4.Ja8nG6ap\x20!==\x20\x27opHmS6pmH\x27;\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x208apGmYG\x20=\x2069waTZmT\x20?\x209mJS\x20:\x20(69qTa49mT\x20?\x2046pHa4\x20:\x20zJahnJ0E69);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20Um99nzmwaTH\x20=\x208apGmYG.__qn9m5K__.DnT9m(J68mp9mVpSaxnTGfTTn7[k]);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20Um99nzm\x20=\x208apGmYG.__cmY__.9GT6pz6S7(Um99nzmwaTH);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpnGoTmwaTH\x20=\x208apGmYG.__qn9m5K__.DnT9m(J68mp9mVpSaxnTGfTTn7[1]);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpnGoTm\x20=\x208apGmYG.__cmY__.9GT6pz6S7(96zpnGoTmwaTH);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpdnJ6H\x20=\x208apGmYG.__bmT6S7__(96zpnGoTm,\x20Um99nzm,\x20DohJ68um7);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20HaUn6p\x20=\x20aT6z6pRm99nzm.HU;\x20\x20\x20\x20\x20\x20\x20\x20Sop8G6ap\x2069yaUn6pRnG8E6pz(DnGGmTp,\x20Ea9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(DnGGmTp\x20===\x20Ea9G)\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(DnGGmTp.9GnTG9w6GE(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x209oSS6Y\x20=\x20DnGGmTp.9J68m(k);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(9oSS6Y\x20&&\x209oSS6Y\x20===\x20Ea9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(9oSS6Y\x20&&\x20!Ea9G.9GnTG9w6GE(\x27.\x27)\x20&&\x20Ea9G.mpH9w6GE(\x27.\x27\x20+\x209oSS6Y))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20SnJ9m;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JmG\x20HaUn6pdnJ6H\x20=\x20SnJ9m;\x20\x20\x20\x20\x20\x20\x20\x206S\x20(69qTa49mT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20(HaUn6p\x20&&\x20HaUn6p.JmpzGE)\x20?\x20HaUn6p.9aUm((HUVGmU)\x20=>\x2069yaUn6pRnG8E6pz(HUVGmU,\x20Ja8nG6ap.Ea9GpnUm))\x20:\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(Ja8nG6ap.Ea9GpnUm\x20===\x20\x27Ja8nJEa9G\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20mJ9m\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20bnJ6H\x20=\x2096zpdnJ6H\x20&&\x20HaUn6pdnJ6H;\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bnJ6H,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Um99nzm:\x20aT6z6pRm99nzm,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208nG8E\x20(mTTaT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bnJ6H:\x20SnJ9m,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Um99nzm:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','FormulaExecuteStageType','return\x20','_registerOtherFormulas','_convertDirtyRangesToUnitRange','_handleNewFunctionChild','2667243RhBzwB','message','refOffsetX','node','generate','addOtherFormulaDependencyMainData','parseInt','getFeatureFormulaDependency','setDependencyTreeModelData','_formulaData','generateRandomDependencyTreeId','IDependencyManagerService','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','has','_config','VALUE','_getUpdateTreeListAndMakeDependency','searchDependency','_createVirtualFDtree','children','isFeatureAuthorizedWithinTime','ICalculateFormulaService','_definedNameMap','getFormulaData','getChildren','FormulaDependencyTree','_dependencyRTreeCacheForAddressFunction','OTHER_FORMULA','reset','resolve','LexerTreeBuilder','getOwnPropertyDescriptor','getRuntimeState','pop','_injector','matchToken','_isCyclicUtilMap','keys','_apply','_traverse','splitTableStructuredRef','_dependencyRTreeCache','isForceCalculate','isVirtual','next','Module','rowCount','\x22\x20is\x20duplicated.','setTotalFormulasToCalculate','getStartIndex','DependencyManagerBaseService','dispose','8mXyaCo','_initializeGenerateTreeList','3690558Hhntgo','_calculateRunList','getNewFormulaWithPrefix','realDeleteValue','closeKdTree','markedAsNoFunctionsExecuted','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','endsWith','isExcludeRange'];_0x1d7a=function(){return _0x3a8454;};return _0x1d7a();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5a91b3(0xf6)});const s=require('@univerjs/engine-formula'),M=require('@univerjs-pro/license'),x=require('@univerjs/core');class G extends s[_0x5a91b3(0xe7)]{constructor(){const _0x395b13=_0x5a91b3;super(...arguments),C(this,'_hasNewExcelFunction',!0x1),C(this,'_lambdaFunctionParameterSet',new Set()),C(this,'_xlpmPrefix','_xlpm.'),C(this,_0x395b13(0x174),_0x395b13(0x12b)),C(this,'_currentUnitId','');}[_0x5a91b3(0x1a6)](){const _0x19483e=_0x5a91b3;this[_0x19483e(0xaf)]='_xlpm.',this['_xlfnPrefix']=_0x19483e(0x12b);}[_0x5a91b3(0x19b)](){const _0x158fec=_0x5a91b3;this[_0x158fec(0xaf)]='',this['_xlfnPrefix']='';}[_0x5a91b3(0x101)](_0x4db1c9,_0x5f0f9e){const _0x2b7c65=_0x5a91b3,_0x171940=this['treeBuilder'](_0x4db1c9,!0x1);if(!_0x171940||_0x171940===s['ErrorType'][_0x2b7c65(0xd8)]||Array['isArray'](_0x171940))return null;const _0x2aebf7=[];return this['_hasNewExcelFunction']=!0x1,this[_0x2b7c65(0x19a)](_0x171940,_0x2aebf7,_0x5f0f9e),this[_0x2b7c65(0x11f)]?'='+_0x2aebf7[_0x2b7c65(0x192)](''):null;}[_0x5a91b3(0x19a)](_0x37e65b,_0x11c58f,_0x66a0a3){const _0x18df1a=_0x5a91b3,_0x23511a=_0x37e65b['getToken'](),_0x2883fa=_0x23511a[_0x18df1a(0xc1)](),_0x505b46=_0x2883fa[_0x18df1a(0x14c)](),_0x4d90fb=this[_0x18df1a(0x1a3)](_0x505b46),_0x3229cb=_0x66a0a3(_0x4d90fb);let _0x396058=0x0;_0x23511a===s['DEFAULT_TOKEN_TYPE_ROOT']?_0x396058=0x3:_0x23511a===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x396058=0x4:_0x23511a===s[_0x18df1a(0x11b)]?_0x396058=0x5:s[_0x18df1a(0x163)][_0x18df1a(0xd6)](_0x4d90fb)?(_0x11c58f[_0x18df1a(0x139)](''+this[_0x18df1a(0x174)]+_0x2883fa),this[_0x18df1a(0x11f)]=!0x0):_0x505b46===s[_0x18df1a(0x123)]?(_0x11c58f[_0x18df1a(0x139)](''+this[_0x18df1a(0x174)]+_0x2883fa),this[_0x18df1a(0x11f)]=!0x0,_0x396058=0x2):_0x505b46===s[_0x18df1a(0x171)]?(_0x11c58f[_0x18df1a(0x139)](''+this[_0x18df1a(0x174)]+_0x2883fa),this[_0x18df1a(0x11f)]=!0x0,_0x396058=0x1):_0x505b46===s[_0x18df1a(0xec)][_0x18df1a(0x124)]?_0x396058=0x8:s[_0x18df1a(0x16e)][_0x18df1a(0xd6)](_0x505b46)?_0x396058=0x7:_0x505b46===s[_0x18df1a(0x151)][_0x18df1a(0x19d)]?(this['_checkAddBracketForMinus'](_0x37e65b)&&(_0x396058=0x9),_0x11c58f['push'](_0x23511a)):(_0x11c58f[_0x18df1a(0x139)](_0x23511a),_0x396058=0xa),_0x3229cb?(_0x396058!==0x2&&_0x396058!==0x1&&(_0x396058=0x6),_0x11c58f[_0x18df1a(0x139)]('(')):_0x396058===0x9&&_0x11c58f['push']('(');const _0x41cdb=_0x37e65b['getChildren'](),_0x323bb6=_0x41cdb[_0x18df1a(0x10c)];if(_0x396058===0x2){const _0x462fae=_0x41cdb[0x0];let _0x53fe36=0x0;_0x462fae instanceof s['LexerNode']&&_0x462fae[_0x18df1a(0x14f)]()===s[_0x18df1a(0x11b)]&&(_0x53fe36=0x1);for(let _0x4b51f1=_0x53fe36;_0x4b51f1<_0x323bb6-0x1;_0x4b51f1++){const _0x3afc28=_0x41cdb[_0x4b51f1];if(_0x3afc28 instanceof s[_0x18df1a(0x122)]){const _0x158cee=_0x3afc28['getChildren']()[0x0];typeof _0x158cee==_0x18df1a(0x170)&&(this[_0x18df1a(0x114)]['has'](_0x158cee)&&console['error'](_0x18df1a(0x185)+_0x158cee+_0x18df1a(0xf8)),this['_lambdaFunctionParameterSet'][_0x18df1a(0x137)](_0x158cee),_0x11c58f[_0x18df1a(0x139)](''+this['_xlpmPrefix']+_0x158cee),this[_0x18df1a(0x11f)]=!0x0);}_0x11c58f[_0x18df1a(0x139)](',');}this[_0x18df1a(0xc8)](_0x41cdb[_0x323bb6-0x1],_0x11c58f,_0x66a0a3),_0x53fe36===0x1&&(_0x11c58f['push'](')'),_0x11c58f[_0x18df1a(0x139)]('('),this[_0x18df1a(0x19a)](_0x462fae,_0x11c58f,_0x66a0a3)),_0x11c58f[_0x18df1a(0x139)](')');return;}else{if(_0x396058===0x1){for(let _0x2c305b=0x0;_0x2c305b<_0x323bb6-0x1;_0x2c305b++){const _0x19d70a=_0x41cdb[_0x2c305b];if(_0x19d70a instanceof s[_0x18df1a(0x122)]&&_0x2c305b%0x2===0x0){const _0x14766a=_0x19d70a[_0x18df1a(0xe1)]()[0x0];if(typeof _0x14766a==_0x18df1a(0x170)){this[_0x18df1a(0x114)][_0x18df1a(0xd6)](_0x14766a)&&console[_0x18df1a(0x111)](_0x18df1a(0x18d)+_0x14766a+_0x18df1a(0xf8)),this[_0x18df1a(0x114)]['add'](_0x14766a),_0x11c58f[_0x18df1a(0x139)](''+this['_xlpmPrefix']+_0x14766a),this[_0x18df1a(0x11f)]=!0x0,_0x11c58f[_0x18df1a(0x139)](',');continue;}}if(this['_handleNewFunctionChild'](_0x19d70a,_0x11c58f,_0x66a0a3),_0x19d70a instanceof s[_0x18df1a(0x122)]){const _0x38c6f4=_0x41cdb[_0x2c305b+0x1];_0x38c6f4&&_0x38c6f4 instanceof s[_0x18df1a(0x122)]&&_0x11c58f[_0x18df1a(0x139)](',');}}this['_handleNewFunctionChild'](_0x41cdb[_0x323bb6-0x1],_0x11c58f,_0x66a0a3),_0x11c58f[_0x18df1a(0x139)](')');return;}else{if(_0x396058===0x8){const _0x3a4251=_0x41cdb[0x0],_0x5ea91e=_0x41cdb[0x1];this[_0x18df1a(0xc8)](_0x3a4251,_0x11c58f,_0x66a0a3),_0x11c58f[_0x18df1a(0x139)](_0x23511a),this[_0x18df1a(0xc8)](_0x5ea91e,_0x11c58f,_0x66a0a3);return;}}}for(let _0x51d358=0x0;_0x51d358<_0x323bb6;_0x51d358++){const _0x2effc0=_0x41cdb[_0x51d358];if(this['_handleNewFunctionChild'](_0x2effc0,_0x11c58f,_0x66a0a3),_0x2effc0 instanceof s[_0x18df1a(0x122)]){const _0x3b478b=_0x41cdb[_0x51d358+0x1];_0x3b478b&&_0x3b478b instanceof s['LexerNode']&&_0x11c58f[_0x18df1a(0x139)](',');}}_0x396058===0x7&&_0x11c58f[_0x18df1a(0x139)](_0x23511a),(_0x3229cb||_0x396058===0x9)&&_0x11c58f[_0x18df1a(0x139)](')');}[_0x5a91b3(0xc8)](_0x56b4b4,_0x132125,_0x473913){const _0x1493d1=_0x5a91b3;_0x56b4b4 instanceof s[_0x1493d1(0x122)]?this[_0x1493d1(0x19a)](_0x56b4b4,_0x132125,_0x473913):this['_lambdaFunctionParameterSet'][_0x1493d1(0xd6)](_0x56b4b4)?(_0x132125[_0x1493d1(0x139)](''+this['_xlpmPrefix']+_0x56b4b4),this[_0x1493d1(0x11f)]=!0x0):_0x132125['push'](_0x56b4b4);}[_0x5a91b3(0x1a3)](_0x13d5d8){const _0x57d9e2=_0x5a91b3;let _0x155503=_0x13d5d8[_0x57d9e2(0xc1)]();if(!_0x155503)return _0x155503;const _0x1761c1=_0x155503[0x0];if((_0x1761c1===s[_0x57d9e2(0x151)]['AT']||_0x1761c1===s[_0x57d9e2(0x151)][_0x57d9e2(0x19d)]||_0x1761c1===s['prefixToken'][_0x57d9e2(0x166)])&&(_0x155503=_0x155503[_0x57d9e2(0x162)](0x1)),!_0x155503)return _0x155503;const _0x28cb3b=_0x155503[_0x155503[_0x57d9e2(0x10c)]-0x1];return s['SUFFIX_TOKEN_SET'][_0x57d9e2(0xd6)](_0x28cb3b)&&(_0x155503=_0x155503[_0x57d9e2(0x162)](0x0,-0x1)),_0x155503;}['_checkAddBracketForMinus'](_0x207267){const _0x5b4cd5=_0x5a91b3,_0x282a57=_0x207267[_0x5b4cd5(0xe1)]()[0x0];if(!_0x282a57||!(_0x282a57 instanceof s[_0x5b4cd5(0x122)])||_0x207267[_0x5b4cd5(0xe1)]()[_0x5b4cd5(0x10c)]>0x1)return!0x1;const _0x5e2ba3=_0x282a57[_0x5b4cd5(0xe1)](),_0x3d4dbf=_0x5e2ba3[_0x5b4cd5(0x10c)];if(_0x3d4dbf===0x1)return!0x1;for(let _0x34b67f=0x0;_0x34b67f<_0x3d4dbf;_0x34b67f++){const _0x22440d=_0x5e2ba3[_0x34b67f];if(!(_0x22440d instanceof s[_0x5b4cd5(0x122)])&&s['OPERATOR_TOKEN_SET'][_0x5b4cd5(0xd6)](_0x22440d))return!0x0;}return!0x1;}[_0x5a91b3(0x126)](_0x5801e4,_0x337a18,_0x13fc2c,_0x194ff1,_0x8b8cf5){const _0x1fdea9=_0x5a91b3,_0x3f5a8d=this['treeBuilder'](_0x5801e4,!0x1);if(!_0x3f5a8d||_0x3f5a8d===s[_0x1fdea9(0x156)][_0x1fdea9(0xd8)]||Array[_0x1fdea9(0x178)](_0x3f5a8d))return null;this['_clearPrefix'](),this[_0x1fdea9(0x17a)]=_0x337a18;const _0xcc159d=this['_generateExprTree'](_0x3f5a8d,_0x13fc2c,_0x194ff1,_0x8b8cf5);return this['_currentUnitId']='',this[_0x1fdea9(0x1a6)](),_0xcc159d;}['_generateExprTree'](_0x5bc061,_0x137bf0,_0x42a1a9,_0x25743c){const _0x1f7244=_0x5a91b3,_0x448001={'value':'','children':[],'startIndex':0x0};let _0x4aba9f=_0x5bc061;if(_0x4aba9f instanceof s[_0x1f7244(0x122)]&&(_0x4aba9f[_0x1f7244(0x14f)]()===s[_0x1f7244(0x164)]||_0x4aba9f[_0x1f7244(0x14f)]()===s[_0x1f7244(0x16b)])&&_0x4aba9f[_0x1f7244(0xe1)]()[_0x1f7244(0x10c)]===0x1&&(_0x4aba9f=_0x4aba9f[_0x1f7244(0xe1)]()[0x0]),!(_0x4aba9f instanceof s[_0x1f7244(0x122)]))return this['_handleTextNodeForExprTree'](_0x4aba9f,_0x42a1a9,_0x25743c);const _0x37e51b=_0x4aba9f[_0x1f7244(0xe1)](),_0x286d18=_0x37e51b['length'],_0x1f6624=[];this[_0x1f7244(0x19a)](_0x4aba9f,_0x1f6624,_0x137bf0),_0x448001[_0x1f7244(0x180)]=_0x1f6624[_0x1f7244(0x192)](''),_0x448001[_0x1f7244(0x177)]=_0x4aba9f['getStartIndex']();const _0x2c88b1=this[_0x1f7244(0x145)](_0x4aba9f);if(_0x2c88b1===0x2){const _0x1bf32e=_0x37e51b[0x0];if(_0x1bf32e instanceof s['LexerNode']){if(_0x1bf32e[_0x1f7244(0x14f)]()[_0x1f7244(0xc1)]()!==s[_0x1f7244(0x11b)])return _0x448001;this[_0x1f7244(0x125)](_0x1bf32e,_0x448001,_0x137bf0,_0x42a1a9,_0x25743c);}return _0x448001;}else{if(_0x2c88b1===0x1){for(let _0x5659c7=0x0;_0x5659c7<_0x286d18-0x1;_0x5659c7++){const _0x4ba12e=_0x37e51b[_0x5659c7];if(_0x4ba12e instanceof s[_0x1f7244(0x122)]&&_0x5659c7%0x2===0x1){const _0x92c51b=_0x4ba12e[_0x1f7244(0xe1)]();if(_0x92c51b[_0x1f7244(0x10c)]===0x1&&!(_0x92c51b[0x0]instanceof s[_0x1f7244(0x122)]))continue;const _0x4fbcf3=this[_0x1f7244(0xae)](_0x4ba12e,_0x137bf0,_0x42a1a9,_0x25743c);_0x4fbcf3&&_0x448001[_0x1f7244(0xdc)][_0x1f7244(0x139)](_0x4fbcf3);}}return _0x448001;}else{if(_0x2c88b1===0x8){const _0x5ae5cf=_0x37e51b[0x0];if(_0x5ae5cf instanceof s['LexerNode']){const _0x276898=_0x5ae5cf[_0x1f7244(0xe1)]()[0x0];_0x276898 instanceof s[_0x1f7244(0x122)]&&(_0x448001[_0x1f7244(0x177)]=_0x276898[_0x1f7244(0xfa)]());}if(this[_0x1f7244(0x169)](_0x4aba9f))return _0x448001;}else{if(_0x2c88b1===0x7){const _0x438c8e=_0x37e51b[0x0];if(_0x438c8e instanceof s[_0x1f7244(0x122)]){const _0x142e6e=_0x438c8e['getChildren']()[0x0];_0x142e6e instanceof s[_0x1f7244(0x122)]&&(_0x448001['startIndex']=_0x142e6e[_0x1f7244(0xfa)]());}}}}}return this[_0x1f7244(0x154)](_0x37e51b,_0x2c88b1,_0x448001,_0x137bf0,_0x42a1a9,_0x25743c),_0x448001;}['_handleChildrenForExprTree'](_0x4a21a7,_0x1859e7,_0x4f44aa,_0x3297b7,_0x124731,_0x4db19a){const _0x301939=_0x5a91b3;for(let _0x4e0ebb=0x0;_0x4e0ebb<_0x4a21a7[_0x301939(0x10c)];_0x4e0ebb++){let _0x442e9c=_0x4a21a7[_0x4e0ebb];if(!(_0x442e9c instanceof s[_0x301939(0x122)])){const _0xad82b1=this['_handleTextNodeForExprTree'](_0x442e9c,_0x124731,_0x4db19a);_0xad82b1&&_0x4f44aa[_0x301939(0xdc)][_0x301939(0x139)](_0xad82b1);continue;}const _0xed1bc1=_0x442e9c[_0x301939(0xe1)]();if(_0xed1bc1[_0x301939(0x10c)]===0x1&&!(_0xed1bc1[0x0]instanceof s[_0x301939(0x122)])){const _0x3fc005=_0xed1bc1[0x0];if(!_0x124731(this[_0x301939(0x17a)],_0x3fc005)&&!this['_getTableNameFromStructuredRef'](_0x3fc005,_0x4db19a)&&!s['isReferenceString'](_0x3fc005))continue;}if(_0x1859e7===0x8){const _0x344781=_0xed1bc1[0x0];if(_0x344781 instanceof s[_0x301939(0x122)]){const _0x4a2184=_0x344781['getToken']()[_0x301939(0xc1)]();if(s[_0x301939(0x1a2)](_0x4a2184))continue;_0x442e9c=_0x344781;}}const _0x185d20=this[_0x301939(0xae)](_0x442e9c,_0x3297b7,_0x124731,_0x4db19a);_0x185d20&&_0x4f44aa['children'][_0x301939(0x139)](_0x185d20);}}[_0x5a91b3(0x169)](_0x287cb0){const _0x363ffa=_0x5a91b3,_0x102bd1=_0x287cb0['getChildren']();if(_0x102bd1[_0x363ffa(0x10c)]<0x2)return!0x1;const _0x30445a=_0x102bd1[0x0],_0xedf314=_0x102bd1[0x1];if(!(_0x30445a instanceof s[_0x363ffa(0x122)])||!(_0xedf314 instanceof s['LexerNode']))return!0x1;const _0x59f3a6=_0x30445a[_0x363ffa(0xe1)]()[0x0],_0x2e3a26=_0xedf314[_0x363ffa(0xe1)]()[0x0];if(!(_0x59f3a6 instanceof s[_0x363ffa(0x122)])||!(_0x2e3a26 instanceof s[_0x363ffa(0x122)]))return!0x1;const _0x5a56da=_0x59f3a6[_0x363ffa(0x14f)]()[_0x363ffa(0xc1)](),_0x173d79=_0x2e3a26[_0x363ffa(0x14f)]()[_0x363ffa(0xc1)]();return!!s[_0x363ffa(0x1a2)](''+_0x5a56da+s[_0x363ffa(0xec)][_0x363ffa(0x124)]+_0x173d79);}['_handleTextNodeForExprTree'](_0x449806,_0x20b3b0,_0x374c2){const _0x307ff7=_0x5a91b3,_0x1fde6d=_0x449806[_0x307ff7(0xc1)]();return _0x1fde6d[_0x307ff7(0x144)]('{')&&_0x1fde6d[_0x307ff7(0x106)]('}')||_0x20b3b0(this[_0x307ff7(0x17a)],_0x1fde6d)||this[_0x307ff7(0x13e)](_0x1fde6d,_0x374c2)||s[_0x307ff7(0x1a2)](_0x1fde6d)?{'value':_0x1fde6d,'children':[],'startIndex':-0x1}:null;}[_0x5a91b3(0x13e)](_0xe7cafa,_0x383820){const _0x3504f1=_0x5a91b3,{tableName:_0xa6ae11}=s[_0x3504f1(0xf1)](_0xe7cafa);return _0x383820(this[_0x3504f1(0x17a)],_0xa6ae11)?_0xa6ae11:null;}[_0x5a91b3(0x125)](_0x4187ca,_0x94efd9,_0x5efa43,_0x53451a,_0x2066ef){const _0x587da3=_0x5a91b3,_0x412326=_0x4187ca[_0x587da3(0xe1)]();for(let _0x4a78d6=0x0;_0x4a78d6<_0x412326[_0x587da3(0x10c)];_0x4a78d6++){const _0x250669=_0x412326[_0x4a78d6];if(!(_0x250669 instanceof s[_0x587da3(0x122)]))continue;const _0x36ebc2=_0x250669[_0x587da3(0xe1)]();if(_0x36ebc2['length']===0x1&&!(_0x36ebc2[0x0]instanceof s[_0x587da3(0x122)]))continue;const _0x582506=this[_0x587da3(0xae)](_0x250669,_0x5efa43,_0x53451a,_0x2066ef);_0x582506&&_0x94efd9[_0x587da3(0xdc)][_0x587da3(0x139)](_0x582506);}}['_getCurNodeTypeForExprTree'](_0xd748c3){const _0x319adc=_0x5a91b3,_0x58079b=_0xd748c3[_0x319adc(0x14f)](),_0x4fd45c=_0x58079b[_0x319adc(0xc1)]()[_0x319adc(0x14c)]();let _0x3b232e=0x0;return _0x58079b===s['DEFAULT_TOKEN_TYPE_ROOT']?_0x3b232e=0x3:_0x58079b===s[_0x319adc(0x16b)]?_0x3b232e=0x4:_0x58079b===s[_0x319adc(0x11b)]?_0x3b232e=0x5:_0x4fd45c===s['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x3b232e=0x2:_0x4fd45c===s[_0x319adc(0x171)]?_0x3b232e=0x1:_0x4fd45c===s[_0x319adc(0xec)][_0x319adc(0x124)]?_0x3b232e=0x8:s[_0x319adc(0x16e)][_0x319adc(0xd6)](_0x4fd45c)?_0x3b232e=0x7:_0x4fd45c===s['prefixToken'][_0x319adc(0x19d)]?this['_checkAddBracketForMinus'](_0xd748c3)&&(_0x3b232e=0x9):_0x3b232e=0xa,_0x3b232e;}}const J={0x0:'T',0x1:'3',0x2:'j',0x3:'Y',0x4:'w',0x5:'6',0x6:'i',0x7:'y',0x8:'c',0x9:'s','O':'0','A':'1','k':'2','K':'4','l':'5','r':'7','B':'8','I':'9','n':'a','h':'b','H':'d','m':'e','S':'f','z':'g','E':'h','Z':'k','J':'l','U':'m','p':'n','a':'o','D':'p','s':'q','T':'r','G':'t','o':'u','b':'v','Y':'x','L':'z','f':'A','q':'B','t':'C','y':'D','M':'E','X':'F','P':'G','c':'H','V':'I','F':'J','u':'K','j':'L','R':'M','W':'N','v':'O','x':'P','Q':'Q','i':'R','C':'S','N':'U','d':'V','w':'W','e':'X','g':'Z'},Y=_0x5a91b3(0xc3);class K extends s['FormulaDependencyGenerator']{constructor(){super(...arguments),C(this,'_dependencyTreeCache',new Map());}[_0x5a91b3(0xfc)](){const _0x19e4ca=_0x5a91b3;super['dispose'](),this['_dependencyTreeCache'][_0x19e4ca(0x188)]();}async[_0x5a91b3(0xcd)](_0x279555=!0x1){const _0x5e3f00=_0x5a91b3;this[_0x5e3f00(0xb0)]();const _0x42b7f8=this[_0x5e3f00(0x110)][_0x5e3f00(0xe0)](),_0x27a03b=this[_0x5e3f00(0x131)]['getOtherFormulaData'](),_0xf897cb=this[_0x5e3f00(0x110)]['getClearDependencyTreeCache']();_0xf897cb!=null&&Object[_0x5e3f00(0xee)](_0xf897cb)[_0x5e3f00(0x19e)](_0x28d401=>{const _0x110824=_0x5e3f00;_0x28d401!=null&&Object[_0x110824(0xee)](_0xf897cb[_0x28d401])[_0x110824(0x19e)](_0x254ff6=>{const _0x18e553=_0x110824;_0x254ff6!=null&&(this[_0x18e553(0x132)]['clearOtherFormulaDependency'](_0x28d401,_0x254ff6),this[_0x18e553(0x132)][_0x18e553(0x193)](_0x28d401,_0x254ff6),this[_0x18e553(0x132)][_0x18e553(0x147)](_0x28d401,_0x254ff6));});});const _0xe42621=this[_0x5e3f00(0x110)]['getUnitData']();await this[_0x5e3f00(0x18a)](_0x42b7f8,_0x27a03b,_0xe42621),this[_0x5e3f00(0x132)][_0x5e3f00(0x12c)]();const _0x33a779=this['_getUpdateTreeListAndMakeDependency'](),_0xa3faf7=this['_calculateRunList'](_0x33a779);return this[_0x5e3f00(0x11c)](_0xa3faf7)&&this[_0x5e3f00(0x18c)][_0x5e3f00(0x14e)](),_0x279555&&this['_runtimeService'][_0x5e3f00(0xd1)](this[_0x5e3f00(0xc0)](Array[_0x5e3f00(0x118)](this[_0x5e3f00(0x12e)]['values']()))),this[_0x5e3f00(0x12e)][_0x5e3f00(0x188)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x5e3f00(0x132)]['closeKdTree'](),this[_0x5e3f00(0x18c)][_0x5e3f00(0x15f)](),Promise[_0x5e3f00(0xe6)](_0xa3faf7);}[_0x5a91b3(0xed)](_0x2546c8,_0x5e57b1){const _0x5eab3f=_0x5a91b3,_0x1802b4=[_0x2546c8];for(;_0x1802b4[_0x5eab3f(0x10c)]>0x0;){const _0x5ba01e=_0x1802b4[_0x1802b4[_0x5eab3f(0x10c)]-0x1];if((_0x5e57b1[_0x5eab3f(0xb2)](_0x5ba01e)||0x0)===0x0){_0x5e57b1[_0x5eab3f(0x12f)](_0x5ba01e,0x1);const _0x4313d4=this[_0x5eab3f(0x12e)][_0x5eab3f(0xb2)](_0x5ba01e);if(_0x4313d4==null){_0x5e57b1['set'](_0x5ba01e,0x2),_0x1802b4[_0x5eab3f(0xea)]();continue;}const _0x2733e2=this[_0x5eab3f(0x132)][_0x5eab3f(0xda)](_0x4313d4[_0x5eab3f(0x161)]());for(const _0x2e67b2 of _0x2733e2){const _0x37d27b=_0x5e57b1['get'](_0x2e67b2)||0x0;if(_0x37d27b===0x1)return!0x0;_0x37d27b===0x0&&_0x1802b4[_0x5eab3f(0x139)](_0x2e67b2);}}else _0x5e57b1[_0x5eab3f(0x12f)](_0x5ba01e,0x2),_0x1802b4['pop']();}return!0x1;}[_0x5a91b3(0x11c)](_0x14e843){const _0x479667=_0x5a91b3,_0x1c8747=new Map();for(const _0x502f09 of _0x14e843)if(!_0x1c8747[_0x479667(0xd6)](_0x502f09['treeId'])&&this[_0x479667(0xed)](_0x502f09['treeId'],_0x1c8747))return!0x0;return _0x1c8747[_0x479667(0x188)](),!0x1;}[_0x5a91b3(0x197)](_0x65f64a,_0x5a99c8,_0x56997f){const _0x5a9f08=_0x5a91b3,{unitId:_0x3da60f,subUnitId:_0x3c052b,dependencyRanges:_0xb5b947,getDirtyData:_0x2f6060}=_0x56997f,_0x58f437=_0x5a99c8||s[_0x5a9f08(0xd3)](this[_0x5a9f08(0x132)]),_0x2463fb=new s['FormulaDependencyTree'](_0x58f437);_0x2463fb['unitId']=_0x3da60f,_0x2463fb['subUnitId']=_0x3c052b,_0x2463fb[_0x5a9f08(0x17f)]=_0xb5b947,_0x2463fb[_0x5a9f08(0x134)]=_0x2f6060;const _0x369c8e=_0x2f6060(this[_0x5a9f08(0x110)]['getDirtyData'](),this[_0x5a9f08(0x18c)][_0x5a9f08(0xb3)]()),_0x118adf=this[_0x5a9f08(0xc7)](_0x369c8e['dirtyRanges']);return _0x2463fb['featureDirtyRanges']=_0x118adf,_0x2463fb[_0x5a9f08(0x181)]=_0x65f64a,_0x2463fb[_0x5a9f08(0x14a)]=s['FormulaDependencyTreeType']['FEATURE_FORMULA'],this[_0x5a9f08(0x132)][_0x5a9f08(0x12d)](_0x3da60f,_0x3c052b,_0x65f64a,_0x2463fb),this['_dependencyTreeCache'][_0x5a9f08(0x12f)](_0x2463fb[_0x5a9f08(0x10d)],_0x2463fb),this[_0x5a9f08(0x132)][_0x5a9f08(0xd0)](_0x56997f[_0x5a9f08(0xb1)],_0x56997f[_0x5a9f08(0x1a1)],_0x65f64a)&&(_0x2463fb[_0x5a9f08(0xb9)]=!0x0),_0x2463fb;}[_0x5a91b3(0xc6)](_0x9d745f,_0xe52297,_0x22b5be){const _0x4c3c12=_0x5a91b3;var _0x4958f1;for(const _0x54c75d of _0xe52297){const _0x579855=_0x9d745f[_0x54c75d];if(_0x579855==null)continue;const _0x8e511b=Object[_0x4c3c12(0xee)](_0x579855);for(const _0x25a5da of _0x8e511b){const _0x974ed3=_0x579855[_0x25a5da];if(_0x974ed3==null)continue;const _0x133a4a=Object[_0x4c3c12(0xee)](_0x974ed3);for(const _0x40302c of _0x133a4a){const _0x1b2df0=this[_0x4c3c12(0x132)][_0x4c3c12(0x13a)](_0x40302c),_0x2ab3ad=_0x974ed3[_0x40302c],{f:_0xeb729d,ranges:_0x763e46}=_0x2ab3ad;let _0x3225d2=!0x1;_0x1b2df0&&(_0x3225d2=!0x0);const {firstRow:_0x588e12,firstColumn:_0x489b2e}=this[_0x4c3c12(0x17e)](_0x763e46),_0x1780f9=this[_0x4c3c12(0x132)][_0x4c3c12(0x155)](_0x54c75d,_0x25a5da,_0x40302c),_0x3d5739=(_0x4958f1=_0x1780f9==null?void 0x0:_0x1780f9[_0x4c3c12(0x150)](0x0,0x0))!=null?_0x4958f1:s[_0x4c3c12(0xd3)](this[_0x4c3c12(0x132)]),_0x4e8b55=new s[(_0x4c3c12(0xe2))](_0x3d5739);for(let _0x8e7d00=0x0;_0x8e7d00<_0x763e46[_0x4c3c12(0x10c)];_0x8e7d00++){const _0x48c3a6=_0x763e46[_0x8e7d00],{startRow:_0x5ce927,startColumn:_0x26ccd5,endRow:_0x20f0b2,endColumn:_0x25aeb3}=_0x48c3a6;for(let _0x32ac30=_0x5ce927;_0x32ac30<=_0x20f0b2;_0x32ac30++)for(let _0x533c54=_0x26ccd5;_0x533c54<=_0x25aeb3;_0x533c54++){const _0x3cbd03=_0x533c54-_0x489b2e,_0x1db869=_0x32ac30-_0x588e12;if(_0x3cbd03===0x0&&_0x1db869===0x0){_0x4e8b55[_0x4c3c12(0x115)]=_0xeb729d,_0x4e8b55['unitId']=_0x54c75d,_0x4e8b55[_0x4c3c12(0x1a1)]=_0x25a5da,_0x4e8b55[_0x4c3c12(0x16f)]=_0x40302c,_0x4e8b55[_0x4c3c12(0x14a)]=s['FormulaDependencyTreeType'][_0x4c3c12(0xe4)],_0x4e8b55[_0x4c3c12(0xb9)]=_0x3225d2,_0x22b5be[_0x4c3c12(0x139)](_0x4e8b55),this[_0x4c3c12(0x12e)][_0x4c3c12(0x12f)](_0x4e8b55[_0x4c3c12(0x10d)],_0x4e8b55),this[_0x4c3c12(0x132)][_0x4c3c12(0x12a)](_0x54c75d,_0x25a5da,_0x40302c,_0x4e8b55),this['_dependencyManagerService'][_0x4c3c12(0xbc)](_0x4e8b55);continue;}const _0x257184=new s['FormulaDependencyTreeVirtual']();_0x257184[_0x4c3c12(0x10d)]=(_0x1780f9==null?void 0x0:_0x1780f9[_0x4c3c12(0x150)](_0x3cbd03,_0x1db869))||s[_0x4c3c12(0xd3)](this['_dependencyManagerService']),_0x257184[_0x4c3c12(0x15a)]=_0x4e8b55,_0x257184[_0x4c3c12(0xcb)]=_0x3cbd03,_0x257184[_0x4c3c12(0xbb)]=_0x1db869,_0x257184[_0x4c3c12(0xb9)]=_0x3225d2,_0x257184[_0x4c3c12(0x14a)]=s[_0x4c3c12(0x195)][_0x4c3c12(0xe4)],this['_dependencyManagerService']['addOtherFormulaDependency'](_0x54c75d,_0x25a5da,_0x40302c,_0x257184),this[_0x4c3c12(0x132)][_0x4c3c12(0xbc)](_0x257184),_0x22b5be[_0x4c3c12(0x139)](_0x257184),this['_dependencyTreeCache'][_0x4c3c12(0x12f)](_0x257184[_0x4c3c12(0x10d)],_0x257184);}}this[_0x4c3c12(0x132)][_0x4c3c12(0xce)](_0x40302c);}}}}[_0x5a91b3(0x108)](_0x43ab2b,_0x30489b,_0x13f1f8,_0x59ee2f){const _0x85c38d=_0x5a91b3;for(const _0x38b7ab of _0x43ab2b){const _0x1fd7a8=_0x30489b[_0x38b7ab];if(_0x1fd7a8==null)continue;const _0x40971a=Object[_0x85c38d(0xee)](_0x1fd7a8);for(const _0x2dae58 of _0x40971a){const _0x1474ce=new x[(_0x85c38d(0x186))](_0x1fd7a8[_0x2dae58]||{}),_0x21e8b2=new Map();_0x1474ce[_0x85c38d(0x121)]((_0x324dcc,_0x2bcad4,_0x71b868)=>{const _0x2d55bd=_0x85c38d;if(_0x71b868==null)return!0x0;const {x:_0xc57c6f=0x0,y:_0x588a41=0x0,si:_0x53709a}=_0x71b868;if(!(_0xc57c6f===0x0&&_0x588a41===0x0&&_0x53709a!=null))return!0x0;const _0x1ea066=this['_createFDtree'](_0x38b7ab,_0x2dae58,_0x324dcc,_0x2bcad4,_0x13f1f8,_0x71b868),_0xc9e37a=this[_0x2d55bd(0x132)]['getFormulaDependency'](_0x38b7ab,_0x2dae58,_0x324dcc,_0x2bcad4);_0xc9e37a!=null?_0x1ea066[_0x2d55bd(0x10d)]=_0xc9e37a:(this[_0x2d55bd(0x132)][_0x2d55bd(0x16a)](_0x38b7ab,_0x2dae58,_0x324dcc,_0x2bcad4,_0x1ea066),this[_0x2d55bd(0x132)][_0x2d55bd(0xbc)](_0x1ea066)),_0x21e8b2[_0x2d55bd(0x12f)](_0x53709a,_0x1ea066),_0x59ee2f[_0x2d55bd(0x139)](_0x1ea066),this[_0x2d55bd(0x12e)][_0x2d55bd(0x12f)](_0x1ea066[_0x2d55bd(0x10d)],_0x1ea066);}),_0x1474ce[_0x85c38d(0x121)]((_0x275421,_0x334ddc,_0x2ec805)=>{const _0x4b6fe4=_0x85c38d;if(_0x2ec805==null)return!0x0;const {x:_0x132c0e=0x0,y:_0x5b6800=0x0,si:_0x1ca607}=_0x2ec805;if(_0x132c0e===0x0&&_0x5b6800===0x0&&_0x1ca607!=null)return!0x0;let _0x252516;if(_0x1ca607&&_0x21e8b2[_0x4b6fe4(0xd6)](_0x1ca607)){const _0x2982f6=_0x21e8b2[_0x4b6fe4(0xb2)](_0x1ca607);_0x252516=this[_0x4b6fe4(0xdb)](_0x2982f6,_0x2ec805);}else _0x252516=this[_0x4b6fe4(0x153)](_0x38b7ab,_0x2dae58,_0x275421,_0x334ddc,_0x13f1f8,_0x2ec805);const _0x431e7d=this[_0x4b6fe4(0x132)][_0x4b6fe4(0x183)](_0x38b7ab,_0x2dae58,_0x275421,_0x334ddc);_0x431e7d!=null?_0x252516[_0x4b6fe4(0x10d)]=_0x431e7d:(this[_0x4b6fe4(0x132)]['addFormulaDependency'](_0x38b7ab,_0x2dae58,_0x275421,_0x334ddc,_0x252516),this[_0x4b6fe4(0x132)][_0x4b6fe4(0xbc)](_0x252516)),_0x59ee2f[_0x4b6fe4(0x139)](_0x252516),this['_dependencyTreeCache']['set'](_0x252516[_0x4b6fe4(0x10d)],_0x252516);}),_0x21e8b2[_0x85c38d(0x188)]();}}}[_0x5a91b3(0x153)](_0x295902,_0x52142b,_0x948673,_0x49a25b,_0x18c3bf,_0x15c443){const _0x1217c8=_0x5a91b3,{f:_0x253544,x:_0x8d8508=0x0,y:_0x814469=0x0}=_0x15c443,_0xb7f136=new s[(_0x1217c8(0xe2))](s[_0x1217c8(0xd3)](this[_0x1217c8(0x132)])),_0x5c40c4=_0x18c3bf[_0x295902][_0x52142b];return _0xb7f136[_0x1217c8(0x115)]=_0x253544,_0xb7f136[_0x1217c8(0xb1)]=_0x295902,_0xb7f136[_0x1217c8(0x1a1)]=_0x52142b,_0xb7f136[_0x1217c8(0x138)]=_0x948673,_0xb7f136[_0x1217c8(0x152)]=_0x49a25b,_0xb7f136[_0x1217c8(0xf7)]=_0x5c40c4[_0x1217c8(0xf7)],_0xb7f136[_0x1217c8(0x187)]=_0x5c40c4['columnCount'],_0xb7f136;}[_0x5a91b3(0xd9)](){const _0x5494b5=_0x5a91b3,_0x584a35=[],_0x17677e=new Set(),_0x49fcd7=this[_0x5494b5(0x110)][_0x5494b5(0xf3)](),_0x337da1=this[_0x5494b5(0x110)]['getDirtyRanges'](),_0x9a6515=this[_0x5494b5(0x132)][_0x5494b5(0xda)](_0x337da1),_0x1b6e88=this[_0x5494b5(0xe3)][_0x5494b5(0x10b)](_0x337da1);for(const _0x302bd5 of _0x1b6e88)_0x9a6515[_0x5494b5(0x137)](_0x302bd5);for(const [_0x15a030,_0x2fc58f]of this[_0x5494b5(0x12e)])(_0x49fcd7||_0x2fc58f[_0x5494b5(0x13b)]||_0x2fc58f['dependencySheetName'](this[_0x5494b5(0x110)]['getDirtyNameMap']())||_0x9a6515['has'](_0x15a030)&&!_0x2fc58f[_0x5494b5(0x107)](this[_0x5494b5(0x110)][_0x5494b5(0x19c)]()))&&!_0x17677e['has'](_0x15a030)&&(_0x584a35[_0x5494b5(0x139)](_0x2fc58f),_0x17677e[_0x5494b5(0x137)](_0x15a030));for(const [_0x93fa3a,_0xa9eda5]of this[_0x5494b5(0x12e)])_0xa9eda5[_0x5494b5(0xf4)]||(_0xa9eda5[_0x5494b5(0x17f)][_0x5494b5(0x10c)]=0x0);return _0x584a35;}[_0x5a91b3(0x175)](_0x4df487){const _0x389be0=_0x5a91b3;return this[_0x389be0(0x12e)][_0x389be0(0xb2)](_0x4df487);}[_0x5a91b3(0xbd)](_0x532dd4){const _0x4247bd=_0x5a91b3;return s[_0x4247bd(0x140)](_0x532dd4[_0x4247bd(0xb1)],_0x532dd4[_0x4247bd(0x115)],this[_0x4247bd(0x18e)],this['_astTreeBuilder'],this[_0x4247bd(0x110)]);}*[_0x5a91b3(0xf0)](_0x1843c2,_0x548095){const _0xf53616=_0x5a91b3,_0xdfbe5c=_0x1843c2,_0x62c455=new Set();for(;_0xdfbe5c[_0xf53616(0x10c)]>0x0;){const _0x3473ed=_0xdfbe5c[_0xf53616(0xea)]();if(_0x62c455['clear'](),_0x3473ed===void 0x0||_0x3473ed[_0xf53616(0xb7)]())continue;if(_0x3473ed[_0xf53616(0x16d)]()){yield _0x3473ed,_0x3473ed[_0xf53616(0x10f)](),_0x548095[_0xf53616(0x137)](_0x3473ed['treeId']);continue;}const _0xbae112=this[_0xf53616(0x132)][_0xf53616(0xda)](_0x3473ed[_0xf53616(0x161)](),_0x548095),_0x5db80d=this[_0xf53616(0xe3)]['bulkSearch'](_0x3473ed[_0xf53616(0x161)](),_0x548095);for(const _0x39df3b of _0x5db80d)_0xbae112['add'](_0x39df3b);for(const _0x158242 of _0xbae112){const _0x5d096c=this[_0xf53616(0x12e)][_0xf53616(0xb2)](_0x158242);if(!_0x5d096c){console['error'](_0xf53616(0xd5),_0x158242);continue;}_0x5d096c[_0xf53616(0x16d)]()||_0x3473ed[_0xf53616(0xb7)]()||_0x62c455[_0xf53616(0x137)](_0x5d096c);}if(_0xbae112['clear'](),_0x62c455[_0xf53616(0x15c)]===0x0)yield _0x3473ed,_0x3473ed[_0xf53616(0x10f)](),_0x548095[_0xf53616(0x137)](_0x3473ed['treeId']);else{_0x3473ed[_0xf53616(0x172)](),_0xdfbe5c[_0xf53616(0x139)](_0x3473ed);for(const _0x126521 of _0x62c455)_0xdfbe5c[_0xf53616(0x139)](_0x126521);}}_0xdfbe5c[_0xf53616(0x10c)]=0x0,_0x62c455[_0xf53616(0x188)]();}[_0x5a91b3(0x100)](_0x4017d7){const _0x2ebfb1=_0x5a91b3,_0x163682=[],_0x1ec193=new Set();for(const _0x26601c of this[_0x2ebfb1(0xf0)](_0x4017d7,_0x1ec193))_0x163682[_0x2ebfb1(0x139)](_0x26601c);return _0x163682;}async[_0x5a91b3(0x148)](){const _0x4d2715=_0x5a91b3;return await this[_0x4d2715(0xfe)](),Array[_0x4d2715(0x118)](this[_0x4d2715(0x12e)][_0x4d2715(0x160)]());}[_0x5a91b3(0x179)](_0x5bfda2){const _0x4e942f=_0x5a91b3;return this[_0x4e942f(0x132)][_0x4e942f(0xda)](_0x5bfda2[_0x4e942f(0x161)]());}[_0x5a91b3(0x199)](_0x367d05){const _0x49fb37=_0x5a91b3,_0x3ebad4=new Set(),_0x35633=_0x367d05['rangeList'];for(const [_0x2ba780,_0x23b0ce]of this[_0x49fb37(0x12e)])for(const _0x5c0fef of _0x35633){const _0x5a2661=_0x5c0fef[_0x49fb37(0xb1)],_0x4f5efa=_0x5c0fef['sheetId'];if(_0x23b0ce['unitId']!==_0x5a2661||_0x23b0ce[_0x49fb37(0x1a1)]!==_0x4f5efa)continue;const _0x4c39bc=_0x5c0fef['range'];if(_0x23b0ce['inRangeData'](_0x4c39bc)){_0x3ebad4[_0x49fb37(0x137)](_0x2ba780);break;}}return _0x3ebad4;}['_startFormulaDependencyTreeModel'](){const _0x1f0584=_0x5a91b3;this[_0x1f0584(0x132)]['openKdTree']();}[_0x5a91b3(0x15d)](){const _0x4500ae=_0x5a91b3;this[_0x4500ae(0x143)][_0x4500ae(0x188)](),this[_0x4500ae(0x12e)][_0x4500ae(0x188)](),this[_0x4500ae(0x132)][_0x4500ae(0x103)]();}}class B extends s[_0x5a91b3(0xb4)]{async[_0x5a91b3(0xef)](_0x3958bb=!0x1){const _0x1e509b=_0x5a91b3;_0x3958bb?this[_0x1e509b(0x18c)][_0x1e509b(0x146)](s[_0x1e509b(0xc4)][_0x1e509b(0x167)]):this[_0x1e509b(0x18c)][_0x1e509b(0x146)](s[_0x1e509b(0xc4)]['START_DEPENDENCY']),this[_0x1e509b(0x191)][_0x1e509b(0xf5)](this[_0x1e509b(0x18c)][_0x1e509b(0xe9)]());const _0x33e3b3=await this[_0x1e509b(0x135)][_0x1e509b(0xcd)](this[_0x1e509b(0x149)]),_0x4407b6=this['_interpreter'];_0x3958bb?(this[_0x1e509b(0x18c)][_0x1e509b(0x146)](s['FormulaExecuteStageType'][_0x1e509b(0x133)]),this[_0x1e509b(0x18c)][_0x1e509b(0x18b)](_0x33e3b3[_0x1e509b(0x10c)])):(this[_0x1e509b(0x18c)][_0x1e509b(0x146)](s[_0x1e509b(0xc4)]['START_CALCULATION']),this[_0x1e509b(0x18c)][_0x1e509b(0xf9)](_0x33e3b3[_0x1e509b(0x10c)])),this[_0x1e509b(0x191)][_0x1e509b(0xf5)](this[_0x1e509b(0x18c)][_0x1e509b(0xe9)]());let _0x3c1306=[];const _0x5c4f64=this[_0x1e509b(0x176)][_0x1e509b(0x159)](s[_0x1e509b(0x105)]),_0x223335=(_0x5c4f64==null?void 0x0:_0x5c4f64['intervalCount'])||s['DEFAULT_INTERVAL_COUNT'];let _0x5f5a46=0x0;const _0x283b4b=_0x33e3b3[_0x1e509b(0x10c)];for(;_0x33e3b3[_0x1e509b(0x10c)]>0x0;){const _0x32831b=_0x33e3b3[_0x1e509b(0xea)](),_0x494951=s[_0x1e509b(0x140)](_0x32831b[_0x1e509b(0xb1)],_0x32831b['formula'],this['_lexer'],this[_0x1e509b(0x18f)],this[_0x1e509b(0x110)]),_0x1aae3a={'node':_0x494951,'refOffsetX':_0x32831b[_0x1e509b(0xcb)],'refOffsetY':_0x32831b['refOffsetY']},_0x256bd8=_0x32831b[_0x1e509b(0x134)];if(_0x5f5a46%_0x223335===0x0&&(await new Promise(_0x3627bb=>{const _0x164ffe=_0x1e509b,_0x21bbb4=x[_0x164ffe(0x117)](_0x3627bb);_0x3c1306[_0x164ffe(0x139)](_0x21bbb4);}),_0x3958bb?(this[_0x1e509b(0x18c)]['setFormulaExecuteStage'](s[_0x1e509b(0xc4)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x1e509b(0x18c)]['setCompletedArrayFormulasCount'](_0x5f5a46+0x1)):(this['_runtimeService'][_0x1e509b(0x146)](s[_0x1e509b(0xc4)][_0x1e509b(0x1a0)]),this[_0x1e509b(0x18c)]['setCompletedFormulasCount'](_0x5f5a46+0x1)),this[_0x1e509b(0x191)][_0x1e509b(0xf5)](this[_0x1e509b(0x18c)][_0x1e509b(0xe9)]()),this['_runtimeService']['isStopExecution']()||_0x1aae3a==null&&_0x256bd8==null)){this[_0x1e509b(0x18c)][_0x1e509b(0x146)](s['FormulaExecuteStageType'][_0x1e509b(0x15e)]),this['_runtimeService'][_0x1e509b(0x190)](),this['_executionCompleteListener$'][_0x1e509b(0xf5)](this[_0x1e509b(0x18c)][_0x1e509b(0xb3)]());return;}this[_0x1e509b(0x18c)][_0x1e509b(0x196)](_0x32831b[_0x1e509b(0x138)],_0x32831b[_0x1e509b(0x152)],_0x32831b[_0x1e509b(0xf7)],_0x32831b['columnCount'],_0x32831b['subUnitId'],_0x32831b[_0x1e509b(0xb1)]);let _0x31eabc;if(_0x256bd8!=null&&_0x32831b[_0x1e509b(0x181)]!=null){const {runtimeCellData:_0x30b95a,dirtyRanges:_0x573fd7}=_0x256bd8(this[_0x1e509b(0x110)][_0x1e509b(0x134)](),this[_0x1e509b(0x18c)][_0x1e509b(0xb3)]());this[_0x1e509b(0x18c)][_0x1e509b(0x173)](_0x32831b['featureId'],_0x30b95a),this[_0x1e509b(0x18c)]['setRuntimeFeatureRange'](_0x32831b[_0x1e509b(0x181)],_0x573fd7);}else _0x1aae3a!=null&&(_0x4407b6[_0x1e509b(0x157)](_0x1aae3a[_0x1e509b(0xcc)])?_0x31eabc=await _0x4407b6['executeAsync'](_0x1aae3a):_0x31eabc=_0x4407b6[_0x1e509b(0xc2)](_0x1aae3a),_0x32831b['formulaId']!=null?this[_0x1e509b(0x18c)][_0x1e509b(0x129)](_0x32831b[_0x1e509b(0x16f)],_0x32831b[_0x1e509b(0xcb)],_0x32831b[_0x1e509b(0xbb)],_0x31eabc):this['_runtimeService'][_0x1e509b(0x11e)](_0x31eabc));_0x494951[_0x1e509b(0x17b)](),_0x5f5a46++;}return _0x3c1306[_0x1e509b(0x19e)](_0x13d9de=>_0x13d9de()),_0x3c1306=[],_0x283b4b>0x0?this[_0x1e509b(0x18c)][_0x1e509b(0x112)]():_0x3958bb||this['_runtimeService'][_0x1e509b(0x104)](),this[_0x1e509b(0x18c)][_0x1e509b(0xb3)]();}}class z extends s[_0x5a91b3(0xfb)]{constructor(){const _0x31aaf8=_0x5a91b3;super(...arguments),C(this,'_allTreeMap',new Map()),C(this,'_dependencyRTreeCache',new x[(_0x31aaf8(0x116))](!0x0));}[_0x5a91b3(0xe5)](){const _0x50d79f=_0x5a91b3;this[_0x50d79f(0x17c)][_0x50d79f(0x188)](),this['_featureFormulaData'][_0x50d79f(0x188)](),this[_0x50d79f(0xd2)][_0x50d79f(0x188)](),this[_0x50d79f(0xf2)][_0x50d79f(0x188)](),this[_0x50d79f(0x15b)]['clear'](),this['_restDependencyTreeId'](),this[_0x50d79f(0x165)][_0x50d79f(0x188)]();}[_0x5a91b3(0x12a)](_0xcc24d5,_0x4918fc,_0x4c3475,_0x3b385f){const _0x4f95c5=_0x5a91b3;this[_0x4f95c5(0x17c)][_0x4f95c5(0xd6)](_0xcc24d5)||this[_0x4f95c5(0x17c)][_0x4f95c5(0x12f)](_0xcc24d5,new Map());const _0x55589d=this[_0x4f95c5(0x17c)][_0x4f95c5(0xb2)](_0xcc24d5);_0x55589d[_0x4f95c5(0xd6)](_0x4918fc)||_0x55589d['set'](_0x4918fc,new Map());const _0x210067=_0x55589d[_0x4f95c5(0xb2)](_0x4918fc);_0x210067[_0x4f95c5(0xd6)](_0x4c3475)||_0x210067['set'](_0x4c3475,new x[(_0x4f95c5(0x186))]()),_0x210067[_0x4f95c5(0xb2)](_0x4c3475)[_0x4f95c5(0x142)](_0x3b385f[_0x4f95c5(0xcb)],_0x3b385f['refOffsetY'],_0x3b385f[_0x4f95c5(0x10d)]);}[_0x5a91b3(0x120)](_0x4f3142,_0x4833c8,_0x1d195e){const _0x228cae=_0x5a91b3,_0x4b1891=this[_0x228cae(0x17c)][_0x228cae(0xb2)](_0x4f3142);if(_0x4b1891&&_0x4b1891[_0x228cae(0xd6)](_0x4833c8)){const _0x2af4c3=_0x4b1891[_0x228cae(0xb2)](_0x4833c8);_0x1d195e[_0x228cae(0x19e)](_0x2b91be=>{const _0x448f3e=_0x228cae,_0x3c916a=_0x2af4c3['get'](_0x2b91be);_0x3c916a!=null&&(_0x3c916a['forValue']((_0x5bbec0,_0x1167b2,_0x18ea01)=>{const _0x444405=_0x1881;this['_removeDependencyRTreeCache'](_0x18ea01),this[_0x444405(0x10a)](_0x18ea01);}),_0x2af4c3[_0x448f3e(0x184)](_0x2b91be),this[_0x448f3e(0x165)][_0x448f3e(0x184)](_0x2b91be));}),_0x2af4c3[_0x228cae(0x15c)]===0x0&&_0x4b1891[_0x228cae(0x184)](_0x4833c8),_0x4b1891['size']===0x0&&this[_0x228cae(0x17c)]['delete'](_0x4f3142);}}[_0x5a91b3(0x1a5)](_0x128c89,_0x2ac36a){const _0x17221b=_0x5a91b3,_0x12b645=this[_0x17221b(0x17c)]['get'](_0x128c89);if(_0x2ac36a&&_0x12b645&&_0x12b645[_0x17221b(0xd6)](_0x2ac36a)){const _0x2df96a=_0x12b645[_0x17221b(0xb2)](_0x2ac36a);this['_removeDependencyRTreeCacheById'](_0x128c89,_0x2ac36a);for(const _0x125255 of _0x2df96a[_0x17221b(0xee)]()){const _0x3c8561=_0x2df96a[_0x17221b(0xb2)](_0x125255);_0x3c8561!=null&&(_0x3c8561[_0x17221b(0x121)]((_0x5d6ba2,_0x1b8eee,_0x51d737)=>{const _0xb297cf=_0x17221b;this[_0xb297cf(0x15b)][_0xb297cf(0xb2)](_0x51d737)&&this[_0xb297cf(0x10a)](_0x51d737);}),this[_0x17221b(0x165)]['delete'](_0x125255));}_0x2df96a[_0x17221b(0x188)]();}else{if(_0x12b645){for(const _0x23b392 of _0x12b645[_0x17221b(0xee)]()){const _0x164228=_0x12b645[_0x17221b(0xb2)](_0x23b392);this[_0x17221b(0xbf)](_0x128c89,_0x23b392);for(const _0x339a5b of _0x164228[_0x17221b(0xee)]()){const _0x3edfe2=_0x164228[_0x17221b(0xb2)](_0x339a5b);_0x3edfe2!=null&&(_0x3edfe2[_0x17221b(0x121)]((_0x145a40,_0x3bf37a,_0x248ae6)=>{const _0x5e6867=_0x17221b;this['_allTreeMap'][_0x5e6867(0xb2)](_0x248ae6)&&this[_0x5e6867(0x10a)](_0x248ae6);}),this[_0x17221b(0x165)]['delete'](_0x339a5b));}}this[_0x17221b(0x17c)][_0x17221b(0x184)](_0x128c89);}}}[_0x5a91b3(0x12d)](_0x1df89d,_0x4617e2,_0x30316f,_0x5ab85e){const _0x4be320=_0x5a91b3;this[_0x4be320(0x16c)]['has'](_0x1df89d)||this[_0x4be320(0x16c)][_0x4be320(0x12f)](_0x1df89d,new Map());const _0x1d5bfc=this['_featureFormulaData'][_0x4be320(0xb2)](_0x1df89d);_0x1d5bfc[_0x4be320(0xd6)](_0x4617e2)||_0x1d5bfc['set'](_0x4617e2,new Map()),_0x1d5bfc[_0x4be320(0xb2)](_0x4617e2)[_0x4be320(0x12f)](_0x30316f,_0x5ab85e[_0x4be320(0x10d)]);}[_0x5a91b3(0x14d)](_0x3af873,_0x4341c1,_0xfe0e8d){const _0x49e021=_0x5a91b3,_0x583053=this[_0x49e021(0x16c)]['get'](_0x3af873);if(_0x583053&&_0x583053[_0x49e021(0xd6)](_0x4341c1)){const _0x50b791=_0x583053[_0x49e021(0xb2)](_0x4341c1);_0xfe0e8d[_0x49e021(0x19e)](_0x1d895f=>{const _0x5a0d3a=_0x49e021,_0x43fa85=_0x50b791['get'](_0x1d895f);_0x43fa85!=null&&(this[_0x5a0d3a(0x113)](_0x43fa85),_0x50b791[_0x5a0d3a(0x184)](_0x1d895f),this['_removeAllTreeMap'](_0x43fa85));});}}[_0x5a91b3(0x193)](_0x3af1f9,_0x3e02de){const _0x281f8d=_0x5a91b3,_0x4a5274=this['_featureFormulaData'][_0x281f8d(0xb2)](_0x3af1f9);if(_0x3e02de&&_0x4a5274&&_0x4a5274[_0x281f8d(0xd6)](_0x3e02de)){const _0x1a1edb=_0x4a5274[_0x281f8d(0xb2)](_0x3e02de);this[_0x281f8d(0xbf)](_0x3af1f9,_0x3e02de),_0x1a1edb[_0x281f8d(0x19e)](_0x12a69b=>{_0x12a69b!=null&&this['_removeAllTreeMap'](_0x12a69b);}),_0x1a1edb[_0x281f8d(0x188)]();}else _0x4a5274&&(_0x4a5274[_0x281f8d(0x19e)]((_0x151b0c,_0x377e77)=>{const _0x517a3b=_0x281f8d;this[_0x517a3b(0xbf)](_0x3af1f9,_0x377e77),_0x151b0c['forEach'](_0x7deb6a=>{const _0x929d04=_0x517a3b;_0x7deb6a!=null&&this[_0x929d04(0x10a)](_0x7deb6a);});}),this[_0x281f8d(0x16c)][_0x281f8d(0x184)](_0x3af1f9));}[_0x5a91b3(0x16a)](_0xe0e264,_0x88279e,_0x482154,_0x3c9f3f,_0x651e){const _0x166960=_0x5a91b3;this['_formulaData'][_0x166960(0xd6)](_0xe0e264)||this[_0x166960(0xd2)]['set'](_0xe0e264,new Map());const _0x3552f2=this[_0x166960(0xd2)]['get'](_0xe0e264);_0x3552f2[_0x166960(0xd6)](_0x88279e)||_0x3552f2[_0x166960(0x12f)](_0x88279e,new x[(_0x166960(0x186))]()),_0x3552f2[_0x166960(0xb2)](_0x88279e)[_0x166960(0x142)](_0x482154,_0x3c9f3f,_0x651e['treeId']);}[_0x5a91b3(0x182)](_0x1a081c,_0x3f9bb1,_0x2f8e14,_0x279fd4){const _0x3c4936=_0x5a91b3,_0x3be432=this[_0x3c4936(0xd2)][_0x3c4936(0xb2)](_0x1a081c);if(_0x3be432&&_0x3be432[_0x3c4936(0xd6)](_0x3f9bb1)){const _0x48bebc=_0x3be432[_0x3c4936(0xb2)](_0x3f9bb1),_0x8499b2=_0x48bebc[_0x3c4936(0x150)](_0x2f8e14,_0x279fd4);if(_0x8499b2==null)return;this['_removeDependencyRTreeCache'](_0x8499b2),_0x48bebc[_0x3c4936(0x102)](_0x2f8e14,_0x279fd4),this[_0x3c4936(0x10a)](_0x8499b2);}}[_0x5a91b3(0x147)](_0x30ad10,_0x1be964){const _0x539fbb=_0x5a91b3,_0x5cf6e8=this[_0x539fbb(0xd2)][_0x539fbb(0xb2)](_0x30ad10);if(_0x1be964&&_0x5cf6e8&&_0x5cf6e8['has'](_0x1be964)){const _0x344a97=_0x5cf6e8[_0x539fbb(0xb2)](_0x1be964);this[_0x539fbb(0xbf)](_0x30ad10,_0x1be964),_0x344a97['forValue']((_0x50e5cb,_0x3dbd70,_0xe01204)=>{const _0x572a33=_0x539fbb;if(_0xe01204==null)return!0x0;this[_0x572a33(0x10a)](_0xe01204);}),_0x344a97[_0x539fbb(0xe5)]();}else _0x5cf6e8&&(_0x5cf6e8[_0x539fbb(0x19e)]((_0x2483c4,_0x49e233)=>{const _0x183690=_0x539fbb;this['_removeDependencyRTreeCacheById'](_0x30ad10,_0x49e233),_0x2483c4[_0x183690(0x121)]((_0x1ac66f,_0x176d9f,_0x4e0501)=>{const _0x2e3024=_0x183690;if(_0x4e0501==null)return!0x0;this[_0x2e3024(0x10a)](_0x4e0501);});}),this[_0x539fbb(0xd2)]['delete'](_0x30ad10));}[_0x5a91b3(0x113)](_0x158ce0){const _0x5e852f=_0x5a91b3;if(_0x158ce0==null)return;const _0x1a5be5=this[_0x5e852f(0x15b)][_0x5e852f(0xb2)](_0x158ce0);if(_0x1a5be5){const _0x2442a1=[];for(const [_0x2c9195,_0x4e2ed9]of _0x1a5be5)for(const [_0x535096,_0x2293a8]of _0x4e2ed9)_0x2442a1[_0x5e852f(0x139)]({'unitId':_0x2c9195,'sheetId':_0x535096,'range':_0x2293a8,'id':_0x158ce0});this[_0x5e852f(0xf2)][_0x5e852f(0x13d)](_0x2442a1);}}[_0x5a91b3(0x194)](_0x4a4477,_0x698d97){const _0x25c71d=_0x5a91b3,_0x2956e0=this[_0x25c71d(0xdf)]['get'](_0x4a4477);if(_0x2956e0){const _0x113519=_0x2956e0[_0x25c71d(0xb2)](_0x698d97);if(_0x113519){for(const _0x241d91 of _0x113519)this[_0x25c71d(0x113)](_0x241d91),this[_0x25c71d(0x10a)](_0x241d91);_0x113519['clear']();}}}[_0x5a91b3(0x12c)](){const _0x174148=_0x5a91b3;this[_0x174148(0xf2)][_0x174148(0x12c)]();}[_0x5a91b3(0x103)](){const _0x464ce7=_0x5a91b3;this[_0x464ce7(0xf2)]['closeKdTree']();}['_removeAllTreeMap'](_0x2343f9){const _0x325361=_0x5a91b3;_0x2343f9!=null&&this[_0x325361(0x15b)]['delete'](_0x2343f9);}[_0x5a91b3(0x189)](_0x189570){const _0x337670=_0x5a91b3;var _0x118b2e,_0xddc2e9;const _0x53bad7=_0x189570[_0x337670(0x17f)];let _0x26f647=this[_0x337670(0x15b)][_0x337670(0xb2)](_0x189570[_0x337670(0x10d)]);for(let _0x50ed1c=0x0;_0x50ed1c<_0x53bad7[_0x337670(0x10c)];_0x50ed1c++){const _0x225fee=_0x53bad7[_0x50ed1c];let {unitId:_0x153eb9,sheetId:_0x3d0766,range:_0x51a871}=_0x225fee;_0x26f647||(_0x26f647=new Map(),this[_0x337670(0x15b)][_0x337670(0x12f)](_0x189570['treeId'],_0x26f647)),_0x26f647[_0x337670(0xd6)](_0x153eb9)||_0x26f647[_0x337670(0x12f)](_0x153eb9,new Map());const _0x4c4deb=(_0x118b2e=_0x26f647==null?void 0x0:_0x26f647['get'](_0x153eb9))==null?void 0x0:_0x118b2e[_0x337670(0xb2)](_0x3d0766);_0x4c4deb&&(_0x51a871={'startRow':Math['min'](_0x51a871[_0x337670(0x14b)],_0x4c4deb[_0x337670(0x14b)]),'startColumn':Math['min'](_0x51a871['startColumn'],_0x4c4deb['startColumn']),'endRow':Math[_0x337670(0x19f)](_0x51a871['endRow'],_0x4c4deb[_0x337670(0x11d)]),'endColumn':Math['max'](_0x51a871[_0x337670(0x11a)],_0x4c4deb[_0x337670(0x11a)])}),(_0xddc2e9=_0x26f647[_0x337670(0xb2)](_0x153eb9))==null||_0xddc2e9['set'](_0x3d0766,_0x51a871);}}}var V=Object[_0x5a91b3(0xe8)],$=(_0x3c9c9b,_0x2d1fbc,_0x34a523,_0x1e1dd5)=>{const _0x52be96=_0x5a91b3;for(var _0x37a190=_0x1e1dd5>0x1?void 0x0:_0x1e1dd5?V(_0x2d1fbc,_0x34a523):_0x2d1fbc,_0xc06d61=_0x3c9c9b[_0x52be96(0x10c)]-0x1,_0x1bb7ad;_0xc06d61>=0x0;_0xc06d61--)(_0x1bb7ad=_0x3c9c9b[_0xc06d61])&&(_0x37a190=_0x1bb7ad(_0x37a190)||_0x37a190);return _0x37a190;};const j=Number[_0x5a91b3(0xcf)](0x695e26d5);exports['UniverProFormulaEnginePlugin']=class extends s['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0x5189d3=_0x5a91b3;var _0x1ad5d5,_0x5d9e7e;this[_0x5189d3(0x17d)]()?(this[_0x5189d3(0xeb)]['add']([s[_0x5189d3(0xe7)],{'useClass':G}]),(_0x1ad5d5=this[_0x5189d3(0xd7)])!=null&&_0x1ad5d5[_0x5189d3(0x127)]||[[s[_0x5189d3(0xde)],{'useClass':B}],[s[_0x5189d3(0xd4)],{'useClass':z}],[s['IFormulaDependencyGenerator'],{'useClass':K}]][_0x5189d3(0x19e)](_0x59480f=>this[_0x5189d3(0xeb)][_0x5189d3(0x137)](_0x59480f))):(this['_injector']['add']([s['LexerTreeBuilder'],{'useClass':s[_0x5189d3(0xe7)]}]),(_0x5d9e7e=this[_0x5189d3(0xd7)])!=null&&_0x5d9e7e['notExecuteFormula']||[[s['ICalculateFormulaService'],{'useClass':s[_0x5189d3(0xb4)]}],[s[_0x5189d3(0xd4)],{'useClass':s[_0x5189d3(0x136)]}],[s[_0x5189d3(0xbe)],{'useClass':s[_0x5189d3(0x109)]}]][_0x5189d3(0x19e)](_0x21ee3c=>this['_injector'][_0x5189d3(0x137)](_0x21ee3c)));}[_0x5a91b3(0x17d)](){const _0x4b61a2=_0x5a91b3;var _0x119e6d;const _0x2f6aaa=(_0x119e6d=this[_0x4b61a2(0x176)][_0x4b61a2(0x159)](M[_0x4b61a2(0x158)]))!=null?_0x119e6d:{},{ls:_0x24ce78,pbk:_0x56f288}=_0x2f6aaa;if(!_0x24ce78||!_0x56f288)return!0x1;const _0x5ebfcf=M['unshiftString'](Y,J),_0x538b09=new Function(_0x4b61a2(0xc5)+_0x5ebfcf)()(_0x24ce78,_0x56f288),_0x33d72d=_0x538b09[_0x4b61a2(0xca)];return _0x538b09['valid']&&M[_0x4b61a2(0xdd)](_0x33d72d,'sf',j)?M['getSheetFeatureLimit'](_0x33d72d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=$([x['DependentOn'](M['UniverLicensePlugin'])],exports['UniverProFormulaEnginePlugin']),exports[_0x5a91b3(0x13c)]=G,Object[_0x5a91b3(0xee)](s)[_0x5a91b3(0x19e)](_0x1b4fd9=>{const _0x507c86=_0x5a91b3;_0x1b4fd9!==_0x507c86(0x10e)&&!Object[_0x507c86(0x128)][_0x507c86(0x130)][_0x507c86(0xba)](exports,_0x1b4fd9)&&Object[_0x507c86(0xb8)](exports,_0x1b4fd9,{'enumerable':!0x0,'get':()=>s[_0x1b4fd9]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1d94f4,_0xb0a78){var _0x1de2eb=_0x176c,_0x316a37=_0x1d94f4();while(!![]){try{var _0x33c02c=-parseInt(_0x1de2eb(0x14b))/0x1+-parseInt(_0x1de2eb(0x14e))/0x2+parseInt(_0x1de2eb(0x14c))/0x3*(parseInt(_0x1de2eb(0x149))/0x4)+-parseInt(_0x1de2eb(0x14a))/0x5*(parseInt(_0x1de2eb(0x152))/0x6)+-parseInt(_0x1de2eb(0x151))/0x7*(parseInt(_0x1de2eb(0x14f))/0x8)+-parseInt(_0x1de2eb(0x150))/0x9+parseInt(_0x1de2eb(0x14d))/0xa;if(_0x33c02c===_0xb0a78)break;else _0x316a37['push'](_0x316a37['shift']());}catch(_0x44e3c1){_0x316a37['push'](_0x316a37['shift']());}}}(_0x3b76,0x5f375));function _0x3b76(){var _0x2a5e4f=['778406lQrtsH','15FqZsGj','27467340JYPNBU','1080274XPZRNW','8OezOoj','2034252wpmJnO','3573038OLmttA','18534rJhDBl','267688VTsCbw','1030CsWLQx'];_0x3b76=function(){return _0x2a5e4f;};return _0x3b76();}function _0x176c(_0x81e19d,_0x556519){_0x81e19d=_0x81e19d-0x149;var _0x3b768a=_0x3b76();var _0x176c8f=_0x3b768a[_0x81e19d];return _0x176c8f;}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x643303=_0x2309;function _0x1e36(){const _0x4a9687=['treeBuilder','getValue','setCompletedFormulasCount','dirtyRanges','_getFirstCellOfRange','valid','addFeatureFormulaDependency','toRTreeItem','9AGuIEe','_hasNewExcelFunction','START_DEPENDENCY','openKdTree','isExcludeRange','values','markedAsStopFunctionsExecuted','_endFormulaDependencyTreeModel','_lexer','rangeList','featureId','endRow','_xlfnPrefix','setTotalArrayFormulasToCalculate','isStopExecution','_updateRangeFlatten','_getTableNameFromStructuredRef','isAdded','_otherFormulaDataMainData','_isCalculateTreeModel','dispose','notExecuteFormula','addFormulaDependencyByDefinedName','_getCurNodeTypeForExprTree','slice','_configService','clear','forValue','_generateNewFunctionString','addFormulaDependency','min','isDirty','addOtherFormulaDependencyMainData','join','getOtherFormulaData','getFeatureFormulaDependency','_otherFormulaData','formula','set','clearOtherFormulaDependency','_dependencyManagerService','searchDependency','row','_xlfn.','START_CALCULATION_ARRAY_FORMULA','startRow','START_CALCULATION','refOffsetY','get','delete','_handleTextNodeForExprTree','setRuntimeData','max','length','addOtherFormulaDependency','setDependencyTreeModelData','toUpperCase','Lambda\x20parameter\x20name\x20\x22','node','/*\x20aB1c7X-ScBWo1a\x205xabax-Xa851WXa\x20*/bL7iXcw7\x20Saixd5Xcw7(1cia7Ba,\x205Lo1ciJad)\x20{\x20\x20\x20\x20Xxd\x20{\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x201cia7Ba67bwRWxXqxxWd\x20=\x201cia7Ba.B51cX(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20wxc3c7zaBBW3a\x20=\x20eZKF.5WxBa(WXwo(1cia7Ba67bwRWxXqxxWd[Q]));\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(!wxc3c7zaBBW3a.LS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wxc3c7zaBBW3a.LS\x20=\x20FL8oax(1cia7Ba67bwRWxXqxxWd[m]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20cBkwxVax\x20=\x20Xd5awb\x20kwxVaxG1woW1Ziw5a\x20!==\x20\x27L7Sabc7aS\x27\x20&&\x20Ba1b\x20c7BXW7iawb\x20kwxVaxG1woW1Ziw5a;\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20cB4xwnBax\x20=\x20Xd5awb\x20nc7Swn\x20!==\x20\x27L7Sabc7aS\x27\x20&&\x20Xd5awb\x20nc7Swn.1wiWXcw7\x20!==\x20\x27L7Sabc7aS\x27;\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20iw7XaHX\x20=\x20cBkwxVax\x20?\x20Ba1b\x20:\x20(cB4xwnBax\x20?\x20nc7Swn\x20:\x2031woW1htcB);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x208aBBW3akwxS\x20=\x20iw7XaHX.__4WBaUm__.5WxBa(1cia7Ba67bwRWxXqxxWd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x208aBBW3a\x20=\x20iw7XaHX.__laH__.BXxc73cbd(8aBBW3akwxS);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37WXLxakwxS\x20=\x20iw7XaHX.__4WBaUm__.5WxBa(1cia7Ba67bwRWxXqxxWd[A]);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37WXLxa\x20=\x20iw7XaHX.__laH__.BXxc73cbd(Bc37WXLxakwxS);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Bc37DW1cS\x20=\x20iw7XaHX.__Caxcbd__(Bc37WXLxa,\x208aBBW3a,\x205Lo1ciJad);\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20Sw8Wc7\x20=\x20wxc3c7zaBBW3a.S8;\x20\x20\x20\x20\x20\x20\x20\x20bL7iXcw7\x20cB0w8Wc7zWXitc73(5WXXax7,\x20twBX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(5WXXax7\x20===\x20twBX)\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(5WXXax7.BXWxXBkcXt(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20BLbbcH\x20=\x205WXXax7.B1cia(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(BLbbcH\x20&&\x20BLbbcH\x20===\x20twBX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(BLbbcH\x20&&\x20!twBX.BXWxXBkcXt(\x27.\x27)\x20&&\x20twBX.a7SBkcXt(\x27.\x27\x20+\x20BLbbcH))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20bW1Ba;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x201aX\x20Sw8Wc7DW1cS\x20=\x20bW1Ba;\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(cB4xwnBax)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20(Sw8Wc7\x20&&\x20Sw8Wc7.1a73Xt)\x20?\x20Sw8Wc7.Bw8a((S86Xa8)\x20=>\x20cB0w8Wc7zWXitc73(S86Xa8,\x201wiWXcw7.twBX7W8a))\x20:\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cb\x20(1wiWXcw7.twBX7W8a\x20===\x20\x271wiW1twBX\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20a1Ba\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sw8Wc7DW1cS\x20=\x20XxLa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20iw7BX\x20CW1cS\x20=\x20Bc37DW1cS\x20&&\x20Sw8Wc7DW1cS;\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CW1cS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208aBBW3a:\x20wxc3c7zaBBW3a,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20iWXit\x20(axxwx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20xaXLx7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CW1cS:\x20bW1Ba,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208aBBW3a:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setValue','inRangeData','_currentConfigService','168eQzEpe','50EksTaa','_removeDependencyRTreeCacheById','_lambdaFunctionParameterSet','_featureFormulaData','next','_config','startColumn','_calculateRunList','setTotalFormulasToCalculate','string','_allTreeMap','realDeleteValue','endColumn','type','_currentUnitId','defineProperty','_startFormulaDependencyTreeModel','getFormulaData','clearFeatureFormulaDependency','setRuntimeFeatureRange','setRuntimeFeatureCellData','_initializeGenerateTreeList','1981qLStov','_definedNameMap','getAllRuntimeData','_removeDependencyRTreeCache','setSkip','hasOtherFormulaDataMainData','removeOtherFormulaDependency','setCurrent','executeAsync','_xlpmPrefix','_xlpm.','getClearDependencyTreeCache','_resetPrefix','_getTreeById','COLON','return\x20','_checkAddBracketForMinus','MINUS','_removeAllTreeMap','children','treeId','removeFormulaDependencyByDefinedName','rowCount','_checkIsCycleDependency','clearArrayObjectCache','_getAllDependencyJson','push','_interpreter','2316AGosDe','generate','getChildren','_registerFormulas','_dependencyTreeCache','7731mKOAHj','_otherFormulaManagerService','isArray','55qwLToO','setRuntimeOtherData','isSkip','refTree','column','columnCount','enableCycleDependency','unitId','getRuntimeState','_getDependencyTreeChildrenIds','_formulaDependencyGenerator','_checkColonNodeForExprTree','431540lzTtNF','formulaId','_runtimeService','bulkSearch','_convertDirtyRangesToUnitRange','isForceCalculate','_getUpdateTreeListAndMakeDependency','endsWith','358770eofQAV','pop','dependencySheetName','error','refOffsetX','_clearFunctionString','_initLicenseValid','resetCalculationState','_isCyclicUtilMap','size','_formulaDependencyTreeModel','IDLE','1614OkPMlJ','getUnitData','getToken','PLUS','CURRENTLY_CALCULATING','setFormulaExecuteStage','\x22\x20is\x20duplicated.','_traverse','_formulaData','_executionCompleteListener$','Let\x20variable\x20name\x20\x22','VALUE','_handleLambdaForExprTree','value','trim','clearFormulaDependency','startsWith','isVirtual','forEach','_generateTreeList','_getAllTreeList','getStartIndex','_astTreeBuilder','setAdded','has','OTHER_FORMULA','START_DEPENDENCY_ARRAY_FORMULA','22lCcJKR','_createVirtualFDtree','reset','keys','_injector','add','getFormulaDependency','setCompletedArrayFormulasCount','_addAllTreeMap','isCache','1025120HtqNvq','66807isgjBw','closeKdTree','_executionInProgressListener$','_dependencyRTreeCacheForAddressFunction','getConfig','_restDependencyTreeId','removeFeatureFormulaDependency','sheetId','getDirtyData','startIndex','_apply','_generateExprTree','from','_dependencyRTreeCache','_createFDtree','subUnitId','_handleNewFunctionChild','getOtherFormulaDependency'];_0x1e36=function(){return _0x4a9687;};return _0x1e36();}(function(_0x4e91f4,_0x93715f){const _0x4334a7=_0x2309,_0x3f5aec=_0x4e91f4();while(!![]){try{const _0x2cc1ea=-parseInt(_0x4334a7(0x19b))/0x1*(-parseInt(_0x4334a7(0x23e))/0x2)+parseInt(_0x4334a7(0x1b2))/0x3+-parseInt(_0x4334a7(0x196))/0x4*(-parseInt(_0x4334a7(0x19e))/0x5)+-parseInt(_0x4334a7(0x1be))/0x6*(-parseInt(_0x4334a7(0x17a))/0x7)+parseInt(_0x4334a7(0x1e3))/0x8*(-parseInt(_0x4334a7(0x1fe))/0x9)+parseInt(_0x4334a7(0x1aa))/0xa*(-parseInt(_0x4334a7(0x1d9))/0xb)+-parseInt(_0x4334a7(0x23d))/0xc*(parseInt(_0x4334a7(0x1e4))/0xd);if(_0x2cc1ea===_0x93715f)break;else _0x3f5aec['push'](_0x3f5aec['shift']());}catch(_0x2a1930){_0x3f5aec['push'](_0x3f5aec['shift']());}}}(_0x1e36,0x1a9a7));function _0x2309(_0x5d4168,_0x2e2443){_0x5d4168=_0x5d4168-0x17a;const _0x1e3648=_0x1e36();let _0x23091f=_0x1e3648[_0x5d4168];return _0x23091f;}var ae=Object[_0x643303(0x24d)],se=(_0x523488,_0x49a9e1,_0x47a984)=>_0x49a9e1 in _0x523488?ae(_0x523488,_0x49a9e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47a984}):_0x523488[_0x49a9e1]=_0x47a984,F=(_0x2e8245,_0x1b0024,_0x4d4887)=>se(_0x2e8245,typeof _0x1b0024!='symbol'?_0x1b0024+'':_0x1b0024,_0x4d4887);import{LexerTreeBuilder as _0x2de062,ErrorType as _0x3f1a9c,DEFAULT_TOKEN_TYPE_ROOT as _0x476f93,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1dc8fd,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x27898a,NEW_EXCEL_FUNCTIONS as _0x1d2a77,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x6fae0c,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x52dab1,matchToken as _0x5eef5b,SUFFIX_TOKEN_SET as _0x70e65e,prefixToken as _0x4687ca,LexerNode as _0xd7f2bc,OPERATOR_TOKEN_SET as _0x9b2e6,isReferenceString as _0x3de2d5,splitTableStructuredRef as _0x267224,FormulaDependencyGenerator as _0x2c0ecc,generateRandomDependencyTreeId as _0x1866e8,FormulaDependencyTree as _0x24ba2f,FormulaDependencyTreeType as _0x10e6bb,FormulaDependencyTreeVirtual as _0x188bdc,generateAstNode as _0xdb803c,CalculateFormulaService as _0x5a2da9,FormulaExecuteStageType as _0x3d57e3,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4e63bf,DEFAULT_INTERVAL_COUNT as _0x55bb51,DependencyManagerBaseService as _0x5554e2,UniverFormulaEnginePlugin as _0x303f09,ICalculateFormulaService as _0x3067b9,IDependencyManagerService as _0x23deff,IFormulaDependencyGenerator as _0x483fef,DependencyManagerService as _0x29d0c3}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x13f136,LS_CONFIG_KEY as _0x13d9ee,unshiftString as _0xcca642,isFeatureAuthorizedWithinTime as _0x2af76e,getSheetFeatureLimit as _0x445956}from'@univerjs-pro/license';import{ObjectMatrix as _0x262bb3,requestImmediateMacroTask as _0x29a946,RTree as _0x12abde,DependentOn as _0x4952de}from'@univerjs/core';class Se extends _0x2de062{constructor(){const _0x31f933=_0x643303;super(...arguments),F(this,_0x31f933(0x1ff),!0x1),F(this,_0x31f933(0x240),new Set()),F(this,_0x31f933(0x183),_0x31f933(0x184)),F(this,'_xlfnPrefix',_0x31f933(0x229)),F(this,'_currentUnitId','');}[_0x643303(0x186)](){const _0x12f7ab=_0x643303;this[_0x12f7ab(0x183)]=_0x12f7ab(0x184),this[_0x12f7ab(0x20a)]='_xlfn.';}['_clearPrefix'](){const _0x7dee4c=_0x643303;this[_0x7dee4c(0x183)]='',this[_0x7dee4c(0x20a)]='';}['getNewFormulaWithPrefix'](_0x1aeb94,_0x2589a1){const _0x585128=_0x643303,_0x5512c6=this[_0x585128(0x1f6)](_0x1aeb94,!0x1);if(!_0x5512c6||_0x5512c6===_0x3f1a9c[_0x585128(0x1c9)]||Array['isArray'](_0x5512c6))return null;const _0x39ab3b=[];return this[_0x585128(0x1ff)]=!0x1,this[_0x585128(0x21a)](_0x5512c6,_0x39ab3b,_0x2589a1),this[_0x585128(0x1ff)]?'='+_0x39ab3b[_0x585128(0x21f)](''):null;}[_0x643303(0x21a)](_0x1eaba0,_0x5ec801,_0x19aa87){const _0x39b05e=_0x643303,_0x5dcf75=_0x1eaba0[_0x39b05e(0x1c0)](),_0x42c8a4=_0x5dcf75[_0x39b05e(0x1cc)](),_0x9bed0b=_0x42c8a4[_0x39b05e(0x236)](),_0x31d98b=this[_0x39b05e(0x1b7)](_0x9bed0b),_0x346b95=_0x19aa87(_0x31d98b);let _0x2ca804=0x0;_0x5dcf75===_0x476f93?_0x2ca804=0x3:_0x5dcf75===_0x1dc8fd?_0x2ca804=0x4:_0x5dcf75===_0x27898a?_0x2ca804=0x5:_0x1d2a77[_0x39b05e(0x1d6)](_0x31d98b)?(_0x5ec801[_0x39b05e(0x194)](''+this[_0x39b05e(0x20a)]+_0x42c8a4),this['_hasNewExcelFunction']=!0x0):_0x9bed0b===_0x6fae0c?(_0x5ec801[_0x39b05e(0x194)](''+this[_0x39b05e(0x20a)]+_0x42c8a4),this[_0x39b05e(0x1ff)]=!0x0,_0x2ca804=0x2):_0x9bed0b===_0x52dab1?(_0x5ec801[_0x39b05e(0x194)](''+this['_xlfnPrefix']+_0x42c8a4),this[_0x39b05e(0x1ff)]=!0x0,_0x2ca804=0x1):_0x9bed0b===_0x5eef5b[_0x39b05e(0x188)]?_0x2ca804=0x8:_0x70e65e['has'](_0x9bed0b)?_0x2ca804=0x7:_0x9bed0b===_0x4687ca[_0x39b05e(0x18b)]?(this[_0x39b05e(0x18a)](_0x1eaba0)&&(_0x2ca804=0x9),_0x5ec801[_0x39b05e(0x194)](_0x5dcf75)):(_0x5ec801[_0x39b05e(0x194)](_0x5dcf75),_0x2ca804=0xa),_0x346b95?(_0x2ca804!==0x2&&_0x2ca804!==0x1&&(_0x2ca804=0x6),_0x5ec801[_0x39b05e(0x194)]('(')):_0x2ca804===0x9&&_0x5ec801[_0x39b05e(0x194)]('(');const _0x5be1e5=_0x1eaba0[_0x39b05e(0x198)](),_0x553f88=_0x5be1e5[_0x39b05e(0x233)];if(_0x2ca804===0x2){const _0x704a8b=_0x5be1e5[0x0];let _0x27d234=0x0;_0x704a8b instanceof _0xd7f2bc&&_0x704a8b[_0x39b05e(0x1c0)]()===_0x27898a&&(_0x27d234=0x1);for(let _0x28f363=_0x27d234;_0x28f363<_0x553f88-0x1;_0x28f363++){const _0x33e61c=_0x5be1e5[_0x28f363];if(_0x33e61c instanceof _0xd7f2bc){const _0x57d373=_0x33e61c[_0x39b05e(0x198)]()[0x0];typeof _0x57d373=='string'&&(this[_0x39b05e(0x240)][_0x39b05e(0x1d6)](_0x57d373)&&console['error'](_0x39b05e(0x237)+_0x57d373+_0x39b05e(0x1c4)),this[_0x39b05e(0x240)][_0x39b05e(0x1de)](_0x57d373),_0x5ec801[_0x39b05e(0x194)](''+this['_xlpmPrefix']+_0x57d373),this['_hasNewExcelFunction']=!0x0);}_0x5ec801[_0x39b05e(0x194)](',');}this[_0x39b05e(0x1f4)](_0x5be1e5[_0x553f88-0x1],_0x5ec801,_0x19aa87),_0x27d234===0x1&&(_0x5ec801[_0x39b05e(0x194)](')'),_0x5ec801['push']('('),this[_0x39b05e(0x21a)](_0x704a8b,_0x5ec801,_0x19aa87)),_0x5ec801['push'](')');return;}else{if(_0x2ca804===0x1){for(let _0x84a610=0x0;_0x84a610<_0x553f88-0x1;_0x84a610++){const _0x9e7dc0=_0x5be1e5[_0x84a610];if(_0x9e7dc0 instanceof _0xd7f2bc&&_0x84a610%0x2===0x0){const _0x263689=_0x9e7dc0[_0x39b05e(0x198)]()[0x0];if(typeof _0x263689==_0x39b05e(0x247)){this['_lambdaFunctionParameterSet'][_0x39b05e(0x1d6)](_0x263689)&&console[_0x39b05e(0x1b5)](_0x39b05e(0x1c8)+_0x263689+_0x39b05e(0x1c4)),this[_0x39b05e(0x240)]['add'](_0x263689),_0x5ec801[_0x39b05e(0x194)](''+this[_0x39b05e(0x183)]+_0x263689),this['_hasNewExcelFunction']=!0x0,_0x5ec801[_0x39b05e(0x194)](',');continue;}}if(this[_0x39b05e(0x1f4)](_0x9e7dc0,_0x5ec801,_0x19aa87),_0x9e7dc0 instanceof _0xd7f2bc){const _0x3038a5=_0x5be1e5[_0x84a610+0x1];_0x3038a5&&_0x3038a5 instanceof _0xd7f2bc&&_0x5ec801['push'](',');}}this[_0x39b05e(0x1f4)](_0x5be1e5[_0x553f88-0x1],_0x5ec801,_0x19aa87),_0x5ec801[_0x39b05e(0x194)](')');return;}else{if(_0x2ca804===0x8){const _0x196cb9=_0x5be1e5[0x0],_0x20b5b2=_0x5be1e5[0x1];this[_0x39b05e(0x1f4)](_0x196cb9,_0x5ec801,_0x19aa87),_0x5ec801[_0x39b05e(0x194)](_0x5dcf75),this[_0x39b05e(0x1f4)](_0x20b5b2,_0x5ec801,_0x19aa87);return;}}}for(let _0x4e3663=0x0;_0x4e3663<_0x553f88;_0x4e3663++){const _0x7dfddb=_0x5be1e5[_0x4e3663];if(this[_0x39b05e(0x1f4)](_0x7dfddb,_0x5ec801,_0x19aa87),_0x7dfddb instanceof _0xd7f2bc){const _0x184513=_0x5be1e5[_0x4e3663+0x1];_0x184513&&_0x184513 instanceof _0xd7f2bc&&_0x5ec801[_0x39b05e(0x194)](',');}}_0x2ca804===0x7&&_0x5ec801['push'](_0x5dcf75),(_0x346b95||_0x2ca804===0x9)&&_0x5ec801[_0x39b05e(0x194)](')');}[_0x643303(0x1f4)](_0x2c4664,_0x4fbdf1,_0x2b73d7){const _0x4990d4=_0x643303;_0x2c4664 instanceof _0xd7f2bc?this['_generateNewFunctionString'](_0x2c4664,_0x4fbdf1,_0x2b73d7):this[_0x4990d4(0x240)][_0x4990d4(0x1d6)](_0x2c4664)?(_0x4fbdf1[_0x4990d4(0x194)](''+this[_0x4990d4(0x183)]+_0x2c4664),this[_0x4990d4(0x1ff)]=!0x0):_0x4fbdf1['push'](_0x2c4664);}[_0x643303(0x1b7)](_0x5c9dd1){const _0x6b7956=_0x643303;let _0x10100f=_0x5c9dd1[_0x6b7956(0x1cc)]();if(!_0x10100f)return _0x10100f;const _0x724d2=_0x10100f[0x0];if((_0x724d2===_0x4687ca['AT']||_0x724d2===_0x4687ca[_0x6b7956(0x18b)]||_0x724d2===_0x4687ca[_0x6b7956(0x1c1)])&&(_0x10100f=_0x10100f[_0x6b7956(0x216)](0x1)),!_0x10100f)return _0x10100f;const _0x256970=_0x10100f[_0x10100f['length']-0x1];return _0x70e65e['has'](_0x256970)&&(_0x10100f=_0x10100f[_0x6b7956(0x216)](0x0,-0x1)),_0x10100f;}[_0x643303(0x18a)](_0x10409a){const _0x50781d=_0x643303,_0x4eba3c=_0x10409a['getChildren']()[0x0];if(!_0x4eba3c||!(_0x4eba3c instanceof _0xd7f2bc)||_0x10409a[_0x50781d(0x198)]()[_0x50781d(0x233)]>0x1)return!0x1;const _0x1a8b8e=_0x4eba3c[_0x50781d(0x198)](),_0x1b1bd6=_0x1a8b8e[_0x50781d(0x233)];if(_0x1b1bd6===0x1)return!0x1;for(let _0x5df528=0x0;_0x5df528<_0x1b1bd6;_0x5df528++){const _0xf28379=_0x1a8b8e[_0x5df528];if(!(_0xf28379 instanceof _0xd7f2bc)&&_0x9b2e6[_0x50781d(0x1d6)](_0xf28379))return!0x0;}return!0x1;}['getFormulaExprTree'](_0xb1778c,_0x80be89,_0x4ee2bb,_0x2e5605,_0x3d070a){const _0x1fd652=_0x643303,_0x3d82c3=this[_0x1fd652(0x1f6)](_0xb1778c,!0x1);if(!_0x3d82c3||_0x3d82c3===_0x3f1a9c[_0x1fd652(0x1c9)]||Array[_0x1fd652(0x19d)](_0x3d82c3))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x80be89;const _0x55d9d4=this['_generateExprTree'](_0x3d82c3,_0x4ee2bb,_0x2e5605,_0x3d070a);return this[_0x1fd652(0x24c)]='',this['_resetPrefix'](),_0x55d9d4;}[_0x643303(0x1ef)](_0xcc9ed0,_0x1db599,_0x59187f,_0x2a266c){const _0x9f41b3=_0x643303,_0x41a65a={'value':'','children':[],'startIndex':0x0};let _0x4de377=_0xcc9ed0;if(_0x4de377 instanceof _0xd7f2bc&&(_0x4de377[_0x9f41b3(0x1c0)]()===_0x476f93||_0x4de377[_0x9f41b3(0x1c0)]()===_0x1dc8fd)&&_0x4de377[_0x9f41b3(0x198)]()[_0x9f41b3(0x233)]===0x1&&(_0x4de377=_0x4de377['getChildren']()[0x0]),!(_0x4de377 instanceof _0xd7f2bc))return this[_0x9f41b3(0x230)](_0x4de377,_0x59187f,_0x2a266c);const _0x30223f=_0x4de377['getChildren'](),_0x1fa481=_0x30223f[_0x9f41b3(0x233)],_0x455209=[];this[_0x9f41b3(0x21a)](_0x4de377,_0x455209,_0x1db599),_0x41a65a[_0x9f41b3(0x1cb)]=_0x455209[_0x9f41b3(0x21f)](''),_0x41a65a[_0x9f41b3(0x1ed)]=_0x4de377[_0x9f41b3(0x1d3)]();const _0x5c38ca=this[_0x9f41b3(0x215)](_0x4de377);if(_0x5c38ca===0x2){const _0x30f36e=_0x30223f[0x0];if(_0x30f36e instanceof _0xd7f2bc){if(_0x30f36e['getToken']()[_0x9f41b3(0x1cc)]()!==_0x27898a)return _0x41a65a;this[_0x9f41b3(0x1ca)](_0x30f36e,_0x41a65a,_0x1db599,_0x59187f,_0x2a266c);}return _0x41a65a;}else{if(_0x5c38ca===0x1){for(let _0x1666be=0x0;_0x1666be<_0x1fa481-0x1;_0x1666be++){const _0x4a9899=_0x30223f[_0x1666be];if(_0x4a9899 instanceof _0xd7f2bc&&_0x1666be%0x2===0x1){const _0x3f54f5=_0x4a9899[_0x9f41b3(0x198)]();if(_0x3f54f5[_0x9f41b3(0x233)]===0x1&&!(_0x3f54f5[0x0]instanceof _0xd7f2bc))continue;const _0x44a290=this[_0x9f41b3(0x1ef)](_0x4a9899,_0x1db599,_0x59187f,_0x2a266c);_0x44a290&&_0x41a65a[_0x9f41b3(0x18d)][_0x9f41b3(0x194)](_0x44a290);}}return _0x41a65a;}else{if(_0x5c38ca===0x8){const _0x21d62c=_0x30223f[0x0];if(_0x21d62c instanceof _0xd7f2bc){const _0x3a6df0=_0x21d62c[_0x9f41b3(0x198)]()[0x0];_0x3a6df0 instanceof _0xd7f2bc&&(_0x41a65a[_0x9f41b3(0x1ed)]=_0x3a6df0[_0x9f41b3(0x1d3)]());}if(this[_0x9f41b3(0x1a9)](_0x4de377))return _0x41a65a;}else{if(_0x5c38ca===0x7){const _0x46fdb4=_0x30223f[0x0];if(_0x46fdb4 instanceof _0xd7f2bc){const _0x23bce8=_0x46fdb4[_0x9f41b3(0x198)]()[0x0];_0x23bce8 instanceof _0xd7f2bc&&(_0x41a65a[_0x9f41b3(0x1ed)]=_0x23bce8[_0x9f41b3(0x1d3)]());}}}}}return this['_handleChildrenForExprTree'](_0x30223f,_0x5c38ca,_0x41a65a,_0x1db599,_0x59187f,_0x2a266c),_0x41a65a;}['_handleChildrenForExprTree'](_0x521058,_0x2cb9fe,_0xeebf18,_0x5bbac2,_0x1b08b1,_0x4ba382){const _0x3aeb82=_0x643303;for(let _0x31138c=0x0;_0x31138c<_0x521058[_0x3aeb82(0x233)];_0x31138c++){let _0x16a518=_0x521058[_0x31138c];if(!(_0x16a518 instanceof _0xd7f2bc)){const _0x23ebf3=this[_0x3aeb82(0x230)](_0x16a518,_0x1b08b1,_0x4ba382);_0x23ebf3&&_0xeebf18[_0x3aeb82(0x18d)][_0x3aeb82(0x194)](_0x23ebf3);continue;}const _0x1ebef2=_0x16a518[_0x3aeb82(0x198)]();if(_0x1ebef2[_0x3aeb82(0x233)]===0x1&&!(_0x1ebef2[0x0]instanceof _0xd7f2bc)){const _0x3340db=_0x1ebef2[0x0];if(!_0x1b08b1(this[_0x3aeb82(0x24c)],_0x3340db)&&!this[_0x3aeb82(0x20e)](_0x3340db,_0x4ba382)&&!_0x3de2d5(_0x3340db))continue;}if(_0x2cb9fe===0x8){const _0x5c93b8=_0x1ebef2[0x0];if(_0x5c93b8 instanceof _0xd7f2bc){const _0x828905=_0x5c93b8['getToken']()['trim']();if(_0x3de2d5(_0x828905))continue;_0x16a518=_0x5c93b8;}}const _0x854ea7=this[_0x3aeb82(0x1ef)](_0x16a518,_0x5bbac2,_0x1b08b1,_0x4ba382);_0x854ea7&&_0xeebf18[_0x3aeb82(0x18d)]['push'](_0x854ea7);}}[_0x643303(0x1a9)](_0xf80ef7){const _0x12aee4=_0x643303,_0x411ec1=_0xf80ef7[_0x12aee4(0x198)]();if(_0x411ec1[_0x12aee4(0x233)]<0x2)return!0x1;const _0x4c57b6=_0x411ec1[0x0],_0x1290f9=_0x411ec1[0x1];if(!(_0x4c57b6 instanceof _0xd7f2bc)||!(_0x1290f9 instanceof _0xd7f2bc))return!0x1;const _0xca6a47=_0x4c57b6[_0x12aee4(0x198)]()[0x0],_0x19f1a6=_0x1290f9[_0x12aee4(0x198)]()[0x0];if(!(_0xca6a47 instanceof _0xd7f2bc)||!(_0x19f1a6 instanceof _0xd7f2bc))return!0x1;const _0x4357f2=_0xca6a47[_0x12aee4(0x1c0)]()['trim'](),_0x2385f3=_0x19f1a6[_0x12aee4(0x1c0)]()['trim']();return!!_0x3de2d5(''+_0x4357f2+_0x5eef5b[_0x12aee4(0x188)]+_0x2385f3);}[_0x643303(0x230)](_0x58afae,_0x12c5fd,_0x46d84f){const _0x371c70=_0x643303,_0x5452f4=_0x58afae['trim']();return _0x5452f4[_0x371c70(0x1ce)]('{')&&_0x5452f4[_0x371c70(0x1b1)]('}')||_0x12c5fd(this[_0x371c70(0x24c)],_0x5452f4)||this[_0x371c70(0x20e)](_0x5452f4,_0x46d84f)||_0x3de2d5(_0x5452f4)?{'value':_0x5452f4,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x10a95c,_0x3fde58){const _0x408bd6=_0x643303,{tableName:_0x2edf49}=_0x267224(_0x10a95c);return _0x3fde58(this[_0x408bd6(0x24c)],_0x2edf49)?_0x2edf49:null;}[_0x643303(0x1ca)](_0x421d2c,_0x380769,_0x255926,_0x4a701f,_0x5992b3){const _0x3eeba2=_0x643303,_0x74d256=_0x421d2c[_0x3eeba2(0x198)]();for(let _0x102d2c=0x0;_0x102d2c<_0x74d256[_0x3eeba2(0x233)];_0x102d2c++){const _0x3c9801=_0x74d256[_0x102d2c];if(!(_0x3c9801 instanceof _0xd7f2bc))continue;const _0x57b1b8=_0x3c9801[_0x3eeba2(0x198)]();if(_0x57b1b8[_0x3eeba2(0x233)]===0x1&&!(_0x57b1b8[0x0]instanceof _0xd7f2bc))continue;const _0x4baee1=this['_generateExprTree'](_0x3c9801,_0x255926,_0x4a701f,_0x5992b3);_0x4baee1&&_0x380769[_0x3eeba2(0x18d)][_0x3eeba2(0x194)](_0x4baee1);}}[_0x643303(0x215)](_0x4dbe6f){const _0xf2c099=_0x643303,_0x4f4c6d=_0x4dbe6f[_0xf2c099(0x1c0)](),_0x4346cb=_0x4f4c6d['trim']()[_0xf2c099(0x236)]();let _0x1369ee=0x0;return _0x4f4c6d===_0x476f93?_0x1369ee=0x3:_0x4f4c6d===_0x1dc8fd?_0x1369ee=0x4:_0x4f4c6d===_0x27898a?_0x1369ee=0x5:_0x4346cb===_0x6fae0c?_0x1369ee=0x2:_0x4346cb===_0x52dab1?_0x1369ee=0x1:_0x4346cb===_0x5eef5b[_0xf2c099(0x188)]?_0x1369ee=0x8:_0x70e65e[_0xf2c099(0x1d6)](_0x4346cb)?_0x1369ee=0x7:_0x4346cb===_0x4687ca[_0xf2c099(0x18b)]?this['_checkAddBracketForMinus'](_0x4dbe6f)&&(_0x1369ee=0x9):_0x1369ee=0xa,_0x1369ee;}}const we={0x0:'D',0x1:'l',0x2:'8',0x3:'g',0x4:'B',0x5:'p',0x6:'I',0x7:'n',0x8:'m',0x9:'j','v':'0','g':'1','Q':'2','A':'3','m':'4','T':'5','U':'6','P':'7','y':'9','W':'a','o':'b','i':'c','S':'d','a':'e','b':'f','t':'h','c':'i','V':'k','w':'o','r':'q','x':'r','B':'s','X':'t','L':'u','C':'v','n':'w','H':'x','d':'y','j':'z','q':'A','E':'C','N':'E','M':'F','G':'G','l':'H','e':'J','J':'K','u':'L','z':'M','F':'N','K':'O','R':'P','I':'Q','p':'R','Z':'S','h':'T','f':'U','D':'V','k':'W','O':'X','s':'Y','Y':'Z'},ve=_0x643303(0x239);class Me extends _0x2c0ecc{constructor(){const _0x2c29a5=_0x643303;super(...arguments),F(this,_0x2c29a5(0x19a),new Map());}[_0x643303(0x212)](){const _0x54d5fe=_0x643303;super[_0x54d5fe(0x212)](),this[_0x54d5fe(0x19a)][_0x54d5fe(0x218)]();}async['generate'](_0x1a9aea=!0x1){const _0x255b3f=_0x643303;this[_0x255b3f(0x20d)]();const _0x5e4b3b=this[_0x255b3f(0x23c)][_0x255b3f(0x24f)](),_0x224eab=this[_0x255b3f(0x19c)][_0x255b3f(0x220)](),_0x7f5441=this[_0x255b3f(0x23c)][_0x255b3f(0x185)]();_0x7f5441!=null&&Object[_0x255b3f(0x1dc)](_0x7f5441)[_0x255b3f(0x1d0)](_0x45b487=>{const _0x2c70f0=_0x255b3f;_0x45b487!=null&&Object[_0x2c70f0(0x1dc)](_0x7f5441[_0x45b487])[_0x2c70f0(0x1d0)](_0x311845=>{const _0x4396d7=_0x2c70f0;_0x311845!=null&&(this[_0x4396d7(0x226)]['clearOtherFormulaDependency'](_0x45b487,_0x311845),this[_0x4396d7(0x226)][_0x4396d7(0x250)](_0x45b487,_0x311845),this['_dependencyManagerService'][_0x4396d7(0x1cd)](_0x45b487,_0x311845));});});const _0x1e3e2e=this[_0x255b3f(0x23c)][_0x255b3f(0x1bf)]();await this[_0x255b3f(0x1d1)](_0x5e4b3b,_0x224eab,_0x1e3e2e),this[_0x255b3f(0x226)][_0x255b3f(0x201)]();const _0x5992e0=this['_getUpdateTreeListAndMakeDependency'](),_0x7ef3bb=this[_0x255b3f(0x245)](_0x5992e0);return this[_0x255b3f(0x191)](_0x7ef3bb)&&this['_runtimeService'][_0x255b3f(0x1a4)](),_0x1a9aea&&this['_runtimeService'][_0x255b3f(0x235)](this[_0x255b3f(0x193)](Array[_0x255b3f(0x1f0)](this[_0x255b3f(0x19a)][_0x255b3f(0x203)]()))),this[_0x255b3f(0x19a)]['clear'](),this[_0x255b3f(0x1e7)][_0x255b3f(0x218)](),this[_0x255b3f(0x226)]['closeKdTree'](),this['_runtimeService'][_0x255b3f(0x192)](),Promise['resolve'](_0x7ef3bb);}['_isCyclicUtilMap'](_0x249b16,_0x203035){const _0x248ec1=_0x643303,_0x357084=[_0x249b16];for(;_0x357084[_0x248ec1(0x233)]>0x0;){const _0x3efeae=_0x357084[_0x357084[_0x248ec1(0x233)]-0x1];if((_0x203035['get'](_0x3efeae)||0x0)===0x0){_0x203035[_0x248ec1(0x224)](_0x3efeae,0x1);const _0x56d28d=this[_0x248ec1(0x19a)][_0x248ec1(0x22e)](_0x3efeae);if(_0x56d28d==null){_0x203035[_0x248ec1(0x224)](_0x3efeae,0x2),_0x357084[_0x248ec1(0x1b3)]();continue;}const _0x3fc54d=this[_0x248ec1(0x226)][_0x248ec1(0x227)](_0x56d28d['toRTreeItem']());for(const _0xc1d2d3 of _0x3fc54d){const _0x4a3fc1=_0x203035[_0x248ec1(0x22e)](_0xc1d2d3)||0x0;if(_0x4a3fc1===0x1)return!0x0;_0x4a3fc1===0x0&&_0x357084[_0x248ec1(0x194)](_0xc1d2d3);}}else _0x203035['set'](_0x3efeae,0x2),_0x357084[_0x248ec1(0x1b3)]();}return!0x1;}['_checkIsCycleDependency'](_0x38d714){const _0x19b4db=_0x643303,_0x3123bc=new Map();for(const _0x31518d of _0x38d714)if(!_0x3123bc[_0x19b4db(0x1d6)](_0x31518d['treeId'])&&this[_0x19b4db(0x1ba)](_0x31518d['treeId'],_0x3123bc))return!0x0;return _0x3123bc['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x4d59cf,_0x48cdd7,_0x546e2a){const _0x1cfcb1=_0x643303,{unitId:_0x2bb394,subUnitId:_0x567f16,dependencyRanges:_0x16662d,getDirtyData:_0x266012}=_0x546e2a,_0x97262a=_0x48cdd7||_0x1866e8(this[_0x1cfcb1(0x226)]),_0x182a35=new _0x24ba2f(_0x97262a);_0x182a35['unitId']=_0x2bb394,_0x182a35[_0x1cfcb1(0x1f3)]=_0x567f16,_0x182a35['rangeList']=_0x16662d,_0x182a35[_0x1cfcb1(0x1ec)]=_0x266012;const _0x1cca09=_0x266012(this[_0x1cfcb1(0x23c)][_0x1cfcb1(0x1ec)](),this[_0x1cfcb1(0x1ac)][_0x1cfcb1(0x17c)]()),_0x185b28=this[_0x1cfcb1(0x1ae)](_0x1cca09[_0x1cfcb1(0x1f9)]);return _0x182a35['featureDirtyRanges']=_0x185b28,_0x182a35[_0x1cfcb1(0x208)]=_0x4d59cf,_0x182a35[_0x1cfcb1(0x24b)]=_0x10e6bb['FEATURE_FORMULA'],this[_0x1cfcb1(0x226)][_0x1cfcb1(0x1fc)](_0x2bb394,_0x567f16,_0x4d59cf,_0x182a35),this[_0x1cfcb1(0x19a)][_0x1cfcb1(0x224)](_0x182a35[_0x1cfcb1(0x18e)],_0x182a35),this[_0x1cfcb1(0x226)][_0x1cfcb1(0x221)](_0x546e2a[_0x1cfcb1(0x1a5)],_0x546e2a[_0x1cfcb1(0x1f3)],_0x4d59cf)&&(_0x182a35[_0x1cfcb1(0x1e2)]=!0x0),_0x182a35;}['_registerOtherFormulas'](_0x50043d,_0x45657c,_0x2ebe7b){const _0x2ec58a=_0x643303;var _0x57dcc5;for(const _0x3ea3ba of _0x45657c){const _0x394caf=_0x50043d[_0x3ea3ba];if(_0x394caf==null)continue;const _0x40d6d8=Object['keys'](_0x394caf);for(const _0x119fbf of _0x40d6d8){const _0x3eaa62=_0x394caf[_0x119fbf];if(_0x3eaa62==null)continue;const _0x975710=Object[_0x2ec58a(0x1dc)](_0x3eaa62);for(const _0x245749 of _0x975710){const _0x15f1e3=this['_dependencyManagerService'][_0x2ec58a(0x17f)](_0x245749),_0x14f7be=_0x3eaa62[_0x245749],{f:_0x54794d,ranges:_0x485d17}=_0x14f7be;let _0xf57a00=!0x1;_0x15f1e3&&(_0xf57a00=!0x0);const {firstRow:_0x3f4b95,firstColumn:_0x459cf6}=this[_0x2ec58a(0x1fa)](_0x485d17),_0x17dfd4=this['_dependencyManagerService'][_0x2ec58a(0x1f5)](_0x3ea3ba,_0x119fbf,_0x245749),_0x56b0f2=(_0x57dcc5=_0x17dfd4==null?void 0x0:_0x17dfd4[_0x2ec58a(0x1f7)](0x0,0x0))!=null?_0x57dcc5:_0x1866e8(this['_dependencyManagerService']),_0x5c5faa=new _0x24ba2f(_0x56b0f2);for(let _0x4aad37=0x0;_0x4aad37<_0x485d17[_0x2ec58a(0x233)];_0x4aad37++){const _0x5d990a=_0x485d17[_0x4aad37],{startRow:_0x35768d,startColumn:_0x2a55f8,endRow:_0x475f84,endColumn:_0x5056a9}=_0x5d990a;for(let _0x31e35f=_0x35768d;_0x31e35f<=_0x475f84;_0x31e35f++)for(let _0x5ee882=_0x2a55f8;_0x5ee882<=_0x5056a9;_0x5ee882++){const _0xbf5a36=_0x5ee882-_0x459cf6,_0x4451b6=_0x31e35f-_0x3f4b95;if(_0xbf5a36===0x0&&_0x4451b6===0x0){_0x5c5faa[_0x2ec58a(0x223)]=_0x54794d,_0x5c5faa['unitId']=_0x3ea3ba,_0x5c5faa[_0x2ec58a(0x1f3)]=_0x119fbf,_0x5c5faa['formulaId']=_0x245749,_0x5c5faa[_0x2ec58a(0x24b)]=_0x10e6bb[_0x2ec58a(0x1d7)],_0x5c5faa[_0x2ec58a(0x1e2)]=_0xf57a00,_0x2ebe7b[_0x2ec58a(0x194)](_0x5c5faa),this['_dependencyTreeCache'][_0x2ec58a(0x224)](_0x5c5faa[_0x2ec58a(0x18e)],_0x5c5faa),this['_dependencyManagerService'][_0x2ec58a(0x234)](_0x3ea3ba,_0x119fbf,_0x245749,_0x5c5faa),this[_0x2ec58a(0x226)]['addFormulaDependencyByDefinedName'](_0x5c5faa);continue;}const _0x4d037e=new _0x188bdc();_0x4d037e['treeId']=(_0x17dfd4==null?void 0x0:_0x17dfd4[_0x2ec58a(0x1f7)](_0xbf5a36,_0x4451b6))||_0x1866e8(this[_0x2ec58a(0x226)]),_0x4d037e[_0x2ec58a(0x1a1)]=_0x5c5faa,_0x4d037e[_0x2ec58a(0x1b6)]=_0xbf5a36,_0x4d037e['refOffsetY']=_0x4451b6,_0x4d037e['isCache']=_0xf57a00,_0x4d037e[_0x2ec58a(0x24b)]=_0x10e6bb['OTHER_FORMULA'],this[_0x2ec58a(0x226)][_0x2ec58a(0x234)](_0x3ea3ba,_0x119fbf,_0x245749,_0x4d037e),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4d037e),_0x2ebe7b['push'](_0x4d037e),this[_0x2ec58a(0x19a)][_0x2ec58a(0x224)](_0x4d037e[_0x2ec58a(0x18e)],_0x4d037e);}}this['_dependencyManagerService'][_0x2ec58a(0x21e)](_0x245749);}}}}[_0x643303(0x199)](_0x57e423,_0x1fd826,_0x592b33,_0x218810){const _0x30899e=_0x643303;for(const _0x2d9e1c of _0x57e423){const _0x1a4090=_0x1fd826[_0x2d9e1c];if(_0x1a4090==null)continue;const _0x19e148=Object['keys'](_0x1a4090);for(const _0x5015b4 of _0x19e148){const _0x5d29ed=new _0x262bb3(_0x1a4090[_0x5015b4]||{}),_0x34574d=new Map();_0x5d29ed['forValue']((_0xc2463f,_0x2c9f7a,_0x23ea31)=>{const _0x344da2=_0x2309;if(_0x23ea31==null)return!0x0;const {x:_0x4163af=0x0,y:_0x515d19=0x0,si:_0xc29384}=_0x23ea31;if(!(_0x4163af===0x0&&_0x515d19===0x0&&_0xc29384!=null))return!0x0;const _0x190235=this['_createFDtree'](_0x2d9e1c,_0x5015b4,_0xc2463f,_0x2c9f7a,_0x592b33,_0x23ea31),_0x5627de=this[_0x344da2(0x226)][_0x344da2(0x1df)](_0x2d9e1c,_0x5015b4,_0xc2463f,_0x2c9f7a);_0x5627de!=null?_0x190235[_0x344da2(0x18e)]=_0x5627de:(this[_0x344da2(0x226)][_0x344da2(0x21b)](_0x2d9e1c,_0x5015b4,_0xc2463f,_0x2c9f7a,_0x190235),this['_dependencyManagerService'][_0x344da2(0x214)](_0x190235)),_0x34574d['set'](_0xc29384,_0x190235),_0x218810['push'](_0x190235),this[_0x344da2(0x19a)][_0x344da2(0x224)](_0x190235['treeId'],_0x190235);}),_0x5d29ed[_0x30899e(0x219)]((_0x441eed,_0x13272f,_0x492e1d)=>{const _0x59e924=_0x30899e;if(_0x492e1d==null)return!0x0;const {x:_0x573ef7=0x0,y:_0x5bca9b=0x0,si:_0x21dafa}=_0x492e1d;if(_0x573ef7===0x0&&_0x5bca9b===0x0&&_0x21dafa!=null)return!0x0;let _0x14b332;if(_0x21dafa&&_0x34574d[_0x59e924(0x1d6)](_0x21dafa)){const _0x58e956=_0x34574d[_0x59e924(0x22e)](_0x21dafa);_0x14b332=this[_0x59e924(0x1da)](_0x58e956,_0x492e1d);}else _0x14b332=this[_0x59e924(0x1f2)](_0x2d9e1c,_0x5015b4,_0x441eed,_0x13272f,_0x592b33,_0x492e1d);const _0x2e3190=this[_0x59e924(0x226)][_0x59e924(0x1df)](_0x2d9e1c,_0x5015b4,_0x441eed,_0x13272f);_0x2e3190!=null?_0x14b332[_0x59e924(0x18e)]=_0x2e3190:(this[_0x59e924(0x226)][_0x59e924(0x21b)](_0x2d9e1c,_0x5015b4,_0x441eed,_0x13272f,_0x14b332),this[_0x59e924(0x226)][_0x59e924(0x214)](_0x14b332)),_0x218810['push'](_0x14b332),this['_dependencyTreeCache'][_0x59e924(0x224)](_0x14b332[_0x59e924(0x18e)],_0x14b332);}),_0x34574d[_0x30899e(0x218)]();}}}[_0x643303(0x1f2)](_0x482bc0,_0x42147b,_0xae17e3,_0x270a16,_0x52fc1a,_0x45b433){const _0x4d9e21=_0x643303,{f:_0xf6e4cc,x:_0x556aa0=0x0,y:_0x4e0b33=0x0}=_0x45b433,_0x21878c=new _0x24ba2f(_0x1866e8(this[_0x4d9e21(0x226)])),_0x59b5f4=_0x52fc1a[_0x482bc0][_0x42147b];return _0x21878c['formula']=_0xf6e4cc,_0x21878c[_0x4d9e21(0x1a5)]=_0x482bc0,_0x21878c['subUnitId']=_0x42147b,_0x21878c['row']=_0xae17e3,_0x21878c[_0x4d9e21(0x1a2)]=_0x270a16,_0x21878c[_0x4d9e21(0x190)]=_0x59b5f4[_0x4d9e21(0x190)],_0x21878c[_0x4d9e21(0x1a3)]=_0x59b5f4[_0x4d9e21(0x1a3)],_0x21878c;}[_0x643303(0x1b0)](){const _0x64649f=_0x643303,_0x107b5e=[],_0x1f8f13=new Set(),_0x521463=this[_0x64649f(0x23c)][_0x64649f(0x1af)](),_0x289cf7=this['_currentConfigService']['getDirtyRanges'](),_0x23273e=this[_0x64649f(0x226)]['searchDependency'](_0x289cf7),_0x5cd41b=this[_0x64649f(0x1e7)]['bulkSearch'](_0x289cf7);for(const _0x2c37f3 of _0x5cd41b)_0x23273e[_0x64649f(0x1de)](_0x2c37f3);for(const [_0x45f0ca,_0x5a75f4]of this[_0x64649f(0x19a)])(_0x521463||_0x5a75f4[_0x64649f(0x21d)]||_0x5a75f4[_0x64649f(0x1b4)](this[_0x64649f(0x23c)]['getDirtyNameMap']())||_0x23273e[_0x64649f(0x1d6)](_0x45f0ca)&&!_0x5a75f4[_0x64649f(0x202)](this[_0x64649f(0x23c)]['getExcludedRange']()))&&!_0x1f8f13[_0x64649f(0x1d6)](_0x45f0ca)&&(_0x107b5e[_0x64649f(0x194)](_0x5a75f4),_0x1f8f13[_0x64649f(0x1de)](_0x45f0ca));for(const [_0x4ead8b,_0xd31cc4]of this[_0x64649f(0x19a)])_0xd31cc4[_0x64649f(0x1cf)]||(_0xd31cc4['rangeList'][_0x64649f(0x233)]=0x0);return _0x107b5e;}[_0x643303(0x187)](_0x28ad03){return this['_dependencyTreeCache']['get'](_0x28ad03);}['_getTreeNode'](_0x496178){const _0x1dee39=_0x643303;return _0xdb803c(_0x496178[_0x1dee39(0x1a5)],_0x496178['formula'],this[_0x1dee39(0x206)],this[_0x1dee39(0x1d4)],this[_0x1dee39(0x23c)]);}*['_traverse'](_0x27577f,_0xbdebc1){const _0x204ba3=_0x643303,_0xe1f900=_0x27577f,_0x4a8031=new Set();for(;_0xe1f900[_0x204ba3(0x233)]>0x0;){const _0x3279cb=_0xe1f900[_0x204ba3(0x1b3)]();if(_0x4a8031[_0x204ba3(0x218)](),_0x3279cb===void 0x0||_0x3279cb[_0x204ba3(0x1a0)]())continue;if(_0x3279cb[_0x204ba3(0x20f)]()){yield _0x3279cb,_0x3279cb[_0x204ba3(0x17e)](),_0xbdebc1['add'](_0x3279cb[_0x204ba3(0x18e)]);continue;}const _0x5a1b0e=this['_dependencyManagerService'][_0x204ba3(0x227)](_0x3279cb[_0x204ba3(0x1fd)](),_0xbdebc1),_0x5a7d25=this[_0x204ba3(0x1e7)][_0x204ba3(0x1ad)](_0x3279cb['toRTreeItem'](),_0xbdebc1);for(const _0x15d51a of _0x5a7d25)_0x5a1b0e['add'](_0x15d51a);for(const _0xeecfc3 of _0x5a1b0e){const _0x396dd0=this['_dependencyTreeCache'][_0x204ba3(0x22e)](_0xeecfc3);if(!_0x396dd0){console[_0x204ba3(0x1b5)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0xeecfc3);continue;}_0x396dd0[_0x204ba3(0x20f)]()||_0x3279cb['isSkip']()||_0x4a8031[_0x204ba3(0x1de)](_0x396dd0);}if(_0x5a1b0e[_0x204ba3(0x218)](),_0x4a8031[_0x204ba3(0x1bb)]===0x0)yield _0x3279cb,_0x3279cb[_0x204ba3(0x17e)](),_0xbdebc1[_0x204ba3(0x1de)](_0x3279cb[_0x204ba3(0x18e)]);else{_0x3279cb[_0x204ba3(0x1d5)](),_0xe1f900[_0x204ba3(0x194)](_0x3279cb);for(const _0x4c2e32 of _0x4a8031)_0xe1f900[_0x204ba3(0x194)](_0x4c2e32);}}_0xe1f900[_0x204ba3(0x233)]=0x0,_0x4a8031[_0x204ba3(0x218)]();}[_0x643303(0x245)](_0x5322ed){const _0x1c733b=_0x643303,_0x1532c1=[],_0x5a7813=new Set();for(const _0x123fe1 of this[_0x1c733b(0x1c5)](_0x5322ed,_0x5a7813))_0x1532c1[_0x1c733b(0x194)](_0x123fe1);return _0x1532c1;}async[_0x643303(0x1d2)](){const _0x23bd27=_0x643303;return await this[_0x23bd27(0x253)](),Array[_0x23bd27(0x1f0)](this['_dependencyTreeCache'][_0x23bd27(0x203)]());}['_getDependencyTreeParenIds'](_0xdb004d){const _0x5cfe4c=_0x643303;return this[_0x5cfe4c(0x226)][_0x5cfe4c(0x227)](_0xdb004d[_0x5cfe4c(0x1fd)]());}[_0x643303(0x1a7)](_0x5e8cbf){const _0x5d99e0=_0x643303,_0x1cb596=new Set(),_0x3519f0=_0x5e8cbf['rangeList'];for(const [_0x5e34f1,_0x33bbcd]of this[_0x5d99e0(0x19a)])for(const _0x7e78a7 of _0x3519f0){const _0x173fea=_0x7e78a7[_0x5d99e0(0x1a5)],_0x5c4c4c=_0x7e78a7[_0x5d99e0(0x1eb)];if(_0x33bbcd[_0x5d99e0(0x1a5)]!==_0x173fea||_0x33bbcd[_0x5d99e0(0x1f3)]!==_0x5c4c4c)continue;const _0x3772a7=_0x7e78a7['range'];if(_0x33bbcd[_0x5d99e0(0x23b)](_0x3772a7)){_0x1cb596[_0x5d99e0(0x1de)](_0x5e34f1);break;}}return _0x1cb596;}[_0x643303(0x24e)](){const _0x1ed3f4=_0x643303;this[_0x1ed3f4(0x226)][_0x1ed3f4(0x201)]();}[_0x643303(0x205)](){const _0x58703d=_0x643303;this[_0x58703d(0x1bc)][_0x58703d(0x218)](),this[_0x58703d(0x19a)][_0x58703d(0x218)](),this[_0x58703d(0x226)][_0x58703d(0x1e5)]();}}class Be extends _0x5a2da9{async[_0x643303(0x1ee)](_0x2a94e6=!0x1){const _0x30acfb=_0x643303;_0x2a94e6?this[_0x30acfb(0x1ac)]['setFormulaExecuteStage'](_0x3d57e3[_0x30acfb(0x1d8)]):this[_0x30acfb(0x1ac)][_0x30acfb(0x1c3)](_0x3d57e3[_0x30acfb(0x200)]),this[_0x30acfb(0x1e6)][_0x30acfb(0x242)](this[_0x30acfb(0x1ac)][_0x30acfb(0x1a6)]());const _0x2609bd=await this[_0x30acfb(0x1a8)][_0x30acfb(0x197)](this[_0x30acfb(0x211)]),_0x3c4cfe=this[_0x30acfb(0x195)];_0x2a94e6?(this[_0x30acfb(0x1ac)][_0x30acfb(0x1c3)](_0x3d57e3[_0x30acfb(0x22a)]),this[_0x30acfb(0x1ac)][_0x30acfb(0x20b)](_0x2609bd[_0x30acfb(0x233)])):(this[_0x30acfb(0x1ac)][_0x30acfb(0x1c3)](_0x3d57e3[_0x30acfb(0x22c)]),this[_0x30acfb(0x1ac)][_0x30acfb(0x246)](_0x2609bd[_0x30acfb(0x233)])),this[_0x30acfb(0x1e6)][_0x30acfb(0x242)](this[_0x30acfb(0x1ac)][_0x30acfb(0x1a6)]());let _0x21a99e=[];const _0x393765=this[_0x30acfb(0x217)][_0x30acfb(0x1e8)](_0x4e63bf),_0x2d1d25=(_0x393765==null?void 0x0:_0x393765['intervalCount'])||_0x55bb51;let _0x23cc57=0x0;const _0x1e18b6=_0x2609bd[_0x30acfb(0x233)];for(;_0x2609bd['length']>0x0;){const _0x3ba1e6=_0x2609bd[_0x30acfb(0x1b3)](),_0xa7cebc=_0xdb803c(_0x3ba1e6[_0x30acfb(0x1a5)],_0x3ba1e6[_0x30acfb(0x223)],this[_0x30acfb(0x206)],this[_0x30acfb(0x1d4)],this[_0x30acfb(0x23c)]),_0x15bc99={'node':_0xa7cebc,'refOffsetX':_0x3ba1e6[_0x30acfb(0x1b6)],'refOffsetY':_0x3ba1e6[_0x30acfb(0x22d)]},_0x38efbc=_0x3ba1e6[_0x30acfb(0x1ec)];if(_0x23cc57%_0x2d1d25===0x0&&(await new Promise(_0x3b2211=>{const _0x52b418=_0x30acfb,_0x4887d0=_0x29a946(_0x3b2211);_0x21a99e[_0x52b418(0x194)](_0x4887d0);}),_0x2a94e6?(this['_runtimeService'][_0x30acfb(0x1c3)](_0x3d57e3['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x30acfb(0x1ac)][_0x30acfb(0x1e0)](_0x23cc57+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x3d57e3[_0x30acfb(0x1c2)]),this['_runtimeService'][_0x30acfb(0x1f8)](_0x23cc57+0x1)),this[_0x30acfb(0x1e6)][_0x30acfb(0x242)](this[_0x30acfb(0x1ac)]['getRuntimeState']()),this[_0x30acfb(0x1ac)][_0x30acfb(0x20c)]()||_0x15bc99==null&&_0x38efbc==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x3d57e3[_0x30acfb(0x1bd)]),this[_0x30acfb(0x1ac)][_0x30acfb(0x204)](),this[_0x30acfb(0x1c7)][_0x30acfb(0x242)](this[_0x30acfb(0x1ac)][_0x30acfb(0x17c)]());return;}this[_0x30acfb(0x1ac)][_0x30acfb(0x181)](_0x3ba1e6[_0x30acfb(0x228)],_0x3ba1e6[_0x30acfb(0x1a2)],_0x3ba1e6[_0x30acfb(0x190)],_0x3ba1e6[_0x30acfb(0x1a3)],_0x3ba1e6[_0x30acfb(0x1f3)],_0x3ba1e6[_0x30acfb(0x1a5)]);let _0x38354a;if(_0x38efbc!=null&&_0x3ba1e6[_0x30acfb(0x208)]!=null){const {runtimeCellData:_0x1474b4,dirtyRanges:_0x2d4057}=_0x38efbc(this[_0x30acfb(0x23c)][_0x30acfb(0x1ec)](),this[_0x30acfb(0x1ac)][_0x30acfb(0x17c)]());this[_0x30acfb(0x1ac)][_0x30acfb(0x252)](_0x3ba1e6['featureId'],_0x1474b4),this[_0x30acfb(0x1ac)][_0x30acfb(0x251)](_0x3ba1e6[_0x30acfb(0x208)],_0x2d4057);}else _0x15bc99!=null&&(_0x3c4cfe['checkAsyncNode'](_0x15bc99[_0x30acfb(0x238)])?_0x38354a=await _0x3c4cfe[_0x30acfb(0x182)](_0x15bc99):_0x38354a=_0x3c4cfe['execute'](_0x15bc99),_0x3ba1e6[_0x30acfb(0x1ab)]!=null?this[_0x30acfb(0x1ac)][_0x30acfb(0x19f)](_0x3ba1e6[_0x30acfb(0x1ab)],_0x3ba1e6[_0x30acfb(0x1b6)],_0x3ba1e6['refOffsetY'],_0x38354a):this[_0x30acfb(0x1ac)][_0x30acfb(0x231)](_0x38354a));_0xa7cebc[_0x30acfb(0x1b9)](),_0x23cc57++;}return _0x21a99e[_0x30acfb(0x1d0)](_0x249150=>_0x249150()),_0x21a99e=[],_0x1e18b6>0x0?this[_0x30acfb(0x1ac)]['markedAsSuccessfullyExecuted']():_0x2a94e6||this[_0x30acfb(0x1ac)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x30acfb(0x17c)]();}}class Re extends _0x5554e2{constructor(){const _0x34c119=_0x643303;super(...arguments),F(this,_0x34c119(0x248),new Map()),F(this,_0x34c119(0x1f1),new _0x12abde(!0x0));}[_0x643303(0x1db)](){const _0x15bcbe=_0x643303;this[_0x15bcbe(0x222)][_0x15bcbe(0x218)](),this[_0x15bcbe(0x241)][_0x15bcbe(0x218)](),this[_0x15bcbe(0x1c6)][_0x15bcbe(0x218)](),this[_0x15bcbe(0x1f1)][_0x15bcbe(0x218)](),this[_0x15bcbe(0x248)]['clear'](),this[_0x15bcbe(0x1e9)](),this[_0x15bcbe(0x210)][_0x15bcbe(0x218)]();}[_0x643303(0x234)](_0x4600e6,_0x238d1f,_0xf84469,_0x17f11e){const _0x14a8e4=_0x643303;this['_otherFormulaData']['has'](_0x4600e6)||this[_0x14a8e4(0x222)]['set'](_0x4600e6,new Map());const _0x58f4fb=this[_0x14a8e4(0x222)][_0x14a8e4(0x22e)](_0x4600e6);_0x58f4fb[_0x14a8e4(0x1d6)](_0x238d1f)||_0x58f4fb[_0x14a8e4(0x224)](_0x238d1f,new Map());const _0x2596e4=_0x58f4fb[_0x14a8e4(0x22e)](_0x238d1f);_0x2596e4[_0x14a8e4(0x1d6)](_0xf84469)||_0x2596e4[_0x14a8e4(0x224)](_0xf84469,new _0x262bb3()),_0x2596e4[_0x14a8e4(0x22e)](_0xf84469)[_0x14a8e4(0x23a)](_0x17f11e[_0x14a8e4(0x1b6)],_0x17f11e['refOffsetY'],_0x17f11e[_0x14a8e4(0x18e)]);}[_0x643303(0x180)](_0x271420,_0x104bfb,_0x4a4858){const _0x4628ec=_0x643303,_0x4775ec=this[_0x4628ec(0x222)][_0x4628ec(0x22e)](_0x271420);if(_0x4775ec&&_0x4775ec[_0x4628ec(0x1d6)](_0x104bfb)){const _0x444488=_0x4775ec[_0x4628ec(0x22e)](_0x104bfb);_0x4a4858['forEach'](_0x3cc775=>{const _0x4621c2=_0x4628ec,_0xd9d1c0=_0x444488[_0x4621c2(0x22e)](_0x3cc775);_0xd9d1c0!=null&&(_0xd9d1c0[_0x4621c2(0x219)]((_0x55ee04,_0x445dee,_0x2bbd87)=>{const _0x4d9e61=_0x4621c2;this[_0x4d9e61(0x17d)](_0x2bbd87),this[_0x4d9e61(0x18c)](_0x2bbd87);}),_0x444488['delete'](_0x3cc775),this[_0x4621c2(0x210)][_0x4621c2(0x22f)](_0x3cc775));}),_0x444488[_0x4628ec(0x1bb)]===0x0&&_0x4775ec[_0x4628ec(0x22f)](_0x104bfb),_0x4775ec['size']===0x0&&this[_0x4628ec(0x222)][_0x4628ec(0x22f)](_0x271420);}}[_0x643303(0x225)](_0x57f947,_0x577af6){const _0x53874d=_0x643303,_0x2eeb93=this[_0x53874d(0x222)][_0x53874d(0x22e)](_0x57f947);if(_0x577af6&&_0x2eeb93&&_0x2eeb93['has'](_0x577af6)){const _0x5ae4bf=_0x2eeb93[_0x53874d(0x22e)](_0x577af6);this[_0x53874d(0x23f)](_0x57f947,_0x577af6);for(const _0xdfccf2 of _0x5ae4bf[_0x53874d(0x1dc)]()){const _0x422b66=_0x5ae4bf['get'](_0xdfccf2);_0x422b66!=null&&(_0x422b66[_0x53874d(0x219)]((_0x94d741,_0x57e7f1,_0x4dacca)=>{const _0x1b8f14=_0x53874d;this[_0x1b8f14(0x248)][_0x1b8f14(0x22e)](_0x4dacca)&&this[_0x1b8f14(0x18c)](_0x4dacca);}),this[_0x53874d(0x210)][_0x53874d(0x22f)](_0xdfccf2));}_0x5ae4bf[_0x53874d(0x218)]();}else{if(_0x2eeb93){for(const _0x1ca731 of _0x2eeb93[_0x53874d(0x1dc)]()){const _0xeaa5ee=_0x2eeb93[_0x53874d(0x22e)](_0x1ca731);this[_0x53874d(0x23f)](_0x57f947,_0x1ca731);for(const _0x1a901a of _0xeaa5ee[_0x53874d(0x1dc)]()){const _0x1a300a=_0xeaa5ee['get'](_0x1a901a);_0x1a300a!=null&&(_0x1a300a['forValue']((_0x59096d,_0x3337d8,_0x2b0f5c)=>{const _0x29f0f6=_0x53874d;this[_0x29f0f6(0x248)]['get'](_0x2b0f5c)&&this[_0x29f0f6(0x18c)](_0x2b0f5c);}),this[_0x53874d(0x210)][_0x53874d(0x22f)](_0x1a901a));}}this[_0x53874d(0x222)][_0x53874d(0x22f)](_0x57f947);}}}['addFeatureFormulaDependency'](_0x27152b,_0x2ee463,_0x2545f4,_0xd21e8d){const _0x349619=_0x643303;this[_0x349619(0x241)][_0x349619(0x1d6)](_0x27152b)||this['_featureFormulaData'][_0x349619(0x224)](_0x27152b,new Map());const _0x341fd0=this['_featureFormulaData'][_0x349619(0x22e)](_0x27152b);_0x341fd0['has'](_0x2ee463)||_0x341fd0[_0x349619(0x224)](_0x2ee463,new Map()),_0x341fd0[_0x349619(0x22e)](_0x2ee463)[_0x349619(0x224)](_0x2545f4,_0xd21e8d[_0x349619(0x18e)]);}[_0x643303(0x1ea)](_0x40df1a,_0x2ff5d3,_0x5d10e5){const _0x35cc6b=_0x643303,_0x34ae2a=this[_0x35cc6b(0x241)][_0x35cc6b(0x22e)](_0x40df1a);if(_0x34ae2a&&_0x34ae2a[_0x35cc6b(0x1d6)](_0x2ff5d3)){const _0x25dee3=_0x34ae2a[_0x35cc6b(0x22e)](_0x2ff5d3);_0x5d10e5[_0x35cc6b(0x1d0)](_0x26e705=>{const _0x5d628b=_0x35cc6b,_0x8b38e0=_0x25dee3[_0x5d628b(0x22e)](_0x26e705);_0x8b38e0!=null&&(this[_0x5d628b(0x17d)](_0x8b38e0),_0x25dee3[_0x5d628b(0x22f)](_0x26e705),this[_0x5d628b(0x18c)](_0x8b38e0));});}}[_0x643303(0x250)](_0x9a6420,_0x16016d){const _0x59f341=_0x643303,_0xc2f24a=this['_featureFormulaData'][_0x59f341(0x22e)](_0x9a6420);if(_0x16016d&&_0xc2f24a&&_0xc2f24a['has'](_0x16016d)){const _0x39d2ec=_0xc2f24a['get'](_0x16016d);this['_removeDependencyRTreeCacheById'](_0x9a6420,_0x16016d),_0x39d2ec[_0x59f341(0x1d0)](_0x765c6f=>{const _0x1bc8d2=_0x59f341;_0x765c6f!=null&&this[_0x1bc8d2(0x18c)](_0x765c6f);}),_0x39d2ec[_0x59f341(0x218)]();}else _0xc2f24a&&(_0xc2f24a[_0x59f341(0x1d0)]((_0x22d1d8,_0x4fad61)=>{this['_removeDependencyRTreeCacheById'](_0x9a6420,_0x4fad61),_0x22d1d8['forEach'](_0x36e3c2=>{const _0x27d56f=_0x2309;_0x36e3c2!=null&&this[_0x27d56f(0x18c)](_0x36e3c2);});}),this[_0x59f341(0x241)][_0x59f341(0x22f)](_0x9a6420));}[_0x643303(0x21b)](_0x385aca,_0x22eaed,_0x5267ed,_0x4bb281,_0x2ef001){const _0x18f1f4=_0x643303;this['_formulaData']['has'](_0x385aca)||this[_0x18f1f4(0x1c6)][_0x18f1f4(0x224)](_0x385aca,new Map());const _0x269aea=this[_0x18f1f4(0x1c6)][_0x18f1f4(0x22e)](_0x385aca);_0x269aea['has'](_0x22eaed)||_0x269aea[_0x18f1f4(0x224)](_0x22eaed,new _0x262bb3()),_0x269aea[_0x18f1f4(0x22e)](_0x22eaed)[_0x18f1f4(0x23a)](_0x5267ed,_0x4bb281,_0x2ef001[_0x18f1f4(0x18e)]);}['removeFormulaDependency'](_0x3dc468,_0x700cab,_0x254c17,_0x2730f6){const _0x439888=_0x643303,_0x46830a=this['_formulaData']['get'](_0x3dc468);if(_0x46830a&&_0x46830a['has'](_0x700cab)){const _0x5239d5=_0x46830a[_0x439888(0x22e)](_0x700cab),_0x25c7e4=_0x5239d5[_0x439888(0x1f7)](_0x254c17,_0x2730f6);if(_0x25c7e4==null)return;this[_0x439888(0x17d)](_0x25c7e4),_0x5239d5[_0x439888(0x249)](_0x254c17,_0x2730f6),this[_0x439888(0x18c)](_0x25c7e4);}}[_0x643303(0x1cd)](_0x1c65e3,_0x405707){const _0x12c471=_0x643303,_0x182c88=this[_0x12c471(0x1c6)]['get'](_0x1c65e3);if(_0x405707&&_0x182c88&&_0x182c88['has'](_0x405707)){const _0x3092c8=_0x182c88[_0x12c471(0x22e)](_0x405707);this[_0x12c471(0x23f)](_0x1c65e3,_0x405707),_0x3092c8[_0x12c471(0x219)]((_0x44308b,_0x2e0dce,_0xc1d270)=>{const _0x4159a7=_0x12c471;if(_0xc1d270==null)return!0x0;this[_0x4159a7(0x18c)](_0xc1d270);}),_0x3092c8[_0x12c471(0x1db)]();}else _0x182c88&&(_0x182c88[_0x12c471(0x1d0)]((_0x35aa6e,_0x584729)=>{const _0x1dcd7b=_0x12c471;this[_0x1dcd7b(0x23f)](_0x1c65e3,_0x584729),_0x35aa6e[_0x1dcd7b(0x219)]((_0x3047ab,_0x28a4b7,_0x3492a1)=>{if(_0x3492a1==null)return!0x0;this['_removeAllTreeMap'](_0x3492a1);});}),this[_0x12c471(0x1c6)][_0x12c471(0x22f)](_0x1c65e3));}[_0x643303(0x17d)](_0x3eb006){const _0xf5c9ab=_0x643303;if(_0x3eb006==null)return;const _0x5c3ae8=this[_0xf5c9ab(0x248)][_0xf5c9ab(0x22e)](_0x3eb006);if(_0x5c3ae8){const _0xc48051=[];for(const [_0x21dca2,_0x1b4678]of _0x5c3ae8)for(const [_0x528a3d,_0x174bf9]of _0x1b4678)_0xc48051[_0xf5c9ab(0x194)]({'unitId':_0x21dca2,'sheetId':_0x528a3d,'range':_0x174bf9,'id':_0x3eb006});this['_dependencyRTreeCache']['bulkRemove'](_0xc48051);}}[_0x643303(0x18f)](_0xe89b8d,_0x563efc){const _0x15280b=_0x643303,_0x58474e=this[_0x15280b(0x17b)][_0x15280b(0x22e)](_0xe89b8d);if(_0x58474e){const _0x202270=_0x58474e[_0x15280b(0x22e)](_0x563efc);if(_0x202270){for(const _0x38f87e of _0x202270)this['_removeDependencyRTreeCache'](_0x38f87e),this['_removeAllTreeMap'](_0x38f87e);_0x202270[_0x15280b(0x218)]();}}}['openKdTree'](){const _0x254b77=_0x643303;this[_0x254b77(0x1f1)][_0x254b77(0x201)]();}[_0x643303(0x1e5)](){const _0x334a24=_0x643303;this['_dependencyRTreeCache'][_0x334a24(0x1e5)]();}[_0x643303(0x18c)](_0x1e108b){_0x1e108b!=null&&this['_allTreeMap']['delete'](_0x1e108b);}[_0x643303(0x1e1)](_0x2bf94a){const _0x1a230f=_0x643303;var _0x5a80f3,_0x14129d;const _0x23f444=_0x2bf94a[_0x1a230f(0x207)];let _0x487fd7=this[_0x1a230f(0x248)][_0x1a230f(0x22e)](_0x2bf94a[_0x1a230f(0x18e)]);for(let _0x508df3=0x0;_0x508df3<_0x23f444[_0x1a230f(0x233)];_0x508df3++){const _0x3fa616=_0x23f444[_0x508df3];let {unitId:_0x263065,sheetId:_0x44d16d,range:_0x1e642a}=_0x3fa616;_0x487fd7||(_0x487fd7=new Map(),this['_allTreeMap'][_0x1a230f(0x224)](_0x2bf94a[_0x1a230f(0x18e)],_0x487fd7)),_0x487fd7[_0x1a230f(0x1d6)](_0x263065)||_0x487fd7[_0x1a230f(0x224)](_0x263065,new Map());const _0x48e614=(_0x5a80f3=_0x487fd7==null?void 0x0:_0x487fd7[_0x1a230f(0x22e)](_0x263065))==null?void 0x0:_0x5a80f3['get'](_0x44d16d);_0x48e614&&(_0x1e642a={'startRow':Math[_0x1a230f(0x21c)](_0x1e642a['startRow'],_0x48e614[_0x1a230f(0x22b)]),'startColumn':Math[_0x1a230f(0x21c)](_0x1e642a[_0x1a230f(0x244)],_0x48e614[_0x1a230f(0x244)]),'endRow':Math[_0x1a230f(0x232)](_0x1e642a[_0x1a230f(0x209)],_0x48e614['endRow']),'endColumn':Math['max'](_0x1e642a[_0x1a230f(0x24a)],_0x48e614[_0x1a230f(0x24a)])}),(_0x14129d=_0x487fd7['get'](_0x263065))==null||_0x14129d[_0x1a230f(0x224)](_0x44d16d,_0x1e642a);}}}var Ee=Object['getOwnPropertyDescriptor'],Le=(_0xf59abb,_0x5da8fc,_0xb29351,_0x2194d7)=>{const _0x4fb915=_0x643303;for(var _0x55b7ae=_0x2194d7>0x1?void 0x0:_0x2194d7?Ee(_0x5da8fc,_0xb29351):_0x5da8fc,_0x278469=_0xf59abb[_0x4fb915(0x233)]-0x1,_0x4b8b16;_0x278469>=0x0;_0x278469--)(_0x4b8b16=_0xf59abb[_0x278469])&&(_0x55b7ae=_0x4b8b16(_0x55b7ae)||_0x55b7ae);return _0x55b7ae;};const Xe=Number['parseInt'](0x695cb03c);let z=class extends _0x303f09{['_initializeWithOverride'](){const _0x2d2ddf=_0x643303;var _0x5cb9a3,_0x382403;this[_0x2d2ddf(0x1b8)]()?(this[_0x2d2ddf(0x1dd)][_0x2d2ddf(0x1de)]([_0x2de062,{'useClass':Se}]),(_0x5cb9a3=this['_config'])!=null&&_0x5cb9a3[_0x2d2ddf(0x213)]||[[_0x3067b9,{'useClass':Be}],[_0x23deff,{'useClass':Re}],[_0x483fef,{'useClass':Me}]][_0x2d2ddf(0x1d0)](_0x13fb32=>this[_0x2d2ddf(0x1dd)][_0x2d2ddf(0x1de)](_0x13fb32))):(this['_injector']['add']([_0x2de062,{'useClass':_0x2de062}]),(_0x382403=this[_0x2d2ddf(0x243)])!=null&&_0x382403[_0x2d2ddf(0x213)]||[[_0x3067b9,{'useClass':_0x5a2da9}],[_0x23deff,{'useClass':_0x29d0c3}],[_0x483fef,{'useClass':_0x2c0ecc}]][_0x2d2ddf(0x1d0)](_0x1f1e36=>this['_injector']['add'](_0x1f1e36)));}[_0x643303(0x1b8)](){const _0x475ab8=_0x643303;var _0x1819a7;const _0x28a850=(_0x1819a7=this[_0x475ab8(0x217)][_0x475ab8(0x1e8)](_0x13d9ee))!=null?_0x1819a7:{},{ls:_0x1ba8e4,pbk:_0x4491ef}=_0x28a850;if(!_0x1ba8e4||!_0x4491ef)return!0x1;const _0x593ae6=_0xcca642(ve,we),_0x182865=new Function(_0x475ab8(0x189)+_0x593ae6)()(_0x1ba8e4,_0x4491ef),_0x1daafd=_0x182865['message'];return _0x182865[_0x475ab8(0x1fb)]&&_0x2af76e(_0x1daafd,'sf',Xe)?_0x445956(_0x1daafd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};z=Le([_0x4952de(_0x13f136)],z);export{Se as LexerTreeProBuilder,z as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x43eeee=_0x1220;(function(_0x5a4679,_0x763ff3){const _0x2f3cc5=_0x1220,_0x4507c0=_0x5a4679();while(!![]){try{const _0x1773fa=-parseInt(_0x2f3cc5(0x21c))/0x1+parseInt(_0x2f3cc5(0x227))/0x2+parseInt(_0x2f3cc5(0x182))/0x3+-parseInt(_0x2f3cc5(0x17c))/0x4+-parseInt(_0x2f3cc5(0x1a1))/0x5*(parseInt(_0x2f3cc5(0x225))/0x6)+-parseInt(_0x2f3cc5(0x1c9))/0x7+parseInt(_0x2f3cc5(0x1d4))/0x8*(parseInt(_0x2f3cc5(0x20e))/0x9);if(_0x1773fa===_0x763ff3)break;else _0x4507c0['push'](_0x4507c0['shift']());}catch(_0x52fa87){_0x4507c0['push'](_0x4507c0['shift']());}}}(_0x309c,0x99170));var se=Object[_0x43eeee(0x1ea)],ae=(_0x5053a3,_0x3a8e1c,_0x1a35b9)=>_0x3a8e1c in _0x5053a3?se(_0x5053a3,_0x3a8e1c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a35b9}):_0x5053a3[_0x3a8e1c]=_0x1a35b9,F=(_0xf513cc,_0x2788da,_0x4da52f)=>ae(_0xf513cc,typeof _0x2788da!=_0x43eeee(0x1db)?_0x2788da+'':_0x2788da,_0x4da52f);import{LexerTreeBuilder as _0x1dd16f,ErrorType as _0x2618af,DEFAULT_TOKEN_TYPE_ROOT as _0x193a13,DEFAULT_TOKEN_TYPE_PARAMETER as _0x29d596,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x373809,NEW_EXCEL_FUNCTIONS as _0x164e1d,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4952a4,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x2aefeb,matchToken as _0xb648b3,SUFFIX_TOKEN_SET as _0x538e38,prefixToken as _0x134be2,LexerNode as _0x2b2568,OPERATOR_TOKEN_SET as _0x1fd53e,isReferenceString as _0x10de07,splitTableStructuredRef as _0x521b42,FormulaDependencyGenerator as _0x52db57,generateRandomDependencyTreeId as _0x33069a,FormulaDependencyTree as _0x39e6d7,FormulaDependencyTreeType as _0x252656,FormulaDependencyTreeVirtual as _0x85df49,generateAstNode as _0x25a9bd,CalculateFormulaService as _0x299451,FormulaExecuteStageType as _0x3d93d7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x26604f,DEFAULT_INTERVAL_COUNT as _0x42cb67,DependencyManagerBaseService as _0x8a9de8,UniverFormulaEnginePlugin as _0x559072,ICalculateFormulaService as _0x19143d,IDependencyManagerService as _0x53e55f,IFormulaDependencyGenerator as _0x24fdc6,DependencyManagerService as _0x3f599e}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x309c(){const _0xf16c25=['_initializeGenerateTreeList','endColumn','type','_xlpm.','node','startColumn','rowCount','join','isArray','defineProperty','columnCount','setCompletedFormulasCount','push','_currentConfigService','_getDependencyTreeChildrenIds','_createFDtree','endsWith','children','pop','execute','START_CALCULATION','_configService','sheetId','from','_handleNewFunctionChild','valid','formula','add','addOtherFormulaDependency','addOtherFormulaDependencyMainData','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','setRuntimeData','isForceCalculate','getConfig','isDirty','_clearPrefix','_xlfn.','bulkRemove','setAdded','closeKdTree','clear','refOffsetY','_getFirstCellOfRange','hasOtherFormulaDataMainData','2007VsruiH','refOffsetX','next','_formulaDependencyGenerator','reset','intervalCount','_getDependencyTreeParenIds','_checkIsCycleDependency','_lexer','markedAsStopFunctionsExecuted','setCompletedArrayFormulasCount','_generateExprTree','setRuntimeOtherData','enableCycleDependency','738626cdcWcY','getRuntimeState','toRTreeItem','_getCurNodeTypeForExprTree','removeFormulaDependency','getToken','dispose','set','clearArrayObjectCache','62754tUtqbv','forValue','1139862SWiDwZ','_startFormulaDependencyTreeModel','_executionInProgressListener$','setTotalArrayFormulasToCalculate','return\x20','_allTreeMap','_xlfnPrefix','_clearFunctionString','_currentUnitId','IDLE','subUnitId','Let\x20variable\x20name\x20\x22','_definedNameMap','_handleChildrenForExprTree','_removeDependencyRTreeCache','START_DEPENDENCY','getFeatureFormulaDependency','COLON','START_CALCULATION_ARRAY_FORMULA','treeBuilder','_dependencyTreeCache','\x22\x20is\x20duplicated.','endRow','getStartIndex','max','_otherFormulaDataMainData','_hasNewExcelFunction','slice','_removeDependencyRTreeCacheById','_xlpmPrefix','_astTreeBuilder','_getTreeNode','_injector','_handleTextNodeForExprTree','formulaId','_traverse','setValue','getFormulaData','_calculateRunList','removeOtherFormulaDependency','CURRENTLY_CALCULATING','3731392SDEETy','addFormulaDependency','size','removeFormulaDependencyByDefinedName','OTHER_FORMULA','isSkip','1271112ABmAqs','FEATURE_FORMULA','startRow','inRangeData','_checkColonNodeForExprTree','_getAllTreeList','_apply','_dependencyManagerService','_runtimeService','checkAsyncNode','_convertDirtyRangesToUnitRange','_handleLambdaForExprTree','getDirtyNameMap','_endFormulaDependencyTreeModel','getClearDependencyTreeCache','_getTableNameFromStructuredRef','isCache','_dependencyRTreeCacheForAddressFunction','refTree','_addAllTreeMap','addFormulaDependencyByDefinedName','realDeleteValue','getValue','_generateNewFunctionString','min','_featureFormulaData','getOtherFormulaData','setSkip','getUnitData','row','_registerFormulas','125KcmSFW','column','_createVirtualFDtree','_interpreter','_updateRangeFlatten','has','_formulaData','forEach','_registerOtherFormulas','getFormulaDependency','values','get','clearFormulaDependency','bulkSearch','featureId','dirtyRanges','isStopExecution','isAdded','startIndex','length','_otherFormulaData','delete','searchDependency','keys','_getAllDependencyJson','_lambdaFunctionParameterSet','rangeList','setRuntimeFeatureCellData','getChildren','parseInt','_config','getDirtyData','MINUS','_formulaDependencyTreeModel','featureDirtyRanges','clearFeatureFormulaDependency','notExecuteFormula','_checkAddBracketForMinus','_isCyclicUtilMap','getOtherFormulaDependency','7289744JOAeZR','treeId','clearOtherFormulaDependency','error','setDependencyTreeModelData','/*\x20m9J6pG-H69nhJm\x20DTmSmT-GmUDJnGm\x20*/Sop8G6ap\x20Hm8T7DG6ap(J68mp9m,\x20DohJ68um7)\x20{\x20\x20\x20\x20GT7\x20{\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20J68mp9mVpSaxnTGfTTn7\x20=\x20J68mp9m.9DJ6G(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20aT6z6pRm99nzm\x20=\x20FCvW.DnT9m(nGah(J68mp9mVpSaxnTGfTTn7[k]));\x20\x20\x20\x20\x20\x20\x20\x206S\x20(!aT6z6pRm99nzm.oH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aT6z6pRm99nzm.oH\x20=\x20WoUhmT(J68mp9mVpSaxnTGfTTn7[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2069waTZmT\x20=\x20G7DmaS\x20waTZmTPJahnJC8aDm\x20!==\x20\x27opHmS6pmH\x27\x20&&\x209mJS\x206p9Gnp8maS\x20waTZmTPJahnJC8aDm;\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2069qTa49mT\x20=\x20G7DmaS\x2046pHa4\x20!==\x20\x27opHmS6pmH\x27\x20&&\x20G7DmaS\x2046pHa4.Ja8nG6ap\x20!==\x20\x27opHmS6pmH\x27;\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x208apGmYG\x20=\x2069waTZmT\x20?\x209mJS\x20:\x20(69qTa49mT\x20?\x2046pHa4\x20:\x20zJahnJ0E69);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20Um99nzmwaTH\x20=\x208apGmYG.__qn9m5K__.DnT9m(J68mp9mVpSaxnTGfTTn7[k]);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20Um99nzm\x20=\x208apGmYG.__cmY__.9GT6pz6S7(Um99nzmwaTH);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpnGoTmwaTH\x20=\x208apGmYG.__qn9m5K__.DnT9m(J68mp9mVpSaxnTGfTTn7[1]);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpnGoTm\x20=\x208apGmYG.__cmY__.9GT6pz6S7(96zpnGoTmwaTH);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x2096zpdnJ6H\x20=\x208apGmYG.__bmT6S7__(96zpnGoTm,\x20Um99nzm,\x20DohJ68um7);\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20HaUn6p\x20=\x20aT6z6pRm99nzm.HU;\x20\x20\x20\x20\x20\x20\x20\x20Sop8G6ap\x2069yaUn6pRnG8E6pz(DnGGmTp,\x20Ea9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(DnGGmTp\x20===\x20Ea9G)\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(DnGGmTp.9GnTG9w6GE(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x209oSS6Y\x20=\x20DnGGmTp.9J68m(k);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(9oSS6Y\x20&&\x209oSS6Y\x20===\x20Ea9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(9oSS6Y\x20&&\x20!Ea9G.9GnTG9w6GE(\x27.\x27)\x20&&\x20Ea9G.mpH9w6GE(\x27.\x27\x20+\x209oSS6Y))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20SnJ9m;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JmG\x20HaUn6pdnJ6H\x20=\x20SnJ9m;\x20\x20\x20\x20\x20\x20\x20\x206S\x20(69qTa49mT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20(HaUn6p\x20&&\x20HaUn6p.JmpzGE)\x20?\x20HaUn6p.9aUm((HUVGmU)\x20=>\x2069yaUn6pRnG8E6pz(HUVGmU,\x20Ja8nG6ap.Ea9GpnUm))\x20:\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206S\x20(Ja8nG6ap.Ea9GpnUm\x20===\x20\x27Ja8nJEa9G\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20mJ9m\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HaUn6pdnJ6H\x20=\x20GTom;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208ap9G\x20bnJ6H\x20=\x2096zpdnJ6H\x20&&\x20HaUn6pdnJ6H;\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bnJ6H,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Um99nzm:\x20aT6z6pRm99nzm,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208nG8E\x20(mTTaT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TmGoTp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bnJ6H:\x20SnJ9m,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Um99nzm:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_executionCompleteListener$','getDirtyRanges','VALUE','unitId','_dependencyRTreeCache','93552NrjFOo','openKdTree','range','_restDependencyTreeId','isExcludeRange','getAllRuntimeData','startsWith','symbol','toUpperCase','setFormulaExecuteStage','trim','resetCalculationState','string'];_0x309c=function(){return _0xf16c25;};return _0x309c();}import{UniverLicensePlugin as _0x96116d,LS_CONFIG_KEY as _0x10a038,unshiftString as _0x51c28d,isFeatureAuthorizedWithinTime as _0x452b84,getSheetFeatureLimit as _0x236637}from'@univerjs-pro/license';import{ObjectMatrix as _0x23b255,requestImmediateMacroTask as _0x227db2,RTree as _0x22720f,DependentOn as _0x5e1ddd}from'@univerjs/core';class ve extends _0x1dd16f{constructor(){const _0x10d85c=_0x43eeee;super(...arguments),F(this,_0x10d85c(0x241),!0x1),F(this,_0x10d85c(0x1ba),new Set()),F(this,_0x10d85c(0x244),'_xlpm.'),F(this,_0x10d85c(0x22d),_0x10d85c(0x206)),F(this,_0x10d85c(0x22f),'');}['_resetPrefix'](){const _0x379681=_0x43eeee;this[_0x379681(0x244)]=_0x379681(0x1e4),this[_0x379681(0x22d)]=_0x379681(0x206);}[_0x43eeee(0x205)](){const _0x3fee47=_0x43eeee;this['_xlpmPrefix']='',this[_0x3fee47(0x22d)]='';}['getNewFormulaWithPrefix'](_0x3f845b,_0x722151){const _0x21f420=_0x43eeee,_0x23cd35=this['treeBuilder'](_0x3f845b,!0x1);if(!_0x23cd35||_0x23cd35===_0x2618af[_0x21f420(0x1d1)]||Array[_0x21f420(0x1e9)](_0x23cd35))return null;const _0x13186b=[];return this[_0x21f420(0x241)]=!0x1,this[_0x21f420(0x199)](_0x23cd35,_0x13186b,_0x722151),this['_hasNewExcelFunction']?'='+_0x13186b[_0x21f420(0x1e8)](''):null;}[_0x43eeee(0x199)](_0xf6e770,_0xd30a68,_0x9fe187){const _0x2f0818=_0x43eeee,_0x512959=_0xf6e770[_0x2f0818(0x221)](),_0x2d5106=_0x512959[_0x2f0818(0x1de)](),_0x1f85ff=_0x2d5106[_0x2f0818(0x1dc)](),_0x583d13=this[_0x2f0818(0x22e)](_0x1f85ff),_0x3ab52c=_0x9fe187(_0x583d13);let _0x2e696a=0x0;_0x512959===_0x193a13?_0x2e696a=0x3:_0x512959===_0x29d596?_0x2e696a=0x4:_0x512959===_0x373809?_0x2e696a=0x5:_0x164e1d['has'](_0x583d13)?(_0xd30a68[_0x2f0818(0x1ed)](''+this['_xlfnPrefix']+_0x2d5106),this[_0x2f0818(0x241)]=!0x0):_0x1f85ff===_0x4952a4?(_0xd30a68['push'](''+this['_xlfnPrefix']+_0x2d5106),this[_0x2f0818(0x241)]=!0x0,_0x2e696a=0x2):_0x1f85ff===_0x2aefeb?(_0xd30a68[_0x2f0818(0x1ed)](''+this[_0x2f0818(0x22d)]+_0x2d5106),this[_0x2f0818(0x241)]=!0x0,_0x2e696a=0x1):_0x1f85ff===_0xb648b3['COLON']?_0x2e696a=0x8:_0x538e38[_0x2f0818(0x1a6)](_0x1f85ff)?_0x2e696a=0x7:_0x1f85ff===_0x134be2[_0x2f0818(0x1c1)]?(this[_0x2f0818(0x1c6)](_0xf6e770)&&(_0x2e696a=0x9),_0xd30a68['push'](_0x512959)):(_0xd30a68[_0x2f0818(0x1ed)](_0x512959),_0x2e696a=0xa),_0x3ab52c?(_0x2e696a!==0x2&&_0x2e696a!==0x1&&(_0x2e696a=0x6),_0xd30a68[_0x2f0818(0x1ed)]('(')):_0x2e696a===0x9&&_0xd30a68[_0x2f0818(0x1ed)]('(');const _0x2b43bc=_0xf6e770[_0x2f0818(0x1bd)](),_0x3ab4ca=_0x2b43bc[_0x2f0818(0x1b4)];if(_0x2e696a===0x2){const _0x496645=_0x2b43bc[0x0];let _0x20595b=0x0;_0x496645 instanceof _0x2b2568&&_0x496645['getToken']()===_0x373809&&(_0x20595b=0x1);for(let _0x538524=_0x20595b;_0x538524<_0x3ab4ca-0x1;_0x538524++){const _0xba4378=_0x2b43bc[_0x538524];if(_0xba4378 instanceof _0x2b2568){const _0x476700=_0xba4378['getChildren']()[0x0];typeof _0x476700=='string'&&(this[_0x2f0818(0x1ba)][_0x2f0818(0x1a6)](_0x476700)&&console[_0x2f0818(0x1cc)]('Lambda\x20parameter\x20name\x20\x22'+_0x476700+_0x2f0818(0x23c)),this[_0x2f0818(0x1ba)][_0x2f0818(0x1fc)](_0x476700),_0xd30a68[_0x2f0818(0x1ed)](''+this[_0x2f0818(0x244)]+_0x476700),this[_0x2f0818(0x241)]=!0x0);}_0xd30a68[_0x2f0818(0x1ed)](',');}this[_0x2f0818(0x1f9)](_0x2b43bc[_0x3ab4ca-0x1],_0xd30a68,_0x9fe187),_0x20595b===0x1&&(_0xd30a68[_0x2f0818(0x1ed)](')'),_0xd30a68[_0x2f0818(0x1ed)]('('),this[_0x2f0818(0x199)](_0x496645,_0xd30a68,_0x9fe187)),_0xd30a68[_0x2f0818(0x1ed)](')');return;}else{if(_0x2e696a===0x1){for(let _0x5dc855=0x0;_0x5dc855<_0x3ab4ca-0x1;_0x5dc855++){const _0x584338=_0x2b43bc[_0x5dc855];if(_0x584338 instanceof _0x2b2568&&_0x5dc855%0x2===0x0){const _0x3b5dab=_0x584338[_0x2f0818(0x1bd)]()[0x0];if(typeof _0x3b5dab==_0x2f0818(0x1e0)){this[_0x2f0818(0x1ba)]['has'](_0x3b5dab)&&console[_0x2f0818(0x1cc)](_0x2f0818(0x232)+_0x3b5dab+_0x2f0818(0x23c)),this[_0x2f0818(0x1ba)][_0x2f0818(0x1fc)](_0x3b5dab),_0xd30a68['push'](''+this[_0x2f0818(0x244)]+_0x3b5dab),this['_hasNewExcelFunction']=!0x0,_0xd30a68[_0x2f0818(0x1ed)](',');continue;}}if(this[_0x2f0818(0x1f9)](_0x584338,_0xd30a68,_0x9fe187),_0x584338 instanceof _0x2b2568){const _0x488410=_0x2b43bc[_0x5dc855+0x1];_0x488410&&_0x488410 instanceof _0x2b2568&&_0xd30a68['push'](',');}}this[_0x2f0818(0x1f9)](_0x2b43bc[_0x3ab4ca-0x1],_0xd30a68,_0x9fe187),_0xd30a68['push'](')');return;}else{if(_0x2e696a===0x8){const _0x199fa6=_0x2b43bc[0x0],_0x10391b=_0x2b43bc[0x1];this[_0x2f0818(0x1f9)](_0x199fa6,_0xd30a68,_0x9fe187),_0xd30a68[_0x2f0818(0x1ed)](_0x512959),this['_handleNewFunctionChild'](_0x10391b,_0xd30a68,_0x9fe187);return;}}}for(let _0x197925=0x0;_0x197925<_0x3ab4ca;_0x197925++){const _0x26eb19=_0x2b43bc[_0x197925];if(this[_0x2f0818(0x1f9)](_0x26eb19,_0xd30a68,_0x9fe187),_0x26eb19 instanceof _0x2b2568){const _0x32cf6f=_0x2b43bc[_0x197925+0x1];_0x32cf6f&&_0x32cf6f instanceof _0x2b2568&&_0xd30a68['push'](',');}}_0x2e696a===0x7&&_0xd30a68[_0x2f0818(0x1ed)](_0x512959),(_0x3ab52c||_0x2e696a===0x9)&&_0xd30a68[_0x2f0818(0x1ed)](')');}[_0x43eeee(0x1f9)](_0x27c1be,_0x2df5b2,_0x2cef68){const _0x50e3a8=_0x43eeee;_0x27c1be instanceof _0x2b2568?this[_0x50e3a8(0x199)](_0x27c1be,_0x2df5b2,_0x2cef68):this['_lambdaFunctionParameterSet']['has'](_0x27c1be)?(_0x2df5b2[_0x50e3a8(0x1ed)](''+this[_0x50e3a8(0x244)]+_0x27c1be),this['_hasNewExcelFunction']=!0x0):_0x2df5b2[_0x50e3a8(0x1ed)](_0x27c1be);}[_0x43eeee(0x22e)](_0x3f4e89){const _0x11cac9=_0x43eeee;let _0x5c1a08=_0x3f4e89[_0x11cac9(0x1de)]();if(!_0x5c1a08)return _0x5c1a08;const _0x1855b1=_0x5c1a08[0x0];if((_0x1855b1===_0x134be2['AT']||_0x1855b1===_0x134be2[_0x11cac9(0x1c1)]||_0x1855b1===_0x134be2['PLUS'])&&(_0x5c1a08=_0x5c1a08['slice'](0x1)),!_0x5c1a08)return _0x5c1a08;const _0xec2661=_0x5c1a08[_0x5c1a08[_0x11cac9(0x1b4)]-0x1];return _0x538e38[_0x11cac9(0x1a6)](_0xec2661)&&(_0x5c1a08=_0x5c1a08[_0x11cac9(0x242)](0x0,-0x1)),_0x5c1a08;}[_0x43eeee(0x1c6)](_0x4a952b){const _0x4225f6=_0x43eeee,_0x3e659d=_0x4a952b[_0x4225f6(0x1bd)]()[0x0];if(!_0x3e659d||!(_0x3e659d instanceof _0x2b2568)||_0x4a952b['getChildren']()[_0x4225f6(0x1b4)]>0x1)return!0x1;const _0x920044=_0x3e659d[_0x4225f6(0x1bd)](),_0x4be240=_0x920044['length'];if(_0x4be240===0x1)return!0x1;for(let _0x1ff304=0x0;_0x1ff304<_0x4be240;_0x1ff304++){const _0x205fe3=_0x920044[_0x1ff304];if(!(_0x205fe3 instanceof _0x2b2568)&&_0x1fd53e[_0x4225f6(0x1a6)](_0x205fe3))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x3f5cd8,_0x3010ae,_0x3a0553,_0x43e23a,_0x5b6738){const _0x28cc1a=_0x43eeee,_0x576ac8=this[_0x28cc1a(0x23a)](_0x3f5cd8,!0x1);if(!_0x576ac8||_0x576ac8===_0x2618af['VALUE']||Array[_0x28cc1a(0x1e9)](_0x576ac8))return null;this[_0x28cc1a(0x205)](),this[_0x28cc1a(0x22f)]=_0x3010ae;const _0x46bf56=this[_0x28cc1a(0x219)](_0x576ac8,_0x3a0553,_0x43e23a,_0x5b6738);return this[_0x28cc1a(0x22f)]='',this['_resetPrefix'](),_0x46bf56;}['_generateExprTree'](_0x1f7071,_0x2699d8,_0x3e8d38,_0x2ac597){const _0x32d36b=_0x43eeee,_0x387764={'value':'','children':[],'startIndex':0x0};let _0x4d805=_0x1f7071;if(_0x4d805 instanceof _0x2b2568&&(_0x4d805[_0x32d36b(0x221)]()===_0x193a13||_0x4d805[_0x32d36b(0x221)]()===_0x29d596)&&_0x4d805['getChildren']()[_0x32d36b(0x1b4)]===0x1&&(_0x4d805=_0x4d805[_0x32d36b(0x1bd)]()[0x0]),!(_0x4d805 instanceof _0x2b2568))return this[_0x32d36b(0x174)](_0x4d805,_0x3e8d38,_0x2ac597);const _0x6de125=_0x4d805[_0x32d36b(0x1bd)](),_0x7a05dc=_0x6de125[_0x32d36b(0x1b4)],_0x3a7039=[];this[_0x32d36b(0x199)](_0x4d805,_0x3a7039,_0x2699d8),_0x387764['value']=_0x3a7039[_0x32d36b(0x1e8)](''),_0x387764['startIndex']=_0x4d805[_0x32d36b(0x23e)]();const _0x509d48=this[_0x32d36b(0x21f)](_0x4d805);if(_0x509d48===0x2){const _0xe0675f=_0x6de125[0x0];if(_0xe0675f instanceof _0x2b2568){if(_0xe0675f[_0x32d36b(0x221)]()[_0x32d36b(0x1de)]()!==_0x373809)return _0x387764;this[_0x32d36b(0x18d)](_0xe0675f,_0x387764,_0x2699d8,_0x3e8d38,_0x2ac597);}return _0x387764;}else{if(_0x509d48===0x1){for(let _0x5b8d86=0x0;_0x5b8d86<_0x7a05dc-0x1;_0x5b8d86++){const _0x4febf=_0x6de125[_0x5b8d86];if(_0x4febf instanceof _0x2b2568&&_0x5b8d86%0x2===0x1){const _0x236324=_0x4febf[_0x32d36b(0x1bd)]();if(_0x236324[_0x32d36b(0x1b4)]===0x1&&!(_0x236324[0x0]instanceof _0x2b2568))continue;const _0x39e131=this['_generateExprTree'](_0x4febf,_0x2699d8,_0x3e8d38,_0x2ac597);_0x39e131&&_0x387764['children'][_0x32d36b(0x1ed)](_0x39e131);}}return _0x387764;}else{if(_0x509d48===0x8){const _0x5a0c84=_0x6de125[0x0];if(_0x5a0c84 instanceof _0x2b2568){const _0x5360d7=_0x5a0c84['getChildren']()[0x0];_0x5360d7 instanceof _0x2b2568&&(_0x387764[_0x32d36b(0x1b3)]=_0x5360d7[_0x32d36b(0x23e)]());}if(this[_0x32d36b(0x186)](_0x4d805))return _0x387764;}else{if(_0x509d48===0x7){const _0x2241c0=_0x6de125[0x0];if(_0x2241c0 instanceof _0x2b2568){const _0x5d8d29=_0x2241c0[_0x32d36b(0x1bd)]()[0x0];_0x5d8d29 instanceof _0x2b2568&&(_0x387764[_0x32d36b(0x1b3)]=_0x5d8d29[_0x32d36b(0x23e)]());}}}}}return this[_0x32d36b(0x234)](_0x6de125,_0x509d48,_0x387764,_0x2699d8,_0x3e8d38,_0x2ac597),_0x387764;}[_0x43eeee(0x234)](_0x4233ec,_0x234bce,_0x39d511,_0x196251,_0x58a9ba,_0x24ea8){const _0x5786fd=_0x43eeee;for(let _0x33e48a=0x0;_0x33e48a<_0x4233ec['length'];_0x33e48a++){let _0x101ca1=_0x4233ec[_0x33e48a];if(!(_0x101ca1 instanceof _0x2b2568)){const _0x2905ab=this[_0x5786fd(0x174)](_0x101ca1,_0x58a9ba,_0x24ea8);_0x2905ab&&_0x39d511['children'][_0x5786fd(0x1ed)](_0x2905ab);continue;}const _0x2191e0=_0x101ca1[_0x5786fd(0x1bd)]();if(_0x2191e0[_0x5786fd(0x1b4)]===0x1&&!(_0x2191e0[0x0]instanceof _0x2b2568)){const _0x383dc1=_0x2191e0[0x0];if(!_0x58a9ba(this[_0x5786fd(0x22f)],_0x383dc1)&&!this[_0x5786fd(0x191)](_0x383dc1,_0x24ea8)&&!_0x10de07(_0x383dc1))continue;}if(_0x234bce===0x8){const _0x430d79=_0x2191e0[0x0];if(_0x430d79 instanceof _0x2b2568){const _0x2fd71c=_0x430d79[_0x5786fd(0x221)]()[_0x5786fd(0x1de)]();if(_0x10de07(_0x2fd71c))continue;_0x101ca1=_0x430d79;}}const _0x965793=this[_0x5786fd(0x219)](_0x101ca1,_0x196251,_0x58a9ba,_0x24ea8);_0x965793&&_0x39d511[_0x5786fd(0x1f2)][_0x5786fd(0x1ed)](_0x965793);}}[_0x43eeee(0x186)](_0x26bc2d){const _0xefed9b=_0x43eeee,_0x108ac2=_0x26bc2d[_0xefed9b(0x1bd)]();if(_0x108ac2[_0xefed9b(0x1b4)]<0x2)return!0x1;const _0x4928a8=_0x108ac2[0x0],_0xb79793=_0x108ac2[0x1];if(!(_0x4928a8 instanceof _0x2b2568)||!(_0xb79793 instanceof _0x2b2568))return!0x1;const _0x4dfbdb=_0x4928a8[_0xefed9b(0x1bd)]()[0x0],_0x1f5a03=_0xb79793[_0xefed9b(0x1bd)]()[0x0];if(!(_0x4dfbdb instanceof _0x2b2568)||!(_0x1f5a03 instanceof _0x2b2568))return!0x1;const _0x5e3880=_0x4dfbdb[_0xefed9b(0x221)]()[_0xefed9b(0x1de)](),_0x1e9a98=_0x1f5a03[_0xefed9b(0x221)]()[_0xefed9b(0x1de)]();return!!_0x10de07(''+_0x5e3880+_0xb648b3[_0xefed9b(0x238)]+_0x1e9a98);}['_handleTextNodeForExprTree'](_0x34c61d,_0x481d40,_0x584dea){const _0x10cb6c=_0x43eeee,_0x23c24d=_0x34c61d[_0x10cb6c(0x1de)]();return _0x23c24d[_0x10cb6c(0x1da)]('{')&&_0x23c24d[_0x10cb6c(0x1f1)]('}')||_0x481d40(this['_currentUnitId'],_0x23c24d)||this[_0x10cb6c(0x191)](_0x23c24d,_0x584dea)||_0x10de07(_0x23c24d)?{'value':_0x23c24d,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x146c37,_0x3149d9){const _0x271bc1=_0x43eeee,{tableName:_0x17e13b}=_0x521b42(_0x146c37);return _0x3149d9(this[_0x271bc1(0x22f)],_0x17e13b)?_0x17e13b:null;}['_handleLambdaForExprTree'](_0x5bf6e9,_0x2ee63f,_0x17ea02,_0x39273f,_0x419407){const _0x1f5c56=_0x43eeee,_0x34a627=_0x5bf6e9['getChildren']();for(let _0x4f9514=0x0;_0x4f9514<_0x34a627[_0x1f5c56(0x1b4)];_0x4f9514++){const _0x1ae98c=_0x34a627[_0x4f9514];if(!(_0x1ae98c instanceof _0x2b2568))continue;const _0x2a3ae7=_0x1ae98c[_0x1f5c56(0x1bd)]();if(_0x2a3ae7['length']===0x1&&!(_0x2a3ae7[0x0]instanceof _0x2b2568))continue;const _0x21af5e=this[_0x1f5c56(0x219)](_0x1ae98c,_0x17ea02,_0x39273f,_0x419407);_0x21af5e&&_0x2ee63f[_0x1f5c56(0x1f2)][_0x1f5c56(0x1ed)](_0x21af5e);}}[_0x43eeee(0x21f)](_0x5517ef){const _0x419ca=_0x43eeee,_0x5ca8f5=_0x5517ef[_0x419ca(0x221)](),_0x535328=_0x5ca8f5['trim']()['toUpperCase']();let _0x5afeab=0x0;return _0x5ca8f5===_0x193a13?_0x5afeab=0x3:_0x5ca8f5===_0x29d596?_0x5afeab=0x4:_0x5ca8f5===_0x373809?_0x5afeab=0x5:_0x535328===_0x4952a4?_0x5afeab=0x2:_0x535328===_0x2aefeb?_0x5afeab=0x1:_0x535328===_0xb648b3[_0x419ca(0x238)]?_0x5afeab=0x8:_0x538e38['has'](_0x535328)?_0x5afeab=0x7:_0x535328===_0x134be2['MINUS']?this['_checkAddBracketForMinus'](_0x5517ef)&&(_0x5afeab=0x9):_0x5afeab=0xa,_0x5afeab;}}const Me={0x0:'T',0x1:'3',0x2:'j',0x3:'Y',0x4:'w',0x5:'6',0x6:'i',0x7:'y',0x8:'c',0x9:'s','O':'0','A':'1','k':'2','K':'4','l':'5','r':'7','B':'8','I':'9','n':'a','h':'b','H':'d','m':'e','S':'f','z':'g','E':'h','Z':'k','J':'l','U':'m','p':'n','a':'o','D':'p','s':'q','T':'r','G':'t','o':'u','b':'v','Y':'x','L':'z','f':'A','q':'B','t':'C','y':'D','M':'E','X':'F','P':'G','c':'H','V':'I','F':'J','u':'K','j':'L','R':'M','W':'N','v':'O','x':'P','Q':'Q','i':'R','C':'S','N':'U','d':'V','w':'W','e':'X','g':'Z'},xe=_0x43eeee(0x1ce);class Ee extends _0x52db57{constructor(){super(...arguments),F(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x9d404c=_0x43eeee;super[_0x9d404c(0x222)](),this[_0x9d404c(0x23b)][_0x9d404c(0x20a)]();}async['generate'](_0xf27b0b=!0x1){const _0x2eef67=_0x43eeee;this[_0x2eef67(0x1a5)]();const _0x329ce0=this[_0x2eef67(0x1ee)][_0x2eef67(0x178)](),_0x28cbf3=this['_otherFormulaManagerService'][_0x2eef67(0x19c)](),_0x76b8c1=this[_0x2eef67(0x1ee)][_0x2eef67(0x190)]();_0x76b8c1!=null&&Object['keys'](_0x76b8c1)[_0x2eef67(0x1a8)](_0x3877ba=>{const _0x44fd2c=_0x2eef67;_0x3877ba!=null&&Object[_0x44fd2c(0x1b8)](_0x76b8c1[_0x3877ba])[_0x44fd2c(0x1a8)](_0xd50110=>{const _0x4daa90=_0x44fd2c;_0xd50110!=null&&(this[_0x4daa90(0x189)][_0x4daa90(0x1cb)](_0x3877ba,_0xd50110),this[_0x4daa90(0x189)]['clearFeatureFormulaDependency'](_0x3877ba,_0xd50110),this['_dependencyManagerService'][_0x4daa90(0x1ad)](_0x3877ba,_0xd50110));});});const _0x265820=this[_0x2eef67(0x1ee)][_0x2eef67(0x19e)]();await this['_generateTreeList'](_0x329ce0,_0x28cbf3,_0x265820),this['_dependencyManagerService']['openKdTree']();const _0x62f4e6=this['_getUpdateTreeListAndMakeDependency'](),_0x480851=this[_0x2eef67(0x179)](_0x62f4e6);return this[_0x2eef67(0x215)](_0x480851)&&this['_runtimeService'][_0x2eef67(0x21b)](),_0xf27b0b&&this[_0x2eef67(0x18a)][_0x2eef67(0x1cd)](this[_0x2eef67(0x1b9)](Array[_0x2eef67(0x1f8)](this[_0x2eef67(0x23b)][_0x2eef67(0x1ab)]()))),this[_0x2eef67(0x23b)][_0x2eef67(0x20a)](),this[_0x2eef67(0x193)][_0x2eef67(0x20a)](),this[_0x2eef67(0x189)][_0x2eef67(0x209)](),this[_0x2eef67(0x18a)][_0x2eef67(0x224)](),Promise['resolve'](_0x480851);}[_0x43eeee(0x1c7)](_0x243621,_0x2c9bb9){const _0x5ca980=_0x43eeee,_0xc77d77=[_0x243621];for(;_0xc77d77[_0x5ca980(0x1b4)]>0x0;){const _0x29a192=_0xc77d77[_0xc77d77[_0x5ca980(0x1b4)]-0x1];if((_0x2c9bb9['get'](_0x29a192)||0x0)===0x0){_0x2c9bb9[_0x5ca980(0x223)](_0x29a192,0x1);const _0x4bf877=this[_0x5ca980(0x23b)]['get'](_0x29a192);if(_0x4bf877==null){_0x2c9bb9[_0x5ca980(0x223)](_0x29a192,0x2),_0xc77d77[_0x5ca980(0x1f3)]();continue;}const _0x1dde71=this[_0x5ca980(0x189)]['searchDependency'](_0x4bf877['toRTreeItem']());for(const _0x55c24b of _0x1dde71){const _0x148d12=_0x2c9bb9[_0x5ca980(0x1ac)](_0x55c24b)||0x0;if(_0x148d12===0x1)return!0x0;_0x148d12===0x0&&_0xc77d77[_0x5ca980(0x1ed)](_0x55c24b);}}else _0x2c9bb9[_0x5ca980(0x223)](_0x29a192,0x2),_0xc77d77[_0x5ca980(0x1f3)]();}return!0x1;}[_0x43eeee(0x215)](_0x2010c3){const _0x4f64cc=_0x43eeee,_0x41cc85=new Map();for(const _0x28e265 of _0x2010c3)if(!_0x41cc85[_0x4f64cc(0x1a6)](_0x28e265['treeId'])&&this['_isCyclicUtilMap'](_0x28e265['treeId'],_0x41cc85))return!0x0;return _0x41cc85[_0x4f64cc(0x20a)](),!0x1;}['_getFeatureFormulaTree'](_0x3df641,_0x1a80cd,_0x46ec3f){const _0x3c5b7b=_0x43eeee,{unitId:_0x2e994c,subUnitId:_0x54a245,dependencyRanges:_0x54921e,getDirtyData:_0x46e64e}=_0x46ec3f,_0x5ee7d9=_0x1a80cd||_0x33069a(this[_0x3c5b7b(0x189)]),_0x3959dc=new _0x39e6d7(_0x5ee7d9);_0x3959dc['unitId']=_0x2e994c,_0x3959dc[_0x3c5b7b(0x231)]=_0x54a245,_0x3959dc[_0x3c5b7b(0x1bb)]=_0x54921e,_0x3959dc[_0x3c5b7b(0x1c0)]=_0x46e64e;const _0x309582=_0x46e64e(this['_currentConfigService'][_0x3c5b7b(0x1c0)](),this[_0x3c5b7b(0x18a)]['getAllRuntimeData']()),_0x3c4145=this[_0x3c5b7b(0x18c)](_0x309582[_0x3c5b7b(0x1b0)]);return _0x3959dc[_0x3c5b7b(0x1c3)]=_0x3c4145,_0x3959dc[_0x3c5b7b(0x1af)]=_0x3df641,_0x3959dc[_0x3c5b7b(0x1e3)]=_0x252656[_0x3c5b7b(0x183)],this[_0x3c5b7b(0x189)]['addFeatureFormulaDependency'](_0x2e994c,_0x54a245,_0x3df641,_0x3959dc),this[_0x3c5b7b(0x23b)][_0x3c5b7b(0x223)](_0x3959dc['treeId'],_0x3959dc),this[_0x3c5b7b(0x189)][_0x3c5b7b(0x237)](_0x46ec3f['unitId'],_0x46ec3f[_0x3c5b7b(0x231)],_0x3df641)&&(_0x3959dc['isCache']=!0x0),_0x3959dc;}[_0x43eeee(0x1a9)](_0x21d26c,_0x15d785,_0x5a1dc1){const _0x2272e8=_0x43eeee;var _0x2bfa4b;for(const _0x153d51 of _0x15d785){const _0x300adb=_0x21d26c[_0x153d51];if(_0x300adb==null)continue;const _0x5a9b94=Object[_0x2272e8(0x1b8)](_0x300adb);for(const _0xf80b of _0x5a9b94){const _0x39af25=_0x300adb[_0xf80b];if(_0x39af25==null)continue;const _0x4c675f=Object[_0x2272e8(0x1b8)](_0x39af25);for(const _0x5cef80 of _0x4c675f){const _0x7609fe=this[_0x2272e8(0x189)][_0x2272e8(0x20d)](_0x5cef80),_0x146802=_0x39af25[_0x5cef80],{f:_0x516ddf,ranges:_0x3b0734}=_0x146802;let _0x384d4a=!0x1;_0x7609fe&&(_0x384d4a=!0x0);const {firstRow:_0x18ce6a,firstColumn:_0x50f7d1}=this[_0x2272e8(0x20c)](_0x3b0734),_0x3d26c9=this[_0x2272e8(0x189)][_0x2272e8(0x1c8)](_0x153d51,_0xf80b,_0x5cef80),_0xf63403=(_0x2bfa4b=_0x3d26c9==null?void 0x0:_0x3d26c9[_0x2272e8(0x198)](0x0,0x0))!=null?_0x2bfa4b:_0x33069a(this[_0x2272e8(0x189)]),_0x427375=new _0x39e6d7(_0xf63403);for(let _0x4795e1=0x0;_0x4795e1<_0x3b0734[_0x2272e8(0x1b4)];_0x4795e1++){const _0x2c3c85=_0x3b0734[_0x4795e1],{startRow:_0xbeea69,startColumn:_0xcee6ca,endRow:_0x426624,endColumn:_0xbc08cd}=_0x2c3c85;for(let _0xf9fd4a=_0xbeea69;_0xf9fd4a<=_0x426624;_0xf9fd4a++)for(let _0x1976c9=_0xcee6ca;_0x1976c9<=_0xbc08cd;_0x1976c9++){const _0x3edb63=_0x1976c9-_0x50f7d1,_0x2304cc=_0xf9fd4a-_0x18ce6a;if(_0x3edb63===0x0&&_0x2304cc===0x0){_0x427375[_0x2272e8(0x1fb)]=_0x516ddf,_0x427375[_0x2272e8(0x1d2)]=_0x153d51,_0x427375[_0x2272e8(0x231)]=_0xf80b,_0x427375['formulaId']=_0x5cef80,_0x427375['type']=_0x252656[_0x2272e8(0x180)],_0x427375['isCache']=_0x384d4a,_0x5a1dc1[_0x2272e8(0x1ed)](_0x427375),this[_0x2272e8(0x23b)][_0x2272e8(0x223)](_0x427375[_0x2272e8(0x1ca)],_0x427375),this[_0x2272e8(0x189)]['addOtherFormulaDependency'](_0x153d51,_0xf80b,_0x5cef80,_0x427375),this[_0x2272e8(0x189)][_0x2272e8(0x196)](_0x427375);continue;}const _0x5f6674=new _0x85df49();_0x5f6674[_0x2272e8(0x1ca)]=(_0x3d26c9==null?void 0x0:_0x3d26c9[_0x2272e8(0x198)](_0x3edb63,_0x2304cc))||_0x33069a(this['_dependencyManagerService']),_0x5f6674[_0x2272e8(0x194)]=_0x427375,_0x5f6674[_0x2272e8(0x20f)]=_0x3edb63,_0x5f6674['refOffsetY']=_0x2304cc,_0x5f6674[_0x2272e8(0x192)]=_0x384d4a,_0x5f6674['type']=_0x252656[_0x2272e8(0x180)],this['_dependencyManagerService'][_0x2272e8(0x1fd)](_0x153d51,_0xf80b,_0x5cef80,_0x5f6674),this[_0x2272e8(0x189)][_0x2272e8(0x196)](_0x5f6674),_0x5a1dc1['push'](_0x5f6674),this[_0x2272e8(0x23b)][_0x2272e8(0x223)](_0x5f6674[_0x2272e8(0x1ca)],_0x5f6674);}}this['_dependencyManagerService'][_0x2272e8(0x1fe)](_0x5cef80);}}}}[_0x43eeee(0x1a0)](_0x232825,_0xccd706,_0x348873,_0x12f7dd){const _0x334f98=_0x43eeee;for(const _0x25fab8 of _0x232825){const _0x1046f2=_0xccd706[_0x25fab8];if(_0x1046f2==null)continue;const _0x3be968=Object[_0x334f98(0x1b8)](_0x1046f2);for(const _0x2f7f2a of _0x3be968){const _0x17cc4f=new _0x23b255(_0x1046f2[_0x2f7f2a]||{}),_0x3cface=new Map();_0x17cc4f[_0x334f98(0x226)]((_0x3e3ed0,_0xaa190f,_0x34e31d)=>{const _0x76cc6=_0x334f98;if(_0x34e31d==null)return!0x0;const {x:_0x11c3f8=0x0,y:_0xd02d5=0x0,si:_0x5570ba}=_0x34e31d;if(!(_0x11c3f8===0x0&&_0xd02d5===0x0&&_0x5570ba!=null))return!0x0;const _0xf293eb=this[_0x76cc6(0x1f0)](_0x25fab8,_0x2f7f2a,_0x3e3ed0,_0xaa190f,_0x348873,_0x34e31d),_0x26cdb9=this[_0x76cc6(0x189)][_0x76cc6(0x1aa)](_0x25fab8,_0x2f7f2a,_0x3e3ed0,_0xaa190f);_0x26cdb9!=null?_0xf293eb[_0x76cc6(0x1ca)]=_0x26cdb9:(this['_dependencyManagerService'][_0x76cc6(0x17d)](_0x25fab8,_0x2f7f2a,_0x3e3ed0,_0xaa190f,_0xf293eb),this[_0x76cc6(0x189)][_0x76cc6(0x196)](_0xf293eb)),_0x3cface[_0x76cc6(0x223)](_0x5570ba,_0xf293eb),_0x12f7dd['push'](_0xf293eb),this[_0x76cc6(0x23b)][_0x76cc6(0x223)](_0xf293eb[_0x76cc6(0x1ca)],_0xf293eb);}),_0x17cc4f['forValue']((_0x2302db,_0x403d90,_0x51642f)=>{const _0x148c67=_0x334f98;if(_0x51642f==null)return!0x0;const {x:_0x80fc62=0x0,y:_0x400260=0x0,si:_0x2e03b5}=_0x51642f;if(_0x80fc62===0x0&&_0x400260===0x0&&_0x2e03b5!=null)return!0x0;let _0x46ecf3;if(_0x2e03b5&&_0x3cface[_0x148c67(0x1a6)](_0x2e03b5)){const _0x48efe1=_0x3cface[_0x148c67(0x1ac)](_0x2e03b5);_0x46ecf3=this[_0x148c67(0x1a3)](_0x48efe1,_0x51642f);}else _0x46ecf3=this[_0x148c67(0x1f0)](_0x25fab8,_0x2f7f2a,_0x2302db,_0x403d90,_0x348873,_0x51642f);const _0x48fbfb=this[_0x148c67(0x189)][_0x148c67(0x1aa)](_0x25fab8,_0x2f7f2a,_0x2302db,_0x403d90);_0x48fbfb!=null?_0x46ecf3[_0x148c67(0x1ca)]=_0x48fbfb:(this[_0x148c67(0x189)][_0x148c67(0x17d)](_0x25fab8,_0x2f7f2a,_0x2302db,_0x403d90,_0x46ecf3),this[_0x148c67(0x189)]['addFormulaDependencyByDefinedName'](_0x46ecf3)),_0x12f7dd[_0x148c67(0x1ed)](_0x46ecf3),this[_0x148c67(0x23b)][_0x148c67(0x223)](_0x46ecf3[_0x148c67(0x1ca)],_0x46ecf3);}),_0x3cface[_0x334f98(0x20a)]();}}}[_0x43eeee(0x1f0)](_0x2171c8,_0x1aee68,_0x3c34d2,_0x1cfa1d,_0x98b6ef,_0x52d097){const _0x352495=_0x43eeee,{f:_0x173321,x:_0x18e2a8=0x0,y:_0x393fda=0x0}=_0x52d097,_0x28002c=new _0x39e6d7(_0x33069a(this[_0x352495(0x189)])),_0x5b72e5=_0x98b6ef[_0x2171c8][_0x1aee68];return _0x28002c['formula']=_0x173321,_0x28002c[_0x352495(0x1d2)]=_0x2171c8,_0x28002c['subUnitId']=_0x1aee68,_0x28002c['row']=_0x3c34d2,_0x28002c[_0x352495(0x1a2)]=_0x1cfa1d,_0x28002c[_0x352495(0x1e7)]=_0x5b72e5[_0x352495(0x1e7)],_0x28002c['columnCount']=_0x5b72e5[_0x352495(0x1eb)],_0x28002c;}[_0x43eeee(0x200)](){const _0x1f4bad=_0x43eeee,_0x5aef78=[],_0x42402b=new Set(),_0x4e00bd=this[_0x1f4bad(0x1ee)][_0x1f4bad(0x202)](),_0x208c35=this['_currentConfigService'][_0x1f4bad(0x1d0)](),_0x1eb727=this[_0x1f4bad(0x189)][_0x1f4bad(0x1b7)](_0x208c35),_0x113e08=this[_0x1f4bad(0x193)][_0x1f4bad(0x1ae)](_0x208c35);for(const _0x15326c of _0x113e08)_0x1eb727['add'](_0x15326c);for(const [_0x380c1a,_0x13771f]of this[_0x1f4bad(0x23b)])(_0x4e00bd||_0x13771f[_0x1f4bad(0x204)]||_0x13771f['dependencySheetName'](this[_0x1f4bad(0x1ee)][_0x1f4bad(0x18e)]())||_0x1eb727['has'](_0x380c1a)&&!_0x13771f[_0x1f4bad(0x1d8)](this[_0x1f4bad(0x1ee)]['getExcludedRange']()))&&!_0x42402b[_0x1f4bad(0x1a6)](_0x380c1a)&&(_0x5aef78[_0x1f4bad(0x1ed)](_0x13771f),_0x42402b[_0x1f4bad(0x1fc)](_0x380c1a));for(const [_0x36684e,_0x1530bd]of this[_0x1f4bad(0x23b)])_0x1530bd['isVirtual']||(_0x1530bd[_0x1f4bad(0x1bb)][_0x1f4bad(0x1b4)]=0x0);return _0x5aef78;}['_getTreeById'](_0x2994c4){const _0x9ce4a7=_0x43eeee;return this['_dependencyTreeCache'][_0x9ce4a7(0x1ac)](_0x2994c4);}[_0x43eeee(0x246)](_0xb4be45){const _0x865096=_0x43eeee;return _0x25a9bd(_0xb4be45[_0x865096(0x1d2)],_0xb4be45['formula'],this['_lexer'],this[_0x865096(0x245)],this['_currentConfigService']);}*[_0x43eeee(0x176)](_0x22e589,_0x1bc63d){const _0x33ec21=_0x43eeee,_0x419b0e=_0x22e589,_0xdb1104=new Set();for(;_0x419b0e['length']>0x0;){const _0x3c6815=_0x419b0e['pop']();if(_0xdb1104[_0x33ec21(0x20a)](),_0x3c6815===void 0x0||_0x3c6815[_0x33ec21(0x181)]())continue;if(_0x3c6815[_0x33ec21(0x1b2)]()){yield _0x3c6815,_0x3c6815[_0x33ec21(0x19d)](),_0x1bc63d[_0x33ec21(0x1fc)](_0x3c6815[_0x33ec21(0x1ca)]);continue;}const _0x3084de=this[_0x33ec21(0x189)]['searchDependency'](_0x3c6815['toRTreeItem'](),_0x1bc63d),_0x4a03fb=this[_0x33ec21(0x193)][_0x33ec21(0x1ae)](_0x3c6815[_0x33ec21(0x21e)](),_0x1bc63d);for(const _0x2c9249 of _0x4a03fb)_0x3084de[_0x33ec21(0x1fc)](_0x2c9249);for(const _0x21a1d3 of _0x3084de){const _0x5a33eb=this[_0x33ec21(0x23b)]['get'](_0x21a1d3);if(!_0x5a33eb){console[_0x33ec21(0x1cc)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x21a1d3);continue;}_0x5a33eb[_0x33ec21(0x1b2)]()||_0x3c6815[_0x33ec21(0x181)]()||_0xdb1104[_0x33ec21(0x1fc)](_0x5a33eb);}if(_0x3084de[_0x33ec21(0x20a)](),_0xdb1104[_0x33ec21(0x17e)]===0x0)yield _0x3c6815,_0x3c6815[_0x33ec21(0x19d)](),_0x1bc63d[_0x33ec21(0x1fc)](_0x3c6815[_0x33ec21(0x1ca)]);else{_0x3c6815[_0x33ec21(0x208)](),_0x419b0e[_0x33ec21(0x1ed)](_0x3c6815);for(const _0x307c17 of _0xdb1104)_0x419b0e[_0x33ec21(0x1ed)](_0x307c17);}}_0x419b0e['length']=0x0,_0xdb1104[_0x33ec21(0x20a)]();}[_0x43eeee(0x179)](_0x38bd81){const _0x203c58=_0x43eeee,_0x1f9b1e=[],_0x451eb6=new Set();for(const _0x1ff982 of this[_0x203c58(0x176)](_0x38bd81,_0x451eb6))_0x1f9b1e[_0x203c58(0x1ed)](_0x1ff982);return _0x1f9b1e;}async[_0x43eeee(0x187)](){const _0x3a8624=_0x43eeee;return await this[_0x3a8624(0x1e1)](),Array[_0x3a8624(0x1f8)](this[_0x3a8624(0x23b)][_0x3a8624(0x1ab)]());}[_0x43eeee(0x214)](_0x322942){const _0x37353f=_0x43eeee;return this[_0x37353f(0x189)][_0x37353f(0x1b7)](_0x322942['toRTreeItem']());}[_0x43eeee(0x1ef)](_0x507698){const _0x9f393f=_0x43eeee,_0x11b817=new Set(),_0x423ce8=_0x507698[_0x9f393f(0x1bb)];for(const [_0x394dd9,_0x4f6c9d]of this['_dependencyTreeCache'])for(const _0x18c1cf of _0x423ce8){const _0x209de6=_0x18c1cf['unitId'],_0x14bcc4=_0x18c1cf[_0x9f393f(0x1f7)];if(_0x4f6c9d[_0x9f393f(0x1d2)]!==_0x209de6||_0x4f6c9d[_0x9f393f(0x231)]!==_0x14bcc4)continue;const _0x5a503e=_0x18c1cf[_0x9f393f(0x1d6)];if(_0x4f6c9d[_0x9f393f(0x185)](_0x5a503e)){_0x11b817[_0x9f393f(0x1fc)](_0x394dd9);break;}}return _0x11b817;}[_0x43eeee(0x228)](){const _0x2a95d9=_0x43eeee;this[_0x2a95d9(0x189)][_0x2a95d9(0x1d5)]();}[_0x43eeee(0x18f)](){const _0x28650b=_0x43eeee;this[_0x28650b(0x1c2)]['clear'](),this[_0x28650b(0x23b)][_0x28650b(0x20a)](),this[_0x28650b(0x189)][_0x28650b(0x209)]();}}function _0x1220(_0x43c7cf,_0x342789){_0x43c7cf=_0x43c7cf-0x174;const _0x309c08=_0x309c();let _0x1220f8=_0x309c08[_0x43c7cf];return _0x1220f8;}class Re extends _0x299451{async[_0x43eeee(0x188)](_0x573a2a=!0x1){const _0x52a5f0=_0x43eeee;_0x573a2a?this[_0x52a5f0(0x18a)][_0x52a5f0(0x1dd)](_0x3d93d7['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x52a5f0(0x18a)]['setFormulaExecuteStage'](_0x3d93d7[_0x52a5f0(0x236)]),this[_0x52a5f0(0x229)][_0x52a5f0(0x210)](this[_0x52a5f0(0x18a)][_0x52a5f0(0x21d)]());const _0x19e061=await this[_0x52a5f0(0x211)]['generate'](this['_isCalculateTreeModel']),_0x78630b=this[_0x52a5f0(0x1a4)];_0x573a2a?(this[_0x52a5f0(0x18a)][_0x52a5f0(0x1dd)](_0x3d93d7[_0x52a5f0(0x239)]),this[_0x52a5f0(0x18a)][_0x52a5f0(0x22a)](_0x19e061['length'])):(this[_0x52a5f0(0x18a)][_0x52a5f0(0x1dd)](_0x3d93d7[_0x52a5f0(0x1f5)]),this[_0x52a5f0(0x18a)]['setTotalFormulasToCalculate'](_0x19e061['length'])),this[_0x52a5f0(0x229)][_0x52a5f0(0x210)](this[_0x52a5f0(0x18a)]['getRuntimeState']());let _0x34c778=[];const _0x5a5080=this[_0x52a5f0(0x1f6)][_0x52a5f0(0x203)](_0x26604f),_0x317f83=(_0x5a5080==null?void 0x0:_0x5a5080[_0x52a5f0(0x213)])||_0x42cb67;let _0x233d17=0x0;const _0x1c7b70=_0x19e061[_0x52a5f0(0x1b4)];for(;_0x19e061[_0x52a5f0(0x1b4)]>0x0;){const _0x295932=_0x19e061[_0x52a5f0(0x1f3)](),_0x37b5fb=_0x25a9bd(_0x295932['unitId'],_0x295932[_0x52a5f0(0x1fb)],this[_0x52a5f0(0x216)],this['_astTreeBuilder'],this[_0x52a5f0(0x1ee)]),_0x5ba84e={'node':_0x37b5fb,'refOffsetX':_0x295932[_0x52a5f0(0x20f)],'refOffsetY':_0x295932[_0x52a5f0(0x20b)]},_0x34dce8=_0x295932['getDirtyData'];if(_0x233d17%_0x317f83===0x0&&(await new Promise(_0x271608=>{const _0x2f74cf=_0x52a5f0,_0x4366f2=_0x227db2(_0x271608);_0x34c778[_0x2f74cf(0x1ed)](_0x4366f2);}),_0x573a2a?(this[_0x52a5f0(0x18a)][_0x52a5f0(0x1dd)](_0x3d93d7['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x52a5f0(0x18a)][_0x52a5f0(0x218)](_0x233d17+0x1)):(this[_0x52a5f0(0x18a)][_0x52a5f0(0x1dd)](_0x3d93d7[_0x52a5f0(0x17b)]),this['_runtimeService'][_0x52a5f0(0x1ec)](_0x233d17+0x1)),this[_0x52a5f0(0x229)]['next'](this[_0x52a5f0(0x18a)][_0x52a5f0(0x21d)]()),this[_0x52a5f0(0x18a)][_0x52a5f0(0x1b1)]()||_0x5ba84e==null&&_0x34dce8==null)){this['_runtimeService'][_0x52a5f0(0x1dd)](_0x3d93d7[_0x52a5f0(0x230)]),this[_0x52a5f0(0x18a)][_0x52a5f0(0x217)](),this[_0x52a5f0(0x1cf)]['next'](this[_0x52a5f0(0x18a)]['getAllRuntimeData']());return;}this[_0x52a5f0(0x18a)]['setCurrent'](_0x295932[_0x52a5f0(0x19f)],_0x295932[_0x52a5f0(0x1a2)],_0x295932[_0x52a5f0(0x1e7)],_0x295932[_0x52a5f0(0x1eb)],_0x295932[_0x52a5f0(0x231)],_0x295932[_0x52a5f0(0x1d2)]);let _0x3756e9;if(_0x34dce8!=null&&_0x295932[_0x52a5f0(0x1af)]!=null){const {runtimeCellData:_0x1dbe7a,dirtyRanges:_0x134fd3}=_0x34dce8(this[_0x52a5f0(0x1ee)][_0x52a5f0(0x1c0)](),this[_0x52a5f0(0x18a)][_0x52a5f0(0x1d9)]());this[_0x52a5f0(0x18a)][_0x52a5f0(0x1bc)](_0x295932['featureId'],_0x1dbe7a),this[_0x52a5f0(0x18a)]['setRuntimeFeatureRange'](_0x295932[_0x52a5f0(0x1af)],_0x134fd3);}else _0x5ba84e!=null&&(_0x78630b[_0x52a5f0(0x18b)](_0x5ba84e[_0x52a5f0(0x1e5)])?_0x3756e9=await _0x78630b['executeAsync'](_0x5ba84e):_0x3756e9=_0x78630b[_0x52a5f0(0x1f4)](_0x5ba84e),_0x295932[_0x52a5f0(0x175)]!=null?this[_0x52a5f0(0x18a)][_0x52a5f0(0x21a)](_0x295932[_0x52a5f0(0x175)],_0x295932[_0x52a5f0(0x20f)],_0x295932[_0x52a5f0(0x20b)],_0x3756e9):this[_0x52a5f0(0x18a)][_0x52a5f0(0x201)](_0x3756e9));_0x37b5fb[_0x52a5f0(0x1df)](),_0x233d17++;}return _0x34c778[_0x52a5f0(0x1a8)](_0x55d39a=>_0x55d39a()),_0x34c778=[],_0x1c7b70>0x0?this[_0x52a5f0(0x18a)]['markedAsSuccessfullyExecuted']():_0x573a2a||this[_0x52a5f0(0x18a)]['markedAsNoFunctionsExecuted'](),this[_0x52a5f0(0x18a)][_0x52a5f0(0x1d9)]();}}class Ge extends _0x8a9de8{constructor(){const _0x25d257=_0x43eeee;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x25d257(0x1d3),new _0x22720f(!0x0));}[_0x43eeee(0x212)](){const _0x416884=_0x43eeee;this[_0x416884(0x1b5)][_0x416884(0x20a)](),this[_0x416884(0x19b)][_0x416884(0x20a)](),this['_formulaData'][_0x416884(0x20a)](),this[_0x416884(0x1d3)][_0x416884(0x20a)](),this[_0x416884(0x22c)]['clear'](),this[_0x416884(0x1d7)](),this[_0x416884(0x240)][_0x416884(0x20a)]();}[_0x43eeee(0x1fd)](_0x5d512d,_0x56d419,_0x1ac482,_0x5d83eb){const _0x295c93=_0x43eeee;this['_otherFormulaData']['has'](_0x5d512d)||this[_0x295c93(0x1b5)]['set'](_0x5d512d,new Map());const _0x214923=this[_0x295c93(0x1b5)][_0x295c93(0x1ac)](_0x5d512d);_0x214923[_0x295c93(0x1a6)](_0x56d419)||_0x214923[_0x295c93(0x223)](_0x56d419,new Map());const _0x46a2f2=_0x214923['get'](_0x56d419);_0x46a2f2[_0x295c93(0x1a6)](_0x1ac482)||_0x46a2f2[_0x295c93(0x223)](_0x1ac482,new _0x23b255()),_0x46a2f2[_0x295c93(0x1ac)](_0x1ac482)[_0x295c93(0x177)](_0x5d83eb[_0x295c93(0x20f)],_0x5d83eb['refOffsetY'],_0x5d83eb[_0x295c93(0x1ca)]);}[_0x43eeee(0x17a)](_0x2496c7,_0x514be1,_0x206d57){const _0x52932c=_0x43eeee,_0x39b31c=this[_0x52932c(0x1b5)]['get'](_0x2496c7);if(_0x39b31c&&_0x39b31c[_0x52932c(0x1a6)](_0x514be1)){const _0x37a3f6=_0x39b31c[_0x52932c(0x1ac)](_0x514be1);_0x206d57[_0x52932c(0x1a8)](_0x563d2d=>{const _0x4c1d05=_0x52932c,_0x420b7d=_0x37a3f6[_0x4c1d05(0x1ac)](_0x563d2d);_0x420b7d!=null&&(_0x420b7d[_0x4c1d05(0x226)]((_0x458e2c,_0x1f93eb,_0x38b573)=>{const _0x346211=_0x4c1d05;this[_0x346211(0x235)](_0x38b573),this[_0x346211(0x1ff)](_0x38b573);}),_0x37a3f6['delete'](_0x563d2d),this['_otherFormulaDataMainData'][_0x4c1d05(0x1b6)](_0x563d2d));}),_0x37a3f6[_0x52932c(0x17e)]===0x0&&_0x39b31c[_0x52932c(0x1b6)](_0x514be1),_0x39b31c[_0x52932c(0x17e)]===0x0&&this['_otherFormulaData'][_0x52932c(0x1b6)](_0x2496c7);}}[_0x43eeee(0x1cb)](_0x3d240f,_0x3470f4){const _0x48afb2=_0x43eeee,_0x1f5326=this['_otherFormulaData'][_0x48afb2(0x1ac)](_0x3d240f);if(_0x3470f4&&_0x1f5326&&_0x1f5326[_0x48afb2(0x1a6)](_0x3470f4)){const _0x4bd86d=_0x1f5326[_0x48afb2(0x1ac)](_0x3470f4);this[_0x48afb2(0x243)](_0x3d240f,_0x3470f4);for(const _0x2bbce6 of _0x4bd86d[_0x48afb2(0x1b8)]()){const _0x43fd56=_0x4bd86d[_0x48afb2(0x1ac)](_0x2bbce6);_0x43fd56!=null&&(_0x43fd56[_0x48afb2(0x226)]((_0x20c1b9,_0x47a20e,_0x1a92c2)=>{const _0x3383ff=_0x48afb2;this[_0x3383ff(0x22c)]['get'](_0x1a92c2)&&this[_0x3383ff(0x1ff)](_0x1a92c2);}),this[_0x48afb2(0x240)]['delete'](_0x2bbce6));}_0x4bd86d['clear']();}else{if(_0x1f5326){for(const _0x24ea41 of _0x1f5326[_0x48afb2(0x1b8)]()){const _0x4ecfc5=_0x1f5326[_0x48afb2(0x1ac)](_0x24ea41);this['_removeDependencyRTreeCacheById'](_0x3d240f,_0x24ea41);for(const _0x183cf7 of _0x4ecfc5[_0x48afb2(0x1b8)]()){const _0x23f297=_0x4ecfc5[_0x48afb2(0x1ac)](_0x183cf7);_0x23f297!=null&&(_0x23f297['forValue']((_0x321774,_0x583389,_0x423ab7)=>{const _0x563c09=_0x48afb2;this[_0x563c09(0x22c)][_0x563c09(0x1ac)](_0x423ab7)&&this['_removeAllTreeMap'](_0x423ab7);}),this['_otherFormulaDataMainData'][_0x48afb2(0x1b6)](_0x183cf7));}}this[_0x48afb2(0x1b5)][_0x48afb2(0x1b6)](_0x3d240f);}}}['addFeatureFormulaDependency'](_0x4efd05,_0x2bf3fc,_0x3f8ab5,_0x38fbcc){const _0x4465dc=_0x43eeee;this[_0x4465dc(0x19b)][_0x4465dc(0x1a6)](_0x4efd05)||this[_0x4465dc(0x19b)][_0x4465dc(0x223)](_0x4efd05,new Map());const _0x4878ad=this[_0x4465dc(0x19b)][_0x4465dc(0x1ac)](_0x4efd05);_0x4878ad[_0x4465dc(0x1a6)](_0x2bf3fc)||_0x4878ad[_0x4465dc(0x223)](_0x2bf3fc,new Map()),_0x4878ad['get'](_0x2bf3fc)['set'](_0x3f8ab5,_0x38fbcc[_0x4465dc(0x1ca)]);}['removeFeatureFormulaDependency'](_0x8ceb25,_0x4dd0ca,_0x44d38a){const _0x56a531=_0x43eeee,_0x307922=this['_featureFormulaData'][_0x56a531(0x1ac)](_0x8ceb25);if(_0x307922&&_0x307922[_0x56a531(0x1a6)](_0x4dd0ca)){const _0x416bec=_0x307922[_0x56a531(0x1ac)](_0x4dd0ca);_0x44d38a[_0x56a531(0x1a8)](_0x142419=>{const _0x4cd022=_0x56a531,_0x427d7b=_0x416bec['get'](_0x142419);_0x427d7b!=null&&(this['_removeDependencyRTreeCache'](_0x427d7b),_0x416bec[_0x4cd022(0x1b6)](_0x142419),this[_0x4cd022(0x1ff)](_0x427d7b));});}}[_0x43eeee(0x1c4)](_0x26e570,_0x2a27da){const _0x16db8a=_0x43eeee,_0x377480=this[_0x16db8a(0x19b)]['get'](_0x26e570);if(_0x2a27da&&_0x377480&&_0x377480[_0x16db8a(0x1a6)](_0x2a27da)){const _0xa2d37=_0x377480[_0x16db8a(0x1ac)](_0x2a27da);this[_0x16db8a(0x243)](_0x26e570,_0x2a27da),_0xa2d37[_0x16db8a(0x1a8)](_0x40021d=>{const _0x3e2fec=_0x16db8a;_0x40021d!=null&&this[_0x3e2fec(0x1ff)](_0x40021d);}),_0xa2d37[_0x16db8a(0x20a)]();}else _0x377480&&(_0x377480[_0x16db8a(0x1a8)]((_0x4afbb8,_0x4f2682)=>{const _0xf125c3=_0x16db8a;this['_removeDependencyRTreeCacheById'](_0x26e570,_0x4f2682),_0x4afbb8[_0xf125c3(0x1a8)](_0x34593b=>{const _0x4a46ca=_0xf125c3;_0x34593b!=null&&this[_0x4a46ca(0x1ff)](_0x34593b);});}),this['_featureFormulaData'][_0x16db8a(0x1b6)](_0x26e570));}[_0x43eeee(0x17d)](_0x505c2b,_0x3bc4ad,_0x4e80b9,_0x519ce0,_0x80a288){const _0x274492=_0x43eeee;this[_0x274492(0x1a7)][_0x274492(0x1a6)](_0x505c2b)||this[_0x274492(0x1a7)][_0x274492(0x223)](_0x505c2b,new Map());const _0x4ff7e6=this['_formulaData'][_0x274492(0x1ac)](_0x505c2b);_0x4ff7e6[_0x274492(0x1a6)](_0x3bc4ad)||_0x4ff7e6[_0x274492(0x223)](_0x3bc4ad,new _0x23b255()),_0x4ff7e6[_0x274492(0x1ac)](_0x3bc4ad)[_0x274492(0x177)](_0x4e80b9,_0x519ce0,_0x80a288['treeId']);}[_0x43eeee(0x220)](_0x3c009d,_0x56f868,_0xed21cd,_0x43f853){const _0x5d8d8a=_0x43eeee,_0x4e4a90=this[_0x5d8d8a(0x1a7)][_0x5d8d8a(0x1ac)](_0x3c009d);if(_0x4e4a90&&_0x4e4a90[_0x5d8d8a(0x1a6)](_0x56f868)){const _0xd8f62b=_0x4e4a90[_0x5d8d8a(0x1ac)](_0x56f868),_0x40a9f2=_0xd8f62b[_0x5d8d8a(0x198)](_0xed21cd,_0x43f853);if(_0x40a9f2==null)return;this[_0x5d8d8a(0x235)](_0x40a9f2),_0xd8f62b[_0x5d8d8a(0x197)](_0xed21cd,_0x43f853),this['_removeAllTreeMap'](_0x40a9f2);}}['clearFormulaDependency'](_0x57851a,_0x67d0f9){const _0x1f6543=_0x43eeee,_0x1a5c9d=this[_0x1f6543(0x1a7)]['get'](_0x57851a);if(_0x67d0f9&&_0x1a5c9d&&_0x1a5c9d[_0x1f6543(0x1a6)](_0x67d0f9)){const _0xd69706=_0x1a5c9d[_0x1f6543(0x1ac)](_0x67d0f9);this['_removeDependencyRTreeCacheById'](_0x57851a,_0x67d0f9),_0xd69706[_0x1f6543(0x226)]((_0x3d7107,_0x2b1d36,_0x3c6d34)=>{const _0xeb3e9a=_0x1f6543;if(_0x3c6d34==null)return!0x0;this[_0xeb3e9a(0x1ff)](_0x3c6d34);}),_0xd69706[_0x1f6543(0x212)]();}else _0x1a5c9d&&(_0x1a5c9d['forEach']((_0x34fe85,_0x590a12)=>{const _0x2f3f8f=_0x1f6543;this[_0x2f3f8f(0x243)](_0x57851a,_0x590a12),_0x34fe85[_0x2f3f8f(0x226)]((_0x1f1a18,_0xe6b751,_0x98141c)=>{if(_0x98141c==null)return!0x0;this['_removeAllTreeMap'](_0x98141c);});}),this['_formulaData'][_0x1f6543(0x1b6)](_0x57851a));}[_0x43eeee(0x235)](_0x1f9e30){const _0x3df9a3=_0x43eeee;if(_0x1f9e30==null)return;const _0x4fd416=this[_0x3df9a3(0x22c)][_0x3df9a3(0x1ac)](_0x1f9e30);if(_0x4fd416){const _0x124f10=[];for(const [_0x13338c,_0x3a1e25]of _0x4fd416)for(const [_0x2820e0,_0x546cd5]of _0x3a1e25)_0x124f10['push']({'unitId':_0x13338c,'sheetId':_0x2820e0,'range':_0x546cd5,'id':_0x1f9e30});this[_0x3df9a3(0x1d3)][_0x3df9a3(0x207)](_0x124f10);}}[_0x43eeee(0x17f)](_0x3e14ac,_0x12da94){const _0x482b7b=_0x43eeee,_0x428ec9=this[_0x482b7b(0x233)]['get'](_0x3e14ac);if(_0x428ec9){const _0x1662ec=_0x428ec9[_0x482b7b(0x1ac)](_0x12da94);if(_0x1662ec){for(const _0x3db4d2 of _0x1662ec)this[_0x482b7b(0x235)](_0x3db4d2),this['_removeAllTreeMap'](_0x3db4d2);_0x1662ec[_0x482b7b(0x20a)]();}}}[_0x43eeee(0x1d5)](){this['_dependencyRTreeCache']['openKdTree']();}['closeKdTree'](){const _0x210755=_0x43eeee;this[_0x210755(0x1d3)][_0x210755(0x209)]();}[_0x43eeee(0x1ff)](_0x30a8ff){const _0x1b951e=_0x43eeee;_0x30a8ff!=null&&this[_0x1b951e(0x22c)][_0x1b951e(0x1b6)](_0x30a8ff);}[_0x43eeee(0x195)](_0x305c00){const _0x725dce=_0x43eeee;var _0x5d88f3,_0x22fec3;const _0xcbd075=_0x305c00['rangeList'];let _0x5413ab=this[_0x725dce(0x22c)][_0x725dce(0x1ac)](_0x305c00[_0x725dce(0x1ca)]);for(let _0x2d96cd=0x0;_0x2d96cd<_0xcbd075[_0x725dce(0x1b4)];_0x2d96cd++){const _0xfd4796=_0xcbd075[_0x2d96cd];let {unitId:_0x26685e,sheetId:_0x3f6217,range:_0x2c9334}=_0xfd4796;_0x5413ab||(_0x5413ab=new Map(),this[_0x725dce(0x22c)][_0x725dce(0x223)](_0x305c00[_0x725dce(0x1ca)],_0x5413ab)),_0x5413ab[_0x725dce(0x1a6)](_0x26685e)||_0x5413ab[_0x725dce(0x223)](_0x26685e,new Map());const _0x580874=(_0x5d88f3=_0x5413ab==null?void 0x0:_0x5413ab[_0x725dce(0x1ac)](_0x26685e))==null?void 0x0:_0x5d88f3[_0x725dce(0x1ac)](_0x3f6217);_0x580874&&(_0x2c9334={'startRow':Math['min'](_0x2c9334[_0x725dce(0x184)],_0x580874[_0x725dce(0x184)]),'startColumn':Math[_0x725dce(0x19a)](_0x2c9334[_0x725dce(0x1e6)],_0x580874['startColumn']),'endRow':Math['max'](_0x2c9334['endRow'],_0x580874[_0x725dce(0x23d)]),'endColumn':Math[_0x725dce(0x23f)](_0x2c9334[_0x725dce(0x1e2)],_0x580874['endColumn'])}),(_0x22fec3=_0x5413ab[_0x725dce(0x1ac)](_0x26685e))==null||_0x22fec3['set'](_0x3f6217,_0x2c9334);}}}var Ne=Object['getOwnPropertyDescriptor'],Ae=(_0x44afa5,_0x2b1017,_0x5e2e59,_0x1f7c8b)=>{const _0x175654=_0x43eeee;for(var _0x3d69f1=_0x1f7c8b>0x1?void 0x0:_0x1f7c8b?Ne(_0x2b1017,_0x5e2e59):_0x2b1017,_0x3f3cd1=_0x44afa5[_0x175654(0x1b4)]-0x1,_0x541dd3;_0x3f3cd1>=0x0;_0x3f3cd1--)(_0x541dd3=_0x44afa5[_0x3f3cd1])&&(_0x3d69f1=_0x541dd3(_0x3d69f1)||_0x3d69f1);return _0x3d69f1;};const we=Number[_0x43eeee(0x1be)](0x695e26d5);let W=class extends _0x559072{['_initializeWithOverride'](){const _0x126b35=_0x43eeee;var _0x3acb1c,_0x57cd6e;this['_initLicenseValid']()?(this[_0x126b35(0x247)]['add']([_0x1dd16f,{'useClass':ve}]),(_0x3acb1c=this[_0x126b35(0x1bf)])!=null&&_0x3acb1c[_0x126b35(0x1c5)]||[[_0x19143d,{'useClass':Re}],[_0x53e55f,{'useClass':Ge}],[_0x24fdc6,{'useClass':Ee}]][_0x126b35(0x1a8)](_0x30f080=>this[_0x126b35(0x247)][_0x126b35(0x1fc)](_0x30f080))):(this[_0x126b35(0x247)]['add']([_0x1dd16f,{'useClass':_0x1dd16f}]),(_0x57cd6e=this[_0x126b35(0x1bf)])!=null&&_0x57cd6e[_0x126b35(0x1c5)]||[[_0x19143d,{'useClass':_0x299451}],[_0x53e55f,{'useClass':_0x3f599e}],[_0x24fdc6,{'useClass':_0x52db57}]][_0x126b35(0x1a8)](_0x583820=>this[_0x126b35(0x247)][_0x126b35(0x1fc)](_0x583820)));}['_initLicenseValid'](){const _0x4ef342=_0x43eeee;var _0x31f3c3;const _0x4e5659=(_0x31f3c3=this[_0x4ef342(0x1f6)][_0x4ef342(0x203)](_0x10a038))!=null?_0x31f3c3:{},{ls:_0x4998c9,pbk:_0x33f81c}=_0x4e5659;if(!_0x4998c9||!_0x33f81c)return!0x1;const _0x193c6f=_0x51c28d(xe,Me),_0x4f6993=new Function(_0x4ef342(0x22b)+_0x193c6f)()(_0x4998c9,_0x33f81c),_0x421758=_0x4f6993['message'];return _0x4f6993[_0x4ef342(0x1fa)]&&_0x452b84(_0x421758,'sf',we)?_0x236637(_0x421758,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};W=Ae([_0x5e1ddd(_0x96116d)],W);export{ve as LexerTreeProBuilder,W as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1d94f4,_0xb0a78){var _0x1de2eb=_0x176c,_0x316a37=_0x1d94f4();while(!![]){try{var _0x33c02c=-parseInt(_0x1de2eb(0x14b))/0x1+-parseInt(_0x1de2eb(0x14e))/0x2+parseInt(_0x1de2eb(0x14c))/0x3*(parseInt(_0x1de2eb(0x149))/0x4)+-parseInt(_0x1de2eb(0x14a))/0x5*(parseInt(_0x1de2eb(0x152))/0x6)+-parseInt(_0x1de2eb(0x151))/0x7*(parseInt(_0x1de2eb(0x14f))/0x8)+-parseInt(_0x1de2eb(0x150))/0x9+parseInt(_0x1de2eb(0x14d))/0xa;if(_0x33c02c===_0xb0a78)break;else _0x316a37['push'](_0x316a37['shift']());}catch(_0x44e3c1){_0x316a37['push'](_0x316a37['shift']());}}}(_0x3b76,0x5f375));function _0x3b76(){var _0x2a5e4f=['778406lQrtsH','15FqZsGj','27467340JYPNBU','1080274XPZRNW','8OezOoj','2034252wpmJnO','3573038OLmttA','18534rJhDBl','267688VTsCbw','1030CsWLQx'];_0x3b76=function(){return _0x2a5e4f;};return _0x3b76();}function _0x176c(_0x81e19d,_0x556519){_0x81e19d=_0x81e19d-0x149;var _0x3b768a=_0x3b76();var _0x176c8f=_0x3b768a[_0x81e19d];return _0x176c8f;}export*from'@univerjs/engine-formula/facade';
|