@univerjs-pro/engine-formula 0.15.0-insiders.20260110-48b77c8 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1e0d7d=_0x549e;function _0x549e(_0x143621,_0x4d9d12){_0x143621=_0x143621-0x19e;const _0x2add90=_0x2add();let _0x549e39=_0x2add90[_0x143621];return _0x549e39;}(function(_0xecb023,_0x23656b){const _0x3b2333=_0x549e,_0x744469=_0xecb023();while(!![]){try{const _0x1b0384=-parseInt(_0x3b2333(0x1a8))/0x1+parseInt(_0x3b2333(0x1a7))/0x2+parseInt(_0x3b2333(0x1a9))/0x3*(-parseInt(_0x3b2333(0x1a2))/0x4)+parseInt(_0x3b2333(0x1a6))/0x5*(parseInt(_0x3b2333(0x1a4))/0x6)+-parseInt(_0x3b2333(0x1a5))/0x7+-parseInt(_0x3b2333(0x1a3))/0x8*(parseInt(_0x3b2333(0x1a0))/0x9)+parseInt(_0x3b2333(0x19e))/0xa;if(_0x1b0384===_0x23656b)break;else _0x744469['push'](_0x744469['shift']());}catch(_0x233e48){_0x744469['push'](_0x744469['shift']());}}}(_0x2add,0x570a1));Object['defineProperty'](exports,Symbol[_0x1e0d7d(0x19f)],{'value':_0x1e0d7d(0x1ad)});function _0x2add(){const _0x10949f=['2706235zPQWIk','10655EelAUy','382082fLmOat','445248BMliWx','7182oIYjsj','keys','call','prototype','Module','14989130KaSwDY','toStringTag','81fOXXqo','hasOwnProperty','940wDiBAH','31016fExTMM','270qisMFL'];_0x2add=function(){return _0x10949f;};return _0x2add();}const t=require('@univerjs/engine-formula/facade');Object[_0x1e0d7d(0x1aa)](t)['forEach'](_0x351ec8=>{const _0x1190cf=_0x1e0d7d;_0x351ec8!=='default'&&!Object[_0x1190cf(0x1ac)][_0x1190cf(0x1a1)][_0x1190cf(0x1ab)](exports,_0x351ec8)&&Object['defineProperty'](exports,_0x351ec8,{'enumerable':!0x0,'get':()=>t[_0x351ec8]});});
1
+ 'use strict';function _0x3324(_0x1932c0,_0x10f736){_0x1932c0=_0x1932c0-0x8d;const _0x48a1f6=_0x48a1();let _0x3324d1=_0x48a1f6[_0x1932c0];return _0x3324d1;}const _0x2d61f7=_0x3324;(function(_0x472eac,_0x456035){const _0x35c38a=_0x3324,_0x4174e1=_0x472eac();while(!![]){try{const _0x57e558=-parseInt(_0x35c38a(0x99))/0x1*(-parseInt(_0x35c38a(0x9c))/0x2)+parseInt(_0x35c38a(0x8e))/0x3*(parseInt(_0x35c38a(0x98))/0x4)+parseInt(_0x35c38a(0x90))/0x5+-parseInt(_0x35c38a(0x91))/0x6+parseInt(_0x35c38a(0x92))/0x7*(parseInt(_0x35c38a(0x9f))/0x8)+parseInt(_0x35c38a(0x9d))/0x9*(-parseInt(_0x35c38a(0x97))/0xa)+parseInt(_0x35c38a(0x95))/0xb*(-parseInt(_0x35c38a(0x93))/0xc);if(_0x57e558===_0x456035)break;else _0x4174e1['push'](_0x4174e1['shift']());}catch(_0x18fe30){_0x4174e1['push'](_0x4174e1['shift']());}}}(_0x48a1,0xbbcb4));function _0x48a1(){const _0x201e9e=['hasOwnProperty','3678140bsrmpU','4604668VymJMp','531032zGinfe','toStringTag','default','2KxEezR','18vqOIee','prototype','48RGplcV','call','3jMqZHN','Module','6676295PNTYjX','8355810XVnfUh','295463lmBHVN','8940dAbZhl','defineProperty','5511cyXEVn'];_0x48a1=function(){return _0x201e9e;};return _0x48a1();}Object[_0x2d61f7(0x94)](exports,Symbol[_0x2d61f7(0x9a)],{'value':_0x2d61f7(0x8f)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)['forEach'](_0x43443c=>{const _0x45d778=_0x2d61f7;_0x43443c!==_0x45d778(0x9b)&&!Object[_0x45d778(0x9e)][_0x45d778(0x96)][_0x45d778(0x8d)](exports,_0x43443c)&&Object[_0x45d778(0x94)](exports,_0x43443c,{'enumerable':!0x0,'get':()=>t[_0x43443c]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b82e2=_0x2657;(function(_0x4649bc,_0xf3fd41){const _0x24426f=_0x2657,_0x1009c8=_0x4649bc();while(!![]){try{const _0x2f4fbd=parseInt(_0x24426f(0xf1))/0x1*(-parseInt(_0x24426f(0x1e1))/0x2)+parseInt(_0x24426f(0x1aa))/0x3+parseInt(_0x24426f(0x129))/0x4+parseInt(_0x24426f(0x173))/0x5*(parseInt(_0x24426f(0x1d9))/0x6)+-parseInt(_0x24426f(0x186))/0x7+parseInt(_0x24426f(0x1ae))/0x8*(parseInt(_0x24426f(0xfe))/0x9)+-parseInt(_0x24426f(0x159))/0xa*(parseInt(_0x24426f(0x154))/0xb);if(_0x2f4fbd===_0xf3fd41)break;else _0x1009c8['push'](_0x1009c8['shift']());}catch(_0x283730){_0x1009c8['push'](_0x1009c8['shift']());}}}(_0x1907,0xd4e65));var U=Object[_0x1b82e2(0x185)],V=(_0xfa02e0,_0x5f1de6,_0x1a7a52)=>_0x5f1de6 in _0xfa02e0?U(_0xfa02e0,_0x5f1de6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a7a52}):_0xfa02e0[_0x5f1de6]=_0x1a7a52,D=(_0x19d3fe,_0x2f7e28,_0xb9fdb5)=>V(_0x19d3fe,typeof _0x2f7e28!='symbol'?_0x2f7e28+'':_0x2f7e28,_0xb9fdb5);Object['defineProperty'](exports,Symbol[_0x1b82e2(0x110)],{'value':_0x1b82e2(0x191)});function _0x1907(){const _0x384418=['_executionInProgressListener$','START_CALCULATION_ARRAY_FORMULA','toUpperCase','markedAsNoFunctionsExecuted','Let\x20variable\x20name\x20\x22','removeFormulaDependency','_astTreeBuilder','153516SGPTKH','range','row','isSkip','next','_runtimeService','_xlfn.','getOtherFormulaDependency','431360gwzAlr','FormulaDependencyTree','FormulaExecuteStageType','min','startRow','DependencyManagerBaseService','_otherFormulaData','startIndex','_checkIsCycleDependency','_config','getToken','4vvzvJK','_createFDtree','prototype','LexerTreeProBuilder','_isCyclicUtilMap','forEach','clear','getRuntimeState','getFormulaDependency','searchDependency','bulkRemove','max','clearArrayObjectCache','31212YrpvYk','removeOtherFormulaDependency','getOwnPropertyDescriptor','isCache','_handleNewFunctionChild','refOffsetX','_apply','_resetPrefix','SUFFIX_TOKEN_SET','removeFeatureFormulaDependency','valid','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setTotalArrayFormulasToCalculate','addFormulaDependency','getAllRuntimeData','_currentUnitId','_clearPrefix','_getUpdateTreeListAndMakeDependency','toStringTag','getOtherFormulaData','setRuntimeFeatureRange','UniverProFormulaEnginePlugin','toRTreeItem','children','setCompletedArrayFormulasCount','_xlpm.','setRuntimeFeatureCellData','isAdded','from','_removeAllTreeMap','_initializeWithOverride','setValue','CalculateFormulaService','COLON','call','isForceCalculate','PLUS','_generateNewFunctionString','getStartIndex','generateRandomDependencyTreeId','getDirtyData','DependentOn','forValue','2634000DiedRa','LS_CONFIG_KEY','IDependencyManagerService','VALUE','_removeDependencyRTreeCache','checkAsyncNode','execute','_formulaDependencyTreeModel','getValue','_createVirtualFDtree','DEFAULT_TOKEN_TYPE_ROOT','clearOtherFormulaDependency','generate','clearFeatureFormulaDependency','_isCalculateTreeModel','addFormulaDependencyByDefinedName','trim','_getTableNameFromStructuredRef','_interpreter','subUnitId','closeKdTree','parseInt','delete','error','_generateExprTree','_getCurNodeTypeForExprTree','DEFAULT_TOKEN_TYPE_PARAMETER','_getTreeNode','_definedNameMap','join','formula','_convertDirtyRangesToUnitRange','pop','START_DEPENDENCY','getClearDependencyTreeCache','getConfig','_dependencyManagerService','splitTableStructuredRef','_initLicenseValid','set','unitId','getFormulaExprTree','_checkAddBracketForMinus','1146178owtGFN','isFeatureAuthorizedWithinTime','ObjectMatrix','setRuntimeOtherData','isStopExecution','50jbfzhe','setDependencyTreeModelData','sheetId','LexerNode','keys','matchToken','_traverse','startsWith','_getAllDependencyJson','setTotalFormulasToCalculate','bulkSearch','string','_formulaData','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','\x22\x20is\x20duplicated.','values','openKdTree','refTree','FormulaDependencyTreeType','getChildren','refOffsetY','_checkColonNodeForExprTree','_hasNewExcelFunction','resetCalculationState','_removeDependencyRTreeCacheById','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','165mCYRdy','executeAsync','_otherFormulaDataMainData','setSkip','generateAstNode','_lexer','MINUS','treeBuilder','setRuntimeData','intervalCount','_executionCompleteListener$','UniverLicensePlugin','ICalculateFormulaService','_startFormulaDependencyTreeModel','_configService','_lambdaFunctionParameterSet','columnCount','featureId','defineProperty','7026145MPcNme','_handleTextNodeForExprTree','notExecuteFormula','getExcludedRange','dirtyRanges','_injector','endColumn','setFormulaExecuteStage','ErrorType','has','_getFeatureFormulaTree','Module','endRow','get','add','_getDependencyTreeParenIds','_handleLambdaForExprTree','isArray','_dependencyRTreeCacheForAddressFunction','_clearFunctionString','message','CURRENTLY_CALCULATING','FormulaDependencyGenerator','length','value','size','_calculateRunList','DEFAULT_INTERVAL_COUNT','addOtherFormulaDependency','column','_dependencyTreeCache','_initializeGenerateTreeList','reset','_dependencyRTreeCache','slice','markedAsSuccessfullyExecuted','5082660kECxot','_currentConfigService','_registerFormulas','getNewFormulaWithPrefix','144aguCBR','formulaId','IDLE','LexerTreeBuilder','rowCount','NEW_EXCEL_FUNCTIONS','_updateRangeFlatten','_formulaDependencyGenerator','isReferenceString','resolve','treeId','_xlfnPrefix','OPERATOR_TOKEN_SET','requestImmediateMacroTask','inRangeData','startColumn','unshiftString','getSheetFeatureLimit','endsWith','_allTreeMap','dispose','addOtherFormulaDependencyMainData','DependencyManagerService','RTree','prefixToken','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','FormulaDependencyTreeVirtual','_featureFormulaData','_xlpmPrefix','push','rangeList','_generateTreeList','_handleChildrenForExprTree','addFeatureFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService'];_0x1907=function(){return _0x384418;};return _0x1907();}const a=require('@univerjs/engine-formula'),M=require('@univerjs-pro/license'),x=require('@univerjs/core');class L extends a[_0x1b82e2(0x1b1)]{constructor(){const _0x191eab=_0x1b82e2;super(...arguments),D(this,_0x191eab(0x16f),!0x1),D(this,'_lambdaFunctionParameterSet',new Set()),D(this,_0x191eab(0x1ca),_0x191eab(0x117)),D(this,_0x191eab(0x1b9),_0x191eab(0x1df)),D(this,_0x191eab(0x10d),'');}[_0x1b82e2(0x105)](){const _0xd05fcf=_0x1b82e2;this[_0xd05fcf(0x1ca)]=_0xd05fcf(0x117),this['_xlfnPrefix']=_0xd05fcf(0x1df);}[_0x1b82e2(0x10e)](){const _0x4fb860=_0x1b82e2;this[_0x4fb860(0x1ca)]='',this[_0x4fb860(0x1b9)]='';}[_0x1b82e2(0x1ad)](_0x593bd0,_0x1dd63f){const _0x464283=_0x1b82e2,_0x4d7b75=this[_0x464283(0x17a)](_0x593bd0,!0x1);if(!_0x4d7b75||_0x4d7b75===a[_0x464283(0x18e)][_0x464283(0x12c)]||Array['isArray'](_0x4d7b75))return null;const _0x5ee8ce=[];return this[_0x464283(0x16f)]=!0x1,this[_0x464283(0x123)](_0x4d7b75,_0x5ee8ce,_0x1dd63f),this['_hasNewExcelFunction']?'='+_0x5ee8ce[_0x464283(0x146)](''):null;}[_0x1b82e2(0x123)](_0x54ff8a,_0x14d5b9,_0x24db2e){const _0x216e7e=_0x1b82e2,_0x484191=_0x54ff8a[_0x216e7e(0xf0)](),_0x577d71=_0x484191[_0x216e7e(0x139)](),_0x4f0ed0=_0x577d71[_0x216e7e(0x1d4)](),_0x3496c1=this[_0x216e7e(0x199)](_0x4f0ed0),_0x5ab99b=_0x24db2e(_0x3496c1);let _0x58323e=0x0;_0x484191===a[_0x216e7e(0x133)]?_0x58323e=0x3:_0x484191===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x58323e=0x4:_0x484191===a[_0x216e7e(0x166)]?_0x58323e=0x5:a[_0x216e7e(0x1b3)]['has'](_0x3496c1)?(_0x14d5b9['push'](''+this[_0x216e7e(0x1b9)]+_0x577d71),this[_0x216e7e(0x16f)]=!0x0):_0x4f0ed0===a[_0x216e7e(0x172)]?(_0x14d5b9[_0x216e7e(0x1cb)](''+this[_0x216e7e(0x1b9)]+_0x577d71),this[_0x216e7e(0x16f)]=!0x0,_0x58323e=0x2):_0x4f0ed0===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x14d5b9[_0x216e7e(0x1cb)](''+this['_xlfnPrefix']+_0x577d71),this[_0x216e7e(0x16f)]=!0x0,_0x58323e=0x1):_0x4f0ed0===a[_0x216e7e(0x15e)][_0x216e7e(0x11f)]?_0x58323e=0x8:a[_0x216e7e(0x106)][_0x216e7e(0x18f)](_0x4f0ed0)?_0x58323e=0x7:_0x4f0ed0===a['prefixToken'][_0x216e7e(0x179)]?(this['_checkAddBracketForMinus'](_0x54ff8a)&&(_0x58323e=0x9),_0x14d5b9[_0x216e7e(0x1cb)](_0x484191)):(_0x14d5b9[_0x216e7e(0x1cb)](_0x484191),_0x58323e=0xa),_0x5ab99b?(_0x58323e!==0x2&&_0x58323e!==0x1&&(_0x58323e=0x6),_0x14d5b9[_0x216e7e(0x1cb)]('(')):_0x58323e===0x9&&_0x14d5b9['push']('(');const _0x4d7162=_0x54ff8a[_0x216e7e(0x16c)](),_0x2610fa=_0x4d7162['length'];if(_0x58323e===0x2){const _0x3b83b8=_0x4d7162[0x0];let _0xddb90d=0x0;_0x3b83b8 instanceof a[_0x216e7e(0x15c)]&&_0x3b83b8[_0x216e7e(0xf0)]()===a[_0x216e7e(0x166)]&&(_0xddb90d=0x1);for(let _0x10bde2=_0xddb90d;_0x10bde2<_0x2610fa-0x1;_0x10bde2++){const _0x2b6bbb=_0x4d7162[_0x10bde2];if(_0x2b6bbb instanceof a['LexerNode']){const _0x47585e=_0x2b6bbb[_0x216e7e(0x16c)]()[0x0];typeof _0x47585e=='string'&&(this[_0x216e7e(0x182)][_0x216e7e(0x18f)](_0x47585e)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x47585e+_0x216e7e(0x167)),this[_0x216e7e(0x182)][_0x216e7e(0x194)](_0x47585e),_0x14d5b9[_0x216e7e(0x1cb)](''+this[_0x216e7e(0x1ca)]+_0x47585e),this[_0x216e7e(0x16f)]=!0x0);}_0x14d5b9['push'](',');}this[_0x216e7e(0x102)](_0x4d7162[_0x2610fa-0x1],_0x14d5b9,_0x24db2e),_0xddb90d===0x1&&(_0x14d5b9[_0x216e7e(0x1cb)](')'),_0x14d5b9[_0x216e7e(0x1cb)]('('),this[_0x216e7e(0x123)](_0x3b83b8,_0x14d5b9,_0x24db2e)),_0x14d5b9[_0x216e7e(0x1cb)](')');return;}else{if(_0x58323e===0x1){for(let _0x48bb67=0x0;_0x48bb67<_0x2610fa-0x1;_0x48bb67++){const _0x2c39c9=_0x4d7162[_0x48bb67];if(_0x2c39c9 instanceof a[_0x216e7e(0x15c)]&&_0x48bb67%0x2===0x0){const _0x204cc0=_0x2c39c9[_0x216e7e(0x16c)]()[0x0];if(typeof _0x204cc0==_0x216e7e(0x164)){this[_0x216e7e(0x182)][_0x216e7e(0x18f)](_0x204cc0)&&console[_0x216e7e(0x140)](_0x216e7e(0x1d6)+_0x204cc0+_0x216e7e(0x167)),this[_0x216e7e(0x182)][_0x216e7e(0x194)](_0x204cc0),_0x14d5b9[_0x216e7e(0x1cb)](''+this['_xlpmPrefix']+_0x204cc0),this[_0x216e7e(0x16f)]=!0x0,_0x14d5b9[_0x216e7e(0x1cb)](',');continue;}}if(this[_0x216e7e(0x102)](_0x2c39c9,_0x14d5b9,_0x24db2e),_0x2c39c9 instanceof a[_0x216e7e(0x15c)]){const _0x5304af=_0x4d7162[_0x48bb67+0x1];_0x5304af&&_0x5304af instanceof a[_0x216e7e(0x15c)]&&_0x14d5b9[_0x216e7e(0x1cb)](',');}}this[_0x216e7e(0x102)](_0x4d7162[_0x2610fa-0x1],_0x14d5b9,_0x24db2e),_0x14d5b9[_0x216e7e(0x1cb)](')');return;}else{if(_0x58323e===0x8){const _0x46fb7e=_0x4d7162[0x0],_0x3d404e=_0x4d7162[0x1];this[_0x216e7e(0x102)](_0x46fb7e,_0x14d5b9,_0x24db2e),_0x14d5b9['push'](_0x484191),this[_0x216e7e(0x102)](_0x3d404e,_0x14d5b9,_0x24db2e);return;}}}for(let _0x20aa10=0x0;_0x20aa10<_0x2610fa;_0x20aa10++){const _0x21094c=_0x4d7162[_0x20aa10];if(this[_0x216e7e(0x102)](_0x21094c,_0x14d5b9,_0x24db2e),_0x21094c instanceof a[_0x216e7e(0x15c)]){const _0xdccd3c=_0x4d7162[_0x20aa10+0x1];_0xdccd3c&&_0xdccd3c instanceof a[_0x216e7e(0x15c)]&&_0x14d5b9['push'](',');}}_0x58323e===0x7&&_0x14d5b9[_0x216e7e(0x1cb)](_0x484191),(_0x5ab99b||_0x58323e===0x9)&&_0x14d5b9[_0x216e7e(0x1cb)](')');}['_handleNewFunctionChild'](_0x5c9ea6,_0x490f85,_0xdf3f9d){const _0x578b9d=_0x1b82e2;_0x5c9ea6 instanceof a['LexerNode']?this[_0x578b9d(0x123)](_0x5c9ea6,_0x490f85,_0xdf3f9d):this[_0x578b9d(0x182)]['has'](_0x5c9ea6)?(_0x490f85[_0x578b9d(0x1cb)](''+this[_0x578b9d(0x1ca)]+_0x5c9ea6),this['_hasNewExcelFunction']=!0x0):_0x490f85[_0x578b9d(0x1cb)](_0x5c9ea6);}['_clearFunctionString'](_0x4567cd){const _0x439995=_0x1b82e2;let _0x1f21a5=_0x4567cd[_0x439995(0x139)]();if(!_0x1f21a5)return _0x1f21a5;const _0xbdbe5b=_0x1f21a5[0x0];if((_0xbdbe5b===a[_0x439995(0x1c6)]['AT']||_0xbdbe5b===a[_0x439995(0x1c6)][_0x439995(0x179)]||_0xbdbe5b===a[_0x439995(0x1c6)][_0x439995(0x122)])&&(_0x1f21a5=_0x1f21a5[_0x439995(0x1a8)](0x1)),!_0x1f21a5)return _0x1f21a5;const _0x2b0b82=_0x1f21a5[_0x1f21a5[_0x439995(0x19d)]-0x1];return a[_0x439995(0x106)][_0x439995(0x18f)](_0x2b0b82)&&(_0x1f21a5=_0x1f21a5[_0x439995(0x1a8)](0x0,-0x1)),_0x1f21a5;}[_0x1b82e2(0x153)](_0x53fca6){const _0x2fb36e=_0x1b82e2,_0x22d956=_0x53fca6[_0x2fb36e(0x16c)]()[0x0];if(!_0x22d956||!(_0x22d956 instanceof a[_0x2fb36e(0x15c)])||_0x53fca6[_0x2fb36e(0x16c)]()[_0x2fb36e(0x19d)]>0x1)return!0x1;const _0x527277=_0x22d956[_0x2fb36e(0x16c)](),_0x539c6b=_0x527277[_0x2fb36e(0x19d)];if(_0x539c6b===0x1)return!0x1;for(let _0x955f59=0x0;_0x955f59<_0x539c6b;_0x955f59++){const _0x22763b=_0x527277[_0x955f59];if(!(_0x22763b instanceof a[_0x2fb36e(0x15c)])&&a[_0x2fb36e(0x1ba)]['has'](_0x22763b))return!0x0;}return!0x1;}[_0x1b82e2(0x152)](_0x55a286,_0x19b3fe,_0x226f46,_0x43c232,_0x3db2ec){const _0x49b050=_0x1b82e2,_0xfc46cf=this[_0x49b050(0x17a)](_0x55a286,!0x1);if(!_0xfc46cf||_0xfc46cf===a[_0x49b050(0x18e)][_0x49b050(0x12c)]||Array[_0x49b050(0x197)](_0xfc46cf))return null;this[_0x49b050(0x10e)](),this[_0x49b050(0x10d)]=_0x19b3fe;const _0xacfd7b=this[_0x49b050(0x141)](_0xfc46cf,_0x226f46,_0x43c232,_0x3db2ec);return this['_currentUnitId']='',this[_0x49b050(0x105)](),_0xacfd7b;}['_generateExprTree'](_0x28e5c7,_0x3e3c67,_0x445ad5,_0x1b4326){const _0x197115=_0x1b82e2,_0x5c987b={'value':'','children':[],'startIndex':0x0};let _0x36e090=_0x28e5c7;if(_0x36e090 instanceof a[_0x197115(0x15c)]&&(_0x36e090[_0x197115(0xf0)]()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x36e090[_0x197115(0xf0)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x36e090[_0x197115(0x16c)]()[_0x197115(0x19d)]===0x1&&(_0x36e090=_0x36e090['getChildren']()[0x0]),!(_0x36e090 instanceof a[_0x197115(0x15c)]))return this[_0x197115(0x187)](_0x36e090,_0x445ad5,_0x1b4326);const _0x417b6f=_0x36e090[_0x197115(0x16c)](),_0x5add23=_0x417b6f[_0x197115(0x19d)],_0x2e2271=[];this[_0x197115(0x123)](_0x36e090,_0x2e2271,_0x3e3c67),_0x5c987b[_0x197115(0x19e)]=_0x2e2271['join'](''),_0x5c987b[_0x197115(0x1e8)]=_0x36e090[_0x197115(0x124)]();const _0x5b1371=this['_getCurNodeTypeForExprTree'](_0x36e090);if(_0x5b1371===0x2){const _0x465313=_0x417b6f[0x0];if(_0x465313 instanceof a[_0x197115(0x15c)]){if(_0x465313['getToken']()[_0x197115(0x139)]()!==a[_0x197115(0x166)])return _0x5c987b;this[_0x197115(0x196)](_0x465313,_0x5c987b,_0x3e3c67,_0x445ad5,_0x1b4326);}return _0x5c987b;}else{if(_0x5b1371===0x1){for(let _0x58a08c=0x0;_0x58a08c<_0x5add23-0x1;_0x58a08c++){const _0x3f6c88=_0x417b6f[_0x58a08c];if(_0x3f6c88 instanceof a['LexerNode']&&_0x58a08c%0x2===0x1){const _0x242ed9=_0x3f6c88[_0x197115(0x16c)]();if(_0x242ed9[_0x197115(0x19d)]===0x1&&!(_0x242ed9[0x0]instanceof a[_0x197115(0x15c)]))continue;const _0x1a45ae=this[_0x197115(0x141)](_0x3f6c88,_0x3e3c67,_0x445ad5,_0x1b4326);_0x1a45ae&&_0x5c987b[_0x197115(0x115)]['push'](_0x1a45ae);}}return _0x5c987b;}else{if(_0x5b1371===0x8){const _0x42aa64=_0x417b6f[0x0];if(_0x42aa64 instanceof a['LexerNode']){const _0x1c8839=_0x42aa64[_0x197115(0x16c)]()[0x0];_0x1c8839 instanceof a[_0x197115(0x15c)]&&(_0x5c987b[_0x197115(0x1e8)]=_0x1c8839[_0x197115(0x124)]());}if(this[_0x197115(0x16e)](_0x36e090))return _0x5c987b;}else{if(_0x5b1371===0x7){const _0x1884d7=_0x417b6f[0x0];if(_0x1884d7 instanceof a['LexerNode']){const _0x42d785=_0x1884d7[_0x197115(0x16c)]()[0x0];_0x42d785 instanceof a[_0x197115(0x15c)]&&(_0x5c987b[_0x197115(0x1e8)]=_0x42d785['getStartIndex']());}}}}}return this[_0x197115(0x1ce)](_0x417b6f,_0x5b1371,_0x5c987b,_0x3e3c67,_0x445ad5,_0x1b4326),_0x5c987b;}[_0x1b82e2(0x1ce)](_0xf56af9,_0x29ae62,_0x57c739,_0x1ee89f,_0x3058ec,_0x191847){const _0x25afb8=_0x1b82e2;for(let _0xe78c43=0x0;_0xe78c43<_0xf56af9[_0x25afb8(0x19d)];_0xe78c43++){let _0x4749d2=_0xf56af9[_0xe78c43];if(!(_0x4749d2 instanceof a[_0x25afb8(0x15c)])){const _0x5e7da1=this[_0x25afb8(0x187)](_0x4749d2,_0x3058ec,_0x191847);_0x5e7da1&&_0x57c739[_0x25afb8(0x115)][_0x25afb8(0x1cb)](_0x5e7da1);continue;}const _0xfecf6f=_0x4749d2[_0x25afb8(0x16c)]();if(_0xfecf6f[_0x25afb8(0x19d)]===0x1&&!(_0xfecf6f[0x0]instanceof a[_0x25afb8(0x15c)])){const _0x50aaba=_0xfecf6f[0x0];if(!_0x3058ec(this['_currentUnitId'],_0x50aaba)&&!this['_getTableNameFromStructuredRef'](_0x50aaba,_0x191847)&&!a['isReferenceString'](_0x50aaba))continue;}if(_0x29ae62===0x8){const _0x186a66=_0xfecf6f[0x0];if(_0x186a66 instanceof a[_0x25afb8(0x15c)]){const _0x227c2f=_0x186a66[_0x25afb8(0xf0)]()['trim']();if(a[_0x25afb8(0x1b6)](_0x227c2f))continue;_0x4749d2=_0x186a66;}}const _0x15b9fe=this[_0x25afb8(0x141)](_0x4749d2,_0x1ee89f,_0x3058ec,_0x191847);_0x15b9fe&&_0x57c739[_0x25afb8(0x115)][_0x25afb8(0x1cb)](_0x15b9fe);}}[_0x1b82e2(0x16e)](_0x3b9fed){const _0xe68e2f=_0x1b82e2,_0x4ccde6=_0x3b9fed[_0xe68e2f(0x16c)]();if(_0x4ccde6[_0xe68e2f(0x19d)]<0x2)return!0x1;const _0x508809=_0x4ccde6[0x0],_0x538d2c=_0x4ccde6[0x1];if(!(_0x508809 instanceof a[_0xe68e2f(0x15c)])||!(_0x538d2c instanceof a[_0xe68e2f(0x15c)]))return!0x1;const _0x134b0d=_0x508809[_0xe68e2f(0x16c)]()[0x0],_0x400d47=_0x538d2c[_0xe68e2f(0x16c)]()[0x0];if(!(_0x134b0d instanceof a[_0xe68e2f(0x15c)])||!(_0x400d47 instanceof a[_0xe68e2f(0x15c)]))return!0x1;const _0x52899f=_0x134b0d['getToken']()[_0xe68e2f(0x139)](),_0x1afc70=_0x400d47[_0xe68e2f(0xf0)]()[_0xe68e2f(0x139)]();return!!a[_0xe68e2f(0x1b6)](''+_0x52899f+a[_0xe68e2f(0x15e)][_0xe68e2f(0x11f)]+_0x1afc70);}[_0x1b82e2(0x187)](_0x18d132,_0x43f61a,_0x5c4c96){const _0x4e9423=_0x1b82e2,_0x1c9106=_0x18d132[_0x4e9423(0x139)]();return _0x1c9106[_0x4e9423(0x160)]('{')&&_0x1c9106[_0x4e9423(0x1c0)]('}')||_0x43f61a(this[_0x4e9423(0x10d)],_0x1c9106)||this[_0x4e9423(0x13a)](_0x1c9106,_0x5c4c96)||a['isReferenceString'](_0x1c9106)?{'value':_0x1c9106,'children':[],'startIndex':-0x1}:null;}[_0x1b82e2(0x13a)](_0x1f2168,_0x424271){const _0x124100=_0x1b82e2,{tableName:_0x46a726}=a[_0x124100(0x14e)](_0x1f2168);return _0x424271(this[_0x124100(0x10d)],_0x46a726)?_0x46a726:null;}[_0x1b82e2(0x196)](_0x183abf,_0x589a5a,_0xb09d54,_0x95a99d,_0x22f93d){const _0x3681ed=_0x1b82e2,_0x3a8bb3=_0x183abf[_0x3681ed(0x16c)]();for(let _0x65017e=0x0;_0x65017e<_0x3a8bb3['length'];_0x65017e++){const _0x1cc26e=_0x3a8bb3[_0x65017e];if(!(_0x1cc26e instanceof a[_0x3681ed(0x15c)]))continue;const _0x3c91d4=_0x1cc26e[_0x3681ed(0x16c)]();if(_0x3c91d4[_0x3681ed(0x19d)]===0x1&&!(_0x3c91d4[0x0]instanceof a['LexerNode']))continue;const _0x3db29c=this[_0x3681ed(0x141)](_0x1cc26e,_0xb09d54,_0x95a99d,_0x22f93d);_0x3db29c&&_0x589a5a[_0x3681ed(0x115)][_0x3681ed(0x1cb)](_0x3db29c);}}[_0x1b82e2(0x142)](_0x2b54a3){const _0x47c3a9=_0x1b82e2,_0x175a02=_0x2b54a3['getToken'](),_0x45a6ab=_0x175a02[_0x47c3a9(0x139)]()[_0x47c3a9(0x1d4)]();let _0x3d6352=0x0;return _0x175a02===a[_0x47c3a9(0x133)]?_0x3d6352=0x3:_0x175a02===a[_0x47c3a9(0x143)]?_0x3d6352=0x4:_0x175a02===a[_0x47c3a9(0x166)]?_0x3d6352=0x5:_0x45a6ab===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x3d6352=0x2:_0x45a6ab===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x3d6352=0x1:_0x45a6ab===a[_0x47c3a9(0x15e)][_0x47c3a9(0x11f)]?_0x3d6352=0x8:a['SUFFIX_TOKEN_SET']['has'](_0x45a6ab)?_0x3d6352=0x7:_0x45a6ab===a[_0x47c3a9(0x1c6)]['MINUS']?this[_0x47c3a9(0x153)](_0x2b54a3)&&(_0x3d6352=0x9):_0x3d6352=0xa,_0x3d6352;}}const b={0x0:'8',0x1:'v',0x2:'s',0x3:'o',0x4:'O',0x5:'Z',0x6:'F',0x7:'1',0x8:'B',0x9:'M','g':'0','Z':'2','H':'3','M':'4','x':'5','I':'6','L':'7','n':'9','z':'a','Q':'b','J':'c','u':'d','C':'e','w':'f','k':'g','G':'h','T':'i','s':'j','r':'k','V':'l','a':'m','O':'n','b':'p','X':'q','W':'r','t':'t','P':'u','D':'w','j':'x','y':'y','F':'z','h':'A','o':'C','q':'D','N':'E','v':'G','S':'H','f':'I','m':'J','c':'K','p':'L','Y':'N','i':'P','B':'Q','K':'R','R':'S','U':'T','A':'U','d':'V','E':'W','l':'X','e':'Y'},J='/*\x20C2VTOt-uT2zQVC\x20bWCwCW-tCabVztC\x20*/wPOJtT3O\x20uCJWybtT3O(VTJCO2C,\x20bPQVTJcCy)\x20{\x20\x20\x20\x20tWy\x20{\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20VTJCO2CfOw3izWthWWzy\x20=\x20VTJCO2C.2bVTt(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x203WTkTO9C22zkC\x20=\x20mR4Y.bzW2C(zt3Q(VTJCO2CfOw3izWthWWzy[Z]));\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(!3WTkTO9C22zkC.Pu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203WTkTO9C22zkC.Pu\x20=\x20YPaQCW(VTJCO2CfOw3izWthWWzy[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T2E3WrCW\x20=\x20tybC3w\x20E3WrCWvV3QzVRJ3bC\x20!==\x20\x27POuCwTOCu\x27\x20&&\x202CVw\x20TO2tzOJC3w\x20E3WrCWvV3QzVRJ3bC;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T28W3D2CW\x20=\x20tybC3w\x20DTOu3D\x20!==\x20\x27POuCwTOCu\x27\x20&&\x20tybC3w\x20DTOu3D.V3JztT3O\x20!==\x20\x27POuCwTOCu\x27;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20J3OtCjt\x20=\x20T2E3WrCW\x20?\x202CVw\x20:\x20(T28W3D2CW\x20?\x20DTOu3D\x20:\x20kV3QzVUGT2);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[Z]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(aC22zkCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[H]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(2TkOztPWCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOdzVTu\x20=\x20J3OtCjt.__1CWTwy__(2TkOztPWC,\x20aC22zkC,\x20bPQVTJcCy);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20u3azTO\x20=\x203WTkTO9C22zkC.ua;\x20\x20\x20\x20\x20\x20\x20\x20wPOJtT3O\x20T2q3azTO9ztJGTOk(bzttCWO,\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO\x20===\x20G32t)\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO.2tzWt2ETtG(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202PwwTj\x20=\x20bzttCWO.2VTJC(Z);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x202PwwTj\x20===\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\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\x20Tw\x20(2PwwTj\x20&&\x20!G32t.2tzWt2ETtG(\x27.\x27)\x20&&\x20G32t.COu2ETtG(\x27.\x27\x20+\x202PwwTj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\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\x20WCtPWO\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VCt\x20u3azTOdzVTu\x20=\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(T28W3D2CW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20(u3azTO\x20&&\x20u3azTO.VCOktG)\x20?\x20u3azTO.23aC((uaftCa)\x20=>\x20T2q3azTO9ztJGTOk(uaftCa,\x20V3JztT3O.G32tOzaC))\x20:\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(V3JztT3O.G32tOzaC\x20===\x20\x27V3JzVG32t\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20CV2C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x201zVTu\x20=\x202TkOdzVTu\x20&&\x20u3azTOdzVTu;\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x203WTkTO9C22zkC,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20JztJG\x20(CWW3W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu:\x20wzV2C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class B extends a[_0x1b82e2(0x19c)]{constructor(){const _0x4444d4=_0x1b82e2;super(...arguments),D(this,_0x4444d4(0x1a4),new Map());}['dispose'](){const _0x2ad1bb=_0x1b82e2;super[_0x2ad1bb(0x1c2)](),this['_dependencyTreeCache'][_0x2ad1bb(0xf7)]();}async[_0x1b82e2(0x135)](_0x18681c=!0x1){const _0x45534d=_0x1b82e2;this[_0x45534d(0x1b4)]();const _0x3cfbe8=this['_currentConfigService']['getFormulaData'](),_0x509a18=this[_0x45534d(0x1d1)][_0x45534d(0x111)](),_0x26f90f=this[_0x45534d(0x1ab)][_0x45534d(0x14b)]();_0x26f90f!=null&&Object['keys'](_0x26f90f)['forEach'](_0x199adb=>{const _0x571962=_0x45534d;_0x199adb!=null&&Object[_0x571962(0x15d)](_0x26f90f[_0x199adb])['forEach'](_0x1a8c89=>{const _0x3182d0=_0x571962;_0x1a8c89!=null&&(this[_0x3182d0(0x14d)][_0x3182d0(0x134)](_0x199adb,_0x1a8c89),this[_0x3182d0(0x14d)]['clearFeatureFormulaDependency'](_0x199adb,_0x1a8c89),this[_0x3182d0(0x14d)]['clearFormulaDependency'](_0x199adb,_0x1a8c89));});});const _0x2a3eab=this[_0x45534d(0x1ab)]['getUnitData']();await this[_0x45534d(0x1cd)](_0x3cfbe8,_0x509a18,_0x2a3eab),this[_0x45534d(0x14d)]['openKdTree']();const _0x33cacf=this['_getUpdateTreeListAndMakeDependency'](),_0xc811d8=this[_0x45534d(0x1a0)](_0x33cacf);return this[_0x45534d(0x1e9)](_0xc811d8)&&this[_0x45534d(0x1de)]['enableCycleDependency'](),_0x18681c&&this[_0x45534d(0x1de)][_0x45534d(0x15a)](this[_0x45534d(0x161)](Array[_0x45534d(0x11a)](this[_0x45534d(0x1a4)]['values']()))),this[_0x45534d(0x1a4)][_0x45534d(0xf7)](),this[_0x45534d(0x198)][_0x45534d(0xf7)](),this[_0x45534d(0x14d)][_0x45534d(0x13d)](),this[_0x45534d(0x1de)][_0x45534d(0xfd)](),Promise[_0x45534d(0x1b7)](_0xc811d8);}[_0x1b82e2(0xf5)](_0x1c627b,_0x2c3953){const _0x1b39d9=_0x1b82e2,_0xf1313b=[_0x1c627b];for(;_0xf1313b['length']>0x0;){const _0x3c9530=_0xf1313b[_0xf1313b[_0x1b39d9(0x19d)]-0x1];if((_0x2c3953[_0x1b39d9(0x193)](_0x3c9530)||0x0)===0x0){_0x2c3953['set'](_0x3c9530,0x1);const _0x98368a=this[_0x1b39d9(0x1a4)][_0x1b39d9(0x193)](_0x3c9530);if(_0x98368a==null){_0x2c3953[_0x1b39d9(0x150)](_0x3c9530,0x2),_0xf1313b[_0x1b39d9(0x149)]();continue;}const _0x4c6f3a=this['_dependencyManagerService'][_0x1b39d9(0xfa)](_0x98368a['toRTreeItem']());for(const _0x28d8af of _0x4c6f3a){const _0x4119b8=_0x2c3953['get'](_0x28d8af)||0x0;if(_0x4119b8===0x1)return!0x0;_0x4119b8===0x0&&_0xf1313b[_0x1b39d9(0x1cb)](_0x28d8af);}}else _0x2c3953[_0x1b39d9(0x150)](_0x3c9530,0x2),_0xf1313b['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x18e365){const _0x447f98=_0x1b82e2,_0x34dea0=new Map();for(const _0x139772 of _0x18e365)if(!_0x34dea0[_0x447f98(0x18f)](_0x139772[_0x447f98(0x1b8)])&&this['_isCyclicUtilMap'](_0x139772[_0x447f98(0x1b8)],_0x34dea0))return!0x0;return _0x34dea0[_0x447f98(0xf7)](),!0x1;}[_0x1b82e2(0x190)](_0x163c53,_0x2bf599,_0x2066f8){const _0x501579=_0x1b82e2,{unitId:_0x1b47d5,subUnitId:_0x360530,dependencyRanges:_0x10c521,getDirtyData:_0x3423e3}=_0x2066f8,_0x1d359d=_0x2bf599||a[_0x501579(0x125)](this[_0x501579(0x14d)]),_0x4e2600=new a[(_0x501579(0x1e2))](_0x1d359d);_0x4e2600[_0x501579(0x151)]=_0x1b47d5,_0x4e2600[_0x501579(0x13c)]=_0x360530,_0x4e2600[_0x501579(0x1cc)]=_0x10c521,_0x4e2600[_0x501579(0x126)]=_0x3423e3;const _0x4269ac=_0x3423e3(this[_0x501579(0x1ab)][_0x501579(0x126)](),this[_0x501579(0x1de)][_0x501579(0x10c)]()),_0xff2e76=this[_0x501579(0x148)](_0x4269ac[_0x501579(0x18a)]);return _0x4e2600['featureDirtyRanges']=_0xff2e76,_0x4e2600[_0x501579(0x184)]=_0x163c53,_0x4e2600['type']=a[_0x501579(0x16b)]['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x501579(0x1cf)](_0x1b47d5,_0x360530,_0x163c53,_0x4e2600),this[_0x501579(0x1a4)][_0x501579(0x150)](_0x4e2600[_0x501579(0x1b8)],_0x4e2600),this[_0x501579(0x14d)]['getFeatureFormulaDependency'](_0x2066f8[_0x501579(0x151)],_0x2066f8[_0x501579(0x13c)],_0x163c53)&&(_0x4e2600[_0x501579(0x101)]=!0x0),_0x4e2600;}['_registerOtherFormulas'](_0x139944,_0x5039c5,_0x211b99){const _0x2d9173=_0x1b82e2;var _0x236a41;for(const _0x32e5c1 of _0x5039c5){const _0xcc31eb=_0x139944[_0x32e5c1];if(_0xcc31eb==null)continue;const _0x1e95ae=Object['keys'](_0xcc31eb);for(const _0x25f3a5 of _0x1e95ae){const _0x13afa1=_0xcc31eb[_0x25f3a5];if(_0x13afa1==null)continue;const _0x54aff5=Object[_0x2d9173(0x15d)](_0x13afa1);for(const _0x10046a of _0x54aff5){const _0x44636f=this[_0x2d9173(0x14d)]['hasOtherFormulaDataMainData'](_0x10046a),_0x50b824=_0x13afa1[_0x10046a],{f:_0xe5b519,ranges:_0xb2ab2b}=_0x50b824;let _0x40104e=!0x1;_0x44636f&&(_0x40104e=!0x0);const {firstRow:_0x334422,firstColumn:_0x199bc4}=this['_getFirstCellOfRange'](_0xb2ab2b),_0x254284=this[_0x2d9173(0x14d)][_0x2d9173(0x1e0)](_0x32e5c1,_0x25f3a5,_0x10046a),_0x25052e=(_0x236a41=_0x254284==null?void 0x0:_0x254284[_0x2d9173(0x131)](0x0,0x0))!=null?_0x236a41:a[_0x2d9173(0x125)](this[_0x2d9173(0x14d)]),_0x568e36=new a[(_0x2d9173(0x1e2))](_0x25052e);for(let _0x5f2ebd=0x0;_0x5f2ebd<_0xb2ab2b[_0x2d9173(0x19d)];_0x5f2ebd++){const _0xf32769=_0xb2ab2b[_0x5f2ebd],{startRow:_0x2b6d85,startColumn:_0x1a66cb,endRow:_0x2e66a1,endColumn:_0x40b04e}=_0xf32769;for(let _0x4f1465=_0x2b6d85;_0x4f1465<=_0x2e66a1;_0x4f1465++)for(let _0x4c1768=_0x1a66cb;_0x4c1768<=_0x40b04e;_0x4c1768++){const _0x31e43d=_0x4c1768-_0x199bc4,_0x1fc640=_0x4f1465-_0x334422;if(_0x31e43d===0x0&&_0x1fc640===0x0){_0x568e36[_0x2d9173(0x147)]=_0xe5b519,_0x568e36[_0x2d9173(0x151)]=_0x32e5c1,_0x568e36['subUnitId']=_0x25f3a5,_0x568e36[_0x2d9173(0x1af)]=_0x10046a,_0x568e36['type']=a[_0x2d9173(0x16b)]['OTHER_FORMULA'],_0x568e36['isCache']=_0x40104e,_0x211b99[_0x2d9173(0x1cb)](_0x568e36),this[_0x2d9173(0x1a4)][_0x2d9173(0x150)](_0x568e36[_0x2d9173(0x1b8)],_0x568e36),this['_dependencyManagerService'][_0x2d9173(0x1a2)](_0x32e5c1,_0x25f3a5,_0x10046a,_0x568e36),this['_dependencyManagerService'][_0x2d9173(0x138)](_0x568e36);continue;}const _0x49ac0c=new a[(_0x2d9173(0x1c8))]();_0x49ac0c[_0x2d9173(0x1b8)]=(_0x254284==null?void 0x0:_0x254284['getValue'](_0x31e43d,_0x1fc640))||a[_0x2d9173(0x125)](this[_0x2d9173(0x14d)]),_0x49ac0c[_0x2d9173(0x16a)]=_0x568e36,_0x49ac0c[_0x2d9173(0x103)]=_0x31e43d,_0x49ac0c['refOffsetY']=_0x1fc640,_0x49ac0c[_0x2d9173(0x101)]=_0x40104e,_0x49ac0c['type']=a['FormulaDependencyTreeType']['OTHER_FORMULA'],this[_0x2d9173(0x14d)][_0x2d9173(0x1a2)](_0x32e5c1,_0x25f3a5,_0x10046a,_0x49ac0c),this['_dependencyManagerService'][_0x2d9173(0x138)](_0x49ac0c),_0x211b99[_0x2d9173(0x1cb)](_0x49ac0c),this[_0x2d9173(0x1a4)]['set'](_0x49ac0c[_0x2d9173(0x1b8)],_0x49ac0c);}}this[_0x2d9173(0x14d)][_0x2d9173(0x1c3)](_0x10046a);}}}}[_0x1b82e2(0x1ac)](_0x96c813,_0x5cdd6c,_0x3cc8c5,_0x3c6678){const _0x1fcb01=_0x1b82e2;for(const _0x3c1c81 of _0x96c813){const _0x3478f9=_0x5cdd6c[_0x3c1c81];if(_0x3478f9==null)continue;const _0x442f28=Object[_0x1fcb01(0x15d)](_0x3478f9);for(const _0x505b1f of _0x442f28){const _0xe9f519=new x[(_0x1fcb01(0x156))](_0x3478f9[_0x505b1f]||{}),_0x2994b4=new Map();_0xe9f519[_0x1fcb01(0x128)]((_0x402ab1,_0x44e626,_0x5248cb)=>{const _0x344ba9=_0x1fcb01;if(_0x5248cb==null)return!0x0;const {x:_0x31b99b=0x0,y:_0x4cbd89=0x0,si:_0x1c5552}=_0x5248cb;if(!(_0x31b99b===0x0&&_0x4cbd89===0x0&&_0x1c5552!=null))return!0x0;const _0x5c3601=this['_createFDtree'](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626,_0x3cc8c5,_0x5248cb),_0x3707d0=this[_0x344ba9(0x14d)][_0x344ba9(0xf9)](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626);_0x3707d0!=null?_0x5c3601['treeId']=_0x3707d0:(this['_dependencyManagerService'][_0x344ba9(0x10b)](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626,_0x5c3601),this[_0x344ba9(0x14d)][_0x344ba9(0x138)](_0x5c3601)),_0x2994b4[_0x344ba9(0x150)](_0x1c5552,_0x5c3601),_0x3c6678['push'](_0x5c3601),this[_0x344ba9(0x1a4)][_0x344ba9(0x150)](_0x5c3601['treeId'],_0x5c3601);}),_0xe9f519[_0x1fcb01(0x128)]((_0x3a8403,_0x334ab7,_0x2271c4)=>{const _0x34df38=_0x1fcb01;if(_0x2271c4==null)return!0x0;const {x:_0x7becef=0x0,y:_0x543d43=0x0,si:_0x5106fa}=_0x2271c4;if(_0x7becef===0x0&&_0x543d43===0x0&&_0x5106fa!=null)return!0x0;let _0x5c4029;if(_0x5106fa&&_0x2994b4[_0x34df38(0x18f)](_0x5106fa)){const _0x1a98de=_0x2994b4[_0x34df38(0x193)](_0x5106fa);_0x5c4029=this[_0x34df38(0x132)](_0x1a98de,_0x2271c4);}else _0x5c4029=this['_createFDtree'](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7,_0x3cc8c5,_0x2271c4);const _0x18a715=this['_dependencyManagerService']['getFormulaDependency'](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7);_0x18a715!=null?_0x5c4029[_0x34df38(0x1b8)]=_0x18a715:(this[_0x34df38(0x14d)][_0x34df38(0x10b)](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7,_0x5c4029),this['_dependencyManagerService'][_0x34df38(0x138)](_0x5c4029)),_0x3c6678[_0x34df38(0x1cb)](_0x5c4029),this[_0x34df38(0x1a4)][_0x34df38(0x150)](_0x5c4029[_0x34df38(0x1b8)],_0x5c4029);}),_0x2994b4[_0x1fcb01(0xf7)]();}}}[_0x1b82e2(0xf2)](_0x3610bf,_0x52945f,_0x3c3728,_0x213c43,_0x158f1e,_0x2f8268){const _0x424dad=_0x1b82e2,{f:_0x4d72a2,x:_0x191310=0x0,y:_0xaf44a1=0x0}=_0x2f8268,_0x284066=new a[(_0x424dad(0x1e2))](a['generateRandomDependencyTreeId'](this[_0x424dad(0x14d)])),_0x3c729e=_0x158f1e[_0x3610bf][_0x52945f];return _0x284066['formula']=_0x4d72a2,_0x284066[_0x424dad(0x151)]=_0x3610bf,_0x284066[_0x424dad(0x13c)]=_0x52945f,_0x284066[_0x424dad(0x1db)]=_0x3c3728,_0x284066['column']=_0x213c43,_0x284066['rowCount']=_0x3c729e[_0x424dad(0x1b2)],_0x284066[_0x424dad(0x183)]=_0x3c729e['columnCount'],_0x284066;}[_0x1b82e2(0x10f)](){const _0xe606e7=_0x1b82e2,_0x167b91=[],_0xa9d4d7=new Set(),_0x57e862=this[_0xe606e7(0x1ab)][_0xe606e7(0x121)](),_0x5ec174=this[_0xe606e7(0x1ab)]['getDirtyRanges'](),_0x5718d3=this['_dependencyManagerService']['searchDependency'](_0x5ec174),_0x451107=this[_0xe606e7(0x198)]['bulkSearch'](_0x5ec174);for(const _0x7bfdcd of _0x451107)_0x5718d3[_0xe606e7(0x194)](_0x7bfdcd);for(const [_0x58e2ad,_0x47a7f7]of this[_0xe606e7(0x1a4)])(_0x57e862||_0x47a7f7['isDirty']||_0x47a7f7['dependencySheetName'](this[_0xe606e7(0x1ab)]['getDirtyNameMap']())||_0x5718d3[_0xe606e7(0x18f)](_0x58e2ad)&&!_0x47a7f7['isExcludeRange'](this[_0xe606e7(0x1ab)][_0xe606e7(0x189)]()))&&!_0xa9d4d7[_0xe606e7(0x18f)](_0x58e2ad)&&(_0x167b91[_0xe606e7(0x1cb)](_0x47a7f7),_0xa9d4d7['add'](_0x58e2ad));for(const [_0x59a92b,_0x1ae846]of this[_0xe606e7(0x1a4)])_0x1ae846['isVirtual']||(_0x1ae846[_0xe606e7(0x1cc)][_0xe606e7(0x19d)]=0x0);return _0x167b91;}['_getTreeById'](_0x496dd3){const _0x349f18=_0x1b82e2;return this[_0x349f18(0x1a4)][_0x349f18(0x193)](_0x496dd3);}[_0x1b82e2(0x144)](_0x33cf48){const _0xee2747=_0x1b82e2;return a['generateAstNode'](_0x33cf48[_0xee2747(0x151)],_0x33cf48['formula'],this[_0xee2747(0x178)],this[_0xee2747(0x1d8)],this[_0xee2747(0x1ab)]);}*[_0x1b82e2(0x15f)](_0x36a387,_0x41bcb8){const _0x11b481=_0x1b82e2,_0x1b6113=_0x36a387,_0xacaed6=new Set();for(;_0x1b6113[_0x11b481(0x19d)]>0x0;){const _0x185b54=_0x1b6113['pop']();if(_0xacaed6[_0x11b481(0xf7)](),_0x185b54===void 0x0||_0x185b54[_0x11b481(0x1dc)]())continue;if(_0x185b54[_0x11b481(0x119)]()){yield _0x185b54,_0x185b54['setSkip'](),_0x41bcb8[_0x11b481(0x194)](_0x185b54[_0x11b481(0x1b8)]);continue;}const _0x4f254e=this[_0x11b481(0x14d)][_0x11b481(0xfa)](_0x185b54['toRTreeItem'](),_0x41bcb8),_0x45bde3=this[_0x11b481(0x198)][_0x11b481(0x163)](_0x185b54[_0x11b481(0x114)](),_0x41bcb8);for(const _0x2c4e3e of _0x45bde3)_0x4f254e[_0x11b481(0x194)](_0x2c4e3e);for(const _0x52f6ee of _0x4f254e){const _0x254ba8=this[_0x11b481(0x1a4)][_0x11b481(0x193)](_0x52f6ee);if(!_0x254ba8){console[_0x11b481(0x140)](_0x11b481(0x1c7),_0x52f6ee);continue;}_0x254ba8[_0x11b481(0x119)]()||_0x185b54['isSkip']()||_0xacaed6['add'](_0x254ba8);}if(_0x4f254e[_0x11b481(0xf7)](),_0xacaed6['size']===0x0)yield _0x185b54,_0x185b54[_0x11b481(0x176)](),_0x41bcb8['add'](_0x185b54[_0x11b481(0x1b8)]);else{_0x185b54['setAdded'](),_0x1b6113[_0x11b481(0x1cb)](_0x185b54);for(const _0x432f81 of _0xacaed6)_0x1b6113[_0x11b481(0x1cb)](_0x432f81);}}_0x1b6113[_0x11b481(0x19d)]=0x0,_0xacaed6[_0x11b481(0xf7)]();}[_0x1b82e2(0x1a0)](_0x503e0b){const _0x2ec435=_0x1b82e2,_0x2b140=[],_0x103d19=new Set();for(const _0xbb343c of this[_0x2ec435(0x15f)](_0x503e0b,_0x103d19))_0x2b140[_0x2ec435(0x1cb)](_0xbb343c);return _0x2b140;}async['_getAllTreeList'](){const _0x4169f7=_0x1b82e2;return await this[_0x4169f7(0x1a5)](),Array[_0x4169f7(0x11a)](this['_dependencyTreeCache'][_0x4169f7(0x168)]());}[_0x1b82e2(0x195)](_0x4bcebc){const _0xbe72e3=_0x1b82e2;return this[_0xbe72e3(0x14d)][_0xbe72e3(0xfa)](_0x4bcebc[_0xbe72e3(0x114)]());}['_getDependencyTreeChildrenIds'](_0x34ce26){const _0x36def8=_0x1b82e2,_0x435175=new Set(),_0xfa0898=_0x34ce26['rangeList'];for(const [_0x322cb1,_0x5e2d93]of this[_0x36def8(0x1a4)])for(const _0x5c71a6 of _0xfa0898){const _0x5c5a73=_0x5c71a6['unitId'],_0x1e4949=_0x5c71a6[_0x36def8(0x15b)];if(_0x5e2d93[_0x36def8(0x151)]!==_0x5c5a73||_0x5e2d93['subUnitId']!==_0x1e4949)continue;const _0x277bf0=_0x5c71a6[_0x36def8(0x1da)];if(_0x5e2d93[_0x36def8(0x1bc)](_0x277bf0)){_0x435175[_0x36def8(0x194)](_0x322cb1);break;}}return _0x435175;}[_0x1b82e2(0x180)](){const _0x29c6fa=_0x1b82e2;this[_0x29c6fa(0x14d)][_0x29c6fa(0x169)]();}['_endFormulaDependencyTreeModel'](){const _0x5b8e9b=_0x1b82e2;this[_0x5b8e9b(0x130)]['clear'](),this[_0x5b8e9b(0x1a4)][_0x5b8e9b(0xf7)](),this[_0x5b8e9b(0x14d)]['closeKdTree']();}}class G extends a[_0x1b82e2(0x11e)]{async[_0x1b82e2(0x104)](_0x27be7f=!0x1){const _0x539094=_0x1b82e2;_0x27be7f?this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1d0)]):this['_runtimeService'][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x14a)]),this['_executionInProgressListener$'][_0x539094(0x1dd)](this[_0x539094(0x1de)][_0x539094(0xf8)]());const _0x7a0316=await this[_0x539094(0x1b5)]['generate'](this[_0x539094(0x137)]),_0x4ddbfc=this[_0x539094(0x13b)];_0x27be7f?(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1d3)]),this[_0x539094(0x1de)][_0x539094(0x10a)](_0x7a0316['length'])):(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)]['START_CALCULATION']),this[_0x539094(0x1de)][_0x539094(0x162)](_0x7a0316['length'])),this['_executionInProgressListener$']['next'](this[_0x539094(0x1de)][_0x539094(0xf8)]());let _0xa3f127=[];const _0x5451c1=this[_0x539094(0x181)][_0x539094(0x14c)](a[_0x539094(0x109)]),_0x4ea355=(_0x5451c1==null?void 0x0:_0x5451c1[_0x539094(0x17c)])||a[_0x539094(0x1a1)];let _0x166240=0x0;const _0x273f5d=_0x7a0316['length'];for(;_0x7a0316[_0x539094(0x19d)]>0x0;){const _0x194f6f=_0x7a0316[_0x539094(0x149)](),_0x351362=a[_0x539094(0x177)](_0x194f6f['unitId'],_0x194f6f[_0x539094(0x147)],this[_0x539094(0x178)],this[_0x539094(0x1d8)],this['_currentConfigService']),_0x1ac876={'node':_0x351362,'refOffsetX':_0x194f6f[_0x539094(0x103)],'refOffsetY':_0x194f6f['refOffsetY']},_0x2e8f3a=_0x194f6f[_0x539094(0x126)];if(_0x166240%_0x4ea355===0x0&&(await new Promise(_0x356315=>{const _0x1e7a18=_0x539094,_0x15cf8a=x[_0x1e7a18(0x1bb)](_0x356315);_0xa3f127['push'](_0x15cf8a);}),_0x27be7f?(this[_0x539094(0x1de)]['setFormulaExecuteStage'](a[_0x539094(0x1e3)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x539094(0x116)](_0x166240+0x1)):(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x19b)]),this[_0x539094(0x1de)]['setCompletedFormulasCount'](_0x166240+0x1)),this[_0x539094(0x1d2)][_0x539094(0x1dd)](this['_runtimeService'][_0x539094(0xf8)]()),this[_0x539094(0x1de)][_0x539094(0x158)]()||_0x1ac876==null&&_0x2e8f3a==null)){this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1b0)]),this[_0x539094(0x1de)]['markedAsStopFunctionsExecuted'](),this[_0x539094(0x17d)][_0x539094(0x1dd)](this[_0x539094(0x1de)][_0x539094(0x10c)]());return;}this['_runtimeService']['setCurrent'](_0x194f6f[_0x539094(0x1db)],_0x194f6f[_0x539094(0x1a3)],_0x194f6f[_0x539094(0x1b2)],_0x194f6f[_0x539094(0x183)],_0x194f6f[_0x539094(0x13c)],_0x194f6f[_0x539094(0x151)]);let _0x39365a;if(_0x2e8f3a!=null&&_0x194f6f[_0x539094(0x184)]!=null){const {runtimeCellData:_0x156be1,dirtyRanges:_0x59fdae}=_0x2e8f3a(this[_0x539094(0x1ab)][_0x539094(0x126)](),this['_runtimeService'][_0x539094(0x10c)]());this[_0x539094(0x1de)][_0x539094(0x118)](_0x194f6f[_0x539094(0x184)],_0x156be1),this['_runtimeService'][_0x539094(0x112)](_0x194f6f[_0x539094(0x184)],_0x59fdae);}else _0x1ac876!=null&&(_0x4ddbfc[_0x539094(0x12e)](_0x1ac876['node'])?_0x39365a=await _0x4ddbfc[_0x539094(0x174)](_0x1ac876):_0x39365a=_0x4ddbfc[_0x539094(0x12f)](_0x1ac876),_0x194f6f[_0x539094(0x1af)]!=null?this[_0x539094(0x1de)][_0x539094(0x157)](_0x194f6f[_0x539094(0x1af)],_0x194f6f['refOffsetX'],_0x194f6f['refOffsetY'],_0x39365a):this['_runtimeService'][_0x539094(0x17b)](_0x39365a));_0x351362[_0x539094(0x170)](),_0x166240++;}return _0xa3f127[_0x539094(0xf6)](_0x912767=>_0x912767()),_0xa3f127=[],_0x273f5d>0x0?this[_0x539094(0x1de)][_0x539094(0x1a9)]():_0x27be7f||this[_0x539094(0x1de)][_0x539094(0x1d5)](),this[_0x539094(0x1de)]['getAllRuntimeData']();}}function _0x2657(_0x9aaaf9,_0x55bf2c){_0x9aaaf9=_0x9aaaf9-0xf0;const _0x1907d1=_0x1907();let _0x265794=_0x1907d1[_0x9aaaf9];return _0x265794;}class K extends a[_0x1b82e2(0x1e6)]{constructor(){const _0x144ec0=_0x1b82e2;super(...arguments),D(this,_0x144ec0(0x1c1),new Map()),D(this,_0x144ec0(0x1a7),new x[(_0x144ec0(0x1c5))](!0x0));}[_0x1b82e2(0x1a6)](){const _0x4d449e=_0x1b82e2;this[_0x4d449e(0x1e7)][_0x4d449e(0xf7)](),this['_featureFormulaData'][_0x4d449e(0xf7)](),this[_0x4d449e(0x165)][_0x4d449e(0xf7)](),this[_0x4d449e(0x1a7)][_0x4d449e(0xf7)](),this[_0x4d449e(0x1c1)][_0x4d449e(0xf7)](),this['_restDependencyTreeId'](),this[_0x4d449e(0x175)][_0x4d449e(0xf7)]();}['addOtherFormulaDependency'](_0x46fef1,_0x40b0d6,_0x5d97ad,_0x4d451b){const _0x4cfa21=_0x1b82e2;this[_0x4cfa21(0x1e7)]['has'](_0x46fef1)||this[_0x4cfa21(0x1e7)][_0x4cfa21(0x150)](_0x46fef1,new Map());const _0x57cf50=this[_0x4cfa21(0x1e7)][_0x4cfa21(0x193)](_0x46fef1);_0x57cf50[_0x4cfa21(0x18f)](_0x40b0d6)||_0x57cf50['set'](_0x40b0d6,new Map());const _0x5e86ee=_0x57cf50[_0x4cfa21(0x193)](_0x40b0d6);_0x5e86ee[_0x4cfa21(0x18f)](_0x5d97ad)||_0x5e86ee['set'](_0x5d97ad,new x['ObjectMatrix']()),_0x5e86ee[_0x4cfa21(0x193)](_0x5d97ad)['setValue'](_0x4d451b[_0x4cfa21(0x103)],_0x4d451b[_0x4cfa21(0x16d)],_0x4d451b[_0x4cfa21(0x1b8)]);}[_0x1b82e2(0xff)](_0x155011,_0x3df901,_0x171937){const _0x4e2412=_0x1b82e2,_0x2a8e82=this[_0x4e2412(0x1e7)][_0x4e2412(0x193)](_0x155011);if(_0x2a8e82&&_0x2a8e82[_0x4e2412(0x18f)](_0x3df901)){const _0x2e366b=_0x2a8e82['get'](_0x3df901);_0x171937[_0x4e2412(0xf6)](_0x28e963=>{const _0x2597f3=_0x4e2412,_0x42e5a4=_0x2e366b[_0x2597f3(0x193)](_0x28e963);_0x42e5a4!=null&&(_0x42e5a4['forValue']((_0x26c836,_0x3d2400,_0x2a80d9)=>{const _0x136da3=_0x2597f3;this[_0x136da3(0x12d)](_0x2a80d9),this[_0x136da3(0x11b)](_0x2a80d9);}),_0x2e366b['delete'](_0x28e963),this[_0x2597f3(0x175)][_0x2597f3(0x13f)](_0x28e963));}),_0x2e366b[_0x4e2412(0x19f)]===0x0&&_0x2a8e82[_0x4e2412(0x13f)](_0x3df901),_0x2a8e82[_0x4e2412(0x19f)]===0x0&&this['_otherFormulaData'][_0x4e2412(0x13f)](_0x155011);}}[_0x1b82e2(0x134)](_0x329d61,_0x4533a3){const _0x42574d=_0x1b82e2,_0x5a9f6f=this['_otherFormulaData'][_0x42574d(0x193)](_0x329d61);if(_0x4533a3&&_0x5a9f6f&&_0x5a9f6f[_0x42574d(0x18f)](_0x4533a3)){const _0x5845bf=_0x5a9f6f[_0x42574d(0x193)](_0x4533a3);this['_removeDependencyRTreeCacheById'](_0x329d61,_0x4533a3);for(const _0x1a42dd of _0x5845bf[_0x42574d(0x15d)]()){const _0x242238=_0x5845bf[_0x42574d(0x193)](_0x1a42dd);_0x242238!=null&&(_0x242238[_0x42574d(0x128)]((_0x57ef74,_0x2977b9,_0x706566)=>{const _0x178aef=_0x42574d;this[_0x178aef(0x1c1)][_0x178aef(0x193)](_0x706566)&&this[_0x178aef(0x11b)](_0x706566);}),this[_0x42574d(0x175)][_0x42574d(0x13f)](_0x1a42dd));}_0x5845bf[_0x42574d(0xf7)]();}else{if(_0x5a9f6f){for(const _0x330b2a of _0x5a9f6f[_0x42574d(0x15d)]()){const _0x747a8b=_0x5a9f6f[_0x42574d(0x193)](_0x330b2a);this[_0x42574d(0x171)](_0x329d61,_0x330b2a);for(const _0x487db8 of _0x747a8b[_0x42574d(0x15d)]()){const _0x7dda1f=_0x747a8b[_0x42574d(0x193)](_0x487db8);_0x7dda1f!=null&&(_0x7dda1f[_0x42574d(0x128)]((_0x4f0ef4,_0x1bf2a9,_0x437ad0)=>{const _0x347512=_0x42574d;this[_0x347512(0x1c1)][_0x347512(0x193)](_0x437ad0)&&this[_0x347512(0x11b)](_0x437ad0);}),this[_0x42574d(0x175)][_0x42574d(0x13f)](_0x487db8));}}this[_0x42574d(0x1e7)][_0x42574d(0x13f)](_0x329d61);}}}[_0x1b82e2(0x1cf)](_0x362016,_0x3fd19a,_0x5f5a6a,_0x322078){const _0x11e934=_0x1b82e2;this[_0x11e934(0x1c9)][_0x11e934(0x18f)](_0x362016)||this[_0x11e934(0x1c9)]['set'](_0x362016,new Map());const _0x401869=this[_0x11e934(0x1c9)][_0x11e934(0x193)](_0x362016);_0x401869[_0x11e934(0x18f)](_0x3fd19a)||_0x401869[_0x11e934(0x150)](_0x3fd19a,new Map()),_0x401869[_0x11e934(0x193)](_0x3fd19a)['set'](_0x5f5a6a,_0x322078[_0x11e934(0x1b8)]);}[_0x1b82e2(0x107)](_0x4e6093,_0x309a77,_0x15e32c){const _0x24195c=_0x1b82e2,_0x4a7582=this[_0x24195c(0x1c9)][_0x24195c(0x193)](_0x4e6093);if(_0x4a7582&&_0x4a7582[_0x24195c(0x18f)](_0x309a77)){const _0x4f94d3=_0x4a7582[_0x24195c(0x193)](_0x309a77);_0x15e32c[_0x24195c(0xf6)](_0x15ff5c=>{const _0x172c0b=_0x24195c,_0xf50656=_0x4f94d3[_0x172c0b(0x193)](_0x15ff5c);_0xf50656!=null&&(this[_0x172c0b(0x12d)](_0xf50656),_0x4f94d3[_0x172c0b(0x13f)](_0x15ff5c),this[_0x172c0b(0x11b)](_0xf50656));});}}[_0x1b82e2(0x136)](_0x2974c8,_0x3fd1de){const _0x3e4f98=_0x1b82e2,_0x1b0413=this[_0x3e4f98(0x1c9)]['get'](_0x2974c8);if(_0x3fd1de&&_0x1b0413&&_0x1b0413[_0x3e4f98(0x18f)](_0x3fd1de)){const _0x26989d=_0x1b0413[_0x3e4f98(0x193)](_0x3fd1de);this[_0x3e4f98(0x171)](_0x2974c8,_0x3fd1de),_0x26989d[_0x3e4f98(0xf6)](_0x2886ff=>{const _0x4de56b=_0x3e4f98;_0x2886ff!=null&&this[_0x4de56b(0x11b)](_0x2886ff);}),_0x26989d[_0x3e4f98(0xf7)]();}else _0x1b0413&&(_0x1b0413[_0x3e4f98(0xf6)]((_0x517162,_0x595d88)=>{const _0x123e6f=_0x3e4f98;this[_0x123e6f(0x171)](_0x2974c8,_0x595d88),_0x517162[_0x123e6f(0xf6)](_0x5e006c=>{const _0x19fb25=_0x123e6f;_0x5e006c!=null&&this[_0x19fb25(0x11b)](_0x5e006c);});}),this['_featureFormulaData'][_0x3e4f98(0x13f)](_0x2974c8));}[_0x1b82e2(0x10b)](_0x1af196,_0xfbb765,_0x4b5622,_0x2ca9c2,_0x30c4bb){const _0x24dce4=_0x1b82e2;this[_0x24dce4(0x165)]['has'](_0x1af196)||this[_0x24dce4(0x165)][_0x24dce4(0x150)](_0x1af196,new Map());const _0x2caeaa=this['_formulaData'][_0x24dce4(0x193)](_0x1af196);_0x2caeaa[_0x24dce4(0x18f)](_0xfbb765)||_0x2caeaa[_0x24dce4(0x150)](_0xfbb765,new x['ObjectMatrix']()),_0x2caeaa[_0x24dce4(0x193)](_0xfbb765)[_0x24dce4(0x11d)](_0x4b5622,_0x2ca9c2,_0x30c4bb['treeId']);}[_0x1b82e2(0x1d7)](_0x4a0c6a,_0x39ee8b,_0x11fbd4,_0x2f5fb0){const _0x1c2f78=_0x1b82e2,_0x152a3c=this[_0x1c2f78(0x165)]['get'](_0x4a0c6a);if(_0x152a3c&&_0x152a3c['has'](_0x39ee8b)){const _0x2e6c8e=_0x152a3c[_0x1c2f78(0x193)](_0x39ee8b),_0x14dce5=_0x2e6c8e['getValue'](_0x11fbd4,_0x2f5fb0);if(_0x14dce5==null)return;this['_removeDependencyRTreeCache'](_0x14dce5),_0x2e6c8e['realDeleteValue'](_0x11fbd4,_0x2f5fb0),this[_0x1c2f78(0x11b)](_0x14dce5);}}['clearFormulaDependency'](_0x155c1f,_0x4c074f){const _0x5e5e25=_0x1b82e2,_0x5b8cce=this['_formulaData'][_0x5e5e25(0x193)](_0x155c1f);if(_0x4c074f&&_0x5b8cce&&_0x5b8cce[_0x5e5e25(0x18f)](_0x4c074f)){const _0x520162=_0x5b8cce[_0x5e5e25(0x193)](_0x4c074f);this[_0x5e5e25(0x171)](_0x155c1f,_0x4c074f),_0x520162[_0x5e5e25(0x128)]((_0x52a1b2,_0xf0eb4c,_0x170049)=>{const _0xaafdf4=_0x5e5e25;if(_0x170049==null)return!0x0;this[_0xaafdf4(0x11b)](_0x170049);}),_0x520162['reset']();}else _0x5b8cce&&(_0x5b8cce[_0x5e5e25(0xf6)]((_0x33e680,_0x41090b)=>{const _0x482a2f=_0x5e5e25;this[_0x482a2f(0x171)](_0x155c1f,_0x41090b),_0x33e680['forValue']((_0x5ee013,_0x4bd1f0,_0x2f7dc7)=>{const _0x24ee22=_0x482a2f;if(_0x2f7dc7==null)return!0x0;this[_0x24ee22(0x11b)](_0x2f7dc7);});}),this[_0x5e5e25(0x165)][_0x5e5e25(0x13f)](_0x155c1f));}[_0x1b82e2(0x12d)](_0x6eeb7f){const _0x21a02b=_0x1b82e2;if(_0x6eeb7f==null)return;const _0x4edd8c=this[_0x21a02b(0x1c1)][_0x21a02b(0x193)](_0x6eeb7f);if(_0x4edd8c){const _0x985f0c=[];for(const [_0xcb1541,_0x5d97d4]of _0x4edd8c)for(const [_0x4018c7,_0x5c987a]of _0x5d97d4)_0x985f0c[_0x21a02b(0x1cb)]({'unitId':_0xcb1541,'sheetId':_0x4018c7,'range':_0x5c987a,'id':_0x6eeb7f});this['_dependencyRTreeCache'][_0x21a02b(0xfb)](_0x985f0c);}}['removeFormulaDependencyByDefinedName'](_0x4c25ad,_0x5f233a){const _0x1f96bb=_0x1b82e2,_0x13d125=this[_0x1f96bb(0x145)][_0x1f96bb(0x193)](_0x4c25ad);if(_0x13d125){const _0x8f64d=_0x13d125['get'](_0x5f233a);if(_0x8f64d){for(const _0x582281 of _0x8f64d)this[_0x1f96bb(0x12d)](_0x582281),this['_removeAllTreeMap'](_0x582281);_0x8f64d['clear']();}}}[_0x1b82e2(0x169)](){const _0x3892d0=_0x1b82e2;this[_0x3892d0(0x1a7)][_0x3892d0(0x169)]();}[_0x1b82e2(0x13d)](){const _0x56675c=_0x1b82e2;this['_dependencyRTreeCache'][_0x56675c(0x13d)]();}[_0x1b82e2(0x11b)](_0x4ea5bc){const _0x395da7=_0x1b82e2;_0x4ea5bc!=null&&this['_allTreeMap'][_0x395da7(0x13f)](_0x4ea5bc);}['_addAllTreeMap'](_0x5eb1e3){const _0x866a9f=_0x1b82e2;var _0x1fbc91,_0x1ce39f;const _0x3562d5=_0x5eb1e3['rangeList'];let _0x48bee4=this[_0x866a9f(0x1c1)][_0x866a9f(0x193)](_0x5eb1e3[_0x866a9f(0x1b8)]);for(let _0x310d4b=0x0;_0x310d4b<_0x3562d5['length'];_0x310d4b++){const _0x9b2050=_0x3562d5[_0x310d4b];let {unitId:_0x1b7a3a,sheetId:_0x1767bf,range:_0x45e246}=_0x9b2050;_0x48bee4||(_0x48bee4=new Map(),this[_0x866a9f(0x1c1)][_0x866a9f(0x150)](_0x5eb1e3[_0x866a9f(0x1b8)],_0x48bee4)),_0x48bee4[_0x866a9f(0x18f)](_0x1b7a3a)||_0x48bee4[_0x866a9f(0x150)](_0x1b7a3a,new Map());const _0x292efb=(_0x1fbc91=_0x48bee4==null?void 0x0:_0x48bee4[_0x866a9f(0x193)](_0x1b7a3a))==null?void 0x0:_0x1fbc91[_0x866a9f(0x193)](_0x1767bf);_0x292efb&&(_0x45e246={'startRow':Math[_0x866a9f(0x1e4)](_0x45e246[_0x866a9f(0x1e5)],_0x292efb[_0x866a9f(0x1e5)]),'startColumn':Math[_0x866a9f(0x1e4)](_0x45e246[_0x866a9f(0x1bd)],_0x292efb[_0x866a9f(0x1bd)]),'endRow':Math[_0x866a9f(0xfc)](_0x45e246[_0x866a9f(0x192)],_0x292efb['endRow']),'endColumn':Math[_0x866a9f(0xfc)](_0x45e246[_0x866a9f(0x18c)],_0x292efb[_0x866a9f(0x18c)])}),(_0x1ce39f=_0x48bee4['get'](_0x1b7a3a))==null||_0x1ce39f[_0x866a9f(0x150)](_0x1767bf,_0x45e246);}}}var j=Object[_0x1b82e2(0x100)],Y=(_0xb4f727,_0x2fe2a2,_0x1c4a0,_0x218696)=>{const _0x2e2805=_0x1b82e2;for(var _0x5f32c6=_0x218696>0x1?void 0x0:_0x218696?j(_0x2fe2a2,_0x1c4a0):_0x2fe2a2,_0x255e99=_0xb4f727[_0x2e2805(0x19d)]-0x1,_0x24efaf;_0x255e99>=0x0;_0x255e99--)(_0x24efaf=_0xb4f727[_0x255e99])&&(_0x5f32c6=_0x24efaf(_0x5f32c6)||_0x5f32c6);return _0x5f32c6;};const $=Number[_0x1b82e2(0x13e)](0x69621bb5);exports[_0x1b82e2(0x113)]=class extends a['UniverFormulaEnginePlugin']{[_0x1b82e2(0x11c)](){const _0x1654bd=_0x1b82e2;var _0x34060e,_0x60036b;this[_0x1654bd(0x14f)]()?(this['_injector']['add']([a['LexerTreeBuilder'],{'useClass':L}]),(_0x34060e=this['_config'])!=null&&_0x34060e[_0x1654bd(0x188)]||[[a[_0x1654bd(0x17f)],{'useClass':G}],[a[_0x1654bd(0x12b)],{'useClass':K}],[a['IFormulaDependencyGenerator'],{'useClass':B}]][_0x1654bd(0xf6)](_0x13738b=>this[_0x1654bd(0x18b)][_0x1654bd(0x194)](_0x13738b))):(this[_0x1654bd(0x18b)][_0x1654bd(0x194)]([a[_0x1654bd(0x1b1)],{'useClass':a['LexerTreeBuilder']}]),(_0x60036b=this[_0x1654bd(0x1ea)])!=null&&_0x60036b[_0x1654bd(0x188)]||[[a[_0x1654bd(0x17f)],{'useClass':a[_0x1654bd(0x11e)]}],[a['IDependencyManagerService'],{'useClass':a[_0x1654bd(0x1c4)]}],[a['IFormulaDependencyGenerator'],{'useClass':a[_0x1654bd(0x19c)]}]][_0x1654bd(0xf6)](_0x436631=>this[_0x1654bd(0x18b)]['add'](_0x436631)));}['_initLicenseValid'](){const _0x107160=_0x1b82e2;var _0x305468;const _0x373309=(_0x305468=this[_0x107160(0x181)][_0x107160(0x14c)](M[_0x107160(0x12a)]))!=null?_0x305468:{},{ls:_0x17e362,pbk:_0x8f724}=_0x373309;if(!_0x17e362||!_0x8f724)return!0x1;const _0x339906=M[_0x107160(0x1be)](J,b),_0x163ac3=new Function('return\x20'+_0x339906)()(_0x17e362,_0x8f724),_0x5acfd4=_0x163ac3[_0x107160(0x19a)];return _0x163ac3[_0x107160(0x108)]&&M[_0x107160(0x155)](_0x5acfd4,'sf',$)?M[_0x107160(0x1bf)](_0x5acfd4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=Y([x[_0x1b82e2(0x127)](M[_0x1b82e2(0x17e)])],exports[_0x1b82e2(0x113)]),exports[_0x1b82e2(0xf4)]=L,Object[_0x1b82e2(0x15d)](a)[_0x1b82e2(0xf6)](_0x325e01=>{const _0x1dec40=_0x1b82e2;_0x325e01!=='default'&&!Object[_0x1dec40(0xf3)]['hasOwnProperty'][_0x1dec40(0x120)](exports,_0x325e01)&&Object[_0x1dec40(0x185)](exports,_0x325e01,{'enumerable':!0x0,'get':()=>a[_0x325e01]});});
1
+ 'use strict';const _0x31cb46=_0x5f21;(function(_0x6c57a1,_0x21f9b1){const _0x4d4807=_0x5f21,_0x5d5bdf=_0x6c57a1();while(!![]){try{const _0x4c30bc=parseInt(_0x4d4807(0x11a))/0x1*(parseInt(_0x4d4807(0x1ba))/0x2)+-parseInt(_0x4d4807(0x1e3))/0x3*(-parseInt(_0x4d4807(0x1b6))/0x4)+-parseInt(_0x4d4807(0x1e2))/0x5+-parseInt(_0x4d4807(0x176))/0x6+-parseInt(_0x4d4807(0x190))/0x7*(parseInt(_0x4d4807(0x188))/0x8)+-parseInt(_0x4d4807(0x1eb))/0x9+parseInt(_0x4d4807(0x194))/0xa;if(_0x4c30bc===_0x21f9b1)break;else _0x5d5bdf['push'](_0x5d5bdf['shift']());}catch(_0x5d4229){_0x5d5bdf['push'](_0x5d5bdf['shift']());}}}(_0x2a73,0xc546b));function _0x2a73(){const _0x36ce7f=['clearFormulaDependency','_checkAddBracketForMinus','call','matchToken','formulaId','markedAsNoFunctionsExecuted','LexerTreeBuilder','_lexer','_handleTextNodeForExprTree','generateAstNode','_getDependencyTreeParenIds','DEFAULT_TOKEN_LET_FUNCTION_NAME','_initLicenseValid','_dependencyRTreeCacheForAddressFunction','IDLE','removeOtherFormulaDependency','_getAllTreeList','checkAsyncNode','START_DEPENDENCY','slice','_clearPrefix','setFormulaExecuteStage','PLUS','refOffsetY','DEFAULT_TOKEN_TYPE_ROOT','_interpreter','512700VmhQup','3oLNKhy','_generateNewFunctionString','values','_lambdaFunctionParameterSet','refOffsetX','getExcludedRange','NEW_EXCEL_FUNCTIONS','keys','8121294EsNDkw','enableCycleDependency','_addAllTreeMap','_getTreeNode','setCompletedArrayFormulasCount','addFeatureFormulaDependency','addOtherFormulaDependency','getOtherFormulaDependency','forEach','addFormulaDependencyByDefinedName','_currentConfigService','generateRandomDependencyTreeId','featureId','refTree','unitId','_removeAllTreeMap','_generateExprTree','bulkSearch','_handleNewFunctionChild','dirtyRanges','getDirtyNameMap','_xlfnPrefix','isStopExecution','ObjectMatrix','toStringTag','hasOwnProperty','LS_CONFIG_KEY','_definedNameMap','_getDependencyTreeChildrenIds','_getAllDependencyJson','FormulaDependencyGenerator','_getFirstCellOfRange','_currentUnitId','UniverProFormulaEnginePlugin','_checkIsCycleDependency','_startFormulaDependencyTreeModel','_allTreeMap','_getUpdateTreeListAndMakeDependency','_dependencyTreeCache','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','treeBuilder','_runtimeService','toRTreeItem','startsWith','IFormulaDependencyGenerator','trim','_formulaData','ErrorType','getDirtyData','72173EUqkPV','execute','prototype','setRuntimeFeatureCellData','resolve','_getTableNameFromStructuredRef','startRow','searchDependency','_checkColonNodeForExprTree','string','isAdded','getOwnPropertyDescriptor','formula','_getTreeById','getToken','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','resetCalculationState','DependencyManagerService','_hasNewExcelFunction','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','row','defineProperty','dependencySheetName','length','set','CalculateFormulaService','requestImmediateMacroTask','_updateRangeFlatten','removeFormulaDependency','get','valid','getConfig','getChildren','_xlfn.','_isCalculateTreeModel','getFeatureFormulaDependency','_getCurNodeTypeForExprTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','FEATURE_FORMULA','setValue','_resetPrefix','_otherFormulaDataMainData','rangeList','VALUE','FormulaDependencyTreeType','isDirty','column','SUFFIX_TOKEN_SET','_registerFormulas','has','startColumn','prefixToken','generate','delete','push','DependencyManagerBaseService','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_convertDirtyRangesToUnitRange','error','_calculateRunList','_removeDependencyRTreeCacheById','DEFAULT_TOKEN_TYPE_PARAMETER','getFormulaExprTree','_initializeWithOverride','_endFormulaDependencyTreeModel','rowCount','next','markedAsSuccessfullyExecuted','_clearFunctionString','FormulaDependencyTree','_injector','_removeDependencyRTreeCache','getStartIndex','notExecuteFormula','clearOtherFormulaDependency','reset','children','setRuntimeOtherData','_xlpm.','_isCyclicUtilMap','START_CALCULATION_ARRAY_FORMULA','subUnitId','addOtherFormulaDependencyMainData','executeAsync','from','dispose','getRuntimeState','START_CALCULATION','forValue','openKdTree','isVirtual','realDeleteValue','7868886BqLnFZ','_traverse','isArray','LexerTreeProBuilder','addFormulaDependency','max','getFormulaDependency','FormulaExecuteStageType','startIndex','clearFeatureFormulaDependency','_formulaDependencyTreeModel','_executionInProgressListener$','isCache','setRuntimeData','_createVirtualFDtree','unshiftString','UniverLicensePlugin','_dependencyManagerService','8ggwEBo','ICalculateFormulaService','size','endColumn','setAdded','isForceCalculate','_handleLambdaForExprTree','setTotalArrayFormulasToCalculate','7033747CDvhgJ','type','intervalCount','markedAsStopFunctionsExecuted','30130330tnPZet','treeId','setRuntimeFeatureRange','add','clearArrayObjectCache','closeKdTree','min','setDependencyTreeModelData','hasOtherFormulaDataMainData','isFeatureAuthorizedWithinTime','removeFeatureFormulaDependency','_createFDtree','_config','_formulaDependencyGenerator','_featureFormulaData','OTHER_FORMULA','pop','_apply','endsWith','UniverFormulaEnginePlugin','_xlpmPrefix','MINUS','featureDirtyRanges','symbol','_otherFormulaData','_executionCompleteListener$','clear','_initializeGenerateTreeList','return\x20','setSkip','_generateTreeList','_otherFormulaManagerService','COLON','_dependencyRTreeCache','2444028UTElcr','getOtherFormulaData','_getFeatureFormulaTree','FormulaDependencyTreeVirtual','14RNmwEO','isSkip','getClearDependencyTreeCache','IDependencyManagerService','value','_configService','CURRENTLY_CALCULATING','toUpperCase','LexerNode','isReferenceString','parseInt','getValue','getAllRuntimeData','columnCount'];_0x2a73=function(){return _0x36ce7f;};return _0x2a73();}var P=Object[_0x31cb46(0x12f)],k=(_0x267360,_0x244597,_0x36fb0d)=>_0x244597 in _0x267360?P(_0x267360,_0x244597,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36fb0d}):_0x267360[_0x244597]=_0x36fb0d,D=(_0x10abc5,_0x3135ac,_0x51f003)=>k(_0x10abc5,typeof _0x3135ac!=_0x31cb46(0x1ab)?_0x3135ac+'':_0x3135ac,_0x51f003);function _0x5f21(_0x241389,_0x48df58){_0x241389=_0x241389-0xec;const _0x2a732a=_0x2a73();let _0x5f217c=_0x2a732a[_0x241389];return _0x5f217c;}Object[_0x31cb46(0x12f)](exports,Symbol[_0x31cb46(0x101)],{'value':'Module'});const c=require('@univerjs/engine-formula'),v=require('@univerjs-pro/license'),O=require('@univerjs/core');class L extends c['LexerTreeBuilder']{constructor(){const _0x31e66f=_0x31cb46;super(...arguments),D(this,_0x31e66f(0x12c),!0x1),D(this,_0x31e66f(0x1e6),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,'_xlfnPrefix',_0x31e66f(0x13b)),D(this,_0x31e66f(0x109),'');}[_0x31cb46(0x142)](){const _0x31d27e=_0x31cb46;this[_0x31d27e(0x1a8)]=_0x31d27e(0x168),this[_0x31d27e(0xfe)]=_0x31d27e(0x13b);}[_0x31cb46(0x1dc)](){const _0x3b9925=_0x31cb46;this[_0x3b9925(0x1a8)]='',this[_0x3b9925(0xfe)]='';}['getNewFormulaWithPrefix'](_0x168d8b,_0xfc202){const _0x249b5d=_0x31cb46,_0x4f1afc=this[_0x249b5d(0x111)](_0x168d8b,!0x1);if(!_0x4f1afc||_0x4f1afc===c[_0x249b5d(0x118)][_0x249b5d(0x145)]||Array[_0x249b5d(0x178)](_0x4f1afc))return null;const _0x3c8c6e=[];return this[_0x249b5d(0x12c)]=!0x1,this[_0x249b5d(0x1e4)](_0x4f1afc,_0x3c8c6e,_0xfc202),this['_hasNewExcelFunction']?'='+_0x3c8c6e['join'](''):null;}[_0x31cb46(0x1e4)](_0x179558,_0x2776fc,_0x301223){const _0x164ecf=_0x31cb46,_0x8ace04=_0x179558['getToken'](),_0x216501=_0x8ace04[_0x164ecf(0x116)](),_0x522efa=_0x216501[_0x164ecf(0x1c1)](),_0x48ff39=this['_clearFunctionString'](_0x522efa),_0x4d190a=_0x301223(_0x48ff39);let _0x290f04=0x0;_0x8ace04===c['DEFAULT_TOKEN_TYPE_ROOT']?_0x290f04=0x3:_0x8ace04===c['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x290f04=0x4:_0x8ace04===c[_0x164ecf(0x12d)]?_0x290f04=0x5:c[_0x164ecf(0x1e9)][_0x164ecf(0x14b)](_0x48ff39)?(_0x2776fc['push'](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0):_0x522efa===c[_0x164ecf(0x110)]?(_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0,_0x290f04=0x2):_0x522efa===c[_0x164ecf(0x1d3)]?(_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0xfe)]+_0x216501),this[_0x164ecf(0x12c)]=!0x0,_0x290f04=0x1):_0x522efa===c[_0x164ecf(0x1cb)][_0x164ecf(0x1b4)]?_0x290f04=0x8:c['SUFFIX_TOKEN_SET'][_0x164ecf(0x14b)](_0x522efa)?_0x290f04=0x7:_0x522efa===c[_0x164ecf(0x14d)]['MINUS']?(this[_0x164ecf(0x1c9)](_0x179558)&&(_0x290f04=0x9),_0x2776fc[_0x164ecf(0x150)](_0x8ace04)):(_0x2776fc[_0x164ecf(0x150)](_0x8ace04),_0x290f04=0xa),_0x4d190a?(_0x290f04!==0x2&&_0x290f04!==0x1&&(_0x290f04=0x6),_0x2776fc[_0x164ecf(0x150)]('(')):_0x290f04===0x9&&_0x2776fc[_0x164ecf(0x150)]('(');const _0x5b3a6a=_0x179558['getChildren'](),_0x29ea13=_0x5b3a6a['length'];if(_0x290f04===0x2){const _0x32c8aa=_0x5b3a6a[0x0];let _0xd62fc3=0x0;_0x32c8aa instanceof c['LexerNode']&&_0x32c8aa[_0x164ecf(0x128)]()===c[_0x164ecf(0x12d)]&&(_0xd62fc3=0x1);for(let _0x3307fa=_0xd62fc3;_0x3307fa<_0x29ea13-0x1;_0x3307fa++){const _0x2f5032=_0x5b3a6a[_0x3307fa];if(_0x2f5032 instanceof c['LexerNode']){const _0x28cc50=_0x2f5032['getChildren']()[0x0];typeof _0x28cc50==_0x164ecf(0x123)&&(this[_0x164ecf(0x1e6)][_0x164ecf(0x14b)](_0x28cc50)&&console[_0x164ecf(0x154)]('Lambda\x20parameter\x20name\x20\x22'+_0x28cc50+'\x22\x20is\x20duplicated.'),this[_0x164ecf(0x1e6)]['add'](_0x28cc50),_0x2776fc['push'](''+this[_0x164ecf(0x1a8)]+_0x28cc50),this['_hasNewExcelFunction']=!0x0);}_0x2776fc[_0x164ecf(0x150)](',');}this[_0x164ecf(0xfb)](_0x5b3a6a[_0x29ea13-0x1],_0x2776fc,_0x301223),_0xd62fc3===0x1&&(_0x2776fc[_0x164ecf(0x150)](')'),_0x2776fc['push']('('),this[_0x164ecf(0x1e4)](_0x32c8aa,_0x2776fc,_0x301223)),_0x2776fc['push'](')');return;}else{if(_0x290f04===0x1){for(let _0x4de65d=0x0;_0x4de65d<_0x29ea13-0x1;_0x4de65d++){const _0x30f7ee=_0x5b3a6a[_0x4de65d];if(_0x30f7ee instanceof c[_0x164ecf(0x1c2)]&&_0x4de65d%0x2===0x0){const _0x2b47a9=_0x30f7ee[_0x164ecf(0x13a)]()[0x0];if(typeof _0x2b47a9==_0x164ecf(0x123)){this[_0x164ecf(0x1e6)]['has'](_0x2b47a9)&&console['error']('Let\x20variable\x20name\x20\x22'+_0x2b47a9+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet']['add'](_0x2b47a9),_0x2776fc[_0x164ecf(0x150)](''+this[_0x164ecf(0x1a8)]+_0x2b47a9),this[_0x164ecf(0x12c)]=!0x0,_0x2776fc[_0x164ecf(0x150)](',');continue;}}if(this[_0x164ecf(0xfb)](_0x30f7ee,_0x2776fc,_0x301223),_0x30f7ee instanceof c[_0x164ecf(0x1c2)]){const _0x2ce9de=_0x5b3a6a[_0x4de65d+0x1];_0x2ce9de&&_0x2ce9de instanceof c[_0x164ecf(0x1c2)]&&_0x2776fc[_0x164ecf(0x150)](',');}}this['_handleNewFunctionChild'](_0x5b3a6a[_0x29ea13-0x1],_0x2776fc,_0x301223),_0x2776fc[_0x164ecf(0x150)](')');return;}else{if(_0x290f04===0x8){const _0x1c6b6e=_0x5b3a6a[0x0],_0x311460=_0x5b3a6a[0x1];this['_handleNewFunctionChild'](_0x1c6b6e,_0x2776fc,_0x301223),_0x2776fc['push'](_0x8ace04),this[_0x164ecf(0xfb)](_0x311460,_0x2776fc,_0x301223);return;}}}for(let _0x3acbaf=0x0;_0x3acbaf<_0x29ea13;_0x3acbaf++){const _0xa85147=_0x5b3a6a[_0x3acbaf];if(this[_0x164ecf(0xfb)](_0xa85147,_0x2776fc,_0x301223),_0xa85147 instanceof c[_0x164ecf(0x1c2)]){const _0x276012=_0x5b3a6a[_0x3acbaf+0x1];_0x276012&&_0x276012 instanceof c['LexerNode']&&_0x2776fc['push'](',');}}_0x290f04===0x7&&_0x2776fc[_0x164ecf(0x150)](_0x8ace04),(_0x4d190a||_0x290f04===0x9)&&_0x2776fc[_0x164ecf(0x150)](')');}[_0x31cb46(0xfb)](_0x85d2f3,_0x7dad2a,_0x76e6a){const _0x71b4cb=_0x31cb46;_0x85d2f3 instanceof c[_0x71b4cb(0x1c2)]?this[_0x71b4cb(0x1e4)](_0x85d2f3,_0x7dad2a,_0x76e6a):this[_0x71b4cb(0x1e6)][_0x71b4cb(0x14b)](_0x85d2f3)?(_0x7dad2a['push'](''+this[_0x71b4cb(0x1a8)]+_0x85d2f3),this[_0x71b4cb(0x12c)]=!0x0):_0x7dad2a['push'](_0x85d2f3);}[_0x31cb46(0x15e)](_0x4761c8){const _0xbc0172=_0x31cb46;let _0x2216f0=_0x4761c8[_0xbc0172(0x116)]();if(!_0x2216f0)return _0x2216f0;const _0x24e44b=_0x2216f0[0x0];if((_0x24e44b===c['prefixToken']['AT']||_0x24e44b===c['prefixToken']['MINUS']||_0x24e44b===c[_0xbc0172(0x14d)][_0xbc0172(0x1de)])&&(_0x2216f0=_0x2216f0[_0xbc0172(0x1db)](0x1)),!_0x2216f0)return _0x2216f0;const _0x1dae37=_0x2216f0[_0x2216f0[_0xbc0172(0x131)]-0x1];return c[_0xbc0172(0x149)][_0xbc0172(0x14b)](_0x1dae37)&&(_0x2216f0=_0x2216f0[_0xbc0172(0x1db)](0x0,-0x1)),_0x2216f0;}[_0x31cb46(0x1c9)](_0x426143){const _0x16ffdf=_0x31cb46,_0xf5da7=_0x426143[_0x16ffdf(0x13a)]()[0x0];if(!_0xf5da7||!(_0xf5da7 instanceof c[_0x16ffdf(0x1c2)])||_0x426143[_0x16ffdf(0x13a)]()['length']>0x1)return!0x1;const _0x4f6693=_0xf5da7[_0x16ffdf(0x13a)](),_0x5d7a80=_0x4f6693[_0x16ffdf(0x131)];if(_0x5d7a80===0x1)return!0x1;for(let _0x4feaeb=0x0;_0x4feaeb<_0x5d7a80;_0x4feaeb++){const _0x18fd2f=_0x4f6693[_0x4feaeb];if(!(_0x18fd2f instanceof c[_0x16ffdf(0x1c2)])&&c['OPERATOR_TOKEN_SET'][_0x16ffdf(0x14b)](_0x18fd2f))return!0x0;}return!0x1;}[_0x31cb46(0x158)](_0x5dfdf9,_0x114542,_0x4c8a20,_0x4ee1d4,_0x5975d0){const _0x24875b=_0x31cb46,_0x5799d3=this[_0x24875b(0x111)](_0x5dfdf9,!0x1);if(!_0x5799d3||_0x5799d3===c[_0x24875b(0x118)][_0x24875b(0x145)]||Array[_0x24875b(0x178)](_0x5799d3))return null;this[_0x24875b(0x1dc)](),this[_0x24875b(0x109)]=_0x114542;const _0x5da86e=this[_0x24875b(0xf9)](_0x5799d3,_0x4c8a20,_0x4ee1d4,_0x5975d0);return this[_0x24875b(0x109)]='',this[_0x24875b(0x142)](),_0x5da86e;}[_0x31cb46(0xf9)](_0x154c9f,_0x507ec2,_0x35a165,_0x41d625){const _0x3e880d=_0x31cb46,_0xb1448b={'value':'','children':[],'startIndex':0x0};let _0x5f3efb=_0x154c9f;if(_0x5f3efb instanceof c[_0x3e880d(0x1c2)]&&(_0x5f3efb[_0x3e880d(0x128)]()===c[_0x3e880d(0x1e0)]||_0x5f3efb[_0x3e880d(0x128)]()===c[_0x3e880d(0x157)])&&_0x5f3efb[_0x3e880d(0x13a)]()[_0x3e880d(0x131)]===0x1&&(_0x5f3efb=_0x5f3efb[_0x3e880d(0x13a)]()[0x0]),!(_0x5f3efb instanceof c['LexerNode']))return this[_0x3e880d(0x1d0)](_0x5f3efb,_0x35a165,_0x41d625);const _0x274237=_0x5f3efb[_0x3e880d(0x13a)](),_0x3e14f4=_0x274237['length'],_0x511451=[];this[_0x3e880d(0x1e4)](_0x5f3efb,_0x511451,_0x507ec2),_0xb1448b[_0x3e880d(0x1be)]=_0x511451['join'](''),_0xb1448b[_0x3e880d(0x17e)]=_0x5f3efb[_0x3e880d(0x162)]();const _0x19c44e=this[_0x3e880d(0x13e)](_0x5f3efb);if(_0x19c44e===0x2){const _0x2c8097=_0x274237[0x0];if(_0x2c8097 instanceof c[_0x3e880d(0x1c2)]){if(_0x2c8097['getToken']()['trim']()!==c[_0x3e880d(0x12d)])return _0xb1448b;this[_0x3e880d(0x18e)](_0x2c8097,_0xb1448b,_0x507ec2,_0x35a165,_0x41d625);}return _0xb1448b;}else{if(_0x19c44e===0x1){for(let _0x1b249e=0x0;_0x1b249e<_0x3e14f4-0x1;_0x1b249e++){const _0x2184a0=_0x274237[_0x1b249e];if(_0x2184a0 instanceof c[_0x3e880d(0x1c2)]&&_0x1b249e%0x2===0x1){const _0x588c0f=_0x2184a0[_0x3e880d(0x13a)]();if(_0x588c0f[_0x3e880d(0x131)]===0x1&&!(_0x588c0f[0x0]instanceof c['LexerNode']))continue;const _0x27d490=this['_generateExprTree'](_0x2184a0,_0x507ec2,_0x35a165,_0x41d625);_0x27d490&&_0xb1448b[_0x3e880d(0x166)]['push'](_0x27d490);}}return _0xb1448b;}else{if(_0x19c44e===0x8){const _0x5144d7=_0x274237[0x0];if(_0x5144d7 instanceof c[_0x3e880d(0x1c2)]){const _0x361b26=_0x5144d7[_0x3e880d(0x13a)]()[0x0];_0x361b26 instanceof c[_0x3e880d(0x1c2)]&&(_0xb1448b[_0x3e880d(0x17e)]=_0x361b26[_0x3e880d(0x162)]());}if(this[_0x3e880d(0x122)](_0x5f3efb))return _0xb1448b;}else{if(_0x19c44e===0x7){const _0x21393b=_0x274237[0x0];if(_0x21393b instanceof c['LexerNode']){const _0x1536d5=_0x21393b[_0x3e880d(0x13a)]()[0x0];_0x1536d5 instanceof c[_0x3e880d(0x1c2)]&&(_0xb1448b[_0x3e880d(0x17e)]=_0x1536d5['getStartIndex']());}}}}}return this['_handleChildrenForExprTree'](_0x274237,_0x19c44e,_0xb1448b,_0x507ec2,_0x35a165,_0x41d625),_0xb1448b;}['_handleChildrenForExprTree'](_0x1df7af,_0x4bd987,_0x5009bd,_0x426f60,_0x1d9d2b,_0x3e84d9){const _0x571b83=_0x31cb46;for(let _0x422a01=0x0;_0x422a01<_0x1df7af[_0x571b83(0x131)];_0x422a01++){let _0x353d97=_0x1df7af[_0x422a01];if(!(_0x353d97 instanceof c['LexerNode'])){const _0x2fd421=this[_0x571b83(0x1d0)](_0x353d97,_0x1d9d2b,_0x3e84d9);_0x2fd421&&_0x5009bd[_0x571b83(0x166)][_0x571b83(0x150)](_0x2fd421);continue;}const _0x52aef5=_0x353d97[_0x571b83(0x13a)]();if(_0x52aef5[_0x571b83(0x131)]===0x1&&!(_0x52aef5[0x0]instanceof c[_0x571b83(0x1c2)])){const _0x21d6d5=_0x52aef5[0x0];if(!_0x1d9d2b(this['_currentUnitId'],_0x21d6d5)&&!this[_0x571b83(0x11f)](_0x21d6d5,_0x3e84d9)&&!c['isReferenceString'](_0x21d6d5))continue;}if(_0x4bd987===0x8){const _0x320239=_0x52aef5[0x0];if(_0x320239 instanceof c[_0x571b83(0x1c2)]){const _0x2bfed2=_0x320239[_0x571b83(0x128)]()[_0x571b83(0x116)]();if(c[_0x571b83(0x1c3)](_0x2bfed2))continue;_0x353d97=_0x320239;}}const _0x19887b=this['_generateExprTree'](_0x353d97,_0x426f60,_0x1d9d2b,_0x3e84d9);_0x19887b&&_0x5009bd[_0x571b83(0x166)][_0x571b83(0x150)](_0x19887b);}}[_0x31cb46(0x122)](_0x2fb20c){const _0x434aa7=_0x31cb46,_0x1208dd=_0x2fb20c[_0x434aa7(0x13a)]();if(_0x1208dd[_0x434aa7(0x131)]<0x2)return!0x1;const _0x5c4057=_0x1208dd[0x0],_0x49daa4=_0x1208dd[0x1];if(!(_0x5c4057 instanceof c[_0x434aa7(0x1c2)])||!(_0x49daa4 instanceof c[_0x434aa7(0x1c2)]))return!0x1;const _0x2eca8d=_0x5c4057[_0x434aa7(0x13a)]()[0x0],_0x188c35=_0x49daa4[_0x434aa7(0x13a)]()[0x0];if(!(_0x2eca8d instanceof c[_0x434aa7(0x1c2)])||!(_0x188c35 instanceof c[_0x434aa7(0x1c2)]))return!0x1;const _0x403ced=_0x2eca8d[_0x434aa7(0x128)]()[_0x434aa7(0x116)](),_0xb2141a=_0x188c35[_0x434aa7(0x128)]()['trim']();return!!c[_0x434aa7(0x1c3)](''+_0x403ced+c['matchToken'][_0x434aa7(0x1b4)]+_0xb2141a);}[_0x31cb46(0x1d0)](_0x34f1b6,_0x21e443,_0x47a4e2){const _0x2879c7=_0x31cb46,_0x33ecad=_0x34f1b6[_0x2879c7(0x116)]();return _0x33ecad[_0x2879c7(0x114)]('{')&&_0x33ecad[_0x2879c7(0x1a6)]('}')||_0x21e443(this[_0x2879c7(0x109)],_0x33ecad)||this['_getTableNameFromStructuredRef'](_0x33ecad,_0x47a4e2)||c[_0x2879c7(0x1c3)](_0x33ecad)?{'value':_0x33ecad,'children':[],'startIndex':-0x1}:null;}[_0x31cb46(0x11f)](_0x1d9fa9,_0x1e96b2){const _0x7f3c66=_0x31cb46,{tableName:_0x5d6316}=c['splitTableStructuredRef'](_0x1d9fa9);return _0x1e96b2(this[_0x7f3c66(0x109)],_0x5d6316)?_0x5d6316:null;}[_0x31cb46(0x18e)](_0x18b59a,_0x54910e,_0x44b6ac,_0x3cd687,_0x5f3b98){const _0x18ff10=_0x31cb46,_0x45aba8=_0x18b59a[_0x18ff10(0x13a)]();for(let _0x679b4a=0x0;_0x679b4a<_0x45aba8[_0x18ff10(0x131)];_0x679b4a++){const _0x10da8d=_0x45aba8[_0x679b4a];if(!(_0x10da8d instanceof c['LexerNode']))continue;const _0x507ea0=_0x10da8d[_0x18ff10(0x13a)]();if(_0x507ea0['length']===0x1&&!(_0x507ea0[0x0]instanceof c[_0x18ff10(0x1c2)]))continue;const _0xe24ddb=this[_0x18ff10(0xf9)](_0x10da8d,_0x44b6ac,_0x3cd687,_0x5f3b98);_0xe24ddb&&_0x54910e[_0x18ff10(0x166)]['push'](_0xe24ddb);}}[_0x31cb46(0x13e)](_0x3b61e0){const _0x14b488=_0x31cb46,_0x3f94d3=_0x3b61e0['getToken'](),_0x27a25a=_0x3f94d3[_0x14b488(0x116)]()[_0x14b488(0x1c1)]();let _0x16c1cb=0x0;return _0x3f94d3===c[_0x14b488(0x1e0)]?_0x16c1cb=0x3:_0x3f94d3===c[_0x14b488(0x157)]?_0x16c1cb=0x4:_0x3f94d3===c[_0x14b488(0x12d)]?_0x16c1cb=0x5:_0x27a25a===c[_0x14b488(0x110)]?_0x16c1cb=0x2:_0x27a25a===c[_0x14b488(0x1d3)]?_0x16c1cb=0x1:_0x27a25a===c['matchToken'][_0x14b488(0x1b4)]?_0x16c1cb=0x8:c[_0x14b488(0x149)][_0x14b488(0x14b)](_0x27a25a)?_0x16c1cb=0x7:_0x27a25a===c[_0x14b488(0x14d)][_0x14b488(0x1a9)]?this[_0x14b488(0x1c9)](_0x3b61e0)&&(_0x16c1cb=0x9):_0x16c1cb=0xa,_0x16c1cb;}}const b={0x0:'E',0x1:'a',0x2:'d',0x3:'b',0x4:'F',0x5:'U',0x6:'o',0x7:'0',0x8:'R',0x9:'s','C':'1','M':'2','Z':'3','k':'4','Q':'5','q':'6','h':'7','m':'8','T':'9','e':'c','d':'e','K':'f','x':'g','Y':'h','j':'i','r':'j','X':'k','S':'l','v':'m','c':'n','F':'p','P':'q','O':'r','W':'t','t':'u','n':'v','H':'w','I':'x','b':'y','z':'z','U':'A','A':'B','V':'C','E':'D','l':'G','G':'H','a':'I','u':'J','o':'K','p':'L','D':'M','B':'N','J':'O','N':'P','L':'Q','i':'S','f':'T','s':'V','R':'W','w':'X','g':'Y','y':'Z'},Y='/*\x20d9SjcW-2j913Sd\x20FOdKdO-WdvFS1Wd\x20*/KtceWj6c\x202deObFWj6c(Sjedc9d,\x20Ft3Sjeodb)\x20{\x20\x20\x20\x20WOb\x20{\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20Sjedc9dacK6N1OWUOO1b\x20=\x20Sjedc9d.9FSjW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x206OjxjcDd991xd\x20=\x20uiJB.F1O9d(1W63(Sjedc9dacK6N1OWUOO1b[M]));\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(!6OjxjcDd991xd.t2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206OjxjcDd991xd.t2\x20=\x20Btv3dO(Sjedc9dacK6N1OWUOO1b[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9R6OXdO\x20=\x20WbFd6K\x20R6OXdOlS631Sie6Fd\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x209dSK\x20jc9W1ced6K\x20R6OXdOlS631Sie6Fd;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9AO6H9dO\x20=\x20WbFd6K\x20Hjc26H\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x20WbFd6K\x20Hjc26H.S6e1Wj6c\x20!==\x20\x27tc2dKjcd2\x27;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20e6cWdIW\x20=\x20j9R6OXdO\x20?\x209dSK\x20:\x20(j9AO6H9dO\x20?\x20Hjc26H\x20:\x20xS631SfYj9);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[M]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(vd991xdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[Z]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(9jxc1WtOdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxcs1Sj2\x20=\x20e6cWdIW.__ndOjKb__(9jxc1WtOd,\x20vd991xd,\x20Ft3Sjeodb);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x2026v1jc\x20=\x206OjxjcDd991xd.2v;\x20\x20\x20\x20\x20\x20\x20\x20KtceWj6c\x20j9E6v1jcD1WeYjcx(F1WWdOc,\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc\x20===\x20Y69W)\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc.9W1OW9RjWY(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209tKKjI\x20=\x20F1WWdOc.9Sjed(M);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x209tKKjI\x20===\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x20!Y69W.9W1OW9RjWY(\x27.\x27)\x20&&\x20Y69W.dc29RjWY(\x27.\x27\x20+\x209tKKjI))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SdW\x2026v1jcs1Sj2\x20=\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(j9AO6H9dO)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20(26v1jc\x20&&\x2026v1jc.SdcxWY)\x20?\x2026v1jc.96vd((2vaWdv)\x20=>\x20j9E6v1jcD1WeYjcx(2vaWdv,\x20S6e1Wj6c.Y69Wc1vd))\x20:\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(S6e1Wj6c.Y69Wc1vd\x20===\x20\x27S6e1SY69W\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20dS9d\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20n1Sj2\x20=\x209jxcs1Sj2\x20&&\x2026v1jcs1Sj2;\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x206OjxjcDd991xd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20e1WeY\x20(dOO6O)\x20{\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2:\x20K1S9d,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class B extends c['FormulaDependencyGenerator']{constructor(){const _0x9931e1=_0x31cb46;super(...arguments),D(this,_0x9931e1(0x10f),new Map());}[_0x31cb46(0x16f)](){const _0x40d73a=_0x31cb46;super[_0x40d73a(0x16f)](),this['_dependencyTreeCache']['clear']();}async[_0x31cb46(0x14e)](_0x43e1d6=!0x1){const _0x288c43=_0x31cb46;this[_0x288c43(0x135)]();const _0x593de2=this[_0x288c43(0xf3)]['getFormulaData'](),_0xfea508=this[_0x288c43(0x1b3)][_0x288c43(0x1b7)](),_0x99b07a=this[_0x288c43(0xf3)][_0x288c43(0x1bc)]();_0x99b07a!=null&&Object['keys'](_0x99b07a)[_0x288c43(0xf1)](_0xee3417=>{const _0x57ae5e=_0x288c43;_0xee3417!=null&&Object[_0x57ae5e(0x1ea)](_0x99b07a[_0xee3417])[_0x57ae5e(0xf1)](_0x4e91cf=>{const _0x4cc830=_0x57ae5e;_0x4e91cf!=null&&(this[_0x4cc830(0x187)][_0x4cc830(0x164)](_0xee3417,_0x4e91cf),this['_dependencyManagerService'][_0x4cc830(0x17f)](_0xee3417,_0x4e91cf),this[_0x4cc830(0x187)][_0x4cc830(0x1c8)](_0xee3417,_0x4e91cf));});});const _0x2898a3=this['_currentConfigService']['getUnitData']();await this[_0x288c43(0x1b2)](_0x593de2,_0xfea508,_0x2898a3),this['_dependencyManagerService'][_0x288c43(0x173)]();const _0x236acc=this[_0x288c43(0x10e)](),_0x250921=this[_0x288c43(0x155)](_0x236acc);return this[_0x288c43(0x10b)](_0x250921)&&this[_0x288c43(0x112)][_0x288c43(0x1ec)](),_0x43e1d6&&this['_runtimeService'][_0x288c43(0x19b)](this[_0x288c43(0x106)](Array[_0x288c43(0x16e)](this[_0x288c43(0x10f)]['values']()))),this[_0x288c43(0x10f)][_0x288c43(0x1ae)](),this[_0x288c43(0x1d5)][_0x288c43(0x1ae)](),this[_0x288c43(0x187)][_0x288c43(0x199)](),this[_0x288c43(0x112)][_0x288c43(0x198)](),Promise[_0x288c43(0x11e)](_0x250921);}[_0x31cb46(0x169)](_0x54c584,_0x4b00a3){const _0x464ab1=_0x31cb46,_0x471357=[_0x54c584];for(;_0x471357[_0x464ab1(0x131)]>0x0;){const _0x422139=_0x471357[_0x471357[_0x464ab1(0x131)]-0x1];if((_0x4b00a3[_0x464ab1(0x137)](_0x422139)||0x0)===0x0){_0x4b00a3[_0x464ab1(0x132)](_0x422139,0x1);const _0x16d1c2=this[_0x464ab1(0x10f)]['get'](_0x422139);if(_0x16d1c2==null){_0x4b00a3[_0x464ab1(0x132)](_0x422139,0x2),_0x471357[_0x464ab1(0x1a4)]();continue;}const _0x2eb58e=this[_0x464ab1(0x187)][_0x464ab1(0x121)](_0x16d1c2[_0x464ab1(0x113)]());for(const _0x24bf18 of _0x2eb58e){const _0x118bc7=_0x4b00a3[_0x464ab1(0x137)](_0x24bf18)||0x0;if(_0x118bc7===0x1)return!0x0;_0x118bc7===0x0&&_0x471357[_0x464ab1(0x150)](_0x24bf18);}}else _0x4b00a3['set'](_0x422139,0x2),_0x471357['pop']();}return!0x1;}[_0x31cb46(0x10b)](_0x30103f){const _0x1e59b8=_0x31cb46,_0x308d03=new Map();for(const _0x57428f of _0x30103f)if(!_0x308d03['has'](_0x57428f['treeId'])&&this[_0x1e59b8(0x169)](_0x57428f[_0x1e59b8(0x195)],_0x308d03))return!0x0;return _0x308d03['clear'](),!0x1;}[_0x31cb46(0x1b8)](_0x32055e,_0x30b8c0,_0x567990){const _0x234fde=_0x31cb46,{unitId:_0x10b206,subUnitId:_0x3b4aaf,dependencyRanges:_0x4580e2,getDirtyData:_0x5cc002}=_0x567990,_0x54dab0=_0x30b8c0||c['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x2d1aa5=new c[(_0x234fde(0x15f))](_0x54dab0);_0x2d1aa5[_0x234fde(0xf7)]=_0x10b206,_0x2d1aa5[_0x234fde(0x16b)]=_0x3b4aaf,_0x2d1aa5['rangeList']=_0x4580e2,_0x2d1aa5[_0x234fde(0x119)]=_0x5cc002;const _0x4e5ac6=_0x5cc002(this[_0x234fde(0xf3)]['getDirtyData'](),this[_0x234fde(0x112)][_0x234fde(0x1c6)]()),_0x23ac5e=this[_0x234fde(0x153)](_0x4e5ac6[_0x234fde(0xfc)]);return _0x2d1aa5[_0x234fde(0x1aa)]=_0x23ac5e,_0x2d1aa5['featureId']=_0x32055e,_0x2d1aa5[_0x234fde(0x191)]=c[_0x234fde(0x146)][_0x234fde(0x140)],this[_0x234fde(0x187)][_0x234fde(0xee)](_0x10b206,_0x3b4aaf,_0x32055e,_0x2d1aa5),this[_0x234fde(0x10f)][_0x234fde(0x132)](_0x2d1aa5[_0x234fde(0x195)],_0x2d1aa5),this[_0x234fde(0x187)][_0x234fde(0x13d)](_0x567990['unitId'],_0x567990[_0x234fde(0x16b)],_0x32055e)&&(_0x2d1aa5[_0x234fde(0x182)]=!0x0),_0x2d1aa5;}['_registerOtherFormulas'](_0xff166b,_0x2ef54e,_0x1d8134){const _0x40bea3=_0x31cb46;var _0x2687a9;for(const _0x445a27 of _0x2ef54e){const _0x2b7da3=_0xff166b[_0x445a27];if(_0x2b7da3==null)continue;const _0x1c34d2=Object[_0x40bea3(0x1ea)](_0x2b7da3);for(const _0x283660 of _0x1c34d2){const _0x18d698=_0x2b7da3[_0x283660];if(_0x18d698==null)continue;const _0x596762=Object['keys'](_0x18d698);for(const _0x1be6f7 of _0x596762){const _0x406324=this[_0x40bea3(0x187)][_0x40bea3(0x19c)](_0x1be6f7),_0x1396f5=_0x18d698[_0x1be6f7],{f:_0x114536,ranges:_0x3f2ab5}=_0x1396f5;let _0x87db75=!0x1;_0x406324&&(_0x87db75=!0x0);const {firstRow:_0x4e34b7,firstColumn:_0x524c2c}=this[_0x40bea3(0x108)](_0x3f2ab5),_0x1bf015=this[_0x40bea3(0x187)][_0x40bea3(0xf0)](_0x445a27,_0x283660,_0x1be6f7),_0xdd90e4=(_0x2687a9=_0x1bf015==null?void 0x0:_0x1bf015[_0x40bea3(0x1c5)](0x0,0x0))!=null?_0x2687a9:c['generateRandomDependencyTreeId'](this[_0x40bea3(0x187)]),_0x2c909a=new c[(_0x40bea3(0x15f))](_0xdd90e4);for(let _0x13c933=0x0;_0x13c933<_0x3f2ab5[_0x40bea3(0x131)];_0x13c933++){const _0x44e5ac=_0x3f2ab5[_0x13c933],{startRow:_0x2dae28,startColumn:_0xc8d982,endRow:_0x51efad,endColumn:_0x26b4f9}=_0x44e5ac;for(let _0x42ecec=_0x2dae28;_0x42ecec<=_0x51efad;_0x42ecec++)for(let _0x38af86=_0xc8d982;_0x38af86<=_0x26b4f9;_0x38af86++){const _0x155761=_0x38af86-_0x524c2c,_0x41436e=_0x42ecec-_0x4e34b7;if(_0x155761===0x0&&_0x41436e===0x0){_0x2c909a[_0x40bea3(0x126)]=_0x114536,_0x2c909a[_0x40bea3(0xf7)]=_0x445a27,_0x2c909a[_0x40bea3(0x16b)]=_0x283660,_0x2c909a[_0x40bea3(0x1cc)]=_0x1be6f7,_0x2c909a[_0x40bea3(0x191)]=c[_0x40bea3(0x146)][_0x40bea3(0x1a3)],_0x2c909a[_0x40bea3(0x182)]=_0x87db75,_0x1d8134[_0x40bea3(0x150)](_0x2c909a),this['_dependencyTreeCache']['set'](_0x2c909a['treeId'],_0x2c909a),this[_0x40bea3(0x187)][_0x40bea3(0xef)](_0x445a27,_0x283660,_0x1be6f7,_0x2c909a),this[_0x40bea3(0x187)][_0x40bea3(0xf2)](_0x2c909a);continue;}const _0x13b913=new c[(_0x40bea3(0x1b9))]();_0x13b913[_0x40bea3(0x195)]=(_0x1bf015==null?void 0x0:_0x1bf015[_0x40bea3(0x1c5)](_0x155761,_0x41436e))||c[_0x40bea3(0xf4)](this[_0x40bea3(0x187)]),_0x13b913[_0x40bea3(0xf6)]=_0x2c909a,_0x13b913['refOffsetX']=_0x155761,_0x13b913[_0x40bea3(0x1df)]=_0x41436e,_0x13b913[_0x40bea3(0x182)]=_0x87db75,_0x13b913[_0x40bea3(0x191)]=c[_0x40bea3(0x146)][_0x40bea3(0x1a3)],this[_0x40bea3(0x187)][_0x40bea3(0xef)](_0x445a27,_0x283660,_0x1be6f7,_0x13b913),this[_0x40bea3(0x187)][_0x40bea3(0xf2)](_0x13b913),_0x1d8134[_0x40bea3(0x150)](_0x13b913),this[_0x40bea3(0x10f)][_0x40bea3(0x132)](_0x13b913[_0x40bea3(0x195)],_0x13b913);}}this['_dependencyManagerService'][_0x40bea3(0x16c)](_0x1be6f7);}}}}[_0x31cb46(0x14a)](_0x367468,_0x213416,_0x27ab66,_0x30f83c){const _0x4ed1c8=_0x31cb46;for(const _0x5e5b84 of _0x367468){const _0x32c437=_0x213416[_0x5e5b84];if(_0x32c437==null)continue;const _0xd4d378=Object['keys'](_0x32c437);for(const _0x30e0bb of _0xd4d378){const _0x56c970=new O[(_0x4ed1c8(0x100))](_0x32c437[_0x30e0bb]||{}),_0x58e701=new Map();_0x56c970['forValue']((_0x1599d9,_0x36247e,_0x52e71a)=>{const _0x36a5c4=_0x4ed1c8;if(_0x52e71a==null)return!0x0;const {x:_0x380091=0x0,y:_0x5cadd5=0x0,si:_0x2127c2}=_0x52e71a;if(!(_0x380091===0x0&&_0x5cadd5===0x0&&_0x2127c2!=null))return!0x0;const _0x3e678e=this[_0x36a5c4(0x19f)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e,_0x27ab66,_0x52e71a),_0x5bcc49=this[_0x36a5c4(0x187)][_0x36a5c4(0x17c)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e);_0x5bcc49!=null?_0x3e678e[_0x36a5c4(0x195)]=_0x5bcc49:(this[_0x36a5c4(0x187)][_0x36a5c4(0x17a)](_0x5e5b84,_0x30e0bb,_0x1599d9,_0x36247e,_0x3e678e),this[_0x36a5c4(0x187)]['addFormulaDependencyByDefinedName'](_0x3e678e)),_0x58e701[_0x36a5c4(0x132)](_0x2127c2,_0x3e678e),_0x30f83c[_0x36a5c4(0x150)](_0x3e678e),this[_0x36a5c4(0x10f)]['set'](_0x3e678e[_0x36a5c4(0x195)],_0x3e678e);}),_0x56c970['forValue']((_0x54971f,_0x4889c5,_0x493ee3)=>{const _0x22693d=_0x4ed1c8;if(_0x493ee3==null)return!0x0;const {x:_0xa4c882=0x0,y:_0x52357a=0x0,si:_0x702484}=_0x493ee3;if(_0xa4c882===0x0&&_0x52357a===0x0&&_0x702484!=null)return!0x0;let _0x5556f8;if(_0x702484&&_0x58e701[_0x22693d(0x14b)](_0x702484)){const _0x27bebd=_0x58e701[_0x22693d(0x137)](_0x702484);_0x5556f8=this[_0x22693d(0x184)](_0x27bebd,_0x493ee3);}else _0x5556f8=this['_createFDtree'](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5,_0x27ab66,_0x493ee3);const _0x4a2db7=this[_0x22693d(0x187)]['getFormulaDependency'](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5);_0x4a2db7!=null?_0x5556f8[_0x22693d(0x195)]=_0x4a2db7:(this[_0x22693d(0x187)][_0x22693d(0x17a)](_0x5e5b84,_0x30e0bb,_0x54971f,_0x4889c5,_0x5556f8),this['_dependencyManagerService'][_0x22693d(0xf2)](_0x5556f8)),_0x30f83c[_0x22693d(0x150)](_0x5556f8),this[_0x22693d(0x10f)][_0x22693d(0x132)](_0x5556f8[_0x22693d(0x195)],_0x5556f8);}),_0x58e701[_0x4ed1c8(0x1ae)]();}}}[_0x31cb46(0x19f)](_0x33636b,_0x1c9140,_0x5020b6,_0xee3c60,_0x418b1c,_0x127232){const _0x34beff=_0x31cb46,{f:_0x38229e,x:_0xc4dea7=0x0,y:_0x5961aa=0x0}=_0x127232,_0x2492f8=new c[(_0x34beff(0x15f))](c['generateRandomDependencyTreeId'](this[_0x34beff(0x187)])),_0x3e2e5a=_0x418b1c[_0x33636b][_0x1c9140];return _0x2492f8[_0x34beff(0x126)]=_0x38229e,_0x2492f8[_0x34beff(0xf7)]=_0x33636b,_0x2492f8[_0x34beff(0x16b)]=_0x1c9140,_0x2492f8[_0x34beff(0x12e)]=_0x5020b6,_0x2492f8[_0x34beff(0x148)]=_0xee3c60,_0x2492f8[_0x34beff(0x15b)]=_0x3e2e5a[_0x34beff(0x15b)],_0x2492f8['columnCount']=_0x3e2e5a[_0x34beff(0x1c7)],_0x2492f8;}['_getUpdateTreeListAndMakeDependency'](){const _0xd60d4c=_0x31cb46,_0x4beb60=[],_0x52cb1f=new Set(),_0x333fde=this[_0xd60d4c(0xf3)][_0xd60d4c(0x18d)](),_0x10a1b5=this['_currentConfigService']['getDirtyRanges'](),_0x3da9ef=this['_dependencyManagerService'][_0xd60d4c(0x121)](_0x10a1b5),_0x123e0a=this[_0xd60d4c(0x1d5)]['bulkSearch'](_0x10a1b5);for(const _0x252643 of _0x123e0a)_0x3da9ef['add'](_0x252643);for(const [_0x1b8510,_0x53cec1]of this['_dependencyTreeCache'])(_0x333fde||_0x53cec1[_0xd60d4c(0x147)]||_0x53cec1[_0xd60d4c(0x130)](this[_0xd60d4c(0xf3)][_0xd60d4c(0xfd)]())||_0x3da9ef[_0xd60d4c(0x14b)](_0x1b8510)&&!_0x53cec1['isExcludeRange'](this['_currentConfigService'][_0xd60d4c(0x1e8)]()))&&!_0x52cb1f[_0xd60d4c(0x14b)](_0x1b8510)&&(_0x4beb60[_0xd60d4c(0x150)](_0x53cec1),_0x52cb1f[_0xd60d4c(0x197)](_0x1b8510));for(const [_0x2ce906,_0x175dcb]of this[_0xd60d4c(0x10f)])_0x175dcb[_0xd60d4c(0x174)]||(_0x175dcb['rangeList'][_0xd60d4c(0x131)]=0x0);return _0x4beb60;}[_0x31cb46(0x127)](_0x144590){const _0x4bcec4=_0x31cb46;return this[_0x4bcec4(0x10f)]['get'](_0x144590);}[_0x31cb46(0xec)](_0x4acf30){const _0x4351c1=_0x31cb46;return c[_0x4351c1(0x1d1)](_0x4acf30['unitId'],_0x4acf30['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x31cb46(0x177)](_0x53dc7b,_0x3db0da){const _0x2222fd=_0x31cb46,_0x2db97d=_0x53dc7b,_0x486099=new Set();for(;_0x2db97d[_0x2222fd(0x131)]>0x0;){const _0x56f8c3=_0x2db97d['pop']();if(_0x486099[_0x2222fd(0x1ae)](),_0x56f8c3===void 0x0||_0x56f8c3[_0x2222fd(0x1bb)]())continue;if(_0x56f8c3['isAdded']()){yield _0x56f8c3,_0x56f8c3[_0x2222fd(0x1b1)](),_0x3db0da['add'](_0x56f8c3[_0x2222fd(0x195)]);continue;}const _0x42545a=this['_dependencyManagerService']['searchDependency'](_0x56f8c3[_0x2222fd(0x113)](),_0x3db0da),_0x4a113a=this['_dependencyRTreeCacheForAddressFunction'][_0x2222fd(0xfa)](_0x56f8c3[_0x2222fd(0x113)](),_0x3db0da);for(const _0x8af0c3 of _0x4a113a)_0x42545a[_0x2222fd(0x197)](_0x8af0c3);for(const _0x5b9f55 of _0x42545a){const _0xdd9723=this[_0x2222fd(0x10f)][_0x2222fd(0x137)](_0x5b9f55);if(!_0xdd9723){console[_0x2222fd(0x154)](_0x2222fd(0x129),_0x5b9f55);continue;}_0xdd9723[_0x2222fd(0x124)]()||_0x56f8c3[_0x2222fd(0x1bb)]()||_0x486099[_0x2222fd(0x197)](_0xdd9723);}if(_0x42545a['clear'](),_0x486099[_0x2222fd(0x18a)]===0x0)yield _0x56f8c3,_0x56f8c3[_0x2222fd(0x1b1)](),_0x3db0da[_0x2222fd(0x197)](_0x56f8c3[_0x2222fd(0x195)]);else{_0x56f8c3[_0x2222fd(0x18c)](),_0x2db97d['push'](_0x56f8c3);for(const _0xbf7a4e of _0x486099)_0x2db97d[_0x2222fd(0x150)](_0xbf7a4e);}}_0x2db97d[_0x2222fd(0x131)]=0x0,_0x486099['clear']();}[_0x31cb46(0x155)](_0x11bccd){const _0x3e8a97=_0x31cb46,_0x344722=[],_0x3d2df4=new Set();for(const _0x560fe6 of this['_traverse'](_0x11bccd,_0x3d2df4))_0x344722[_0x3e8a97(0x150)](_0x560fe6);return _0x344722;}async[_0x31cb46(0x1d8)](){const _0x10409f=_0x31cb46;return await this[_0x10409f(0x1af)](),Array[_0x10409f(0x16e)](this[_0x10409f(0x10f)][_0x10409f(0x1e5)]());}[_0x31cb46(0x1d2)](_0x30197d){const _0x374823=_0x31cb46;return this['_dependencyManagerService'][_0x374823(0x121)](_0x30197d[_0x374823(0x113)]());}[_0x31cb46(0x105)](_0xa08b9){const _0x59f3d2=_0x31cb46,_0x2cf10e=new Set(),_0x28958d=_0xa08b9[_0x59f3d2(0x144)];for(const [_0x59095f,_0x1706ad]of this[_0x59f3d2(0x10f)])for(const _0x3c6f78 of _0x28958d){const _0x4e87da=_0x3c6f78[_0x59f3d2(0xf7)],_0x4d36de=_0x3c6f78['sheetId'];if(_0x1706ad['unitId']!==_0x4e87da||_0x1706ad['subUnitId']!==_0x4d36de)continue;const _0x389d14=_0x3c6f78['range'];if(_0x1706ad['inRangeData'](_0x389d14)){_0x2cf10e[_0x59f3d2(0x197)](_0x59095f);break;}}return _0x2cf10e;}[_0x31cb46(0x10c)](){const _0x1cc27f=_0x31cb46;this[_0x1cc27f(0x187)][_0x1cc27f(0x173)]();}[_0x31cb46(0x15a)](){const _0x2cb002=_0x31cb46;this[_0x2cb002(0x180)]['clear'](),this[_0x2cb002(0x10f)][_0x2cb002(0x1ae)](),this[_0x2cb002(0x187)][_0x2cb002(0x199)]();}}class V extends c['CalculateFormulaService']{async[_0x31cb46(0x1a5)](_0x48ef43=!0x1){const _0x5f1106=_0x31cb46;_0x48ef43?this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c['FormulaExecuteStageType'][_0x5f1106(0x1da)]),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this[_0x5f1106(0x112)][_0x5f1106(0x170)]());const _0x1914a6=await this[_0x5f1106(0x1a1)][_0x5f1106(0x14e)](this[_0x5f1106(0x13c)]),_0x135a84=this[_0x5f1106(0x1e1)];_0x48ef43?(this['_runtimeService']['setFormulaExecuteStage'](c[_0x5f1106(0x17d)][_0x5f1106(0x16a)]),this[_0x5f1106(0x112)][_0x5f1106(0x18f)](_0x1914a6[_0x5f1106(0x131)])):(this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c['FormulaExecuteStageType'][_0x5f1106(0x171)]),this[_0x5f1106(0x112)]['setTotalFormulasToCalculate'](_0x1914a6[_0x5f1106(0x131)])),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this[_0x5f1106(0x112)]['getRuntimeState']());let _0x36427f=[];const _0x3f9154=this['_configService'][_0x5f1106(0x139)](c[_0x5f1106(0x152)]),_0x714951=(_0x3f9154==null?void 0x0:_0x3f9154[_0x5f1106(0x192)])||c['DEFAULT_INTERVAL_COUNT'];let _0x266da7=0x0;const _0x27fc01=_0x1914a6[_0x5f1106(0x131)];for(;_0x1914a6[_0x5f1106(0x131)]>0x0;){const _0x47ca45=_0x1914a6[_0x5f1106(0x1a4)](),_0x3d110b=c[_0x5f1106(0x1d1)](_0x47ca45[_0x5f1106(0xf7)],_0x47ca45[_0x5f1106(0x126)],this[_0x5f1106(0x1cf)],this['_astTreeBuilder'],this['_currentConfigService']),_0x3fedb2={'node':_0x3d110b,'refOffsetX':_0x47ca45[_0x5f1106(0x1e7)],'refOffsetY':_0x47ca45[_0x5f1106(0x1df)]},_0x2b03d3=_0x47ca45[_0x5f1106(0x119)];if(_0x266da7%_0x714951===0x0&&(await new Promise(_0xc6bbad=>{const _0x1faa7f=_0x5f1106,_0x45a71a=O[_0x1faa7f(0x134)](_0xc6bbad);_0x36427f[_0x1faa7f(0x150)](_0x45a71a);}),_0x48ef43?(this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x13f)]),this[_0x5f1106(0x112)][_0x5f1106(0xed)](_0x266da7+0x1)):(this['_runtimeService'][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x1c0)]),this['_runtimeService']['setCompletedFormulasCount'](_0x266da7+0x1)),this[_0x5f1106(0x181)][_0x5f1106(0x15c)](this['_runtimeService']['getRuntimeState']()),this['_runtimeService'][_0x5f1106(0xff)]()||_0x3fedb2==null&&_0x2b03d3==null)){this[_0x5f1106(0x112)][_0x5f1106(0x1dd)](c[_0x5f1106(0x17d)][_0x5f1106(0x1d6)]),this[_0x5f1106(0x112)][_0x5f1106(0x193)](),this[_0x5f1106(0x1ad)]['next'](this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]());return;}this[_0x5f1106(0x112)]['setCurrent'](_0x47ca45[_0x5f1106(0x12e)],_0x47ca45[_0x5f1106(0x148)],_0x47ca45[_0x5f1106(0x15b)],_0x47ca45['columnCount'],_0x47ca45['subUnitId'],_0x47ca45[_0x5f1106(0xf7)]);let _0xd13890;if(_0x2b03d3!=null&&_0x47ca45[_0x5f1106(0xf5)]!=null){const {runtimeCellData:_0x2d1efa,dirtyRanges:_0x4cd9da}=_0x2b03d3(this[_0x5f1106(0xf3)][_0x5f1106(0x119)](),this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]());this[_0x5f1106(0x112)][_0x5f1106(0x11d)](_0x47ca45[_0x5f1106(0xf5)],_0x2d1efa),this[_0x5f1106(0x112)][_0x5f1106(0x196)](_0x47ca45[_0x5f1106(0xf5)],_0x4cd9da);}else _0x3fedb2!=null&&(_0x135a84[_0x5f1106(0x1d9)](_0x3fedb2['node'])?_0xd13890=await _0x135a84[_0x5f1106(0x16d)](_0x3fedb2):_0xd13890=_0x135a84[_0x5f1106(0x11b)](_0x3fedb2),_0x47ca45[_0x5f1106(0x1cc)]!=null?this[_0x5f1106(0x112)][_0x5f1106(0x167)](_0x47ca45[_0x5f1106(0x1cc)],_0x47ca45['refOffsetX'],_0x47ca45[_0x5f1106(0x1df)],_0xd13890):this['_runtimeService'][_0x5f1106(0x183)](_0xd13890));_0x3d110b[_0x5f1106(0x12a)](),_0x266da7++;}return _0x36427f[_0x5f1106(0xf1)](_0x4ee9dc=>_0x4ee9dc()),_0x36427f=[],_0x27fc01>0x0?this['_runtimeService'][_0x5f1106(0x15d)]():_0x48ef43||this['_runtimeService'][_0x5f1106(0x1cd)](),this[_0x5f1106(0x112)][_0x5f1106(0x1c6)]();}}class G extends c[_0x31cb46(0x151)]{constructor(){const _0x33900a=_0x31cb46;super(...arguments),D(this,_0x33900a(0x10d),new Map()),D(this,_0x33900a(0x1b5),new O['RTree'](!0x0));}[_0x31cb46(0x165)](){const _0x17f424=_0x31cb46;this[_0x17f424(0x1ac)][_0x17f424(0x1ae)](),this[_0x17f424(0x1a2)][_0x17f424(0x1ae)](),this[_0x17f424(0x117)][_0x17f424(0x1ae)](),this[_0x17f424(0x1b5)][_0x17f424(0x1ae)](),this[_0x17f424(0x10d)][_0x17f424(0x1ae)](),this['_restDependencyTreeId'](),this[_0x17f424(0x143)][_0x17f424(0x1ae)]();}[_0x31cb46(0xef)](_0x3e2ec2,_0x16fa67,_0x3f7902,_0x46fb4a){const _0x136fd6=_0x31cb46;this['_otherFormulaData'][_0x136fd6(0x14b)](_0x3e2ec2)||this[_0x136fd6(0x1ac)][_0x136fd6(0x132)](_0x3e2ec2,new Map());const _0x9726db=this[_0x136fd6(0x1ac)][_0x136fd6(0x137)](_0x3e2ec2);_0x9726db[_0x136fd6(0x14b)](_0x16fa67)||_0x9726db[_0x136fd6(0x132)](_0x16fa67,new Map());const _0x3ac954=_0x9726db[_0x136fd6(0x137)](_0x16fa67);_0x3ac954[_0x136fd6(0x14b)](_0x3f7902)||_0x3ac954[_0x136fd6(0x132)](_0x3f7902,new O['ObjectMatrix']()),_0x3ac954['get'](_0x3f7902)[_0x136fd6(0x141)](_0x46fb4a[_0x136fd6(0x1e7)],_0x46fb4a[_0x136fd6(0x1df)],_0x46fb4a['treeId']);}[_0x31cb46(0x1d7)](_0x51e80a,_0x4c171,_0x4fa951){const _0x27d423=_0x31cb46,_0x2ece76=this[_0x27d423(0x1ac)][_0x27d423(0x137)](_0x51e80a);if(_0x2ece76&&_0x2ece76[_0x27d423(0x14b)](_0x4c171)){const _0x54beba=_0x2ece76['get'](_0x4c171);_0x4fa951['forEach'](_0x16a99d=>{const _0x453075=_0x27d423,_0x40b5e6=_0x54beba[_0x453075(0x137)](_0x16a99d);_0x40b5e6!=null&&(_0x40b5e6[_0x453075(0x172)]((_0x2d9311,_0x4675f6,_0x3b4c84)=>{const _0x3540f1=_0x453075;this[_0x3540f1(0x161)](_0x3b4c84),this[_0x3540f1(0xf8)](_0x3b4c84);}),_0x54beba[_0x453075(0x14f)](_0x16a99d),this['_otherFormulaDataMainData'][_0x453075(0x14f)](_0x16a99d));}),_0x54beba[_0x27d423(0x18a)]===0x0&&_0x2ece76[_0x27d423(0x14f)](_0x4c171),_0x2ece76[_0x27d423(0x18a)]===0x0&&this[_0x27d423(0x1ac)][_0x27d423(0x14f)](_0x51e80a);}}[_0x31cb46(0x164)](_0x4733be,_0x1360ed){const _0x84f52=_0x31cb46,_0x4d97ef=this[_0x84f52(0x1ac)][_0x84f52(0x137)](_0x4733be);if(_0x1360ed&&_0x4d97ef&&_0x4d97ef[_0x84f52(0x14b)](_0x1360ed)){const _0xf27f65=_0x4d97ef[_0x84f52(0x137)](_0x1360ed);this[_0x84f52(0x156)](_0x4733be,_0x1360ed);for(const _0x512270 of _0xf27f65[_0x84f52(0x1ea)]()){const _0x4ef692=_0xf27f65['get'](_0x512270);_0x4ef692!=null&&(_0x4ef692[_0x84f52(0x172)]((_0x11d86c,_0x39fa4a,_0x2bffb7)=>{const _0x3fe61a=_0x84f52;this[_0x3fe61a(0x10d)][_0x3fe61a(0x137)](_0x2bffb7)&&this[_0x3fe61a(0xf8)](_0x2bffb7);}),this['_otherFormulaDataMainData'][_0x84f52(0x14f)](_0x512270));}_0xf27f65[_0x84f52(0x1ae)]();}else{if(_0x4d97ef){for(const _0x1b84a0 of _0x4d97ef[_0x84f52(0x1ea)]()){const _0x2d798c=_0x4d97ef['get'](_0x1b84a0);this[_0x84f52(0x156)](_0x4733be,_0x1b84a0);for(const _0x5a78ab of _0x2d798c[_0x84f52(0x1ea)]()){const _0x3085da=_0x2d798c[_0x84f52(0x137)](_0x5a78ab);_0x3085da!=null&&(_0x3085da[_0x84f52(0x172)]((_0x4a083f,_0x37baf6,_0x4e4622)=>{const _0x261033=_0x84f52;this[_0x261033(0x10d)][_0x261033(0x137)](_0x4e4622)&&this[_0x261033(0xf8)](_0x4e4622);}),this[_0x84f52(0x143)][_0x84f52(0x14f)](_0x5a78ab));}}this[_0x84f52(0x1ac)]['delete'](_0x4733be);}}}[_0x31cb46(0xee)](_0x289fca,_0x10ee70,_0x5c7ddd,_0x3342c5){const _0x20b39c=_0x31cb46;this['_featureFormulaData'][_0x20b39c(0x14b)](_0x289fca)||this[_0x20b39c(0x1a2)][_0x20b39c(0x132)](_0x289fca,new Map());const _0x59058d=this[_0x20b39c(0x1a2)]['get'](_0x289fca);_0x59058d[_0x20b39c(0x14b)](_0x10ee70)||_0x59058d['set'](_0x10ee70,new Map()),_0x59058d[_0x20b39c(0x137)](_0x10ee70)['set'](_0x5c7ddd,_0x3342c5[_0x20b39c(0x195)]);}[_0x31cb46(0x19e)](_0x929ea5,_0x3c1459,_0x486010){const _0x100878=_0x31cb46,_0x83f95a=this[_0x100878(0x1a2)][_0x100878(0x137)](_0x929ea5);if(_0x83f95a&&_0x83f95a[_0x100878(0x14b)](_0x3c1459)){const _0x203ce5=_0x83f95a['get'](_0x3c1459);_0x486010[_0x100878(0xf1)](_0x3f7cb6=>{const _0x151de9=_0x100878,_0x108b8f=_0x203ce5[_0x151de9(0x137)](_0x3f7cb6);_0x108b8f!=null&&(this[_0x151de9(0x161)](_0x108b8f),_0x203ce5[_0x151de9(0x14f)](_0x3f7cb6),this[_0x151de9(0xf8)](_0x108b8f));});}}[_0x31cb46(0x17f)](_0x3e5267,_0x5971c5){const _0x5b732b=_0x31cb46,_0x2aaaa2=this['_featureFormulaData'][_0x5b732b(0x137)](_0x3e5267);if(_0x5971c5&&_0x2aaaa2&&_0x2aaaa2[_0x5b732b(0x14b)](_0x5971c5)){const _0x59c0c6=_0x2aaaa2[_0x5b732b(0x137)](_0x5971c5);this[_0x5b732b(0x156)](_0x3e5267,_0x5971c5),_0x59c0c6[_0x5b732b(0xf1)](_0x4d781a=>{const _0x15aa75=_0x5b732b;_0x4d781a!=null&&this[_0x15aa75(0xf8)](_0x4d781a);}),_0x59c0c6['clear']();}else _0x2aaaa2&&(_0x2aaaa2[_0x5b732b(0xf1)]((_0x415742,_0x430756)=>{const _0x32209f=_0x5b732b;this[_0x32209f(0x156)](_0x3e5267,_0x430756),_0x415742['forEach'](_0x1ff0f7=>{const _0x26a0b6=_0x32209f;_0x1ff0f7!=null&&this[_0x26a0b6(0xf8)](_0x1ff0f7);});}),this[_0x5b732b(0x1a2)]['delete'](_0x3e5267));}['addFormulaDependency'](_0x5b1267,_0x449c4e,_0xefcc0b,_0x35321c,_0x55ab1d){const _0x3ce187=_0x31cb46;this[_0x3ce187(0x117)]['has'](_0x5b1267)||this['_formulaData'][_0x3ce187(0x132)](_0x5b1267,new Map());const _0x567a1a=this[_0x3ce187(0x117)]['get'](_0x5b1267);_0x567a1a[_0x3ce187(0x14b)](_0x449c4e)||_0x567a1a[_0x3ce187(0x132)](_0x449c4e,new O[(_0x3ce187(0x100))]()),_0x567a1a[_0x3ce187(0x137)](_0x449c4e)[_0x3ce187(0x141)](_0xefcc0b,_0x35321c,_0x55ab1d['treeId']);}[_0x31cb46(0x136)](_0x9e3ef4,_0x4cdd4d,_0x499592,_0x2dc09c){const _0x342978=_0x31cb46,_0x109d3b=this[_0x342978(0x117)]['get'](_0x9e3ef4);if(_0x109d3b&&_0x109d3b['has'](_0x4cdd4d)){const _0x200a04=_0x109d3b[_0x342978(0x137)](_0x4cdd4d),_0xbba180=_0x200a04[_0x342978(0x1c5)](_0x499592,_0x2dc09c);if(_0xbba180==null)return;this['_removeDependencyRTreeCache'](_0xbba180),_0x200a04[_0x342978(0x175)](_0x499592,_0x2dc09c),this[_0x342978(0xf8)](_0xbba180);}}[_0x31cb46(0x1c8)](_0x2a091d,_0x354779){const _0x1bec3a=_0x31cb46,_0x2fc1d2=this['_formulaData']['get'](_0x2a091d);if(_0x354779&&_0x2fc1d2&&_0x2fc1d2[_0x1bec3a(0x14b)](_0x354779)){const _0x4eb6e6=_0x2fc1d2[_0x1bec3a(0x137)](_0x354779);this[_0x1bec3a(0x156)](_0x2a091d,_0x354779),_0x4eb6e6['forValue']((_0x430723,_0x1f2cb1,_0x4c1725)=>{const _0x13c8f9=_0x1bec3a;if(_0x4c1725==null)return!0x0;this[_0x13c8f9(0xf8)](_0x4c1725);}),_0x4eb6e6[_0x1bec3a(0x165)]();}else _0x2fc1d2&&(_0x2fc1d2[_0x1bec3a(0xf1)]((_0x1e131c,_0x1b3117)=>{const _0x30c8f5=_0x1bec3a;this[_0x30c8f5(0x156)](_0x2a091d,_0x1b3117),_0x1e131c[_0x30c8f5(0x172)]((_0x1d0fdd,_0xffe9dc,_0x1169d2)=>{const _0x2f9495=_0x30c8f5;if(_0x1169d2==null)return!0x0;this[_0x2f9495(0xf8)](_0x1169d2);});}),this[_0x1bec3a(0x117)][_0x1bec3a(0x14f)](_0x2a091d));}['_removeDependencyRTreeCache'](_0x2c2700){const _0x161ffd=_0x31cb46;if(_0x2c2700==null)return;const _0x521d02=this[_0x161ffd(0x10d)][_0x161ffd(0x137)](_0x2c2700);if(_0x521d02){const _0x20cf22=[];for(const [_0x192d95,_0x437f07]of _0x521d02)for(const [_0x35c86e,_0x3eb45f]of _0x437f07)_0x20cf22[_0x161ffd(0x150)]({'unitId':_0x192d95,'sheetId':_0x35c86e,'range':_0x3eb45f,'id':_0x2c2700});this['_dependencyRTreeCache']['bulkRemove'](_0x20cf22);}}['removeFormulaDependencyByDefinedName'](_0x1305e6,_0x5b60ad){const _0x4a3399=_0x31cb46,_0x2ade68=this[_0x4a3399(0x104)][_0x4a3399(0x137)](_0x1305e6);if(_0x2ade68){const _0xbdf99f=_0x2ade68[_0x4a3399(0x137)](_0x5b60ad);if(_0xbdf99f){for(const _0x3ff208 of _0xbdf99f)this[_0x4a3399(0x161)](_0x3ff208),this[_0x4a3399(0xf8)](_0x3ff208);_0xbdf99f[_0x4a3399(0x1ae)]();}}}[_0x31cb46(0x173)](){const _0x510d0b=_0x31cb46;this[_0x510d0b(0x1b5)]['openKdTree']();}['closeKdTree'](){const _0x599bcd=_0x31cb46;this[_0x599bcd(0x1b5)]['closeKdTree']();}[_0x31cb46(0xf8)](_0x261863){const _0x3432f7=_0x31cb46;_0x261863!=null&&this[_0x3432f7(0x10d)]['delete'](_0x261863);}[_0x31cb46(0x1ed)](_0xb6e4f2){const _0x364d95=_0x31cb46;var _0x5dff53,_0x13fcef;const _0x5daf25=_0xb6e4f2[_0x364d95(0x144)];let _0x69b29d=this[_0x364d95(0x10d)]['get'](_0xb6e4f2[_0x364d95(0x195)]);for(let _0x20d11b=0x0;_0x20d11b<_0x5daf25[_0x364d95(0x131)];_0x20d11b++){const _0x5c57a3=_0x5daf25[_0x20d11b];let {unitId:_0x1cce00,sheetId:_0x4ce08f,range:_0x392f54}=_0x5c57a3;_0x69b29d||(_0x69b29d=new Map(),this['_allTreeMap'][_0x364d95(0x132)](_0xb6e4f2['treeId'],_0x69b29d)),_0x69b29d[_0x364d95(0x14b)](_0x1cce00)||_0x69b29d[_0x364d95(0x132)](_0x1cce00,new Map());const _0x875e66=(_0x5dff53=_0x69b29d==null?void 0x0:_0x69b29d[_0x364d95(0x137)](_0x1cce00))==null?void 0x0:_0x5dff53[_0x364d95(0x137)](_0x4ce08f);_0x875e66&&(_0x392f54={'startRow':Math[_0x364d95(0x19a)](_0x392f54[_0x364d95(0x120)],_0x875e66['startRow']),'startColumn':Math[_0x364d95(0x19a)](_0x392f54[_0x364d95(0x14c)],_0x875e66[_0x364d95(0x14c)]),'endRow':Math[_0x364d95(0x17b)](_0x392f54['endRow'],_0x875e66['endRow']),'endColumn':Math[_0x364d95(0x17b)](_0x392f54[_0x364d95(0x18b)],_0x875e66[_0x364d95(0x18b)])}),(_0x13fcef=_0x69b29d['get'](_0x1cce00))==null||_0x13fcef[_0x364d95(0x132)](_0x4ce08f,_0x392f54);}}}var $=Object[_0x31cb46(0x125)],H=(_0xf3f56,_0x30cea7,_0x48929d,_0x4c240d)=>{for(var _0x37a1a9=_0x4c240d>0x1?void 0x0:_0x4c240d?$(_0x30cea7,_0x48929d):_0x30cea7,_0x5bc596=_0xf3f56['length']-0x1,_0x250303;_0x5bc596>=0x0;_0x5bc596--)(_0x250303=_0xf3f56[_0x5bc596])&&(_0x37a1a9=_0x250303(_0x37a1a9)||_0x37a1a9);return _0x37a1a9;};const X=Number[_0x31cb46(0x1c4)](0x69622c44);exports[_0x31cb46(0x10a)]=class extends c[_0x31cb46(0x1a7)]{[_0x31cb46(0x159)](){const _0x159c48=_0x31cb46;var _0x5917c7,_0x6e5412;this[_0x159c48(0x1d4)]()?(this[_0x159c48(0x160)]['add']([c[_0x159c48(0x1ce)],{'useClass':L}]),(_0x5917c7=this[_0x159c48(0x1a0)])!=null&&_0x5917c7[_0x159c48(0x163)]||[[c[_0x159c48(0x189)],{'useClass':V}],[c[_0x159c48(0x1bd)],{'useClass':G}],[c[_0x159c48(0x115)],{'useClass':B}]][_0x159c48(0xf1)](_0x10cb89=>this[_0x159c48(0x160)][_0x159c48(0x197)](_0x10cb89))):(this[_0x159c48(0x160)][_0x159c48(0x197)]([c[_0x159c48(0x1ce)],{'useClass':c[_0x159c48(0x1ce)]}]),(_0x6e5412=this[_0x159c48(0x1a0)])!=null&&_0x6e5412['notExecuteFormula']||[[c['ICalculateFormulaService'],{'useClass':c[_0x159c48(0x133)]}],[c[_0x159c48(0x1bd)],{'useClass':c[_0x159c48(0x12b)]}],[c[_0x159c48(0x115)],{'useClass':c[_0x159c48(0x107)]}]]['forEach'](_0x25d4fd=>this['_injector'][_0x159c48(0x197)](_0x25d4fd)));}[_0x31cb46(0x1d4)](){const _0x554ca3=_0x31cb46;var _0x125b63;const _0x249051=(_0x125b63=this[_0x554ca3(0x1bf)][_0x554ca3(0x139)](v[_0x554ca3(0x103)]))!=null?_0x125b63:{},{ls:_0x509048,pbk:_0x2c4610}=_0x249051;if(!_0x509048||!_0x2c4610)return!0x1;const _0x8640c8=v[_0x554ca3(0x185)](Y,b),_0x2cc072=new Function(_0x554ca3(0x1b0)+_0x8640c8)()(_0x509048,_0x2c4610),_0x205fb1=_0x2cc072['message'];return _0x2cc072[_0x554ca3(0x138)]&&v[_0x554ca3(0x19d)](_0x205fb1,'sf',X)?v['getSheetFeatureLimit'](_0x205fb1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x31cb46(0x10a)]=H([O['DependentOn'](v[_0x31cb46(0x186)])],exports['UniverProFormulaEnginePlugin']),exports[_0x31cb46(0x179)]=L,Object[_0x31cb46(0x1ea)](c)['forEach'](_0x9bff53=>{const _0x40902c=_0x31cb46;_0x9bff53!=='default'&&!Object[_0x40902c(0x11c)][_0x40902c(0x102)][_0x40902c(0x1ca)](exports,_0x9bff53)&&Object['defineProperty'](exports,_0x9bff53,{'enumerable':!0x0,'get':()=>c[_0x9bff53]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x3d29(){var _0x30a63f=['786zccnuL','6871OZCqav','159824ChqRmD','12103ZDMaeX','174XAdUTP','80OZfygC','38996dGBaAe','272qKtSJI','1992330GAseAC','25315YEecpG','21472qrOehv','6492gDqiIG','105fyYSSL'];_0x3d29=function(){return _0x30a63f;};return _0x3d29();}function _0x5698(_0x1b92ea,_0x4e0e32){_0x1b92ea=_0x1b92ea-0x102;var _0x3d2997=_0x3d29();var _0x56988a=_0x3d2997[_0x1b92ea];return _0x56988a;}(function(_0x1efbb0,_0xec9c70){var _0x28ae4b=_0x5698,_0x568ce0=_0x1efbb0();while(!![]){try{var _0x1a5e9b=-parseInt(_0x28ae4b(0x103))/0x1*(-parseInt(_0x28ae4b(0x106))/0x2)+parseInt(_0x28ae4b(0x10e))/0x3*(parseInt(_0x28ae4b(0x108))/0x4)+-parseInt(_0x28ae4b(0x10b))/0x5*(-parseInt(_0x28ae4b(0x102))/0x6)+-parseInt(_0x28ae4b(0x104))/0x7*(parseInt(_0x28ae4b(0x109))/0x8)+parseInt(_0x28ae4b(0x10a))/0x9+-parseInt(_0x28ae4b(0x107))/0xa*(parseInt(_0x28ae4b(0x10c))/0xb)+-parseInt(_0x28ae4b(0x10d))/0xc*(parseInt(_0x28ae4b(0x105))/0xd);if(_0x1a5e9b===_0xec9c70)break;else _0x568ce0['push'](_0x568ce0['shift']());}catch(_0x40d699){_0x568ce0['push'](_0x568ce0['shift']());}}}(_0x3d29,0x80ea8));export*from'@univerjs/engine-formula/facade';
1
+ function _0x5b80(_0x188bd7,_0x4fd1dc){_0x188bd7=_0x188bd7-0x98;var _0x14b997=_0x14b9();var _0x5b80db=_0x14b997[_0x188bd7];return _0x5b80db;}(function(_0x34ca9d,_0x336f8e){var _0x536fc4=_0x5b80,_0x42d9c2=_0x34ca9d();while(!![]){try{var _0x4a9d2b=-parseInt(_0x536fc4(0xa1))/0x1+parseInt(_0x536fc4(0x9f))/0x2+parseInt(_0x536fc4(0x9a))/0x3*(parseInt(_0x536fc4(0x98))/0x4)+-parseInt(_0x536fc4(0xa0))/0x5*(parseInt(_0x536fc4(0x9e))/0x6)+-parseInt(_0x536fc4(0x9d))/0x7+parseInt(_0x536fc4(0x9b))/0x8+-parseInt(_0x536fc4(0x99))/0x9*(parseInt(_0x536fc4(0x9c))/0xa);if(_0x4a9d2b===_0x336f8e)break;else _0x42d9c2['push'](_0x42d9c2['shift']());}catch(_0x51f6f2){_0x42d9c2['push'](_0x42d9c2['shift']());}}}(_0x14b9,0xa1bbd));export*from'@univerjs/engine-formula/facade';function _0x14b9(){var _0x1895d0=['5705616kinaVI','124370FvemTh','112378jNJIwD','6816846qfROcB','2011826mUPRPr','5lzIHye','12795BJfzQw','4ARQwGN','225WvRiwR','1257783urTcEk'];_0x14b9=function(){return _0x1895d0;};return _0x14b9();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x113d31=_0xb1d8;(function(_0xada069,_0x34efa5){const _0x5ee205=_0xb1d8,_0x3d57bc=_0xada069();while(!![]){try{const _0x4a9050=-parseInt(_0x5ee205(0x155))/0x1*(parseInt(_0x5ee205(0x1a0))/0x2)+-parseInt(_0x5ee205(0x147))/0x3+parseInt(_0x5ee205(0x16c))/0x4*(parseInt(_0x5ee205(0x148))/0x5)+-parseInt(_0x5ee205(0x18d))/0x6*(-parseInt(_0x5ee205(0x1ef))/0x7)+-parseInt(_0x5ee205(0x1b5))/0x8+-parseInt(_0x5ee205(0x16f))/0x9+parseInt(_0x5ee205(0x1b2))/0xa;if(_0x4a9050===_0x34efa5)break;else _0x3d57bc['push'](_0x3d57bc['shift']());}catch(_0x3b7155){_0x3d57bc['push'](_0x3d57bc['shift']());}}}(_0x4b3f,0x1e121));var se=Object[_0x113d31(0x172)],ae=(_0x4fb667,_0x51644f,_0x57dd23)=>_0x51644f in _0x4fb667?se(_0x4fb667,_0x51644f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57dd23}):_0x4fb667[_0x51644f]=_0x57dd23,D=(_0x1065d7,_0x7fa373,_0x252a5d)=>ae(_0x1065d7,typeof _0x7fa373!='symbol'?_0x7fa373+'':_0x7fa373,_0x252a5d);import{LexerTreeBuilder as _0x53bbbb,ErrorType as _0xaaed4f,DEFAULT_TOKEN_TYPE_ROOT as _0x53737e,DEFAULT_TOKEN_TYPE_PARAMETER as _0x5dfe80,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5b00a0,NEW_EXCEL_FUNCTIONS as _0xcecf28,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x386651,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1867b2,matchToken as _0x588ae3,SUFFIX_TOKEN_SET as _0x3df082,prefixToken as _0x388833,LexerNode as _0x49a9cc,OPERATOR_TOKEN_SET as _0x821b57,isReferenceString as _0x23786b,splitTableStructuredRef as _0x50174f,FormulaDependencyGenerator as _0x475a2e,generateRandomDependencyTreeId as _0x34f452,FormulaDependencyTree as _0x3caecf,FormulaDependencyTreeType as _0x149f95,FormulaDependencyTreeVirtual as _0x39d509,generateAstNode as _0x466c27,CalculateFormulaService as _0x3beda0,FormulaExecuteStageType as _0x549bf6,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1fe111,DEFAULT_INTERVAL_COUNT as _0x3353e2,DependencyManagerBaseService as _0x1415ec,UniverFormulaEnginePlugin as _0x28db59,ICalculateFormulaService as _0x4ebb49,IDependencyManagerService as _0x138ab0,IFormulaDependencyGenerator as _0x51668a,DependencyManagerService as _0x2a0934}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x4cf21,LS_CONFIG_KEY as _0x7015f,unshiftString as _0x390cea,isFeatureAuthorizedWithinTime as _0x1acbf2,getSheetFeatureLimit as _0xa231df}from'@univerjs-pro/license';import{ObjectMatrix as _0xf3817d,requestImmediateMacroTask as _0x272062,RTree as _0x344137,DependentOn as _0x50cda5}from'@univerjs/core';class ve extends _0x53bbbb{constructor(){const _0x3392ae=_0x113d31;super(...arguments),D(this,_0x3392ae(0x156),!0x1),D(this,_0x3392ae(0x19b),new Set()),D(this,_0x3392ae(0x170),_0x3392ae(0x15c)),D(this,_0x3392ae(0x157),_0x3392ae(0x182)),D(this,_0x3392ae(0x1cd),'');}[_0x113d31(0x1d9)](){const _0x41e47c=_0x113d31;this[_0x41e47c(0x170)]='_xlpm.',this[_0x41e47c(0x157)]=_0x41e47c(0x182);}[_0x113d31(0x161)](){const _0x558ca4=_0x113d31;this[_0x558ca4(0x170)]='',this[_0x558ca4(0x157)]='';}[_0x113d31(0x207)](_0x3c912a,_0x51d052){const _0x16ea50=_0x113d31,_0x5e7b02=this[_0x16ea50(0x1c4)](_0x3c912a,!0x1);if(!_0x5e7b02||_0x5e7b02===_0xaaed4f['VALUE']||Array[_0x16ea50(0x14b)](_0x5e7b02))return null;const _0x56aa81=[];return this[_0x16ea50(0x156)]=!0x1,this[_0x16ea50(0x1c8)](_0x5e7b02,_0x56aa81,_0x51d052),this[_0x16ea50(0x156)]?'='+_0x56aa81['join'](''):null;}[_0x113d31(0x1c8)](_0x42c411,_0x19eb80,_0x4a2bdf){const _0xcec7b8=_0x113d31,_0x58ac8a=_0x42c411['getToken'](),_0x13071d=_0x58ac8a[_0xcec7b8(0x19c)](),_0x9763fd=_0x13071d[_0xcec7b8(0x208)](),_0x8c23b6=this['_clearFunctionString'](_0x9763fd),_0x48856a=_0x4a2bdf(_0x8c23b6);let _0x1981af=0x0;_0x58ac8a===_0x53737e?_0x1981af=0x3:_0x58ac8a===_0x5dfe80?_0x1981af=0x4:_0x58ac8a===_0x5b00a0?_0x1981af=0x5:_0xcecf28[_0xcec7b8(0x1be)](_0x8c23b6)?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0):_0x9763fd===_0x386651?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0,_0x1981af=0x2):_0x9763fd===_0x1867b2?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0,_0x1981af=0x1):_0x9763fd===_0x588ae3[_0xcec7b8(0x15d)]?_0x1981af=0x8:_0x3df082['has'](_0x9763fd)?_0x1981af=0x7:_0x9763fd===_0x388833[_0xcec7b8(0x1e2)]?(this[_0xcec7b8(0x159)](_0x42c411)&&(_0x1981af=0x9),_0x19eb80['push'](_0x58ac8a)):(_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),_0x1981af=0xa),_0x48856a?(_0x1981af!==0x2&&_0x1981af!==0x1&&(_0x1981af=0x6),_0x19eb80['push']('(')):_0x1981af===0x9&&_0x19eb80[_0xcec7b8(0x204)]('(');const _0x353d98=_0x42c411['getChildren'](),_0x1aec2c=_0x353d98[_0xcec7b8(0x1b3)];if(_0x1981af===0x2){const _0x44ea5d=_0x353d98[0x0];let _0xbd430e=0x0;_0x44ea5d instanceof _0x49a9cc&&_0x44ea5d[_0xcec7b8(0x16b)]()===_0x5b00a0&&(_0xbd430e=0x1);for(let _0x18aa94=_0xbd430e;_0x18aa94<_0x1aec2c-0x1;_0x18aa94++){const _0x1976dc=_0x353d98[_0x18aa94];if(_0x1976dc instanceof _0x49a9cc){const _0x2baa83=_0x1976dc[_0xcec7b8(0x1f6)]()[0x0];typeof _0x2baa83==_0xcec7b8(0x17f)&&(this[_0xcec7b8(0x19b)]['has'](_0x2baa83)&&console[_0xcec7b8(0x163)](_0xcec7b8(0x175)+_0x2baa83+_0xcec7b8(0x1a3)),this[_0xcec7b8(0x19b)]['add'](_0x2baa83),_0x19eb80[_0xcec7b8(0x204)](''+this['_xlpmPrefix']+_0x2baa83),this[_0xcec7b8(0x156)]=!0x0);}_0x19eb80['push'](',');}this[_0xcec7b8(0x1b7)](_0x353d98[_0x1aec2c-0x1],_0x19eb80,_0x4a2bdf),_0xbd430e===0x1&&(_0x19eb80['push'](')'),_0x19eb80[_0xcec7b8(0x204)]('('),this[_0xcec7b8(0x1c8)](_0x44ea5d,_0x19eb80,_0x4a2bdf)),_0x19eb80[_0xcec7b8(0x204)](')');return;}else{if(_0x1981af===0x1){for(let _0x113b5e=0x0;_0x113b5e<_0x1aec2c-0x1;_0x113b5e++){const _0x2d0d0c=_0x353d98[_0x113b5e];if(_0x2d0d0c instanceof _0x49a9cc&&_0x113b5e%0x2===0x0){const _0x2e63ec=_0x2d0d0c['getChildren']()[0x0];if(typeof _0x2e63ec=='string'){this[_0xcec7b8(0x19b)][_0xcec7b8(0x1be)](_0x2e63ec)&&console[_0xcec7b8(0x163)](_0xcec7b8(0x14d)+_0x2e63ec+_0xcec7b8(0x1a3)),this[_0xcec7b8(0x19b)][_0xcec7b8(0x1f1)](_0x2e63ec),_0x19eb80['push'](''+this[_0xcec7b8(0x170)]+_0x2e63ec),this[_0xcec7b8(0x156)]=!0x0,_0x19eb80[_0xcec7b8(0x204)](',');continue;}}if(this[_0xcec7b8(0x1b7)](_0x2d0d0c,_0x19eb80,_0x4a2bdf),_0x2d0d0c instanceof _0x49a9cc){const _0x37651b=_0x353d98[_0x113b5e+0x1];_0x37651b&&_0x37651b instanceof _0x49a9cc&&_0x19eb80['push'](',');}}this[_0xcec7b8(0x1b7)](_0x353d98[_0x1aec2c-0x1],_0x19eb80,_0x4a2bdf),_0x19eb80['push'](')');return;}else{if(_0x1981af===0x8){const _0x2a56db=_0x353d98[0x0],_0x4b5e96=_0x353d98[0x1];this[_0xcec7b8(0x1b7)](_0x2a56db,_0x19eb80,_0x4a2bdf),_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),this['_handleNewFunctionChild'](_0x4b5e96,_0x19eb80,_0x4a2bdf);return;}}}for(let _0x341271=0x0;_0x341271<_0x1aec2c;_0x341271++){const _0x3d65f3=_0x353d98[_0x341271];if(this[_0xcec7b8(0x1b7)](_0x3d65f3,_0x19eb80,_0x4a2bdf),_0x3d65f3 instanceof _0x49a9cc){const _0x41237c=_0x353d98[_0x341271+0x1];_0x41237c&&_0x41237c instanceof _0x49a9cc&&_0x19eb80[_0xcec7b8(0x204)](',');}}_0x1981af===0x7&&_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),(_0x48856a||_0x1981af===0x9)&&_0x19eb80[_0xcec7b8(0x204)](')');}[_0x113d31(0x1b7)](_0x40d54d,_0x516a24,_0x11bc2a){const _0x442d3d=_0x113d31;_0x40d54d instanceof _0x49a9cc?this['_generateNewFunctionString'](_0x40d54d,_0x516a24,_0x11bc2a):this[_0x442d3d(0x19b)][_0x442d3d(0x1be)](_0x40d54d)?(_0x516a24[_0x442d3d(0x204)](''+this[_0x442d3d(0x170)]+_0x40d54d),this[_0x442d3d(0x156)]=!0x0):_0x516a24[_0x442d3d(0x204)](_0x40d54d);}[_0x113d31(0x1fd)](_0x4e1cbe){const _0x393712=_0x113d31;let _0x5946c0=_0x4e1cbe[_0x393712(0x19c)]();if(!_0x5946c0)return _0x5946c0;const _0xdbcbec=_0x5946c0[0x0];if((_0xdbcbec===_0x388833['AT']||_0xdbcbec===_0x388833['MINUS']||_0xdbcbec===_0x388833[_0x393712(0x166)])&&(_0x5946c0=_0x5946c0[_0x393712(0x1ee)](0x1)),!_0x5946c0)return _0x5946c0;const _0x3fa93b=_0x5946c0[_0x5946c0['length']-0x1];return _0x3df082['has'](_0x3fa93b)&&(_0x5946c0=_0x5946c0[_0x393712(0x1ee)](0x0,-0x1)),_0x5946c0;}[_0x113d31(0x159)](_0x45417c){const _0x4b2fd8=_0x113d31,_0x1a8f60=_0x45417c[_0x4b2fd8(0x1f6)]()[0x0];if(!_0x1a8f60||!(_0x1a8f60 instanceof _0x49a9cc)||_0x45417c[_0x4b2fd8(0x1f6)]()[_0x4b2fd8(0x1b3)]>0x1)return!0x1;const _0x9397db=_0x1a8f60[_0x4b2fd8(0x1f6)](),_0x37f595=_0x9397db[_0x4b2fd8(0x1b3)];if(_0x37f595===0x1)return!0x1;for(let _0x6a1413=0x0;_0x6a1413<_0x37f595;_0x6a1413++){const _0x36987b=_0x9397db[_0x6a1413];if(!(_0x36987b instanceof _0x49a9cc)&&_0x821b57[_0x4b2fd8(0x1be)](_0x36987b))return!0x0;}return!0x1;}[_0x113d31(0x13a)](_0x528fb1,_0x2c50b3,_0x4504d0,_0x1ed05a,_0x22a1de){const _0x244555=_0x113d31,_0x3b82e8=this['treeBuilder'](_0x528fb1,!0x1);if(!_0x3b82e8||_0x3b82e8===_0xaaed4f['VALUE']||Array[_0x244555(0x14b)](_0x3b82e8))return null;this[_0x244555(0x161)](),this['_currentUnitId']=_0x2c50b3;const _0x4b75e3=this[_0x244555(0x205)](_0x3b82e8,_0x4504d0,_0x1ed05a,_0x22a1de);return this[_0x244555(0x1cd)]='',this['_resetPrefix'](),_0x4b75e3;}[_0x113d31(0x205)](_0x47f9d6,_0x2e747d,_0x1b5387,_0x53eee4){const _0x468958=_0x113d31,_0x1b2006={'value':'','children':[],'startIndex':0x0};let _0x37f3a9=_0x47f9d6;if(_0x37f3a9 instanceof _0x49a9cc&&(_0x37f3a9[_0x468958(0x16b)]()===_0x53737e||_0x37f3a9[_0x468958(0x16b)]()===_0x5dfe80)&&_0x37f3a9[_0x468958(0x1f6)]()['length']===0x1&&(_0x37f3a9=_0x37f3a9[_0x468958(0x1f6)]()[0x0]),!(_0x37f3a9 instanceof _0x49a9cc))return this[_0x468958(0x1bb)](_0x37f3a9,_0x1b5387,_0x53eee4);const _0x308ae3=_0x37f3a9[_0x468958(0x1f6)](),_0x2bd50f=_0x308ae3[_0x468958(0x1b3)],_0x43f868=[];this['_generateNewFunctionString'](_0x37f3a9,_0x43f868,_0x2e747d),_0x1b2006[_0x468958(0x1ce)]=_0x43f868[_0x468958(0x15e)](''),_0x1b2006[_0x468958(0x16e)]=_0x37f3a9[_0x468958(0x1dd)]();const _0x576887=this[_0x468958(0x143)](_0x37f3a9);if(_0x576887===0x2){const _0x5bb687=_0x308ae3[0x0];if(_0x5bb687 instanceof _0x49a9cc){if(_0x5bb687['getToken']()[_0x468958(0x19c)]()!==_0x5b00a0)return _0x1b2006;this[_0x468958(0x1a5)](_0x5bb687,_0x1b2006,_0x2e747d,_0x1b5387,_0x53eee4);}return _0x1b2006;}else{if(_0x576887===0x1){for(let _0x1abf04=0x0;_0x1abf04<_0x2bd50f-0x1;_0x1abf04++){const _0x1372be=_0x308ae3[_0x1abf04];if(_0x1372be instanceof _0x49a9cc&&_0x1abf04%0x2===0x1){const _0x33ea7c=_0x1372be[_0x468958(0x1f6)]();if(_0x33ea7c[_0x468958(0x1b3)]===0x1&&!(_0x33ea7c[0x0]instanceof _0x49a9cc))continue;const _0x31b85c=this[_0x468958(0x205)](_0x1372be,_0x2e747d,_0x1b5387,_0x53eee4);_0x31b85c&&_0x1b2006[_0x468958(0x1ae)]['push'](_0x31b85c);}}return _0x1b2006;}else{if(_0x576887===0x8){const _0x5ae651=_0x308ae3[0x0];if(_0x5ae651 instanceof _0x49a9cc){const _0x4aface=_0x5ae651[_0x468958(0x1f6)]()[0x0];_0x4aface instanceof _0x49a9cc&&(_0x1b2006[_0x468958(0x16e)]=_0x4aface[_0x468958(0x1dd)]());}if(this[_0x468958(0x14f)](_0x37f3a9))return _0x1b2006;}else{if(_0x576887===0x7){const _0x274b77=_0x308ae3[0x0];if(_0x274b77 instanceof _0x49a9cc){const _0x57d098=_0x274b77[_0x468958(0x1f6)]()[0x0];_0x57d098 instanceof _0x49a9cc&&(_0x1b2006[_0x468958(0x16e)]=_0x57d098[_0x468958(0x1dd)]());}}}}}return this[_0x468958(0x1f9)](_0x308ae3,_0x576887,_0x1b2006,_0x2e747d,_0x1b5387,_0x53eee4),_0x1b2006;}[_0x113d31(0x1f9)](_0x48dcb1,_0x3cf125,_0x579257,_0x204b42,_0x4434b7,_0x39fd09){const _0x1f97b1=_0x113d31;for(let _0x595ac5=0x0;_0x595ac5<_0x48dcb1[_0x1f97b1(0x1b3)];_0x595ac5++){let _0x15ec23=_0x48dcb1[_0x595ac5];if(!(_0x15ec23 instanceof _0x49a9cc)){const _0x1e6b73=this[_0x1f97b1(0x1bb)](_0x15ec23,_0x4434b7,_0x39fd09);_0x1e6b73&&_0x579257[_0x1f97b1(0x1ae)][_0x1f97b1(0x204)](_0x1e6b73);continue;}const _0x2c217e=_0x15ec23['getChildren']();if(_0x2c217e['length']===0x1&&!(_0x2c217e[0x0]instanceof _0x49a9cc)){const _0x5f2cef=_0x2c217e[0x0];if(!_0x4434b7(this['_currentUnitId'],_0x5f2cef)&&!this[_0x1f97b1(0x158)](_0x5f2cef,_0x39fd09)&&!_0x23786b(_0x5f2cef))continue;}if(_0x3cf125===0x8){const _0x1ce8ee=_0x2c217e[0x0];if(_0x1ce8ee instanceof _0x49a9cc){const _0x226e8f=_0x1ce8ee[_0x1f97b1(0x16b)]()[_0x1f97b1(0x19c)]();if(_0x23786b(_0x226e8f))continue;_0x15ec23=_0x1ce8ee;}}const _0x2c161e=this[_0x1f97b1(0x205)](_0x15ec23,_0x204b42,_0x4434b7,_0x39fd09);_0x2c161e&&_0x579257['children'][_0x1f97b1(0x204)](_0x2c161e);}}[_0x113d31(0x14f)](_0x571c6e){const _0x14a0da=_0x113d31,_0x177ccc=_0x571c6e[_0x14a0da(0x1f6)]();if(_0x177ccc[_0x14a0da(0x1b3)]<0x2)return!0x1;const _0x5107f6=_0x177ccc[0x0],_0x50b1d9=_0x177ccc[0x1];if(!(_0x5107f6 instanceof _0x49a9cc)||!(_0x50b1d9 instanceof _0x49a9cc))return!0x1;const _0x41174d=_0x5107f6[_0x14a0da(0x1f6)]()[0x0],_0x1c6eba=_0x50b1d9[_0x14a0da(0x1f6)]()[0x0];if(!(_0x41174d instanceof _0x49a9cc)||!(_0x1c6eba instanceof _0x49a9cc))return!0x1;const _0x425d54=_0x41174d['getToken']()[_0x14a0da(0x19c)](),_0x59ddc9=_0x1c6eba[_0x14a0da(0x16b)]()['trim']();return!!_0x23786b(''+_0x425d54+_0x588ae3[_0x14a0da(0x15d)]+_0x59ddc9);}['_handleTextNodeForExprTree'](_0x5f2911,_0x3f19bf,_0x3da7c6){const _0x2c7adb=_0x113d31,_0x1186d9=_0x5f2911[_0x2c7adb(0x19c)]();return _0x1186d9[_0x2c7adb(0x1a8)]('{')&&_0x1186d9[_0x2c7adb(0x140)]('}')||_0x3f19bf(this[_0x2c7adb(0x1cd)],_0x1186d9)||this[_0x2c7adb(0x158)](_0x1186d9,_0x3da7c6)||_0x23786b(_0x1186d9)?{'value':_0x1186d9,'children':[],'startIndex':-0x1}:null;}[_0x113d31(0x158)](_0x1d004d,_0x47bf2c){const {tableName:_0x2d33b8}=_0x50174f(_0x1d004d);return _0x47bf2c(this['_currentUnitId'],_0x2d33b8)?_0x2d33b8:null;}[_0x113d31(0x1a5)](_0x146195,_0x2f54df,_0xc4a93f,_0x4bb043,_0x5a4619){const _0x2e3120=_0x113d31,_0x360a5d=_0x146195[_0x2e3120(0x1f6)]();for(let _0x39365a=0x0;_0x39365a<_0x360a5d[_0x2e3120(0x1b3)];_0x39365a++){const _0x4b7f17=_0x360a5d[_0x39365a];if(!(_0x4b7f17 instanceof _0x49a9cc))continue;const _0x8335c0=_0x4b7f17[_0x2e3120(0x1f6)]();if(_0x8335c0[_0x2e3120(0x1b3)]===0x1&&!(_0x8335c0[0x0]instanceof _0x49a9cc))continue;const _0x2ddc57=this[_0x2e3120(0x205)](_0x4b7f17,_0xc4a93f,_0x4bb043,_0x5a4619);_0x2ddc57&&_0x2f54df[_0x2e3120(0x1ae)][_0x2e3120(0x204)](_0x2ddc57);}}[_0x113d31(0x143)](_0x529b77){const _0x2ddcad=_0x113d31,_0x399128=_0x529b77[_0x2ddcad(0x16b)](),_0x5e2723=_0x399128[_0x2ddcad(0x19c)]()[_0x2ddcad(0x208)]();let _0xe0a7b1=0x0;return _0x399128===_0x53737e?_0xe0a7b1=0x3:_0x399128===_0x5dfe80?_0xe0a7b1=0x4:_0x399128===_0x5b00a0?_0xe0a7b1=0x5:_0x5e2723===_0x386651?_0xe0a7b1=0x2:_0x5e2723===_0x1867b2?_0xe0a7b1=0x1:_0x5e2723===_0x588ae3[_0x2ddcad(0x15d)]?_0xe0a7b1=0x8:_0x3df082[_0x2ddcad(0x1be)](_0x5e2723)?_0xe0a7b1=0x7:_0x5e2723===_0x388833[_0x2ddcad(0x1e2)]?this['_checkAddBracketForMinus'](_0x529b77)&&(_0xe0a7b1=0x9):_0xe0a7b1=0xa,_0xe0a7b1;}}function _0xb1d8(_0x236b13,_0x3625af){_0x236b13=_0x236b13-0x134;const _0x4b3f55=_0x4b3f();let _0xb1d8b3=_0x4b3f55[_0x236b13];return _0xb1d8b3;}const Me={0x0:'8',0x1:'v',0x2:'s',0x3:'o',0x4:'O',0x5:'Z',0x6:'F',0x7:'1',0x8:'B',0x9:'M','g':'0','Z':'2','H':'3','M':'4','x':'5','I':'6','L':'7','n':'9','z':'a','Q':'b','J':'c','u':'d','C':'e','w':'f','k':'g','G':'h','T':'i','s':'j','r':'k','V':'l','a':'m','O':'n','b':'p','X':'q','W':'r','t':'t','P':'u','D':'w','j':'x','y':'y','F':'z','h':'A','o':'C','q':'D','N':'E','v':'G','S':'H','f':'I','m':'J','c':'K','p':'L','Y':'N','i':'P','B':'Q','K':'R','R':'S','U':'T','A':'U','d':'V','E':'W','l':'X','e':'Y'},Se=_0x113d31(0x17b);class xe extends _0x475a2e{constructor(){const _0x3c3954=_0x113d31;super(...arguments),D(this,_0x3c3954(0x197),new Map());}[_0x113d31(0x138)](){const _0x422d56=_0x113d31;super['dispose'](),this[_0x422d56(0x197)]['clear']();}async[_0x113d31(0x1c3)](_0xf3f617=!0x1){const _0x41602f=_0x113d31;this[_0x41602f(0x195)]();const _0x2d933b=this[_0x41602f(0x1e8)][_0x41602f(0x167)](),_0x5637f1=this[_0x41602f(0x13b)][_0x41602f(0x1f7)](),_0x4de755=this[_0x41602f(0x1e8)][_0x41602f(0x1b0)]();_0x4de755!=null&&Object[_0x41602f(0x137)](_0x4de755)['forEach'](_0x2dab06=>{const _0x5679ca=_0x41602f;_0x2dab06!=null&&Object[_0x5679ca(0x137)](_0x4de755[_0x2dab06])['forEach'](_0x450d62=>{const _0x3acbfd=_0x5679ca;_0x450d62!=null&&(this[_0x3acbfd(0x152)]['clearOtherFormulaDependency'](_0x2dab06,_0x450d62),this[_0x3acbfd(0x152)][_0x3acbfd(0x141)](_0x2dab06,_0x450d62),this[_0x3acbfd(0x152)][_0x3acbfd(0x1de)](_0x2dab06,_0x450d62));});});const _0x40af58=this[_0x41602f(0x1e8)][_0x41602f(0x16d)]();await this['_generateTreeList'](_0x2d933b,_0x5637f1,_0x40af58),this[_0x41602f(0x152)][_0x41602f(0x200)]();const _0x13af2a=this[_0x41602f(0x16a)](),_0x366418=this[_0x41602f(0x201)](_0x13af2a);return this[_0x41602f(0x1af)](_0x366418)&&this[_0x41602f(0x153)][_0x41602f(0x17c)](),_0xf3f617&&this[_0x41602f(0x153)][_0x41602f(0x1a2)](this['_getAllDependencyJson'](Array[_0x41602f(0x1d7)](this[_0x41602f(0x197)][_0x41602f(0x1b1)]()))),this[_0x41602f(0x197)][_0x41602f(0x18a)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x41602f(0x152)][_0x41602f(0x178)](),this[_0x41602f(0x153)]['clearArrayObjectCache'](),Promise['resolve'](_0x366418);}['_isCyclicUtilMap'](_0x306d7f,_0xf2038f){const _0x25a5db=_0x113d31,_0x19c477=[_0x306d7f];for(;_0x19c477[_0x25a5db(0x1b3)]>0x0;){const _0x13f797=_0x19c477[_0x19c477['length']-0x1];if((_0xf2038f[_0x25a5db(0x1ab)](_0x13f797)||0x0)===0x0){_0xf2038f['set'](_0x13f797,0x1);const _0x589a93=this[_0x25a5db(0x197)][_0x25a5db(0x1ab)](_0x13f797);if(_0x589a93==null){_0xf2038f[_0x25a5db(0x1fc)](_0x13f797,0x2),_0x19c477[_0x25a5db(0x1f3)]();continue;}const _0x11fd76=this[_0x25a5db(0x152)][_0x25a5db(0x1da)](_0x589a93[_0x25a5db(0x1e1)]());for(const _0xed01b1 of _0x11fd76){const _0x2ac0b8=_0xf2038f[_0x25a5db(0x1ab)](_0xed01b1)||0x0;if(_0x2ac0b8===0x1)return!0x0;_0x2ac0b8===0x0&&_0x19c477['push'](_0xed01b1);}}else _0xf2038f[_0x25a5db(0x1fc)](_0x13f797,0x2),_0x19c477[_0x25a5db(0x1f3)]();}return!0x1;}[_0x113d31(0x1af)](_0x11ab04){const _0x5f51a9=_0x113d31,_0x210e58=new Map();for(const _0x5078ab of _0x11ab04)if(!_0x210e58[_0x5f51a9(0x1be)](_0x5078ab[_0x5f51a9(0x191)])&&this[_0x5f51a9(0x14a)](_0x5078ab[_0x5f51a9(0x191)],_0x210e58))return!0x0;return _0x210e58[_0x5f51a9(0x18a)](),!0x1;}[_0x113d31(0x1db)](_0x39bd05,_0x50b83a,_0x5af6c2){const _0x5ee35b=_0x113d31,{unitId:_0x3c3fff,subUnitId:_0x4014be,dependencyRanges:_0x201c21,getDirtyData:_0x924761}=_0x5af6c2,_0x3d2de7=_0x50b83a||_0x34f452(this[_0x5ee35b(0x152)]),_0x42dee3=new _0x3caecf(_0x3d2de7);_0x42dee3[_0x5ee35b(0x13e)]=_0x3c3fff,_0x42dee3[_0x5ee35b(0x174)]=_0x4014be,_0x42dee3[_0x5ee35b(0x1cf)]=_0x201c21,_0x42dee3[_0x5ee35b(0x202)]=_0x924761;const _0x125228=_0x924761(this[_0x5ee35b(0x1e8)][_0x5ee35b(0x202)](),this[_0x5ee35b(0x153)][_0x5ee35b(0x1ac)]()),_0x621982=this[_0x5ee35b(0x173)](_0x125228['dirtyRanges']);return _0x42dee3['featureDirtyRanges']=_0x621982,_0x42dee3[_0x5ee35b(0x14e)]=_0x39bd05,_0x42dee3['type']=_0x149f95[_0x5ee35b(0x1c2)],this[_0x5ee35b(0x152)]['addFeatureFormulaDependency'](_0x3c3fff,_0x4014be,_0x39bd05,_0x42dee3),this[_0x5ee35b(0x197)]['set'](_0x42dee3[_0x5ee35b(0x191)],_0x42dee3),this[_0x5ee35b(0x152)][_0x5ee35b(0x150)](_0x5af6c2[_0x5ee35b(0x13e)],_0x5af6c2[_0x5ee35b(0x174)],_0x39bd05)&&(_0x42dee3[_0x5ee35b(0x1c0)]=!0x0),_0x42dee3;}[_0x113d31(0x162)](_0x264d60,_0x1baab3,_0x1632db){const _0x38aa9c=_0x113d31;var _0x12e928;for(const _0x2616dc of _0x1baab3){const _0x2c270c=_0x264d60[_0x2616dc];if(_0x2c270c==null)continue;const _0x33dc7a=Object[_0x38aa9c(0x137)](_0x2c270c);for(const _0x4ed3ea of _0x33dc7a){const _0x18f3cd=_0x2c270c[_0x4ed3ea];if(_0x18f3cd==null)continue;const _0x260026=Object[_0x38aa9c(0x137)](_0x18f3cd);for(const _0x41d830 of _0x260026){const _0x129832=this[_0x38aa9c(0x152)][_0x38aa9c(0x146)](_0x41d830),_0x2acca7=_0x18f3cd[_0x41d830],{f:_0x50e583,ranges:_0x1df14f}=_0x2acca7;let _0x2a8902=!0x1;_0x129832&&(_0x2a8902=!0x0);const {firstRow:_0xb9e302,firstColumn:_0x5bb227}=this[_0x38aa9c(0x135)](_0x1df14f),_0x297df6=this[_0x38aa9c(0x152)][_0x38aa9c(0x18c)](_0x2616dc,_0x4ed3ea,_0x41d830),_0x128f39=(_0x12e928=_0x297df6==null?void 0x0:_0x297df6[_0x38aa9c(0x1d2)](0x0,0x0))!=null?_0x12e928:_0x34f452(this[_0x38aa9c(0x152)]),_0x396a51=new _0x3caecf(_0x128f39);for(let _0x53cf20=0x0;_0x53cf20<_0x1df14f['length'];_0x53cf20++){const _0x5d04ba=_0x1df14f[_0x53cf20],{startRow:_0x34991e,startColumn:_0x5e6895,endRow:_0x4d1bac,endColumn:_0x23b716}=_0x5d04ba;for(let _0x41a7cb=_0x34991e;_0x41a7cb<=_0x4d1bac;_0x41a7cb++)for(let _0x53a8e5=_0x5e6895;_0x53a8e5<=_0x23b716;_0x53a8e5++){const _0x733358=_0x53a8e5-_0x5bb227,_0x56c755=_0x41a7cb-_0xb9e302;if(_0x733358===0x0&&_0x56c755===0x0){_0x396a51[_0x38aa9c(0x1aa)]=_0x50e583,_0x396a51['unitId']=_0x2616dc,_0x396a51['subUnitId']=_0x4ed3ea,_0x396a51[_0x38aa9c(0x165)]=_0x41d830,_0x396a51[_0x38aa9c(0x209)]=_0x149f95[_0x38aa9c(0x1c5)],_0x396a51[_0x38aa9c(0x1c0)]=_0x2a8902,_0x1632db[_0x38aa9c(0x204)](_0x396a51),this['_dependencyTreeCache'][_0x38aa9c(0x1fc)](_0x396a51['treeId'],_0x396a51),this[_0x38aa9c(0x152)][_0x38aa9c(0x1f8)](_0x2616dc,_0x4ed3ea,_0x41d830,_0x396a51),this[_0x38aa9c(0x152)][_0x38aa9c(0x184)](_0x396a51);continue;}const _0x352cdc=new _0x39d509();_0x352cdc[_0x38aa9c(0x191)]=(_0x297df6==null?void 0x0:_0x297df6[_0x38aa9c(0x1d2)](_0x733358,_0x56c755))||_0x34f452(this[_0x38aa9c(0x152)]),_0x352cdc[_0x38aa9c(0x17a)]=_0x396a51,_0x352cdc[_0x38aa9c(0x1bf)]=_0x733358,_0x352cdc[_0x38aa9c(0x1e4)]=_0x56c755,_0x352cdc['isCache']=_0x2a8902,_0x352cdc['type']=_0x149f95['OTHER_FORMULA'],this['_dependencyManagerService'][_0x38aa9c(0x1f8)](_0x2616dc,_0x4ed3ea,_0x41d830,_0x352cdc),this[_0x38aa9c(0x152)][_0x38aa9c(0x184)](_0x352cdc),_0x1632db[_0x38aa9c(0x204)](_0x352cdc),this[_0x38aa9c(0x197)][_0x38aa9c(0x1fc)](_0x352cdc[_0x38aa9c(0x191)],_0x352cdc);}}this[_0x38aa9c(0x152)][_0x38aa9c(0x1d0)](_0x41d830);}}}}[_0x113d31(0x1a1)](_0x37d5e6,_0x5615d3,_0x45ca41,_0x157b0a){const _0x45eecf=_0x113d31;for(const _0x44f974 of _0x37d5e6){const _0x123d17=_0x5615d3[_0x44f974];if(_0x123d17==null)continue;const _0x41d078=Object[_0x45eecf(0x137)](_0x123d17);for(const _0x57a7e8 of _0x41d078){const _0x1c7d82=new _0xf3817d(_0x123d17[_0x57a7e8]||{}),_0x40c65d=new Map();_0x1c7d82[_0x45eecf(0x164)]((_0x4669a3,_0x5e863c,_0x32cf82)=>{const _0x3324ae=_0x45eecf;if(_0x32cf82==null)return!0x0;const {x:_0xc36bed=0x0,y:_0x407350=0x0,si:_0x4d6238}=_0x32cf82;if(!(_0xc36bed===0x0&&_0x407350===0x0&&_0x4d6238!=null))return!0x0;const _0xeaf84=this[_0x3324ae(0x1e6)](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c,_0x45ca41,_0x32cf82),_0x3b27c5=this[_0x3324ae(0x152)][_0x3324ae(0x189)](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c);_0x3b27c5!=null?_0xeaf84['treeId']=_0x3b27c5:(this[_0x3324ae(0x152)]['addFormulaDependency'](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c,_0xeaf84),this[_0x3324ae(0x152)][_0x3324ae(0x184)](_0xeaf84)),_0x40c65d[_0x3324ae(0x1fc)](_0x4d6238,_0xeaf84),_0x157b0a[_0x3324ae(0x204)](_0xeaf84),this[_0x3324ae(0x197)][_0x3324ae(0x1fc)](_0xeaf84[_0x3324ae(0x191)],_0xeaf84);}),_0x1c7d82[_0x45eecf(0x164)]((_0x1756f4,_0xfab40c,_0x30ac2c)=>{const _0x4adb94=_0x45eecf;if(_0x30ac2c==null)return!0x0;const {x:_0x29253d=0x0,y:_0x200938=0x0,si:_0x2d6c3e}=_0x30ac2c;if(_0x29253d===0x0&&_0x200938===0x0&&_0x2d6c3e!=null)return!0x0;let _0x2ed145;if(_0x2d6c3e&&_0x40c65d[_0x4adb94(0x1be)](_0x2d6c3e)){const _0x162212=_0x40c65d[_0x4adb94(0x1ab)](_0x2d6c3e);_0x2ed145=this['_createVirtualFDtree'](_0x162212,_0x30ac2c);}else _0x2ed145=this[_0x4adb94(0x1e6)](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c,_0x45ca41,_0x30ac2c);const _0x19b9de=this[_0x4adb94(0x152)][_0x4adb94(0x189)](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c);_0x19b9de!=null?_0x2ed145[_0x4adb94(0x191)]=_0x19b9de:(this[_0x4adb94(0x152)]['addFormulaDependency'](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c,_0x2ed145),this[_0x4adb94(0x152)][_0x4adb94(0x184)](_0x2ed145)),_0x157b0a[_0x4adb94(0x204)](_0x2ed145),this[_0x4adb94(0x197)][_0x4adb94(0x1fc)](_0x2ed145[_0x4adb94(0x191)],_0x2ed145);}),_0x40c65d[_0x45eecf(0x18a)]();}}}[_0x113d31(0x1e6)](_0x5b62a4,_0x1895f8,_0x5a1695,_0x4471b9,_0x6b8c77,_0x47c999){const _0xf981d5=_0x113d31,{f:_0x52aafb,x:_0x13b503=0x0,y:_0x458540=0x0}=_0x47c999,_0x2b6b2d=new _0x3caecf(_0x34f452(this['_dependencyManagerService'])),_0x57c2f0=_0x6b8c77[_0x5b62a4][_0x1895f8];return _0x2b6b2d[_0xf981d5(0x1aa)]=_0x52aafb,_0x2b6b2d['unitId']=_0x5b62a4,_0x2b6b2d['subUnitId']=_0x1895f8,_0x2b6b2d[_0xf981d5(0x1c1)]=_0x5a1695,_0x2b6b2d[_0xf981d5(0x1c7)]=_0x4471b9,_0x2b6b2d[_0xf981d5(0x151)]=_0x57c2f0[_0xf981d5(0x151)],_0x2b6b2d[_0xf981d5(0x134)]=_0x57c2f0[_0xf981d5(0x134)],_0x2b6b2d;}[_0x113d31(0x16a)](){const _0x384e44=_0x113d31,_0x341816=[],_0x22beb1=new Set(),_0x2111f4=this['_currentConfigService'][_0x384e44(0x14c)](),_0xc62ea9=this[_0x384e44(0x1e8)]['getDirtyRanges'](),_0x2e886a=this[_0x384e44(0x152)][_0x384e44(0x1da)](_0xc62ea9),_0x3907b4=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0xc62ea9);for(const _0x4b92ad of _0x3907b4)_0x2e886a['add'](_0x4b92ad);for(const [_0x34ce7d,_0x459869]of this[_0x384e44(0x197)])(_0x2111f4||_0x459869[_0x384e44(0x1e3)]||_0x459869['dependencySheetName'](this[_0x384e44(0x1e8)][_0x384e44(0x1e0)]())||_0x2e886a[_0x384e44(0x1be)](_0x34ce7d)&&!_0x459869['isExcludeRange'](this[_0x384e44(0x1e8)][_0x384e44(0x168)]()))&&!_0x22beb1[_0x384e44(0x1be)](_0x34ce7d)&&(_0x341816[_0x384e44(0x204)](_0x459869),_0x22beb1[_0x384e44(0x1f1)](_0x34ce7d));for(const [_0x4c6162,_0x165a49]of this[_0x384e44(0x197)])_0x165a49[_0x384e44(0x13c)]||(_0x165a49[_0x384e44(0x1cf)]['length']=0x0);return _0x341816;}[_0x113d31(0x1f0)](_0x24fdca){const _0x280fad=_0x113d31;return this[_0x280fad(0x197)][_0x280fad(0x1ab)](_0x24fdca);}[_0x113d31(0x1df)](_0x3474b5){const _0x46ad3a=_0x113d31;return _0x466c27(_0x3474b5[_0x46ad3a(0x13e)],_0x3474b5['formula'],this[_0x46ad3a(0x1fe)],this[_0x46ad3a(0x1fa)],this[_0x46ad3a(0x1e8)]);}*[_0x113d31(0x1a9)](_0x4cd573,_0x5c2cf2){const _0xc665ba=_0x113d31,_0x5e04e5=_0x4cd573,_0x38fd8b=new Set();for(;_0x5e04e5[_0xc665ba(0x1b3)]>0x0;){const _0x5a0c1a=_0x5e04e5[_0xc665ba(0x1f3)]();if(_0x38fd8b[_0xc665ba(0x18a)](),_0x5a0c1a===void 0x0||_0x5a0c1a[_0xc665ba(0x1fb)]())continue;if(_0x5a0c1a[_0xc665ba(0x136)]()){yield _0x5a0c1a,_0x5a0c1a[_0xc665ba(0x1c6)](),_0x5c2cf2[_0xc665ba(0x1f1)](_0x5a0c1a['treeId']);continue;}const _0x2622ce=this[_0xc665ba(0x152)][_0xc665ba(0x1da)](_0x5a0c1a[_0xc665ba(0x1e1)](),_0x5c2cf2),_0x243d33=this[_0xc665ba(0x1c9)][_0xc665ba(0x1d8)](_0x5a0c1a[_0xc665ba(0x1e1)](),_0x5c2cf2);for(const _0x3c8f1f of _0x243d33)_0x2622ce['add'](_0x3c8f1f);for(const _0x5dfa72 of _0x2622ce){const _0x586bf8=this['_dependencyTreeCache']['get'](_0x5dfa72);if(!_0x586bf8){console[_0xc665ba(0x163)](_0xc665ba(0x149),_0x5dfa72);continue;}_0x586bf8['isAdded']()||_0x5a0c1a['isSkip']()||_0x38fd8b[_0xc665ba(0x1f1)](_0x586bf8);}if(_0x2622ce[_0xc665ba(0x18a)](),_0x38fd8b[_0xc665ba(0x1b9)]===0x0)yield _0x5a0c1a,_0x5a0c1a['setSkip'](),_0x5c2cf2[_0xc665ba(0x1f1)](_0x5a0c1a[_0xc665ba(0x191)]);else{_0x5a0c1a[_0xc665ba(0x1b4)](),_0x5e04e5['push'](_0x5a0c1a);for(const _0x1a3f6d of _0x38fd8b)_0x5e04e5[_0xc665ba(0x204)](_0x1a3f6d);}}_0x5e04e5['length']=0x0,_0x38fd8b[_0xc665ba(0x18a)]();}[_0x113d31(0x201)](_0x5af7ce){const _0x27cf2d=_0x113d31,_0x4fde28=[],_0x4e37c7=new Set();for(const _0x20db5c of this[_0x27cf2d(0x1a9)](_0x5af7ce,_0x4e37c7))_0x4fde28[_0x27cf2d(0x204)](_0x20db5c);return _0x4fde28;}async[_0x113d31(0x17e)](){const _0x261c3e=_0x113d31;return await this[_0x261c3e(0x145)](),Array['from'](this[_0x261c3e(0x197)]['values']());}[_0x113d31(0x1b8)](_0x20cb26){const _0x268a23=_0x113d31;return this[_0x268a23(0x152)][_0x268a23(0x1da)](_0x20cb26['toRTreeItem']());}[_0x113d31(0x20c)](_0x2b8c28){const _0x2f2775=_0x113d31,_0x10940b=new Set(),_0x2168c0=_0x2b8c28[_0x2f2775(0x1cf)];for(const [_0x8dde3f,_0x28157f]of this['_dependencyTreeCache'])for(const _0x594fb3 of _0x2168c0){const _0x380825=_0x594fb3[_0x2f2775(0x13e)],_0x267bba=_0x594fb3[_0x2f2775(0x19a)];if(_0x28157f['unitId']!==_0x380825||_0x28157f[_0x2f2775(0x174)]!==_0x267bba)continue;const _0x427a43=_0x594fb3['range'];if(_0x28157f[_0x2f2775(0x1bc)](_0x427a43)){_0x10940b['add'](_0x8dde3f);break;}}return _0x10940b;}[_0x113d31(0x1ec)](){const _0x3c351e=_0x113d31;this[_0x3c351e(0x152)][_0x3c351e(0x200)]();}[_0x113d31(0x203)](){const _0x54f1a4=_0x113d31;this[_0x54f1a4(0x18e)]['clear'](),this[_0x54f1a4(0x197)][_0x54f1a4(0x18a)](),this[_0x54f1a4(0x152)]['closeKdTree']();}}class Ee extends _0x3beda0{async[_0x113d31(0x192)](_0x2bcd96=!0x1){const _0x32a9bf=_0x113d31;_0x2bcd96?this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x1cb)]):this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]());const _0x32a358=await this[_0x32a9bf(0x181)][_0x32a9bf(0x1c3)](this[_0x32a9bf(0x160)]),_0x5e5d23=this[_0x32a9bf(0x180)];_0x2bcd96?(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x20b)]),this[_0x32a9bf(0x153)]['setTotalArrayFormulasToCalculate'](_0x32a358[_0x32a9bf(0x1b3)])):(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x169)]),this[_0x32a9bf(0x153)]['setTotalFormulasToCalculate'](_0x32a358['length'])),this[_0x32a9bf(0x142)][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]());let _0x1c0f08=[];const _0x2fa708=this[_0x32a9bf(0x1bd)][_0x32a9bf(0x1b6)](_0x1fe111),_0x57f301=(_0x2fa708==null?void 0x0:_0x2fa708[_0x32a9bf(0x193)])||_0x3353e2;let _0x45817b=0x0;const _0x6fbb8e=_0x32a358[_0x32a9bf(0x1b3)];for(;_0x32a358['length']>0x0;){const _0x43bfd3=_0x32a358[_0x32a9bf(0x1f3)](),_0x1dd1a8=_0x466c27(_0x43bfd3['unitId'],_0x43bfd3[_0x32a9bf(0x1aa)],this[_0x32a9bf(0x1fe)],this[_0x32a9bf(0x1fa)],this[_0x32a9bf(0x1e8)]),_0x3b8665={'node':_0x1dd1a8,'refOffsetX':_0x43bfd3['refOffsetX'],'refOffsetY':_0x43bfd3['refOffsetY']},_0xecf94f=_0x43bfd3[_0x32a9bf(0x202)];if(_0x45817b%_0x57f301===0x0&&(await new Promise(_0x4761fe=>{const _0x216b24=_0x32a9bf,_0x5f2df5=_0x272062(_0x4761fe);_0x1c0f08[_0x216b24(0x204)](_0x5f2df5);}),_0x2bcd96?(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x15a)]),this[_0x32a9bf(0x153)]['setCompletedArrayFormulasCount'](_0x45817b+0x1)):(this['_runtimeService'][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x190)]),this[_0x32a9bf(0x153)]['setCompletedFormulasCount'](_0x45817b+0x1)),this[_0x32a9bf(0x142)]['next'](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]()),this['_runtimeService'][_0x32a9bf(0x183)]()||_0x3b8665==null&&_0xecf94f==null)){this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x1a4)]),this[_0x32a9bf(0x153)][_0x32a9bf(0x1a7)](),this[_0x32a9bf(0x18b)][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)]['getAllRuntimeData']());return;}this[_0x32a9bf(0x153)][_0x32a9bf(0x13d)](_0x43bfd3['row'],_0x43bfd3[_0x32a9bf(0x1c7)],_0x43bfd3[_0x32a9bf(0x151)],_0x43bfd3[_0x32a9bf(0x134)],_0x43bfd3[_0x32a9bf(0x174)],_0x43bfd3[_0x32a9bf(0x13e)]);let _0x440f7f;if(_0xecf94f!=null&&_0x43bfd3[_0x32a9bf(0x14e)]!=null){const {runtimeCellData:_0x3cc8ea,dirtyRanges:_0x1e76ae}=_0xecf94f(this[_0x32a9bf(0x1e8)][_0x32a9bf(0x202)](),this[_0x32a9bf(0x153)]['getAllRuntimeData']());this['_runtimeService'][_0x32a9bf(0x206)](_0x43bfd3[_0x32a9bf(0x14e)],_0x3cc8ea),this[_0x32a9bf(0x153)][_0x32a9bf(0x185)](_0x43bfd3['featureId'],_0x1e76ae);}else _0x3b8665!=null&&(_0x5e5d23['checkAsyncNode'](_0x3b8665['node'])?_0x440f7f=await _0x5e5d23[_0x32a9bf(0x1ba)](_0x3b8665):_0x440f7f=_0x5e5d23[_0x32a9bf(0x1e7)](_0x3b8665),_0x43bfd3[_0x32a9bf(0x165)]!=null?this[_0x32a9bf(0x153)]['setRuntimeOtherData'](_0x43bfd3['formulaId'],_0x43bfd3[_0x32a9bf(0x1bf)],_0x43bfd3[_0x32a9bf(0x1e4)],_0x440f7f):this[_0x32a9bf(0x153)][_0x32a9bf(0x15b)](_0x440f7f));_0x1dd1a8[_0x32a9bf(0x1d1)](),_0x45817b++;}return _0x1c0f08['forEach'](_0x16e407=>_0x16e407()),_0x1c0f08=[],_0x6fbb8e>0x0?this['_runtimeService'][_0x32a9bf(0x199)]():_0x2bcd96||this[_0x32a9bf(0x153)]['markedAsNoFunctionsExecuted'](),this[_0x32a9bf(0x153)][_0x32a9bf(0x1ac)]();}}class Re extends _0x1415ec{constructor(){const _0x328b6f=_0x113d31;super(...arguments),D(this,_0x328b6f(0x1e5),new Map()),D(this,'_dependencyRTreeCache',new _0x344137(!0x0));}[_0x113d31(0x1ca)](){const _0x3140c2=_0x113d31;this[_0x3140c2(0x1cc)][_0x3140c2(0x18a)](),this[_0x3140c2(0x154)][_0x3140c2(0x18a)](),this['_formulaData'][_0x3140c2(0x18a)](),this['_dependencyRTreeCache']['clear'](),this[_0x3140c2(0x1e5)][_0x3140c2(0x18a)](),this[_0x3140c2(0x171)](),this[_0x3140c2(0x13f)][_0x3140c2(0x18a)]();}['addOtherFormulaDependency'](_0x1ff2e8,_0x4df862,_0x4970ac,_0x3f5470){const _0x503ec2=_0x113d31;this[_0x503ec2(0x1cc)][_0x503ec2(0x1be)](_0x1ff2e8)||this[_0x503ec2(0x1cc)][_0x503ec2(0x1fc)](_0x1ff2e8,new Map());const _0x25b679=this['_otherFormulaData'][_0x503ec2(0x1ab)](_0x1ff2e8);_0x25b679[_0x503ec2(0x1be)](_0x4df862)||_0x25b679['set'](_0x4df862,new Map());const _0x222756=_0x25b679['get'](_0x4df862);_0x222756[_0x503ec2(0x1be)](_0x4970ac)||_0x222756[_0x503ec2(0x1fc)](_0x4970ac,new _0xf3817d()),_0x222756[_0x503ec2(0x1ab)](_0x4970ac)[_0x503ec2(0x139)](_0x3f5470['refOffsetX'],_0x3f5470[_0x503ec2(0x1e4)],_0x3f5470['treeId']);}['removeOtherFormulaDependency'](_0x44eb65,_0x25b9e9,_0x3c2ff8){const _0x19088a=_0x113d31,_0x2bdfd5=this['_otherFormulaData'][_0x19088a(0x1ab)](_0x44eb65);if(_0x2bdfd5&&_0x2bdfd5['has'](_0x25b9e9)){const _0x455979=_0x2bdfd5[_0x19088a(0x1ab)](_0x25b9e9);_0x3c2ff8[_0x19088a(0x19f)](_0x1b13ea=>{const _0xb0b8d1=_0x19088a,_0x13b8cd=_0x455979[_0xb0b8d1(0x1ab)](_0x1b13ea);_0x13b8cd!=null&&(_0x13b8cd['forValue']((_0x3707a7,_0x556f0a,_0x1bc74d)=>{const _0x19439b=_0xb0b8d1;this[_0x19439b(0x179)](_0x1bc74d),this[_0x19439b(0x1d3)](_0x1bc74d);}),_0x455979[_0xb0b8d1(0x20a)](_0x1b13ea),this[_0xb0b8d1(0x13f)]['delete'](_0x1b13ea));}),_0x455979[_0x19088a(0x1b9)]===0x0&&_0x2bdfd5[_0x19088a(0x20a)](_0x25b9e9),_0x2bdfd5[_0x19088a(0x1b9)]===0x0&&this['_otherFormulaData'][_0x19088a(0x20a)](_0x44eb65);}}[_0x113d31(0x196)](_0x1a7921,_0x4e1fa0){const _0x53a10c=_0x113d31,_0x56ac68=this[_0x53a10c(0x1cc)][_0x53a10c(0x1ab)](_0x1a7921);if(_0x4e1fa0&&_0x56ac68&&_0x56ac68[_0x53a10c(0x1be)](_0x4e1fa0)){const _0xfccb9=_0x56ac68['get'](_0x4e1fa0);this[_0x53a10c(0x1e9)](_0x1a7921,_0x4e1fa0);for(const _0x3e32f6 of _0xfccb9[_0x53a10c(0x137)]()){const _0x3c977e=_0xfccb9[_0x53a10c(0x1ab)](_0x3e32f6);_0x3c977e!=null&&(_0x3c977e['forValue']((_0x45808f,_0x1c4b10,_0x5c4e03)=>{const _0x3e3d32=_0x53a10c;this[_0x3e3d32(0x1e5)][_0x3e3d32(0x1ab)](_0x5c4e03)&&this[_0x3e3d32(0x1d3)](_0x5c4e03);}),this[_0x53a10c(0x13f)][_0x53a10c(0x20a)](_0x3e32f6));}_0xfccb9[_0x53a10c(0x18a)]();}else{if(_0x56ac68){for(const _0x4243b0 of _0x56ac68[_0x53a10c(0x137)]()){const _0x427eea=_0x56ac68['get'](_0x4243b0);this['_removeDependencyRTreeCacheById'](_0x1a7921,_0x4243b0);for(const _0x2272a9 of _0x427eea['keys']()){const _0x4a59ab=_0x427eea[_0x53a10c(0x1ab)](_0x2272a9);_0x4a59ab!=null&&(_0x4a59ab[_0x53a10c(0x164)]((_0x51246f,_0xeb931d,_0x3c8f1d)=>{const _0x5083f3=_0x53a10c;this['_allTreeMap'][_0x5083f3(0x1ab)](_0x3c8f1d)&&this['_removeAllTreeMap'](_0x3c8f1d);}),this[_0x53a10c(0x13f)]['delete'](_0x2272a9));}}this[_0x53a10c(0x1cc)][_0x53a10c(0x20a)](_0x1a7921);}}}[_0x113d31(0x1ea)](_0x30fb21,_0x36f545,_0x101954,_0x75e328){const _0x27f462=_0x113d31;this['_featureFormulaData']['has'](_0x30fb21)||this[_0x27f462(0x154)][_0x27f462(0x1fc)](_0x30fb21,new Map());const _0x1c90c6=this['_featureFormulaData'][_0x27f462(0x1ab)](_0x30fb21);_0x1c90c6[_0x27f462(0x1be)](_0x36f545)||_0x1c90c6['set'](_0x36f545,new Map()),_0x1c90c6[_0x27f462(0x1ab)](_0x36f545)[_0x27f462(0x1fc)](_0x101954,_0x75e328[_0x27f462(0x191)]);}[_0x113d31(0x144)](_0x1500bc,_0x3bd25f,_0x34d625){const _0x169f78=_0x113d31,_0x335a70=this[_0x169f78(0x154)][_0x169f78(0x1ab)](_0x1500bc);if(_0x335a70&&_0x335a70[_0x169f78(0x1be)](_0x3bd25f)){const _0x3e14a7=_0x335a70[_0x169f78(0x1ab)](_0x3bd25f);_0x34d625[_0x169f78(0x19f)](_0x1aaec1=>{const _0x4d58e5=_0x169f78,_0x58e200=_0x3e14a7['get'](_0x1aaec1);_0x58e200!=null&&(this[_0x4d58e5(0x179)](_0x58e200),_0x3e14a7[_0x4d58e5(0x20a)](_0x1aaec1),this[_0x4d58e5(0x1d3)](_0x58e200));});}}[_0x113d31(0x141)](_0x4ad31a,_0x116697){const _0x1f075e=_0x113d31,_0x5107b=this['_featureFormulaData'][_0x1f075e(0x1ab)](_0x4ad31a);if(_0x116697&&_0x5107b&&_0x5107b['has'](_0x116697)){const _0x39f173=_0x5107b[_0x1f075e(0x1ab)](_0x116697);this[_0x1f075e(0x1e9)](_0x4ad31a,_0x116697),_0x39f173[_0x1f075e(0x19f)](_0x53a892=>{const _0x5e5767=_0x1f075e;_0x53a892!=null&&this[_0x5e5767(0x1d3)](_0x53a892);}),_0x39f173[_0x1f075e(0x18a)]();}else _0x5107b&&(_0x5107b[_0x1f075e(0x19f)]((_0x399b82,_0x323816)=>{this['_removeDependencyRTreeCacheById'](_0x4ad31a,_0x323816),_0x399b82['forEach'](_0x3ea0ea=>{const _0x21d40a=_0xb1d8;_0x3ea0ea!=null&&this[_0x21d40a(0x1d3)](_0x3ea0ea);});}),this[_0x1f075e(0x154)][_0x1f075e(0x20a)](_0x4ad31a));}[_0x113d31(0x15f)](_0x276a3f,_0x1a67d0,_0x1cd82c,_0x32f212,_0x3f7542){const _0xd51832=_0x113d31;this[_0xd51832(0x1f5)][_0xd51832(0x1be)](_0x276a3f)||this['_formulaData']['set'](_0x276a3f,new Map());const _0x2ade61=this[_0xd51832(0x1f5)]['get'](_0x276a3f);_0x2ade61[_0xd51832(0x1be)](_0x1a67d0)||_0x2ade61[_0xd51832(0x1fc)](_0x1a67d0,new _0xf3817d()),_0x2ade61[_0xd51832(0x1ab)](_0x1a67d0)[_0xd51832(0x139)](_0x1cd82c,_0x32f212,_0x3f7542[_0xd51832(0x191)]);}[_0x113d31(0x1ad)](_0x313d9b,_0x40b661,_0xaf5105,_0x964eb1){const _0x24f16d=_0x113d31,_0x367283=this[_0x24f16d(0x1f5)]['get'](_0x313d9b);if(_0x367283&&_0x367283[_0x24f16d(0x1be)](_0x40b661)){const _0xb82d87=_0x367283[_0x24f16d(0x1ab)](_0x40b661),_0x5cd216=_0xb82d87['getValue'](_0xaf5105,_0x964eb1);if(_0x5cd216==null)return;this['_removeDependencyRTreeCache'](_0x5cd216),_0xb82d87['realDeleteValue'](_0xaf5105,_0x964eb1),this[_0x24f16d(0x1d3)](_0x5cd216);}}[_0x113d31(0x1de)](_0x10bc2f,_0x1eb69f){const _0x48f10f=_0x113d31,_0x48f5d7=this[_0x48f10f(0x1f5)]['get'](_0x10bc2f);if(_0x1eb69f&&_0x48f5d7&&_0x48f5d7[_0x48f10f(0x1be)](_0x1eb69f)){const _0x1da16f=_0x48f5d7[_0x48f10f(0x1ab)](_0x1eb69f);this[_0x48f10f(0x1e9)](_0x10bc2f,_0x1eb69f),_0x1da16f['forValue']((_0x48f96f,_0x2a77a0,_0x2c608d)=>{if(_0x2c608d==null)return!0x0;this['_removeAllTreeMap'](_0x2c608d);}),_0x1da16f[_0x48f10f(0x1ca)]();}else _0x48f5d7&&(_0x48f5d7[_0x48f10f(0x19f)]((_0x5ddb66,_0x27afab)=>{const _0xb20325=_0x48f10f;this[_0xb20325(0x1e9)](_0x10bc2f,_0x27afab),_0x5ddb66['forValue']((_0x18857d,_0xf1a4c3,_0x4afbfb)=>{const _0x269fd3=_0xb20325;if(_0x4afbfb==null)return!0x0;this[_0x269fd3(0x1d3)](_0x4afbfb);});}),this[_0x48f10f(0x1f5)][_0x48f10f(0x20a)](_0x10bc2f));}[_0x113d31(0x179)](_0x434c71){const _0x179833=_0x113d31;if(_0x434c71==null)return;const _0x26a4b2=this[_0x179833(0x1e5)][_0x179833(0x1ab)](_0x434c71);if(_0x26a4b2){const _0x148de3=[];for(const [_0x25ac98,_0x90bf38]of _0x26a4b2)for(const [_0x2ca765,_0x4aa493]of _0x90bf38)_0x148de3['push']({'unitId':_0x25ac98,'sheetId':_0x2ca765,'range':_0x4aa493,'id':_0x434c71});this['_dependencyRTreeCache'][_0x179833(0x18f)](_0x148de3);}}[_0x113d31(0x17d)](_0x50b06c,_0x37b7b3){const _0x27abf7=_0x113d31,_0x4c223e=this[_0x27abf7(0x176)][_0x27abf7(0x1ab)](_0x50b06c);if(_0x4c223e){const _0x4cd418=_0x4c223e[_0x27abf7(0x1ab)](_0x37b7b3);if(_0x4cd418){for(const _0x5a1b66 of _0x4cd418)this[_0x27abf7(0x179)](_0x5a1b66),this[_0x27abf7(0x1d3)](_0x5a1b66);_0x4cd418[_0x27abf7(0x18a)]();}}}[_0x113d31(0x200)](){const _0x37c15a=_0x113d31;this[_0x37c15a(0x187)][_0x37c15a(0x200)]();}[_0x113d31(0x178)](){const _0x3c3001=_0x113d31;this[_0x3c3001(0x187)][_0x3c3001(0x178)]();}[_0x113d31(0x1d3)](_0x582684){const _0x2ddb49=_0x113d31;_0x582684!=null&&this[_0x2ddb49(0x1e5)][_0x2ddb49(0x20a)](_0x582684);}[_0x113d31(0x177)](_0x2c5dc6){const _0x19fca9=_0x113d31;var _0x41f1d9,_0x3512c8;const _0x4313af=_0x2c5dc6['rangeList'];let _0x4dfa64=this[_0x19fca9(0x1e5)][_0x19fca9(0x1ab)](_0x2c5dc6[_0x19fca9(0x191)]);for(let _0x3b8959=0x0;_0x3b8959<_0x4313af[_0x19fca9(0x1b3)];_0x3b8959++){const _0x420cb8=_0x4313af[_0x3b8959];let {unitId:_0x2dd6b4,sheetId:_0xbea7eb,range:_0x5bd40f}=_0x420cb8;_0x4dfa64||(_0x4dfa64=new Map(),this[_0x19fca9(0x1e5)][_0x19fca9(0x1fc)](_0x2c5dc6[_0x19fca9(0x191)],_0x4dfa64)),_0x4dfa64[_0x19fca9(0x1be)](_0x2dd6b4)||_0x4dfa64[_0x19fca9(0x1fc)](_0x2dd6b4,new Map());const _0x11b786=(_0x41f1d9=_0x4dfa64==null?void 0x0:_0x4dfa64['get'](_0x2dd6b4))==null?void 0x0:_0x41f1d9[_0x19fca9(0x1ab)](_0xbea7eb);_0x11b786&&(_0x5bd40f={'startRow':Math[_0x19fca9(0x19e)](_0x5bd40f['startRow'],_0x11b786[_0x19fca9(0x194)]),'startColumn':Math[_0x19fca9(0x19e)](_0x5bd40f[_0x19fca9(0x1f4)],_0x11b786[_0x19fca9(0x1f4)]),'endRow':Math['max'](_0x5bd40f[_0x19fca9(0x1d4)],_0x11b786[_0x19fca9(0x1d4)]),'endColumn':Math[_0x19fca9(0x1ed)](_0x5bd40f[_0x19fca9(0x1a6)],_0x11b786[_0x19fca9(0x1a6)])}),(_0x3512c8=_0x4dfa64[_0x19fca9(0x1ab)](_0x2dd6b4))==null||_0x3512c8[_0x19fca9(0x1fc)](_0xbea7eb,_0x5bd40f);}}}var we=Object[_0x113d31(0x198)],Ne=(_0x519ffe,_0x5dce45,_0xda297a,_0x36785a)=>{const _0x53afa0=_0x113d31;for(var _0x3c9c0c=_0x36785a>0x1?void 0x0:_0x36785a?we(_0x5dce45,_0xda297a):_0x5dce45,_0x3bcd5d=_0x519ffe[_0x53afa0(0x1b3)]-0x1,_0x2e952a;_0x3bcd5d>=0x0;_0x3bcd5d--)(_0x2e952a=_0x519ffe[_0x3bcd5d])&&(_0x3c9c0c=_0x2e952a(_0x3c9c0c)||_0x3c9c0c);return _0x3c9c0c;};const Ae=Number[_0x113d31(0x1dc)](0x69621bb5);let H=class extends _0x28db59{[_0x113d31(0x1ff)](){const _0x53d28c=_0x113d31;var _0x3c0bbf,_0xa63b69;this['_initLicenseValid']()?(this['_injector']['add']([_0x53bbbb,{'useClass':ve}]),(_0x3c0bbf=this[_0x53d28c(0x1eb)])!=null&&_0x3c0bbf[_0x53d28c(0x1f2)]||[[_0x4ebb49,{'useClass':Ee}],[_0x138ab0,{'useClass':Re}],[_0x51668a,{'useClass':xe}]]['forEach'](_0x20ddcc=>this[_0x53d28c(0x186)]['add'](_0x20ddcc))):(this[_0x53d28c(0x186)][_0x53d28c(0x1f1)]([_0x53bbbb,{'useClass':_0x53bbbb}]),(_0xa63b69=this[_0x53d28c(0x1eb)])!=null&&_0xa63b69[_0x53d28c(0x1f2)]||[[_0x4ebb49,{'useClass':_0x3beda0}],[_0x138ab0,{'useClass':_0x2a0934}],[_0x51668a,{'useClass':_0x475a2e}]]['forEach'](_0x2e6f18=>this[_0x53d28c(0x186)][_0x53d28c(0x1f1)](_0x2e6f18)));}['_initLicenseValid'](){const _0x37547a=_0x113d31;var _0x72a58;const _0x5e88c7=(_0x72a58=this[_0x37547a(0x1bd)]['getConfig'](_0x7015f))!=null?_0x72a58:{},{ls:_0x26033c,pbk:_0x270dbb}=_0x5e88c7;if(!_0x26033c||!_0x270dbb)return!0x1;const _0x462084=_0x390cea(Se,Me),_0x5b8667=new Function('return\x20'+_0x462084)()(_0x26033c,_0x270dbb),_0x33bb41=_0x5b8667['message'];return _0x5b8667[_0x37547a(0x188)]&&_0x1acbf2(_0x33bb41,'sf',Ae)?_0xa231df(_0x33bb41,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x4b3f(){const _0x235a19=['_lexer','_initializeWithOverride','openKdTree','_calculateRunList','getDirtyData','_endFormulaDependencyTreeModel','push','_generateExprTree','setRuntimeFeatureCellData','getNewFormulaWithPrefix','toUpperCase','type','delete','START_CALCULATION_ARRAY_FORMULA','_getDependencyTreeChildrenIds','columnCount','_getFirstCellOfRange','isAdded','keys','dispose','setValue','getFormulaExprTree','_otherFormulaManagerService','isVirtual','setCurrent','unitId','_otherFormulaDataMainData','endsWith','clearFeatureFormulaDependency','_executionInProgressListener$','_getCurNodeTypeForExprTree','removeFeatureFormulaDependency','_initializeGenerateTreeList','hasOtherFormulaDataMainData','28380zFeOlS','10xXNslW','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_isCyclicUtilMap','isArray','isForceCalculate','Let\x20variable\x20name\x20\x22','featureId','_checkColonNodeForExprTree','getFeatureFormulaDependency','rowCount','_dependencyManagerService','_runtimeService','_featureFormulaData','16899noLduo','_hasNewExcelFunction','_xlfnPrefix','_getTableNameFromStructuredRef','_checkAddBracketForMinus','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeData','_xlpm.','COLON','join','addFormulaDependency','_isCalculateTreeModel','_clearPrefix','_registerOtherFormulas','error','forValue','formulaId','PLUS','getFormulaData','getExcludedRange','START_CALCULATION','_getUpdateTreeListAndMakeDependency','getToken','299576TtxDTp','getUnitData','startIndex','358659ZBLldI','_xlpmPrefix','_restDependencyTreeId','defineProperty','_convertDirtyRangesToUnitRange','subUnitId','Lambda\x20parameter\x20name\x20\x22','_definedNameMap','_addAllTreeMap','closeKdTree','_removeDependencyRTreeCache','refTree','/*\x20C2VTOt-uT2zQVC\x20bWCwCW-tCabVztC\x20*/wPOJtT3O\x20uCJWybtT3O(VTJCO2C,\x20bPQVTJcCy)\x20{\x20\x20\x20\x20tWy\x20{\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20VTJCO2CfOw3izWthWWzy\x20=\x20VTJCO2C.2bVTt(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x203WTkTO9C22zkC\x20=\x20mR4Y.bzW2C(zt3Q(VTJCO2CfOw3izWthWWzy[Z]));\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(!3WTkTO9C22zkC.Pu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203WTkTO9C22zkC.Pu\x20=\x20YPaQCW(VTJCO2CfOw3izWthWWzy[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T2E3WrCW\x20=\x20tybC3w\x20E3WrCWvV3QzVRJ3bC\x20!==\x20\x27POuCwTOCu\x27\x20&&\x202CVw\x20TO2tzOJC3w\x20E3WrCWvV3QzVRJ3bC;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T28W3D2CW\x20=\x20tybC3w\x20DTOu3D\x20!==\x20\x27POuCwTOCu\x27\x20&&\x20tybC3w\x20DTOu3D.V3JztT3O\x20!==\x20\x27POuCwTOCu\x27;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20J3OtCjt\x20=\x20T2E3WrCW\x20?\x202CVw\x20:\x20(T28W3D2CW\x20?\x20DTOu3D\x20:\x20kV3QzVUGT2);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[Z]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(aC22zkCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[H]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(2TkOztPWCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOdzVTu\x20=\x20J3OtCjt.__1CWTwy__(2TkOztPWC,\x20aC22zkC,\x20bPQVTJcCy);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20u3azTO\x20=\x203WTkTO9C22zkC.ua;\x20\x20\x20\x20\x20\x20\x20\x20wPOJtT3O\x20T2q3azTO9ztJGTOk(bzttCWO,\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO\x20===\x20G32t)\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO.2tzWt2ETtG(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202PwwTj\x20=\x20bzttCWO.2VTJC(Z);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x202PwwTj\x20===\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\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\x20Tw\x20(2PwwTj\x20&&\x20!G32t.2tzWt2ETtG(\x27.\x27)\x20&&\x20G32t.COu2ETtG(\x27.\x27\x20+\x202PwwTj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\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\x20WCtPWO\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VCt\x20u3azTOdzVTu\x20=\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(T28W3D2CW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20(u3azTO\x20&&\x20u3azTO.VCOktG)\x20?\x20u3azTO.23aC((uaftCa)\x20=>\x20T2q3azTO9ztJGTOk(uaftCa,\x20V3JztT3O.G32tOzaC))\x20:\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(V3JztT3O.G32tOzaC\x20===\x20\x27V3JzVG32t\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20CV2C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x201zVTu\x20=\x202TkOdzVTu\x20&&\x20u3azTOdzVTu;\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x203WTkTO9C22zkC,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20JztJG\x20(CWW3W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu:\x20wzV2C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','enableCycleDependency','removeFormulaDependencyByDefinedName','_getAllTreeList','string','_interpreter','_formulaDependencyGenerator','_xlfn.','isStopExecution','addFormulaDependencyByDefinedName','setRuntimeFeatureRange','_injector','_dependencyRTreeCache','valid','getFormulaDependency','clear','_executionCompleteListener$','getOtherFormulaDependency','5844ENkLHw','_formulaDependencyTreeModel','bulkRemove','CURRENTLY_CALCULATING','treeId','_apply','intervalCount','startRow','_updateRangeFlatten','clearOtherFormulaDependency','_dependencyTreeCache','getOwnPropertyDescriptor','markedAsSuccessfullyExecuted','sheetId','_lambdaFunctionParameterSet','trim','next','min','forEach','24BzJSLF','_registerFormulas','setDependencyTreeModelData','\x22\x20is\x20duplicated.','IDLE','_handleLambdaForExprTree','endColumn','markedAsStopFunctionsExecuted','startsWith','_traverse','formula','get','getAllRuntimeData','removeFormulaDependency','children','_checkIsCycleDependency','getClearDependencyTreeCache','values','1685630qgNQkC','length','setAdded','510872AlbCKp','getConfig','_handleNewFunctionChild','_getDependencyTreeParenIds','size','executeAsync','_handleTextNodeForExprTree','inRangeData','_configService','has','refOffsetX','isCache','row','FEATURE_FORMULA','generate','treeBuilder','OTHER_FORMULA','setSkip','column','_generateNewFunctionString','_dependencyRTreeCacheForAddressFunction','reset','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaData','_currentUnitId','value','rangeList','addOtherFormulaDependencyMainData','resetCalculationState','getValue','_removeAllTreeMap','endRow','setFormulaExecuteStage','getRuntimeState','from','bulkSearch','_resetPrefix','searchDependency','_getFeatureFormulaTree','parseInt','getStartIndex','clearFormulaDependency','_getTreeNode','getDirtyNameMap','toRTreeItem','MINUS','isDirty','refOffsetY','_allTreeMap','_createFDtree','execute','_currentConfigService','_removeDependencyRTreeCacheById','addFeatureFormulaDependency','_config','_startFormulaDependencyTreeModel','max','slice','868ufqeVX','_getTreeById','add','notExecuteFormula','pop','startColumn','_formulaData','getChildren','getOtherFormulaData','addOtherFormulaDependency','_handleChildrenForExprTree','_astTreeBuilder','isSkip','set','_clearFunctionString'];_0x4b3f=function(){return _0x235a19;};return _0x4b3f();}H=Ne([_0x50cda5(_0x4cf21)],H);export{ve as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
1
+ const _0x18dbfa=_0x8bf7;(function(_0x1fe176,_0x9fbca9){const _0x4b1859=_0x8bf7,_0x3a60b3=_0x1fe176();while(!![]){try{const _0x56a8a3=parseInt(_0x4b1859(0xef))/0x1*(parseInt(_0x4b1859(0xa9))/0x2)+-parseInt(_0x4b1859(0xcc))/0x3+-parseInt(_0x4b1859(0x129))/0x4+parseInt(_0x4b1859(0xfd))/0x5*(-parseInt(_0x4b1859(0x76))/0x6)+-parseInt(_0x4b1859(0x8f))/0x7*(parseInt(_0x4b1859(0x132))/0x8)+-parseInt(_0x4b1859(0xf0))/0x9+parseInt(_0x4b1859(0x133))/0xa*(parseInt(_0x4b1859(0xf7))/0xb);if(_0x56a8a3===_0x9fbca9)break;else _0x3a60b3['push'](_0x3a60b3['shift']());}catch(_0x51243d){_0x3a60b3['push'](_0x3a60b3['shift']());}}}(_0x2113,0x8a888));function _0x2113(){const _0x27ee6e=['getToken','_getDependencyTreeChildrenIds','removeFormulaDependency','values','_updateRangeFlatten','_convertDirtyRangesToUnitRange','parseInt','getFormulaData','_generateExprTree','isArray','_endFormulaDependencyTreeModel','setRuntimeData','featureId','78SLmafA','_addAllTreeMap','clearOtherFormulaDependency','_getDependencyTreeParenIds','_getAllTreeList','inRangeData','message','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','MINUS','setCurrent','delete','toUpperCase','_removeDependencyRTreeCacheById','isDirty','string','setRuntimeFeatureRange','_generateNewFunctionString','featureDirtyRanges','dirtyRanges','execute','_restDependencyTreeId','COLON','_removeDependencyRTreeCache','dispose','7suEaTn','Let\x20variable\x20name\x20\x22','enableCycleDependency','addOtherFormulaDependency','formula','bulkSearch','_startFormulaDependencyTreeModel','add','treeId','_initLicenseValid','_allTreeMap','markedAsSuccessfullyExecuted','getClearDependencyTreeCache','startRow','_getTreeNode','getAllRuntimeData','column','_hasNewExcelFunction','_handleLambdaForExprTree','_definedNameMap','_dependencyRTreeCacheForAddressFunction','_currentUnitId','min','_otherFormulaManagerService','length','isVirtual','1538dBhfDw','_getTableNameFromStructuredRef','error','addFeatureFormulaDependency','pop','_interpreter','startColumn','_handleChildrenForExprTree','_dependencyTreeCache','subUnitId','setFormulaExecuteStage','_removeAllTreeMap','FEATURE_FORMULA','setTotalFormulasToCalculate','CURRENTLY_CALCULATING_ARRAY_FORMULA','symbol','resetCalculationState','getRuntimeState','_config','set','columnCount','keys','getConfig','_handleNewFunctionChild','_clearFunctionString','isCache','_registerFormulas','_checkColonNodeForExprTree','_resetPrefix','bulkRemove','defineProperty','closeKdTree','return\x20','_initializeGenerateTreeList','removeOtherFormulaDependency','2779098fcyoqS','get','/*\x20d9SjcW-2j913Sd\x20FOdKdO-WdvFS1Wd\x20*/KtceWj6c\x202deObFWj6c(Sjedc9d,\x20Ft3Sjeodb)\x20{\x20\x20\x20\x20WOb\x20{\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20Sjedc9dacK6N1OWUOO1b\x20=\x20Sjedc9d.9FSjW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x206OjxjcDd991xd\x20=\x20uiJB.F1O9d(1W63(Sjedc9dacK6N1OWUOO1b[M]));\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(!6OjxjcDd991xd.t2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206OjxjcDd991xd.t2\x20=\x20Btv3dO(Sjedc9dacK6N1OWUOO1b[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9R6OXdO\x20=\x20WbFd6K\x20R6OXdOlS631Sie6Fd\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x209dSK\x20jc9W1ced6K\x20R6OXdOlS631Sie6Fd;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20j9AO6H9dO\x20=\x20WbFd6K\x20Hjc26H\x20!==\x20\x27tc2dKjcd2\x27\x20&&\x20WbFd6K\x20Hjc26H.S6e1Wj6c\x20!==\x20\x27tc2dKjcd2\x27;\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20e6cWdIW\x20=\x20j9R6OXdO\x20?\x209dSK\x20:\x20(j9AO6H9dO\x20?\x20Hjc26H\x20:\x20xS631SfYj9);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[M]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20vd991xd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(vd991xdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOdR6O2\x20=\x20e6cWdIW.__A19dqk__.F1O9d(Sjedc9dacK6N1OWUOO1b[Z]);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxc1WtOd\x20=\x20e6cWdIW.__GdI__.9WOjcxjKb(9jxc1WtOdR6O2);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209jxcs1Sj2\x20=\x20e6cWdIW.__ndOjKb__(9jxc1WtOd,\x20vd991xd,\x20Ft3Sjeodb);\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x2026v1jc\x20=\x206OjxjcDd991xd.2v;\x20\x20\x20\x20\x20\x20\x20\x20KtceWj6c\x20j9E6v1jcD1WeYjcx(F1WWdOc,\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc\x20===\x20Y69W)\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(F1WWdOc.9W1OW9RjWY(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x209tKKjI\x20=\x20F1WWdOc.9Sjed(M);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x209tKKjI\x20===\x20Y69W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(9tKKjI\x20&&\x20!Y69W.9W1OW9RjWY(\x27.\x27)\x20&&\x20Y69W.dc29RjWY(\x27.\x27\x20+\x209tKKjI))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SdW\x2026v1jcs1Sj2\x20=\x20K1S9d;\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(j9AO6H9dO)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20(26v1jc\x20&&\x2026v1jc.SdcxWY)\x20?\x2026v1jc.96vd((2vaWdv)\x20=>\x20j9E6v1jcD1WeYjcx(2vaWdv,\x20S6e1Wj6c.Y69Wc1vd))\x20:\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jK\x20(S6e1Wj6c.Y69Wc1vd\x20===\x20\x27S6e1SY69W\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20dS9d\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2026v1jcs1Sj2\x20=\x20WOtd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6c9W\x20n1Sj2\x20=\x209jxcs1Sj2\x20&&\x2026v1jcs1Sj2;\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x206OjxjcDd991xd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20e1WeY\x20(dOO6O)\x20{\x20\x20\x20\x20\x20\x20\x20\x20OdWtOc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20n1Sj2:\x20K1S9d,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vd991xd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','endsWith','_dependencyManagerService','forValue','isAdded','OTHER_FORMULA','row','forEach','_astTreeBuilder','\x22\x20is\x20duplicated.','START_DEPENDENCY_ARRAY_FORMULA','_lexer','_handleTextNodeForExprTree','value','has','rangeList','refTree','children','_xlfn.','_xlfnPrefix','_initializeWithOverride','from','setCompletedArrayFormulasCount','setAdded','getOtherFormulaDependency','refOffsetY','_dependencyRTreeCache','removeFormulaDependencyByDefinedName','_otherFormulaData','PLUS','_isCalculateTreeModel','join','_traverse','789qQZQEI','5259447YPlvxx','rowCount','searchDependency','clear','clearFormulaDependency','realDeleteValue','size','1163360jhqzhK','_createFDtree','max','getStartIndex','node','_injector','243010YcXAmv','push','addFormulaDependency','type','getDirtyData','slice','endColumn','_clearPrefix','reset','_calculateRunList','_getCurNodeTypeForExprTree','markedAsStopFunctionsExecuted','_generateTreeList','intervalCount','_registerOtherFormulas','getFormulaDependency','removeFeatureFormulaDependency','getChildren','treeBuilder','isSkip','getValue','addFormulaDependencyByDefinedName','_formulaData','setValue','_isCyclicUtilMap','trim','Lambda\x20parameter\x20name\x20\x22','_xlpmPrefix','_lambdaFunctionParameterSet','toRTreeItem','_xlpm.','executeAsync','openKdTree','_featureFormulaData','startsWith','clearFeatureFormulaDependency','next','getFeatureFormulaDependency','setSkip','_configService','_formulaDependencyGenerator','_currentConfigService','_executionInProgressListener$','getDirtyNameMap','1662524bQCWia','checkAsyncNode','setRuntimeOtherData','_createVirtualFDtree','dependencySheetName','startIndex','isForceCalculate','_runtimeService','refOffsetX','7769464tLLCgW','330aKGHFn','generate','_otherFormulaDataMainData','unitId','VALUE','endRow','IDLE','_checkAddBracketForMinus'];_0x2113=function(){return _0x27ee6e;};return _0x2113();}var se=Object[_0x18dbfa(0xc7)],ce=(_0x490549,_0x180e48,_0x13e19e)=>_0x180e48 in _0x490549?se(_0x490549,_0x180e48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13e19e}):_0x490549[_0x180e48]=_0x13e19e,D=(_0x89ae18,_0x478dd7,_0x1dc150)=>ce(_0x89ae18,typeof _0x478dd7!=_0x18dbfa(0xb8)?_0x478dd7+'':_0x478dd7,_0x1dc150);import{LexerTreeBuilder as _0x460023,ErrorType as _0x5b529c,DEFAULT_TOKEN_TYPE_ROOT as _0x49b93d,DEFAULT_TOKEN_TYPE_PARAMETER as _0x2c8439,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x2bb3b3,NEW_EXCEL_FUNCTIONS as _0x1490e7,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xfc1484,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x333de0,matchToken as _0x33b238,SUFFIX_TOKEN_SET as _0x4c3b82,prefixToken as _0x5d6f6b,LexerNode as _0x4815b2,OPERATOR_TOKEN_SET as _0x4e0ae2,isReferenceString as _0x34940f,splitTableStructuredRef as _0x2a0e56,FormulaDependencyGenerator as _0x2a5a00,generateRandomDependencyTreeId as _0x2207e6,FormulaDependencyTree as _0x5e9608,FormulaDependencyTreeType as _0x125eb2,FormulaDependencyTreeVirtual as _0x597f06,generateAstNode as _0xe9476,CalculateFormulaService as _0x25230b,FormulaExecuteStageType as _0x4fa2bb,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x43de81,DEFAULT_INTERVAL_COUNT as _0x4a93cd,DependencyManagerBaseService as _0xc04045,UniverFormulaEnginePlugin as _0x407152,ICalculateFormulaService as _0x1022bf,IDependencyManagerService as _0x4f2952,IFormulaDependencyGenerator as _0x3576ea,DependencyManagerService as _0x507f4e}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x28152f,LS_CONFIG_KEY as _0x153eb6,unshiftString as _0x8e4800,isFeatureAuthorizedWithinTime as _0x538494,getSheetFeatureLimit as _0x2d1d3e}from'@univerjs-pro/license';import{ObjectMatrix as _0x500a2f,requestImmediateMacroTask as _0x4e9755,RTree as _0x31f95a,DependentOn as _0x1e518e}from'@univerjs/core';class ve extends _0x460023{constructor(){const _0x511591=_0x18dbfa;super(...arguments),D(this,_0x511591(0xa0),!0x1),D(this,_0x511591(0x119),new Set()),D(this,_0x511591(0x118),_0x511591(0x11b)),D(this,_0x511591(0xe1),_0x511591(0xe0)),D(this,_0x511591(0xa4),'');}[_0x18dbfa(0xc5)](){const _0x5f4613=_0x18dbfa;this[_0x5f4613(0x118)]=_0x5f4613(0x11b),this['_xlfnPrefix']=_0x5f4613(0xe0);}[_0x18dbfa(0x104)](){const _0x4b5bc2=_0x18dbfa;this[_0x4b5bc2(0x118)]='',this[_0x4b5bc2(0xe1)]='';}['getNewFormulaWithPrefix'](_0x50b103,_0x3e3775){const _0xb78524=_0x18dbfa,_0x26618b=this[_0xb78524(0x10f)](_0x50b103,!0x1);if(!_0x26618b||_0x26618b===_0x5b529c['VALUE']||Array[_0xb78524(0x72)](_0x26618b))return null;const _0x3b6768=[];return this[_0xb78524(0xa0)]=!0x1,this[_0xb78524(0x87)](_0x26618b,_0x3b6768,_0x3e3775),this[_0xb78524(0xa0)]?'='+_0x3b6768[_0xb78524(0xed)](''):null;}[_0x18dbfa(0x87)](_0x5dceb1,_0x3574b5,_0x157f96){const _0x2dc75a=_0x18dbfa,_0x3402a1=_0x5dceb1['getToken'](),_0x365449=_0x3402a1[_0x2dc75a(0x116)](),_0x34d24f=_0x365449[_0x2dc75a(0x82)](),_0x43be97=this[_0x2dc75a(0xc1)](_0x34d24f),_0x228a9f=_0x157f96(_0x43be97);let _0x5c916d=0x0;_0x3402a1===_0x49b93d?_0x5c916d=0x3:_0x3402a1===_0x2c8439?_0x5c916d=0x4:_0x3402a1===_0x2bb3b3?_0x5c916d=0x5:_0x1490e7[_0x2dc75a(0xdc)](_0x43be97)?(_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0xe1)]+_0x365449),this[_0x2dc75a(0xa0)]=!0x0):_0x34d24f===_0xfc1484?(_0x3574b5[_0x2dc75a(0xfe)](''+this['_xlfnPrefix']+_0x365449),this['_hasNewExcelFunction']=!0x0,_0x5c916d=0x2):_0x34d24f===_0x333de0?(_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0xe1)]+_0x365449),this[_0x2dc75a(0xa0)]=!0x0,_0x5c916d=0x1):_0x34d24f===_0x33b238[_0x2dc75a(0x8c)]?_0x5c916d=0x8:_0x4c3b82[_0x2dc75a(0xdc)](_0x34d24f)?_0x5c916d=0x7:_0x34d24f===_0x5d6f6b[_0x2dc75a(0x7f)]?(this[_0x2dc75a(0x13a)](_0x5dceb1)&&(_0x5c916d=0x9),_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1)):(_0x3574b5['push'](_0x3402a1),_0x5c916d=0xa),_0x228a9f?(_0x5c916d!==0x2&&_0x5c916d!==0x1&&(_0x5c916d=0x6),_0x3574b5[_0x2dc75a(0xfe)]('(')):_0x5c916d===0x9&&_0x3574b5[_0x2dc75a(0xfe)]('(');const _0x57746c=_0x5dceb1[_0x2dc75a(0x10e)](),_0xb4ad0f=_0x57746c[_0x2dc75a(0xa7)];if(_0x5c916d===0x2){const _0x27b62b=_0x57746c[0x0];let _0x123d65=0x0;_0x27b62b instanceof _0x4815b2&&_0x27b62b[_0x2dc75a(0x13b)]()===_0x2bb3b3&&(_0x123d65=0x1);for(let _0x11258c=_0x123d65;_0x11258c<_0xb4ad0f-0x1;_0x11258c++){const _0x2f41c0=_0x57746c[_0x11258c];if(_0x2f41c0 instanceof _0x4815b2){const _0x236cbc=_0x2f41c0[_0x2dc75a(0x10e)]()[0x0];typeof _0x236cbc=='string'&&(this[_0x2dc75a(0x119)]['has'](_0x236cbc)&&console[_0x2dc75a(0xab)](_0x2dc75a(0x117)+_0x236cbc+_0x2dc75a(0xd7)),this[_0x2dc75a(0x119)]['add'](_0x236cbc),_0x3574b5[_0x2dc75a(0xfe)](''+this[_0x2dc75a(0x118)]+_0x236cbc),this[_0x2dc75a(0xa0)]=!0x0);}_0x3574b5[_0x2dc75a(0xfe)](',');}this[_0x2dc75a(0xc0)](_0x57746c[_0xb4ad0f-0x1],_0x3574b5,_0x157f96),_0x123d65===0x1&&(_0x3574b5[_0x2dc75a(0xfe)](')'),_0x3574b5[_0x2dc75a(0xfe)]('('),this[_0x2dc75a(0x87)](_0x27b62b,_0x3574b5,_0x157f96)),_0x3574b5[_0x2dc75a(0xfe)](')');return;}else{if(_0x5c916d===0x1){for(let _0x4602e2=0x0;_0x4602e2<_0xb4ad0f-0x1;_0x4602e2++){const _0x4019c8=_0x57746c[_0x4602e2];if(_0x4019c8 instanceof _0x4815b2&&_0x4602e2%0x2===0x0){const _0x1afc8c=_0x4019c8[_0x2dc75a(0x10e)]()[0x0];if(typeof _0x1afc8c==_0x2dc75a(0x85)){this['_lambdaFunctionParameterSet'][_0x2dc75a(0xdc)](_0x1afc8c)&&console[_0x2dc75a(0xab)](_0x2dc75a(0x90)+_0x1afc8c+_0x2dc75a(0xd7)),this['_lambdaFunctionParameterSet'][_0x2dc75a(0x96)](_0x1afc8c),_0x3574b5[_0x2dc75a(0xfe)](''+this['_xlpmPrefix']+_0x1afc8c),this['_hasNewExcelFunction']=!0x0,_0x3574b5[_0x2dc75a(0xfe)](',');continue;}}if(this[_0x2dc75a(0xc0)](_0x4019c8,_0x3574b5,_0x157f96),_0x4019c8 instanceof _0x4815b2){const _0xbcfeec=_0x57746c[_0x4602e2+0x1];_0xbcfeec&&_0xbcfeec instanceof _0x4815b2&&_0x3574b5[_0x2dc75a(0xfe)](',');}}this['_handleNewFunctionChild'](_0x57746c[_0xb4ad0f-0x1],_0x3574b5,_0x157f96),_0x3574b5['push'](')');return;}else{if(_0x5c916d===0x8){const _0xf82c9c=_0x57746c[0x0],_0x2bbe2b=_0x57746c[0x1];this[_0x2dc75a(0xc0)](_0xf82c9c,_0x3574b5,_0x157f96),_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1),this[_0x2dc75a(0xc0)](_0x2bbe2b,_0x3574b5,_0x157f96);return;}}}for(let _0x55bbc3=0x0;_0x55bbc3<_0xb4ad0f;_0x55bbc3++){const _0x15622b=_0x57746c[_0x55bbc3];if(this[_0x2dc75a(0xc0)](_0x15622b,_0x3574b5,_0x157f96),_0x15622b instanceof _0x4815b2){const _0x261297=_0x57746c[_0x55bbc3+0x1];_0x261297&&_0x261297 instanceof _0x4815b2&&_0x3574b5[_0x2dc75a(0xfe)](',');}}_0x5c916d===0x7&&_0x3574b5[_0x2dc75a(0xfe)](_0x3402a1),(_0x228a9f||_0x5c916d===0x9)&&_0x3574b5[_0x2dc75a(0xfe)](')');}[_0x18dbfa(0xc0)](_0x3fdbf3,_0x1d98fb,_0x46bc51){const _0x2f6740=_0x18dbfa;_0x3fdbf3 instanceof _0x4815b2?this[_0x2f6740(0x87)](_0x3fdbf3,_0x1d98fb,_0x46bc51):this[_0x2f6740(0x119)]['has'](_0x3fdbf3)?(_0x1d98fb[_0x2f6740(0xfe)](''+this[_0x2f6740(0x118)]+_0x3fdbf3),this['_hasNewExcelFunction']=!0x0):_0x1d98fb[_0x2f6740(0xfe)](_0x3fdbf3);}[_0x18dbfa(0xc1)](_0x23ff59){const _0x2d0327=_0x18dbfa;let _0x282402=_0x23ff59[_0x2d0327(0x116)]();if(!_0x282402)return _0x282402;const _0x2e7ce3=_0x282402[0x0];if((_0x2e7ce3===_0x5d6f6b['AT']||_0x2e7ce3===_0x5d6f6b['MINUS']||_0x2e7ce3===_0x5d6f6b[_0x2d0327(0xeb)])&&(_0x282402=_0x282402[_0x2d0327(0x102)](0x1)),!_0x282402)return _0x282402;const _0x95f0b8=_0x282402[_0x282402[_0x2d0327(0xa7)]-0x1];return _0x4c3b82[_0x2d0327(0xdc)](_0x95f0b8)&&(_0x282402=_0x282402[_0x2d0327(0x102)](0x0,-0x1)),_0x282402;}[_0x18dbfa(0x13a)](_0x360b15){const _0x1661ea=_0x18dbfa,_0x53ea56=_0x360b15[_0x1661ea(0x10e)]()[0x0];if(!_0x53ea56||!(_0x53ea56 instanceof _0x4815b2)||_0x360b15[_0x1661ea(0x10e)]()[_0x1661ea(0xa7)]>0x1)return!0x1;const _0x65817a=_0x53ea56[_0x1661ea(0x10e)](),_0x2bea61=_0x65817a[_0x1661ea(0xa7)];if(_0x2bea61===0x1)return!0x1;for(let _0xf5e39b=0x0;_0xf5e39b<_0x2bea61;_0xf5e39b++){const _0x165d17=_0x65817a[_0xf5e39b];if(!(_0x165d17 instanceof _0x4815b2)&&_0x4e0ae2[_0x1661ea(0xdc)](_0x165d17))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x197806,_0x477683,_0x58f3a9,_0x5c196a,_0x53d912){const _0x23e5e5=_0x18dbfa,_0x169cdc=this['treeBuilder'](_0x197806,!0x1);if(!_0x169cdc||_0x169cdc===_0x5b529c[_0x23e5e5(0x137)]||Array[_0x23e5e5(0x72)](_0x169cdc))return null;this[_0x23e5e5(0x104)](),this[_0x23e5e5(0xa4)]=_0x477683;const _0x4b1efc=this['_generateExprTree'](_0x169cdc,_0x58f3a9,_0x5c196a,_0x53d912);return this['_currentUnitId']='',this[_0x23e5e5(0xc5)](),_0x4b1efc;}[_0x18dbfa(0x143)](_0x4106d4,_0x4b908c,_0x1f2f88,_0x37f5ba){const _0x495433=_0x18dbfa,_0x2c2856={'value':'','children':[],'startIndex':0x0};let _0x18a03d=_0x4106d4;if(_0x18a03d instanceof _0x4815b2&&(_0x18a03d[_0x495433(0x13b)]()===_0x49b93d||_0x18a03d['getToken']()===_0x2c8439)&&_0x18a03d[_0x495433(0x10e)]()[_0x495433(0xa7)]===0x1&&(_0x18a03d=_0x18a03d[_0x495433(0x10e)]()[0x0]),!(_0x18a03d instanceof _0x4815b2))return this['_handleTextNodeForExprTree'](_0x18a03d,_0x1f2f88,_0x37f5ba);const _0xf0a78=_0x18a03d[_0x495433(0x10e)](),_0x336c26=_0xf0a78[_0x495433(0xa7)],_0xb2eab4=[];this['_generateNewFunctionString'](_0x18a03d,_0xb2eab4,_0x4b908c),_0x2c2856[_0x495433(0xdb)]=_0xb2eab4['join'](''),_0x2c2856[_0x495433(0x12e)]=_0x18a03d[_0x495433(0xfa)]();const _0x5180b5=this[_0x495433(0x107)](_0x18a03d);if(_0x5180b5===0x2){const _0x37e838=_0xf0a78[0x0];if(_0x37e838 instanceof _0x4815b2){if(_0x37e838[_0x495433(0x13b)]()[_0x495433(0x116)]()!==_0x2bb3b3)return _0x2c2856;this[_0x495433(0xa1)](_0x37e838,_0x2c2856,_0x4b908c,_0x1f2f88,_0x37f5ba);}return _0x2c2856;}else{if(_0x5180b5===0x1){for(let _0x1c58e1=0x0;_0x1c58e1<_0x336c26-0x1;_0x1c58e1++){const _0x119b4a=_0xf0a78[_0x1c58e1];if(_0x119b4a instanceof _0x4815b2&&_0x1c58e1%0x2===0x1){const _0x20233b=_0x119b4a[_0x495433(0x10e)]();if(_0x20233b[_0x495433(0xa7)]===0x1&&!(_0x20233b[0x0]instanceof _0x4815b2))continue;const _0x31ad7e=this[_0x495433(0x143)](_0x119b4a,_0x4b908c,_0x1f2f88,_0x37f5ba);_0x31ad7e&&_0x2c2856[_0x495433(0xdf)][_0x495433(0xfe)](_0x31ad7e);}}return _0x2c2856;}else{if(_0x5180b5===0x8){const _0x569719=_0xf0a78[0x0];if(_0x569719 instanceof _0x4815b2){const _0x1fc628=_0x569719[_0x495433(0x10e)]()[0x0];_0x1fc628 instanceof _0x4815b2&&(_0x2c2856[_0x495433(0x12e)]=_0x1fc628['getStartIndex']());}if(this[_0x495433(0xc4)](_0x18a03d))return _0x2c2856;}else{if(_0x5180b5===0x7){const _0x2e1aca=_0xf0a78[0x0];if(_0x2e1aca instanceof _0x4815b2){const _0x327908=_0x2e1aca[_0x495433(0x10e)]()[0x0];_0x327908 instanceof _0x4815b2&&(_0x2c2856[_0x495433(0x12e)]=_0x327908['getStartIndex']());}}}}}return this[_0x495433(0xb0)](_0xf0a78,_0x5180b5,_0x2c2856,_0x4b908c,_0x1f2f88,_0x37f5ba),_0x2c2856;}[_0x18dbfa(0xb0)](_0x343bf4,_0x292119,_0x404307,_0x946ba3,_0x555573,_0x5db83b){const _0x3b0533=_0x18dbfa;for(let _0x9f6cd3=0x0;_0x9f6cd3<_0x343bf4[_0x3b0533(0xa7)];_0x9f6cd3++){let _0x28d167=_0x343bf4[_0x9f6cd3];if(!(_0x28d167 instanceof _0x4815b2)){const _0x30d202=this[_0x3b0533(0xda)](_0x28d167,_0x555573,_0x5db83b);_0x30d202&&_0x404307[_0x3b0533(0xdf)][_0x3b0533(0xfe)](_0x30d202);continue;}const _0x41c6c8=_0x28d167[_0x3b0533(0x10e)]();if(_0x41c6c8[_0x3b0533(0xa7)]===0x1&&!(_0x41c6c8[0x0]instanceof _0x4815b2)){const _0x5ae583=_0x41c6c8[0x0];if(!_0x555573(this[_0x3b0533(0xa4)],_0x5ae583)&&!this['_getTableNameFromStructuredRef'](_0x5ae583,_0x5db83b)&&!_0x34940f(_0x5ae583))continue;}if(_0x292119===0x8){const _0x513e14=_0x41c6c8[0x0];if(_0x513e14 instanceof _0x4815b2){const _0x54908f=_0x513e14[_0x3b0533(0x13b)]()['trim']();if(_0x34940f(_0x54908f))continue;_0x28d167=_0x513e14;}}const _0x19a51a=this[_0x3b0533(0x143)](_0x28d167,_0x946ba3,_0x555573,_0x5db83b);_0x19a51a&&_0x404307[_0x3b0533(0xdf)]['push'](_0x19a51a);}}['_checkColonNodeForExprTree'](_0x25150d){const _0x194bc6=_0x18dbfa,_0x1e912f=_0x25150d['getChildren']();if(_0x1e912f[_0x194bc6(0xa7)]<0x2)return!0x1;const _0x341224=_0x1e912f[0x0],_0x5d39da=_0x1e912f[0x1];if(!(_0x341224 instanceof _0x4815b2)||!(_0x5d39da instanceof _0x4815b2))return!0x1;const _0x1192b7=_0x341224[_0x194bc6(0x10e)]()[0x0],_0x259e90=_0x5d39da[_0x194bc6(0x10e)]()[0x0];if(!(_0x1192b7 instanceof _0x4815b2)||!(_0x259e90 instanceof _0x4815b2))return!0x1;const _0x2a5bbd=_0x1192b7[_0x194bc6(0x13b)]()[_0x194bc6(0x116)](),_0x13d065=_0x259e90['getToken']()['trim']();return!!_0x34940f(''+_0x2a5bbd+_0x33b238['COLON']+_0x13d065);}[_0x18dbfa(0xda)](_0x5267a9,_0x568e30,_0x481320){const _0x1efa18=_0x18dbfa,_0x3acf40=_0x5267a9[_0x1efa18(0x116)]();return _0x3acf40[_0x1efa18(0x11f)]('{')&&_0x3acf40[_0x1efa18(0xcf)]('}')||_0x568e30(this[_0x1efa18(0xa4)],_0x3acf40)||this[_0x1efa18(0xaa)](_0x3acf40,_0x481320)||_0x34940f(_0x3acf40)?{'value':_0x3acf40,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x420ee3,_0x3ef559){const _0x29b294=_0x18dbfa,{tableName:_0xe35dae}=_0x2a0e56(_0x420ee3);return _0x3ef559(this[_0x29b294(0xa4)],_0xe35dae)?_0xe35dae:null;}[_0x18dbfa(0xa1)](_0x361ee7,_0x4303c1,_0x5e2dbc,_0x3108bd,_0x27a0f9){const _0x337727=_0x18dbfa,_0x536287=_0x361ee7['getChildren']();for(let _0x2a4bd4=0x0;_0x2a4bd4<_0x536287[_0x337727(0xa7)];_0x2a4bd4++){const _0x3ae3eb=_0x536287[_0x2a4bd4];if(!(_0x3ae3eb instanceof _0x4815b2))continue;const _0x484cc2=_0x3ae3eb[_0x337727(0x10e)]();if(_0x484cc2[_0x337727(0xa7)]===0x1&&!(_0x484cc2[0x0]instanceof _0x4815b2))continue;const _0x7137f9=this['_generateExprTree'](_0x3ae3eb,_0x5e2dbc,_0x3108bd,_0x27a0f9);_0x7137f9&&_0x4303c1[_0x337727(0xdf)]['push'](_0x7137f9);}}[_0x18dbfa(0x107)](_0x56b6e5){const _0x111430=_0x18dbfa,_0x1f3c52=_0x56b6e5[_0x111430(0x13b)](),_0x4547c6=_0x1f3c52[_0x111430(0x116)]()[_0x111430(0x82)]();let _0x555e31=0x0;return _0x1f3c52===_0x49b93d?_0x555e31=0x3:_0x1f3c52===_0x2c8439?_0x555e31=0x4:_0x1f3c52===_0x2bb3b3?_0x555e31=0x5:_0x4547c6===_0xfc1484?_0x555e31=0x2:_0x4547c6===_0x333de0?_0x555e31=0x1:_0x4547c6===_0x33b238['COLON']?_0x555e31=0x8:_0x4c3b82['has'](_0x4547c6)?_0x555e31=0x7:_0x4547c6===_0x5d6f6b[_0x111430(0x7f)]?this['_checkAddBracketForMinus'](_0x56b6e5)&&(_0x555e31=0x9):_0x555e31=0xa,_0x555e31;}}const xe={0x0:'E',0x1:'a',0x2:'d',0x3:'b',0x4:'F',0x5:'U',0x6:'o',0x7:'0',0x8:'R',0x9:'s','C':'1','M':'2','Z':'3','k':'4','Q':'5','q':'6','h':'7','m':'8','T':'9','e':'c','d':'e','K':'f','x':'g','Y':'h','j':'i','r':'j','X':'k','S':'l','v':'m','c':'n','F':'p','P':'q','O':'r','W':'t','t':'u','n':'v','H':'w','I':'x','b':'y','z':'z','U':'A','A':'B','V':'C','E':'D','l':'G','G':'H','a':'I','u':'J','o':'K','p':'L','D':'M','B':'N','J':'O','N':'P','L':'Q','i':'S','f':'T','s':'V','R':'W','w':'X','g':'Y','y':'Z'},Oe=_0x18dbfa(0xce);class Me extends _0x2a5a00{constructor(){const _0x59cde0=_0x18dbfa;super(...arguments),D(this,_0x59cde0(0xb1),new Map());}[_0x18dbfa(0x8e)](){const _0x2f94f3=_0x18dbfa;super[_0x2f94f3(0x8e)](),this['_dependencyTreeCache'][_0x2f94f3(0xf3)]();}async['generate'](_0x3639ce=!0x1){const _0x5a7ef5=_0x18dbfa;this[_0x5a7ef5(0x13f)]();const _0x5c6de1=this[_0x5a7ef5(0x126)][_0x5a7ef5(0x142)](),_0x366aa8=this[_0x5a7ef5(0xa6)]['getOtherFormulaData'](),_0x2a1c51=this[_0x5a7ef5(0x126)][_0x5a7ef5(0x9b)]();_0x2a1c51!=null&&Object[_0x5a7ef5(0xbe)](_0x2a1c51)[_0x5a7ef5(0xd5)](_0x10ff29=>{_0x10ff29!=null&&Object['keys'](_0x2a1c51[_0x10ff29])['forEach'](_0x528393=>{const _0x3c7437=_0x8bf7;_0x528393!=null&&(this['_dependencyManagerService'][_0x3c7437(0x78)](_0x10ff29,_0x528393),this[_0x3c7437(0xd0)][_0x3c7437(0x120)](_0x10ff29,_0x528393),this['_dependencyManagerService'][_0x3c7437(0xf4)](_0x10ff29,_0x528393));});});const _0x3d1a6a=this[_0x5a7ef5(0x126)]['getUnitData']();await this[_0x5a7ef5(0x109)](_0x5c6de1,_0x366aa8,_0x3d1a6a),this[_0x5a7ef5(0xd0)][_0x5a7ef5(0x11d)]();const _0x227a47=this['_getUpdateTreeListAndMakeDependency'](),_0x2e5c39=this[_0x5a7ef5(0x106)](_0x227a47);return this[_0x5a7ef5(0x7e)](_0x2e5c39)&&this['_runtimeService'][_0x5a7ef5(0x91)](),_0x3639ce&&this[_0x5a7ef5(0x130)]['setDependencyTreeModelData'](this['_getAllDependencyJson'](Array['from'](this['_dependencyTreeCache'][_0x5a7ef5(0x13e)]()))),this['_dependencyTreeCache'][_0x5a7ef5(0xf3)](),this[_0x5a7ef5(0xa3)][_0x5a7ef5(0xf3)](),this['_dependencyManagerService'][_0x5a7ef5(0xc8)](),this[_0x5a7ef5(0x130)]['clearArrayObjectCache'](),Promise['resolve'](_0x2e5c39);}[_0x18dbfa(0x115)](_0xc4ca55,_0x3ed550){const _0x5e3b2a=_0x18dbfa,_0x202f0e=[_0xc4ca55];for(;_0x202f0e[_0x5e3b2a(0xa7)]>0x0;){const _0x36ead6=_0x202f0e[_0x202f0e[_0x5e3b2a(0xa7)]-0x1];if((_0x3ed550['get'](_0x36ead6)||0x0)===0x0){_0x3ed550[_0x5e3b2a(0xbc)](_0x36ead6,0x1);const _0x1ff05f=this[_0x5e3b2a(0xb1)]['get'](_0x36ead6);if(_0x1ff05f==null){_0x3ed550[_0x5e3b2a(0xbc)](_0x36ead6,0x2),_0x202f0e['pop']();continue;}const _0x1919b8=this[_0x5e3b2a(0xd0)][_0x5e3b2a(0xf2)](_0x1ff05f[_0x5e3b2a(0x11a)]());for(const _0x8d8646 of _0x1919b8){const _0x40c0fd=_0x3ed550[_0x5e3b2a(0xcd)](_0x8d8646)||0x0;if(_0x40c0fd===0x1)return!0x0;_0x40c0fd===0x0&&_0x202f0e[_0x5e3b2a(0xfe)](_0x8d8646);}}else _0x3ed550['set'](_0x36ead6,0x2),_0x202f0e[_0x5e3b2a(0xad)]();}return!0x1;}[_0x18dbfa(0x7e)](_0x426a88){const _0x174516=_0x18dbfa,_0x5e633b=new Map();for(const _0x5ef1ba of _0x426a88)if(!_0x5e633b['has'](_0x5ef1ba[_0x174516(0x97)])&&this[_0x174516(0x115)](_0x5ef1ba[_0x174516(0x97)],_0x5e633b))return!0x0;return _0x5e633b[_0x174516(0xf3)](),!0x1;}['_getFeatureFormulaTree'](_0x1823b6,_0x1cad2f,_0x1ccbef){const _0xba6313=_0x18dbfa,{unitId:_0x2d6ca6,subUnitId:_0x383e70,dependencyRanges:_0x52cee3,getDirtyData:_0x302580}=_0x1ccbef,_0x5a0eb3=_0x1cad2f||_0x2207e6(this[_0xba6313(0xd0)]),_0x3db9e2=new _0x5e9608(_0x5a0eb3);_0x3db9e2[_0xba6313(0x136)]=_0x2d6ca6,_0x3db9e2[_0xba6313(0xb2)]=_0x383e70,_0x3db9e2['rangeList']=_0x52cee3,_0x3db9e2[_0xba6313(0x101)]=_0x302580;const _0x20f3f1=_0x302580(this[_0xba6313(0x126)]['getDirtyData'](),this[_0xba6313(0x130)]['getAllRuntimeData']()),_0x4e866c=this[_0xba6313(0x140)](_0x20f3f1[_0xba6313(0x89)]);return _0x3db9e2[_0xba6313(0x88)]=_0x4e866c,_0x3db9e2['featureId']=_0x1823b6,_0x3db9e2[_0xba6313(0x100)]=_0x125eb2[_0xba6313(0xb5)],this[_0xba6313(0xd0)][_0xba6313(0xac)](_0x2d6ca6,_0x383e70,_0x1823b6,_0x3db9e2),this['_dependencyTreeCache'][_0xba6313(0xbc)](_0x3db9e2[_0xba6313(0x97)],_0x3db9e2),this[_0xba6313(0xd0)][_0xba6313(0x122)](_0x1ccbef[_0xba6313(0x136)],_0x1ccbef[_0xba6313(0xb2)],_0x1823b6)&&(_0x3db9e2[_0xba6313(0xc2)]=!0x0),_0x3db9e2;}[_0x18dbfa(0x10b)](_0x3420c0,_0x2b9e39,_0x1d324c){const _0x5cde3c=_0x18dbfa;var _0x15b1fb;for(const _0x803eb7 of _0x2b9e39){const _0x2272a5=_0x3420c0[_0x803eb7];if(_0x2272a5==null)continue;const _0x2585f8=Object[_0x5cde3c(0xbe)](_0x2272a5);for(const _0x485c62 of _0x2585f8){const _0x4b68fe=_0x2272a5[_0x485c62];if(_0x4b68fe==null)continue;const _0x4e216e=Object[_0x5cde3c(0xbe)](_0x4b68fe);for(const _0x1fe041 of _0x4e216e){const _0x25c9cb=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x1fe041),_0x3bb79d=_0x4b68fe[_0x1fe041],{f:_0x44b324,ranges:_0x4aa770}=_0x3bb79d;let _0x56a707=!0x1;_0x25c9cb&&(_0x56a707=!0x0);const {firstRow:_0x3e49b1,firstColumn:_0x2e0b9d}=this['_getFirstCellOfRange'](_0x4aa770),_0x55fae0=this[_0x5cde3c(0xd0)][_0x5cde3c(0xe6)](_0x803eb7,_0x485c62,_0x1fe041),_0x2ff742=(_0x15b1fb=_0x55fae0==null?void 0x0:_0x55fae0[_0x5cde3c(0x111)](0x0,0x0))!=null?_0x15b1fb:_0x2207e6(this[_0x5cde3c(0xd0)]),_0x59656e=new _0x5e9608(_0x2ff742);for(let _0x498d20=0x0;_0x498d20<_0x4aa770[_0x5cde3c(0xa7)];_0x498d20++){const _0x220fce=_0x4aa770[_0x498d20],{startRow:_0x3cc3dd,startColumn:_0x22236c,endRow:_0x1160fd,endColumn:_0x176ee4}=_0x220fce;for(let _0x3347ed=_0x3cc3dd;_0x3347ed<=_0x1160fd;_0x3347ed++)for(let _0x59d851=_0x22236c;_0x59d851<=_0x176ee4;_0x59d851++){const _0x1e0ae4=_0x59d851-_0x2e0b9d,_0xe386e2=_0x3347ed-_0x3e49b1;if(_0x1e0ae4===0x0&&_0xe386e2===0x0){_0x59656e[_0x5cde3c(0x93)]=_0x44b324,_0x59656e['unitId']=_0x803eb7,_0x59656e[_0x5cde3c(0xb2)]=_0x485c62,_0x59656e['formulaId']=_0x1fe041,_0x59656e['type']=_0x125eb2[_0x5cde3c(0xd3)],_0x59656e[_0x5cde3c(0xc2)]=_0x56a707,_0x1d324c[_0x5cde3c(0xfe)](_0x59656e),this['_dependencyTreeCache'][_0x5cde3c(0xbc)](_0x59656e[_0x5cde3c(0x97)],_0x59656e),this[_0x5cde3c(0xd0)]['addOtherFormulaDependency'](_0x803eb7,_0x485c62,_0x1fe041,_0x59656e),this[_0x5cde3c(0xd0)][_0x5cde3c(0x112)](_0x59656e);continue;}const _0x3c504b=new _0x597f06();_0x3c504b[_0x5cde3c(0x97)]=(_0x55fae0==null?void 0x0:_0x55fae0[_0x5cde3c(0x111)](_0x1e0ae4,_0xe386e2))||_0x2207e6(this[_0x5cde3c(0xd0)]),_0x3c504b[_0x5cde3c(0xde)]=_0x59656e,_0x3c504b[_0x5cde3c(0x131)]=_0x1e0ae4,_0x3c504b[_0x5cde3c(0xe7)]=_0xe386e2,_0x3c504b[_0x5cde3c(0xc2)]=_0x56a707,_0x3c504b[_0x5cde3c(0x100)]=_0x125eb2[_0x5cde3c(0xd3)],this[_0x5cde3c(0xd0)]['addOtherFormulaDependency'](_0x803eb7,_0x485c62,_0x1fe041,_0x3c504b),this[_0x5cde3c(0xd0)][_0x5cde3c(0x112)](_0x3c504b),_0x1d324c[_0x5cde3c(0xfe)](_0x3c504b),this['_dependencyTreeCache']['set'](_0x3c504b['treeId'],_0x3c504b);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x1fe041);}}}}[_0x18dbfa(0xc3)](_0x3b4a66,_0x19a123,_0xcd1475,_0x420bdd){const _0x43a23a=_0x18dbfa;for(const _0x31639a of _0x3b4a66){const _0x312ba4=_0x19a123[_0x31639a];if(_0x312ba4==null)continue;const _0x1f5c3e=Object[_0x43a23a(0xbe)](_0x312ba4);for(const _0xcb44a0 of _0x1f5c3e){const _0x353ba0=new _0x500a2f(_0x312ba4[_0xcb44a0]||{}),_0x5605b2=new Map();_0x353ba0['forValue']((_0x258b2a,_0x1c2d1e,_0x115ea6)=>{const _0x2c0fa2=_0x43a23a;if(_0x115ea6==null)return!0x0;const {x:_0x3dca3c=0x0,y:_0x29bb0d=0x0,si:_0x3551c2}=_0x115ea6;if(!(_0x3dca3c===0x0&&_0x29bb0d===0x0&&_0x3551c2!=null))return!0x0;const _0x30171d=this[_0x2c0fa2(0xf8)](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e,_0xcd1475,_0x115ea6),_0x55cba1=this[_0x2c0fa2(0xd0)]['getFormulaDependency'](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e);_0x55cba1!=null?_0x30171d['treeId']=_0x55cba1:(this['_dependencyManagerService'][_0x2c0fa2(0xff)](_0x31639a,_0xcb44a0,_0x258b2a,_0x1c2d1e,_0x30171d),this[_0x2c0fa2(0xd0)][_0x2c0fa2(0x112)](_0x30171d)),_0x5605b2[_0x2c0fa2(0xbc)](_0x3551c2,_0x30171d),_0x420bdd[_0x2c0fa2(0xfe)](_0x30171d),this['_dependencyTreeCache'][_0x2c0fa2(0xbc)](_0x30171d[_0x2c0fa2(0x97)],_0x30171d);}),_0x353ba0[_0x43a23a(0xd1)]((_0x46dac3,_0x5e2dc1,_0x176c97)=>{const _0x238751=_0x43a23a;if(_0x176c97==null)return!0x0;const {x:_0x16570f=0x0,y:_0x34c7aa=0x0,si:_0x13995c}=_0x176c97;if(_0x16570f===0x0&&_0x34c7aa===0x0&&_0x13995c!=null)return!0x0;let _0x32fb83;if(_0x13995c&&_0x5605b2[_0x238751(0xdc)](_0x13995c)){const _0x6e783a=_0x5605b2[_0x238751(0xcd)](_0x13995c);_0x32fb83=this[_0x238751(0x12c)](_0x6e783a,_0x176c97);}else _0x32fb83=this[_0x238751(0xf8)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1,_0xcd1475,_0x176c97);const _0x3e63eb=this[_0x238751(0xd0)][_0x238751(0x10c)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1);_0x3e63eb!=null?_0x32fb83['treeId']=_0x3e63eb:(this['_dependencyManagerService'][_0x238751(0xff)](_0x31639a,_0xcb44a0,_0x46dac3,_0x5e2dc1,_0x32fb83),this['_dependencyManagerService'][_0x238751(0x112)](_0x32fb83)),_0x420bdd['push'](_0x32fb83),this[_0x238751(0xb1)][_0x238751(0xbc)](_0x32fb83[_0x238751(0x97)],_0x32fb83);}),_0x5605b2[_0x43a23a(0xf3)]();}}}[_0x18dbfa(0xf8)](_0x5f40b9,_0x4c2d42,_0x50c1d4,_0x268999,_0x522630,_0x2852ab){const _0x3f465f=_0x18dbfa,{f:_0x2681fa,x:_0x200d83=0x0,y:_0x6c081a=0x0}=_0x2852ab,_0x59c91=new _0x5e9608(_0x2207e6(this[_0x3f465f(0xd0)])),_0x1d6b6d=_0x522630[_0x5f40b9][_0x4c2d42];return _0x59c91['formula']=_0x2681fa,_0x59c91[_0x3f465f(0x136)]=_0x5f40b9,_0x59c91['subUnitId']=_0x4c2d42,_0x59c91['row']=_0x50c1d4,_0x59c91[_0x3f465f(0x9f)]=_0x268999,_0x59c91['rowCount']=_0x1d6b6d[_0x3f465f(0xf1)],_0x59c91[_0x3f465f(0xbd)]=_0x1d6b6d[_0x3f465f(0xbd)],_0x59c91;}['_getUpdateTreeListAndMakeDependency'](){const _0x58dd9f=_0x18dbfa,_0x1401ca=[],_0xb44dc2=new Set(),_0x4631d2=this[_0x58dd9f(0x126)][_0x58dd9f(0x12f)](),_0x350d10=this['_currentConfigService']['getDirtyRanges'](),_0x1e5bdd=this[_0x58dd9f(0xd0)][_0x58dd9f(0xf2)](_0x350d10),_0xb18bee=this[_0x58dd9f(0xa3)][_0x58dd9f(0x94)](_0x350d10);for(const _0x47dc3d of _0xb18bee)_0x1e5bdd['add'](_0x47dc3d);for(const [_0x1ce8bd,_0x104f14]of this[_0x58dd9f(0xb1)])(_0x4631d2||_0x104f14[_0x58dd9f(0x84)]||_0x104f14[_0x58dd9f(0x12d)](this['_currentConfigService'][_0x58dd9f(0x128)]())||_0x1e5bdd[_0x58dd9f(0xdc)](_0x1ce8bd)&&!_0x104f14['isExcludeRange'](this[_0x58dd9f(0x126)]['getExcludedRange']()))&&!_0xb44dc2[_0x58dd9f(0xdc)](_0x1ce8bd)&&(_0x1401ca[_0x58dd9f(0xfe)](_0x104f14),_0xb44dc2['add'](_0x1ce8bd));for(const [_0x3c0c7f,_0x5f5306]of this['_dependencyTreeCache'])_0x5f5306[_0x58dd9f(0xa8)]||(_0x5f5306['rangeList'][_0x58dd9f(0xa7)]=0x0);return _0x1401ca;}['_getTreeById'](_0x4b5248){const _0x1f7327=_0x18dbfa;return this[_0x1f7327(0xb1)][_0x1f7327(0xcd)](_0x4b5248);}[_0x18dbfa(0x9d)](_0x376aa1){const _0x26123=_0x18dbfa;return _0xe9476(_0x376aa1['unitId'],_0x376aa1[_0x26123(0x93)],this[_0x26123(0xd9)],this[_0x26123(0xd6)],this['_currentConfigService']);}*[_0x18dbfa(0xee)](_0x3e5b2d,_0x31f352){const _0x57b3ca=_0x18dbfa,_0x510b12=_0x3e5b2d,_0x1241ed=new Set();for(;_0x510b12[_0x57b3ca(0xa7)]>0x0;){const _0x549085=_0x510b12[_0x57b3ca(0xad)]();if(_0x1241ed['clear'](),_0x549085===void 0x0||_0x549085[_0x57b3ca(0x110)]())continue;if(_0x549085[_0x57b3ca(0xd2)]()){yield _0x549085,_0x549085[_0x57b3ca(0x123)](),_0x31f352[_0x57b3ca(0x96)](_0x549085[_0x57b3ca(0x97)]);continue;}const _0x414a6d=this['_dependencyManagerService'][_0x57b3ca(0xf2)](_0x549085[_0x57b3ca(0x11a)](),_0x31f352),_0x5ebefa=this['_dependencyRTreeCacheForAddressFunction'][_0x57b3ca(0x94)](_0x549085[_0x57b3ca(0x11a)](),_0x31f352);for(const _0x5f1e71 of _0x5ebefa)_0x414a6d['add'](_0x5f1e71);for(const _0x29caa of _0x414a6d){const _0x27ea66=this['_dependencyTreeCache'][_0x57b3ca(0xcd)](_0x29caa);if(!_0x27ea66){console[_0x57b3ca(0xab)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x29caa);continue;}_0x27ea66[_0x57b3ca(0xd2)]()||_0x549085[_0x57b3ca(0x110)]()||_0x1241ed[_0x57b3ca(0x96)](_0x27ea66);}if(_0x414a6d['clear'](),_0x1241ed['size']===0x0)yield _0x549085,_0x549085[_0x57b3ca(0x123)](),_0x31f352['add'](_0x549085['treeId']);else{_0x549085[_0x57b3ca(0xe5)](),_0x510b12['push'](_0x549085);for(const _0x15c798 of _0x1241ed)_0x510b12[_0x57b3ca(0xfe)](_0x15c798);}}_0x510b12[_0x57b3ca(0xa7)]=0x0,_0x1241ed[_0x57b3ca(0xf3)]();}['_calculateRunList'](_0x553f8d){const _0x10a2c7=_0x18dbfa,_0x166868=[],_0x367d6c=new Set();for(const _0x146e61 of this['_traverse'](_0x553f8d,_0x367d6c))_0x166868[_0x10a2c7(0xfe)](_0x146e61);return _0x166868;}async[_0x18dbfa(0x7a)](){const _0x16deeb=_0x18dbfa;return await this[_0x16deeb(0xca)](),Array[_0x16deeb(0xe3)](this['_dependencyTreeCache'][_0x16deeb(0x13e)]());}[_0x18dbfa(0x79)](_0x2edf3c){const _0x1fff87=_0x18dbfa;return this['_dependencyManagerService']['searchDependency'](_0x2edf3c[_0x1fff87(0x11a)]());}[_0x18dbfa(0x13c)](_0x5b98bd){const _0x48553e=_0x18dbfa,_0xaf5dc6=new Set(),_0x44af98=_0x5b98bd[_0x48553e(0xdd)];for(const [_0x14cce8,_0x3afc16]of this[_0x48553e(0xb1)])for(const _0x2391af of _0x44af98){const _0x311666=_0x2391af['unitId'],_0x1a221b=_0x2391af['sheetId'];if(_0x3afc16['unitId']!==_0x311666||_0x3afc16['subUnitId']!==_0x1a221b)continue;const _0x4081be=_0x2391af['range'];if(_0x3afc16[_0x48553e(0x7b)](_0x4081be)){_0xaf5dc6[_0x48553e(0x96)](_0x14cce8);break;}}return _0xaf5dc6;}[_0x18dbfa(0x95)](){const _0x3fffe6=_0x18dbfa;this[_0x3fffe6(0xd0)][_0x3fffe6(0x11d)]();}[_0x18dbfa(0x73)](){const _0x5cbd4d=_0x18dbfa;this['_formulaDependencyTreeModel'][_0x5cbd4d(0xf3)](),this[_0x5cbd4d(0xb1)]['clear'](),this['_dependencyManagerService'][_0x5cbd4d(0xc8)]();}}function _0x8bf7(_0x102fef,_0x269afa){_0x102fef=_0x102fef-0x72;const _0x211316=_0x2113();let _0x8bf755=_0x211316[_0x102fef];return _0x8bf755;}class Re extends _0x25230b{async['_apply'](_0x3271ee=!0x1){const _0x16138e=_0x18dbfa;_0x3271ee?this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0xd8)]):this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['START_DEPENDENCY']),this[_0x16138e(0x127)][_0x16138e(0x121)](this[_0x16138e(0x130)][_0x16138e(0xba)]());const _0x43ec0b=await this[_0x16138e(0x125)][_0x16138e(0x134)](this[_0x16138e(0xec)]),_0xeffa3=this[_0x16138e(0xae)];_0x3271ee?(this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['START_CALCULATION_ARRAY_FORMULA']),this[_0x16138e(0x130)][_0x16138e(0x7d)](_0x43ec0b[_0x16138e(0xa7)])):(this[_0x16138e(0x130)][_0x16138e(0xb3)](_0x4fa2bb['START_CALCULATION']),this[_0x16138e(0x130)][_0x16138e(0xb6)](_0x43ec0b['length'])),this[_0x16138e(0x127)][_0x16138e(0x121)](this['_runtimeService'][_0x16138e(0xba)]());let _0x20be01=[];const _0x26c19b=this[_0x16138e(0x124)][_0x16138e(0xbf)](_0x43de81),_0x333fbf=(_0x26c19b==null?void 0x0:_0x26c19b[_0x16138e(0x10a)])||_0x4a93cd;let _0x4df598=0x0;const _0x1ce680=_0x43ec0b[_0x16138e(0xa7)];for(;_0x43ec0b[_0x16138e(0xa7)]>0x0;){const _0x11096d=_0x43ec0b[_0x16138e(0xad)](),_0x50919c=_0xe9476(_0x11096d['unitId'],_0x11096d['formula'],this[_0x16138e(0xd9)],this['_astTreeBuilder'],this[_0x16138e(0x126)]),_0x42e668={'node':_0x50919c,'refOffsetX':_0x11096d[_0x16138e(0x131)],'refOffsetY':_0x11096d[_0x16138e(0xe7)]},_0x50ee5d=_0x11096d[_0x16138e(0x101)];if(_0x4df598%_0x333fbf===0x0&&(await new Promise(_0x2f7127=>{const _0x312f80=_0x16138e,_0x2c296d=_0x4e9755(_0x2f7127);_0x20be01[_0x312f80(0xfe)](_0x2c296d);}),_0x3271ee?(this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0xb7)]),this['_runtimeService'][_0x16138e(0xe4)](_0x4df598+0x1)):(this['_runtimeService'][_0x16138e(0xb3)](_0x4fa2bb['CURRENTLY_CALCULATING']),this[_0x16138e(0x130)]['setCompletedFormulasCount'](_0x4df598+0x1)),this[_0x16138e(0x127)][_0x16138e(0x121)](this[_0x16138e(0x130)][_0x16138e(0xba)]()),this[_0x16138e(0x130)]['isStopExecution']()||_0x42e668==null&&_0x50ee5d==null)){this[_0x16138e(0x130)]['setFormulaExecuteStage'](_0x4fa2bb[_0x16138e(0x139)]),this[_0x16138e(0x130)][_0x16138e(0x108)](),this['_executionCompleteListener$']['next'](this[_0x16138e(0x130)][_0x16138e(0x9e)]());return;}this['_runtimeService'][_0x16138e(0x80)](_0x11096d[_0x16138e(0xd4)],_0x11096d['column'],_0x11096d[_0x16138e(0xf1)],_0x11096d[_0x16138e(0xbd)],_0x11096d[_0x16138e(0xb2)],_0x11096d['unitId']);let _0x22448c;if(_0x50ee5d!=null&&_0x11096d[_0x16138e(0x75)]!=null){const {runtimeCellData:_0xe527a7,dirtyRanges:_0x5f5a53}=_0x50ee5d(this[_0x16138e(0x126)][_0x16138e(0x101)](),this[_0x16138e(0x130)][_0x16138e(0x9e)]());this[_0x16138e(0x130)]['setRuntimeFeatureCellData'](_0x11096d['featureId'],_0xe527a7),this['_runtimeService'][_0x16138e(0x86)](_0x11096d[_0x16138e(0x75)],_0x5f5a53);}else _0x42e668!=null&&(_0xeffa3[_0x16138e(0x12a)](_0x42e668[_0x16138e(0xfb)])?_0x22448c=await _0xeffa3[_0x16138e(0x11c)](_0x42e668):_0x22448c=_0xeffa3[_0x16138e(0x8a)](_0x42e668),_0x11096d['formulaId']!=null?this[_0x16138e(0x130)][_0x16138e(0x12b)](_0x11096d['formulaId'],_0x11096d[_0x16138e(0x131)],_0x11096d[_0x16138e(0xe7)],_0x22448c):this[_0x16138e(0x130)][_0x16138e(0x74)](_0x22448c));_0x50919c[_0x16138e(0xb9)](),_0x4df598++;}return _0x20be01['forEach'](_0x537503=>_0x537503()),_0x20be01=[],_0x1ce680>0x0?this[_0x16138e(0x130)][_0x16138e(0x9a)]():_0x3271ee||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x16138e(0x130)][_0x16138e(0x9e)]();}}class Ee extends _0xc04045{constructor(){const _0x2d07a2=_0x18dbfa;super(...arguments),D(this,_0x2d07a2(0x99),new Map()),D(this,'_dependencyRTreeCache',new _0x31f95a(!0x0));}[_0x18dbfa(0x105)](){const _0x23d4de=_0x18dbfa;this[_0x23d4de(0xea)][_0x23d4de(0xf3)](),this[_0x23d4de(0x11e)][_0x23d4de(0xf3)](),this[_0x23d4de(0x113)][_0x23d4de(0xf3)](),this[_0x23d4de(0xe8)][_0x23d4de(0xf3)](),this[_0x23d4de(0x99)][_0x23d4de(0xf3)](),this[_0x23d4de(0x8b)](),this[_0x23d4de(0x135)][_0x23d4de(0xf3)]();}[_0x18dbfa(0x92)](_0x3878a3,_0x42b461,_0x1c3263,_0x3498d2){const _0x2cb301=_0x18dbfa;this[_0x2cb301(0xea)][_0x2cb301(0xdc)](_0x3878a3)||this[_0x2cb301(0xea)][_0x2cb301(0xbc)](_0x3878a3,new Map());const _0x1e0a8b=this['_otherFormulaData'][_0x2cb301(0xcd)](_0x3878a3);_0x1e0a8b[_0x2cb301(0xdc)](_0x42b461)||_0x1e0a8b[_0x2cb301(0xbc)](_0x42b461,new Map());const _0x3cb67d=_0x1e0a8b[_0x2cb301(0xcd)](_0x42b461);_0x3cb67d[_0x2cb301(0xdc)](_0x1c3263)||_0x3cb67d[_0x2cb301(0xbc)](_0x1c3263,new _0x500a2f()),_0x3cb67d['get'](_0x1c3263)[_0x2cb301(0x114)](_0x3498d2[_0x2cb301(0x131)],_0x3498d2[_0x2cb301(0xe7)],_0x3498d2[_0x2cb301(0x97)]);}[_0x18dbfa(0xcb)](_0x361c86,_0x272d80,_0x37df15){const _0x4a0970=_0x18dbfa,_0x59564=this[_0x4a0970(0xea)][_0x4a0970(0xcd)](_0x361c86);if(_0x59564&&_0x59564[_0x4a0970(0xdc)](_0x272d80)){const _0x2a65a7=_0x59564[_0x4a0970(0xcd)](_0x272d80);_0x37df15[_0x4a0970(0xd5)](_0x47b1e7=>{const _0x20f766=_0x4a0970,_0x12e88e=_0x2a65a7['get'](_0x47b1e7);_0x12e88e!=null&&(_0x12e88e[_0x20f766(0xd1)]((_0x796949,_0x156203,_0x440b06)=>{const _0x1ce363=_0x20f766;this['_removeDependencyRTreeCache'](_0x440b06),this[_0x1ce363(0xb4)](_0x440b06);}),_0x2a65a7[_0x20f766(0x81)](_0x47b1e7),this[_0x20f766(0x135)]['delete'](_0x47b1e7));}),_0x2a65a7[_0x4a0970(0xf6)]===0x0&&_0x59564[_0x4a0970(0x81)](_0x272d80),_0x59564['size']===0x0&&this[_0x4a0970(0xea)][_0x4a0970(0x81)](_0x361c86);}}[_0x18dbfa(0x78)](_0x14c9d4,_0x46fe7e){const _0x5c4cf7=_0x18dbfa,_0x4656ac=this[_0x5c4cf7(0xea)]['get'](_0x14c9d4);if(_0x46fe7e&&_0x4656ac&&_0x4656ac[_0x5c4cf7(0xdc)](_0x46fe7e)){const _0x539b23=_0x4656ac[_0x5c4cf7(0xcd)](_0x46fe7e);this['_removeDependencyRTreeCacheById'](_0x14c9d4,_0x46fe7e);for(const _0x5e854d of _0x539b23[_0x5c4cf7(0xbe)]()){const _0x4b07c2=_0x539b23[_0x5c4cf7(0xcd)](_0x5e854d);_0x4b07c2!=null&&(_0x4b07c2['forValue']((_0x1e6ef7,_0x39aab5,_0x4e85a3)=>{const _0x29ffd9=_0x5c4cf7;this[_0x29ffd9(0x99)][_0x29ffd9(0xcd)](_0x4e85a3)&&this[_0x29ffd9(0xb4)](_0x4e85a3);}),this[_0x5c4cf7(0x135)][_0x5c4cf7(0x81)](_0x5e854d));}_0x539b23['clear']();}else{if(_0x4656ac){for(const _0x580b86 of _0x4656ac[_0x5c4cf7(0xbe)]()){const _0x211455=_0x4656ac[_0x5c4cf7(0xcd)](_0x580b86);this[_0x5c4cf7(0x83)](_0x14c9d4,_0x580b86);for(const _0x426c0b of _0x211455[_0x5c4cf7(0xbe)]()){const _0x237480=_0x211455[_0x5c4cf7(0xcd)](_0x426c0b);_0x237480!=null&&(_0x237480[_0x5c4cf7(0xd1)]((_0x3e64bc,_0x3ad607,_0x4e1384)=>{const _0x441f96=_0x5c4cf7;this[_0x441f96(0x99)][_0x441f96(0xcd)](_0x4e1384)&&this[_0x441f96(0xb4)](_0x4e1384);}),this[_0x5c4cf7(0x135)][_0x5c4cf7(0x81)](_0x426c0b));}}this[_0x5c4cf7(0xea)][_0x5c4cf7(0x81)](_0x14c9d4);}}}[_0x18dbfa(0xac)](_0x4976f5,_0x2c4d20,_0x3cf659,_0x5e0537){const _0x5380e3=_0x18dbfa;this['_featureFormulaData'][_0x5380e3(0xdc)](_0x4976f5)||this[_0x5380e3(0x11e)][_0x5380e3(0xbc)](_0x4976f5,new Map());const _0x262375=this[_0x5380e3(0x11e)][_0x5380e3(0xcd)](_0x4976f5);_0x262375[_0x5380e3(0xdc)](_0x2c4d20)||_0x262375[_0x5380e3(0xbc)](_0x2c4d20,new Map()),_0x262375[_0x5380e3(0xcd)](_0x2c4d20)['set'](_0x3cf659,_0x5e0537[_0x5380e3(0x97)]);}[_0x18dbfa(0x10d)](_0x481222,_0x5b1598,_0x14c703){const _0x3997ba=_0x18dbfa,_0x46fa37=this[_0x3997ba(0x11e)]['get'](_0x481222);if(_0x46fa37&&_0x46fa37[_0x3997ba(0xdc)](_0x5b1598)){const _0x5e0a77=_0x46fa37[_0x3997ba(0xcd)](_0x5b1598);_0x14c703[_0x3997ba(0xd5)](_0x1f4baf=>{const _0x259ef3=_0x3997ba,_0x2a3b59=_0x5e0a77[_0x259ef3(0xcd)](_0x1f4baf);_0x2a3b59!=null&&(this[_0x259ef3(0x8d)](_0x2a3b59),_0x5e0a77[_0x259ef3(0x81)](_0x1f4baf),this[_0x259ef3(0xb4)](_0x2a3b59));});}}[_0x18dbfa(0x120)](_0x32049c,_0x4cd10e){const _0xefcad=_0x18dbfa,_0x4d0ee2=this[_0xefcad(0x11e)]['get'](_0x32049c);if(_0x4cd10e&&_0x4d0ee2&&_0x4d0ee2['has'](_0x4cd10e)){const _0x4482b5=_0x4d0ee2[_0xefcad(0xcd)](_0x4cd10e);this[_0xefcad(0x83)](_0x32049c,_0x4cd10e),_0x4482b5[_0xefcad(0xd5)](_0xd4797d=>{const _0x2337dd=_0xefcad;_0xd4797d!=null&&this[_0x2337dd(0xb4)](_0xd4797d);}),_0x4482b5[_0xefcad(0xf3)]();}else _0x4d0ee2&&(_0x4d0ee2[_0xefcad(0xd5)]((_0x247403,_0xd91780)=>{const _0x4436e5=_0xefcad;this[_0x4436e5(0x83)](_0x32049c,_0xd91780),_0x247403[_0x4436e5(0xd5)](_0x429a2c=>{_0x429a2c!=null&&this['_removeAllTreeMap'](_0x429a2c);});}),this[_0xefcad(0x11e)][_0xefcad(0x81)](_0x32049c));}['addFormulaDependency'](_0x1098aa,_0x6f476f,_0x11d96c,_0x686308,_0x44842f){const _0x59f3e5=_0x18dbfa;this['_formulaData'][_0x59f3e5(0xdc)](_0x1098aa)||this[_0x59f3e5(0x113)]['set'](_0x1098aa,new Map());const _0x20d247=this[_0x59f3e5(0x113)][_0x59f3e5(0xcd)](_0x1098aa);_0x20d247['has'](_0x6f476f)||_0x20d247[_0x59f3e5(0xbc)](_0x6f476f,new _0x500a2f()),_0x20d247[_0x59f3e5(0xcd)](_0x6f476f)[_0x59f3e5(0x114)](_0x11d96c,_0x686308,_0x44842f[_0x59f3e5(0x97)]);}[_0x18dbfa(0x13d)](_0x57d54e,_0x15837a,_0x5e41f4,_0x1d57e7){const _0x37137d=_0x18dbfa,_0x824fa7=this['_formulaData']['get'](_0x57d54e);if(_0x824fa7&&_0x824fa7[_0x37137d(0xdc)](_0x15837a)){const _0x514ff5=_0x824fa7[_0x37137d(0xcd)](_0x15837a),_0x533d97=_0x514ff5[_0x37137d(0x111)](_0x5e41f4,_0x1d57e7);if(_0x533d97==null)return;this['_removeDependencyRTreeCache'](_0x533d97),_0x514ff5[_0x37137d(0xf5)](_0x5e41f4,_0x1d57e7),this[_0x37137d(0xb4)](_0x533d97);}}[_0x18dbfa(0xf4)](_0x152041,_0x57cafa){const _0x426e59=_0x18dbfa,_0x2137be=this[_0x426e59(0x113)]['get'](_0x152041);if(_0x57cafa&&_0x2137be&&_0x2137be[_0x426e59(0xdc)](_0x57cafa)){const _0x2af88f=_0x2137be[_0x426e59(0xcd)](_0x57cafa);this[_0x426e59(0x83)](_0x152041,_0x57cafa),_0x2af88f[_0x426e59(0xd1)]((_0x2dd16d,_0x2f71d4,_0x221bcc)=>{const _0x3e70ed=_0x426e59;if(_0x221bcc==null)return!0x0;this[_0x3e70ed(0xb4)](_0x221bcc);}),_0x2af88f['reset']();}else _0x2137be&&(_0x2137be[_0x426e59(0xd5)]((_0x573f35,_0x4e740e)=>{const _0xa63cce=_0x426e59;this[_0xa63cce(0x83)](_0x152041,_0x4e740e),_0x573f35['forValue']((_0x5b544d,_0x574a7c,_0x2c574e)=>{const _0x493866=_0xa63cce;if(_0x2c574e==null)return!0x0;this[_0x493866(0xb4)](_0x2c574e);});}),this[_0x426e59(0x113)][_0x426e59(0x81)](_0x152041));}[_0x18dbfa(0x8d)](_0x4158f4){const _0x4a8b78=_0x18dbfa;if(_0x4158f4==null)return;const _0x40c2de=this[_0x4a8b78(0x99)][_0x4a8b78(0xcd)](_0x4158f4);if(_0x40c2de){const _0x27aaa1=[];for(const [_0x3866b9,_0x4acaac]of _0x40c2de)for(const [_0x23bf90,_0x8f6494]of _0x4acaac)_0x27aaa1[_0x4a8b78(0xfe)]({'unitId':_0x3866b9,'sheetId':_0x23bf90,'range':_0x8f6494,'id':_0x4158f4});this['_dependencyRTreeCache'][_0x4a8b78(0xc6)](_0x27aaa1);}}[_0x18dbfa(0xe9)](_0x556977,_0x42aa1e){const _0x859fd2=_0x18dbfa,_0x34112c=this[_0x859fd2(0xa2)][_0x859fd2(0xcd)](_0x556977);if(_0x34112c){const _0x128d2e=_0x34112c[_0x859fd2(0xcd)](_0x42aa1e);if(_0x128d2e){for(const _0x4f20d of _0x128d2e)this['_removeDependencyRTreeCache'](_0x4f20d),this[_0x859fd2(0xb4)](_0x4f20d);_0x128d2e['clear']();}}}[_0x18dbfa(0x11d)](){const _0x328a83=_0x18dbfa;this[_0x328a83(0xe8)]['openKdTree']();}[_0x18dbfa(0xc8)](){const _0x230140=_0x18dbfa;this['_dependencyRTreeCache'][_0x230140(0xc8)]();}[_0x18dbfa(0xb4)](_0x5aaacf){const _0x22311d=_0x18dbfa;_0x5aaacf!=null&&this[_0x22311d(0x99)][_0x22311d(0x81)](_0x5aaacf);}[_0x18dbfa(0x77)](_0x562284){const _0x13f668=_0x18dbfa;var _0x5ae70d,_0x81411f;const _0x10b0b4=_0x562284[_0x13f668(0xdd)];let _0x5572a0=this[_0x13f668(0x99)]['get'](_0x562284[_0x13f668(0x97)]);for(let _0x394479=0x0;_0x394479<_0x10b0b4[_0x13f668(0xa7)];_0x394479++){const _0x278047=_0x10b0b4[_0x394479];let {unitId:_0x5d102e,sheetId:_0x4764aa,range:_0x2832d8}=_0x278047;_0x5572a0||(_0x5572a0=new Map(),this['_allTreeMap'][_0x13f668(0xbc)](_0x562284[_0x13f668(0x97)],_0x5572a0)),_0x5572a0[_0x13f668(0xdc)](_0x5d102e)||_0x5572a0[_0x13f668(0xbc)](_0x5d102e,new Map());const _0x138385=(_0x5ae70d=_0x5572a0==null?void 0x0:_0x5572a0[_0x13f668(0xcd)](_0x5d102e))==null?void 0x0:_0x5ae70d[_0x13f668(0xcd)](_0x4764aa);_0x138385&&(_0x2832d8={'startRow':Math[_0x13f668(0xa5)](_0x2832d8['startRow'],_0x138385[_0x13f668(0x9c)]),'startColumn':Math[_0x13f668(0xa5)](_0x2832d8[_0x13f668(0xaf)],_0x138385[_0x13f668(0xaf)]),'endRow':Math[_0x13f668(0xf9)](_0x2832d8[_0x13f668(0x138)],_0x138385[_0x13f668(0x138)]),'endColumn':Math[_0x13f668(0xf9)](_0x2832d8[_0x13f668(0x103)],_0x138385[_0x13f668(0x103)])}),(_0x81411f=_0x5572a0[_0x13f668(0xcd)](_0x5d102e))==null||_0x81411f[_0x13f668(0xbc)](_0x4764aa,_0x2832d8);}}}var je=Object['getOwnPropertyDescriptor'],We=(_0x38e7ca,_0x13ebec,_0x2cc38b,_0x56dfeb)=>{const _0x35b751=_0x18dbfa;for(var _0x38ba4d=_0x56dfeb>0x1?void 0x0:_0x56dfeb?je(_0x13ebec,_0x2cc38b):_0x13ebec,_0x1f97f4=_0x38e7ca[_0x35b751(0xa7)]-0x1,_0x18835e;_0x1f97f4>=0x0;_0x1f97f4--)(_0x18835e=_0x38e7ca[_0x1f97f4])&&(_0x38ba4d=_0x18835e(_0x38ba4d)||_0x38ba4d);return _0x38ba4d;};const Ne=Number[_0x18dbfa(0x141)](0x69622c44);let z=class extends _0x407152{[_0x18dbfa(0xe2)](){const _0x56f43b=_0x18dbfa;var _0x5b5455,_0x16c92e;this[_0x56f43b(0x98)]()?(this['_injector'][_0x56f43b(0x96)]([_0x460023,{'useClass':ve}]),(_0x5b5455=this['_config'])!=null&&_0x5b5455['notExecuteFormula']||[[_0x1022bf,{'useClass':Re}],[_0x4f2952,{'useClass':Ee}],[_0x3576ea,{'useClass':Me}]]['forEach'](_0x5d1614=>this[_0x56f43b(0xfc)][_0x56f43b(0x96)](_0x5d1614))):(this[_0x56f43b(0xfc)][_0x56f43b(0x96)]([_0x460023,{'useClass':_0x460023}]),(_0x16c92e=this[_0x56f43b(0xbb)])!=null&&_0x16c92e['notExecuteFormula']||[[_0x1022bf,{'useClass':_0x25230b}],[_0x4f2952,{'useClass':_0x507f4e}],[_0x3576ea,{'useClass':_0x2a5a00}]][_0x56f43b(0xd5)](_0x54d5e1=>this['_injector'][_0x56f43b(0x96)](_0x54d5e1)));}[_0x18dbfa(0x98)](){const _0x442b61=_0x18dbfa;var _0x43c537;const _0x119278=(_0x43c537=this['_configService'][_0x442b61(0xbf)](_0x153eb6))!=null?_0x43c537:{},{ls:_0x441257,pbk:_0x45acd5}=_0x119278;if(!_0x441257||!_0x45acd5)return!0x1;const _0x395916=_0x8e4800(Oe,xe),_0x131624=new Function(_0x442b61(0xc9)+_0x395916)()(_0x441257,_0x45acd5),_0x55a361=_0x131624[_0x442b61(0x7c)];return _0x131624['valid']&&_0x538494(_0x55a361,'sf',Ne)?_0x2d1d3e(_0x55a361,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};z=We([_0x1e518e(_0x28152f)],z);export{ve as LexerTreeProBuilder,z as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x3d29(){var _0x30a63f=['786zccnuL','6871OZCqav','159824ChqRmD','12103ZDMaeX','174XAdUTP','80OZfygC','38996dGBaAe','272qKtSJI','1992330GAseAC','25315YEecpG','21472qrOehv','6492gDqiIG','105fyYSSL'];_0x3d29=function(){return _0x30a63f;};return _0x3d29();}function _0x5698(_0x1b92ea,_0x4e0e32){_0x1b92ea=_0x1b92ea-0x102;var _0x3d2997=_0x3d29();var _0x56988a=_0x3d2997[_0x1b92ea];return _0x56988a;}(function(_0x1efbb0,_0xec9c70){var _0x28ae4b=_0x5698,_0x568ce0=_0x1efbb0();while(!![]){try{var _0x1a5e9b=-parseInt(_0x28ae4b(0x103))/0x1*(-parseInt(_0x28ae4b(0x106))/0x2)+parseInt(_0x28ae4b(0x10e))/0x3*(parseInt(_0x28ae4b(0x108))/0x4)+-parseInt(_0x28ae4b(0x10b))/0x5*(-parseInt(_0x28ae4b(0x102))/0x6)+-parseInt(_0x28ae4b(0x104))/0x7*(parseInt(_0x28ae4b(0x109))/0x8)+parseInt(_0x28ae4b(0x10a))/0x9+-parseInt(_0x28ae4b(0x107))/0xa*(parseInt(_0x28ae4b(0x10c))/0xb)+-parseInt(_0x28ae4b(0x10d))/0xc*(parseInt(_0x28ae4b(0x105))/0xd);if(_0x1a5e9b===_0xec9c70)break;else _0x568ce0['push'](_0x568ce0['shift']());}catch(_0x40d699){_0x568ce0['push'](_0x568ce0['shift']());}}}(_0x3d29,0x80ea8));export*from'@univerjs/engine-formula/facade';
1
+ function _0x5b80(_0x188bd7,_0x4fd1dc){_0x188bd7=_0x188bd7-0x98;var _0x14b997=_0x14b9();var _0x5b80db=_0x14b997[_0x188bd7];return _0x5b80db;}(function(_0x34ca9d,_0x336f8e){var _0x536fc4=_0x5b80,_0x42d9c2=_0x34ca9d();while(!![]){try{var _0x4a9d2b=-parseInt(_0x536fc4(0xa1))/0x1+parseInt(_0x536fc4(0x9f))/0x2+parseInt(_0x536fc4(0x9a))/0x3*(parseInt(_0x536fc4(0x98))/0x4)+-parseInt(_0x536fc4(0xa0))/0x5*(parseInt(_0x536fc4(0x9e))/0x6)+-parseInt(_0x536fc4(0x9d))/0x7+parseInt(_0x536fc4(0x9b))/0x8+-parseInt(_0x536fc4(0x99))/0x9*(parseInt(_0x536fc4(0x9c))/0xa);if(_0x4a9d2b===_0x336f8e)break;else _0x42d9c2['push'](_0x42d9c2['shift']());}catch(_0x51f6f2){_0x42d9c2['push'](_0x42d9c2['shift']());}}}(_0x14b9,0xa1bbd));export*from'@univerjs/engine-formula/facade';function _0x14b9(){var _0x1895d0=['5705616kinaVI','124370FvemTh','112378jNJIwD','6816846qfROcB','2011826mUPRPr','5lzIHye','12795BJfzQw','4ARQwGN','225WvRiwR','1257783urTcEk'];_0x14b9=function(){return _0x1895d0;};return _0x14b9();}