@univerjs-pro/engine-formula 0.15.0-insiders.20251227-dafc157 → 0.15.0-insiders.20251227-453e4ff

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x17058e=_0x1821;(function(_0xb21be3,_0x491caa){const _0x1b0589=_0x1821,_0xa0121c=_0xb21be3();while(!![]){try{const _0x4c3286=parseInt(_0x1b0589(0xd6))/0x1+-parseInt(_0x1b0589(0xd1))/0x2+-parseInt(_0x1b0589(0xd4))/0x3*(-parseInt(_0x1b0589(0xcc))/0x4)+parseInt(_0x1b0589(0xcd))/0x5+-parseInt(_0x1b0589(0xd0))/0x6+parseInt(_0x1b0589(0xc9))/0x7+-parseInt(_0x1b0589(0xd3))/0x8;if(_0x4c3286===_0x491caa)break;else _0xa0121c['push'](_0xa0121c['shift']());}catch(_0x23fc35){_0xa0121c['push'](_0xa0121c['shift']());}}}(_0x17d4,0x982ba));function _0x1821(_0x2c3b2b,_0x2a5ed6){_0x2c3b2b=_0x2c3b2b-0xc9;const _0x17d4d4=_0x17d4();let _0x182141=_0x17d4d4[_0x2c3b2b];return _0x182141;}Object['defineProperty'](exports,Symbol[_0x17058e(0xca)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)['forEach'](_0x2a46d1=>{const _0x8e36c=_0x17058e;_0x2a46d1!==_0x8e36c(0xcb)&&!Object[_0x8e36c(0xcf)][_0x8e36c(0xd5)][_0x8e36c(0xd2)](exports,_0x2a46d1)&&Object[_0x8e36c(0xce)](exports,_0x2a46d1,{'enumerable':!0x0,'get':()=>t[_0x2a46d1]});});function _0x17d4(){const _0x5a13a7=['3472917LVrMkz','toStringTag','default','1004kDqFOm','5844850GCBbvT','defineProperty','prototype','2574870TwCsNE','1323086NNXMbI','call','652656ErmXrI','21uEUIXR','hasOwnProperty','128702gcKFMq'];_0x17d4=function(){return _0x5a13a7;};return _0x17d4();}
1
+ 'use strict';function _0x53fd(){const _0x4e6a8c=['keys','368dVpGZP','call','3170619bNIyIM','Module','200934NhbbBt','3634730zxOffH','prototype','defineProperty','toStringTag','25786oRuoiR','14917IMCUwd','3627888VrTGxc','hasOwnProperty','318822QNWXMz','15WonVTG','11ugwhIz','16FDcIyQ'];_0x53fd=function(){return _0x4e6a8c;};return _0x53fd();}const _0x73c649=_0x493e;(function(_0x3fe77d,_0x57eef8){const _0x3029e3=_0x493e,_0x5c90c9=_0x3fe77d();while(!![]){try{const _0x4fcc92=-parseInt(_0x3029e3(0xe9))/0x1*(-parseInt(_0x3029e3(0xe3))/0x2)+-parseInt(_0x3029e3(0xe7))/0x3*(-parseInt(_0x3029e3(0xea))/0x4)+parseInt(_0x3029e3(0xe8))/0x5*(parseInt(_0x3029e3(0xf0))/0x6)+parseInt(_0x3029e3(0xe4))/0x7*(-parseInt(_0x3029e3(0xec))/0x8)+parseInt(_0x3029e3(0xee))/0x9+-parseInt(_0x3029e3(0xf1))/0xa+-parseInt(_0x3029e3(0xe5))/0xb;if(_0x4fcc92===_0x57eef8)break;else _0x5c90c9['push'](_0x5c90c9['shift']());}catch(_0x1306cf){_0x5c90c9['push'](_0x5c90c9['shift']());}}}(_0x53fd,0x37c12));Object['defineProperty'](exports,Symbol[_0x73c649(0xe2)],{'value':_0x73c649(0xef)});const t=require('@univerjs/engine-formula/facade');function _0x493e(_0x249901,_0x11e664){_0x249901=_0x249901-0xe1;const _0x53fde0=_0x53fd();let _0x493ebd=_0x53fde0[_0x249901];return _0x493ebd;}Object[_0x73c649(0xeb)](t)['forEach'](_0x18d9c3=>{const _0x146503=_0x73c649;_0x18d9c3!=='default'&&!Object[_0x146503(0xf2)][_0x146503(0xe6)][_0x146503(0xed)](exports,_0x18d9c3)&&Object[_0x146503(0xe1)](exports,_0x18d9c3,{'enumerable':!0x0,'get':()=>t[_0x18d9c3]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0xbc32(){const _0x34fbf8=['setRuntimeFeatureRange','_updateRangeFlatten','clearFeatureFormulaDependency','realDeleteValue','_definedNameMap','_getDependencyTreeChildrenIds','generateAstNode','_getFirstCellOfRange','max','_injector','startColumn','_dependencyRTreeCache','markedAsNoFunctionsExecuted','Let\x20variable\x20name\x20\x22','unshiftString','getConfig','execute','getChildren','length','DependencyManagerBaseService','clearOtherFormulaDependency','addOtherFormulaDependencyMainData','checkAsyncNode','set','_isCyclicUtilMap','setSkip','setValue','_xlpm.','UniverProFormulaEnginePlugin','getDirtyRanges','toRTreeItem','_clearFunctionString','clearArrayObjectCache','_getAllDependencyJson','_getAllTreeList','string','getAllRuntimeData','ErrorType','executeAsync','removeFeatureFormulaDependency','refTree','_getTreeById','matchToken','setAdded','size','ICalculateFormulaService','_configService','_featureFormulaData','_otherFormulaDataMainData','313246SvmVUk','toStringTag','featureId','prototype','get','4612315qcdaPP','_dependencyTreeCache','startsWith','next','setTotalArrayFormulasToCalculate','_dependencyManagerService','values','_executionInProgressListener$','getFormulaData','rowCount','FormulaExecuteStageType','36LyBBIl','has','_lambdaFunctionParameterSet','DependentOn','_xlpmPrefix','call','default','getOwnPropertyDescriptor','refOffsetY','message','getDirtyData','Lambda\x20parameter\x20name\x20\x22','_dependencyRTreeCacheForAddressFunction','LS_CONFIG_KEY','_apply','setRuntimeFeatureCellData','markedAsSuccessfullyExecuted','openKdTree','LexerTreeBuilder','setDependencyTreeModelData','FormulaDependencyTree','unitId','SUFFIX_TOKEN_SET','type','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_clearPrefix','resetCalculationState','addFeatureFormulaDependency','_startFormulaDependencyTreeModel','removeOtherFormulaDependency','MINUS','keys','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','slice','_checkIsCycleDependency','return\x20','_handleNewFunctionChild','_handleChildrenForExprTree','endColumn','getOtherFormulaDependency','inRangeData','isCache','517848UgmGvX','DEFAULT_TOKEN_TYPE_ROOT','_generateExprTree','setRuntimeData','_xlfn.','parseInt','treeId','14280578KeygZs','endsWith','OPERATOR_TOKEN_SET','_otherFormulaManagerService','pop','bulkRemove','_initLicenseValid','getValue','430Gvvbyj','_config','getSheetFeatureLimit','sheetId','trim','isDirty','generate','_xlfnPrefix','_isCalculateTreeModel','_handleLambdaForExprTree','columnCount','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','DEFAULT_INTERVAL_COUNT','addFormulaDependencyByDefinedName','_hasNewExcelFunction','bulkSearch','column','_interpreter','IDLE','defineProperty','DEFAULT_TOKEN_LET_FUNCTION_NAME','IDependencyManagerService','prefixToken','formulaId','getFormulaExprTree','_formulaData','refOffsetX','treeBuilder','_currentUnitId','endRow','isVirtual','intervalCount','_resetPrefix','_runtimeService','LexerNode','_getCurNodeTypeForExprTree','FormulaDependencyTreeType','1884701fNvFMo','getClearDependencyTreeCache','generateRandomDependencyTreeId','requestImmediateMacroTask','Module','RTree','searchDependency','\x22\x20is\x20duplicated.','add','_generateTreeList','forEach','FormulaDependencyGenerator','OTHER_FORMULA','getStartIndex','notExecuteFormula','setRuntimeOtherData','_otherFormulaData','splitTableStructuredRef','isArray','isReferenceString','NEW_EXCEL_FUNCTIONS','_checkAddBracketForMinus','getFormulaDependency','_formulaDependencyTreeModel','dependencySheetName','72391cWydJM','START_CALCULATION_ARRAY_FORMULA','_generateNewFunctionString','_initializeGenerateTreeList','CURRENTLY_CALCULATING','_addAllTreeMap','_registerFormulas','_astTreeBuilder','_removeDependencyRTreeCache','forValue','2488KrMWGd','reset','_createFDtree','symbol','_currentConfigService','_executionCompleteListener$','getOtherFormulaData','IFormulaDependencyGenerator','subUnitId','_allTreeMap','from','startRow','setCurrent','delete','3tZNpwG','addOtherFormulaDependency','addFormulaDependency','_removeAllTreeMap','toUpperCase','clearFormulaDependency','formula','push','row','getRuntimeState','_calculateRunList','VALUE','closeKdTree','rangeList','UniverLicensePlugin','_lexer','featureDirtyRanges','resolve','_initializeWithOverride','node','DEFAULT_TOKEN_TYPE_PARAMETER','6ejEpIw','COLON','_checkColonNodeForExprTree','isFeatureAuthorizedWithinTime','CURRENTLY_CALCULATING_ARRAY_FORMULA','setCompletedArrayFormulasCount','clear','join','_endFormulaDependencyTreeModel','_removeDependencyRTreeCacheById','error','_getDependencyTreeParenIds','setCompletedFormulasCount','START_DEPENDENCY','_getUpdateTreeListAndMakeDependency','UniverFormulaEnginePlugin','min','hasOtherFormulaDataMainData','enableCycleDependency','LexerTreeProBuilder','22428yxRHHJ','children','_traverse','startIndex','ObjectMatrix','valid','setFormulaExecuteStage','FEATURE_FORMULA','range','START_DEPENDENCY_ARRAY_FORMULA','getToken','_restDependencyTreeId','4kfLHBK','_getTableNameFromStructuredRef'];_0xbc32=function(){return _0x34fbf8;};return _0xbc32();}const _0x425e65=_0x35d3;(function(_0x5282c6,_0x438423){const _0x26bdf2=_0x35d3,_0x4d2369=_0x5282c6();while(!![]){try{const _0x49d5ca=parseInt(_0x26bdf2(0x1fc))/0x1*(-parseInt(_0x26bdf2(0x1c9))/0x2)+parseInt(_0x26bdf2(0x194))/0x3*(-parseInt(_0x26bdf2(0x236))/0x4)+-parseInt(_0x26bdf2(0x201))/0x5+-parseInt(_0x26bdf2(0x1a9))/0x6*(-parseInt(_0x26bdf2(0x26a))/0x7)+-parseInt(_0x26bdf2(0x186))/0x8*(parseInt(_0x26bdf2(0x1bd))/0x9)+parseInt(_0x26bdf2(0x245))/0xa*(-parseInt(_0x26bdf2(0x17c))/0xb)+-parseInt(_0x26bdf2(0x20c))/0xc*(-parseInt(_0x26bdf2(0x23d))/0xd);if(_0x49d5ca===_0x438423)break;else _0x4d2369['push'](_0x4d2369['shift']());}catch(_0x4d3936){_0x4d2369['push'](_0x4d2369['shift']());}}}(_0xbc32,0xca3bd));var U=Object[_0x425e65(0x258)],P=(_0x9b9e60,_0x3b8e97,_0x286c24)=>_0x3b8e97 in _0x9b9e60?U(_0x9b9e60,_0x3b8e97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x286c24}):_0x9b9e60[_0x3b8e97]=_0x286c24,D=(_0x51373b,_0x4b550d,_0x524dd1)=>P(_0x51373b,typeof _0x4b550d!=_0x425e65(0x189)?_0x4b550d+'':_0x4b550d,_0x524dd1);Object[_0x425e65(0x258)](exports,Symbol[_0x425e65(0x1fd)],{'value':_0x425e65(0x26e)});const c=require('@univerjs/engine-formula'),b=require('@univerjs-pro/license'),E=require('@univerjs/core');class A extends c[_0x425e65(0x21e)]{constructor(){const _0x3e4004=_0x425e65;super(...arguments),D(this,_0x3e4004(0x253),!0x1),D(this,_0x3e4004(0x20e),new Set()),D(this,_0x3e4004(0x210),_0x3e4004(0x1e6)),D(this,_0x3e4004(0x24c),_0x3e4004(0x23a)),D(this,_0x3e4004(0x261),'');}[_0x425e65(0x265)](){const _0x2d04fa=_0x425e65;this[_0x2d04fa(0x210)]='_xlpm.',this[_0x2d04fa(0x24c)]=_0x2d04fa(0x23a);}[_0x425e65(0x225)](){const _0x15ec3d=_0x425e65;this[_0x15ec3d(0x210)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x3a30f3,_0x27a330){const _0x1fd8c5=_0x425e65,_0x15be59=this[_0x1fd8c5(0x260)](_0x3a30f3,!0x1);if(!_0x15be59||_0x15be59===c['ErrorType'][_0x1fd8c5(0x19f)]||Array[_0x1fd8c5(0x27c)](_0x15be59))return null;const _0x20eb1e=[];return this[_0x1fd8c5(0x253)]=!0x1,this[_0x1fd8c5(0x17e)](_0x15be59,_0x20eb1e,_0x27a330),this[_0x1fd8c5(0x253)]?'='+_0x20eb1e[_0x1fd8c5(0x1b0)](''):null;}[_0x425e65(0x17e)](_0x524802,_0x13399d,_0x479500){const _0x3ede5a=_0x425e65,_0x3c1f9b=_0x524802[_0x3ede5a(0x1c7)](),_0x550cd1=_0x3c1f9b['trim'](),_0x140cb4=_0x550cd1[_0x3ede5a(0x198)](),_0x2cbc5e=this[_0x3ede5a(0x1ea)](_0x140cb4),_0x294ff1=_0x479500(_0x2cbc5e);let _0x5a60be=0x0;_0x3c1f9b===c[_0x3ede5a(0x237)]?_0x5a60be=0x3:_0x3c1f9b===c[_0x3ede5a(0x1a8)]?_0x5a60be=0x4:_0x3c1f9b===c[_0x3ede5a(0x22c)]?_0x5a60be=0x5:c[_0x3ede5a(0x27e)]['has'](_0x2cbc5e)?(_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x24c)]+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0):_0x140cb4===c[_0x3ede5a(0x250)]?(_0x13399d[_0x3ede5a(0x19b)](''+this['_xlfnPrefix']+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0,_0x5a60be=0x2):_0x140cb4===c[_0x3ede5a(0x259)]?(_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x24c)]+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0,_0x5a60be=0x1):_0x140cb4===c[_0x3ede5a(0x1f5)]['COLON']?_0x5a60be=0x8:c[_0x3ede5a(0x222)][_0x3ede5a(0x20d)](_0x140cb4)?_0x5a60be=0x7:_0x140cb4===c['prefixToken']['MINUS']?(this[_0x3ede5a(0x27f)](_0x524802)&&(_0x5a60be=0x9),_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b)):(_0x13399d['push'](_0x3c1f9b),_0x5a60be=0xa),_0x294ff1?(_0x5a60be!==0x2&&_0x5a60be!==0x1&&(_0x5a60be=0x6),_0x13399d[_0x3ede5a(0x19b)]('(')):_0x5a60be===0x9&&_0x13399d['push']('(');const _0x410253=_0x524802[_0x3ede5a(0x1dc)](),_0x6af107=_0x410253[_0x3ede5a(0x1dd)];if(_0x5a60be===0x2){const _0x21a9db=_0x410253[0x0];let _0x26baf2=0x0;_0x21a9db instanceof c[_0x3ede5a(0x267)]&&_0x21a9db[_0x3ede5a(0x1c7)]()===c[_0x3ede5a(0x22c)]&&(_0x26baf2=0x1);for(let _0xe6b00e=_0x26baf2;_0xe6b00e<_0x6af107-0x1;_0xe6b00e++){const _0x1422d2=_0x410253[_0xe6b00e];if(_0x1422d2 instanceof c[_0x3ede5a(0x267)]){const _0x964b94=_0x1422d2[_0x3ede5a(0x1dc)]()[0x0];typeof _0x964b94==_0x3ede5a(0x1ee)&&(this[_0x3ede5a(0x20e)][_0x3ede5a(0x20d)](_0x964b94)&&console[_0x3ede5a(0x1b3)](_0x3ede5a(0x217)+_0x964b94+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3ede5a(0x272)](_0x964b94),_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x210)]+_0x964b94),this['_hasNewExcelFunction']=!0x0);}_0x13399d['push'](',');}this[_0x3ede5a(0x230)](_0x410253[_0x6af107-0x1],_0x13399d,_0x479500),_0x26baf2===0x1&&(_0x13399d['push'](')'),_0x13399d[_0x3ede5a(0x19b)]('('),this[_0x3ede5a(0x17e)](_0x21a9db,_0x13399d,_0x479500)),_0x13399d[_0x3ede5a(0x19b)](')');return;}else{if(_0x5a60be===0x1){for(let _0x20eccf=0x0;_0x20eccf<_0x6af107-0x1;_0x20eccf++){const _0x22f5f0=_0x410253[_0x20eccf];if(_0x22f5f0 instanceof c['LexerNode']&&_0x20eccf%0x2===0x0){const _0x2a549a=_0x22f5f0['getChildren']()[0x0];if(typeof _0x2a549a==_0x3ede5a(0x1ee)){this[_0x3ede5a(0x20e)][_0x3ede5a(0x20d)](_0x2a549a)&&console[_0x3ede5a(0x1b3)](_0x3ede5a(0x1d8)+_0x2a549a+_0x3ede5a(0x271)),this['_lambdaFunctionParameterSet'][_0x3ede5a(0x272)](_0x2a549a),_0x13399d['push'](''+this[_0x3ede5a(0x210)]+_0x2a549a),this[_0x3ede5a(0x253)]=!0x0,_0x13399d[_0x3ede5a(0x19b)](',');continue;}}if(this[_0x3ede5a(0x230)](_0x22f5f0,_0x13399d,_0x479500),_0x22f5f0 instanceof c[_0x3ede5a(0x267)]){const _0x1b1526=_0x410253[_0x20eccf+0x1];_0x1b1526&&_0x1b1526 instanceof c[_0x3ede5a(0x267)]&&_0x13399d[_0x3ede5a(0x19b)](',');}}this[_0x3ede5a(0x230)](_0x410253[_0x6af107-0x1],_0x13399d,_0x479500),_0x13399d[_0x3ede5a(0x19b)](')');return;}else{if(_0x5a60be===0x8){const _0x109450=_0x410253[0x0],_0x381e93=_0x410253[0x1];this[_0x3ede5a(0x230)](_0x109450,_0x13399d,_0x479500),_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b),this[_0x3ede5a(0x230)](_0x381e93,_0x13399d,_0x479500);return;}}}for(let _0x19ad6f=0x0;_0x19ad6f<_0x6af107;_0x19ad6f++){const _0x45ffb0=_0x410253[_0x19ad6f];if(this['_handleNewFunctionChild'](_0x45ffb0,_0x13399d,_0x479500),_0x45ffb0 instanceof c['LexerNode']){const _0x41bdc0=_0x410253[_0x19ad6f+0x1];_0x41bdc0&&_0x41bdc0 instanceof c[_0x3ede5a(0x267)]&&_0x13399d[_0x3ede5a(0x19b)](',');}}_0x5a60be===0x7&&_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b),(_0x294ff1||_0x5a60be===0x9)&&_0x13399d[_0x3ede5a(0x19b)](')');}[_0x425e65(0x230)](_0xe6cdfb,_0xcd0533,_0x1cea12){const _0xe0d8ca=_0x425e65;_0xe6cdfb instanceof c[_0xe0d8ca(0x267)]?this[_0xe0d8ca(0x17e)](_0xe6cdfb,_0xcd0533,_0x1cea12):this[_0xe0d8ca(0x20e)][_0xe0d8ca(0x20d)](_0xe6cdfb)?(_0xcd0533[_0xe0d8ca(0x19b)](''+this['_xlpmPrefix']+_0xe6cdfb),this[_0xe0d8ca(0x253)]=!0x0):_0xcd0533[_0xe0d8ca(0x19b)](_0xe6cdfb);}[_0x425e65(0x1ea)](_0x46eb35){const _0xff357=_0x425e65;let _0xbb66e6=_0x46eb35[_0xff357(0x249)]();if(!_0xbb66e6)return _0xbb66e6;const _0x39df1f=_0xbb66e6[0x0];if((_0x39df1f===c[_0xff357(0x25b)]['AT']||_0x39df1f===c[_0xff357(0x25b)][_0xff357(0x22a)]||_0x39df1f===c[_0xff357(0x25b)]['PLUS'])&&(_0xbb66e6=_0xbb66e6[_0xff357(0x22d)](0x1)),!_0xbb66e6)return _0xbb66e6;const _0x302f20=_0xbb66e6[_0xbb66e6[_0xff357(0x1dd)]-0x1];return c['SUFFIX_TOKEN_SET'][_0xff357(0x20d)](_0x302f20)&&(_0xbb66e6=_0xbb66e6[_0xff357(0x22d)](0x0,-0x1)),_0xbb66e6;}[_0x425e65(0x27f)](_0x27de3c){const _0x3d1b0b=_0x425e65,_0x33cf0e=_0x27de3c[_0x3d1b0b(0x1dc)]()[0x0];if(!_0x33cf0e||!(_0x33cf0e instanceof c[_0x3d1b0b(0x267)])||_0x27de3c[_0x3d1b0b(0x1dc)]()[_0x3d1b0b(0x1dd)]>0x1)return!0x1;const _0x336525=_0x33cf0e[_0x3d1b0b(0x1dc)](),_0x57f5d8=_0x336525[_0x3d1b0b(0x1dd)];if(_0x57f5d8===0x1)return!0x1;for(let _0xbef621=0x0;_0xbef621<_0x57f5d8;_0xbef621++){const _0x35e929=_0x336525[_0xbef621];if(!(_0x35e929 instanceof c['LexerNode'])&&c[_0x3d1b0b(0x23f)]['has'](_0x35e929))return!0x0;}return!0x1;}[_0x425e65(0x25d)](_0x142a0c,_0x10d707,_0x1374af,_0x181476,_0x302e99){const _0x1bdec9=_0x425e65,_0x3ff221=this[_0x1bdec9(0x260)](_0x142a0c,!0x1);if(!_0x3ff221||_0x3ff221===c[_0x1bdec9(0x1f0)][_0x1bdec9(0x19f)]||Array['isArray'](_0x3ff221))return null;this[_0x1bdec9(0x225)](),this['_currentUnitId']=_0x10d707;const _0x1e5f00=this['_generateExprTree'](_0x3ff221,_0x1374af,_0x181476,_0x302e99);return this[_0x1bdec9(0x261)]='',this[_0x1bdec9(0x265)](),_0x1e5f00;}[_0x425e65(0x238)](_0x130431,_0xb0dd96,_0x272814,_0x3b1d99){const _0xbda6b9=_0x425e65,_0x51fb8f={'value':'','children':[],'startIndex':0x0};let _0x195a8a=_0x130431;if(_0x195a8a instanceof c[_0xbda6b9(0x267)]&&(_0x195a8a[_0xbda6b9(0x1c7)]()===c['DEFAULT_TOKEN_TYPE_ROOT']||_0x195a8a[_0xbda6b9(0x1c7)]()===c[_0xbda6b9(0x1a8)])&&_0x195a8a['getChildren']()[_0xbda6b9(0x1dd)]===0x1&&(_0x195a8a=_0x195a8a[_0xbda6b9(0x1dc)]()[0x0]),!(_0x195a8a instanceof c['LexerNode']))return this['_handleTextNodeForExprTree'](_0x195a8a,_0x272814,_0x3b1d99);const _0x3456cf=_0x195a8a['getChildren'](),_0xb4aad1=_0x3456cf[_0xbda6b9(0x1dd)],_0x557d59=[];this[_0xbda6b9(0x17e)](_0x195a8a,_0x557d59,_0xb0dd96),_0x51fb8f['value']=_0x557d59[_0xbda6b9(0x1b0)](''),_0x51fb8f[_0xbda6b9(0x1c0)]=_0x195a8a['getStartIndex']();const _0xd23515=this['_getCurNodeTypeForExprTree'](_0x195a8a);if(_0xd23515===0x2){const _0x254901=_0x3456cf[0x0];if(_0x254901 instanceof c[_0xbda6b9(0x267)]){if(_0x254901['getToken']()[_0xbda6b9(0x249)]()!==c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x51fb8f;this[_0xbda6b9(0x24e)](_0x254901,_0x51fb8f,_0xb0dd96,_0x272814,_0x3b1d99);}return _0x51fb8f;}else{if(_0xd23515===0x1){for(let _0x39fb59=0x0;_0x39fb59<_0xb4aad1-0x1;_0x39fb59++){const _0x24f721=_0x3456cf[_0x39fb59];if(_0x24f721 instanceof c[_0xbda6b9(0x267)]&&_0x39fb59%0x2===0x1){const _0x2e24e1=_0x24f721[_0xbda6b9(0x1dc)]();if(_0x2e24e1['length']===0x1&&!(_0x2e24e1[0x0]instanceof c[_0xbda6b9(0x267)]))continue;const _0x2eaf3a=this[_0xbda6b9(0x238)](_0x24f721,_0xb0dd96,_0x272814,_0x3b1d99);_0x2eaf3a&&_0x51fb8f[_0xbda6b9(0x1be)][_0xbda6b9(0x19b)](_0x2eaf3a);}}return _0x51fb8f;}else{if(_0xd23515===0x8){const _0x481db0=_0x3456cf[0x0];if(_0x481db0 instanceof c['LexerNode']){const _0x47ddee=_0x481db0[_0xbda6b9(0x1dc)]()[0x0];_0x47ddee instanceof c[_0xbda6b9(0x267)]&&(_0x51fb8f[_0xbda6b9(0x1c0)]=_0x47ddee[_0xbda6b9(0x277)]());}if(this[_0xbda6b9(0x1ab)](_0x195a8a))return _0x51fb8f;}else{if(_0xd23515===0x7){const _0x42ec09=_0x3456cf[0x0];if(_0x42ec09 instanceof c[_0xbda6b9(0x267)]){const _0x17ee9a=_0x42ec09['getChildren']()[0x0];_0x17ee9a instanceof c[_0xbda6b9(0x267)]&&(_0x51fb8f[_0xbda6b9(0x1c0)]=_0x17ee9a[_0xbda6b9(0x277)]());}}}}}return this[_0xbda6b9(0x231)](_0x3456cf,_0xd23515,_0x51fb8f,_0xb0dd96,_0x272814,_0x3b1d99),_0x51fb8f;}['_handleChildrenForExprTree'](_0x54f94d,_0x47f897,_0xf5c62d,_0x23d37a,_0x517c5c,_0xb8a25e){const _0x1af4c5=_0x425e65;for(let _0x5b3be1=0x0;_0x5b3be1<_0x54f94d[_0x1af4c5(0x1dd)];_0x5b3be1++){let _0x318070=_0x54f94d[_0x5b3be1];if(!(_0x318070 instanceof c[_0x1af4c5(0x267)])){const _0xca89a1=this['_handleTextNodeForExprTree'](_0x318070,_0x517c5c,_0xb8a25e);_0xca89a1&&_0xf5c62d[_0x1af4c5(0x1be)][_0x1af4c5(0x19b)](_0xca89a1);continue;}const _0x142727=_0x318070[_0x1af4c5(0x1dc)]();if(_0x142727[_0x1af4c5(0x1dd)]===0x1&&!(_0x142727[0x0]instanceof c[_0x1af4c5(0x267)])){const _0xf647ef=_0x142727[0x0];if(!_0x517c5c(this[_0x1af4c5(0x261)],_0xf647ef)&&!this[_0x1af4c5(0x1ca)](_0xf647ef,_0xb8a25e)&&!c['isReferenceString'](_0xf647ef))continue;}if(_0x47f897===0x8){const _0x56830a=_0x142727[0x0];if(_0x56830a instanceof c[_0x1af4c5(0x267)]){const _0x5071c0=_0x56830a[_0x1af4c5(0x1c7)]()['trim']();if(c[_0x1af4c5(0x27d)](_0x5071c0))continue;_0x318070=_0x56830a;}}const _0x85e7=this[_0x1af4c5(0x238)](_0x318070,_0x23d37a,_0x517c5c,_0xb8a25e);_0x85e7&&_0xf5c62d[_0x1af4c5(0x1be)]['push'](_0x85e7);}}[_0x425e65(0x1ab)](_0x509fdc){const _0x23a3d8=_0x425e65,_0xe1182=_0x509fdc[_0x23a3d8(0x1dc)]();if(_0xe1182[_0x23a3d8(0x1dd)]<0x2)return!0x1;const _0x182f97=_0xe1182[0x0],_0x216bd0=_0xe1182[0x1];if(!(_0x182f97 instanceof c[_0x23a3d8(0x267)])||!(_0x216bd0 instanceof c[_0x23a3d8(0x267)]))return!0x1;const _0x2f0205=_0x182f97[_0x23a3d8(0x1dc)]()[0x0],_0x53f6ba=_0x216bd0[_0x23a3d8(0x1dc)]()[0x0];if(!(_0x2f0205 instanceof c[_0x23a3d8(0x267)])||!(_0x53f6ba instanceof c[_0x23a3d8(0x267)]))return!0x1;const _0x541ea9=_0x2f0205[_0x23a3d8(0x1c7)]()[_0x23a3d8(0x249)](),_0x5befd0=_0x53f6ba[_0x23a3d8(0x1c7)]()[_0x23a3d8(0x249)]();return!!c[_0x23a3d8(0x27d)](''+_0x541ea9+c[_0x23a3d8(0x1f5)][_0x23a3d8(0x1aa)]+_0x5befd0);}['_handleTextNodeForExprTree'](_0xed38d4,_0xec3c23,_0xcfc9a){const _0x3cf05c=_0x425e65,_0x3e7e71=_0xed38d4[_0x3cf05c(0x249)]();return _0x3e7e71[_0x3cf05c(0x203)]('{')&&_0x3e7e71[_0x3cf05c(0x23e)]('}')||_0xec3c23(this['_currentUnitId'],_0x3e7e71)||this[_0x3cf05c(0x1ca)](_0x3e7e71,_0xcfc9a)||c['isReferenceString'](_0x3e7e71)?{'value':_0x3e7e71,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x1077c7,_0x9393da){const _0x34c5b0=_0x425e65,{tableName:_0x1c2b4d}=c[_0x34c5b0(0x27b)](_0x1077c7);return _0x9393da(this['_currentUnitId'],_0x1c2b4d)?_0x1c2b4d:null;}[_0x425e65(0x24e)](_0x1ae185,_0x42c1c9,_0x446067,_0x286108,_0x29fe64){const _0x3bb3a8=_0x425e65,_0x5671a8=_0x1ae185[_0x3bb3a8(0x1dc)]();for(let _0x28cdaf=0x0;_0x28cdaf<_0x5671a8[_0x3bb3a8(0x1dd)];_0x28cdaf++){const _0x1e6192=_0x5671a8[_0x28cdaf];if(!(_0x1e6192 instanceof c[_0x3bb3a8(0x267)]))continue;const _0x397d25=_0x1e6192[_0x3bb3a8(0x1dc)]();if(_0x397d25[_0x3bb3a8(0x1dd)]===0x1&&!(_0x397d25[0x0]instanceof c[_0x3bb3a8(0x267)]))continue;const _0x3e33a2=this[_0x3bb3a8(0x238)](_0x1e6192,_0x446067,_0x286108,_0x29fe64);_0x3e33a2&&_0x42c1c9['children']['push'](_0x3e33a2);}}[_0x425e65(0x268)](_0x4759e3){const _0x5d1d24=_0x425e65,_0x4e2974=_0x4759e3['getToken'](),_0x216929=_0x4e2974[_0x5d1d24(0x249)]()[_0x5d1d24(0x198)]();let _0x41aca9=0x0;return _0x4e2974===c[_0x5d1d24(0x237)]?_0x41aca9=0x3:_0x4e2974===c[_0x5d1d24(0x1a8)]?_0x41aca9=0x4:_0x4e2974===c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x41aca9=0x5:_0x216929===c['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x41aca9=0x2:_0x216929===c[_0x5d1d24(0x259)]?_0x41aca9=0x1:_0x216929===c[_0x5d1d24(0x1f5)][_0x5d1d24(0x1aa)]?_0x41aca9=0x8:c[_0x5d1d24(0x222)][_0x5d1d24(0x20d)](_0x216929)?_0x41aca9=0x7:_0x216929===c[_0x5d1d24(0x25b)][_0x5d1d24(0x22a)]?this[_0x5d1d24(0x27f)](_0x4759e3)&&(_0x41aca9=0x9):_0x41aca9=0xa,_0x41aca9;}}const k={0x0:'N',0x1:'3',0x2:'Q',0x3:'X',0x4:'y',0x5:'w',0x6:'u',0x7:'E',0x8:'2',0x9:'m','I':'0','S':'1','J':'4','H':'5','j':'6','T':'7','P':'8','z':'9','O':'a','a':'b','f':'c','r':'d','b':'e','l':'f','K':'g','p':'h','B':'i','t':'j','A':'k','w':'l','g':'n','m':'o','X':'p','F':'q','c':'r','G':'s','Y':'t','W':'v','M':'x','L':'z','d':'A','V':'B','u':'C','e':'D','h':'F','i':'G','N':'H','C':'I','y':'J','Q':'K','v':'L','q':'M','n':'O','x':'P','E':'R','Z':'S','k':'T','o':'U','R':'V','U':'W','D':'Y','s':'Z'},K='/*\x20bGwBgY-rBGOawb\x20Xcblbc-Yb9XwOYb\x20*/l6gfYBmg\x20rbfc4XYBmg(wBfbgGb,\x20X6awBfQb4)\x20{\x20\x20\x20\x20Yc4\x20{\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20wBfbgGbCglmxOcYdccO4\x20=\x20wBfbgGb.GXwBY(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20mcBKBgqbGGOKb\x20=\x20yZn0.XOcGb(OYma(wBfbgGbCglmxOcYdccO4[8]));\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(!mcBKBgqbGGOKb.6r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mcBKBgqbGGOKb.6r\x20=\x20069abc(wBfbgGbCglmxOcYdccO4[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGUmcAbc\x20=\x20Y4Xbml\x20UmcAbciwmaOwZfmXb\x20!==\x20\x276grblBgbr\x27\x20&&\x20Gbwl\x20BgGYOgfbml\x20UmcAbciwmaOwZfmXb;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGVcm5Gbc\x20=\x20Y4Xbml\x205Bgrm5\x20!==\x20\x276grblBgbr\x27\x20&&\x20Y4Xbml\x205Bgrm5.wmfOYBmg\x20!==\x20\x276grblBgbr\x27;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20fmgYbMY\x20=\x20BGUmcAbc\x20?\x20Gbwl\x20:\x20(BGVcm5Gbc\x20?\x205Bgrm5\x20:\x20KwmaOwkpBG);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[8]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(9bGGOKbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[1]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(GBKgOY6cbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgROwBr\x20=\x20fmgYbMY.__WbcBl4__(GBKgOY6cb,\x209bGGOKb,\x20X6awBfQb4);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20rm9OBg\x20=\x20mcBKBgqbGGOKb.r9;\x20\x20\x20\x20\x20\x20\x20\x20l6gfYBmg\x20BGem9OBgqOYfpBgK(XOYYbcg:\x20GYcBgK,\x20pmGY:\x20GYcBgK):\x20ammwbOg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg\x20===\x20pmGY)\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg.GYOcYGUBYp(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20G6llBM\x20=\x20XOYYbcg.GwBfb(8);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20G6llBM\x20===\x20pmGY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\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\x20Bl\x20(G6llBM\x20&&\x20!pmGY.GYOcYGUBYp(\x27.\x27)\x20&&\x20pmGY.bgrGUBYp(\x27.\x27\x20+\x20G6llBM))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\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\x20cbY6cg\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wbY\x20rm9OBgROwBr\x20=\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(BGVcm5Gbc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20(rm9OBg\x20&&\x20rm9OBg.wbgKYp)\x20?\x20rm9OBg.Gm9b((r9CYb9)\x20=>\x20BGem9OBgqOYfpBgK(r9CYb9,\x20wmfOYBmg.pmGYgO9b))\x20:\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(wmfOYBmg.pmGYgO9b\x20===\x20\x27wmfOwpmGY\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20bwGb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20WOwBr\x20=\x20GBKgROwBr\x20&&\x20rm9OBgROwBr;\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20mcBKBgqbGGOKb,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20fOYfp\x20(bccmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr:\x20lOwGb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class V extends c[_0x425e65(0x275)]{constructor(){const _0x8169a4=_0x425e65;super(...arguments),D(this,_0x8169a4(0x202),new Map());}['dispose'](){const _0x1ce7bc=_0x425e65;super['dispose'](),this[_0x1ce7bc(0x202)][_0x1ce7bc(0x1af)]();}async['generate'](_0x1aedc5=!0x1){const _0x37629b=_0x425e65;this[_0x37629b(0x1cc)]();const _0x35eecc=this['_currentConfigService'][_0x37629b(0x209)](),_0x236422=this[_0x37629b(0x240)][_0x37629b(0x18c)](),_0x176d94=this['_currentConfigService'][_0x37629b(0x26b)]();_0x176d94!=null&&Object[_0x37629b(0x22b)](_0x176d94)[_0x37629b(0x274)](_0x566909=>{const _0x166009=_0x37629b;_0x566909!=null&&Object['keys'](_0x176d94[_0x566909])[_0x166009(0x274)](_0x4188ea=>{const _0x2e6921=_0x166009;_0x4188ea!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x566909,_0x4188ea),this['_dependencyManagerService'][_0x2e6921(0x1cd)](_0x566909,_0x4188ea),this['_dependencyManagerService'][_0x2e6921(0x199)](_0x566909,_0x4188ea));});});const _0x2a6479=this[_0x37629b(0x18a)]['getUnitData']();await this[_0x37629b(0x273)](_0x35eecc,_0x236422,_0x2a6479),this['_dependencyManagerService'][_0x37629b(0x21d)]();const _0xb12a17=this[_0x37629b(0x1b7)](),_0x371198=this[_0x37629b(0x19e)](_0xb12a17);return this[_0x37629b(0x22e)](_0x371198)&&this['_runtimeService'][_0x37629b(0x1bb)](),_0x1aedc5&&this['_runtimeService'][_0x37629b(0x21f)](this[_0x37629b(0x1ec)](Array[_0x37629b(0x190)](this[_0x37629b(0x202)][_0x37629b(0x207)]()))),this[_0x37629b(0x202)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x37629b(0x1af)](),this[_0x37629b(0x206)][_0x37629b(0x1a0)](),this[_0x37629b(0x266)][_0x37629b(0x1eb)](),Promise[_0x37629b(0x1a5)](_0x371198);}['_isCyclicUtilMap'](_0x350de7,_0x4d54db){const _0x5d9b72=_0x425e65,_0x241527=[_0x350de7];for(;_0x241527[_0x5d9b72(0x1dd)]>0x0;){const _0x1481f7=_0x241527[_0x241527[_0x5d9b72(0x1dd)]-0x1];if((_0x4d54db[_0x5d9b72(0x200)](_0x1481f7)||0x0)===0x0){_0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x1);const _0x331e86=this[_0x5d9b72(0x202)][_0x5d9b72(0x200)](_0x1481f7);if(_0x331e86==null){_0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x2),_0x241527[_0x5d9b72(0x241)]();continue;}const _0x178e62=this['_dependencyManagerService'][_0x5d9b72(0x270)](_0x331e86[_0x5d9b72(0x1e9)]());for(const _0x1c608c of _0x178e62){const _0x3fbbb8=_0x4d54db[_0x5d9b72(0x200)](_0x1c608c)||0x0;if(_0x3fbbb8===0x1)return!0x0;_0x3fbbb8===0x0&&_0x241527[_0x5d9b72(0x19b)](_0x1c608c);}}else _0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x2),_0x241527[_0x5d9b72(0x241)]();}return!0x1;}[_0x425e65(0x22e)](_0x416f07){const _0x45fa1f=_0x425e65,_0x5d6c5e=new Map();for(const _0x415c6a of _0x416f07)if(!_0x5d6c5e[_0x45fa1f(0x20d)](_0x415c6a['treeId'])&&this[_0x45fa1f(0x1e3)](_0x415c6a['treeId'],_0x5d6c5e))return!0x0;return _0x5d6c5e['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x1a212b,_0x538a8b,_0x43b204){const _0xa88308=_0x425e65,{unitId:_0x5c2c2f,subUnitId:_0x2866c2,dependencyRanges:_0x1852a3,getDirtyData:_0x642006}=_0x43b204,_0x58cd92=_0x538a8b||c[_0xa88308(0x26c)](this[_0xa88308(0x206)]),_0x39c5d2=new c['FormulaDependencyTree'](_0x58cd92);_0x39c5d2[_0xa88308(0x221)]=_0x5c2c2f,_0x39c5d2[_0xa88308(0x18e)]=_0x2866c2,_0x39c5d2[_0xa88308(0x1a1)]=_0x1852a3,_0x39c5d2['getDirtyData']=_0x642006;const _0x325a5d=_0x642006(this['_currentConfigService'][_0xa88308(0x216)](),this[_0xa88308(0x266)]['getAllRuntimeData']()),_0x373b60=this['_convertDirtyRangesToUnitRange'](_0x325a5d['dirtyRanges']);return _0x39c5d2[_0xa88308(0x1a4)]=_0x373b60,_0x39c5d2[_0xa88308(0x1fe)]=_0x1a212b,_0x39c5d2[_0xa88308(0x223)]=c[_0xa88308(0x269)][_0xa88308(0x1c4)],this[_0xa88308(0x206)][_0xa88308(0x227)](_0x5c2c2f,_0x2866c2,_0x1a212b,_0x39c5d2),this['_dependencyTreeCache'][_0xa88308(0x1e2)](_0x39c5d2[_0xa88308(0x23c)],_0x39c5d2),this[_0xa88308(0x206)]['getFeatureFormulaDependency'](_0x43b204[_0xa88308(0x221)],_0x43b204[_0xa88308(0x18e)],_0x1a212b)&&(_0x39c5d2[_0xa88308(0x235)]=!0x0),_0x39c5d2;}['_registerOtherFormulas'](_0x37b659,_0x58c80c,_0x597b0e){const _0x18f9c5=_0x425e65;var _0x18a942;for(const _0x9ae90 of _0x58c80c){const _0x52af13=_0x37b659[_0x9ae90];if(_0x52af13==null)continue;const _0x302cab=Object['keys'](_0x52af13);for(const _0x198318 of _0x302cab){const _0x4b078e=_0x52af13[_0x198318];if(_0x4b078e==null)continue;const _0x34c1fa=Object[_0x18f9c5(0x22b)](_0x4b078e);for(const _0x522caa of _0x34c1fa){const _0x549e45=this[_0x18f9c5(0x206)][_0x18f9c5(0x1ba)](_0x522caa),_0x2f808e=_0x4b078e[_0x522caa],{f:_0x670c36,ranges:_0xe88c85}=_0x2f808e;let _0x350da5=!0x1;_0x549e45&&(_0x350da5=!0x0);const {firstRow:_0x2fa995,firstColumn:_0x740cf0}=this[_0x18f9c5(0x1d2)](_0xe88c85),_0x33244d=this[_0x18f9c5(0x206)][_0x18f9c5(0x233)](_0x9ae90,_0x198318,_0x522caa),_0x4ac3bb=(_0x18a942=_0x33244d==null?void 0x0:_0x33244d[_0x18f9c5(0x244)](0x0,0x0))!=null?_0x18a942:c['generateRandomDependencyTreeId'](this[_0x18f9c5(0x206)]),_0x55955e=new c['FormulaDependencyTree'](_0x4ac3bb);for(let _0x2cd10c=0x0;_0x2cd10c<_0xe88c85['length'];_0x2cd10c++){const _0x297d2d=_0xe88c85[_0x2cd10c],{startRow:_0x27cd4f,startColumn:_0x53f8cd,endRow:_0x1e1853,endColumn:_0x3fa1e0}=_0x297d2d;for(let _0x3e27a3=_0x27cd4f;_0x3e27a3<=_0x1e1853;_0x3e27a3++)for(let _0xabac3a=_0x53f8cd;_0xabac3a<=_0x3fa1e0;_0xabac3a++){const _0xf0256d=_0xabac3a-_0x740cf0,_0x3f4184=_0x3e27a3-_0x2fa995;if(_0xf0256d===0x0&&_0x3f4184===0x0){_0x55955e['formula']=_0x670c36,_0x55955e[_0x18f9c5(0x221)]=_0x9ae90,_0x55955e[_0x18f9c5(0x18e)]=_0x198318,_0x55955e[_0x18f9c5(0x25c)]=_0x522caa,_0x55955e[_0x18f9c5(0x223)]=c[_0x18f9c5(0x269)][_0x18f9c5(0x276)],_0x55955e[_0x18f9c5(0x235)]=_0x350da5,_0x597b0e[_0x18f9c5(0x19b)](_0x55955e),this[_0x18f9c5(0x202)]['set'](_0x55955e['treeId'],_0x55955e),this[_0x18f9c5(0x206)][_0x18f9c5(0x195)](_0x9ae90,_0x198318,_0x522caa,_0x55955e),this[_0x18f9c5(0x206)]['addFormulaDependencyByDefinedName'](_0x55955e);continue;}const _0xed33b4=new c['FormulaDependencyTreeVirtual']();_0xed33b4[_0x18f9c5(0x23c)]=(_0x33244d==null?void 0x0:_0x33244d['getValue'](_0xf0256d,_0x3f4184))||c['generateRandomDependencyTreeId'](this[_0x18f9c5(0x206)]),_0xed33b4[_0x18f9c5(0x1f3)]=_0x55955e,_0xed33b4[_0x18f9c5(0x25f)]=_0xf0256d,_0xed33b4[_0x18f9c5(0x214)]=_0x3f4184,_0xed33b4[_0x18f9c5(0x235)]=_0x350da5,_0xed33b4[_0x18f9c5(0x223)]=c[_0x18f9c5(0x269)][_0x18f9c5(0x276)],this[_0x18f9c5(0x206)][_0x18f9c5(0x195)](_0x9ae90,_0x198318,_0x522caa,_0xed33b4),this[_0x18f9c5(0x206)][_0x18f9c5(0x252)](_0xed33b4),_0x597b0e[_0x18f9c5(0x19b)](_0xed33b4),this[_0x18f9c5(0x202)][_0x18f9c5(0x1e2)](_0xed33b4[_0x18f9c5(0x23c)],_0xed33b4);}}this[_0x18f9c5(0x206)][_0x18f9c5(0x1e0)](_0x522caa);}}}}[_0x425e65(0x182)](_0x1ae846,_0x3dea22,_0x2c98c2,_0x55d0c2){const _0x6836ef=_0x425e65;for(const _0x39e758 of _0x1ae846){const _0x283244=_0x3dea22[_0x39e758];if(_0x283244==null)continue;const _0x45e30a=Object[_0x6836ef(0x22b)](_0x283244);for(const _0x447477 of _0x45e30a){const _0x14dbb6=new E[(_0x6836ef(0x1c1))](_0x283244[_0x447477]||{}),_0x8f1f50=new Map();_0x14dbb6[_0x6836ef(0x185)]((_0x22d4f1,_0x34f002,_0xe0d15a)=>{const _0x400e85=_0x6836ef;if(_0xe0d15a==null)return!0x0;const {x:_0x4c5be7=0x0,y:_0x5e9583=0x0,si:_0x22ba33}=_0xe0d15a;if(!(_0x4c5be7===0x0&&_0x5e9583===0x0&&_0x22ba33!=null))return!0x0;const _0xde7783=this[_0x400e85(0x188)](_0x39e758,_0x447477,_0x22d4f1,_0x34f002,_0x2c98c2,_0xe0d15a),_0x3f8471=this[_0x400e85(0x206)]['getFormulaDependency'](_0x39e758,_0x447477,_0x22d4f1,_0x34f002);_0x3f8471!=null?_0xde7783['treeId']=_0x3f8471:(this[_0x400e85(0x206)]['addFormulaDependency'](_0x39e758,_0x447477,_0x22d4f1,_0x34f002,_0xde7783),this[_0x400e85(0x206)]['addFormulaDependencyByDefinedName'](_0xde7783)),_0x8f1f50[_0x400e85(0x1e2)](_0x22ba33,_0xde7783),_0x55d0c2['push'](_0xde7783),this['_dependencyTreeCache']['set'](_0xde7783[_0x400e85(0x23c)],_0xde7783);}),_0x14dbb6[_0x6836ef(0x185)]((_0x22f9e5,_0x4866df,_0x336c1d)=>{const _0xa8952f=_0x6836ef;if(_0x336c1d==null)return!0x0;const {x:_0x3334eb=0x0,y:_0xa6fc61=0x0,si:_0xebe2fe}=_0x336c1d;if(_0x3334eb===0x0&&_0xa6fc61===0x0&&_0xebe2fe!=null)return!0x0;let _0x1fe91b;if(_0xebe2fe&&_0x8f1f50[_0xa8952f(0x20d)](_0xebe2fe)){const _0x3dbdb8=_0x8f1f50[_0xa8952f(0x200)](_0xebe2fe);_0x1fe91b=this['_createVirtualFDtree'](_0x3dbdb8,_0x336c1d);}else _0x1fe91b=this[_0xa8952f(0x188)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df,_0x2c98c2,_0x336c1d);const _0x58253f=this[_0xa8952f(0x206)][_0xa8952f(0x280)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df);_0x58253f!=null?_0x1fe91b[_0xa8952f(0x23c)]=_0x58253f:(this[_0xa8952f(0x206)][_0xa8952f(0x196)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df,_0x1fe91b),this[_0xa8952f(0x206)][_0xa8952f(0x252)](_0x1fe91b)),_0x55d0c2['push'](_0x1fe91b),this[_0xa8952f(0x202)][_0xa8952f(0x1e2)](_0x1fe91b[_0xa8952f(0x23c)],_0x1fe91b);}),_0x8f1f50['clear']();}}}['_createFDtree'](_0xf1ece5,_0x2f9780,_0x7b3db8,_0x2bfdcc,_0x369024,_0x301af7){const _0x4d72cc=_0x425e65,{f:_0x37bc09,x:_0x828f0b=0x0,y:_0xaf46a=0x0}=_0x301af7,_0xc7f6b0=new c[(_0x4d72cc(0x220))](c[_0x4d72cc(0x26c)](this['_dependencyManagerService'])),_0x5506a9=_0x369024[_0xf1ece5][_0x2f9780];return _0xc7f6b0[_0x4d72cc(0x19a)]=_0x37bc09,_0xc7f6b0[_0x4d72cc(0x221)]=_0xf1ece5,_0xc7f6b0[_0x4d72cc(0x18e)]=_0x2f9780,_0xc7f6b0['row']=_0x7b3db8,_0xc7f6b0[_0x4d72cc(0x255)]=_0x2bfdcc,_0xc7f6b0[_0x4d72cc(0x20a)]=_0x5506a9['rowCount'],_0xc7f6b0['columnCount']=_0x5506a9['columnCount'],_0xc7f6b0;}[_0x425e65(0x1b7)](){const _0x3e8383=_0x425e65,_0x2e8b59=[],_0x50e540=new Set(),_0x513c52=this[_0x3e8383(0x18a)]['isForceCalculate'](),_0x4a0bf2=this[_0x3e8383(0x18a)][_0x3e8383(0x1e8)](),_0x392ef5=this['_dependencyManagerService'][_0x3e8383(0x270)](_0x4a0bf2),_0x2ab809=this[_0x3e8383(0x218)][_0x3e8383(0x254)](_0x4a0bf2);for(const _0x29b0e5 of _0x2ab809)_0x392ef5['add'](_0x29b0e5);for(const [_0x5cf453,_0x353cf3]of this[_0x3e8383(0x202)])(_0x513c52||_0x353cf3[_0x3e8383(0x24a)]||_0x353cf3[_0x3e8383(0x282)](this[_0x3e8383(0x18a)]['getDirtyNameMap']())||_0x392ef5['has'](_0x5cf453)&&!_0x353cf3['isExcludeRange'](this[_0x3e8383(0x18a)]['getExcludedRange']()))&&!_0x50e540[_0x3e8383(0x20d)](_0x5cf453)&&(_0x2e8b59[_0x3e8383(0x19b)](_0x353cf3),_0x50e540[_0x3e8383(0x272)](_0x5cf453));for(const [_0x3de6f2,_0x6846af]of this[_0x3e8383(0x202)])_0x6846af[_0x3e8383(0x263)]||(_0x6846af[_0x3e8383(0x1a1)][_0x3e8383(0x1dd)]=0x0);return _0x2e8b59;}[_0x425e65(0x1f4)](_0x128454){const _0x4a8f59=_0x425e65;return this[_0x4a8f59(0x202)][_0x4a8f59(0x200)](_0x128454);}['_getTreeNode'](_0x14e955){const _0x342b7a=_0x425e65;return c[_0x342b7a(0x1d1)](_0x14e955[_0x342b7a(0x221)],_0x14e955['formula'],this[_0x342b7a(0x1a3)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x425e65(0x1bf)](_0x35966a,_0x442d10){const _0x1eaee1=_0x425e65,_0x227c43=_0x35966a,_0x3368ec=new Set();for(;_0x227c43[_0x1eaee1(0x1dd)]>0x0;){const _0x66944c=_0x227c43['pop']();if(_0x3368ec[_0x1eaee1(0x1af)](),_0x66944c===void 0x0||_0x66944c['isSkip']())continue;if(_0x66944c['isAdded']()){yield _0x66944c,_0x66944c[_0x1eaee1(0x1e4)](),_0x442d10[_0x1eaee1(0x272)](_0x66944c[_0x1eaee1(0x23c)]);continue;}const _0x37576d=this[_0x1eaee1(0x206)][_0x1eaee1(0x270)](_0x66944c[_0x1eaee1(0x1e9)](),_0x442d10),_0x51f0c9=this[_0x1eaee1(0x218)][_0x1eaee1(0x254)](_0x66944c[_0x1eaee1(0x1e9)](),_0x442d10);for(const _0x32b51 of _0x51f0c9)_0x37576d[_0x1eaee1(0x272)](_0x32b51);for(const _0x5dc550 of _0x37576d){const _0x1b9d30=this['_dependencyTreeCache'][_0x1eaee1(0x200)](_0x5dc550);if(!_0x1b9d30){console[_0x1eaee1(0x1b3)](_0x1eaee1(0x224),_0x5dc550);continue;}_0x1b9d30['isAdded']()||_0x66944c['isSkip']()||_0x3368ec['add'](_0x1b9d30);}if(_0x37576d['clear'](),_0x3368ec[_0x1eaee1(0x1f7)]===0x0)yield _0x66944c,_0x66944c[_0x1eaee1(0x1e4)](),_0x442d10[_0x1eaee1(0x272)](_0x66944c[_0x1eaee1(0x23c)]);else{_0x66944c[_0x1eaee1(0x1f6)](),_0x227c43[_0x1eaee1(0x19b)](_0x66944c);for(const _0x261371 of _0x3368ec)_0x227c43[_0x1eaee1(0x19b)](_0x261371);}}_0x227c43[_0x1eaee1(0x1dd)]=0x0,_0x3368ec[_0x1eaee1(0x1af)]();}[_0x425e65(0x19e)](_0x2073da){const _0x45187d=_0x425e65,_0x34567f=[],_0xd7a443=new Set();for(const _0x383d72 of this[_0x45187d(0x1bf)](_0x2073da,_0xd7a443))_0x34567f[_0x45187d(0x19b)](_0x383d72);return _0x34567f;}async[_0x425e65(0x1ed)](){const _0x4188ee=_0x425e65;return await this[_0x4188ee(0x17f)](),Array[_0x4188ee(0x190)](this[_0x4188ee(0x202)]['values']());}[_0x425e65(0x1b4)](_0x24fc64){const _0x30a9cc=_0x425e65;return this[_0x30a9cc(0x206)][_0x30a9cc(0x270)](_0x24fc64[_0x30a9cc(0x1e9)]());}[_0x425e65(0x1d0)](_0x366c47){const _0xeff8c8=_0x425e65,_0x3e7ec2=new Set(),_0x219dcd=_0x366c47[_0xeff8c8(0x1a1)];for(const [_0x562f8a,_0x16ce1f]of this[_0xeff8c8(0x202)])for(const _0x427f7c of _0x219dcd){const _0x5c1fd2=_0x427f7c['unitId'],_0x357128=_0x427f7c[_0xeff8c8(0x248)];if(_0x16ce1f[_0xeff8c8(0x221)]!==_0x5c1fd2||_0x16ce1f['subUnitId']!==_0x357128)continue;const _0x302a10=_0x427f7c[_0xeff8c8(0x1c5)];if(_0x16ce1f[_0xeff8c8(0x234)](_0x302a10)){_0x3e7ec2[_0xeff8c8(0x272)](_0x562f8a);break;}}return _0x3e7ec2;}[_0x425e65(0x228)](){const _0x1f1b3d=_0x425e65;this['_dependencyManagerService'][_0x1f1b3d(0x21d)]();}[_0x425e65(0x1b1)](){const _0x47f655=_0x425e65;this[_0x47f655(0x281)]['clear'](),this[_0x47f655(0x202)][_0x47f655(0x1af)](),this[_0x47f655(0x206)][_0x47f655(0x1a0)]();}}function _0x35d3(_0x54b9fb,_0x5135d8){_0x54b9fb=_0x54b9fb-0x17c;const _0xbc32a=_0xbc32();let _0x35d36f=_0xbc32a[_0x54b9fb];return _0x35d36f;}class X extends c['CalculateFormulaService']{async[_0x425e65(0x21a)](_0x1b50ca=!0x1){const _0x5dfbb=_0x425e65;_0x1b50ca?this[_0x5dfbb(0x266)]['setFormulaExecuteStage'](c[_0x5dfbb(0x20b)][_0x5dfbb(0x1c6)]):this['_runtimeService']['setFormulaExecuteStage'](c[_0x5dfbb(0x20b)][_0x5dfbb(0x1b6)]),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)]['getRuntimeState']());const _0x1d1180=await this['_formulaDependencyGenerator'][_0x5dfbb(0x24b)](this[_0x5dfbb(0x24d)]),_0x8fcda=this[_0x5dfbb(0x256)];_0x1b50ca?(this['_runtimeService'][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)][_0x5dfbb(0x17d)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x205)](_0x1d1180['length'])):(this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)]['START_CALCULATION']),this[_0x5dfbb(0x266)]['setTotalFormulasToCalculate'](_0x1d1180['length'])),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)][_0x5dfbb(0x19d)]());let _0x109d91=[];const _0x547b86=this['_configService'][_0x5dfbb(0x1da)](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x67761a=(_0x547b86==null?void 0x0:_0x547b86[_0x5dfbb(0x264)])||c[_0x5dfbb(0x251)];let _0x384bf6=0x0;const _0x334beb=_0x1d1180[_0x5dfbb(0x1dd)];for(;_0x1d1180[_0x5dfbb(0x1dd)]>0x0;){const _0x5d5a2e=_0x1d1180[_0x5dfbb(0x241)](),_0x367280=c[_0x5dfbb(0x1d1)](_0x5d5a2e[_0x5dfbb(0x221)],_0x5d5a2e['formula'],this[_0x5dfbb(0x1a3)],this[_0x5dfbb(0x183)],this[_0x5dfbb(0x18a)]),_0x6bd17c={'node':_0x367280,'refOffsetX':_0x5d5a2e[_0x5dfbb(0x25f)],'refOffsetY':_0x5d5a2e[_0x5dfbb(0x214)]},_0x200763=_0x5d5a2e[_0x5dfbb(0x216)];if(_0x384bf6%_0x67761a===0x0&&(await new Promise(_0x15cf97=>{const _0x35f1f7=_0x5dfbb,_0x29b93e=E[_0x35f1f7(0x26d)](_0x15cf97);_0x109d91['push'](_0x29b93e);}),_0x1b50ca?(this['_runtimeService'][_0x5dfbb(0x1c3)](c['FormulaExecuteStageType'][_0x5dfbb(0x1ad)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x1ae)](_0x384bf6+0x1)):(this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)][_0x5dfbb(0x180)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x1b5)](_0x384bf6+0x1)),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this['_runtimeService'][_0x5dfbb(0x19d)]()),this['_runtimeService']['isStopExecution']()||_0x6bd17c==null&&_0x200763==null)){this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c['FormulaExecuteStageType'][_0x5dfbb(0x257)]),this[_0x5dfbb(0x266)]['markedAsStopFunctionsExecuted'](),this[_0x5dfbb(0x18b)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x5dfbb(0x192)](_0x5d5a2e[_0x5dfbb(0x19c)],_0x5d5a2e[_0x5dfbb(0x255)],_0x5d5a2e[_0x5dfbb(0x20a)],_0x5d5a2e[_0x5dfbb(0x24f)],_0x5d5a2e[_0x5dfbb(0x18e)],_0x5d5a2e[_0x5dfbb(0x221)]);let _0x19ed8e;if(_0x200763!=null&&_0x5d5a2e[_0x5dfbb(0x1fe)]!=null){const {runtimeCellData:_0x1776e6,dirtyRanges:_0x39a63a}=_0x200763(this[_0x5dfbb(0x18a)]['getDirtyData'](),this[_0x5dfbb(0x266)][_0x5dfbb(0x1ef)]());this['_runtimeService'][_0x5dfbb(0x21b)](_0x5d5a2e[_0x5dfbb(0x1fe)],_0x1776e6),this['_runtimeService'][_0x5dfbb(0x1cb)](_0x5d5a2e[_0x5dfbb(0x1fe)],_0x39a63a);}else _0x6bd17c!=null&&(_0x8fcda[_0x5dfbb(0x1e1)](_0x6bd17c[_0x5dfbb(0x1a7)])?_0x19ed8e=await _0x8fcda[_0x5dfbb(0x1f1)](_0x6bd17c):_0x19ed8e=_0x8fcda[_0x5dfbb(0x1db)](_0x6bd17c),_0x5d5a2e['formulaId']!=null?this[_0x5dfbb(0x266)][_0x5dfbb(0x279)](_0x5d5a2e[_0x5dfbb(0x25c)],_0x5d5a2e[_0x5dfbb(0x25f)],_0x5d5a2e[_0x5dfbb(0x214)],_0x19ed8e):this[_0x5dfbb(0x266)][_0x5dfbb(0x239)](_0x19ed8e));_0x367280[_0x5dfbb(0x226)](),_0x384bf6++;}return _0x109d91[_0x5dfbb(0x274)](_0x8738a8=>_0x8738a8()),_0x109d91=[],_0x334beb>0x0?this[_0x5dfbb(0x266)][_0x5dfbb(0x21c)]():_0x1b50ca||this[_0x5dfbb(0x266)][_0x5dfbb(0x1d7)](),this[_0x5dfbb(0x266)]['getAllRuntimeData']();}}class j extends c[_0x425e65(0x1de)]{constructor(){const _0x4d90dd=_0x425e65;super(...arguments),D(this,_0x4d90dd(0x18f),new Map()),D(this,_0x4d90dd(0x1d6),new E[(_0x4d90dd(0x26f))](!0x0));}['reset'](){const _0x5c8a0d=_0x425e65;this[_0x5c8a0d(0x27a)][_0x5c8a0d(0x1af)](),this[_0x5c8a0d(0x1fa)][_0x5c8a0d(0x1af)](),this['_formulaData']['clear'](),this[_0x5c8a0d(0x1d6)][_0x5c8a0d(0x1af)](),this['_allTreeMap'][_0x5c8a0d(0x1af)](),this[_0x5c8a0d(0x1c8)](),this[_0x5c8a0d(0x1fb)][_0x5c8a0d(0x1af)]();}['addOtherFormulaDependency'](_0x574a04,_0x29a1a0,_0x1c2c01,_0x59ab0c){const _0x1f63bf=_0x425e65;this['_otherFormulaData'][_0x1f63bf(0x20d)](_0x574a04)||this[_0x1f63bf(0x27a)]['set'](_0x574a04,new Map());const _0x1c7447=this[_0x1f63bf(0x27a)][_0x1f63bf(0x200)](_0x574a04);_0x1c7447[_0x1f63bf(0x20d)](_0x29a1a0)||_0x1c7447[_0x1f63bf(0x1e2)](_0x29a1a0,new Map());const _0x15141c=_0x1c7447[_0x1f63bf(0x200)](_0x29a1a0);_0x15141c[_0x1f63bf(0x20d)](_0x1c2c01)||_0x15141c[_0x1f63bf(0x1e2)](_0x1c2c01,new E['ObjectMatrix']()),_0x15141c['get'](_0x1c2c01)['setValue'](_0x59ab0c[_0x1f63bf(0x25f)],_0x59ab0c['refOffsetY'],_0x59ab0c[_0x1f63bf(0x23c)]);}[_0x425e65(0x229)](_0x186f72,_0x306f5b,_0x5558e8){const _0x6edea2=_0x425e65,_0x114b9e=this[_0x6edea2(0x27a)]['get'](_0x186f72);if(_0x114b9e&&_0x114b9e['has'](_0x306f5b)){const _0x58f716=_0x114b9e[_0x6edea2(0x200)](_0x306f5b);_0x5558e8[_0x6edea2(0x274)](_0x4079ae=>{const _0x271e16=_0x6edea2,_0x2582a6=_0x58f716['get'](_0x4079ae);_0x2582a6!=null&&(_0x2582a6[_0x271e16(0x185)]((_0x2623f0,_0x5704e5,_0x132f2d)=>{const _0x6ae8c9=_0x271e16;this[_0x6ae8c9(0x184)](_0x132f2d),this['_removeAllTreeMap'](_0x132f2d);}),_0x58f716[_0x271e16(0x193)](_0x4079ae),this[_0x271e16(0x1fb)][_0x271e16(0x193)](_0x4079ae));}),_0x58f716[_0x6edea2(0x1f7)]===0x0&&_0x114b9e[_0x6edea2(0x193)](_0x306f5b),_0x114b9e['size']===0x0&&this[_0x6edea2(0x27a)][_0x6edea2(0x193)](_0x186f72);}}[_0x425e65(0x1df)](_0x2c8dbb,_0x32f78a){const _0x18cbd4=_0x425e65,_0x4fc3b3=this[_0x18cbd4(0x27a)][_0x18cbd4(0x200)](_0x2c8dbb);if(_0x32f78a&&_0x4fc3b3&&_0x4fc3b3[_0x18cbd4(0x20d)](_0x32f78a)){const _0x123720=_0x4fc3b3['get'](_0x32f78a);this[_0x18cbd4(0x1b2)](_0x2c8dbb,_0x32f78a);for(const _0x4833ba of _0x123720[_0x18cbd4(0x22b)]()){const _0x3dfe63=_0x123720[_0x18cbd4(0x200)](_0x4833ba);_0x3dfe63!=null&&(_0x3dfe63['forValue']((_0x4c8bb3,_0x13aaa3,_0x3c1ecf)=>{const _0x5b4a9f=_0x18cbd4;this['_allTreeMap'][_0x5b4a9f(0x200)](_0x3c1ecf)&&this[_0x5b4a9f(0x197)](_0x3c1ecf);}),this['_otherFormulaDataMainData'][_0x18cbd4(0x193)](_0x4833ba));}_0x123720['clear']();}else{if(_0x4fc3b3){for(const _0x57fc0a of _0x4fc3b3[_0x18cbd4(0x22b)]()){const _0x2fec39=_0x4fc3b3[_0x18cbd4(0x200)](_0x57fc0a);this[_0x18cbd4(0x1b2)](_0x2c8dbb,_0x57fc0a);for(const _0x506413 of _0x2fec39[_0x18cbd4(0x22b)]()){const _0x29122c=_0x2fec39[_0x18cbd4(0x200)](_0x506413);_0x29122c!=null&&(_0x29122c[_0x18cbd4(0x185)]((_0x592421,_0x4a4d20,_0x4b070f)=>{const _0x53f7cc=_0x18cbd4;this[_0x53f7cc(0x18f)][_0x53f7cc(0x200)](_0x4b070f)&&this[_0x53f7cc(0x197)](_0x4b070f);}),this[_0x18cbd4(0x1fb)][_0x18cbd4(0x193)](_0x506413));}}this['_otherFormulaData'][_0x18cbd4(0x193)](_0x2c8dbb);}}}[_0x425e65(0x227)](_0x4e2a17,_0x3981bd,_0x568458,_0x562aed){const _0x24b3c1=_0x425e65;this[_0x24b3c1(0x1fa)][_0x24b3c1(0x20d)](_0x4e2a17)||this[_0x24b3c1(0x1fa)][_0x24b3c1(0x1e2)](_0x4e2a17,new Map());const _0x4ae6fc=this[_0x24b3c1(0x1fa)][_0x24b3c1(0x200)](_0x4e2a17);_0x4ae6fc[_0x24b3c1(0x20d)](_0x3981bd)||_0x4ae6fc['set'](_0x3981bd,new Map()),_0x4ae6fc[_0x24b3c1(0x200)](_0x3981bd)[_0x24b3c1(0x1e2)](_0x568458,_0x562aed[_0x24b3c1(0x23c)]);}[_0x425e65(0x1f2)](_0x1b5fd8,_0x65597e,_0x3c2d57){const _0x2ca303=_0x425e65,_0x50e53f=this[_0x2ca303(0x1fa)][_0x2ca303(0x200)](_0x1b5fd8);if(_0x50e53f&&_0x50e53f[_0x2ca303(0x20d)](_0x65597e)){const _0x1d7f56=_0x50e53f[_0x2ca303(0x200)](_0x65597e);_0x3c2d57['forEach'](_0x4b1ce2=>{const _0x53c6ae=_0x2ca303,_0x490d9d=_0x1d7f56[_0x53c6ae(0x200)](_0x4b1ce2);_0x490d9d!=null&&(this[_0x53c6ae(0x184)](_0x490d9d),_0x1d7f56[_0x53c6ae(0x193)](_0x4b1ce2),this[_0x53c6ae(0x197)](_0x490d9d));});}}[_0x425e65(0x1cd)](_0x5b09bc,_0x4e6930){const _0x5dcfbf=_0x425e65,_0x5810e9=this['_featureFormulaData'][_0x5dcfbf(0x200)](_0x5b09bc);if(_0x4e6930&&_0x5810e9&&_0x5810e9[_0x5dcfbf(0x20d)](_0x4e6930)){const _0x1c3a74=_0x5810e9['get'](_0x4e6930);this[_0x5dcfbf(0x1b2)](_0x5b09bc,_0x4e6930),_0x1c3a74[_0x5dcfbf(0x274)](_0x3aaec0=>{const _0x38a56a=_0x5dcfbf;_0x3aaec0!=null&&this[_0x38a56a(0x197)](_0x3aaec0);}),_0x1c3a74[_0x5dcfbf(0x1af)]();}else _0x5810e9&&(_0x5810e9[_0x5dcfbf(0x274)]((_0x319869,_0x1ad43e)=>{this['_removeDependencyRTreeCacheById'](_0x5b09bc,_0x1ad43e),_0x319869['forEach'](_0x5ca115=>{const _0x1c57d2=_0x35d3;_0x5ca115!=null&&this[_0x1c57d2(0x197)](_0x5ca115);});}),this['_featureFormulaData'][_0x5dcfbf(0x193)](_0x5b09bc));}[_0x425e65(0x196)](_0x48b82f,_0x4afe11,_0x4947cc,_0x14f181,_0x3b41f3){const _0x31027f=_0x425e65;this[_0x31027f(0x25e)]['has'](_0x48b82f)||this[_0x31027f(0x25e)][_0x31027f(0x1e2)](_0x48b82f,new Map());const _0x5efa31=this['_formulaData']['get'](_0x48b82f);_0x5efa31[_0x31027f(0x20d)](_0x4afe11)||_0x5efa31[_0x31027f(0x1e2)](_0x4afe11,new E[(_0x31027f(0x1c1))]()),_0x5efa31[_0x31027f(0x200)](_0x4afe11)[_0x31027f(0x1e5)](_0x4947cc,_0x14f181,_0x3b41f3[_0x31027f(0x23c)]);}['removeFormulaDependency'](_0x5272b4,_0x2eb1a5,_0x380006,_0x5d875c){const _0x3cdea1=_0x425e65,_0x3456bc=this[_0x3cdea1(0x25e)][_0x3cdea1(0x200)](_0x5272b4);if(_0x3456bc&&_0x3456bc[_0x3cdea1(0x20d)](_0x2eb1a5)){const _0x102012=_0x3456bc['get'](_0x2eb1a5),_0x1c6514=_0x102012['getValue'](_0x380006,_0x5d875c);if(_0x1c6514==null)return;this[_0x3cdea1(0x184)](_0x1c6514),_0x102012[_0x3cdea1(0x1ce)](_0x380006,_0x5d875c),this['_removeAllTreeMap'](_0x1c6514);}}[_0x425e65(0x199)](_0x1e612d,_0x1ed55a){const _0xf60d49=_0x425e65,_0x29c8d5=this[_0xf60d49(0x25e)]['get'](_0x1e612d);if(_0x1ed55a&&_0x29c8d5&&_0x29c8d5['has'](_0x1ed55a)){const _0x379e94=_0x29c8d5[_0xf60d49(0x200)](_0x1ed55a);this[_0xf60d49(0x1b2)](_0x1e612d,_0x1ed55a),_0x379e94[_0xf60d49(0x185)]((_0x370236,_0x79ef2b,_0x5c7c33)=>{const _0x16c451=_0xf60d49;if(_0x5c7c33==null)return!0x0;this[_0x16c451(0x197)](_0x5c7c33);}),_0x379e94[_0xf60d49(0x187)]();}else _0x29c8d5&&(_0x29c8d5[_0xf60d49(0x274)]((_0x30aa7f,_0x515c7d)=>{const _0x39ebeb=_0xf60d49;this[_0x39ebeb(0x1b2)](_0x1e612d,_0x515c7d),_0x30aa7f['forValue']((_0x193f59,_0x6ba087,_0x5324d7)=>{const _0x512d3d=_0x39ebeb;if(_0x5324d7==null)return!0x0;this[_0x512d3d(0x197)](_0x5324d7);});}),this[_0xf60d49(0x25e)][_0xf60d49(0x193)](_0x1e612d));}['_removeDependencyRTreeCache'](_0xc1007f){const _0x5a58b6=_0x425e65;if(_0xc1007f==null)return;const _0x25053d=this['_allTreeMap'][_0x5a58b6(0x200)](_0xc1007f);if(_0x25053d){const _0x2e5bd0=[];for(const [_0x12e737,_0x591035]of _0x25053d)for(const [_0x370700,_0x5604db]of _0x591035)_0x2e5bd0[_0x5a58b6(0x19b)]({'unitId':_0x12e737,'sheetId':_0x370700,'range':_0x5604db,'id':_0xc1007f});this[_0x5a58b6(0x1d6)][_0x5a58b6(0x242)](_0x2e5bd0);}}['removeFormulaDependencyByDefinedName'](_0x1f61d4,_0x31ae2d){const _0x5e2681=_0x425e65,_0x39ba38=this[_0x5e2681(0x1cf)][_0x5e2681(0x200)](_0x1f61d4);if(_0x39ba38){const _0x29babf=_0x39ba38[_0x5e2681(0x200)](_0x31ae2d);if(_0x29babf){for(const _0x3c03ea of _0x29babf)this[_0x5e2681(0x184)](_0x3c03ea),this[_0x5e2681(0x197)](_0x3c03ea);_0x29babf[_0x5e2681(0x1af)]();}}}[_0x425e65(0x21d)](){const _0x5b3a23=_0x425e65;this[_0x5b3a23(0x1d6)][_0x5b3a23(0x21d)]();}[_0x425e65(0x1a0)](){const _0x1e282a=_0x425e65;this[_0x1e282a(0x1d6)][_0x1e282a(0x1a0)]();}['_removeAllTreeMap'](_0x830f19){const _0x2b5854=_0x425e65;_0x830f19!=null&&this[_0x2b5854(0x18f)]['delete'](_0x830f19);}[_0x425e65(0x181)](_0x56e910){const _0xfb019f=_0x425e65;var _0x2e5586,_0x906c91;const _0x4f27b4=_0x56e910[_0xfb019f(0x1a1)];let _0x15349b=this[_0xfb019f(0x18f)][_0xfb019f(0x200)](_0x56e910[_0xfb019f(0x23c)]);for(let _0x3caefc=0x0;_0x3caefc<_0x4f27b4['length'];_0x3caefc++){const _0x43f4e6=_0x4f27b4[_0x3caefc];let {unitId:_0x1ad864,sheetId:_0x11ce19,range:_0x157178}=_0x43f4e6;_0x15349b||(_0x15349b=new Map(),this['_allTreeMap']['set'](_0x56e910[_0xfb019f(0x23c)],_0x15349b)),_0x15349b['has'](_0x1ad864)||_0x15349b[_0xfb019f(0x1e2)](_0x1ad864,new Map());const _0x78bcb8=(_0x2e5586=_0x15349b==null?void 0x0:_0x15349b[_0xfb019f(0x200)](_0x1ad864))==null?void 0x0:_0x2e5586[_0xfb019f(0x200)](_0x11ce19);_0x78bcb8&&(_0x157178={'startRow':Math[_0xfb019f(0x1b9)](_0x157178[_0xfb019f(0x191)],_0x78bcb8[_0xfb019f(0x191)]),'startColumn':Math['min'](_0x157178[_0xfb019f(0x1d5)],_0x78bcb8[_0xfb019f(0x1d5)]),'endRow':Math[_0xfb019f(0x1d3)](_0x157178[_0xfb019f(0x262)],_0x78bcb8['endRow']),'endColumn':Math[_0xfb019f(0x1d3)](_0x157178[_0xfb019f(0x232)],_0x78bcb8['endColumn'])}),(_0x906c91=_0x15349b[_0xfb019f(0x200)](_0x1ad864))==null||_0x906c91[_0xfb019f(0x1e2)](_0x11ce19,_0x157178);}}}var $=Object[_0x425e65(0x213)],W=(_0x3c9510,_0x48c22b,_0x484fc6,_0x57d621)=>{const _0x48d66c=_0x425e65;for(var _0x397b6a=_0x57d621>0x1?void 0x0:_0x57d621?$(_0x48c22b,_0x484fc6):_0x48c22b,_0x9322bd=_0x3c9510[_0x48d66c(0x1dd)]-0x1,_0x199bf8;_0x9322bd>=0x0;_0x9322bd--)(_0x199bf8=_0x3c9510[_0x9322bd])&&(_0x397b6a=_0x199bf8(_0x397b6a)||_0x397b6a);return _0x397b6a;};const q=Number[_0x425e65(0x23b)](0x694fb5cc);exports[_0x425e65(0x1e7)]=class extends c[_0x425e65(0x1b8)]{[_0x425e65(0x1a6)](){const _0x572f1b=_0x425e65;var _0x5b6b20,_0x4e9b61;this[_0x572f1b(0x243)]()?(this[_0x572f1b(0x1d4)][_0x572f1b(0x272)]([c[_0x572f1b(0x21e)],{'useClass':A}]),(_0x5b6b20=this[_0x572f1b(0x246)])!=null&&_0x5b6b20[_0x572f1b(0x278)]||[[c[_0x572f1b(0x1f8)],{'useClass':X}],[c[_0x572f1b(0x25a)],{'useClass':j}],[c[_0x572f1b(0x18d)],{'useClass':V}]]['forEach'](_0x58aa61=>this[_0x572f1b(0x1d4)]['add'](_0x58aa61))):(this[_0x572f1b(0x1d4)][_0x572f1b(0x272)]([c[_0x572f1b(0x21e)],{'useClass':c['LexerTreeBuilder']}]),(_0x4e9b61=this['_config'])!=null&&_0x4e9b61[_0x572f1b(0x278)]||[[c[_0x572f1b(0x1f8)],{'useClass':c['CalculateFormulaService']}],[c['IDependencyManagerService'],{'useClass':c['DependencyManagerService']}],[c[_0x572f1b(0x18d)],{'useClass':c[_0x572f1b(0x275)]}]][_0x572f1b(0x274)](_0x49d43b=>this[_0x572f1b(0x1d4)]['add'](_0x49d43b)));}[_0x425e65(0x243)](){const _0x310ced=_0x425e65;var _0x431343;const _0x52bef5=(_0x431343=this[_0x310ced(0x1f9)][_0x310ced(0x1da)](b[_0x310ced(0x219)]))!=null?_0x431343:{},{ls:_0xbcf388,pbk:_0xb2695d}=_0x52bef5;if(!_0xbcf388||!_0xb2695d)return!0x1;const _0x1e7af8=b[_0x310ced(0x1d9)](K,k),_0x423cc9=new Function(_0x310ced(0x22f)+_0x1e7af8)()(_0xbcf388,_0xb2695d),_0x3a64b4=_0x423cc9[_0x310ced(0x215)];return _0x423cc9[_0x310ced(0x1c2)]&&b[_0x310ced(0x1ac)](_0x3a64b4,'sf',q)?b[_0x310ced(0x247)](_0x3a64b4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x425e65(0x1e7)]=W([E[_0x425e65(0x20f)](b[_0x425e65(0x1a2)])],exports[_0x425e65(0x1e7)]),exports[_0x425e65(0x1bc)]=A,Object[_0x425e65(0x22b)](c)[_0x425e65(0x274)](_0x10c623=>{const _0x50e039=_0x425e65;_0x10c623!==_0x50e039(0x212)&&!Object[_0x50e039(0x1ff)]['hasOwnProperty'][_0x50e039(0x211)](exports,_0x10c623)&&Object[_0x50e039(0x258)](exports,_0x10c623,{'enumerable':!0x0,'get':()=>c[_0x10c623]});});
1
+ 'use strict';const _0x10514c=_0x2644;(function(_0x4de8c7,_0x5e034a){const _0x2ab0eb=_0x2644,_0x2cc766=_0x4de8c7();while(!![]){try{const _0x38a21e=parseInt(_0x2ab0eb(0x20d))/0x1+parseInt(_0x2ab0eb(0x1a7))/0x2+-parseInt(_0x2ab0eb(0x149))/0x3+parseInt(_0x2ab0eb(0x157))/0x4+parseInt(_0x2ab0eb(0x16e))/0x5+-parseInt(_0x2ab0eb(0x209))/0x6*(-parseInt(_0x2ab0eb(0x1a1))/0x7)+parseInt(_0x2ab0eb(0x20a))/0x8*(-parseInt(_0x2ab0eb(0x1ef))/0x9);if(_0x38a21e===_0x5e034a)break;else _0x2cc766['push'](_0x2cc766['shift']());}catch(_0x5839f8){_0x2cc766['push'](_0x2cc766['shift']());}}}(_0x5cea,0x2b7a2));var Y=Object['defineProperty'],H=(_0x1e3773,_0x2532df,_0x4a7fe4)=>_0x2532df in _0x1e3773?Y(_0x1e3773,_0x2532df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a7fe4}):_0x1e3773[_0x2532df]=_0x4a7fe4,A=(_0xa47d8,_0x17f5a7,_0xa43452)=>H(_0xa47d8,typeof _0x17f5a7!=_0x10514c(0x217)?_0x17f5a7+'':_0x17f5a7,_0xa43452);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x10514c(0x241)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),S=require('@univerjs/core');class w extends a['LexerTreeBuilder']{constructor(){const _0x585c5d=_0x10514c;super(...arguments),A(this,'_hasNewExcelFunction',!0x1),A(this,_0x585c5d(0x1e0),new Set()),A(this,_0x585c5d(0x17f),_0x585c5d(0x1de)),A(this,_0x585c5d(0x1c0),_0x585c5d(0x192)),A(this,_0x585c5d(0x1cd),'');}[_0x10514c(0x1bf)](){this['_xlpmPrefix']='_xlpm.',this['_xlfnPrefix']='_xlfn.';}[_0x10514c(0x1e8)](){const _0x1b8e94=_0x10514c;this[_0x1b8e94(0x17f)]='',this[_0x1b8e94(0x1c0)]='';}[_0x10514c(0x154)](_0x1bb391,_0x50ae73){const _0x1645cf=_0x10514c,_0x22742d=this[_0x1645cf(0x161)](_0x1bb391,!0x1);if(!_0x22742d||_0x22742d===a[_0x1645cf(0x1ec)]['VALUE']||Array['isArray'](_0x22742d))return null;const _0xf38015=[];return this['_hasNewExcelFunction']=!0x1,this[_0x1645cf(0x1e2)](_0x22742d,_0xf38015,_0x50ae73),this[_0x1645cf(0x186)]?'='+_0xf38015[_0x1645cf(0x1b4)](''):null;}['_generateNewFunctionString'](_0x355554,_0x128845,_0x58f11a){const _0x39f4ab=_0x10514c,_0x152f34=_0x355554['getToken'](),_0x13059c=_0x152f34[_0x39f4ab(0x1aa)](),_0x3b92c7=_0x13059c[_0x39f4ab(0x195)](),_0x5634b3=this[_0x39f4ab(0x1a9)](_0x3b92c7),_0x381e2a=_0x58f11a(_0x5634b3);let _0x26842b=0x0;_0x152f34===a[_0x39f4ab(0x21f)]?_0x26842b=0x3:_0x152f34===a[_0x39f4ab(0x1c4)]?_0x26842b=0x4:_0x152f34===a[_0x39f4ab(0x201)]?_0x26842b=0x5:a[_0x39f4ab(0x173)][_0x39f4ab(0x1ac)](_0x5634b3)?(_0x128845[_0x39f4ab(0x1a8)](''+this[_0x39f4ab(0x1c0)]+_0x13059c),this['_hasNewExcelFunction']=!0x0):_0x3b92c7===a[_0x39f4ab(0x159)]?(_0x128845[_0x39f4ab(0x1a8)](''+this[_0x39f4ab(0x1c0)]+_0x13059c),this['_hasNewExcelFunction']=!0x0,_0x26842b=0x2):_0x3b92c7===a[_0x39f4ab(0x230)]?(_0x128845[_0x39f4ab(0x1a8)](''+this[_0x39f4ab(0x1c0)]+_0x13059c),this[_0x39f4ab(0x186)]=!0x0,_0x26842b=0x1):_0x3b92c7===a['matchToken'][_0x39f4ab(0x20c)]?_0x26842b=0x8:a['SUFFIX_TOKEN_SET']['has'](_0x3b92c7)?_0x26842b=0x7:_0x3b92c7===a[_0x39f4ab(0x187)][_0x39f4ab(0x199)]?(this['_checkAddBracketForMinus'](_0x355554)&&(_0x26842b=0x9),_0x128845['push'](_0x152f34)):(_0x128845[_0x39f4ab(0x1a8)](_0x152f34),_0x26842b=0xa),_0x381e2a?(_0x26842b!==0x2&&_0x26842b!==0x1&&(_0x26842b=0x6),_0x128845[_0x39f4ab(0x1a8)]('(')):_0x26842b===0x9&&_0x128845[_0x39f4ab(0x1a8)]('(');const _0x30ab28=_0x355554[_0x39f4ab(0x19e)](),_0x3ec723=_0x30ab28[_0x39f4ab(0x175)];if(_0x26842b===0x2){const _0xd9c453=_0x30ab28[0x0];let _0x35b32b=0x0;_0xd9c453 instanceof a[_0x39f4ab(0x18f)]&&_0xd9c453[_0x39f4ab(0x165)]()===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']&&(_0x35b32b=0x1);for(let _0x1d9d6a=_0x35b32b;_0x1d9d6a<_0x3ec723-0x1;_0x1d9d6a++){const _0x3f9b10=_0x30ab28[_0x1d9d6a];if(_0x3f9b10 instanceof a[_0x39f4ab(0x18f)]){const _0x1186f2=_0x3f9b10['getChildren']()[0x0];typeof _0x1186f2==_0x39f4ab(0x1ed)&&(this[_0x39f4ab(0x1e0)][_0x39f4ab(0x1ac)](_0x1186f2)&&console[_0x39f4ab(0x1f3)](_0x39f4ab(0x22a)+_0x1186f2+_0x39f4ab(0x184)),this[_0x39f4ab(0x1e0)][_0x39f4ab(0x18e)](_0x1186f2),_0x128845['push'](''+this[_0x39f4ab(0x17f)]+_0x1186f2),this[_0x39f4ab(0x186)]=!0x0);}_0x128845['push'](',');}this[_0x39f4ab(0x240)](_0x30ab28[_0x3ec723-0x1],_0x128845,_0x58f11a),_0x35b32b===0x1&&(_0x128845[_0x39f4ab(0x1a8)](')'),_0x128845[_0x39f4ab(0x1a8)]('('),this[_0x39f4ab(0x1e2)](_0xd9c453,_0x128845,_0x58f11a)),_0x128845[_0x39f4ab(0x1a8)](')');return;}else{if(_0x26842b===0x1){for(let _0x24688d=0x0;_0x24688d<_0x3ec723-0x1;_0x24688d++){const _0x19017a=_0x30ab28[_0x24688d];if(_0x19017a instanceof a[_0x39f4ab(0x18f)]&&_0x24688d%0x2===0x0){const _0x12194b=_0x19017a[_0x39f4ab(0x19e)]()[0x0];if(typeof _0x12194b==_0x39f4ab(0x1ed)){this['_lambdaFunctionParameterSet'][_0x39f4ab(0x1ac)](_0x12194b)&&console[_0x39f4ab(0x1f3)](_0x39f4ab(0x1e3)+_0x12194b+_0x39f4ab(0x184)),this['_lambdaFunctionParameterSet'][_0x39f4ab(0x18e)](_0x12194b),_0x128845['push'](''+this[_0x39f4ab(0x17f)]+_0x12194b),this['_hasNewExcelFunction']=!0x0,_0x128845[_0x39f4ab(0x1a8)](',');continue;}}if(this['_handleNewFunctionChild'](_0x19017a,_0x128845,_0x58f11a),_0x19017a instanceof a[_0x39f4ab(0x18f)]){const _0x5df074=_0x30ab28[_0x24688d+0x1];_0x5df074&&_0x5df074 instanceof a[_0x39f4ab(0x18f)]&&_0x128845[_0x39f4ab(0x1a8)](',');}}this['_handleNewFunctionChild'](_0x30ab28[_0x3ec723-0x1],_0x128845,_0x58f11a),_0x128845[_0x39f4ab(0x1a8)](')');return;}else{if(_0x26842b===0x8){const _0x4942bc=_0x30ab28[0x0],_0x5ac892=_0x30ab28[0x1];this[_0x39f4ab(0x240)](_0x4942bc,_0x128845,_0x58f11a),_0x128845[_0x39f4ab(0x1a8)](_0x152f34),this['_handleNewFunctionChild'](_0x5ac892,_0x128845,_0x58f11a);return;}}}for(let _0x4fb0e3=0x0;_0x4fb0e3<_0x3ec723;_0x4fb0e3++){const _0x4dd76b=_0x30ab28[_0x4fb0e3];if(this['_handleNewFunctionChild'](_0x4dd76b,_0x128845,_0x58f11a),_0x4dd76b instanceof a['LexerNode']){const _0x333bce=_0x30ab28[_0x4fb0e3+0x1];_0x333bce&&_0x333bce instanceof a[_0x39f4ab(0x18f)]&&_0x128845[_0x39f4ab(0x1a8)](',');}}_0x26842b===0x7&&_0x128845[_0x39f4ab(0x1a8)](_0x152f34),(_0x381e2a||_0x26842b===0x9)&&_0x128845['push'](')');}['_handleNewFunctionChild'](_0x102648,_0x42f4c0,_0x33f47c){const _0x274d6e=_0x10514c;_0x102648 instanceof a[_0x274d6e(0x18f)]?this[_0x274d6e(0x1e2)](_0x102648,_0x42f4c0,_0x33f47c):this[_0x274d6e(0x1e0)][_0x274d6e(0x1ac)](_0x102648)?(_0x42f4c0[_0x274d6e(0x1a8)](''+this['_xlpmPrefix']+_0x102648),this[_0x274d6e(0x186)]=!0x0):_0x42f4c0[_0x274d6e(0x1a8)](_0x102648);}['_clearFunctionString'](_0x39fe56){const _0x4653c3=_0x10514c;let _0x4394c5=_0x39fe56[_0x4653c3(0x1aa)]();if(!_0x4394c5)return _0x4394c5;const _0x15e706=_0x4394c5[0x0];if((_0x15e706===a[_0x4653c3(0x187)]['AT']||_0x15e706===a[_0x4653c3(0x187)][_0x4653c3(0x199)]||_0x15e706===a[_0x4653c3(0x187)]['PLUS'])&&(_0x4394c5=_0x4394c5[_0x4653c3(0x1b9)](0x1)),!_0x4394c5)return _0x4394c5;const _0x22c3c0=_0x4394c5[_0x4394c5['length']-0x1];return a['SUFFIX_TOKEN_SET'][_0x4653c3(0x1ac)](_0x22c3c0)&&(_0x4394c5=_0x4394c5[_0x4653c3(0x1b9)](0x0,-0x1)),_0x4394c5;}[_0x10514c(0x147)](_0x5d5c88){const _0x48bd9c=_0x10514c,_0x583404=_0x5d5c88[_0x48bd9c(0x19e)]()[0x0];if(!_0x583404||!(_0x583404 instanceof a[_0x48bd9c(0x18f)])||_0x5d5c88[_0x48bd9c(0x19e)]()[_0x48bd9c(0x175)]>0x1)return!0x1;const _0xf7bf26=_0x583404[_0x48bd9c(0x19e)](),_0x34f6fe=_0xf7bf26[_0x48bd9c(0x175)];if(_0x34f6fe===0x1)return!0x1;for(let _0xb12494=0x0;_0xb12494<_0x34f6fe;_0xb12494++){const _0x481ef3=_0xf7bf26[_0xb12494];if(!(_0x481ef3 instanceof a[_0x48bd9c(0x18f)])&&a['OPERATOR_TOKEN_SET'][_0x48bd9c(0x1ac)](_0x481ef3))return!0x0;}return!0x1;}[_0x10514c(0x237)](_0x1cc6f6,_0x2452d3,_0x58d4be,_0x29f6a4,_0x3898b8){const _0x104d12=_0x10514c,_0x5a389b=this[_0x104d12(0x161)](_0x1cc6f6,!0x1);if(!_0x5a389b||_0x5a389b===a['ErrorType'][_0x104d12(0x191)]||Array['isArray'](_0x5a389b))return null;this['_clearPrefix'](),this[_0x104d12(0x1cd)]=_0x2452d3;const _0x50b974=this['_generateExprTree'](_0x5a389b,_0x58d4be,_0x29f6a4,_0x3898b8);return this['_currentUnitId']='',this['_resetPrefix'](),_0x50b974;}[_0x10514c(0x1cc)](_0x3c5961,_0x1dfd7c,_0x261a7c,_0x1d6eb4){const _0x5c591a=_0x10514c,_0x1b8f9f={'value':'','children':[],'startIndex':0x0};let _0x424398=_0x3c5961;if(_0x424398 instanceof a['LexerNode']&&(_0x424398[_0x5c591a(0x165)]()===a[_0x5c591a(0x21f)]||_0x424398['getToken']()===a[_0x5c591a(0x1c4)])&&_0x424398['getChildren']()[_0x5c591a(0x175)]===0x1&&(_0x424398=_0x424398[_0x5c591a(0x19e)]()[0x0]),!(_0x424398 instanceof a[_0x5c591a(0x18f)]))return this[_0x5c591a(0x16f)](_0x424398,_0x261a7c,_0x1d6eb4);const _0x23dee5=_0x424398['getChildren'](),_0x5cbe8a=_0x23dee5['length'],_0x1069c4=[];this[_0x5c591a(0x1e2)](_0x424398,_0x1069c4,_0x1dfd7c),_0x1b8f9f['value']=_0x1069c4['join'](''),_0x1b8f9f[_0x5c591a(0x148)]=_0x424398['getStartIndex']();const _0x48299e=this['_getCurNodeTypeForExprTree'](_0x424398);if(_0x48299e===0x2){const _0x142f33=_0x23dee5[0x0];if(_0x142f33 instanceof a[_0x5c591a(0x18f)]){if(_0x142f33[_0x5c591a(0x165)]()['trim']()!==a[_0x5c591a(0x201)])return _0x1b8f9f;this[_0x5c591a(0x151)](_0x142f33,_0x1b8f9f,_0x1dfd7c,_0x261a7c,_0x1d6eb4);}return _0x1b8f9f;}else{if(_0x48299e===0x1){for(let _0x38041d=0x0;_0x38041d<_0x5cbe8a-0x1;_0x38041d++){const _0x23957f=_0x23dee5[_0x38041d];if(_0x23957f instanceof a[_0x5c591a(0x18f)]&&_0x38041d%0x2===0x1){const _0x2cd7e9=_0x23957f[_0x5c591a(0x19e)]();if(_0x2cd7e9['length']===0x1&&!(_0x2cd7e9[0x0]instanceof a[_0x5c591a(0x18f)]))continue;const _0x58b1f8=this['_generateExprTree'](_0x23957f,_0x1dfd7c,_0x261a7c,_0x1d6eb4);_0x58b1f8&&_0x1b8f9f['children']['push'](_0x58b1f8);}}return _0x1b8f9f;}else{if(_0x48299e===0x8){const _0x6ca2b4=_0x23dee5[0x0];if(_0x6ca2b4 instanceof a[_0x5c591a(0x18f)]){const _0xdb5f=_0x6ca2b4[_0x5c591a(0x19e)]()[0x0];_0xdb5f instanceof a[_0x5c591a(0x18f)]&&(_0x1b8f9f[_0x5c591a(0x148)]=_0xdb5f[_0x5c591a(0x1bc)]());}if(this[_0x5c591a(0x200)](_0x424398))return _0x1b8f9f;}else{if(_0x48299e===0x7){const _0x28c0c5=_0x23dee5[0x0];if(_0x28c0c5 instanceof a[_0x5c591a(0x18f)]){const _0x323b26=_0x28c0c5[_0x5c591a(0x19e)]()[0x0];_0x323b26 instanceof a[_0x5c591a(0x18f)]&&(_0x1b8f9f[_0x5c591a(0x148)]=_0x323b26[_0x5c591a(0x1bc)]());}}}}}return this[_0x5c591a(0x210)](_0x23dee5,_0x48299e,_0x1b8f9f,_0x1dfd7c,_0x261a7c,_0x1d6eb4),_0x1b8f9f;}[_0x10514c(0x210)](_0x55e362,_0x10f37d,_0x2b3447,_0x4cf17b,_0x182ae5,_0x314d2c){const _0x30d041=_0x10514c;for(let _0x280f7c=0x0;_0x280f7c<_0x55e362[_0x30d041(0x175)];_0x280f7c++){let _0x523a7e=_0x55e362[_0x280f7c];if(!(_0x523a7e instanceof a[_0x30d041(0x18f)])){const _0x44d12c=this['_handleTextNodeForExprTree'](_0x523a7e,_0x182ae5,_0x314d2c);_0x44d12c&&_0x2b3447[_0x30d041(0x206)][_0x30d041(0x1a8)](_0x44d12c);continue;}const _0xe123d=_0x523a7e['getChildren']();if(_0xe123d[_0x30d041(0x175)]===0x1&&!(_0xe123d[0x0]instanceof a[_0x30d041(0x18f)])){const _0x39783f=_0xe123d[0x0];if(!_0x182ae5(this[_0x30d041(0x1cd)],_0x39783f)&&!this[_0x30d041(0x221)](_0x39783f,_0x314d2c)&&!a['isReferenceString'](_0x39783f))continue;}if(_0x10f37d===0x8){const _0x5630c8=_0xe123d[0x0];if(_0x5630c8 instanceof a[_0x30d041(0x18f)]){const _0xf6c23c=_0x5630c8[_0x30d041(0x165)]()[_0x30d041(0x1aa)]();if(a[_0x30d041(0x1b6)](_0xf6c23c))continue;_0x523a7e=_0x5630c8;}}const _0x2f3b5d=this['_generateExprTree'](_0x523a7e,_0x4cf17b,_0x182ae5,_0x314d2c);_0x2f3b5d&&_0x2b3447[_0x30d041(0x206)][_0x30d041(0x1a8)](_0x2f3b5d);}}[_0x10514c(0x200)](_0x231e17){const _0x495ecd=_0x10514c,_0x160b9c=_0x231e17[_0x495ecd(0x19e)]();if(_0x160b9c[_0x495ecd(0x175)]<0x2)return!0x1;const _0x22a87c=_0x160b9c[0x0],_0x5a1e2c=_0x160b9c[0x1];if(!(_0x22a87c instanceof a[_0x495ecd(0x18f)])||!(_0x5a1e2c instanceof a[_0x495ecd(0x18f)]))return!0x1;const _0x103508=_0x22a87c[_0x495ecd(0x19e)]()[0x0],_0x2a19da=_0x5a1e2c[_0x495ecd(0x19e)]()[0x0];if(!(_0x103508 instanceof a['LexerNode'])||!(_0x2a19da instanceof a[_0x495ecd(0x18f)]))return!0x1;const _0x3deb67=_0x103508[_0x495ecd(0x165)]()[_0x495ecd(0x1aa)](),_0x11a76f=_0x2a19da[_0x495ecd(0x165)]()['trim']();return!!a[_0x495ecd(0x1b6)](''+_0x3deb67+a[_0x495ecd(0x23e)][_0x495ecd(0x20c)]+_0x11a76f);}[_0x10514c(0x16f)](_0x511c3b,_0x21def1,_0x24b6f6){const _0x4fbdf1=_0x10514c,_0x2c7e8b=_0x511c3b['trim']();return _0x2c7e8b[_0x4fbdf1(0x218)]('{')&&_0x2c7e8b[_0x4fbdf1(0x162)]('}')||_0x21def1(this['_currentUnitId'],_0x2c7e8b)||this[_0x4fbdf1(0x221)](_0x2c7e8b,_0x24b6f6)||a['isReferenceString'](_0x2c7e8b)?{'value':_0x2c7e8b,'children':[],'startIndex':-0x1}:null;}[_0x10514c(0x221)](_0x2e19b3,_0x2f9a7e){const _0x9823fd=_0x10514c,{tableName:_0x2c34bd}=a[_0x9823fd(0x15b)](_0x2e19b3);return _0x2f9a7e(this[_0x9823fd(0x1cd)],_0x2c34bd)?_0x2c34bd:null;}[_0x10514c(0x151)](_0x2b523a,_0x25680e,_0x362f7b,_0x3c4661,_0x2ec156){const _0x2cc710=_0x10514c,_0x7822b=_0x2b523a['getChildren']();for(let _0x151519=0x0;_0x151519<_0x7822b[_0x2cc710(0x175)];_0x151519++){const _0x2b694f=_0x7822b[_0x151519];if(!(_0x2b694f instanceof a[_0x2cc710(0x18f)]))continue;const _0x50a0ad=_0x2b694f[_0x2cc710(0x19e)]();if(_0x50a0ad[_0x2cc710(0x175)]===0x1&&!(_0x50a0ad[0x0]instanceof a[_0x2cc710(0x18f)]))continue;const _0x4f1997=this['_generateExprTree'](_0x2b694f,_0x362f7b,_0x3c4661,_0x2ec156);_0x4f1997&&_0x25680e[_0x2cc710(0x206)][_0x2cc710(0x1a8)](_0x4f1997);}}[_0x10514c(0x21d)](_0xdf44cc){const _0x3eeaf0=_0x10514c,_0x16d3c4=_0xdf44cc['getToken'](),_0x188e0f=_0x16d3c4[_0x3eeaf0(0x1aa)]()[_0x3eeaf0(0x195)]();let _0xc01dd4=0x0;return _0x16d3c4===a[_0x3eeaf0(0x21f)]?_0xc01dd4=0x3:_0x16d3c4===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0xc01dd4=0x4:_0x16d3c4===a[_0x3eeaf0(0x201)]?_0xc01dd4=0x5:_0x188e0f===a[_0x3eeaf0(0x159)]?_0xc01dd4=0x2:_0x188e0f===a[_0x3eeaf0(0x230)]?_0xc01dd4=0x1:_0x188e0f===a[_0x3eeaf0(0x23e)][_0x3eeaf0(0x20c)]?_0xc01dd4=0x8:a['SUFFIX_TOKEN_SET'][_0x3eeaf0(0x1ac)](_0x188e0f)?_0xc01dd4=0x7:_0x188e0f===a[_0x3eeaf0(0x187)][_0x3eeaf0(0x199)]?this[_0x3eeaf0(0x147)](_0xdf44cc)&&(_0xc01dd4=0x9):_0xc01dd4=0xa,_0xc01dd4;}}function _0x2644(_0x281fcf,_0x49b9b6){_0x281fcf=_0x281fcf-0x147;const _0x5cea60=_0x5cea();let _0x26443a=_0x5cea60[_0x281fcf];return _0x26443a;}const b={0x0:'I',0x1:'V',0x2:'o',0x3:'6',0x4:'w',0x5:'m',0x6:'1',0x7:'q',0x8:'M',0x9:'2','p':'0','J':'3','U':'4','E':'5','Z':'7','C':'8','X':'9','l':'a','F':'b','L':'c','S':'d','u':'e','w':'f','Y':'g','c':'h','A':'i','d':'j','b':'k','H':'l','t':'n','g':'p','Q':'r','r':'s','x':'t','s':'u','m':'v','j':'x','W':'y','N':'z','R':'A','O':'B','a':'C','o':'D','f':'E','V':'F','i':'G','k':'H','q':'J','z':'K','T':'L','e':'N','K':'O','M':'P','I':'Q','P':'R','y':'S','h':'T','v':'U','n':'W','G':'X','B':'Y','D':'Z'},B=_0x10514c(0x23a);class K extends a[_0x10514c(0x1ca)]{constructor(){super(...arguments),A(this,'_dependencyTreeCache',new Map());}[_0x10514c(0x1d9)](){const _0x21869e=_0x10514c;super['dispose'](),this[_0x21869e(0x207)][_0x21869e(0x1cf)]();}async['generate'](_0x5374b4=!0x1){const _0x26ef52=_0x10514c;this[_0x26ef52(0x202)]();const _0x246d57=this[_0x26ef52(0x14f)][_0x26ef52(0x1b1)](),_0x15bbc6=this[_0x26ef52(0x208)]['getOtherFormulaData'](),_0x16225f=this[_0x26ef52(0x14f)][_0x26ef52(0x22e)]();_0x16225f!=null&&Object[_0x26ef52(0x1c2)](_0x16225f)[_0x26ef52(0x23b)](_0x38cd6a=>{const _0x5d5350=_0x26ef52;_0x38cd6a!=null&&Object[_0x5d5350(0x1c2)](_0x16225f[_0x38cd6a])[_0x5d5350(0x23b)](_0x13fa09=>{const _0x3d1450=_0x5d5350;_0x13fa09!=null&&(this['_dependencyManagerService'][_0x3d1450(0x1e1)](_0x38cd6a,_0x13fa09),this[_0x3d1450(0x1f6)][_0x3d1450(0x188)](_0x38cd6a,_0x13fa09),this[_0x3d1450(0x1f6)]['clearFormulaDependency'](_0x38cd6a,_0x13fa09));});});const _0xfb9b5e=this[_0x26ef52(0x14f)][_0x26ef52(0x1fb)]();await this['_generateTreeList'](_0x246d57,_0x15bbc6,_0xfb9b5e),this['_dependencyManagerService'][_0x26ef52(0x17a)]();const _0x32c1e9=this[_0x26ef52(0x1be)](),_0x2bc941=this[_0x26ef52(0x1a3)](_0x32c1e9);return this[_0x26ef52(0x1d3)](_0x2bc941)&&this[_0x26ef52(0x1dd)]['enableCycleDependency'](),_0x5374b4&&this[_0x26ef52(0x1dd)][_0x26ef52(0x216)](this['_getAllDependencyJson'](Array[_0x26ef52(0x1af)](this['_dependencyTreeCache'][_0x26ef52(0x1c8)]()))),this[_0x26ef52(0x207)][_0x26ef52(0x1cf)](),this['_dependencyRTreeCacheForAddressFunction'][_0x26ef52(0x1cf)](),this[_0x26ef52(0x1f6)]['closeKdTree'](),this[_0x26ef52(0x1dd)][_0x26ef52(0x1f8)](),Promise['resolve'](_0x2bc941);}['_isCyclicUtilMap'](_0x135fa2,_0x279fdd){const _0x15d9c5=_0x10514c,_0xed9d51=[_0x135fa2];for(;_0xed9d51[_0x15d9c5(0x175)]>0x0;){const _0x5e6f4d=_0xed9d51[_0xed9d51[_0x15d9c5(0x175)]-0x1];if((_0x279fdd['get'](_0x5e6f4d)||0x0)===0x0){_0x279fdd[_0x15d9c5(0x156)](_0x5e6f4d,0x1);const _0x30b665=this[_0x15d9c5(0x207)][_0x15d9c5(0x198)](_0x5e6f4d);if(_0x30b665==null){_0x279fdd[_0x15d9c5(0x156)](_0x5e6f4d,0x2),_0xed9d51[_0x15d9c5(0x1b3)]();continue;}const _0x22cc01=this[_0x15d9c5(0x1f6)][_0x15d9c5(0x16d)](_0x30b665[_0x15d9c5(0x168)]());for(const _0x13adff of _0x22cc01){const _0x3ee0f4=_0x279fdd[_0x15d9c5(0x198)](_0x13adff)||0x0;if(_0x3ee0f4===0x1)return!0x0;_0x3ee0f4===0x0&&_0xed9d51[_0x15d9c5(0x1a8)](_0x13adff);}}else _0x279fdd[_0x15d9c5(0x156)](_0x5e6f4d,0x2),_0xed9d51[_0x15d9c5(0x1b3)]();}return!0x1;}[_0x10514c(0x1d3)](_0x5c08b6){const _0x586695=_0x10514c,_0x234e2e=new Map();for(const _0x3f999b of _0x5c08b6)if(!_0x234e2e[_0x586695(0x1ac)](_0x3f999b[_0x586695(0x212)])&&this[_0x586695(0x172)](_0x3f999b[_0x586695(0x212)],_0x234e2e))return!0x0;return _0x234e2e[_0x586695(0x1cf)](),!0x1;}[_0x10514c(0x1f4)](_0x21861b,_0x41a7e0,_0x1f20ff){const _0x482985=_0x10514c,{unitId:_0x544a22,subUnitId:_0x525755,dependencyRanges:_0x1982e6,getDirtyData:_0x396d19}=_0x1f20ff,_0x1a3548=_0x41a7e0||a[_0x482985(0x23d)](this['_dependencyManagerService']),_0x25283c=new a[(_0x482985(0x1df))](_0x1a3548);_0x25283c['unitId']=_0x544a22,_0x25283c[_0x482985(0x1d2)]=_0x525755,_0x25283c[_0x482985(0x1a4)]=_0x1982e6,_0x25283c[_0x482985(0x1b5)]=_0x396d19;const _0x180c00=_0x396d19(this[_0x482985(0x14f)][_0x482985(0x1b5)](),this[_0x482985(0x1dd)][_0x482985(0x1f1)]()),_0x2e26e7=this[_0x482985(0x17e)](_0x180c00['dirtyRanges']);return _0x25283c[_0x482985(0x181)]=_0x2e26e7,_0x25283c[_0x482985(0x23f)]=_0x21861b,_0x25283c[_0x482985(0x1da)]=a['FormulaDependencyTreeType']['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x482985(0x15a)](_0x544a22,_0x525755,_0x21861b,_0x25283c),this['_dependencyTreeCache']['set'](_0x25283c[_0x482985(0x212)],_0x25283c),this[_0x482985(0x1f6)]['getFeatureFormulaDependency'](_0x1f20ff[_0x482985(0x215)],_0x1f20ff[_0x482985(0x1d2)],_0x21861b)&&(_0x25283c[_0x482985(0x1cb)]=!0x0),_0x25283c;}[_0x10514c(0x174)](_0x4876b7,_0x6de4ff,_0x580202){const _0x19b633=_0x10514c;var _0x527318;for(const _0x3aa15c of _0x6de4ff){const _0x14326d=_0x4876b7[_0x3aa15c];if(_0x14326d==null)continue;const _0x53055a=Object[_0x19b633(0x1c2)](_0x14326d);for(const _0x2082a3 of _0x53055a){const _0x50b73d=_0x14326d[_0x2082a3];if(_0x50b73d==null)continue;const _0x14e663=Object[_0x19b633(0x1c2)](_0x50b73d);for(const _0x49df80 of _0x14e663){const _0x4123a0=this[_0x19b633(0x1f6)]['hasOtherFormulaDataMainData'](_0x49df80),_0x1ce727=_0x50b73d[_0x49df80],{f:_0xec6782,ranges:_0x25e196}=_0x1ce727;let _0x53a311=!0x1;_0x4123a0&&(_0x53a311=!0x0);const {firstRow:_0x1d0a6d,firstColumn:_0x3519ee}=this['_getFirstCellOfRange'](_0x25e196),_0x2f94e6=this[_0x19b633(0x1f6)]['getOtherFormulaDependency'](_0x3aa15c,_0x2082a3,_0x49df80),_0x48d019=(_0x527318=_0x2f94e6==null?void 0x0:_0x2f94e6[_0x19b633(0x1c3)](0x0,0x0))!=null?_0x527318:a[_0x19b633(0x23d)](this[_0x19b633(0x1f6)]),_0xa7dc6e=new a[(_0x19b633(0x1df))](_0x48d019);for(let _0x446c16=0x0;_0x446c16<_0x25e196[_0x19b633(0x175)];_0x446c16++){const _0x19e57c=_0x25e196[_0x446c16],{startRow:_0x12cef7,startColumn:_0x411336,endRow:_0x571ff4,endColumn:_0x5a851d}=_0x19e57c;for(let _0x452447=_0x12cef7;_0x452447<=_0x571ff4;_0x452447++)for(let _0x2c55d4=_0x411336;_0x2c55d4<=_0x5a851d;_0x2c55d4++){const _0x15a6b7=_0x2c55d4-_0x3519ee,_0x54749b=_0x452447-_0x1d0a6d;if(_0x15a6b7===0x0&&_0x54749b===0x0){_0xa7dc6e['formula']=_0xec6782,_0xa7dc6e['unitId']=_0x3aa15c,_0xa7dc6e[_0x19b633(0x1d2)]=_0x2082a3,_0xa7dc6e[_0x19b633(0x164)]=_0x49df80,_0xa7dc6e[_0x19b633(0x1da)]=a[_0x19b633(0x197)][_0x19b633(0x214)],_0xa7dc6e['isCache']=_0x53a311,_0x580202[_0x19b633(0x1a8)](_0xa7dc6e),this[_0x19b633(0x207)]['set'](_0xa7dc6e['treeId'],_0xa7dc6e),this['_dependencyManagerService'][_0x19b633(0x1db)](_0x3aa15c,_0x2082a3,_0x49df80,_0xa7dc6e),this['_dependencyManagerService'][_0x19b633(0x243)](_0xa7dc6e);continue;}const _0x1aeb2a=new a[(_0x19b633(0x179))]();_0x1aeb2a['treeId']=(_0x2f94e6==null?void 0x0:_0x2f94e6['getValue'](_0x15a6b7,_0x54749b))||a['generateRandomDependencyTreeId'](this[_0x19b633(0x1f6)]),_0x1aeb2a['refTree']=_0xa7dc6e,_0x1aeb2a[_0x19b633(0x234)]=_0x15a6b7,_0x1aeb2a['refOffsetY']=_0x54749b,_0x1aeb2a[_0x19b633(0x1cb)]=_0x53a311,_0x1aeb2a['type']=a['FormulaDependencyTreeType'][_0x19b633(0x214)],this['_dependencyManagerService'][_0x19b633(0x1db)](_0x3aa15c,_0x2082a3,_0x49df80,_0x1aeb2a),this[_0x19b633(0x1f6)][_0x19b633(0x243)](_0x1aeb2a),_0x580202[_0x19b633(0x1a8)](_0x1aeb2a),this[_0x19b633(0x207)][_0x19b633(0x156)](_0x1aeb2a[_0x19b633(0x212)],_0x1aeb2a);}}this[_0x19b633(0x1f6)][_0x19b633(0x1e7)](_0x49df80);}}}}['_registerFormulas'](_0x22cdfb,_0x8ea882,_0x6afbc4,_0x4262de){const _0x4b45c9=_0x10514c;for(const _0x21cdfe of _0x22cdfb){const _0x1b7c6e=_0x8ea882[_0x21cdfe];if(_0x1b7c6e==null)continue;const _0x513dbd=Object['keys'](_0x1b7c6e);for(const _0x23de7d of _0x513dbd){const _0x7611ad=new S[(_0x4b45c9(0x171))](_0x1b7c6e[_0x23de7d]||{}),_0x398cc4=new Map();_0x7611ad[_0x4b45c9(0x1f7)]((_0x57a341,_0x108981,_0x3b5830)=>{const _0x37a894=_0x4b45c9;if(_0x3b5830==null)return!0x0;const {x:_0x451e5c=0x0,y:_0x2be9ab=0x0,si:_0x236010}=_0x3b5830;if(!(_0x451e5c===0x0&&_0x2be9ab===0x0&&_0x236010!=null))return!0x0;const _0x3ce51e=this[_0x37a894(0x15e)](_0x21cdfe,_0x23de7d,_0x57a341,_0x108981,_0x6afbc4,_0x3b5830),_0x46d20a=this[_0x37a894(0x1f6)]['getFormulaDependency'](_0x21cdfe,_0x23de7d,_0x57a341,_0x108981);_0x46d20a!=null?_0x3ce51e[_0x37a894(0x212)]=_0x46d20a:(this[_0x37a894(0x1f6)][_0x37a894(0x14a)](_0x21cdfe,_0x23de7d,_0x57a341,_0x108981,_0x3ce51e),this[_0x37a894(0x1f6)][_0x37a894(0x243)](_0x3ce51e)),_0x398cc4['set'](_0x236010,_0x3ce51e),_0x4262de[_0x37a894(0x1a8)](_0x3ce51e),this[_0x37a894(0x207)][_0x37a894(0x156)](_0x3ce51e[_0x37a894(0x212)],_0x3ce51e);}),_0x7611ad[_0x4b45c9(0x1f7)]((_0x484f45,_0x49f7ff,_0x324d5a)=>{const _0x209ba0=_0x4b45c9;if(_0x324d5a==null)return!0x0;const {x:_0x6aca5a=0x0,y:_0x2b2ee2=0x0,si:_0x40416b}=_0x324d5a;if(_0x6aca5a===0x0&&_0x2b2ee2===0x0&&_0x40416b!=null)return!0x0;let _0x405f87;if(_0x40416b&&_0x398cc4[_0x209ba0(0x1ac)](_0x40416b)){const _0x1dd105=_0x398cc4[_0x209ba0(0x198)](_0x40416b);_0x405f87=this[_0x209ba0(0x167)](_0x1dd105,_0x324d5a);}else _0x405f87=this[_0x209ba0(0x15e)](_0x21cdfe,_0x23de7d,_0x484f45,_0x49f7ff,_0x6afbc4,_0x324d5a);const _0x3effeb=this[_0x209ba0(0x1f6)]['getFormulaDependency'](_0x21cdfe,_0x23de7d,_0x484f45,_0x49f7ff);_0x3effeb!=null?_0x405f87[_0x209ba0(0x212)]=_0x3effeb:(this[_0x209ba0(0x1f6)]['addFormulaDependency'](_0x21cdfe,_0x23de7d,_0x484f45,_0x49f7ff,_0x405f87),this[_0x209ba0(0x1f6)]['addFormulaDependencyByDefinedName'](_0x405f87)),_0x4262de[_0x209ba0(0x1a8)](_0x405f87),this[_0x209ba0(0x207)]['set'](_0x405f87[_0x209ba0(0x212)],_0x405f87);}),_0x398cc4[_0x4b45c9(0x1cf)]();}}}[_0x10514c(0x15e)](_0x2de8ca,_0x44cd4d,_0x5ae502,_0x1cf617,_0x46a220,_0x4d63a3){const _0x477c96=_0x10514c,{f:_0x68d86a,x:_0x234b42=0x0,y:_0x477bcd=0x0}=_0x4d63a3,_0x40cff1=new a[(_0x477c96(0x1df))](a[_0x477c96(0x23d)](this[_0x477c96(0x1f6)])),_0x57f1d5=_0x46a220[_0x2de8ca][_0x44cd4d];return _0x40cff1[_0x477c96(0x204)]=_0x68d86a,_0x40cff1[_0x477c96(0x215)]=_0x2de8ca,_0x40cff1[_0x477c96(0x1d2)]=_0x44cd4d,_0x40cff1[_0x477c96(0x155)]=_0x5ae502,_0x40cff1[_0x477c96(0x170)]=_0x1cf617,_0x40cff1[_0x477c96(0x213)]=_0x57f1d5[_0x477c96(0x213)],_0x40cff1[_0x477c96(0x231)]=_0x57f1d5['columnCount'],_0x40cff1;}[_0x10514c(0x1be)](){const _0xfdf915=_0x10514c,_0x5bfd01=[],_0x1fc81f=new Set(),_0x319dd0=this['_currentConfigService'][_0xfdf915(0x1ea)](),_0x4d37d6=this[_0xfdf915(0x14f)][_0xfdf915(0x1a6)](),_0x301174=this[_0xfdf915(0x1f6)]['searchDependency'](_0x4d37d6),_0x3d4e6f=this[_0xfdf915(0x14b)][_0xfdf915(0x224)](_0x4d37d6);for(const _0xfab864 of _0x3d4e6f)_0x301174[_0xfdf915(0x18e)](_0xfab864);for(const [_0x53fb63,_0x43f7df]of this[_0xfdf915(0x207)])(_0x319dd0||_0x43f7df[_0xfdf915(0x16b)]||_0x43f7df[_0xfdf915(0x1eb)](this[_0xfdf915(0x14f)][_0xfdf915(0x18d)]())||_0x301174['has'](_0x53fb63)&&!_0x43f7df[_0xfdf915(0x1f0)](this['_currentConfigService'][_0xfdf915(0x19a)]()))&&!_0x1fc81f[_0xfdf915(0x1ac)](_0x53fb63)&&(_0x5bfd01[_0xfdf915(0x1a8)](_0x43f7df),_0x1fc81f[_0xfdf915(0x18e)](_0x53fb63));for(const [_0x4f567f,_0x88a3bc]of this[_0xfdf915(0x207)])_0x88a3bc['isVirtual']||(_0x88a3bc['rangeList'][_0xfdf915(0x175)]=0x0);return _0x5bfd01;}['_getTreeById'](_0x8e3870){const _0x26065f=_0x10514c;return this[_0x26065f(0x207)][_0x26065f(0x198)](_0x8e3870);}[_0x10514c(0x16c)](_0x2a2bd2){const _0x53093f=_0x10514c;return a[_0x53093f(0x19f)](_0x2a2bd2['unitId'],_0x2a2bd2[_0x53093f(0x204)],this[_0x53093f(0x1c7)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x10514c(0x193)](_0x2cc138,_0x4698df){const _0x459948=_0x10514c,_0x23e19d=_0x2cc138,_0x4a19be=new Set();for(;_0x23e19d['length']>0x0;){const _0x5de9bc=_0x23e19d[_0x459948(0x1b3)]();if(_0x4a19be['clear'](),_0x5de9bc===void 0x0||_0x5de9bc[_0x459948(0x1c9)]())continue;if(_0x5de9bc[_0x459948(0x1ae)]()){yield _0x5de9bc,_0x5de9bc[_0x459948(0x14c)](),_0x4698df[_0x459948(0x18e)](_0x5de9bc[_0x459948(0x212)]);continue;}const _0x437cef=this[_0x459948(0x1f6)]['searchDependency'](_0x5de9bc['toRTreeItem'](),_0x4698df),_0x476768=this['_dependencyRTreeCacheForAddressFunction'][_0x459948(0x224)](_0x5de9bc['toRTreeItem'](),_0x4698df);for(const _0x59af8c of _0x476768)_0x437cef[_0x459948(0x18e)](_0x59af8c);for(const _0x18dc5b of _0x437cef){const _0x5ee22e=this['_dependencyTreeCache'][_0x459948(0x198)](_0x18dc5b);if(!_0x5ee22e){console[_0x459948(0x1f3)](_0x459948(0x1a2),_0x18dc5b);continue;}_0x5ee22e['isAdded']()||_0x5de9bc[_0x459948(0x1c9)]()||_0x4a19be[_0x459948(0x18e)](_0x5ee22e);}if(_0x437cef[_0x459948(0x1cf)](),_0x4a19be[_0x459948(0x1f5)]===0x0)yield _0x5de9bc,_0x5de9bc[_0x459948(0x14c)](),_0x4698df[_0x459948(0x18e)](_0x5de9bc[_0x459948(0x212)]);else{_0x5de9bc[_0x459948(0x1dc)](),_0x23e19d['push'](_0x5de9bc);for(const _0x11a5d4 of _0x4a19be)_0x23e19d[_0x459948(0x1a8)](_0x11a5d4);}}_0x23e19d[_0x459948(0x175)]=0x0,_0x4a19be[_0x459948(0x1cf)]();}[_0x10514c(0x1a3)](_0x456236){const _0x2005e0=_0x10514c,_0x2a3e72=[],_0x4834d3=new Set();for(const _0x57ea31 of this[_0x2005e0(0x193)](_0x456236,_0x4834d3))_0x2a3e72[_0x2005e0(0x1a8)](_0x57ea31);return _0x2a3e72;}async[_0x10514c(0x185)](){const _0x18bfbe=_0x10514c;return await this[_0x18bfbe(0x235)](),Array[_0x18bfbe(0x1af)](this['_dependencyTreeCache']['values']());}[_0x10514c(0x182)](_0x2a3621){const _0x1e72fa=_0x10514c;return this['_dependencyManagerService'][_0x1e72fa(0x16d)](_0x2a3621[_0x1e72fa(0x168)]());}[_0x10514c(0x1ce)](_0x4e296b){const _0x26d121=_0x10514c,_0x1cca2c=new Set(),_0x46c603=_0x4e296b['rangeList'];for(const [_0x2b6e43,_0x37942d]of this['_dependencyTreeCache'])for(const _0x219d42 of _0x46c603){const _0x4b0e5b=_0x219d42['unitId'],_0x59270b=_0x219d42[_0x26d121(0x1f2)];if(_0x37942d[_0x26d121(0x215)]!==_0x4b0e5b||_0x37942d[_0x26d121(0x1d2)]!==_0x59270b)continue;const _0xadbbad=_0x219d42[_0x26d121(0x1b2)];if(_0x37942d[_0x26d121(0x15f)](_0xadbbad)){_0x1cca2c['add'](_0x2b6e43);break;}}return _0x1cca2c;}[_0x10514c(0x1fa)](){const _0x50d9fd=_0x10514c;this['_dependencyManagerService'][_0x50d9fd(0x17a)]();}[_0x10514c(0x158)](){const _0x1351a5=_0x10514c;this['_formulaDependencyTreeModel']['clear'](),this[_0x1351a5(0x207)][_0x1351a5(0x1cf)](),this['_dependencyManagerService']['closeKdTree']();}}function _0x5cea(){const _0x3df8b3=['error','_getFeatureFormulaTree','size','_dependencyManagerService','forValue','clearArrayObjectCache','_addAllTreeMap','_startFormulaDependencyTreeModel','getUnitData','ICalculateFormulaService','START_CALCULATION','_executionInProgressListener$','default','_checkColonNodeForExprTree','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_updateRangeFlatten','refOffsetY','formula','markedAsStopFunctionsExecuted','children','_dependencyTreeCache','_otherFormulaManagerService','23340syDjxi','7288vZhRhy','setTotalFormulasToCalculate','COLON','220734QQuErK','DependentOn','valid','_handleChildrenForExprTree','IFormulaDependencyGenerator','treeId','rowCount','OTHER_FORMULA','unitId','setDependencyTreeModelData','symbol','startsWith','_removeDependencyRTreeCache','getOwnPropertyDescriptor','START_DEPENDENCY','UniverFormulaEnginePlugin','_getCurNodeTypeForExprTree','setFormulaExecuteStage','DEFAULT_TOKEN_TYPE_ROOT','_restDependencyTreeId','_getTableNameFromStructuredRef','getRuntimeState','endColumn','bulkSearch','node','min','startRow','_configService','setCompletedArrayFormulasCount','Lambda\x20parameter\x20name\x20\x22','checkAsyncNode','_dependencyRTreeCache','CalculateFormulaService','getClearDependencyTreeCache','_removeDependencyRTreeCacheById','DEFAULT_TOKEN_LET_FUNCTION_NAME','columnCount','setRuntimeFeatureRange','_injector','refOffsetX','_initializeGenerateTreeList','_apply','getFormulaExprTree','_executionCompleteListener$','requestImmediateMacroTask','/*\x20urHAtx-SArlFHu\x20gQuwuQ-xu5gHlxu\x20*/wstLxA2t\x20SuLQWgxA2t(HALutru,\x20gsFHALzuW)\x20{\x20\x20\x20\x20xQW\x20{\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20HALutru0tw2MlQxRQQlW\x20=\x20HALutru.rgHAx(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x202QAYAt8urrlYu\x20=\x20qyKe.glQru(lx2F(HALutru0tw2MlQxRQQlW[9]));\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(!2QAYAt8urrlYu.sS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202QAYAt8urrlYu.sS\x20=\x20es5FuQ(HALutru0tw2MlQxRQQlW[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20Arn2QbuQ\x20=\x20xWgu2w\x20n2QbuQiH2FlHyL2gu\x20!==\x20\x27stSuwAtuS\x27\x20&&\x20ruHw\x20AtrxltLu2w\x20n2QbuQiH2FlHyL2gu;\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20ArOQ24ruQ\x20=\x20xWgu2w\x204AtS24\x20!==\x20\x27stSuwAtuS\x27\x20&&\x20xWgu2w\x204AtS24.H2LlxA2t\x20!==\x20\x27stSuwAtuS\x27;\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20L2txujx\x20=\x20Arn2QbuQ\x20?\x20ruHw\x20:\x20(ArOQ24ruQ\x20?\x204AtS24\x20:\x20YH2FlHhcAr);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x205urrlYun2QS\x20=\x20L2txujx.__Olru3U__.glQru(HALutru0tw2MlQxRQQlW[9]);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x205urrlYu\x20=\x20L2txujx.__kuj__.rxQAtYAwW(5urrlYun2QS);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYtlxsQun2QS\x20=\x20L2txujx.__Olru3U__.glQru(HALutru0tw2MlQxRQQlW[J]);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYtlxsQu\x20=\x20L2txujx.__kuj__.rxQAtYAwW(rAYtlxsQun2QS);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYt1lHAS\x20=\x20L2txujx.__muQAwW__(rAYtlxsQu,\x205urrlYu,\x20gsFHALzuW);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20S25lAt\x20=\x202QAYAt8urrlYu.S5;\x20\x20\x20\x20\x20\x20\x20\x20wstLxA2t\x20Aro25lAt8lxLcAtY(glxxuQt,\x20c2rx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(glxxuQt\x20===\x20c2rx)\x20QuxsQt\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(glxxuQt.rxlQxrnAxc(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rswwAj\x20=\x20glxxuQt.rHALu(9);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(rswwAj\x20&&\x20rswwAj\x20===\x20c2rx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20xQsu;\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\x20Aw\x20(rswwAj\x20&&\x20!c2rx.rxlQxrnAxc(\x27.\x27)\x20&&\x20c2rx.utSrnAxc(\x27.\x27\x20+\x20rswwAj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20xQsu;\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\x20QuxsQt\x20wlHru;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Hux\x20S25lAt1lHAS\x20=\x20wlHru;\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(ArOQ24ruQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20(S25lAt\x20&&\x20S25lAt.HutYxc)\x20?\x20S25lAt.r25u((S50xu5)\x20=>\x20Aro25lAt8lxLcAtY(S50xu5,\x20H2LlxA2t.c2rxtl5u))\x20:\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(H2LlxA2t.c2rxtl5u\x20===\x20\x27H2LlHc2rx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20uHru\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20mlHAS\x20=\x20rAYt1lHAS\x20&&\x20S25lAt1lHAS;\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mlHAS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205urrlYu:\x202QAYAt8urrlYu,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LlxLc\x20(uQQ2Q)\x20{\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mlHAS:\x20wlHru,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205urrlYu:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','forEach','bulkRemove','generateRandomDependencyTreeId','matchToken','featureId','_handleNewFunctionChild','Module','START_DEPENDENCY_ARRAY_FORMULA','addFormulaDependencyByDefinedName','_checkAddBracketForMinus','startIndex','41889VqQGEf','addFormulaDependency','_dependencyRTreeCacheForAddressFunction','setSkip','next','_initLicenseValid','_currentConfigService','_featureFormulaData','_handleLambdaForExprTree','LS_CONFIG_KEY','_astTreeBuilder','getNewFormulaWithPrefix','row','set','322864MhPRtk','_endFormulaDependencyTreeModel','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','addFeatureFormulaDependency','splitTableStructuredRef','executeAsync','_interpreter','_createFDtree','inRangeData','closeKdTree','treeBuilder','endsWith','RTree','formulaId','getToken','setCompletedFormulasCount','_createVirtualFDtree','toRTreeItem','intervalCount','LexerTreeBuilder','isDirty','_getTreeNode','searchDependency','879510xrpOhn','_handleTextNodeForExprTree','column','ObjectMatrix','_isCyclicUtilMap','NEW_EXCEL_FUNCTIONS','_registerOtherFormulas','length','endRow','max','_definedNameMap','FormulaDependencyTreeVirtual','openKdTree','parseInt','DependencyManagerBaseService','IDLE','_convertDirtyRangesToUnitRange','_xlpmPrefix','hasOwnProperty','featureDirtyRanges','_getDependencyTreeParenIds','reset','\x22\x20is\x20duplicated.','_getAllTreeList','_hasNewExcelFunction','prefixToken','clearFeatureFormulaDependency','setRuntimeData','IDependencyManagerService','delete','call','getDirtyNameMap','add','LexerNode','_removeAllTreeMap','VALUE','_xlfn.','_traverse','execute','toUpperCase','CURRENTLY_CALCULATING_ARRAY_FORMULA','FormulaDependencyTreeType','get','MINUS','getExcludedRange','setValue','LexerTreeProBuilder','FormulaExecuteStageType','getChildren','generateAstNode','setCurrent','574qoHVYV','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_calculateRunList','rangeList','startColumn','getDirtyRanges','356524QqmYGT','push','_clearFunctionString','trim','isFeatureAuthorizedWithinTime','has','isStopExecution','isAdded','from','_otherFormulaData','getFormulaData','range','pop','join','getDirtyData','isReferenceString','realDeleteValue','DEFAULT_INTERVAL_COUNT','slice','setRuntimeFeatureCellData','getSheetFeatureLimit','getStartIndex','return\x20','_getUpdateTreeListAndMakeDependency','_resetPrefix','_xlfnPrefix','_otherFormulaDataMainData','keys','getValue','DEFAULT_TOKEN_TYPE_PARAMETER','_allTreeMap','setRuntimeOtherData','_lexer','values','isSkip','FormulaDependencyGenerator','isCache','_generateExprTree','_currentUnitId','_getDependencyTreeChildrenIds','clear','_formulaDependencyGenerator','setTotalArrayFormulasToCalculate','subUnitId','_checkIsCycleDependency','_formulaData','prototype','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','notExecuteFormula','markedAsSuccessfullyExecuted','dispose','type','addOtherFormulaDependency','setAdded','_runtimeService','_xlpm.','FormulaDependencyTree','_lambdaFunctionParameterSet','clearOtherFormulaDependency','_generateNewFunctionString','Let\x20variable\x20name\x20\x22','_config','getConfig','START_CALCULATION_ARRAY_FORMULA','addOtherFormulaDependencyMainData','_clearPrefix','UniverProFormulaEnginePlugin','isForceCalculate','dependencySheetName','ErrorType','string','removeFormulaDependencyByDefinedName','7731gVsJhJ','isExcludeRange','getAllRuntimeData','sheetId'];_0x5cea=function(){return _0x3df8b3;};return _0x5cea();}class j extends a[_0x10514c(0x22d)]{async[_0x10514c(0x236)](_0x3a8219=!0x1){const _0x5b67df=_0x10514c;_0x3a8219?this[_0x5b67df(0x1dd)][_0x5b67df(0x21e)](a['FormulaExecuteStageType'][_0x5b67df(0x242)]):this[_0x5b67df(0x1dd)][_0x5b67df(0x21e)](a[_0x5b67df(0x19d)][_0x5b67df(0x21b)]),this[_0x5b67df(0x1fe)]['next'](this[_0x5b67df(0x1dd)][_0x5b67df(0x222)]());const _0x3f644d=await this[_0x5b67df(0x1d0)]['generate'](this['_isCalculateTreeModel']),_0x402163=this[_0x5b67df(0x15d)];_0x3a8219?(this['_runtimeService']['setFormulaExecuteStage'](a[_0x5b67df(0x19d)][_0x5b67df(0x1e6)]),this[_0x5b67df(0x1dd)][_0x5b67df(0x1d1)](_0x3f644d[_0x5b67df(0x175)])):(this['_runtimeService']['setFormulaExecuteStage'](a['FormulaExecuteStageType'][_0x5b67df(0x1fd)]),this[_0x5b67df(0x1dd)][_0x5b67df(0x20b)](_0x3f644d['length'])),this[_0x5b67df(0x1fe)]['next'](this['_runtimeService']['getRuntimeState']());let _0x4104da=[];const _0x4d0ece=this['_configService'][_0x5b67df(0x1e5)](a[_0x5b67df(0x1d6)]),_0x3810db=(_0x4d0ece==null?void 0x0:_0x4d0ece[_0x5b67df(0x169)])||a[_0x5b67df(0x1b8)];let _0x38ea7b=0x0;const _0xa3d311=_0x3f644d[_0x5b67df(0x175)];for(;_0x3f644d['length']>0x0;){const _0x5249a6=_0x3f644d[_0x5b67df(0x1b3)](),_0x24faad=a[_0x5b67df(0x19f)](_0x5249a6[_0x5b67df(0x215)],_0x5249a6['formula'],this[_0x5b67df(0x1c7)],this[_0x5b67df(0x153)],this['_currentConfigService']),_0x4c258d={'node':_0x24faad,'refOffsetX':_0x5249a6[_0x5b67df(0x234)],'refOffsetY':_0x5249a6['refOffsetY']},_0x1703ce=_0x5249a6[_0x5b67df(0x1b5)];if(_0x38ea7b%_0x3810db===0x0&&(await new Promise(_0x55aed2=>{const _0x3f3973=_0x5b67df,_0x22c800=S[_0x3f3973(0x239)](_0x55aed2);_0x4104da['push'](_0x22c800);}),_0x3a8219?(this[_0x5b67df(0x1dd)][_0x5b67df(0x21e)](a[_0x5b67df(0x19d)][_0x5b67df(0x196)]),this['_runtimeService'][_0x5b67df(0x229)](_0x38ea7b+0x1)):(this['_runtimeService'][_0x5b67df(0x21e)](a[_0x5b67df(0x19d)]['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x5b67df(0x166)](_0x38ea7b+0x1)),this['_executionInProgressListener$'][_0x5b67df(0x14d)](this[_0x5b67df(0x1dd)][_0x5b67df(0x222)]()),this[_0x5b67df(0x1dd)][_0x5b67df(0x1ad)]()||_0x4c258d==null&&_0x1703ce==null)){this[_0x5b67df(0x1dd)][_0x5b67df(0x21e)](a[_0x5b67df(0x19d)][_0x5b67df(0x17d)]),this[_0x5b67df(0x1dd)][_0x5b67df(0x205)](),this[_0x5b67df(0x238)][_0x5b67df(0x14d)](this[_0x5b67df(0x1dd)][_0x5b67df(0x1f1)]());return;}this[_0x5b67df(0x1dd)][_0x5b67df(0x1a0)](_0x5249a6[_0x5b67df(0x155)],_0x5249a6[_0x5b67df(0x170)],_0x5249a6[_0x5b67df(0x213)],_0x5249a6[_0x5b67df(0x231)],_0x5249a6[_0x5b67df(0x1d2)],_0x5249a6[_0x5b67df(0x215)]);let _0x59727a;if(_0x1703ce!=null&&_0x5249a6['featureId']!=null){const {runtimeCellData:_0x4ad233,dirtyRanges:_0x3c4ed9}=_0x1703ce(this['_currentConfigService'][_0x5b67df(0x1b5)](),this[_0x5b67df(0x1dd)][_0x5b67df(0x1f1)]());this[_0x5b67df(0x1dd)][_0x5b67df(0x1ba)](_0x5249a6[_0x5b67df(0x23f)],_0x4ad233),this[_0x5b67df(0x1dd)][_0x5b67df(0x232)](_0x5249a6[_0x5b67df(0x23f)],_0x3c4ed9);}else _0x4c258d!=null&&(_0x402163[_0x5b67df(0x22b)](_0x4c258d[_0x5b67df(0x225)])?_0x59727a=await _0x402163[_0x5b67df(0x15c)](_0x4c258d):_0x59727a=_0x402163[_0x5b67df(0x194)](_0x4c258d),_0x5249a6[_0x5b67df(0x164)]!=null?this[_0x5b67df(0x1dd)][_0x5b67df(0x1c6)](_0x5249a6[_0x5b67df(0x164)],_0x5249a6[_0x5b67df(0x234)],_0x5249a6[_0x5b67df(0x203)],_0x59727a):this['_runtimeService'][_0x5b67df(0x189)](_0x59727a));_0x24faad['resetCalculationState'](),_0x38ea7b++;}return _0x4104da[_0x5b67df(0x23b)](_0x24e978=>_0x24e978()),_0x4104da=[],_0xa3d311>0x0?this[_0x5b67df(0x1dd)][_0x5b67df(0x1d8)]():_0x3a8219||this[_0x5b67df(0x1dd)]['markedAsNoFunctionsExecuted'](),this[_0x5b67df(0x1dd)][_0x5b67df(0x1f1)]();}}class W extends a[_0x10514c(0x17c)]{constructor(){const _0x59d7c1=_0x10514c;super(...arguments),A(this,_0x59d7c1(0x1c5),new Map()),A(this,_0x59d7c1(0x22c),new S[(_0x59d7c1(0x163))](!0x0));}[_0x10514c(0x183)](){const _0x1f8ba8=_0x10514c;this[_0x1f8ba8(0x1b0)]['clear'](),this[_0x1f8ba8(0x150)][_0x1f8ba8(0x1cf)](),this['_formulaData'][_0x1f8ba8(0x1cf)](),this[_0x1f8ba8(0x22c)]['clear'](),this['_allTreeMap']['clear'](),this[_0x1f8ba8(0x220)](),this['_otherFormulaDataMainData'][_0x1f8ba8(0x1cf)]();}[_0x10514c(0x1db)](_0x69124d,_0x2d9546,_0x3d4b8a,_0x4b80d6){const _0x519f7f=_0x10514c;this['_otherFormulaData'][_0x519f7f(0x1ac)](_0x69124d)||this[_0x519f7f(0x1b0)]['set'](_0x69124d,new Map());const _0xcff039=this[_0x519f7f(0x1b0)]['get'](_0x69124d);_0xcff039['has'](_0x2d9546)||_0xcff039[_0x519f7f(0x156)](_0x2d9546,new Map());const _0x22210d=_0xcff039['get'](_0x2d9546);_0x22210d['has'](_0x3d4b8a)||_0x22210d[_0x519f7f(0x156)](_0x3d4b8a,new S[(_0x519f7f(0x171))]()),_0x22210d[_0x519f7f(0x198)](_0x3d4b8a)[_0x519f7f(0x19b)](_0x4b80d6[_0x519f7f(0x234)],_0x4b80d6[_0x519f7f(0x203)],_0x4b80d6[_0x519f7f(0x212)]);}['removeOtherFormulaDependency'](_0x330373,_0x52cf91,_0x183d1c){const _0x34945f=_0x10514c,_0x2a0c01=this[_0x34945f(0x1b0)]['get'](_0x330373);if(_0x2a0c01&&_0x2a0c01[_0x34945f(0x1ac)](_0x52cf91)){const _0x9451de=_0x2a0c01['get'](_0x52cf91);_0x183d1c[_0x34945f(0x23b)](_0x408f8f=>{const _0x38476b=_0x34945f,_0x5694dc=_0x9451de[_0x38476b(0x198)](_0x408f8f);_0x5694dc!=null&&(_0x5694dc[_0x38476b(0x1f7)]((_0xf421ff,_0x235bff,_0x54c064)=>{const _0x3283dc=_0x38476b;this['_removeDependencyRTreeCache'](_0x54c064),this[_0x3283dc(0x190)](_0x54c064);}),_0x9451de[_0x38476b(0x18b)](_0x408f8f),this[_0x38476b(0x1c1)]['delete'](_0x408f8f));}),_0x9451de[_0x34945f(0x1f5)]===0x0&&_0x2a0c01[_0x34945f(0x18b)](_0x52cf91),_0x2a0c01['size']===0x0&&this[_0x34945f(0x1b0)][_0x34945f(0x18b)](_0x330373);}}['clearOtherFormulaDependency'](_0x1958a5,_0x2d7554){const _0x44d6ac=_0x10514c,_0x419bc2=this['_otherFormulaData']['get'](_0x1958a5);if(_0x2d7554&&_0x419bc2&&_0x419bc2[_0x44d6ac(0x1ac)](_0x2d7554)){const _0x3be2d7=_0x419bc2['get'](_0x2d7554);this['_removeDependencyRTreeCacheById'](_0x1958a5,_0x2d7554);for(const _0x2dcd6c of _0x3be2d7[_0x44d6ac(0x1c2)]()){const _0x238349=_0x3be2d7[_0x44d6ac(0x198)](_0x2dcd6c);_0x238349!=null&&(_0x238349[_0x44d6ac(0x1f7)]((_0xe1e758,_0x14c42d,_0x4ab8e4)=>{const _0x251065=_0x44d6ac;this[_0x251065(0x1c5)][_0x251065(0x198)](_0x4ab8e4)&&this[_0x251065(0x190)](_0x4ab8e4);}),this['_otherFormulaDataMainData'][_0x44d6ac(0x18b)](_0x2dcd6c));}_0x3be2d7['clear']();}else{if(_0x419bc2){for(const _0x58fa73 of _0x419bc2[_0x44d6ac(0x1c2)]()){const _0x479964=_0x419bc2[_0x44d6ac(0x198)](_0x58fa73);this['_removeDependencyRTreeCacheById'](_0x1958a5,_0x58fa73);for(const _0x3a210f of _0x479964[_0x44d6ac(0x1c2)]()){const _0x5bb924=_0x479964[_0x44d6ac(0x198)](_0x3a210f);_0x5bb924!=null&&(_0x5bb924[_0x44d6ac(0x1f7)]((_0x204614,_0x5208f5,_0x5b8456)=>{const _0x12c9ce=_0x44d6ac;this[_0x12c9ce(0x1c5)][_0x12c9ce(0x198)](_0x5b8456)&&this[_0x12c9ce(0x190)](_0x5b8456);}),this[_0x44d6ac(0x1c1)][_0x44d6ac(0x18b)](_0x3a210f));}}this[_0x44d6ac(0x1b0)][_0x44d6ac(0x18b)](_0x1958a5);}}}[_0x10514c(0x15a)](_0x32fce8,_0x2c6d05,_0x2579cf,_0x53273d){const _0x59a5ba=_0x10514c;this[_0x59a5ba(0x150)]['has'](_0x32fce8)||this[_0x59a5ba(0x150)][_0x59a5ba(0x156)](_0x32fce8,new Map());const _0x4bc834=this[_0x59a5ba(0x150)][_0x59a5ba(0x198)](_0x32fce8);_0x4bc834[_0x59a5ba(0x1ac)](_0x2c6d05)||_0x4bc834[_0x59a5ba(0x156)](_0x2c6d05,new Map()),_0x4bc834[_0x59a5ba(0x198)](_0x2c6d05)[_0x59a5ba(0x156)](_0x2579cf,_0x53273d[_0x59a5ba(0x212)]);}['removeFeatureFormulaDependency'](_0x3ab33a,_0x52f639,_0x638f27){const _0x9c578c=_0x10514c,_0x5ec3d0=this[_0x9c578c(0x150)][_0x9c578c(0x198)](_0x3ab33a);if(_0x5ec3d0&&_0x5ec3d0[_0x9c578c(0x1ac)](_0x52f639)){const _0xec2679=_0x5ec3d0[_0x9c578c(0x198)](_0x52f639);_0x638f27['forEach'](_0x352233=>{const _0x5831e0=_0x9c578c,_0xf83c98=_0xec2679['get'](_0x352233);_0xf83c98!=null&&(this[_0x5831e0(0x219)](_0xf83c98),_0xec2679['delete'](_0x352233),this['_removeAllTreeMap'](_0xf83c98));});}}['clearFeatureFormulaDependency'](_0x30490c,_0x4f4c69){const _0x4e0f2e=_0x10514c,_0x55d628=this[_0x4e0f2e(0x150)]['get'](_0x30490c);if(_0x4f4c69&&_0x55d628&&_0x55d628[_0x4e0f2e(0x1ac)](_0x4f4c69)){const _0x1fced6=_0x55d628[_0x4e0f2e(0x198)](_0x4f4c69);this[_0x4e0f2e(0x22f)](_0x30490c,_0x4f4c69),_0x1fced6[_0x4e0f2e(0x23b)](_0xffe544=>{const _0x43dea8=_0x4e0f2e;_0xffe544!=null&&this[_0x43dea8(0x190)](_0xffe544);}),_0x1fced6[_0x4e0f2e(0x1cf)]();}else _0x55d628&&(_0x55d628[_0x4e0f2e(0x23b)]((_0x4141d1,_0x1b0dbf)=>{const _0x28c82e=_0x4e0f2e;this[_0x28c82e(0x22f)](_0x30490c,_0x1b0dbf),_0x4141d1[_0x28c82e(0x23b)](_0x12f1cc=>{const _0x2279ed=_0x28c82e;_0x12f1cc!=null&&this[_0x2279ed(0x190)](_0x12f1cc);});}),this[_0x4e0f2e(0x150)]['delete'](_0x30490c));}[_0x10514c(0x14a)](_0x3a46d2,_0x35241d,_0x2e33de,_0x12a0ae,_0x512c71){const _0x535ffb=_0x10514c;this[_0x535ffb(0x1d4)][_0x535ffb(0x1ac)](_0x3a46d2)||this['_formulaData'][_0x535ffb(0x156)](_0x3a46d2,new Map());const _0x279e91=this[_0x535ffb(0x1d4)][_0x535ffb(0x198)](_0x3a46d2);_0x279e91[_0x535ffb(0x1ac)](_0x35241d)||_0x279e91['set'](_0x35241d,new S['ObjectMatrix']()),_0x279e91[_0x535ffb(0x198)](_0x35241d)[_0x535ffb(0x19b)](_0x2e33de,_0x12a0ae,_0x512c71[_0x535ffb(0x212)]);}['removeFormulaDependency'](_0x3a0f91,_0x53da31,_0x4b1126,_0xd2b4e3){const _0x130514=_0x10514c,_0x588594=this[_0x130514(0x1d4)]['get'](_0x3a0f91);if(_0x588594&&_0x588594['has'](_0x53da31)){const _0x47d414=_0x588594['get'](_0x53da31),_0x5c290b=_0x47d414[_0x130514(0x1c3)](_0x4b1126,_0xd2b4e3);if(_0x5c290b==null)return;this[_0x130514(0x219)](_0x5c290b),_0x47d414[_0x130514(0x1b7)](_0x4b1126,_0xd2b4e3),this[_0x130514(0x190)](_0x5c290b);}}['clearFormulaDependency'](_0x49b0a3,_0x4af096){const _0xa34a6b=_0x10514c,_0x46d681=this['_formulaData'][_0xa34a6b(0x198)](_0x49b0a3);if(_0x4af096&&_0x46d681&&_0x46d681[_0xa34a6b(0x1ac)](_0x4af096)){const _0x188074=_0x46d681['get'](_0x4af096);this[_0xa34a6b(0x22f)](_0x49b0a3,_0x4af096),_0x188074['forValue']((_0x5c1462,_0x4e6061,_0x3760f1)=>{const _0x39d560=_0xa34a6b;if(_0x3760f1==null)return!0x0;this[_0x39d560(0x190)](_0x3760f1);}),_0x188074[_0xa34a6b(0x183)]();}else _0x46d681&&(_0x46d681[_0xa34a6b(0x23b)]((_0x5cfb63,_0x3d7a5b)=>{const _0x1ab979=_0xa34a6b;this[_0x1ab979(0x22f)](_0x49b0a3,_0x3d7a5b),_0x5cfb63[_0x1ab979(0x1f7)]((_0x54e927,_0x1e4ce9,_0x40403a)=>{const _0x23266a=_0x1ab979;if(_0x40403a==null)return!0x0;this[_0x23266a(0x190)](_0x40403a);});}),this[_0xa34a6b(0x1d4)][_0xa34a6b(0x18b)](_0x49b0a3));}[_0x10514c(0x219)](_0x5e6fa5){const _0x51eb4d=_0x10514c;if(_0x5e6fa5==null)return;const _0x647236=this[_0x51eb4d(0x1c5)][_0x51eb4d(0x198)](_0x5e6fa5);if(_0x647236){const _0x4794d2=[];for(const [_0x57295f,_0x54c2cb]of _0x647236)for(const [_0x4ccb51,_0x29786c]of _0x54c2cb)_0x4794d2[_0x51eb4d(0x1a8)]({'unitId':_0x57295f,'sheetId':_0x4ccb51,'range':_0x29786c,'id':_0x5e6fa5});this[_0x51eb4d(0x22c)][_0x51eb4d(0x23c)](_0x4794d2);}}[_0x10514c(0x1ee)](_0x48122d,_0x5a17e9){const _0x2a6bfd=_0x10514c,_0x103dc3=this[_0x2a6bfd(0x178)][_0x2a6bfd(0x198)](_0x48122d);if(_0x103dc3){const _0x399730=_0x103dc3[_0x2a6bfd(0x198)](_0x5a17e9);if(_0x399730){for(const _0x2f193a of _0x399730)this[_0x2a6bfd(0x219)](_0x2f193a),this[_0x2a6bfd(0x190)](_0x2f193a);_0x399730[_0x2a6bfd(0x1cf)]();}}}[_0x10514c(0x17a)](){const _0x39ee4d=_0x10514c;this[_0x39ee4d(0x22c)][_0x39ee4d(0x17a)]();}[_0x10514c(0x160)](){const _0x413f37=_0x10514c;this[_0x413f37(0x22c)]['closeKdTree']();}[_0x10514c(0x190)](_0x59f5f1){const _0xe324f4=_0x10514c;_0x59f5f1!=null&&this[_0xe324f4(0x1c5)][_0xe324f4(0x18b)](_0x59f5f1);}[_0x10514c(0x1f9)](_0x5dbee9){const _0xd255f9=_0x10514c;var _0x1a1018,_0x3216da;const _0x4a3105=_0x5dbee9['rangeList'];let _0x460ad8=this[_0xd255f9(0x1c5)][_0xd255f9(0x198)](_0x5dbee9[_0xd255f9(0x212)]);for(let _0x5f4b18=0x0;_0x5f4b18<_0x4a3105[_0xd255f9(0x175)];_0x5f4b18++){const _0x4c3cae=_0x4a3105[_0x5f4b18];let {unitId:_0x53c355,sheetId:_0x1f2854,range:_0x405ada}=_0x4c3cae;_0x460ad8||(_0x460ad8=new Map(),this['_allTreeMap'][_0xd255f9(0x156)](_0x5dbee9[_0xd255f9(0x212)],_0x460ad8)),_0x460ad8[_0xd255f9(0x1ac)](_0x53c355)||_0x460ad8[_0xd255f9(0x156)](_0x53c355,new Map());const _0x2dc51c=(_0x1a1018=_0x460ad8==null?void 0x0:_0x460ad8[_0xd255f9(0x198)](_0x53c355))==null?void 0x0:_0x1a1018[_0xd255f9(0x198)](_0x1f2854);_0x2dc51c&&(_0x405ada={'startRow':Math[_0xd255f9(0x226)](_0x405ada[_0xd255f9(0x227)],_0x2dc51c[_0xd255f9(0x227)]),'startColumn':Math[_0xd255f9(0x226)](_0x405ada['startColumn'],_0x2dc51c[_0xd255f9(0x1a5)]),'endRow':Math['max'](_0x405ada[_0xd255f9(0x176)],_0x2dc51c['endRow']),'endColumn':Math[_0xd255f9(0x177)](_0x405ada[_0xd255f9(0x223)],_0x2dc51c[_0xd255f9(0x223)])}),(_0x3216da=_0x460ad8[_0xd255f9(0x198)](_0x53c355))==null||_0x3216da[_0xd255f9(0x156)](_0x1f2854,_0x405ada);}}}var V=Object[_0x10514c(0x21a)],$=(_0x1f5c47,_0x2efeef,_0x33a0f2,_0x5a80a2)=>{const _0xb1dd65=_0x10514c;for(var _0x5eafed=_0x5a80a2>0x1?void 0x0:_0x5a80a2?V(_0x2efeef,_0x33a0f2):_0x2efeef,_0x4c8cc1=_0x1f5c47[_0xb1dd65(0x175)]-0x1,_0x8a8151;_0x4c8cc1>=0x0;_0x4c8cc1--)(_0x8a8151=_0x1f5c47[_0x4c8cc1])&&(_0x5eafed=_0x8a8151(_0x5eafed)||_0x5eafed);return _0x5eafed;};const G=Number[_0x10514c(0x17b)](0x694fc36f);exports[_0x10514c(0x1e9)]=class extends a[_0x10514c(0x21c)]{['_initializeWithOverride'](){const _0x460abb=_0x10514c;var _0x1c57ef,_0x5198bb;this[_0x460abb(0x14e)]()?(this[_0x460abb(0x233)][_0x460abb(0x18e)]([a[_0x460abb(0x16a)],{'useClass':w}]),(_0x1c57ef=this[_0x460abb(0x1e4)])!=null&&_0x1c57ef[_0x460abb(0x1d7)]||[[a[_0x460abb(0x1fc)],{'useClass':j}],[a[_0x460abb(0x18a)],{'useClass':W}],[a[_0x460abb(0x211)],{'useClass':K}]]['forEach'](_0x41e606=>this[_0x460abb(0x233)][_0x460abb(0x18e)](_0x41e606))):(this[_0x460abb(0x233)][_0x460abb(0x18e)]([a[_0x460abb(0x16a)],{'useClass':a[_0x460abb(0x16a)]}]),(_0x5198bb=this[_0x460abb(0x1e4)])!=null&&_0x5198bb[_0x460abb(0x1d7)]||[[a[_0x460abb(0x1fc)],{'useClass':a[_0x460abb(0x22d)]}],[a[_0x460abb(0x18a)],{'useClass':a['DependencyManagerService']}],[a[_0x460abb(0x211)],{'useClass':a[_0x460abb(0x1ca)]}]][_0x460abb(0x23b)](_0x3f9751=>this['_injector'][_0x460abb(0x18e)](_0x3f9751)));}[_0x10514c(0x14e)](){const _0x354b6d=_0x10514c;var _0x1e1283;const _0x56fbf1=(_0x1e1283=this[_0x354b6d(0x228)][_0x354b6d(0x1e5)](E[_0x354b6d(0x152)]))!=null?_0x1e1283:{},{ls:_0x289a71,pbk:_0x9987cf}=_0x56fbf1;if(!_0x289a71||!_0x9987cf)return!0x1;const _0x45bfa3=E['unshiftString'](B,b),_0x476c61=new Function(_0x354b6d(0x1bd)+_0x45bfa3)()(_0x289a71,_0x9987cf),_0x1d4d5e=_0x476c61['message'];return _0x476c61[_0x354b6d(0x20f)]&&E[_0x354b6d(0x1ab)](_0x1d4d5e,'sf',G)?E[_0x354b6d(0x1bb)](_0x1d4d5e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=$([S[_0x10514c(0x20e)](E['UniverLicensePlugin'])],exports[_0x10514c(0x1e9)]),exports[_0x10514c(0x19c)]=w,Object[_0x10514c(0x1c2)](a)['forEach'](_0x26786d=>{const _0x1b03e3=_0x10514c;_0x26786d!==_0x1b03e3(0x1ff)&&!Object[_0x1b03e3(0x1d5)][_0x1b03e3(0x180)][_0x1b03e3(0x18c)](exports,_0x26786d)&&Object['defineProperty'](exports,_0x26786d,{'enumerable':!0x0,'get':()=>a[_0x26786d]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x6128a2,_0x486a2e){var _0x3ee95c=_0x1e04,_0x49afd5=_0x6128a2();while(!![]){try{var _0x9d600f=parseInt(_0x3ee95c(0x1b0))/0x1*(parseInt(_0x3ee95c(0x1ae))/0x2)+parseInt(_0x3ee95c(0x1ad))/0x3*(-parseInt(_0x3ee95c(0x1a9))/0x4)+-parseInt(_0x3ee95c(0x1a8))/0x5+parseInt(_0x3ee95c(0x1ac))/0x6+parseInt(_0x3ee95c(0x1aa))/0x7+parseInt(_0x3ee95c(0x1af))/0x8+-parseInt(_0x3ee95c(0x1ab))/0x9;if(_0x9d600f===_0x486a2e)break;else _0x49afd5['push'](_0x49afd5['shift']());}catch(_0x4db906){_0x49afd5['push'](_0x49afd5['shift']());}}}(_0x18b0,0xddecb));export*from'@univerjs/engine-formula/facade';function _0x1e04(_0x11cf4a,_0x2313f5){_0x11cf4a=_0x11cf4a-0x1a8;var _0x18b08b=_0x18b0();var _0x1e0410=_0x18b08b[_0x11cf4a];return _0x1e0410;}function _0x18b0(){var _0x55c791=['17464851nQDWFN','6816162xwXYGk','54546gDHvfK','654066dGFuRz','8771536ZEErNP','2PFNMFc','3888490ULYeug','16iTbTRO','5694031dRLWyP'];_0x18b0=function(){return _0x55c791;};return _0x18b0();}
1
+ function _0x2c84(_0x23fe6c,_0x124263){_0x23fe6c=_0x23fe6c-0x9b;var _0x458700=_0x4587();var _0x2c8476=_0x458700[_0x23fe6c];return _0x2c8476;}function _0x4587(){var _0x15158d=['617356Nskywg','138AnMkrt','730376USZzsI','3107310UMtSbf','3IoiNcx','1631rHAMiJ','2983134ZgrspP','3349755CAoPle','947650mBDSBl','110oUxPHQ','18PuLqcz'];_0x4587=function(){return _0x15158d;};return _0x4587();}(function(_0x257501,_0xd54c18){var _0x3b4989=_0x2c84,_0x55e8ba=_0x257501();while(!![]){try{var _0x58b467=-parseInt(_0x3b4989(0xa3))/0x1*(parseInt(_0x3b4989(0x9f))/0x2)+parseInt(_0x3b4989(0xa2))/0x3*(parseInt(_0x3b4989(0x9e))/0x4)+parseInt(_0x3b4989(0xa5))/0x5+parseInt(_0x3b4989(0xa1))/0x6+parseInt(_0x3b4989(0xa4))/0x7+parseInt(_0x3b4989(0xa0))/0x8*(-parseInt(_0x3b4989(0x9d))/0x9)+-parseInt(_0x3b4989(0x9b))/0xa*(parseInt(_0x3b4989(0x9c))/0xb);if(_0x58b467===_0xd54c18)break;else _0x55e8ba['push'](_0x55e8ba['shift']());}catch(_0x1afdac){_0x55e8ba['push'](_0x55e8ba['shift']());}}}(_0x4587,0x804f2));export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x18a882=_0x3014;(function(_0x205e51,_0x3dbd81){const _0x4058bb=_0x3014,_0x407156=_0x205e51();while(!![]){try{const _0x535df1=-parseInt(_0x4058bb(0xd9))/0x1+parseInt(_0x4058bb(0xf9))/0x2+parseInt(_0x4058bb(0x88))/0x3+-parseInt(_0x4058bb(0x116))/0x4*(parseInt(_0x4058bb(0x132))/0x5)+-parseInt(_0x4058bb(0xad))/0x6*(parseInt(_0x4058bb(0x105))/0x7)+parseInt(_0x4058bb(0xfe))/0x8*(-parseInt(_0x4058bb(0x89))/0x9)+parseInt(_0x4058bb(0xea))/0xa;if(_0x535df1===_0x3dbd81)break;else _0x407156['push'](_0x407156['shift']());}catch(_0x15473d){_0x407156['push'](_0x407156['shift']());}}}(_0x4adc,0x94f0f));var se=Object[_0x18a882(0x74)],ce=(_0x5d8425,_0x262a69,_0xb5a07a)=>_0x262a69 in _0x5d8425?se(_0x5d8425,_0x262a69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb5a07a}):_0x5d8425[_0x262a69]=_0xb5a07a,D=(_0x17fd27,_0xa6e9d8,_0x4dee10)=>ce(_0x17fd27,typeof _0xa6e9d8!=_0x18a882(0x8d)?_0xa6e9d8+'':_0xa6e9d8,_0x4dee10);import{LexerTreeBuilder as _0x3ad90e,ErrorType as _0x1e4443,DEFAULT_TOKEN_TYPE_ROOT as _0x3c0eb3,DEFAULT_TOKEN_TYPE_PARAMETER as _0x59b294,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0xd86652,NEW_EXCEL_FUNCTIONS as _0x16924b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x296905,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x82dd6,matchToken as _0x126925,SUFFIX_TOKEN_SET as _0x50cdc5,prefixToken as _0x5788f5,LexerNode as _0x5b0deb,OPERATOR_TOKEN_SET as _0x1f0e1f,isReferenceString as _0x381b13,splitTableStructuredRef as _0x338db8,FormulaDependencyGenerator as _0x9f69d5,generateRandomDependencyTreeId as _0x5b8305,FormulaDependencyTree as _0x3a8121,FormulaDependencyTreeType as _0x3dcec1,FormulaDependencyTreeVirtual as _0x43332f,generateAstNode as _0xe33219,CalculateFormulaService as _0x3a2454,FormulaExecuteStageType as _0x4b1a97,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x38415a,DEFAULT_INTERVAL_COUNT as _0x31e581,DependencyManagerBaseService as _0x703b75,UniverFormulaEnginePlugin as _0x522c98,ICalculateFormulaService as _0x365a0d,IDependencyManagerService as _0x146aa4,IFormulaDependencyGenerator as _0x35d465,DependencyManagerService as _0x40b5b5}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x4be509,LS_CONFIG_KEY as _0x52618a,unshiftString as _0xe2742e,isFeatureAuthorizedWithinTime as _0xe5c2af,getSheetFeatureLimit as _0x1f6530}from'@univerjs-pro/license';import{ObjectMatrix as _0x4e276a,requestImmediateMacroTask as _0x21c242,RTree as _0x4173ae,DependentOn as _0x2a821b}from'@univerjs/core';class Oe extends _0x3ad90e{constructor(){const _0x39ff24=_0x18a882;super(...arguments),D(this,_0x39ff24(0xc2),!0x1),D(this,_0x39ff24(0x110),new Set()),D(this,_0x39ff24(0x122),'_xlpm.'),D(this,_0x39ff24(0xbc),_0x39ff24(0x13d)),D(this,'_currentUnitId','');}[_0x18a882(0x85)](){const _0x45b437=_0x18a882;this[_0x45b437(0x122)]=_0x45b437(0x124),this[_0x45b437(0xbc)]=_0x45b437(0x13d);}[_0x18a882(0xeb)](){this['_xlpmPrefix']='',this['_xlfnPrefix']='';}[_0x18a882(0xf3)](_0x54b6eb,_0x5b1acb){const _0x1c02dc=_0x18a882,_0xb10a5f=this[_0x1c02dc(0x142)](_0x54b6eb,!0x1);if(!_0xb10a5f||_0xb10a5f===_0x1e4443['VALUE']||Array[_0x1c02dc(0xa3)](_0xb10a5f))return null;const _0xa0e3c2=[];return this[_0x1c02dc(0xc2)]=!0x1,this['_generateNewFunctionString'](_0xb10a5f,_0xa0e3c2,_0x5b1acb),this['_hasNewExcelFunction']?'='+_0xa0e3c2[_0x1c02dc(0x133)](''):null;}[_0x18a882(0x80)](_0xfe8e99,_0x4c1898,_0x19447e){const _0x56930d=_0x18a882,_0xbd9deb=_0xfe8e99[_0x56930d(0xaf)](),_0x1535d4=_0xbd9deb[_0x56930d(0xd0)](),_0x328eb3=_0x1535d4[_0x56930d(0xc4)](),_0x227570=this[_0x56930d(0xce)](_0x328eb3),_0x59f0a5=_0x19447e(_0x227570);let _0x39a0f3=0x0;_0xbd9deb===_0x3c0eb3?_0x39a0f3=0x3:_0xbd9deb===_0x59b294?_0x39a0f3=0x4:_0xbd9deb===_0xd86652?_0x39a0f3=0x5:_0x16924b[_0x56930d(0x7b)](_0x227570)?(_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0xbc)]+_0x1535d4),this['_hasNewExcelFunction']=!0x0):_0x328eb3===_0x296905?(_0x4c1898[_0x56930d(0xa6)](''+this['_xlfnPrefix']+_0x1535d4),this[_0x56930d(0xc2)]=!0x0,_0x39a0f3=0x2):_0x328eb3===_0x82dd6?(_0x4c1898[_0x56930d(0xa6)](''+this['_xlfnPrefix']+_0x1535d4),this['_hasNewExcelFunction']=!0x0,_0x39a0f3=0x1):_0x328eb3===_0x126925[_0x56930d(0x7a)]?_0x39a0f3=0x8:_0x50cdc5['has'](_0x328eb3)?_0x39a0f3=0x7:_0x328eb3===_0x5788f5['MINUS']?(this['_checkAddBracketForMinus'](_0xfe8e99)&&(_0x39a0f3=0x9),_0x4c1898['push'](_0xbd9deb)):(_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),_0x39a0f3=0xa),_0x59f0a5?(_0x39a0f3!==0x2&&_0x39a0f3!==0x1&&(_0x39a0f3=0x6),_0x4c1898['push']('(')):_0x39a0f3===0x9&&_0x4c1898[_0x56930d(0xa6)]('(');const _0x2f6d5e=_0xfe8e99[_0x56930d(0x13e)](),_0xf572ba=_0x2f6d5e[_0x56930d(0x141)];if(_0x39a0f3===0x2){const _0x142cd0=_0x2f6d5e[0x0];let _0x1ec0e6=0x0;_0x142cd0 instanceof _0x5b0deb&&_0x142cd0[_0x56930d(0xaf)]()===_0xd86652&&(_0x1ec0e6=0x1);for(let _0x603f62=_0x1ec0e6;_0x603f62<_0xf572ba-0x1;_0x603f62++){const _0x2e9dde=_0x2f6d5e[_0x603f62];if(_0x2e9dde instanceof _0x5b0deb){const _0x2d5272=_0x2e9dde['getChildren']()[0x0];typeof _0x2d5272==_0x56930d(0xc7)&&(this['_lambdaFunctionParameterSet']['has'](_0x2d5272)&&console[_0x56930d(0x12a)](_0x56930d(0x87)+_0x2d5272+_0x56930d(0x137)),this[_0x56930d(0x110)][_0x56930d(0x10f)](_0x2d5272),_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0x122)]+_0x2d5272),this[_0x56930d(0xc2)]=!0x0);}_0x4c1898[_0x56930d(0xa6)](',');}this[_0x56930d(0xfb)](_0x2f6d5e[_0xf572ba-0x1],_0x4c1898,_0x19447e),_0x1ec0e6===0x1&&(_0x4c1898['push'](')'),_0x4c1898[_0x56930d(0xa6)]('('),this[_0x56930d(0x80)](_0x142cd0,_0x4c1898,_0x19447e)),_0x4c1898[_0x56930d(0xa6)](')');return;}else{if(_0x39a0f3===0x1){for(let _0x4a8251=0x0;_0x4a8251<_0xf572ba-0x1;_0x4a8251++){const _0xe7f169=_0x2f6d5e[_0x4a8251];if(_0xe7f169 instanceof _0x5b0deb&&_0x4a8251%0x2===0x0){const _0xb45663=_0xe7f169[_0x56930d(0x13e)]()[0x0];if(typeof _0xb45663==_0x56930d(0xc7)){this[_0x56930d(0x110)][_0x56930d(0x7b)](_0xb45663)&&console[_0x56930d(0x12a)](_0x56930d(0x129)+_0xb45663+_0x56930d(0x137)),this['_lambdaFunctionParameterSet']['add'](_0xb45663),_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0x122)]+_0xb45663),this[_0x56930d(0xc2)]=!0x0,_0x4c1898[_0x56930d(0xa6)](',');continue;}}if(this[_0x56930d(0xfb)](_0xe7f169,_0x4c1898,_0x19447e),_0xe7f169 instanceof _0x5b0deb){const _0x312034=_0x2f6d5e[_0x4a8251+0x1];_0x312034&&_0x312034 instanceof _0x5b0deb&&_0x4c1898[_0x56930d(0xa6)](',');}}this[_0x56930d(0xfb)](_0x2f6d5e[_0xf572ba-0x1],_0x4c1898,_0x19447e),_0x4c1898[_0x56930d(0xa6)](')');return;}else{if(_0x39a0f3===0x8){const _0x5c5652=_0x2f6d5e[0x0],_0x359b3b=_0x2f6d5e[0x1];this[_0x56930d(0xfb)](_0x5c5652,_0x4c1898,_0x19447e),_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),this[_0x56930d(0xfb)](_0x359b3b,_0x4c1898,_0x19447e);return;}}}for(let _0x8a7a5b=0x0;_0x8a7a5b<_0xf572ba;_0x8a7a5b++){const _0x23e325=_0x2f6d5e[_0x8a7a5b];if(this[_0x56930d(0xfb)](_0x23e325,_0x4c1898,_0x19447e),_0x23e325 instanceof _0x5b0deb){const _0x529818=_0x2f6d5e[_0x8a7a5b+0x1];_0x529818&&_0x529818 instanceof _0x5b0deb&&_0x4c1898[_0x56930d(0xa6)](',');}}_0x39a0f3===0x7&&_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),(_0x59f0a5||_0x39a0f3===0x9)&&_0x4c1898[_0x56930d(0xa6)](')');}[_0x18a882(0xfb)](_0x657584,_0x5273fa,_0x163b86){const _0x34dc11=_0x18a882;_0x657584 instanceof _0x5b0deb?this[_0x34dc11(0x80)](_0x657584,_0x5273fa,_0x163b86):this['_lambdaFunctionParameterSet'][_0x34dc11(0x7b)](_0x657584)?(_0x5273fa[_0x34dc11(0xa6)](''+this['_xlpmPrefix']+_0x657584),this[_0x34dc11(0xc2)]=!0x0):_0x5273fa['push'](_0x657584);}[_0x18a882(0xce)](_0x3f2e80){const _0x146fd8=_0x18a882;let _0x1e8f20=_0x3f2e80[_0x146fd8(0xd0)]();if(!_0x1e8f20)return _0x1e8f20;const _0x58dbce=_0x1e8f20[0x0];if((_0x58dbce===_0x5788f5['AT']||_0x58dbce===_0x5788f5[_0x146fd8(0xee)]||_0x58dbce===_0x5788f5['PLUS'])&&(_0x1e8f20=_0x1e8f20[_0x146fd8(0xac)](0x1)),!_0x1e8f20)return _0x1e8f20;const _0x3e9c1f=_0x1e8f20[_0x1e8f20[_0x146fd8(0x141)]-0x1];return _0x50cdc5[_0x146fd8(0x7b)](_0x3e9c1f)&&(_0x1e8f20=_0x1e8f20[_0x146fd8(0xac)](0x0,-0x1)),_0x1e8f20;}[_0x18a882(0x108)](_0x45c048){const _0x3f47bd=_0x18a882,_0x52c647=_0x45c048[_0x3f47bd(0x13e)]()[0x0];if(!_0x52c647||!(_0x52c647 instanceof _0x5b0deb)||_0x45c048[_0x3f47bd(0x13e)]()[_0x3f47bd(0x141)]>0x1)return!0x1;const _0x3a091b=_0x52c647[_0x3f47bd(0x13e)](),_0x2e2ab7=_0x3a091b['length'];if(_0x2e2ab7===0x1)return!0x1;for(let _0x37432b=0x0;_0x37432b<_0x2e2ab7;_0x37432b++){const _0x4d00c0=_0x3a091b[_0x37432b];if(!(_0x4d00c0 instanceof _0x5b0deb)&&_0x1f0e1f[_0x3f47bd(0x7b)](_0x4d00c0))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x1c1078,_0x3f9831,_0x41548b,_0x22d3fb,_0x40e722){const _0xb1ec26=_0x18a882,_0x335661=this[_0xb1ec26(0x142)](_0x1c1078,!0x1);if(!_0x335661||_0x335661===_0x1e4443['VALUE']||Array['isArray'](_0x335661))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x3f9831;const _0x32d4ce=this['_generateExprTree'](_0x335661,_0x41548b,_0x22d3fb,_0x40e722);return this[_0xb1ec26(0x11b)]='',this[_0xb1ec26(0x85)](),_0x32d4ce;}[_0x18a882(0xe9)](_0x564fc7,_0x5c0c9e,_0x597d86,_0x30431b){const _0x3501b5=_0x18a882,_0x3981c5={'value':'','children':[],'startIndex':0x0};let _0x537578=_0x564fc7;if(_0x537578 instanceof _0x5b0deb&&(_0x537578[_0x3501b5(0xaf)]()===_0x3c0eb3||_0x537578[_0x3501b5(0xaf)]()===_0x59b294)&&_0x537578[_0x3501b5(0x13e)]()[_0x3501b5(0x141)]===0x1&&(_0x537578=_0x537578[_0x3501b5(0x13e)]()[0x0]),!(_0x537578 instanceof _0x5b0deb))return this[_0x3501b5(0xf8)](_0x537578,_0x597d86,_0x30431b);const _0x1882d5=_0x537578[_0x3501b5(0x13e)](),_0x1a7415=_0x1882d5[_0x3501b5(0x141)],_0x54aa3b=[];this[_0x3501b5(0x80)](_0x537578,_0x54aa3b,_0x5c0c9e),_0x3981c5[_0x3501b5(0x115)]=_0x54aa3b[_0x3501b5(0x133)](''),_0x3981c5['startIndex']=_0x537578['getStartIndex']();const _0x2da5d5=this[_0x3501b5(0x143)](_0x537578);if(_0x2da5d5===0x2){const _0x1d4fa8=_0x1882d5[0x0];if(_0x1d4fa8 instanceof _0x5b0deb){if(_0x1d4fa8[_0x3501b5(0xaf)]()[_0x3501b5(0xd0)]()!==_0xd86652)return _0x3981c5;this[_0x3501b5(0x113)](_0x1d4fa8,_0x3981c5,_0x5c0c9e,_0x597d86,_0x30431b);}return _0x3981c5;}else{if(_0x2da5d5===0x1){for(let _0x450062=0x0;_0x450062<_0x1a7415-0x1;_0x450062++){const _0x3cecfa=_0x1882d5[_0x450062];if(_0x3cecfa instanceof _0x5b0deb&&_0x450062%0x2===0x1){const _0x44fe33=_0x3cecfa['getChildren']();if(_0x44fe33[_0x3501b5(0x141)]===0x1&&!(_0x44fe33[0x0]instanceof _0x5b0deb))continue;const _0x3dca06=this[_0x3501b5(0xe9)](_0x3cecfa,_0x5c0c9e,_0x597d86,_0x30431b);_0x3dca06&&_0x3981c5['children'][_0x3501b5(0xa6)](_0x3dca06);}}return _0x3981c5;}else{if(_0x2da5d5===0x8){const _0x3bc9e2=_0x1882d5[0x0];if(_0x3bc9e2 instanceof _0x5b0deb){const _0x1d31ac=_0x3bc9e2['getChildren']()[0x0];_0x1d31ac instanceof _0x5b0deb&&(_0x3981c5['startIndex']=_0x1d31ac[_0x3501b5(0x107)]());}if(this[_0x3501b5(0xa2)](_0x537578))return _0x3981c5;}else{if(_0x2da5d5===0x7){const _0x5cecc4=_0x1882d5[0x0];if(_0x5cecc4 instanceof _0x5b0deb){const _0x206753=_0x5cecc4[_0x3501b5(0x13e)]()[0x0];_0x206753 instanceof _0x5b0deb&&(_0x3981c5[_0x3501b5(0xaa)]=_0x206753[_0x3501b5(0x107)]());}}}}}return this[_0x3501b5(0x92)](_0x1882d5,_0x2da5d5,_0x3981c5,_0x5c0c9e,_0x597d86,_0x30431b),_0x3981c5;}[_0x18a882(0x92)](_0x427eb7,_0x16e156,_0x3cea08,_0x59c799,_0x707fc5,_0x2d0fcc){const _0x4da290=_0x18a882;for(let _0x1ef074=0x0;_0x1ef074<_0x427eb7[_0x4da290(0x141)];_0x1ef074++){let _0x28304a=_0x427eb7[_0x1ef074];if(!(_0x28304a instanceof _0x5b0deb)){const _0x4b1227=this[_0x4da290(0xf8)](_0x28304a,_0x707fc5,_0x2d0fcc);_0x4b1227&&_0x3cea08['children']['push'](_0x4b1227);continue;}const _0x170540=_0x28304a[_0x4da290(0x13e)]();if(_0x170540[_0x4da290(0x141)]===0x1&&!(_0x170540[0x0]instanceof _0x5b0deb)){const _0x18b218=_0x170540[0x0];if(!_0x707fc5(this[_0x4da290(0x11b)],_0x18b218)&&!this[_0x4da290(0x94)](_0x18b218,_0x2d0fcc)&&!_0x381b13(_0x18b218))continue;}if(_0x16e156===0x8){const _0x3ee6f5=_0x170540[0x0];if(_0x3ee6f5 instanceof _0x5b0deb){const _0x1aa290=_0x3ee6f5['getToken']()['trim']();if(_0x381b13(_0x1aa290))continue;_0x28304a=_0x3ee6f5;}}const _0x34c7d9=this[_0x4da290(0xe9)](_0x28304a,_0x59c799,_0x707fc5,_0x2d0fcc);_0x34c7d9&&_0x3cea08[_0x4da290(0x91)]['push'](_0x34c7d9);}}[_0x18a882(0xa2)](_0x54ad93){const _0x1f2b9b=_0x18a882,_0x382339=_0x54ad93[_0x1f2b9b(0x13e)]();if(_0x382339[_0x1f2b9b(0x141)]<0x2)return!0x1;const _0x20c261=_0x382339[0x0],_0x310a78=_0x382339[0x1];if(!(_0x20c261 instanceof _0x5b0deb)||!(_0x310a78 instanceof _0x5b0deb))return!0x1;const _0x11baa9=_0x20c261[_0x1f2b9b(0x13e)]()[0x0],_0x5ba236=_0x310a78[_0x1f2b9b(0x13e)]()[0x0];if(!(_0x11baa9 instanceof _0x5b0deb)||!(_0x5ba236 instanceof _0x5b0deb))return!0x1;const _0x1fa563=_0x11baa9[_0x1f2b9b(0xaf)]()[_0x1f2b9b(0xd0)](),_0x1d0f5a=_0x5ba236[_0x1f2b9b(0xaf)]()[_0x1f2b9b(0xd0)]();return!!_0x381b13(''+_0x1fa563+_0x126925[_0x1f2b9b(0x7a)]+_0x1d0f5a);}[_0x18a882(0xf8)](_0x20ef47,_0xf63f3a,_0x1f5bfc){const _0xd89d77=_0x18a882,_0x4735c9=_0x20ef47[_0xd89d77(0xd0)]();return _0x4735c9[_0xd89d77(0x9c)]('{')&&_0x4735c9[_0xd89d77(0x75)]('}')||_0xf63f3a(this['_currentUnitId'],_0x4735c9)||this['_getTableNameFromStructuredRef'](_0x4735c9,_0x1f5bfc)||_0x381b13(_0x4735c9)?{'value':_0x4735c9,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x491574,_0x3b9aeb){const {tableName:_0x55ba79}=_0x338db8(_0x491574);return _0x3b9aeb(this['_currentUnitId'],_0x55ba79)?_0x55ba79:null;}[_0x18a882(0x113)](_0x16c5a7,_0x49cfc8,_0x110b3b,_0x348e21,_0x25b2f1){const _0x2e2e2c=_0x18a882,_0x2ca10d=_0x16c5a7[_0x2e2e2c(0x13e)]();for(let _0x300e0e=0x0;_0x300e0e<_0x2ca10d[_0x2e2e2c(0x141)];_0x300e0e++){const _0xc8f1a7=_0x2ca10d[_0x300e0e];if(!(_0xc8f1a7 instanceof _0x5b0deb))continue;const _0x8c7b48=_0xc8f1a7['getChildren']();if(_0x8c7b48[_0x2e2e2c(0x141)]===0x1&&!(_0x8c7b48[0x0]instanceof _0x5b0deb))continue;const _0x3197a9=this[_0x2e2e2c(0xe9)](_0xc8f1a7,_0x110b3b,_0x348e21,_0x25b2f1);_0x3197a9&&_0x49cfc8[_0x2e2e2c(0x91)][_0x2e2e2c(0xa6)](_0x3197a9);}}[_0x18a882(0x143)](_0x4075c2){const _0x53d0e7=_0x18a882,_0x13c474=_0x4075c2['getToken'](),_0x51dd05=_0x13c474[_0x53d0e7(0xd0)]()[_0x53d0e7(0xc4)]();let _0x9c967f=0x0;return _0x13c474===_0x3c0eb3?_0x9c967f=0x3:_0x13c474===_0x59b294?_0x9c967f=0x4:_0x13c474===_0xd86652?_0x9c967f=0x5:_0x51dd05===_0x296905?_0x9c967f=0x2:_0x51dd05===_0x82dd6?_0x9c967f=0x1:_0x51dd05===_0x126925[_0x53d0e7(0x7a)]?_0x9c967f=0x8:_0x50cdc5['has'](_0x51dd05)?_0x9c967f=0x7:_0x51dd05===_0x5788f5[_0x53d0e7(0xee)]?this[_0x53d0e7(0x108)](_0x4075c2)&&(_0x9c967f=0x9):_0x9c967f=0xa,_0x9c967f;}}const Me={0x0:'N',0x1:'3',0x2:'Q',0x3:'X',0x4:'y',0x5:'w',0x6:'u',0x7:'E',0x8:'2',0x9:'m','I':'0','S':'1','J':'4','H':'5','j':'6','T':'7','P':'8','z':'9','O':'a','a':'b','f':'c','r':'d','b':'e','l':'f','K':'g','p':'h','B':'i','t':'j','A':'k','w':'l','g':'n','m':'o','X':'p','F':'q','c':'r','G':'s','Y':'t','W':'v','M':'x','L':'z','d':'A','V':'B','u':'C','e':'D','h':'F','i':'G','N':'H','C':'I','y':'J','Q':'K','v':'L','q':'M','n':'O','x':'P','E':'R','Z':'S','k':'T','o':'U','R':'V','U':'W','D':'Y','s':'Z'},ve=_0x18a882(0xae);class xe extends _0x9f69d5{constructor(){const _0x9a9f1c=_0x18a882;super(...arguments),D(this,_0x9a9f1c(0x11f),new Map());}['dispose'](){const _0x195cfc=_0x18a882;super[_0x195cfc(0x7e)](),this[_0x195cfc(0x11f)][_0x195cfc(0x76)]();}async[_0x18a882(0x10e)](_0x335b46=!0x1){const _0x26f4af=_0x18a882;this[_0x26f4af(0x81)]();const _0x142335=this['_currentConfigService'][_0x26f4af(0x9b)](),_0x564ce1=this[_0x26f4af(0x12c)][_0x26f4af(0xe3)](),_0x26cea2=this[_0x26f4af(0xe7)]['getClearDependencyTreeCache']();_0x26cea2!=null&&Object[_0x26f4af(0xd4)](_0x26cea2)['forEach'](_0x353d9a=>{const _0x53eba0=_0x26f4af;_0x353d9a!=null&&Object[_0x53eba0(0xd4)](_0x26cea2[_0x353d9a])[_0x53eba0(0xfa)](_0x9e49bc=>{const _0x3e0b21=_0x53eba0;_0x9e49bc!=null&&(this[_0x3e0b21(0xd6)][_0x3e0b21(0xe4)](_0x353d9a,_0x9e49bc),this[_0x3e0b21(0xd6)][_0x3e0b21(0x79)](_0x353d9a,_0x9e49bc),this['_dependencyManagerService'][_0x3e0b21(0xa8)](_0x353d9a,_0x9e49bc));});});const _0x444b38=this['_currentConfigService']['getUnitData']();await this[_0x26f4af(0x103)](_0x142335,_0x564ce1,_0x444b38),this[_0x26f4af(0xd6)]['openKdTree']();const _0x3a517d=this['_getUpdateTreeListAndMakeDependency'](),_0x45b83c=this[_0x26f4af(0xf6)](_0x3a517d);return this[_0x26f4af(0x98)](_0x45b83c)&&this[_0x26f4af(0xe8)]['enableCycleDependency'](),_0x335b46&&this[_0x26f4af(0xe8)][_0x26f4af(0x121)](this[_0x26f4af(0xff)](Array[_0x26f4af(0xe1)](this[_0x26f4af(0x11f)][_0x26f4af(0xc9)]()))),this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x26f4af(0x76)](),this[_0x26f4af(0xd6)]['closeKdTree'](),this[_0x26f4af(0xe8)][_0x26f4af(0x9f)](),Promise[_0x26f4af(0x97)](_0x45b83c);}['_isCyclicUtilMap'](_0x594d60,_0x1b7cc2){const _0x24665b=_0x18a882,_0x982135=[_0x594d60];for(;_0x982135[_0x24665b(0x141)]>0x0;){const _0x411eb2=_0x982135[_0x982135[_0x24665b(0x141)]-0x1];if((_0x1b7cc2[_0x24665b(0x10d)](_0x411eb2)||0x0)===0x0){_0x1b7cc2[_0x24665b(0xdc)](_0x411eb2,0x1);const _0x2435f4=this[_0x24665b(0x11f)][_0x24665b(0x10d)](_0x411eb2);if(_0x2435f4==null){_0x1b7cc2['set'](_0x411eb2,0x2),_0x982135['pop']();continue;}const _0x5225a2=this[_0x24665b(0xd6)][_0x24665b(0x130)](_0x2435f4[_0x24665b(0x10c)]());for(const _0x5cd493 of _0x5225a2){const _0x29b19e=_0x1b7cc2['get'](_0x5cd493)||0x0;if(_0x29b19e===0x1)return!0x0;_0x29b19e===0x0&&_0x982135[_0x24665b(0xa6)](_0x5cd493);}}else _0x1b7cc2[_0x24665b(0xdc)](_0x411eb2,0x2),_0x982135[_0x24665b(0xcb)]();}return!0x1;}['_checkIsCycleDependency'](_0x4b6f3d){const _0x3d1cd5=_0x18a882,_0x4b7050=new Map();for(const _0x1ad78e of _0x4b6f3d)if(!_0x4b7050[_0x3d1cd5(0x7b)](_0x1ad78e['treeId'])&&this['_isCyclicUtilMap'](_0x1ad78e[_0x3d1cd5(0x9d)],_0x4b7050))return!0x0;return _0x4b7050['clear'](),!0x1;}[_0x18a882(0xba)](_0x1909fe,_0x18fc6e,_0x49906f){const _0x3502ff=_0x18a882,{unitId:_0x55f5fd,subUnitId:_0x580c4d,dependencyRanges:_0x240f6e,getDirtyData:_0x158555}=_0x49906f,_0x14cfaf=_0x18fc6e||_0x5b8305(this[_0x3502ff(0xd6)]),_0x1aa840=new _0x3a8121(_0x14cfaf);_0x1aa840[_0x3502ff(0xed)]=_0x55f5fd,_0x1aa840[_0x3502ff(0xdd)]=_0x580c4d,_0x1aa840['rangeList']=_0x240f6e,_0x1aa840[_0x3502ff(0x123)]=_0x158555;const _0x28cca0=_0x158555(this[_0x3502ff(0xe7)][_0x3502ff(0x123)](),this['_runtimeService']['getAllRuntimeData']()),_0x4c233d=this[_0x3502ff(0x84)](_0x28cca0[_0x3502ff(0xf7)]);return _0x1aa840[_0x3502ff(0x7f)]=_0x4c233d,_0x1aa840['featureId']=_0x1909fe,_0x1aa840[_0x3502ff(0xf2)]=_0x3dcec1[_0x3502ff(0x13f)],this['_dependencyManagerService'][_0x3502ff(0xa7)](_0x55f5fd,_0x580c4d,_0x1909fe,_0x1aa840),this[_0x3502ff(0x11f)][_0x3502ff(0xdc)](_0x1aa840['treeId'],_0x1aa840),this[_0x3502ff(0xd6)][_0x3502ff(0xfc)](_0x49906f[_0x3502ff(0xed)],_0x49906f['subUnitId'],_0x1909fe)&&(_0x1aa840[_0x3502ff(0x9a)]=!0x0),_0x1aa840;}[_0x18a882(0xc8)](_0x5e6d33,_0x2a112a,_0x57a176){const _0x3a5170=_0x18a882;var _0x416866;for(const _0x57238b of _0x2a112a){const _0x315954=_0x5e6d33[_0x57238b];if(_0x315954==null)continue;const _0x4f6b7b=Object[_0x3a5170(0xd4)](_0x315954);for(const _0x3cd4dc of _0x4f6b7b){const _0x459ee2=_0x315954[_0x3cd4dc];if(_0x459ee2==null)continue;const _0x3eafac=Object[_0x3a5170(0xd4)](_0x459ee2);for(const _0x4f9850 of _0x3eafac){const _0x22b6c0=this[_0x3a5170(0xd6)][_0x3a5170(0xb1)](_0x4f9850),_0x4195d8=_0x459ee2[_0x4f9850],{f:_0x168ab7,ranges:_0x1ddd54}=_0x4195d8;let _0xefb52f=!0x1;_0x22b6c0&&(_0xefb52f=!0x0);const {firstRow:_0x41910c,firstColumn:_0x530407}=this[_0x3a5170(0xda)](_0x1ddd54),_0x2da0da=this[_0x3a5170(0xd6)][_0x3a5170(0x13c)](_0x57238b,_0x3cd4dc,_0x4f9850),_0x5d37a4=(_0x416866=_0x2da0da==null?void 0x0:_0x2da0da[_0x3a5170(0xb3)](0x0,0x0))!=null?_0x416866:_0x5b8305(this[_0x3a5170(0xd6)]),_0x3b187d=new _0x3a8121(_0x5d37a4);for(let _0x1bca39=0x0;_0x1bca39<_0x1ddd54['length'];_0x1bca39++){const _0x233735=_0x1ddd54[_0x1bca39],{startRow:_0x232683,startColumn:_0x20d954,endRow:_0x2ab657,endColumn:_0x38f3f9}=_0x233735;for(let _0x516998=_0x232683;_0x516998<=_0x2ab657;_0x516998++)for(let _0x16429b=_0x20d954;_0x16429b<=_0x38f3f9;_0x16429b++){const _0x54cce3=_0x16429b-_0x530407,_0x2bc558=_0x516998-_0x41910c;if(_0x54cce3===0x0&&_0x2bc558===0x0){_0x3b187d[_0x3a5170(0x13b)]=_0x168ab7,_0x3b187d[_0x3a5170(0xed)]=_0x57238b,_0x3b187d[_0x3a5170(0xdd)]=_0x3cd4dc,_0x3b187d[_0x3a5170(0x11a)]=_0x4f9850,_0x3b187d[_0x3a5170(0xf2)]=_0x3dcec1[_0x3a5170(0xd8)],_0x3b187d[_0x3a5170(0x9a)]=_0xefb52f,_0x57a176['push'](_0x3b187d),this[_0x3a5170(0x11f)][_0x3a5170(0xdc)](_0x3b187d[_0x3a5170(0x9d)],_0x3b187d),this[_0x3a5170(0xd6)][_0x3a5170(0xca)](_0x57238b,_0x3cd4dc,_0x4f9850,_0x3b187d),this[_0x3a5170(0xd6)][_0x3a5170(0x8c)](_0x3b187d);continue;}const _0x2abd51=new _0x43332f();_0x2abd51[_0x3a5170(0x9d)]=(_0x2da0da==null?void 0x0:_0x2da0da[_0x3a5170(0xb3)](_0x54cce3,_0x2bc558))||_0x5b8305(this[_0x3a5170(0xd6)]),_0x2abd51['refTree']=_0x3b187d,_0x2abd51[_0x3a5170(0x102)]=_0x54cce3,_0x2abd51[_0x3a5170(0xbe)]=_0x2bc558,_0x2abd51[_0x3a5170(0x9a)]=_0xefb52f,_0x2abd51[_0x3a5170(0xf2)]=_0x3dcec1['OTHER_FORMULA'],this[_0x3a5170(0xd6)]['addOtherFormulaDependency'](_0x57238b,_0x3cd4dc,_0x4f9850,_0x2abd51),this[_0x3a5170(0xd6)][_0x3a5170(0x8c)](_0x2abd51),_0x57a176[_0x3a5170(0xa6)](_0x2abd51),this[_0x3a5170(0x11f)][_0x3a5170(0xdc)](_0x2abd51[_0x3a5170(0x9d)],_0x2abd51);}}this[_0x3a5170(0xd6)][_0x3a5170(0xa9)](_0x4f9850);}}}}[_0x18a882(0x11d)](_0x5754b1,_0x56cea8,_0x1912dc,_0x1a5842){const _0x2de9b3=_0x18a882;for(const _0x48a7fe of _0x5754b1){const _0x59bb84=_0x56cea8[_0x48a7fe];if(_0x59bb84==null)continue;const _0x17ecd8=Object['keys'](_0x59bb84);for(const _0x18b91a of _0x17ecd8){const _0x264e0a=new _0x4e276a(_0x59bb84[_0x18b91a]||{}),_0x3384d3=new Map();_0x264e0a[_0x2de9b3(0x109)]((_0x386d87,_0x4fe9ce,_0x4e0ffe)=>{const _0x4d3681=_0x2de9b3;if(_0x4e0ffe==null)return!0x0;const {x:_0x2c422a=0x0,y:_0x16a1db=0x0,si:_0x373bab}=_0x4e0ffe;if(!(_0x2c422a===0x0&&_0x16a1db===0x0&&_0x373bab!=null))return!0x0;const _0x2b27f5=this[_0x4d3681(0x83)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce,_0x1912dc,_0x4e0ffe),_0x126fa8=this[_0x4d3681(0xd6)][_0x4d3681(0x10a)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce);_0x126fa8!=null?_0x2b27f5[_0x4d3681(0x9d)]=_0x126fa8:(this['_dependencyManagerService'][_0x4d3681(0xe6)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce,_0x2b27f5),this[_0x4d3681(0xd6)]['addFormulaDependencyByDefinedName'](_0x2b27f5)),_0x3384d3[_0x4d3681(0xdc)](_0x373bab,_0x2b27f5),_0x1a5842[_0x4d3681(0xa6)](_0x2b27f5),this['_dependencyTreeCache'][_0x4d3681(0xdc)](_0x2b27f5[_0x4d3681(0x9d)],_0x2b27f5);}),_0x264e0a[_0x2de9b3(0x109)]((_0x461488,_0x157e94,_0x3bb62e)=>{const _0x3b8129=_0x2de9b3;if(_0x3bb62e==null)return!0x0;const {x:_0x29b352=0x0,y:_0x2f981a=0x0,si:_0x3e74e3}=_0x3bb62e;if(_0x29b352===0x0&&_0x2f981a===0x0&&_0x3e74e3!=null)return!0x0;let _0x5b7152;if(_0x3e74e3&&_0x3384d3[_0x3b8129(0x7b)](_0x3e74e3)){const _0x12f2d6=_0x3384d3['get'](_0x3e74e3);_0x5b7152=this[_0x3b8129(0x128)](_0x12f2d6,_0x3bb62e);}else _0x5b7152=this[_0x3b8129(0x83)](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94,_0x1912dc,_0x3bb62e);const _0x26135e=this['_dependencyManagerService']['getFormulaDependency'](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94);_0x26135e!=null?_0x5b7152['treeId']=_0x26135e:(this[_0x3b8129(0xd6)]['addFormulaDependency'](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94,_0x5b7152),this[_0x3b8129(0xd6)][_0x3b8129(0x8c)](_0x5b7152)),_0x1a5842['push'](_0x5b7152),this[_0x3b8129(0x11f)][_0x3b8129(0xdc)](_0x5b7152['treeId'],_0x5b7152);}),_0x3384d3[_0x2de9b3(0x76)]();}}}[_0x18a882(0x83)](_0x10d5b1,_0x59356b,_0x3211e6,_0x515e9a,_0x54c109,_0x44cf09){const _0x4d6839=_0x18a882,{f:_0x19eac8,x:_0x18926e=0x0,y:_0x5416a2=0x0}=_0x44cf09,_0x1f910f=new _0x3a8121(_0x5b8305(this[_0x4d6839(0xd6)])),_0x22bc2b=_0x54c109[_0x10d5b1][_0x59356b];return _0x1f910f[_0x4d6839(0x13b)]=_0x19eac8,_0x1f910f[_0x4d6839(0xed)]=_0x10d5b1,_0x1f910f[_0x4d6839(0xdd)]=_0x59356b,_0x1f910f[_0x4d6839(0xe2)]=_0x3211e6,_0x1f910f['column']=_0x515e9a,_0x1f910f[_0x4d6839(0xb0)]=_0x22bc2b[_0x4d6839(0xb0)],_0x1f910f[_0x4d6839(0x93)]=_0x22bc2b[_0x4d6839(0x93)],_0x1f910f;}[_0x18a882(0xcd)](){const _0x262610=_0x18a882,_0x5e2299=[],_0x29d497=new Set(),_0x2731e0=this[_0x262610(0xe7)][_0x262610(0x114)](),_0x4007a9=this['_currentConfigService'][_0x262610(0x8f)](),_0x3246f6=this[_0x262610(0xd6)][_0x262610(0x130)](_0x4007a9),_0x22c5f7=this['_dependencyRTreeCacheForAddressFunction'][_0x262610(0x95)](_0x4007a9);for(const _0x446da4 of _0x22c5f7)_0x3246f6[_0x262610(0x10f)](_0x446da4);for(const [_0x1b2c47,_0x3eb603]of this['_dependencyTreeCache'])(_0x2731e0||_0x3eb603[_0x262610(0x120)]||_0x3eb603[_0x262610(0xa5)](this['_currentConfigService'][_0x262610(0x112)]())||_0x3246f6[_0x262610(0x7b)](_0x1b2c47)&&!_0x3eb603['isExcludeRange'](this[_0x262610(0xe7)][_0x262610(0x117)]()))&&!_0x29d497['has'](_0x1b2c47)&&(_0x5e2299[_0x262610(0xa6)](_0x3eb603),_0x29d497[_0x262610(0x10f)](_0x1b2c47));for(const [_0x32c5c6,_0x27f38d]of this['_dependencyTreeCache'])_0x27f38d['isVirtual']||(_0x27f38d[_0x262610(0xbb)][_0x262610(0x141)]=0x0);return _0x5e2299;}[_0x18a882(0x111)](_0x4e369c){const _0x4a2873=_0x18a882;return this[_0x4a2873(0x11f)][_0x4a2873(0x10d)](_0x4e369c);}['_getTreeNode'](_0xe4f518){const _0x1f675f=_0x18a882;return _0xe33219(_0xe4f518[_0x1f675f(0xed)],_0xe4f518['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x18a882(0x136)](_0x438229,_0x1cf275){const _0x1f072b=_0x18a882,_0x3934e3=_0x438229,_0x5f1516=new Set();for(;_0x3934e3['length']>0x0;){const _0x1ce137=_0x3934e3[_0x1f072b(0xcb)]();if(_0x5f1516[_0x1f072b(0x76)](),_0x1ce137===void 0x0||_0x1ce137[_0x1f072b(0xb9)]())continue;if(_0x1ce137[_0x1f072b(0x101)]()){yield _0x1ce137,_0x1ce137[_0x1f072b(0xe5)](),_0x1cf275[_0x1f072b(0x10f)](_0x1ce137[_0x1f072b(0x9d)]);continue;}const _0x5e3058=this[_0x1f072b(0xd6)]['searchDependency'](_0x1ce137[_0x1f072b(0x10c)](),_0x1cf275),_0x618d78=this['_dependencyRTreeCacheForAddressFunction'][_0x1f072b(0x95)](_0x1ce137[_0x1f072b(0x10c)](),_0x1cf275);for(const _0xab5e10 of _0x618d78)_0x5e3058[_0x1f072b(0x10f)](_0xab5e10);for(const _0x266b2b of _0x5e3058){const _0x210d9b=this[_0x1f072b(0x11f)]['get'](_0x266b2b);if(!_0x210d9b){console[_0x1f072b(0x12a)](_0x1f072b(0x11e),_0x266b2b);continue;}_0x210d9b[_0x1f072b(0x101)]()||_0x1ce137[_0x1f072b(0xb9)]()||_0x5f1516['add'](_0x210d9b);}if(_0x5e3058[_0x1f072b(0x76)](),_0x5f1516[_0x1f072b(0xb2)]===0x0)yield _0x1ce137,_0x1ce137[_0x1f072b(0xe5)](),_0x1cf275['add'](_0x1ce137['treeId']);else{_0x1ce137[_0x1f072b(0x127)](),_0x3934e3[_0x1f072b(0xa6)](_0x1ce137);for(const _0x36d551 of _0x5f1516)_0x3934e3[_0x1f072b(0xa6)](_0x36d551);}}_0x3934e3['length']=0x0,_0x5f1516[_0x1f072b(0x76)]();}[_0x18a882(0xf6)](_0x18359f){const _0x3b2091=_0x18a882,_0x4fe669=[],_0x43f9de=new Set();for(const _0x34a41b of this[_0x3b2091(0x136)](_0x18359f,_0x43f9de))_0x4fe669['push'](_0x34a41b);return _0x4fe669;}async[_0x18a882(0xbd)](){const _0x4fee71=_0x18a882;return await this['_initializeGenerateTreeList'](),Array[_0x4fee71(0xe1)](this[_0x4fee71(0x11f)]['values']());}[_0x18a882(0x106)](_0x3561bf){const _0x19fa3b=_0x18a882;return this[_0x19fa3b(0xd6)][_0x19fa3b(0x130)](_0x3561bf[_0x19fa3b(0x10c)]());}[_0x18a882(0x135)](_0x2db1ca){const _0xecc5f0=_0x18a882,_0x4936a4=new Set(),_0xd8e770=_0x2db1ca[_0xecc5f0(0xbb)];for(const [_0x478e9a,_0x1bceb7]of this[_0xecc5f0(0x11f)])for(const _0x369575 of _0xd8e770){const _0x1d25c7=_0x369575['unitId'],_0x1fdab6=_0x369575[_0xecc5f0(0xec)];if(_0x1bceb7[_0xecc5f0(0xed)]!==_0x1d25c7||_0x1bceb7[_0xecc5f0(0xdd)]!==_0x1fdab6)continue;const _0x5bd74f=_0x369575['range'];if(_0x1bceb7['inRangeData'](_0x5bd74f)){_0x4936a4[_0xecc5f0(0x10f)](_0x478e9a);break;}}return _0x4936a4;}[_0x18a882(0xf5)](){const _0x19b539=_0x18a882;this[_0x19b539(0xd6)][_0x19b539(0xa1)]();}['_endFormulaDependencyTreeModel'](){const _0x8c4a1f=_0x18a882;this[_0x8c4a1f(0x104)][_0x8c4a1f(0x76)](),this['_dependencyTreeCache'][_0x8c4a1f(0x76)](),this[_0x8c4a1f(0xd6)][_0x8c4a1f(0xc5)]();}}class Se extends _0x3a2454{async['_apply'](_0x4fb3c1=!0x1){const _0x5725df=_0x18a882;_0x4fb3c1?this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x140)]):this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]());const _0x2d92ff=await this[_0x5725df(0x8e)][_0x5725df(0x10e)](this['_isCalculateTreeModel']),_0x4052ab=this[_0x5725df(0xb7)];_0x4fb3c1?(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x8b)]),this['_runtimeService'][_0x5725df(0xdb)](_0x2d92ff[_0x5725df(0x141)])):(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['START_CALCULATION']),this[_0x5725df(0xe8)][_0x5725df(0xef)](_0x2d92ff['length'])),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]());let _0x230e9e=[];const _0x3bacec=this[_0x5725df(0xbf)][_0x5725df(0xab)](_0x38415a),_0x5da06d=(_0x3bacec==null?void 0x0:_0x3bacec[_0x5725df(0x77)])||_0x31e581;let _0x1269f1=0x0;const _0x2d9762=_0x2d92ff[_0x5725df(0x141)];for(;_0x2d92ff[_0x5725df(0x141)]>0x0;){const _0x23dd14=_0x2d92ff[_0x5725df(0xcb)](),_0x2107ef=_0xe33219(_0x23dd14[_0x5725df(0xed)],_0x23dd14[_0x5725df(0x13b)],this[_0x5725df(0x125)],this[_0x5725df(0x134)],this[_0x5725df(0xe7)]),_0x51dcf8={'node':_0x2107ef,'refOffsetX':_0x23dd14[_0x5725df(0x102)],'refOffsetY':_0x23dd14[_0x5725df(0xbe)]},_0x599388=_0x23dd14[_0x5725df(0x123)];if(_0x1269f1%_0x5da06d===0x0&&(await new Promise(_0x14983f=>{const _0x28714c=_0x5725df,_0x1e9b7a=_0x21c242(_0x14983f);_0x230e9e[_0x28714c(0xa6)](_0x1e9b7a);}),_0x4fb3c1?(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x119)]),this[_0x5725df(0xe8)]['setCompletedArrayFormulasCount'](_0x1269f1+0x1)):(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x5725df(0x126)](_0x1269f1+0x1)),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]()),this[_0x5725df(0xe8)][_0x5725df(0xc0)]()||_0x51dcf8==null&&_0x599388==null)){this[_0x5725df(0xe8)]['setFormulaExecuteStage'](_0x4b1a97[_0x5725df(0x8a)]),this['_runtimeService'][_0x5725df(0xfd)](),this[_0x5725df(0x7d)]['next'](this['_runtimeService'][_0x5725df(0x96)]());return;}this['_runtimeService'][_0x5725df(0xdf)](_0x23dd14[_0x5725df(0xe2)],_0x23dd14['column'],_0x23dd14[_0x5725df(0xb0)],_0x23dd14[_0x5725df(0x93)],_0x23dd14[_0x5725df(0xdd)],_0x23dd14['unitId']);let _0x311f69;if(_0x599388!=null&&_0x23dd14['featureId']!=null){const {runtimeCellData:_0x5b2f6a,dirtyRanges:_0x125bd3}=_0x599388(this[_0x5725df(0xe7)]['getDirtyData'](),this['_runtimeService'][_0x5725df(0x96)]());this[_0x5725df(0xe8)]['setRuntimeFeatureCellData'](_0x23dd14[_0x5725df(0xf0)],_0x5b2f6a),this['_runtimeService'][_0x5725df(0xd7)](_0x23dd14[_0x5725df(0xf0)],_0x125bd3);}else _0x51dcf8!=null&&(_0x4052ab[_0x5725df(0x86)](_0x51dcf8[_0x5725df(0xd3)])?_0x311f69=await _0x4052ab['executeAsync'](_0x51dcf8):_0x311f69=_0x4052ab[_0x5725df(0xc3)](_0x51dcf8),_0x23dd14[_0x5725df(0x11a)]!=null?this[_0x5725df(0xe8)]['setRuntimeOtherData'](_0x23dd14['formulaId'],_0x23dd14[_0x5725df(0x102)],_0x23dd14[_0x5725df(0xbe)],_0x311f69):this['_runtimeService'][_0x5725df(0xb4)](_0x311f69));_0x2107ef[_0x5725df(0x12d)](),_0x1269f1++;}return _0x230e9e[_0x5725df(0xfa)](_0x2ae257=>_0x2ae257()),_0x230e9e=[],_0x2d9762>0x0?this[_0x5725df(0xe8)]['markedAsSuccessfullyExecuted']():_0x4fb3c1||this[_0x5725df(0xe8)][_0x5725df(0x138)](),this['_runtimeService'][_0x5725df(0x96)]();}}class Be extends _0x703b75{constructor(){const _0x4c4df6=_0x18a882;super(...arguments),D(this,_0x4c4df6(0x78),new Map()),D(this,_0x4c4df6(0x99),new _0x4173ae(!0x0));}[_0x18a882(0x10b)](){const _0x323454=_0x18a882;this[_0x323454(0x12f)][_0x323454(0x76)](),this[_0x323454(0xb6)][_0x323454(0x76)](),this[_0x323454(0x13a)][_0x323454(0x76)](),this[_0x323454(0x99)][_0x323454(0x76)](),this[_0x323454(0x78)]['clear'](),this[_0x323454(0xf4)](),this[_0x323454(0xcf)][_0x323454(0x76)]();}[_0x18a882(0xca)](_0x1e5c7c,_0xe761de,_0x24eb5b,_0x41adb5){const _0x10d468=_0x18a882;this[_0x10d468(0x12f)][_0x10d468(0x7b)](_0x1e5c7c)||this[_0x10d468(0x12f)]['set'](_0x1e5c7c,new Map());const _0x5dc733=this[_0x10d468(0x12f)]['get'](_0x1e5c7c);_0x5dc733['has'](_0xe761de)||_0x5dc733[_0x10d468(0xdc)](_0xe761de,new Map());const _0x11ca13=_0x5dc733[_0x10d468(0x10d)](_0xe761de);_0x11ca13['has'](_0x24eb5b)||_0x11ca13[_0x10d468(0xdc)](_0x24eb5b,new _0x4e276a()),_0x11ca13['get'](_0x24eb5b)[_0x10d468(0xb8)](_0x41adb5[_0x10d468(0x102)],_0x41adb5['refOffsetY'],_0x41adb5[_0x10d468(0x9d)]);}[_0x18a882(0xc6)](_0x112fc6,_0x26412d,_0x3e186f){const _0x9f6590=_0x18a882,_0x4cf7e4=this['_otherFormulaData'][_0x9f6590(0x10d)](_0x112fc6);if(_0x4cf7e4&&_0x4cf7e4['has'](_0x26412d)){const _0x5cbe66=_0x4cf7e4[_0x9f6590(0x10d)](_0x26412d);_0x3e186f[_0x9f6590(0xfa)](_0x3753e8=>{const _0x15e87b=_0x9f6590,_0x190822=_0x5cbe66[_0x15e87b(0x10d)](_0x3753e8);_0x190822!=null&&(_0x190822['forValue']((_0x5332e5,_0x59557f,_0x2730ac)=>{this['_removeDependencyRTreeCache'](_0x2730ac),this['_removeAllTreeMap'](_0x2730ac);}),_0x5cbe66[_0x15e87b(0xcc)](_0x3753e8),this['_otherFormulaDataMainData'][_0x15e87b(0xcc)](_0x3753e8));}),_0x5cbe66[_0x9f6590(0xb2)]===0x0&&_0x4cf7e4[_0x9f6590(0xcc)](_0x26412d),_0x4cf7e4[_0x9f6590(0xb2)]===0x0&&this[_0x9f6590(0x12f)]['delete'](_0x112fc6);}}[_0x18a882(0xe4)](_0x160766,_0x333c37){const _0x1b3d3e=_0x18a882,_0x5f569f=this['_otherFormulaData'][_0x1b3d3e(0x10d)](_0x160766);if(_0x333c37&&_0x5f569f&&_0x5f569f[_0x1b3d3e(0x7b)](_0x333c37)){const _0xcc6e20=_0x5f569f[_0x1b3d3e(0x10d)](_0x333c37);this[_0x1b3d3e(0xa4)](_0x160766,_0x333c37);for(const _0x29ef28 of _0xcc6e20[_0x1b3d3e(0xd4)]()){const _0x5edee4=_0xcc6e20[_0x1b3d3e(0x10d)](_0x29ef28);_0x5edee4!=null&&(_0x5edee4[_0x1b3d3e(0x109)]((_0xaa74d5,_0x7ad09c,_0xc248ba)=>{const _0x1d6b34=_0x1b3d3e;this[_0x1d6b34(0x78)]['get'](_0xc248ba)&&this[_0x1d6b34(0xd2)](_0xc248ba);}),this[_0x1b3d3e(0xcf)][_0x1b3d3e(0xcc)](_0x29ef28));}_0xcc6e20['clear']();}else{if(_0x5f569f){for(const _0x4bb1ea of _0x5f569f['keys']()){const _0x48acb1=_0x5f569f[_0x1b3d3e(0x10d)](_0x4bb1ea);this[_0x1b3d3e(0xa4)](_0x160766,_0x4bb1ea);for(const _0x1116ea of _0x48acb1[_0x1b3d3e(0xd4)]()){const _0x192ed7=_0x48acb1[_0x1b3d3e(0x10d)](_0x1116ea);_0x192ed7!=null&&(_0x192ed7[_0x1b3d3e(0x109)]((_0x1f7302,_0x26c74f,_0x1a57cb)=>{const _0x3a8ce2=_0x1b3d3e;this['_allTreeMap'][_0x3a8ce2(0x10d)](_0x1a57cb)&&this[_0x3a8ce2(0xd2)](_0x1a57cb);}),this[_0x1b3d3e(0xcf)][_0x1b3d3e(0xcc)](_0x1116ea));}}this['_otherFormulaData']['delete'](_0x160766);}}}[_0x18a882(0xa7)](_0x3a5454,_0x1b5c04,_0x2a85ba,_0x1d60ac){const _0x528493=_0x18a882;this['_featureFormulaData']['has'](_0x3a5454)||this[_0x528493(0xb6)][_0x528493(0xdc)](_0x3a5454,new Map());const _0x27de2f=this[_0x528493(0xb6)][_0x528493(0x10d)](_0x3a5454);_0x27de2f[_0x528493(0x7b)](_0x1b5c04)||_0x27de2f[_0x528493(0xdc)](_0x1b5c04,new Map()),_0x27de2f[_0x528493(0x10d)](_0x1b5c04)[_0x528493(0xdc)](_0x2a85ba,_0x1d60ac[_0x528493(0x9d)]);}[_0x18a882(0xb5)](_0x54a183,_0x3308ef,_0x1312c3){const _0x154f4c=_0x18a882,_0x16f1d4=this[_0x154f4c(0xb6)]['get'](_0x54a183);if(_0x16f1d4&&_0x16f1d4[_0x154f4c(0x7b)](_0x3308ef)){const _0x1271b4=_0x16f1d4[_0x154f4c(0x10d)](_0x3308ef);_0x1312c3[_0x154f4c(0xfa)](_0x238004=>{const _0x120fd5=_0x154f4c,_0x5a26a0=_0x1271b4[_0x120fd5(0x10d)](_0x238004);_0x5a26a0!=null&&(this[_0x120fd5(0x82)](_0x5a26a0),_0x1271b4[_0x120fd5(0xcc)](_0x238004),this[_0x120fd5(0xd2)](_0x5a26a0));});}}[_0x18a882(0x79)](_0x433bae,_0x1f67c6){const _0x512b77=_0x18a882,_0xff263c=this[_0x512b77(0xb6)][_0x512b77(0x10d)](_0x433bae);if(_0x1f67c6&&_0xff263c&&_0xff263c['has'](_0x1f67c6)){const _0x3e61c9=_0xff263c[_0x512b77(0x10d)](_0x1f67c6);this['_removeDependencyRTreeCacheById'](_0x433bae,_0x1f67c6),_0x3e61c9[_0x512b77(0xfa)](_0x20563c=>{const _0x1de0be=_0x512b77;_0x20563c!=null&&this[_0x1de0be(0xd2)](_0x20563c);}),_0x3e61c9['clear']();}else _0xff263c&&(_0xff263c[_0x512b77(0xfa)]((_0x475eb4,_0x212e72)=>{const _0x4d122b=_0x512b77;this[_0x4d122b(0xa4)](_0x433bae,_0x212e72),_0x475eb4[_0x4d122b(0xfa)](_0x3eabe9=>{const _0x18ae80=_0x4d122b;_0x3eabe9!=null&&this[_0x18ae80(0xd2)](_0x3eabe9);});}),this[_0x512b77(0xb6)]['delete'](_0x433bae));}[_0x18a882(0xe6)](_0x1abf2e,_0x59ca78,_0x39409e,_0x2c17ae,_0x1591d7){const _0x3814ca=_0x18a882;this[_0x3814ca(0x13a)][_0x3814ca(0x7b)](_0x1abf2e)||this['_formulaData'][_0x3814ca(0xdc)](_0x1abf2e,new Map());const _0x5b32e9=this['_formulaData'][_0x3814ca(0x10d)](_0x1abf2e);_0x5b32e9['has'](_0x59ca78)||_0x5b32e9[_0x3814ca(0xdc)](_0x59ca78,new _0x4e276a()),_0x5b32e9[_0x3814ca(0x10d)](_0x59ca78)['setValue'](_0x39409e,_0x2c17ae,_0x1591d7['treeId']);}['removeFormulaDependency'](_0xbc2a65,_0x256e54,_0x43b4e3,_0x1a418c){const _0x54fd60=_0x18a882,_0x312b78=this['_formulaData']['get'](_0xbc2a65);if(_0x312b78&&_0x312b78[_0x54fd60(0x7b)](_0x256e54)){const _0x1d9bd0=_0x312b78[_0x54fd60(0x10d)](_0x256e54),_0x201080=_0x1d9bd0[_0x54fd60(0xb3)](_0x43b4e3,_0x1a418c);if(_0x201080==null)return;this[_0x54fd60(0x82)](_0x201080),_0x1d9bd0['realDeleteValue'](_0x43b4e3,_0x1a418c),this[_0x54fd60(0xd2)](_0x201080);}}['clearFormulaDependency'](_0x2a3fc5,_0x49d5fc){const _0x346e1b=_0x18a882,_0x394e99=this[_0x346e1b(0x13a)]['get'](_0x2a3fc5);if(_0x49d5fc&&_0x394e99&&_0x394e99[_0x346e1b(0x7b)](_0x49d5fc)){const _0x1c0e7b=_0x394e99[_0x346e1b(0x10d)](_0x49d5fc);this[_0x346e1b(0xa4)](_0x2a3fc5,_0x49d5fc),_0x1c0e7b['forValue']((_0x37c9d2,_0x29027b,_0x289b9a)=>{if(_0x289b9a==null)return!0x0;this['_removeAllTreeMap'](_0x289b9a);}),_0x1c0e7b['reset']();}else _0x394e99&&(_0x394e99[_0x346e1b(0xfa)]((_0x56eb08,_0x1d6f34)=>{const _0x5a15b6=_0x346e1b;this['_removeDependencyRTreeCacheById'](_0x2a3fc5,_0x1d6f34),_0x56eb08[_0x5a15b6(0x109)]((_0x1e61b0,_0x4adb55,_0x19116d)=>{const _0x24e4d4=_0x5a15b6;if(_0x19116d==null)return!0x0;this[_0x24e4d4(0xd2)](_0x19116d);});}),this['_formulaData'][_0x346e1b(0xcc)](_0x2a3fc5));}[_0x18a882(0x82)](_0x654a62){const _0x1d0875=_0x18a882;if(_0x654a62==null)return;const _0xf6110c=this['_allTreeMap'][_0x1d0875(0x10d)](_0x654a62);if(_0xf6110c){const _0x126b70=[];for(const [_0x4c6096,_0x37b153]of _0xf6110c)for(const [_0x3605aa,_0x12badf]of _0x37b153)_0x126b70[_0x1d0875(0xa6)]({'unitId':_0x4c6096,'sheetId':_0x3605aa,'range':_0x12badf,'id':_0x654a62});this['_dependencyRTreeCache']['bulkRemove'](_0x126b70);}}[_0x18a882(0x12e)](_0x2a723a,_0x32f5cf){const _0x4d6706=_0x18a882,_0x516144=this[_0x4d6706(0x11c)][_0x4d6706(0x10d)](_0x2a723a);if(_0x516144){const _0x3073e0=_0x516144[_0x4d6706(0x10d)](_0x32f5cf);if(_0x3073e0){for(const _0x538c61 of _0x3073e0)this[_0x4d6706(0x82)](_0x538c61),this[_0x4d6706(0xd2)](_0x538c61);_0x3073e0['clear']();}}}['openKdTree'](){const _0x44e79e=_0x18a882;this[_0x44e79e(0x99)][_0x44e79e(0xa1)]();}['closeKdTree'](){const _0x2a1ed6=_0x18a882;this[_0x2a1ed6(0x99)][_0x2a1ed6(0xc5)]();}[_0x18a882(0xd2)](_0x36751b){const _0x4d8176=_0x18a882;_0x36751b!=null&&this[_0x4d8176(0x78)][_0x4d8176(0xcc)](_0x36751b);}['_addAllTreeMap'](_0x3adaf8){const _0xdb4031=_0x18a882;var _0x2c0bfd,_0x3b11c5;const _0x31ebb7=_0x3adaf8[_0xdb4031(0xbb)];let _0x313acc=this[_0xdb4031(0x78)][_0xdb4031(0x10d)](_0x3adaf8['treeId']);for(let _0x5b63db=0x0;_0x5b63db<_0x31ebb7[_0xdb4031(0x141)];_0x5b63db++){const _0x5145a4=_0x31ebb7[_0x5b63db];let {unitId:_0x2f026c,sheetId:_0x3d736b,range:_0x31c696}=_0x5145a4;_0x313acc||(_0x313acc=new Map(),this[_0xdb4031(0x78)]['set'](_0x3adaf8[_0xdb4031(0x9d)],_0x313acc)),_0x313acc[_0xdb4031(0x7b)](_0x2f026c)||_0x313acc[_0xdb4031(0xdc)](_0x2f026c,new Map());const _0x1f57ac=(_0x2c0bfd=_0x313acc==null?void 0x0:_0x313acc[_0xdb4031(0x10d)](_0x2f026c))==null?void 0x0:_0x2c0bfd[_0xdb4031(0x10d)](_0x3d736b);_0x1f57ac&&(_0x31c696={'startRow':Math[_0xdb4031(0xa0)](_0x31c696[_0xdb4031(0x12b)],_0x1f57ac[_0xdb4031(0x12b)]),'startColumn':Math[_0xdb4031(0xa0)](_0x31c696['startColumn'],_0x1f57ac['startColumn']),'endRow':Math['max'](_0x31c696['endRow'],_0x1f57ac[_0xdb4031(0x139)]),'endColumn':Math['max'](_0x31c696['endColumn'],_0x1f57ac[_0xdb4031(0xd1)])}),(_0x3b11c5=_0x313acc[_0xdb4031(0x10d)](_0x2f026c))==null||_0x3b11c5[_0xdb4031(0xdc)](_0x3d736b,_0x31c696);}}}var Re=Object['getOwnPropertyDescriptor'],we=(_0xc00b24,_0x313a8f,_0x54820b,_0x332fd5)=>{const _0x3252ee=_0x18a882;for(var _0x3c3d40=_0x332fd5>0x1?void 0x0:_0x332fd5?Re(_0x313a8f,_0x54820b):_0x313a8f,_0x10aefa=_0xc00b24[_0x3252ee(0x141)]-0x1,_0x5dc54b;_0x10aefa>=0x0;_0x10aefa--)(_0x5dc54b=_0xc00b24[_0x10aefa])&&(_0x3c3d40=_0x5dc54b(_0x3c3d40)||_0x3c3d40);return _0x3c3d40;};function _0x3014(_0x893fef,_0x286635){_0x893fef=_0x893fef-0x74;const _0x4adc44=_0x4adc();let _0x3014fa=_0x4adc44[_0x893fef];return _0x3014fa;}const Ye=Number[_0x18a882(0xc1)](0x694fb5cc);let H=class extends _0x522c98{['_initializeWithOverride'](){const _0x22a4f2=_0x18a882;var _0x19b1fd,_0x42d76f;this['_initLicenseValid']()?(this[_0x22a4f2(0xe0)]['add']([_0x3ad90e,{'useClass':Oe}]),(_0x19b1fd=this[_0x22a4f2(0x9e)])!=null&&_0x19b1fd[_0x22a4f2(0x131)]||[[_0x365a0d,{'useClass':Se}],[_0x146aa4,{'useClass':Be}],[_0x35d465,{'useClass':xe}]][_0x22a4f2(0xfa)](_0x4a91af=>this['_injector'][_0x22a4f2(0x10f)](_0x4a91af))):(this['_injector']['add']([_0x3ad90e,{'useClass':_0x3ad90e}]),(_0x42d76f=this[_0x22a4f2(0x9e)])!=null&&_0x42d76f[_0x22a4f2(0x131)]||[[_0x365a0d,{'useClass':_0x3a2454}],[_0x146aa4,{'useClass':_0x40b5b5}],[_0x35d465,{'useClass':_0x9f69d5}]][_0x22a4f2(0xfa)](_0x579ecf=>this['_injector'][_0x22a4f2(0x10f)](_0x579ecf)));}[_0x18a882(0xd5)](){const _0x4f24e8=_0x18a882;var _0x50a2c9;const _0x520ef9=(_0x50a2c9=this['_configService'][_0x4f24e8(0xab)](_0x52618a))!=null?_0x50a2c9:{},{ls:_0x150331,pbk:_0x1bd61e}=_0x520ef9;if(!_0x150331||!_0x1bd61e)return!0x1;const _0x2e7b76=_0xe2742e(ve,Me),_0x294d48=new Function(_0x4f24e8(0xde)+_0x2e7b76)()(_0x150331,_0x1bd61e),_0xc3c461=_0x294d48[_0x4f24e8(0x90)];return _0x294d48[_0x4f24e8(0x7c)]&&_0xe5c2af(_0xc3c461,'sf',Ye)?_0x1f6530(_0xc3c461,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=we([_0x2a821b(_0x4be509)],H);function _0x4adc(){const _0x34fccc=['error','startRow','_otherFormulaManagerService','resetCalculationState','removeFormulaDependencyByDefinedName','_otherFormulaData','searchDependency','notExecuteFormula','5EasDFy','join','_astTreeBuilder','_getDependencyTreeChildrenIds','_traverse','\x22\x20is\x20duplicated.','markedAsNoFunctionsExecuted','endRow','_formulaData','formula','getOtherFormulaDependency','_xlfn.','getChildren','FEATURE_FORMULA','START_DEPENDENCY_ARRAY_FORMULA','length','treeBuilder','_getCurNodeTypeForExprTree','defineProperty','endsWith','clear','intervalCount','_allTreeMap','clearFeatureFormulaDependency','COLON','has','valid','_executionCompleteListener$','dispose','featureDirtyRanges','_generateNewFunctionString','_updateRangeFlatten','_removeDependencyRTreeCache','_createFDtree','_convertDirtyRangesToUnitRange','_resetPrefix','checkAsyncNode','Lambda\x20parameter\x20name\x20\x22','2115816cQrOlB','5613957QxXTon','IDLE','START_CALCULATION_ARRAY_FORMULA','addFormulaDependencyByDefinedName','symbol','_formulaDependencyGenerator','getDirtyRanges','message','children','_handleChildrenForExprTree','columnCount','_getTableNameFromStructuredRef','bulkSearch','getAllRuntimeData','resolve','_checkIsCycleDependency','_dependencyRTreeCache','isCache','getFormulaData','startsWith','treeId','_config','clearArrayObjectCache','min','openKdTree','_checkColonNodeForExprTree','isArray','_removeDependencyRTreeCacheById','dependencySheetName','push','addFeatureFormulaDependency','clearFormulaDependency','addOtherFormulaDependencyMainData','startIndex','getConfig','slice','945534gLWozq','/*\x20bGwBgY-rBGOawb\x20Xcblbc-Yb9XwOYb\x20*/l6gfYBmg\x20rbfc4XYBmg(wBfbgGb,\x20X6awBfQb4)\x20{\x20\x20\x20\x20Yc4\x20{\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20wBfbgGbCglmxOcYdccO4\x20=\x20wBfbgGb.GXwBY(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20mcBKBgqbGGOKb\x20=\x20yZn0.XOcGb(OYma(wBfbgGbCglmxOcYdccO4[8]));\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(!mcBKBgqbGGOKb.6r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mcBKBgqbGGOKb.6r\x20=\x20069abc(wBfbgGbCglmxOcYdccO4[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGUmcAbc\x20=\x20Y4Xbml\x20UmcAbciwmaOwZfmXb\x20!==\x20\x276grblBgbr\x27\x20&&\x20Gbwl\x20BgGYOgfbml\x20UmcAbciwmaOwZfmXb;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGVcm5Gbc\x20=\x20Y4Xbml\x205Bgrm5\x20!==\x20\x276grblBgbr\x27\x20&&\x20Y4Xbml\x205Bgrm5.wmfOYBmg\x20!==\x20\x276grblBgbr\x27;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20fmgYbMY\x20=\x20BGUmcAbc\x20?\x20Gbwl\x20:\x20(BGVcm5Gbc\x20?\x205Bgrm5\x20:\x20KwmaOwkpBG);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[8]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(9bGGOKbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[1]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(GBKgOY6cbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgROwBr\x20=\x20fmgYbMY.__WbcBl4__(GBKgOY6cb,\x209bGGOKb,\x20X6awBfQb4);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20rm9OBg\x20=\x20mcBKBgqbGGOKb.r9;\x20\x20\x20\x20\x20\x20\x20\x20l6gfYBmg\x20BGem9OBgqOYfpBgK(XOYYbcg:\x20GYcBgK,\x20pmGY:\x20GYcBgK):\x20ammwbOg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg\x20===\x20pmGY)\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg.GYOcYGUBYp(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20G6llBM\x20=\x20XOYYbcg.GwBfb(8);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20G6llBM\x20===\x20pmGY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\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\x20Bl\x20(G6llBM\x20&&\x20!pmGY.GYOcYGUBYp(\x27.\x27)\x20&&\x20pmGY.bgrGUBYp(\x27.\x27\x20+\x20G6llBM))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\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\x20cbY6cg\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wbY\x20rm9OBgROwBr\x20=\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(BGVcm5Gbc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20(rm9OBg\x20&&\x20rm9OBg.wbgKYp)\x20?\x20rm9OBg.Gm9b((r9CYb9)\x20=>\x20BGem9OBgqOYfpBgK(r9CYb9,\x20wmfOYBmg.pmGYgO9b))\x20:\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(wmfOYBmg.pmGYgO9b\x20===\x20\x27wmfOwpmGY\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20bwGb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20WOwBr\x20=\x20GBKgROwBr\x20&&\x20rm9OBgROwBr;\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20mcBKBgqbGGOKb,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20fOYfp\x20(bccmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr:\x20lOwGb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getToken','rowCount','hasOtherFormulaDataMainData','size','getValue','setRuntimeData','removeFeatureFormulaDependency','_featureFormulaData','_interpreter','setValue','isSkip','_getFeatureFormulaTree','rangeList','_xlfnPrefix','_getAllTreeList','refOffsetY','_configService','isStopExecution','parseInt','_hasNewExcelFunction','execute','toUpperCase','closeKdTree','removeOtherFormulaDependency','string','_registerOtherFormulas','values','addOtherFormulaDependency','pop','delete','_getUpdateTreeListAndMakeDependency','_clearFunctionString','_otherFormulaDataMainData','trim','endColumn','_removeAllTreeMap','node','keys','_initLicenseValid','_dependencyManagerService','setRuntimeFeatureRange','OTHER_FORMULA','207467vyoJFD','_getFirstCellOfRange','setTotalArrayFormulasToCalculate','set','subUnitId','return\x20','setCurrent','_injector','from','row','getOtherFormulaData','clearOtherFormulaDependency','setSkip','addFormulaDependency','_currentConfigService','_runtimeService','_generateExprTree','22983370haQvEn','_clearPrefix','sheetId','unitId','MINUS','setTotalFormulasToCalculate','featureId','setFormulaExecuteStage','type','getNewFormulaWithPrefix','_restDependencyTreeId','_startFormulaDependencyTreeModel','_calculateRunList','dirtyRanges','_handleTextNodeForExprTree','41950SWZvMw','forEach','_handleNewFunctionChild','getFeatureFormulaDependency','markedAsStopFunctionsExecuted','8GkRTEx','_getAllDependencyJson','getRuntimeState','isAdded','refOffsetX','_generateTreeList','_formulaDependencyTreeModel','49aSeHVH','_getDependencyTreeParenIds','getStartIndex','_checkAddBracketForMinus','forValue','getFormulaDependency','reset','toRTreeItem','get','generate','add','_lambdaFunctionParameterSet','_getTreeById','getDirtyNameMap','_handleLambdaForExprTree','isForceCalculate','value','1920632bxrqCh','getExcludedRange','next','CURRENTLY_CALCULATING_ARRAY_FORMULA','formulaId','_currentUnitId','_definedNameMap','_registerFormulas','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_dependencyTreeCache','isDirty','setDependencyTreeModelData','_xlpmPrefix','getDirtyData','_xlpm.','_lexer','setCompletedFormulasCount','setAdded','_createVirtualFDtree','Let\x20variable\x20name\x20\x22'];_0x4adc=function(){return _0x34fccc;};return _0x4adc();}export{Oe as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
1
+ const _0x2d66b2=_0x6d4a;(function(_0x250211,_0x46510f){const _0x4401fd=_0x6d4a,_0x4c5b84=_0x250211();while(!![]){try{const _0x19e89b=-parseInt(_0x4401fd(0xff))/0x1*(parseInt(_0x4401fd(0x178))/0x2)+-parseInt(_0x4401fd(0x140))/0x3*(-parseInt(_0x4401fd(0x18d))/0x4)+-parseInt(_0x4401fd(0x196))/0x5+-parseInt(_0x4401fd(0x144))/0x6+parseInt(_0x4401fd(0xe7))/0x7+parseInt(_0x4401fd(0xfe))/0x8*(-parseInt(_0x4401fd(0x135))/0x9)+parseInt(_0x4401fd(0x182))/0xa;if(_0x19e89b===_0x46510f)break;else _0x4c5b84['push'](_0x4c5b84['shift']());}catch(_0x3b158d){_0x4c5b84['push'](_0x4c5b84['shift']());}}}(_0x45a3,0xee0a6));var se=Object[_0x2d66b2(0x19d)],ae=(_0x42bb73,_0x7224c6,_0x3ac22c)=>_0x7224c6 in _0x42bb73?se(_0x42bb73,_0x7224c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ac22c}):_0x42bb73[_0x7224c6]=_0x3ac22c,A=(_0x145b4f,_0x580e08,_0x2e8675)=>ae(_0x145b4f,typeof _0x580e08!='symbol'?_0x580e08+'':_0x580e08,_0x2e8675);import{LexerTreeBuilder as _0x490cd6,ErrorType as _0x37eb79,DEFAULT_TOKEN_TYPE_ROOT as _0x4341bd,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3f2112,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3a8ae9,NEW_EXCEL_FUNCTIONS as _0x58f14e,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x1f27dd,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x7d15e6,matchToken as _0x547c5b,SUFFIX_TOKEN_SET as _0x2463a5,prefixToken as _0x14cb64,LexerNode as _0x41957b,OPERATOR_TOKEN_SET as _0x52e4b5,isReferenceString as _0x5d9881,splitTableStructuredRef as _0x1af6c9,FormulaDependencyGenerator as _0x434860,generateRandomDependencyTreeId as _0x1e4c2e,FormulaDependencyTree as _0x1765a6,FormulaDependencyTreeType as _0x5479a4,FormulaDependencyTreeVirtual as _0x1a6ded,generateAstNode as _0x1a5c48,CalculateFormulaService as _0x4358e1,FormulaExecuteStageType as _0xe513f8,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1bc65b,DEFAULT_INTERVAL_COUNT as _0x285462,DependencyManagerBaseService as _0x3b9fad,UniverFormulaEnginePlugin as _0x297365,ICalculateFormulaService as _0x3a350d,IDependencyManagerService as _0x28ee34,IFormulaDependencyGenerator as _0x30360c,DependencyManagerService as _0x1549d3}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x5cef8e,LS_CONFIG_KEY as _0x4b9174,unshiftString as _0x2ebdc3,isFeatureAuthorizedWithinTime as _0x3de85d,getSheetFeatureLimit as _0x29991d}from'@univerjs-pro/license';import{ObjectMatrix as _0x597035,requestImmediateMacroTask as _0x211795,RTree as _0x42af3a,DependentOn as _0x575ea8}from'@univerjs/core';class De extends _0x490cd6{constructor(){const _0x5d2ae9=_0x2d66b2;super(...arguments),A(this,_0x5d2ae9(0x145),!0x1),A(this,'_lambdaFunctionParameterSet',new Set()),A(this,_0x5d2ae9(0xf9),_0x5d2ae9(0x11d)),A(this,_0x5d2ae9(0x101),_0x5d2ae9(0x126)),A(this,_0x5d2ae9(0x184),'');}[_0x2d66b2(0x150)](){const _0x56e277=_0x2d66b2;this['_xlpmPrefix']=_0x56e277(0x11d),this['_xlfnPrefix']=_0x56e277(0x126);}['_clearPrefix'](){const _0x26f42e=_0x2d66b2;this[_0x26f42e(0xf9)]='',this[_0x26f42e(0x101)]='';}['getNewFormulaWithPrefix'](_0x684921,_0xfdb0d2){const _0x5bfd12=_0x2d66b2,_0x3d6f0e=this[_0x5bfd12(0x175)](_0x684921,!0x1);if(!_0x3d6f0e||_0x3d6f0e===_0x37eb79[_0x5bfd12(0xe8)]||Array[_0x5bfd12(0xe0)](_0x3d6f0e))return null;const _0x552117=[];return this['_hasNewExcelFunction']=!0x1,this[_0x5bfd12(0x194)](_0x3d6f0e,_0x552117,_0xfdb0d2),this[_0x5bfd12(0x145)]?'='+_0x552117[_0x5bfd12(0x181)](''):null;}[_0x2d66b2(0x194)](_0x2b6499,_0x5d74b0,_0x461ed2){const _0x144125=_0x2d66b2,_0x2726cd=_0x2b6499[_0x144125(0x153)](),_0x1ff078=_0x2726cd[_0x144125(0x108)](),_0x3eb043=_0x1ff078[_0x144125(0x157)](),_0x41e638=this[_0x144125(0x152)](_0x3eb043),_0x49f263=_0x461ed2(_0x41e638);let _0x434205=0x0;_0x2726cd===_0x4341bd?_0x434205=0x3:_0x2726cd===_0x3f2112?_0x434205=0x4:_0x2726cd===_0x3a8ae9?_0x434205=0x5:_0x58f14e['has'](_0x41e638)?(_0x5d74b0[_0x144125(0x1a3)](''+this[_0x144125(0x101)]+_0x1ff078),this[_0x144125(0x145)]=!0x0):_0x3eb043===_0x1f27dd?(_0x5d74b0[_0x144125(0x1a3)](''+this[_0x144125(0x101)]+_0x1ff078),this[_0x144125(0x145)]=!0x0,_0x434205=0x2):_0x3eb043===_0x7d15e6?(_0x5d74b0['push'](''+this[_0x144125(0x101)]+_0x1ff078),this[_0x144125(0x145)]=!0x0,_0x434205=0x1):_0x3eb043===_0x547c5b[_0x144125(0x111)]?_0x434205=0x8:_0x2463a5[_0x144125(0x116)](_0x3eb043)?_0x434205=0x7:_0x3eb043===_0x14cb64['MINUS']?(this[_0x144125(0x14e)](_0x2b6499)&&(_0x434205=0x9),_0x5d74b0[_0x144125(0x1a3)](_0x2726cd)):(_0x5d74b0[_0x144125(0x1a3)](_0x2726cd),_0x434205=0xa),_0x49f263?(_0x434205!==0x2&&_0x434205!==0x1&&(_0x434205=0x6),_0x5d74b0[_0x144125(0x1a3)]('(')):_0x434205===0x9&&_0x5d74b0[_0x144125(0x1a3)]('(');const _0x20426c=_0x2b6499['getChildren'](),_0x400540=_0x20426c[_0x144125(0x121)];if(_0x434205===0x2){const _0x83adf8=_0x20426c[0x0];let _0xe7d84e=0x0;_0x83adf8 instanceof _0x41957b&&_0x83adf8[_0x144125(0x153)]()===_0x3a8ae9&&(_0xe7d84e=0x1);for(let _0x3e5cbf=_0xe7d84e;_0x3e5cbf<_0x400540-0x1;_0x3e5cbf++){const _0x5823b6=_0x20426c[_0x3e5cbf];if(_0x5823b6 instanceof _0x41957b){const _0xceee13=_0x5823b6['getChildren']()[0x0];typeof _0xceee13==_0x144125(0x134)&&(this[_0x144125(0xe4)][_0x144125(0x116)](_0xceee13)&&console[_0x144125(0x129)](_0x144125(0x14c)+_0xceee13+'\x22\x20is\x20duplicated.'),this[_0x144125(0xe4)]['add'](_0xceee13),_0x5d74b0[_0x144125(0x1a3)](''+this[_0x144125(0xf9)]+_0xceee13),this['_hasNewExcelFunction']=!0x0);}_0x5d74b0[_0x144125(0x1a3)](',');}this['_handleNewFunctionChild'](_0x20426c[_0x400540-0x1],_0x5d74b0,_0x461ed2),_0xe7d84e===0x1&&(_0x5d74b0['push'](')'),_0x5d74b0[_0x144125(0x1a3)]('('),this[_0x144125(0x194)](_0x83adf8,_0x5d74b0,_0x461ed2)),_0x5d74b0[_0x144125(0x1a3)](')');return;}else{if(_0x434205===0x1){for(let _0x5d95bb=0x0;_0x5d95bb<_0x400540-0x1;_0x5d95bb++){const _0x2dae3a=_0x20426c[_0x5d95bb];if(_0x2dae3a instanceof _0x41957b&&_0x5d95bb%0x2===0x0){const _0x52ee6e=_0x2dae3a[_0x144125(0xe3)]()[0x0];if(typeof _0x52ee6e=='string'){this[_0x144125(0xe4)][_0x144125(0x116)](_0x52ee6e)&&console[_0x144125(0x129)](_0x144125(0x136)+_0x52ee6e+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x144125(0xdd)](_0x52ee6e),_0x5d74b0[_0x144125(0x1a3)](''+this[_0x144125(0xf9)]+_0x52ee6e),this[_0x144125(0x145)]=!0x0,_0x5d74b0[_0x144125(0x1a3)](',');continue;}}if(this[_0x144125(0x114)](_0x2dae3a,_0x5d74b0,_0x461ed2),_0x2dae3a instanceof _0x41957b){const _0x3d7566=_0x20426c[_0x5d95bb+0x1];_0x3d7566&&_0x3d7566 instanceof _0x41957b&&_0x5d74b0[_0x144125(0x1a3)](',');}}this[_0x144125(0x114)](_0x20426c[_0x400540-0x1],_0x5d74b0,_0x461ed2),_0x5d74b0[_0x144125(0x1a3)](')');return;}else{if(_0x434205===0x8){const _0xd53024=_0x20426c[0x0],_0x2da97a=_0x20426c[0x1];this[_0x144125(0x114)](_0xd53024,_0x5d74b0,_0x461ed2),_0x5d74b0[_0x144125(0x1a3)](_0x2726cd),this[_0x144125(0x114)](_0x2da97a,_0x5d74b0,_0x461ed2);return;}}}for(let _0x1baf28=0x0;_0x1baf28<_0x400540;_0x1baf28++){const _0x29078d=_0x20426c[_0x1baf28];if(this['_handleNewFunctionChild'](_0x29078d,_0x5d74b0,_0x461ed2),_0x29078d instanceof _0x41957b){const _0x13ae41=_0x20426c[_0x1baf28+0x1];_0x13ae41&&_0x13ae41 instanceof _0x41957b&&_0x5d74b0['push'](',');}}_0x434205===0x7&&_0x5d74b0[_0x144125(0x1a3)](_0x2726cd),(_0x49f263||_0x434205===0x9)&&_0x5d74b0[_0x144125(0x1a3)](')');}['_handleNewFunctionChild'](_0x59c91e,_0x3992d8,_0x81506c){const _0x559f18=_0x2d66b2;_0x59c91e instanceof _0x41957b?this[_0x559f18(0x194)](_0x59c91e,_0x3992d8,_0x81506c):this[_0x559f18(0xe4)][_0x559f18(0x116)](_0x59c91e)?(_0x3992d8[_0x559f18(0x1a3)](''+this[_0x559f18(0xf9)]+_0x59c91e),this['_hasNewExcelFunction']=!0x0):_0x3992d8[_0x559f18(0x1a3)](_0x59c91e);}[_0x2d66b2(0x152)](_0x55fdc2){const _0x5efdec=_0x2d66b2;let _0x378254=_0x55fdc2['trim']();if(!_0x378254)return _0x378254;const _0x500508=_0x378254[0x0];if((_0x500508===_0x14cb64['AT']||_0x500508===_0x14cb64[_0x5efdec(0xeb)]||_0x500508===_0x14cb64[_0x5efdec(0xec)])&&(_0x378254=_0x378254[_0x5efdec(0xef)](0x1)),!_0x378254)return _0x378254;const _0x3ebeb7=_0x378254[_0x378254['length']-0x1];return _0x2463a5['has'](_0x3ebeb7)&&(_0x378254=_0x378254[_0x5efdec(0xef)](0x0,-0x1)),_0x378254;}[_0x2d66b2(0x14e)](_0x51b8c5){const _0x174897=_0x2d66b2,_0x314747=_0x51b8c5[_0x174897(0xe3)]()[0x0];if(!_0x314747||!(_0x314747 instanceof _0x41957b)||_0x51b8c5[_0x174897(0xe3)]()[_0x174897(0x121)]>0x1)return!0x1;const _0x2b4827=_0x314747['getChildren'](),_0x1f8573=_0x2b4827[_0x174897(0x121)];if(_0x1f8573===0x1)return!0x1;for(let _0x423269=0x0;_0x423269<_0x1f8573;_0x423269++){const _0x54b576=_0x2b4827[_0x423269];if(!(_0x54b576 instanceof _0x41957b)&&_0x52e4b5[_0x174897(0x116)](_0x54b576))return!0x0;}return!0x1;}[_0x2d66b2(0x18e)](_0x238035,_0x493ed0,_0x44e359,_0x2aad24,_0x24d6e9){const _0x398a6a=_0x2d66b2,_0x2c2d57=this[_0x398a6a(0x175)](_0x238035,!0x1);if(!_0x2c2d57||_0x2c2d57===_0x37eb79['VALUE']||Array[_0x398a6a(0xe0)](_0x2c2d57))return null;this[_0x398a6a(0x13f)](),this[_0x398a6a(0x184)]=_0x493ed0;const _0x3447a0=this[_0x398a6a(0x127)](_0x2c2d57,_0x44e359,_0x2aad24,_0x24d6e9);return this[_0x398a6a(0x184)]='',this[_0x398a6a(0x150)](),_0x3447a0;}[_0x2d66b2(0x127)](_0x3a75c2,_0x33b1ad,_0x39c689,_0x21b007){const _0x4c4126=_0x2d66b2,_0x263afd={'value':'','children':[],'startIndex':0x0};let _0x1ece90=_0x3a75c2;if(_0x1ece90 instanceof _0x41957b&&(_0x1ece90[_0x4c4126(0x153)]()===_0x4341bd||_0x1ece90['getToken']()===_0x3f2112)&&_0x1ece90[_0x4c4126(0xe3)]()['length']===0x1&&(_0x1ece90=_0x1ece90[_0x4c4126(0xe3)]()[0x0]),!(_0x1ece90 instanceof _0x41957b))return this[_0x4c4126(0x18b)](_0x1ece90,_0x39c689,_0x21b007);const _0x52d4f3=_0x1ece90[_0x4c4126(0xe3)](),_0x167bf1=_0x52d4f3[_0x4c4126(0x121)],_0x26118b=[];this[_0x4c4126(0x194)](_0x1ece90,_0x26118b,_0x33b1ad),_0x263afd[_0x4c4126(0x131)]=_0x26118b[_0x4c4126(0x181)](''),_0x263afd['startIndex']=_0x1ece90['getStartIndex']();const _0x4dc5f7=this['_getCurNodeTypeForExprTree'](_0x1ece90);if(_0x4dc5f7===0x2){const _0x34179a=_0x52d4f3[0x0];if(_0x34179a instanceof _0x41957b){if(_0x34179a[_0x4c4126(0x153)]()['trim']()!==_0x3a8ae9)return _0x263afd;this[_0x4c4126(0x12a)](_0x34179a,_0x263afd,_0x33b1ad,_0x39c689,_0x21b007);}return _0x263afd;}else{if(_0x4dc5f7===0x1){for(let _0x4a9a1d=0x0;_0x4a9a1d<_0x167bf1-0x1;_0x4a9a1d++){const _0x49f793=_0x52d4f3[_0x4a9a1d];if(_0x49f793 instanceof _0x41957b&&_0x4a9a1d%0x2===0x1){const _0x1f3bc9=_0x49f793[_0x4c4126(0xe3)]();if(_0x1f3bc9[_0x4c4126(0x121)]===0x1&&!(_0x1f3bc9[0x0]instanceof _0x41957b))continue;const _0x293289=this[_0x4c4126(0x127)](_0x49f793,_0x33b1ad,_0x39c689,_0x21b007);_0x293289&&_0x263afd[_0x4c4126(0x138)][_0x4c4126(0x1a3)](_0x293289);}}return _0x263afd;}else{if(_0x4dc5f7===0x8){const _0x3a6955=_0x52d4f3[0x0];if(_0x3a6955 instanceof _0x41957b){const _0x3d695c=_0x3a6955[_0x4c4126(0xe3)]()[0x0];_0x3d695c instanceof _0x41957b&&(_0x263afd[_0x4c4126(0x14d)]=_0x3d695c[_0x4c4126(0xfb)]());}if(this[_0x4c4126(0x11e)](_0x1ece90))return _0x263afd;}else{if(_0x4dc5f7===0x7){const _0x62513b=_0x52d4f3[0x0];if(_0x62513b instanceof _0x41957b){const _0x2d15c8=_0x62513b[_0x4c4126(0xe3)]()[0x0];_0x2d15c8 instanceof _0x41957b&&(_0x263afd['startIndex']=_0x2d15c8['getStartIndex']());}}}}}return this[_0x4c4126(0x142)](_0x52d4f3,_0x4dc5f7,_0x263afd,_0x33b1ad,_0x39c689,_0x21b007),_0x263afd;}[_0x2d66b2(0x142)](_0x5d654c,_0xd0e708,_0x201c83,_0xde5aef,_0x4b0888,_0x5172b1){const _0x1e80b3=_0x2d66b2;for(let _0x53babb=0x0;_0x53babb<_0x5d654c[_0x1e80b3(0x121)];_0x53babb++){let _0x2c89ee=_0x5d654c[_0x53babb];if(!(_0x2c89ee instanceof _0x41957b)){const _0x165582=this[_0x1e80b3(0x18b)](_0x2c89ee,_0x4b0888,_0x5172b1);_0x165582&&_0x201c83[_0x1e80b3(0x138)][_0x1e80b3(0x1a3)](_0x165582);continue;}const _0x3dba22=_0x2c89ee[_0x1e80b3(0xe3)]();if(_0x3dba22['length']===0x1&&!(_0x3dba22[0x0]instanceof _0x41957b)){const _0x14d25f=_0x3dba22[0x0];if(!_0x4b0888(this[_0x1e80b3(0x184)],_0x14d25f)&&!this[_0x1e80b3(0x15a)](_0x14d25f,_0x5172b1)&&!_0x5d9881(_0x14d25f))continue;}if(_0xd0e708===0x8){const _0x15213d=_0x3dba22[0x0];if(_0x15213d instanceof _0x41957b){const _0x367278=_0x15213d[_0x1e80b3(0x153)]()[_0x1e80b3(0x108)]();if(_0x5d9881(_0x367278))continue;_0x2c89ee=_0x15213d;}}const _0x1bf384=this['_generateExprTree'](_0x2c89ee,_0xde5aef,_0x4b0888,_0x5172b1);_0x1bf384&&_0x201c83[_0x1e80b3(0x138)]['push'](_0x1bf384);}}['_checkColonNodeForExprTree'](_0x212a37){const _0x5b3301=_0x2d66b2,_0x3cf963=_0x212a37[_0x5b3301(0xe3)]();if(_0x3cf963[_0x5b3301(0x121)]<0x2)return!0x1;const _0x1c422b=_0x3cf963[0x0],_0x28f53c=_0x3cf963[0x1];if(!(_0x1c422b instanceof _0x41957b)||!(_0x28f53c instanceof _0x41957b))return!0x1;const _0x2e4e9f=_0x1c422b[_0x5b3301(0xe3)]()[0x0],_0x36fa0f=_0x28f53c['getChildren']()[0x0];if(!(_0x2e4e9f instanceof _0x41957b)||!(_0x36fa0f instanceof _0x41957b))return!0x1;const _0x10c8db=_0x2e4e9f[_0x5b3301(0x153)]()[_0x5b3301(0x108)](),_0x99e887=_0x36fa0f[_0x5b3301(0x153)]()[_0x5b3301(0x108)]();return!!_0x5d9881(''+_0x10c8db+_0x547c5b[_0x5b3301(0x111)]+_0x99e887);}['_handleTextNodeForExprTree'](_0x2a20e7,_0x14d454,_0x12b4ae){const _0x4cd6dc=_0x2d66b2,_0x853120=_0x2a20e7[_0x4cd6dc(0x108)]();return _0x853120[_0x4cd6dc(0x168)]('{')&&_0x853120[_0x4cd6dc(0x18a)]('}')||_0x14d454(this[_0x4cd6dc(0x184)],_0x853120)||this[_0x4cd6dc(0x15a)](_0x853120,_0x12b4ae)||_0x5d9881(_0x853120)?{'value':_0x853120,'children':[],'startIndex':-0x1}:null;}[_0x2d66b2(0x15a)](_0x1b674a,_0x52dfa7){const _0x48b269=_0x2d66b2,{tableName:_0x1d8567}=_0x1af6c9(_0x1b674a);return _0x52dfa7(this[_0x48b269(0x184)],_0x1d8567)?_0x1d8567:null;}['_handleLambdaForExprTree'](_0x160afc,_0x3f0b60,_0x216f59,_0x122bcb,_0x305919){const _0x1662ee=_0x2d66b2,_0x35cda2=_0x160afc[_0x1662ee(0xe3)]();for(let _0x121c7e=0x0;_0x121c7e<_0x35cda2[_0x1662ee(0x121)];_0x121c7e++){const _0x50cc21=_0x35cda2[_0x121c7e];if(!(_0x50cc21 instanceof _0x41957b))continue;const _0x235796=_0x50cc21[_0x1662ee(0xe3)]();if(_0x235796[_0x1662ee(0x121)]===0x1&&!(_0x235796[0x0]instanceof _0x41957b))continue;const _0x30e984=this[_0x1662ee(0x127)](_0x50cc21,_0x216f59,_0x122bcb,_0x305919);_0x30e984&&_0x3f0b60[_0x1662ee(0x138)][_0x1662ee(0x1a3)](_0x30e984);}}['_getCurNodeTypeForExprTree'](_0x4c4a8a){const _0x14a437=_0x2d66b2,_0x24bee8=_0x4c4a8a[_0x14a437(0x153)](),_0x4e11bb=_0x24bee8[_0x14a437(0x108)]()[_0x14a437(0x157)]();let _0x5ebf5b=0x0;return _0x24bee8===_0x4341bd?_0x5ebf5b=0x3:_0x24bee8===_0x3f2112?_0x5ebf5b=0x4:_0x24bee8===_0x3a8ae9?_0x5ebf5b=0x5:_0x4e11bb===_0x1f27dd?_0x5ebf5b=0x2:_0x4e11bb===_0x7d15e6?_0x5ebf5b=0x1:_0x4e11bb===_0x547c5b['COLON']?_0x5ebf5b=0x8:_0x2463a5[_0x14a437(0x116)](_0x4e11bb)?_0x5ebf5b=0x7:_0x4e11bb===_0x14cb64[_0x14a437(0xeb)]?this[_0x14a437(0x14e)](_0x4c4a8a)&&(_0x5ebf5b=0x9):_0x5ebf5b=0xa,_0x5ebf5b;}}const Se={0x0:'I',0x1:'V',0x2:'o',0x3:'6',0x4:'w',0x5:'m',0x6:'1',0x7:'q',0x8:'M',0x9:'2','p':'0','J':'3','U':'4','E':'5','Z':'7','C':'8','X':'9','l':'a','F':'b','L':'c','S':'d','u':'e','w':'f','Y':'g','c':'h','A':'i','d':'j','b':'k','H':'l','t':'n','g':'p','Q':'r','r':'s','x':'t','s':'u','m':'v','j':'x','W':'y','N':'z','R':'A','O':'B','a':'C','o':'D','f':'E','V':'F','i':'G','k':'H','q':'J','z':'K','T':'L','e':'N','K':'O','M':'P','I':'Q','P':'R','y':'S','h':'T','v':'U','n':'W','G':'X','B':'Y','D':'Z'},ve=_0x2d66b2(0x19c);class Me extends _0x434860{constructor(){const _0x11e71e=_0x2d66b2;super(...arguments),A(this,_0x11e71e(0x13c),new Map());}[_0x2d66b2(0x155)](){const _0x10cf02=_0x2d66b2;super[_0x10cf02(0x155)](),this[_0x10cf02(0x13c)][_0x10cf02(0x125)]();}async[_0x2d66b2(0x188)](_0x49a7d5=!0x1){const _0x146a83=_0x2d66b2;this[_0x146a83(0xed)]();const _0x426b05=this[_0x146a83(0x19f)][_0x146a83(0x141)](),_0x20802c=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x44e0e2=this[_0x146a83(0x19f)][_0x146a83(0x161)]();_0x44e0e2!=null&&Object['keys'](_0x44e0e2)[_0x146a83(0xf5)](_0x58317f=>{const _0x36257e=_0x146a83;_0x58317f!=null&&Object[_0x36257e(0x151)](_0x44e0e2[_0x58317f])['forEach'](_0x377d19=>{const _0x29b5b2=_0x36257e;_0x377d19!=null&&(this['_dependencyManagerService'][_0x29b5b2(0x1a5)](_0x58317f,_0x377d19),this['_dependencyManagerService'][_0x29b5b2(0x1a2)](_0x58317f,_0x377d19),this[_0x29b5b2(0x159)]['clearFormulaDependency'](_0x58317f,_0x377d19));});});const _0x4dcf62=this[_0x146a83(0x19f)]['getUnitData']();await this[_0x146a83(0x104)](_0x426b05,_0x20802c,_0x4dcf62),this[_0x146a83(0x159)][_0x146a83(0x119)]();const _0x2b3fc0=this['_getUpdateTreeListAndMakeDependency'](),_0x3c0be1=this[_0x146a83(0x128)](_0x2b3fc0);return this[_0x146a83(0x132)](_0x3c0be1)&&this['_runtimeService'][_0x146a83(0x179)](),_0x49a7d5&&this[_0x146a83(0xf7)][_0x146a83(0x113)](this['_getAllDependencyJson'](Array[_0x146a83(0x13b)](this['_dependencyTreeCache'][_0x146a83(0x190)]()))),this[_0x146a83(0x13c)]['clear'](),this[_0x146a83(0x186)][_0x146a83(0x125)](),this[_0x146a83(0x159)]['closeKdTree'](),this[_0x146a83(0xf7)][_0x146a83(0x11f)](),Promise[_0x146a83(0x148)](_0x3c0be1);}[_0x2d66b2(0x16b)](_0x424f69,_0x2b1536){const _0x19dc90=_0x2d66b2,_0x50ee68=[_0x424f69];for(;_0x50ee68[_0x19dc90(0x121)]>0x0;){const _0x398e61=_0x50ee68[_0x50ee68[_0x19dc90(0x121)]-0x1];if((_0x2b1536['get'](_0x398e61)||0x0)===0x0){_0x2b1536['set'](_0x398e61,0x1);const _0x2993b0=this['_dependencyTreeCache'][_0x19dc90(0x14b)](_0x398e61);if(_0x2993b0==null){_0x2b1536[_0x19dc90(0x15c)](_0x398e61,0x2),_0x50ee68['pop']();continue;}const _0x1c5251=this[_0x19dc90(0x159)][_0x19dc90(0x15d)](_0x2993b0[_0x19dc90(0xe6)]());for(const _0xb16e73 of _0x1c5251){const _0x2be0b8=_0x2b1536['get'](_0xb16e73)||0x0;if(_0x2be0b8===0x1)return!0x0;_0x2be0b8===0x0&&_0x50ee68[_0x19dc90(0x1a3)](_0xb16e73);}}else _0x2b1536[_0x19dc90(0x15c)](_0x398e61,0x2),_0x50ee68[_0x19dc90(0x165)]();}return!0x1;}[_0x2d66b2(0x132)](_0x296bd6){const _0x2d9f84=_0x2d66b2,_0x1e9585=new Map();for(const _0x430afe of _0x296bd6)if(!_0x1e9585[_0x2d9f84(0x116)](_0x430afe[_0x2d9f84(0x117)])&&this[_0x2d9f84(0x16b)](_0x430afe[_0x2d9f84(0x117)],_0x1e9585))return!0x0;return _0x1e9585['clear'](),!0x1;}[_0x2d66b2(0x124)](_0x199e13,_0x50484d,_0x4787a8){const _0x5499a0=_0x2d66b2,{unitId:_0x585655,subUnitId:_0x52f41,dependencyRanges:_0x3d34fc,getDirtyData:_0x2781d7}=_0x4787a8,_0x49a21d=_0x50484d||_0x1e4c2e(this[_0x5499a0(0x159)]),_0x1d4015=new _0x1765a6(_0x49a21d);_0x1d4015[_0x5499a0(0x14f)]=_0x585655,_0x1d4015[_0x5499a0(0x17c)]=_0x52f41,_0x1d4015[_0x5499a0(0x164)]=_0x3d34fc,_0x1d4015['getDirtyData']=_0x2781d7;const _0x1485c1=_0x2781d7(this[_0x5499a0(0x19f)][_0x5499a0(0x1a1)](),this['_runtimeService'][_0x5499a0(0x158)]()),_0x3a69fa=this[_0x5499a0(0x19b)](_0x1485c1[_0x5499a0(0xe2)]);return _0x1d4015[_0x5499a0(0x109)]=_0x3a69fa,_0x1d4015[_0x5499a0(0x16d)]=_0x199e13,_0x1d4015[_0x5499a0(0x11c)]=_0x5479a4[_0x5499a0(0x160)],this['_dependencyManagerService'][_0x5499a0(0x147)](_0x585655,_0x52f41,_0x199e13,_0x1d4015),this[_0x5499a0(0x13c)]['set'](_0x1d4015[_0x5499a0(0x117)],_0x1d4015),this[_0x5499a0(0x159)][_0x5499a0(0x1a4)](_0x4787a8[_0x5499a0(0x14f)],_0x4787a8[_0x5499a0(0x17c)],_0x199e13)&&(_0x1d4015['isCache']=!0x0),_0x1d4015;}[_0x2d66b2(0x118)](_0x188770,_0x329fa5,_0x594556){const _0x4c5969=_0x2d66b2;var _0x3549ce;for(const _0x29e068 of _0x329fa5){const _0x54dd26=_0x188770[_0x29e068];if(_0x54dd26==null)continue;const _0x257a61=Object[_0x4c5969(0x151)](_0x54dd26);for(const _0x4940fb of _0x257a61){const _0x6f3a11=_0x54dd26[_0x4940fb];if(_0x6f3a11==null)continue;const _0x1a5034=Object[_0x4c5969(0x151)](_0x6f3a11);for(const _0x1bdf13 of _0x1a5034){const _0x617cc4=this[_0x4c5969(0x159)]['hasOtherFormulaDataMainData'](_0x1bdf13),_0x5aba06=_0x6f3a11[_0x1bdf13],{f:_0x3939ce,ranges:_0x4ae290}=_0x5aba06;let _0x2248f3=!0x1;_0x617cc4&&(_0x2248f3=!0x0);const {firstRow:_0x464b85,firstColumn:_0x3006c3}=this['_getFirstCellOfRange'](_0x4ae290),_0x5e3bb4=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x29e068,_0x4940fb,_0x1bdf13),_0x2d4644=(_0x3549ce=_0x5e3bb4==null?void 0x0:_0x5e3bb4[_0x4c5969(0x120)](0x0,0x0))!=null?_0x3549ce:_0x1e4c2e(this[_0x4c5969(0x159)]),_0x2b65d3=new _0x1765a6(_0x2d4644);for(let _0x48a6b3=0x0;_0x48a6b3<_0x4ae290[_0x4c5969(0x121)];_0x48a6b3++){const _0x5e5a3a=_0x4ae290[_0x48a6b3],{startRow:_0x51fa6b,startColumn:_0x226ea3,endRow:_0x2f281a,endColumn:_0x7b0a1f}=_0x5e5a3a;for(let _0x436613=_0x51fa6b;_0x436613<=_0x2f281a;_0x436613++)for(let _0x23c4b9=_0x226ea3;_0x23c4b9<=_0x7b0a1f;_0x23c4b9++){const _0x473d4e=_0x23c4b9-_0x3006c3,_0x5c8909=_0x436613-_0x464b85;if(_0x473d4e===0x0&&_0x5c8909===0x0){_0x2b65d3[_0x4c5969(0x11b)]=_0x3939ce,_0x2b65d3['unitId']=_0x29e068,_0x2b65d3[_0x4c5969(0x17c)]=_0x4940fb,_0x2b65d3['formulaId']=_0x1bdf13,_0x2b65d3['type']=_0x5479a4[_0x4c5969(0xf6)],_0x2b65d3['isCache']=_0x2248f3,_0x594556[_0x4c5969(0x1a3)](_0x2b65d3),this[_0x4c5969(0x13c)][_0x4c5969(0x15c)](_0x2b65d3[_0x4c5969(0x117)],_0x2b65d3),this['_dependencyManagerService'][_0x4c5969(0xdc)](_0x29e068,_0x4940fb,_0x1bdf13,_0x2b65d3),this[_0x4c5969(0x159)][_0x4c5969(0x163)](_0x2b65d3);continue;}const _0x2b9bc8=new _0x1a6ded();_0x2b9bc8['treeId']=(_0x5e3bb4==null?void 0x0:_0x5e3bb4['getValue'](_0x473d4e,_0x5c8909))||_0x1e4c2e(this[_0x4c5969(0x159)]),_0x2b9bc8[_0x4c5969(0x183)]=_0x2b65d3,_0x2b9bc8['refOffsetX']=_0x473d4e,_0x2b9bc8['refOffsetY']=_0x5c8909,_0x2b9bc8[_0x4c5969(0x103)]=_0x2248f3,_0x2b9bc8[_0x4c5969(0x11c)]=_0x5479a4['OTHER_FORMULA'],this['_dependencyManagerService'][_0x4c5969(0xdc)](_0x29e068,_0x4940fb,_0x1bdf13,_0x2b9bc8),this[_0x4c5969(0x159)][_0x4c5969(0x163)](_0x2b9bc8),_0x594556['push'](_0x2b9bc8),this['_dependencyTreeCache']['set'](_0x2b9bc8['treeId'],_0x2b9bc8);}}this[_0x4c5969(0x159)][_0x4c5969(0x15e)](_0x1bdf13);}}}}[_0x2d66b2(0x170)](_0x3fead5,_0x2111e9,_0x9ef0c3,_0x4dc9df){const _0x8309c9=_0x2d66b2;for(const _0x5b6039 of _0x3fead5){const _0x2f6a61=_0x2111e9[_0x5b6039];if(_0x2f6a61==null)continue;const _0x4ed3e6=Object[_0x8309c9(0x151)](_0x2f6a61);for(const _0xde3cff of _0x4ed3e6){const _0x40c068=new _0x597035(_0x2f6a61[_0xde3cff]||{}),_0x329a3b=new Map();_0x40c068['forValue']((_0x3f5f08,_0x23c02d,_0xb515dc)=>{const _0x2ad62f=_0x8309c9;if(_0xb515dc==null)return!0x0;const {x:_0x279e06=0x0,y:_0x129cc2=0x0,si:_0x34265d}=_0xb515dc;if(!(_0x279e06===0x0&&_0x129cc2===0x0&&_0x34265d!=null))return!0x0;const _0x2c401b=this[_0x2ad62f(0xdf)](_0x5b6039,_0xde3cff,_0x3f5f08,_0x23c02d,_0x9ef0c3,_0xb515dc),_0x531e30=this[_0x2ad62f(0x159)][_0x2ad62f(0x106)](_0x5b6039,_0xde3cff,_0x3f5f08,_0x23c02d);_0x531e30!=null?_0x2c401b[_0x2ad62f(0x117)]=_0x531e30:(this[_0x2ad62f(0x159)][_0x2ad62f(0xf0)](_0x5b6039,_0xde3cff,_0x3f5f08,_0x23c02d,_0x2c401b),this[_0x2ad62f(0x159)][_0x2ad62f(0x163)](_0x2c401b)),_0x329a3b[_0x2ad62f(0x15c)](_0x34265d,_0x2c401b),_0x4dc9df[_0x2ad62f(0x1a3)](_0x2c401b),this[_0x2ad62f(0x13c)][_0x2ad62f(0x15c)](_0x2c401b[_0x2ad62f(0x117)],_0x2c401b);}),_0x40c068[_0x8309c9(0x10a)]((_0x1b4630,_0x127832,_0x361eb5)=>{const _0x593090=_0x8309c9;if(_0x361eb5==null)return!0x0;const {x:_0x3a0829=0x0,y:_0x1313a0=0x0,si:_0x58246e}=_0x361eb5;if(_0x3a0829===0x0&&_0x1313a0===0x0&&_0x58246e!=null)return!0x0;let _0x5eb81d;if(_0x58246e&&_0x329a3b[_0x593090(0x116)](_0x58246e)){const _0x1ba131=_0x329a3b[_0x593090(0x14b)](_0x58246e);_0x5eb81d=this['_createVirtualFDtree'](_0x1ba131,_0x361eb5);}else _0x5eb81d=this['_createFDtree'](_0x5b6039,_0xde3cff,_0x1b4630,_0x127832,_0x9ef0c3,_0x361eb5);const _0x1252a0=this[_0x593090(0x159)][_0x593090(0x106)](_0x5b6039,_0xde3cff,_0x1b4630,_0x127832);_0x1252a0!=null?_0x5eb81d[_0x593090(0x117)]=_0x1252a0:(this[_0x593090(0x159)]['addFormulaDependency'](_0x5b6039,_0xde3cff,_0x1b4630,_0x127832,_0x5eb81d),this['_dependencyManagerService'][_0x593090(0x163)](_0x5eb81d)),_0x4dc9df[_0x593090(0x1a3)](_0x5eb81d),this[_0x593090(0x13c)][_0x593090(0x15c)](_0x5eb81d['treeId'],_0x5eb81d);}),_0x329a3b['clear']();}}}[_0x2d66b2(0xdf)](_0x1ede86,_0x59f5d0,_0x479081,_0x408745,_0x47ce1f,_0x14cc24){const _0x10bb01=_0x2d66b2,{f:_0x1647d0,x:_0x257768=0x0,y:_0x328391=0x0}=_0x14cc24,_0x2fa62a=new _0x1765a6(_0x1e4c2e(this[_0x10bb01(0x159)])),_0xf96f1a=_0x47ce1f[_0x1ede86][_0x59f5d0];return _0x2fa62a[_0x10bb01(0x11b)]=_0x1647d0,_0x2fa62a[_0x10bb01(0x14f)]=_0x1ede86,_0x2fa62a[_0x10bb01(0x17c)]=_0x59f5d0,_0x2fa62a[_0x10bb01(0xe1)]=_0x479081,_0x2fa62a[_0x10bb01(0x197)]=_0x408745,_0x2fa62a[_0x10bb01(0x100)]=_0xf96f1a[_0x10bb01(0x100)],_0x2fa62a['columnCount']=_0xf96f1a[_0x10bb01(0xfd)],_0x2fa62a;}['_getUpdateTreeListAndMakeDependency'](){const _0x42da58=_0x2d66b2,_0x33ec73=[],_0x363fa7=new Set(),_0x28cc02=this[_0x42da58(0x19f)]['isForceCalculate'](),_0x1a82a2=this['_currentConfigService']['getDirtyRanges'](),_0x2b5b35=this[_0x42da58(0x159)]['searchDependency'](_0x1a82a2),_0x5d1851=this[_0x42da58(0x186)][_0x42da58(0x11a)](_0x1a82a2);for(const _0x3907ca of _0x5d1851)_0x2b5b35[_0x42da58(0xdd)](_0x3907ca);for(const [_0x15cb54,_0x27f006]of this[_0x42da58(0x13c)])(_0x28cc02||_0x27f006[_0x42da58(0x156)]||_0x27f006['dependencySheetName'](this[_0x42da58(0x19f)]['getDirtyNameMap']())||_0x2b5b35[_0x42da58(0x116)](_0x15cb54)&&!_0x27f006[_0x42da58(0x10e)](this[_0x42da58(0x19f)][_0x42da58(0x137)]()))&&!_0x363fa7[_0x42da58(0x116)](_0x15cb54)&&(_0x33ec73['push'](_0x27f006),_0x363fa7[_0x42da58(0xdd)](_0x15cb54));for(const [_0x3320f3,_0xa5689]of this[_0x42da58(0x13c)])_0xa5689[_0x42da58(0x12b)]||(_0xa5689[_0x42da58(0x164)][_0x42da58(0x121)]=0x0);return _0x33ec73;}[_0x2d66b2(0x154)](_0x110603){const _0x5c8324=_0x2d66b2;return this[_0x5c8324(0x13c)][_0x5c8324(0x14b)](_0x110603);}[_0x2d66b2(0x17f)](_0x131e79){const _0x423dda=_0x2d66b2;return _0x1a5c48(_0x131e79[_0x423dda(0x14f)],_0x131e79[_0x423dda(0x11b)],this[_0x423dda(0x199)],this['_astTreeBuilder'],this[_0x423dda(0x19f)]);}*[_0x2d66b2(0x19a)](_0x53f676,_0x29651d){const _0x5e8c1e=_0x2d66b2,_0x2f0fb2=_0x53f676,_0x157fdf=new Set();for(;_0x2f0fb2[_0x5e8c1e(0x121)]>0x0;){const _0x424712=_0x2f0fb2[_0x5e8c1e(0x165)]();if(_0x157fdf[_0x5e8c1e(0x125)](),_0x424712===void 0x0||_0x424712[_0x5e8c1e(0x146)]())continue;if(_0x424712[_0x5e8c1e(0x166)]()){yield _0x424712,_0x424712[_0x5e8c1e(0xea)](),_0x29651d[_0x5e8c1e(0xdd)](_0x424712['treeId']);continue;}const _0x36725e=this[_0x5e8c1e(0x159)][_0x5e8c1e(0x15d)](_0x424712['toRTreeItem'](),_0x29651d),_0x468287=this[_0x5e8c1e(0x186)][_0x5e8c1e(0x11a)](_0x424712[_0x5e8c1e(0xe6)](),_0x29651d);for(const _0x460da3 of _0x468287)_0x36725e[_0x5e8c1e(0xdd)](_0x460da3);for(const _0x1d7128 of _0x36725e){const _0xb44fbc=this[_0x5e8c1e(0x13c)]['get'](_0x1d7128);if(!_0xb44fbc){console[_0x5e8c1e(0x129)](_0x5e8c1e(0xf2),_0x1d7128);continue;}_0xb44fbc[_0x5e8c1e(0x166)]()||_0x424712[_0x5e8c1e(0x146)]()||_0x157fdf['add'](_0xb44fbc);}if(_0x36725e[_0x5e8c1e(0x125)](),_0x157fdf[_0x5e8c1e(0x192)]===0x0)yield _0x424712,_0x424712[_0x5e8c1e(0xea)](),_0x29651d['add'](_0x424712[_0x5e8c1e(0x117)]);else{_0x424712[_0x5e8c1e(0x12d)](),_0x2f0fb2[_0x5e8c1e(0x1a3)](_0x424712);for(const _0x34b6ac of _0x157fdf)_0x2f0fb2['push'](_0x34b6ac);}}_0x2f0fb2[_0x5e8c1e(0x121)]=0x0,_0x157fdf[_0x5e8c1e(0x125)]();}[_0x2d66b2(0x128)](_0x8ecbf0){const _0x821919=_0x2d66b2,_0x5a73b2=[],_0x16982d=new Set();for(const _0x4e2178 of this[_0x821919(0x19a)](_0x8ecbf0,_0x16982d))_0x5a73b2[_0x821919(0x1a3)](_0x4e2178);return _0x5a73b2;}async['_getAllTreeList'](){const _0x5118fd=_0x2d66b2;return await this['_initializeGenerateTreeList'](),Array[_0x5118fd(0x13b)](this[_0x5118fd(0x13c)]['values']());}[_0x2d66b2(0x174)](_0x5d044e){const _0x281659=_0x2d66b2;return this[_0x281659(0x159)][_0x281659(0x15d)](_0x5d044e['toRTreeItem']());}[_0x2d66b2(0x1a7)](_0x477de0){const _0x1e45bd=_0x2d66b2,_0x3726f2=new Set(),_0x48bfff=_0x477de0[_0x1e45bd(0x164)];for(const [_0x2c3582,_0x190185]of this['_dependencyTreeCache'])for(const _0x13e026 of _0x48bfff){const _0x204b0d=_0x13e026[_0x1e45bd(0x14f)],_0x2159c3=_0x13e026[_0x1e45bd(0x1a0)];if(_0x190185[_0x1e45bd(0x14f)]!==_0x204b0d||_0x190185[_0x1e45bd(0x17c)]!==_0x2159c3)continue;const _0x476f69=_0x13e026['range'];if(_0x190185['inRangeData'](_0x476f69)){_0x3726f2[_0x1e45bd(0xdd)](_0x2c3582);break;}}return _0x3726f2;}[_0x2d66b2(0x173)](){const _0x2ab268=_0x2d66b2;this[_0x2ab268(0x159)][_0x2ab268(0x119)]();}[_0x2d66b2(0x1a9)](){const _0x1ea190=_0x2d66b2;this['_formulaDependencyTreeModel'][_0x1ea190(0x125)](),this[_0x1ea190(0x13c)][_0x1ea190(0x125)](),this[_0x1ea190(0x159)][_0x1ea190(0x122)]();}}class Re extends _0x4358e1{async['_apply'](_0x4e2009=!0x1){const _0xdac897=_0x2d66b2;_0x4e2009?this[_0xdac897(0xf7)][_0xdac897(0x13e)](_0xe513f8[_0xdac897(0xdb)]):this[_0xdac897(0xf7)][_0xdac897(0x13e)](_0xe513f8[_0xdac897(0xf1)]),this['_executionInProgressListener$'][_0xdac897(0x115)](this[_0xdac897(0xf7)]['getRuntimeState']());const _0x1f7dd4=await this[_0xdac897(0x180)][_0xdac897(0x188)](this[_0xdac897(0x133)]),_0x550352=this[_0xdac897(0x10c)];_0x4e2009?(this[_0xdac897(0xf7)][_0xdac897(0x13e)](_0xe513f8[_0xdac897(0x12e)]),this[_0xdac897(0xf7)][_0xdac897(0x10b)](_0x1f7dd4['length'])):(this[_0xdac897(0xf7)][_0xdac897(0x13e)](_0xe513f8[_0xdac897(0x130)]),this[_0xdac897(0xf7)]['setTotalFormulasToCalculate'](_0x1f7dd4[_0xdac897(0x121)])),this[_0xdac897(0x1a6)][_0xdac897(0x115)](this['_runtimeService']['getRuntimeState']());let _0x569723=[];const _0xf093c2=this[_0xdac897(0x105)][_0xdac897(0x112)](_0x1bc65b),_0x3e2ff9=(_0xf093c2==null?void 0x0:_0xf093c2[_0xdac897(0x195)])||_0x285462;let _0x2ec219=0x0;const _0x4f8705=_0x1f7dd4[_0xdac897(0x121)];for(;_0x1f7dd4[_0xdac897(0x121)]>0x0;){const _0xd3a7d5=_0x1f7dd4[_0xdac897(0x165)](),_0x4fddd3=_0x1a5c48(_0xd3a7d5[_0xdac897(0x14f)],_0xd3a7d5[_0xdac897(0x11b)],this['_lexer'],this[_0xdac897(0x17d)],this[_0xdac897(0x19f)]),_0x51e3a4={'node':_0x4fddd3,'refOffsetX':_0xd3a7d5[_0xdac897(0xe5)],'refOffsetY':_0xd3a7d5[_0xdac897(0x17a)]},_0x11aa63=_0xd3a7d5[_0xdac897(0x1a1)];if(_0x2ec219%_0x3e2ff9===0x0&&(await new Promise(_0x35dacb=>{const _0x3c0b5e=_0xdac897,_0x1850d7=_0x211795(_0x35dacb);_0x569723[_0x3c0b5e(0x1a3)](_0x1850d7);}),_0x4e2009?(this[_0xdac897(0xf7)]['setFormulaExecuteStage'](_0xe513f8[_0xdac897(0xd9)]),this[_0xdac897(0xf7)][_0xdac897(0x16f)](_0x2ec219+0x1)):(this[_0xdac897(0xf7)][_0xdac897(0x13e)](_0xe513f8[_0xdac897(0x13d)]),this[_0xdac897(0xf7)][_0xdac897(0x19e)](_0x2ec219+0x1)),this['_executionInProgressListener$'][_0xdac897(0x115)](this[_0xdac897(0xf7)][_0xdac897(0x12f)]()),this[_0xdac897(0xf7)][_0xdac897(0x12c)]()||_0x51e3a4==null&&_0x11aa63==null)){this['_runtimeService']['setFormulaExecuteStage'](_0xe513f8[_0xdac897(0x18f)]),this[_0xdac897(0xf7)]['markedAsStopFunctionsExecuted'](),this[_0xdac897(0x16e)][_0xdac897(0x115)](this[_0xdac897(0xf7)][_0xdac897(0x158)]());return;}this[_0xdac897(0xf7)][_0xdac897(0xf4)](_0xd3a7d5[_0xdac897(0xe1)],_0xd3a7d5[_0xdac897(0x197)],_0xd3a7d5[_0xdac897(0x100)],_0xd3a7d5['columnCount'],_0xd3a7d5['subUnitId'],_0xd3a7d5[_0xdac897(0x14f)]);let _0x3728ca;if(_0x11aa63!=null&&_0xd3a7d5[_0xdac897(0x16d)]!=null){const {runtimeCellData:_0x10b543,dirtyRanges:_0xdc0288}=_0x11aa63(this[_0xdac897(0x19f)][_0xdac897(0x1a1)](),this['_runtimeService']['getAllRuntimeData']());this[_0xdac897(0xf7)]['setRuntimeFeatureCellData'](_0xd3a7d5[_0xdac897(0x16d)],_0x10b543),this[_0xdac897(0xf7)]['setRuntimeFeatureRange'](_0xd3a7d5[_0xdac897(0x16d)],_0xdc0288);}else _0x51e3a4!=null&&(_0x550352['checkAsyncNode'](_0x51e3a4[_0xdac897(0x107)])?_0x3728ca=await _0x550352['executeAsync'](_0x51e3a4):_0x3728ca=_0x550352['execute'](_0x51e3a4),_0xd3a7d5[_0xdac897(0x193)]!=null?this[_0xdac897(0xf7)][_0xdac897(0x15f)](_0xd3a7d5[_0xdac897(0x193)],_0xd3a7d5[_0xdac897(0xe5)],_0xd3a7d5[_0xdac897(0x17a)],_0x3728ca):this[_0xdac897(0xf7)][_0xdac897(0x171)](_0x3728ca));_0x4fddd3[_0xdac897(0x17e)](),_0x2ec219++;}return _0x569723['forEach'](_0x3de24b=>_0x3de24b()),_0x569723=[],_0x4f8705>0x0?this[_0xdac897(0xf7)]['markedAsSuccessfullyExecuted']():_0x4e2009||this['_runtimeService'][_0xdac897(0x10f)](),this[_0xdac897(0xf7)][_0xdac897(0x158)]();}}class Le extends _0x3b9fad{constructor(){const _0x40689a=_0x2d66b2;super(...arguments),A(this,_0x40689a(0x169),new Map()),A(this,_0x40689a(0x149),new _0x42af3a(!0x0));}[_0x2d66b2(0x13a)](){const _0x2069bc=_0x2d66b2;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x2069bc(0x125)](),this[_0x2069bc(0x123)][_0x2069bc(0x125)](),this['_dependencyRTreeCache'][_0x2069bc(0x125)](),this[_0x2069bc(0x169)][_0x2069bc(0x125)](),this[_0x2069bc(0x176)](),this['_otherFormulaDataMainData']['clear']();}[_0x2d66b2(0xdc)](_0x245f8a,_0x1819d0,_0x1001ee,_0x144eac){const _0x3404c6=_0x2d66b2;this[_0x3404c6(0x172)][_0x3404c6(0x116)](_0x245f8a)||this[_0x3404c6(0x172)][_0x3404c6(0x15c)](_0x245f8a,new Map());const _0x5f3ce6=this[_0x3404c6(0x172)]['get'](_0x245f8a);_0x5f3ce6['has'](_0x1819d0)||_0x5f3ce6[_0x3404c6(0x15c)](_0x1819d0,new Map());const _0x42b9da=_0x5f3ce6['get'](_0x1819d0);_0x42b9da['has'](_0x1001ee)||_0x42b9da[_0x3404c6(0x15c)](_0x1001ee,new _0x597035()),_0x42b9da[_0x3404c6(0x14b)](_0x1001ee)[_0x3404c6(0x16c)](_0x144eac[_0x3404c6(0xe5)],_0x144eac[_0x3404c6(0x17a)],_0x144eac[_0x3404c6(0x117)]);}['removeOtherFormulaDependency'](_0x303099,_0x273ef6,_0x2f40b3){const _0x5a7840=_0x2d66b2,_0x30813a=this[_0x5a7840(0x172)]['get'](_0x303099);if(_0x30813a&&_0x30813a['has'](_0x273ef6)){const _0x7f1fca=_0x30813a['get'](_0x273ef6);_0x2f40b3[_0x5a7840(0xf5)](_0x35df11=>{const _0x124fc4=_0x5a7840,_0x3314f8=_0x7f1fca[_0x124fc4(0x14b)](_0x35df11);_0x3314f8!=null&&(_0x3314f8[_0x124fc4(0x10a)]((_0x169b8d,_0x291b04,_0x49170c)=>{const _0x2fdadc=_0x124fc4;this[_0x2fdadc(0xfa)](_0x49170c),this['_removeAllTreeMap'](_0x49170c);}),_0x7f1fca[_0x124fc4(0x15b)](_0x35df11),this[_0x124fc4(0x17b)][_0x124fc4(0x15b)](_0x35df11));}),_0x7f1fca[_0x5a7840(0x192)]===0x0&&_0x30813a[_0x5a7840(0x15b)](_0x273ef6),_0x30813a['size']===0x0&&this[_0x5a7840(0x172)]['delete'](_0x303099);}}[_0x2d66b2(0x1a5)](_0x34d83a,_0x3cf5d9){const _0x591240=_0x2d66b2,_0x2e8261=this[_0x591240(0x172)][_0x591240(0x14b)](_0x34d83a);if(_0x3cf5d9&&_0x2e8261&&_0x2e8261[_0x591240(0x116)](_0x3cf5d9)){const _0x575b96=_0x2e8261[_0x591240(0x14b)](_0x3cf5d9);this[_0x591240(0x187)](_0x34d83a,_0x3cf5d9);for(const _0x4eaca3 of _0x575b96[_0x591240(0x151)]()){const _0x2d69c5=_0x575b96[_0x591240(0x14b)](_0x4eaca3);_0x2d69c5!=null&&(_0x2d69c5[_0x591240(0x10a)]((_0x302b40,_0xcdbdf0,_0x46e0cc)=>{const _0x1f2c5c=_0x591240;this[_0x1f2c5c(0x169)][_0x1f2c5c(0x14b)](_0x46e0cc)&&this[_0x1f2c5c(0x139)](_0x46e0cc);}),this[_0x591240(0x17b)][_0x591240(0x15b)](_0x4eaca3));}_0x575b96[_0x591240(0x125)]();}else{if(_0x2e8261){for(const _0x4978c4 of _0x2e8261['keys']()){const _0x466a8c=_0x2e8261['get'](_0x4978c4);this[_0x591240(0x187)](_0x34d83a,_0x4978c4);for(const _0x11a8e8 of _0x466a8c[_0x591240(0x151)]()){const _0x42bbf5=_0x466a8c[_0x591240(0x14b)](_0x11a8e8);_0x42bbf5!=null&&(_0x42bbf5['forValue']((_0x142129,_0x4ae8a8,_0x2cad28)=>{const _0x17cc20=_0x591240;this[_0x17cc20(0x169)]['get'](_0x2cad28)&&this[_0x17cc20(0x139)](_0x2cad28);}),this[_0x591240(0x17b)][_0x591240(0x15b)](_0x11a8e8));}}this[_0x591240(0x172)]['delete'](_0x34d83a);}}}[_0x2d66b2(0x147)](_0x54f15c,_0x7297a3,_0x1c9d50,_0x5687d8){const _0x213b51=_0x2d66b2;this[_0x213b51(0x110)]['has'](_0x54f15c)||this[_0x213b51(0x110)][_0x213b51(0x15c)](_0x54f15c,new Map());const _0x4975b0=this[_0x213b51(0x110)]['get'](_0x54f15c);_0x4975b0[_0x213b51(0x116)](_0x7297a3)||_0x4975b0[_0x213b51(0x15c)](_0x7297a3,new Map()),_0x4975b0['get'](_0x7297a3)[_0x213b51(0x15c)](_0x1c9d50,_0x5687d8[_0x213b51(0x117)]);}[_0x2d66b2(0xee)](_0x4b5d48,_0x510f75,_0x3968e3){const _0x49b7bc=_0x2d66b2,_0x14cca6=this[_0x49b7bc(0x110)][_0x49b7bc(0x14b)](_0x4b5d48);if(_0x14cca6&&_0x14cca6['has'](_0x510f75)){const _0x496854=_0x14cca6[_0x49b7bc(0x14b)](_0x510f75);_0x3968e3[_0x49b7bc(0xf5)](_0x2e0919=>{const _0x17d390=_0x49b7bc,_0x50b796=_0x496854[_0x17d390(0x14b)](_0x2e0919);_0x50b796!=null&&(this[_0x17d390(0xfa)](_0x50b796),_0x496854[_0x17d390(0x15b)](_0x2e0919),this[_0x17d390(0x139)](_0x50b796));});}}[_0x2d66b2(0x1a2)](_0x466cdb,_0x1c7d9a){const _0x4d509f=_0x2d66b2,_0x4b96cf=this[_0x4d509f(0x110)][_0x4d509f(0x14b)](_0x466cdb);if(_0x1c7d9a&&_0x4b96cf&&_0x4b96cf[_0x4d509f(0x116)](_0x1c7d9a)){const _0x30076f=_0x4b96cf['get'](_0x1c7d9a);this[_0x4d509f(0x187)](_0x466cdb,_0x1c7d9a),_0x30076f[_0x4d509f(0xf5)](_0x460289=>{const _0x102e8e=_0x4d509f;_0x460289!=null&&this[_0x102e8e(0x139)](_0x460289);}),_0x30076f[_0x4d509f(0x125)]();}else _0x4b96cf&&(_0x4b96cf[_0x4d509f(0xf5)]((_0x10d43f,_0x2c844d)=>{const _0x323522=_0x4d509f;this[_0x323522(0x187)](_0x466cdb,_0x2c844d),_0x10d43f[_0x323522(0xf5)](_0x356a55=>{const _0x4e6f48=_0x323522;_0x356a55!=null&&this[_0x4e6f48(0x139)](_0x356a55);});}),this[_0x4d509f(0x110)][_0x4d509f(0x15b)](_0x466cdb));}[_0x2d66b2(0xf0)](_0x33b4de,_0x5a40e3,_0x3c080d,_0x20245b,_0x294961){const _0x3f2546=_0x2d66b2;this[_0x3f2546(0x123)][_0x3f2546(0x116)](_0x33b4de)||this[_0x3f2546(0x123)][_0x3f2546(0x15c)](_0x33b4de,new Map());const _0x2158cc=this[_0x3f2546(0x123)][_0x3f2546(0x14b)](_0x33b4de);_0x2158cc[_0x3f2546(0x116)](_0x5a40e3)||_0x2158cc[_0x3f2546(0x15c)](_0x5a40e3,new _0x597035()),_0x2158cc[_0x3f2546(0x14b)](_0x5a40e3)[_0x3f2546(0x16c)](_0x3c080d,_0x20245b,_0x294961[_0x3f2546(0x117)]);}[_0x2d66b2(0xde)](_0xb05e1c,_0x327a54,_0xb42090,_0x33fa04){const _0x1d97ce=_0x2d66b2,_0x766f52=this['_formulaData'][_0x1d97ce(0x14b)](_0xb05e1c);if(_0x766f52&&_0x766f52['has'](_0x327a54)){const _0x5383f5=_0x766f52[_0x1d97ce(0x14b)](_0x327a54),_0x399964=_0x5383f5[_0x1d97ce(0x120)](_0xb42090,_0x33fa04);if(_0x399964==null)return;this[_0x1d97ce(0xfa)](_0x399964),_0x5383f5[_0x1d97ce(0xda)](_0xb42090,_0x33fa04),this[_0x1d97ce(0x139)](_0x399964);}}[_0x2d66b2(0x16a)](_0x56a36d,_0x5462ba){const _0xb74c63=_0x2d66b2,_0x1bf3c3=this['_formulaData'][_0xb74c63(0x14b)](_0x56a36d);if(_0x5462ba&&_0x1bf3c3&&_0x1bf3c3[_0xb74c63(0x116)](_0x5462ba)){const _0x551539=_0x1bf3c3[_0xb74c63(0x14b)](_0x5462ba);this[_0xb74c63(0x187)](_0x56a36d,_0x5462ba),_0x551539['forValue']((_0x2b54a7,_0x40bd48,_0x421111)=>{const _0xd86a6a=_0xb74c63;if(_0x421111==null)return!0x0;this[_0xd86a6a(0x139)](_0x421111);}),_0x551539[_0xb74c63(0x13a)]();}else _0x1bf3c3&&(_0x1bf3c3[_0xb74c63(0xf5)]((_0x527cd7,_0x17ef7)=>{const _0x30bdb2=_0xb74c63;this[_0x30bdb2(0x187)](_0x56a36d,_0x17ef7),_0x527cd7[_0x30bdb2(0x10a)]((_0x501fad,_0x504eb8,_0x59ab3e)=>{const _0x474a6e=_0x30bdb2;if(_0x59ab3e==null)return!0x0;this[_0x474a6e(0x139)](_0x59ab3e);});}),this[_0xb74c63(0x123)]['delete'](_0x56a36d));}[_0x2d66b2(0xfa)](_0xd37883){const _0x2778a2=_0x2d66b2;if(_0xd37883==null)return;const _0x2fdb17=this['_allTreeMap'][_0x2778a2(0x14b)](_0xd37883);if(_0x2fdb17){const _0x83042f=[];for(const [_0x281751,_0x1cf8a5]of _0x2fdb17)for(const [_0x49e090,_0x2751d5]of _0x1cf8a5)_0x83042f[_0x2778a2(0x1a3)]({'unitId':_0x281751,'sheetId':_0x49e090,'range':_0x2751d5,'id':_0xd37883});this[_0x2778a2(0x149)][_0x2778a2(0x167)](_0x83042f);}}['removeFormulaDependencyByDefinedName'](_0x2ce598,_0x21520a){const _0x31c24a=_0x2d66b2,_0xcb6278=this[_0x31c24a(0x162)][_0x31c24a(0x14b)](_0x2ce598);if(_0xcb6278){const _0x59b6ed=_0xcb6278[_0x31c24a(0x14b)](_0x21520a);if(_0x59b6ed){for(const _0x54e90d of _0x59b6ed)this[_0x31c24a(0xfa)](_0x54e90d),this[_0x31c24a(0x139)](_0x54e90d);_0x59b6ed[_0x31c24a(0x125)]();}}}[_0x2d66b2(0x119)](){const _0x5ceec9=_0x2d66b2;this[_0x5ceec9(0x149)]['openKdTree']();}[_0x2d66b2(0x122)](){const _0x5db81b=_0x2d66b2;this[_0x5db81b(0x149)]['closeKdTree']();}[_0x2d66b2(0x139)](_0xa4b1b5){const _0x4c07ae=_0x2d66b2;_0xa4b1b5!=null&&this[_0x4c07ae(0x169)][_0x4c07ae(0x15b)](_0xa4b1b5);}[_0x2d66b2(0xfc)](_0x2d2cce){const _0x220052=_0x2d66b2;var _0x4f0eef,_0x13a57f;const _0x18953e=_0x2d2cce[_0x220052(0x164)];let _0x53bb67=this[_0x220052(0x169)][_0x220052(0x14b)](_0x2d2cce[_0x220052(0x117)]);for(let _0x3bf03a=0x0;_0x3bf03a<_0x18953e['length'];_0x3bf03a++){const _0x1e17c7=_0x18953e[_0x3bf03a];let {unitId:_0x593d75,sheetId:_0x2837de,range:_0x377a19}=_0x1e17c7;_0x53bb67||(_0x53bb67=new Map(),this[_0x220052(0x169)]['set'](_0x2d2cce[_0x220052(0x117)],_0x53bb67)),_0x53bb67['has'](_0x593d75)||_0x53bb67['set'](_0x593d75,new Map());const _0xd64056=(_0x4f0eef=_0x53bb67==null?void 0x0:_0x53bb67[_0x220052(0x14b)](_0x593d75))==null?void 0x0:_0x4f0eef['get'](_0x2837de);_0xd64056&&(_0x377a19={'startRow':Math[_0x220052(0x189)](_0x377a19['startRow'],_0xd64056[_0x220052(0x143)]),'startColumn':Math[_0x220052(0x189)](_0x377a19['startColumn'],_0xd64056[_0x220052(0xe9)]),'endRow':Math[_0x220052(0x177)](_0x377a19[_0x220052(0xf3)],_0xd64056[_0x220052(0xf3)]),'endColumn':Math['max'](_0x377a19['endColumn'],_0xd64056[_0x220052(0xf8)])}),(_0x13a57f=_0x53bb67[_0x220052(0x14b)](_0x593d75))==null||_0x13a57f[_0x220052(0x15c)](_0x2837de,_0x377a19);}}}function _0x45a3(){const _0x445529=['getRuntimeState','START_CALCULATION','value','_checkIsCycleDependency','_isCalculateTreeModel','string','459kdgveH','Let\x20variable\x20name\x20\x22','getExcludedRange','children','_removeAllTreeMap','reset','from','_dependencyTreeCache','CURRENTLY_CALCULATING','setFormulaExecuteStage','_clearPrefix','1377030GKPvQp','getFormulaData','_handleChildrenForExprTree','startRow','11448132wXfxkE','_hasNewExcelFunction','isSkip','addFeatureFormulaDependency','resolve','_dependencyRTreeCache','getOwnPropertyDescriptor','get','Lambda\x20parameter\x20name\x20\x22','startIndex','_checkAddBracketForMinus','unitId','_resetPrefix','keys','_clearFunctionString','getToken','_getTreeById','dispose','isDirty','toUpperCase','getAllRuntimeData','_dependencyManagerService','_getTableNameFromStructuredRef','delete','set','searchDependency','addOtherFormulaDependencyMainData','setRuntimeOtherData','FEATURE_FORMULA','getClearDependencyTreeCache','_definedNameMap','addFormulaDependencyByDefinedName','rangeList','pop','isAdded','bulkRemove','startsWith','_allTreeMap','clearFormulaDependency','_isCyclicUtilMap','setValue','featureId','_executionCompleteListener$','setCompletedArrayFormulasCount','_registerFormulas','setRuntimeData','_otherFormulaData','_startFormulaDependencyTreeModel','_getDependencyTreeParenIds','treeBuilder','_restDependencyTreeId','max','3134548XYwCoC','enableCycleDependency','refOffsetY','_otherFormulaDataMainData','subUnitId','_astTreeBuilder','resetCalculationState','_getTreeNode','_formulaDependencyGenerator','join','63223930WyIiuI','refTree','_currentUnitId','_injector','_dependencyRTreeCacheForAddressFunction','_removeDependencyRTreeCacheById','generate','min','endsWith','_handleTextNodeForExprTree','parseInt','4BrLLOB','getFormulaExprTree','IDLE','values','return\x20','size','formulaId','_generateNewFunctionString','intervalCount','9391040jPnEDf','column','notExecuteFormula','_lexer','_traverse','_convertDirtyRangesToUnitRange','/*\x20urHAtx-SArlFHu\x20gQuwuQ-xu5gHlxu\x20*/wstLxA2t\x20SuLQWgxA2t(HALutru,\x20gsFHALzuW)\x20{\x20\x20\x20\x20xQW\x20{\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20HALutru0tw2MlQxRQQlW\x20=\x20HALutru.rgHAx(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x202QAYAt8urrlYu\x20=\x20qyKe.glQru(lx2F(HALutru0tw2MlQxRQQlW[9]));\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(!2QAYAt8urrlYu.sS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202QAYAt8urrlYu.sS\x20=\x20es5FuQ(HALutru0tw2MlQxRQQlW[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20Arn2QbuQ\x20=\x20xWgu2w\x20n2QbuQiH2FlHyL2gu\x20!==\x20\x27stSuwAtuS\x27\x20&&\x20ruHw\x20AtrxltLu2w\x20n2QbuQiH2FlHyL2gu;\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20ArOQ24ruQ\x20=\x20xWgu2w\x204AtS24\x20!==\x20\x27stSuwAtuS\x27\x20&&\x20xWgu2w\x204AtS24.H2LlxA2t\x20!==\x20\x27stSuwAtuS\x27;\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20L2txujx\x20=\x20Arn2QbuQ\x20?\x20ruHw\x20:\x20(ArOQ24ruQ\x20?\x204AtS24\x20:\x20YH2FlHhcAr);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x205urrlYun2QS\x20=\x20L2txujx.__Olru3U__.glQru(HALutru0tw2MlQxRQQlW[9]);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x205urrlYu\x20=\x20L2txujx.__kuj__.rxQAtYAwW(5urrlYun2QS);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYtlxsQun2QS\x20=\x20L2txujx.__Olru3U__.glQru(HALutru0tw2MlQxRQQlW[J]);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYtlxsQu\x20=\x20L2txujx.__kuj__.rxQAtYAwW(rAYtlxsQun2QS);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rAYt1lHAS\x20=\x20L2txujx.__muQAwW__(rAYtlxsQu,\x205urrlYu,\x20gsFHALzuW);\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20S25lAt\x20=\x202QAYAt8urrlYu.S5;\x20\x20\x20\x20\x20\x20\x20\x20wstLxA2t\x20Aro25lAt8lxLcAtY(glxxuQt,\x20c2rx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(glxxuQt\x20===\x20c2rx)\x20QuxsQt\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(glxxuQt.rxlQxrnAxc(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20rswwAj\x20=\x20glxxuQt.rHALu(9);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(rswwAj\x20&&\x20rswwAj\x20===\x20c2rx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20xQsu;\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\x20Aw\x20(rswwAj\x20&&\x20!c2rx.rxlQxrnAxc(\x27.\x27)\x20&&\x20c2rx.utSrnAxc(\x27.\x27\x20+\x20rswwAj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20xQsu;\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\x20QuxsQt\x20wlHru;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Hux\x20S25lAt1lHAS\x20=\x20wlHru;\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(ArOQ24ruQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20(S25lAt\x20&&\x20S25lAt.HutYxc)\x20?\x20S25lAt.r25u((S50xu5)\x20=>\x20Aro25lAt8lxLcAtY(S50xu5,\x20H2LlxA2t.c2rxtl5u))\x20:\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Aw\x20(H2LlxA2t.c2rxtl5u\x20===\x20\x27H2LlHc2rx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20uHru\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S25lAt1lHAS\x20=\x20xQsu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20L2trx\x20mlHAS\x20=\x20rAYt1lHAS\x20&&\x20S25lAt1lHAS;\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mlHAS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205urrlYu:\x202QAYAt8urrlYu,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LlxLc\x20(uQQ2Q)\x20{\x20\x20\x20\x20\x20\x20\x20\x20QuxsQt\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mlHAS:\x20wlHru,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205urrlYu:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','defineProperty','setCompletedFormulasCount','_currentConfigService','sheetId','getDirtyData','clearFeatureFormulaDependency','push','getFeatureFormulaDependency','clearOtherFormulaDependency','_executionInProgressListener$','_getDependencyTreeChildrenIds','valid','_endFormulaDependencyTreeModel','_initializeWithOverride','CURRENTLY_CALCULATING_ARRAY_FORMULA','realDeleteValue','START_DEPENDENCY_ARRAY_FORMULA','addOtherFormulaDependency','add','removeFormulaDependency','_createFDtree','isArray','row','dirtyRanges','getChildren','_lambdaFunctionParameterSet','refOffsetX','toRTreeItem','8873914niXNUY','VALUE','startColumn','setSkip','MINUS','PLUS','_updateRangeFlatten','removeFeatureFormulaDependency','slice','addFormulaDependency','START_DEPENDENCY','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','endRow','setCurrent','forEach','OTHER_FORMULA','_runtimeService','endColumn','_xlpmPrefix','_removeDependencyRTreeCache','getStartIndex','_addAllTreeMap','columnCount','269896hePUWb','1xrVVky','rowCount','_xlfnPrefix','_initLicenseValid','isCache','_generateTreeList','_configService','getFormulaDependency','node','trim','featureDirtyRanges','forValue','setTotalArrayFormulasToCalculate','_interpreter','_config','isExcludeRange','markedAsNoFunctionsExecuted','_featureFormulaData','COLON','getConfig','setDependencyTreeModelData','_handleNewFunctionChild','next','has','treeId','_registerOtherFormulas','openKdTree','bulkSearch','formula','type','_xlpm.','_checkColonNodeForExprTree','clearArrayObjectCache','getValue','length','closeKdTree','_formulaData','_getFeatureFormulaTree','clear','_xlfn.','_generateExprTree','_calculateRunList','error','_handleLambdaForExprTree','isVirtual','isStopExecution','setAdded','START_CALCULATION_ARRAY_FORMULA'];_0x45a3=function(){return _0x445529;};return _0x45a3();}var we=Object[_0x2d66b2(0x14a)],Ee=(_0x2bcdd3,_0x2a7767,_0x3aecfa,_0x1ae0c8)=>{const _0x3e205c=_0x2d66b2;for(var _0x13b585=_0x1ae0c8>0x1?void 0x0:_0x1ae0c8?we(_0x2a7767,_0x3aecfa):_0x2a7767,_0x524ae1=_0x2bcdd3[_0x3e205c(0x121)]-0x1,_0x568345;_0x524ae1>=0x0;_0x524ae1--)(_0x568345=_0x2bcdd3[_0x524ae1])&&(_0x13b585=_0x568345(_0x13b585)||_0x13b585);return _0x13b585;};const Ne=Number[_0x2d66b2(0x18c)](0x694fc36f);let z=class extends _0x297365{[_0x2d66b2(0xd8)](){const _0x249fc3=_0x2d66b2;var _0x1c0904,_0x452035;this[_0x249fc3(0x102)]()?(this['_injector'][_0x249fc3(0xdd)]([_0x490cd6,{'useClass':De}]),(_0x1c0904=this[_0x249fc3(0x10d)])!=null&&_0x1c0904[_0x249fc3(0x198)]||[[_0x3a350d,{'useClass':Re}],[_0x28ee34,{'useClass':Le}],[_0x30360c,{'useClass':Me}]][_0x249fc3(0xf5)](_0xe3c076=>this[_0x249fc3(0x185)][_0x249fc3(0xdd)](_0xe3c076))):(this['_injector'][_0x249fc3(0xdd)]([_0x490cd6,{'useClass':_0x490cd6}]),(_0x452035=this['_config'])!=null&&_0x452035['notExecuteFormula']||[[_0x3a350d,{'useClass':_0x4358e1}],[_0x28ee34,{'useClass':_0x1549d3}],[_0x30360c,{'useClass':_0x434860}]][_0x249fc3(0xf5)](_0x278dc9=>this[_0x249fc3(0x185)][_0x249fc3(0xdd)](_0x278dc9)));}[_0x2d66b2(0x102)](){const _0x1d52d4=_0x2d66b2;var _0x22975a;const _0x455d7e=(_0x22975a=this['_configService'][_0x1d52d4(0x112)](_0x4b9174))!=null?_0x22975a:{},{ls:_0x542ff2,pbk:_0x1de13d}=_0x455d7e;if(!_0x542ff2||!_0x1de13d)return!0x1;const _0x119abd=_0x2ebdc3(ve,Se),_0x14e072=new Function(_0x1d52d4(0x191)+_0x119abd)()(_0x542ff2,_0x1de13d),_0xaa7cb8=_0x14e072['message'];return _0x14e072[_0x1d52d4(0x1a8)]&&_0x3de85d(_0xaa7cb8,'sf',Ne)?_0x29991d(_0xaa7cb8,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};z=Ee([_0x575ea8(_0x5cef8e)],z);function _0x6d4a(_0x596a79,_0x398b34){_0x596a79=_0x596a79-0xd8;const _0x45a30c=_0x45a3();let _0x6d4ad8=_0x45a30c[_0x596a79];return _0x6d4ad8;}export{De as LexerTreeProBuilder,z as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x6128a2,_0x486a2e){var _0x3ee95c=_0x1e04,_0x49afd5=_0x6128a2();while(!![]){try{var _0x9d600f=parseInt(_0x3ee95c(0x1b0))/0x1*(parseInt(_0x3ee95c(0x1ae))/0x2)+parseInt(_0x3ee95c(0x1ad))/0x3*(-parseInt(_0x3ee95c(0x1a9))/0x4)+-parseInt(_0x3ee95c(0x1a8))/0x5+parseInt(_0x3ee95c(0x1ac))/0x6+parseInt(_0x3ee95c(0x1aa))/0x7+parseInt(_0x3ee95c(0x1af))/0x8+-parseInt(_0x3ee95c(0x1ab))/0x9;if(_0x9d600f===_0x486a2e)break;else _0x49afd5['push'](_0x49afd5['shift']());}catch(_0x4db906){_0x49afd5['push'](_0x49afd5['shift']());}}}(_0x18b0,0xddecb));export*from'@univerjs/engine-formula/facade';function _0x1e04(_0x11cf4a,_0x2313f5){_0x11cf4a=_0x11cf4a-0x1a8;var _0x18b08b=_0x18b0();var _0x1e0410=_0x18b08b[_0x11cf4a];return _0x1e0410;}function _0x18b0(){var _0x55c791=['17464851nQDWFN','6816162xwXYGk','54546gDHvfK','654066dGFuRz','8771536ZEErNP','2PFNMFc','3888490ULYeug','16iTbTRO','5694031dRLWyP'];_0x18b0=function(){return _0x55c791;};return _0x18b0();}
1
+ function _0x2c84(_0x23fe6c,_0x124263){_0x23fe6c=_0x23fe6c-0x9b;var _0x458700=_0x4587();var _0x2c8476=_0x458700[_0x23fe6c];return _0x2c8476;}function _0x4587(){var _0x15158d=['617356Nskywg','138AnMkrt','730376USZzsI','3107310UMtSbf','3IoiNcx','1631rHAMiJ','2983134ZgrspP','3349755CAoPle','947650mBDSBl','110oUxPHQ','18PuLqcz'];_0x4587=function(){return _0x15158d;};return _0x4587();}(function(_0x257501,_0xd54c18){var _0x3b4989=_0x2c84,_0x55e8ba=_0x257501();while(!![]){try{var _0x58b467=-parseInt(_0x3b4989(0xa3))/0x1*(parseInt(_0x3b4989(0x9f))/0x2)+parseInt(_0x3b4989(0xa2))/0x3*(parseInt(_0x3b4989(0x9e))/0x4)+parseInt(_0x3b4989(0xa5))/0x5+parseInt(_0x3b4989(0xa1))/0x6+parseInt(_0x3b4989(0xa4))/0x7+parseInt(_0x3b4989(0xa0))/0x8*(-parseInt(_0x3b4989(0x9d))/0x9)+-parseInt(_0x3b4989(0x9b))/0xa*(parseInt(_0x3b4989(0x9c))/0xb);if(_0x58b467===_0xd54c18)break;else _0x55e8ba['push'](_0x55e8ba['shift']());}catch(_0x1afdac){_0x55e8ba['push'](_0x55e8ba['shift']());}}}(_0x4587,0x804f2));export*from'@univerjs/engine-formula/facade';