@univerjs-pro/engine-formula 0.15.0 → 0.15.1
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 +38 -38
- 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 +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3324(_0x1932c0,_0x10f736){_0x1932c0=_0x1932c0-0x8d;const _0x48a1f6=_0x48a1();let _0x3324d1=_0x48a1f6[_0x1932c0];return _0x3324d1;}const _0x2d61f7=_0x3324;(function(_0x472eac,_0x456035){const _0x35c38a=_0x3324,_0x4174e1=_0x472eac();while(!![]){try{const _0x57e558=-parseInt(_0x35c38a(0x99))/0x1*(-parseInt(_0x35c38a(0x9c))/0x2)+parseInt(_0x35c38a(0x8e))/0x3*(parseInt(_0x35c38a(0x98))/0x4)+parseInt(_0x35c38a(0x90))/0x5+-parseInt(_0x35c38a(0x91))/0x6+parseInt(_0x35c38a(0x92))/0x7*(parseInt(_0x35c38a(0x9f))/0x8)+parseInt(_0x35c38a(0x9d))/0x9*(-parseInt(_0x35c38a(0x97))/0xa)+parseInt(_0x35c38a(0x95))/0xb*(-parseInt(_0x35c38a(0x93))/0xc);if(_0x57e558===_0x456035)break;else _0x4174e1['push'](_0x4174e1['shift']());}catch(_0x18fe30){_0x4174e1['push'](_0x4174e1['shift']());}}}(_0x48a1,0xbbcb4));function _0x48a1(){const _0x201e9e=['hasOwnProperty','3678140bsrmpU','4604668VymJMp','531032zGinfe','toStringTag','default','2KxEezR','18vqOIee','prototype','48RGplcV','call','3jMqZHN','Module','6676295PNTYjX','8355810XVnfUh','295463lmBHVN','8940dAbZhl','defineProperty','5511cyXEVn'];_0x48a1=function(){return _0x201e9e;};return _0x48a1();}Object[_0x2d61f7(0x94)](exports,Symbol[_0x2d61f7(0x9a)],{'value':_0x2d61f7(0x8f)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)['forEach'](_0x43443c=>{const _0x45d778=_0x2d61f7;_0x43443c!==_0x45d778(0x9b)&&!Object[_0x45d778(0x9e)][_0x45d778(0x96)][_0x45d778(0x8d)](exports,_0x43443c)&&Object[_0x45d778(0x94)](exports,_0x43443c,{'enumerable':!0x0,'get':()=>t[_0x43443c]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5ca26e=_0x2d72;(function(_0x504541,_0x4795ce){const _0x2c5f30=_0x2d72,_0x443b96=_0x504541();while(!![]){try{const _0x3c2fba=-parseInt(_0x2c5f30(0x175))/0x1+parseInt(_0x2c5f30(0x156))/0x2+parseInt(_0x2c5f30(0x1ce))/0x3*(parseInt(_0x2c5f30(0x1d3))/0x4)+-parseInt(_0x2c5f30(0x176))/0x5+parseInt(_0x2c5f30(0xf8))/0x6+-parseInt(_0x2c5f30(0x18f))/0x7*(-parseInt(_0x2c5f30(0x1b6))/0x8)+-parseInt(_0x2c5f30(0x113))/0x9;if(_0x3c2fba===_0x4795ce)break;else _0x443b96['push'](_0x443b96['shift']());}catch(_0x131d1e){_0x443b96['push'](_0x443b96['shift']());}}}(_0x3dd3,0xadc08));var b=Object[_0x5ca26e(0x10a)],J=(_0x11819c,_0x3eb9be,_0xc37cae)=>_0x3eb9be in _0x11819c?b(_0x11819c,_0x3eb9be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc37cae}):_0x11819c[_0x3eb9be]=_0xc37cae,y=(_0x4b2909,_0x179f6e,_0x1941a6)=>J(_0x4b2909,typeof _0x179f6e!=_0x5ca26e(0x133)?_0x179f6e+'':_0x179f6e,_0x1941a6);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const c=require('@univerjs/engine-formula'),N=require('@univerjs-pro/license'),v=require('@univerjs/core');class B extends c[_0x5ca26e(0x1c5)]{constructor(){const _0x99f75=_0x5ca26e;super(...arguments),y(this,'_hasNewExcelFunction',!0x1),y(this,'_lambdaFunctionParameterSet',new Set()),y(this,_0x99f75(0xf6),_0x99f75(0xfe)),y(this,_0x99f75(0x116),_0x99f75(0x191)),y(this,_0x99f75(0x1a4),'');}['_resetPrefix'](){const _0x1d14bf=_0x5ca26e;this[_0x1d14bf(0xf6)]=_0x1d14bf(0xfe),this[_0x1d14bf(0x116)]=_0x1d14bf(0x191);}[_0x5ca26e(0x108)](){const _0x2d0970=_0x5ca26e;this[_0x2d0970(0xf6)]='',this[_0x2d0970(0x116)]='';}[_0x5ca26e(0x15a)](_0x284c4c,_0x43e8bc){const _0x544029=_0x5ca26e,_0x4b0ed6=this['treeBuilder'](_0x284c4c,!0x1);if(!_0x4b0ed6||_0x4b0ed6===c[_0x544029(0x16e)][_0x544029(0x147)]||Array[_0x544029(0x173)](_0x4b0ed6))return null;const _0x39fd51=[];return this['_hasNewExcelFunction']=!0x1,this[_0x544029(0x1bf)](_0x4b0ed6,_0x39fd51,_0x43e8bc),this[_0x544029(0x17b)]?'='+_0x39fd51['join'](''):null;}[_0x5ca26e(0x1bf)](_0x194b4c,_0x28ce82,_0x47ee01){const _0x8dfef5=_0x5ca26e,_0x33285c=_0x194b4c['getToken'](),_0x3840a5=_0x33285c[_0x8dfef5(0x11b)](),_0x68fcc9=_0x3840a5[_0x8dfef5(0x117)](),_0x124cfd=this[_0x8dfef5(0x178)](_0x68fcc9),_0x209617=_0x47ee01(_0x124cfd);let _0x3f571f=0x0;_0x33285c===c['DEFAULT_TOKEN_TYPE_ROOT']?_0x3f571f=0x3:_0x33285c===c[_0x8dfef5(0x13b)]?_0x3f571f=0x4:_0x33285c===c[_0x8dfef5(0x153)]?_0x3f571f=0x5:c[_0x8dfef5(0x19c)]['has'](_0x124cfd)?(_0x28ce82['push'](''+this[_0x8dfef5(0x116)]+_0x3840a5),this[_0x8dfef5(0x17b)]=!0x0):_0x68fcc9===c[_0x8dfef5(0x12f)]?(_0x28ce82[_0x8dfef5(0x189)](''+this[_0x8dfef5(0x116)]+_0x3840a5),this[_0x8dfef5(0x17b)]=!0x0,_0x3f571f=0x2):_0x68fcc9===c[_0x8dfef5(0x182)]?(_0x28ce82[_0x8dfef5(0x189)](''+this[_0x8dfef5(0x116)]+_0x3840a5),this['_hasNewExcelFunction']=!0x0,_0x3f571f=0x1):_0x68fcc9===c[_0x8dfef5(0x16d)][_0x8dfef5(0x10d)]?_0x3f571f=0x8:c[_0x8dfef5(0x150)][_0x8dfef5(0x1bd)](_0x68fcc9)?_0x3f571f=0x7:_0x68fcc9===c[_0x8dfef5(0x126)][_0x8dfef5(0x10b)]?(this[_0x8dfef5(0x1b2)](_0x194b4c)&&(_0x3f571f=0x9),_0x28ce82[_0x8dfef5(0x189)](_0x33285c)):(_0x28ce82[_0x8dfef5(0x189)](_0x33285c),_0x3f571f=0xa),_0x209617?(_0x3f571f!==0x2&&_0x3f571f!==0x1&&(_0x3f571f=0x6),_0x28ce82[_0x8dfef5(0x189)]('(')):_0x3f571f===0x9&&_0x28ce82[_0x8dfef5(0x189)]('(');const _0x35ee7e=_0x194b4c[_0x8dfef5(0x1e4)](),_0x3abbd6=_0x35ee7e[_0x8dfef5(0xf2)];if(_0x3f571f===0x2){const _0x4a142c=_0x35ee7e[0x0];let _0x10b967=0x0;_0x4a142c instanceof c[_0x8dfef5(0x152)]&&_0x4a142c[_0x8dfef5(0xee)]()===c[_0x8dfef5(0x153)]&&(_0x10b967=0x1);for(let _0xdd53e4=_0x10b967;_0xdd53e4<_0x3abbd6-0x1;_0xdd53e4++){const _0x24c369=_0x35ee7e[_0xdd53e4];if(_0x24c369 instanceof c[_0x8dfef5(0x152)]){const _0x694234=_0x24c369['getChildren']()[0x0];typeof _0x694234=='string'&&(this['_lambdaFunctionParameterSet'][_0x8dfef5(0x1bd)](_0x694234)&&console[_0x8dfef5(0x1a6)](_0x8dfef5(0x14e)+_0x694234+'\x22\x20is\x20duplicated.'),this[_0x8dfef5(0x1ab)][_0x8dfef5(0x14f)](_0x694234),_0x28ce82['push'](''+this[_0x8dfef5(0xf6)]+_0x694234),this[_0x8dfef5(0x17b)]=!0x0);}_0x28ce82['push'](',');}this[_0x8dfef5(0x19b)](_0x35ee7e[_0x3abbd6-0x1],_0x28ce82,_0x47ee01),_0x10b967===0x1&&(_0x28ce82[_0x8dfef5(0x189)](')'),_0x28ce82['push']('('),this[_0x8dfef5(0x1bf)](_0x4a142c,_0x28ce82,_0x47ee01)),_0x28ce82[_0x8dfef5(0x189)](')');return;}else{if(_0x3f571f===0x1){for(let _0x5bbf85=0x0;_0x5bbf85<_0x3abbd6-0x1;_0x5bbf85++){const _0x2cec12=_0x35ee7e[_0x5bbf85];if(_0x2cec12 instanceof c[_0x8dfef5(0x152)]&&_0x5bbf85%0x2===0x0){const _0x3e1f0d=_0x2cec12['getChildren']()[0x0];if(typeof _0x3e1f0d==_0x8dfef5(0x141)){this[_0x8dfef5(0x1ab)][_0x8dfef5(0x1bd)](_0x3e1f0d)&&console[_0x8dfef5(0x1a6)]('Let\x20variable\x20name\x20\x22'+_0x3e1f0d+_0x8dfef5(0x1aa)),this[_0x8dfef5(0x1ab)][_0x8dfef5(0x14f)](_0x3e1f0d),_0x28ce82[_0x8dfef5(0x189)](''+this['_xlpmPrefix']+_0x3e1f0d),this[_0x8dfef5(0x17b)]=!0x0,_0x28ce82[_0x8dfef5(0x189)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2cec12,_0x28ce82,_0x47ee01),_0x2cec12 instanceof c[_0x8dfef5(0x152)]){const _0x335a8f=_0x35ee7e[_0x5bbf85+0x1];_0x335a8f&&_0x335a8f instanceof c[_0x8dfef5(0x152)]&&_0x28ce82[_0x8dfef5(0x189)](',');}}this[_0x8dfef5(0x19b)](_0x35ee7e[_0x3abbd6-0x1],_0x28ce82,_0x47ee01),_0x28ce82[_0x8dfef5(0x189)](')');return;}else{if(_0x3f571f===0x8){const _0x4071df=_0x35ee7e[0x0],_0x7bdedf=_0x35ee7e[0x1];this['_handleNewFunctionChild'](_0x4071df,_0x28ce82,_0x47ee01),_0x28ce82[_0x8dfef5(0x189)](_0x33285c),this[_0x8dfef5(0x19b)](_0x7bdedf,_0x28ce82,_0x47ee01);return;}}}for(let _0x505e9a=0x0;_0x505e9a<_0x3abbd6;_0x505e9a++){const _0x5a4d4b=_0x35ee7e[_0x505e9a];if(this['_handleNewFunctionChild'](_0x5a4d4b,_0x28ce82,_0x47ee01),_0x5a4d4b instanceof c[_0x8dfef5(0x152)]){const _0x61d65f=_0x35ee7e[_0x505e9a+0x1];_0x61d65f&&_0x61d65f instanceof c[_0x8dfef5(0x152)]&&_0x28ce82[_0x8dfef5(0x189)](',');}}_0x3f571f===0x7&&_0x28ce82[_0x8dfef5(0x189)](_0x33285c),(_0x209617||_0x3f571f===0x9)&&_0x28ce82[_0x8dfef5(0x189)](')');}[_0x5ca26e(0x19b)](_0x1a6d64,_0x12d54d,_0x38df37){const _0x115369=_0x5ca26e;_0x1a6d64 instanceof c['LexerNode']?this[_0x115369(0x1bf)](_0x1a6d64,_0x12d54d,_0x38df37):this[_0x115369(0x1ab)][_0x115369(0x1bd)](_0x1a6d64)?(_0x12d54d['push'](''+this['_xlpmPrefix']+_0x1a6d64),this[_0x115369(0x17b)]=!0x0):_0x12d54d[_0x115369(0x189)](_0x1a6d64);}[_0x5ca26e(0x178)](_0x1e8bcc){const _0x5bb013=_0x5ca26e;let _0x3f0cae=_0x1e8bcc[_0x5bb013(0x11b)]();if(!_0x3f0cae)return _0x3f0cae;const _0x309470=_0x3f0cae[0x0];if((_0x309470===c['prefixToken']['AT']||_0x309470===c['prefixToken'][_0x5bb013(0x10b)]||_0x309470===c[_0x5bb013(0x126)]['PLUS'])&&(_0x3f0cae=_0x3f0cae['slice'](0x1)),!_0x3f0cae)return _0x3f0cae;const _0x12412e=_0x3f0cae[_0x3f0cae[_0x5bb013(0xf2)]-0x1];return c[_0x5bb013(0x150)]['has'](_0x12412e)&&(_0x3f0cae=_0x3f0cae[_0x5bb013(0x132)](0x0,-0x1)),_0x3f0cae;}[_0x5ca26e(0x1b2)](_0x438183){const _0x590c18=_0x5ca26e,_0x29e661=_0x438183[_0x590c18(0x1e4)]()[0x0];if(!_0x29e661||!(_0x29e661 instanceof c[_0x590c18(0x152)])||_0x438183[_0x590c18(0x1e4)]()[_0x590c18(0xf2)]>0x1)return!0x1;const _0x524a15=_0x29e661['getChildren'](),_0x43dd63=_0x524a15[_0x590c18(0xf2)];if(_0x43dd63===0x1)return!0x1;for(let _0x4e94f0=0x0;_0x4e94f0<_0x43dd63;_0x4e94f0++){const _0x2683d4=_0x524a15[_0x4e94f0];if(!(_0x2683d4 instanceof c[_0x590c18(0x152)])&&c['OPERATOR_TOKEN_SET'][_0x590c18(0x1bd)](_0x2683d4))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x1d7a79,_0x202512,_0x116d66,_0x3e8982,_0x2d9320){const _0x1e8c86=_0x5ca26e,_0x23f1cc=this[_0x1e8c86(0x15c)](_0x1d7a79,!0x1);if(!_0x23f1cc||_0x23f1cc===c[_0x1e8c86(0x16e)][_0x1e8c86(0x147)]||Array[_0x1e8c86(0x173)](_0x23f1cc))return null;this[_0x1e8c86(0x108)](),this[_0x1e8c86(0x1a4)]=_0x202512;const _0x535fd1=this['_generateExprTree'](_0x23f1cc,_0x116d66,_0x3e8982,_0x2d9320);return this[_0x1e8c86(0x1a4)]='',this[_0x1e8c86(0x118)](),_0x535fd1;}[_0x5ca26e(0x15e)](_0x3c45bc,_0x42cec9,_0x39c424,_0x5306e9){const _0x8a4dcf=_0x5ca26e,_0xcb6fd4={'value':'','children':[],'startIndex':0x0};let _0x56357c=_0x3c45bc;if(_0x56357c instanceof c[_0x8a4dcf(0x152)]&&(_0x56357c[_0x8a4dcf(0xee)]()===c['DEFAULT_TOKEN_TYPE_ROOT']||_0x56357c[_0x8a4dcf(0xee)]()===c['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x56357c[_0x8a4dcf(0x1e4)]()['length']===0x1&&(_0x56357c=_0x56357c['getChildren']()[0x0]),!(_0x56357c instanceof c[_0x8a4dcf(0x152)]))return this[_0x8a4dcf(0x1a2)](_0x56357c,_0x39c424,_0x5306e9);const _0x3ca107=_0x56357c['getChildren'](),_0x1bf990=_0x3ca107[_0x8a4dcf(0xf2)],_0x1fb1ba=[];this[_0x8a4dcf(0x1bf)](_0x56357c,_0x1fb1ba,_0x42cec9),_0xcb6fd4[_0x8a4dcf(0x18d)]=_0x1fb1ba['join'](''),_0xcb6fd4[_0x8a4dcf(0xf5)]=_0x56357c[_0x8a4dcf(0x19e)]();const _0x50f835=this[_0x8a4dcf(0x17c)](_0x56357c);if(_0x50f835===0x2){const _0x4dd161=_0x3ca107[0x0];if(_0x4dd161 instanceof c[_0x8a4dcf(0x152)]){if(_0x4dd161[_0x8a4dcf(0xee)]()[_0x8a4dcf(0x11b)]()!==c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0xcb6fd4;this[_0x8a4dcf(0x120)](_0x4dd161,_0xcb6fd4,_0x42cec9,_0x39c424,_0x5306e9);}return _0xcb6fd4;}else{if(_0x50f835===0x1){for(let _0x1537e0=0x0;_0x1537e0<_0x1bf990-0x1;_0x1537e0++){const _0x128e4b=_0x3ca107[_0x1537e0];if(_0x128e4b instanceof c[_0x8a4dcf(0x152)]&&_0x1537e0%0x2===0x1){const _0xcb3081=_0x128e4b[_0x8a4dcf(0x1e4)]();if(_0xcb3081[_0x8a4dcf(0xf2)]===0x1&&!(_0xcb3081[0x0]instanceof c[_0x8a4dcf(0x152)]))continue;const _0x2eb11a=this[_0x8a4dcf(0x15e)](_0x128e4b,_0x42cec9,_0x39c424,_0x5306e9);_0x2eb11a&&_0xcb6fd4[_0x8a4dcf(0x101)][_0x8a4dcf(0x189)](_0x2eb11a);}}return _0xcb6fd4;}else{if(_0x50f835===0x8){const _0x485e78=_0x3ca107[0x0];if(_0x485e78 instanceof c[_0x8a4dcf(0x152)]){const _0x5c0fac=_0x485e78[_0x8a4dcf(0x1e4)]()[0x0];_0x5c0fac instanceof c['LexerNode']&&(_0xcb6fd4['startIndex']=_0x5c0fac[_0x8a4dcf(0x19e)]());}if(this[_0x8a4dcf(0x131)](_0x56357c))return _0xcb6fd4;}else{if(_0x50f835===0x7){const _0x32ba7f=_0x3ca107[0x0];if(_0x32ba7f instanceof c['LexerNode']){const _0x5cc092=_0x32ba7f[_0x8a4dcf(0x1e4)]()[0x0];_0x5cc092 instanceof c[_0x8a4dcf(0x152)]&&(_0xcb6fd4[_0x8a4dcf(0xf5)]=_0x5cc092[_0x8a4dcf(0x19e)]());}}}}}return this['_handleChildrenForExprTree'](_0x3ca107,_0x50f835,_0xcb6fd4,_0x42cec9,_0x39c424,_0x5306e9),_0xcb6fd4;}[_0x5ca26e(0xef)](_0x2dbe6b,_0x14e676,_0x189356,_0x293861,_0x3ffc11,_0xa8d797){const _0x34f353=_0x5ca26e;for(let _0x28e706=0x0;_0x28e706<_0x2dbe6b[_0x34f353(0xf2)];_0x28e706++){let _0x42ab3d=_0x2dbe6b[_0x28e706];if(!(_0x42ab3d instanceof c['LexerNode'])){const _0x229f47=this[_0x34f353(0x1a2)](_0x42ab3d,_0x3ffc11,_0xa8d797);_0x229f47&&_0x189356[_0x34f353(0x101)][_0x34f353(0x189)](_0x229f47);continue;}const _0x527c8a=_0x42ab3d[_0x34f353(0x1e4)]();if(_0x527c8a['length']===0x1&&!(_0x527c8a[0x0]instanceof c[_0x34f353(0x152)])){const _0xa8c84c=_0x527c8a[0x0];if(!_0x3ffc11(this[_0x34f353(0x1a4)],_0xa8c84c)&&!this[_0x34f353(0x11f)](_0xa8c84c,_0xa8d797)&&!c[_0x34f353(0x195)](_0xa8c84c))continue;}if(_0x14e676===0x8){const _0x1b6e76=_0x527c8a[0x0];if(_0x1b6e76 instanceof c[_0x34f353(0x152)]){const _0x3a11ff=_0x1b6e76[_0x34f353(0xee)]()['trim']();if(c[_0x34f353(0x195)](_0x3a11ff))continue;_0x42ab3d=_0x1b6e76;}}const _0x18708a=this[_0x34f353(0x15e)](_0x42ab3d,_0x293861,_0x3ffc11,_0xa8d797);_0x18708a&&_0x189356[_0x34f353(0x101)]['push'](_0x18708a);}}[_0x5ca26e(0x131)](_0x1cbc4d){const _0x2c0b60=_0x5ca26e,_0x2a7771=_0x1cbc4d['getChildren']();if(_0x2a7771[_0x2c0b60(0xf2)]<0x2)return!0x1;const _0x4ff24a=_0x2a7771[0x0],_0x35ae80=_0x2a7771[0x1];if(!(_0x4ff24a instanceof c['LexerNode'])||!(_0x35ae80 instanceof c[_0x2c0b60(0x152)]))return!0x1;const _0xa0f9e5=_0x4ff24a['getChildren']()[0x0],_0x294849=_0x35ae80[_0x2c0b60(0x1e4)]()[0x0];if(!(_0xa0f9e5 instanceof c['LexerNode'])||!(_0x294849 instanceof c[_0x2c0b60(0x152)]))return!0x1;const _0xfec503=_0xa0f9e5[_0x2c0b60(0xee)]()[_0x2c0b60(0x11b)](),_0x44e90b=_0x294849[_0x2c0b60(0xee)]()[_0x2c0b60(0x11b)]();return!!c[_0x2c0b60(0x195)](''+_0xfec503+c[_0x2c0b60(0x16d)][_0x2c0b60(0x10d)]+_0x44e90b);}['_handleTextNodeForExprTree'](_0xc83913,_0x35c9b4,_0x412912){const _0x113c65=_0x5ca26e,_0x2f6f89=_0xc83913[_0x113c65(0x11b)]();return _0x2f6f89['startsWith']('{')&&_0x2f6f89['endsWith']('}')||_0x35c9b4(this[_0x113c65(0x1a4)],_0x2f6f89)||this[_0x113c65(0x11f)](_0x2f6f89,_0x412912)||c[_0x113c65(0x195)](_0x2f6f89)?{'value':_0x2f6f89,'children':[],'startIndex':-0x1}:null;}[_0x5ca26e(0x11f)](_0x3a5dd2,_0x4dffa0){const _0x35d95d=_0x5ca26e,{tableName:_0x4247c8}=c[_0x35d95d(0x1b5)](_0x3a5dd2);return _0x4dffa0(this[_0x35d95d(0x1a4)],_0x4247c8)?_0x4247c8:null;}[_0x5ca26e(0x120)](_0x37bd61,_0x3b2f89,_0x4dc56d,_0x4c932d,_0x3a04b7){const _0x5776f2=_0x5ca26e,_0x455c10=_0x37bd61[_0x5776f2(0x1e4)]();for(let _0x4ae0e6=0x0;_0x4ae0e6<_0x455c10['length'];_0x4ae0e6++){const _0x2e3c9a=_0x455c10[_0x4ae0e6];if(!(_0x2e3c9a instanceof c[_0x5776f2(0x152)]))continue;const _0x16a7f5=_0x2e3c9a['getChildren']();if(_0x16a7f5[_0x5776f2(0xf2)]===0x1&&!(_0x16a7f5[0x0]instanceof c[_0x5776f2(0x152)]))continue;const _0x21f53e=this[_0x5776f2(0x15e)](_0x2e3c9a,_0x4dc56d,_0x4c932d,_0x3a04b7);_0x21f53e&&_0x3b2f89[_0x5776f2(0x101)][_0x5776f2(0x189)](_0x21f53e);}}[_0x5ca26e(0x17c)](_0x482b4c){const _0x453454=_0x5ca26e,_0x490022=_0x482b4c[_0x453454(0xee)](),_0x26dc34=_0x490022['trim']()[_0x453454(0x117)]();let _0x4fe333=0x0;return _0x490022===c[_0x453454(0x1de)]?_0x4fe333=0x3:_0x490022===c['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x4fe333=0x4:_0x490022===c[_0x453454(0x153)]?_0x4fe333=0x5:_0x26dc34===c[_0x453454(0x12f)]?_0x4fe333=0x2:_0x26dc34===c[_0x453454(0x182)]?_0x4fe333=0x1:_0x26dc34===c['matchToken'][_0x453454(0x10d)]?_0x4fe333=0x8:c[_0x453454(0x150)][_0x453454(0x1bd)](_0x26dc34)?_0x4fe333=0x7:_0x26dc34===c[_0x453454(0x126)][_0x453454(0x10b)]?this['_checkAddBracketForMinus'](_0x482b4c)&&(_0x4fe333=0x9):_0x4fe333=0xa,_0x4fe333;}}const K={0x0:'j',0x1:'U',0x2:'V',0x3:'t',0x4:'q',0x5:'l',0x6:'s',0x7:'4',0x8:'H',0x9:'g','u':'0','k':'1','Q':'2','A':'3','W':'5','D':'6','U':'7','M':'8','Y':'9','m':'a','g':'b','C':'c','J':'d','c':'e','F':'f','l':'h','x':'i','r':'k','T':'m','p':'n','s':'o','z':'p','B':'r','q':'u','o':'v','b':'w','v':'x','h':'y','y':'z','f':'A','O':'B','n':'C','i':'D','S':'E','H':'F','G':'G','a':'I','t':'J','d':'K','j':'L','I':'M','V':'N','e':'O','E':'P','R':'Q','Z':'R','K':'S','L':'T','N':'W','X':'X','w':'Y','P':'Z'},q='/*\x20c65xp3-Jx6mg5c\x20zBcFcB-3cTz5m3c\x20*/FqpC3xsp\x20JcCBhz3xsp(5xCcp6c,\x20zqg5xCdch)\x20{\x20\x20\x20\x203Bh\x20{\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x205xCcp6capFsEmB3fBBmh\x20=\x205xCcp6c.6z5x3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20sBx9xpIc66m9c\x20=\x20tKeV.zmB6c(m3sg(5xCcp6capFsEmB3fBBmh[Q]));\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(!sBx9xpIc66m9c.qJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sBx9xpIc66m9c.qJ\x20=\x20VqTgcB(5xCcp6capFsEmB3fBBmh[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6NsBrcB\x20=\x203hzcsF\x20NsBrcBG5sgm5KCszc\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x206c5F\x20xp63mpCcsF\x20NsBrcBG5sgm5KCszc;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6OBsb6cB\x20=\x203hzcsF\x20bxpJsb\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x203hzcsF\x20bxpJsb.5sCm3xsp\x20!==\x20\x27qpJcFxpcJ\x27;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Csp3cv3\x20=\x20x6NsBrcB\x20?\x206c5F\x20:\x20(x6OBsb6cB\x20?\x20bxpJsb\x20:\x2095sgm5Llx6);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9cNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[Q]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9c\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(Tc66m9cNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBcNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[A]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBc\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(6x9pm3qBcNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9p2m5xJ\x20=\x20Csp3cv3.__ocBxFh__(6x9pm3qBc,\x20Tc66m9c,\x20zqg5xCdch);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20JsTmxp\x20=\x20sBx9xpIc66m9c.JT;\x20\x20\x20\x20\x20\x20\x20\x20FqpC3xsp\x20x6isTmxpIm3Clxp9(zm33cBp,\x20ls63)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp\x20===\x20ls63)\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp.63mB36Nx3l(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206qFFxv\x20=\x20zm33cBp.65xCc(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(6qFFxv\x20&&\x20!ls63.63mB36Nx3l(\x27.\x27)\x20&&\x20ls63\x20!==\x206qFFxv\x20&&\x20ls63.cpJ6Nx3l(\x27.\x27\x20+\x206qFFxv))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x203Bqc;\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\x20Bc3qBp\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c3\x20JsTmxp2m5xJ\x20=\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(x6OBsb6cB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x20(JsTmxp\x20&&\x20JsTmxp.5cp93l)\x20?\x20JsTmxp.6sTc((JTa3cT)\x20=>\x20x6isTmxpIm3Clxp9(JTa3cT,\x205sCm3xsp.ls63pmTc))\x20:\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(5sCm3xsp.ls63pmTc\x20===\x20\x275sCm5ls63\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20c56c\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20om5xJ\x20=\x206x9p2m5xJ\x20&&\x20JsTmxp2m5xJ;\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20sBx9xpIc66m9c,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Cm3Cl\x20(cBBsB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ:\x20Fm56c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Y extends c[_0x5ca26e(0xed)]{constructor(){const _0x4c3ecd=_0x5ca26e;super(...arguments),y(this,_0x4c3ecd(0x179),new Map());}[_0x5ca26e(0x15b)](){const _0x47fc87=_0x5ca26e;super['dispose'](),this[_0x47fc87(0x179)][_0x47fc87(0x1dd)]();}async[_0x5ca26e(0x165)](_0x40f252=!0x1){const _0x1376a7=_0x5ca26e;this[_0x1376a7(0x17d)]();const _0xa527d7=this[_0x1376a7(0x186)][_0x1376a7(0x1c8)](),_0x53e0f4=this[_0x1376a7(0x13a)][_0x1376a7(0x17f)](),_0x22f307=this['_currentConfigService']['getClearDependencyTreeCache']();_0x22f307!=null&&Object[_0x1376a7(0x124)](_0x22f307)['forEach'](_0x56d2a3=>{const _0x9783f8=_0x1376a7;_0x56d2a3!=null&&Object[_0x9783f8(0x124)](_0x22f307[_0x56d2a3])['forEach'](_0x3b0d0a=>{const _0x527332=_0x9783f8;_0x3b0d0a!=null&&(this[_0x527332(0x16c)][_0x527332(0x196)](_0x56d2a3,_0x3b0d0a),this[_0x527332(0x16c)][_0x527332(0x157)](_0x56d2a3,_0x3b0d0a),this[_0x527332(0x16c)][_0x527332(0x1a9)](_0x56d2a3,_0x3b0d0a));});});const _0x9759c4=this[_0x1376a7(0x186)]['getUnitData']();await this['_generateTreeList'](_0xa527d7,_0x53e0f4,_0x9759c4),this[_0x1376a7(0x16c)][_0x1376a7(0x11c)]();const _0x2c32fa=this[_0x1376a7(0x10f)](),_0x40cdab=this[_0x1376a7(0x1ae)](_0x2c32fa);return this[_0x1376a7(0x1da)](_0x40cdab)&&this[_0x1376a7(0xf4)][_0x1376a7(0x171)](),_0x40f252&&this['_runtimeService'][_0x1376a7(0x17a)](this[_0x1376a7(0x1a5)](Array['from'](this[_0x1376a7(0x179)][_0x1376a7(0x1e6)]()))),this['_dependencyTreeCache'][_0x1376a7(0x1dd)](),this[_0x1376a7(0x1cd)][_0x1376a7(0x1dd)](),this[_0x1376a7(0x16c)][_0x1376a7(0x164)](),this['_runtimeService'][_0x1376a7(0x1b8)](),Promise[_0x1376a7(0x13e)](_0x40cdab);}[_0x5ca26e(0xfd)](_0x29abaf,_0x2e04c8){const _0x11c742=_0x5ca26e,_0x3b4d99=[_0x29abaf];for(;_0x3b4d99['length']>0x0;){const _0x4788c3=_0x3b4d99[_0x3b4d99['length']-0x1];if((_0x2e04c8[_0x11c742(0x143)](_0x4788c3)||0x0)===0x0){_0x2e04c8['set'](_0x4788c3,0x1);const _0x49d3a9=this['_dependencyTreeCache'][_0x11c742(0x143)](_0x4788c3);if(_0x49d3a9==null){_0x2e04c8[_0x11c742(0x19d)](_0x4788c3,0x2),_0x3b4d99[_0x11c742(0x129)]();continue;}const _0x383cba=this[_0x11c742(0x16c)][_0x11c742(0x18b)](_0x49d3a9['toRTreeItem']());for(const _0x4aab60 of _0x383cba){const _0x1d85a1=_0x2e04c8[_0x11c742(0x143)](_0x4aab60)||0x0;if(_0x1d85a1===0x1)return!0x0;_0x1d85a1===0x0&&_0x3b4d99[_0x11c742(0x189)](_0x4aab60);}}else _0x2e04c8['set'](_0x4788c3,0x2),_0x3b4d99['pop']();}return!0x1;}[_0x5ca26e(0x1da)](_0x8d40e8){const _0x1d50fc=_0x5ca26e,_0x1703f0=new Map();for(const _0x1aa3de of _0x8d40e8)if(!_0x1703f0[_0x1d50fc(0x1bd)](_0x1aa3de[_0x1d50fc(0x139)])&&this[_0x1d50fc(0xfd)](_0x1aa3de[_0x1d50fc(0x139)],_0x1703f0))return!0x0;return _0x1703f0[_0x1d50fc(0x1dd)](),!0x1;}[_0x5ca26e(0x112)](_0x133a34,_0x3ebb2c,_0x1140c3){const _0x4c8487=_0x5ca26e,{unitId:_0x17198e,subUnitId:_0x496c6a,dependencyRanges:_0x26cad4,getDirtyData:_0x2ec87c}=_0x1140c3,_0x45aa5c=_0x3ebb2c||c[_0x4c8487(0x12d)](this[_0x4c8487(0x16c)]),_0x6da15e=new c[(_0x4c8487(0x185))](_0x45aa5c);_0x6da15e['unitId']=_0x17198e,_0x6da15e['subUnitId']=_0x496c6a,_0x6da15e[_0x4c8487(0x174)]=_0x26cad4,_0x6da15e[_0x4c8487(0x15f)]=_0x2ec87c;const _0x75351f=_0x2ec87c(this[_0x4c8487(0x186)][_0x4c8487(0x15f)](),this[_0x4c8487(0xf4)]['getAllRuntimeData']()),_0x25c516=this['_convertDirtyRangesToUnitRange'](_0x75351f[_0x4c8487(0x134)]);return _0x6da15e['featureDirtyRanges']=_0x25c516,_0x6da15e['featureId']=_0x133a34,_0x6da15e[_0x4c8487(0x1a3)]=c[_0x4c8487(0x1e3)][_0x4c8487(0x158)],this[_0x4c8487(0x16c)][_0x4c8487(0x1d0)](_0x17198e,_0x496c6a,_0x133a34,_0x6da15e),this[_0x4c8487(0x179)][_0x4c8487(0x19d)](_0x6da15e[_0x4c8487(0x139)],_0x6da15e),this[_0x4c8487(0x16c)][_0x4c8487(0x1be)](_0x1140c3[_0x4c8487(0x138)],_0x1140c3[_0x4c8487(0x184)],_0x133a34)&&(_0x6da15e[_0x4c8487(0x192)]=!0x0),_0x6da15e;}[_0x5ca26e(0x1a7)](_0x45bdc0,_0x8dc08d,_0x5a16ee){const _0xdb015b=_0x5ca26e;var _0x23ae63;for(const _0x5455dd of _0x8dc08d){const _0x97d0a4=_0x45bdc0[_0x5455dd];if(_0x97d0a4==null)continue;const _0x31d8e8=Object[_0xdb015b(0x124)](_0x97d0a4);for(const _0x4b5c80 of _0x31d8e8){const _0x194823=_0x97d0a4[_0x4b5c80];if(_0x194823==null)continue;const _0x347c07=Object[_0xdb015b(0x124)](_0x194823);for(const _0x1cb843 of _0x347c07){const _0xa0bfeb=this[_0xdb015b(0x16c)]['hasOtherFormulaDataMainData'](_0x1cb843),_0x4316e5=_0x194823[_0x1cb843],{f:_0x507e2b,ranges:_0x5a0a51}=_0x4316e5;let _0x30fd02=!0x1;_0xa0bfeb&&(_0x30fd02=!0x0);const {firstRow:_0x54d772,firstColumn:_0x4be5b}=this[_0xdb015b(0x1e1)](_0x5a0a51),_0x2bbbae=this[_0xdb015b(0x16c)][_0xdb015b(0xf0)](_0x5455dd,_0x4b5c80,_0x1cb843),_0x79e591=(_0x23ae63=_0x2bbbae==null?void 0x0:_0x2bbbae[_0xdb015b(0x16a)](0x0,0x0))!=null?_0x23ae63:c[_0xdb015b(0x12d)](this[_0xdb015b(0x16c)]),_0x2c4b26=new c[(_0xdb015b(0x185))](_0x79e591);for(let _0x1b0192=0x0;_0x1b0192<_0x5a0a51['length'];_0x1b0192++){const _0x4a0861=_0x5a0a51[_0x1b0192],{startRow:_0x1983d5,startColumn:_0x390517,endRow:_0x116d34,endColumn:_0x119e70}=_0x4a0861;for(let _0x2ebdf4=_0x1983d5;_0x2ebdf4<=_0x116d34;_0x2ebdf4++)for(let _0xea1cbf=_0x390517;_0xea1cbf<=_0x119e70;_0xea1cbf++){const _0x1e8430=_0xea1cbf-_0x4be5b,_0x334d79=_0x2ebdf4-_0x54d772;if(_0x1e8430===0x0&&_0x334d79===0x0){_0x2c4b26[_0xdb015b(0x14b)]=_0x507e2b,_0x2c4b26[_0xdb015b(0x138)]=_0x5455dd,_0x2c4b26[_0xdb015b(0x184)]=_0x4b5c80,_0x2c4b26[_0xdb015b(0x1c3)]=_0x1cb843,_0x2c4b26[_0xdb015b(0x1a3)]=c['FormulaDependencyTreeType'][_0xdb015b(0x170)],_0x2c4b26[_0xdb015b(0x192)]=_0x30fd02,_0x5a16ee[_0xdb015b(0x189)](_0x2c4b26),this[_0xdb015b(0x179)][_0xdb015b(0x19d)](_0x2c4b26['treeId'],_0x2c4b26),this[_0xdb015b(0x16c)]['addOtherFormulaDependency'](_0x5455dd,_0x4b5c80,_0x1cb843,_0x2c4b26),this[_0xdb015b(0x16c)][_0xdb015b(0xf1)](_0x2c4b26);continue;}const _0x33cd08=new c[(_0xdb015b(0x18c))]();_0x33cd08[_0xdb015b(0x139)]=(_0x2bbbae==null?void 0x0:_0x2bbbae[_0xdb015b(0x16a)](_0x1e8430,_0x334d79))||c['generateRandomDependencyTreeId'](this[_0xdb015b(0x16c)]),_0x33cd08[_0xdb015b(0x14a)]=_0x2c4b26,_0x33cd08['refOffsetX']=_0x1e8430,_0x33cd08[_0xdb015b(0x144)]=_0x334d79,_0x33cd08[_0xdb015b(0x192)]=_0x30fd02,_0x33cd08[_0xdb015b(0x1a3)]=c[_0xdb015b(0x1e3)][_0xdb015b(0x170)],this[_0xdb015b(0x16c)][_0xdb015b(0x1e5)](_0x5455dd,_0x4b5c80,_0x1cb843,_0x33cd08),this[_0xdb015b(0x16c)][_0xdb015b(0xf1)](_0x33cd08),_0x5a16ee[_0xdb015b(0x189)](_0x33cd08),this[_0xdb015b(0x179)][_0xdb015b(0x19d)](_0x33cd08[_0xdb015b(0x139)],_0x33cd08);}}this['_dependencyManagerService'][_0xdb015b(0x172)](_0x1cb843);}}}}[_0x5ca26e(0x1b1)](_0x48cf17,_0x4ab7ae,_0x3abd27,_0x31a241){const _0x4d4080=_0x5ca26e;for(const _0x3e165e of _0x48cf17){const _0x45a73c=_0x4ab7ae[_0x3e165e];if(_0x45a73c==null)continue;const _0x511a9d=Object['keys'](_0x45a73c);for(const _0x4f53fc of _0x511a9d){const _0x5bd60c=new v[(_0x4d4080(0x11d))](_0x45a73c[_0x4f53fc]||{}),_0x1adac0=new Map();_0x5bd60c[_0x4d4080(0x125)]((_0x19a54b,_0x4b281a,_0x4c6452)=>{const _0x52fc9d=_0x4d4080;if(_0x4c6452==null)return!0x0;const {x:_0x471fdc=0x0,y:_0x1bee1a=0x0,si:_0xf89351}=_0x4c6452;if(!(_0x471fdc===0x0&&_0x1bee1a===0x0&&_0xf89351!=null))return!0x0;const _0x11c557=this[_0x52fc9d(0x177)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a,_0x3abd27,_0x4c6452),_0x5c84b9=this[_0x52fc9d(0x16c)][_0x52fc9d(0x1bc)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a);_0x5c84b9!=null?_0x11c557['treeId']=_0x5c84b9:(this[_0x52fc9d(0x16c)][_0x52fc9d(0x161)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a,_0x11c557),this['_dependencyManagerService'][_0x52fc9d(0xf1)](_0x11c557)),_0x1adac0[_0x52fc9d(0x19d)](_0xf89351,_0x11c557),_0x31a241[_0x52fc9d(0x189)](_0x11c557),this['_dependencyTreeCache'][_0x52fc9d(0x19d)](_0x11c557[_0x52fc9d(0x139)],_0x11c557);}),_0x5bd60c[_0x4d4080(0x125)]((_0x2a9255,_0x40bfb9,_0x952a7)=>{const _0x44405d=_0x4d4080;if(_0x952a7==null)return!0x0;const {x:_0x1663b2=0x0,y:_0x541964=0x0,si:_0x217c96}=_0x952a7;if(_0x1663b2===0x0&&_0x541964===0x0&&_0x217c96!=null)return!0x0;let _0x50f89d;if(_0x217c96&&_0x1adac0[_0x44405d(0x1bd)](_0x217c96)){const _0xc22580=_0x1adac0[_0x44405d(0x143)](_0x217c96);_0x50f89d=this[_0x44405d(0x1e2)](_0xc22580,_0x952a7);}else _0x50f89d=this[_0x44405d(0x177)](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9,_0x3abd27,_0x952a7);const _0x1fbe49=this[_0x44405d(0x16c)]['getFormulaDependency'](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9);_0x1fbe49!=null?_0x50f89d[_0x44405d(0x139)]=_0x1fbe49:(this[_0x44405d(0x16c)][_0x44405d(0x161)](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9,_0x50f89d),this[_0x44405d(0x16c)][_0x44405d(0xf1)](_0x50f89d)),_0x31a241[_0x44405d(0x189)](_0x50f89d),this[_0x44405d(0x179)]['set'](_0x50f89d[_0x44405d(0x139)],_0x50f89d);}),_0x1adac0[_0x4d4080(0x1dd)]();}}}[_0x5ca26e(0x177)](_0x4c4b91,_0x480ae2,_0x48c6ce,_0x1ed15f,_0x55ca6b,_0x4fb3cf){const _0x37ea6f=_0x5ca26e,{f:_0x102ff0,x:_0x1c9d3c=0x0,y:_0x3fbffe=0x0}=_0x4fb3cf,_0x5479d4=new c[(_0x37ea6f(0x185))](c[_0x37ea6f(0x12d)](this[_0x37ea6f(0x16c)])),_0x411eb4=_0x55ca6b[_0x4c4b91][_0x480ae2];return _0x5479d4['formula']=_0x102ff0,_0x5479d4[_0x37ea6f(0x138)]=_0x4c4b91,_0x5479d4['subUnitId']=_0x480ae2,_0x5479d4[_0x37ea6f(0x103)]=_0x48c6ce,_0x5479d4[_0x37ea6f(0x1c2)]=_0x1ed15f,_0x5479d4[_0x37ea6f(0x151)]=_0x411eb4[_0x37ea6f(0x151)],_0x5479d4[_0x37ea6f(0x114)]=_0x411eb4['columnCount'],_0x5479d4;}[_0x5ca26e(0x10f)](){const _0x562fed=_0x5ca26e,_0x1d933d=[],_0x1bd421=new Set(),_0x567df3=this[_0x562fed(0x186)][_0x562fed(0x180)](),_0x57f669=this[_0x562fed(0x186)][_0x562fed(0x14d)](),_0xd56ce0=this[_0x562fed(0x16c)][_0x562fed(0x18b)](_0x57f669),_0x11ada9=this[_0x562fed(0x1cd)][_0x562fed(0x123)](_0x57f669);for(const _0x5063fc of _0x11ada9)_0xd56ce0[_0x562fed(0x14f)](_0x5063fc);for(const [_0x1e85dc,_0x26059c]of this[_0x562fed(0x179)])(_0x567df3||_0x26059c[_0x562fed(0x166)]||_0x26059c[_0x562fed(0x193)](this[_0x562fed(0x186)][_0x562fed(0x1e8)]())||_0xd56ce0['has'](_0x1e85dc)&&!_0x26059c[_0x562fed(0x119)](this['_currentConfigService'][_0x562fed(0x127)]()))&&!_0x1bd421[_0x562fed(0x1bd)](_0x1e85dc)&&(_0x1d933d[_0x562fed(0x189)](_0x26059c),_0x1bd421[_0x562fed(0x14f)](_0x1e85dc));for(const [_0x19a725,_0xa81583]of this['_dependencyTreeCache'])_0xa81583['isVirtual']||(_0xa81583[_0x562fed(0x174)][_0x562fed(0xf2)]=0x0);return _0x1d933d;}[_0x5ca26e(0x159)](_0x45718a){const _0xe898fc=_0x5ca26e;return this['_dependencyTreeCache'][_0xe898fc(0x143)](_0x45718a);}['_getTreeNode'](_0x992c8c){const _0x8e8026=_0x5ca26e;return c[_0x8e8026(0x183)](_0x992c8c[_0x8e8026(0x138)],_0x992c8c[_0x8e8026(0x14b)],this[_0x8e8026(0x1af)],this[_0x8e8026(0x135)],this[_0x8e8026(0x186)]);}*[_0x5ca26e(0x106)](_0x1ac2ab,_0x1455eb){const _0x3b0a08=_0x5ca26e,_0x28a6c0=_0x1ac2ab,_0x536588=new Set();for(;_0x28a6c0[_0x3b0a08(0xf2)]>0x0;){const _0x52da85=_0x28a6c0[_0x3b0a08(0x129)]();if(_0x536588[_0x3b0a08(0x1dd)](),_0x52da85===void 0x0||_0x52da85[_0x3b0a08(0x130)]())continue;if(_0x52da85[_0x3b0a08(0x1ad)]()){yield _0x52da85,_0x52da85[_0x3b0a08(0x1c6)](),_0x1455eb['add'](_0x52da85[_0x3b0a08(0x139)]);continue;}const _0xfbf36e=this['_dependencyManagerService'][_0x3b0a08(0x18b)](_0x52da85[_0x3b0a08(0x1bb)](),_0x1455eb),_0x456d0c=this['_dependencyRTreeCacheForAddressFunction'][_0x3b0a08(0x123)](_0x52da85[_0x3b0a08(0x1bb)](),_0x1455eb);for(const _0x16a286 of _0x456d0c)_0xfbf36e[_0x3b0a08(0x14f)](_0x16a286);for(const _0x517bc4 of _0xfbf36e){const _0x5b41ca=this['_dependencyTreeCache'][_0x3b0a08(0x143)](_0x517bc4);if(!_0x5b41ca){console['error'](_0x3b0a08(0xeb),_0x517bc4);continue;}_0x5b41ca[_0x3b0a08(0x1ad)]()||_0x52da85[_0x3b0a08(0x130)]()||_0x536588['add'](_0x5b41ca);}if(_0xfbf36e[_0x3b0a08(0x1dd)](),_0x536588[_0x3b0a08(0x154)]===0x0)yield _0x52da85,_0x52da85[_0x3b0a08(0x1c6)](),_0x1455eb['add'](_0x52da85[_0x3b0a08(0x139)]);else{_0x52da85[_0x3b0a08(0x10c)](),_0x28a6c0['push'](_0x52da85);for(const _0x3c7db9 of _0x536588)_0x28a6c0['push'](_0x3c7db9);}}_0x28a6c0[_0x3b0a08(0xf2)]=0x0,_0x536588[_0x3b0a08(0x1dd)]();}[_0x5ca26e(0x1ae)](_0x17dce0){const _0x4c696f=_0x5ca26e,_0x7c13c4=[],_0x38db87=new Set();for(const _0x1ebe1c of this[_0x4c696f(0x106)](_0x17dce0,_0x38db87))_0x7c13c4[_0x4c696f(0x189)](_0x1ebe1c);return _0x7c13c4;}async[_0x5ca26e(0x1e7)](){const _0x11c19e=_0x5ca26e;return await this[_0x11c19e(0xf7)](),Array[_0x11c19e(0x155)](this[_0x11c19e(0x179)][_0x11c19e(0x1e6)]());}['_getDependencyTreeParenIds'](_0x23945c){const _0x12b264=_0x5ca26e;return this[_0x12b264(0x16c)]['searchDependency'](_0x23945c['toRTreeItem']());}['_getDependencyTreeChildrenIds'](_0x3be0b2){const _0x221f31=_0x5ca26e,_0x493596=new Set(),_0x140ef0=_0x3be0b2[_0x221f31(0x174)];for(const [_0x36c371,_0x33b43a]of this[_0x221f31(0x179)])for(const _0x31b7e0 of _0x140ef0){const _0x12019f=_0x31b7e0[_0x221f31(0x138)],_0xbf2338=_0x31b7e0[_0x221f31(0x12c)];if(_0x33b43a[_0x221f31(0x138)]!==_0x12019f||_0x33b43a[_0x221f31(0x184)]!==_0xbf2338)continue;const _0x382eed=_0x31b7e0[_0x221f31(0x19f)];if(_0x33b43a[_0x221f31(0x194)](_0x382eed)){_0x493596[_0x221f31(0x14f)](_0x36c371);break;}}return _0x493596;}[_0x5ca26e(0x111)](){const _0x2c373f=_0x5ca26e;this[_0x2c373f(0x16c)][_0x2c373f(0x11c)]();}[_0x5ca26e(0x160)](){const _0x58f01c=_0x5ca26e;this['_formulaDependencyTreeModel'][_0x58f01c(0x1dd)](),this[_0x58f01c(0x179)][_0x58f01c(0x1dd)](),this[_0x58f01c(0x16c)][_0x58f01c(0x164)]();}}class V extends c[_0x5ca26e(0x1c1)]{async[_0x5ca26e(0x1e0)](_0x30da72=!0x1){const _0x49abaa=_0x5ca26e;_0x30da72?this['_runtimeService'][_0x49abaa(0x121)](c[_0x49abaa(0x10e)][_0x49abaa(0x149)]):this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c[_0x49abaa(0x10e)]['START_DEPENDENCY']),this[_0x49abaa(0x1d4)][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]());const _0x508341=await this[_0x49abaa(0x167)][_0x49abaa(0x165)](this[_0x49abaa(0x1d7)]),_0x1c2fbc=this[_0x49abaa(0x169)];_0x30da72?(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c['FormulaExecuteStageType'][_0x49abaa(0x16b)]),this['_runtimeService'][_0x49abaa(0xfc)](_0x508341[_0x49abaa(0xf2)])):(this[_0x49abaa(0xf4)]['setFormulaExecuteStage'](c[_0x49abaa(0x10e)][_0x49abaa(0x1b0)]),this[_0x49abaa(0xf4)][_0x49abaa(0x1b7)](_0x508341[_0x49abaa(0xf2)])),this[_0x49abaa(0x1d4)]['next'](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]());let _0x2cc1ae=[];const _0xd27223=this['_configService'][_0x49abaa(0x115)](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x4fbb68=(_0xd27223==null?void 0x0:_0xd27223[_0x49abaa(0xf3)])||c[_0x49abaa(0x122)];let _0x321d4b=0x0;const _0x229504=_0x508341[_0x49abaa(0xf2)];for(;_0x508341['length']>0x0;){const _0x1ce4c4=_0x508341[_0x49abaa(0x129)](),_0x42dea4=c['generateAstNode'](_0x1ce4c4[_0x49abaa(0x138)],_0x1ce4c4['formula'],this[_0x49abaa(0x1af)],this['_astTreeBuilder'],this[_0x49abaa(0x186)]),_0x177dad={'node':_0x42dea4,'refOffsetX':_0x1ce4c4[_0x49abaa(0x13d)],'refOffsetY':_0x1ce4c4['refOffsetY']},_0x276feb=_0x1ce4c4['getDirtyData'];if(_0x321d4b%_0x4fbb68===0x0&&(await new Promise(_0x9815d2=>{const _0x270d20=_0x49abaa,_0x1497f1=v[_0x270d20(0x13c)](_0x9815d2);_0x2cc1ae[_0x270d20(0x189)](_0x1497f1);}),_0x30da72?(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c[_0x49abaa(0x10e)][_0x49abaa(0x146)]),this['_runtimeService'][_0x49abaa(0x1cb)](_0x321d4b+0x1)):(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c['FormulaExecuteStageType'][_0x49abaa(0x1b4)]),this['_runtimeService'][_0x49abaa(0x13f)](_0x321d4b+0x1)),this['_executionInProgressListener$'][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]()),this['_runtimeService']['isStopExecution']()||_0x177dad==null&&_0x276feb==null)){this['_runtimeService']['setFormulaExecuteStage'](c[_0x49abaa(0x10e)]['IDLE']),this[_0x49abaa(0xf4)][_0x49abaa(0x104)](),this['_executionCompleteListener$'][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x187)]());return;}this['_runtimeService'][_0x49abaa(0x1c0)](_0x1ce4c4[_0x49abaa(0x103)],_0x1ce4c4['column'],_0x1ce4c4[_0x49abaa(0x151)],_0x1ce4c4[_0x49abaa(0x114)],_0x1ce4c4[_0x49abaa(0x184)],_0x1ce4c4['unitId']);let _0x313ab5;if(_0x276feb!=null&&_0x1ce4c4[_0x49abaa(0x145)]!=null){const {runtimeCellData:_0x57fff8,dirtyRanges:_0x4e3b08}=_0x276feb(this['_currentConfigService'][_0x49abaa(0x15f)](),this['_runtimeService'][_0x49abaa(0x187)]());this[_0x49abaa(0xf4)][_0x49abaa(0x1db)](_0x1ce4c4[_0x49abaa(0x145)],_0x57fff8),this['_runtimeService'][_0x49abaa(0x1a8)](_0x1ce4c4['featureId'],_0x4e3b08);}else _0x177dad!=null&&(_0x1c2fbc[_0x49abaa(0x1ac)](_0x177dad[_0x49abaa(0x1b9)])?_0x313ab5=await _0x1c2fbc[_0x49abaa(0x15d)](_0x177dad):_0x313ab5=_0x1c2fbc['execute'](_0x177dad),_0x1ce4c4[_0x49abaa(0x1c3)]!=null?this['_runtimeService'][_0x49abaa(0x1d9)](_0x1ce4c4['formulaId'],_0x1ce4c4['refOffsetX'],_0x1ce4c4['refOffsetY'],_0x313ab5):this[_0x49abaa(0xf4)][_0x49abaa(0x1dc)](_0x313ab5));_0x42dea4[_0x49abaa(0x136)](),_0x321d4b++;}return _0x2cc1ae[_0x49abaa(0x18e)](_0x21cc1d=>_0x21cc1d()),_0x2cc1ae=[],_0x229504>0x0?this[_0x49abaa(0xf4)][_0x49abaa(0x12e)]():_0x30da72||this[_0x49abaa(0xf4)]['markedAsNoFunctionsExecuted'](),this[_0x49abaa(0xf4)][_0x49abaa(0x187)]();}}class z extends c['DependencyManagerBaseService']{constructor(){const _0xf2ee68=_0x5ca26e;super(...arguments),y(this,_0xf2ee68(0x1c4),new Map()),y(this,_0xf2ee68(0x1d1),new v[(_0xf2ee68(0x1d6))](!0x0));}[_0x5ca26e(0x197)](){const _0x498873=_0x5ca26e;this[_0x498873(0x11a)][_0x498873(0x1dd)](),this['_featureFormulaData']['clear'](),this[_0x498873(0x1d8)]['clear'](),this['_dependencyRTreeCache'][_0x498873(0x1dd)](),this[_0x498873(0x1c4)]['clear'](),this[_0x498873(0x190)](),this['_otherFormulaDataMainData'][_0x498873(0x1dd)]();}[_0x5ca26e(0x1e5)](_0x2fff61,_0x55ad11,_0x2a2e4c,_0x835876){const _0x2e5b6f=_0x5ca26e;this['_otherFormulaData'][_0x2e5b6f(0x1bd)](_0x2fff61)||this[_0x2e5b6f(0x11a)][_0x2e5b6f(0x19d)](_0x2fff61,new Map());const _0x5556d1=this[_0x2e5b6f(0x11a)][_0x2e5b6f(0x143)](_0x2fff61);_0x5556d1[_0x2e5b6f(0x1bd)](_0x55ad11)||_0x5556d1[_0x2e5b6f(0x19d)](_0x55ad11,new Map());const _0x1ee652=_0x5556d1[_0x2e5b6f(0x143)](_0x55ad11);_0x1ee652[_0x2e5b6f(0x1bd)](_0x2a2e4c)||_0x1ee652[_0x2e5b6f(0x19d)](_0x2a2e4c,new v[(_0x2e5b6f(0x11d))]()),_0x1ee652[_0x2e5b6f(0x143)](_0x2a2e4c)[_0x2e5b6f(0xfb)](_0x835876['refOffsetX'],_0x835876[_0x2e5b6f(0x144)],_0x835876['treeId']);}[_0x5ca26e(0x1cf)](_0x4a9b9d,_0x342845,_0x2d35e1){const _0x8e08a0=_0x5ca26e,_0x27f438=this[_0x8e08a0(0x11a)][_0x8e08a0(0x143)](_0x4a9b9d);if(_0x27f438&&_0x27f438[_0x8e08a0(0x1bd)](_0x342845)){const _0x184c7a=_0x27f438[_0x8e08a0(0x143)](_0x342845);_0x2d35e1[_0x8e08a0(0x18e)](_0x264e0b=>{const _0x3a23a9=_0x8e08a0,_0x403a77=_0x184c7a[_0x3a23a9(0x143)](_0x264e0b);_0x403a77!=null&&(_0x403a77[_0x3a23a9(0x125)]((_0x362fa5,_0x444713,_0x5ecbe2)=>{const _0x3703fc=_0x3a23a9;this[_0x3703fc(0x1d5)](_0x5ecbe2),this[_0x3703fc(0x100)](_0x5ecbe2);}),_0x184c7a[_0x3a23a9(0x137)](_0x264e0b),this[_0x3a23a9(0x19a)][_0x3a23a9(0x137)](_0x264e0b));}),_0x184c7a['size']===0x0&&_0x27f438[_0x8e08a0(0x137)](_0x342845),_0x27f438['size']===0x0&&this[_0x8e08a0(0x11a)][_0x8e08a0(0x137)](_0x4a9b9d);}}[_0x5ca26e(0x196)](_0x1ef997,_0x5e360e){const _0x101d13=_0x5ca26e,_0x909fb1=this[_0x101d13(0x11a)][_0x101d13(0x143)](_0x1ef997);if(_0x5e360e&&_0x909fb1&&_0x909fb1[_0x101d13(0x1bd)](_0x5e360e)){const _0xb8e96f=_0x909fb1['get'](_0x5e360e);this[_0x101d13(0x140)](_0x1ef997,_0x5e360e);for(const _0x26ff29 of _0xb8e96f[_0x101d13(0x124)]()){const _0x3435ba=_0xb8e96f[_0x101d13(0x143)](_0x26ff29);_0x3435ba!=null&&(_0x3435ba[_0x101d13(0x125)]((_0x1b1d63,_0x50d99a,_0x3b8397)=>{const _0x5dfc19=_0x101d13;this[_0x5dfc19(0x1c4)][_0x5dfc19(0x143)](_0x3b8397)&&this[_0x5dfc19(0x100)](_0x3b8397);}),this[_0x101d13(0x19a)][_0x101d13(0x137)](_0x26ff29));}_0xb8e96f[_0x101d13(0x1dd)]();}else{if(_0x909fb1){for(const _0x1e4726 of _0x909fb1[_0x101d13(0x124)]()){const _0x16db83=_0x909fb1[_0x101d13(0x143)](_0x1e4726);this[_0x101d13(0x140)](_0x1ef997,_0x1e4726);for(const _0xfa7fd3 of _0x16db83['keys']()){const _0x329b95=_0x16db83[_0x101d13(0x143)](_0xfa7fd3);_0x329b95!=null&&(_0x329b95[_0x101d13(0x125)]((_0x517d6e,_0x68387f,_0x793a85)=>{const _0x388266=_0x101d13;this[_0x388266(0x1c4)][_0x388266(0x143)](_0x793a85)&&this[_0x388266(0x100)](_0x793a85);}),this['_otherFormulaDataMainData'][_0x101d13(0x137)](_0xfa7fd3));}}this[_0x101d13(0x11a)][_0x101d13(0x137)](_0x1ef997);}}}[_0x5ca26e(0x1d0)](_0x2c262e,_0x52bcce,_0x5ddeb2,_0x1f3179){const _0x321955=_0x5ca26e;this[_0x321955(0x1c7)][_0x321955(0x1bd)](_0x2c262e)||this[_0x321955(0x1c7)][_0x321955(0x19d)](_0x2c262e,new Map());const _0x368391=this[_0x321955(0x1c7)][_0x321955(0x143)](_0x2c262e);_0x368391[_0x321955(0x1bd)](_0x52bcce)||_0x368391[_0x321955(0x19d)](_0x52bcce,new Map()),_0x368391[_0x321955(0x143)](_0x52bcce)[_0x321955(0x19d)](_0x5ddeb2,_0x1f3179['treeId']);}[_0x5ca26e(0x14c)](_0x219d93,_0x5627a5,_0x182e70){const _0x7907f2=_0x5ca26e,_0x313810=this[_0x7907f2(0x1c7)][_0x7907f2(0x143)](_0x219d93);if(_0x313810&&_0x313810[_0x7907f2(0x1bd)](_0x5627a5)){const _0x30ab94=_0x313810[_0x7907f2(0x143)](_0x5627a5);_0x182e70['forEach'](_0xf703a5=>{const _0x4a283b=_0x7907f2,_0x512f39=_0x30ab94[_0x4a283b(0x143)](_0xf703a5);_0x512f39!=null&&(this[_0x4a283b(0x1d5)](_0x512f39),_0x30ab94['delete'](_0xf703a5),this[_0x4a283b(0x100)](_0x512f39));});}}['clearFeatureFormulaDependency'](_0x27000d,_0x3bf956){const _0x2e06fb=_0x5ca26e,_0x1ca442=this[_0x2e06fb(0x1c7)]['get'](_0x27000d);if(_0x3bf956&&_0x1ca442&&_0x1ca442['has'](_0x3bf956)){const _0x91cd7d=_0x1ca442[_0x2e06fb(0x143)](_0x3bf956);this['_removeDependencyRTreeCacheById'](_0x27000d,_0x3bf956),_0x91cd7d[_0x2e06fb(0x18e)](_0x3b789f=>{const _0xacb0a0=_0x2e06fb;_0x3b789f!=null&&this[_0xacb0a0(0x100)](_0x3b789f);}),_0x91cd7d[_0x2e06fb(0x1dd)]();}else _0x1ca442&&(_0x1ca442[_0x2e06fb(0x18e)]((_0x450ab1,_0x3decdc)=>{const _0x1d4d8f=_0x2e06fb;this[_0x1d4d8f(0x140)](_0x27000d,_0x3decdc),_0x450ab1['forEach'](_0x5a3747=>{const _0x3abac2=_0x1d4d8f;_0x5a3747!=null&&this[_0x3abac2(0x100)](_0x5a3747);});}),this[_0x2e06fb(0x1c7)][_0x2e06fb(0x137)](_0x27000d));}[_0x5ca26e(0x161)](_0x2379eb,_0x3e93e4,_0x3ec9a4,_0x16fa74,_0x5eb218){const _0x3f8e54=_0x5ca26e;this['_formulaData'][_0x3f8e54(0x1bd)](_0x2379eb)||this['_formulaData'][_0x3f8e54(0x19d)](_0x2379eb,new Map());const _0x45c1b7=this[_0x3f8e54(0x1d8)][_0x3f8e54(0x143)](_0x2379eb);_0x45c1b7[_0x3f8e54(0x1bd)](_0x3e93e4)||_0x45c1b7[_0x3f8e54(0x19d)](_0x3e93e4,new v[(_0x3f8e54(0x11d))]()),_0x45c1b7[_0x3f8e54(0x143)](_0x3e93e4)[_0x3f8e54(0xfb)](_0x3ec9a4,_0x16fa74,_0x5eb218[_0x3f8e54(0x139)]);}['removeFormulaDependency'](_0x26ef38,_0xd38d37,_0x21eb45,_0x369672){const _0x561d87=_0x5ca26e,_0x404007=this['_formulaData'][_0x561d87(0x143)](_0x26ef38);if(_0x404007&&_0x404007[_0x561d87(0x1bd)](_0xd38d37)){const _0x184044=_0x404007[_0x561d87(0x143)](_0xd38d37),_0x593910=_0x184044[_0x561d87(0x16a)](_0x21eb45,_0x369672);if(_0x593910==null)return;this[_0x561d87(0x1d5)](_0x593910),_0x184044[_0x561d87(0x16f)](_0x21eb45,_0x369672),this[_0x561d87(0x100)](_0x593910);}}['clearFormulaDependency'](_0x55e2b6,_0x4eb134){const _0x4023f8=_0x5ca26e,_0x372dac=this[_0x4023f8(0x1d8)][_0x4023f8(0x143)](_0x55e2b6);if(_0x4eb134&&_0x372dac&&_0x372dac[_0x4023f8(0x1bd)](_0x4eb134)){const _0x291bde=_0x372dac[_0x4023f8(0x143)](_0x4eb134);this[_0x4023f8(0x140)](_0x55e2b6,_0x4eb134),_0x291bde['forValue']((_0x5368c4,_0x48aa4d,_0x26e7a9)=>{if(_0x26e7a9==null)return!0x0;this['_removeAllTreeMap'](_0x26e7a9);}),_0x291bde[_0x4023f8(0x197)]();}else _0x372dac&&(_0x372dac[_0x4023f8(0x18e)]((_0x1310e8,_0x1cdc57)=>{const _0x2f3397=_0x4023f8;this[_0x2f3397(0x140)](_0x55e2b6,_0x1cdc57),_0x1310e8[_0x2f3397(0x125)]((_0x1d8ae0,_0x3ce648,_0x51c5cc)=>{const _0x1d29e8=_0x2f3397;if(_0x51c5cc==null)return!0x0;this[_0x1d29e8(0x100)](_0x51c5cc);});}),this['_formulaData']['delete'](_0x55e2b6));}[_0x5ca26e(0x1d5)](_0x3477ff){const _0x5d68c7=_0x5ca26e;if(_0x3477ff==null)return;const _0x952a4a=this[_0x5d68c7(0x1c4)]['get'](_0x3477ff);if(_0x952a4a){const _0x44de56=[];for(const [_0x5423ca,_0x2864ab]of _0x952a4a)for(const [_0x8cd4f8,_0x32e0f4]of _0x2864ab)_0x44de56['push']({'unitId':_0x5423ca,'sheetId':_0x8cd4f8,'range':_0x32e0f4,'id':_0x3477ff});this[_0x5d68c7(0x1d1)][_0x5d68c7(0x181)](_0x44de56);}}['removeFormulaDependencyByDefinedName'](_0x531db7,_0x330428){const _0x3d0026=_0x5ca26e,_0xfaba82=this[_0x3d0026(0xff)][_0x3d0026(0x143)](_0x531db7);if(_0xfaba82){const _0x2364be=_0xfaba82['get'](_0x330428);if(_0x2364be){for(const _0x5b733d of _0x2364be)this[_0x3d0026(0x1d5)](_0x5b733d),this['_removeAllTreeMap'](_0x5b733d);_0x2364be[_0x3d0026(0x1dd)]();}}}['openKdTree'](){const _0x252b48=_0x5ca26e;this[_0x252b48(0x1d1)][_0x252b48(0x11c)]();}[_0x5ca26e(0x164)](){const _0x3f60eb=_0x5ca26e;this[_0x3f60eb(0x1d1)]['closeKdTree']();}[_0x5ca26e(0x100)](_0x22256d){const _0x413714=_0x5ca26e;_0x22256d!=null&&this[_0x413714(0x1c4)]['delete'](_0x22256d);}[_0x5ca26e(0x107)](_0x513b86){const _0x11b9ea=_0x5ca26e;var _0x45b65e,_0xc27f7b;const _0x1cbc2b=_0x513b86['rangeList'];let _0x2281db=this[_0x11b9ea(0x1c4)]['get'](_0x513b86[_0x11b9ea(0x139)]);for(let _0x5c4422=0x0;_0x5c4422<_0x1cbc2b[_0x11b9ea(0xf2)];_0x5c4422++){const _0x49aff2=_0x1cbc2b[_0x5c4422];let {unitId:_0x54131a,sheetId:_0xd4ca3c,range:_0x3c22c7}=_0x49aff2;_0x2281db||(_0x2281db=new Map(),this[_0x11b9ea(0x1c4)][_0x11b9ea(0x19d)](_0x513b86[_0x11b9ea(0x139)],_0x2281db)),_0x2281db[_0x11b9ea(0x1bd)](_0x54131a)||_0x2281db[_0x11b9ea(0x19d)](_0x54131a,new Map());const _0x450544=(_0x45b65e=_0x2281db==null?void 0x0:_0x2281db['get'](_0x54131a))==null?void 0x0:_0x45b65e[_0x11b9ea(0x143)](_0xd4ca3c);_0x450544&&(_0x3c22c7={'startRow':Math[_0x11b9ea(0x142)](_0x3c22c7[_0x11b9ea(0x105)],_0x450544['startRow']),'startColumn':Math[_0x11b9ea(0x142)](_0x3c22c7['startColumn'],_0x450544['startColumn']),'endRow':Math[_0x11b9ea(0xfa)](_0x3c22c7[_0x11b9ea(0x1ba)],_0x450544[_0x11b9ea(0x1ba)]),'endColumn':Math[_0x11b9ea(0xfa)](_0x3c22c7[_0x11b9ea(0x102)],_0x450544['endColumn'])}),(_0xc27f7b=_0x2281db[_0x11b9ea(0x143)](_0x54131a))==null||_0xc27f7b['set'](_0xd4ca3c,_0x3c22c7);}}}var G=Object[_0x5ca26e(0x110)],$=(_0x184f7a,_0x27dbf0,_0x4e79bb,_0x144430)=>{for(var _0x28ddbd=_0x144430>0x1?void 0x0:_0x144430?G(_0x27dbf0,_0x4e79bb):_0x27dbf0,_0x1b297f=_0x184f7a['length']-0x1,_0x552096;_0x1b297f>=0x0;_0x1b297f--)(_0x552096=_0x184f7a[_0x1b297f])&&(_0x28ddbd=_0x552096(_0x28ddbd)||_0x28ddbd);return _0x28ddbd;};const j=Number[_0x5ca26e(0x1a1)](0x694f8991);function _0x2d72(_0x528d0d,_0x39fb5c){_0x528d0d=_0x528d0d-0xeb;const _0x3dd32c=_0x3dd3();let _0x2d727d=_0x3dd32c[_0x528d0d];return _0x2d727d;}exports[_0x5ca26e(0xf9)]=class extends c[_0x5ca26e(0x12a)]{[_0x5ca26e(0x162)](){const _0x4ec8ad=_0x5ca26e;var _0x327ae5,_0x2d0309;this[_0x4ec8ad(0x17e)]()?(this[_0x4ec8ad(0x128)][_0x4ec8ad(0x14f)]([c[_0x4ec8ad(0x1c5)],{'useClass':B}]),(_0x327ae5=this[_0x4ec8ad(0x199)])!=null&&_0x327ae5['notExecuteFormula']||[[c['ICalculateFormulaService'],{'useClass':V}],[c[_0x4ec8ad(0x1ca)],{'useClass':z}],[c[_0x4ec8ad(0x12b)],{'useClass':Y}]]['forEach'](_0xc5e4e5=>this[_0x4ec8ad(0x128)][_0x4ec8ad(0x14f)](_0xc5e4e5))):(this['_injector'][_0x4ec8ad(0x14f)]([c['LexerTreeBuilder'],{'useClass':c['LexerTreeBuilder']}]),(_0x2d0309=this['_config'])!=null&&_0x2d0309[_0x4ec8ad(0x1cc)]||[[c[_0x4ec8ad(0x163)],{'useClass':c[_0x4ec8ad(0x1c1)]}],[c[_0x4ec8ad(0x1ca)],{'useClass':c[_0x4ec8ad(0x188)]}],[c['IFormulaDependencyGenerator'],{'useClass':c[_0x4ec8ad(0xed)]}]][_0x4ec8ad(0x18e)](_0x3e5fd5=>this[_0x4ec8ad(0x128)]['add'](_0x3e5fd5)));}['_initLicenseValid'](){const _0x34dd68=_0x5ca26e;var _0x5b81ee;const _0x3e4e6d=(_0x5b81ee=this[_0x34dd68(0x1a0)][_0x34dd68(0x115)](N[_0x34dd68(0x148)]))!=null?_0x5b81ee:{},{ls:_0x392e60,pbk:_0x52d3af}=_0x3e4e6d;if(!_0x392e60||!_0x52d3af)return!0x1;const _0x3c9b4d=N[_0x34dd68(0x109)](q,K),_0x3458d9=new Function('return\x20'+_0x3c9b4d)()(_0x392e60,_0x52d3af),_0x13e0b4=_0x3458d9[_0x34dd68(0x1c9)];return _0x3458d9['valid']&&N['isFeatureAuthorizedWithinTime'](_0x13e0b4,'sf',j)?N['getSheetFeatureLimit'](_0x13e0b4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x5ca26e(0xf9)]=$([v[_0x5ca26e(0x168)](N[_0x5ca26e(0x1d2)])],exports[_0x5ca26e(0xf9)]),exports['LexerTreeProBuilder']=B,Object[_0x5ca26e(0x124)](c)['forEach'](_0xf4b63b=>{const _0x583482=_0x5ca26e;_0xf4b63b!==_0x583482(0x18a)&&!Object[_0x583482(0x1df)][_0x583482(0xec)][_0x583482(0x1b3)](exports,_0xf4b63b)&&Object['defineProperty'](exports,_0xf4b63b,{'enumerable':!0x0,'get':()=>c[_0xf4b63b]});});function _0x3dd3(){const _0x4fe246=['requestImmediateMacroTask','refOffsetX','resolve','setCompletedFormulasCount','_removeDependencyRTreeCacheById','string','min','get','refOffsetY','featureId','CURRENTLY_CALCULATING_ARRAY_FORMULA','VALUE','LS_CONFIG_KEY','START_DEPENDENCY_ARRAY_FORMULA','refTree','formula','removeFeatureFormulaDependency','getDirtyRanges','Lambda\x20parameter\x20name\x20\x22','add','SUFFIX_TOKEN_SET','rowCount','LexerNode','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','size','from','2483576HTDjzh','clearFeatureFormulaDependency','FEATURE_FORMULA','_getTreeById','getNewFormulaWithPrefix','dispose','treeBuilder','executeAsync','_generateExprTree','getDirtyData','_endFormulaDependencyTreeModel','addFormulaDependency','_initializeWithOverride','ICalculateFormulaService','closeKdTree','generate','isDirty','_formulaDependencyGenerator','DependentOn','_interpreter','getValue','START_CALCULATION_ARRAY_FORMULA','_dependencyManagerService','matchToken','ErrorType','realDeleteValue','OTHER_FORMULA','enableCycleDependency','addOtherFormulaDependencyMainData','isArray','rangeList','1212245MouqrB','1569905rRRZyI','_createFDtree','_clearFunctionString','_dependencyTreeCache','setDependencyTreeModelData','_hasNewExcelFunction','_getCurNodeTypeForExprTree','_updateRangeFlatten','_initLicenseValid','getOtherFormulaData','isForceCalculate','bulkRemove','DEFAULT_TOKEN_LET_FUNCTION_NAME','generateAstNode','subUnitId','FormulaDependencyTree','_currentConfigService','getAllRuntimeData','DependencyManagerService','push','default','searchDependency','FormulaDependencyTreeVirtual','value','forEach','7feHtdJ','_restDependencyTreeId','_xlfn.','isCache','dependencySheetName','inRangeData','isReferenceString','clearOtherFormulaDependency','reset','getRuntimeState','_config','_otherFormulaDataMainData','_handleNewFunctionChild','NEW_EXCEL_FUNCTIONS','set','getStartIndex','range','_configService','parseInt','_handleTextNodeForExprTree','type','_currentUnitId','_getAllDependencyJson','error','_registerOtherFormulas','setRuntimeFeatureRange','clearFormulaDependency','\x22\x20is\x20duplicated.','_lambdaFunctionParameterSet','checkAsyncNode','isAdded','_calculateRunList','_lexer','START_CALCULATION','_registerFormulas','_checkAddBracketForMinus','call','CURRENTLY_CALCULATING','splitTableStructuredRef','3834944OLfpDN','setTotalFormulasToCalculate','clearArrayObjectCache','node','endRow','toRTreeItem','getFormulaDependency','has','getFeatureFormulaDependency','_generateNewFunctionString','setCurrent','CalculateFormulaService','column','formulaId','_allTreeMap','LexerTreeBuilder','setSkip','_featureFormulaData','getFormulaData','message','IDependencyManagerService','setCompletedArrayFormulasCount','notExecuteFormula','_dependencyRTreeCacheForAddressFunction','388707XHWmWC','removeOtherFormulaDependency','addFeatureFormulaDependency','_dependencyRTreeCache','UniverLicensePlugin','4VVKFeM','_executionInProgressListener$','_removeDependencyRTreeCache','RTree','_isCalculateTreeModel','_formulaData','setRuntimeOtherData','_checkIsCycleDependency','setRuntimeFeatureCellData','setRuntimeData','clear','DEFAULT_TOKEN_TYPE_ROOT','prototype','_apply','_getFirstCellOfRange','_createVirtualFDtree','FormulaDependencyTreeType','getChildren','addOtherFormulaDependency','values','_getAllTreeList','getDirtyNameMap','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','hasOwnProperty','FormulaDependencyGenerator','getToken','_handleChildrenForExprTree','getOtherFormulaDependency','addFormulaDependencyByDefinedName','length','intervalCount','_runtimeService','startIndex','_xlpmPrefix','_initializeGenerateTreeList','5951898YEeKiD','UniverProFormulaEnginePlugin','max','setValue','setTotalArrayFormulasToCalculate','_isCyclicUtilMap','_xlpm.','_definedNameMap','_removeAllTreeMap','children','endColumn','row','markedAsStopFunctionsExecuted','startRow','_traverse','_addAllTreeMap','_clearPrefix','unshiftString','defineProperty','MINUS','setAdded','COLON','FormulaExecuteStageType','_getUpdateTreeListAndMakeDependency','getOwnPropertyDescriptor','_startFormulaDependencyTreeModel','_getFeatureFormulaTree','5443146HpsiqD','columnCount','getConfig','_xlfnPrefix','toUpperCase','_resetPrefix','isExcludeRange','_otherFormulaData','trim','openKdTree','ObjectMatrix','next','_getTableNameFromStructuredRef','_handleLambdaForExprTree','setFormulaExecuteStage','DEFAULT_INTERVAL_COUNT','bulkSearch','keys','forValue','prefixToken','getExcludedRange','_injector','pop','UniverFormulaEnginePlugin','IFormulaDependencyGenerator','sheetId','generateRandomDependencyTreeId','markedAsSuccessfullyExecuted','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','isSkip','_checkColonNodeForExprTree','slice','symbol','dirtyRanges','_astTreeBuilder','resetCalculationState','delete','unitId','treeId','_otherFormulaManagerService','DEFAULT_TOKEN_TYPE_PARAMETER'];_0x3dd3=function(){return _0x4fe246;};return _0x3dd3();}
|
|
1
|
+
'use strict';const _0x31cb46=_0x5f21;(function(_0x6c57a1,_0x21f9b1){const _0x4d4807=_0x5f21,_0x5d5bdf=_0x6c57a1();while(!![]){try{const _0x4c30bc=parseInt(_0x4d4807(0x11a))/0x1*(parseInt(_0x4d4807(0x1ba))/0x2)+-parseInt(_0x4d4807(0x1e3))/0x3*(-parseInt(_0x4d4807(0x1b6))/0x4)+-parseInt(_0x4d4807(0x1e2))/0x5+-parseInt(_0x4d4807(0x176))/0x6+-parseInt(_0x4d4807(0x190))/0x7*(parseInt(_0x4d4807(0x188))/0x8)+-parseInt(_0x4d4807(0x1eb))/0x9+parseInt(_0x4d4807(0x194))/0xa;if(_0x4c30bc===_0x21f9b1)break;else _0x5d5bdf['push'](_0x5d5bdf['shift']());}catch(_0x5d4229){_0x5d5bdf['push'](_0x5d5bdf['shift']());}}}(_0x2a73,0xc546b));function _0x2a73(){const _0x36ce7f=['clearFormulaDependency','_checkAddBracketForMinus','call','matchToken','formulaId','markedAsNoFunctionsExecuted','LexerTreeBuilder','_lexer','_handleTextNodeForExprTree','generateAstNode','_getDependencyTreeParenIds','DEFAULT_TOKEN_LET_FUNCTION_NAME','_initLicenseValid','_dependencyRTreeCacheForAddressFunction','IDLE','removeOtherFormulaDependency','_getAllTreeList','checkAsyncNode','START_DEPENDENCY','slice','_clearPrefix','setFormulaExecuteStage','PLUS','refOffsetY','DEFAULT_TOKEN_TYPE_ROOT','_interpreter','512700VmhQup','3oLNKhy','_generateNewFunctionString','values','_lambdaFunctionParameterSet','refOffsetX','getExcludedRange','NEW_EXCEL_FUNCTIONS','keys','8121294EsNDkw','enableCycleDependency','_addAllTreeMap','_getTreeNode','setCompletedArrayFormulasCount','addFeatureFormulaDependency','addOtherFormulaDependency','getOtherFormulaDependency','forEach','addFormulaDependencyByDefinedName','_currentConfigService','generateRandomDependencyTreeId','featureId','refTree','unitId','_removeAllTreeMap','_generateExprTree','bulkSearch','_handleNewFunctionChild','dirtyRanges','getDirtyNameMap','_xlfnPrefix','isStopExecution','ObjectMatrix','toStringTag','hasOwnProperty','LS_CONFIG_KEY','_definedNameMap','_getDependencyTreeChildrenIds','_getAllDependencyJson','FormulaDependencyGenerator','_getFirstCellOfRange','_currentUnitId','UniverProFormulaEnginePlugin','_checkIsCycleDependency','_startFormulaDependencyTreeModel','_allTreeMap','_getUpdateTreeListAndMakeDependency','_dependencyTreeCache','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','treeBuilder','_runtimeService','toRTreeItem','startsWith','IFormulaDependencyGenerator','trim','_formulaData','ErrorType','getDirtyData','72173EUqkPV','execute','prototype','setRuntimeFeatureCellData','resolve','_getTableNameFromStructuredRef','startRow','searchDependency','_checkColonNodeForExprTree','string','isAdded','getOwnPropertyDescriptor','formula','_getTreeById','getToken','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','resetCalculationState','DependencyManagerService','_hasNewExcelFunction','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','row','defineProperty','dependencySheetName','length','set','CalculateFormulaService','requestImmediateMacroTask','_updateRangeFlatten','removeFormulaDependency','get','valid','getConfig','getChildren','_xlfn.','_isCalculateTreeModel','getFeatureFormulaDependency','_getCurNodeTypeForExprTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','FEATURE_FORMULA','setValue','_resetPrefix','_otherFormulaDataMainData','rangeList','VALUE','FormulaDependencyTreeType','isDirty','column','SUFFIX_TOKEN_SET','_registerFormulas','has','startColumn','prefixToken','generate','delete','push','DependencyManagerBaseService','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_convertDirtyRangesToUnitRange','error','_calculateRunList','_removeDependencyRTreeCacheById','DEFAULT_TOKEN_TYPE_PARAMETER','getFormulaExprTree','_initializeWithOverride','_endFormulaDependencyTreeModel','rowCount','next','markedAsSuccessfullyExecuted','_clearFunctionString','FormulaDependencyTree','_injector','_removeDependencyRTreeCache','getStartIndex','notExecuteFormula','clearOtherFormulaDependency','reset','children','setRuntimeOtherData','_xlpm.','_isCyclicUtilMap','START_CALCULATION_ARRAY_FORMULA','subUnitId','addOtherFormulaDependencyMainData','executeAsync','from','dispose','getRuntimeState','START_CALCULATION','forValue','openKdTree','isVirtual','realDeleteValue','7868886BqLnFZ','_traverse','isArray','LexerTreeProBuilder','addFormulaDependency','max','getFormulaDependency','FormulaExecuteStageType','startIndex','clearFeatureFormulaDependency','_formulaDependencyTreeModel','_executionInProgressListener$','isCache','setRuntimeData','_createVirtualFDtree','unshiftString','UniverLicensePlugin','_dependencyManagerService','8ggwEBo','ICalculateFormulaService','size','endColumn','setAdded','isForceCalculate','_handleLambdaForExprTree','setTotalArrayFormulasToCalculate','7033747CDvhgJ','type','intervalCount','markedAsStopFunctionsExecuted','30130330tnPZet','treeId','setRuntimeFeatureRange','add','clearArrayObjectCache','closeKdTree','min','setDependencyTreeModelData','hasOtherFormulaDataMainData','isFeatureAuthorizedWithinTime','removeFeatureFormulaDependency','_createFDtree','_config','_formulaDependencyGenerator','_featureFormulaData','OTHER_FORMULA','pop','_apply','endsWith','UniverFormulaEnginePlugin','_xlpmPrefix','MINUS','featureDirtyRanges','symbol','_otherFormulaData','_executionCompleteListener$','clear','_initializeGenerateTreeList','return\x20','setSkip','_generateTreeList','_otherFormulaManagerService','COLON','_dependencyRTreeCache','2444028UTElcr','getOtherFormulaData','_getFeatureFormulaTree','FormulaDependencyTreeVirtual','14RNmwEO','isSkip','getClearDependencyTreeCache','IDependencyManagerService','value','_configService','CURRENTLY_CALCULATING','toUpperCase','LexerNode','isReferenceString','parseInt','getValue','getAllRuntimeData','columnCount'];_0x2a73=function(){return _0x36ce7f;};return _0x2a73();}var P=Object[_0x31cb46(0x12f)],k=(_0x267360,_0x244597,_0x36fb0d)=>_0x244597 in _0x267360?P(_0x267360,_0x244597,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36fb0d}):_0x267360[_0x244597]=_0x36fb0d,D=(_0x10abc5,_0x3135ac,_0x51f003)=>k(_0x10abc5,typeof _0x3135ac!=_0x31cb46(0x1ab)?_0x3135ac+'':_0x3135ac,_0x51f003);function _0x5f21(_0x241389,_0x48df58){_0x241389=_0x241389-0xec;const _0x2a732a=_0x2a73();let _0x5f217c=_0x2a732a[_0x241389];return _0x5f217c;}Object[_0x31cb46(0x12f)](exports,Symbol[_0x31cb46(0x101)],{'value':'Module'});const c=require('@univerjs/engine-formula'),v=require('@univerjs-pro/license'),O=require('@univerjs/core');class L extends c['LexerTreeBuilder']{constructor(){const _0x31e66f=_0x31cb46;super(...arguments),D(this,_0x31e66f(0x12c),!0x1),D(this,_0x31e66f(0x1e6),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,'_xlfnPrefix',_0x31e66f(0x13b)),D(this,_0x31e66f(0x109),'');}[_0x31cb46(0x142)](){const _0x31d27e=_0x31cb46;this[_0x31d27e(0x1a8)]=_0x31d27e(0x168),this[_0x31d27e(0xfe)]=_0x31d27e(0x13b);}[_0x31cb46(0x1dc)](){const _0x3b9925=_0x31cb46;this[_0x3b9925(0x1a8)]='',this[_0x3b9925(0xfe)]='';}['getNewFormulaWithPrefix'](_0x168d8b,_0xfc202){const _0x249b5d=_0x31cb46,_0x4f1afc=this[_0x249b5d(0x111)](_0x168d8b,!0x1);if(!_0x4f1afc||_0x4f1afc===c[_0x249b5d(0x118)][_0x249b5d(0x145)]||Array[_0x249b5d(0x178)](_0x4f1afc))return null;const _0x3c8c6e=[];return this[_0x249b5d(0x12c)]=!0x1,this[_0x249b5d(0x1e4)](_0x4f1afc,_0x3c8c6e,_0xfc202),this['_hasNewExcelFunction']?'='+_0x3c8c6e['join'](''):null;}[_0x31cb46(0x1e4)](_0x179558,_0x2776fc,_0x301223){const _0x164ecf=_0x31cb46,_0x8ace04=_0x179558['getToken'](),_0x216501=_0x8ace04[_0x164ecf(0x116)](),_0x522efa=_0x216501[_0x164ecf(0x1c1)](),_0x48ff39=this['_clearFunctionString'](_0x522efa),_0x4d190a=_0x301223(_0x48ff39);let _0x290f04=0x0;_0x8ace04===c['DEFAULT_TOKEN_TYPE_ROOT']?_0x290f04=0x3:_0x8ace04===c['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x290f04=0x4:_0x8ace04===c[_0x164ecf(0x12d)]?_0x290f04=0x5:c[_0x164ecf(0x1e9)][_0x164ecf(0x14b)](_0x48ff39)?(_0x2776fc['push'](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0):_0x522efa===c[_0x164ecf(0x110)]?(_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0,_0x290f04=0x2):_0x522efa===c[_0x164ecf(0x1d3)]?(_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0,_0x290f04=0x1):_0x522efa===c[_0x164ecf(0x1cb)][_0x164ecf(0x1b4)]?_0x290f04=0x8:c['SUFFIX_TOKEN_SET'][_0x164ecf(0x14b)](_0x522efa)?_0x290f04=0x7:_0x522efa===c[_0x164ecf(0x14d)]['MINUS']?(this[_0x164ecf(0x1c9)](_0x179558)&&(_0x290f04=0x9),_0x2776fc[_0x164ecf(0x150)](_0x8ace04)):(_0x2776fc[_0x164ecf(0x150)](_0x8ace04),_0x290f04=0xa),_0x4d190a?(_0x290f04!==0x2&&_0x290f04!==0x1&&(_0x290f04=0x6),_0x2776fc[_0x164ecf(0x150)]('(')):_0x290f04===0x9&&_0x2776fc[_0x164ecf(0x150)]('(');const _0x5b3a6a=_0x179558['getChildren'](),_0x29ea13=_0x5b3a6a['length'];if(_0x290f04===0x2){const _0x32c8aa=_0x5b3a6a[0x0];let _0xd62fc3=0x0;_0x32c8aa instanceof c['LexerNode']&&_0x32c8aa[_0x164ecf(0x128)]()===c[_0x164ecf(0x12d)]&&(_0xd62fc3=0x1);for(let _0x3307fa=_0xd62fc3;_0x3307fa<_0x29ea13-0x1;_0x3307fa++){const _0x2f5032=_0x5b3a6a[_0x3307fa];if(_0x2f5032 instanceof c['LexerNode']){const _0x28cc50=_0x2f5032['getChildren']()[0x0];typeof _0x28cc50==_0x164ecf(0x123)&&(this[_0x164ecf(0x1e6)][_0x164ecf(0x14b)](_0x28cc50)&&console[_0x164ecf(0x154)]('Lambda\x20parameter\x20name\x20\x22'+_0x28cc50+'\x22\x20is\x20duplicated.'),this[_0x164ecf(0x1e6)]['add'](_0x28cc50),_0x2776fc['push'](''+this[_0x164ecf(0x1a8)]+_0x28cc50),this['_hasNewExcelFunction']=!0x0);}_0x2776fc[_0x164ecf(0x150)](',');}this[_0x164ecf(0xfb)](_0x5b3a6a[_0x29ea13-0x1],_0x2776fc,_0x301223),_0xd62fc3===0x1&&(_0x2776fc[_0x164ecf(0x150)](')'),_0x2776fc['push']('('),this[_0x164ecf(0x1e4)](_0x32c8aa,_0x2776fc,_0x301223)),_0x2776fc['push'](')');return;}else{if(_0x290f04===0x1){for(let _0x4de65d=0x0;_0x4de65d<_0x29ea13-0x1;_0x4de65d++){const _0x30f7ee=_0x5b3a6a[_0x4de65d];if(_0x30f7ee instanceof c[_0x164ecf(0x1c2)]&&_0x4de65d%0x2===0x0){const _0x2b47a9=_0x30f7ee[_0x164ecf(0x13a)]()[0x0];if(typeof _0x2b47a9==_0x164ecf(0x123)){this[_0x164ecf(0x1e6)]['has'](_0x2b47a9)&&console['error']('Let\x20variable\x20name\x20\x22'+_0x2b47a9+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet']['add'](_0x2b47a9),_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0x1a8)]+_0x2b47a9),this[_0x164ecf(0x12c)]=!0x0,_0x2776fc[_0x164ecf(0x150)](',');continue;}}if(this[_0x164ecf(0xfb)](_0x30f7ee,_0x2776fc,_0x301223),_0x30f7ee instanceof c[_0x164ecf(0x1c2)]){const _0x2ce9de=_0x5b3a6a[_0x4de65d+0x1];_0x2ce9de&&_0x2ce9de instanceof c[_0x164ecf(0x1c2)]&&_0x2776fc[_0x164ecf(0x150)](',');}}this['_handleNewFunctionChild'](_0x5b3a6a[_0x29ea13-0x1],_0x2776fc,_0x301223),_0x2776fc[_0x164ecf(0x150)](')');return;}else{if(_0x290f04===0x8){const _0x1c6b6e=_0x5b3a6a[0x0],_0x311460=_0x5b3a6a[0x1];this['_handleNewFunctionChild'](_0x1c6b6e,_0x2776fc,_0x301223),_0x2776fc['push'](_0x8ace04),this[_0x164ecf(0xfb)](_0x311460,_0x2776fc,_0x301223);return;}}}for(let _0x3acbaf=0x0;_0x3acbaf<_0x29ea13;_0x3acbaf++){const _0xa85147=_0x5b3a6a[_0x3acbaf];if(this[_0x164ecf(0xfb)](_0xa85147,_0x2776fc,_0x301223),_0xa85147 instanceof c[_0x164ecf(0x1c2)]){const _0x276012=_0x5b3a6a[_0x3acbaf+0x1];_0x276012&&_0x276012 instanceof c['LexerNode']&&_0x2776fc['push'](',');}}_0x290f04===0x7&&_0x2776fc[_0x164ecf(0x150)](_0x8ace04),(_0x4d190a||_0x290f04===0x9)&&_0x2776fc[_0x164ecf(0x150)](')');}[_0x31cb46(0xfb)](_0x85d2f3,_0x7dad2a,_0x76e6a){const _0x71b4cb=_0x31cb46;_0x85d2f3 instanceof c[_0x71b4cb(0x1c2)]?this[_0x71b4cb(0x1e4)](_0x85d2f3,_0x7dad2a,_0x76e6a):this[_0x71b4cb(0x1e6)][_0x71b4cb(0x14b)](_0x85d2f3)?(_0x7dad2a['push'](''+this[_0x71b4cb(0x1a8)]+_0x85d2f3),this[_0x71b4cb(0x12c)]=!0x0):_0x7dad2a['push'](_0x85d2f3);}[_0x31cb46(0x15e)](_0x4761c8){const _0xbc0172=_0x31cb46;let _0x2216f0=_0x4761c8[_0xbc0172(0x116)]();if(!_0x2216f0)return _0x2216f0;const _0x24e44b=_0x2216f0[0x0];if((_0x24e44b===c['prefixToken']['AT']||_0x24e44b===c['prefixToken']['MINUS']||_0x24e44b===c[_0xbc0172(0x14d)][_0xbc0172(0x1de)])&&(_0x2216f0=_0x2216f0[_0xbc0172(0x1db)](0x1)),!_0x2216f0)return _0x2216f0;const _0x1dae37=_0x2216f0[_0x2216f0[_0xbc0172(0x131)]-0x1];return c[_0xbc0172(0x149)][_0xbc0172(0x14b)](_0x1dae37)&&(_0x2216f0=_0x2216f0[_0xbc0172(0x1db)](0x0,-0x1)),_0x2216f0;}[_0x31cb46(0x1c9)](_0x426143){const _0x16ffdf=_0x31cb46,_0xf5da7=_0x426143[_0x16ffdf(0x13a)]()[0x0];if(!_0xf5da7||!(_0xf5da7 instanceof c[_0x16ffdf(0x1c2)])||_0x426143[_0x16ffdf(0x13a)]()['length']>0x1)return!0x1;const _0x4f6693=_0xf5da7[_0x16ffdf(0x13a)](),_0x5d7a80=_0x4f6693[_0x16ffdf(0x131)];if(_0x5d7a80===0x1)return!0x1;for(let _0x4feaeb=0x0;_0x4feaeb<_0x5d7a80;_0x4feaeb++){const _0x18fd2f=_0x4f6693[_0x4feaeb];if(!(_0x18fd2f instanceof c[_0x16ffdf(0x1c2)])&&c['OPERATOR_TOKEN_SET'][_0x16ffdf(0x14b)](_0x18fd2f))return!0x0;}return!0x1;}[_0x31cb46(0x158)](_0x5dfdf9,_0x114542,_0x4c8a20,_0x4ee1d4,_0x5975d0){const _0x24875b=_0x31cb46,_0x5799d3=this[_0x24875b(0x111)](_0x5dfdf9,!0x1);if(!_0x5799d3||_0x5799d3===c[_0x24875b(0x118)][_0x24875b(0x145)]||Array[_0x24875b(0x178)](_0x5799d3))return null;this[_0x24875b(0x1dc)](),this[_0x24875b(0x109)]=_0x114542;const _0x5da86e=this[_0x24875b(0xf9)](_0x5799d3,_0x4c8a20,_0x4ee1d4,_0x5975d0);return this[_0x24875b(0x109)]='',this[_0x24875b(0x142)](),_0x5da86e;}[_0x31cb46(0xf9)](_0x154c9f,_0x507ec2,_0x35a165,_0x41d625){const _0x3e880d=_0x31cb46,_0xb1448b={'value':'','children':[],'startIndex':0x0};let _0x5f3efb=_0x154c9f;if(_0x5f3efb instanceof c[_0x3e880d(0x1c2)]&&(_0x5f3efb[_0x3e880d(0x128)]()===c[_0x3e880d(0x1e0)]||_0x5f3efb[_0x3e880d(0x128)]()===c[_0x3e880d(0x157)])&&_0x5f3efb[_0x3e880d(0x13a)]()[_0x3e880d(0x131)]===0x1&&(_0x5f3efb=_0x5f3efb[_0x3e880d(0x13a)]()[0x0]),!(_0x5f3efb instanceof c['LexerNode']))return this[_0x3e880d(0x1d0)](_0x5f3efb,_0x35a165,_0x41d625);const _0x274237=_0x5f3efb[_0x3e880d(0x13a)](),_0x3e14f4=_0x274237['length'],_0x511451=[];this[_0x3e880d(0x1e4)](_0x5f3efb,_0x511451,_0x507ec2),_0xb1448b[_0x3e880d(0x1be)]=_0x511451['join'](''),_0xb1448b[_0x3e880d(0x17e)]=_0x5f3efb[_0x3e880d(0x162)]();const _0x19c44e=this[_0x3e880d(0x13e)](_0x5f3efb);if(_0x19c44e===0x2){const _0x2c8097=_0x274237[0x0];if(_0x2c8097 instanceof c[_0x3e880d(0x1c2)]){if(_0x2c8097['getToken']()['trim']()!==c[_0x3e880d(0x12d)])return _0xb1448b;this[_0x3e880d(0x18e)](_0x2c8097,_0xb1448b,_0x507ec2,_0x35a165,_0x41d625);}return _0xb1448b;}else{if(_0x19c44e===0x1){for(let _0x1b249e=0x0;_0x1b249e<_0x3e14f4-0x1;_0x1b249e++){const _0x2184a0=_0x274237[_0x1b249e];if(_0x2184a0 instanceof c[_0x3e880d(0x1c2)]&&_0x1b249e%0x2===0x1){const _0x588c0f=_0x2184a0[_0x3e880d(0x13a)]();if(_0x588c0f[_0x3e880d(0x131)]===0x1&&!(_0x588c0f[0x0]instanceof c['LexerNode']))continue;const _0x27d490=this['_generateExprTree'](_0x2184a0,_0x507ec2,_0x35a165,_0x41d625);_0x27d490&&_0xb1448b[_0x3e880d(0x166)]['push'](_0x27d490);}}return _0xb1448b;}else{if(_0x19c44e===0x8){const _0x5144d7=_0x274237[0x0];if(_0x5144d7 instanceof c[_0x3e880d(0x1c2)]){const _0x361b26=_0x5144d7[_0x3e880d(0x13a)]()[0x0];_0x361b26 instanceof c[_0x3e880d(0x1c2)]&&(_0xb1448b[_0x3e880d(0x17e)]=_0x361b26[_0x3e880d(0x162)]());}if(this[_0x3e880d(0x122)](_0x5f3efb))return _0xb1448b;}else{if(_0x19c44e===0x7){const _0x21393b=_0x274237[0x0];if(_0x21393b instanceof c['LexerNode']){const _0x1536d5=_0x21393b[_0x3e880d(0x13a)]()[0x0];_0x1536d5 instanceof c[_0x3e880d(0x1c2)]&&(_0xb1448b[_0x3e880d(0x17e)]=_0x1536d5['getStartIndex']());}}}}}return this['_handleChildrenForExprTree'](_0x274237,_0x19c44e,_0xb1448b,_0x507ec2,_0x35a165,_0x41d625),_0xb1448b;}['_handleChildrenForExprTree'](_0x1df7af,_0x4bd987,_0x5009bd,_0x426f60,_0x1d9d2b,_0x3e84d9){const _0x571b83=_0x31cb46;for(let _0x422a01=0x0;_0x422a01<_0x1df7af[_0x571b83(0x131)];_0x422a01++){let _0x353d97=_0x1df7af[_0x422a01];if(!(_0x353d97 instanceof c['LexerNode'])){const _0x2fd421=this[_0x571b83(0x1d0)](_0x353d97,_0x1d9d2b,_0x3e84d9);_0x2fd421&&_0x5009bd[_0x571b83(0x166)][_0x571b83(0x150)](_0x2fd421);continue;}const _0x52aef5=_0x353d97[_0x571b83(0x13a)]();if(_0x52aef5[_0x571b83(0x131)]===0x1&&!(_0x52aef5[0x0]instanceof c[_0x571b83(0x1c2)])){const _0x21d6d5=_0x52aef5[0x0];if(!_0x1d9d2b(this['_currentUnitId'],_0x21d6d5)&&!this[_0x571b83(0x11f)](_0x21d6d5,_0x3e84d9)&&!c['isReferenceString'](_0x21d6d5))continue;}if(_0x4bd987===0x8){const _0x320239=_0x52aef5[0x0];if(_0x320239 instanceof c[_0x571b83(0x1c2)]){const _0x2bfed2=_0x320239[_0x571b83(0x128)]()[_0x571b83(0x116)]();if(c[_0x571b83(0x1c3)](_0x2bfed2))continue;_0x353d97=_0x320239;}}const _0x19887b=this['_generateExprTree'](_0x353d97,_0x426f60,_0x1d9d2b,_0x3e84d9);_0x19887b&&_0x5009bd[_0x571b83(0x166)][_0x571b83(0x150)](_0x19887b);}}[_0x31cb46(0x122)](_0x2fb20c){const _0x434aa7=_0x31cb46,_0x1208dd=_0x2fb20c[_0x434aa7(0x13a)]();if(_0x1208dd[_0x434aa7(0x131)]<0x2)return!0x1;const _0x5c4057=_0x1208dd[0x0],_0x49daa4=_0x1208dd[0x1];if(!(_0x5c4057 instanceof c[_0x434aa7(0x1c2)])||!(_0x49daa4 instanceof c[_0x434aa7(0x1c2)]))return!0x1;const _0x2eca8d=_0x5c4057[_0x434aa7(0x13a)]()[0x0],_0x188c35=_0x49daa4[_0x434aa7(0x13a)]()[0x0];if(!(_0x2eca8d instanceof c[_0x434aa7(0x1c2)])||!(_0x188c35 instanceof c[_0x434aa7(0x1c2)]))return!0x1;const _0x403ced=_0x2eca8d[_0x434aa7(0x128)]()[_0x434aa7(0x116)](),_0xb2141a=_0x188c35[_0x434aa7(0x128)]()['trim']();return!!c[_0x434aa7(0x1c3)](''+_0x403ced+c['matchToken'][_0x434aa7(0x1b4)]+_0xb2141a);}[_0x31cb46(0x1d0)](_0x34f1b6,_0x21e443,_0x47a4e2){const _0x2879c7=_0x31cb46,_0x33ecad=_0x34f1b6[_0x2879c7(0x116)]();return _0x33ecad[_0x2879c7(0x114)]('{')&&_0x33ecad[_0x2879c7(0x1a6)]('}')||_0x21e443(this[_0x2879c7(0x109)],_0x33ecad)||this['_getTableNameFromStructuredRef'](_0x33ecad,_0x47a4e2)||c[_0x2879c7(0x1c3)](_0x33ecad)?{'value':_0x33ecad,'children':[],'startIndex':-0x1}:null;}[_0x31cb46(0x11f)](_0x1d9fa9,_0x1e96b2){const _0x7f3c66=_0x31cb46,{tableName:_0x5d6316}=c['splitTableStructuredRef'](_0x1d9fa9);return _0x1e96b2(this[_0x7f3c66(0x109)],_0x5d6316)?_0x5d6316:null;}[_0x31cb46(0x18e)](_0x18b59a,_0x54910e,_0x44b6ac,_0x3cd687,_0x5f3b98){const _0x18ff10=_0x31cb46,_0x45aba8=_0x18b59a[_0x18ff10(0x13a)]();for(let _0x679b4a=0x0;_0x679b4a<_0x45aba8[_0x18ff10(0x131)];_0x679b4a++){const _0x10da8d=_0x45aba8[_0x679b4a];if(!(_0x10da8d instanceof c['LexerNode']))continue;const _0x507ea0=_0x10da8d[_0x18ff10(0x13a)]();if(_0x507ea0['length']===0x1&&!(_0x507ea0[0x0]instanceof c[_0x18ff10(0x1c2)]))continue;const _0xe24ddb=this[_0x18ff10(0xf9)](_0x10da8d,_0x44b6ac,_0x3cd687,_0x5f3b98);_0xe24ddb&&_0x54910e[_0x18ff10(0x166)]['push'](_0xe24ddb);}}[_0x31cb46(0x13e)](_0x3b61e0){const _0x14b488=_0x31cb46,_0x3f94d3=_0x3b61e0['getToken'](),_0x27a25a=_0x3f94d3[_0x14b488(0x116)]()[_0x14b488(0x1c1)]();let _0x16c1cb=0x0;return _0x3f94d3===c[_0x14b488(0x1e0)]?_0x16c1cb=0x3:_0x3f94d3===c[_0x14b488(0x157)]?_0x16c1cb=0x4:_0x3f94d3===c[_0x14b488(0x12d)]?_0x16c1cb=0x5:_0x27a25a===c[_0x14b488(0x110)]?_0x16c1cb=0x2:_0x27a25a===c[_0x14b488(0x1d3)]?_0x16c1cb=0x1:_0x27a25a===c['matchToken'][_0x14b488(0x1b4)]?_0x16c1cb=0x8:c[_0x14b488(0x149)][_0x14b488(0x14b)](_0x27a25a)?_0x16c1cb=0x7:_0x27a25a===c[_0x14b488(0x14d)][_0x14b488(0x1a9)]?this[_0x14b488(0x1c9)](_0x3b61e0)&&(_0x16c1cb=0x9):_0x16c1cb=0xa,_0x16c1cb;}}const b={0x0:'E',0x1:'a',0x2:'d',0x3:'b',0x4:'F',0x5:'U',0x6:'o',0x7:'0',0x8:'R',0x9:'s','C':'1','M':'2','Z':'3','k':'4','Q':'5','q':'6','h':'7','m':'8','T':'9','e':'c','d':'e','K':'f','x':'g','Y':'h','j':'i','r':'j','X':'k','S':'l','v':'m','c':'n','F':'p','P':'q','O':'r','W':'t','t':'u','n':'v','H':'w','I':'x','b':'y','z':'z','U':'A','A':'B','V':'C','E':'D','l':'G','G':'H','a':'I','u':'J','o':'K','p':'L','D':'M','B':'N','J':'O','N':'P','L':'Q','i':'S','f':'T','s':'V','R':'W','w':'X','g':'Y','y':'Z'},Y='/*\x20d9SjcW-2j913Sd\x20FOdKdO-WdvFS1Wd\x20*/KtceWj6c\x202deObFWj6c(Sjedc9d,\x20Ft3Sjeodb)\x20{\x20\x20\x20\x20WOb\x20{\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20Sjedc9dacK6N1OWUOO1b\x20=\x20Sjedc9d.9FSjW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x206OjxjcDd991xd\x20=\x20uiJB.F1O9d(1W63(Sjedc9dacK6N1OWUOO1b[M]));\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(!6OjxjcDd991xd.t2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206OjxjcDd991xd.t2\x20=\x20Btv3dO(Sjedc9dacK6N1OWUOO1b[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9R6OXdO\x20=\x20WbFd6K\x20R6OXdOlS631Sie6Fd\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x209dSK\x20jc9W1ced6K\x20R6OXdOlS631Sie6Fd;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9AO6H9dO\x20=\x20WbFd6K\x20Hjc26H\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x20WbFd6K\x20Hjc26H.S6e1Wj6c\x20!==\x20\x27tc2dKjcd2\x27;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20e6cWdIW\x20=\x20j9R6OXdO\x20?\x209dSK\x20:\x20(j9AO6H9dO\x20?\x20Hjc26H\x20:\x20xS631SfYj9);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[M]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(vd991xdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[Z]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(9jxc1WtOdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxcs1Sj2\x20=\x20e6cWdIW.__ndOjKb__(9jxc1WtOd,\x20vd991xd,\x20Ft3Sjeodb);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x2026v1jc\x20=\x206OjxjcDd991xd.2v;\x20\x20\x20\x20\x20\x20\x20\x20KtceWj6c\x20j9E6v1jcD1WeYjcx(F1WWdOc,\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc\x20===\x20Y69W)\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc.9W1OW9RjWY(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209tKKjI\x20=\x20F1WWdOc.9Sjed(M);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x209tKKjI\x20===\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\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\x20jK\x20(9tKKjI\x20&&\x20!Y69W.9W1OW9RjWY(\x27.\x27)\x20&&\x20Y69W.dc29RjWY(\x27.\x27\x20+\x209tKKjI))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\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\x20OdWtOc\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SdW\x2026v1jcs1Sj2\x20=\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(j9AO6H9dO)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20(26v1jc\x20&&\x2026v1jc.SdcxWY)\x20?\x2026v1jc.96vd((2vaWdv)\x20=>\x20j9E6v1jcD1WeYjcx(2vaWdv,\x20S6e1Wj6c.Y69Wc1vd))\x20:\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(S6e1Wj6c.Y69Wc1vd\x20===\x20\x27S6e1SY69W\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20dS9d\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20n1Sj2\x20=\x209jxcs1Sj2\x20&&\x2026v1jcs1Sj2;\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x206OjxjcDd991xd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20e1WeY\x20(dOO6O)\x20{\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2:\x20K1S9d,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class B extends c['FormulaDependencyGenerator']{constructor(){const _0x9931e1=_0x31cb46;super(...arguments),D(this,_0x9931e1(0x10f),new Map());}[_0x31cb46(0x16f)](){const _0x40d73a=_0x31cb46;super[_0x40d73a(0x16f)](),this['_dependencyTreeCache']['clear']();}async[_0x31cb46(0x14e)](_0x43e1d6=!0x1){const _0x288c43=_0x31cb46;this[_0x288c43(0x135)]();const _0x593de2=this[_0x288c43(0xf3)]['getFormulaData'](),_0xfea508=this[_0x288c43(0x1b3)][_0x288c43(0x1b7)](),_0x99b07a=this[_0x288c43(0xf3)][_0x288c43(0x1bc)]();_0x99b07a!=null&&Object['keys'](_0x99b07a)[_0x288c43(0xf1)](_0xee3417=>{const _0x57ae5e=_0x288c43;_0xee3417!=null&&Object[_0x57ae5e(0x1ea)](_0x99b07a[_0xee3417])[_0x57ae5e(0xf1)](_0x4e91cf=>{const _0x4cc830=_0x57ae5e;_0x4e91cf!=null&&(this[_0x4cc830(0x187)][_0x4cc830(0x164)](_0xee3417,_0x4e91cf),this['_dependencyManagerService'][_0x4cc830(0x17f)](_0xee3417,_0x4e91cf),this[_0x4cc830(0x187)][_0x4cc830(0x1c8)](_0xee3417,_0x4e91cf));});});const _0x2898a3=this['_currentConfigService']['getUnitData']();await this[_0x288c43(0x1b2)](_0x593de2,_0xfea508,_0x2898a3),this['_dependencyManagerService'][_0x288c43(0x173)]();const _0x236acc=this[_0x288c43(0x10e)](),_0x250921=this[_0x288c43(0x155)](_0x236acc);return this[_0x288c43(0x10b)](_0x250921)&&this[_0x288c43(0x112)][_0x288c43(0x1ec)](),_0x43e1d6&&this['_runtimeService'][_0x288c43(0x19b)](this[_0x288c43(0x106)](Array[_0x288c43(0x16e)](this[_0x288c43(0x10f)]['values']()))),this[_0x288c43(0x10f)][_0x288c43(0x1ae)](),this[_0x288c43(0x1d5)][_0x288c43(0x1ae)](),this[_0x288c43(0x187)][_0x288c43(0x199)](),this[_0x288c43(0x112)][_0x288c43(0x198)](),Promise[_0x288c43(0x11e)](_0x250921);}[_0x31cb46(0x169)](_0x54c584,_0x4b00a3){const _0x464ab1=_0x31cb46,_0x471357=[_0x54c584];for(;_0x471357[_0x464ab1(0x131)]>0x0;){const _0x422139=_0x471357[_0x471357[_0x464ab1(0x131)]-0x1];if((_0x4b00a3[_0x464ab1(0x137)](_0x422139)||0x0)===0x0){_0x4b00a3[_0x464ab1(0x132)](_0x422139,0x1);const _0x16d1c2=this[_0x464ab1(0x10f)]['get'](_0x422139);if(_0x16d1c2==null){_0x4b00a3[_0x464ab1(0x132)](_0x422139,0x2),_0x471357[_0x464ab1(0x1a4)]();continue;}const _0x2eb58e=this[_0x464ab1(0x187)][_0x464ab1(0x121)](_0x16d1c2[_0x464ab1(0x113)]());for(const _0x24bf18 of _0x2eb58e){const _0x118bc7=_0x4b00a3[_0x464ab1(0x137)](_0x24bf18)||0x0;if(_0x118bc7===0x1)return!0x0;_0x118bc7===0x0&&_0x471357[_0x464ab1(0x150)](_0x24bf18);}}else _0x4b00a3['set'](_0x422139,0x2),_0x471357['pop']();}return!0x1;}[_0x31cb46(0x10b)](_0x30103f){const _0x1e59b8=_0x31cb46,_0x308d03=new Map();for(const _0x57428f of _0x30103f)if(!_0x308d03['has'](_0x57428f['treeId'])&&this[_0x1e59b8(0x169)](_0x57428f[_0x1e59b8(0x195)],_0x308d03))return!0x0;return _0x308d03['clear'](),!0x1;}[_0x31cb46(0x1b8)](_0x32055e,_0x30b8c0,_0x567990){const _0x234fde=_0x31cb46,{unitId:_0x10b206,subUnitId:_0x3b4aaf,dependencyRanges:_0x4580e2,getDirtyData:_0x5cc002}=_0x567990,_0x54dab0=_0x30b8c0||c['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x2d1aa5=new c[(_0x234fde(0x15f))](_0x54dab0);_0x2d1aa5[_0x234fde(0xf7)]=_0x10b206,_0x2d1aa5[_0x234fde(0x16b)]=_0x3b4aaf,_0x2d1aa5['rangeList']=_0x4580e2,_0x2d1aa5[_0x234fde(0x119)]=_0x5cc002;const _0x4e5ac6=_0x5cc002(this[_0x234fde(0xf3)]['getDirtyData'](),this[_0x234fde(0x112)][_0x234fde(0x1c6)]()),_0x23ac5e=this[_0x234fde(0x153)](_0x4e5ac6[_0x234fde(0xfc)]);return _0x2d1aa5[_0x234fde(0x1aa)]=_0x23ac5e,_0x2d1aa5['featureId']=_0x32055e,_0x2d1aa5[_0x234fde(0x191)]=c[_0x234fde(0x146)][_0x234fde(0x140)],this[_0x234fde(0x187)][_0x234fde(0xee)](_0x10b206,_0x3b4aaf,_0x32055e,_0x2d1aa5),this[_0x234fde(0x10f)][_0x234fde(0x132)](_0x2d1aa5[_0x234fde(0x195)],_0x2d1aa5),this[_0x234fde(0x187)][_0x234fde(0x13d)](_0x567990['unitId'],_0x567990[_0x234fde(0x16b)],_0x32055e)&&(_0x2d1aa5[_0x234fde(0x182)]=!0x0),_0x2d1aa5;}['_registerOtherFormulas'](_0xff166b,_0x2ef54e,_0x1d8134){const _0x40bea3=_0x31cb46;var _0x2687a9;for(const _0x445a27 of _0x2ef54e){const _0x2b7da3=_0xff166b[_0x445a27];if(_0x2b7da3==null)continue;const _0x1c34d2=Object[_0x40bea3(0x1ea)](_0x2b7da3);for(const _0x283660 of _0x1c34d2){const _0x18d698=_0x2b7da3[_0x283660];if(_0x18d698==null)continue;const _0x596762=Object['keys'](_0x18d698);for(const _0x1be6f7 of _0x596762){const _0x406324=this[_0x40bea3(0x187)][_0x40bea3(0x19c)](_0x1be6f7),_0x1396f5=_0x18d698[_0x1be6f7],{f:_0x114536,ranges:_0x3f2ab5}=_0x1396f5;let _0x87db75=!0x1;_0x406324&&(_0x87db75=!0x0);const {firstRow:_0x4e34b7,firstColumn:_0x524c2c}=this[_0x40bea3(0x108)](_0x3f2ab5),_0x1bf015=this[_0x40bea3(0x187)][_0x40bea3(0xf0)](_0x445a27,_0x283660,_0x1be6f7),_0xdd90e4=(_0x2687a9=_0x1bf015==null?void 0x0:_0x1bf015[_0x40bea3(0x1c5)](0x0,0x0))!=null?_0x2687a9:c['generateRandomDependencyTreeId'](this[_0x40bea3(0x187)]),_0x2c909a=new c[(_0x40bea3(0x15f))](_0xdd90e4);for(let _0x13c933=0x0;_0x13c933<_0x3f2ab5[_0x40bea3(0x131)];_0x13c933++){const _0x44e5ac=_0x3f2ab5[_0x13c933],{startRow:_0x2dae28,startColumn:_0xc8d982,endRow:_0x51efad,endColumn:_0x26b4f9}=_0x44e5ac;for(let _0x42ecec=_0x2dae28;_0x42ecec<=_0x51efad;_0x42ecec++)for(let _0x38af86=_0xc8d982;_0x38af86<=_0x26b4f9;_0x38af86++){const _0x155761=_0x38af86-_0x524c2c,_0x41436e=_0x42ecec-_0x4e34b7;if(_0x155761===0x0&&_0x41436e===0x0){_0x2c909a[_0x40bea3(0x126)]=_0x114536,_0x2c909a[_0x40bea3(0xf7)]=_0x445a27,_0x2c909a[_0x40bea3(0x16b)]=_0x283660,_0x2c909a[_0x40bea3(0x1cc)]=_0x1be6f7,_0x2c909a[_0x40bea3(0x191)]=c[_0x40bea3(0x146)][_0x40bea3(0x1a3)],_0x2c909a[_0x40bea3(0x182)]=_0x87db75,_0x1d8134[_0x40bea3(0x150)](_0x2c909a),this['_dependencyTreeCache']['set'](_0x2c909a['treeId'],_0x2c909a),this[_0x40bea3(0x187)][_0x40bea3(0xef)](_0x445a27,_0x283660,_0x1be6f7,_0x2c909a),this[_0x40bea3(0x187)][_0x40bea3(0xf2)](_0x2c909a);continue;}const _0x13b913=new c[(_0x40bea3(0x1b9))]();_0x13b913[_0x40bea3(0x195)]=(_0x1bf015==null?void 0x0:_0x1bf015[_0x40bea3(0x1c5)](_0x155761,_0x41436e))||c[_0x40bea3(0xf4)](this[_0x40bea3(0x187)]),_0x13b913[_0x40bea3(0xf6)]=_0x2c909a,_0x13b913['refOffsetX']=_0x155761,_0x13b913[_0x40bea3(0x1df)]=_0x41436e,_0x13b913[_0x40bea3(0x182)]=_0x87db75,_0x13b913[_0x40bea3(0x191)]=c[_0x40bea3(0x146)][_0x40bea3(0x1a3)],this[_0x40bea3(0x187)][_0x40bea3(0xef)](_0x445a27,_0x283660,_0x1be6f7,_0x13b913),this[_0x40bea3(0x187)][_0x40bea3(0xf2)](_0x13b913),_0x1d8134[_0x40bea3(0x150)](_0x13b913),this[_0x40bea3(0x10f)][_0x40bea3(0x132)](_0x13b913[_0x40bea3(0x195)],_0x13b913);}}this['_dependencyManagerService'][_0x40bea3(0x16c)](_0x1be6f7);}}}}[_0x31cb46(0x14a)](_0x367468,_0x213416,_0x27ab66,_0x30f83c){const _0x4ed1c8=_0x31cb46;for(const _0x5e5b84 of _0x367468){const _0x32c437=_0x213416[_0x5e5b84];if(_0x32c437==null)continue;const _0xd4d378=Object['keys'](_0x32c437);for(const _0x30e0bb of _0xd4d378){const _0x56c970=new O[(_0x4ed1c8(0x100))](_0x32c437[_0x30e0bb]||{}),_0x58e701=new Map();_0x56c970['forValue']((_0x1599d9,_0x36247e,_0x52e71a)=>{const _0x36a5c4=_0x4ed1c8;if(_0x52e71a==null)return!0x0;const {x:_0x380091=0x0,y:_0x5cadd5=0x0,si:_0x2127c2}=_0x52e71a;if(!(_0x380091===0x0&&_0x5cadd5===0x0&&_0x2127c2!=null))return!0x0;const _0x3e678e=this[_0x36a5c4(0x19f)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e,_0x27ab66,_0x52e71a),_0x5bcc49=this[_0x36a5c4(0x187)][_0x36a5c4(0x17c)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e);_0x5bcc49!=null?_0x3e678e[_0x36a5c4(0x195)]=_0x5bcc49:(this[_0x36a5c4(0x187)][_0x36a5c4(0x17a)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e,_0x3e678e),this[_0x36a5c4(0x187)]['addFormulaDependencyByDefinedName'](_0x3e678e)),_0x58e701[_0x36a5c4(0x132)](_0x2127c2,_0x3e678e),_0x30f83c[_0x36a5c4(0x150)](_0x3e678e),this[_0x36a5c4(0x10f)]['set'](_0x3e678e[_0x36a5c4(0x195)],_0x3e678e);}),_0x56c970['forValue']((_0x54971f,_0x4889c5,_0x493ee3)=>{const _0x22693d=_0x4ed1c8;if(_0x493ee3==null)return!0x0;const {x:_0xa4c882=0x0,y:_0x52357a=0x0,si:_0x702484}=_0x493ee3;if(_0xa4c882===0x0&&_0x52357a===0x0&&_0x702484!=null)return!0x0;let _0x5556f8;if(_0x702484&&_0x58e701[_0x22693d(0x14b)](_0x702484)){const _0x27bebd=_0x58e701[_0x22693d(0x137)](_0x702484);_0x5556f8=this[_0x22693d(0x184)](_0x27bebd,_0x493ee3);}else _0x5556f8=this['_createFDtree'](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5,_0x27ab66,_0x493ee3);const _0x4a2db7=this[_0x22693d(0x187)]['getFormulaDependency'](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5);_0x4a2db7!=null?_0x5556f8[_0x22693d(0x195)]=_0x4a2db7:(this[_0x22693d(0x187)][_0x22693d(0x17a)](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5,_0x5556f8),this['_dependencyManagerService'][_0x22693d(0xf2)](_0x5556f8)),_0x30f83c[_0x22693d(0x150)](_0x5556f8),this[_0x22693d(0x10f)][_0x22693d(0x132)](_0x5556f8[_0x22693d(0x195)],_0x5556f8);}),_0x58e701[_0x4ed1c8(0x1ae)]();}}}[_0x31cb46(0x19f)](_0x33636b,_0x1c9140,_0x5020b6,_0xee3c60,_0x418b1c,_0x127232){const _0x34beff=_0x31cb46,{f:_0x38229e,x:_0xc4dea7=0x0,y:_0x5961aa=0x0}=_0x127232,_0x2492f8=new c[(_0x34beff(0x15f))](c['generateRandomDependencyTreeId'](this[_0x34beff(0x187)])),_0x3e2e5a=_0x418b1c[_0x33636b][_0x1c9140];return _0x2492f8[_0x34beff(0x126)]=_0x38229e,_0x2492f8[_0x34beff(0xf7)]=_0x33636b,_0x2492f8[_0x34beff(0x16b)]=_0x1c9140,_0x2492f8[_0x34beff(0x12e)]=_0x5020b6,_0x2492f8[_0x34beff(0x148)]=_0xee3c60,_0x2492f8[_0x34beff(0x15b)]=_0x3e2e5a[_0x34beff(0x15b)],_0x2492f8['columnCount']=_0x3e2e5a[_0x34beff(0x1c7)],_0x2492f8;}['_getUpdateTreeListAndMakeDependency'](){const _0xd60d4c=_0x31cb46,_0x4beb60=[],_0x52cb1f=new Set(),_0x333fde=this[_0xd60d4c(0xf3)][_0xd60d4c(0x18d)](),_0x10a1b5=this['_currentConfigService']['getDirtyRanges'](),_0x3da9ef=this['_dependencyManagerService'][_0xd60d4c(0x121)](_0x10a1b5),_0x123e0a=this[_0xd60d4c(0x1d5)]['bulkSearch'](_0x10a1b5);for(const _0x252643 of _0x123e0a)_0x3da9ef['add'](_0x252643);for(const [_0x1b8510,_0x53cec1]of this['_dependencyTreeCache'])(_0x333fde||_0x53cec1[_0xd60d4c(0x147)]||_0x53cec1[_0xd60d4c(0x130)](this[_0xd60d4c(0xf3)][_0xd60d4c(0xfd)]())||_0x3da9ef[_0xd60d4c(0x14b)](_0x1b8510)&&!_0x53cec1['isExcludeRange'](this['_currentConfigService'][_0xd60d4c(0x1e8)]()))&&!_0x52cb1f[_0xd60d4c(0x14b)](_0x1b8510)&&(_0x4beb60[_0xd60d4c(0x150)](_0x53cec1),_0x52cb1f[_0xd60d4c(0x197)](_0x1b8510));for(const [_0x2ce906,_0x175dcb]of this[_0xd60d4c(0x10f)])_0x175dcb[_0xd60d4c(0x174)]||(_0x175dcb['rangeList'][_0xd60d4c(0x131)]=0x0);return _0x4beb60;}[_0x31cb46(0x127)](_0x144590){const _0x4bcec4=_0x31cb46;return this[_0x4bcec4(0x10f)]['get'](_0x144590);}[_0x31cb46(0xec)](_0x4acf30){const _0x4351c1=_0x31cb46;return c[_0x4351c1(0x1d1)](_0x4acf30['unitId'],_0x4acf30['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x31cb46(0x177)](_0x53dc7b,_0x3db0da){const _0x2222fd=_0x31cb46,_0x2db97d=_0x53dc7b,_0x486099=new Set();for(;_0x2db97d[_0x2222fd(0x131)]>0x0;){const _0x56f8c3=_0x2db97d['pop']();if(_0x486099[_0x2222fd(0x1ae)](),_0x56f8c3===void 0x0||_0x56f8c3[_0x2222fd(0x1bb)]())continue;if(_0x56f8c3['isAdded']()){yield _0x56f8c3,_0x56f8c3[_0x2222fd(0x1b1)](),_0x3db0da['add'](_0x56f8c3[_0x2222fd(0x195)]);continue;}const _0x42545a=this['_dependencyManagerService']['searchDependency'](_0x56f8c3[_0x2222fd(0x113)](),_0x3db0da),_0x4a113a=this['_dependencyRTreeCacheForAddressFunction'][_0x2222fd(0xfa)](_0x56f8c3[_0x2222fd(0x113)](),_0x3db0da);for(const _0x8af0c3 of _0x4a113a)_0x42545a[_0x2222fd(0x197)](_0x8af0c3);for(const _0x5b9f55 of _0x42545a){const _0xdd9723=this[_0x2222fd(0x10f)][_0x2222fd(0x137)](_0x5b9f55);if(!_0xdd9723){console[_0x2222fd(0x154)](_0x2222fd(0x129),_0x5b9f55);continue;}_0xdd9723[_0x2222fd(0x124)]()||_0x56f8c3[_0x2222fd(0x1bb)]()||_0x486099[_0x2222fd(0x197)](_0xdd9723);}if(_0x42545a['clear'](),_0x486099[_0x2222fd(0x18a)]===0x0)yield _0x56f8c3,_0x56f8c3[_0x2222fd(0x1b1)](),_0x3db0da[_0x2222fd(0x197)](_0x56f8c3[_0x2222fd(0x195)]);else{_0x56f8c3[_0x2222fd(0x18c)](),_0x2db97d['push'](_0x56f8c3);for(const _0xbf7a4e of _0x486099)_0x2db97d[_0x2222fd(0x150)](_0xbf7a4e);}}_0x2db97d[_0x2222fd(0x131)]=0x0,_0x486099['clear']();}[_0x31cb46(0x155)](_0x11bccd){const _0x3e8a97=_0x31cb46,_0x344722=[],_0x3d2df4=new Set();for(const _0x560fe6 of this['_traverse'](_0x11bccd,_0x3d2df4))_0x344722[_0x3e8a97(0x150)](_0x560fe6);return _0x344722;}async[_0x31cb46(0x1d8)](){const _0x10409f=_0x31cb46;return await this[_0x10409f(0x1af)](),Array[_0x10409f(0x16e)](this[_0x10409f(0x10f)][_0x10409f(0x1e5)]());}[_0x31cb46(0x1d2)](_0x30197d){const _0x374823=_0x31cb46;return this['_dependencyManagerService'][_0x374823(0x121)](_0x30197d[_0x374823(0x113)]());}[_0x31cb46(0x105)](_0xa08b9){const _0x59f3d2=_0x31cb46,_0x2cf10e=new Set(),_0x28958d=_0xa08b9[_0x59f3d2(0x144)];for(const [_0x59095f,_0x1706ad]of this[_0x59f3d2(0x10f)])for(const _0x3c6f78 of _0x28958d){const _0x4e87da=_0x3c6f78[_0x59f3d2(0xf7)],_0x4d36de=_0x3c6f78['sheetId'];if(_0x1706ad['unitId']!==_0x4e87da||_0x1706ad['subUnitId']!==_0x4d36de)continue;const _0x389d14=_0x3c6f78['range'];if(_0x1706ad['inRangeData'](_0x389d14)){_0x2cf10e[_0x59f3d2(0x197)](_0x59095f);break;}}return _0x2cf10e;}[_0x31cb46(0x10c)](){const _0x1cc27f=_0x31cb46;this[_0x1cc27f(0x187)][_0x1cc27f(0x173)]();}[_0x31cb46(0x15a)](){const _0x2cb002=_0x31cb46;this[_0x2cb002(0x180)]['clear'](),this[_0x2cb002(0x10f)][_0x2cb002(0x1ae)](),this[_0x2cb002(0x187)][_0x2cb002(0x199)]();}}class V extends c['CalculateFormulaService']{async[_0x31cb46(0x1a5)](_0x48ef43=!0x1){const _0x5f1106=_0x31cb46;_0x48ef43?this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c['FormulaExecuteStageType'][_0x5f1106(0x1da)]),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this[_0x5f1106(0x112)][_0x5f1106(0x170)]());const _0x1914a6=await this[_0x5f1106(0x1a1)][_0x5f1106(0x14e)](this[_0x5f1106(0x13c)]),_0x135a84=this[_0x5f1106(0x1e1)];_0x48ef43?(this['_runtimeService']['setFormulaExecuteStage'](c[_0x5f1106(0x17d)][_0x5f1106(0x16a)]),this[_0x5f1106(0x112)][_0x5f1106(0x18f)](_0x1914a6[_0x5f1106(0x131)])):(this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c['FormulaExecuteStageType'][_0x5f1106(0x171)]),this[_0x5f1106(0x112)]['setTotalFormulasToCalculate'](_0x1914a6[_0x5f1106(0x131)])),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this[_0x5f1106(0x112)]['getRuntimeState']());let _0x36427f=[];const _0x3f9154=this['_configService'][_0x5f1106(0x139)](c[_0x5f1106(0x152)]),_0x714951=(_0x3f9154==null?void 0x0:_0x3f9154[_0x5f1106(0x192)])||c['DEFAULT_INTERVAL_COUNT'];let _0x266da7=0x0;const _0x27fc01=_0x1914a6[_0x5f1106(0x131)];for(;_0x1914a6[_0x5f1106(0x131)]>0x0;){const _0x47ca45=_0x1914a6[_0x5f1106(0x1a4)](),_0x3d110b=c[_0x5f1106(0x1d1)](_0x47ca45[_0x5f1106(0xf7)],_0x47ca45[_0x5f1106(0x126)],this[_0x5f1106(0x1cf)],this['_astTreeBuilder'],this['_currentConfigService']),_0x3fedb2={'node':_0x3d110b,'refOffsetX':_0x47ca45[_0x5f1106(0x1e7)],'refOffsetY':_0x47ca45[_0x5f1106(0x1df)]},_0x2b03d3=_0x47ca45[_0x5f1106(0x119)];if(_0x266da7%_0x714951===0x0&&(await new Promise(_0xc6bbad=>{const _0x1faa7f=_0x5f1106,_0x45a71a=O[_0x1faa7f(0x134)](_0xc6bbad);_0x36427f[_0x1faa7f(0x150)](_0x45a71a);}),_0x48ef43?(this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x13f)]),this[_0x5f1106(0x112)][_0x5f1106(0xed)](_0x266da7+0x1)):(this['_runtimeService'][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x1c0)]),this['_runtimeService']['setCompletedFormulasCount'](_0x266da7+0x1)),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this['_runtimeService']['getRuntimeState']()),this['_runtimeService'][_0x5f1106(0xff)]()||_0x3fedb2==null&&_0x2b03d3==null)){this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x1d6)]),this[_0x5f1106(0x112)][_0x5f1106(0x193)](),this[_0x5f1106(0x1ad)]['next'](this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]());return;}this[_0x5f1106(0x112)]['setCurrent'](_0x47ca45[_0x5f1106(0x12e)],_0x47ca45[_0x5f1106(0x148)],_0x47ca45[_0x5f1106(0x15b)],_0x47ca45['columnCount'],_0x47ca45['subUnitId'],_0x47ca45[_0x5f1106(0xf7)]);let _0xd13890;if(_0x2b03d3!=null&&_0x47ca45[_0x5f1106(0xf5)]!=null){const {runtimeCellData:_0x2d1efa,dirtyRanges:_0x4cd9da}=_0x2b03d3(this[_0x5f1106(0xf3)][_0x5f1106(0x119)](),this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]());this[_0x5f1106(0x112)][_0x5f1106(0x11d)](_0x47ca45[_0x5f1106(0xf5)],_0x2d1efa),this[_0x5f1106(0x112)][_0x5f1106(0x196)](_0x47ca45[_0x5f1106(0xf5)],_0x4cd9da);}else _0x3fedb2!=null&&(_0x135a84[_0x5f1106(0x1d9)](_0x3fedb2['node'])?_0xd13890=await _0x135a84[_0x5f1106(0x16d)](_0x3fedb2):_0xd13890=_0x135a84[_0x5f1106(0x11b)](_0x3fedb2),_0x47ca45[_0x5f1106(0x1cc)]!=null?this[_0x5f1106(0x112)][_0x5f1106(0x167)](_0x47ca45[_0x5f1106(0x1cc)],_0x47ca45['refOffsetX'],_0x47ca45[_0x5f1106(0x1df)],_0xd13890):this['_runtimeService'][_0x5f1106(0x183)](_0xd13890));_0x3d110b[_0x5f1106(0x12a)](),_0x266da7++;}return _0x36427f[_0x5f1106(0xf1)](_0x4ee9dc=>_0x4ee9dc()),_0x36427f=[],_0x27fc01>0x0?this['_runtimeService'][_0x5f1106(0x15d)]():_0x48ef43||this['_runtimeService'][_0x5f1106(0x1cd)](),this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]();}}class G extends c[_0x31cb46(0x151)]{constructor(){const _0x33900a=_0x31cb46;super(...arguments),D(this,_0x33900a(0x10d),new Map()),D(this,_0x33900a(0x1b5),new O['RTree'](!0x0));}[_0x31cb46(0x165)](){const _0x17f424=_0x31cb46;this[_0x17f424(0x1ac)][_0x17f424(0x1ae)](),this[_0x17f424(0x1a2)][_0x17f424(0x1ae)](),this[_0x17f424(0x117)][_0x17f424(0x1ae)](),this[_0x17f424(0x1b5)][_0x17f424(0x1ae)](),this[_0x17f424(0x10d)][_0x17f424(0x1ae)](),this['_restDependencyTreeId'](),this[_0x17f424(0x143)][_0x17f424(0x1ae)]();}[_0x31cb46(0xef)](_0x3e2ec2,_0x16fa67,_0x3f7902,_0x46fb4a){const _0x136fd6=_0x31cb46;this['_otherFormulaData'][_0x136fd6(0x14b)](_0x3e2ec2)||this[_0x136fd6(0x1ac)][_0x136fd6(0x132)](_0x3e2ec2,new Map());const _0x9726db=this[_0x136fd6(0x1ac)][_0x136fd6(0x137)](_0x3e2ec2);_0x9726db[_0x136fd6(0x14b)](_0x16fa67)||_0x9726db[_0x136fd6(0x132)](_0x16fa67,new Map());const _0x3ac954=_0x9726db[_0x136fd6(0x137)](_0x16fa67);_0x3ac954[_0x136fd6(0x14b)](_0x3f7902)||_0x3ac954[_0x136fd6(0x132)](_0x3f7902,new O['ObjectMatrix']()),_0x3ac954['get'](_0x3f7902)[_0x136fd6(0x141)](_0x46fb4a[_0x136fd6(0x1e7)],_0x46fb4a[_0x136fd6(0x1df)],_0x46fb4a['treeId']);}[_0x31cb46(0x1d7)](_0x51e80a,_0x4c171,_0x4fa951){const _0x27d423=_0x31cb46,_0x2ece76=this[_0x27d423(0x1ac)][_0x27d423(0x137)](_0x51e80a);if(_0x2ece76&&_0x2ece76[_0x27d423(0x14b)](_0x4c171)){const _0x54beba=_0x2ece76['get'](_0x4c171);_0x4fa951['forEach'](_0x16a99d=>{const _0x453075=_0x27d423,_0x40b5e6=_0x54beba[_0x453075(0x137)](_0x16a99d);_0x40b5e6!=null&&(_0x40b5e6[_0x453075(0x172)]((_0x2d9311,_0x4675f6,_0x3b4c84)=>{const _0x3540f1=_0x453075;this[_0x3540f1(0x161)](_0x3b4c84),this[_0x3540f1(0xf8)](_0x3b4c84);}),_0x54beba[_0x453075(0x14f)](_0x16a99d),this['_otherFormulaDataMainData'][_0x453075(0x14f)](_0x16a99d));}),_0x54beba[_0x27d423(0x18a)]===0x0&&_0x2ece76[_0x27d423(0x14f)](_0x4c171),_0x2ece76[_0x27d423(0x18a)]===0x0&&this[_0x27d423(0x1ac)][_0x27d423(0x14f)](_0x51e80a);}}[_0x31cb46(0x164)](_0x4733be,_0x1360ed){const _0x84f52=_0x31cb46,_0x4d97ef=this[_0x84f52(0x1ac)][_0x84f52(0x137)](_0x4733be);if(_0x1360ed&&_0x4d97ef&&_0x4d97ef[_0x84f52(0x14b)](_0x1360ed)){const _0xf27f65=_0x4d97ef[_0x84f52(0x137)](_0x1360ed);this[_0x84f52(0x156)](_0x4733be,_0x1360ed);for(const _0x512270 of _0xf27f65[_0x84f52(0x1ea)]()){const _0x4ef692=_0xf27f65['get'](_0x512270);_0x4ef692!=null&&(_0x4ef692[_0x84f52(0x172)]((_0x11d86c,_0x39fa4a,_0x2bffb7)=>{const _0x3fe61a=_0x84f52;this[_0x3fe61a(0x10d)][_0x3fe61a(0x137)](_0x2bffb7)&&this[_0x3fe61a(0xf8)](_0x2bffb7);}),this['_otherFormulaDataMainData'][_0x84f52(0x14f)](_0x512270));}_0xf27f65[_0x84f52(0x1ae)]();}else{if(_0x4d97ef){for(const _0x1b84a0 of _0x4d97ef[_0x84f52(0x1ea)]()){const _0x2d798c=_0x4d97ef['get'](_0x1b84a0);this[_0x84f52(0x156)](_0x4733be,_0x1b84a0);for(const _0x5a78ab of _0x2d798c[_0x84f52(0x1ea)]()){const _0x3085da=_0x2d798c[_0x84f52(0x137)](_0x5a78ab);_0x3085da!=null&&(_0x3085da[_0x84f52(0x172)]((_0x4a083f,_0x37baf6,_0x4e4622)=>{const _0x261033=_0x84f52;this[_0x261033(0x10d)][_0x261033(0x137)](_0x4e4622)&&this[_0x261033(0xf8)](_0x4e4622);}),this[_0x84f52(0x143)][_0x84f52(0x14f)](_0x5a78ab));}}this[_0x84f52(0x1ac)]['delete'](_0x4733be);}}}[_0x31cb46(0xee)](_0x289fca,_0x10ee70,_0x5c7ddd,_0x3342c5){const _0x20b39c=_0x31cb46;this['_featureFormulaData'][_0x20b39c(0x14b)](_0x289fca)||this[_0x20b39c(0x1a2)][_0x20b39c(0x132)](_0x289fca,new Map());const _0x59058d=this[_0x20b39c(0x1a2)]['get'](_0x289fca);_0x59058d[_0x20b39c(0x14b)](_0x10ee70)||_0x59058d['set'](_0x10ee70,new Map()),_0x59058d[_0x20b39c(0x137)](_0x10ee70)['set'](_0x5c7ddd,_0x3342c5[_0x20b39c(0x195)]);}[_0x31cb46(0x19e)](_0x929ea5,_0x3c1459,_0x486010){const _0x100878=_0x31cb46,_0x83f95a=this[_0x100878(0x1a2)][_0x100878(0x137)](_0x929ea5);if(_0x83f95a&&_0x83f95a[_0x100878(0x14b)](_0x3c1459)){const _0x203ce5=_0x83f95a['get'](_0x3c1459);_0x486010[_0x100878(0xf1)](_0x3f7cb6=>{const _0x151de9=_0x100878,_0x108b8f=_0x203ce5[_0x151de9(0x137)](_0x3f7cb6);_0x108b8f!=null&&(this[_0x151de9(0x161)](_0x108b8f),_0x203ce5[_0x151de9(0x14f)](_0x3f7cb6),this[_0x151de9(0xf8)](_0x108b8f));});}}[_0x31cb46(0x17f)](_0x3e5267,_0x5971c5){const _0x5b732b=_0x31cb46,_0x2aaaa2=this['_featureFormulaData'][_0x5b732b(0x137)](_0x3e5267);if(_0x5971c5&&_0x2aaaa2&&_0x2aaaa2[_0x5b732b(0x14b)](_0x5971c5)){const _0x59c0c6=_0x2aaaa2[_0x5b732b(0x137)](_0x5971c5);this[_0x5b732b(0x156)](_0x3e5267,_0x5971c5),_0x59c0c6[_0x5b732b(0xf1)](_0x4d781a=>{const _0x15aa75=_0x5b732b;_0x4d781a!=null&&this[_0x15aa75(0xf8)](_0x4d781a);}),_0x59c0c6['clear']();}else _0x2aaaa2&&(_0x2aaaa2[_0x5b732b(0xf1)]((_0x415742,_0x430756)=>{const _0x32209f=_0x5b732b;this[_0x32209f(0x156)](_0x3e5267,_0x430756),_0x415742['forEach'](_0x1ff0f7=>{const _0x26a0b6=_0x32209f;_0x1ff0f7!=null&&this[_0x26a0b6(0xf8)](_0x1ff0f7);});}),this[_0x5b732b(0x1a2)]['delete'](_0x3e5267));}['addFormulaDependency'](_0x5b1267,_0x449c4e,_0xefcc0b,_0x35321c,_0x55ab1d){const _0x3ce187=_0x31cb46;this[_0x3ce187(0x117)]['has'](_0x5b1267)||this['_formulaData'][_0x3ce187(0x132)](_0x5b1267,new Map());const _0x567a1a=this[_0x3ce187(0x117)]['get'](_0x5b1267);_0x567a1a[_0x3ce187(0x14b)](_0x449c4e)||_0x567a1a[_0x3ce187(0x132)](_0x449c4e,new O[(_0x3ce187(0x100))]()),_0x567a1a[_0x3ce187(0x137)](_0x449c4e)[_0x3ce187(0x141)](_0xefcc0b,_0x35321c,_0x55ab1d['treeId']);}[_0x31cb46(0x136)](_0x9e3ef4,_0x4cdd4d,_0x499592,_0x2dc09c){const _0x342978=_0x31cb46,_0x109d3b=this[_0x342978(0x117)]['get'](_0x9e3ef4);if(_0x109d3b&&_0x109d3b['has'](_0x4cdd4d)){const _0x200a04=_0x109d3b[_0x342978(0x137)](_0x4cdd4d),_0xbba180=_0x200a04[_0x342978(0x1c5)](_0x499592,_0x2dc09c);if(_0xbba180==null)return;this['_removeDependencyRTreeCache'](_0xbba180),_0x200a04[_0x342978(0x175)](_0x499592,_0x2dc09c),this[_0x342978(0xf8)](_0xbba180);}}[_0x31cb46(0x1c8)](_0x2a091d,_0x354779){const _0x1bec3a=_0x31cb46,_0x2fc1d2=this['_formulaData']['get'](_0x2a091d);if(_0x354779&&_0x2fc1d2&&_0x2fc1d2[_0x1bec3a(0x14b)](_0x354779)){const _0x4eb6e6=_0x2fc1d2[_0x1bec3a(0x137)](_0x354779);this[_0x1bec3a(0x156)](_0x2a091d,_0x354779),_0x4eb6e6['forValue']((_0x430723,_0x1f2cb1,_0x4c1725)=>{const _0x13c8f9=_0x1bec3a;if(_0x4c1725==null)return!0x0;this[_0x13c8f9(0xf8)](_0x4c1725);}),_0x4eb6e6[_0x1bec3a(0x165)]();}else _0x2fc1d2&&(_0x2fc1d2[_0x1bec3a(0xf1)]((_0x1e131c,_0x1b3117)=>{const _0x30c8f5=_0x1bec3a;this[_0x30c8f5(0x156)](_0x2a091d,_0x1b3117),_0x1e131c[_0x30c8f5(0x172)]((_0x1d0fdd,_0xffe9dc,_0x1169d2)=>{const _0x2f9495=_0x30c8f5;if(_0x1169d2==null)return!0x0;this[_0x2f9495(0xf8)](_0x1169d2);});}),this[_0x1bec3a(0x117)][_0x1bec3a(0x14f)](_0x2a091d));}['_removeDependencyRTreeCache'](_0x2c2700){const _0x161ffd=_0x31cb46;if(_0x2c2700==null)return;const _0x521d02=this[_0x161ffd(0x10d)][_0x161ffd(0x137)](_0x2c2700);if(_0x521d02){const _0x20cf22=[];for(const [_0x192d95,_0x437f07]of _0x521d02)for(const [_0x35c86e,_0x3eb45f]of _0x437f07)_0x20cf22[_0x161ffd(0x150)]({'unitId':_0x192d95,'sheetId':_0x35c86e,'range':_0x3eb45f,'id':_0x2c2700});this['_dependencyRTreeCache']['bulkRemove'](_0x20cf22);}}['removeFormulaDependencyByDefinedName'](_0x1305e6,_0x5b60ad){const _0x4a3399=_0x31cb46,_0x2ade68=this[_0x4a3399(0x104)][_0x4a3399(0x137)](_0x1305e6);if(_0x2ade68){const _0xbdf99f=_0x2ade68[_0x4a3399(0x137)](_0x5b60ad);if(_0xbdf99f){for(const _0x3ff208 of _0xbdf99f)this[_0x4a3399(0x161)](_0x3ff208),this[_0x4a3399(0xf8)](_0x3ff208);_0xbdf99f[_0x4a3399(0x1ae)]();}}}[_0x31cb46(0x173)](){const _0x510d0b=_0x31cb46;this[_0x510d0b(0x1b5)]['openKdTree']();}['closeKdTree'](){const _0x599bcd=_0x31cb46;this[_0x599bcd(0x1b5)]['closeKdTree']();}[_0x31cb46(0xf8)](_0x261863){const _0x3432f7=_0x31cb46;_0x261863!=null&&this[_0x3432f7(0x10d)]['delete'](_0x261863);}[_0x31cb46(0x1ed)](_0xb6e4f2){const _0x364d95=_0x31cb46;var _0x5dff53,_0x13fcef;const _0x5daf25=_0xb6e4f2[_0x364d95(0x144)];let _0x69b29d=this[_0x364d95(0x10d)]['get'](_0xb6e4f2[_0x364d95(0x195)]);for(let _0x20d11b=0x0;_0x20d11b<_0x5daf25[_0x364d95(0x131)];_0x20d11b++){const _0x5c57a3=_0x5daf25[_0x20d11b];let {unitId:_0x1cce00,sheetId:_0x4ce08f,range:_0x392f54}=_0x5c57a3;_0x69b29d||(_0x69b29d=new Map(),this['_allTreeMap'][_0x364d95(0x132)](_0xb6e4f2['treeId'],_0x69b29d)),_0x69b29d[_0x364d95(0x14b)](_0x1cce00)||_0x69b29d[_0x364d95(0x132)](_0x1cce00,new Map());const _0x875e66=(_0x5dff53=_0x69b29d==null?void 0x0:_0x69b29d[_0x364d95(0x137)](_0x1cce00))==null?void 0x0:_0x5dff53[_0x364d95(0x137)](_0x4ce08f);_0x875e66&&(_0x392f54={'startRow':Math[_0x364d95(0x19a)](_0x392f54[_0x364d95(0x120)],_0x875e66['startRow']),'startColumn':Math[_0x364d95(0x19a)](_0x392f54[_0x364d95(0x14c)],_0x875e66[_0x364d95(0x14c)]),'endRow':Math[_0x364d95(0x17b)](_0x392f54['endRow'],_0x875e66['endRow']),'endColumn':Math[_0x364d95(0x17b)](_0x392f54[_0x364d95(0x18b)],_0x875e66[_0x364d95(0x18b)])}),(_0x13fcef=_0x69b29d['get'](_0x1cce00))==null||_0x13fcef[_0x364d95(0x132)](_0x4ce08f,_0x392f54);}}}var $=Object[_0x31cb46(0x125)],H=(_0xf3f56,_0x30cea7,_0x48929d,_0x4c240d)=>{for(var _0x37a1a9=_0x4c240d>0x1?void 0x0:_0x4c240d?$(_0x30cea7,_0x48929d):_0x30cea7,_0x5bc596=_0xf3f56['length']-0x1,_0x250303;_0x5bc596>=0x0;_0x5bc596--)(_0x250303=_0xf3f56[_0x5bc596])&&(_0x37a1a9=_0x250303(_0x37a1a9)||_0x37a1a9);return _0x37a1a9;};const X=Number[_0x31cb46(0x1c4)](0x69622c44);exports[_0x31cb46(0x10a)]=class extends c[_0x31cb46(0x1a7)]{[_0x31cb46(0x159)](){const _0x159c48=_0x31cb46;var _0x5917c7,_0x6e5412;this[_0x159c48(0x1d4)]()?(this[_0x159c48(0x160)]['add']([c[_0x159c48(0x1ce)],{'useClass':L}]),(_0x5917c7=this[_0x159c48(0x1a0)])!=null&&_0x5917c7[_0x159c48(0x163)]||[[c[_0x159c48(0x189)],{'useClass':V}],[c[_0x159c48(0x1bd)],{'useClass':G}],[c[_0x159c48(0x115)],{'useClass':B}]][_0x159c48(0xf1)](_0x10cb89=>this[_0x159c48(0x160)][_0x159c48(0x197)](_0x10cb89))):(this[_0x159c48(0x160)][_0x159c48(0x197)]([c[_0x159c48(0x1ce)],{'useClass':c[_0x159c48(0x1ce)]}]),(_0x6e5412=this[_0x159c48(0x1a0)])!=null&&_0x6e5412['notExecuteFormula']||[[c['ICalculateFormulaService'],{'useClass':c[_0x159c48(0x133)]}],[c[_0x159c48(0x1bd)],{'useClass':c[_0x159c48(0x12b)]}],[c[_0x159c48(0x115)],{'useClass':c[_0x159c48(0x107)]}]]['forEach'](_0x25d4fd=>this['_injector'][_0x159c48(0x197)](_0x25d4fd)));}[_0x31cb46(0x1d4)](){const _0x554ca3=_0x31cb46;var _0x125b63;const _0x249051=(_0x125b63=this[_0x554ca3(0x1bf)][_0x554ca3(0x139)](v[_0x554ca3(0x103)]))!=null?_0x125b63:{},{ls:_0x509048,pbk:_0x2c4610}=_0x249051;if(!_0x509048||!_0x2c4610)return!0x1;const _0x8640c8=v[_0x554ca3(0x185)](Y,b),_0x2cc072=new Function(_0x554ca3(0x1b0)+_0x8640c8)()(_0x509048,_0x2c4610),_0x205fb1=_0x2cc072['message'];return _0x2cc072[_0x554ca3(0x138)]&&v[_0x554ca3(0x19d)](_0x205fb1,'sf',X)?v['getSheetFeatureLimit'](_0x205fb1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x31cb46(0x10a)]=H([O['DependentOn'](v[_0x31cb46(0x186)])],exports['UniverProFormulaEnginePlugin']),exports[_0x31cb46(0x179)]=L,Object[_0x31cb46(0x1ea)](c)['forEach'](_0x9bff53=>{const _0x40902c=_0x31cb46;_0x9bff53!=='default'&&!Object[_0x40902c(0x11c)][_0x40902c(0x102)][_0x40902c(0x1ca)](exports,_0x9bff53)&&Object['defineProperty'](exports,_0x9bff53,{'enumerable':!0x0,'get':()=>c[_0x9bff53]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5b80(_0x188bd7,_0x4fd1dc){_0x188bd7=_0x188bd7-0x98;var _0x14b997=_0x14b9();var _0x5b80db=_0x14b997[_0x188bd7];return _0x5b80db;}(function(_0x34ca9d,_0x336f8e){var _0x536fc4=_0x5b80,_0x42d9c2=_0x34ca9d();while(!![]){try{var _0x4a9d2b=-parseInt(_0x536fc4(0xa1))/0x1+parseInt(_0x536fc4(0x9f))/0x2+parseInt(_0x536fc4(0x9a))/0x3*(parseInt(_0x536fc4(0x98))/0x4)+-parseInt(_0x536fc4(0xa0))/0x5*(parseInt(_0x536fc4(0x9e))/0x6)+-parseInt(_0x536fc4(0x9d))/0x7+parseInt(_0x536fc4(0x9b))/0x8+-parseInt(_0x536fc4(0x99))/0x9*(parseInt(_0x536fc4(0x9c))/0xa);if(_0x4a9d2b===_0x336f8e)break;else _0x42d9c2['push'](_0x42d9c2['shift']());}catch(_0x51f6f2){_0x42d9c2['push'](_0x42d9c2['shift']());}}}(_0x14b9,0xa1bbd));export*from'@univerjs/engine-formula/facade';function _0x14b9(){var _0x1895d0=['5705616kinaVI','124370FvemTh','112378jNJIwD','6816846qfROcB','2011826mUPRPr','5lzIHye','12795BJfzQw','4ARQwGN','225WvRiwR','1257783urTcEk'];_0x14b9=function(){return _0x1895d0;};return _0x14b9();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xdea468=_0x476c;(function(_0x1f67dd,_0x14c922){const _0x59e05c=_0x476c,_0x24f79e=_0x1f67dd();while(!![]){try{const _0x7067f8=parseInt(_0x59e05c(0x13e))/0x1+-parseInt(_0x59e05c(0x1af))/0x2+parseInt(_0x59e05c(0x170))/0x3+-parseInt(_0x59e05c(0x140))/0x4+-parseInt(_0x59e05c(0x103))/0x5+parseInt(_0x59e05c(0x1b1))/0x6*(-parseInt(_0x59e05c(0x169))/0x7)+parseInt(_0x59e05c(0x19e))/0x8*(parseInt(_0x59e05c(0x1ae))/0x9);if(_0x7067f8===_0x14c922)break;else _0x24f79e['push'](_0x24f79e['shift']());}catch(_0x23055f){_0x24f79e['push'](_0x24f79e['shift']());}}}(_0x90b3,0x8877a));var ie=Object[_0xdea468(0x12c)],ce=(_0x59fd3d,_0xd47a81,_0x11c24e)=>_0xd47a81 in _0x59fd3d?ie(_0x59fd3d,_0xd47a81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11c24e}):_0x59fd3d[_0xd47a81]=_0x11c24e,y=(_0x4348e2,_0x68edd4,_0xe0675a)=>ce(_0x4348e2,typeof _0x68edd4!=_0xdea468(0x142)?_0x68edd4+'':_0x68edd4,_0xe0675a);import{LexerTreeBuilder as _0x15fbc2,ErrorType as _0x2b0637,DEFAULT_TOKEN_TYPE_ROOT as _0x3e648b,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1930a9,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4d3152,NEW_EXCEL_FUNCTIONS as _0x3aedf6,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x20e42c,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x3142bb,matchToken as _0x77cd50,SUFFIX_TOKEN_SET as _0x280cc3,prefixToken as _0x2515b6,LexerNode as _0x1a9b78,OPERATOR_TOKEN_SET as _0x22acc5,isReferenceString as _0x440c57,splitTableStructuredRef as _0x6497e5,FormulaDependencyGenerator as _0x14bbc0,generateRandomDependencyTreeId as _0xbefcc8,FormulaDependencyTree as _0x441b37,FormulaDependencyTreeType as _0x6ec638,FormulaDependencyTreeVirtual as _0x5d0845,generateAstNode as _0x1d9192,CalculateFormulaService as _0xf18d59,FormulaExecuteStageType as _0x12f3d6,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xa50f02,DEFAULT_INTERVAL_COUNT as _0x142c2d,DependencyManagerBaseService as _0x38dc6b,UniverFormulaEnginePlugin as _0x151b54,ICalculateFormulaService as _0xc7ae51,IDependencyManagerService as _0xc41e20,IFormulaDependencyGenerator as _0x1de1cf,DependencyManagerService as _0x1a183c}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x33099e,LS_CONFIG_KEY as _0x5bfbf4,unshiftString as _0x2e6f97,isFeatureAuthorizedWithinTime as _0x1a525d,getSheetFeatureLimit as _0x36b4df}from'@univerjs-pro/license';import{ObjectMatrix as _0xb6e462,requestImmediateMacroTask as _0x19a920,RTree as _0x4505d8,DependentOn as _0x37518a}from'@univerjs/core';class ve extends _0x15fbc2{constructor(){const _0x283e5b=_0xdea468;super(...arguments),y(this,_0x283e5b(0x17c),!0x1),y(this,_0x283e5b(0x176),new Set()),y(this,_0x283e5b(0x197),_0x283e5b(0x153)),y(this,_0x283e5b(0x1bf),_0x283e5b(0x185)),y(this,_0x283e5b(0x158),'');}[_0xdea468(0x179)](){const _0x4bc18d=_0xdea468;this[_0x4bc18d(0x197)]='_xlpm.',this[_0x4bc18d(0x1bf)]=_0x4bc18d(0x185);}['_clearPrefix'](){const _0x48e3fb=_0xdea468;this[_0x48e3fb(0x197)]='',this[_0x48e3fb(0x1bf)]='';}[_0xdea468(0x16c)](_0x2dd9dc,_0x3d1098){const _0x2e198f=_0xdea468,_0x1c9985=this['treeBuilder'](_0x2dd9dc,!0x1);if(!_0x1c9985||_0x1c9985===_0x2b0637[_0x2e198f(0x1b3)]||Array[_0x2e198f(0x166)](_0x1c9985))return null;const _0x31d47d=[];return this[_0x2e198f(0x17c)]=!0x1,this[_0x2e198f(0x1b7)](_0x1c9985,_0x31d47d,_0x3d1098),this[_0x2e198f(0x17c)]?'='+_0x31d47d[_0x2e198f(0x16a)](''):null;}[_0xdea468(0x1b7)](_0x54df47,_0x3ea9a3,_0x51a0fa){const _0x35fac3=_0xdea468,_0x4dc147=_0x54df47[_0x35fac3(0x16f)](),_0x58feea=_0x4dc147[_0x35fac3(0x1aa)](),_0x3758e2=_0x58feea['toUpperCase'](),_0x45a12b=this[_0x35fac3(0x102)](_0x3758e2),_0x30204d=_0x51a0fa(_0x45a12b);let _0x1a8969=0x0;_0x4dc147===_0x3e648b?_0x1a8969=0x3:_0x4dc147===_0x1930a9?_0x1a8969=0x4:_0x4dc147===_0x4d3152?_0x1a8969=0x5:_0x3aedf6['has'](_0x45a12b)?(_0x3ea9a3[_0x35fac3(0x19c)](''+this['_xlfnPrefix']+_0x58feea),this[_0x35fac3(0x17c)]=!0x0):_0x3758e2===_0x20e42c?(_0x3ea9a3['push'](''+this[_0x35fac3(0x1bf)]+_0x58feea),this[_0x35fac3(0x17c)]=!0x0,_0x1a8969=0x2):_0x3758e2===_0x3142bb?(_0x3ea9a3[_0x35fac3(0x19c)](''+this[_0x35fac3(0x1bf)]+_0x58feea),this['_hasNewExcelFunction']=!0x0,_0x1a8969=0x1):_0x3758e2===_0x77cd50['COLON']?_0x1a8969=0x8:_0x280cc3[_0x35fac3(0xea)](_0x3758e2)?_0x1a8969=0x7:_0x3758e2===_0x2515b6[_0x35fac3(0x177)]?(this['_checkAddBracketForMinus'](_0x54df47)&&(_0x1a8969=0x9),_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147)):(_0x3ea9a3['push'](_0x4dc147),_0x1a8969=0xa),_0x30204d?(_0x1a8969!==0x2&&_0x1a8969!==0x1&&(_0x1a8969=0x6),_0x3ea9a3['push']('(')):_0x1a8969===0x9&&_0x3ea9a3[_0x35fac3(0x19c)]('(');const _0x3a0d0d=_0x54df47[_0x35fac3(0x10d)](),_0x41b581=_0x3a0d0d['length'];if(_0x1a8969===0x2){const _0x3f5af4=_0x3a0d0d[0x0];let _0x4986b5=0x0;_0x3f5af4 instanceof _0x1a9b78&&_0x3f5af4[_0x35fac3(0x16f)]()===_0x4d3152&&(_0x4986b5=0x1);for(let _0x2d97a2=_0x4986b5;_0x2d97a2<_0x41b581-0x1;_0x2d97a2++){const _0x59f578=_0x3a0d0d[_0x2d97a2];if(_0x59f578 instanceof _0x1a9b78){const _0x597741=_0x59f578[_0x35fac3(0x10d)]()[0x0];typeof _0x597741==_0x35fac3(0x19b)&&(this['_lambdaFunctionParameterSet'][_0x35fac3(0xea)](_0x597741)&&console['error'](_0x35fac3(0x1a2)+_0x597741+'\x22\x20is\x20duplicated.'),this[_0x35fac3(0x176)][_0x35fac3(0x137)](_0x597741),_0x3ea9a3[_0x35fac3(0x19c)](''+this[_0x35fac3(0x197)]+_0x597741),this[_0x35fac3(0x17c)]=!0x0);}_0x3ea9a3[_0x35fac3(0x19c)](',');}this[_0x35fac3(0x148)](_0x3a0d0d[_0x41b581-0x1],_0x3ea9a3,_0x51a0fa),_0x4986b5===0x1&&(_0x3ea9a3[_0x35fac3(0x19c)](')'),_0x3ea9a3[_0x35fac3(0x19c)]('('),this[_0x35fac3(0x1b7)](_0x3f5af4,_0x3ea9a3,_0x51a0fa)),_0x3ea9a3[_0x35fac3(0x19c)](')');return;}else{if(_0x1a8969===0x1){for(let _0x223de9=0x0;_0x223de9<_0x41b581-0x1;_0x223de9++){const _0x4be303=_0x3a0d0d[_0x223de9];if(_0x4be303 instanceof _0x1a9b78&&_0x223de9%0x2===0x0){const _0x15019b=_0x4be303[_0x35fac3(0x10d)]()[0x0];if(typeof _0x15019b=='string'){this['_lambdaFunctionParameterSet'][_0x35fac3(0xea)](_0x15019b)&&console[_0x35fac3(0x1b0)](_0x35fac3(0xfc)+_0x15019b+_0x35fac3(0x189)),this['_lambdaFunctionParameterSet']['add'](_0x15019b),_0x3ea9a3['push'](''+this[_0x35fac3(0x197)]+_0x15019b),this[_0x35fac3(0x17c)]=!0x0,_0x3ea9a3[_0x35fac3(0x19c)](',');continue;}}if(this[_0x35fac3(0x148)](_0x4be303,_0x3ea9a3,_0x51a0fa),_0x4be303 instanceof _0x1a9b78){const _0x1c7edd=_0x3a0d0d[_0x223de9+0x1];_0x1c7edd&&_0x1c7edd instanceof _0x1a9b78&&_0x3ea9a3[_0x35fac3(0x19c)](',');}}this[_0x35fac3(0x148)](_0x3a0d0d[_0x41b581-0x1],_0x3ea9a3,_0x51a0fa),_0x3ea9a3[_0x35fac3(0x19c)](')');return;}else{if(_0x1a8969===0x8){const _0x5d302b=_0x3a0d0d[0x0],_0x736810=_0x3a0d0d[0x1];this['_handleNewFunctionChild'](_0x5d302b,_0x3ea9a3,_0x51a0fa),_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147),this['_handleNewFunctionChild'](_0x736810,_0x3ea9a3,_0x51a0fa);return;}}}for(let _0x3a7b5c=0x0;_0x3a7b5c<_0x41b581;_0x3a7b5c++){const _0x1a87e8=_0x3a0d0d[_0x3a7b5c];if(this[_0x35fac3(0x148)](_0x1a87e8,_0x3ea9a3,_0x51a0fa),_0x1a87e8 instanceof _0x1a9b78){const _0x2d796d=_0x3a0d0d[_0x3a7b5c+0x1];_0x2d796d&&_0x2d796d instanceof _0x1a9b78&&_0x3ea9a3[_0x35fac3(0x19c)](',');}}_0x1a8969===0x7&&_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147),(_0x30204d||_0x1a8969===0x9)&&_0x3ea9a3[_0x35fac3(0x19c)](')');}[_0xdea468(0x148)](_0x11c78e,_0x2fdcf5,_0x2703a1){const _0x805a1b=_0xdea468;_0x11c78e instanceof _0x1a9b78?this['_generateNewFunctionString'](_0x11c78e,_0x2fdcf5,_0x2703a1):this[_0x805a1b(0x176)][_0x805a1b(0xea)](_0x11c78e)?(_0x2fdcf5[_0x805a1b(0x19c)](''+this['_xlpmPrefix']+_0x11c78e),this[_0x805a1b(0x17c)]=!0x0):_0x2fdcf5[_0x805a1b(0x19c)](_0x11c78e);}[_0xdea468(0x102)](_0x496cd8){const _0x4b20c1=_0xdea468;let _0x89c258=_0x496cd8[_0x4b20c1(0x1aa)]();if(!_0x89c258)return _0x89c258;const _0x1707ce=_0x89c258[0x0];if((_0x1707ce===_0x2515b6['AT']||_0x1707ce===_0x2515b6['MINUS']||_0x1707ce===_0x2515b6[_0x4b20c1(0x141)])&&(_0x89c258=_0x89c258['slice'](0x1)),!_0x89c258)return _0x89c258;const _0x396b37=_0x89c258[_0x89c258[_0x4b20c1(0x174)]-0x1];return _0x280cc3[_0x4b20c1(0xea)](_0x396b37)&&(_0x89c258=_0x89c258['slice'](0x0,-0x1)),_0x89c258;}[_0xdea468(0x10f)](_0x3ec7f9){const _0x461141=_0xdea468,_0x58a245=_0x3ec7f9[_0x461141(0x10d)]()[0x0];if(!_0x58a245||!(_0x58a245 instanceof _0x1a9b78)||_0x3ec7f9['getChildren']()[_0x461141(0x174)]>0x1)return!0x1;const _0x193a32=_0x58a245['getChildren'](),_0x1c22a7=_0x193a32[_0x461141(0x174)];if(_0x1c22a7===0x1)return!0x1;for(let _0xee93ee=0x0;_0xee93ee<_0x1c22a7;_0xee93ee++){const _0x5537a9=_0x193a32[_0xee93ee];if(!(_0x5537a9 instanceof _0x1a9b78)&&_0x22acc5[_0x461141(0xea)](_0x5537a9))return!0x0;}return!0x1;}[_0xdea468(0xe8)](_0x1ab6f3,_0xc4619d,_0x567510,_0x5dc171,_0x5caa4c){const _0x5315ea=_0xdea468,_0xf05241=this[_0x5315ea(0x130)](_0x1ab6f3,!0x1);if(!_0xf05241||_0xf05241===_0x2b0637[_0x5315ea(0x1b3)]||Array[_0x5315ea(0x166)](_0xf05241))return null;this[_0x5315ea(0x181)](),this[_0x5315ea(0x158)]=_0xc4619d;const _0x49aa6f=this[_0x5315ea(0xf1)](_0xf05241,_0x567510,_0x5dc171,_0x5caa4c);return this[_0x5315ea(0x158)]='',this[_0x5315ea(0x179)](),_0x49aa6f;}[_0xdea468(0xf1)](_0x537132,_0x3e6772,_0x404022,_0x3f9aaf){const _0x501442=_0xdea468,_0x3d341a={'value':'','children':[],'startIndex':0x0};let _0x4132d0=_0x537132;if(_0x4132d0 instanceof _0x1a9b78&&(_0x4132d0[_0x501442(0x16f)]()===_0x3e648b||_0x4132d0['getToken']()===_0x1930a9)&&_0x4132d0['getChildren']()[_0x501442(0x174)]===0x1&&(_0x4132d0=_0x4132d0[_0x501442(0x10d)]()[0x0]),!(_0x4132d0 instanceof _0x1a9b78))return this[_0x501442(0x143)](_0x4132d0,_0x404022,_0x3f9aaf);const _0x160353=_0x4132d0[_0x501442(0x10d)](),_0x5491be=_0x160353[_0x501442(0x174)],_0x53fedf=[];this[_0x501442(0x1b7)](_0x4132d0,_0x53fedf,_0x3e6772),_0x3d341a[_0x501442(0x17e)]=_0x53fedf[_0x501442(0x16a)](''),_0x3d341a[_0x501442(0x116)]=_0x4132d0['getStartIndex']();const _0x149851=this[_0x501442(0x139)](_0x4132d0);if(_0x149851===0x2){const _0x3d2a31=_0x160353[0x0];if(_0x3d2a31 instanceof _0x1a9b78){if(_0x3d2a31[_0x501442(0x16f)]()[_0x501442(0x1aa)]()!==_0x4d3152)return _0x3d341a;this[_0x501442(0x121)](_0x3d2a31,_0x3d341a,_0x3e6772,_0x404022,_0x3f9aaf);}return _0x3d341a;}else{if(_0x149851===0x1){for(let _0x42a77b=0x0;_0x42a77b<_0x5491be-0x1;_0x42a77b++){const _0x15d6f4=_0x160353[_0x42a77b];if(_0x15d6f4 instanceof _0x1a9b78&&_0x42a77b%0x2===0x1){const _0x3b0210=_0x15d6f4[_0x501442(0x10d)]();if(_0x3b0210[_0x501442(0x174)]===0x1&&!(_0x3b0210[0x0]instanceof _0x1a9b78))continue;const _0x4d2ce5=this[_0x501442(0xf1)](_0x15d6f4,_0x3e6772,_0x404022,_0x3f9aaf);_0x4d2ce5&&_0x3d341a[_0x501442(0x160)][_0x501442(0x19c)](_0x4d2ce5);}}return _0x3d341a;}else{if(_0x149851===0x8){const _0x49c5af=_0x160353[0x0];if(_0x49c5af instanceof _0x1a9b78){const _0x309f22=_0x49c5af['getChildren']()[0x0];_0x309f22 instanceof _0x1a9b78&&(_0x3d341a[_0x501442(0x116)]=_0x309f22[_0x501442(0x17b)]());}if(this[_0x501442(0x155)](_0x4132d0))return _0x3d341a;}else{if(_0x149851===0x7){const _0x5d2751=_0x160353[0x0];if(_0x5d2751 instanceof _0x1a9b78){const _0x1f4439=_0x5d2751[_0x501442(0x10d)]()[0x0];_0x1f4439 instanceof _0x1a9b78&&(_0x3d341a[_0x501442(0x116)]=_0x1f4439['getStartIndex']());}}}}}return this[_0x501442(0x135)](_0x160353,_0x149851,_0x3d341a,_0x3e6772,_0x404022,_0x3f9aaf),_0x3d341a;}['_handleChildrenForExprTree'](_0x480cbf,_0x32ad5d,_0x31f552,_0x1e80e9,_0xc54f0f,_0x19fbca){const _0x164a9c=_0xdea468;for(let _0x6fdc71=0x0;_0x6fdc71<_0x480cbf[_0x164a9c(0x174)];_0x6fdc71++){let _0x22f25d=_0x480cbf[_0x6fdc71];if(!(_0x22f25d instanceof _0x1a9b78)){const _0x53b1cf=this[_0x164a9c(0x143)](_0x22f25d,_0xc54f0f,_0x19fbca);_0x53b1cf&&_0x31f552[_0x164a9c(0x160)][_0x164a9c(0x19c)](_0x53b1cf);continue;}const _0x481942=_0x22f25d[_0x164a9c(0x10d)]();if(_0x481942['length']===0x1&&!(_0x481942[0x0]instanceof _0x1a9b78)){const _0x146646=_0x481942[0x0];if(!_0xc54f0f(this['_currentUnitId'],_0x146646)&&!this[_0x164a9c(0x131)](_0x146646,_0x19fbca)&&!_0x440c57(_0x146646))continue;}if(_0x32ad5d===0x8){const _0x521fc9=_0x481942[0x0];if(_0x521fc9 instanceof _0x1a9b78){const _0x23f2d2=_0x521fc9[_0x164a9c(0x16f)]()[_0x164a9c(0x1aa)]();if(_0x440c57(_0x23f2d2))continue;_0x22f25d=_0x521fc9;}}const _0x4f4cb5=this[_0x164a9c(0xf1)](_0x22f25d,_0x1e80e9,_0xc54f0f,_0x19fbca);_0x4f4cb5&&_0x31f552['children']['push'](_0x4f4cb5);}}['_checkColonNodeForExprTree'](_0x53fa8a){const _0x5891f0=_0xdea468,_0x35aefc=_0x53fa8a['getChildren']();if(_0x35aefc[_0x5891f0(0x174)]<0x2)return!0x1;const _0x299fc6=_0x35aefc[0x0],_0x1e2afe=_0x35aefc[0x1];if(!(_0x299fc6 instanceof _0x1a9b78)||!(_0x1e2afe instanceof _0x1a9b78))return!0x1;const _0x2e7535=_0x299fc6[_0x5891f0(0x10d)]()[0x0],_0x40eb2d=_0x1e2afe[_0x5891f0(0x10d)]()[0x0];if(!(_0x2e7535 instanceof _0x1a9b78)||!(_0x40eb2d instanceof _0x1a9b78))return!0x1;const _0x1abc9e=_0x2e7535[_0x5891f0(0x16f)]()[_0x5891f0(0x1aa)](),_0x4626a3=_0x40eb2d[_0x5891f0(0x16f)]()[_0x5891f0(0x1aa)]();return!!_0x440c57(''+_0x1abc9e+_0x77cd50['COLON']+_0x4626a3);}[_0xdea468(0x143)](_0x3386dc,_0x1288e6,_0x5c686d){const _0x5f392e=_0xdea468,_0x476122=_0x3386dc[_0x5f392e(0x1aa)]();return _0x476122['startsWith']('{')&&_0x476122[_0x5f392e(0xe9)]('}')||_0x1288e6(this[_0x5f392e(0x158)],_0x476122)||this[_0x5f392e(0x131)](_0x476122,_0x5c686d)||_0x440c57(_0x476122)?{'value':_0x476122,'children':[],'startIndex':-0x1}:null;}[_0xdea468(0x131)](_0x3f11dd,_0x3aa63d){const _0xed4b0b=_0xdea468,{tableName:_0x3afff3}=_0x6497e5(_0x3f11dd);return _0x3aa63d(this[_0xed4b0b(0x158)],_0x3afff3)?_0x3afff3:null;}['_handleLambdaForExprTree'](_0x5c80eb,_0x3c7405,_0x86456d,_0x56fe36,_0x57374f){const _0x4da5ef=_0xdea468,_0x4e3fd5=_0x5c80eb[_0x4da5ef(0x10d)]();for(let _0x43dbe6=0x0;_0x43dbe6<_0x4e3fd5[_0x4da5ef(0x174)];_0x43dbe6++){const _0x545127=_0x4e3fd5[_0x43dbe6];if(!(_0x545127 instanceof _0x1a9b78))continue;const _0x1420a2=_0x545127[_0x4da5ef(0x10d)]();if(_0x1420a2[_0x4da5ef(0x174)]===0x1&&!(_0x1420a2[0x0]instanceof _0x1a9b78))continue;const _0xad82a4=this[_0x4da5ef(0xf1)](_0x545127,_0x86456d,_0x56fe36,_0x57374f);_0xad82a4&&_0x3c7405[_0x4da5ef(0x160)][_0x4da5ef(0x19c)](_0xad82a4);}}[_0xdea468(0x139)](_0x5cd68e){const _0x20c258=_0xdea468,_0x1ba185=_0x5cd68e[_0x20c258(0x16f)](),_0x2bba7e=_0x1ba185[_0x20c258(0x1aa)]()[_0x20c258(0x172)]();let _0x151947=0x0;return _0x1ba185===_0x3e648b?_0x151947=0x3:_0x1ba185===_0x1930a9?_0x151947=0x4:_0x1ba185===_0x4d3152?_0x151947=0x5:_0x2bba7e===_0x20e42c?_0x151947=0x2:_0x2bba7e===_0x3142bb?_0x151947=0x1:_0x2bba7e===_0x77cd50[_0x20c258(0xe7)]?_0x151947=0x8:_0x280cc3['has'](_0x2bba7e)?_0x151947=0x7:_0x2bba7e===_0x2515b6[_0x20c258(0x177)]?this['_checkAddBracketForMinus'](_0x5cd68e)&&(_0x151947=0x9):_0x151947=0xa,_0x151947;}}const Me={0x0:'j',0x1:'U',0x2:'V',0x3:'t',0x4:'q',0x5:'l',0x6:'s',0x7:'4',0x8:'H',0x9:'g','u':'0','k':'1','Q':'2','A':'3','W':'5','D':'6','U':'7','M':'8','Y':'9','m':'a','g':'b','C':'c','J':'d','c':'e','F':'f','l':'h','x':'i','r':'k','T':'m','p':'n','s':'o','z':'p','B':'r','q':'u','o':'v','b':'w','v':'x','h':'y','y':'z','f':'A','O':'B','n':'C','i':'D','S':'E','H':'F','G':'G','a':'I','t':'J','d':'K','j':'L','I':'M','V':'N','e':'O','E':'P','R':'Q','Z':'R','K':'S','L':'T','N':'W','X':'X','w':'Y','P':'Z'},Se=_0xdea468(0x1b6);function _0x90b3(){const _0x1af0bb=['OTHER_FORMULA','IDLE','setFormulaExecuteStage','_xlpm.','_registerOtherFormulas','_checkColonNodeForExprTree','_registerFormulas','treeId','_currentUnitId','setDependencyTreeModelData','setRuntimeFeatureCellData','clearOtherFormulaDependency','refOffsetX','_getDependencyTreeChildrenIds','addOtherFormulaDependency','setValue','children','unitId','dispose','searchDependency','clear','_calculateRunList','isArray','_initializeWithOverride','_getAllDependencyJson','7WycvRM','join','_convertDirtyRangesToUnitRange','getNewFormulaWithPrefix','columnCount','size','getToken','3144309aFzEkC','_dependencyRTreeCacheForAddressFunction','toUpperCase','values','length','_otherFormulaData','_lambdaFunctionParameterSet','MINUS','_checkIsCycleDependency','_resetPrefix','_featureFormulaData','getStartIndex','_hasNewExcelFunction','_createVirtualFDtree','value','row','clearFeatureFormulaDependency','_clearPrefix','removeFormulaDependency','isForceCalculate','_createFDtree','_xlfn.','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','setCurrent','set','\x22\x20is\x20duplicated.','_restDependencyTreeId','_runtimeService','clearArrayObjectCache','markedAsNoFunctionsExecuted','_startFormulaDependencyTreeModel','getAllRuntimeData','_getAllTreeList','dirtyRanges','dependencySheetName','getUnitData','START_CALCULATION_ARRAY_FORMULA','getConfig','_executionInProgressListener$','_xlpmPrefix','addFormulaDependencyByDefinedName','forEach','_executionCompleteListener$','string','push','setRuntimeOtherData','320kZcdeX','_injector','_allTreeMap','clearFormulaDependency','Lambda\x20parameter\x20name\x20\x22','resolve','resetCalculationState','getFormulaData','formula','column','notExecuteFormula','_addAllTreeMap','trim','removeFormulaDependencyByDefinedName','node','get','369909VDYBlg','1691950hcUOjR','error','5090820weVBln','getDirtyNameMap','VALUE','from','realDeleteValue','/*\x20c65xp3-Jx6mg5c\x20zBcFcB-3cTz5m3c\x20*/FqpC3xsp\x20JcCBhz3xsp(5xCcp6c,\x20zqg5xCdch)\x20{\x20\x20\x20\x203Bh\x20{\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x205xCcp6capFsEmB3fBBmh\x20=\x205xCcp6c.6z5x3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20sBx9xpIc66m9c\x20=\x20tKeV.zmB6c(m3sg(5xCcp6capFsEmB3fBBmh[Q]));\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(!sBx9xpIc66m9c.qJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sBx9xpIc66m9c.qJ\x20=\x20VqTgcB(5xCcp6capFsEmB3fBBmh[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6NsBrcB\x20=\x203hzcsF\x20NsBrcBG5sgm5KCszc\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x206c5F\x20xp63mpCcsF\x20NsBrcBG5sgm5KCszc;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6OBsb6cB\x20=\x203hzcsF\x20bxpJsb\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x203hzcsF\x20bxpJsb.5sCm3xsp\x20!==\x20\x27qpJcFxpcJ\x27;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Csp3cv3\x20=\x20x6NsBrcB\x20?\x206c5F\x20:\x20(x6OBsb6cB\x20?\x20bxpJsb\x20:\x2095sgm5Llx6);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9cNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[Q]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9c\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(Tc66m9cNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBcNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[A]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBc\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(6x9pm3qBcNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9p2m5xJ\x20=\x20Csp3cv3.__ocBxFh__(6x9pm3qBc,\x20Tc66m9c,\x20zqg5xCdch);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20JsTmxp\x20=\x20sBx9xpIc66m9c.JT;\x20\x20\x20\x20\x20\x20\x20\x20FqpC3xsp\x20x6isTmxpIm3Clxp9(zm33cBp,\x20ls63)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp\x20===\x20ls63)\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp.63mB36Nx3l(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206qFFxv\x20=\x20zm33cBp.65xCc(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(6qFFxv\x20&&\x20!ls63.63mB36Nx3l(\x27.\x27)\x20&&\x20ls63\x20!==\x206qFFxv\x20&&\x20ls63.cpJ6Nx3l(\x27.\x27\x20+\x206qFFxv))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x203Bqc;\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\x20Bc3qBp\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c3\x20JsTmxp2m5xJ\x20=\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(x6OBsb6cB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x20(JsTmxp\x20&&\x20JsTmxp.5cp93l)\x20?\x20JsTmxp.6sTc((JTa3cT)\x20=>\x20x6isTmxpIm3Clxp9(JTa3cT,\x205sCm3xsp.ls63pmTc))\x20:\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(5sCm3xsp.ls63pmTc\x20===\x20\x275sCm5ls63\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20c56c\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20om5xJ\x20=\x206x9p2m5xJ\x20&&\x20JsTmxp2m5xJ;\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20sBx9xpIc66m9c,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Cm3Cl\x20(cBBsB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ:\x20Fm56c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_generateNewFunctionString','CURRENTLY_CALCULATING_ARRAY_FORMULA','bulkRemove','isExcludeRange','endColumn','getDirtyData','isAdded','getRuntimeState','_xlfnPrefix','COLON','getFormulaExprTree','endsWith','has','_removeDependencyRTreeCache','subUnitId','reset','addOtherFormulaDependencyMainData','bulkSearch','pop','_generateExprTree','START_DEPENDENCY','addFeatureFormulaDependency','getDirtyRanges','startColumn','rangeList','message','getFormulaDependency','markedAsSuccessfullyExecuted','isCache','openKdTree','Let\x20variable\x20name\x20\x22','refOffsetY','getValue','setCompletedFormulasCount','_config','getFeatureFormulaDependency','_clearFunctionString','3254380CkxrGy','_astTreeBuilder','_removeAllTreeMap','isSkip','_currentConfigService','formulaId','checkAsyncNode','_traverse','_definedNameMap','featureDirtyRanges','getChildren','forValue','_checkAddBracketForMinus','_getUpdateTreeListAndMakeDependency','_initLicenseValid','range','setTotalArrayFormulasToCalculate','setTotalFormulasToCalculate','execute','startIndex','markedAsStopFunctionsExecuted','_otherFormulaManagerService','_getTreeById','_isCyclicUtilMap','isVirtual','removeOtherFormulaDependency','_isCalculateTreeModel','setSkip','max','toRTreeItem','_handleLambdaForExprTree','setAdded','hasOtherFormulaDataMainData','_formulaData','_updateRangeFlatten','getExcludedRange','_getTreeNode','_apply','_getFirstCellOfRange','_dependencyTreeCache','generate','defineProperty','min','_dependencyManagerService','_getFeatureFormulaTree','treeBuilder','_getTableNameFromStructuredRef','executeAsync','next','closeKdTree','_handleChildrenForExprTree','setRuntimeFeatureRange','add','endRow','_getCurNodeTypeForExprTree','_endFormulaDependencyTreeModel','return\x20','_dependencyRTreeCache','featureId','979852odUITh','type','3070816iFnROx','PLUS','symbol','_handleTextNodeForExprTree','startRow','_lexer','_removeDependencyRTreeCacheById','_otherFormulaDataMainData','_handleNewFunctionChild','START_CALCULATION','delete','getOtherFormulaDependency','_configService','keys','valid','addFormulaDependency'];_0x90b3=function(){return _0x1af0bb;};return _0x90b3();}class Ee extends _0x14bbc0{constructor(){const _0x141afa=_0xdea468;super(...arguments),y(this,_0x141afa(0x12a),new Map());}[_0xdea468(0x162)](){const _0x2067c4=_0xdea468;super[_0x2067c4(0x162)](),this[_0x2067c4(0x12a)][_0x2067c4(0x164)]();}async[_0xdea468(0x12b)](_0x54f1be=!0x1){const _0x511dcc=_0xdea468;this[_0x511dcc(0x125)]();const _0x57ed47=this[_0x511dcc(0x107)][_0x511dcc(0x1a5)](),_0x4ab55b=this[_0x511dcc(0x118)]['getOtherFormulaData'](),_0x2b528f=this[_0x511dcc(0x107)]['getClearDependencyTreeCache']();_0x2b528f!=null&&Object[_0x511dcc(0x14d)](_0x2b528f)['forEach'](_0x145e00=>{const _0x3eeba=_0x511dcc;_0x145e00!=null&&Object[_0x3eeba(0x14d)](_0x2b528f[_0x145e00])[_0x3eeba(0x199)](_0x320942=>{const _0x25d0a7=_0x3eeba;_0x320942!=null&&(this[_0x25d0a7(0x12e)][_0x25d0a7(0x15b)](_0x145e00,_0x320942),this[_0x25d0a7(0x12e)][_0x25d0a7(0x180)](_0x145e00,_0x320942),this[_0x25d0a7(0x12e)]['clearFormulaDependency'](_0x145e00,_0x320942));});});const _0x39e8d3=this[_0x511dcc(0x107)][_0x511dcc(0x193)]();await this['_generateTreeList'](_0x57ed47,_0x4ab55b,_0x39e8d3),this[_0x511dcc(0x12e)][_0x511dcc(0xfb)]();const _0x110a43=this[_0x511dcc(0x110)](),_0x57909e=this[_0x511dcc(0x165)](_0x110a43);return this[_0x511dcc(0x178)](_0x57909e)&&this['_runtimeService']['enableCycleDependency'](),_0x54f1be&&this[_0x511dcc(0x18b)][_0x511dcc(0x159)](this[_0x511dcc(0x168)](Array[_0x511dcc(0x1b4)](this[_0x511dcc(0x12a)]['values']()))),this[_0x511dcc(0x12a)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x511dcc(0x164)](),this[_0x511dcc(0x12e)][_0x511dcc(0x134)](),this['_runtimeService'][_0x511dcc(0x18c)](),Promise[_0x511dcc(0x1a3)](_0x57909e);}['_isCyclicUtilMap'](_0x4301be,_0xfdb0a9){const _0x139923=_0xdea468,_0x5d52a2=[_0x4301be];for(;_0x5d52a2[_0x139923(0x174)]>0x0;){const _0x57a97b=_0x5d52a2[_0x5d52a2[_0x139923(0x174)]-0x1];if((_0xfdb0a9[_0x139923(0x1ad)](_0x57a97b)||0x0)===0x0){_0xfdb0a9[_0x139923(0x188)](_0x57a97b,0x1);const _0x187cd7=this[_0x139923(0x12a)][_0x139923(0x1ad)](_0x57a97b);if(_0x187cd7==null){_0xfdb0a9[_0x139923(0x188)](_0x57a97b,0x2),_0x5d52a2[_0x139923(0xf0)]();continue;}const _0x58f888=this[_0x139923(0x12e)][_0x139923(0x163)](_0x187cd7[_0x139923(0x120)]());for(const _0x194245 of _0x58f888){const _0x532e7f=_0xfdb0a9[_0x139923(0x1ad)](_0x194245)||0x0;if(_0x532e7f===0x1)return!0x0;_0x532e7f===0x0&&_0x5d52a2[_0x139923(0x19c)](_0x194245);}}else _0xfdb0a9['set'](_0x57a97b,0x2),_0x5d52a2[_0x139923(0xf0)]();}return!0x1;}[_0xdea468(0x178)](_0x252221){const _0x5b9076=_0xdea468,_0x5d7923=new Map();for(const _0x52c07d of _0x252221)if(!_0x5d7923['has'](_0x52c07d['treeId'])&&this[_0x5b9076(0x11a)](_0x52c07d[_0x5b9076(0x157)],_0x5d7923))return!0x0;return _0x5d7923[_0x5b9076(0x164)](),!0x1;}[_0xdea468(0x12f)](_0x39b998,_0x4f347e,_0x3e0b8c){const _0x413af5=_0xdea468,{unitId:_0x28b3d6,subUnitId:_0x2bf183,dependencyRanges:_0x4d5f32,getDirtyData:_0x1e09e8}=_0x3e0b8c,_0x75977a=_0x4f347e||_0xbefcc8(this[_0x413af5(0x12e)]),_0x1337e8=new _0x441b37(_0x75977a);_0x1337e8['unitId']=_0x28b3d6,_0x1337e8[_0x413af5(0xec)]=_0x2bf183,_0x1337e8['rangeList']=_0x4d5f32,_0x1337e8[_0x413af5(0x1bc)]=_0x1e09e8;const _0x42776b=_0x1e09e8(this[_0x413af5(0x107)][_0x413af5(0x1bc)](),this['_runtimeService']['getAllRuntimeData']()),_0x57b7ab=this[_0x413af5(0x16b)](_0x42776b[_0x413af5(0x191)]);return _0x1337e8[_0x413af5(0x10c)]=_0x57b7ab,_0x1337e8[_0x413af5(0x13d)]=_0x39b998,_0x1337e8[_0x413af5(0x13f)]=_0x6ec638['FEATURE_FORMULA'],this[_0x413af5(0x12e)][_0x413af5(0xf3)](_0x28b3d6,_0x2bf183,_0x39b998,_0x1337e8),this[_0x413af5(0x12a)][_0x413af5(0x188)](_0x1337e8['treeId'],_0x1337e8),this[_0x413af5(0x12e)][_0x413af5(0x101)](_0x3e0b8c[_0x413af5(0x161)],_0x3e0b8c[_0x413af5(0xec)],_0x39b998)&&(_0x1337e8[_0x413af5(0xfa)]=!0x0),_0x1337e8;}[_0xdea468(0x154)](_0x59614e,_0x2ceac3,_0xba1185){const _0x2df134=_0xdea468;var _0x2e80e7;for(const _0x920662 of _0x2ceac3){const _0x522f5d=_0x59614e[_0x920662];if(_0x522f5d==null)continue;const _0x2b515d=Object['keys'](_0x522f5d);for(const _0x146204 of _0x2b515d){const _0x3dc5b2=_0x522f5d[_0x146204];if(_0x3dc5b2==null)continue;const _0xa6cbaa=Object[_0x2df134(0x14d)](_0x3dc5b2);for(const _0x2018eb of _0xa6cbaa){const _0x4be359=this['_dependencyManagerService'][_0x2df134(0x123)](_0x2018eb),_0x3b66c8=_0x3dc5b2[_0x2018eb],{f:_0x481b12,ranges:_0x307b36}=_0x3b66c8;let _0x35497e=!0x1;_0x4be359&&(_0x35497e=!0x0);const {firstRow:_0x3e5b4e,firstColumn:_0x541681}=this[_0x2df134(0x129)](_0x307b36),_0x5a4e6e=this['_dependencyManagerService'][_0x2df134(0x14b)](_0x920662,_0x146204,_0x2018eb),_0x3387a5=(_0x2e80e7=_0x5a4e6e==null?void 0x0:_0x5a4e6e['getValue'](0x0,0x0))!=null?_0x2e80e7:_0xbefcc8(this[_0x2df134(0x12e)]),_0x1d1607=new _0x441b37(_0x3387a5);for(let _0x278d37=0x0;_0x278d37<_0x307b36[_0x2df134(0x174)];_0x278d37++){const _0x19ab86=_0x307b36[_0x278d37],{startRow:_0x273d66,startColumn:_0x4906bd,endRow:_0x13e930,endColumn:_0x290757}=_0x19ab86;for(let _0x2a17b2=_0x273d66;_0x2a17b2<=_0x13e930;_0x2a17b2++)for(let _0x2c46b5=_0x4906bd;_0x2c46b5<=_0x290757;_0x2c46b5++){const _0x2520e2=_0x2c46b5-_0x541681,_0x51ceeb=_0x2a17b2-_0x3e5b4e;if(_0x2520e2===0x0&&_0x51ceeb===0x0){_0x1d1607[_0x2df134(0x1a6)]=_0x481b12,_0x1d1607[_0x2df134(0x161)]=_0x920662,_0x1d1607['subUnitId']=_0x146204,_0x1d1607[_0x2df134(0x108)]=_0x2018eb,_0x1d1607[_0x2df134(0x13f)]=_0x6ec638[_0x2df134(0x150)],_0x1d1607['isCache']=_0x35497e,_0xba1185[_0x2df134(0x19c)](_0x1d1607),this[_0x2df134(0x12a)][_0x2df134(0x188)](_0x1d1607[_0x2df134(0x157)],_0x1d1607),this[_0x2df134(0x12e)][_0x2df134(0x15e)](_0x920662,_0x146204,_0x2018eb,_0x1d1607),this[_0x2df134(0x12e)][_0x2df134(0x198)](_0x1d1607);continue;}const _0x1b5940=new _0x5d0845();_0x1b5940[_0x2df134(0x157)]=(_0x5a4e6e==null?void 0x0:_0x5a4e6e[_0x2df134(0xfe)](_0x2520e2,_0x51ceeb))||_0xbefcc8(this[_0x2df134(0x12e)]),_0x1b5940['refTree']=_0x1d1607,_0x1b5940[_0x2df134(0x15c)]=_0x2520e2,_0x1b5940[_0x2df134(0xfd)]=_0x51ceeb,_0x1b5940[_0x2df134(0xfa)]=_0x35497e,_0x1b5940['type']=_0x6ec638[_0x2df134(0x150)],this['_dependencyManagerService'][_0x2df134(0x15e)](_0x920662,_0x146204,_0x2018eb,_0x1b5940),this[_0x2df134(0x12e)][_0x2df134(0x198)](_0x1b5940),_0xba1185[_0x2df134(0x19c)](_0x1b5940),this[_0x2df134(0x12a)]['set'](_0x1b5940['treeId'],_0x1b5940);}}this['_dependencyManagerService'][_0x2df134(0xee)](_0x2018eb);}}}}[_0xdea468(0x156)](_0x3a557a,_0x213ff3,_0x5e51ae,_0x379244){const _0x46fa8c=_0xdea468;for(const _0x33a8ee of _0x3a557a){const _0x23b569=_0x213ff3[_0x33a8ee];if(_0x23b569==null)continue;const _0xbf92bd=Object[_0x46fa8c(0x14d)](_0x23b569);for(const _0x2c1546 of _0xbf92bd){const _0x535855=new _0xb6e462(_0x23b569[_0x2c1546]||{}),_0x13b353=new Map();_0x535855[_0x46fa8c(0x10e)]((_0x4992c4,_0x10da52,_0xd69c1)=>{const _0x5a2e24=_0x46fa8c;if(_0xd69c1==null)return!0x0;const {x:_0x3cbc99=0x0,y:_0xf21708=0x0,si:_0x2bba7a}=_0xd69c1;if(!(_0x3cbc99===0x0&&_0xf21708===0x0&&_0x2bba7a!=null))return!0x0;const _0x37f177=this[_0x5a2e24(0x184)](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52,_0x5e51ae,_0xd69c1),_0x37662b=this['_dependencyManagerService'][_0x5a2e24(0xf8)](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52);_0x37662b!=null?_0x37f177[_0x5a2e24(0x157)]=_0x37662b:(this[_0x5a2e24(0x12e)]['addFormulaDependency'](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52,_0x37f177),this[_0x5a2e24(0x12e)][_0x5a2e24(0x198)](_0x37f177)),_0x13b353[_0x5a2e24(0x188)](_0x2bba7a,_0x37f177),_0x379244['push'](_0x37f177),this[_0x5a2e24(0x12a)][_0x5a2e24(0x188)](_0x37f177[_0x5a2e24(0x157)],_0x37f177);}),_0x535855[_0x46fa8c(0x10e)]((_0x393dc1,_0x3a573d,_0x44370f)=>{const _0xad5a31=_0x46fa8c;if(_0x44370f==null)return!0x0;const {x:_0x21bcd9=0x0,y:_0x41e971=0x0,si:_0x4cc216}=_0x44370f;if(_0x21bcd9===0x0&&_0x41e971===0x0&&_0x4cc216!=null)return!0x0;let _0xada4e1;if(_0x4cc216&&_0x13b353['has'](_0x4cc216)){const _0x3bf9c6=_0x13b353[_0xad5a31(0x1ad)](_0x4cc216);_0xada4e1=this[_0xad5a31(0x17d)](_0x3bf9c6,_0x44370f);}else _0xada4e1=this[_0xad5a31(0x184)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d,_0x5e51ae,_0x44370f);const _0x5925e6=this['_dependencyManagerService'][_0xad5a31(0xf8)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d);_0x5925e6!=null?_0xada4e1[_0xad5a31(0x157)]=_0x5925e6:(this[_0xad5a31(0x12e)][_0xad5a31(0x14f)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d,_0xada4e1),this['_dependencyManagerService'][_0xad5a31(0x198)](_0xada4e1)),_0x379244[_0xad5a31(0x19c)](_0xada4e1),this[_0xad5a31(0x12a)]['set'](_0xada4e1[_0xad5a31(0x157)],_0xada4e1);}),_0x13b353['clear']();}}}[_0xdea468(0x184)](_0x4e0e11,_0x390e58,_0x4e63bb,_0x15ea6d,_0x1eb3b9,_0x2b84e9){const _0x5dbfa0=_0xdea468,{f:_0x307336,x:_0x181b51=0x0,y:_0x351ccd=0x0}=_0x2b84e9,_0x126205=new _0x441b37(_0xbefcc8(this['_dependencyManagerService'])),_0x36d67f=_0x1eb3b9[_0x4e0e11][_0x390e58];return _0x126205[_0x5dbfa0(0x1a6)]=_0x307336,_0x126205[_0x5dbfa0(0x161)]=_0x4e0e11,_0x126205[_0x5dbfa0(0xec)]=_0x390e58,_0x126205['row']=_0x4e63bb,_0x126205[_0x5dbfa0(0x1a7)]=_0x15ea6d,_0x126205['rowCount']=_0x36d67f['rowCount'],_0x126205['columnCount']=_0x36d67f[_0x5dbfa0(0x16d)],_0x126205;}[_0xdea468(0x110)](){const _0x4a0ac9=_0xdea468,_0x558288=[],_0x5874ad=new Set(),_0x2e77ce=this['_currentConfigService'][_0x4a0ac9(0x183)](),_0x67e9ca=this[_0x4a0ac9(0x107)][_0x4a0ac9(0xf4)](),_0x5c434f=this[_0x4a0ac9(0x12e)]['searchDependency'](_0x67e9ca),_0x3c2108=this[_0x4a0ac9(0x171)][_0x4a0ac9(0xef)](_0x67e9ca);for(const _0x36464d of _0x3c2108)_0x5c434f['add'](_0x36464d);for(const [_0x309411,_0x48bd1b]of this[_0x4a0ac9(0x12a)])(_0x2e77ce||_0x48bd1b['isDirty']||_0x48bd1b[_0x4a0ac9(0x192)](this[_0x4a0ac9(0x107)][_0x4a0ac9(0x1b2)]())||_0x5c434f[_0x4a0ac9(0xea)](_0x309411)&&!_0x48bd1b[_0x4a0ac9(0x1ba)](this[_0x4a0ac9(0x107)][_0x4a0ac9(0x126)]()))&&!_0x5874ad[_0x4a0ac9(0xea)](_0x309411)&&(_0x558288[_0x4a0ac9(0x19c)](_0x48bd1b),_0x5874ad[_0x4a0ac9(0x137)](_0x309411));for(const [_0x57036e,_0x6cde74]of this[_0x4a0ac9(0x12a)])_0x6cde74[_0x4a0ac9(0x11b)]||(_0x6cde74[_0x4a0ac9(0xf6)][_0x4a0ac9(0x174)]=0x0);return _0x558288;}[_0xdea468(0x119)](_0x281524){const _0x3fdd11=_0xdea468;return this[_0x3fdd11(0x12a)][_0x3fdd11(0x1ad)](_0x281524);}[_0xdea468(0x127)](_0x21f9b4){const _0x510756=_0xdea468;return _0x1d9192(_0x21f9b4[_0x510756(0x161)],_0x21f9b4['formula'],this[_0x510756(0x145)],this[_0x510756(0x104)],this[_0x510756(0x107)]);}*['_traverse'](_0x4eca72,_0x45f381){const _0x5eb7de=_0xdea468,_0x47bf45=_0x4eca72,_0x49a977=new Set();for(;_0x47bf45[_0x5eb7de(0x174)]>0x0;){const _0x5fa064=_0x47bf45[_0x5eb7de(0xf0)]();if(_0x49a977[_0x5eb7de(0x164)](),_0x5fa064===void 0x0||_0x5fa064[_0x5eb7de(0x106)]())continue;if(_0x5fa064[_0x5eb7de(0x1bd)]()){yield _0x5fa064,_0x5fa064[_0x5eb7de(0x11e)](),_0x45f381[_0x5eb7de(0x137)](_0x5fa064[_0x5eb7de(0x157)]);continue;}const _0x720c12=this[_0x5eb7de(0x12e)][_0x5eb7de(0x163)](_0x5fa064[_0x5eb7de(0x120)](),_0x45f381),_0x2cfd0e=this[_0x5eb7de(0x171)][_0x5eb7de(0xef)](_0x5fa064[_0x5eb7de(0x120)](),_0x45f381);for(const _0x5f2d12 of _0x2cfd0e)_0x720c12[_0x5eb7de(0x137)](_0x5f2d12);for(const _0x33ad2f of _0x720c12){const _0xedf3e6=this[_0x5eb7de(0x12a)][_0x5eb7de(0x1ad)](_0x33ad2f);if(!_0xedf3e6){console[_0x5eb7de(0x1b0)](_0x5eb7de(0x186),_0x33ad2f);continue;}_0xedf3e6[_0x5eb7de(0x1bd)]()||_0x5fa064[_0x5eb7de(0x106)]()||_0x49a977[_0x5eb7de(0x137)](_0xedf3e6);}if(_0x720c12[_0x5eb7de(0x164)](),_0x49a977[_0x5eb7de(0x16e)]===0x0)yield _0x5fa064,_0x5fa064['setSkip'](),_0x45f381[_0x5eb7de(0x137)](_0x5fa064[_0x5eb7de(0x157)]);else{_0x5fa064[_0x5eb7de(0x122)](),_0x47bf45['push'](_0x5fa064);for(const _0x572ed3 of _0x49a977)_0x47bf45[_0x5eb7de(0x19c)](_0x572ed3);}}_0x47bf45[_0x5eb7de(0x174)]=0x0,_0x49a977[_0x5eb7de(0x164)]();}[_0xdea468(0x165)](_0x107a61){const _0x1f64a4=_0xdea468,_0x53154f=[],_0x1f834f=new Set();for(const _0x2aab06 of this[_0x1f64a4(0x10a)](_0x107a61,_0x1f834f))_0x53154f[_0x1f64a4(0x19c)](_0x2aab06);return _0x53154f;}async[_0xdea468(0x190)](){const _0x4e5400=_0xdea468;return await this['_initializeGenerateTreeList'](),Array[_0x4e5400(0x1b4)](this[_0x4e5400(0x12a)][_0x4e5400(0x173)]());}['_getDependencyTreeParenIds'](_0x1decfc){const _0x59845e=_0xdea468;return this['_dependencyManagerService'][_0x59845e(0x163)](_0x1decfc[_0x59845e(0x120)]());}[_0xdea468(0x15d)](_0x48fcb8){const _0x55af19=_0xdea468,_0x5360c8=new Set(),_0xc05f04=_0x48fcb8[_0x55af19(0xf6)];for(const [_0x3957be,_0x2649f9]of this[_0x55af19(0x12a)])for(const _0x4b0056 of _0xc05f04){const _0x141ca4=_0x4b0056[_0x55af19(0x161)],_0x274344=_0x4b0056['sheetId'];if(_0x2649f9['unitId']!==_0x141ca4||_0x2649f9[_0x55af19(0xec)]!==_0x274344)continue;const _0xe4a3e5=_0x4b0056[_0x55af19(0x112)];if(_0x2649f9['inRangeData'](_0xe4a3e5)){_0x5360c8['add'](_0x3957be);break;}}return _0x5360c8;}[_0xdea468(0x18e)](){const _0x55945f=_0xdea468;this[_0x55945f(0x12e)][_0x55945f(0xfb)]();}[_0xdea468(0x13a)](){const _0x49fcd4=_0xdea468;this['_formulaDependencyTreeModel']['clear'](),this[_0x49fcd4(0x12a)]['clear'](),this[_0x49fcd4(0x12e)][_0x49fcd4(0x134)]();}}class Re extends _0xf18d59{async[_0xdea468(0x128)](_0x20a96e=!0x1){const _0x51e788=_0xdea468;_0x20a96e?this['_runtimeService'][_0x51e788(0x152)](_0x12f3d6['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x51e788(0x18b)]['setFormulaExecuteStage'](_0x12f3d6[_0x51e788(0xf2)]),this[_0x51e788(0x196)][_0x51e788(0x133)](this[_0x51e788(0x18b)]['getRuntimeState']());const _0x32c30d=await this['_formulaDependencyGenerator']['generate'](this[_0x51e788(0x11d)]),_0xe6c8e=this['_interpreter'];_0x20a96e?(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x194)]),this[_0x51e788(0x18b)][_0x51e788(0x113)](_0x32c30d['length'])):(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x149)]),this['_runtimeService'][_0x51e788(0x114)](_0x32c30d['length'])),this[_0x51e788(0x196)][_0x51e788(0x133)](this[_0x51e788(0x18b)][_0x51e788(0x1be)]());let _0x162939=[];const _0x25f4be=this['_configService']['getConfig'](_0xa50f02),_0xd52a06=(_0x25f4be==null?void 0x0:_0x25f4be['intervalCount'])||_0x142c2d;let _0x1e68b7=0x0;const _0x1234b1=_0x32c30d[_0x51e788(0x174)];for(;_0x32c30d[_0x51e788(0x174)]>0x0;){const _0x3e478b=_0x32c30d['pop'](),_0x32aced=_0x1d9192(_0x3e478b[_0x51e788(0x161)],_0x3e478b['formula'],this[_0x51e788(0x145)],this[_0x51e788(0x104)],this[_0x51e788(0x107)]),_0x4e86b4={'node':_0x32aced,'refOffsetX':_0x3e478b['refOffsetX'],'refOffsetY':_0x3e478b['refOffsetY']},_0xb8e1d8=_0x3e478b[_0x51e788(0x1bc)];if(_0x1e68b7%_0xd52a06===0x0&&(await new Promise(_0x3ffbfb=>{const _0x23640d=_0x51e788,_0x58927f=_0x19a920(_0x3ffbfb);_0x162939[_0x23640d(0x19c)](_0x58927f);}),_0x20a96e?(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x1b8)]),this[_0x51e788(0x18b)]['setCompletedArrayFormulasCount'](_0x1e68b7+0x1)):(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6['CURRENTLY_CALCULATING']),this[_0x51e788(0x18b)][_0x51e788(0xff)](_0x1e68b7+0x1)),this[_0x51e788(0x196)]['next'](this[_0x51e788(0x18b)][_0x51e788(0x1be)]()),this['_runtimeService']['isStopExecution']()||_0x4e86b4==null&&_0xb8e1d8==null)){this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x151)]),this[_0x51e788(0x18b)][_0x51e788(0x117)](),this[_0x51e788(0x19a)][_0x51e788(0x133)](this[_0x51e788(0x18b)][_0x51e788(0x18f)]());return;}this[_0x51e788(0x18b)][_0x51e788(0x187)](_0x3e478b[_0x51e788(0x17f)],_0x3e478b[_0x51e788(0x1a7)],_0x3e478b['rowCount'],_0x3e478b[_0x51e788(0x16d)],_0x3e478b['subUnitId'],_0x3e478b['unitId']);let _0x3f90d9;if(_0xb8e1d8!=null&&_0x3e478b[_0x51e788(0x13d)]!=null){const {runtimeCellData:_0x10c926,dirtyRanges:_0x58c7b9}=_0xb8e1d8(this[_0x51e788(0x107)][_0x51e788(0x1bc)](),this[_0x51e788(0x18b)][_0x51e788(0x18f)]());this['_runtimeService'][_0x51e788(0x15a)](_0x3e478b[_0x51e788(0x13d)],_0x10c926),this[_0x51e788(0x18b)][_0x51e788(0x136)](_0x3e478b[_0x51e788(0x13d)],_0x58c7b9);}else _0x4e86b4!=null&&(_0xe6c8e[_0x51e788(0x109)](_0x4e86b4[_0x51e788(0x1ac)])?_0x3f90d9=await _0xe6c8e[_0x51e788(0x132)](_0x4e86b4):_0x3f90d9=_0xe6c8e[_0x51e788(0x115)](_0x4e86b4),_0x3e478b[_0x51e788(0x108)]!=null?this[_0x51e788(0x18b)][_0x51e788(0x19d)](_0x3e478b[_0x51e788(0x108)],_0x3e478b[_0x51e788(0x15c)],_0x3e478b[_0x51e788(0xfd)],_0x3f90d9):this[_0x51e788(0x18b)]['setRuntimeData'](_0x3f90d9));_0x32aced[_0x51e788(0x1a4)](),_0x1e68b7++;}return _0x162939[_0x51e788(0x199)](_0x397619=>_0x397619()),_0x162939=[],_0x1234b1>0x0?this[_0x51e788(0x18b)][_0x51e788(0xf9)]():_0x20a96e||this[_0x51e788(0x18b)][_0x51e788(0x18d)](),this['_runtimeService'][_0x51e788(0x18f)]();}}class Ne extends _0x38dc6b{constructor(){const _0x2366f7=_0xdea468;super(...arguments),y(this,_0x2366f7(0x1a0),new Map()),y(this,_0x2366f7(0x13c),new _0x4505d8(!0x0));}[_0xdea468(0xed)](){const _0x40c1a4=_0xdea468;this[_0x40c1a4(0x175)]['clear'](),this[_0x40c1a4(0x17a)]['clear'](),this['_formulaData'][_0x40c1a4(0x164)](),this[_0x40c1a4(0x13c)][_0x40c1a4(0x164)](),this['_allTreeMap'][_0x40c1a4(0x164)](),this[_0x40c1a4(0x18a)](),this['_otherFormulaDataMainData'][_0x40c1a4(0x164)]();}['addOtherFormulaDependency'](_0x3681ed,_0x269a5a,_0x12478d,_0x15e95f){const _0x394b50=_0xdea468;this[_0x394b50(0x175)][_0x394b50(0xea)](_0x3681ed)||this[_0x394b50(0x175)][_0x394b50(0x188)](_0x3681ed,new Map());const _0x55b42e=this['_otherFormulaData'][_0x394b50(0x1ad)](_0x3681ed);_0x55b42e['has'](_0x269a5a)||_0x55b42e[_0x394b50(0x188)](_0x269a5a,new Map());const _0x241b96=_0x55b42e[_0x394b50(0x1ad)](_0x269a5a);_0x241b96[_0x394b50(0xea)](_0x12478d)||_0x241b96[_0x394b50(0x188)](_0x12478d,new _0xb6e462()),_0x241b96[_0x394b50(0x1ad)](_0x12478d)[_0x394b50(0x15f)](_0x15e95f[_0x394b50(0x15c)],_0x15e95f['refOffsetY'],_0x15e95f[_0x394b50(0x157)]);}[_0xdea468(0x11c)](_0x3edc14,_0x45ec35,_0x3408e8){const _0x298fee=_0xdea468,_0xe435cc=this['_otherFormulaData'][_0x298fee(0x1ad)](_0x3edc14);if(_0xe435cc&&_0xe435cc[_0x298fee(0xea)](_0x45ec35)){const _0x3bf3fb=_0xe435cc[_0x298fee(0x1ad)](_0x45ec35);_0x3408e8['forEach'](_0x13ede0=>{const _0x525818=_0x298fee,_0x6c4b15=_0x3bf3fb[_0x525818(0x1ad)](_0x13ede0);_0x6c4b15!=null&&(_0x6c4b15['forValue']((_0x2d32f2,_0x132c61,_0x46d813)=>{const _0x5385a6=_0x525818;this[_0x5385a6(0xeb)](_0x46d813),this[_0x5385a6(0x105)](_0x46d813);}),_0x3bf3fb['delete'](_0x13ede0),this[_0x525818(0x147)][_0x525818(0x14a)](_0x13ede0));}),_0x3bf3fb['size']===0x0&&_0xe435cc['delete'](_0x45ec35),_0xe435cc[_0x298fee(0x16e)]===0x0&&this['_otherFormulaData'][_0x298fee(0x14a)](_0x3edc14);}}[_0xdea468(0x15b)](_0x282a44,_0x174a19){const _0x1b1a31=_0xdea468,_0x5647f9=this[_0x1b1a31(0x175)][_0x1b1a31(0x1ad)](_0x282a44);if(_0x174a19&&_0x5647f9&&_0x5647f9[_0x1b1a31(0xea)](_0x174a19)){const _0x2e9737=_0x5647f9['get'](_0x174a19);this[_0x1b1a31(0x146)](_0x282a44,_0x174a19);for(const _0x190af8 of _0x2e9737[_0x1b1a31(0x14d)]()){const _0x4b7da6=_0x2e9737['get'](_0x190af8);_0x4b7da6!=null&&(_0x4b7da6[_0x1b1a31(0x10e)]((_0x344851,_0x320bcb,_0x4e55f6)=>{const _0x196d7d=_0x1b1a31;this[_0x196d7d(0x1a0)][_0x196d7d(0x1ad)](_0x4e55f6)&&this[_0x196d7d(0x105)](_0x4e55f6);}),this[_0x1b1a31(0x147)][_0x1b1a31(0x14a)](_0x190af8));}_0x2e9737['clear']();}else{if(_0x5647f9){for(const _0x2f6fb7 of _0x5647f9[_0x1b1a31(0x14d)]()){const _0x5e248a=_0x5647f9['get'](_0x2f6fb7);this[_0x1b1a31(0x146)](_0x282a44,_0x2f6fb7);for(const _0x2e76a8 of _0x5e248a[_0x1b1a31(0x14d)]()){const _0x1d2f2c=_0x5e248a['get'](_0x2e76a8);_0x1d2f2c!=null&&(_0x1d2f2c[_0x1b1a31(0x10e)]((_0x4de2cf,_0x38929a,_0x3bc696)=>{const _0x3077d1=_0x1b1a31;this[_0x3077d1(0x1a0)]['get'](_0x3bc696)&&this[_0x3077d1(0x105)](_0x3bc696);}),this[_0x1b1a31(0x147)]['delete'](_0x2e76a8));}}this[_0x1b1a31(0x175)][_0x1b1a31(0x14a)](_0x282a44);}}}[_0xdea468(0xf3)](_0x3eeed4,_0x2cb8de,_0x353c5d,_0x4a158e){const _0x226f4e=_0xdea468;this[_0x226f4e(0x17a)][_0x226f4e(0xea)](_0x3eeed4)||this[_0x226f4e(0x17a)]['set'](_0x3eeed4,new Map());const _0x282509=this[_0x226f4e(0x17a)][_0x226f4e(0x1ad)](_0x3eeed4);_0x282509[_0x226f4e(0xea)](_0x2cb8de)||_0x282509['set'](_0x2cb8de,new Map()),_0x282509[_0x226f4e(0x1ad)](_0x2cb8de)[_0x226f4e(0x188)](_0x353c5d,_0x4a158e['treeId']);}['removeFeatureFormulaDependency'](_0x92be0a,_0x2274f1,_0x4d8f91){const _0x181196=_0xdea468,_0xb54597=this[_0x181196(0x17a)][_0x181196(0x1ad)](_0x92be0a);if(_0xb54597&&_0xb54597[_0x181196(0xea)](_0x2274f1)){const _0xc1b32e=_0xb54597[_0x181196(0x1ad)](_0x2274f1);_0x4d8f91['forEach'](_0x414509=>{const _0x33fb80=_0x181196,_0x4f986d=_0xc1b32e[_0x33fb80(0x1ad)](_0x414509);_0x4f986d!=null&&(this['_removeDependencyRTreeCache'](_0x4f986d),_0xc1b32e[_0x33fb80(0x14a)](_0x414509),this[_0x33fb80(0x105)](_0x4f986d));});}}[_0xdea468(0x180)](_0x551a8c,_0x401e47){const _0x4890df=_0xdea468,_0x572a76=this['_featureFormulaData'][_0x4890df(0x1ad)](_0x551a8c);if(_0x401e47&&_0x572a76&&_0x572a76[_0x4890df(0xea)](_0x401e47)){const _0x180ce6=_0x572a76[_0x4890df(0x1ad)](_0x401e47);this[_0x4890df(0x146)](_0x551a8c,_0x401e47),_0x180ce6[_0x4890df(0x199)](_0x33fe77=>{const _0x4e5b13=_0x4890df;_0x33fe77!=null&&this[_0x4e5b13(0x105)](_0x33fe77);}),_0x180ce6[_0x4890df(0x164)]();}else _0x572a76&&(_0x572a76[_0x4890df(0x199)]((_0x8a4d72,_0x43d768)=>{const _0x3abd53=_0x4890df;this['_removeDependencyRTreeCacheById'](_0x551a8c,_0x43d768),_0x8a4d72[_0x3abd53(0x199)](_0x3eb986=>{const _0x548aef=_0x3abd53;_0x3eb986!=null&&this[_0x548aef(0x105)](_0x3eb986);});}),this[_0x4890df(0x17a)][_0x4890df(0x14a)](_0x551a8c));}['addFormulaDependency'](_0xaca672,_0x15954a,_0x55398e,_0x3262fc,_0x472ad7){const _0x1231fc=_0xdea468;this[_0x1231fc(0x124)][_0x1231fc(0xea)](_0xaca672)||this[_0x1231fc(0x124)]['set'](_0xaca672,new Map());const _0x8e0b81=this[_0x1231fc(0x124)][_0x1231fc(0x1ad)](_0xaca672);_0x8e0b81[_0x1231fc(0xea)](_0x15954a)||_0x8e0b81[_0x1231fc(0x188)](_0x15954a,new _0xb6e462()),_0x8e0b81[_0x1231fc(0x1ad)](_0x15954a)[_0x1231fc(0x15f)](_0x55398e,_0x3262fc,_0x472ad7[_0x1231fc(0x157)]);}[_0xdea468(0x182)](_0x40863e,_0x5eabd7,_0x413a3e,_0x400746){const _0x48baaa=_0xdea468,_0x1989e2=this[_0x48baaa(0x124)][_0x48baaa(0x1ad)](_0x40863e);if(_0x1989e2&&_0x1989e2[_0x48baaa(0xea)](_0x5eabd7)){const _0x3cc8d8=_0x1989e2[_0x48baaa(0x1ad)](_0x5eabd7),_0x31a6bd=_0x3cc8d8[_0x48baaa(0xfe)](_0x413a3e,_0x400746);if(_0x31a6bd==null)return;this[_0x48baaa(0xeb)](_0x31a6bd),_0x3cc8d8[_0x48baaa(0x1b5)](_0x413a3e,_0x400746),this['_removeAllTreeMap'](_0x31a6bd);}}[_0xdea468(0x1a1)](_0x458d1e,_0x3eb199){const _0x267b0e=_0xdea468,_0x4d1e95=this[_0x267b0e(0x124)][_0x267b0e(0x1ad)](_0x458d1e);if(_0x3eb199&&_0x4d1e95&&_0x4d1e95[_0x267b0e(0xea)](_0x3eb199)){const _0x54aa8f=_0x4d1e95[_0x267b0e(0x1ad)](_0x3eb199);this[_0x267b0e(0x146)](_0x458d1e,_0x3eb199),_0x54aa8f[_0x267b0e(0x10e)]((_0xfb7798,_0x43094c,_0x1ca2f5)=>{const _0x20e5e8=_0x267b0e;if(_0x1ca2f5==null)return!0x0;this[_0x20e5e8(0x105)](_0x1ca2f5);}),_0x54aa8f[_0x267b0e(0xed)]();}else _0x4d1e95&&(_0x4d1e95['forEach']((_0x3fd186,_0x1a1f8d)=>{const _0x398522=_0x267b0e;this[_0x398522(0x146)](_0x458d1e,_0x1a1f8d),_0x3fd186[_0x398522(0x10e)]((_0x58f4b2,_0x4f60cf,_0x4f9d44)=>{const _0x1e5091=_0x398522;if(_0x4f9d44==null)return!0x0;this[_0x1e5091(0x105)](_0x4f9d44);});}),this[_0x267b0e(0x124)][_0x267b0e(0x14a)](_0x458d1e));}[_0xdea468(0xeb)](_0x56707d){const _0x5bc9bc=_0xdea468;if(_0x56707d==null)return;const _0x2c48ed=this[_0x5bc9bc(0x1a0)][_0x5bc9bc(0x1ad)](_0x56707d);if(_0x2c48ed){const _0xd5e6be=[];for(const [_0x512bd5,_0x172628]of _0x2c48ed)for(const [_0x215162,_0x1a642c]of _0x172628)_0xd5e6be[_0x5bc9bc(0x19c)]({'unitId':_0x512bd5,'sheetId':_0x215162,'range':_0x1a642c,'id':_0x56707d});this[_0x5bc9bc(0x13c)][_0x5bc9bc(0x1b9)](_0xd5e6be);}}[_0xdea468(0x1ab)](_0x1b8797,_0x147684){const _0x2abe04=_0xdea468,_0x221916=this[_0x2abe04(0x10b)][_0x2abe04(0x1ad)](_0x1b8797);if(_0x221916){const _0x5631f5=_0x221916[_0x2abe04(0x1ad)](_0x147684);if(_0x5631f5){for(const _0x20cec1 of _0x5631f5)this[_0x2abe04(0xeb)](_0x20cec1),this['_removeAllTreeMap'](_0x20cec1);_0x5631f5[_0x2abe04(0x164)]();}}}['openKdTree'](){const _0x4eb45c=_0xdea468;this['_dependencyRTreeCache'][_0x4eb45c(0xfb)]();}[_0xdea468(0x134)](){const _0x1f209c=_0xdea468;this[_0x1f209c(0x13c)][_0x1f209c(0x134)]();}[_0xdea468(0x105)](_0x667165){const _0x54cea9=_0xdea468;_0x667165!=null&&this[_0x54cea9(0x1a0)]['delete'](_0x667165);}[_0xdea468(0x1a9)](_0x592377){const _0x118883=_0xdea468;var _0x155f71,_0x414021;const _0x383840=_0x592377[_0x118883(0xf6)];let _0x57547b=this[_0x118883(0x1a0)][_0x118883(0x1ad)](_0x592377[_0x118883(0x157)]);for(let _0x171794=0x0;_0x171794<_0x383840[_0x118883(0x174)];_0x171794++){const _0x15c5f4=_0x383840[_0x171794];let {unitId:_0x54a2a6,sheetId:_0xd6adf5,range:_0x346f34}=_0x15c5f4;_0x57547b||(_0x57547b=new Map(),this[_0x118883(0x1a0)][_0x118883(0x188)](_0x592377[_0x118883(0x157)],_0x57547b)),_0x57547b['has'](_0x54a2a6)||_0x57547b[_0x118883(0x188)](_0x54a2a6,new Map());const _0xcc57f1=(_0x155f71=_0x57547b==null?void 0x0:_0x57547b[_0x118883(0x1ad)](_0x54a2a6))==null?void 0x0:_0x155f71[_0x118883(0x1ad)](_0xd6adf5);_0xcc57f1&&(_0x346f34={'startRow':Math[_0x118883(0x12d)](_0x346f34[_0x118883(0x144)],_0xcc57f1[_0x118883(0x144)]),'startColumn':Math[_0x118883(0x12d)](_0x346f34[_0x118883(0xf5)],_0xcc57f1['startColumn']),'endRow':Math['max'](_0x346f34[_0x118883(0x138)],_0xcc57f1[_0x118883(0x138)]),'endColumn':Math[_0x118883(0x11f)](_0x346f34[_0x118883(0x1bb)],_0xcc57f1[_0x118883(0x1bb)])}),(_0x414021=_0x57547b[_0x118883(0x1ad)](_0x54a2a6))==null||_0x414021[_0x118883(0x188)](_0xd6adf5,_0x346f34);}}}var Be=Object['getOwnPropertyDescriptor'],Ae=(_0x1d4b56,_0x31d847,_0x104cfe,_0x3a3549)=>{const _0x3e44ca=_0xdea468;for(var _0x4d2be4=_0x3a3549>0x1?void 0x0:_0x3a3549?Be(_0x31d847,_0x104cfe):_0x31d847,_0x28eef2=_0x1d4b56[_0x3e44ca(0x174)]-0x1,_0x718b79;_0x28eef2>=0x0;_0x28eef2--)(_0x718b79=_0x1d4b56[_0x28eef2])&&(_0x4d2be4=_0x718b79(_0x4d2be4)||_0x4d2be4);return _0x4d2be4;};const Ie=Number['parseInt'](0x694f8991);let W=class extends _0x151b54{[_0xdea468(0x167)](){const _0x246a0f=_0xdea468;var _0x229ae1,_0x1e5dd2;this[_0x246a0f(0x111)]()?(this['_injector']['add']([_0x15fbc2,{'useClass':ve}]),(_0x229ae1=this[_0x246a0f(0x100)])!=null&&_0x229ae1['notExecuteFormula']||[[_0xc7ae51,{'useClass':Re}],[_0xc41e20,{'useClass':Ne}],[_0x1de1cf,{'useClass':Ee}]][_0x246a0f(0x199)](_0x1eca29=>this[_0x246a0f(0x19f)]['add'](_0x1eca29))):(this[_0x246a0f(0x19f)][_0x246a0f(0x137)]([_0x15fbc2,{'useClass':_0x15fbc2}]),(_0x1e5dd2=this[_0x246a0f(0x100)])!=null&&_0x1e5dd2[_0x246a0f(0x1a8)]||[[_0xc7ae51,{'useClass':_0xf18d59}],[_0xc41e20,{'useClass':_0x1a183c}],[_0x1de1cf,{'useClass':_0x14bbc0}]]['forEach'](_0x236a71=>this['_injector'][_0x246a0f(0x137)](_0x236a71)));}[_0xdea468(0x111)](){const _0x570e6c=_0xdea468;var _0x39524a;const _0x52af49=(_0x39524a=this[_0x570e6c(0x14c)][_0x570e6c(0x195)](_0x5bfbf4))!=null?_0x39524a:{},{ls:_0x112498,pbk:_0x26c225}=_0x52af49;if(!_0x112498||!_0x26c225)return!0x1;const _0xeda727=_0x2e6f97(Se,Me),_0xe72917=new Function(_0x570e6c(0x13b)+_0xeda727)()(_0x112498,_0x26c225),_0x2c642d=_0xe72917[_0x570e6c(0xf7)];return _0xe72917[_0x570e6c(0x14e)]&&_0x1a525d(_0x2c642d,'sf',Ie)?_0x36b4df(_0x2c642d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};W=Ae([_0x37518a(_0x33099e)],W);function _0x476c(_0x3ea5fd,_0x36f1bc){_0x3ea5fd=_0x3ea5fd-0xe7;const _0x90b30d=_0x90b3();let _0x476cfa=_0x90b30d[_0x3ea5fd];return _0x476cfa;}export{ve as LexerTreeProBuilder,W as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x18dbfa=_0x8bf7;(function(_0x1fe176,_0x9fbca9){const _0x4b1859=_0x8bf7,_0x3a60b3=_0x1fe176();while(!![]){try{const _0x56a8a3=parseInt(_0x4b1859(0xef))/0x1*(parseInt(_0x4b1859(0xa9))/0x2)+-parseInt(_0x4b1859(0xcc))/0x3+-parseInt(_0x4b1859(0x129))/0x4+parseInt(_0x4b1859(0xfd))/0x5*(-parseInt(_0x4b1859(0x76))/0x6)+-parseInt(_0x4b1859(0x8f))/0x7*(parseInt(_0x4b1859(0x132))/0x8)+-parseInt(_0x4b1859(0xf0))/0x9+parseInt(_0x4b1859(0x133))/0xa*(parseInt(_0x4b1859(0xf7))/0xb);if(_0x56a8a3===_0x9fbca9)break;else _0x3a60b3['push'](_0x3a60b3['shift']());}catch(_0x51243d){_0x3a60b3['push'](_0x3a60b3['shift']());}}}(_0x2113,0x8a888));function _0x2113(){const _0x27ee6e=['getToken','_getDependencyTreeChildrenIds','removeFormulaDependency','values','_updateRangeFlatten','_convertDirtyRangesToUnitRange','parseInt','getFormulaData','_generateExprTree','isArray','_endFormulaDependencyTreeModel','setRuntimeData','featureId','78SLmafA','_addAllTreeMap','clearOtherFormulaDependency','_getDependencyTreeParenIds','_getAllTreeList','inRangeData','message','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','MINUS','setCurrent','delete','toUpperCase','_removeDependencyRTreeCacheById','isDirty','string','setRuntimeFeatureRange','_generateNewFunctionString','featureDirtyRanges','dirtyRanges','execute','_restDependencyTreeId','COLON','_removeDependencyRTreeCache','dispose','7suEaTn','Let\x20variable\x20name\x20\x22','enableCycleDependency','addOtherFormulaDependency','formula','bulkSearch','_startFormulaDependencyTreeModel','add','treeId','_initLicenseValid','_allTreeMap','markedAsSuccessfullyExecuted','getClearDependencyTreeCache','startRow','_getTreeNode','getAllRuntimeData','column','_hasNewExcelFunction','_handleLambdaForExprTree','_definedNameMap','_dependencyRTreeCacheForAddressFunction','_currentUnitId','min','_otherFormulaManagerService','length','isVirtual','1538dBhfDw','_getTableNameFromStructuredRef','error','addFeatureFormulaDependency','pop','_interpreter','startColumn','_handleChildrenForExprTree','_dependencyTreeCache','subUnitId','setFormulaExecuteStage','_removeAllTreeMap','FEATURE_FORMULA','setTotalFormulasToCalculate','CURRENTLY_CALCULATING_ARRAY_FORMULA','symbol','resetCalculationState','getRuntimeState','_config','set','columnCount','keys','getConfig','_handleNewFunctionChild','_clearFunctionString','isCache','_registerFormulas','_checkColonNodeForExprTree','_resetPrefix','bulkRemove','defineProperty','closeKdTree','return\x20','_initializeGenerateTreeList','removeOtherFormulaDependency','2779098fcyoqS','get','/*\x20d9SjcW-2j913Sd\x20FOdKdO-WdvFS1Wd\x20*/KtceWj6c\x202deObFWj6c(Sjedc9d,\x20Ft3Sjeodb)\x20{\x20\x20\x20\x20WOb\x20{\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20Sjedc9dacK6N1OWUOO1b\x20=\x20Sjedc9d.9FSjW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x206OjxjcDd991xd\x20=\x20uiJB.F1O9d(1W63(Sjedc9dacK6N1OWUOO1b[M]));\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(!6OjxjcDd991xd.t2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206OjxjcDd991xd.t2\x20=\x20Btv3dO(Sjedc9dacK6N1OWUOO1b[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9R6OXdO\x20=\x20WbFd6K\x20R6OXdOlS631Sie6Fd\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x209dSK\x20jc9W1ced6K\x20R6OXdOlS631Sie6Fd;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9AO6H9dO\x20=\x20WbFd6K\x20Hjc26H\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x20WbFd6K\x20Hjc26H.S6e1Wj6c\x20!==\x20\x27tc2dKjcd2\x27;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20e6cWdIW\x20=\x20j9R6OXdO\x20?\x209dSK\x20:\x20(j9AO6H9dO\x20?\x20Hjc26H\x20:\x20xS631SfYj9);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[M]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(vd991xdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[Z]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(9jxc1WtOdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxcs1Sj2\x20=\x20e6cWdIW.__ndOjKb__(9jxc1WtOd,\x20vd991xd,\x20Ft3Sjeodb);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x2026v1jc\x20=\x206OjxjcDd991xd.2v;\x20\x20\x20\x20\x20\x20\x20\x20KtceWj6c\x20j9E6v1jcD1WeYjcx(F1WWdOc,\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc\x20===\x20Y69W)\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc.9W1OW9RjWY(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209tKKjI\x20=\x20F1WWdOc.9Sjed(M);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x209tKKjI\x20===\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\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\x20jK\x20(9tKKjI\x20&&\x20!Y69W.9W1OW9RjWY(\x27.\x27)\x20&&\x20Y69W.dc29RjWY(\x27.\x27\x20+\x209tKKjI))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\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\x20OdWtOc\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SdW\x2026v1jcs1Sj2\x20=\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(j9AO6H9dO)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20(26v1jc\x20&&\x2026v1jc.SdcxWY)\x20?\x2026v1jc.96vd((2vaWdv)\x20=>\x20j9E6v1jcD1WeYjcx(2vaWdv,\x20S6e1Wj6c.Y69Wc1vd))\x20:\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(S6e1Wj6c.Y69Wc1vd\x20===\x20\x27S6e1SY69W\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20dS9d\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20n1Sj2\x20=\x209jxcs1Sj2\x20&&\x2026v1jcs1Sj2;\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x206OjxjcDd991xd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20e1WeY\x20(dOO6O)\x20{\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2:\x20K1S9d,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','endsWith','_dependencyManagerService','forValue','isAdded','OTHER_FORMULA','row','forEach','_astTreeBuilder','\x22\x20is\x20duplicated.','START_DEPENDENCY_ARRAY_FORMULA','_lexer','_handleTextNodeForExprTree','value','has','rangeList','refTree','children','_xlfn.','_xlfnPrefix','_initializeWithOverride','from','setCompletedArrayFormulasCount','setAdded','getOtherFormulaDependency','refOffsetY','_dependencyRTreeCache','removeFormulaDependencyByDefinedName','_otherFormulaData','PLUS','_isCalculateTreeModel','join','_traverse','789qQZQEI','5259447YPlvxx','rowCount','searchDependency','clear','clearFormulaDependency','realDeleteValue','size','1163360jhqzhK','_createFDtree','max','getStartIndex','node','_injector','243010YcXAmv','push','addFormulaDependency','type','getDirtyData','slice','endColumn','_clearPrefix','reset','_calculateRunList','_getCurNodeTypeForExprTree','markedAsStopFunctionsExecuted','_generateTreeList','intervalCount','_registerOtherFormulas','getFormulaDependency','removeFeatureFormulaDependency','getChildren','treeBuilder','isSkip','getValue','addFormulaDependencyByDefinedName','_formulaData','setValue','_isCyclicUtilMap','trim','Lambda\x20parameter\x20name\x20\x22','_xlpmPrefix','_lambdaFunctionParameterSet','toRTreeItem','_xlpm.','executeAsync','openKdTree','_featureFormulaData','startsWith','clearFeatureFormulaDependency','next','getFeatureFormulaDependency','setSkip','_configService','_formulaDependencyGenerator','_currentConfigService','_executionInProgressListener$','getDirtyNameMap','1662524bQCWia','checkAsyncNode','setRuntimeOtherData','_createVirtualFDtree','dependencySheetName','startIndex','isForceCalculate','_runtimeService','refOffsetX','7769464tLLCgW','330aKGHFn','generate','_otherFormulaDataMainData','unitId','VALUE','endRow','IDLE','_checkAddBracketForMinus'];_0x2113=function(){return _0x27ee6e;};return _0x2113();}var se=Object[_0x18dbfa(0xc7)],ce=(_0x490549,_0x180e48,_0x13e19e)=>_0x180e48 in _0x490549?se(_0x490549,_0x180e48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13e19e}):_0x490549[_0x180e48]=_0x13e19e,D=(_0x89ae18,_0x478dd7,_0x1dc150)=>ce(_0x89ae18,typeof _0x478dd7!=_0x18dbfa(0xb8)?_0x478dd7+'':_0x478dd7,_0x1dc150);import{LexerTreeBuilder as _0x460023,ErrorType as _0x5b529c,DEFAULT_TOKEN_TYPE_ROOT as _0x49b93d,DEFAULT_TOKEN_TYPE_PARAMETER as _0x2c8439,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x2bb3b3,NEW_EXCEL_FUNCTIONS as _0x1490e7,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xfc1484,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x333de0,matchToken as _0x33b238,SUFFIX_TOKEN_SET as _0x4c3b82,prefixToken as _0x5d6f6b,LexerNode as _0x4815b2,OPERATOR_TOKEN_SET as _0x4e0ae2,isReferenceString as _0x34940f,splitTableStructuredRef as _0x2a0e56,FormulaDependencyGenerator as _0x2a5a00,generateRandomDependencyTreeId as _0x2207e6,FormulaDependencyTree as _0x5e9608,FormulaDependencyTreeType as _0x125eb2,FormulaDependencyTreeVirtual as _0x597f06,generateAstNode as _0xe9476,CalculateFormulaService as _0x25230b,FormulaExecuteStageType as _0x4fa2bb,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x43de81,DEFAULT_INTERVAL_COUNT as _0x4a93cd,DependencyManagerBaseService as _0xc04045,UniverFormulaEnginePlugin as _0x407152,ICalculateFormulaService as _0x1022bf,IDependencyManagerService as _0x4f2952,IFormulaDependencyGenerator as _0x3576ea,DependencyManagerService as _0x507f4e}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x28152f,LS_CONFIG_KEY as _0x153eb6,unshiftString as _0x8e4800,isFeatureAuthorizedWithinTime as _0x538494,getSheetFeatureLimit as _0x2d1d3e}from'@univerjs-pro/license';import{ObjectMatrix as _0x500a2f,requestImmediateMacroTask as _0x4e9755,RTree as _0x31f95a,DependentOn as _0x1e518e}from'@univerjs/core';class ve extends _0x460023{constructor(){const _0x511591=_0x18dbfa;super(...arguments),D(this,_0x511591(0xa0),!0x1),D(this,_0x511591(0x119),new Set()),D(this,_0x511591(0x118),_0x511591(0x11b)),D(this,_0x511591(0xe1),_0x511591(0xe0)),D(this,_0x511591(0xa4),'');}[_0x18dbfa(0xc5)](){const _0x5f4613=_0x18dbfa;this[_0x5f4613(0x118)]=_0x5f4613(0x11b),this['_xlfnPrefix']=_0x5f4613(0xe0);}[_0x18dbfa(0x104)](){const _0x4b5bc2=_0x18dbfa;this[_0x4b5bc2(0x118)]='',this[_0x4b5bc2(0xe1)]='';}['getNewFormulaWithPrefix'](_0x50b103,_0x3e3775){const _0xb78524=_0x18dbfa,_0x26618b=this[_0xb78524(0x10f)](_0x50b103,!0x1);if(!_0x26618b||_0x26618b===_0x5b529c['VALUE']||Array[_0xb78524(0x72)](_0x26618b))return null;const _0x3b6768=[];return this[_0xb78524(0xa0)]=!0x1,this[_0xb78524(0x87)](_0x26618b,_0x3b6768,_0x3e3775),this[_0xb78524(0xa0)]?'='+_0x3b6768[_0xb78524(0xed)](''):null;}[_0x18dbfa(0x87)](_0x5dceb1,_0x3574b5,_0x157f96){const _0x2dc75a=_0x18dbfa,_0x3402a1=_0x5dceb1['getToken'](),_0x365449=_0x3402a1[_0x2dc75a(0x116)](),_0x34d24f=_0x365449[_0x2dc75a(0x82)](),_0x43be97=this[_0x2dc75a(0xc1)](_0x34d24f),_0x228a9f=_0x157f96(_0x43be97);let _0x5c916d=0x0;_0x3402a1===_0x49b93d?_0x5c916d=0x3:_0x3402a1===_0x2c8439?_0x5c916d=0x4:_0x3402a1===_0x2bb3b3?_0x5c916d=0x5:_0x1490e7[_0x2dc75a(0xdc)](_0x43be97)?(_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0xe1)]+_0x365449),this[_0x2dc75a(0xa0)]=!0x0):_0x34d24f===_0xfc1484?(_0x3574b5[_0x2dc75a(0xfe)](''+this['_xlfnPrefix']+_0x365449),this['_hasNewExcelFunction']=!0x0,_0x5c916d=0x2):_0x34d24f===_0x333de0?(_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0xe1)]+_0x365449),this[_0x2dc75a(0xa0)]=!0x0,_0x5c916d=0x1):_0x34d24f===_0x33b238[_0x2dc75a(0x8c)]?_0x5c916d=0x8:_0x4c3b82[_0x2dc75a(0xdc)](_0x34d24f)?_0x5c916d=0x7:_0x34d24f===_0x5d6f6b[_0x2dc75a(0x7f)]?(this[_0x2dc75a(0x13a)](_0x5dceb1)&&(_0x5c916d=0x9),_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1)):(_0x3574b5['push'](_0x3402a1),_0x5c916d=0xa),_0x228a9f?(_0x5c916d!==0x2&&_0x5c916d!==0x1&&(_0x5c916d=0x6),_0x3574b5[_0x2dc75a(0xfe)]('(')):_0x5c916d===0x9&&_0x3574b5[_0x2dc75a(0xfe)]('(');const _0x57746c=_0x5dceb1[_0x2dc75a(0x10e)](),_0xb4ad0f=_0x57746c[_0x2dc75a(0xa7)];if(_0x5c916d===0x2){const _0x27b62b=_0x57746c[0x0];let _0x123d65=0x0;_0x27b62b instanceof _0x4815b2&&_0x27b62b[_0x2dc75a(0x13b)]()===_0x2bb3b3&&(_0x123d65=0x1);for(let _0x11258c=_0x123d65;_0x11258c<_0xb4ad0f-0x1;_0x11258c++){const _0x2f41c0=_0x57746c[_0x11258c];if(_0x2f41c0 instanceof _0x4815b2){const _0x236cbc=_0x2f41c0[_0x2dc75a(0x10e)]()[0x0];typeof _0x236cbc=='string'&&(this[_0x2dc75a(0x119)]['has'](_0x236cbc)&&console[_0x2dc75a(0xab)](_0x2dc75a(0x117)+_0x236cbc+_0x2dc75a(0xd7)),this[_0x2dc75a(0x119)]['add'](_0x236cbc),_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0x118)]+_0x236cbc),this[_0x2dc75a(0xa0)]=!0x0);}_0x3574b5[_0x2dc75a(0xfe)](',');}this[_0x2dc75a(0xc0)](_0x57746c[_0xb4ad0f-0x1],_0x3574b5,_0x157f96),_0x123d65===0x1&&(_0x3574b5[_0x2dc75a(0xfe)](')'),_0x3574b5[_0x2dc75a(0xfe)]('('),this[_0x2dc75a(0x87)](_0x27b62b,_0x3574b5,_0x157f96)),_0x3574b5[_0x2dc75a(0xfe)](')');return;}else{if(_0x5c916d===0x1){for(let _0x4602e2=0x0;_0x4602e2<_0xb4ad0f-0x1;_0x4602e2++){const _0x4019c8=_0x57746c[_0x4602e2];if(_0x4019c8 instanceof _0x4815b2&&_0x4602e2%0x2===0x0){const _0x1afc8c=_0x4019c8[_0x2dc75a(0x10e)]()[0x0];if(typeof _0x1afc8c==_0x2dc75a(0x85)){this['_lambdaFunctionParameterSet'][_0x2dc75a(0xdc)](_0x1afc8c)&&console[_0x2dc75a(0xab)](_0x2dc75a(0x90)+_0x1afc8c+_0x2dc75a(0xd7)),this['_lambdaFunctionParameterSet'][_0x2dc75a(0x96)](_0x1afc8c),_0x3574b5[_0x2dc75a(0xfe)](''+this['_xlpmPrefix']+_0x1afc8c),this['_hasNewExcelFunction']=!0x0,_0x3574b5[_0x2dc75a(0xfe)](',');continue;}}if(this[_0x2dc75a(0xc0)](_0x4019c8,_0x3574b5,_0x157f96),_0x4019c8 instanceof _0x4815b2){const _0xbcfeec=_0x57746c[_0x4602e2+0x1];_0xbcfeec&&_0xbcfeec instanceof _0x4815b2&&_0x3574b5[_0x2dc75a(0xfe)](',');}}this['_handleNewFunctionChild'](_0x57746c[_0xb4ad0f-0x1],_0x3574b5,_0x157f96),_0x3574b5['push'](')');return;}else{if(_0x5c916d===0x8){const _0xf82c9c=_0x57746c[0x0],_0x2bbe2b=_0x57746c[0x1];this[_0x2dc75a(0xc0)](_0xf82c9c,_0x3574b5,_0x157f96),_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1),this[_0x2dc75a(0xc0)](_0x2bbe2b,_0x3574b5,_0x157f96);return;}}}for(let _0x55bbc3=0x0;_0x55bbc3<_0xb4ad0f;_0x55bbc3++){const _0x15622b=_0x57746c[_0x55bbc3];if(this[_0x2dc75a(0xc0)](_0x15622b,_0x3574b5,_0x157f96),_0x15622b instanceof _0x4815b2){const _0x261297=_0x57746c[_0x55bbc3+0x1];_0x261297&&_0x261297 instanceof _0x4815b2&&_0x3574b5[_0x2dc75a(0xfe)](',');}}_0x5c916d===0x7&&_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1),(_0x228a9f||_0x5c916d===0x9)&&_0x3574b5[_0x2dc75a(0xfe)](')');}[_0x18dbfa(0xc0)](_0x3fdbf3,_0x1d98fb,_0x46bc51){const _0x2f6740=_0x18dbfa;_0x3fdbf3 instanceof _0x4815b2?this[_0x2f6740(0x87)](_0x3fdbf3,_0x1d98fb,_0x46bc51):this[_0x2f6740(0x119)]['has'](_0x3fdbf3)?(_0x1d98fb[_0x2f6740(0xfe)](''+this[_0x2f6740(0x118)]+_0x3fdbf3),this['_hasNewExcelFunction']=!0x0):_0x1d98fb[_0x2f6740(0xfe)](_0x3fdbf3);}[_0x18dbfa(0xc1)](_0x23ff59){const _0x2d0327=_0x18dbfa;let _0x282402=_0x23ff59[_0x2d0327(0x116)]();if(!_0x282402)return _0x282402;const _0x2e7ce3=_0x282402[0x0];if((_0x2e7ce3===_0x5d6f6b['AT']||_0x2e7ce3===_0x5d6f6b['MINUS']||_0x2e7ce3===_0x5d6f6b[_0x2d0327(0xeb)])&&(_0x282402=_0x282402[_0x2d0327(0x102)](0x1)),!_0x282402)return _0x282402;const _0x95f0b8=_0x282402[_0x282402[_0x2d0327(0xa7)]-0x1];return _0x4c3b82[_0x2d0327(0xdc)](_0x95f0b8)&&(_0x282402=_0x282402[_0x2d0327(0x102)](0x0,-0x1)),_0x282402;}[_0x18dbfa(0x13a)](_0x360b15){const _0x1661ea=_0x18dbfa,_0x53ea56=_0x360b15[_0x1661ea(0x10e)]()[0x0];if(!_0x53ea56||!(_0x53ea56 instanceof _0x4815b2)||_0x360b15[_0x1661ea(0x10e)]()[_0x1661ea(0xa7)]>0x1)return!0x1;const _0x65817a=_0x53ea56[_0x1661ea(0x10e)](),_0x2bea61=_0x65817a[_0x1661ea(0xa7)];if(_0x2bea61===0x1)return!0x1;for(let _0xf5e39b=0x0;_0xf5e39b<_0x2bea61;_0xf5e39b++){const _0x165d17=_0x65817a[_0xf5e39b];if(!(_0x165d17 instanceof _0x4815b2)&&_0x4e0ae2[_0x1661ea(0xdc)](_0x165d17))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x197806,_0x477683,_0x58f3a9,_0x5c196a,_0x53d912){const _0x23e5e5=_0x18dbfa,_0x169cdc=this['treeBuilder'](_0x197806,!0x1);if(!_0x169cdc||_0x169cdc===_0x5b529c[_0x23e5e5(0x137)]||Array[_0x23e5e5(0x72)](_0x169cdc))return null;this[_0x23e5e5(0x104)](),this[_0x23e5e5(0xa4)]=_0x477683;const _0x4b1efc=this['_generateExprTree'](_0x169cdc,_0x58f3a9,_0x5c196a,_0x53d912);return this['_currentUnitId']='',this[_0x23e5e5(0xc5)](),_0x4b1efc;}[_0x18dbfa(0x143)](_0x4106d4,_0x4b908c,_0x1f2f88,_0x37f5ba){const _0x495433=_0x18dbfa,_0x2c2856={'value':'','children':[],'startIndex':0x0};let _0x18a03d=_0x4106d4;if(_0x18a03d instanceof _0x4815b2&&(_0x18a03d[_0x495433(0x13b)]()===_0x49b93d||_0x18a03d['getToken']()===_0x2c8439)&&_0x18a03d[_0x495433(0x10e)]()[_0x495433(0xa7)]===0x1&&(_0x18a03d=_0x18a03d[_0x495433(0x10e)]()[0x0]),!(_0x18a03d instanceof _0x4815b2))return this['_handleTextNodeForExprTree'](_0x18a03d,_0x1f2f88,_0x37f5ba);const _0xf0a78=_0x18a03d[_0x495433(0x10e)](),_0x336c26=_0xf0a78[_0x495433(0xa7)],_0xb2eab4=[];this['_generateNewFunctionString'](_0x18a03d,_0xb2eab4,_0x4b908c),_0x2c2856[_0x495433(0xdb)]=_0xb2eab4['join'](''),_0x2c2856[_0x495433(0x12e)]=_0x18a03d[_0x495433(0xfa)]();const _0x5180b5=this[_0x495433(0x107)](_0x18a03d);if(_0x5180b5===0x2){const _0x37e838=_0xf0a78[0x0];if(_0x37e838 instanceof _0x4815b2){if(_0x37e838[_0x495433(0x13b)]()[_0x495433(0x116)]()!==_0x2bb3b3)return _0x2c2856;this[_0x495433(0xa1)](_0x37e838,_0x2c2856,_0x4b908c,_0x1f2f88,_0x37f5ba);}return _0x2c2856;}else{if(_0x5180b5===0x1){for(let _0x1c58e1=0x0;_0x1c58e1<_0x336c26-0x1;_0x1c58e1++){const _0x119b4a=_0xf0a78[_0x1c58e1];if(_0x119b4a instanceof _0x4815b2&&_0x1c58e1%0x2===0x1){const _0x20233b=_0x119b4a[_0x495433(0x10e)]();if(_0x20233b[_0x495433(0xa7)]===0x1&&!(_0x20233b[0x0]instanceof _0x4815b2))continue;const _0x31ad7e=this[_0x495433(0x143)](_0x119b4a,_0x4b908c,_0x1f2f88,_0x37f5ba);_0x31ad7e&&_0x2c2856[_0x495433(0xdf)][_0x495433(0xfe)](_0x31ad7e);}}return _0x2c2856;}else{if(_0x5180b5===0x8){const _0x569719=_0xf0a78[0x0];if(_0x569719 instanceof _0x4815b2){const _0x1fc628=_0x569719[_0x495433(0x10e)]()[0x0];_0x1fc628 instanceof _0x4815b2&&(_0x2c2856[_0x495433(0x12e)]=_0x1fc628['getStartIndex']());}if(this[_0x495433(0xc4)](_0x18a03d))return _0x2c2856;}else{if(_0x5180b5===0x7){const _0x2e1aca=_0xf0a78[0x0];if(_0x2e1aca instanceof _0x4815b2){const _0x327908=_0x2e1aca[_0x495433(0x10e)]()[0x0];_0x327908 instanceof _0x4815b2&&(_0x2c2856[_0x495433(0x12e)]=_0x327908['getStartIndex']());}}}}}return this[_0x495433(0xb0)](_0xf0a78,_0x5180b5,_0x2c2856,_0x4b908c,_0x1f2f88,_0x37f5ba),_0x2c2856;}[_0x18dbfa(0xb0)](_0x343bf4,_0x292119,_0x404307,_0x946ba3,_0x555573,_0x5db83b){const _0x3b0533=_0x18dbfa;for(let _0x9f6cd3=0x0;_0x9f6cd3<_0x343bf4[_0x3b0533(0xa7)];_0x9f6cd3++){let _0x28d167=_0x343bf4[_0x9f6cd3];if(!(_0x28d167 instanceof _0x4815b2)){const _0x30d202=this[_0x3b0533(0xda)](_0x28d167,_0x555573,_0x5db83b);_0x30d202&&_0x404307[_0x3b0533(0xdf)][_0x3b0533(0xfe)](_0x30d202);continue;}const _0x41c6c8=_0x28d167[_0x3b0533(0x10e)]();if(_0x41c6c8[_0x3b0533(0xa7)]===0x1&&!(_0x41c6c8[0x0]instanceof _0x4815b2)){const _0x5ae583=_0x41c6c8[0x0];if(!_0x555573(this[_0x3b0533(0xa4)],_0x5ae583)&&!this['_getTableNameFromStructuredRef'](_0x5ae583,_0x5db83b)&&!_0x34940f(_0x5ae583))continue;}if(_0x292119===0x8){const _0x513e14=_0x41c6c8[0x0];if(_0x513e14 instanceof _0x4815b2){const _0x54908f=_0x513e14[_0x3b0533(0x13b)]()['trim']();if(_0x34940f(_0x54908f))continue;_0x28d167=_0x513e14;}}const _0x19a51a=this[_0x3b0533(0x143)](_0x28d167,_0x946ba3,_0x555573,_0x5db83b);_0x19a51a&&_0x404307[_0x3b0533(0xdf)]['push'](_0x19a51a);}}['_checkColonNodeForExprTree'](_0x25150d){const _0x194bc6=_0x18dbfa,_0x1e912f=_0x25150d['getChildren']();if(_0x1e912f[_0x194bc6(0xa7)]<0x2)return!0x1;const _0x341224=_0x1e912f[0x0],_0x5d39da=_0x1e912f[0x1];if(!(_0x341224 instanceof _0x4815b2)||!(_0x5d39da instanceof _0x4815b2))return!0x1;const _0x1192b7=_0x341224[_0x194bc6(0x10e)]()[0x0],_0x259e90=_0x5d39da[_0x194bc6(0x10e)]()[0x0];if(!(_0x1192b7 instanceof _0x4815b2)||!(_0x259e90 instanceof _0x4815b2))return!0x1;const _0x2a5bbd=_0x1192b7[_0x194bc6(0x13b)]()[_0x194bc6(0x116)](),_0x13d065=_0x259e90['getToken']()['trim']();return!!_0x34940f(''+_0x2a5bbd+_0x33b238['COLON']+_0x13d065);}[_0x18dbfa(0xda)](_0x5267a9,_0x568e30,_0x481320){const _0x1efa18=_0x18dbfa,_0x3acf40=_0x5267a9[_0x1efa18(0x116)]();return _0x3acf40[_0x1efa18(0x11f)]('{')&&_0x3acf40[_0x1efa18(0xcf)]('}')||_0x568e30(this[_0x1efa18(0xa4)],_0x3acf40)||this[_0x1efa18(0xaa)](_0x3acf40,_0x481320)||_0x34940f(_0x3acf40)?{'value':_0x3acf40,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x420ee3,_0x3ef559){const _0x29b294=_0x18dbfa,{tableName:_0xe35dae}=_0x2a0e56(_0x420ee3);return _0x3ef559(this[_0x29b294(0xa4)],_0xe35dae)?_0xe35dae:null;}[_0x18dbfa(0xa1)](_0x361ee7,_0x4303c1,_0x5e2dbc,_0x3108bd,_0x27a0f9){const _0x337727=_0x18dbfa,_0x536287=_0x361ee7['getChildren']();for(let _0x2a4bd4=0x0;_0x2a4bd4<_0x536287[_0x337727(0xa7)];_0x2a4bd4++){const _0x3ae3eb=_0x536287[_0x2a4bd4];if(!(_0x3ae3eb instanceof _0x4815b2))continue;const _0x484cc2=_0x3ae3eb[_0x337727(0x10e)]();if(_0x484cc2[_0x337727(0xa7)]===0x1&&!(_0x484cc2[0x0]instanceof _0x4815b2))continue;const _0x7137f9=this['_generateExprTree'](_0x3ae3eb,_0x5e2dbc,_0x3108bd,_0x27a0f9);_0x7137f9&&_0x4303c1[_0x337727(0xdf)]['push'](_0x7137f9);}}[_0x18dbfa(0x107)](_0x56b6e5){const _0x111430=_0x18dbfa,_0x1f3c52=_0x56b6e5[_0x111430(0x13b)](),_0x4547c6=_0x1f3c52[_0x111430(0x116)]()[_0x111430(0x82)]();let _0x555e31=0x0;return _0x1f3c52===_0x49b93d?_0x555e31=0x3:_0x1f3c52===_0x2c8439?_0x555e31=0x4:_0x1f3c52===_0x2bb3b3?_0x555e31=0x5:_0x4547c6===_0xfc1484?_0x555e31=0x2:_0x4547c6===_0x333de0?_0x555e31=0x1:_0x4547c6===_0x33b238['COLON']?_0x555e31=0x8:_0x4c3b82['has'](_0x4547c6)?_0x555e31=0x7:_0x4547c6===_0x5d6f6b[_0x111430(0x7f)]?this['_checkAddBracketForMinus'](_0x56b6e5)&&(_0x555e31=0x9):_0x555e31=0xa,_0x555e31;}}const xe={0x0:'E',0x1:'a',0x2:'d',0x3:'b',0x4:'F',0x5:'U',0x6:'o',0x7:'0',0x8:'R',0x9:'s','C':'1','M':'2','Z':'3','k':'4','Q':'5','q':'6','h':'7','m':'8','T':'9','e':'c','d':'e','K':'f','x':'g','Y':'h','j':'i','r':'j','X':'k','S':'l','v':'m','c':'n','F':'p','P':'q','O':'r','W':'t','t':'u','n':'v','H':'w','I':'x','b':'y','z':'z','U':'A','A':'B','V':'C','E':'D','l':'G','G':'H','a':'I','u':'J','o':'K','p':'L','D':'M','B':'N','J':'O','N':'P','L':'Q','i':'S','f':'T','s':'V','R':'W','w':'X','g':'Y','y':'Z'},Oe=_0x18dbfa(0xce);class Me extends _0x2a5a00{constructor(){const _0x59cde0=_0x18dbfa;super(...arguments),D(this,_0x59cde0(0xb1),new Map());}[_0x18dbfa(0x8e)](){const _0x2f94f3=_0x18dbfa;super[_0x2f94f3(0x8e)](),this['_dependencyTreeCache'][_0x2f94f3(0xf3)]();}async['generate'](_0x3639ce=!0x1){const _0x5a7ef5=_0x18dbfa;this[_0x5a7ef5(0x13f)]();const _0x5c6de1=this[_0x5a7ef5(0x126)][_0x5a7ef5(0x142)](),_0x366aa8=this[_0x5a7ef5(0xa6)]['getOtherFormulaData'](),_0x2a1c51=this[_0x5a7ef5(0x126)][_0x5a7ef5(0x9b)]();_0x2a1c51!=null&&Object[_0x5a7ef5(0xbe)](_0x2a1c51)[_0x5a7ef5(0xd5)](_0x10ff29=>{_0x10ff29!=null&&Object['keys'](_0x2a1c51[_0x10ff29])['forEach'](_0x528393=>{const _0x3c7437=_0x8bf7;_0x528393!=null&&(this['_dependencyManagerService'][_0x3c7437(0x78)](_0x10ff29,_0x528393),this[_0x3c7437(0xd0)][_0x3c7437(0x120)](_0x10ff29,_0x528393),this['_dependencyManagerService'][_0x3c7437(0xf4)](_0x10ff29,_0x528393));});});const _0x3d1a6a=this[_0x5a7ef5(0x126)]['getUnitData']();await this[_0x5a7ef5(0x109)](_0x5c6de1,_0x366aa8,_0x3d1a6a),this[_0x5a7ef5(0xd0)][_0x5a7ef5(0x11d)]();const _0x227a47=this['_getUpdateTreeListAndMakeDependency'](),_0x2e5c39=this[_0x5a7ef5(0x106)](_0x227a47);return this[_0x5a7ef5(0x7e)](_0x2e5c39)&&this['_runtimeService'][_0x5a7ef5(0x91)](),_0x3639ce&&this[_0x5a7ef5(0x130)]['setDependencyTreeModelData'](this['_getAllDependencyJson'](Array['from'](this['_dependencyTreeCache'][_0x5a7ef5(0x13e)]()))),this['_dependencyTreeCache'][_0x5a7ef5(0xf3)](),this[_0x5a7ef5(0xa3)][_0x5a7ef5(0xf3)](),this['_dependencyManagerService'][_0x5a7ef5(0xc8)](),this[_0x5a7ef5(0x130)]['clearArrayObjectCache'](),Promise['resolve'](_0x2e5c39);}[_0x18dbfa(0x115)](_0xc4ca55,_0x3ed550){const _0x5e3b2a=_0x18dbfa,_0x202f0e=[_0xc4ca55];for(;_0x202f0e[_0x5e3b2a(0xa7)]>0x0;){const _0x36ead6=_0x202f0e[_0x202f0e[_0x5e3b2a(0xa7)]-0x1];if((_0x3ed550['get'](_0x36ead6)||0x0)===0x0){_0x3ed550[_0x5e3b2a(0xbc)](_0x36ead6,0x1);const _0x1ff05f=this[_0x5e3b2a(0xb1)]['get'](_0x36ead6);if(_0x1ff05f==null){_0x3ed550[_0x5e3b2a(0xbc)](_0x36ead6,0x2),_0x202f0e['pop']();continue;}const _0x1919b8=this[_0x5e3b2a(0xd0)][_0x5e3b2a(0xf2)](_0x1ff05f[_0x5e3b2a(0x11a)]());for(const _0x8d8646 of _0x1919b8){const _0x40c0fd=_0x3ed550[_0x5e3b2a(0xcd)](_0x8d8646)||0x0;if(_0x40c0fd===0x1)return!0x0;_0x40c0fd===0x0&&_0x202f0e[_0x5e3b2a(0xfe)](_0x8d8646);}}else _0x3ed550['set'](_0x36ead6,0x2),_0x202f0e[_0x5e3b2a(0xad)]();}return!0x1;}[_0x18dbfa(0x7e)](_0x426a88){const _0x174516=_0x18dbfa,_0x5e633b=new Map();for(const _0x5ef1ba of _0x426a88)if(!_0x5e633b['has'](_0x5ef1ba[_0x174516(0x97)])&&this[_0x174516(0x115)](_0x5ef1ba[_0x174516(0x97)],_0x5e633b))return!0x0;return _0x5e633b[_0x174516(0xf3)](),!0x1;}['_getFeatureFormulaTree'](_0x1823b6,_0x1cad2f,_0x1ccbef){const _0xba6313=_0x18dbfa,{unitId:_0x2d6ca6,subUnitId:_0x383e70,dependencyRanges:_0x52cee3,getDirtyData:_0x302580}=_0x1ccbef,_0x5a0eb3=_0x1cad2f||_0x2207e6(this[_0xba6313(0xd0)]),_0x3db9e2=new _0x5e9608(_0x5a0eb3);_0x3db9e2[_0xba6313(0x136)]=_0x2d6ca6,_0x3db9e2[_0xba6313(0xb2)]=_0x383e70,_0x3db9e2['rangeList']=_0x52cee3,_0x3db9e2[_0xba6313(0x101)]=_0x302580;const _0x20f3f1=_0x302580(this[_0xba6313(0x126)]['getDirtyData'](),this[_0xba6313(0x130)]['getAllRuntimeData']()),_0x4e866c=this[_0xba6313(0x140)](_0x20f3f1[_0xba6313(0x89)]);return _0x3db9e2[_0xba6313(0x88)]=_0x4e866c,_0x3db9e2['featureId']=_0x1823b6,_0x3db9e2[_0xba6313(0x100)]=_0x125eb2[_0xba6313(0xb5)],this[_0xba6313(0xd0)][_0xba6313(0xac)](_0x2d6ca6,_0x383e70,_0x1823b6,_0x3db9e2),this['_dependencyTreeCache'][_0xba6313(0xbc)](_0x3db9e2[_0xba6313(0x97)],_0x3db9e2),this[_0xba6313(0xd0)][_0xba6313(0x122)](_0x1ccbef[_0xba6313(0x136)],_0x1ccbef[_0xba6313(0xb2)],_0x1823b6)&&(_0x3db9e2[_0xba6313(0xc2)]=!0x0),_0x3db9e2;}[_0x18dbfa(0x10b)](_0x3420c0,_0x2b9e39,_0x1d324c){const _0x5cde3c=_0x18dbfa;var _0x15b1fb;for(const _0x803eb7 of _0x2b9e39){const _0x2272a5=_0x3420c0[_0x803eb7];if(_0x2272a5==null)continue;const _0x2585f8=Object[_0x5cde3c(0xbe)](_0x2272a5);for(const _0x485c62 of _0x2585f8){const _0x4b68fe=_0x2272a5[_0x485c62];if(_0x4b68fe==null)continue;const _0x4e216e=Object[_0x5cde3c(0xbe)](_0x4b68fe);for(const _0x1fe041 of _0x4e216e){const _0x25c9cb=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x1fe041),_0x3bb79d=_0x4b68fe[_0x1fe041],{f:_0x44b324,ranges:_0x4aa770}=_0x3bb79d;let _0x56a707=!0x1;_0x25c9cb&&(_0x56a707=!0x0);const {firstRow:_0x3e49b1,firstColumn:_0x2e0b9d}=this['_getFirstCellOfRange'](_0x4aa770),_0x55fae0=this[_0x5cde3c(0xd0)][_0x5cde3c(0xe6)](_0x803eb7,_0x485c62,_0x1fe041),_0x2ff742=(_0x15b1fb=_0x55fae0==null?void 0x0:_0x55fae0[_0x5cde3c(0x111)](0x0,0x0))!=null?_0x15b1fb:_0x2207e6(this[_0x5cde3c(0xd0)]),_0x59656e=new _0x5e9608(_0x2ff742);for(let _0x498d20=0x0;_0x498d20<_0x4aa770[_0x5cde3c(0xa7)];_0x498d20++){const _0x220fce=_0x4aa770[_0x498d20],{startRow:_0x3cc3dd,startColumn:_0x22236c,endRow:_0x1160fd,endColumn:_0x176ee4}=_0x220fce;for(let _0x3347ed=_0x3cc3dd;_0x3347ed<=_0x1160fd;_0x3347ed++)for(let _0x59d851=_0x22236c;_0x59d851<=_0x176ee4;_0x59d851++){const _0x1e0ae4=_0x59d851-_0x2e0b9d,_0xe386e2=_0x3347ed-_0x3e49b1;if(_0x1e0ae4===0x0&&_0xe386e2===0x0){_0x59656e[_0x5cde3c(0x93)]=_0x44b324,_0x59656e['unitId']=_0x803eb7,_0x59656e[_0x5cde3c(0xb2)]=_0x485c62,_0x59656e['formulaId']=_0x1fe041,_0x59656e['type']=_0x125eb2[_0x5cde3c(0xd3)],_0x59656e[_0x5cde3c(0xc2)]=_0x56a707,_0x1d324c[_0x5cde3c(0xfe)](_0x59656e),this['_dependencyTreeCache'][_0x5cde3c(0xbc)](_0x59656e[_0x5cde3c(0x97)],_0x59656e),this[_0x5cde3c(0xd0)]['addOtherFormulaDependency'](_0x803eb7,_0x485c62,_0x1fe041,_0x59656e),this[_0x5cde3c(0xd0)][_0x5cde3c(0x112)](_0x59656e);continue;}const _0x3c504b=new _0x597f06();_0x3c504b[_0x5cde3c(0x97)]=(_0x55fae0==null?void 0x0:_0x55fae0[_0x5cde3c(0x111)](_0x1e0ae4,_0xe386e2))||_0x2207e6(this[_0x5cde3c(0xd0)]),_0x3c504b[_0x5cde3c(0xde)]=_0x59656e,_0x3c504b[_0x5cde3c(0x131)]=_0x1e0ae4,_0x3c504b[_0x5cde3c(0xe7)]=_0xe386e2,_0x3c504b[_0x5cde3c(0xc2)]=_0x56a707,_0x3c504b[_0x5cde3c(0x100)]=_0x125eb2[_0x5cde3c(0xd3)],this[_0x5cde3c(0xd0)]['addOtherFormulaDependency'](_0x803eb7,_0x485c62,_0x1fe041,_0x3c504b),this[_0x5cde3c(0xd0)][_0x5cde3c(0x112)](_0x3c504b),_0x1d324c[_0x5cde3c(0xfe)](_0x3c504b),this['_dependencyTreeCache']['set'](_0x3c504b['treeId'],_0x3c504b);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x1fe041);}}}}[_0x18dbfa(0xc3)](_0x3b4a66,_0x19a123,_0xcd1475,_0x420bdd){const _0x43a23a=_0x18dbfa;for(const _0x31639a of _0x3b4a66){const _0x312ba4=_0x19a123[_0x31639a];if(_0x312ba4==null)continue;const _0x1f5c3e=Object[_0x43a23a(0xbe)](_0x312ba4);for(const _0xcb44a0 of _0x1f5c3e){const _0x353ba0=new _0x500a2f(_0x312ba4[_0xcb44a0]||{}),_0x5605b2=new Map();_0x353ba0['forValue']((_0x258b2a,_0x1c2d1e,_0x115ea6)=>{const _0x2c0fa2=_0x43a23a;if(_0x115ea6==null)return!0x0;const {x:_0x3dca3c=0x0,y:_0x29bb0d=0x0,si:_0x3551c2}=_0x115ea6;if(!(_0x3dca3c===0x0&&_0x29bb0d===0x0&&_0x3551c2!=null))return!0x0;const _0x30171d=this[_0x2c0fa2(0xf8)](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e,_0xcd1475,_0x115ea6),_0x55cba1=this[_0x2c0fa2(0xd0)]['getFormulaDependency'](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e);_0x55cba1!=null?_0x30171d['treeId']=_0x55cba1:(this['_dependencyManagerService'][_0x2c0fa2(0xff)](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e,_0x30171d),this[_0x2c0fa2(0xd0)][_0x2c0fa2(0x112)](_0x30171d)),_0x5605b2[_0x2c0fa2(0xbc)](_0x3551c2,_0x30171d),_0x420bdd[_0x2c0fa2(0xfe)](_0x30171d),this['_dependencyTreeCache'][_0x2c0fa2(0xbc)](_0x30171d[_0x2c0fa2(0x97)],_0x30171d);}),_0x353ba0[_0x43a23a(0xd1)]((_0x46dac3,_0x5e2dc1,_0x176c97)=>{const _0x238751=_0x43a23a;if(_0x176c97==null)return!0x0;const {x:_0x16570f=0x0,y:_0x34c7aa=0x0,si:_0x13995c}=_0x176c97;if(_0x16570f===0x0&&_0x34c7aa===0x0&&_0x13995c!=null)return!0x0;let _0x32fb83;if(_0x13995c&&_0x5605b2[_0x238751(0xdc)](_0x13995c)){const _0x6e783a=_0x5605b2[_0x238751(0xcd)](_0x13995c);_0x32fb83=this[_0x238751(0x12c)](_0x6e783a,_0x176c97);}else _0x32fb83=this[_0x238751(0xf8)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1,_0xcd1475,_0x176c97);const _0x3e63eb=this[_0x238751(0xd0)][_0x238751(0x10c)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1);_0x3e63eb!=null?_0x32fb83['treeId']=_0x3e63eb:(this['_dependencyManagerService'][_0x238751(0xff)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1,_0x32fb83),this['_dependencyManagerService'][_0x238751(0x112)](_0x32fb83)),_0x420bdd['push'](_0x32fb83),this[_0x238751(0xb1)][_0x238751(0xbc)](_0x32fb83[_0x238751(0x97)],_0x32fb83);}),_0x5605b2[_0x43a23a(0xf3)]();}}}[_0x18dbfa(0xf8)](_0x5f40b9,_0x4c2d42,_0x50c1d4,_0x268999,_0x522630,_0x2852ab){const _0x3f465f=_0x18dbfa,{f:_0x2681fa,x:_0x200d83=0x0,y:_0x6c081a=0x0}=_0x2852ab,_0x59c91=new _0x5e9608(_0x2207e6(this[_0x3f465f(0xd0)])),_0x1d6b6d=_0x522630[_0x5f40b9][_0x4c2d42];return _0x59c91['formula']=_0x2681fa,_0x59c91[_0x3f465f(0x136)]=_0x5f40b9,_0x59c91['subUnitId']=_0x4c2d42,_0x59c91['row']=_0x50c1d4,_0x59c91[_0x3f465f(0x9f)]=_0x268999,_0x59c91['rowCount']=_0x1d6b6d[_0x3f465f(0xf1)],_0x59c91[_0x3f465f(0xbd)]=_0x1d6b6d[_0x3f465f(0xbd)],_0x59c91;}['_getUpdateTreeListAndMakeDependency'](){const _0x58dd9f=_0x18dbfa,_0x1401ca=[],_0xb44dc2=new Set(),_0x4631d2=this[_0x58dd9f(0x126)][_0x58dd9f(0x12f)](),_0x350d10=this['_currentConfigService']['getDirtyRanges'](),_0x1e5bdd=this[_0x58dd9f(0xd0)][_0x58dd9f(0xf2)](_0x350d10),_0xb18bee=this[_0x58dd9f(0xa3)][_0x58dd9f(0x94)](_0x350d10);for(const _0x47dc3d of _0xb18bee)_0x1e5bdd['add'](_0x47dc3d);for(const [_0x1ce8bd,_0x104f14]of this[_0x58dd9f(0xb1)])(_0x4631d2||_0x104f14[_0x58dd9f(0x84)]||_0x104f14[_0x58dd9f(0x12d)](this['_currentConfigService'][_0x58dd9f(0x128)]())||_0x1e5bdd[_0x58dd9f(0xdc)](_0x1ce8bd)&&!_0x104f14['isExcludeRange'](this[_0x58dd9f(0x126)]['getExcludedRange']()))&&!_0xb44dc2[_0x58dd9f(0xdc)](_0x1ce8bd)&&(_0x1401ca[_0x58dd9f(0xfe)](_0x104f14),_0xb44dc2['add'](_0x1ce8bd));for(const [_0x3c0c7f,_0x5f5306]of this['_dependencyTreeCache'])_0x5f5306[_0x58dd9f(0xa8)]||(_0x5f5306['rangeList'][_0x58dd9f(0xa7)]=0x0);return _0x1401ca;}['_getTreeById'](_0x4b5248){const _0x1f7327=_0x18dbfa;return this[_0x1f7327(0xb1)][_0x1f7327(0xcd)](_0x4b5248);}[_0x18dbfa(0x9d)](_0x376aa1){const _0x26123=_0x18dbfa;return _0xe9476(_0x376aa1['unitId'],_0x376aa1[_0x26123(0x93)],this[_0x26123(0xd9)],this[_0x26123(0xd6)],this['_currentConfigService']);}*[_0x18dbfa(0xee)](_0x3e5b2d,_0x31f352){const _0x57b3ca=_0x18dbfa,_0x510b12=_0x3e5b2d,_0x1241ed=new Set();for(;_0x510b12[_0x57b3ca(0xa7)]>0x0;){const _0x549085=_0x510b12[_0x57b3ca(0xad)]();if(_0x1241ed['clear'](),_0x549085===void 0x0||_0x549085[_0x57b3ca(0x110)]())continue;if(_0x549085[_0x57b3ca(0xd2)]()){yield _0x549085,_0x549085[_0x57b3ca(0x123)](),_0x31f352[_0x57b3ca(0x96)](_0x549085[_0x57b3ca(0x97)]);continue;}const _0x414a6d=this['_dependencyManagerService'][_0x57b3ca(0xf2)](_0x549085[_0x57b3ca(0x11a)](),_0x31f352),_0x5ebefa=this['_dependencyRTreeCacheForAddressFunction'][_0x57b3ca(0x94)](_0x549085[_0x57b3ca(0x11a)](),_0x31f352);for(const _0x5f1e71 of _0x5ebefa)_0x414a6d['add'](_0x5f1e71);for(const _0x29caa of _0x414a6d){const _0x27ea66=this['_dependencyTreeCache'][_0x57b3ca(0xcd)](_0x29caa);if(!_0x27ea66){console[_0x57b3ca(0xab)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x29caa);continue;}_0x27ea66[_0x57b3ca(0xd2)]()||_0x549085[_0x57b3ca(0x110)]()||_0x1241ed[_0x57b3ca(0x96)](_0x27ea66);}if(_0x414a6d['clear'](),_0x1241ed['size']===0x0)yield _0x549085,_0x549085[_0x57b3ca(0x123)](),_0x31f352['add'](_0x549085['treeId']);else{_0x549085[_0x57b3ca(0xe5)](),_0x510b12['push'](_0x549085);for(const _0x15c798 of _0x1241ed)_0x510b12[_0x57b3ca(0xfe)](_0x15c798);}}_0x510b12[_0x57b3ca(0xa7)]=0x0,_0x1241ed[_0x57b3ca(0xf3)]();}['_calculateRunList'](_0x553f8d){const _0x10a2c7=_0x18dbfa,_0x166868=[],_0x367d6c=new Set();for(const _0x146e61 of this['_traverse'](_0x553f8d,_0x367d6c))_0x166868[_0x10a2c7(0xfe)](_0x146e61);return _0x166868;}async[_0x18dbfa(0x7a)](){const _0x16deeb=_0x18dbfa;return await this[_0x16deeb(0xca)](),Array[_0x16deeb(0xe3)](this['_dependencyTreeCache'][_0x16deeb(0x13e)]());}[_0x18dbfa(0x79)](_0x2edf3c){const _0x1fff87=_0x18dbfa;return this['_dependencyManagerService']['searchDependency'](_0x2edf3c[_0x1fff87(0x11a)]());}[_0x18dbfa(0x13c)](_0x5b98bd){const _0x48553e=_0x18dbfa,_0xaf5dc6=new Set(),_0x44af98=_0x5b98bd[_0x48553e(0xdd)];for(const [_0x14cce8,_0x3afc16]of this[_0x48553e(0xb1)])for(const _0x2391af of _0x44af98){const _0x311666=_0x2391af['unitId'],_0x1a221b=_0x2391af['sheetId'];if(_0x3afc16['unitId']!==_0x311666||_0x3afc16['subUnitId']!==_0x1a221b)continue;const _0x4081be=_0x2391af['range'];if(_0x3afc16[_0x48553e(0x7b)](_0x4081be)){_0xaf5dc6[_0x48553e(0x96)](_0x14cce8);break;}}return _0xaf5dc6;}[_0x18dbfa(0x95)](){const _0x3fffe6=_0x18dbfa;this[_0x3fffe6(0xd0)][_0x3fffe6(0x11d)]();}[_0x18dbfa(0x73)](){const _0x5cbd4d=_0x18dbfa;this['_formulaDependencyTreeModel'][_0x5cbd4d(0xf3)](),this[_0x5cbd4d(0xb1)]['clear'](),this['_dependencyManagerService'][_0x5cbd4d(0xc8)]();}}function _0x8bf7(_0x102fef,_0x269afa){_0x102fef=_0x102fef-0x72;const _0x211316=_0x2113();let _0x8bf755=_0x211316[_0x102fef];return _0x8bf755;}class Re extends _0x25230b{async['_apply'](_0x3271ee=!0x1){const _0x16138e=_0x18dbfa;_0x3271ee?this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0xd8)]):this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['START_DEPENDENCY']),this[_0x16138e(0x127)][_0x16138e(0x121)](this[_0x16138e(0x130)][_0x16138e(0xba)]());const _0x43ec0b=await this[_0x16138e(0x125)][_0x16138e(0x134)](this[_0x16138e(0xec)]),_0xeffa3=this[_0x16138e(0xae)];_0x3271ee?(this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['START_CALCULATION_ARRAY_FORMULA']),this[_0x16138e(0x130)][_0x16138e(0x7d)](_0x43ec0b[_0x16138e(0xa7)])):(this[_0x16138e(0x130)][_0x16138e(0xb3)](_0x4fa2bb['START_CALCULATION']),this[_0x16138e(0x130)][_0x16138e(0xb6)](_0x43ec0b['length'])),this[_0x16138e(0x127)][_0x16138e(0x121)](this['_runtimeService'][_0x16138e(0xba)]());let _0x20be01=[];const _0x26c19b=this[_0x16138e(0x124)][_0x16138e(0xbf)](_0x43de81),_0x333fbf=(_0x26c19b==null?void 0x0:_0x26c19b[_0x16138e(0x10a)])||_0x4a93cd;let _0x4df598=0x0;const _0x1ce680=_0x43ec0b[_0x16138e(0xa7)];for(;_0x43ec0b[_0x16138e(0xa7)]>0x0;){const _0x11096d=_0x43ec0b[_0x16138e(0xad)](),_0x50919c=_0xe9476(_0x11096d['unitId'],_0x11096d['formula'],this[_0x16138e(0xd9)],this['_astTreeBuilder'],this[_0x16138e(0x126)]),_0x42e668={'node':_0x50919c,'refOffsetX':_0x11096d[_0x16138e(0x131)],'refOffsetY':_0x11096d[_0x16138e(0xe7)]},_0x50ee5d=_0x11096d[_0x16138e(0x101)];if(_0x4df598%_0x333fbf===0x0&&(await new Promise(_0x2f7127=>{const _0x312f80=_0x16138e,_0x2c296d=_0x4e9755(_0x2f7127);_0x20be01[_0x312f80(0xfe)](_0x2c296d);}),_0x3271ee?(this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0xb7)]),this['_runtimeService'][_0x16138e(0xe4)](_0x4df598+0x1)):(this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['CURRENTLY_CALCULATING']),this[_0x16138e(0x130)]['setCompletedFormulasCount'](_0x4df598+0x1)),this[_0x16138e(0x127)][_0x16138e(0x121)](this[_0x16138e(0x130)][_0x16138e(0xba)]()),this[_0x16138e(0x130)]['isStopExecution']()||_0x42e668==null&&_0x50ee5d==null)){this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0x139)]),this[_0x16138e(0x130)][_0x16138e(0x108)](),this['_executionCompleteListener$']['next'](this[_0x16138e(0x130)][_0x16138e(0x9e)]());return;}this['_runtimeService'][_0x16138e(0x80)](_0x11096d[_0x16138e(0xd4)],_0x11096d['column'],_0x11096d[_0x16138e(0xf1)],_0x11096d[_0x16138e(0xbd)],_0x11096d[_0x16138e(0xb2)],_0x11096d['unitId']);let _0x22448c;if(_0x50ee5d!=null&&_0x11096d[_0x16138e(0x75)]!=null){const {runtimeCellData:_0xe527a7,dirtyRanges:_0x5f5a53}=_0x50ee5d(this[_0x16138e(0x126)][_0x16138e(0x101)](),this[_0x16138e(0x130)][_0x16138e(0x9e)]());this[_0x16138e(0x130)]['setRuntimeFeatureCellData'](_0x11096d['featureId'],_0xe527a7),this['_runtimeService'][_0x16138e(0x86)](_0x11096d[_0x16138e(0x75)],_0x5f5a53);}else _0x42e668!=null&&(_0xeffa3[_0x16138e(0x12a)](_0x42e668[_0x16138e(0xfb)])?_0x22448c=await _0xeffa3[_0x16138e(0x11c)](_0x42e668):_0x22448c=_0xeffa3[_0x16138e(0x8a)](_0x42e668),_0x11096d['formulaId']!=null?this[_0x16138e(0x130)][_0x16138e(0x12b)](_0x11096d['formulaId'],_0x11096d[_0x16138e(0x131)],_0x11096d[_0x16138e(0xe7)],_0x22448c):this[_0x16138e(0x130)][_0x16138e(0x74)](_0x22448c));_0x50919c[_0x16138e(0xb9)](),_0x4df598++;}return _0x20be01['forEach'](_0x537503=>_0x537503()),_0x20be01=[],_0x1ce680>0x0?this[_0x16138e(0x130)][_0x16138e(0x9a)]():_0x3271ee||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x16138e(0x130)][_0x16138e(0x9e)]();}}class Ee extends _0xc04045{constructor(){const _0x2d07a2=_0x18dbfa;super(...arguments),D(this,_0x2d07a2(0x99),new Map()),D(this,'_dependencyRTreeCache',new _0x31f95a(!0x0));}[_0x18dbfa(0x105)](){const _0x23d4de=_0x18dbfa;this[_0x23d4de(0xea)][_0x23d4de(0xf3)](),this[_0x23d4de(0x11e)][_0x23d4de(0xf3)](),this[_0x23d4de(0x113)][_0x23d4de(0xf3)](),this[_0x23d4de(0xe8)][_0x23d4de(0xf3)](),this[_0x23d4de(0x99)][_0x23d4de(0xf3)](),this[_0x23d4de(0x8b)](),this[_0x23d4de(0x135)][_0x23d4de(0xf3)]();}[_0x18dbfa(0x92)](_0x3878a3,_0x42b461,_0x1c3263,_0x3498d2){const _0x2cb301=_0x18dbfa;this[_0x2cb301(0xea)][_0x2cb301(0xdc)](_0x3878a3)||this[_0x2cb301(0xea)][_0x2cb301(0xbc)](_0x3878a3,new Map());const _0x1e0a8b=this['_otherFormulaData'][_0x2cb301(0xcd)](_0x3878a3);_0x1e0a8b[_0x2cb301(0xdc)](_0x42b461)||_0x1e0a8b[_0x2cb301(0xbc)](_0x42b461,new Map());const _0x3cb67d=_0x1e0a8b[_0x2cb301(0xcd)](_0x42b461);_0x3cb67d[_0x2cb301(0xdc)](_0x1c3263)||_0x3cb67d[_0x2cb301(0xbc)](_0x1c3263,new _0x500a2f()),_0x3cb67d['get'](_0x1c3263)[_0x2cb301(0x114)](_0x3498d2[_0x2cb301(0x131)],_0x3498d2[_0x2cb301(0xe7)],_0x3498d2[_0x2cb301(0x97)]);}[_0x18dbfa(0xcb)](_0x361c86,_0x272d80,_0x37df15){const _0x4a0970=_0x18dbfa,_0x59564=this[_0x4a0970(0xea)][_0x4a0970(0xcd)](_0x361c86);if(_0x59564&&_0x59564[_0x4a0970(0xdc)](_0x272d80)){const _0x2a65a7=_0x59564[_0x4a0970(0xcd)](_0x272d80);_0x37df15[_0x4a0970(0xd5)](_0x47b1e7=>{const _0x20f766=_0x4a0970,_0x12e88e=_0x2a65a7['get'](_0x47b1e7);_0x12e88e!=null&&(_0x12e88e[_0x20f766(0xd1)]((_0x796949,_0x156203,_0x440b06)=>{const _0x1ce363=_0x20f766;this['_removeDependencyRTreeCache'](_0x440b06),this[_0x1ce363(0xb4)](_0x440b06);}),_0x2a65a7[_0x20f766(0x81)](_0x47b1e7),this[_0x20f766(0x135)]['delete'](_0x47b1e7));}),_0x2a65a7[_0x4a0970(0xf6)]===0x0&&_0x59564[_0x4a0970(0x81)](_0x272d80),_0x59564['size']===0x0&&this[_0x4a0970(0xea)][_0x4a0970(0x81)](_0x361c86);}}[_0x18dbfa(0x78)](_0x14c9d4,_0x46fe7e){const _0x5c4cf7=_0x18dbfa,_0x4656ac=this[_0x5c4cf7(0xea)]['get'](_0x14c9d4);if(_0x46fe7e&&_0x4656ac&&_0x4656ac[_0x5c4cf7(0xdc)](_0x46fe7e)){const _0x539b23=_0x4656ac[_0x5c4cf7(0xcd)](_0x46fe7e);this['_removeDependencyRTreeCacheById'](_0x14c9d4,_0x46fe7e);for(const _0x5e854d of _0x539b23[_0x5c4cf7(0xbe)]()){const _0x4b07c2=_0x539b23[_0x5c4cf7(0xcd)](_0x5e854d);_0x4b07c2!=null&&(_0x4b07c2['forValue']((_0x1e6ef7,_0x39aab5,_0x4e85a3)=>{const _0x29ffd9=_0x5c4cf7;this[_0x29ffd9(0x99)][_0x29ffd9(0xcd)](_0x4e85a3)&&this[_0x29ffd9(0xb4)](_0x4e85a3);}),this[_0x5c4cf7(0x135)][_0x5c4cf7(0x81)](_0x5e854d));}_0x539b23['clear']();}else{if(_0x4656ac){for(const _0x580b86 of _0x4656ac[_0x5c4cf7(0xbe)]()){const _0x211455=_0x4656ac[_0x5c4cf7(0xcd)](_0x580b86);this[_0x5c4cf7(0x83)](_0x14c9d4,_0x580b86);for(const _0x426c0b of _0x211455[_0x5c4cf7(0xbe)]()){const _0x237480=_0x211455[_0x5c4cf7(0xcd)](_0x426c0b);_0x237480!=null&&(_0x237480[_0x5c4cf7(0xd1)]((_0x3e64bc,_0x3ad607,_0x4e1384)=>{const _0x441f96=_0x5c4cf7;this[_0x441f96(0x99)][_0x441f96(0xcd)](_0x4e1384)&&this[_0x441f96(0xb4)](_0x4e1384);}),this[_0x5c4cf7(0x135)][_0x5c4cf7(0x81)](_0x426c0b));}}this[_0x5c4cf7(0xea)][_0x5c4cf7(0x81)](_0x14c9d4);}}}[_0x18dbfa(0xac)](_0x4976f5,_0x2c4d20,_0x3cf659,_0x5e0537){const _0x5380e3=_0x18dbfa;this['_featureFormulaData'][_0x5380e3(0xdc)](_0x4976f5)||this[_0x5380e3(0x11e)][_0x5380e3(0xbc)](_0x4976f5,new Map());const _0x262375=this[_0x5380e3(0x11e)][_0x5380e3(0xcd)](_0x4976f5);_0x262375[_0x5380e3(0xdc)](_0x2c4d20)||_0x262375[_0x5380e3(0xbc)](_0x2c4d20,new Map()),_0x262375[_0x5380e3(0xcd)](_0x2c4d20)['set'](_0x3cf659,_0x5e0537[_0x5380e3(0x97)]);}[_0x18dbfa(0x10d)](_0x481222,_0x5b1598,_0x14c703){const _0x3997ba=_0x18dbfa,_0x46fa37=this[_0x3997ba(0x11e)]['get'](_0x481222);if(_0x46fa37&&_0x46fa37[_0x3997ba(0xdc)](_0x5b1598)){const _0x5e0a77=_0x46fa37[_0x3997ba(0xcd)](_0x5b1598);_0x14c703[_0x3997ba(0xd5)](_0x1f4baf=>{const _0x259ef3=_0x3997ba,_0x2a3b59=_0x5e0a77[_0x259ef3(0xcd)](_0x1f4baf);_0x2a3b59!=null&&(this[_0x259ef3(0x8d)](_0x2a3b59),_0x5e0a77[_0x259ef3(0x81)](_0x1f4baf),this[_0x259ef3(0xb4)](_0x2a3b59));});}}[_0x18dbfa(0x120)](_0x32049c,_0x4cd10e){const _0xefcad=_0x18dbfa,_0x4d0ee2=this[_0xefcad(0x11e)]['get'](_0x32049c);if(_0x4cd10e&&_0x4d0ee2&&_0x4d0ee2['has'](_0x4cd10e)){const _0x4482b5=_0x4d0ee2[_0xefcad(0xcd)](_0x4cd10e);this[_0xefcad(0x83)](_0x32049c,_0x4cd10e),_0x4482b5[_0xefcad(0xd5)](_0xd4797d=>{const _0x2337dd=_0xefcad;_0xd4797d!=null&&this[_0x2337dd(0xb4)](_0xd4797d);}),_0x4482b5[_0xefcad(0xf3)]();}else _0x4d0ee2&&(_0x4d0ee2[_0xefcad(0xd5)]((_0x247403,_0xd91780)=>{const _0x4436e5=_0xefcad;this[_0x4436e5(0x83)](_0x32049c,_0xd91780),_0x247403[_0x4436e5(0xd5)](_0x429a2c=>{_0x429a2c!=null&&this['_removeAllTreeMap'](_0x429a2c);});}),this[_0xefcad(0x11e)][_0xefcad(0x81)](_0x32049c));}['addFormulaDependency'](_0x1098aa,_0x6f476f,_0x11d96c,_0x686308,_0x44842f){const _0x59f3e5=_0x18dbfa;this['_formulaData'][_0x59f3e5(0xdc)](_0x1098aa)||this[_0x59f3e5(0x113)]['set'](_0x1098aa,new Map());const _0x20d247=this[_0x59f3e5(0x113)][_0x59f3e5(0xcd)](_0x1098aa);_0x20d247['has'](_0x6f476f)||_0x20d247[_0x59f3e5(0xbc)](_0x6f476f,new _0x500a2f()),_0x20d247[_0x59f3e5(0xcd)](_0x6f476f)[_0x59f3e5(0x114)](_0x11d96c,_0x686308,_0x44842f[_0x59f3e5(0x97)]);}[_0x18dbfa(0x13d)](_0x57d54e,_0x15837a,_0x5e41f4,_0x1d57e7){const _0x37137d=_0x18dbfa,_0x824fa7=this['_formulaData']['get'](_0x57d54e);if(_0x824fa7&&_0x824fa7[_0x37137d(0xdc)](_0x15837a)){const _0x514ff5=_0x824fa7[_0x37137d(0xcd)](_0x15837a),_0x533d97=_0x514ff5[_0x37137d(0x111)](_0x5e41f4,_0x1d57e7);if(_0x533d97==null)return;this['_removeDependencyRTreeCache'](_0x533d97),_0x514ff5[_0x37137d(0xf5)](_0x5e41f4,_0x1d57e7),this[_0x37137d(0xb4)](_0x533d97);}}[_0x18dbfa(0xf4)](_0x152041,_0x57cafa){const _0x426e59=_0x18dbfa,_0x2137be=this[_0x426e59(0x113)]['get'](_0x152041);if(_0x57cafa&&_0x2137be&&_0x2137be[_0x426e59(0xdc)](_0x57cafa)){const _0x2af88f=_0x2137be[_0x426e59(0xcd)](_0x57cafa);this[_0x426e59(0x83)](_0x152041,_0x57cafa),_0x2af88f[_0x426e59(0xd1)]((_0x2dd16d,_0x2f71d4,_0x221bcc)=>{const _0x3e70ed=_0x426e59;if(_0x221bcc==null)return!0x0;this[_0x3e70ed(0xb4)](_0x221bcc);}),_0x2af88f['reset']();}else _0x2137be&&(_0x2137be[_0x426e59(0xd5)]((_0x573f35,_0x4e740e)=>{const _0xa63cce=_0x426e59;this[_0xa63cce(0x83)](_0x152041,_0x4e740e),_0x573f35['forValue']((_0x5b544d,_0x574a7c,_0x2c574e)=>{const _0x493866=_0xa63cce;if(_0x2c574e==null)return!0x0;this[_0x493866(0xb4)](_0x2c574e);});}),this[_0x426e59(0x113)][_0x426e59(0x81)](_0x152041));}[_0x18dbfa(0x8d)](_0x4158f4){const _0x4a8b78=_0x18dbfa;if(_0x4158f4==null)return;const _0x40c2de=this[_0x4a8b78(0x99)][_0x4a8b78(0xcd)](_0x4158f4);if(_0x40c2de){const _0x27aaa1=[];for(const [_0x3866b9,_0x4acaac]of _0x40c2de)for(const [_0x23bf90,_0x8f6494]of _0x4acaac)_0x27aaa1[_0x4a8b78(0xfe)]({'unitId':_0x3866b9,'sheetId':_0x23bf90,'range':_0x8f6494,'id':_0x4158f4});this['_dependencyRTreeCache'][_0x4a8b78(0xc6)](_0x27aaa1);}}[_0x18dbfa(0xe9)](_0x556977,_0x42aa1e){const _0x859fd2=_0x18dbfa,_0x34112c=this[_0x859fd2(0xa2)][_0x859fd2(0xcd)](_0x556977);if(_0x34112c){const _0x128d2e=_0x34112c[_0x859fd2(0xcd)](_0x42aa1e);if(_0x128d2e){for(const _0x4f20d of _0x128d2e)this['_removeDependencyRTreeCache'](_0x4f20d),this[_0x859fd2(0xb4)](_0x4f20d);_0x128d2e['clear']();}}}[_0x18dbfa(0x11d)](){const _0x328a83=_0x18dbfa;this[_0x328a83(0xe8)]['openKdTree']();}[_0x18dbfa(0xc8)](){const _0x230140=_0x18dbfa;this['_dependencyRTreeCache'][_0x230140(0xc8)]();}[_0x18dbfa(0xb4)](_0x5aaacf){const _0x22311d=_0x18dbfa;_0x5aaacf!=null&&this[_0x22311d(0x99)][_0x22311d(0x81)](_0x5aaacf);}[_0x18dbfa(0x77)](_0x562284){const _0x13f668=_0x18dbfa;var _0x5ae70d,_0x81411f;const _0x10b0b4=_0x562284[_0x13f668(0xdd)];let _0x5572a0=this[_0x13f668(0x99)]['get'](_0x562284[_0x13f668(0x97)]);for(let _0x394479=0x0;_0x394479<_0x10b0b4[_0x13f668(0xa7)];_0x394479++){const _0x278047=_0x10b0b4[_0x394479];let {unitId:_0x5d102e,sheetId:_0x4764aa,range:_0x2832d8}=_0x278047;_0x5572a0||(_0x5572a0=new Map(),this['_allTreeMap'][_0x13f668(0xbc)](_0x562284[_0x13f668(0x97)],_0x5572a0)),_0x5572a0[_0x13f668(0xdc)](_0x5d102e)||_0x5572a0[_0x13f668(0xbc)](_0x5d102e,new Map());const _0x138385=(_0x5ae70d=_0x5572a0==null?void 0x0:_0x5572a0[_0x13f668(0xcd)](_0x5d102e))==null?void 0x0:_0x5ae70d[_0x13f668(0xcd)](_0x4764aa);_0x138385&&(_0x2832d8={'startRow':Math[_0x13f668(0xa5)](_0x2832d8['startRow'],_0x138385[_0x13f668(0x9c)]),'startColumn':Math[_0x13f668(0xa5)](_0x2832d8[_0x13f668(0xaf)],_0x138385[_0x13f668(0xaf)]),'endRow':Math[_0x13f668(0xf9)](_0x2832d8[_0x13f668(0x138)],_0x138385[_0x13f668(0x138)]),'endColumn':Math[_0x13f668(0xf9)](_0x2832d8[_0x13f668(0x103)],_0x138385[_0x13f668(0x103)])}),(_0x81411f=_0x5572a0[_0x13f668(0xcd)](_0x5d102e))==null||_0x81411f[_0x13f668(0xbc)](_0x4764aa,_0x2832d8);}}}var je=Object['getOwnPropertyDescriptor'],We=(_0x38e7ca,_0x13ebec,_0x2cc38b,_0x56dfeb)=>{const _0x35b751=_0x18dbfa;for(var _0x38ba4d=_0x56dfeb>0x1?void 0x0:_0x56dfeb?je(_0x13ebec,_0x2cc38b):_0x13ebec,_0x1f97f4=_0x38e7ca[_0x35b751(0xa7)]-0x1,_0x18835e;_0x1f97f4>=0x0;_0x1f97f4--)(_0x18835e=_0x38e7ca[_0x1f97f4])&&(_0x38ba4d=_0x18835e(_0x38ba4d)||_0x38ba4d);return _0x38ba4d;};const Ne=Number[_0x18dbfa(0x141)](0x69622c44);let z=class extends _0x407152{[_0x18dbfa(0xe2)](){const _0x56f43b=_0x18dbfa;var _0x5b5455,_0x16c92e;this[_0x56f43b(0x98)]()?(this['_injector'][_0x56f43b(0x96)]([_0x460023,{'useClass':ve}]),(_0x5b5455=this['_config'])!=null&&_0x5b5455['notExecuteFormula']||[[_0x1022bf,{'useClass':Re}],[_0x4f2952,{'useClass':Ee}],[_0x3576ea,{'useClass':Me}]]['forEach'](_0x5d1614=>this[_0x56f43b(0xfc)][_0x56f43b(0x96)](_0x5d1614))):(this[_0x56f43b(0xfc)][_0x56f43b(0x96)]([_0x460023,{'useClass':_0x460023}]),(_0x16c92e=this[_0x56f43b(0xbb)])!=null&&_0x16c92e['notExecuteFormula']||[[_0x1022bf,{'useClass':_0x25230b}],[_0x4f2952,{'useClass':_0x507f4e}],[_0x3576ea,{'useClass':_0x2a5a00}]][_0x56f43b(0xd5)](_0x54d5e1=>this['_injector'][_0x56f43b(0x96)](_0x54d5e1)));}[_0x18dbfa(0x98)](){const _0x442b61=_0x18dbfa;var _0x43c537;const _0x119278=(_0x43c537=this['_configService'][_0x442b61(0xbf)](_0x153eb6))!=null?_0x43c537:{},{ls:_0x441257,pbk:_0x45acd5}=_0x119278;if(!_0x441257||!_0x45acd5)return!0x1;const _0x395916=_0x8e4800(Oe,xe),_0x131624=new Function(_0x442b61(0xc9)+_0x395916)()(_0x441257,_0x45acd5),_0x55a361=_0x131624[_0x442b61(0x7c)];return _0x131624['valid']&&_0x538494(_0x55a361,'sf',Ne)?_0x2d1d3e(_0x55a361,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};z=We([_0x1e518e(_0x28152f)],z);export{ve as LexerTreeProBuilder,z as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5b80(_0x188bd7,_0x4fd1dc){_0x188bd7=_0x188bd7-0x98;var _0x14b997=_0x14b9();var _0x5b80db=_0x14b997[_0x188bd7];return _0x5b80db;}(function(_0x34ca9d,_0x336f8e){var _0x536fc4=_0x5b80,_0x42d9c2=_0x34ca9d();while(!![]){try{var _0x4a9d2b=-parseInt(_0x536fc4(0xa1))/0x1+parseInt(_0x536fc4(0x9f))/0x2+parseInt(_0x536fc4(0x9a))/0x3*(parseInt(_0x536fc4(0x98))/0x4)+-parseInt(_0x536fc4(0xa0))/0x5*(parseInt(_0x536fc4(0x9e))/0x6)+-parseInt(_0x536fc4(0x9d))/0x7+parseInt(_0x536fc4(0x9b))/0x8+-parseInt(_0x536fc4(0x99))/0x9*(parseInt(_0x536fc4(0x9c))/0xa);if(_0x4a9d2b===_0x336f8e)break;else _0x42d9c2['push'](_0x42d9c2['shift']());}catch(_0x51f6f2){_0x42d9c2['push'](_0x42d9c2['shift']());}}}(_0x14b9,0xa1bbd));export*from'@univerjs/engine-formula/facade';function _0x14b9(){var _0x1895d0=['5705616kinaVI','124370FvemTh','112378jNJIwD','6816846qfROcB','2011826mUPRPr','5lzIHye','12795BJfzQw','4ARQwGN','225WvRiwR','1257783urTcEk'];_0x14b9=function(){return _0x1895d0;};return _0x14b9();}
|